Frame 1
game = "bbop1";
version = "20040903";
moreGamesUrl = (("http://www.neodelight.com/?ref=" + game) + "&ref_loc=moregames&ref_ver=") + version;
stop();
this.onEnterFrame = function () {
var _local2 = _root;
var _local1 = (_local2.getBytesLoaded() / _local2.getBytesTotal()) * 100;
this.percentageDisplay = ("loading.." + Math.min(100, int(_local1))) + "%";
if ((_local1 == 100) || (_local2._framesloaded >= 1)) {
this.onEnterFrame = undefined;
_local2.nextFrame();
}
};
Frame 2
version = "nd";
if ((version == "at") && (((((((_url.indexOf("http://arcadetown.com") == 0) || (_url.indexOf("http://www.arcadetown.com") == 0)) || (_url.indexOf("http://heavygames.com") == 0)) || (_url.indexOf("http://www.heavygames.com") == 0)) || (_url.indexOf("http://freewebgames.com") == 0)) || (_url.indexOf("http://www.freewebgames.com") == 0)) || (_url.indexOf("file://") == 0))) {
if ((_url.toLowerCase().substr(0, 4) != "http") && (System.capabilities.os.toLowerCase().indexOf("mac") >= 0)) {
fscommand ("fullscreen", true);
fscommand ("showmenu", false);
Stage.scaleMode = "noScale";
}
moreGamesUrl = "http://www.arcadetown.com/index.asp?gameid=bouncinbop1";
nextEpisodeUrl = "http://www.arcadetown.com/bouncinbop2/playgame.asp";
reducedBranding = true;
play();
} else {
moreGamesUrl = (("http://www.neodelight.com/?ref=" + game) + "&ref_loc=moregames&ref_ver=") + version;
nextEpisodeUrl = "http://www.neodelight.com/games/bbop2";
play();
}
Frame 4
stop();
trace("start v2d");
Frame 5
stop();
Frame 11
play();
Frame 67
stop();
Frame 72
stop();
this.onEnterFrame = function () {
var _local1 = this;
var _local3 = _root;
var _local2 = ((_local3.getBytesLoaded() - _local1.preloaded) / (_local3.getBytesTotal() - _local1.preloaded)) * 100;
_local1.percentageDisplay = ("loading.." + Math.min(100, int(_local2))) + "%";
if (_local2 == 100) {
_local1.onEnterFrame = undefined;
_local3.nextFrame();
}
};
Frame 73
stop();
Frame 74
_global.v2d.main.startGame(pass);
play();
Frame 75
stop();
Frame 76
prevFrame();
Frame 80
_global.v2d.main.pause();
play();
Frame 90
stop();
Symbol 4 MovieClip [star] Frame 1
function update() {
_y = (_y + this.vy);
if (_y > (_parent._parent.height + 20)) {
this.removeMovieClip();
}
}
Symbol 4 MovieClip [star] Frame 2
update();
Symbol 4 MovieClip [star] Frame 3
update();
gotoAndPlay (2);
Symbol 6 MovieClip Frame 1
stop();
Symbol 6 MovieClip Frame 13
_parent._parent.removeMovieClip();
Symbol 11 MovieClip Frame 1
stop();
Symbol 11 MovieClip Frame 13
_parent._parent.removeMovieClip();
Symbol 13 MovieClip [object] Frame 1
function update() {
var _local1 = this;
var _local2 = _parent;
_y = (_y + _local1.vy);
if (_y > (_local2._parent.height + 20)) {
_local1.removeMovieClip();
}
if (((_y + _local1._height) > (_local2.ship._y + 20)) && ((_y - _local1._height) < (_local2.ship._y + 20))) {
if (((_x + _local1._width) > (_local2.ship._x + 1)) && ((_x - _local1._width) < (_local2.ship._x - 1))) {
gotoAndPlay ("explode");
}
}
}
Symbol 13 MovieClip [object] Frame 2
update();
Symbol 13 MovieClip [object] Frame 3
update();
gotoAndPlay (2);
Symbol 13 MovieClip [object] Frame 4
if (gfx._currentframe == 1) {
_parent._parent.score = _parent._parent.score - 10;
if (_parent._parent.score < 0) {
_parent._parent.score = 0;
}
} else {
_parent._parent.score = _parent._parent.score + 10;
}
gfx.gfx.play();
stop();
Symbol 24 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(frame5, "face");
component.registerSkinElement(frame3, "shadow");
component.registerSkinElement(frame1, "darkshadow");
component.registerSkinElement(frame4, "highlight");
component.registerSkinElement(frame2, "highlight3D");
Symbol 30 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(frame5, "face");
component.registerSkinElement(frame3, "shadow");
component.registerSkinElement(frame1, "darkshadow");
component.registerSkinElement(frame4, "highlight");
component.registerSkinElement(frame2, "highlight3D");
Symbol 36 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(frame5, "face");
component.registerSkinElement(frame4, "shadow");
component.registerSkinElement(frame2, "darkshadow");
component.registerSkinElement(frame3, "highlight");
component.registerSkinElement(frame1, "highlight3D");
Symbol 42 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(frame5, "face");
component.registerSkinElement(frame3, "shadow");
component.registerSkinElement(frame1, "darkshadow");
component.registerSkinElement(frame4, "highlight");
component.registerSkinElement(frame2, "highlight3D");
Symbol 43 MovieClip [fpb_states] Frame 1
stop();
Symbol 43 MovieClip [fpb_states] Frame 2
stop();
Symbol 43 MovieClip [fpb_states] Frame 3
stop();
Symbol 43 MovieClip [fpb_states] Frame 4
stop();
Symbol 55 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 65 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 74 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 75 MovieClip [UpArrow] Frame 1
stop();
Symbol 75 MovieClip [UpArrow] Frame 2
stop();
Symbol 75 MovieClip [UpArrow] Frame 3
stop();
Symbol 81 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 88 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 93 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(highlight3D_mc, "highlight3D");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
Symbol 94 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 102 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 110 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 118 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 119 MovieClip [DownArrow] Frame 1
stop();
Symbol 119 MovieClip [DownArrow] Frame 2
stop();
Symbol 119 MovieClip [DownArrow] Frame 3
stop();
Symbol 132 MovieClip Frame 1
function do_loop() {
var _local2 = this;
var _local1 = _xmouse;
if (_local1 < _local2.minX) {
_local1 = _local2.minX;
}
if (_local1 > _local2.maxX) {
_local1 = _local2.maxX;
}
sky.ship._x = _local1;
if (Math.random() < 0.1) {
newObject = _local2.sky.attachMovie("object", "object_" + (nextObjectId++), nextObjectId + 1000);
newObject._x = Math.random() * width;
newObject._y = -20;
newObject.vy = (Math.random() * 7) + 3;
if (Math.random() < 0.5) {
newObject.gfx.gotoAndStop(1);
} else {
newObject.gfx.gotoAndStop(2);
}
}
if (Math.random() < 0.05) {
newObject = _local2.sky.attachMovie("star", "object_" + (nextObjectId++), nextObjectId);
newObject._x = Math.random() * width;
newObject._y = -20;
newObject.vy = (Math.random() * 3) + 1;
newObject.gfx.gotoAndStop(int(newObject.vy));
}
}
minX = 10;
maxX = 240;
width = 250;
height = 250;
objects = new Array();
nextObjectId = 0;
shipV = 2;
score = 0;
Symbol 132 MovieClip Frame 2
do_loop();
Symbol 132 MovieClip Frame 3
do_loop();
gotoAndPlay ("loop");
Symbol 140 MovieClip Frame 1
Symbol 140 MovieClip Frame 2
percent = _root.getBytesLoaded() / 1000000;
percent = Math.min(90, int(percent * 90));
percent = percent + int(_global.v2d.initProgress * 10);
percent = Math.min(100, percent);
bar._xscale = percent;
if ((_global.v2d.initProgress == 1) && (_root._framesloaded >= 67)) {
_root.gotoAndPlay("ready");
}
Symbol 149 MovieClip Frame 1
_global.v2d.main.loop();
Symbol 149 MovieClip Frame 2
_global.v2d.main.loop();
Symbol 152 MovieClip Frame 1
_global.v2d.initProgress = 0;
_global.v2d.world = new _global.v2d.CWorld();
_global.v2d.tiles = new _global.v2d.CTileSystem(550, 400, 25, 25);
_global.v2d.event = new _global.v2d.CEventSystem();
_global.v2d.respawn = new _global.v2d.CRespawnSystem();
_global.v2d.sprites = new _global.v2d.CSpriteSystem();
Symbol 152 MovieClip Frame 2
var world = "";
world = "";
world = world + "<?xml version=\"1.0\" ?><!DOCTYPE (c)neodelight v2dml ><world><script name=\"indy_phallusSetPlatform\"><c r=\"stat\" p1=\"_22stat_22\" p0=\"_5Fself\" id=\"0\" c=\"propGet\" /><c r=\"pos\" p2=\"3\" p1=\"_22_2F_22\" p0=\"stat\" id=\"1\" c=\"math\" /><c p1=\"pos\" p0=\"_5Fself\" id=\"2\" c=\"droneSetPos\" /></script><script name=\"indy_phallusStat\"><c r=\"p0\" p0=\"_22phallus0_22\" id=\"0\" c=\"objectByName\" /><c r=\"p1\" p0=\"_22phallus1_22\" id=\"1\" c=\"objectByName\" /><c r=\"p2\" p0=\"_22phallus2_22\" id=\"2\" c=\"objectByName\" /><c r=\"s0\" p1=\"_22stat_22\" p0=\"p0\" id=\"3\" c=\"propGet\" /><c r=\"s1\" p1=\"_22stat_22\" p0=\"p1\" id=\"4\" c=\"propGet\" /><c r=\"s2\" p1=\"_22stat_22\" p0=\"p2\" id=\"5\" c=\"propGet\" /><c r=\"stat\" p2=\"s2\" p1=\"s1\" p0=\"s0\" id=\"6\" c=\"strCat\" /><c p0=\"stat\" id=\"7\" c=\"return\" /></script><script name=\"indy_phallusUp\"><c r=\"newStat\" p1=\"_22stat_22\" p0=\"_5Fself\" id=\"0\" c=\"propGet\" /><c r=\"newStat\" p2=\"1\" p1=\"_22_2D_22\" p0=\"newStat\" id=\"1\" c=\"math\" /><c p2=\"0\" p1=\"_22_3C_22\" p0=\"newStat\" id=\"2\" c=\"if\" /><c r=\"newStat\" p0=\"0\" id=\"3\" c=\"val\" /><c id=\"4\" c=\"else\" /><c p2=\"_2D22_2E6\" p1=\"0\" p0=\"_5Fobject\" id=\"5\" c=\"posOffset\" /><c p2=\"newStat\" p1=\"_22stat_22\" p0=\"_5Fself\" id=\"6\" c=\"propSet\" /></script><script name=\"indy_phallusDown\"><c r=\"newStat\" p1=\"_22stat_22\" p0=\"_5Fself\" id=\"0\" c=\"propGet\" /><c r=\"newStat\" p2=\"1\" p1=\"_22_2B_22\" p0=\"newStat\" id=\"1\" c=\"math\" /><c p2=\"newStat\" p1=\"_22stat_22\" p0=\"_5Fself\" id=\"2\" c=\"propSet\" /></script><prop name=\"new\"><p v=\"script\" n=\"onInitScreen\"><script><c r=\"b\" p0=\"_22bird_22\" id=\"0\" c=\"plGetBehaviour\" /><c p2=\"_22bird_22\" p1=\"_22_3D_3D_22\" p0=\"b\" id=\"1\" c=\"if\" /><c p2=\"0\" p1=\"_22active_22\" p0=\"_5Fself\" id=\"2\" c=\"propSet\" /><c id=\"3\" c=\"else\" /><c p2=\"1\" p1=\"_22active_22\" p0=\"_5Fself\" id=\"4\" c=\"propSet\" /></script></p><p v=\"script\" n=\"onHit\"><script><c p2=\"0\" p1=\"_22active_22\" p0=\"_5Fself\" id=\"0\" c=\"propSet\" /><c p1=\"_22birdstart_22\" p0=\"60\" id=\"1\" c=\"plSetContinuePoint\" /><c p0=\"_22bird_22\" id=\"2\" c=\"plSetBehaviour\" /><c p1=\"_22birdstart_22\" p0=\"60\" id=\"3\" c=\"goLevel\" /></script></p><p v=\"1\" n=\"active\" /><p v=\"bird_5Fempty\" n=\"activeGfx\" /><p v=\"10\" n=\"engine_5Fradius\" /><p v=\"CSECircle\" n=\"engine\" /></prop><prop name=\"space_5Fplat_5Fvanish\"><p v=\"script\" n=\"onInitScreen\"><script><c p2=\"1\" p1=\"_22active_22\" p0=\"_5Fself\" id=\"0\" c=\"propSet\" /></script></p><p v=\"script\" n=\"onHit\"><script><c p2=\"0\" p1=\"_22active_22\" p0=\"_5Fself\" id=\"0\" c=\"propSet\" /><c p2=\"_2D0_2E4\" p1=\"0\" p0=\"_5Fobject\" id=\"1\" c=\"speedAdd\" /><c p1=\"0_2E4\" p0=\"_5Fobject\" id=\"2\" c=\"speedLimitAbs\" /></script></p><p v=\"space_5Fplat\" n=\"sprite\" /><p v=\"44\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop><prop name=\"ball_5Fdummy\"><p v=\"73\" n=\"player_5FdieAnimFrames\" /><p v=\"sprite_5F0\" n=\"sprite\" /><p v=\"0_2E13\" n=\"engine_5FvUpMed\" /><p v=\"0_2E5\" n=\"engine_5FcontrolAY\" /><p v=\"0\" n=\"engine_5Fweight\" /><p v=\"0_2E08\" n=\"engine_5FvUpMin\" /><p v=\"0_2E2\" n=\"engine_5FvUpMax\" /><p v=\"0_2E15\" n=\"engine_5FvSideMax\" /><p v=\"0_2E7\" n=\"engine_5FfrictXOverSpeed\" /><p v=\"0_2E99\" n=\"engine_5FfrictX\" /><p v=\"1\" n=\"engine_5Fflex\" /><p v=\"0_2E05\" n=\"engine_5FcontrolAX\" /><p v=\"7_2E5\" n=\"engine_5Fradius\" /><p v=\"CSEBall\" n=\"engine\" /></prop><prop name=\"space_5Fsat\"><p v=\"script\" n=\"onHit\"><script><c p1=\"99999\" p0=\"_5Fobject\" id=\"0\" c=\"damage\" /></script></p><p v=\"0_2E02\" n=\"engine_5Fspeed\" /><p v=\"13\" n=\"engine_5Fradius\" /><p v=\"0\" n=\"engine_5Fpos\" /><p v=\"CSECircleDrone\" n=\"engine\" /><p v=\"space_5Fsat\" n=\"sprite\" /></prop><prop name=\"city_5Fkatze\"><p v=\"script\" n=\"onHit\"><script><c p1=\"99999\" p0=\"_5Fobject\" id=\"0\" c=\"damage\" /></script></p><p v=\"0_2E02\" n=\"engine_5Fspeed\" /><p v=\"20\" n=\"engine_5Fradius\" /><p v=\"0\" n=\"engine_5Fpos\" /><p v=\"CSECircleDrone\" n=\"engine\" /><p v=\"city_5Fkatze\" n=\"sprite\" /></prop><prop name=\"plat_5F50\"><p v=\"script\" n=\"onHit\"><script><c p2=\"_2D0_2E15\" p1=\"0\" p0=\"_5Fobject\" id=\"0\" c=\"speedAdd\" /><c p1=\"0_2E2\" p0=\"_5Fobject\" id=\"1\" c=\"speedLimitAbs\" /></script></p><p v=\"50\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop><prop name=\"sky_5Fbutton\"><p v=\"script\" n=\"onInitScreen\"><script><c r=\"o\" p1=\"_223doors_22\" p0=\"_22door_5Fred_22\" id=\"0\" c=\"objectByName\" /><c r=\"s\" p1=\"_22active_22\" p0=\"o\" id=\"1\" c=\"propGet\" /><c p2=\"0\" p1=\"_22_3D_3D_22\" p0=\"s\" id=\"2\" c=\"if\" /><c p2=\"1\" p1=\"_22stat_22\" p0=\"_5Fself\" id=\"3\" c=\"propSet\" /><c id=\"4\" c=\"else\" /><c p2=\"0\" p1=\"_22stat_22\" p0=\"_5Fself\" id=\"5\" c=\"propSet\" /></script></p><p v=\"script\" n=\"onHit\"><script><c p2=\"1\" p1=\"_22stat_22\" p0=\"_5Fself\" id=\"0\" c=\"propSet\" /><c r=\"o\" p1=\"_223doors_22\" p0=\"_22door_5Fred_22\" id=\"1\" c=\"objectByName\" /><c p2=\"0\" p1=\"_22active_22\" p0=\"o\" id=\"2\" c=\"propSet\" /></script></p><p v=\"0\" n=\"stat\" /><p v=\"button_5Fred\" n=\"activeGfx\" /><p v=\"15\" n=\"engine_5Fradius\" /><p v=\"CSECircle\" n=\"engine\" /></prop><prop name=\"bird\"><p v=\"CSEStarshipBall\" n=\"engine\" /><p v=\"73\" n=\"player_5FdieAnimFrames\" /><p v=\"bird\" n=\"sprite\" /><p v=\"0_2E023\" n=\"engine_5FcontrolAY\" /><p v=\"0_2E00015\" n=\"engine_5Fweight\" /><p v=\"0_2E3\" n=\"engine_5Fflex\" /><p v=\"0_2E015\" n=\"engine_5FcontrolAX\" /><p v=\"9\" n=\"engine_5Fradius\" /></prop><prop name=\"wald_5Fplat_5Fvanish_5Frespawn\"><p v=\"25\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /><p v=\"script\" n=\"onHit\"><script><c r=\"b\" p0=\"_22bird_22\" id=\"0\" c=\"plGetBehaviour\" /><c p2=\"_22bird_22\" p1=\"_22_3D_3D_22\" p0=\"b\" id=\"1\" c=\"if\" /><c id=\"2\" c=\"return\" /><c p2=\"0\" p1=\"_22active_22\" p0=\"_5Fself\" id=\"3\" c=\"propSet\" /><c p2=\"_2D0_2E06\" p1=\"0\" p0=\"_5Fobject\" id=\"4\" c=\"speedAdd\" /><c p1=\"0_2E29\" p0=\"_5Fobject\" id=\"5\" c=\"speedLimitAbs\" /></script></p><p v=\"wald_5Fplatform_5Fsmall\" n=\"sprite\" /><p v=\"script\" n=\"onInitScreen\"><script><c p2=\"1\" p1=\"_22active_22\" p0=\"_5Fself\" id=\"0\" c=\"propSet\" /></script></p></prop><prop name=\"wald_5Fspinne\"><p v=\"script\" n=\"onHit\"><script><c p1=\"99999\" p0=\"_5Fobject\" id=\"0\" c=\"damage\" /></script></p><p v=\"0_2E01\" n=\"engine_5Fspeed\" /><p v=\"12\" n=\"engine_5Fradius\" /><p v=\"0\" n=\"engine_5Fpos\" /><p v=\"CSECircleDrone\" n=\"engine\" /><p v=\"wald_5Fspinne\" n=\"sprite\" /></prop><prop name=\"xtra10\"><p v=\"script\" n=\"onHit\"><script><c id=\"0\" c=\"plCoin\" /><c p2=\"0\" p1=\"_22active_22\" p0=\"_5Fself\" id=\"1\" c=\"propSet\" /><c p0=\"_22coin_22\" id=\"2\" c=\"sndPlay\" /></script></p><p v=\"9\" n=\"engine_5Fradius\" /><p v=\"CSECircle\" n=\"engine\" /><p v=\"points10\" n=\"sprite\" /></prop><prop name=\"wald_5Fplat_5Fvanish\"><p v=\"25\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /><p v=\"script\" n=\"onHit\"><script><c p2=\"0\" p1=\"_22active_22\" p0=\"_5Fself\" id=\"0\" c=\"propSet\" /><c p2=\"_2D0_2E06\" p1=\"0\" p0=\"_5Fobject\" id=\"1\" c=\"speedAdd\" /><c p1=\"0_2E29\" p0=\"_5Fobject\" id=\"2\" c=\"speedLimitAbs\" /></script></p><p v=\"wald_5Fplatform_5Fsmall\" n=\"sprite\" /></prop><prop name=\"wald_5Fplat\"><p v=\"0\" n=\"engine_5Fpos\" /><p v=\"0_2E01\" n=\"engine_5Fspeed\" /><p v=\"50\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatformDrone\" n=\"engine\" /><p v=\"wald_5Fplatform_5Fbig\" n=\"sprite\" /></prop><prop name=\"wald_5Fbiene\"><p v=\"script\" n=\"onHit\"><script><c p1=\"99999\" p0=\"_5Fobject\" id=\"0\" c=\"damage\" /></script></p><p v=\"0_2E01\" n=\"engine_5Fspeed\" /><p v=\"12\" n=\"engine_5Fradius\" /><p v=\"0\" n=\"engine_5Fpos\" /><p v=\"CSECircleDrone\" n=\"engine\" /><p v=\"wald_5Fbiene\" n=\"sprite\" /></prop><prop name=\"indy_5Fbat\"><p v=\"script\" n=\"onHit\"><script><c p1=\"99999\" p0=\"_5Fobject\" id=\"0\" c=\"damage\" /></script></p><p v=\"0_2E02\" n=\"engine_5Fspeed\" /><p v=\"10\" n=\"engine_5Fradius\" /><p v=\"0\" n=\"engine_5Fpos\" /><p v=\"CSECircleDrone\" n=\"engine\" /><p v=\"indy_5Fbat\" n=\"sprite\" /></prop><prop name=\"xtraLive\"><p v=\"script\" n=\"onHit\"><script><c p2=\"0\" p1=\"_22active_22\" p0=\"_5Fself\" id=\"0\" c=\"propSet\" /><c id=\"1\" c=\"plXtraLive\" /><c p0=\"_22newlife2_22\" id=\"2\" c=\"sndPlay\" /></script></p><p v=\"xtraLive\" n=\"sprite\" /><p v=\"20\" n=\"engine_5Fradius\" /><p v=\"CSECircle\" n=\"engine\" /></prop><prop name=\"deadlyObject\"><p v=\"script\" n=\"onHit\"><script><c p1=\"99999\" p0=\"_5Fobject\" id=\"0\" c=\"damage\" /></script></p></prop><prop name=\"indy_5Fplatform_5Fmoving\"><p v=\"0\" n=\"engine_5Fpos\" /><p v=\"0_2E05\" n=\"engine_5Fspeed\" /><p v=\"60\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatformDrone\" n=\"engine\" /><p v=\"indy_5Fplatform_5Fmoving\" n=\"sprite\" /></prop><prop name=\"indy_5Fplatform\"><p v=\"indy_5Fplatform\" n=\"sprite\" /><p v=\"60\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop><prop name=\"indy_5Fplatform_5Fsmall_5Fvanish\"><p v=\"script\" n=\"onInitScreen\"><script><c p2=\"1\" p1=\"_22active_22\" p0=\"_5Fself\" id=\"0\" c=\"propSet\" /></script></p><p v=\"script\" n=\"onHit\"><script><c p2=\"0\" p1=\"_22active_22\" p0=\"_5Fself\" id=\"0\" c=\"propSet\" /></script></p><p v=\"1\" n=\"active\" /><p v=\"indy_5Fplatform_5Fsmall\" n=\"sprite\" /><p v=\"34\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop><prop name=\"indy_5Fbumper_5F1_2E5\"><p v=\"script\" n=\"onHit\"><script><c p2=\"_2D0_2E15\" p1=\"0\" p0=\"_5Fobject\" id=\"0\" c=\"speedAdd\" /><c p1=\"0_2E4\" p0=\"_5Fobject\" id=\"1\" c=\"speedLimitAbs\" /></script></p></prop><prop name=\"indy_5Fphallus\"><p v=\"script\" n=\"onInitScreen\"><script><c p0=\"_22indy_5FphallusSetPlatform_22\" id=\"0\" c=\"script\" /></script></p><p v=\"0\" n=\"engine_5Fspeed\" /><p v=\"0\" n=\"engine_5Fpos\" /><p v=\"67_2E8\" n=\"engine_5Fdy\" /><p v=\"0\" n=\"engine_5Fdx\" /><p v=\"0\" n=\"stat\" /><p v=\"phallus\" n=\"activeGfx\" /><p v=\"1\" n=\"active\" /><p v=\"47\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatformDrone\" n=\"engine\" /></prop><prop name=\"indy_5Flore\"><p v=\"70\" n=\"engine_5Fwidth\" /><p v=\"0_2E02\" n=\"engine_5Fspeed\" /><p v=\"0\" n=\"engine_5Fpos\" /><p v=\"CSEPlatformDrone\" n=\"engine\" /><p v=\"indy_5Flore\" n=\"sprite\" /></prop><prop name=\"wald_5Fnager\"><p v=\"script\" n=\"onHit\"><script><c p1=\"99999\" p0=\"_5Fobject\" id=\"0\" c=\"damage\" /></script></p><p v=\"0_2E01\" n=\"engine_5Fspeed\" /><p v=\"15\" n=\"engine_5Fradius\" /><p v=\"0\" n=\"engine_5Fpos\" /><p v=\"CSECircleDrone\" n=\"engine\" /><p v=\"wald_5Fnager\" n=\"sprite\" /></prop><prop name=\"wald_5Fpilz\"><p v=\"script\" n=\"onHit\"><script><c p2=\"_2D0_2E25\" p1=\"0\" p0=\"_5Fobject\" id=\"0\" c=\"speedAdd\" /><c p1=\"0_2E55\" p0=\"_5Fobject\" id=\"1\" c=\"speedLimitAbs\" /></script></p><p v=\"35\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /><p v=\"wald_5Fpilz\" n=\"sprite\" /></prop><prop name=\"wald_5Fswitch\"><p v";
world = world + "=\"0\" n=\"stat\" /><p v=\"wald_5Fswitch\" n=\"sprite\" /><p v=\"16\" n=\"engine_5Fradius\" /><p v=\"CSECircle\" n=\"engine\" /></prop><prop name=\"sky_5Fplatform\"><p v=\"sky_5Fplatform\" n=\"sprite\" /><p v=\"50\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop><prop name=\"sky_5Fplatform_5Fmoving\"><p v=\"0\" n=\"engine_5Fpos\" /><p v=\"0_2E05\" n=\"engine_5Fspeed\" /><p v=\"50\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatformDrone\" n=\"engine\" /><p v=\"sky_5Fplatform\" n=\"sprite\" /></prop><prop name=\"sky_5Fplatform_5Fsmall\"><p v=\"sky_5Fplatform_5Fsmall\" n=\"sprite\" /><p v=\"23\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop><prop name=\"sky_5Fspeer\"><p v=\"script\" n=\"onHit\"><script><c p1=\"99999\" p0=\"_5Fobject\" id=\"0\" c=\"damage\" /></script></p><p v=\"0_2E01\" n=\"engine_5Fspeed\" /><p v=\"12\" n=\"engine_5Fradius\" /><p v=\"0\" n=\"engine_5Fpos\" /><p v=\"CSECircleDrone\" n=\"engine\" /><p v=\"sky_5Fspear\" n=\"sprite\" /></prop><prop name=\"sky_5Fplat_5Fvan_5Fresp\"><p v=\"22\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /><p v=\"script\" n=\"onHit\"><script><c p2=\"0\" p1=\"_22active_22\" p0=\"_5Fself\" id=\"0\" c=\"propSet\" /><c p2=\"_2D0_2E06\" p1=\"0\" p0=\"_5Fobject\" id=\"1\" c=\"speedAdd\" /><c p1=\"0_2E29\" p0=\"_5Fobject\" id=\"2\" c=\"speedLimitAbs\" /></script></p><p v=\"sky_5Fplatform_5Fsmall\" n=\"sprite\" /><p v=\"script\" n=\"onInitScreen\"><script><c p2=\"1\" p1=\"_22active_22\" p0=\"_5Fself\" id=\"0\" c=\"propSet\" /></script></p></prop><prop name=\"wald_5Fplat_5Fspecial\"><p v=\"25\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /><p v=\"script\" n=\"onHit\"><script><c r=\"b\" p0=\"_22bird_22\" id=\"0\" c=\"plGetBehaviour\" /><c p2=\"_22bird_22\" p1=\"_22_3D_3D_22\" p0=\"b\" id=\"1\" c=\"if\" /><c id=\"2\" c=\"return\" /><c p2=\"0\" p1=\"_22active_22\" p0=\"_5Fself\" id=\"3\" c=\"propSet\" /><c p2=\"_2D0_2E06\" p1=\"0\" p0=\"_5Fobject\" id=\"4\" c=\"speedAdd\" /><c p1=\"0_2E29\" p0=\"_5Fobject\" id=\"5\" c=\"speedLimitAbs\" /></script></p><p v=\"wald_5Fplatform_5Fsmall\" n=\"sprite\" /><p v=\"script\" n=\"onInitScreen\"><script><c p2=\"1\" p1=\"_22active_22\" p0=\"_5Fself\" id=\"0\" c=\"propSet\" /></script></p></prop><prop name=\"sky_5Fmorgenstern\"><p v=\"script\" n=\"onHit\"><script><c p1=\"99999\" p0=\"_5Fobject\" id=\"0\" c=\"damage\" /></script></p><p v=\"0_2E02\" n=\"engine_5Fspeed\" /><p v=\"15\" n=\"engine_5Fradius\" /><p v=\"0\" n=\"engine_5Fpos\" /><p v=\"CSECircleDrone\" n=\"engine\" /><p v=\"sky_5Fmorgenstern\" n=\"sprite\" /></prop><prop name=\"city_5Fratte\"><p v=\"script\" n=\"onHit\"><script><c p1=\"99999\" p0=\"_5Fobject\" id=\"0\" c=\"damage\" /></script></p><p v=\"0_2E02\" n=\"engine_5Fspeed\" /><p v=\"12\" n=\"engine_5Fradius\" /><p v=\"0\" n=\"engine_5Fpos\" /><p v=\"CSECircleDrone\" n=\"engine\" /><p v=\"city_5Fratte\" n=\"sprite\" /></prop><prop name=\"city_5Fplat_5F86\"><p v=\"0\" n=\"engine_5Fpos\" /><p v=\"0_2E05\" n=\"engine_5Fspeed\" /><p v=\"50\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatformDrone\" n=\"engine\" /><p v=\"city_5Fplat_5F86\" n=\"sprite\" /></prop><prop name=\"rocket\"><p v=\"0_2E04\" n=\"engine_5FcontrolAR\" /><p v=\"0_2E9\" n=\"engine_5FfrictR\" /><p v=\"73\" n=\"player_5FdieAnimFrames\" /><p v=\"rocket\" n=\"sprite\" /><p v=\"0_2E02\" n=\"engine_5FcontrolAY\" /><p v=\"0_2E000021\" n=\"engine_5Fweight\" /><p v=\"0_2E5\" n=\"engine_5Fflex\" /><p v=\"7_2E5\" n=\"engine_5Fradius\" /><p v=\"CSERocketBall\" n=\"engine\" /></prop><prop name=\"ball\"><p v=\"73\" n=\"player_5FdieAnimFrames\" /><p v=\"sprite_5F0\" n=\"sprite\" /><p v=\"0_2E13\" n=\"engine_5FvUpMed\" /><p v=\"0_2E5\" n=\"engine_5FcontrolAY\" /><p v=\"0_2E00035\" n=\"engine_5Fweight\" /><p v=\"0_2E08\" n=\"engine_5FvUpMin\" /><p v=\"0_2E2\" n=\"engine_5FvUpMax\" /><p v=\"0_2E15\" n=\"engine_5FvSideMax\" /><p v=\"0_2E7\" n=\"engine_5FfrictXOverSpeed\" /><p v=\"0_2E99\" n=\"engine_5FfrictX\" /><p v=\"1\" n=\"engine_5Fflex\" /><p v=\"0_2E05\" n=\"engine_5FcontrolAX\" /><p v=\"7_2E5\" n=\"engine_5Fradius\" /><p v=\"CSEWonderBall\" n=\"engine\" /></prop><prop name=\"vanish\"><p v=\"script\" n=\"onHit\"><script><c p2=\"0\" p1=\"_22active_22\" p0=\"_5Fself\" id=\"0\" c=\"propSet\" /><c r=\"o\" p0=\"_22counter_22\" id=\"1\" c=\"objectByName\" /><c r=\"n\" p1=\"_22n_22\" p0=\"o\" id=\"2\" c=\"propGet\" /><c r=\"n\" p2=\"1\" p1=\"_22_2D_22\" p0=\"n\" id=\"3\" c=\"math\" /><c p2=\"n\" p1=\"_22n_22\" p0=\"o\" id=\"4\" c=\"propSet\" /><c p2=\"0\" p1=\"_22_3C_3D_22\" p0=\"n\" id=\"5\" c=\"if\" /><c r=\"o\" p0=\"_22door_22\" id=\"6\" c=\"objectByName\" /><c p2=\"0\" p1=\"_22active_22\" p0=\"o\" id=\"7\" c=\"propSet\" /></script></p></prop><prop name=\"space_5Fplat_5Fmoving\"><p v=\"0\" n=\"engine_5Fpos\" /><p v=\"0_2E05\" n=\"engine_5Fspeed\" /><p v=\"44\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatformDrone\" n=\"engine\" /><p v=\"space_5Fplat\" n=\"sprite\" /></prop><l id=\"0\"><p><v y0=\"1.8\" x0=\"1.8\" /><v y0=\"1.8\" x0=\"545.4\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22w_22\" p0=\"1\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"350.05\" x0=\"546.3\" /><v y0=\"350.05\" x0=\"1.8\" /></p><m y1=\"135.5\" x1=\"230\" y0=\"135.9\" x0=\"227.7\"><prop name=\"\"><p v=\"70\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"132.85\" x1=\"327.05\" y0=\"132.85\" x0=\"327.05\"><prop name=\"\"><p v=\"60\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"132.85\" x1=\"415.1\" y0=\"132.3\" x0=\"418.5\"><prop name=\"\"><p v=\"60\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"132.85\" x1=\"513.05\" y0=\"132.85\" x0=\"513.05\"><prop name=\"\"><p v=\"50\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"311.45\" x1=\"44.95\" y0=\"311.4\" x0=\"47.7\"><prop name=\"savepoint\" /></m><m y1=\"16.2\" x1=\"533.7\" y0=\"328.5\" x0=\"532.8\"><prop name=\"e\" /></m><m y1=\"102.3\" x1=\"258.75\" y0=\"105.3\" x0=\"264.6\"><prop super=\"xtraLive\" name=\"\" /></m><m y1=\"349.2\" x1=\"232.2\" y0=\"349.2\" x0=\"440.1\"><prop super=\"city_5Fkatze\" name=\"\"><p v=\"0_2E01\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"104.4\" x1=\"313.2\" y0=\"79.2\" x0=\"313.2\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"77.2\" x1=\"402.55\" y0=\"77.2\" x0=\"402.55\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"73.6\" x1=\"494.2\" y0=\"78.3\" x0=\"495\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"292.6\" x1=\"292.9\" y0=\"292.5\" x0=\"305.1\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"293.5\" x1=\"405.2\" y0=\"290.7\" x0=\"401.4\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"290.8\" x1=\"495.95\" y0=\"290.8\" x0=\"495.95\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"182.8\" x1=\"156.5\" y0=\"184.25\" x0=\"155.8\"><prop name=\"\"><p v=\"80\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m></l><l id=\"1\"><p><v y0=\"1.8\" x0=\"1.8\" /><v y0=\"2.7\" x0=\"547.2\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22w_22\" p0=\"2\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"357.3\" x0=\"548.1\" /><v y0=\"354.6\" x0=\"1.8\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22e_22\" p0=\"0\" id=\"0\" c=\"goLevel\" /></script></p></prop></v></p><m y1=\"128.35\" x1=\"9.9\" y0=\"127.8\" x0=\"-1.8\"><prop name=\"\"><p v=\"30\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"125.65\" x1=\"55.7\" y0=\"127.8\" x0=\"57.6\"><prop name=\"\"><p v=\"65\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"125.65\" x1=\"159.05\" y0=\"126\" x0=\"161.1\"><prop name=\"\"><p v=\"65\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"94.25\" x1=\"285.75\" y0=\"95.4\" x0=\"284.4\"><prop name=\"\"><p v=\"270\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"291.7\" x1=\"342.35\" y0=\"292.5\" x0=\"342.9\"><prop name=\"\"><p v=\"210\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"257.6\" x1=\"248\" y0=\"259.2\" x0=\"249.3\"><prop name=\"\"><p v=\"95\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"301.55\" x1=\"204.85\" y0=\"302.4\" x0=\"204.3\"><prop name=\"\"><p v=\"45\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"338.4\" x1=\"16.2\" y0=\"14.4\" x0=\"15.3\"><prop name=\"w\" /></m><m y1=\"16.15\" x1=\"531\" y0=\"343.7\" x0=\"534.35\"><prop name=\"e\" /></m><m y1=\"355.5\" x1=\"178.2\" y0=\"353.7\" x0=\"75.6\"><prop super=\"city_5Fratte\" name=\"\"><p v=\"0_2E033\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"355.5\" x1=\"456.3\" y0=\"354.6\" x0=\"284.4\"><prop super=\"city_5Fkatze\" name=\"\"><p v=\"0_2E017\" n=\"engine_5Fspeed\" /><p v=\"0_2E25\" n=\"engine_5Fpos\" /></prop></m><m y1=\"84.35\" x1=\"41.35\" y0=\"84.35\" x0=\"41.35\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"85.25\" x1=\"141.05\" y0=\"85.25\" x0=\"141.05\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"69.1\" x1=\"311.8\" y0=\"69.1\" x0=\"311.8\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"68.2\" x1=\"398.05\" y0=\"68.2\" x0=\"398.05\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"67.3\" x1=\"483.4\" y0=\"67.3\" x0=\"483.4\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"267.45\" x1=\"399.85\" y0=\"267.45\" x0=\"399.85\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"246.8\" x1=\"532.8\" y0=\"263.7\" x0=\"510.3\"><prop super=\"xtra10\" name=\"\" /></m></l><l id=\"2\"><p><v y0=\"1.8\" x0=\"1.8\" /><v y0=\"0\" x0=\"482.1\" /><v y0=\"181.5\" x0=\"481.2\" /><v y0=\"181.5\" x0=\"453.7\" /><v y0=\"211.75\" x0=\"481.2\" /><v y0=\"1.8\" x0=\"502.2\" /><v y0=\"2.7\" x0=\"544.5\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22w_22\" p0=\"3\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"350.95\" x0=\"546.3\" /><v y0=\"356.3\" x0=\"1.8\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22e_22\" p0=\"1\" id=\"0\" c=\"goLevel\" /></script></p></prop></v></p><m y1=\"282.7\" x1=\"0.9\" y0=\"284.15\" x0=\"-10.1\"><prop name=\"\"><p v=\"40\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"284.5\" x1=\"53\" y0=\"285.3\" x0=\"53.1\"><prop name=\"\"><p v=\"255\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"246.8\" x1=\"301.9\" y0=\"246.55\" x0=\"298.8\"><prop name=\"\"><p v=\"120\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"210\" x1=\"325.25\" y0=\"211.75\" x0=\"321.7\"><prop name=\"\"><p v=\"47\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"88.85\" x1=\"0\" y0=\"88.85\" x0=\"0\"><prop name=\"\"><p v=\"35\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"87.95\" x1=\"51.2\" y0=\"87.95\" x0=\"51.2\"><prop name=\"\"><p v=\"280\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"132.85\" x1=\"353.1\" y0=\"136.55\" x0=\"351.05\"><prop name=\"\"><p v=\"70\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"337.5\" x1=\"16.2\" y0=\"15.3\" x0=\"16.2\"><prop name=\"w\" /></m><m y1=\"19.8\" x1=\"532.8\" y0=\"332.1\" x0=\"531\"><prop name=\"e\" /></m><m y1=\"353";
world = world + ".7\" x1=\"118.8\" y0=\"351.9\" x0=\"425.7\"><prop super=\"city_5Fratte\" name=\"\"><p v=\"0_2E021\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"69.1\" x1=\"72.8\" y0=\"69.1\" x0=\"72.8\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"67.3\" x1=\"221.05\" y0=\"67.3\" x0=\"221.05\"><prop super=\"xtra10\" name=\"\" /></m></l><l id=\"3\"><p><v y0=\"1.8\" x0=\"2.7\" /><v y0=\"2.7\" x0=\"531.9\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22w_22\" p0=\"4\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"157.5\" x0=\"533.7\" /><v y0=\"157.05\" x0=\"460.95\" /><v y0=\"348.25\" x0=\"265.95\" /><v y0=\"348.3\" x0=\"1.8\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22e_22\" p0=\"2\" id=\"0\" c=\"goLevel\" /></script></p></prop></v></p><m y1=\"144.5\" x1=\"131.2\" y0=\"144.5\" x0=\"131.2\"><prop name=\"\"><p v=\"65\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"141.8\" x1=\"223.75\" y0=\"144\" x0=\"225.9\"><prop name=\"\"><p v=\"60\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"142.7\" x1=\"312.7\" y0=\"144\" x0=\"315\"><prop name=\"\"><p v=\"60\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"337.5\" x1=\"17.1\" y0=\"24.3\" x0=\"25.2\"><prop name=\"w\" /></m><m y1=\"18.9\" x1=\"516.6\" y0=\"136.8\" x0=\"514.8\"><prop name=\"e\" /></m><m y1=\"347.4\" x1=\"81.9\" y0=\"347.4\" x0=\"335.7\"><prop super=\"city_5Fkatze\" name=\"\"><p v=\"0_2E016\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"122.05\" x1=\"163.55\" y0=\"122.05\" x0=\"163.55\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"81.65\" x1=\"164.45\" y0=\"81.65\" x0=\"164.45\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"122.05\" x1=\"256.05\" y0=\"122.05\" x0=\"256.05\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"80.8\" x1=\"256.95\" y0=\"80.8\" x0=\"256.95\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"120.25\" x1=\"345.05\" y0=\"120.25\" x0=\"345.05\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"79.9\" x1=\"345.9\" y0=\"79.9\" x0=\"345.9\"><prop super=\"xtra10\" name=\"\" /></m></l><l id=\"4\"><p><v y0=\"1.8\" x0=\"44.05\" /><v y0=\"2.7\" x0=\"547.2\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22w_22\" p0=\"5\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"324.9\" x0=\"548.1\" /><v y0=\"324.9\" x0=\"380.95\" /><v y0=\"211.8\" x0=\"381.6\" /><v y0=\"211.8\" x0=\"249.8\" /><v y0=\"271.05\" x0=\"243.5\" /><v y0=\"271.05\" x0=\"205.75\" /><v y0=\"277.35\" x0=\"208.45\" /><v y0=\"326.7\" x0=\"206.65\" /><v y0=\"326.7\" x0=\"44.95\" /></p><m y1=\"205.55\" x1=\"83.55\" y0=\"205.55\" x0=\"83.55\"><prop name=\"\"><p v=\"70\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"105\" x1=\"305.5\" y0=\"103.5\" x0=\"305.1\"><prop name=\"\"><p v=\"260\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"165.15\" x1=\"112.3\" y0=\"165.15\" x0=\"112.3\"><prop name=\"w\" /></m><m y1=\"16.2\" x1=\"532.8\" y0=\"302.4\" x0=\"532.8\"><prop name=\"e\" /></m><m y1=\"326.7\" x1=\"68.4\" y0=\"324.9\" x0=\"180.9\"><prop super=\"city_5Fkatze\" name=\"\" /></m><m y1=\"324\" x1=\"408.6\" y0=\"323.1\" x0=\"585\"><prop super=\"city_5Fkatze\" name=\"\"><p v=\"0_2E7\" n=\"engine_5Fpos\" /></prop></m><m y1=\"84.35\" x1=\"326.15\" y0=\"84.35\" x0=\"326.15\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"82.55\" x1=\"380.05\" y0=\"82.55\" x0=\"380.05\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"82.55\" x1=\"434.85\" y0=\"82.55\" x0=\"434.85\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"79.9\" x1=\"495.05\" y0=\"82.8\" x0=\"491.4\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"305.15\" x1=\"59.3\" y0=\"305.15\" x0=\"59.3\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"260.3\" x1=\"59.3\" y0=\"260.3\" x0=\"59.3\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"213.6\" x1=\"59.3\" y0=\"213.6\" x0=\"59.3\"><prop super=\"xtra10\" name=\"\" /></m></l><l id=\"5\"><p><v y0=\"2.7\" x0=\"1.8\" /><v y0=\"2.7\" x0=\"460.95\" /><v y0=\"211.8\" x0=\"459.15\" /><v y0=\"247.7\" x0=\"384.55\" /><v y0=\"280.9\" x0=\"383.65\" /><v y0=\"280.8\" x0=\"347.4\" /><v y0=\"325.8\" x0=\"354\" /><v y0=\"324.9\" x0=\"234.5\" /><v y0=\"307.85\" x0=\"236.3\" /><v y0=\"301.55\" x0=\"246.2\" /><v y0=\"260.1\" x0=\"247.5\" /><v y0=\"260.1\" x0=\"225.9\" /><v y0=\"289.9\" x0=\"223.75\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p2=\"_2D0_2E2\" p1=\"0\" p0=\"_5Fobject\" id=\"0\" c=\"speedAdd\" /><c p1=\"0_2E6\" p0=\"_5Fobject\" id=\"1\" c=\"speedLimitAbs\" /></script></p></prop></v><v y0=\"289.9\" x0=\"175.2\" /><v y0=\"261.9\" x0=\"173.7\" /><v y0=\"261.9\" x0=\"153\" /><v y0=\"306.05\" x0=\"157.25\" /><v y0=\"306.95\" x0=\"163.55\" /><v y0=\"325.8\" x0=\"168\" /><v y0=\"325.8\" x0=\"1.8\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22e_22\" p0=\"4\" id=\"0\" c=\"goLevel\" /></script></p></prop></v></p><m y1=\"96.95\" x1=\"0\" y0=\"99.9\" x0=\"-1.85\"><prop name=\"\"><p v=\"175\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"200.15\" x1=\"355.8\" y0=\"201.6\" x0=\"356.4\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22w_22\" p0=\"6\" id=\"0\" c=\"goLevel\" /></script></p><p v=\"80\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"306\" x1=\"15.3\" y0=\"17.1\" x0=\"16.2\"><prop name=\"w\" /></m><m y1=\"324.9\" x1=\"-32.4\" y0=\"325.8\" x0=\"134.1\"><prop super=\"city_5Fkatze\" name=\"\"><p v=\"_2D0_2E2\" n=\"engine_5Fpos\" /></prop></m><m y1=\"161.55\" x1=\"333.35\" y0=\"161.55\" x0=\"333.35\"><prop name=\"e\" /></m><m y1=\"78.1\" x1=\"33.25\" y0=\"78.1\" x0=\"33.25\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"76.3\" x1=\"84.45\" y0=\"76.3\" x0=\"84.45\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"75.4\" x1=\"137.45\" y0=\"75.4\" x0=\"137.45\"><prop super=\"xtra10\" name=\"\" /></m></l><l id=\"6\"><p><v y0=\"1.85\" x0=\"85.2\" /><v y0=\"1.8\" x0=\"546.3\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22w_22\" p0=\"7\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"369.75\" x0=\"546.3\" /><v y0=\"369.75\" x0=\"386.35\" /><v y0=\"302.45\" x0=\"389.95\" /><v y0=\"302.45\" x0=\"402.55\" /><v y0=\"293.4\" x0=\"405.9\" /><v y0=\"292.5\" x0=\"388.8\" /><v y0=\"267.3\" x0=\"385.2\" /><v y0=\"266.75\" x0=\"362.95\" /><v y0=\"294.2\" x0=\"359.3\" /><v y0=\"292.5\" x0=\"341.1\" /><v y0=\"303.4\" x0=\"345.55\" /><v y0=\"303.35\" x0=\"362.1\" /><v y0=\"369.75\" x0=\"361.2\" /><v y0=\"369.75\" x0=\"250.7\" /><v y0=\"329.4\" x0=\"248.9\" /><v y0=\"316.8\" x0=\"235.4\" /><v y0=\"316.8\" x0=\"208.45\" /><v y0=\"294.4\" x0=\"206.65\" /><v y0=\"282.7\" x0=\"195\" /><v y0=\"281.4\" x0=\"166.8\" /><v y0=\"239.25\" x0=\"171.4\" /><v y0=\"230.4\" x0=\"149.4\" /><v y0=\"230.4\" x0=\"110.7\" /><v y0=\"237.85\" x0=\"91.65\" /><v y0=\"131.05\" x0=\"93.45\" /><v y0=\"131.05\" x0=\"35.05\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22e_22\" p0=\"5\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"35.75\" x0=\"30.25\" /><v y0=\"33.9\" x0=\"86.15\" /></p><m y1=\"301.55\" x1=\"474.4\" y0=\"301.5\" x0=\"473.4\"><prop name=\"\"><p v=\"75\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"85.25\" x1=\"478\" y0=\"85.25\" x0=\"478\"><prop name=\"\"><p v=\"70\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"94.25\" x1=\"58.4\" y0=\"94.25\" x0=\"58.4\"><prop name=\"w\" /></m><m y1=\"17.05\" x1=\"531.9\" y0=\"360.9\" x0=\"533.7\"><prop name=\"e\" /></m><m y1=\"370.8\" x1=\"264.6\" y0=\"369\" x0=\"347.4\"><prop super=\"city_5Fratte\" name=\"\" /></m><m y1=\"343.8\" x1=\"271.8\" y0=\"343.8\" x0=\"271.8\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"342.85\" x1=\"302.8\" y0=\"343.8\" x0=\"302.4\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"85.25\" x1=\"132.1\" y0=\"85.25\" x0=\"132.1\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"140\" x1=\"129.4\" y0=\"140\" x0=\"129.4\"><prop super=\"xtra10\" name=\"\" /></m></l><l id=\"7\"><p><v y0=\"0.9\" x0=\"1.8\" /><v y0=\"0.9\" x0=\"334.8\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22w_22\" p0=\"8\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"0.9\" x0=\"461.85\" /><v y0=\"364.4\" x0=\"459.15\" /><v y0=\"364.4\" x0=\"1.8\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22e_22\" p0=\"6\" id=\"0\" c=\"goLevel\" /></script></p></prop></v></p><m y1=\"298.85\" x1=\"0.9\" y0=\"297.9\" x0=\"0.9\"><prop name=\"\"><p v=\"210\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"80.8\" x1=\"0\" y0=\"80.8\" x0=\"0\"><prop name=\"\"><p v=\"210\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"336.55\" x1=\"342.35\" y0=\"337.5\" x0=\"344.7\"><prop name=\"\"><p v=\"50\" n=\"engine_5Fwidth\" /><p v=\"CSEPlatform\" n=\"engine\" /></prop></m><m y1=\"310.55\" x1=\"350.4\" y0=\"313.2\" x0=\"350.1\"><prop super=\"plat_5F50\" name=\"\" /></m><m y1=\"284.5\" x1=\"355.8\" y0=\"287.1\" x0=\"356.4\"><prop super=\"plat_5F50\" name=\"\" /></m><m y1=\"261.15\" x1=\"362.1\" y0=\"261.9\" x0=\"360.9\"><prop super=\"plat_5F50\" name=\"\" /></m><m y1=\"232.45\" x1=\"368.4\" y0=\"237.6\" x0=\"366.3\"><prop super=\"plat_5F50\" name=\"\" /></m><m y1=\"209.1\" x1=\"371.1\" y0=\"213.3\" x0=\"370.8\"><prop super=\"plat_5F50\" name=\"\" /></m><m y1=\"187.6\" x1=\"375.55\" y0=\"189\" x0=\"375.3\"><prop super=\"plat_5F50\" name=\"\" /></m><m y1=\"162.45\" x1=\"380.05\" y0=\"163.8\" x0=\"378.9\"><prop super=\"plat_5F50\" name=\"\" /></m><m y1=\"139.1\" x1=\"384.55\" y0=\"140.4\" x0=\"384.3\"><prop super=\"plat_5F50\" name=\"\" /></m><m y1=\"114.9\" x1=\"389.05\" y0=\"117\" x0=\"388.8\"><prop super=\"plat_5F50\" name=\"\" /></m><m y1=\"90.65\" x1=\"394.45\" y0=\"92.7\" x0=\"394.2\"><prop super=\"plat_5F50\" name=\"\" /></m><m y1=\"67.3\" x1=\"399.85\" y0=\"68.4\" x0=\"398.7\"><prop super=\"plat_5F50\" name=\"\" /></m><m y1=\"42.2\" x1=\"404.35\" y0=\"43.2\" x0=\"402.3\"><prop super=\"plat_5F50\" name=\"\" /></m><m y1=\"17.95\" x1=\"409.7\" y0=\"18\" x0=\"406.8\"><prop super=\"plat_5F50\" name=\"\" /></m><m y1=\"355.5\" x1=\"16.2\" y0=\"14.4\" x0=\"18.9\"><prop name=\"w\" /></m><m y1=\"367.2\" x1=\"299.7\" y0=\"366.3\" x0=\"55.8\"><prop super=\"city_5Fratte\" name=\"\"><p v=\"0_2E016\" n=\"engine_5Fspeed\" /><p v=\"_2D0_2E7\" n=\"engine_5Fpos\" /></prop></m><m y1=\"364.5\" x1=\"426.6\" y0=\"368.1\" x0=\"110.7\"><prop super=\"city_5Fratte\" name=\"\"><p v=\"0_2E016\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"21.55\" x1=\"379.15\" y0=\"21.55\" x0=\"379.15\"><prop name=\"e\" /></m><m y1=\"142.7\" x1=\"282.15\" y0=\"142.7\" x0=\"282.15\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"197.45\" x1=\"281.25\" y0=\"197.45\" x0=\"281.25\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"243.2\" x1=\"278.55\" y0=\"251.1\" x0=\"279.9\"><prop super=\"xtra10\" name=\"\" /></m></l><l id=\"8\"><p><v y0=\"2.7\" x0=\"89.85\" /><v y0=\"2.7\" x0=\"510.35\" /><v y0=\"350.15\" x0=\"505.95\" /><v y0=\"350.15\" x0=\"399.6\" /><v y0=\"396.9\" x0=\"398.7\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22n_22\" p0=\"9\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"397.6\" x0=\"329.75\" /><v y0=\"350.95\" x0=\"328.85\" /><v y0=\"350.95\" x0=\"214.75\" /><v y0=\"245.7\" x0=\"215.1\" /><v y0=";
world = world + "\"234\" x0=\"217.8\" /><v y0=\"234\" x0=\"90.9\" /><v y0=\"195.3\" x0=\"89.1\" /><v y0=\"195.3\" x0=\"18\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22e_22\" p0=\"7\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"88\" x0=\"16.5\" /></p><m y1=\"163.35\" x1=\"43.15\" y0=\"163.35\" x0=\"43.15\"><prop name=\"w\" /></m><m y1=\"342.85\" x1=\"330.65\" y0=\"349.2\" x0=\"334.55\"><prop super=\"indy_5Fplatform\" name=\"door\" /></m><m y1=\"299.75\" x1=\"500.45\" y0=\"298.8\" x0=\"490.5\"><prop name=\"\"><p v=\"0\" n=\"stat\" /><p v=\"switch\" n=\"activeGfx\" /><p v=\"script\" n=\"onHit\"><script><c r=\"p\" p1=\"_22stat_22\" p0=\"_5Fself\" id=\"0\" c=\"propGet\" /><c p2=\"1\" p1=\"_22_3D_3D_22\" p0=\"p\" id=\"1\" c=\"if\" /><c p0=\"_22newlife_22\" id=\"2\" c=\"sndPlay\" /><c r=\"o\" p0=\"_22door_22\" id=\"3\" c=\"objectByName\" /><c p2=\"0\" p1=\"_22active_22\" p0=\"o\" id=\"4\" c=\"propSet\" /><c p2=\"1\" p1=\"_22stat_22\" p0=\"_5Fself\" id=\"5\" c=\"propSet\" /></script></p><p v=\"20\" n=\"engine_5Fradius\" /><p v=\"CSECircle\" n=\"engine\" /></prop></m><m y1=\"234\" x1=\"114.3\" y0=\"232.2\" x0=\"204.3\"><prop super=\"city_5Fkatze\" name=\"\" /></m></l><l id=\"9\"><p><v y0=\"1.8\" x0=\"150.95\" /><v y0=\"23.35\" x0=\"150.05\" /><v y0=\"23.35\" x0=\"444.75\" /><v y0=\"107.7\" x0=\"527.4\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22w_22\" p0=\"10\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"242.35\" x0=\"528.3\" /><v y0=\"242.35\" x0=\"443.85\" /><v y0=\"296.2\" x0=\"443.85\" /><v y0=\"296.2\" x0=\"395.35\" /><v y0=\"306.05\" x0=\"398.95\" /><v y0=\"347.35\" x0=\"390.85\" /><v y0=\"347.35\" x0=\"163.55\" /><v y0=\"271.05\" x0=\"168\" /><v y0=\"269.25\" x0=\"174.3\" /><v y0=\"247.7\" x0=\"176.1\" /><v y0=\"247.7\" x0=\"181.5\" /><v y0=\"242\" x0=\"179.65\" /><v y0=\"242\" x0=\"43.05\" /><v y0=\"27.5\" x0=\"44\" /><v y0=\"27.5\" x0=\"74.2\" /><v y0=\"1.8\" x0=\"77.3\" /></p><m y1=\"13.45\" x1=\"110.5\" y0=\"13.45\" x0=\"110.5\"><prop name=\"n\" /></m><m y1=\"120.25\" x1=\"495.95\" y0=\"225.9\" x0=\"495.9\"><prop name=\"e\" /></m><m y1=\"343.8\" x1=\"198\" y0=\"344.7\" x0=\"359.1\"><prop super=\"city_5Fkatze\" name=\"\" /></m><m y1=\"45.75\" x1=\"112.3\" y0=\"45.75\" x0=\"112.3\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"111.3\" x1=\"110.5\" y0=\"111.3\" x0=\"110.5\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"176.8\" x1=\"107.8\" y0=\"176.8\" x0=\"107.8\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"322.2\" x1=\"195.9\" y0=\"322.2\" x0=\"195.9\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"324.9\" x1=\"261.45\" y0=\"323.1\" x0=\"264.6\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"325.8\" x1=\"327.05\" y0=\"324\" x0=\"328.5\"><prop super=\"xtra10\" name=\"\" /></m></l><l id=\"10\"><prop name=\"\"><p v=\"limelight\" n=\"password\" /></prop><p><v y0=\"29.6\" x0=\"30.55\" /><v y0=\"2.7\" x0=\"108.7\" /><v y0=\"2.7\" x0=\"546.3\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22w_22\" p0=\"11\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"359.9\" x0=\"546.3\" /><v y0=\"359.9\" x0=\"113.2\" /><v y0=\"134.65\" x0=\"110.5\" /><v y0=\"134.65\" x0=\"30.55\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22e_22\" p0=\"9\" id=\"0\" c=\"goLevel\" /></script></p></prop></v></p><m y1=\"118.8\" x1=\"66.6\" y0=\"42.3\" x0=\"69.3\"><prop name=\"w\" /></m><m y1=\"17.95\" x1=\"528.3\" y0=\"339.3\" x0=\"530.1\"><prop name=\"e\" /></m><m y1=\"360\" x1=\"248.4\" y0=\"360\" x0=\"508.5\"><prop super=\"city_5Fratte\" name=\"\" /></m><m y1=\"360\" x1=\"229.5\" y0=\"360.9\" x0=\"489.6\"><prop super=\"city_5Fratte\" name=\"\"><p v=\"0_2E4\" n=\"engine_5Fpos\" /></prop></m><m y1=\"360\" x1=\"239.4\" y0=\"360.9\" x0=\"499.5\"><prop super=\"city_5Fratte\" name=\"\"><p v=\"_2D0_2E4\" n=\"engine_5Fpos\" /></prop></m><m y1=\"324\" x1=\"152.75\" y0=\"324.9\" x0=\"153\"><prop name=\"savepoint\" /></m><m y1=\"325.8\" x1=\"303.7\" y0=\"325.8\" x0=\"303.7\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"322.2\" x1=\"443.85\" y0=\"322.2\" x0=\"443.85\"><prop super=\"xtra10\" name=\"\" /></m></l><l id=\"11\"><p><v y0=\"1.85\" x0=\"421.6\" /><v y0=\"354.5\" x0=\"418.7\" /><v y0=\"354.5\" x0=\"401.65\" /><v y0=\"397.6\" x0=\"404.35\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22n_22\" p0=\"12\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"397.6\" x0=\"327.95\" /><v y0=\"355.4\" x0=\"329.75\" /><v y0=\"355.4\" x0=\"2.7\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22e_22\" p0=\"10\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"1.8\" x0=\"2.7\" /></p><m y1=\"342\" x1=\"18\" y0=\"19.8\" x0=\"21.6\"><prop name=\"w\" /></m><m y1=\"78.1\" x1=\"406.1\" y0=\"78.1\" x0=\"406.1\"><prop name=\"\"><p v=\"0\" n=\"stat\" /><p v=\"switch\" n=\"activeGfx\" /><p v=\"script\" n=\"onHit\"><script><c r=\"p\" p1=\"_22stat_22\" p0=\"_5Fself\" id=\"0\" c=\"propGet\" /><c p2=\"0\" p1=\"_22_3D_3D_22\" p0=\"p\" id=\"1\" c=\"if\" /><c p0=\"_22newlife_22\" id=\"2\" c=\"sndPlay\" /><c p2=\"1\" p1=\"_22stat_22\" p0=\"_5Fself\" id=\"3\" c=\"propSet\" /><c r=\"o\" p0=\"_22door_22\" id=\"4\" c=\"objectByName\" /><c p2=\"0\" p1=\"_22active_22\" p0=\"o\" id=\"5\" c=\"propSet\" /></script></p><p v=\"20\" n=\"engine_5Fradius\" /><p v=\"CSECircle\" n=\"engine\" /></prop></m><m y1=\"357.2\" x1=\"336.95\" y0=\"355.5\" x0=\"336.6\"><prop super=\"indy_5Fplatform\" name=\"door\"><p v=\"indy_5Fplatform_5Fmoving\" n=\"sprite\" /></prop></m><m y1=\"329.4\" x1=\"67.5\" y0=\"90\" x0=\"72.9\"><prop super=\"indy_5Fplatform_5Fmoving\" name=\"\"><p v=\"0_2E01\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"90.75\" x1=\"186.95\" y0=\"90.9\" x0=\"316.8\"><prop super=\"indy_5Fplatform_5Fmoving\" name=\"\"><p v=\"0_2E7\" n=\"engine_5Fpos\" /><p v=\"0_2E02\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"356.4\" x1=\"240.3\" y0=\"356.55\" x0=\"16.5\"><prop super=\"city_5Fratte\" name=\"\"><p v=\"0_2E1\" n=\"engine_5Fpos\" /></prop></m><m y1=\"356.3\" x1=\"155.45\" y0=\"355.5\" x0=\"297\"><prop super=\"city_5Fratte\" name=\"\"><p v=\"0_2E025\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"170.55\" x1=\"175.2\" y0=\"170.55\" x0=\"175.2\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"225.25\" x1=\"173.4\" y0=\"225.25\" x0=\"173.4\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"280.9\" x1=\"172.5\" y0=\"280.9\" x0=\"172.5\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"161.55\" x1=\"361.2\" y0=\"161.55\" x0=\"361.2\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"213.6\" x1=\"361.2\" y0=\"221.4\" x0=\"360.9\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"276.45\" x1=\"358.5\" y0=\"279.9\" x0=\"359.1\"><prop super=\"xtra10\" name=\"\" /></m></l><l id=\"12\"><p><v y0=\"0.9\" x0=\"169.8\" /><v y0=\"46.65\" x0=\"169.8\" /><v y0=\"46.65\" x0=\"547.2\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22w_22\" p0=\"13\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"328.5\" x0=\"547.2\"><prop super=\"deadlyObject\" name=\"\" /></v><v y0=\"328.5\" x0=\"22.45\" /><v y0=\"150.8\" x0=\"21.55\" /><v y0=\"68.2\" x0=\"35.95\" /><v y0=\"52.05\" x0=\"53\" /><v y0=\"40.4\" x0=\"95.25\" /><v y0=\"1.8\" x0=\"94.35\" /></p><m y1=\"21.55\" x1=\"129.4\" y0=\"21.55\" x0=\"129.4\"><prop name=\"n\" /></m><m y1=\"60.15\" x1=\"532.8\" y0=\"279.9\" x0=\"533.7\"><prop name=\"e\" /></m><m y1=\"99\" x1=\"90\" y0=\"282.6\" x0=\"99.9\"><prop super=\"indy_5Fplatform_5Fmoving\" name=\"\"><p v=\"1\" n=\"engine_5Fpos\" /><p v=\"0_2E01\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"181.5\" x1=\"217.2\" y0=\"181.5\" x0=\"342.8\"><prop super=\"indy_5Fplatform_5Fmoving\" name=\"\"><p v=\"0_2E015\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"91.8\" x1=\"484.2\" y0=\"301.5\" x0=\"484.2\"><prop super=\"indy_5Fplatform_5Fmoving\" name=\"\"><p v=\"0_2E01\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"150.8\" x1=\"206.65\" y0=\"150.8\" x0=\"206.65\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"149.9\" x1=\"301\" y0=\"149.9\" x0=\"301\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"148.5\" x1=\"402.3\" y0=\"148.5\" x0=\"402.3\"><prop super=\"xtra10\" name=\"\" /></m></l><l id=\"13\"><p><v y0=\"45.75\" x0=\"3.6\" /><v y0=\"45.75\" x0=\"546.3\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22w_22\" p0=\"14\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"330.3\" x0=\"547.2\"><prop super=\"deadlyObject\" name=\"\" /></v><v y0=\"329.4\" x0=\"1.8\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22e_22\" p0=\"12\" id=\"0\" c=\"goLevel\" /></script></p></prop></v></p><m y1=\"288\" x1=\"16.2\" y0=\"62.1\" x0=\"18.9\"><prop name=\"w\" /></m><m y1=\"61.2\" x1=\"532.8\" y0=\"312.3\" x0=\"531\"><prop name=\"e\" /></m><m y1=\"90.9\" x1=\"7.2\" y0=\"310.5\" x0=\"4.5\"><prop super=\"indy_5Fplatform_5Fmoving\" name=\"\"><p v=\"0_2E01\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"90\" x1=\"139.5\" y0=\"308.7\" x0=\"135\"><prop super=\"indy_5Fplatform_5Fmoving\" name=\"\"><p v=\"0_2E015\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"140.4\" x1=\"227.7\" y0=\"309.6\" x0=\"477.9\"><prop super=\"indy_5Fplatform_5Fmoving\" name=\"\"><p v=\"_2D0_2E3\" n=\"engine_5Fpos\" /><p v=\"0_2E0075\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"119.35\" x1=\"102.45\" y0=\"119.35\" x0=\"102.45\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"181.3\" x1=\"99.75\" y0=\"182.7\" x0=\"99.9\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"105\" x1=\"261.45\" y0=\"105\" x0=\"261.45\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"146.3\" x1=\"334.25\" y0=\"146.3\" x0=\"334.25\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"185.8\" x1=\"399.85\" y0=\"185.8\" x0=\"399.85\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"229.75\" x1=\"461.85\" y0=\"228.6\" x0=\"463.5\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"87.05\" x1=\"498.65\" y0=\"137.7\" x0=\"506.7\"><prop super=\"xtraLive\" name=\"\" /></m></l><l id=\"14\"><p><v y0=\"0.9\" x0=\"478\" /><v y0=\"118.45\" x0=\"476.2\" /><v y0=\"123.85\" x0=\"499.55\" /><v y0=\"135.5\" x0=\"513.05\" /><v y0=\"191.15\" x0=\"520.25\" /><v y0=\"334.75\" x0=\"519.35\"><prop super=\"deadlyObject\" name=\"\" /></v><v y0=\"328.5\" x0=\"1.8\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22e_22\" p0=\"13\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"35\" x0=\"2.7\" /><v y0=\"30.5\" x0=\"397.15\" /><v y0=\"0.9\" x0=\"398.05\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22s_22\" p0=\"16\" id=\"0\" c=\"goLevel\" /></script></p></prop></v></p><m y1=\"289.8\" x1=\"17.1\" y0=\"52.2\" x0=\"18.9\"><prop name=\"w\" /></m><m y1=\"-7.2\" x1=\"406.8\" y0=\"315\" x0=\"404.1\"><prop super=\"indy_5Fplatform_5Fmoving\" name=\"\"><p v=\"_2D0_2E7\" n=\"engine_5Fpos\" /><p v=\"0_2E01\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"105.3\" x1=\"4.5\" y0=\"313.2\" x0=\"3.6\"><prop super=\"indy_5Fplatform_5Fmoving\" name=\"\"><p v=\"0_2E01\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"155.8\" x1=\"113.65\" y0=\"155.8\" x0=\"257.55\"><prop super=\"indy_5Fplatform_5Fmoving\" name=\"\"><p v=\"0_2E02\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"190.25\" x1=\"150.05\" y0=\"190.25\" x0=\"150.05\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"187.6\" x1=\"221.05\" y0=\"190.8\" x0=\"221.4\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"190.25\" x1=\"286.6\" y0=\"190.8\" x0=\"289.8\"><prop super=\"xtr";
world = world + "a10\" name=\"\" /></m><m y1=\"21.95\" x1=\"437.4\" y0=\"21.95\" x0=\"437.4\"><prop name=\"n\" /></m><m y1=\"272.4\" x1=\"190.35\" y0=\"273.15\" x0=\"373.05\"><prop super=\"indy_5Fplatform_5Fmoving\" name=\"\"><p v=\"0_2E02\" n=\"engine_5Fspeed\" /></prop></m></l><l id=\"15\"><p><v y0=\"23.35\" x0=\"546.3\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22nw_22\" p0=\"16\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"103.2\" x0=\"547.2\" /><v y0=\"103.2\" x0=\"138.35\" /><v y0=\"122.95\" x0=\"139.25\" /><v y0=\"126.55\" x0=\"547.2\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22w_22\" p0=\"16\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"366.2\" x0=\"546.3\" /><v y0=\"357.2\" x0=\"56.6\" /><v y0=\"18.85\" x0=\"56.6\" /></p><m y1=\"143.6\" x1=\"531.9\" y0=\"346.5\" x0=\"533.7\"><prop name=\"e\" /></m><m y1=\"36.8\" x1=\"531\" y0=\"85.5\" x0=\"530.1\"><prop name=\"ne\" /></m><m y1=\"105\" x1=\"66.5\" y0=\"352.8\" x0=\"64.8\"><prop super=\"indy_5Fplatform_5Fmoving\" name=\"\"><p v=\"0_2E01\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"358.4\" x1=\"63.2\" y0=\"362.7\" x0=\"488.7\"><prop super=\"city_5Fratte\" name=\"\"><p v=\"0_2E012\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"359.1\" x1=\"151.2\" y0=\"363.9\" x0=\"532.5\"><prop super=\"city_5Fratte\" name=\"\"><p v=\"0_2E012\" n=\"engine_5Fspeed\" /><p v=\"_2D1\" n=\"engine_5Fpos\" /></prop></m><m y1=\"101.75\" x1=\"139.3\" y0=\"101.7\" x0=\"477.9\"><prop super=\"city_5Fratte\" name=\"\"><p v=\"0_2E016\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"308.75\" x1=\"168\" y0=\"308.75\" x0=\"168\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"307.85\" x1=\"286.6\" y0=\"307.85\" x0=\"286.6\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"307.85\" x1=\"439.35\" y0=\"307.85\" x0=\"439.35\"><prop super=\"xtra10\" name=\"\" /></m></l><l id=\"16\"><p><v y0=\"25.15\" x0=\"546.3\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22w_22\" p0=\"17\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"98.75\" x0=\"547.2\" /><v y0=\"97.85\" x0=\"324.35\" /><v y0=\"112.2\" x0=\"324.35\" /><v y0=\"117.55\" x0=\"531.9\" /><v y0=\"362.6\" x0=\"525.6\" /><v y0=\"362.6\" x0=\"481.6\" /><v y0=\"398.5\" x0=\"480.7\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22n_22\" p0=\"14\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"397.6\" x0=\"399.85\" /><v y0=\"361.7\" x0=\"399.85\" /><v y0=\"361.7\" x0=\"2.7\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22e_22\" p0=\"15\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"122.05\" x0=\"2.7\" /><v y0=\"119.35\" x0=\"112.3\" /><v y0=\"100.5\" x0=\"113.2\" /><v y0=\"100.5\" x0=\"3.6\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22ne_22\" p0=\"15\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"17.95\" x0=\"3.6\" /></p><p><v y0=\"116.7\" x0=\"179.7\" /><v y0=\"116.7\" x0=\"266.85\" /><v y0=\"98.75\" x0=\"266.85\" /><v y0=\"98.75\" x0=\"179.7\" /></p><m y1=\"339.25\" x1=\"19.75\" y0=\"138.6\" x0=\"19.8\"><prop name=\"w\" /></m><m y1=\"85.25\" x1=\"18.85\" y0=\"36\" x0=\"19.8\"><prop name=\"nw\" /></m><m y1=\"367.1\" x1=\"439.35\" y0=\"367.1\" x0=\"439.35\"><prop name=\"s\" /></m><m y1=\"36.9\" x1=\"526.5\" y0=\"81.9\" x0=\"526.5\"><prop name=\"e\" /></m><m y1=\"423\" x1=\"411.3\" y0=\"269.1\" x0=\"411.3\"><prop super=\"indy_5Fplatform_5Fmoving\" name=\"\"><p v=\"0_2E017\" n=\"engine_5Fspeed\" /><p v=\"_2D0_2E8\" n=\"engine_5Fpos\" /></prop></m><m y1=\"45.85\" x1=\"120.05\" y0=\"45.85\" x0=\"369.35\"><prop super=\"indy_5Fbat\" name=\"\"><p v=\"0_2E76\" n=\"engine_5Fpos\" /><p v=\"0_2E014\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"361.15\" x1=\"3.65\" y0=\"362.05\" x0=\"391.35\"><prop super=\"city_5Fratte\" name=\"\" /></m><m y1=\"108.6\" x1=\"146.45\" y0=\"110\" x0=\"145.8\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"152.6\" x1=\"144.65\" y0=\"160\" x0=\"144\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"191.15\" x1=\"142.85\" y0=\"210\" x0=\"142.2\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"110\" x1=\"147.6\" y0=\"260\" x0=\"140.4\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"270\" x1=\"288.9\" y0=\"110\" x0=\"293.4\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"149.9\" x1=\"292\" y0=\"160\" x0=\"292.5\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"188.5\" x1=\"289.3\" y0=\"210\" x0=\"290.7\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"236.05\" x1=\"288.4\" y0=\"260\" x0=\"288.9\"><prop super=\"xtra10\" name=\"\" /></m></l><l id=\"17\"><p><v y0=\"1.8\" x0=\"345.05\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22s_22\" p0=\"18\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"1.8\" x0=\"532.8\" /><v y0=\"267.45\" x0=\"531.9\" /><v y0=\"266.75\" x0=\"497.7\" /><v y0=\"326.7\" x0=\"368.4\" /><v y0=\"344.65\" x0=\"366.6\" /><v y0=\"344.65\" x0=\"88.05\" /><v y0=\"280.5\" x0=\"87.95\" /><v y0=\"279.55\" x0=\"172.3\" /><v y0=\"251.15\" x0=\"173.2\" /><v y0=\"233.75\" x0=\"181.45\" /><v y0=\"227.3\" x0=\"228.2\" /><v y0=\"163.15\" x0=\"271.3\" /><v y0=\"162.25\" x0=\"288.7\" /><v y0=\"245.9\" x0=\"289.3\" /><v y0=\"248.4\" x0=\"384.95\" /><v y0=\"223.5\" x0=\"384.55\" /><v y0=\"223.5\" x0=\"341.45\" /></p><p><v y0=\"22.85\" x0=\"1.85\" /><v y0=\"25.6\" x0=\"203.15\" /><v y0=\"91.4\" x0=\"286.45\" /><v y0=\"132.55\" x0=\"262.65\" /><v y0=\"162.7\" x0=\"263.55\" /><v y0=\"219.35\" x0=\"226.95\" /><v y0=\"229.4\" x0=\"178.45\" /><v y0=\"252.25\" x0=\"167.5\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22s_22\" p0=\"17\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"255.95\" x0=\"116.25\" /><v y0=\"196.5\" x0=\"143.7\" /><v y0=\"179.15\" x0=\"198.6\" /><v y0=\"148.05\" x0=\"216.9\" /><v y0=\"94.15\" x0=\"183.05\" /><v y0=\"92.3\" x0=\"0\" /></p><m y1=\"77.2\" x1=\"16.2\" y0=\"39.6\" x0=\"17.1\"><prop name=\"w\" /></m><m y1=\"17.05\" x1=\"360.3\" y0=\"17.1\" x0=\"518.4\"><prop name=\"n\" /></m><m y1=\"341.9\" x1=\"202.55\" y0=\"343.8\" x0=\"339.3\"><prop super=\"city_5Fratte\" name=\"\"><p v=\"0_2E75\" n=\"engine_5Fpos\" /><p v=\"0_2E013\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"38.6\" x1=\"366.6\" y0=\"38.6\" x0=\"366.6\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"77.2\" x1=\"365.7\" y0=\"80\" x0=\"366.3\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"122.95\" x1=\"364.8\" y0=\"122.95\" x0=\"364.8\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"329.05\" x1=\"142.95\" y0=\"329.05\" x0=\"142.95\"><prop name=\"birdstart\" /></m><m y1=\"320.8\" x1=\"140.95\" y0=\"328.15\" x0=\"141.15\"><prop name=\"\"><p v=\"script\" n=\"onInitScreen\"><script><c r=\"b\" id=\"0\" c=\"plGetBehaviour\" /><c p0=\"b\" id=\"1\" c=\"trace\" /><c p2=\"_22bird_22\" p1=\"_22_3D_3D_22\" p0=\"b\" id=\"2\" c=\"if\" /><c p2=\"0\" p1=\"_22active_22\" p0=\"_5Fself\" id=\"3\" c=\"propSet\" /><c id=\"4\" c=\"else\" /><c p2=\"1\" p1=\"_22active_22\" p0=\"_5Fself\" id=\"5\" c=\"propSet\" /></script></p><p v=\"script\" n=\"onHit\"><script><c p2=\"0\" p1=\"_22active_22\" p0=\"_5Fself\" id=\"0\" c=\"propSet\" /><c p1=\"_22birdstart_22\" p0=\"17\" id=\"1\" c=\"plSetContinuePoint\" /><c p0=\"_22bird_22\" id=\"2\" c=\"plSetBehaviour\" /><c p1=\"_22birdstart_22\" p0=\"17\" id=\"3\" c=\"goLevel\" /></script></p><p v=\"10\" n=\"engine_5Fradius\" /><p v=\"CSECircle\" n=\"engine\" /><p v=\"bird_5Fempty\" n=\"activeGfx\" /><p v=\"1\" n=\"active\" /></prop></m><m y1=\"291.45\" x1=\"142.05\" y0=\"291.45\" x0=\"142.05\"><prop super=\"ball\" name=\"s\" /></m><m y1=\"186.45\" x1=\"368.8\" y0=\"188.8\" x0=\"491.25\"><prop super=\"indy_5Fbat\" name=\"\" /></m></l><l id=\"18\"><p><v y0=\"0.9\" x0=\"493.3\" /><v y0=\"158.85\" x0=\"491.5\" /><v y0=\"158.85\" x0=\"98.85\" /><v y0=\"173.2\" x0=\"97.95\" /><v y0=\"173.2\" x0=\"491.5\" /><v y0=\"334.75\" x0=\"488.8\" /><v y0=\"339.25\" x0=\"531\" /><v y0=\"397.6\" x0=\"531\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p1=\"_22n_22\" p0=\"17\" id=\"0\" c=\"goLevel\" /></script></p></prop></v><v y0=\"396.7\" x0=\"339.65\" /><v y0=\"332.1\" x0=\"340.55\" /><v y0=\"333\" x0=\"382.75\" /><v y0=\"304.25\" x0=\"382.75\" /><v y0=\"298.85\" x0=\"19.75\" /><v y0=\"23.35\" x0=\"17.95\" /><v y0=\"28.7\" x0=\"385.45\" /><v y0=\"48.45\" x0=\"384.55\" /><v y0=\"48.45\" x0=\"411.5\" /><v y0=\"2.75\" x0=\"413.35\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c p0=\"_22ball_22\" id=\"0\" c=\"plSetBehaviour\" /><c p1=\"_22s_22\" p0=\"19\" id=\"1\" c=\"goLevel\" /></script></p></prop></v></p><m y1=\"367.2\" x1=\"513.9\" y0=\"368.1\" x0=\"358.2\"><prop name=\"s\" /></m><m y1=\"12.55\" x1=\"428.6\" y0=\"12.6\" x0=\"477\"><prop name=\"n\" /></m><m y1=\"298.8\" x1=\"38.7\" y0=\"305.1\" x0=\"342\"><prop super=\"city_5Fratte\" name=\"\"><p v=\"0_2E014\" n=\"engine_5Fspeed\" /></prop></m><m y1=\"156.6\" x1=\"123.3\" y0=\"160.2\" x0=\"360\"><prop super=\"city_5Fratte\" name=\"\" /></m><m y1=\"307.85\" x1=\"467.2\" y0=\"307.85\" x0=\"467.2\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"341.05\" x1=\"467.2\" y0=\"341.05\" x0=\"467.2\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"94.15\" x1=\"61.35\" y0=\"94.4\" x0=\"312.55\"><prop super=\"indy_5Fbat\" name=\"\"><p v=\"0_2E015\" n=\"engine_5Fspeed\" /></prop></m></l><l id=\"19\"><p><v y0=\"2.7\" x0=\"2.7\" /><v y0=\"2.7\" x0=\"546.3\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c id=\"0\" c=\"finish\" /></script></p></prop></v><v y0=\"396.9\" x0=\"545.4\"><prop name=\"\"><p v=\"script\" n=\"onHit\"><script><c id=\"0\" c=\"finish\" /></script></p></prop></v><v y0=\"396.7\" x0=\"469.9\" /><v y0=\"289.9\" x0=\"467.2\" /><v y0=\"289.9\" x0=\"385.45\" /><v y0=\"244.8\" x0=\"383.4\" /><v y0=\"244.8\" x0=\"191.7\" /><v y0=\"193.85\" x0=\"190.5\" /><v y0=\"196.55\" x0=\"148.25\" /><v y0=\"184.9\" x0=\"143.75\" /><v y0=\"182.2\" x0=\"84.45\" /><v y0=\"198.35\" x0=\"78.15\" /><v y0=\"197.45\" x0=\"41.35\" /><v y0=\"86.15\" x0=\"40.45\" /><v y0=\"43.1\" x0=\"0.9\" /></p><m y1=\"150.8\" x1=\"111.4\" y0=\"152.1\" x0=\"111.6\"><prop name=\"s\" /></m><m y1=\"246.6\" x1=\"220.5\" y0=\"244.8\" x0=\"363.6\"><prop super=\"city_5Fkatze\" name=\"\" /></m><m y1=\"308.75\" x1=\"504.95\" y0=\"308.75\" x0=\"504.95\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"345.55\" x1=\"505.85\" y0=\"340\" x0=\"505.8\"><prop super=\"xtra10\" name=\"\" /></m><m y1=\"373.35\" x1=\"504.95\" y0=\"373.35\" x0=\"504.95\"><prop super=\"xtra10\" name=\"\" /></m></l></world>";
var x = new XML(world);
if (x.status != 0) {
trace("XML-ERROR: " + x.status);
switch (x.status) {
case -2 :
trace("A CDATA section was not properly terminated.");
break;
case -3 :
trace("The XML declaration was not properly terminated.");
break;
case -4 :
trace("The DOCTYPE declaration was not properly terminated.");
break;
case -5 :
trace("A comment was not properly terminated.");
break;
case -6 :
trace("An XML element was malformed.");
break;
case -7 :
trace("Out of memory.");
break;
case -8 :
trace("An attribute value was not properly terminated.");
break;
case -9 :
trace("A start-tag was not matched with an end-tag.");
break;
case -10 :
trace("An end-tag was encountered without a matching start-tag.");
}
return(undefined);
}
trace(("XML OK. length: " + world.length) + " chars");
var world = x.firstChild;
loadLevelPointer = 0;
gotoAndPlay ("loadWorldObject");
Symbol 152 MovieClip Frame 6
_global.v2d.initProgress = loadLevelPointer / world.childNodes.length;
if (loadLevelPointer >= world.childNodes.length) {
gotoAndPlay ("worldLoaded");
} else {
_global.v2d.world.addObjectFromXml(world.childNodes[loadLevelPointer]);
loadLevelPointer++;
}
Symbol 152 MovieClip Frame 8
gotoAndPlay ("loadWorldObject");
Symbol 152 MovieClip Frame 20
_global.v2d.world.initProps();
_global.v2d.main = new _global.v2d.CMain();
_root.gotoAndPlay("decompress_done");
stop();
Symbol 153 MovieClip Frame 1
_global.v2d = new Object();
_global.v2d.COLOR_VECTOR = 16711680 /* 0xFF0000 */;
_global.v2d.COLOR_VECTOR_ACTIVE = 65280;
_global.v2d.COLOR_VECTOR_HIGHLIGHT = 16776960 /* 0xFFFF00 */;
_global.v2d.COLOR_MARKER = 10066329 /* 0x999999 */;
_global.v2d.COLOR_MARKER_ACTIVE = 2612407 /* 0x27DCB7 */;
_global.v2d.COLOR_MARKER_FILLS = new Array();
_global.v2d.COLOR_MARKER_FILLS.push(65793);
_global.v2d.COLOR_MARKER_FILLS.push(16711680);
_global.v2d.COLOR_MARKER_FILLS.push(65280);
_global.v2d.COLOR_MARKER_FILLS.push(255);
_global.v2d.COLOR_MARKER_FILLS.push(16776960);
_global.v2d.COLOR_MARKER_FILLS.push(65535);
_global.v2d.COLOR_MARKER_FILLS.push(16711935);
_global.v2d.COLOR_MARKER_FILLS.push(16750848);
_global.v2d.COLOR_MARKER_FILLS.push(12255487);
_global.v2d.COLOR_MARKER_FILLS.push(16777215);
_global.v2d.ZERO_LIMIT = 1E-5;
_global.v2d.xmlFactory = new XML();
_x = 0;
_y = 0;
_visible = false;
_global.v2d.array = new Object();
_global.v2d.array.copy = function (source) {
var _local1 = source;
var _local2 = new Array();
for (var _local3 in _local1) {
_local2[_local3] = _local1[_local3];
}
return(_local2);
};
_global.v2d.array.pushArrayItems = function (a, p) {
var _local1 = p;
var _local2 = a;
for (var _local3 in _local1) {
_local2.push(_local1[_local3]);
}
};
_global.v2d.debug = new Object();
_global.v2d.debug.describe = function (o) {
var _local1 = o;
var _local2 = ("[DESCRIBE: " + _local1.toString()) + "]";
_local2 = _local2 + "\n---------------------------DESC-START";
for (var _local3 in _local1) {
_local2 = _local2 + (((newline + _local3) + ": ") + _local1[_local3]);
}
_local2 = _local2 + "\n---------------------------DESC-STOP";
return(_local2);
};
_global.v2d.math = new Object();
_global.v2d.math.p2pDistance = function (x1, y1, x2, y2) {
var _local2 = x2 - x1;
var _local1 = y2 - y1;
return(Math.sqrt((_local2 * _local2) + (_local1 * _local1)));
};
_global.v2d.math.squareHit = function (x1, y1, x2, y2, s) {
return((Math.abs(x1 - x2) <= s) && (Math.abs(y1 - y2) <= s));
};
_global.v2d.math.rectHit = function (x1, y1, x2, y2, sx, sy) {
return((Math.abs(x1 - x2) <= sx) && (Math.abs(y1 - y2) <= sy));
};
_global.v2d.math.p2rDistance = function (x1, y1, x2, y2, x3, y3) {
var _local1 = new Object();
_local1 = _root.v2d.cross(x2, y2, x3, y3, x1, y1, x1 + (y3 - y2), y1 + ((x3 - x2) * -1));
};
_global.v2d.math.withinRect = function (x1, y1, x2, y2, x3, y3) {
return((_root.v2d.numBetween(x1, x3, x2) == true) && (_root.v2d.numBetween(y1, y3, y2) == true));
};
_global.v2d.math.r2vertSgnAngle = function (x1, y1, x2, y2) {
return(Math.asin((x2 - x1) / _root.v2d.p2pDistance(x1, y1, x2, y2)));
};
_global.v2d.math.r2vertCwAngle = function (x1, y1, x2, y2) {
var _local1 = Math.asin((x2 - x1) / _root.v2d.p2pDistance(x1, y1, x2, y2));
if (_local1 < 0) {
_local1 = _local1 + (Math.PI*2);
}
return(_local1);
};
_global.v2d.math.numBetween = function (a, b, c) {
var _local1 = c;
var _local2 = b;
var _local3 = a;
if (_local3 == _local1) {
return(true);
}
if (_local1 > _local3) {
return((_local2 > _local3) && (_local2 < _local1));
}
return((_local2 > _local1) && (_local2 < _local3));
};
_global.v2d.paint = new Object();
_global.v2d.paint.drawRect = function (mc, x, y, width, height, lineThickness, lineColor, fillColor, fillAlpha) {
with (mc) {
if (!fillAlpha) {
fillAlpha = 255;
}
if (fillColor) {
beginFill(fillColor, fillAlpha);
}
lineStyle(lineThickness, lineColor);
moveTo(x, y);
lineTo(x + width, y);
lineTo(x + width, y + height);
lineTo(x, y + height);
lineTo(x, y);
if (fillColor) {
endFill();
}
}
};
_global.v2d.paint.drawCircle = function (mc, x, y, r, lineThickness, lineColor, fillColor, fillAlpha) {
with (mc) {
if (!fillAlpha) {
fillAlpha = 255;
}
if (fillColor) {
beginFill(fillColor, fillAlpha);
}
lineStyle(lineThickness, lineColor);
moveTo(x + r, y);
var a = 0.414213562373095;
var angle = 45;
while (angle <= 360) {
var endx = (r * Math.cos((angle * Math.PI) / 180));
var endy = (r * Math.sin((angle * Math.PI) / 180));
var cx = (endx + ((r * a) * Math.cos(((angle - 90) * Math.PI) / 180)));
var cy = (endy + ((r * a) * Math.sin(((angle - 90) * Math.PI) / 180)));
curveTo(cx + x, cy + y, endx + x, endy + y);
angle = angle + 45;
}
if (fillColor) {
endFill();
}
}
};
_global.v2d.paint.drawDebugMarker = function (mc, x, y, col) {
this.drawRect(mc, x - 1, y - 1, 2, 2, 0.5, col);
};
_global.v2d.str = new Object();
_global.v2d.str.replace = function (needle, str, haystack) {
var _local2 = haystack.split(needle);
var _local3 = new String();
var _local1 = 0;
while (_local1 < (_local2.length - 1)) {
_local3 = _local3 + (_local2[_local1] + str);
_local1++;
}
_local3 = _local3 + _local2[_local2.length - 1];
return(_local3);
};
_global.v2d.str.clean = function (str) {
str = String(str);
var _local2 = 0;
var _local1;
while (true) {
_local1 = str.charCodeAt(_local2);
if (((_local1 == 10) || (_local1 == 13)) || (_local1 == 32)) {
_local2++;
} else {
break;
}
}
var _local3 = str.length - 1;
while (true) {
_local1 = str.charCodeAt(_local3);
if ((_local3 > _local2) && (((_local1 == 10) || (_local1 == 13)) || (_local1 == 32))) {
_local3--;
} else {
break;
}
}
var result = str.substring(_local2, _local3 + 1);
return(result);
};
_global.v2d.CPoint = function (x, y) {
var _local1 = this;
_local1._class = "CPoint";
_local1.x0 = x;
_local1.y0 = y;
};
_global.v2d.CPoint.prototype.toString = function () {
return(((("[point (" + this.x0) + ",") + this.y0) + ")]");
};
_global.v2d.CPoint.prototype.calcDistance = function (point) {
var _local2 = point.x0 - this.x0;
var _local1 = point.y0 - this.y0;
return(Math.sqrt((_local2 * _local2) + (_local1 * _local1)));
};
_global.v2d.CRect = function (x0, y0, x1, y1) {
var _local1 = this;
_local1._class = "CRect";
_local1.x0 = x0;
_local1.y0 = y0;
_local1.x1 = x1;
_local1.y1 = y1;
_local1.standardize();
};
_global.v2d.CRect.prototype.toString = function () {
var _local1 = this;
return(((((((("[rect (" + _local1.x0) + ",") + _local1.y0) + ")-(") + _local1.x1) + ",") + _local1.y1) + ")]");
};
_global.v2d.CRect.prototype.standardize = function () {
var _local1 = this;
if (_local1.x0 > _local1.x1) {
temp = _local1.x0;
_local1.x0 = _local1.x1;
_local1.x1 = temp;
}
if (_local1.y0 > _local1.y1) {
temp = _local1.y0;
_local1.y0 = _local1.y1;
_local1.y1 = temp;
}
};
_global.v2d.CRect.prototype.drawOutline = function (mc, lineThickness, lineColor) {
with (mc) {
lineStyle(lineThickness, lineColor);
moveTo(this.x0, this.y0);
lineTo(this.x1, this.y0);
lineTo(this.x1, this.y1);
lineTo(this.x0, this.y1);
lineTo(this.x0, this.y0);
}
};
_global.v2d.CProps = function (owner) {
var _local1 = this;
_local1._class = "CProps";
_local1.elements = new Object();
_local1.name = name;
_local1.owner = owner;
_local1.superPropsName = "";
};
_global.v2d.CProps.prototype.toString = function () {
return(("[CProps '" + this.name) + "']");
};
_global.v2d.CProps.prototype.toXmlNode = function () {
var _local2 = this;
var _local3 = _global;
var e = _local3.v2d.xmlFactory.createElement("prop");
var count = 0;
for (var prop in _local2.elements) {
var _local1 = _local3.v2d.xmlFactory.createElement("p");
_local1.attributes.n = _local3.v2d.str.replace("%", "_", escape(prop));
if (prop.substr(0, 2) eq "on") {
_local1.attributes.v = "script";
_local1.appendChild(_local2.elements[prop].toXmlNode());
} else {
_local1.attributes.v = _local3.v2d.str.replace("%", "_", escape(_local2.elements[prop]));
}
e.appendChild(_local1);
count++;
}
e.attributes.name = _local3.v2d.str.replace("%", "_", escape(_local2.name));
if (_local2.superPropsName ne "") {
e.attributes.super = _local3.v2d.str.replace("%", "_", escape(_local2.superPropsName));
}
if (((count > 0) || (_local2.name ne "")) || (_local2.superPropsName ne "")) {
return(e);
}
return(undefined);
};
_global.v2d.CProps.prototype.fromXmlNode = function (node) {
var _local3 = node;
delete this.elements;
this.elements = new Object();
for (i in _local3.childNodes) {
var _local2 = _global.v2d.str.replace("_", "%", _local3.childNodes[i].attributes.n);
_local2 = unescape(_local2);
var _local1 = _local3.childNodes[i].attributes.v;
_local1 = unescape(_global.v2d.str.replace("_", "%", _local1));
if (_local1 eq "script") {
_local1 = new _global.v2d.CScript();
_local1.fromXmlNode(_local3.childNodes[i].childNodes[0]);
} else {
var n = Number(_local1);
if (String(n) == _local1) {
_local1 = n;
}
}
this.elements[_local2] = _local1;
}
this.name = unescape(_global.v2d.str.replace("_", "%", _local3.attributes.name));
this.superPropsName = unescape(_global.v2d.str.replace("_", "%", _local3.attributes.super));
};
_global.v2d.CProps.prototype.initRuntime = function () {
var _local1 = this;
var _local2 = _global;
delete _local1.runtime;
_local1.runtime = new Object();
for (var _local3 in _local2.v2d.world.superProps[_local1.superPropsName].elements) {
_local1.runtime[_local3] = _local2.v2d.world.superProps[_local1.superPropsName].elements[_local3];
}
for (var _local3 in _local1.elements) {
_local1.runtime[_local3] = _local1.elements[_local3];
}
};
_global.v2d.CProps.prototype.addPropsToRuntime = function (p) {
var _local1 = p;
var _local2 = this;
_local1.initRuntime();
for (var _local3 in _local1.runtime) {
_local2.runtime[_local3] = _local1.runtime[_local3];
}
};
_global.v2d.CProps.prototype.resetProp = function (prop) {
var _local1 = prop;
var _local2 = this;
_local2.runtime[_local1] = _global.v2d.world.superProps[_local2.superPropsName].elements[_local1];
_local2.runtime[_local1] = _local2.elements[_local1];
};
_global.v2d.CProps.prototype.getProp = function (prop) {
return(this.runtime[prop]);
};
_global.v2d.CProps.prototype.setProp = function (prop, value) {
this.runtime[prop] = value;
this.propEffects(prop);
};
_global.v2d.CProps.prototype.propEffects = function (prop) {
var _local2 = this;
var _local3 = _global;
var _local1 = _local2.getProp(prop);
switch (prop) {
case "active" :
if (_local1 eq "") {
_local1 = 1;
}
var gfx = _local2.getProp("activeGfx");
if (gfx ne "") {
_local3.v2d.gfx.bg[gfx]._visible = _local1;
_local3.v2d.gfx.fg[gfx]._visible = _local1;
}
var sprite = _local2.getProp("sprite");
if (sprite ne "") {
_local2.owner.sprite._visible = _local1;
}
return;
case "stat" :
var gfx = _local2.getProp("activeGfx");
_local3.v2d.gfx.bg[gfx].gotoAndStop(_local1 + 1);
_local3.v2d.gfx.fg[gfx].gotoAndStop(_local1 + 1);
}
};
_global.v2d.CProps.prototype.initScreen = function () {
var _local1 = this;
for (var _local2 in _local1.runtime) {
_local1.propEffects(_local2);
}
};
_global.v2d.CProps.prototype.haveProp = function (needProp) {
var _local1 = this;
var _local2 = needProp;
var _local3 = _global;
for (var propName in _local1.elements) {
if (propName eq _local2) {
return(true);
}
}
if (_local1.superPropsName eq "") {
return(false);
}
for (var propName in _local3.v2d.world.superProps[_local1.superPropsName].elements) {
if (propName eq _local2) {
return(true);
}
}
return(false);
};
_global.v2d.CProps.prototype.event = function (event, subject, object, collisionPos) {
var _local1 = this.getProp(event);
if (_local1 ne "") {
trace((((("event: " + event) + " s: ") + subject) + " o: ") + object);
_local1.execute(subject, object, collisionPos);
}
};
_global.v2d.CScript = function () {
var _local1 = this;
_local1._class = "CScript";
_local1.name = name;
_local1.logic = undefined;
_local1.vars = undefined;
_local1.labels = undefined;
};
_global.v2d.CScript.prototype.copy = function () {
trace("CScript.copy() -> not implemented yet");
};
_global.v2d.CScript.prototype.toString = function () {
return("[script]");
};
_global.v2d.CScript.prototype.toXmlNode = function () {
var _local3 = this;
var e = _global.v2d.xmlFactory.createElement("script");
if (_local3.name ne "") {
e.attributes.name = _local3.name;
}
for (var varname in _local3.vars) {
var v = _global.v2d.xmlFactory.createElement("v");
v.attributes.v = _global.v2d.str.replace("%", "_", escape(varname));
e.appendChild(v);
}
for (var labelname in _local3.labels) {
var l = _global.v2d.xmlFactory.createElement("l");
l.attributes.name = _global.v2d.str.replace("%", "_", escape(labelname));
l.attributes.line = _local3.labels[labelname];
e.appendChild(l);
}
var _local2 = 0;
while (_local2 < _local3.logic.length) {
var command = _global.v2d.xmlFactory.createElement("c");
command.attributes.c = _global.v2d.str.replace("%", "_", escape(_local3.logic[_local2][0]));
command.attributes.id = _local2;
var _local1 = 0;
while (_local1 < _local3.logic[_local2][1].length) {
command.attributes["p" + _local1] = _global.v2d.str.replace("%", "_", escape(_local3.logic[_local2][1][_local1]));
_local1++;
}
if (_local3.logic[_local2][2] ne "") {
command.attributes.r = _global.v2d.str.replace("%", "_", escape(_local3.logic[_local2][2]));
}
e.appendChild(command);
_local2++;
}
return(e);
};
_global.v2d.CScript.prototype.fromXmlNode = function (node) {
this.name = String(node.attributes.name);
delete this.logic;
delete this.vars;
delete this.labels;
this.logic = new Array();
this.vars = new Array();
this.labels = new Array();
var i = 0;
while (i < node.childNodes.length) {
var _local1 = node.childNodes[i];
if (_local1.nodeName == "c") {
var id = Number(_local1.attributes.id);
var _local3 = new Array(3);
_local3[0] = unescape(_global.v2d.str.replace("_", "%", _local1.attributes.c));
_local3[1] = new Array();
var _local2 = 0;
while (true) {
if (_local1.attributes["p" + _local2] ne "") {
_local3[1][_local2] = unescape(_global.v2d.str.replace("_", "%", _local1.attributes["p" + _local2]));
_local2++;
} else {
break;
}
}
if (_local1.attributes.r ne "") {
_local3[2] = unescape(_global.v2d.str.replace("_", "%", _local1.attributes.r));
}
this.logic[id] = _local3;
} else if (_local1.nodeName == "v") {
this.vars[_local1.attributes.v] = undefined;
} else if (_local1.nodeName == "l") {
this.labels[unescape(_global.v2d.str.replace("_", "%", _local1.attributes.name))] = _local1.attributes.line;
}
i++;
}
};
_global.v2d.CScript.prototype.getSource = function () {
var _local2 = this;
var _local3 = "";
var _local1 = 0;
while (_local1 < _local2.logic.length) {
for (var label in _local2.labels) {
if (_local2.labels[label] == _local1) {
_local3 = _local3 + (("_" + label) + ";\n");
}
}
if (_local2.logic[_local1][2] ne "") {
_local3 = _local3 + (_local2.logic[_local1][2] + " = ");
}
if (_local2.logic[_local1][0] eq "val") {
_local3 = _local3 + _local2.logic[_local1][1][0];
} else {
_local3 = _local3 + (((_local2.logic[_local1][0] + "(") + _local2.logic[_local1][1].toString()) + ")");
}
_local3 = _local3 + ";\n";
_local1++;
}
return(_local3);
};
_global.v2d.CScript.prototype.parse = function (source) {
var newLogic = new Array();
var newLabels = new Array();
var lines = source.split(";");
var equal;
var paraStart;
var paraEnd;
var receiver;
var func;
var _local1;
var _local3;
var quot1;
var actLine = 0;
var i = 0;
while (i < lines.length) {
line = _global.v2d.str.clean(lines[i]);
if (line.length > 0) {
if (line.substr(0, 1) == "_") {
var label = _global.v2d.str.clean(line.substr(1));
newLabels[label] = actLine;
} else {
var command = new Array(3);
equal = line.indexOf("=");
paraStart = line.indexOf("(");
paraEnd = line.lastIndexOf(")");
if ((equal > -1) && ((equal < paraStart) || (paraStart == -1))) {
receiver = _global.v2d.str.clean(line.substring(0, equal));
command[2] = receiver;
line = _global.v2d.str.clean(line.substr(equal + 1));
paraStart = line.indexOf("(");
paraEnd = line.lastIndexOf(")");
}
if ((paraStart != -1) && (paraEnd != -1)) {
command[0] = _global.v2d.str.clean(line.substring(0, paraStart));
if (line.substr(paraEnd + 1).length > 0) {
trace((("#SYNTAX ERROR 0 in line " + i) + ": ") + lines[i]);
return(false);
}
_local1 = line.substring(paraStart + 1, paraEnd);
_local1 = _global.v2d.str.replace("\\", "\\\\", _local1);
var pos = 0;
while (true) {
_local3 = _local1.indexOf("\"", pos);
if (_local3 == -1) {
break;
}
pos = _local3 + 1;
quot1 = _local1.indexOf("\"", pos);
if (quot1 == -1) {
break;
}
pos = quot1 + 1;
var comma = _local1.indexOf(",", _local3);
if ((comma != -1) && (comma < quot1)) {
var commaEsc = _local1.indexOf("\\", _local3 - 1);
var backEsc = _local1.indexOf("\\", _local3 - 2);
if (((commaEsc - 1) != comma) && ((backEsc - 1) != commaEsc)) {
_local1 = (_local1.slice(0, comma) + "\\k") + _local1.slice(comma + 1, _local1.length);
pos++;
}
} else {
break;
}
var str = _local1.substring(_local3 + 1, quot1 + 1);
}
_local1 = _global.v2d.str.replace("\\\\", "\\", _local1);
_local1 = _local1.split(",");
command[1] = new Array();
var j = 0;
while (j < _local1.length) {
var _local2 = _global.v2d.str.clean(_local1[j]);
if (_local2.length < 1) {
} else {
_local2 = _global.v2d.str.replace("\\k", ",", _local2);
var n = Number(_local2);
if (String(n) == _local2) {
_local2 = n;
} else if ((_local2.indexOf(")") != -1) || (_local2.indexOf("(") != -1)) {
trace(((("#SYNTAX ERROR 1 in line " + i) + ": ") + lines[i]) + newline);
return(false);
}
command[1].push(_local2);
}
j++;
}
} else {
command[0] = "val";
command[1] = new Array(String(_global.v2d.str.clean(line)));
if (command[2] eq "") {
trace(((("#SYNTAX ERROR 2 in line " + i) + ": ") + lines[i]) + newline);
return(false);
}
}
newLogic.push(command);
actLine++;
}
}
i++;
}
delete this.logic;
delete this.labels;
this.logic = newLogic;
this.labels = newLabels;
return(true);
};
_global.v2d.CScript.prototype.execute = function (subject, object, collisionPos) {
var _local3 = this;
var _local1 = new Array();
_local1.collisionPos = collisionPos;
_local1.subject = subject;
_local1.object = object;
_local1.vars = new Array(0);
_local1.vars._self = subject;
_local1.vars._object = object;
_local1.vars.true = 1;
_local1.vars.false = 0;
_local1.params = new Array(5);
_local1.labels = _local3.labels;
_local1.debug = false;
_local1.ifResult = true;
_local1.i = 0;
while (_local1.i < _local3.logic.length) {
trace("ram.i: " + _local1.i);
_local1.command = _local3.logic[_local1.i];
if (_local1.debug) {
trace(((((_local1.command[2] + " = ") + _local1.command[0]) + "(") + _local1.command[1].toString()) + ")");
}
_local1.params.splice(0, _local1.params.length);
var _local2 = 0;
while (_local2 < _local1.command[1].length) {
if (isNaN(_local1.command[1][_local2])) {
if (_local1.command[1][_local2].substr(0, 1) eq "\"") {
_local1.params[_local2] = _local1.command[1][_local2].substr(1, _local1.command[1][_local2].length - 2);
} else {
_local1.params[_local2] = _local1.vars[_local1.command[1][_local2]];
}
} else {
_local1.params[_local2] = Number(_local1.command[1][_local2]);
}
_local2++;
}
_global.v2d.CScript.api[_local1.command[0]](_local1);
if (_local1.doReturn == true) {
return(_local1.return);
}
_local1.i++;
}
return(undefined);
};
_global.v2d.CScript.api = new Object();
_global.v2d.CScript.api.debug = function (ram) {
ram.debug = true;
};
_global.v2d.CScript.api.damage = function (ram) {
ram.params[0].damage(ram.params[1]);
};
_global.v2d.CScript.api.describe = function (ram) {
trace("[TRACE] " + _global.api.debug.describe(ram.params[0]));
};
_global.v2d.CScript.api.droneSetPos = function (ram) {
var _local1 = ram;
_local1.params[0].sprite.engine.pos = _local1.params[1];
_local1.params[0].sprite.engine.move(0);
};
_global.v2d.CScript.api.else = function (ram) {
if (ram.ifResult) {
ram.i++;
}
};
_global.v2d.CScript.api.goLevel = function (ram) {
var _local1 = ram;
_global.api.snd.play("newscreen");
_global.v2d.main.setScreen(_local1.params[0], _local1.params[1], _local1.collisionPos);
};
_global.v2d.CScript.api.goto = function (ram) {
var _local1 = ram;
if (_local1.labels[_local1.params[0]]) {
_local1.i = _local1.labels[_local1.params[0]] - 1;
} else {
trace((("#ERROR: label not found: " + _local1.params[0]) + " labels: ") + _global.api.debug.describe(_local1.labels));
}
};
_global.v2d.CScript.api.if = function (ram) {
var _local1 = ram;
switch (_local1.params[1]) {
case "<" :
_local1.ifResult = _local1.params[0] < _local1.params[2];
break;
case ">" :
_local1.ifResult = _local1.params[0] > _local1.params[2];
break;
case "<=" :
_local1.ifResult = _local1.params[0] <= _local1.params[2];
break;
case ">=" :
_local1.ifResult = _local1.params[0] >= _local1.params[2];
break;
case "==" :
_local1.ifResult = _local1.params[0] == _local1.params[2];
break;
case "!=" :
_local1.ifResult = _local1.params[0] != _local1.params[2];
}
if (!_local1.ifResult) {
_local1.i++;
}
};
_global.v2d.CScript.api.mainSleep = function (ram) {
_global.v2d.main.sleep(ram.params[0]);
};
_global.v2d.CScript.api.math = function (ram) {
var _local1 = ram;
switch (_local1.params[1]) {
case "+" :
_local1.vars[_local1.command[2]] = _local1.params[0] + _local1.params[2];
return;
case "-" :
_local1.vars[_local1.command[2]] = _local1.params[0] - _local1.params[2];
return;
case "*" :
_local1.vars[_local1.command[2]] = _local1.params[0] * _local1.params[2];
return;
case "/" :
_local1.vars[_local1.command[2]] = _local1.params[0] / _local1.params[2];
}
};
_global.v2d.CScript.api.objectByName = function (ram) {
var _local1 = ram;
if (_local1.params[1] eq "") {
_local1.vars[_local1.command[2]] = _global.v2d.world.actLevel.objectsByName[_local1.params[0]];
} else {
_local1.vars[_local1.command[2]] = _global.v2d.world.getLevelByName(_local1.params[1]).objectsByName[_local1.params[0]];
}
};
_global.v2d.CScript.api.plGetBehaviour = function (ram) {
ram.vars[ram.command[2]] = _global.v2d.world.players[0].behaviour.superPropsName;
};
_global.v2d.CScript.api.plCoin = function (ram) {
_global.v2d.world.players[0].addCoin();
};
_global.v2d.CScript.api.plScore = function (ram) {
_global.v2d.world.players[0].addScore(ram.params[0]);
};
_global.v2d.CScript.api.plSetContinuePoint = function (ram) {
_global.v2d.world.players[0].setContinuePoint(ram.params[0], ram.params[1]);
};
_global.v2d.CScript.api.plSetBehaviour = function (ram) {
_global.v2d.world.players[0].setBehaviour(ram.params[0]);
};
_global.v2d.CScript.api.plXtraLive = function (ram) {
_global.v2d.world.players[0].actLives++;
_root.osd.updateLives();
};
_global.v2d.CScript.api.posOffset = function (ram) {
var _local1 = ram;
_local1.params[0].sprite.engine.position.x0 = _local1.params[0].sprite.engine.position.x0 + _local1.params[1];
_local1.params[0].sprite.engine.position.y0 = _local1.params[0].sprite.engine.position.y0 + _local1.params[2];
};
_global.v2d.CScript.api.propGet = function (ram) {
var _local1 = ram;
_local1.vars[_local1.command[2]] = _local1.params[0].props.getProp(_local1.params[1]);
};
_global.v2d.CScript.api.propSet = function (ram) {
var _local1 = ram;
_local1.params[0].props.setProp(_local1.params[1], _local1.params[2]);
_global.v2d.respawn.addJob(_local1.params[0].props, _local1.params[1], "onResetWorld");
};
_global.v2d.CScript.api.return = function (ram) {
var _local1 = ram;
_local1.doReturn = true;
_local1.return = _local1.params[0];
};
_global.v2d.CScript.api.rootControl = function (ram) {
_root.gotoAndPlay(ram.params[0]);
};
_global.v2d.CScript.api.finish = function () {
_root.gotoAndPlay("nextEpisode");
};
_global.v2d.CScript.api.rsJob = function (ram) {
var _local1 = ram;
if (_local1.params[0].props == undefined) {
trace("#ERROR in script at 'respawn': can't find props of object");
}
_global.v2d.respawn.addJob(_local1.params[0].props, _local1.params[1], _local1.params[2]);
};
_global.v2d.CScript.api.script = function (ram) {
var _local1 = ram;
if (_global.v2d.world.scripts[_local1.params[0]]) {
_local1.vars[_local1.command[2]] = _global.v2d.world.scripts[_local1.params[0]].execute(_local1.subject, _local1.object);
} else {
trace("#ERROR: script not found: " + _local1.params[0]);
}
};
_global.v2d.CScript.api.sndPlay = function (ram) {
_global.api.snd.play(ram.params[0]);
};
_global.v2d.CScript.api.speedAdd = function (ram) {
var _local1 = ram;
_local1.params[0].speed.x1 = _local1.params[0].speed.x1 + _local1.params[1];
_local1.params[0].speed.y1 = _local1.params[0].speed.y1 + _local1.params[2];
};
_global.v2d.CScript.api.speedAbs = function (ram) {
var _local1 = ram;
_local1.params[0].speed.unify();
_local1.params[0].speed.scale(_local1.params[1]);
};
_global.v2d.CScript.api.speedLimitAbs = function (ram) {
var _local1 = ram;
var _local2 = _local1.params[0].speed.length();
if (_local2 > _local1.params[1]) {
_local1.params[0].speed.unify();
_local1.params[0].speed.scale(_local1.params[1]);
}
};
_global.v2d.CScript.api.spritePlay = function (ram) {
ram.params[0].sprite.play();
};
_global.v2d.CScript.api.spritePlayLabel = function (ram) {
ram.params[0].sprite.gotoAndPlay(ram.params[1]);
};
_global.v2d.CScript.api.spriteScale = function (ram) {
var _local1 = ram;
_local1.params[0].sprite._xscale = _local1.params[1];
_local1.params[0].sprite._yscale = _local1.params[2];
};
_global.v2d.CScript.api.spriteRotate = function (ram) {
ram.params[0].sprite._rotation = ram.params[1];
};
_global.v2d.CScript.api.strCat = function (ram) {
var _local2 = ram;
_local2.vars[_local2.command[2]] = "";
var _local1 = 0;
while (_local1 < _local2.params.length) {
_local2.vars[_local2.command[2]] = _local2.vars[_local2.command[2]] + String(_local2.params[_local1]);
_local1++;
}
};
_global.v2d.CScript.api.trace = function (ram) {
trace("[TRACE] " + ram.params[0]);
};
_global.v2d.CScript.api.val = function (ram) {
var _local1 = ram;
_local1.vars[_local1.command[2]] = _local1.params[0];
};
_global.v2d.CMarker = function (x0, y0, x1, y1) {
var _local1 = this;
_local1._class = "CMarker";
_local1.x0 = Number(x0);
_local1.y0 = Number(y0);
if (x1 eq "") {
_local1.x1 = _local1.x0;
} else {
_local1.x1 = Number(x1);
}
if (y1 eq "") {
_local1.y1 = _local1.y0;
} else {
_local1.y1 = Number(y1);
}
_local1.sprite = undefined;
_local1.props = new _global.v2d.CProps(_local1);
};
_global.v2d.CMarker.prototype.copy = function () {
trace("CMarker.copy() -> not implemented yet");
};
_global.v2d.CMarker.prototype.toString = function () {
return(((("[marker x:" + this.x0) + " y:") + this.y0) + "]");
};
_global.v2d.CMarker.prototype.toXmlNode = function () {
var _local2 = this;
var _local1 = _global.v2d.xmlFactory.createElement("m");
_local1.appendChild(_local2.props.toXmlNode());
_local1.attributes.x0 = _local2.x0;
_local1.attributes.y0 = _local2.y0;
_local1.attributes.x1 = _local2.x1;
_local1.attributes.y1 = _local2.y1;
return(_local1);
};
_global.v2d.CMarker.prototype.fromXmlNode = function (node) {
var _local1 = node;
var _local2 = this;
_local2.x0 = Number(_local1.attributes.x0);
_local2.y0 = Number(_local1.attributes.y0);
_local2.x1 = Number(_local1.attributes.x1);
_local2.y1 = Number(_local1.attributes.y1);
if (_local1.childNodes[0]) {
_local2.props.fromXmlNode(_local1.childNodes[0]);
}
};
_global.v2d.CMarker.prototype.createSprite = function (pos, spriteProps) {
var _local1 = this;
var _local2 = spriteProps;
var _local3 = pos;
if (!_local2) {
_local2 = _local1.props;
}
_local3 = Number(_local3);
_local1.sprite = _global.v2d.sprites.createSprite(_local2.getProp("sprite"));
var engine = _local2.getProp("engine");
var x = (_local1.x0 + ((_local1.x1 - _local1.x0) * _local3));
var y = (_local1.y0 + ((_local1.y1 - _local1.y0) * _local3));
if (engine ne "") {
_local1.sprite.engine = new _global.v2d[engine](_local1.sprite, _local2, x, y, _local1.x1, _local1.y1);
}
return(_local1.sprite);
};
_global.v2d.CMarker.prototype.positionSprite = function () {
var _local1 = this;
if (_local1.sprite) {
_local1.sprite._x = _local1.x0;
_local1.sprite._y = _local1.y0;
}
};
_global.v2d.CMarker.prototype.drawEditView = function (mc) {
var _local1 = mc;
var _local2 = this;
_local2.levedMarkerHandle = _local1.attachMovie("leved_handle_marker", "marker_handle" + _local1.freeInstance, _local1.freeInstance++);
_local2.levedMc = _local1;
_local2.updateEditView();
};
_global.v2d.CMarker.prototype.updateEditView = function () {
if (this.sprite) {
this.positionSprite();
}
this.levedMarkerHandle._x = this.x0;
this.levedMarkerHandle._y = this.y0;
var r = this.props.getProp("engine_radius");
if (r) {
this.levedMarkerHandle.radius._visible = true;
this.levedMarkerHandle.radius._width = r * 2;
this.levedMarkerHandle.radius._height = r * 2;
} else {
this.levedMarkerHandle.radius._visible = false;
}
var e = this.props.getProp("engine");
if ((e eq "") || (_global.v2d[e].desc.doubleMarker == true)) {
with (this.levedMc) {
clear();
var width = Number(this.props.getProp("engine_width"));
beginFill(4491468, 34);
lineStyle(1, 4491468);
moveTo(this.x0, this.y0);
lineTo(this.x0 + width, this.y0);
lineTo(this.x1 + width, this.y1);
lineTo(this.x1, this.y1);
lineTo(this.x0, this.y0);
endFill();
}
this.levedMarkerHandle.dxy._visible = true;
this.levedMarkerHandle.dxy._x = this.x1 - this.x0;
this.levedMarkerHandle.dxy._y = this.y1 - this.y0;
} else {
this.levedMarkerHandle.dxy._visible = false;
}
if (this.props.getProp("engine").substr(0, 11) eq "CSEPlatform") {
this.levedMarkerHandle.platform._visible = true;
this.levedMarkerHandle.platform._width = this.props.getProp("engine_width");
} else {
this.levedMarkerHandle.platform._visible = false;
}
this.levedMarkerHandle.gotoAndStop("active_" + (_root.leved.selectedObject == this));
};
_global.v2d.CVector = function (x0, y0, x1, y1) {
var _local1 = this;
_local1._class = "CVector";
_local1.debug = false;
_local1.geometry = "vector";
_local1.props = new _global.v2d.CProps(_local1);
_local1.x0 = x0;
_local1.y0 = y0;
_local1.x1 = x1;
_local1.y1 = y1;
_local1.owner = undefined;
};
_global.v2d.CVector.prototype.toString = function () {
var _local1 = this;
return(((((((((("[vektor " + _local1.id) + ": (") + _local1.x0) + ",") + _local1.y0) + ")+(") + _local1.x1) + ",") + _local1.y1) + ")]");
};
_global.v2d.CVector.prototype.toXmlNode = function () {
var _local2 = this;
var _local1 = _global.v2d.xmlFactory.createElement("v");
_local1.appendChild(_local2.props.toXmlNode());
_local1.attributes.x0 = _local2.x0;
_local1.attributes.y0 = _local2.y0;
return(_local1);
};
_global.v2d.CVector.prototype.fromXmlNode = function (vector) {
var _local1 = vector;
var _local2 = this;
_local2.x0 = Number(_local1.attributes.x0);
_local2.y0 = Number(_local1.attributes.y0);
if (_local1.childNodes[0]) {
_local2.props.fromXmlNode(_local1.childNodes[0]);
}
};
_global.v2d.CVector.prototype.cache = function () {
var _local1 = this;
_local1.c_length = _local1.length();
_local1.c_normal = _local1.getNormal(_local1.c_normal);
_local1.c_slopeFactor = _local1.calcSlopeFactor();
};
_global.v2d.CVector.prototype.length = function () {
var _local1 = this;
return(Math.sqrt((_local1.x1 * _local1.x1) + (_local1.y1 * _local1.y1)));
};
_global.v2d.CVector.prototype.distanceFromBase = function (point) {
var _local2 = point.x0 - this.x0;
var _local1 = point.y0 - this.y0;
return(Math.sqrt((_local2 * _local2) + (_local1 * _local1)));
};
_global.v2d.CVector.prototype.getSlope = function () {
return(this.y1 / this.x1);
};
_global.v2d.CVector.prototype.calcSlopeFactor = function () {
var _local1 = this;
var _local2 = _local1.length();
_local1.c_slopeFactor = 1 - Math.abs(_local1.y1 / _local2);
var _local3 = _local1.x1 / _local2;
if (_local3 > 0) {
_local1.c_slopeFactor = _local1.c_slopeFactor * -1;
}
return(_local1.c_slopeFactor);
};
_global.v2d.CVector.prototype.hitRect = function (rect) {
var _local1 = rect;
var _local2 = this;
if ((((_local2.x0 >= _local1.x0) && (_local2.x0 <= _local1.x1)) && (_local2.y0 >= _local1.y0)) && (_local2.y0 <= _local1.y1)) {
return(true);
}
chi = _local2.calcHCross(_local1.y0);
if ((((chi[1] >= 0) && (chi[1] <= 1)) && (chi[0] >= _local1.x0)) && (chi[0] <= _local1.x1)) {
return(true);
}
clo = _local2.calcHCross(_local1.y1);
if ((((clo[1] >= 0) && (clo[1] <= 1)) && (clo[0] >= _local1.x0)) && (clo[0] <= _local1.x1)) {
return(true);
}
cle = _local2.calcVCross(_local1.x0);
if ((((cle[1] >= 0) && (cle[1] <= 1)) && (cle[0] >= _local1.y0)) && (cle[0] <= _local1.y1)) {
return(true);
}
cri = _local2.calcVCross(_local1.x1);
if ((((cri[1] >= 0) && (cri[1] <= 1)) && (cri[0] >= _local1.y0)) && (cri[0] <= _local1.y1)) {
return(true);
}
return(false);
};
_global.v2d.CVector.prototype.calcHCross = function (y) {
var _local2 = this;
var _local1 = (y - _local2.y0) / _local2.y1;
var _local3 = _local2.x0 + (_local1 * _local2.x1);
return([_local3, _local1]);
};
_global.v2d.CVector.prototype.calcVCross = function (x) {
var _local2 = this;
var _local1 = (x - _local2.x0) / _local2.x1;
var _local3 = _local2.y0 + (_local1 * _local2.y1);
return([_local3, _local1]);
};
_global.v2d.CVector.prototype.cross = function (v) {
var _local1 = this;
var _local2 = v;
var _local3 = (_local1.x1 * _local2.y1) - (_local2.x1 * _local1.y1);
if (_local3 == 0) {
return({code:0});
}
n = ((_local2.y1 * (_local2.x0 - _local1.x0)) + (_local2.x1 * (_local1.y0 - _local2.y0))) / _local3;
m = (((_local1.y1 * (_local1.x0 - _local2.x0)) + (_local1.x1 * (_local2.y0 - _local1.y0))) / _local3) * -1;
if (Math.abs(n) < _global.v2d.ZERO_LIMIT) {
n = 0;
}
if (Math.abs(m) < _global.v2d.ZERO_LIMIT) {
m = 0;
}
var x = (_local1.x0 + (_local1.x1 * n));
var y = (_local1.y0 + (_local1.y1 * n));
var code = 7;
if ((n < 0) || (n > 1)) {
code = code - 2;
}
if ((m < 0) || (m > 1)) {
code = code - 4;
}
return({code:code, n:n, m:m, x:x, y:y});
};
_global.v2d.CVector.prototype.hit = function (object, collisionPos) {
var _local1 = this;
_local1.owner.props.event("onHit", _local1.owner, object);
_local1.props.event("onHit", _local1, object, collisionPos);
};
_global.v2d.CVector.prototype.copy = function (bag) {
var _local1 = this;
var _local2 = bag;
if (!_local2) {
return(new _global.v2d.CVector(_local1.x0, _local1.y0, _local1.x1, _local1.y1));
}
_local2.x0 = _local1.x0;
_local2.y0 = _local1.y0;
_local2.x1 = _local1.x1;
_local2.y1 = _local1.y1;
return(_local2);
};
_global.v2d.CVector.prototype.calcPerpendicular = function (point) {
var _local1 = this;
var a = (point.x0 - _local1.x0);
var _local3 = point.y0 - _local1.y0;
var _local2 = Math.pow(_local1.x1, 2) + Math.pow(_local1.y1, 2);
var p = (((_local1.x1 * a) + (_local1.y1 * _local3)) / _local2);
var d = (((((_local1.y1 * a) - (_local1.x1 * _local3)) / _local2) * _local1.length()) * -1);
return({p:p, d:d});
};
_global.v2d.CVector.prototype.getPerpendicular = function (point, bag) {
var _local2 = this;
var _local3 = _local2.calcPerpendicular(point);
var _local1 = bag;
if (!_local1) {
_local1 = new _global.v2d.CVector(_local2.x0 + (_local2.x1 * _local3.p), _local2.y0 + (_local2.y1 * _local3.p), _local2.y1 * -1, _local2.x1);
} else {
_local1.x0 = _local2.x0 + (_local2.x1 * _local3.p);
_local1.y0 = _local2.y0 + (_local2.y1 * _local3.p);
_local1.x1 = _local2.y1 * -1;
_local1.y1 = _local2.x1;
}
_local1.unify();
_local1.scale(_local3.d);
_local1.p = _local3.p;
_local1.d = _local3.d;
return(_local1);
};
_global.v2d.CVector.prototype.getParallel = function (distance, bag) {
var _local2 = this;
var _local1 = _local2.getNormal(bag);
_local1.scale(distance);
_local1.x0 = _local2.x0 + _local1.x1;
_local1.y0 = _local2.y0 + _local1.y1;
_local1.x1 = _local2.x1;
_local1.y1 = _local2.y1;
return(_local1);
};
_global.v2d.CVector.prototype.cf_getParallel = function (distance, bag) {
var _local2 = this;
var _local1 = _local2.c_normal.copy(bag);
_local1.scale(distance);
_local1.x0 = _local2.x0 + _local1.x1;
_local1.y0 = _local2.y0 + _local1.y1;
_local1.x1 = _local2.x1;
_local1.y1 = _local2.y1;
return(_local1);
};
_global.v2d.CVector.prototype.getNormal = function (bag) {
var _local1 = this;
v = _local1.copy(bag);
if (_local1.debug) {
v.id = _local1.id + "_normal";
}
v.scale(0.5);
v.x0 = v.x0 + v.x1;
v.y0 = v.y0 + v.y1;
temp = v.x1;
v.x1 = v.y1 * -1;
v.y1 = temp;
v.unify();
return(v);
};
_global.v2d.CVector.prototype.getBoundingRect = function (bag) {
var _local1 = this;
var _local2 = bag;
if (!_local2) {
return(new _global.v2d.CRect(_local1.x0, _local1.y0, _local1.x0 + _local1.x1, _local1.y0 + _local1.y1));
}
_local2.x0 = _local1.x0;
_local2.y0 = _local1.y0;
_local2.x1 = _local1.x0 + _local1.x1;
_local2.y1 = _local1.y0 + _local1.y1;
_local2.standardize();
return(_local2);
};
_global.v2d.CVector.prototype.moveBaseTo = function (x, y) {
this.x0 = x;
this.y0 = y;
};
_global.v2d.CVector.prototype.pointTo = function (x, y) {
var _local1 = this;
_local1.x1 = x - _local1.x0;
_local1.y1 = y - _local1.y0;
};
_global.v2d.CVector.prototype.unify = function () {
var _local2 = this;
var _local1 = _local2.length();
if (_local1 != 0) {
_local2.x1 = _local2.x1 / _local1;
_local2.y1 = _local2.y1 / _local1;
}
};
_global.v2d.CVector.prototype.scale = function (factor) {
this.x1 = this.x1 * factor;
this.y1 = this.y1 * factor;
};
_global.v2d.CVector.prototype.draw = function (mc, thickness, color) {
with (mc) {
lineStyle(thickness, color);
moveTo(this.x0, this.y0);
lineTo(this.x0 + this.x1, this.y0 + this.y1);
}
};
_global.v2d.CVector.prototype.drawEditView = function (mc, noHandles) {
var _local1 = mc;
var _local2 = this;
_local2.levedPolyHandle.removeMovieClip();
if (!noHandles) {
_local2.levedVertexHandle = _local1.attachMovie("leved_handle_vertex", "vertex_handle" + _local1.freeInstance, _local1.freeInstance++);
if (_local2.id == 0) {
_local2.levedPolyHandle = _local1.attachMovie("leved_handle_poly", "poly_handle" + _local1.freeInstance, _local1.freeInstance++);
}
}
_local2.levedMc = _local1;
_local2.updateEditView();
};
_global.v2d.CVector.prototype.updateEditView = function (highlite) {
var _local1 = this;
var _local2 = _global;
var active = false;
if (((_root.leved.selectedObject == _local1) || (_root.leved.selectedObject == _local1.owner)) || (highlite == true)) {
lineColor = _local2.v2d.COLOR_VECTOR_ACTIVE;
active = true;
} else {
lineColor = _local2.v2d.COLOR_VECTOR;
}
if (highlite eq "false") {
lineColor = _local2.v2d.COLOR_VECTOR;
}
_local1.levedMc.clear();
_local1.draw(_local1.levedMc, 1, lineColor);
if (!_local1.drawEditViewNormal) {
_local1.drawEditViewNormal = new _local2.v2d.CVector();
}
var _local3 = _local1.getNormal(_local1.drawEditViewNormal);
_local3.scale(-5);
_local3.draw(_local1.levedMc, 1, lineColor);
_local1.levedVertexHandle._x = _local1.x0;
_local1.levedVertexHandle._y = _local1.y0;
_local1.levedVertexHandle.gotoAndStop("active_" + active);
_local1.levedPolyHandle._x = _local1.drawEditViewNormal.x0;
_local1.levedPolyHandle._y = _local1.drawEditViewNormal.y0;
};
_global.v2d.CPoly = function () {
var _local1 = this;
_local1._class = "CPoly";
_local1.vectors = new Array();
_local1.props = new _global.v2d.CProps(_local1);
};
_global.v2d.CPoly.prototype.toString = function () {
return(("[Poly " + this.id) + "]");
};
_global.v2d.CPoly.prototype.toXmlNode = function () {
var _local2 = this;
var _local3 = _global.v2d.xmlFactory.createElement("p");
var p = _local2.props.toXmlNode();
_local3.appendChild(p);
var _local1 = 0;
while (_local1 < _local2.vectors.length) {
_local3.appendChild(_local2.vectors[_local1].toXmlNode());
_local1++;
}
return(_local3);
};
_global.v2d.CPoly.prototype.fromXmlNode = function (poly) {
var _local2 = 0;
while (_local2 < poly.childNodes.length) {
var _local1 = poly.childNodes[_local2];
switch (_local1.nodeName) {
case "v" :
var _local3 = new _global.v2d.CVector();
_local3.fromXmlNode(_local1);
this.addVector(_local3);
break;
case "prop" :
this.props.fromXmlNode(_local1);
}
_local2++;
}
this.correctVectors();
};
_global.v2d.CPoly.prototype.addVector = function (v) {
var _local1 = v;
var _local2 = this;
_local1.owner = _local2;
_local1.id = _local2.vectors.length;
_local2.vectors.push(_local1);
};
_global.v2d.CPoly.prototype.splitVector = function (v) {
var _local1 = v;
var _local3 = this;
var _local2 = new _global.v2d.CVector(_local1.x0 + (_local1.x1 * 0.5), _local1.y0 + (_local1.y1 * 0.5), 0, 0);
_local2.owner = _local3;
_local3.vectors.splice(_local1.id + 1, 0, _local2);
_local3.correctVectors();
return(_local2);
};
_global.v2d.CPoly.prototype.removeVector = function (v) {
var _local2 = this;
if (_local2.vectors.length > 2) {
_local2.vectors.splice(v.id, 1);
var _local1 = 0;
while (_local1 < _local2.vectors.length) {
_local2.vectors[_local1].id = _local1;
_local1++;
}
_local2.correctVectors();
return(true);
}
return(undefined);
};
_global.v2d.CPoly.prototype.nextVector = function (id) {
var _local1 = this;
if ((++id) == _local1.vectors.length) {
return(_local1.vectors[0]);
}
return(_local1.vectors[id]);
};
_global.v2d.CPoly.prototype.prevVector = function (id) {
var _local1 = this;
if ((--id) < 0) {
return(_local1.vectors[_local1.vectors.length - 1]);
}
return(_local1.vectors[id]);
};
_global.v2d.CPoly.prototype.movePointTo = function (id, x, y) {
var _local1 = this.vectors[id];
var _local3 = this.nextVector(id);
var _local2 = this.prevVector(id);
if ((!((x == _local3.x0) && (y == _local3.y0))) && (!((x == _local2.x0) && (y == _local2.y0)))) {
_local1.moveBaseTo(x, y);
_local1.pointTo(_local3.x0, _local3.y0);
_local2.pointTo(_local1.x0, _local1.y0);
}
_local1.updateEditView();
_local2.updateEditView();
};
_global.v2d.CPoly.prototype.movePoly = function (dx, dy) {
var _local2 = this;
var _local3 = dy;
var _local1 = 0;
while (_local1 < _local2.vectors.length) {
_local2.vectors[_local1].x0 = _local2.vectors[_local1].x0 + dx;
_local2.vectors[_local1].y0 = _local2.vectors[_local1].y0 + _local3;
_local1++;
}
};
_global.v2d.CPoly.prototype.correctVectors = function () {
var _local3 = this;
var _local1 = 0;
while (_local1 < _local3.vectors.length) {
var act = _local3.vectors[_local1];
var _local2 = _local3.nextVector(_local1);
act.pointTo(_local2.x0, _local2.y0);
_local1++;
}
};
_global.v2d.CPoly.prototype.clear = function () {
var _local1 = this;
while (_local1.vectors.length > 0) {
_local1.vectors.pop();
}
};
_global.v2d.CPoly.prototype.drawEditView = function (mc) {
var _local2 = this;
var _local3 = mc;
_local3.clear();
for (var _local1 in _local3) {
removeMovieClip(_local3[_local1]);
}
_local3.freeInstance = 0;
var _local1 = 0;
while (_local1 < _local2.vectors.length) {
vectorMc = _local3.createEmptyMovieClip("vector_" + _local3.freeInstance, _local3.freeInstance++);
vectorMc.freeInstance = 0;
vectorMc.vector = _local2.vectors[_local1];
_local2.vectors[_local1].drawEditView(vectorMc);
_local2.vectors[_local1].nextVector = _local2.nextVector(_local1);
_local2.vectors[_local1].prevVector = _local2.prevVector(_local1);
_local2.vectors[_local1].id = _local1;
_local1++;
}
};
_global.v2d.CPoly.prototype.updateEditView = function () {
var _local2 = this;
var _local1 = 0;
while (_local1 < _local2.vectors.length) {
_local2.vectors[_local1].updateEditView();
_local1++;
}
};
_global.v2d.CLevel = function (id) {
var _local1 = this;
_local1._class = "CLevel";
_local1.id = id;
_local1.polys = new Array();
_local1.markers = new Array();
_local1.props = new _global.v2d.CProps(_local1);
_local1.objectsByName = undefined;
};
_global.v2d.CLevel.prototype.toString = function () {
return(("[Level " + this.id) + "]");
};
_global.v2d.CLevel.prototype.toXmlNode = function () {
var _local2 = this;
var e = _global.v2d.xmlFactory.createElement("l");
e.attributes.id = _local2.id;
var _local3 = _local2.props.toXmlNode();
e.appendChild(_local3);
var _local1 = 0;
while (_local1 < _local2.polys.length) {
_local3 = _local2.polys[_local1].toXmlNode();
e.appendChild(_local3);
_local1++;
}
_local1 = 0;
while (_local1 < _local2.markers.length) {
var m = _local2.markers[_local1].toXmlNode();
e.appendChild(m);
_local1++;
}
return(e);
};
_global.v2d.CLevel.prototype.fromXmlNode = function (level) {
this.id = level.attributes.id;
var _local2 = 0;
while (_local2 < level.childNodes.length) {
var _local1 = level.childNodes[_local2];
switch (_local1.nodeName) {
case "p" :
var poly = (new _global.v2d.CPoly());
poly.fromXmlNode(_local1);
this.addPoly(poly);
break;
case "m" :
var _local3 = new _global.v2d.CMarker();
_local3.fromXmlNode(_local1);
this.addMarker(_local3);
break;
case "prop" :
this.props.fromXmlNode(_local1);
}
_local2++;
}
this.updateObjectsByName();
};
_global.v2d.CLevel.prototype.updateObjectsByName = function () {
var _local3 = this;
delete _local3.objectsByName;
_local3.objectsByName = new Array();
var i = 0;
while (i < _local3.markers.length) {
if (_local3.markers[i].props.name ne "") {
_local3.objectsByName[_local3.markers[i].props.name] = _local3.markers[i];
}
i++;
}
var i = 0;
while (i < _local3.polys.length) {
var _local2 = _local3.polys[i];
if (_local2.props.name ne "") {
_local3.objectsByName[_local2.props.name] = _local2;
}
var _local1 = 0;
while (_local1 < _local2.vectors.length) {
if (_local2.vectors[_local1].props.name ne "") {
_local3.objectsByName[_local2.vectors[_local1].props.name] = _local2.vectors[_local1];
}
_local1++;
}
i++;
}
};
_global.v2d.CLevel.prototype.addPoly = function (p) {
this.polys.push(p);
};
_global.v2d.CLevel.prototype.addPolyAt = function (p, id) {
this.polys.splice(id, 0, p);
};
_global.v2d.CLevel.prototype.deletePoly = function (id) {
this.polys.splice(id, 1);
};
_global.v2d.CLevel.prototype.addMarker = function (m) {
this.markers.push(m);
m.id = this.markers.length - 1;
};
_global.v2d.CLevel.prototype.addMarkerAt = function (m, id) {
this.markers.splice(id, 0, m);
m.id = id;
};
_global.v2d.CLevel.prototype.deleteMarker = function (id) {
this.markers.splice(id, 1);
};
_global.v2d.CLevel.prototype.clear = function () {
var _local1 = this;
_local1.polys.splice(0, _local1.polys.length);
_local1.markers.splice(0, _local1.markers.length);
};
_global.v2d.CLevel.prototype.init = function (entrance, pos) {
var _local1 = this;
pos = Number(pos);
_root.osd.update();
_local1.props.initScreen();
_global.v2d.sprites.reset();
_global.v2d.gfx.fg.gotoAndStop(_local1.id + 1);
var targetFrame = (_local1.id + 1);
_global.v2d.gfx.bg.gotoAndStop(targetFrame);
var i = 0;
while (i < _local1.markers.length) {
_local1.markers[i].id = i;
if (!_global.v2d[_local1.markers[i].props.getProp("engine")].desc.player) {
_local1.markers[i].createSprite();
}
i++;
}
var i = 0;
while (i < _global.v2d.world.players.length) {
_global.v2d.world.players[i].initOnScreen(entrance, pos);
i++;
}
var i = 0;
while (i < _local1.polys.length) {
var _local3 = _local1.polys[i];
_local3.props.initScreen();
var _local2 = 0;
while (_local2 < _local3.vectors.length) {
_local3.vectors[_local2].props.initScreen();
_local2++;
}
_local2 = 0;
while (_local2 < _local1.markers.length) {
_local1.markers[_local2].props.initScreen();
_local2++;
}
i++;
}
trace("\ninit level " + _local1.id);
_global.v2d.event.execute("onInitScreen");
_global.v2d.tiles.loadLevel(_local1);
};
_global.v2d.CLevel.prototype.drawEditView = function (mc) {
var _local1 = mc;
var _local2 = this;
_local1.clear();
for (var _local3 in _local1) {
removeMovieClip(_local1[_local3]);
}
_local1.freeInstance = 0;
var _local3 = 0;
while (_local3 < _local2.polys.length) {
polyMc = _local1.createEmptyMovieClip("poly_" + _local1.freeInstance, _local1.freeInstance++);
polyMc.poly = _local2.polys[_local3];
_local2.polys[_local3].drawEditView(polyMc);
_local2.polys[_local3].id = _local3;
_local3++;
}
_local3 = 0;
while (_local3 < _local2.markers.length) {
markerMc = _local1.createEmptyMovieClip("marker_" + _local1.freeInstance, _local1.freeInstance++);
markerMc.freeInstance = 0;
markerMc.marker = _local2.markers[_local3];
_local2.markers[_local3].drawEditView(markerMc);
_local2.markers[_local3].id = _local3;
_local3++;
}
};
_global.v2d.CPlayer = function (id) {
var _local1 = this;
_local1._class = "CPlayer";
_local1.debug = false;
_local1.id = id;
_local1.behaviour = new _global.v2d.CProps(_local1);
_local1.behaviour.superPropsName = "ball";
_local1.sprite = undefined;
_local1.inventory = new Array();
_local1.continues = -1;
_local1.lives = 6;
_local1.hitPoints = 1;
_local1.energy = 1;
_local1.score = 0;
_local1.coins = 0;
_local1.firstContinue = true;
};
_global.v2d.CPlayer.prototype.toString = function () {
return(("[Player: id=" + this.id) + "]");
};
_global.v2d.CPlayer.prototype.damage = function (amount) {
var _local1 = this;
_local1.hitPoints = _local1.hitPoints - amount;
if (_local1.hitPoints <= 0) {
_local1.die();
}
};
_global.v2d.CPlayer.prototype.addScore = function (points) {
this.score = this.score + points;
_root.osd.updateScore();
};
_global.v2d.CPlayer.prototype.addCoin = function () {
var _local1 = this;
_local1.addScore(5);
_local1.coins++;
if (_local1.coins >= 30) {
_local1.coins = _local1.coins - 30;
_local1.addLife();
}
_root.osd.updateCoins();
};
_global.v2d.CPlayer.prototype.addLife = function () {
this.actLives++;
_root.osd.updateLives();
_root.osd.extraLife();
};
_global.v2d.CPlayer.prototype.die = function () {
var _local1 = this;
if (_local1.invincibleStat) {
} else {
_global.v2d.event.execute("onPlayerDie");
_local1.sprite.gotoAndPlay("die");
_global.v2d.main.sleep(Number(_local1.sprite.engine.props.getProp("player_dieAnimFrames")));
_local1.actLives--;
if (_local1.actLives == 0) {
_local1.initNewContinue();
} else {
_local1.initNewLive();
}
}
};
_global.v2d.CPlayer.prototype.initNewLive = function () {
var _local1 = this;
trace("init new live");
_local1.actHitPoints = _local1.hitPoints;
_local1.actEnergy = _local1.energy;
_global.v2d.main.setScreen(_local1.newLiveScreen, _local1.newLiveMarker, _local1.newLivePos);
_local1.invincibleStat = true;
_local1.framesAlive = 0;
};
_global.v2d.CPlayer.prototype.initNewContinue = function () {
var _local1 = this;
trace("init new continue");
_local1.newLiveScreen = _local1.newContinueScreen;
_local1.newLiveMarker = _local1.newContinueMarker;
_local1.newLivePos = 0;
_local1.actLives = _local1.lives;
_global.v2d.main.status = _global.v2d.main.STATUS_GAMEOVER;
trace("call gameover osd");
if (true || (_local1.firstContinue)) {
_local1.firstContinue = false;
trace("init continue");
_local1.initNewContinue2();
} else {
trace("gameover");
_root.osd.gameOver();
}
};
_global.v2d.CPlayer.prototype.initNewContinue2 = function () {
var _local1 = this;
_local1.score = 0;
_local1.coins = 0;
_global.v2d.respawn.executeJob("onResetWorld");
_local1.initNewLive();
};
_global.v2d.CPlayer.prototype.initOnScreen = function (entrance, pos) {
var _local2 = this;
if (entrance eq "") {
entrance = "savepoint";
}
_local2.newLiveScreen = _global.v2d.world.actLevel.id;
_local2.newLiveMarker = entrance;
_local2.newLivePos = pos;
_local2.behaviour.initRuntime();
var _local3 = _global.v2d.world.actLevel.markers;
var found = false;
var _local1 = 0;
while (_local1 < _local3.length) {
if (_local3[_local1].props.name eq entrance) {
_local3[_local1].props.initRuntime();
_local2.behaviour.addPropsToRuntime(_local3[_local1].props);
_local2.sprite = _local3[_local1].createSprite(pos, _local2.behaviour);
_local2.sprite.engine.team = "player";
_local2.sprite.engine.player = _local2;
found = true;
break;
}
_local1++;
}
if (!found) {
trace(("#ERROR: can't find marker >" + entrance) + "< on this screen");
}
};
_global.v2d.CPlayer.prototype.setBehaviour = function (b) {
trace("setBehaviour: " + b);
this.behaviour.superPropsName = b;
};
_global.v2d.CPlayer.prototype.setContinuePoint = function (screen, marker) {
var _local1 = this;
var _local2 = screen;
var _local3 = marker;
trace((("set cont point: " + _local2) + " -> ") + _local3);
_local1.newContinueScreen = _local2;
_local1.newContinueMarker = _local3;
_local1.newLiveScreen = _local2;
_local1.newLiveMarker = _local3;
_local1.newLivePos = 0;
_local1.actPass = _global.v2d.world.levels[_local2].props.getProp("password");
trace("pass: " + _local1.actPass);
_root.osd.updatePass();
};
_global.v2d.CPlayer.desc = new Object();
var desc = _global.v2d.CPlayer.desc;
desc.useProps = ["player_dieAnimFrames"];
_global.v2d.CWorld = function () {
var _local1 = this;
_local1._class = "CWorld";
_local1.debug = false;
_local1.levels = new Array(_global.v2d.maxLevels);
_local1.scripts = new Array();
_local1.superProps = new Array();
_local1.players = new Array(1);
_local1.players[0] = new _global.v2d.CPlayer(0);
_local1.actLevelId = -1;
_local1.ready = false;
};
_global.v2d.CWorld.prototype.toString = function () {
return("[World]");
};
_global.v2d.CWorld.prototype.toXml = function () {
var _local1 = this;
var x = new XML();
x.xmlDecl = "<?xml version=\"1.0\" ?>";
x.docTypeDecl = "<!DOCTYPE (c)neodelight v2dml >";
var e = x.createElement("world");
for (var _local2 in _local1.scripts) {
_local1.scripts[_local2].name = _local2;
e.appendChild(_local1.scripts[_local2].toXmlNode());
}
for (var _local2 in _local1.superProps) {
e.appendChild(_local1.superProps[_local2].toXmlNode());
}
var _local2 = 0;
while (_local2 < _global.v2d.maxLevels) {
var _local3 = _local1.levels[_local2].toXmlNode();
_local3.attributes.id = _local2;
e.appendChild(_local3);
_local2++;
}
x.appendChild(e);
return(x);
};
_global.v2d.CWorld.prototype.addObjectFromXml = function (o) {
var _local1 = o;
var _local2 = this;
switch (_local1.nodeName) {
case "l" :
var _local3 = _local1.attributes.id;
if (!_local2.levels[_local3]) {
_local2.levels[_local3] = new _global.v2d.CLevel();
} else {
_local2.levels[_local3].clear();
}
_local2.levels[_local3].fromXmlNode(_local1);
return;
case "script" :
_local2.scripts[_local1.attributes.name] = new _global.v2d.CScript();
_local2.scripts[_local1.attributes.name].fromXmlNode(_local1);
return;
case "prop" :
var p = (new _global.v2d.CProps());
p.fromXmlNode(_local1);
_local2.superProps[p.name] = p;
}
};
_global.v2d.CWorld.prototype.initProps = function () {
var _local3 = this;
for (var i in _local3.superProps) {
_local3.superProps[i].initRuntime();
}
for (var i in _local3.levels) {
var _local2 = _local3.levels[i];
_local2.props.initRuntime();
for (var j in _local2.markers) {
_local2.markers[j].props.initRuntime();
}
for (var j in _local2.polys) {
var _local1 = _local2.polys[j];
_local1.props.initRuntime();
for (var k in _local1.vectors) {
_local1.vectors[k].props.initRuntime();
}
}
}
};
_global.v2d.CWorld.prototype.createLevel = function (id) {
var _local1 = id;
var _local2 = this;
_local2.levels[_local1] = new _global.v2d.CLevel();
_local2.levels[_local1].id = _local1;
_local2.actLevelId = _local1;
};
_global.v2d.CWorld.prototype.deleteLevel = function (id) {
var _local1 = this;
_local1.levels[id] = undefined;
if (_local1.actLevelId == id) {
_local1.actLevel = undefined;
}
};
_global.v2d.CWorld.prototype.setLevel = function (id, entrance, pos) {
var _local1 = this;
var _local2 = id;
var _local3 = _global;
_local3.v2d.main.pause();
_local1.actLevel = _local1.levels[_local2];
_local1.actLevelId = _local2;
_local1.actLevel.id = _local2;
_root.osd.updateLevel();
if (_local1.debug) {
trace("init level---------------START");
}
_root.leved.refresh();
_local1.actLevel.init(entrance, pos);
if (_local1.debug) {
trace("init level---------------STOP");
}
if (!_local1.actLevel) {
if (_local1.debug) {
trace("#ERROR: CWorld.setLevel: no leveldata");
}
_local3.v2d.gfx.fg.gotoAndStop(_local2 + 1);
_local3.v2d.gfx.bg.gotoAndStop(_local2 + 1);
}
};
_global.v2d.CWorld.prototype.getLevelByName = function (name) {
var _local2 = this;
var _local3 = name;
var _local1 = 0;
while (_local1 < _local2.levels.length) {
if (_local2.levels[_local1].props.name eq _local3) {
return(_local2.levels[_local1]);
}
_local1++;
}
trace("#ERROR: can't find level " + _local3);
return(undefined);
};
_global.v2d.CWorld.prototype.resolvePassword = function (pass) {
var _local2 = this;
var _local3 = pass;
result = -1;
var _local1 = 0;
while (_local1 < _local2.levels.length) {
if (_local2.levels[_local1].props.getProp("password") eq _local3) {
return(_local1);
}
_local1++;
}
return(result);
};
_global.v2d.CWorld.prototype.clear = function () {
var _local2 = _global;
var _local3 = this;
var _local1 = 0;
while (_local1 < _local2.v2d.maxLevels) {
_local3.levels[_local1] = false;
_local1++;
}
};
_global.v2d.CSEPlatform = function (sprite, props, x, y) {
var _local1 = this;
_local1._class = "CSEPlatform";
_local1.width = props.getProp("engine_width");
_local1.sprite = sprite;
_local1.sprite._x = x;
_local1.sprite._y = y;
_local1.sprite._rotation = 0;
_local1.props = props;
_local1.team = "";
_local1.geometry = "platform";
_local1.position = new _global.v2d.CVector(x, y, 0, 0);
_local1.vx = 0;
_local1.vy = 0;
_local1.c_slopeFactor = 1;
};
_global.v2d.CSEPlatform.prototype.toString = function () {
var _local1 = this;
return(((((("[SpriteEngine:Platform pos: " + _local1.position) + " width=") + _local1.width) + " (sprite:") + _local1.sprite._target) + ")]");
};
_global.v2d.CSEPlatform.prototype.hit = function (object) {
this.props.event("onHit", this, object);
};
_global.v2d.CSEPlatform.prototype.getBoundingRect = function (bag) {
var _local1 = bag;
var _local2 = this;
_local1.x0 = _local2.position.x0;
_local1.y0 = _local2.position.y0;
_local1.x1 = _local2.position.x0 + _local2.width;
_local1.y1 = _local2.position.y0;
return(_local1);
};
_global.v2d.CSEPlatform.desc = new Object();
var desc = _global.v2d.CSEPlatform.desc;
desc.useProps = new Array("engine_width");
_global.v2d.CSEPlatformDrone = function (sprite, props, x0, y0, x1, y1) {
var _local1 = this;
var _local2 = y0;
var _local3 = x0;
super(sprite, props, _local3, _local2);
_local1._class = "CSEPlatformDrone";
_local1.debug = true;
if (_local1.debug) {
_local1.drawEditView(_local1.sprite);
}
_local1.dx = Number(x1 - _local3);
_local1.dy = Number(y1 - _local2);
_local1.v = Number(props.getProp("engine_speed"));
_local1.pos = Number(props.getProp("engine_pos"));
if (_local1.pos < 0) {
_local1.v = _local1.v * -1;
_local1.pos = _local1.pos * -1;
}
_local1.rootX = _local3;
_local1.rootY = _local2;
_local1.sprite._x = _local1.rootX + (_local1.dx * _local1.pos);
_local1.sprite._y = _local1.rootY + (_local1.dy * _local1.pos);
_local1.sprite._rotation = 0;
_local1.move(0);
};
_global.v2d.CSEPlatformDrone.prototype = new _global.v2d.CSEPlatform();
_global.v2d.CSEPlatformDrone.prototype.move = function (dt) {
var _local1 = this;
_local1.pos = _local1.pos + _local1.v;
if (_local1.pos > 1) {
_local1.pos = 1;
_local1.v = Math.abs(_local1.v) * -1;
} else if (_local1.pos < 0) {
_local1.pos = 0;
_local1.v = Math.abs(_local1.v);
}
var _local3 = _local1.rootX + (_local1.dx * _local1.pos);
var _local2 = _local1.rootY + (_local1.dy * _local1.pos);
_local1.vx = _local3 - _local1.position.x0;
_local1.vy = _local2 - _local1.position.y0;
_local1.position.x0 = _local3;
_local1.position.y0 = _local2;
_local1.sprite._x = _local1.position.x0;
_local1.sprite._y = _local1.position.y0;
};
_global.v2d.CSEPlatformDrone.prototype.getBoundingRect = function (bag) {
var _local1 = this;
var _local2 = bag;
_local2.x0 = Math.min(_local1.rootX, _local1.rootX + _local1.dx);
_local2.y0 = Math.min(_local1.rootY, _local1.rootY + _local1.dy);
_local2.x1 = Math.max(_local1.rootX + _local1.width, (_local1.rootX + _local1.dx) + _local1.width);
_local2.y1 = Math.max(_local1.rootY, _local1.rootY + _local1.dy);
return(_local2);
};
_global.v2d.CSEPlatformDrone.prototype.toString = function () {
var _local1 = this;
return(((((("[SpriteEngine:PlatformDrone (sprite:" + _local1.sprite._target) + " dx:") + _local1.dx) + " dy:") + _local1.dy) + "]");
};
_global.v2d.CSEPlatformDrone.desc = new Object();
var desc = _global.v2d.CSEPlatformDrone.desc;
desc.useProps = _global.v2d.array.copy(_global.v2d.CSEPlatform.desc.useProps);
desc.useProps.push("engine_pos", "engine_speed");
desc.doubleMarker = true;
_global.v2d.CSECircle = function (sprite, props, x, y) {
var _local1 = this;
_local1._class = "CSECircle";
_local1.debug = false;
_local1.sprite = sprite;
_local1.sprite._x = x;
_local1.sprite._y = y;
_local1.sprite._rotation = 0;
_local1.props = props;
_local1.team = "";
_local1.geometry = "circle";
_local1.radius = props.getProp("engine_radius");
_local1.position = new _global.v2d.CVector(x, y, 0, 0);
};
_global.v2d.CSECircle.prototype.hit = function (object) {
this.props.event("onHit", this, object);
};
_global.v2d.CSECircle.prototype.getBoundingRect = function (bag) {
var _local1 = this;
var _local2 = bag;
if (!_local2) {
return(new _global.v2d.CRect(_local1.position.x0 - _local1.radius, _local1.position.y0 - _local1.radius, _local1.position.x0 + _local1.radius, _local1.position.y0 + _local1.radius));
}
_local2.x0 = _local1.position.x0 - _local1.radius;
_local2.y0 = _local1.position.y0 - _local1.radius;
_local2.x1 = _local1.position.x0 + _local1.radius;
_local2.y1 = _local1.position.y0 + _local1.radius;
return(_local2);
};
_global.v2d.CSECircle.prototype.toString = function () {
return(("[SpriteEngine:Circle (sprite:" + this.sprite._target) + ")]");
};
_global.v2d.CSECircle.desc = new Object();
var desc = _global.v2d.CSECircle.desc;
desc.useProps = ["engine_radius"];
_global.v2d.CSECircleDrone = function (sprite, props, x0, y0, x1, y1) {
var _local1 = this;
var _local2 = y0;
var _local3 = x0;
super(sprite, props, _local3, _local2);
_local1._class = "CSECircleDrone";
_local1.dx = Number(x1 - _local3);
_local1.dy = Number(y1 - _local2);
_local1.v = Number(props.getProp("engine_speed"));
_local1.pos = Number(props.getProp("engine_pos"));
if (_local1.pos < 0) {
_local1.v = _local1.v * -1;
_local1.pos = _local1.pos * -1;
}
if ((_local1.v * _local1.dx) < 0) {
_local1.sprite._xscale = -100;
} else {
_local1.sprite._xscale = 100;
}
_local1.rootX = _local3;
_local1.rootY = _local2;
_local1.move(0);
};
_global.v2d.CSECircleDrone.prototype = new _global.v2d.CSECircle();
_global.v2d.CSECircleDrone.prototype.move = function (dt) {
var _local1 = this;
_local1.pos = _local1.pos + _local1.v;
if (_local1.pos > 1) {
_local1.pos = 1;
_local1.v = Math.abs(_local1.v) * -1;
if (_local1.dx > 0) {
_local1.sprite._xscale = -100;
} else {
_local1.sprite._xscale = 100;
}
} else if (_local1.pos < 0) {
_local1.pos = 0;
_local1.v = Math.abs(_local1.v);
if (_local1.dx > 0) {
_local1.sprite._xscale = 100;
} else {
_local1.sprite._xscale = -100;
}
}
_local1.position.x0 = _local1.rootX + (_local1.dx * _local1.pos);
_local1.sprite._x = _local1.position.x0;
_local1.position.y0 = _local1.rootY + (_local1.dy * _local1.pos);
_local1.sprite._y = _local1.position.y0;
};
_global.v2d.CSECircleDrone.prototype.getBoundingRect = function (bag) {
var _local1 = bag;
var _local2 = this;
_local1.x0 = _local2.rootX;
_local1.y0 = _local2.rootY;
_local1.x1 = _local2.rootX + _local2.dx;
_local1.y1 = _local2.rootY + _local2.dy;
_local1.standardize();
_local1.x0 = _local1.x0 - _local2.radius;
_local1.y0 = _local1.y0 - _local2.radius;
_local1.x1 = _local1.x1 + _local2.radius;
_local1.y1 = _local1.y1 + _local2.radius;
return(_local1);
};
_global.v2d.CSECircleDrone.prototype.toString = function () {
var _local1 = this;
return(((((("[SpriteEngine:CircleDrone (sprite:" + _local1.sprite._target) + " dx:") + _local1.dx) + " dy:") + _local1.dy) + "]");
};
_global.v2d.CSECircleDrone.desc = new Object();
var desc = _global.v2d.CSECircleDrone.desc;
desc.useProps = _global.v2d.array.copy(_global.v2d.CSECircle.desc.useProps);
desc.useProps.push("engine_pos", "engine_speed");
desc.doubleMarker = true;
_global.v2d.CSEBall = function (sprite, props, x, y) {
var _local1 = this;
var _local2 = _global;
var _local3 = props;
super(sprite, _local3, x, y);
_local1._class = "CSEBall";
_local1.debug = false;
_local1.weight = _local3.getProp("engine_weight");
if (_local1.weight eq "") {
_local1.weight = 0;
}
_local1.flex = _local3.getProp("engine_flex");
if (_local1.flex eq "") {
_local1.flex = 1;
}
_local1.boundingRect = new _local2.v2d.CRect();
_local1.objects = new Array();
_local1.to = new _local2.v2d.CPoint();
_local1.perpTo = new _local2.v2d.CVector();
_local1.par = new _local2.v2d.CVector();
_local1.cornerPerp = new _local2.v2d.CVector();
_local1.mirrorVector = new _local2.v2d.CVector();
_local1.speed = new _local2.v2d.CVector(0, 0, 0, 0);
if (_local3.getProp("engine_vx") ne "") {
_local1.speed.x1 = _local3.getProp("engine_vx");
}
if (_local3.getProp("engine_vy") ne "") {
_local1.speed.y1 = _local3.getProp("engine_vy");
}
_local1.rotation = _local1.sprite._rotation;
};
_global.v2d.CSEBall.prototype = new _global.v2d.CSECircle();
_global.v2d.CSEBall.prototype.move = function (dt) {
var _local1 = this;
_local1.position.x1 = _local1.speed.x1 * dt;
_local1.position.y1 = _local1.speed.y1 * dt;
_local1.to.x0 = _local1.position.x0 + _local1.position.x1;
_local1.to.y0 = _local1.position.y0 + _local1.position.y1;
_local1.boundingRect.x0 = _local1.position.x0;
_local1.boundingRect.y0 = _local1.position.y0;
_local1.boundingRect.x1 = _local1.to.x0;
_local1.boundingRect.y1 = _local1.to.y0;
_local1.boundingRect.standardize();
_local1.boundingRect.x0 = _local1.boundingRect.x0 - _local1.radius;
_local1.boundingRect.y0 = _local1.boundingRect.y0 - _local1.radius;
_local1.boundingRect.x1 = _local1.boundingRect.x1 + _local1.radius;
_local1.boundingRect.y1 = _local1.boundingRect.y1 + _local1.radius;
_local1.objects = _global.v2d.tiles.getVectorsWithinRect(_local1.boundingRect, _local1.objects);
if (_local1.debug) {
trace((((((("\n[" + _global.v2d.main.step) + "]->(") + _local1.objects.length) + "): move=") + _local1.position) + " speed=") + _local1.speed);
_local1.boundingRect.drawOutline(_root.leved.debug, 1, 16750848);
_local1.position.draw(_root.leved.debug, 1, 39168);
}
var collision = false;
var collisionObject = undefined;
var collisionPos = 0;
_root.leved.collisionChecks = _local1.objects.length;
var i = 0;
while (i < _local1.objects.length) {
var _local2 = _local1.objects[i];
if (_local2.geometry eq "vector") {
if (_local1.debug) {
trace((("collision check. this: " + _local1.position) + " v: ") + _local2);
var tmp = _local1.position.getParallel(((i + 1) * 3) - 2);
_local2.draw(_root.leved.debug, 1, 8704);
}
if (_local1.debug) {
trace("Collision Check Vector Line................");
}
if (_local1.radius > 0) {
_local1.par = _local2.cf_getParallel(_local1.radius, _local1.par);
} else {
_local1.par = _local2;
}
if (_local1.debug) {
trace("par=" + _local1.par);
}
var perpFrom = _local1.par.calcPerpendicular(_local1.position);
if (Math.abs(perpFrom.d) < _global.v2d.ZERO_LIMIT) {
perpFrom.d = 0;
}
if (_local1.debug) {
trace("perpFrom.d: " + perpFrom.d);
}
if (perpFrom.d >= 0) {
_local1.perpTo = _local1.par.getPerpendicular(_local1.to, _local1.perpTo);
if (_local1.debug) {
trace("perpTo.d: " + _local1.perpTo.d);
}
if (_local1.perpTo.d < 0) {
var cross = _local1.position.cross(_local1.par);
if (cross.code == 7) {
if (_local1.debug) {
trace("collision");
}
collision = true;
_local1.to.x0 = cross.x;
_local1.to.y0 = cross.y;
_local1.position.pointTo(_local1.to.x0, _local1.to.y0);
_local1.perpTo.scale(-1);
var v = _local1.speed.length();
if (_local1.debug) {
trace((("speed before: " + _local1.speed) + " v=") + v);
trace((((((("perpTo=" + _local1.perpTo) + " perpFrom=") + _local1.perpFrom) + " cross=") + cross.x) + "/") + cross.y);
}
_local1.speed.x1 = (_local1.perpTo.x0 + _local1.perpTo.x1) - cross.x;
_local1.speed.y1 = (_local1.perpTo.y0 + _local1.perpTo.y1) - cross.y;
if (_local1.debug) {
trace("after mirror/before unify: " + _local1.speed);
}
_local1.speed.unify();
_local1.speed.scale(v);
if (_local1.debug) {
trace("speed after: " + _local1.speed);
}
collisionObject = _local2;
collisionPos = cross.m;
}
if (_local1.debug) {
var temp = _local1.speed.copy();
temp.scale(dt);
temp.x0 = _local1.to.x0;
temp.y0 = _local1.to.y0;
temp.draw(_root.leved.debug, 1, 16711680);
trace((((((((((("cross code:" + cross.code) + " n:") + cross.n) + " m:") + cross.m) + " x:") + cross.x) + " y:") + cross.y) + "vector: ") + _local1.par);
_local1.perpTo = _local1.par.getPerpendicular(_local1.to, _local1.perpTo);
trace("new perpTo.d: " + _local1.perpTo.d);
}
}
}
if (_local1.radius > 0) {
if (_local1.debug) {
trace("Collision Check Vector Corner..............");
}
_local1.cornerPerp = _local1.position.getPerpendicular(_local2, _local1.cornerPerp);
if ((Math.abs(_local1.cornerPerp.d) <= _local1.radius) && (_local1.cornerPerp.p > 0)) {
_local1.par = _local1.position.getParallel(_local1.cornerPerp.d, _local1.par);
var parOffset = ((_local1.radius * Math.abs(Math.sin(Math.acos(Math.abs(_local1.cornerPerp.d) / _local1.radius)))) / _local1.position.length());
_local1.par.x0 = _local1.par.x0 + (_local1.par.x1 * parOffset);
_local1.par.y0 = _local1.par.y0 + (_local1.par.y1 * parOffset);
var _local3;
if (Math.abs(_local1.par.x1) > Math.abs(_local1.par.y1)) {
_local3 = (_local2.x0 - _local1.par.x0) / _local1.par.x1;
} else {
_local3 = (_local2.y0 - _local1.par.y0) / _local1.par.y1;
}
if ((_local3 > 0) && (_local3 <= 1)) {
if (_local1.debug) {
trace("Corner Hit");
}
collision = true;
_local1.position.x1 = _local1.position.x1 * _local3;
_local1.position.y1 = _local1.position.y1 * _local3;
_local1.to.x0 = _local1.sprite._x + _local1.position.x1;
_local1.to.y0 = _local1.sprite._y + _local1.position.y1;
_local1.mirrorVector.x0 = _local2.x0;
_local1.mirrorVector.y0 = _local2.y0;
_local1.mirrorVector.pointTo(_local1.to.x0, _local1.to.y0);
_local1.cornerPerp = _local1.mirrorVector.getPerpendicular(_local1.position, _local1.cornerPerp);
var v = _local1.speed.length();
_local1.cornerPerp.scale(-1);
_local1.speed.x1 = (_local1.cornerPerp.x0 + _local1.cornerPerp.x1) - _local1.to.x0;
_local1.speed.y1 = (_local1.cornerPerp.y0 + _local1.cornerPerp.y1) - _local1.to.y0;
_local1.speed.unify();
_local1.speed.scale(v);
collisionObject = _local2;
collisionPos = 0;
}
}
}
} else if (_local2.geometry == "circle") {
var distance = _global.v2d.math.p2pDistance(_local1.position.x0, _local1.position.y0, _local2.position.x0, _local2.position.y0);
if (distance < (_local1.radius + _local2.radius)) {
_local2.hit(_local1);
}
} else if (_local2.geometry == "platform") {
if (_local1.debug) {
trace("Collision Check Platform.............. " + _local2.toString());
}
if (_local1.position.y1 > 0) {
var cross = _local1.position.calcHCross(_local2.position.y0);
var dx = (cross[0] - _local2.position.x0);
if ((dx > (_local1.radius * -1)) && (dx < (_local2.width + _local1.radius))) {
var fromY = (_local1.position.y0 + _local1.radius);
var toY = (_local1.to.y0 + _local1.radius);
if (_local1.debug) {
trace((("fromY: " + fromY) + " toY: ") + toY);
trace((("platfrom position.y0: " + _local2.position.y0) + " object.vy: ") + _local2.vy);
}
if ((fromY <= Math.max(_local2.position.y0, _local2.position.y0 - _local2.vy)) && (toY >= Math.min(_local2.position.y0, _local2.position.y0 - _local2.vy))) {
if (_local1.debug) {
trace("platform collision occured!");
}
collision = true;
collisionObject = _local2;
collisionPos = 0;
cross = _local1.position.calcHCross(_local2.position.y0 - _local1.radius);
_local1.to.x0 = cross[0];
_local1.to.y0 = _local2.position.y0 - _local1.radius;
_local1.position.pointTo(_local1.to.x0, _local1.to.y0);
_local1.speed.y1 = Math.abs(_local1.speed.y1) * -1;
_local1.speed.y1 = _local1.speed.y1 + ((_local2.vy / dt) * 3);
}
}
}
} else {
trace("CSEBall: unknown collision object type: " + _global.v2d.debug.describe(_local2));
}
i++;
}
_local1.sprite._x = _local1.to.x0;
_local1.sprite._y = _local1.to.y0;
_local1.position.x0 = _local1.to.x0;
_local1.position.y0 = _local1.to.y0;
_local1.sprite._rotation = _local1.sprite._rotation + (_local1.rotation * dt);
if (collision) {
_local1.collision(collisionObject, collisionPos);
} else {
_local1.noCollision(dt);
}
if (_local1.debug) {
var temp = _local1.speed.copy();
temp.scale(dt);
temp.x0 = _local1.to.x0;
temp.y0 = _local1.to.y0;
temp.draw(_root.leved.debug, 1, 65280);
}
};
_global.v2d.CSEBall.prototype.collision = function (collisionObject, collisionPos) {
var _local1 = this;
collisionObject.hit(_local1, collisionPos);
_local1.speed.scale(_local1.flex);
};
_global.v2d.CSEBall.prototype.noCollision = function (dt) {
this.speed.y1 = this.speed.y1 + (this.weight * dt);
};
_global.v2d.CSEBall.prototype.getBoundingRect = function (bag) {
return("master");
};
_global.v2d.CSEBall.prototype.toString = function () {
var _local1 = this;
return(((((("[SpriteEngine:Ball (sprite:" + _local1.sprite._target) + " vx:") + _local1.vx) + " vy:") + _local1.vy) + "]");
};
_global.v2d.CSEBall.desc = new Object();
var desc = _global.v2d.CSEBall.desc;
desc.useProps = _global.v2d.array.copy(_global.v2d.CSECircle.desc.useProps);
desc.useProps.push("engine_weight", "engine_flex", "engine_vx", "engine_vy");
_global.v2d.CSEWonderBall = function (sprite, props, x, y) {
var _local1 = this;
var _local2 = props;
super(sprite, _local2, x, y);
_local1._class = "CSEWonderBall";
_local1.team = "player";
_local1.player = undefined;
_local1.aY = _local2.getProp("engine_controlAY");
_local1.aX = _local2.getProp("engine_controlAX");
_local1.vXMax = _local2.getProp("engine_vSideMax");
_local1.vYMax = _local2.getProp("engine_vUpMax") * -1;
_local1.vYMed = _local2.getProp("engine_vUpMed") * -1;
_local1.vYMin = _local2.getProp("engine_vUpMin") * -1;
_local1.vYTarget = _local1.vYMed;
_local1.fX = _local2.getProp("engine_frictX");
_local1.fXOverLimit = _local2.getProp("engine_frictXOverSpeed");
};
_global.v2d.CSEWonderBall.prototype = new _global.v2d.CSEBall();
_global.v2d.CSEWonderBall.prototype.move = function (dt) {
var _local1 = this;
if (Key.isDown(38)) {
_local1.vYTarget = _local1.vYMax;
} else if (Key.isDown(40)) {
_local1.vYTarget = _local1.vYMin;
} else {
_local1.vYTarget = _local1.vYMed;
}
_local1.speed.x1 = _local1.speed.x1 * _local1.fX;
super.move(dt);
_local1.player.framesAlive++;
if (_local1.player.framesAlive > 50) {
_local1.player.invincibleStat = false;
}
};
_global.v2d.CSEWonderBall.prototype.noCollision = function (dt) {
var _local1 = this;
super.noCollision(dt);
if (Key.isDown(37) && (_global.v2d.main.step > 2)) {
_local1.rotation = _local1.rotation - 0.1;
var _local2 = _local1.speed.x1 - _local1.aX;
_local2 = _local2 * _local1.fXOverLimit;
_local1.speed.x1 = Math.min(_local1.speed.x1, _local2);
}
if (Key.isDown(39) && (_global.v2d.main.step > 2)) {
_local1.rotation = _local1.rotation + 0.1;
var _local2 = _local1.speed.x1 + _local1.aX;
_local2 = _local2 * _local1.fXOverLimit;
_local1.speed.x1 = Math.max(_local1.speed.x1, _local2);
}
_local1.rotation = _local1.rotation * 0.9;
};
_global.v2d.CSEWonderBall.prototype.collision = function (collisionObject, collisionPos) {
var _local1 = this;
super.collision(collisionObject, collisionPos);
_local1.sprite.blink();
_global.api.snd.play("bounce");
var _local2 = collisionObject.c_slopeFactor;
if (_local2 > 0.2) {
var _local3 = _local1.aY * _local2;
if (_local1.speed.y1 < _local1.vYTarget) {
_local1.speed.y1 = (_local3 * _local1.vYTarget) + ((1 - _local3) * _local1.speed.y1);
} else {
var newSpeed = (_local1.vYTarget * _local2);
if (newSpeed < _local1.speed.y1) {
_local1.speed.y1 = newSpeed;
}
}
}
};
_global.v2d.CSEWonderBall.prototype.damage = function (amount) {
this.player.damage(amount);
};
_global.v2d.CSEWonderBall.prototype.getBoundingRect = function (bag) {
return("master");
};
_global.v2d.CSEWonderBall.prototype.toString = function () {
var _local1 = this;
return(((((("[SpriteEngine:WonderBall (sprite:" + _local1.sprite._target) + " vx:") + _local1.vx) + " vy:") + _local1.vy) + "]");
};
_global.v2d.CSEWonderBall.desc = new Object();
var desc = _global.v2d.CSEWonderBall.desc;
desc.useProps = _global.v2d.array.copy(_global.v2d.CSEBall.desc.useProps);
desc.useProps.push("engine_controlAY", "engine_controlAX", "engine_vSideMax", "engine_vUpMax", "engine_vUpMed", "engine_vUpMin", "engine_frictX", "engine_frictXOverSpeed");
_global.v2d.array.pushArrayItems(desc.useProps, _global.v2d.CPlayer.desc.useProps);
desc.player = true;
desc.doubleMarker = true;
_global.v2d.CSEStarshipBall = function (sprite, props, x, y) {
var _local1 = this;
var _local2 = props;
super(sprite, _local2, x, y);
_local1._class = "CSEStarshipBall";
_local1.team = "player";
_local1.player = undefined;
_local1.aY = _local2.getProp("engine_controlAY");
_local1.aX = _local2.getProp("engine_controlAX");
};
_global.v2d.CSEStarshipBall.prototype = new _global.v2d.CSEBall();
_global.v2d.CSEStarshipBall.prototype.move = function (dt) {
if (Key.isDown(38)) {
this.speed.y1 = this.speed.y1 - this.aY;
}
super.move(dt);
};
_global.v2d.CSEStarshipBall.prototype.noCollision = function (dt) {
var _local1 = this;
super.noCollision(dt);
if (Key.isDown(37) && (_global.v2d.main.step > 2)) {
_local1.speed.x1 = _local1.speed.x1 - _local1.aX;
}
if (Key.isDown(39) && (_global.v2d.main.step > 2)) {
_local1.speed.x1 = _local1.speed.x1 + _local1.aX;
}
_local1.rotation = _local1.rotation * 0.9;
};
_global.v2d.CSEStarshipBall.prototype.collision = function (collisionObject, collisionPos) {
super.collision(collisionObject, collisionPos);
};
_global.v2d.CSEStarshipBall.prototype.damage = function (amount) {
this.player.damage(amount);
};
_global.v2d.CSEStarshipBall.prototype.getBoundingRect = function (bag) {
return("master");
};
_global.v2d.CSEStarshipBall.prototype.toString = function () {
var _local1 = this;
return(((((("[SpriteEngine:starshipball (sprite:" + _local1.sprite._target) + " vx:") + _local1.vx) + " vy:") + _local1.vy) + "]");
};
_global.v2d.CSEStarshipBall.desc = new Object();
var desc = _global.v2d.CSEStarshipBall.desc;
desc.useProps = _global.v2d.array.copy(_global.v2d.CSEBall.desc.useProps);
desc.useProps.push("engine_controlAY", "engine_controlAX");
_global.v2d.array.pushArrayItems(desc.useProps, _global.v2d.CPlayer.desc.useProps);
desc.player = true;
desc.doubleMarker = true;
_global.v2d.CSERocketBall = function (sprite, props, x, y) {
var _local1 = this;
var _local2 = props;
super(sprite, _local2, x, y);
_local1._class = "CSERocketBall";
_local1.team = "player";
_local1.player = undefined;
_local1.aY = _local2.getProp("engine_controlAY");
_local1.aR = _local2.getProp("engine_controlAR");
_local1.fR = _local2.getProp("engine_frictR");
};
_global.v2d.CSERocketBall.prototype = new _global.v2d.CSEBall();
_global.v2d.CSERocketBall.prototype.move = function (dt) {
var _local1 = this;
if (Key.isDown(38)) {
_local1.speed.y1 = _local1.speed.y1 - (Math.cos((_local1.sprite._rotation / 180) * Math.PI) * _local1.aY);
_local1.speed.x1 = _local1.speed.x1 + (Math.sin((_local1.sprite._rotation / 180) * Math.PI) * _local1.aY);
}
super.move(dt);
};
_global.v2d.CSERocketBall.prototype.noCollision = function (dt) {
var _local1 = this;
super.noCollision(dt);
if (Key.isDown(37) && (_global.v2d.main.step > 2)) {
_local1.rotation = _local1.rotation - _local1.aR;
}
if (Key.isDown(39) && (_global.v2d.main.step > 2)) {
_local1.rotation = _local1.rotation + _local1.aR;
}
_local1.rotation = _local1.rotation * _local1.fR;
};
_global.v2d.CSERocketBall.prototype.collision = function (collisionObject, collisionPos) {
super.collision(collisionObject, collisionPos);
};
_global.v2d.CSERocketBall.prototype.damage = function (amount) {
this.player.damage(amount);
};
_global.v2d.CSERocketBall.prototype.getBoundingRect = function (bag) {
return("master");
};
_global.v2d.CSERocketBall.prototype.toString = function () {
var _local1 = this;
return(((((("[SpriteEngine:rocketball (sprite:" + _local1.sprite._target) + " vx:") + _local1.vx) + " vy:") + _local1.vy) + "]");
};
_global.v2d.CSERocketBall.desc = new Object();
var desc = _global.v2d.CSERocketBall.desc;
desc.useProps = _global.v2d.array.copy(_global.v2d.CSEBall.desc.useProps);
desc.useProps.push("engine_controlAY", "engine_controlAR", "engine_frictR");
_global.v2d.array.pushArrayItems(desc.useProps, _global.v2d.CPlayer.desc.useProps);
desc.player = true;
desc.doubleMarker = true;
_global.v2d.CEventSystem = function () {
this._class = "CEventSystem";
};
_global.v2d.CEventSystem.prototype.toString = function () {
return("[EventSystem]");
};
_global.v2d.CEventSystem.prototype.execute = function (event) {
trace("execute event: " + event);
_global.v2d.respawn.executeJob(event);
var _local3 = 0;
while (_local3 < _global.v2d.world.actLevel.polys.length) {
var _local2 = _global.v2d.world.actLevel.polys[_local3];
_local2.props.event(event, _local2);
var _local1 = 0;
while (_local1 < _local2.vectors.length) {
_local2.vectors[_local1].props.event(event, _local2.vectors[_local1]);
_local1++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _global.v2d.world.actLevel.markers.length) {
var marker = _global.v2d.world.actLevel.markers[_local3];
marker.props.event(event, marker);
_local3++;
}
};
_global.v2d.CRespawnSystem = function () {
var _local1 = this;
_local1._class = "CRespawnSystem";
_local1.jobs = new Array();
_local1.clear();
};
_global.v2d.CRespawnSystem.prototype.toString = function () {
return("[RespawnSystem]");
};
_global.v2d.CRespawnSystem.prototype.clear = function () {
var _local3 = this;
for (e in _local3.jobs) {
var _local2 = _local3.jobs[e];
var _local1 = 0;
while (_local1 < _local2.length) {
delete _local2[_local1];
_local1++;
}
}
};
_global.v2d.CRespawnSystem.prototype.addJob = function (props, name, event) {
var _local1 = event;
var _local2 = this;
if (_local2.jobs[_local1] == undefined) {
_local2.jobs[_local1] = new Array();
}
_local2.jobs[_local1].push(new Array(props, name));
};
_global.v2d.CRespawnSystem.prototype.executeJob = function (event) {
var _local2 = this.jobs[event];
while (_local2.length > 0) {
var _local1 = _local2.pop();
_local1[0].resetProp(_local1[1]);
}
delete this.jobs[event];
};
_global.v2d.CTileSystem = function (screenWidth, screenHeight, tileWidth, tileHeight) {
var _local1 = this;
_local1._class = "CTileSystem";
_local1.screenWidth = screenWidth;
_local1.screenHeight = screeHeight;
_local1.tileWidth = tileWidth;
_local1.tileHeight = tileHeight;
_local1.tilesX = Math.floor(screenWidth / tileWidth);
_local1.tilesY = Math.floor(screenHeight / tileHeight);
_local1.tiles = new Array(_local1.tilesX);
var _local3 = 0;
while (_local3 < _local1.tilesX) {
_local1.tiles[_local3] = new Array(_local1.tilesY);
var _local2 = 0;
while (_local2 < _local1.tilesY) {
_local1.tiles[_local3][_local2] = new Array();
_local1.tiles[_local3][_local2].rect = new _global.v2d.CRect(_local3 * _local1.tileWidth, _local2 * _local1.tileHeight, (_local3 + 1) * _local1.tileWidth, (_local2 + 1) * _local1.tileHeight);
_local2++;
}
_local3++;
}
_local1.master = new Array();
_local1.boundingRect = new _global.v2d.CRect();
};
_global.v2d.CTileSystem.prototype.toString = function () {
return("[TileSystem]");
};
_global.v2d.CTileSystem.prototype.clear = function () {
var _local3 = this;
var _local2 = 0;
while (_local2 < _local3.tilesX) {
var _local1 = 0;
while (_local1 < _local3.tilesY) {
_local3.tiles[_local2][_local1].splice(0, _local3.tiles[_local2][_local1].length);
_local1++;
}
_local2++;
}
_local3.master.splice(0, _local3.master.length);
};
_global.v2d.CTileSystem.prototype.drawEditView = function (mc) {
var _local3 = this;
var _local2 = 0;
while (_local2 < _local3.tilesX) {
var _local1 = 0;
while (_local1 < _local3.tilesY) {
_local3.tiles[_local2][_local1].rect.drawOutline(mc, 1, 214748364);
_local1++;
}
_local2++;
}
};
_global.v2d.CTileSystem.prototype.addVector = function (v) {
v.cache();
var _local3 = this.selectTileCoords(v.getBoundingRect(this.boundingRect));
var _local2 = _local3.fromX;
while (_local2 <= _local3.toX) {
var _local1 = _local3.fromY;
while (_local1 <= _local3.toY) {
if (v.hitRect(this.tiles[_local2][_local1].rect)) {
this.tiles[_local2][_local1].push(v);
}
_local1++;
}
_local2++;
}
};
_global.v2d.CTileSystem.prototype.addSprite = function (s) {
var br = s.getBoundingRect(this.boundingRect);
if (br == undefined) {
} else if (br == "master") {
this.master.push(s);
} else {
var _local3 = this.selectTileCoords(br);
var _local2 = _local3.fromX;
while (_local2 <= _local3.toX) {
var _local1 = _local3.fromY;
while (_local1 <= _local3.toY) {
if ((_local2 >= 0) && (_local1 >= 0)) {
this.tiles[_local2][_local1].push(s);
}
_local1++;
}
_local2++;
}
}
};
_global.v2d.CTileSystem.prototype.selectTileCoords = function (rect) {
var _local1 = rect;
var _local2 = this;
_local1.standardize();
var fromX = Math.floor(_local1.x0 / _local2.tileWidth);
var toX = Math.floor(_local1.x1 / _local2.tileWidth);
var fromY = Math.floor(_local1.y0 / _local2.tileHeight);
var toY = Math.floor(_local1.y1 / _local2.tileHeight);
if (fromX > toX) {
var _local3 = fromX;
fromX = toX;
toX = _local3;
}
if (fromY > toY) {
var _local3 = fromY;
fromY = toY;
toY = _local3;
}
return({fromX:fromX, toX:toX, fromY:fromY, toY:toY});
};
_global.v2d.CTileSystem.prototype.getVectorsWithinRect = function (rect, bag) {
var sel = this.selectTileCoords(rect);
var result = bag;
if (!result) {
trace("getVectorsWithinRect: no bag");
result = new Array();
} else {
bag.splice(0, bag.length);
}
var i = sel.fromX;
while (i <= sel.toX) {
var j = sel.fromY;
while (j <= sel.toY) {
var _local3 = 0;
while (_local3 < this.tiles[i][j].length) {
var _local2 = this.tiles[i][j][_local3];
var exists = false;
var _local1 = 0;
while (_local1 < result.length) {
if (result[_local1] === _local2) {
exists = true;
break;
}
_local1++;
}
if (((!exists) && (_local2.props.getProp("active") != 0)) && (_local2.owner.props.getProp("active") != 0)) {
result.push(_local2);
}
_local3++;
}
j++;
}
i++;
}
var i = 0;
while (i < this.master.length) {
result.push(this.master[i]);
i++;
}
return(result);
};
_global.v2d.CTileSystem.prototype.loadLevel = function (level) {
this.clear();
var _local3 = 0;
while (_local3 < level.polys.length) {
var _local2 = level.polys[_local3];
var _local1 = 0;
while (_local1 < _local2.vectors.length) {
this.addVector(_local2.vectors[_local1]);
_local1++;
}
_local3++;
}
_local3 = 0;
while (_local3 < _global.v2d.sprites.sprites.length) {
var sprite = _global.v2d.sprites.sprites[_local3].engine;
if (sprite.team ne "player") {
this.addSprite(sprite);
}
_local3++;
}
};
_global.v2d.CSpriteSystem = function () {
var _local1 = this;
_local1._class = "CSpriteSystem";
_local1.sprites = new Array();
_local1.reset();
};
_global.v2d.CSpriteSystem.prototype.toString = function () {
return("[SpriteSystem]");
};
_global.v2d.CSpriteSystem.prototype.reset = function () {
var _local1 = _global;
var _local3 = this;
for (var _local2 in _local1.v2d.gfx.sprites) {
_local1.v2d.gfx.sprites[_local2].removeMovieClip();
}
_local3.sprites.splice(0, _local3.sprites.length);
_local3.nextId = 0;
};
_global.v2d.CSpriteSystem.prototype.createSprite = function (identifier) {
var _local1 = this;
var _local3 = identifier;
if (_local3 eq "") {
_local3 = "vector_engine_sprite_invisible";
}
_global.v2d.gfx.sprites.attachMovie(_local3, "s_" + _local1.nextId, _local1.nextId, engine);
var _local2 = _global.v2d.gfx.sprites["s_" + _local1.nextId];
_local1.sprites.push(_local2);
_local1.nextId++;
return(_local2);
};
_global.v2d.CSpriteSystem.prototype.moveSprites = function (dt) {
var _local2 = this;
var _local3 = dt;
var _local1 = 0;
while (_local1 < _local2.sprites.length) {
_local2.sprites[_local1].engine.move(_local3);
_local1++;
}
};
_global.v2d.CMain = function () {
var _local1 = this;
_local1._class = "CMain";
_local1.STATUS_INACTIVE = 0;
_local1.STATUS_RUNNING = 1;
_local1.STATUS_PAUSED = 2;
_local1.STATUS_GAMEOVER = 3;
_local1.status = _local1.STATUS_INACTIVE;
_local1.step = 0;
_local1.sleepSteps = 0;
_local1.stepTimeStamp = 0;
_local1.maxStepTime = 80;
_local1.targetScreen = undefined;
_local1.targetMarker = undefined;
_global.v2d.ready = true;
};
_global.v2d.CMain.prototype.loop = function () {
var _local1 = this;
if (_local1.sleepSteps > 0) {
_local1.sleepSteps--;
} else {
switch (_local1.status) {
case _local1.STATUS_RUNNING :
_local1.doStep();
return;
case _local1.STATUS_INACTIVE :
case _local1.STATUS_PAUSED :
_local1.stepTimeStamp = getTimer();
if (_local1.targetScreen ne "") {
_local1.doSetScreen();
}
return;
case _local1.GAMEOVER :
_local1.stepTimeStamp = getTimer();
}
}
};
_global.v2d.CMain.prototype.doStep = function () {
var _local2 = this;
_local2.step++;
_root.leved.debug.clear();
var _local1 = getTimer() - _local2.stepTimeStamp;
_local2.stepTimeStamp = getTimer();
if (_local1 > _local2.maxStepTime) {
_local1 = _local2.maxStepTime;
}
_global.v2d.sprites.moveSprites(_local1);
};
_global.v2d.CMain.prototype.setScreen = function (index, marker, pos, pause) {
var _local1 = this;
_local1.pause();
_local1.targetScreen = index;
_local1.targetMarker = marker;
_local1.targetPos = Number(pos);
_local1.targetPause = pause;
};
_global.v2d.CMain.prototype.doSetScreen = function () {
var _local1 = this;
_local1.step = 0;
_global.v2d.world.setLevel(_local1.targetScreen, _local1.targetMarker, _local1.targetPos);
_local1.targetScreen = undefined;
_local1.targetMarker = undefined;
_local1.targetPos = undefined;
if (!_local1.targetPause) {
_local1.run();
}
};
_global.v2d.CMain.prototype.resetScreen = function (entrance) {
this.pause();
this.step = 0;
_global.v2d.world.actLevel.init(entrance);
};
_global.v2d.CMain.prototype.levedResetScreen = function (entrance) {
_global.v2d.world.actLevel.updateObjectsByName();
_global.v2d.world.initProps();
this.resetScreen(entrance);
};
_global.v2d.CMain.prototype.run = function () {
var _local1 = this;
_local1.stepTimeStamp = getTimer();
_local1.status = _local1.STATUS_RUNNING;
};
_global.v2d.CMain.prototype.pause = function () {
this.status = this.STATUS_PAUSED;
};
_global.v2d.CMain.prototype.sleep = function (frames) {
this.sleepSteps = frames;
};
_global.v2d.CMain.prototype.startGame = function (pass) {
var _local1 = _global;
_local1.v2d.gfx = _root.gfx;
_local1.v2d.maxLevels = Math.max(_local1.v2d.gfx.bg._totalframes, _local1.v2d.gfx.fg._totalframes);
var _local2 = _local1.v2d.world.resolvePassword(pass);
if (pass != -1) {
_local1.v2d.world.players[0].setContinuePoint(_local2, "savepoint");
}
_local1.v2d.world.players[0].initNewContinue();
};
_global.v2d.CMain.prototype.exit = function () {
_global.v2d.respawn.executeJob("onResetWorld");
_root.gotoAndPlay("intro_play");
};
_global.v2d.CMain.prototype.toString = function () {
return(("[MainLoop (status: " + this.status) + ")]");
};
Symbol 153 MovieClip Frame 2
stop();
Symbol 156 MovieClip Frame 1
#initclip 1
_global.api = new Object();
_global.api.debug = new Object();
_global.api.debug.describe = function (o) {
var _local1 = o;
var _local2 = ("[DESCRIBE: " + _local1.toString()) + "]";
_local2 = _local2 + "\n---------------------------DESC-START";
for (var _local3 in _local1) {
_local2 = _local2 + (((newline + _local3) + ": ") + _local1[_local3]);
}
_local2 = _local2 + "\n---------------------------DESC-STOP";
return(_local2);
};
_global.api.snd = new Object();
_global.api.snd.lib = new Object();
_global.api.snd.load = function (name, url) {
var _local1 = new Sound();
if (url eq "") {
_local1.attachSound(name);
} else {
_local1.loadSound(url);
}
_global.api.snd.lib[name] = _local1;
};
_global.api.snd.play = function (name) {
_root.snd[name].gotoAndPlay(1);
};
_global.api.highscore = new Object();
_global.api.highscore.charTable = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz&=.";
_global.api.highscore.keystring = "whytheheckdoyouwasteyourtimehackingthishighscorelist";
_global.api.highscore.keystring2 = "AnotherKey4You2FindOut4815jiagIOm30JK";
_global.api.highscore.urlSubmit = "http://www.neodelight.com/v4/high_enter.php";
_global.api.highscore.initSession = function () {
var _local1 = this;
_local1.session = "";
while (_local1.session.length < 20) {
_local1.session = _local1.session + _local1.charTable.charAt(Math.round(Math.random() * (_local1.charTable.length - 1)));
}
_local1.charTableIndex = new Array();
var _local2 = 0;
while (_local2 < _local1.charTable.length) {
_local1.charTableIndex[_local1.charTable.charCodeAt(_local2)] = _local2;
_local2++;
}
};
_global.api.highscore.submit = function (pGame, pDisciple, pScore0, pScore1) {
var _local2 = this;
var _local1 = ("g=" + pGame) + "&";
_local1 = _local1 + (("d=" + pDisciple) + "&");
_local1 = _local1 + (("s0=" + pScore0) + "&");
_local1 = _local1 + (("s1=" + pScore1) + "&");
_local1 = _local1 + ("se=" + escape(session));
_local1 = _local1 + "&c=42";
var _local3 = (_local2.urlSubmit + "?s=") + escape(_local2.encrypt(_local2.encrypt(_local1, _local2.keystring), _local2.keystring2));
trace(_local3);
getURL (_local3, "_blank");
};
_global.api.highscore.encrypt = function (text, pKey) {
var _local2 = this;
var crypt = "";
var checkSum = 0;
var shift;
var _local3;
var _local1 = 0;
while (_local1 < text.length) {
char = _local2.charTableIndex[text.charCodeAt(_local1)];
shift = _local2.charTableIndex[pKey.charCodeAt(_local1 % pKey.length)];
_local3 = (char + shift) + checkSum;
_local3 = _local3 % _local2.charTable.length;
crypt = crypt + _local2.charTable.charAt(_local3);
checkSum = checkSum + _local3;
_local1++;
}
checkSum = checkSum % _local2.charTable.length;
return((crypt + "") + _local2.charTable.charAt(checkSum));
};
_global.api.highscore.initSession();
#endinitclip
_visible = false;
Symbol 160 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 1
_visible = false;
Symbol 174 Button
on (release) {
_root.gotoAndStop("intro");
}
Symbol 181 MovieClip Frame 1
startFrame = _parent._currentframe;
Symbol 181 MovieClip Frame 2
vol = (1 - ((_parent._currentFrame - startFrame) / (_parent._totalFrames - startFrame))) * 100;
if (vol < 0) {
vol = 0;
}
_parent.snd.setVolume(vol);
Symbol 181 MovieClip Frame 3
gotoAndPlay ("loop");
Symbol 182 MovieClip Frame 1
snd = new Sound(this);
snd.setVolume(100);
if (_root.reducedBranding) {
_parent.play();
} else {
_parent.stop();
}
Symbol 182 MovieClip Frame 123
stop();
_parent.play();
Symbol 188 Button
on (press) {
if (_root.leved.mode != _root.leved.MODE_ARROW) {
return(undefined);
}
_root.leved.selectObject(_parent.marker);
_root.leved.dragListener = this;
this.x = _root._xmouse;
this.y = _root._ymouse;
this.dragmode = "p1";
}
Symbol 191 Button
on (press) {
if (_root.leved.mode != _root.leved.MODE_ARROW) {
return(undefined);
}
_root.leved.selectObject(_parent.marker);
_root.leved.dragListener = this;
this.x = _root._xmouse;
this.y = _root._ymouse;
this.dragmode = "p0";
}
Symbol 192 Button
on (press) {
if (_root.leved.mode != _root.leved.MODE_ARROW) {
return(undefined);
}
_root.leved.selectObject(_parent.marker);
_root.leved.dragListener = this;
this.x = _root._xmouse;
this.y = _root._ymouse;
this.dragmode = "p0";
}
Symbol 193 MovieClip [leved_handle_marker] Frame 1
function drag() {
var newX = _root._xmouse;
var newY = _root._ymouse;
var rasterX = Number(_root.leved.rasterX);
var rasterY = Number(_root.leved.rasterY);
if (rasterX > 0) {
newX = Math.round(newX / rasterX) * rasterX;
}
if (rasterY > 0) {
newY = Math.round(newY / rasterY) * rasterY;
}
switch (this.dragMode) {
case "p0" :
with (_parent) {
marker.x0 = newX;
marker.y0 = newY;
}
break;
case "p1" :
with (_parent) {
marker.x1 = newX;
marker.y1 = newY;
}
}
_parent.marker.updateEditView();
}
Symbol 193 MovieClip [leved_handle_marker] Frame 2
stop();
Symbol 194 Button
on (press) {
if (_root.leved.mode != _root.leved.MODE_ARROW) {
return(undefined);
}
_root.leved.selectObject(_parent._parent.poly);
_root.leved.dragListener = this;
this.x = _root._xmouse;
this.y = _root._ymouse;
}
Symbol 195 MovieClip [leved_handle_poly] Frame 1
function drag() {
var _local1 = this;
var _local2 = _root;
var dx = (_local2._xmouse - _local1.x);
var _local3 = _local2._ymouse - _local1.y;
_local1.x = _local2._xmouse;
_local1.y = _local2._ymouse;
_parent._parent.poly.movePoly(dx, _local3);
_parent._parent.poly.updateEditView();
}
Symbol 196 Button
on (press) {
if (_root.leved.mode != _root.leved.MODE_ARROW) {
return(undefined);
}
this.lastClick = getTimer();
_root.leved.selectObject(_parent.vector);
_root.leved.dragListener = this;
}
Symbol 197 Button
on (press) {
if (_root.leved.mode != _root.leved.MODE_ARROW) {
return(undefined);
}
this.lastClick = getTimer();
_root.leved.selectObject(_parent.vector);
_root.leved.dragListener = this;
}
Symbol 198 MovieClip [leved_handle_vertex] Frame 1
function drag() {
var _local1 = _parent;
var _local3 = _root._xmouse;
var _local2 = _root._ymouse;
if (_local3 < 0) {
_local3 = 0;
}
if (_local2 < 0) {
_local2 = 0;
}
switch (_root.leved.alignMode) {
case "prev" :
if (Key.isDown(17)) {
if (Key.isDown(16)) {
_local3 = _local1.vector.prevVector.x0;
} else {
_local2 = _local1.vector.prevVector.y0;
}
}
break;
case "next" :
if (Key.isDown(17)) {
if (Key.isDown(16)) {
_local3 = _local1.vector.nextVector.x0;
} else {
_local2 = _local1.vector.nextVector.y0;
}
}
break;
case "rect" :
if (Key.isDown(17)) {
var alignX0 = _local1.vector.nextVector.x0;
var alignY0 = _local1.vector.prevVector.y0;
var alignX1 = _local1.vector.prevVector.x0;
var alignY1 = _local1.vector.nextVector.y0;
if (_global.v2d.math.p2pDistance(alignX0, alignY0, _root._xmouse, _root._ymouse) < _global.v2d.math.p2pDistance(alignX1, alignY1, _root._xmouse, _root._ymouse)) {
_local3 = alignX0;
_local2 = alignY0;
} else {
_local3 = alignX1;
_local2 = alignY1;
}
}
break;
default :
trace("unknown align mode: " + _root.leved.alignMode);
}
_local1._parent.poly.movePointTo(_local1.vector.id, _local3, _local2);
}
Symbol 198 MovieClip [leved_handle_vertex] Frame 2
stop();
Symbol 235 MovieClip Frame 2
if (_global.v2d.world.players[0].invincibleStat) {
gotoAndPlay ("invincible");
} else if (Math.random() < 0.99) {
gotoAndPlay ("loop");
}
Symbol 235 MovieClip Frame 19
gotoAndPlay ("loop");
Symbol 235 MovieClip Frame 23
if (_global.v2d.world.players[0].invincibleStat) {
gotoAndPlay ("invincible");
}
Symbol 240 MovieClip Frame 1
_rotation = (-1 * _parent._rotation);
Symbol 240 MovieClip Frame 73
stop();
Symbol 243 MovieClip [sprite_0] Frame 1
function blink() {
if (!_global.v2d.world.players[0].invincibleStat) {
gfx.gotoAndPlay("blink");
}
}
stop();
Symbol 243 MovieClip [sprite_0] Frame 2
_global.api.snd.play("die");
Symbol 243 MovieClip [sprite_0] Frame 72
stop();
Symbol 253 MovieClip [bird] Frame 1
stop();
Symbol 253 MovieClip [bird] Frame 2
_global.api.snd.play("die");
Symbol 253 MovieClip [bird] Frame 72
stop();
Symbol 263 MovieClip Frame 1
stop();
Symbol 269 Button
on (release) {
fscommand ("quit");
getURL (_root.moreGamesUrl, "_top");
}
Symbol 272 Button
on (release) {
getURL (_root.moreGamesUrl, "_top");
}
Symbol 275 MovieClip Frame 10
stop();
Symbol 279 Button
on (release) {
pass = "";
gotoAndPlay ("game");
}
Symbol 280 MovieClip Frame 1
this.preloaded = _root.getBytesLoaded();
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
percent = (_local2.getBytesLoaded() - _local1.preloaded) / (_local2.getBytesTotal() - _local1.preloaded);
percent = int(percent * 100);
_local1.bar._xscale = percent;
if (percent == 100) {
_local2.nextFrame();
}
};
Symbol 286 Button
on (release) {
nextFrame();
}
Symbol 294 Button
on (release) {
prevFrame();
}
Symbol 301 Button
on (release) {
getURL (_root.moreGamesUrl, "_top");
}
Symbol 317 MovieClip Frame 1
gotoAndStop(_root.version);
Symbol 318 MovieClip Frame 1
stop();
Symbol 319 Button
on (release) {
nextFrame();
}
Symbol 377 MovieClip Frame 1
stop();
fg.stop();
bg.stop();
Instance of Symbol 376 MovieClip in Symbol 377 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 395 Button
on (release) {
nextFrame();
}
Symbol 403 Button
on (release) {
_global.v2d.main.exit();
}
Symbol 409 Button
on (release) {
prevFrame();
}
Symbol 410 MovieClip Frame 1
stop();
Symbol 418 MovieClip Frame 1
stop();
Symbol 422 Button
on (release) {
_global.v2d.world.players[0].initNewContinue2();
gotoAndStop (1);
}
Symbol 423 Button
on (release) {
_global.v2d.main.exit();
}
Symbol 425 MovieClip Frame 1
stop();
Symbol 425 MovieClip Frame 2
stop();
Symbol 426 MovieClip Frame 1
this.update = function () {
var _local1 = this;
_local1.updateLives();
_local1.updateScore();
_local1.updateLevel();
_local1.updatePass();
_local1.updateCoins();
};
this.updateLives = function () {
var _local1 = this;
_local1.actLives = _global.v2d.world.players[0].actLives;
if (l < 5) {
_local1.lives.gotoAndStop(_local1.actLives + 1);
} else {
_local1.lives.gotoAndStop(6);
}
};
this.updateScore = function () {
this.actScore = _global.v2d.world.players[0].score;
};
this.updateCoins = function () {
this.actCoins = _global.v2d.world.players[0].coins;
};
this.updateLevel = function () {
this.actLevel = "#" + _global.v2d.world.actLevel.id;
};
this.updatePass = function () {
if (_global.v2d.world.players[0].actPass eq "") {
this.actPass = "";
} else {
this.actPass = "password: " + _global.v2d.world.players[0].actPass;
}
};
this.extraLife = function () {
extraLifeAnim.gotoAndPlay(2);
};
this.gameOver = function () {
gameOverMc.gotoAndPlay(2);
};
this.actLives = 0;
this.actScore = 0;
this.update();
Instance of Symbol 391 MovieClip in Symbol 426 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 434 Button
on (release) {
_global.v2d.main.exit();
}
Symbol 438 Button
on (release) {
getURL (_root.nextEpisodeUrl, "_top");
}
Symbol 441 MovieClip Frame 1
gotoAndStop(_root.version);