◆If:Script:$gameMap.event(3)._realX > $dataMap.width
◆Comment:// Stop avianTween Animation ...
◆Script:$gameVariables.value(5).stop();
◆Comment:// Calculate and Set Random Start Point ...
◆Script:randYSource = (Math.randomInt(19 - 12 + 1)) + 12;
: :$gameMap.event(3).setPosition(-2, randYSource);
◆Comment:// Wait For Natural Pause ...
◆Wait:35 frames
◆
:Else
◆Comment:
◆Script:object = $gameMap.event(3);
: :mapX = $dataMap.width + 10;
: :randYDest = (Math.randomInt(19 - 12 + 1)) + 12;
: :var avianTween = new IAVRA.ANIMATE.Tween(object, {_realX : mapX, _realY : randYDest}).duration(85);
: :$gameVariables.setValue(5, avianTween);
: :$gameVariables.value(5).start();
◆Wait:95 frames
◆
:End