Frame 1
function ssClick() {
NewgroundsAPI.loadMySite();
}
function lowQuality() {
_root._quality = "LOW";
}
function medQuality() {
_root._quality = "MEDIUM";
}
function highQuality() {
_root._quality = "BEST";
}
function mainMenu() {
if (_root._currentframe >= 2) {
_root.gotoAndPlay(1);
}
}
stop();
NewgroundsAPI.connectMovie(10435);
NewgroundsAPI.addCustomLink(4, "Armor Games");
NewgroundsAPI.addCustomLink(5, "Coin");
NewgroundsAPI.addCustomEvent(1, "PlayGame");
NewgroundsAPI.addCustomEvent(2, "ReplayGame");
NewgroundsAPI.addCustomEvent(3, "RefCoin");
var music_on = true;
Button.prototype.tabEnabled = false;
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
var copyrightNotice = new ContextMenuItem("\u00A9 2009 Silver Stitch Films", ssClick);
var conMainMenu = new ContextMenuItem("Return to Menu", mainMenu);
var conLowQuality = new ContextMenuItem("Low Quality", lowQuality);
var conMedQuality = new ContextMenuItem("Medium Quality", medQuality);
var conHighQuality = new ContextMenuItem("High Quality", highQuality);
myMenu.customItems.push(conLowQuality, conMedQuality, conHighQuality, conMainMenu, copyrightNotice);
_root.menu = myMenu;
Frame 2
stop();
var gotYELLOW = false;
var gotBLUE = false;
var gotGREEN = false;
var gotRED = false;
var gotPURPLE = false;
var gotSTAR = false;
var leaving_ship = false;
var entering_ship = false;
var leaving_train = false;
var entering_train = false;
var TREE_green = false;
var TREE_red = false;
var TREE_blue = false;
var TREE_yellow = false;
var TREE_purple = false;
var A1_lights_on = false;
var A2_sky_on = false;
var A2_sever_side = false;
var B3_power_off = false;
var B5_tree_grow = false;
var B11_night_RED = false;
var B11_night_PURPLE = false;
var B11_night_GREEN = false;
var B11_night_BLUE = false;
var B11_night_YELLOW = false;
var B11_night_prep = false;
var B11_night_rev = false;
var C4_door_open = false;
var C6_stand_up = false;
var C6_stand_out = false;
var C7_started_once = false;
var C8_bot_kill = false;
var C11_lights_on = false;
var D1_ivy_grow = false;
var D2_lights_on = false;
var D2_bot_guard = false;
var D2_bot_dead = false;
var D3_ice_grow = false;
var D3_mech_open = false;
var D3_mech_un = false;
var D5_lights_on = false;
var D6_ivy_down = false;
var D6_balls_out = false;
var D8_lights_on = false;
var D9_bridge_down = false;
var D9_pin_down = false;
var D9_lights_on = false;
var D10_santa_make = false;
var D10_cave_presy = false;
var D11_ivy_grow = false;
var E3_hatch_open = false;
var E3_gate_locked = false;
var E3_gate_open = false;
var E4_gate_open = false;
var E5_gate_open = false;
var E5_pipe_pop = false;
var E6_presy_drop = false;
var E6_lights_on = false;
var E7_pillar_unlocked = false;
var E7_pillar_open = false;
var E7_tinsel_grow = false;
var E9_lights_down = false;
Frame 3
stop();
Frame 4
stop();
Frame 5
stop();
Frame 10
stop();
Frame 19
var gotYELLOW = false;
var gotBLUE = false;
var gotGREEN = false;
var gotRED = false;
var gotPURPLE = false;
var gotSTAR = false;
var leaving_ship = false;
var entering_ship = false;
var leaving_train = false;
var entering_train = false;
var TREE_green = false;
var TREE_red = false;
var TREE_blue = false;
var TREE_yellow = false;
var TREE_purple = false;
var A1_lights_on = false;
var A2_sky_on = false;
var A2_sever_side = false;
var B3_power_off = false;
var B5_tree_grow = false;
var B11_night_RED = false;
var B11_night_PURPLE = false;
var B11_night_GREEN = false;
var B11_night_BLUE = false;
var B11_night_YELLOW = false;
var B11_night_prep = false;
var B11_night_rev = false;
var C4_door_open = false;
var C6_stand_up = false;
var C6_stand_out = false;
var C7_started_once = false;
var C8_bot_kill = false;
var C11_lights_on = false;
var D1_ivy_grow = false;
var D2_lights_on = false;
var D2_bot_guard = false;
var D2_bot_dead = false;
var D3_ice_grow = false;
var D3_mech_open = false;
var D3_mech_un = false;
var D5_lights_on = false;
var D6_ivy_down = false;
var D6_balls_out = false;
var D8_lights_on = false;
var D9_bridge_down = false;
var D9_pin_down = false;
var D9_lights_on = false;
var D10_santa_make = false;
var D10_cave_presy = false;
var D11_ivy_grow = false;
var E3_hatch_open = false;
var E3_gate_locked = false;
var E3_gate_open = false;
var E4_gate_open = false;
var E5_gate_open = false;
var E5_pipe_pop = false;
var E6_presy_drop = false;
var E6_lights_on = false;
var E7_pillar_unlocked = false;
var E7_pillar_open = false;
var E7_tinsel_grow = false;
var E9_lights_down = false;
Frame 20
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 222 MovieClip "player" in Frame 20
onClipEvent (load) {
var player = _root.player.pl_col;
var xspeed = 0;
var yspeed = 0;
var max_yspeed = 18;
var gravity = 2;
var walk_speed = 6;
var can_jump = false;
var jump_power = 20;
var jump_walk = true;
var ghost_x = this._x;
var ghost_y = this._y;
var falling = false;
var grounded = false;
var nohit = false;
var aniScale = _xscale;
var respawnX = _x;
var respawnY = _y;
var disabled = false;
var killed = false;
var removed = false;
var unremoved = false;
var change_form = 0;
var change_v = 0;
}
onClipEvent (enterFrame) {
if (!removed) {
if (!disabled) {
if (killed == true) {
this._x = respawnX;
this._y = respawnY;
killed = false;
yspeed = 0;
_xscale = aniScale;
}
if (Key.isDown(65) or Key.isDown(37)) {
if (jump_walk or can_jump) {
xspeed = -walk_speed;
_xscale = (-aniScale);
}
}
if (Key.isDown(68) or Key.isDown(39)) {
if (jump_walk or can_jump) {
xspeed = walk_speed;
_xscale = aniScale;
}
}
if (((Key.isDown(87) or Key.isDown(38)) and can_jump) and grounded) {
yspeed = yspeed - jump_power;
can_jump = false;
_root.p_position = 3;
this.gotoAndStop(3);
grounded = false;
}
if (!grounded) {
yspeed = yspeed + gravity;
}
ghost_x = this._x;
ghost_y = this._y;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
xspeed = 0;
if (yspeed > 1) {
if (falling == false) {
falling = true;
}
}
}
a = 1;
while (a <= 10) {
if (player.hitTest(_root["WALL" + a]) == true) {
this._x = ghost_x;
xspeed = 0;
}
a++;
}
a = 1;
while (a <= 10) {
if (player.hitTest(_root["CEIL" + a]) == true) {
if (falling == false) {
yspeed = 0;
falling = true;
}
}
a++;
}
a = 1;
while (a <= 10) {
if (player.hitTest(_root["PLAT" + a]) == true) {
if (falling == true) {
yspeed = 0;
this._y = _root["PLAT" + a]._y - _root["PLAT" + a]._height;
grounded = true;
can_jump = true;
falling = false;
}
}
a++;
}
if (grounded == true) {
nohit = true;
a = 1;
while (a <= 10) {
this._y = this._y + 2;
if (player.hitTest(_root["PLAT" + a]) == true) {
nohit = false;
}
this._y = this._y - 2;
a++;
}
if (nohit == true) {
yspeed = yspeed + gravity;
grounded = false;
can_jump = false;
falling = true;
}
}
if (player.hitTest(_root.PUSH) == true) {
this._x = this._x + (walk_speed * 2);
}
if ((!grounded) and (!falling)) {
_root.p_position = 3;
this.gotoAndStop(3);
}
if ((!grounded) and falling) {
_root.p_position = 5;
this.gotoAndStop(5);
}
if ((_currentframe == 3) and grounded) {
_root.p_position = 1;
gotoAndStop (1);
}
if (((((((((!Key.isDown(87)) and (!Key.isDown(38))) and (!Key.isDown(65))) and (!Key.isDown(37))) and (!Key.isDown(68))) and (!Key.isDown(39))) and (!Key.isDown(83))) and (!Key.isDown(40))) and grounded) {
_root.p_position = 1;
gotoAndStop (1);
}
if (grounded) {
if (Key.isDown(68) or Key.isDown(39)) {
_root.p_position = 2;
this.gotoAndStop(2);
} else if (Key.isDown(65) or Key.isDown(37)) {
_root.p_position = 2;
this.gotoAndStop(2);
} else if (Key.isDown(83) or Key.isDown(40)) {
_root.p_position = 4;
gotoAndStop (4);
}
}
a = 1;
while (a <= 10) {
if (player.hitTest(_root["TRIG" + a]) == true) {
_root["TRIG" + a].activate = true;
}
a++;
}
a = 1;
while (a <= 10) {
if (player.hitTest(_root["TELE" + a]) == true) {
_root["TELE" + a].activate = true;
}
a++;
}
a = 1;
while (a <= 10) {
if (player.hitTest(_root["ITEM" + a]) == true) {
_root["ITEM" + a].activate = true;
}
a++;
}
} else if (removed) {
if (!unremoved) {
this._x = -100;
this._y = -100;
} else {
this._x = respawnX;
this._y = respawnY;
removed = false;
unremoved = false;
}
}
}
Instance of Symbol 225 MovieClip "TELE1" in Frame 20
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE2" in Frame 20
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(21);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE3" in Frame 20
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE4" in Frame 20
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
activate = false;
}
}
Frame 21
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 21
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(20);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 21
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(22);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE7" in Frame 21
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
_root.gotoAndPlay(24);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE8" in Frame 21
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
activate = false;
}
}
Frame 22
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE1" in Frame 22
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(21);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE2" in Frame 22
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE3" in Frame 22
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE4" in Frame 22
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
_root.gotoAndPlay(26);
activate = false;
}
}
Frame 23
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 298 MovieClip "ITEM1" in Frame 23
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
this.touched = true;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 23
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(20);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 23
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(24);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE7" in Frame 23
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE8" in Frame 23
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
activate = false;
}
}
Frame 24
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE1" in Frame 24
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(23);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE2" in Frame 24
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(25);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE3" in Frame 24
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE4" in Frame 24
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
_root.gotoAndPlay(21);
activate = false;
}
}
Frame 25
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 25
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(24);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 25
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE7" in Frame 25
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE8" in Frame 25
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
activate = false;
}
}
Frame 26
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE1" in Frame 26
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(27);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE2" in Frame 26
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(60);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE3" in Frame 26
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
_root.gotoAndPlay(22);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE4" in Frame 26
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
activate = false;
}
}
Frame 27
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 27
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(28);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 27
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(26);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE7" in Frame 27
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE8" in Frame 27
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
activate = false;
}
}
Frame 28
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE1" in Frame 28
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(29);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE2" in Frame 28
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(27);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE3" in Frame 28
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE4" in Frame 28
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
_root.gotoAndPlay(33);
activate = false;
}
}
Frame 29
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 29
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(30);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 29
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(28);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE7" in Frame 29
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE8" in Frame 29
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
activate = false;
}
}
Frame 30
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 30
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 30
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(29);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE8" in Frame 30
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
_root.gotoAndPlay(31);
activate = false;
}
}
Frame 31
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 31
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(34);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 31
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(32);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE7" in Frame 31
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
_root.gotoAndPlay(30);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE8" in Frame 31
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
activate = false;
}
}
Frame 32
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 32
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(31);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 32
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(33);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE7" in Frame 32
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
activate = false;
}
}
Frame 33
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 518 MovieClip "ITEM1" in Frame 33
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
this.touched = true;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 33
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(32);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 33
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE7" in Frame 33
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
_root.gotoAndPlay(28);
activate = false;
}
}
Frame 34
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 34
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(36);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 34
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(31);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE7" in Frame 34
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE9" in Frame 34
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(35);
activate = false;
}
}
Frame 35
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 35
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(53);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 35
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 30;
_root.gotoAndPlay(34);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE7" in Frame 35
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
_root.gotoAndPlay(28);
activate = false;
}
}
Frame 36
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 36
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(36);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 36
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(34);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE7" in Frame 36
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
_root.gotoAndPlay(37);
activate = false;
}
}
Frame 37
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 37
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 37
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 30;
_root.gotoAndPlay(38);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE7" in Frame 37
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
_root.gotoAndPlay(39);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE8" in Frame 37
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
_root.gotoAndPlay(36);
activate = false;
}
}
Frame 38
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 38
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(37);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 38
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE7" in Frame 38
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE8" in Frame 38
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
_root.gotoAndPlay(34);
activate = false;
}
}
Frame 39
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 39
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(46);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 39
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 30;
_root.gotoAndPlay(40);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE8" in Frame 39
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
_root.gotoAndPlay(37);
activate = false;
}
}
Frame 40
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 40
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(39);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 40
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(41);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE7" in Frame 40
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
_root.gotoAndPlay(43);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE8" in Frame 40
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
activate = false;
}
}
Frame 41
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 41
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(40);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 41
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 30;
_root.gotoAndPlay(42);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE7" in Frame 41
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
_root.gotoAndPlay(44);
activate = false;
}
}
Frame 42
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 694 MovieClip "ITEM1" in Frame 42
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
this.touched = true;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 42
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(41);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 42
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE7" in Frame 42
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
_root.gotoAndPlay(45);
activate = false;
}
}
Frame 43
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 43
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(48);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 43
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 30;
_root.gotoAndPlay(44);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE7" in Frame 43
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE8" in Frame 43
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
_root.gotoAndPlay(40);
activate = false;
}
}
Frame 44
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 44
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(43);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 44
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(45);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE8" in Frame 44
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
_root.gotoAndPlay(41);
activate = false;
}
}
Frame 45
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 45
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(44);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 45
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 30;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE8" in Frame 45
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
_root.gotoAndPlay(42);
activate = false;
}
}
Frame 46
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 46
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(47);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 46
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(39);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE7" in Frame 46
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
_root.gotoAndPlay(49);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE8" in Frame 46
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
activate = false;
}
}
Frame 47
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 47
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(52);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 47
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 30;
_root.gotoAndPlay(46);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE7" in Frame 47
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
activate = false;
}
}
Frame 48
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 48
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(49);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 48
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(43);
activate = false;
}
}
Instance of Symbol 776 MovieClip "TRIG1" in Frame 48
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
if (_root.entering_ship == false) {
_root.player.disabled = true;
_root.entering_ship = true;
_root.OVER.gotoAndPlay(2);
}
activate = false;
}
}
Frame 49
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 49
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(50);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 49
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 30;
_root.gotoAndPlay(48);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE8" in Frame 49
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
_root.gotoAndPlay(46);
activate = false;
}
}
Frame 50
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 50
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 50
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(49);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE7" in Frame 50
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
_root.gotoAndPlay(51);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE8" in Frame 50
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
activate = false;
}
}
Frame 51
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 51
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 30;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE7" in Frame 51
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE8" in Frame 51
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
_root.gotoAndPlay(50);
activate = false;
}
}
Frame 52
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 52
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(47);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE8" in Frame 52
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
activate = false;
}
}
Instance of Symbol 776 MovieClip "TRIG1" in Frame 52
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
if (_root.A2_sky_on == true) {
if (_root.entering_train == false) {
_root.player.disabled = true;
_root.entering_train = true;
_root.OVER.gotoAndPlay(2);
}
}
activate = false;
}
}
Frame 53
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 53
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(54);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 53
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(35);
activate = false;
}
}
Frame 54
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 54
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(55);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 54
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(53);
activate = false;
}
}
Instance of Symbol 776 MovieClip "TRIG1" in Frame 54
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
if (_root.E3_gate_locked == false) {
_root.GATE.gotoAndPlay(2);
_root.E3_gate_locked = true;
}
activate = false;
}
}
Frame 55
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
_root.PUSH._visible = false;
Instance of Symbol 225 MovieClip "TELE5" in Frame 55
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(56);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 55
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(54);
activate = false;
}
}
Frame 56
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 969 MovieClip "ITEM1" in Frame 56
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
this.touched = true;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 56
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 56
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(55);
activate = false;
}
}
Frame 57
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 57
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
_root.gotoAndPlay(58);
activate = false;
}
}
Instance of Symbol 776 MovieClip "TRIG1" in Frame 57
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
if (_root.leaving_ship == false) {
_root.player.disabled = true;
_root.leaving_ship = true;
_root.OVER.gotoAndPlay(2);
}
activate = false;
}
}
Frame 58
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 1053 MovieClip "ITEM1" in Frame 58
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
this.touched = true;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 58
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(57);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 58
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
activate = false;
}
}
Frame 59
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 1098 MovieClip "ITEM2" in Frame 59
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
this.touched = true;
activate = false;
}
}
Instance of Symbol 776 MovieClip "TRIG1" in Frame 59
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
if (_root.leaving_train == false) {
_root.player.disabled = true;
_root.leaving_train = true;
_root.OVER.gotoAndPlay(2);
}
activate = false;
}
}
Frame 60
stop();
a = 1;
while (a <= 10) {
_root["WALL" + a]._visible = false;
_root["CEIL" + a]._visible = false;
_root["PLAT" + a]._visible = false;
_root["TELE" + a]._visible = false;
_root["TRIG" + a]._visible = false;
a++;
}
Instance of Symbol 225 MovieClip "TELE5" in Frame 60
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 590;
_root.gotoAndPlay(26);
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE6" in Frame 60
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._x = 10;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE7" in Frame 60
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 475;
activate = false;
}
}
Instance of Symbol 225 MovieClip "TELE8" in Frame 60
onClipEvent (load) {
var activate = false;
}
onClipEvent (enterFrame) {
if (activate == true) {
_root.player._y = 25;
activate = false;
}
}
Symbol 63 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 65 MovieClip Frame 40
stop();
Symbol 76 Button
on (release) {
startMovie();
}
Symbol 77 MovieClip Frame 1
function timerHandler() {
if (!loadingComplete) {
var _local4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * _local4;
if (_local4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop ("loaded");
}
return(undefined);
}
}
dt = getTimer() - time;
time = time + dt;
frameAccum = frameAccum + dt;
var _local3 = 0;
while ((frameAccum >= FRAME_TIME) && (_local3 < MAX_FRAME_SKIP)) {
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
(frameAccum = frameAccum - FRAME_TIME);
_local3++;
}
updateAfterEvent();
}
function advanceFrame(clip, recurse, loop) {
if (!clip) {
return(undefined);
}
clip.stop();
if (clip._currentframe == clip._totalframes) {
if (loop) {
clip.gotoAndStop(1);
}
} else {
clip.nextFrame();
}
if (recurse) {
for (childName in clip) {
if (typeof(clip[childName]) == "movieclip") {
advanceFrame(clip[childName], recurse, loop);
}
}
}
}
function startMovie() {
clearInterval(intervalId);
_root.play();
}
_root.stop();
stop();
var FRAME_TIME = 33.3333333333333;
var AUTO_PLAY = false;
var MAX_FRAME_SKIP = 5;
var loadingComplete;
var intervalId;
var time;
var frameAccum;
loadingComplete = false;
intervalId = setInterval(this, "timerHandler", FRAME_TIME / 2);
frameAccum = 0;
time = getTimer();
timerHandler();
Symbol 82 Button
on (release) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 87 Button
on (release) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 89 MovieClip Frame 1
function startAd(ngad_url) {
trace("opening " + ngad_url);
System.security.allowDomain("70.87.128.99");
System.security.allowInsecureDomain("70.87.128.99");
System.security.allowDomain("ads.shizmoo.com");
System.security.allowInsecureDomain("ads.shizmoo.com");
System.security.allowDomain("www.cpmstar.com");
System.security.allowInsecureDomain("www.cpmstar.com");
System.security.allowDomain("server.cpmstar.com");
System.security.allowInsecureDomain("server.cpmstar.com");
var ngads_redirect = new XML();
ngads_redirect.ignoreWhite = true;
ngads_redirect.onLoad = function (success) {
trace("[NEWGROUNDS FLASH ADS] :: You may get a 'Security Sandbox Violation' ... this is normal, do not freak out!");
if (success) {
ng_ad.loadMovie(ngads_redirect.toString(), "GET");
}
};
ngads_redirect.load(ngad_url);
}
if (NewgroundsAPI.getAdURL()) {
startAd(NewgroundsAPI.getAdURL());
}
NewgroundsAPI.onAdsApproved = function (ad_url) {
startAd(ad_url);
};
stop();
Symbol 92 Button
on (press) {
NewgroundsAPI.loadMySite();
}
Symbol 93 Button
on (press) {
NewgroundsAPI.logCustomEvent("RefCoin");
NewgroundsAPI.loadCustomLink("Coin");
}
Symbol 1107 MovieClip [__Packages.NewgroundsAPI] Frame 0
class NewgroundsAPI
{
static var tracker_id, host, version, debug, error_format, header_format, normal_format, link_format;
function NewgroundsAPI () {
}
static function connectMovie(id) {
if (!id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.connectMovie(id:Number)");
} else if (!tracker_id) {
SendMessage("Connecting to API gateway...");
tracker_id = id;
host = _url.split("/")[2].toLowerCase();
if (host.length < 1) {
host = "localhost";
}
var _local2 = new Object();
SendEvent(MOVIE_VIEWS);
}
}
static function setMovieVersion(movie_version) {
if (!movie_version) {
SendError("Missing required 'version' in NewgroundsAPI.setMovieVersion(version:String)");
} else {
version = movie_version;
}
}
static function debugMode() {
debug = true;
}
static function addCustomEvent(stat_id, stat_name) {
if (!stat_id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)");
} else if (!stat_name) {
SendError("Missing required 'event_name' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)");
} else {
custom_events[stat_name] = CUSTOM_STATS + stat_id;
SendMessage("Created custom event: " + stat_name);
}
}
static function addCustomLink(stat_id, stat_name) {
if (!stat_id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)");
} else if (!stat_name) {
SendError("Missing required 'link_name' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)");
} else {
custom_links[stat_name] = CUSTOM_STATS + stat_id;
SendMessage((("Created custom link " + stat_id) + ": ") + stat_name);
}
}
static function loadMySite() {
SendLink(AUTHOR_SITE);
}
static function loadNewgrounds(special) {
if (special) {
var _local1 = {page:special};
}
SendLink(NEWGROUNDS, _local1);
}
static function logCustomEvent(event_name) {
if (!event_name) {
SendError("Missing required 'event_name' parameter in NewgroundsAPI.logCustomEvent(event_name:String)");
} else if (!custom_events[event_name]) {
SendError("Attempted to log undefined custom event: " + event_name);
} else {
SendEvent(custom_events[event_name]);
}
}
static function loadCustomLink(link_name) {
if (!link_name) {
SendError("Missing required 'link_name' parameter in NewgroundsAPI.loadCustomLink(link_name:String)");
} else if (!custom_links[link_name]) {
SendError("Attempted to open undefined custom link: " + link_name);
} else {
SendLink(custom_links[link_name]);
}
}
static function getAdURL() {
return(movie_options.ad_url);
}
static function getMovieURL() {
if (movie_options.movie_url) {
return(movie_options.movie_url);
}
return("Newgrounds.com");
}
static function getNewVersionURL() {
return((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + NEW_VERSION);
}
static function SendEvent(id) {
SendStat(id, false);
}
static function SendLink(id, extra) {
SendStat(id, true, extra);
}
static function ReadGatewayData(params) {
for (var _local2 in params) {
params[_local2] = unescape(params[_local2]);
movie_options[_local2] = params[_local2];
}
if (params.settings_loaded) {
SendMessage("You have successfully connected to the Newgrounds API gateway!");
SendMessage(("Movie Identified as '" + movie_options.movie_name) + "'");
if (movie_options.message) {
SendMessage(movie_options.message);
}
if (movie_options.ad_url) {
SendMessage("Your movie has been approved to run Flash Ads");
onAdsApproved(movie_options.ad_url);
}
if (movie_options.movie_version and (movie_options.movie_version.toString() != version.toString())) {
SendMessage("WARNING: The movie version configured in your API settings does not match this movie's version!");
onNewVersionAvailable(movie_options.movie_version, getMovieURL(), getNewVersionURL());
}
if (movie_options.deny_host) {
SendMessage("You have blocked 'localHost' in your API settings.");
SendMessage("If you wish to test your movie you will need to remove this block.");
onDenyHost(host, getMovieURL(), getNewVersionURL());
}
if (movie_options.request_portal_url == 1) {
var _local4 = (((GATEWAY_URL + "?&id=") + tracker_id) + "&portal_url=") + escape(_url);
var _local3 = new XML();
_local3.ignoreWhite = true;
_local3.load(_local4);
}
} else if (!movie_options.settings_loaded) {
SendError("Could not establish connection to the API gateway.");
}
}
static function SendStat(stat_id, open_in_browser, extra) {
if (!tracker_id) {
SendError("API calls cannot be made without a valid movie id.");
SendError("Did you remember to add the \"NewgroundsAPI.connectMovie()\" code?");
} else {
var _local7 = (((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + stat_id;
for (var _local9 in extra) {
_local7 = _local7 + ((("&" + escape(_local9)) + "=") + escape(extra[_local9]));
}
trace(_local7);
if (debug) {
_local7 = _local7 + "&debug=1";
}
if (open_in_browser) {
getURL (_local7, "_blank");
} else {
var _local10 = new XML();
_local10.ignoreWhite = true;
_local10.onLoad = function (success) {
var _local6 = new Object();
var _local3 = 0;
while (_local3 < this.firstChild.childNodes.length) {
var _local4 = this.firstChild.childNodes[_local3];
var _local5 = _local4.nodeName;
var _local2 = _local4.attributes.value;
if (_local2 == Number(_local2)) {
_local2 = Number(_local2);
}
_local6[_local5] = _local2;
_local3++;
}
NewgroundsAPI.ReadGatewayData(_local6);
};
_local10.load(_local7);
}
}
}
static function SendError(msg) {
trace("[NEWGROUNDS API ERROR] :: " + msg);
}
static function SendMessage(msg) {
trace("[NEWGROUNDS API] :: " + msg);
}
static function InitTextFormats() {
if (!error_format) {
error_format = new TextFormat();
error_format.font = "Arial Black";
error_format.size = 48;
error_format.color = 16711680 /* 0xFF0000 */;
}
if (!header_format) {
header_format = new TextFormat();
header_format.font = "Arial Black";
header_format.size = 24;
header_format.color = 16777215 /* 0xFFFFFF */;
}
if (!normal_format) {
normal_format = new TextFormat();
normal_format.font = "Arial";
normal_format.bold = true;
normal_format.size = 12;
normal_format.color = 16777215 /* 0xFFFFFF */;
}
if (!link_format) {
link_format = new TextFormat();
link_format.color = 16776960 /* 0xFFFF00 */;
link_format.underline = true;
}
}
static function onNewVersionAvailable(version, movie_url, redirect_url) {
InitTextFormats();
var _local2 = new Object();
_local2.x = Stage.width / 2;
_local2.y = Stage.height / 2;
_root.createEmptyMovieClip("NGAPI_new_version_overlay", _root.getNextHighestDepth());
_root.NGAPI_new_version_overlay.lineStyle(1, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(0, 70);
_root.NGAPI_new_version_overlay.moveTo(-10, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, -10);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.lineStyle(10, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(51);
_root.NGAPI_new_version_overlay.moveTo(_local2.x - 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.createEmptyMovieClip("exit", 1000);
_root.NGAPI_new_version_overlay.exit.lineStyle(2, 39423, 100);
_root.NGAPI_new_version_overlay.exit.beginFill(0, 50);
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 210, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.endFill();
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 214, _local2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 226, _local2.y - 94);
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 226, _local2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 214, _local2.y - 94);
_root.NGAPI_new_version_overlay.exit.onMouseUp = function () {
if (_root.NGAPI_new_version_overlay.exit.hitTest(_root._xmouse, _root._ymouse)) {
_root.NGAPI_new_version_overlay.removeMovieClip();
}
};
var _local3 = (("Version " + version) + " is now available at:") + newline;
var _local5 = _local3.length;
_local3 = _local3 + movie_url;
var _local4 = _local3.length;
_root.NGAPI_new_version_overlay.createTextField("mouseblocker", 99, -10, -10, 1000, 1000);
_root.NGAPI_new_version_overlay.createTextField("newversion", 100, _local2.x - 210, _local2.y - 90, 400, 80);
_root.NGAPI_new_version_overlay.newversion.text = "New Version Available!";
_root.NGAPI_new_version_overlay.newversion.setTextFormat(header_format);
_root.NGAPI_new_version_overlay.createTextField("message", 101, (Stage.width - 400) / 2, Stage.height / 2, 400, 40);
_root.NGAPI_new_version_overlay.message.text = _local3;
_root.NGAPI_new_version_overlay.message.multiline = true;
_root.NGAPI_new_version_overlay.message.wordWrap = true;
_root.NGAPI_new_version_overlay.message.html = true;
_root.NGAPI_new_version_overlay.message.setTextFormat(normal_format);
link_format.url = redirect_url;
_root.NGAPI_new_version_overlay.message.setTextFormat(_local5, _local4, link_format);
}
static function onDenyHost(hostname, movie_url, redirect_url) {
InitTextFormats();
_root.createEmptyMovieClip("NGAPI_deny_host_overlay", _root.getNextHighestDepth());
_root.NGAPI_deny_host_overlay.lineStyle(20, 0, 100);
_root.NGAPI_deny_host_overlay.beginFill(6684672);
_root.NGAPI_deny_host_overlay.moveTo(0, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, 0);
_root.NGAPI_deny_host_overlay.endFill();
var _local2 = ("This movie has not been approved for use on " + hostname) + ".";
_local2 = _local2 + "\r\rFor an aproved copy, please visit:\r";
var _local4 = _local2.length;
_local2 = _local2 + movie_url;
var _local3 = _local2.length;
_root.NGAPI_deny_host_overlay.createTextField("mousekill", 100, 0, 0, Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.createTextField("error", 101, (Stage.width - 400) / 2, (Stage.height / 2) - 100, 400, 200);
_root.NGAPI_deny_host_overlay.error.text = "ERROR!";
_root.NGAPI_deny_host_overlay.error.setTextFormat(error_format);
_root.NGAPI_deny_host_overlay.createTextField("message", 102, (Stage.width - 400) / 2, Stage.height / 2, 400, 200);
_root.NGAPI_deny_host_overlay.message.text = _local2;
_root.NGAPI_deny_host_overlay.message.multiline = true;
_root.NGAPI_deny_host_overlay.message.wordWrap = true;
_root.NGAPI_deny_host_overlay.message.html = true;
_root.NGAPI_deny_host_overlay.message.setTextFormat(normal_format);
link_format.url = redirect_url;
_root.NGAPI_deny_host_overlay.message.setTextFormat(_local4, _local3, link_format);
}
static function isInstalled() {
return(true);
}
static function onAdsApproved(ad_url) {
}
static var movie_options = new Object();
static var custom_events = new Object();
static var custom_links = new Object();
static var MOVIE_VIEWS = 1;
static var AUTHOR_SITE = 2;
static var NEWGROUNDS = 3;
static var NEW_VERSION = 4;
static var CUSTOM_STATS = 50;
static var GATEWAY_URL = "http://www.ngads.com/gateway.php";
}
Symbol 109 Button
on (release) {
NewgroundsAPI.logCustomEvent("PlayGame");
_root.gotoAndPlay(3);
}
Symbol 113 Button
on (press) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 114 Button
on (press) {
NewgroundsAPI.loadCustomLink("Armor Games");
}
Symbol 118 MovieClip Frame 10
stop();
Symbol 120 Button
on (press) {
gotoAndPlay (4);
}
Symbol 125 MovieClip Frame 45
stop();
Symbol 128 MovieClip Frame 6030
gotoAndPlay (1);
Symbol 128 MovieClip Frame 6031
stop();
Symbol 130 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 3
gotoAndStop (1);
Symbol 132 MovieClip Frame 10
stop();
Symbol 133 Button
on (press) {
gotoAndPlay (5);
}
Symbol 138 MovieClip Frame 45
stop();
Symbol 140 MovieClip Frame 10
stop();
Symbol 141 Button
on (press) {
gotoAndPlay (20);
}
Symbol 144 MovieClip Frame 25
stop();
Symbol 147 MovieClip Frame 10
stop();
Symbol 150 MovieClip Frame 25
stop();
Symbol 156 Button
on (release) {
NewgroundsAPI.logCustomEvent("ReplayGame");
_root.gotoAndStop(2);
}
Symbol 158 MovieClip Frame 40
stop();
Symbol 198 MovieClip Frame 11
gotoAndPlay (7);
Symbol 208 MovieClip Frame 9
gotoAndPlay (6);
Symbol 221 MovieClip Frame 12
gotoAndPlay (5);
Symbol 222 MovieClip Frame 1
if (_root.debugMode == false) {
plyr_debug.gotoAndStop(2);
} else {
plyr_debug.gotoAndStop(1);
}
stop();
Symbol 222 MovieClip Frame 2
stop();
Symbol 222 MovieClip Frame 3
stop();
Symbol 222 MovieClip Frame 4
stop();
Symbol 222 MovieClip Frame 5
stop();
Symbol 231 MovieClip Frame 1
onEnterFrame = function () {
if (_root.gotSTAR == true) {
gotoAndStop (2);
}
};
Symbol 231 MovieClip Frame 2
onEnterFrame = function () {
if (_root.gotSTAR == false) {
gotoAndStop (1);
}
};
Symbol 233 MovieClip Frame 1
onEnterFrame = function () {
if (_root.gotPURPLE == true) {
gotoAndStop (2);
}
};
Symbol 233 MovieClip Frame 2
onEnterFrame = function () {
if (_root.gotPURPLE == false) {
gotoAndStop (1);
}
};
Symbol 235 MovieClip Frame 1
onEnterFrame = function () {
if (_root.gotRED == true) {
gotoAndStop (2);
}
};
Symbol 235 MovieClip Frame 2
onEnterFrame = function () {
if (_root.gotRED == false) {
gotoAndStop (1);
}
};
Symbol 237 MovieClip Frame 1
onEnterFrame = function () {
if (_root.gotGREEN == true) {
gotoAndStop (2);
}
};
Symbol 237 MovieClip Frame 2
onEnterFrame = function () {
if (_root.gotGREEN == false) {
gotoAndStop (1);
}
};
Symbol 239 MovieClip Frame 1
onEnterFrame = function () {
if (_root.gotBLUE == true) {
gotoAndStop (2);
}
};
Symbol 239 MovieClip Frame 2
onEnterFrame = function () {
if (_root.gotBLUE == false) {
gotoAndStop (1);
}
};
Symbol 241 MovieClip Frame 1
onEnterFrame = function () {
if (_root.gotYELLOW == true) {
gotoAndStop (2);
}
};
Symbol 241 MovieClip Frame 2
onEnterFrame = function () {
if (_root.gotYELLOW == false) {
gotoAndStop (1);
}
};
Symbol 244 Button
on (press) {
_root.music_on = false;
_root.MUSIC.gotoAndStop(6031);
gotoAndStop (2);
}
Symbol 246 Button
on (press) {
_root.music_on = true;
_root.MUSIC.gotoAndPlay(1);
gotoAndStop (1);
}
Symbol 247 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 2
stop();
Symbol 248 Button
on (press) {
gotoAndPlay (2);
}
Symbol 249 Button
on (press) {
gotoAndPlay (16);
}
Symbol 250 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 15
stop();
Symbol 250 MovieClip Frame 30
gotoAndStop (1);
Symbol 251 MovieClip Frame 1
if (_root.C7_started_once == true) {
gotoAndStop (11);
}
Symbol 251 MovieClip Frame 11
stop();
Symbol 259 Button
on (press) {
if (_root.gotYELLOW == true) {
_root.C11_lights_on = true;
gotoAndPlay (2);
}
}
Symbol 289 MovieClip Frame 1
var gospark = 0;
var nospark = 0;
Symbol 289 MovieClip Frame 2
gospark = Math.ceil(Math.random() * 10);
nospark = Math.ceil(Math.random() * 10);
Symbol 289 MovieClip Frame 19
if (gospark >= 6) {
if (nospark >= 5) {
gotoAndPlay (20);
} else {
gotoAndPlay (35);
}
} else {
gotoAndPlay (2);
}
Symbol 289 MovieClip Frame 34
gotoAndPlay (2);
Symbol 289 MovieClip Frame 51
gotoAndPlay (2);
Symbol 293 MovieClip Frame 1
if (_root.C11_lights_on == true) {
gotoAndStop (10);
} else {
stop();
}
Symbol 293 MovieClip Frame 10
stop();
Symbol 298 MovieClip Frame 1
var touched = false;
if (_root.gotYELLOW == false) {
gotoAndPlay (2);
} else {
gotoAndStop (4);
}
Symbol 298 MovieClip Frame 2
if (touched == true) {
_root.gotYELLOW = true;
if (_root.music_on == true) {
_root.SWISH.gotoAndPlay(2);
}
gotoAndStop (4);
}
Symbol 298 MovieClip Frame 3
gotoAndPlay (2);
Symbol 298 MovieClip Frame 4
stop();
Symbol 305 Button
on (press) {
if (_root.gotRED == true) {
_root.B11_night_RED = true;
gotoAndPlay (2);
}
}
Symbol 316 MovieClip Frame 1
if (_root.B11_night_RED == true) {
gotoAndPlay (5);
} else {
stop();
}
Symbol 316 MovieClip Frame 11
gotoAndPlay (5);
Symbol 318 Button
on (press) {
if (_root.gotYELLOW == true) {
_root.B11_night_YELLOW = true;
gotoAndPlay (2);
}
}
Symbol 325 MovieClip Frame 1
if (_root.B11_night_YELLOW == true) {
gotoAndStop (15);
} else {
stop();
}
Symbol 325 MovieClip Frame 15
stop();
Symbol 326 Button
on (press) {
if (_root.gotGREEN == true) {
_root.B11_night_GREEN = true;
gotoAndPlay (2);
}
}
Symbol 336 MovieClip Frame 1
if (_root.B11_night_GREEN == true) {
gotoAndStop (10);
} else {
stop();
}
Symbol 336 MovieClip Frame 10
stop();
Symbol 337 Button
on (press) {
if (_root.gotPURPLE == true) {
_root.B11_night_PURPLE = true;
gotoAndPlay (2);
}
}
Symbol 349 MovieClip Frame 1
if (_root.B11_night_PURPLE == true) {
gotoAndStop (10);
} else {
stop();
}
Symbol 349 MovieClip Frame 10
stop();
Symbol 350 Button
on (press) {
if (_root.gotBLUE == true) {
_root.B11_night_BLUE = true;
gotoAndPlay (2);
}
}
Symbol 360 MovieClip Frame 1
if (_root.B11_night_BLUE == true) {
gotoAndStop (10);
} else {
stop();
}
Symbol 360 MovieClip Frame 10
stop();
Symbol 363 Button
on (press) {
_root.B11_night_rev = true;
gotoAndPlay (16);
}
Symbol 364 MovieClip Frame 1
if (_root.B11_night_rev == true) {
gotoAndStop (25);
} else if (_root.B11_night_prep == true) {
gotoAndStop (15);
}
Symbol 364 MovieClip Frame 15
stop();
Symbol 364 MovieClip Frame 25
stop();
Symbol 365 MovieClip Frame 1
if (_root.B11_night_prep == true) {
gotoAndStop (3);
}
Symbol 365 MovieClip Frame 2
stop();
onEnterFrame = function () {
if (((((_root.B11_night_YELLOW == true) and (_root.B11_night_BLUE == true)) and (_root.B11_night_RED == true)) and (_root.B11_night_GREEN == true)) and (_root.B11_night_PURPLE == true)) {
_root.B11_night_prep = true;
gotoAndStop (3);
}
};
Symbol 365 MovieClip Frame 3
stop();
Symbol 367 MovieClip Frame 1
if (_root.C11_lights_on == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 367 MovieClip Frame 2
stop();
Symbol 368 MovieClip Frame 1
if (_root.B11_night_rev == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 368 MovieClip Frame 2
stop();
Symbol 372 MovieClip Frame 1
if (_root.C11_lights_on == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 372 MovieClip Frame 2
stop();
Symbol 374 Button
on (press) {
if (_root.gotGREEN == true) {
_root.D11_ivy_grow = true;
gotoAndPlay (2);
}
}
Symbol 382 MovieClip Frame 1
if (_root.D11_ivy_grow == true) {
gotoAndStop (20);
} else {
stop();
}
Symbol 382 MovieClip Frame 20
stop();
Symbol 386 MovieClip Frame 1
if (_root.B11_night_rev == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 386 MovieClip Frame 2
stop();
Symbol 390 MovieClip Frame 1
if (_root.C11_lights_on == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 390 MovieClip Frame 2
stop();
Symbol 393 Button
on (press) {
if (_root.gotRED == true) {
_root.D10_santa_make = true;
gotoAndPlay (2);
}
}
Symbol 403 MovieClip Frame 1
if (_root.D10_santa_make == true) {
gotoAndStop (10);
} else {
stop();
}
Symbol 403 MovieClip Frame 10
stop();
Symbol 406 Button
on (press) {
_root.D10_cave_presy = true;
gotoAndPlay (2);
}
Symbol 415 MovieClip Frame 1
if (_root.D10_cave_presy == true) {
gotoAndPlay (35);
} else {
stop();
}
Symbol 415 MovieClip Frame 35
stop();
Symbol 416 MovieClip Frame 1
if (_root.D9_bridge_down == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 416 MovieClip Frame 2
stop();
Symbol 419 Button
on (press) {
if (_root.gotYELLOW == true) {
_root.D9_lights_on = true;
gotoAndPlay (2);
}
}
Symbol 422 MovieClip Frame 1
if (_root.D9_lights_on == true) {
gotoAndStop (16);
} else {
stop();
}
Symbol 422 MovieClip Frame 16
stop();
Symbol 431 Button
on (press) {
gotoAndPlay (2);
}
Symbol 432 Button
on (press) {
_root.D9_pin_down = true;
gotoAndPlay (6);
}
Symbol 433 Button
on (press) {
_root.D9_bridge_down = true;
gotoAndPlay (26);
}
Symbol 434 MovieClip Frame 1
if (_root.D9_bridge_down == true) {
gotoAndStop (42);
} else if (_root.D9_pin_down == true) {
gotoAndStop (25);
} else {
stop();
}
Symbol 434 MovieClip Frame 5
gotoAndStop (1);
Symbol 434 MovieClip Frame 25
stop();
Symbol 434 MovieClip Frame 33
_root.WALL1.gotoAndStop(2);
Symbol 434 MovieClip Frame 42
stop();
Symbol 440 Button
on (press) {
_root.D8_lights_on = true;
gotoAndPlay (2);
}
Symbol 454 MovieClip Frame 1
if (_root.D8_lights_on == true) {
gotoAndStop (45);
} else {
stop();
}
Symbol 454 MovieClip Frame 45
stop();
Symbol 457 Button
on (press) {
if (_root.gotPURPLE == true) {
_root.E7_tinsel_grow = true;
gotoAndPlay (2);
}
}
Symbol 480 MovieClip Frame 1
if (_root.E7_tinsel_grow == true) {
gotoAndStop (21);
} else {
stop();
}
Symbol 480 MovieClip Frame 21
stop();
Symbol 481 MovieClip Frame 1
if (_root.E7_pillar_open == true) {
gotoAndStop (16);
} else {
stop();
}
Symbol 481 MovieClip Frame 16
stop();
Symbol 492 Button
on (press) {
_root.E7_pillar_unlocked = true;
gotoAndPlay (6);
}
Symbol 493 Button
on (press) {
gotoAndPlay (2);
}
Symbol 494 Button
on (press) {
_root.E7_pillar_open = true;
_root.WALL5.gotoAndPlay(2);
gotoAndPlay (16);
}
Symbol 495 MovieClip Frame 1
if (_root.E7_pillar_open == true) {
gotoAndStop (30);
} else if (_root.E7_pillar_unlocked == true) {
gotoAndStop (15);
} else {
stop();
}
Symbol 495 MovieClip Frame 5
gotoAndStop (1);
Symbol 495 MovieClip Frame 15
stop();
Symbol 495 MovieClip Frame 30
stop();
Symbol 497 Button
on (press) {
if (_root.gotBLUE == true) {
_root.E7_pipe_open = true;
gotoAndPlay (2);
}
}
Symbol 498 MovieClip Frame 1
if (_root.E7_pipe_open == true) {
gotoAndStop (10);
} else {
stop();
}
Symbol 498 MovieClip Frame 10
stop();
Symbol 499 MovieClip Frame 1
if (_root.E7_pipe_open == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 499 MovieClip Frame 2
stop();
Symbol 504 MovieClip Frame 1
if (_root.E7_pipe_open == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 504 MovieClip Frame 2
stop();
Symbol 508 Button
on (press) {
_root.E9_lights_down = true;
gotoAndPlay (2);
}
Symbol 515 MovieClip Frame 1
if (_root.E9_lights_down == true) {
gotoAndStop (40);
} else {
stop();
}
Symbol 515 MovieClip Frame 40
stop();
Symbol 518 MovieClip Frame 1
var touched = false;
if (_root.gotGREEN == false) {
gotoAndPlay (2);
} else {
gotoAndStop (4);
}
Symbol 518 MovieClip Frame 2
if (touched == true) {
_root.gotGREEN = true;
if (_root.music_on == true) {
_root.SWISH.gotoAndPlay(2);
}
gotoAndStop (4);
}
Symbol 518 MovieClip Frame 3
gotoAndPlay (2);
Symbol 518 MovieClip Frame 4
stop();
Symbol 523 Button
on (press) {
_root.E6_presy_drop = true;
gotoAndPlay (2);
}
Symbol 524 MovieClip Frame 1
if (_root.E6_presy_drop == true) {
gotoAndStop (50);
} else {
stop();
}
Symbol 524 MovieClip Frame 50
stop();
Symbol 525 Button
on (press) {
_root.E6_lights_on = true;
gotoAndPlay (2);
}
Symbol 526 MovieClip Frame 1
if (_root.E6_lights_on == true) {
gotoAndStop (10);
} else {
stop();
}
Symbol 526 MovieClip Frame 10
stop();
Symbol 531 Button
on (press) {
if (_root.gotGREEN == true) {
_root.D6_ivy_down = true;
gotoAndPlay (2);
}
}
Symbol 535 MovieClip Frame 1
if (_root.D6_ivy_down == true) {
gotoAndStop (40);
} else {
stop();
}
Symbol 535 MovieClip Frame 40
stop();
Symbol 536 MovieClip Frame 1
if (_root.E5_gate_open == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 536 MovieClip Frame 2
stop();
Symbol 539 MovieClip Frame 1
if (_root.E5_lights_on == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 539 MovieClip Frame 2
stop();
Symbol 543 MovieClip Frame 1
if (_root.E5_gate_open == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 543 MovieClip Frame 2
stop();
Symbol 546 Button
on (press) {
_root.E5_pipe_pop = true;
gotoAndPlay (2);
}
Symbol 552 MovieClip Frame 1
if (_root.E5_pipe_pop == true) {
gotoAndStop (15);
} else {
stop();
}
Symbol 555 Button
on (press) {
if (_root.gotBLUE == true) {
_root.E5_gate_open = true;
gotoAndPlay (2);
}
}
Symbol 556 MovieClip Frame 1
if (_root.E5_gate_open == true) {
gotoAndStop (10);
} else {
stop();
}
Symbol 559 Button
on (press) {
if (_root.gotYELLOW == true) {
_root.E5_lights_on = true;
gotoAndPlay (2);
}
}
Symbol 560 MovieClip Frame 1
if (_root.E5_lights_on == true) {
gotoAndStop (10);
} else {
stop();
}
Symbol 560 MovieClip Frame 10
stop();
Symbol 564 Button
on (press) {
_root.D5_lights_on = true;
gotoAndPlay (2);
}
Symbol 565 MovieClip Frame 1
if (_root.D5_lights_on == true) {
gotoAndStop (40);
} else {
stop();
}
Symbol 565 MovieClip Frame 40
stop();
Symbol 568 Button
on (press) {
_root.D6_balls_out = true;
gotoAndPlay (2);
}
Symbol 576 MovieClip Frame 1
if (_root.D6_balls_out == true) {
gotoAndStop (33);
} else {
stop();
}
Symbol 576 MovieClip Frame 33
stop();
Symbol 579 MovieClip Frame 1
if (_root.C6_stand_up == true) {
gotoAndStop (21);
} else if (_root.C6_stand_out == true) {
gotoAndStop (20);
} else {
stop();
}
Symbol 579 MovieClip Frame 20
stop();
Symbol 579 MovieClip Frame 21
stop();
Symbol 599 Button
on (press) {
_root.C6_stand_out = true;
_root.PLAT2.gotoAndPlay(2);
gotoAndPlay (2);
}
Symbol 600 MovieClip Frame 1
if (_root.C6_stand_out == true) {
gotoAndStop (25);
} else {
stop();
}
Symbol 600 MovieClip Frame 25
stop();
Symbol 602 Button
on (press) {
_root.C6_stand_up = true;
gotoAndPlay (2);
}
Symbol 603 MovieClip Frame 1
if (_root.C6_stand_up == true) {
gotoAndStop (44);
} else {
stop();
}
Symbol 603 MovieClip Frame 6
_root.PLAT2.gotoAndStop(21);
Symbol 603 MovieClip Frame 44
stop();
Symbol 607 Button
on (press) {
if (_root.gotGREEN == true) {
_root.TREE_green = true;
gotoAndPlay (2);
}
}
Symbol 619 Button
on (press) {
if (_root.gotPURPLE == true) {
_root.TREE_purple = true;
gotoAndPlay (2);
}
}
Symbol 638 MovieClip Frame 1
if (_root.TREE_purple == true) {
gotoAndStop (15);
} else {
stop();
}
Symbol 638 MovieClip Frame 15
stop();
Symbol 640 Button
on (press) {
if (_root.gotYELLOW == true) {
_root.TREE_yellow = true;
gotoAndPlay (2);
}
}
Symbol 646 MovieClip Frame 1
if (_root.TREE_yellow == true) {
gotoAndStop (15);
} else {
stop();
}
Symbol 646 MovieClip Frame 15
stop();
Symbol 648 Button
on (press) {
if (_root.gotRED == true) {
_root.TREE_red = true;
gotoAndPlay (2);
}
}
Symbol 653 MovieClip Frame 6
stop();
Symbol 654 MovieClip Frame 1
if (_root.TREE_red == true) {
gotoAndStop (10);
} else {
stop();
}
Symbol 654 MovieClip Frame 8
stop();
Symbol 654 MovieClip Frame 9
stop();
Symbol 656 Button
on (press) {
if (_root.gotBLUE == true) {
_root.TREE_blue = true;
gotoAndPlay (2);
}
}
Symbol 661 MovieClip Frame 6
stop();
Symbol 662 MovieClip Frame 1
if (_root.TREE_blue == true) {
gotoAndStop (10);
} else {
stop();
}
Symbol 662 MovieClip Frame 8
stop();
Symbol 662 MovieClip Frame 9
stop();
Symbol 670 MovieClip Frame 1
var gospark = 0;
var nospark = 0;
Symbol 670 MovieClip Frame 2
gospark = Math.ceil(Math.random() * 10);
nospark = Math.ceil(Math.random() * 10);
Symbol 670 MovieClip Frame 19
if (gospark >= 4) {
if (nospark >= 5) {
gotoAndPlay (20);
} else {
gotoAndPlay (37);
}
} else {
gotoAndPlay (2);
}
Symbol 670 MovieClip Frame 36
gotoAndPlay (2);
Symbol 670 MovieClip Frame 53
gotoAndPlay (2);
Symbol 671 Button
on (press) {
if (_root.TREE_purple == true) {
if (_root.TREE_yellow == true) {
if (_root.TREE_red == true) {
if (_root.TREE_blue == true) {
if (_root.gotSTAR == true) {
_root.player.disabled = true;
_root.OVER.gotoAndPlay(2);
gotoAndPlay (2);
}
}
}
}
}
}
Symbol 674 MovieClip Frame 1
stop();
Symbol 674 MovieClip Frame 11
stop();
Symbol 675 MovieClip Frame 1
if (_root.TREE_green == true) {
gotoAndStop (10);
} else {
stop();
}
Symbol 675 MovieClip Frame 10
stop();
Symbol 676 MovieClip Frame 1
if (_root.C8_bot_kill == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 676 MovieClip Frame 2
stop();
Symbol 677 MovieClip Frame 1
if (_root.C8_bot_kill == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 677 MovieClip Frame 2
stop();
Symbol 690 Button
on (press) {
_root.C8_bot_kill = true;
gotoAndPlay (2);
}
Symbol 691 MovieClip Frame 1
if (_root.C8_bot_kill == true) {
gotoAndStop (140);
} else {
stop();
}
Symbol 691 MovieClip Frame 16
_root.WALL6.gotoAndStop(2);
_root.CEIL1.gotoAndStop(2);
Symbol 691 MovieClip Frame 140
stop();
Symbol 694 MovieClip Frame 1
var touched = false;
if (_root.gotBLUE == false) {
gotoAndPlay (2);
} else {
gotoAndStop (4);
}
Symbol 694 MovieClip Frame 2
if (touched == true) {
_root.gotBLUE = true;
if (_root.music_on == true) {
_root.SWISH.gotoAndPlay(2);
}
gotoAndStop (4);
}
Symbol 694 MovieClip Frame 3
gotoAndPlay (2);
Symbol 694 MovieClip Frame 4
stop();
Symbol 695 MovieClip Frame 1
if (_root.C6_stand_up == true) {
if (_root.C6_stand_out == true) {
gotoAndStop (20);
} else if (_root.C6_stand_out == false) {
stop();
}
} else {
gotoAndStop (21);
}
Symbol 695 MovieClip Frame 20
stop();
Symbol 695 MovieClip Frame 21
stop();
Symbol 699 MovieClip Frame 1
stop();
Symbol 699 MovieClip Frame 40
stop();
_root.gotoAndStop(10);
Symbol 711 Button
on (press) {
if (_root.gotPURPLE == true) {
_root.C4_door_open = true;
gotoAndPlay (2);
}
}
Symbol 715 MovieClip Frame 1
if (_root.C4_door_open == true) {
gotoAndStop (15);
} else {
stop();
}
Symbol 715 MovieClip Frame 15
stop();
Symbol 719 Button
on (press) {
_root.C3_pres_pie = true;
gotoAndPlay (2);
}
Symbol 723 MovieClip Frame 1
if (_root.C3_pres_pie == true) {
gotoAndStop (65);
} else {
stop();
}
Symbol 723 MovieClip Frame 65
stop();
Symbol 725 MovieClip Frame 1
if (_root.B5_tree_grow == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 725 MovieClip Frame 2
stop();
Symbol 726 MovieClip Frame 1
if (_root.B5_tree_grow == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 726 MovieClip Frame 2
stop();
Symbol 727 MovieClip Frame 1
if (_root.B5_tree_grow == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 727 MovieClip Frame 2
stop();
Symbol 728 MovieClip Frame 1
if (_root.B5_tree_grow == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 728 MovieClip Frame 2
stop();
Symbol 729 MovieClip Frame 1
if (_root.B3_power_off == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 729 MovieClip Frame 2
stop();
Symbol 740 MovieClip Frame 1
if (_root.B3_power_off == true) {
gotoAndStop (31);
}
Symbol 740 MovieClip Frame 30
gotoAndPlay (2);
Symbol 740 MovieClip Frame 31
stop();
Symbol 743 Button
on (press) {
if (_root.gotGREEN == true) {
_root.B5_tree_grow = true;
gotoAndPlay (2);
}
}
Symbol 771 MovieClip Frame 1
if (_root.B5_tree_grow == true) {
gotoAndStop (25);
} else {
stop();
}
Symbol 771 MovieClip Frame 19
_root.PLAT3.gotoAndStop(2);
Symbol 771 MovieClip Frame 22
_root.PLAT4.gotoAndStop(2);
Symbol 771 MovieClip Frame 24
_root.PLAT5.gotoAndStop(2);
Symbol 771 MovieClip Frame 25
_root.PLAT6.gotoAndStop(2);
stop();
Symbol 774 MovieClip Frame 1
if (_root.B3_power_off == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 774 MovieClip Frame 2
stop();
Symbol 777 MovieClip Frame 1
if (_root.leaving_ship == true) {
gotoAndPlay (11);
} else if (_root.entering_ship == true) {
gotoAndPlay (11);
} else {
stop();
}
Symbol 777 MovieClip Frame 2
play();
Symbol 777 MovieClip Frame 10
if (_root.leaving_ship == true) {
_root.player._x = 515;
_root.player._y = 220;
_root.gotoAndPlay(48);
} else if (_root.entering_ship == true) {
_root.player._x = 136;
_root.player._y = 280;
_root.gotoAndPlay(57);
} else {
gotoAndPlay (11);
}
Symbol 777 MovieClip Frame 11
play();
Symbol 777 MovieClip Frame 21
_root.leaving_ship = false;
_root.entering_ship = false;
_root.player.disabled = false;
gotoAndStop (1);
Symbol 778 MovieClip Frame 1
if (_root.B3_power_off == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 778 MovieClip Frame 2
stop();
Symbol 789 MovieClip Frame 1
if (_root.B3_power_off == true) {
gotoAndStop (31);
}
Symbol 789 MovieClip Frame 30
gotoAndPlay (2);
Symbol 789 MovieClip Frame 31
stop();
Symbol 793 MovieClip Frame 1
if (_root.B3_power_off == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 793 MovieClip Frame 2
stop();
Symbol 794 MovieClip Frame 1
if (_root.B3_power_off == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 794 MovieClip Frame 2
stop();
Symbol 795 MovieClip Frame 1
if (_root.B3_power_off == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 795 MovieClip Frame 2
stop();
Symbol 796 MovieClip Frame 1
if (_root.B3_power_off == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 796 MovieClip Frame 2
stop();
Symbol 797 MovieClip Frame 1
if (_root.B3_power_off == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 797 MovieClip Frame 2
stop();
Symbol 801 Button
on (press) {
_root.A2_sever_side = true;
gotoAndPlay (2);
}
Symbol 806 MovieClip Frame 1
if (_root.A2_sever_side == true) {
gotoAndStop (36);
} else {
stop();
}
Symbol 806 MovieClip Frame 36
stop();
Symbol 816 Button
on (press) {
if (_root.gotPURPLE == true) {
_root.B3_power_off = true;
gotoAndPlay (2);
}
}
Symbol 820 Button
on (press) {
if (_root.gotPURPLE == true) {
_root.B3_power_off = false;
_root.PLAT3.gotoAndStop(1);
_root.PLAT4.gotoAndStop(1);
_root.PLAT5.gotoAndStop(1);
_root.PLAT6.gotoAndStop(1);
gotoAndPlay (51);
}
}
Symbol 824 MovieClip Frame 1
if (_root.B3_power_off == true) {
gotoAndStop (50);
} else {
stop();
}
Symbol 824 MovieClip Frame 50
stop();
_root.PLAT3.gotoAndStop(2);
_root.PLAT4.gotoAndStop(2);
_root.PLAT5.gotoAndStop(2);
_root.PLAT6.gotoAndStop(2);
Symbol 824 MovieClip Frame 100
gotoAndStop (1);
Symbol 827 Button
on (press) {
_root.A2_sky_on = true;
gotoAndPlay (2);
}
Symbol 828 MovieClip Frame 1
if (_root.A2_sky_on) {
gotoAndStop (10);
} else {
stop();
}
Symbol 828 MovieClip Frame 10
stop();
Symbol 840 MovieClip Frame 1
if (_root.A2_sky_on) {
gotoAndStop (2);
} else {
stop();
}
Symbol 840 MovieClip Frame 2
stop();
Symbol 841 MovieClip Frame 1
if (_root.leaving_train == true) {
gotoAndPlay (11);
} else if (_root.entering_train == true) {
gotoAndPlay (11);
} else {
stop();
}
Symbol 841 MovieClip Frame 2
play();
Symbol 841 MovieClip Frame 10
if (_root.leaving_train == true) {
_root.player._x = 90;
_root.player._y = 410;
_root.gotoAndPlay(52);
} else if (_root.entering_train == true) {
_root.player._x = 510;
_root.player._y = 360;
_root.gotoAndPlay(59);
} else {
gotoAndPlay (11);
}
Symbol 841 MovieClip Frame 11
play();
Symbol 841 MovieClip Frame 21
_root.leaving_train = false;
_root.entering_train = false;
_root.player.disabled = false;
gotoAndStop (1);
Symbol 842 MovieClip Frame 1
if (_root.E4_gate_open == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 842 MovieClip Frame 2
stop();
Symbol 849 Button
on (press) {
_root.E4_gate_open = true;
gotoAndPlay (2);
}
Symbol 859 MovieClip Frame 1
if (_root.E4_gate_open == true) {
gotoAndStop (20);
} else {
stop();
}
Symbol 859 MovieClip Frame 12
_root.WALL1.gotoAndStop(2);
Symbol 859 MovieClip Frame 20
stop();
Symbol 860 MovieClip Frame 1
if (_root.E3_gate_open == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 860 MovieClip Frame 2
stop();
Symbol 865 Button
on (press) {
_root.E3_hatch_open = true;
gotoAndPlay (2);
}
Symbol 866 MovieClip Frame 1
if (_root.E3_hatch_open == true) {
gotoAndStop (48);
} else {
stop();
}
Symbol 866 MovieClip Frame 48
stop();
Symbol 882 MovieClip Frame 1
onEnterFrame = function () {
var _local4 = _root.player._x - (_root.GATE._x + 100);
var _local3 = (_root.player._y - 60) - (_root.GATE._y - 90);
var _local2 = Math.atan2(_local3, _local4);
degrees = (_local2 * 180) / Math.PI;
_root.GATE.GUN._rotation = (_local2 * 180) / Math.PI;
};
Symbol 883 Button
on (press) {
if (_root.gotRED == true) {
_root.E3_gate_open = true;
gotoAndPlay (31);
}
}
Symbol 899 MovieClip Frame 1
if (_root.E3_gate_open == true) {
gotoAndStop (75);
} else if (_root.E3_gate_locked == true) {
gotoAndStop (30);
} else {
stop();
}
Symbol 899 MovieClip Frame 30
stop();
Symbol 899 MovieClip Frame 74
_root.WALL3.gotoAndStop(2);
Symbol 899 MovieClip Frame 75
stop();
Symbol 900 MovieClip Frame 1
if (_root.gotPURPLE == true) {
gotoAndStop (101);
}
Symbol 900 MovieClip Frame 100
gotoAndPlay (1);
Symbol 900 MovieClip Frame 101
stop();
Symbol 933 MovieClip Frame 1
if (_root.gotPURPLE == true) {
gotoAndStop (101);
}
Symbol 933 MovieClip Frame 100
gotoAndPlay (1);
Symbol 933 MovieClip Frame 101
stop();
Symbol 949 MovieClip Frame 1
if (_root.gotPURPLE == true) {
gotoAndStop (101);
}
Symbol 949 MovieClip Frame 100
gotoAndPlay (1);
Symbol 949 MovieClip Frame 101
stop();
Symbol 963 MovieClip Frame 1
if (_root.gotPURPLE == true) {
gotoAndStop (10);
} else {
stop();
}
Symbol 963 MovieClip Frame 10
stop();
Symbol 965 Button
on (press) {
_root.A1_lights_on = true;
gotoAndPlay (2);
}
Symbol 966 MovieClip Frame 1
if (_root.A1_lights_on == true) {
gotoAndStop (14);
} else {
stop();
}
Symbol 966 MovieClip Frame 14
stop();
Symbol 969 MovieClip Frame 1
var touched = false;
if (_root.gotPURPLE == false) {
gotoAndPlay (2);
} else {
gotoAndStop (4);
}
Symbol 969 MovieClip Frame 2
if (touched == true) {
_root.gotPURPLE = true;
_root.POWER.gotoAndPlay(2);
if (_root.music_on == true) {
_root.SWISH.gotoAndPlay(2);
}
gotoAndStop (4);
}
Symbol 969 MovieClip Frame 3
gotoAndPlay (2);
Symbol 969 MovieClip Frame 4
stop();
Symbol 1001 Button
on (press) {
if (_root.gotGREEN) {
_root.D1_ivy_grow = true;
gotoAndPlay (2);
}
}
Symbol 1004 MovieClip Frame 1
if (_root.D1_ivy_grow == true) {
gotoAndStop (30);
} else {
stop();
}
Symbol 1004 MovieClip Frame 30
stop();
Symbol 1006 Button
on (press) {
_root.D2_lights_on = true;
gotoAndPlay (2);
}
Symbol 1007 MovieClip Frame 1
if (_root.D2_lights_on == true) {
gotoAndStop (50);
} else {
stop();
}
Symbol 1007 MovieClip Frame 50
stop();
Symbol 1009 MovieClip Frame 1
if (_root.D2_bot_dead == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 1009 MovieClip Frame 2
stop();
Symbol 1022 MovieClip Frame 1
onEnterFrame = function () {
var _local4 = _root.player._x - (_root.SHIP._x + 55);
var _local3 = (_root.player._y - 60) - (_root.SHIP._y - 315);
var _local2 = Math.atan2(_local3, _local4);
degrees = (_local2 * 180) / Math.PI;
CAM._rotation = (_local2 * 180) / Math.PI;
};
Symbol 1023 Button
on (press) {
if (_root.gotGREEN == true) {
_root.D2_bot_dead = true;
gotoAndPlay (16);
}
}
Symbol 1048 MovieClip Frame 1
if (_root.D2_bot_dead == true) {
gotoAndStop (44);
} else if (_root.D2_bot_guard == true) {
gotoAndStop (15);
}
Symbol 1048 MovieClip Frame 2
_root.D2_bot_guard = true;
Symbol 1048 MovieClip Frame 15
stop();
Symbol 1048 MovieClip Frame 38
_root.WALL3.gotoAndStop(2);
Symbol 1048 MovieClip Frame 44
stop();
Symbol 1053 MovieClip Frame 1
var touched = false;
if (_root.gotRED == false) {
gotoAndPlay (2);
} else {
gotoAndStop (4);
}
Symbol 1053 MovieClip Frame 2
if (touched == true) {
_root.gotRED = true;
if (_root.music_on == true) {
_root.SWISH.gotoAndPlay(2);
}
gotoAndStop (4);
}
Symbol 1053 MovieClip Frame 3
gotoAndPlay (2);
Symbol 1053 MovieClip Frame 4
stop();
Symbol 1054 MovieClip Frame 1
if (_root.D3_mech_open == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 1054 MovieClip Frame 2
stop();
Symbol 1072 Button
on (press) {
gotoAndPlay (2);
}
Symbol 1073 Button
on (press) {
_root.D3_mech_un = true;
gotoAndPlay (5);
}
Symbol 1074 Button
on (press) {
_root.D3_mech_open = true;
gotoAndPlay (16);
}
Symbol 1075 MovieClip Frame 1
if (_root.D3_mech_open == true) {
gotoAndStop (30);
} else if (_root.D3_mech_un == true) {
gotoAndStop (15);
} else {
stop();
}
Symbol 1075 MovieClip Frame 4
gotoAndStop (1);
Symbol 1075 MovieClip Frame 15
stop();
Symbol 1075 MovieClip Frame 17
_root.WALL4.gotoAndStop(2);
Symbol 1075 MovieClip Frame 30
stop();
Symbol 1077 Button
on (press) {
if (_root.gotBLUE == true) {
_root.D3_ice_grow = true;
gotoAndPlay (2);
}
}
Symbol 1095 MovieClip Frame 1
if (_root.D3_ice_grow == true) {
gotoAndStop (18);
} else {
stop();
}
Symbol 1095 MovieClip Frame 18
stop();
Symbol 1098 MovieClip Frame 1
var touched = false;
if (_root.gotSTAR == false) {
gotoAndPlay (2);
} else {
gotoAndStop (4);
}
Symbol 1098 MovieClip Frame 2
if (touched == true) {
_root.gotSTAR = true;
if (_root.music_on == true) {
_root.SWISH.gotoAndPlay(2);
}
gotoAndStop (4);
}
Symbol 1098 MovieClip Frame 3
gotoAndPlay (2);
Symbol 1098 MovieClip Frame 4
stop();
Symbol 1102 Button
on (press) {
_root.player.disabled = true;
_root.OVER.gotoAndStop(2);
gotoAndStop (2);
}
Symbol 1103 MovieClip Frame 1
stop();
Symbol 1103 MovieClip Frame 2
stop();
Symbol 1105 Button
on (press) {
_root.NOTE.gotoAndStop(1);
_root.player.disabled = false;
gotoAndStop (1);
}
Symbol 1106 MovieClip Frame 1
stop();
Symbol 1106 MovieClip Frame 2
stop();