Combined Code
frame 1 {
_quality = 'high';
Stage.showMenu = false;
globalvolume = new Sound();
stopAllSounds();
_root._x = 0;
_root._y = 0;
_root.level = -1;
stop();
_root.level1unlocked = true;
_root.level2unlocked = false;
_root.level3unlocked = false;
_root.level4unlocked = false;
_root.level5unlocked = false;
_root.level6unlocked = false;
_root.level7unlocked = false;
_root.level8unlocked = false;
_root.level9unlocked = false;
_root.level10unlocked = false;
_root.level11unlocked = false;
_root.level12unlocked = false;
_root.level13unlocked = false;
_root.level14unlocked = false;
_root.level15unlocked = false;
_root.level16unlocked = false;
_root.level17unlocked = false;
_root.level18unlocked = false;
_root.level19unlocked = false;
_root.level1finished = false;
_root.level2finished = false;
_root.level3finished = false;
_root.level4finished = false;
_root.level5finished = false;
_root.level6finished = false;
_root.level7finished = false;
_root.level8finished = false;
_root.level9finished = false;
_root.level10finished = false;
_root.level11finished = false;
_root.level12finished = false;
_root.level13finished = false;
_root.level14finished = false;
_root.level15finished = false;
_root.level16finished = false;
_root.level17finished = false;
_root.level18finished = false;
_root.level19finished = false;
_root.maplocation = 1;
}
movieClip 5 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 11 {
}
// unknown tag 88 length 90
movieClip 14 {
}
movieClip 17 {
}
movieClip 19 {
}
movieClip 21 {
}
movieClip 23 {
}
button 30 {
on (release) {
_root.gotoAndStop(4);
}
}
movieClip 31 {
frame 1 {
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
this.loadText = PercentLoaded;
bar._xscale = PercentLoaded;
} else {
gotoAndPlay('loaded');
}
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
stop();
_root.gotoAndStop(4);
}
}
button 34 {
on (release) {
_root.mute = true;
this.gotoAndStop(2);
}
}
button 37 {
on (release) {
_root.mute = false;
this.gotoAndStop(1);
}
}
movieClip 38 {
frame 1 {
_root.globalvolume.setVolume(100);
stop();
}
frame 2 {
_root.globalvolume.setVolume(0);
stop();
}
}
instance mutebutton of movieClip 38 {
onClipEvent (enterFrame) {
if (_root.mute == true) {
_root.mainframe.mutebutton.gotoAndStop(2);
_root.mutebutton.gotoAndStop(2);
}
}
}
movieClip 41 {
}
button 43 {
on (release) {
getURL('http://armor.ag/MoreGames', '_blank');
}
}
// unknown tag 88 length 68
button 48 {
on (release) {
getURL('http://www.seethingswarm.com', '_blank');
}
}
frame 2 {
stop();
_root._x = 0;
_root._y = 0;
_root.mainpauseallowed = false;
_root.mainframe.characterhud._alpha = 0;
}
movieClip 63 {
frame 75 {
stop();
_root.level = 0;
_root.mainframe.fade.play();
}
}
movieClip 64 {
}
movieClip 67 {
}
movieClip 80 {
}
movieClip 81 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 89 {
}
movieClip 96 {
frame 7 {
stop();
}
}
movieClip 100 {
}
movieClip 101 {
}
movieClip 102 {
frame 1 {
stop();
this.shine.gotoAndPlay(1);
}
instance of movieClip 81 {
onClipEvent (enterFrame) {
if (_root.anskifire == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
frame 2 {
stop();
this.shine.gotoAndPlay(1);
}
}
movieClip 104 {
}
movieClip 111 {
frame 8 {
stop();
_root.fadeplayed = true;
}
frame 9 {
_root.fadeplayed = false;
}
frame 25 {
stop();
_root.gotoAndStop(4);
}
}
movieClip 139 {
}
movieClip 145 {
}
movieClip 156 {
}
movieClip 158 {
frame 1 {
_root.mainframe.fade.curtain.eye1.pupil.gotoAndStop(2);
_root.mainframe.fade.curtain.eye2.pupil.gotoAndStop(2);
_root.mainpauseallowed = false;
_root.pause = true;
}
frame 31 {
stop();
_root.mainframe.fade.curtain.eye1.pupil.gotoAndStop(1);
_root.mainframe.fade.curtain.eye2.pupil.gotoAndStop(1);
}
}
movieClip 164 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 170 {
}
movieClip 171 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 183 {
}
movieClip 192 {
}
movieClip 197 {
}
movieClip 203 {
}
movieClip 211 {
}
movieClip 216 {
}
movieClip 218 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 228 {
}
movieClip 235 {
}
movieClip 246 {
}
movieClip 250 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
frame 28 {
stop();
}
frame 29 {
stop();
}
frame 30 {
stop();
}
frame 31 {
stop();
}
frame 32 {
stop();
}
frame 33 {
stop();
}
frame 34 {
stop();
}
frame 35 {
stop();
}
frame 36 {
stop();
}
frame 37 {
stop();
}
frame 38 {
stop();
}
frame 39 {
stop();
}
frame 40 {
stop();
}
frame 41 {
stop();
}
frame 42 {
stop();
}
frame 43 {
stop();
}
frame 44 {
stop();
}
frame 45 {
stop();
}
frame 46 {
stop();
}
frame 47 {
stop();
}
frame 48 {
stop();
}
frame 49 {
stop();
}
frame 50 {
stop();
}
frame 51 {
stop();
}
frame 52 {
stop();
}
frame 53 {
stop();
}
frame 54 {
stop();
}
frame 55 {
stop();
}
frame 56 {
stop();
}
frame 57 {
stop();
}
frame 58 {
stop();
}
frame 59 {
stop();
}
frame 60 {
stop();
}
frame 61 {
stop();
}
frame 62 {
stop();
}
frame 63 {
stop();
}
frame 64 {
stop();
}
frame 65 {
stop();
}
frame 66 {
stop();
}
frame 67 {
stop();
}
frame 68 {
stop();
}
frame 69 {
stop();
}
frame 70 {
stop();
}
frame 71 {
stop();
}
frame 72 {
stop();
}
frame 73 {
stop();
}
frame 74 {
stop();
}
frame 75 {
stop();
}
frame 76 {
stop();
}
frame 77 {
stop();
}
frame 78 {
stop();
}
frame 79 {
stop();
}
frame 80 {
stop();
}
frame 81 {
stop();
}
frame 82 {
stop();
}
frame 83 {
stop();
}
frame 84 {
stop();
}
frame 85 {
stop();
}
frame 86 {
stop();
}
frame 87 {
stop();
}
frame 88 {
stop();
}
frame 89 {
stop();
}
frame 90 {
stop();
}
frame 91 {
stop();
}
frame 92 {
stop();
}
frame 93 {
stop();
}
frame 94 {
stop();
}
frame 95 {
stop();
}
frame 96 {
stop();
}
frame 97 {
stop();
}
frame 98 {
stop();
}
frame 99 {
stop();
}
frame 100 {
stop();
}
frame 101 {
stop();
}
instance of movieClip 139 {
onClipEvent (enterFrame) {
stop();
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance of movieClip 145 {
onClipEvent (enterFrame) {
stop();
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.stop();
}
}
frame 102 {
stop();
}
frame 103 {
stop();
}
frame 104 {
stop();
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance of movieClip 235 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.stop();
}
}
frame 105 {
stop();
}
frame 106 {
stop();
}
frame 107 {
stop();
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance of movieClip 145 {
onClipEvent (enterFrame) {
stop();
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.stop();
}
}
frame 108 {
stop();
}
instance of movieClip 246 {
onClipEvent (enterFrame) {
this.headshape.stop();
this.torso.stop();
this.tail.stop();
this.tail2.stop();
this.tail3.stop();
this.fronteye.stop();
this.backeye.stop();
this.beak.gotoAndStop(2);
}
}
frame 109 {
stop();
}
frame 110 {
stop();
}
frame 111 {
stop();
}
frame 112 {
stop();
}
}
movieClip 252 {
frame 16 {
stop();
}
instance tutorialtext of movieClip 250 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true) {
_root.spaceallowed = false;
_root.mainpauseallowed = true;
_root.pause = false;
_root.tutorialtext += 1;
_root.mainframe.tutorialtext.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
}
}
movieClip 253 {
frame 1 {
stop();
if (_root.tutorialtext == 102) {
gotoAndStop(2);
}
if (_root.tutorialtext == 103) {
gotoAndStop(2);
}
if (_root.tutorialtext == 104) {
gotoAndStop(2);
}
if (_root.tutorialtext == 105) {
gotoAndStop(2);
}
if (_root.tutorialtext == 106) {
stopAllSounds();
_root.level = 0.2;
stopAllSounds();
_root.mainframe.fade.play();
_root.gotoAndStop(5);
}
if (_root.tutorialtext == 107) {
gotoAndStop(2);
}
if (_root.tutorialtext == 108) {
gotoAndStop(2);
}
if (_root.tutorialtext == 109) {
gotoAndStop(2);
}
if (_root.tutorialtext == 110) {
stopAllSounds();
_root.tutorialtext = 1;
_root.level = -1;
_root.mainframe.fade.play();
_root.gotoAndStop(2);
}
}
frame 2 {
stop();
}
}
movieClip 256 {
}
movieClip 257 {
frame 11 {
stop();
}
instance of movieClip 256 {
onClipEvent (enterFrame) {
if (Key.isDown(82) and _root.resetallowed == true and _root.mainpauseallowed == true and _root.pause == false) {
stopAllSounds();
_root.resetallowed = false;
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.fade.play();
_parent._parent.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(82) == false) {
_root.resetallowed = true;
}
}
}
}
movieClip 258 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 267 {
frame 1 {
stop();
}
frame 2 {
stop();
_root.blipvoice = Math.ceil(Math.random() * 2);
if (_root.blipvoice == 1) {
this.gotoAndStop(5);
} else {
if (_root.blipvoice == 2) {
this.gotoAndStop(6);
}
}
}
frame 3 {
stop();
_root.anskivoice = Math.ceil(Math.random() * 2);
if (_root.anskivoice == 1) {
this.gotoAndStop(7);
} else {
if (_root.anskivoice == 2) {
this.gotoAndStop(8);
}
}
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
}
button 269 {
on (release) {
stopAllSounds();
_root.mainpauseallowed = false;
_root.pause = true;
_root.level = -1;
_root.mainframe.fade.play();
_root.mainframe.gotoAndStop(1);
}
}
movieClip 271 {
}
button 272 {
on (release) {
stopAllSounds();
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.fade.play();
_root.mainframe.gotoAndStop(1);
}
}
movieClip 274 {
}
button 275 {
on (release) {
_root.mainframe.reset.gotoAndStop(2);
_root.mainframe.gotoAndStop(1);
}
}
movieClip 277 {
}
button 278 {
on (release) {
getURL('http://armor.ag/MoreGames', '_blank');
}
}
movieClip 280 {
}
button 281 {
on (release) {
_root.pos = SharedObject.getLocal('absave');
_root.level2unlocked = _root.pos.data.level2unlocked;
_root.level3unlocked = _root.pos.data.level3unlocked;
_root.level4unlocked = _root.pos.data.level4unlocked;
_root.level5unlocked = _root.pos.data.level5unlocked;
_root.level6unlocked = _root.pos.data.level6unlocked;
_root.level7unlocked = _root.pos.data.level7unlocked;
_root.level8unlocked = _root.pos.data.level8unlocked;
_root.level9unlocked = _root.pos.data.level9unlocked;
_root.level10unlocked = _root.pos.data.level10unlocked;
_root.level11unlocked = _root.pos.data.level11unlocked;
_root.level12unlocked = _root.pos.data.level12unlocked;
_root.level13unlocked = _root.pos.data.level13unlocked;
_root.level14unlocked = _root.pos.data.level14unlocked;
_root.level15unlocked = _root.pos.data.level15unlocked;
_root.level16unlocked = _root.pos.data.level16unlocked;
_root.level17unlocked = _root.pos.data.level17unlocked;
_root.level18unlocked = _root.pos.data.level18unlocked;
_root.level19unlocked = _root.pos.data.level19unlocked;
_root.level1finished = _root.pos.data.level1finished;
_root.level2finished = _root.pos.data.level2finished;
_root.level3finished = _root.pos.data.level3finished;
_root.level4finished = _root.pos.data.level4finished;
_root.level5finished = _root.pos.data.level5finished;
_root.level6finished = _root.pos.data.level6finished;
_root.level7finished = _root.pos.data.level7finished;
_root.level8finished = _root.pos.data.level8finished;
_root.level9finished = _root.pos.data.level9finished;
_root.level10finished = _root.pos.data.level10finished;
_root.level11finished = _root.pos.data.level11finished;
_root.level12finished = _root.pos.data.level12finished;
_root.level13finished = _root.pos.data.level13finished;
_root.level14finished = _root.pos.data.level14finished;
_root.level15finished = _root.pos.data.level15finished;
_root.level16finished = _root.pos.data.level16finished;
_root.level17finished = _root.pos.data.level17finished;
_root.level18finished = _root.pos.data.level18finished;
_root.level19finished = _root.pos.data.level19finished;
_root.maplocation = _root.pos.data.maplocation;
stopAllSounds();
_root.mainpauseallowed = false;
_root.pause = true;
_root.level = 0.2;
_root.mainframe.fade.play();
_root.mainframe.gotoAndStop(1);
}
}
movieClip 283 {
}
movieClip 284 {
frame 1 {
stop();
_root.pause = false;
if (_root.mute == true) {
_root.globalvolume.setVolume(0);
} else {
_root.globalvolume.setVolume(100);
}
}
instance bottomborder of movieClip 67 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (_root.hero.body.hitbox.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (_root.hero.body.hitbox.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(_root.hero.body.hitbox) and _root.hero.body.hitbox.hitTest(platform) and _root.anskiturn == true) {
_root.mainframe._y += 4;
_root._y -= 4;
} else {
if (this.hitTest(_root.hero.body.hitbox) and _root.hero.body.hitbox.hitTest(bplatform) and _root.anskiturn == true) {
_root.mainframe._y += 4;
_root._y -= 4;
}
}
}
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (_root.hero2.body.hitbox.hitTest('_root.fg1.platform' + i)) {
platform2a = eval('_root.fg1.platform' + i);
}
if (_root.hero2.body.hitbox.hitTest('_root.fg2.platform' + i)) {
platform2b = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(_root.hero2.body.hitbox) and _root.hero2.body.hitbox.hitTest(platform2a) and _root.blipturn == true) {
_root.mainframe._y += 4;
_root._y -= 4;
} else {
if (this.hitTest(_root.hero2.body.hitbox) and _root.hero2.body.hitbox.hitTest(platform2b) and _root.blipturn == true) {
_root.mainframe._y += 4;
_root._y -= 4;
}
}
}
}
instance of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bg1)) {
_root.mainframe._y -= 4;
_root._y += 4;
} else {
if (this.hitTest(_root.bg2)) {
_root.mainframe._y -= 4;
_root._y += 4;
}
}
}
}
instance topborder of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.anskiturn == true) {
_root.mainframe._y -= 4;
_root._y += 4;
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipturn == true) {
_root.mainframe._y -= 4;
_root._y += 4;
}
}
}
}
instance characterhud of movieClip 102 {
onClipEvent (enterFrame) {
if (_root.anskiturn == true) {
this.gotoAndStop(1);
} else {
if (_root.blipturn == true) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 104 {
onClipEvent (enterFrame) {
if (Key.isDown(80) and _root.pauseallowed == true and _root.mainpauseallowed == true) {
_root.mainframe.reset.gotoAndStop(1);
_root.pauseallowed = false;
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(80) == false) {
_root.pauseallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(27) and _root.pauseallowedd == true and _root.mainpauseallowed == true) {
_root.pauseallowedd = false;
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(27) == false) {
_root.pauseallowedd = true;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.hero.body.play();
_root.hero2.body.play();
_root.hero.body2.play();
_root.hero2.body2.play();
_root.hero2.body.tail.play();
_root.hero2.body2.tail.play();
_root.fg1.worm.body.play();
_root.fg2.worm.body.play();
_root.fg1.snail.body.play();
_root.fg2.snail.body.play();
_root.fg1.bully.body.play();
_root.fg2.bully.body.play();
_root.npc3.body.play();
_root.npc4.body.play();
_root.npc5.body.play();
_root.npc6.body.play();
_root.npc7.body.play();
}
if (_root.pause == true) {
_root.hero.body.stop();
_root.hero2.body.stop();
_root.hero.body2.stop();
_root.hero2.body2.stop();
_root.hero2.body.tail.stop();
_root.hero2.body2.tail.stop();
_root.fg1.worm.body.stop();
_root.fg2.worm.body.stop();
_root.fg1.snail.body.stop();
_root.fg2.snail.body.stop();
_root.fg1.bully.body.stop();
_root.fg2.bully.body.stop();
_root.npc3.body.stop();
_root.npc4.body.stop();
_root.npc5.body.stop();
_root.npc6.body.stop();
_root.npc7.body.stop();
}
}
}
instance tutorialtext of movieClip 253 {
onClipEvent (enterFrame) {
if (_root.toofaraway == true) {
this.tutorialtext.tutorialtext.gotoAndStop(50);
} else {
if (_root.tutorialtext == 1) {
this.tutorialtext.tutorialtext.gotoAndStop(2);
} else {
if (_root.tutorialtext == 2) {
this.tutorialtext.tutorialtext.gotoAndStop(3);
} else {
if (_root.tutorialtext == 3) {
this.tutorialtext.tutorialtext.gotoAndStop(4);
} else {
if (_root.tutorialtext == 4) {
this.tutorialtext.tutorialtext.gotoAndStop(5);
} else {
if (_root.tutorialtext == 5) {
this.tutorialtext.tutorialtext.gotoAndStop(6);
} else {
if (_root.tutorialtext == 6) {
this.tutorialtext.tutorialtext.gotoAndStop(7);
} else {
if (_root.tutorialtext == 7) {
this.tutorialtext.tutorialtext.gotoAndStop(8);
} else {
if (_root.tutorialtext == 8) {
this.tutorialtext.tutorialtext.gotoAndStop(9);
} else {
if (_root.tutorialtext == 9) {
this.tutorialtext.tutorialtext.gotoAndStop(10);
} else {
if (_root.tutorialtext == 10) {
this.tutorialtext.tutorialtext.gotoAndStop(11);
} else {
if (_root.tutorialtext == 11) {
this.tutorialtext.tutorialtext.gotoAndStop(12);
} else {
if (_root.tutorialtext == 12) {
this.tutorialtext.tutorialtext.gotoAndStop(13);
} else {
if (_root.tutorialtext == 13) {
this.tutorialtext.tutorialtext.gotoAndStop(14);
} else {
if (_root.tutorialtext == 14) {
this.tutorialtext.tutorialtext.gotoAndStop(15);
} else {
if (_root.tutorialtext == 15) {
this.tutorialtext.tutorialtext.gotoAndStop(16);
} else {
if (_root.tutorialtext == 16) {
this.tutorialtext.tutorialtext.gotoAndStop(17);
} else {
if (_root.tutorialtext == 17) {
this.tutorialtext.tutorialtext.gotoAndStop(18);
} else {
if (_root.tutorialtext == 18) {
this.tutorialtext.tutorialtext.gotoAndStop(19);
} else {
if (_root.tutorialtext == 19) {
this.tutorialtext.tutorialtext.gotoAndStop(20);
} else {
if (_root.tutorialtext == 20) {
this.tutorialtext.tutorialtext.gotoAndStop(21);
} else {
if (_root.tutorialtext == 21) {
this.tutorialtext.tutorialtext.gotoAndStop(22);
} else {
if (_root.tutorialtext == 22) {
this.tutorialtext.tutorialtext.gotoAndStop(23);
} else {
if (_root.tutorialtext == 23) {
this.tutorialtext.tutorialtext.gotoAndStop(24);
} else {
if (_root.tutorialtext == 24) {
this.tutorialtext.tutorialtext.gotoAndStop(25);
} else {
if (_root.tutorialtext == 25) {
this.tutorialtext.tutorialtext.gotoAndStop(26);
} else {
if (_root.tutorialtext == 100) {
this.tutorialtext.tutorialtext.gotoAndStop(100);
} else {
if (_root.tutorialtext == 101) {
this.tutorialtext.tutorialtext.gotoAndStop(101);
} else {
if (_root.tutorialtext == 102) {
this.tutorialtext.tutorialtext.gotoAndStop(102);
} else {
if (_root.tutorialtext == 103) {
this.tutorialtext.tutorialtext.gotoAndStop(103);
} else {
if (_root.tutorialtext == 104) {
this.tutorialtext.tutorialtext.gotoAndStop(104);
} else {
if (_root.tutorialtext == 105) {
this.tutorialtext.tutorialtext.gotoAndStop(105);
} else {
if (_root.tutorialtext == 106) {
this.tutorialtext.tutorialtext.gotoAndStop(106);
} else {
if (_root.tutorialtext == 107) {
this.tutorialtext.tutorialtext.gotoAndStop(107);
} else {
if (_root.tutorialtext == 108) {
this.tutorialtext.tutorialtext.gotoAndStop(108);
} else {
if (_root.tutorialtext == 109) {
this.tutorialtext.tutorialtext.gotoAndStop(109);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
this.tutorialtext.tutorialtext.body1.gotoAndStop(1);
this.tutorialtext.tutorialtext.eyes1.gotoAndStop(1);
this.tutorialtext.tutorialtext.eyes1.eye1.stop();
this.tutorialtext.tutorialtext.eyes1.eye2.stop();
this.tutorialtext.tutorialtext.body2.gotoAndStop(2);
this.tutorialtext.tutorialtext.eyes2.gotoAndStop(2);
this.tutorialtext.tutorialtext.eyes2.eye1.stop();
this.tutorialtext.tutorialtext.eyes2.eye2.stop();
this.tutorialtext.tutorialtext.body3.gotoAndStop(3);
this.tutorialtext.tutorialtext.eyes3.gotoAndStop(3);
this.tutorialtext.tutorialtext.eyes3.eye1.stop();
this.tutorialtext.tutorialtext.eyes3.eye2.stop();
this.tutorialtext.tutorialtext.body4.gotoAndStop(4);
this.tutorialtext.tutorialtext.eyes4.gotoAndStop(4);
this.tutorialtext.tutorialtext.eyes4.eye1.stop();
this.tutorialtext.tutorialtext.eyes4.eye2.stop();
this.tutorialtext.tutorialtext.headshape.stop();
this.tutorialtext.tutorialtext.torso.stop();
this.tutorialtext.tutorialtext.fronteye.stop();
this.tutorialtext.tutorialtext.backeye.stop();
this.tutorialtext.tutorialtext.tail.stop();
this.tutorialtext.tutorialtext.tail2.stop();
this.tutorialtext.tutorialtext.tail3.stop();
this.tutorialtext.tutorialtext.tail4.stop();
this.tutorialtext.tutorialtext.beak2.gotoAndStop(2);
}
}
instance mutebutton of movieClip 38 {
onClipEvent (enterFrame) {
if (_root.mute == true) {
_root.mainframe.mutebutton.gotoAndStop(2);
}
}
}
frame 2 {
stop();
_root.pause = true;
_root.globalvolume.setVolume(0);
}
instance of movieClip 104 {
onClipEvent (enterFrame) {
if (Key.isDown(80) and _root.pauseallowed == true) {
_root.pauseallowed = false;
_root.mainframe.reset.gotoAndStop(2);
_parent.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(80) == false) {
_root.pauseallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(27) and _root.pauseallowedd == true) {
_root.pauseallowedd = false;
_parent.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(27) == false) {
_root.pauseallowedd = true;
}
}
onClipEvent (enterFrame) {
if (_root.pause == true) {
_root.hero.body.stop();
_root.hero2.body.stop();
_root.hero.body2.stop();
_root.hero2.body2.stop();
_root.hero2.body.tail.stop();
_root.hero2.body2.tail.stop();
_root.fg1.worm.body.stop();
_root.fg2.worm.body.stop();
_root.fg1.snail.body.stop();
_root.fg2.snail.body.stop();
_root.fg1.bully.body.stop();
_root.fg2.bully.body.stop();
_root.npc3.body.stop();
_root.npc4.body.stop();
_root.npc5.body.stop();
_root.npc6.body.stop();
_root.npc7.body.stop();
}
}
}
}
frame 3 {
stop();
_root._x = 0;
_root._y = 0;
_root.mainpauseallowed = false;
_root.mainframe.characterhud._alpha = 0;
_root.pos = SharedObject.getLocal('absave');
_root.gamesaved = _root.pos.data.gamesaved;
}
movieClip 288 {
}
movieClip 290 {
}
movieClip 292 {
}
movieClip 295 {
}
movieClip 297 {
}
movieClip 300 {
}
movieClip 303 {
}
movieClip 306 {
}
movieClip 309 {
}
movieClip 310 {
instance of movieClip 246 {
onClipEvent (enterFrame) {
this.headshape.stop();
this.torso.stop();
this.tail.stop();
this.tail2.stop();
this.tail3.stop();
this.fronteye.stop();
this.backeye.stop();
this.beak.gotoAndStop(2);
}
}
}
instance backeye of movieClip 211 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance fronteye of movieClip 211 {
onClipEvent (enterFrame) {
this.stop();
}
}
movieClip 313 {
}
movieClip 315 {
}
movieClip 316 {
}
instance of movieClip 316 {
onClipEvent (enterFrame) {
this.stop();
}
}
movieClip 320 {
}
instance of movieClip 320 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance of movieClip 164 {
onClipEvent (enterFrame) {
this.gotoAndStop(1);
}
}
instance of movieClip 171 {
onClipEvent (enterFrame) {
this.gotoAndStop(1);
this.eye1.stop();
this.eye2.stop();
}
}
instance of movieClip 164 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
instance of movieClip 171 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
this.eye1.stop();
this.eye2.stop();
}
}
instance of movieClip 164 {
onClipEvent (enterFrame) {
this.gotoAndStop(4);
}
}
instance of movieClip 171 {
onClipEvent (enterFrame) {
this.gotoAndStop(4);
this.eye1.stop();
this.eye2.stop();
}
}
instance of movieClip 164 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
}
}
instance of movieClip 171 {
onClipEvent (enterFrame) {
this.gotoAndStop(3);
this.eye1.stop();
this.eye2.stop();
}
}
button 322 {
on (release) {
_root.level2unlocked = false;
_root.level3unlocked = false;
_root.level4unlocked = false;
_root.level5unlocked = false;
_root.level6unlocked = false;
_root.level7unlocked = false;
_root.level8unlocked = false;
_root.level9unlocked = false;
_root.level10unlocked = false;
_root.level11unlocked = false;
_root.level12unlocked = false;
_root.level13unlocked = false;
_root.level14unlocked = false;
_root.level15unlocked = false;
_root.level16unlocked = false;
_root.level17unlocked = false;
_root.level18unlocked = false;
_root.level19unlocked = false;
_root.level1finished = false;
_root.level2finished = false;
_root.level3finished = false;
_root.level4finished = false;
_root.level5finished = false;
_root.level6finished = false;
_root.level7finished = false;
_root.level8finished = false;
_root.level9finished = false;
_root.level10finished = false;
_root.level11finished = false;
_root.level12finished = false;
_root.level13finished = false;
_root.level14finished = false;
_root.level15finished = false;
_root.level16finished = false;
_root.level17finished = false;
_root.level18finished = false;
_root.level19finished = false;
_root.maplocation = 1;
_root.gamesaved = false;
_root.pos = SharedObject.getLocal('absave');
_root.pos.data.level2unlocked = _root.level2unlocked;
_root.pos.data.level3unlocked = _root.level3unlocked;
_root.pos.data.level4unlocked = _root.level4unlocked;
_root.pos.data.level5unlocked = _root.level5unlocked;
_root.pos.data.level6unlocked = _root.level6unlocked;
_root.pos.data.level7unlocked = _root.level7unlocked;
_root.pos.data.level8unlocked = _root.level8unlocked;
_root.pos.data.level9unlocked = _root.level9unlocked;
_root.pos.data.level10unlocked = _root.level10unlocked;
_root.pos.data.level11unlocked = _root.level11unlocked;
_root.pos.data.level12unlocked = _root.level12unlocked;
_root.pos.data.level13unlocked = _root.level13unlocked;
_root.pos.data.level14unlocked = _root.level14unlocked;
_root.pos.data.level15unlocked = _root.level15unlocked;
_root.pos.data.level16unlocked = _root.level16unlocked;
_root.pos.data.level17unlocked = _root.level17unlocked;
_root.pos.data.level18unlocked = _root.level18unlocked;
_root.pos.data.level19unlocked = _root.level19unlocked;
_root.pos.data.level1finished = _root.level1finished;
_root.pos.data.level2finished = _root.level2finished;
_root.pos.data.level3finished = _root.level3finished;
_root.pos.data.level4finished = _root.level4finished;
_root.pos.data.level5finished = _root.level5finished;
_root.pos.data.level6finished = _root.level6finished;
_root.pos.data.level7finished = _root.level7finished;
_root.pos.data.level8finished = _root.level8finished;
_root.pos.data.level9finished = _root.level9finished;
_root.pos.data.level10finished = _root.leve10finished;
_root.pos.data.level11finished = _root.level11finished;
_root.pos.data.level12finished = _root.level12finished;
_root.pos.data.level13finished = _root.level13finished;
_root.pos.data.level14finished = _root.level14finished;
_root.pos.data.level15finished = _root.level15finished;
_root.pos.data.level16finished = _root.level16finished;
_root.pos.data.level17finished = _root.level17finished;
_root.pos.data.level18finished = _root.level18finished;
_root.pos.data.level19finished = _root.level19finished;
_root.pos.data.maplocation = _root.maplocation;
_root.pos.data.gamesaved = _root.gamesaved;
_root.level = 0.1;
_root.tutorialtext = 101;
_root.mainframe.fade.play();
}
}
movieClip 324 {
}
movieClip 325 {
frame 16 {
stop();
}
}
button 328 {
on (release) {
_root.pos = SharedObject.getLocal('absave');
_root.level2unlocked = _root.pos.data.level2unlocked;
_root.level3unlocked = _root.pos.data.level3unlocked;
_root.level4unlocked = _root.pos.data.level4unlocked;
_root.level5unlocked = _root.pos.data.level5unlocked;
_root.level6unlocked = _root.pos.data.level6unlocked;
_root.level7unlocked = _root.pos.data.level7unlocked;
_root.level8unlocked = _root.pos.data.level8unlocked;
_root.level9unlocked = _root.pos.data.level9unlocked;
_root.level10unlocked = _root.pos.data.level10unlocked;
_root.level11unlocked = _root.pos.data.level11unlocked;
_root.level12unlocked = _root.pos.data.level12unlocked;
_root.level13unlocked = _root.pos.data.level13unlocked;
_root.level14unlocked = _root.pos.data.level14unlocked;
_root.level15unlocked = _root.pos.data.level15unlocked;
_root.level16unlocked = _root.pos.data.level16unlocked;
_root.level17unlocked = _root.pos.data.level17unlocked;
_root.level18unlocked = _root.pos.data.level18unlocked;
_root.level19unlocked = _root.pos.data.level19unlocked;
_root.level1finished = _root.pos.data.level1finished;
_root.level2finished = _root.pos.data.level2finished;
_root.level3finished = _root.pos.data.level3finished;
_root.level4finished = _root.pos.data.level4finished;
_root.level5finished = _root.pos.data.level5finished;
_root.level6finished = _root.pos.data.level6finished;
_root.level7finished = _root.pos.data.level7finished;
_root.level8finished = _root.pos.data.level8finished;
_root.level9finished = _root.pos.data.level9finished;
_root.level10finished = _root.pos.data.level10finished;
_root.level11finished = _root.pos.data.level11finished;
_root.level12finished = _root.pos.data.level12finished;
_root.level13finished = _root.pos.data.level13finished;
_root.level14finished = _root.pos.data.level14finished;
_root.level15finished = _root.pos.data.level15finished;
_root.level16finished = _root.pos.data.level16finished;
_root.level17finished = _root.pos.data.level17finished;
_root.level18finished = _root.pos.data.level18finished;
_root.level19finished = _root.pos.data.level19finished;
_root.maplocation = _root.pos.data.maplocation;
stopAllSounds();
_root.level = 0.2;
_root.mainframe.fade.play();
}
}
movieClip 330 {
frame 1 {
stop();
if (_root.gamesaved == true) {
this.play();
}
}
frame 76 {
gotoAndPlay(2);
}
}
movieClip 331 {
frame 25 {
stop();
}
}
button 332 {
on (release) {
getURL('http://armor.ag/MoreGames', '_blank');
}
}
movieClip 333 {
}
movieClip 334 {
frame 34 {
stop();
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.stop();
}
}
frame 4 {
stop();
_root.mainpauseallowed = false;
_root.pause = false;
_root._x = 0;
_root._y = 0;
_root.mainframe._y = 201.6;
_root.mainframe.characterhud._alpha = 100;
_root.mainframe.reset.gotoAndStop(1);
_root.mainshiftallowed = true;
_root.anskiturn = true;
_root.blipturn = false;
_root.bridge = false;
_root.leverpulled = false;
_root.anskifire = false;
_root.blipflower = false;
_root.blipworm = false;
_root.wormeaten = false;
_root.anskiboxcarry = false;
_root.blipbedazzled = false;
_root.birdsteps = 0;
_root.birdsteps2 = 0;
_root.toofaraway = false;
_root.npc3hero = false;
_root.npc4hero = false;
_root.npc5hero = false;
_root.npc6hero = false;
_root.npc3hero2 = false;
_root.npc4hero2 = false;
_root.npc5hero2 = false;
_root.npc6hero2 = false;
_root.momentum = 0;
_root.herospeed = 4;
_root.gravity = 3;
_root.velocity = 0;
_root.falling = true;
_root.leftallowed = true;
_root.rightallowed = true;
_root.leftallowedd = true;
_root.rightallowedd = true;
_root.sinking = false;
_root.standallowed = true;
_root.momentum2 = 0;
_root.herospeed2 = 4;
_root.gravity2 = 3;
_root.velocity2 = 0;
_root.falling2 = true;
_root.leftallowed2 = true;
_root.rightallowed2 = true;
_root.leftallowedd2 = true;
_root.rightallowedd2 = true;
_root.sinking2 = false;
_root.standallowed2 = true;
_root.crategravity = 3;
_root.cratevelocity = 0;
_root.cratefalling = true;
_root.npc3gravity = 3;
_root.npc3velocity = 0;
_root.npc3falling = true;
_root.npc4gravity = 3;
_root.npc4velocity = 0;
_root.npc4falling = true;
_root.npc5gravity = 3;
_root.npc5velocity = 0;
_root.npc5falling = true;
_root.npc6gravity = 3;
_root.npc6velocity = 0;
_root.npc6falling = true;
_root.npc7gravity = 3;
_root.npc7velocity = 0;
_root.npc7falling = true;
if (_root.level == 0) {
_root.mainframe.fade.play();
_root.gotoAndStop(3);
}
if (_root.level == -1) {
stopAllSounds();
_root.mainframe.fade.play();
_root.gotoAndStop(2);
}
if (_root.level == 0.1) {
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (_root.level == 0.2) {
stopAllSounds();
_root.mainframe.fade.play();
_root.gotoAndStop(5);
}
if (_root.level == 1) {
stopAllSounds();
_root.mainframe.fade.play();
_root.gotoAndStop(6);
}
if (_root.level == 2) {
stopAllSounds();
_root.mainframe.fade.play();
_root.gotoAndStop(7);
}
if (_root.level == 3) {
stopAllSounds();
_root.mainframe.fade.play();
_root.gotoAndStop(8);
}
if (_root.level == 4) {
stopAllSounds();
_root.mainframe.fade.play();
_root.gotoAndStop(9);
}
if (_root.level == 9) {
stopAllSounds();
_root.mainframe.fade.play();
_root.gotoAndStop(10);
}
if (_root.level == 16) {
stopAllSounds();
_root.mainframe.fade.play();
_root.gotoAndStop(11);
}
if (_root.level == 5) {
stopAllSounds();
_root.mainframe.fade.play();
_root.gotoAndStop(12);
}
if (_root.level == 8) {
stopAllSounds();
_root.mainframe.fade.play();
_root.gotoAndStop(13);
}
if (_root.level == 11) {
stopAllSounds();
_root.mainframe.fade.play();
_root.gotoAndStop(14);
}
if (_root.level == 14) {
stopAllSounds();
_root.mainframe.fade.play();
_root.gotoAndStop(15);
}
if (_root.level == 17) {
stopAllSounds();
_root.mainframe.fade.play();
_root.gotoAndStop(16);
}
if (_root.level == 10) {
stopAllSounds();
_root.mainframe.fade.play();
_root.gotoAndStop(17);
}
if (_root.level == 15) {
stopAllSounds();
_root.mainframe.fade.play();
_root.gotoAndStop(18);
}
if (_root.level == 19) {
stopAllSounds();
_root.mainframe.fade.play();
_root.gotoAndStop(19);
}
if (_root.level == 20) {
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
frame 5 {
stop();
_root._x = 0;
_root._y = 0;
_root.mainpauseallowed = false;
_root.mainframe.characterhud._alpha = 0;
if (_root.maplocation == 1) {
_root.levelselection.gotoAndStop(1);
} else {
if (_root.maplocation == 2) {
_root.levelselection.gotoAndStop(2);
} else {
if (_root.maplocation == 3) {
_root.levelselection.gotoAndStop(3);
} else {
if (_root.maplocation == 4) {
_root.levelselection.gotoAndStop(4);
} else {
if (_root.maplocation == 5) {
_root.levelselection.gotoAndStop(9);
} else {
if (_root.maplocation == 6) {
_root.levelselection.gotoAndStop(14);
} else {
if (_root.maplocation == 7) {
_root.levelselection.gotoAndStop(15);
} else {
if (_root.maplocation == 8) {
_root.levelselection.gotoAndStop(10);
} else {
if (_root.maplocation == 9) {
_root.levelselection.gotoAndStop(5);
} else {
if (_root.maplocation == 10) {
_root.levelselection.gotoAndStop(6);
} else {
if (_root.maplocation == 11) {
_root.levelselection.gotoAndStop(11);
} else {
if (_root.maplocation == 12) {
_root.levelselection.gotoAndStop(16);
} else {
if (_root.maplocation == 13) {
_root.levelselection.gotoAndStop(17);
} else {
if (_root.maplocation == 14) {
_root.levelselection.gotoAndStop(12);
} else {
if (_root.maplocation == 15) {
_root.levelselection.gotoAndStop(7);
} else {
if (_root.maplocation == 16) {
_root.levelselection.gotoAndStop(8);
} else {
if (_root.maplocation == 17) {
_root.levelselection.gotoAndStop(13);
} else {
if (_root.maplocation == 18) {
_root.levelselection.gotoAndStop(18);
} else {
if (_root.maplocation == 19) {
_root.levelselection.gotoAndStop(19);
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
movieClip 355 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 358 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 359 {
}
movieClip 360 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 361 {
}
movieClip 362 {
}
movieClip 363 {
}
movieClip 364 {
frame 1 {
stop();
_root.level = 1;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(9);
}
instance of movieClip 355 {
onClipEvent (enterFrame) {
if (_root.level17finished == true and _root.level5finished == true and _root.level8finished == true and _root.level9finished == true and _root.level10finished == true and _root.level11finished == true and _root.level14finished == true and _root.level15finished == true and _root.level16finished == true and _root.level19unlocked == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 355 {
onClipEvent (enterFrame) {
if (_root.level2finished == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 355 {
onClipEvent (enterFrame) {
if (_root.level4finished == true) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.level5finished == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 355 {
onClipEvent (enterFrame) {
if (_root.level8finished == true) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.level9finished == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 355 {
onClipEvent (enterFrame) {
if (_root.level10finished == true) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.level11finished == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 355 {
onClipEvent (enterFrame) {
if (_root.level15finished == true) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.level14finished == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 355 {
onClipEvent (enterFrame) {
if (_root.level16finished == true) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.level17finished == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 355 {
onClipEvent (enterFrame) {
if (_root.level4finished == true) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.level9finished == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 355 {
onClipEvent (enterFrame) {
if (_root.level5finished == true) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.level8finished == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 355 {
onClipEvent (enterFrame) {
if (_root.level9finished == true) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.level10finished == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 355 {
onClipEvent (enterFrame) {
if (_root.level8finished == true) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.level11finished == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 355 {
onClipEvent (enterFrame) {
if (_root.level10finished == true) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.level15finished == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 355 {
onClipEvent (enterFrame) {
if (_root.level11finished == true) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.level14finished == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 355 {
onClipEvent (enterFrame) {
if (_root.level15finished == true) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.level16finished == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 355 {
onClipEvent (enterFrame) {
if (_root.level14finished == true) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.level17finished == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 355 {
onClipEvent (enterFrame) {
if (_root.level3finished == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 355 {
onClipEvent (enterFrame) {
if (_root.level1finished == true) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 360 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.levelselection.pets)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.level3finished == true) {
this.pad.gotoAndStop(2);
this.mainpad.pad.gotoAndStop(2);
}
}
}
instance of movieClip 360 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.levelselection.pets)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.level2finished == true) {
this.pad.gotoAndStop(2);
this.mainpad.pad.gotoAndStop(2);
}
}
}
instance of movieClip 360 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.levelselection.pets)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.level1finished == true) {
this.pad.gotoAndStop(2);
this.mainpad.pad.gotoAndStop(2);
}
}
}
instance of movieClip 360 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.levelselection.pets)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.level4finished == true) {
this.pad.gotoAndStop(2);
this.mainpad.pad.gotoAndStop(2);
}
}
}
instance of movieClip 360 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.levelselection.pets)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.level5finished == true) {
this.pad.gotoAndStop(2);
this.mainpad.pad.gotoAndStop(2);
}
}
}
instance of movieClip 360 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.levelselection.pets)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.level9finished == true) {
this.pad.gotoAndStop(2);
this.mainpad.pad.gotoAndStop(2);
}
}
}
instance of movieClip 360 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.levelselection.pets)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.level8finished == true) {
this.pad.gotoAndStop(2);
this.mainpad.pad.gotoAndStop(2);
}
}
}
instance of movieClip 360 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.levelselection.pets)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.level10finished == true) {
this.pad.gotoAndStop(2);
this.mainpad.pad.gotoAndStop(2);
}
}
}
instance of movieClip 360 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.levelselection.pets)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.level11finished == true) {
this.pad.gotoAndStop(2);
this.mainpad.pad.gotoAndStop(2);
}
}
}
instance of movieClip 360 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.levelselection.pets)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.level15finished == true) {
this.pad.gotoAndStop(2);
this.mainpad.pad.gotoAndStop(2);
}
}
}
instance of movieClip 360 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.levelselection.pets)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.level14finished == true) {
this.pad.gotoAndStop(2);
this.mainpad.pad.gotoAndStop(2);
}
}
}
instance of movieClip 360 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.levelselection.pets)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.level16finished == true) {
this.pad.gotoAndStop(2);
this.mainpad.pad.gotoAndStop(2);
}
}
}
instance of movieClip 360 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.levelselection.pets)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.level17finished == true) {
this.pad.gotoAndStop(2);
this.mainpad.pad.gotoAndStop(2);
}
}
}
instance of movieClip 360 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.levelselection.pets)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.level19finished == true) {
this.pad.gotoAndStop(2);
this.mainpad.pad.gotoAndStop(2);
}
}
}
instance pets of movieClip 363 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true) {
stopAllSounds();
_root.spaceallowed = false;
_root.mainframe.fade.play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.level2unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) == false and Key.isDown(37) == false and Key.isDown(38) == false and Key.isDown(40) == false) {
_root.moveallowed = true;
}
}
}
frame 2 {
stop();
_root.level = 2;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(9);
}
instance pets of movieClip 363 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true) {
stopAllSounds();
_root.spaceallowed = false;
_root.mainframe.fade.play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.level3unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.level1unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) == false and Key.isDown(37) == false and Key.isDown(38) == false and Key.isDown(40) == false) {
_root.moveallowed = true;
}
}
}
frame 3 {
stop();
_root.level = 3;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(9);
}
instance pets of movieClip 363 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true) {
stopAllSounds();
_root.spaceallowed = false;
_root.mainframe.fade.play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.level2unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.level4unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) == false and Key.isDown(37) == false and Key.isDown(38) == false and Key.isDown(40) == false) {
_root.moveallowed = true;
}
}
}
frame 4 {
stop();
_root.level = 4;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(9);
}
instance pets of movieClip 363 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true) {
stopAllSounds();
_root.spaceallowed = false;
_root.mainframe.fade.play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.level5unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.level3unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.level9unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) == false and Key.isDown(37) == false and Key.isDown(38) == false and Key.isDown(40) == false) {
_root.moveallowed = true;
}
}
}
frame 5 {
stop();
_root.level = 9;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(9);
}
instance pets of movieClip 363 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true) {
stopAllSounds();
_root.spaceallowed = false;
_root.mainframe.fade.play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.level8unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.level4unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.level10unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) == false and Key.isDown(37) == false and Key.isDown(38) == false and Key.isDown(40) == false) {
_root.moveallowed = true;
}
}
}
frame 6 {
stop();
_root.level = 10;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(9);
}
instance pets of movieClip 363 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true) {
stopAllSounds();
_root.spaceallowed = false;
_root.mainframe.fade.play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.level11unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.level9unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.level15unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(7);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) == false and Key.isDown(37) == false and Key.isDown(38) == false and Key.isDown(40) == false) {
_root.moveallowed = true;
}
}
}
frame 7 {
stop();
_root.level = 15;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(9);
}
instance pets of movieClip 363 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true) {
stopAllSounds();
_root.spaceallowed = false;
_root.mainframe.fade.play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.level14unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(12);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.level10unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.level16unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(8);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) == false and Key.isDown(37) == false and Key.isDown(38) == false and Key.isDown(40) == false) {
_root.moveallowed = true;
}
}
}
frame 8 {
stop();
_root.level = 16;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(9);
}
instance pets of movieClip 363 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true) {
stopAllSounds();
_root.spaceallowed = false;
_root.mainframe.fade.play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.level17unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(13);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.level15unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(7);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) == false and Key.isDown(37) == false and Key.isDown(38) == false and Key.isDown(40) == false) {
_root.moveallowed = true;
}
}
}
frame 9 {
stop();
_root.level = 5;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(9);
}
instance pets of movieClip 363 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true) {
stopAllSounds();
_root.spaceallowed = false;
_root.mainframe.fade.play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.level4unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.level8unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) == false and Key.isDown(37) == false and Key.isDown(38) == false and Key.isDown(40) == false) {
_root.moveallowed = true;
}
}
}
frame 10 {
stop();
_root.level = 8;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(9);
}
instance pets of movieClip 363 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true) {
stopAllSounds();
_root.spaceallowed = false;
_root.mainframe.fade.play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.level9unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.level11unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.level5unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) == false and Key.isDown(37) == false and Key.isDown(38) == false and Key.isDown(40) == false) {
_root.moveallowed = true;
}
}
}
frame 11 {
stop();
_root.level = 11;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(9);
}
instance pets of movieClip 363 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true) {
stopAllSounds();
_root.spaceallowed = false;
_root.mainframe.fade.play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.level10unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.level14unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(12);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.level8unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) == false and Key.isDown(37) == false and Key.isDown(38) == false and Key.isDown(40) == false) {
_root.moveallowed = true;
}
}
}
frame 12 {
stop();
_root.level = 14;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(9);
}
instance pets of movieClip 363 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true) {
stopAllSounds();
_root.spaceallowed = false;
_root.mainframe.fade.play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.level15unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(7);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.level17unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(13);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.level11unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) == false and Key.isDown(37) == false and Key.isDown(38) == false and Key.isDown(40) == false) {
_root.moveallowed = true;
}
}
}
frame 13 {
stop();
_root.level = 17;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(9);
}
instance pets of movieClip 363 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true) {
stopAllSounds();
_root.spaceallowed = false;
_root.mainframe.fade.play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.level16unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(8);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.level5finished == true and _root.level8finished == true and _root.level9finished == true and _root.level10finished == true and _root.level11finished == true and _root.level14finished == true and _root.level15finished == true and _root.level16finished == true and _root.level17finished == true and _root.level19unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(19);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.level14unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(12);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) == false and Key.isDown(37) == false and Key.isDown(38) == false and Key.isDown(40) == false) {
_root.moveallowed = true;
}
}
}
frame 14 {
stop();
_root.level = 6;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(9);
}
instance pets of movieClip 363 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true) {
_root.spaceallowed = false;
_root.mainframe.fade.play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.level5unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.level7unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(15);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) == false and Key.isDown(37) == false and Key.isDown(38) == false and Key.isDown(40) == false) {
_root.moveallowed = true;
}
}
}
frame 15 {
stop();
_root.level = 7;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(9);
}
instance pets of movieClip 363 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true) {
_root.spaceallowed = false;
_root.mainframe.fade.play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.level8unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.level12unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.level6unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(14);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) == false and Key.isDown(37) == false and Key.isDown(38) == false and Key.isDown(40) == false) {
_root.moveallowed = true;
}
}
}
frame 16 {
stop();
_root.level = 12;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(9);
}
instance pets of movieClip 363 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true) {
_root.spaceallowed = false;
_root.mainframe.fade.play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.level11unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.level13unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(17);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.level7unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(15);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) == false and Key.isDown(37) == false and Key.isDown(38) == false and Key.isDown(40) == false) {
_root.moveallowed = true;
}
}
}
frame 17 {
stop();
_root.level = 13;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(9);
}
instance pets of movieClip 363 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true) {
_root.spaceallowed = false;
_root.mainframe.fade.play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.level14unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(12);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.level18unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(18);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.level12unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(16);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) == false and Key.isDown(37) == false and Key.isDown(38) == false and Key.isDown(40) == false) {
_root.moveallowed = true;
}
}
}
frame 18 {
stop();
_root.level = 18;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(9);
}
instance pets of movieClip 363 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true) {
_root.spaceallowed = false;
_root.mainframe.fade.play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.level17unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(13);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.level13unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(17);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) == false and Key.isDown(37) == false and Key.isDown(38) == false and Key.isDown(40) == false) {
_root.moveallowed = true;
}
}
}
frame 19 {
stop();
_root.level = 19;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(9);
}
instance pets of movieClip 363 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true) {
stopAllSounds();
_root.spaceallowed = false;
_root.mainframe.fade.play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.level17unlocked == true and _root.moveallowed == true) {
_root.moveallowed = false;
_parent.gotoAndStop(13);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) == false and Key.isDown(37) == false and Key.isDown(38) == false and Key.isDown(40) == false) {
_root.moveallowed = true;
}
}
}
}
instance levelselection of movieClip 364 {
onClipEvent (enterFrame) {
this.pets.npc4.face.gotoAndStop(2);
this.pets.npc4.torso.gotoAndStop(2);
this.pets.npc5.face.gotoAndStop(3);
this.pets.npc5.torso.gotoAndStop(3);
this.pets.npc6.face.gotoAndStop(4);
this.pets.npc6.torso.gotoAndStop(4);
}
}
movieClip 374 {
}
instance body of movieClip 374 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._x += 0.5;
}
}
}
movieClip 386 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
}
movieClip 387 {
frame 1 {
_root.randomtip = Math.ceil(Math.random() * 10);
}
}
instance of movieClip 387 {
onClipEvent (enterFrame) {
this.text.gotoAndStop(_root.randomtip);
}
}
frame 6 {
stop();
_root.mainpauseallowed = true;
_root.mainframe.reset.gotoAndStop(2);
_root.hero.gotoAndStop(1);
_root.hero2.gotoAndStop(10);
_root.bg1.gotoAndStop(2);
_root.bg2.gotoAndStop(2);
_root.fg1.gotoAndStop(2);
_root.fg2.gotoAndStop(2);
_root.tutorialtext = 1;
_root.npc1._x += 0;
_root.npc2._x = 3100;
_root.npc3._x = 4000;
_root.npc3._y = 345;
_root.npc4._x = 1920;
_root.npc4._y = 130;
_root.npc5._x = 3170;
_root.npc5._y = 130;
_root.npc6._x = 1300;
_root.npc6._y = 345;
}
movieClip 393 {
}
movieClip 398 {
}
movieClip 400 {
}
movieClip 405 {
}
movieClip 407 {
}
movieClip 409 {
}
movieClip 410 {
frame 1 {
stop();
}
instance sky of movieClip 393 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.therightborder)) {
_parent._x -= 1440;
_parent.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theleftborder)) {
_parent._x += 1440;
_parent.nextFrame();
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
frame 28 {
stop();
}
frame 29 {
stop();
}
frame 30 {
stop();
}
frame 31 {
stop();
}
frame 32 {
stop();
}
frame 33 {
stop();
}
frame 34 {
stop();
}
frame 35 {
stop();
}
frame 36 {
stop();
}
frame 37 {
stop();
}
frame 38 {
stop();
}
frame 39 {
stop();
}
frame 40 {
stop();
}
frame 41 {
stop();
}
frame 42 {
stop();
}
frame 46 {
stop();
}
frame 47 {
stop();
}
frame 48 {
stop();
}
frame 49 {
stop();
}
frame 50 {
stop();
}
frame 51 {
stop();
}
frame 52 {
stop();
}
frame 53 {
stop();
}
frame 54 {
stop();
}
frame 55 {
stop();
}
frame 56 {
stop();
}
frame 57 {
stop();
}
frame 58 {
stop();
}
frame 59 {
stop();
}
frame 60 {
stop();
}
frame 61 {
stop();
}
frame 62 {
stop();
}
frame 63 {
stop();
}
frame 64 {
stop();
}
frame 65 {
stop();
}
frame 66 {
stop();
}
frame 67 {
stop();
}
frame 68 {
stop();
}
frame 69 {
stop();
}
frame 70 {
stop();
}
frame 71 {
stop();
}
frame 72 {
stop();
}
frame 73 {
stop();
}
frame 74 {
stop();
}
frame 75 {
stop();
}
frame 76 {
stop();
}
frame 77 {
stop();
}
frame 78 {
stop();
}
frame 79 {
stop();
}
frame 80 {
stop();
}
frame 81 {
stop();
}
frame 82 {
stop();
}
frame 83 {
stop();
}
frame 84 {
stop();
}
}
movieClip 413 {
frame 1 {
stop();
}
instance sky of movieClip 393 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.therightborder)) {
_parent._x -= 1440;
_parent.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theleftborder)) {
_parent._x += 1440;
_parent.nextFrame();
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
frame 28 {
stop();
}
frame 29 {
stop();
}
frame 30 {
stop();
}
frame 31 {
stop();
}
frame 32 {
stop();
}
frame 33 {
stop();
}
frame 34 {
stop();
}
frame 35 {
stop();
}
frame 36 {
stop();
}
frame 37 {
stop();
}
frame 38 {
stop();
}
frame 39 {
stop();
}
frame 40 {
stop();
}
frame 41 {
stop();
}
frame 42 {
stop();
}
frame 46 {
stop();
}
frame 47 {
stop();
}
frame 48 {
stop();
}
frame 49 {
stop();
}
frame 50 {
stop();
}
frame 51 {
stop();
}
frame 52 {
stop();
}
frame 53 {
stop();
}
frame 54 {
stop();
}
frame 55 {
stop();
}
frame 56 {
stop();
}
frame 57 {
stop();
}
frame 58 {
stop();
}
frame 59 {
stop();
}
frame 60 {
stop();
}
frame 61 {
stop();
}
frame 62 {
stop();
}
frame 63 {
stop();
}
frame 64 {
stop();
}
frame 65 {
stop();
}
frame 66 {
stop();
}
frame 67 {
stop();
}
frame 68 {
stop();
}
frame 69 {
stop();
}
frame 70 {
stop();
}
frame 71 {
stop();
}
frame 72 {
stop();
}
frame 73 {
stop();
}
frame 74 {
stop();
}
frame 75 {
stop();
}
frame 76 {
stop();
}
frame 77 {
stop();
}
frame 78 {
stop();
}
frame 79 {
stop();
}
frame 80 {
stop();
}
frame 81 {
stop();
}
frame 82 {
stop();
}
frame 83 {
stop();
}
frame 84 {
stop();
}
}
movieClip 417 {
}
movieClip 419 {
frame 5 {
_root.trampoline = false;
_root.trampoline2 = false;
_parent.gotoAndStop(1);
}
}
movieClip 420 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 425 {
}
movieClip 440 {
}
movieClip 456 {
frame 1 {
stop();
}
instance sky of movieClip 393 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.therightborder)) {
_parent._x -= 1440;
_parent.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theleftborder)) {
_parent._x += 1440;
_parent.nextFrame();
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
instance finishlinetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.npc3hero == true and _root.pause == false) {
_root.npc3hero = false;
_root.npc3._x = _root.hero._x;
_root.npc3._y = _root.hero._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc4hero == true and _root.pause == false) {
_root.npc4hero = false;
_root.npc4._x = _root.hero._x;
_root.npc4._y = _root.hero._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc5hero == true and _root.pause == false) {
_root.npc5hero = false;
_root.npc5._x = _root.hero._x;
_root.npc5._y = _root.hero._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc6hero == true and _root.pause == false) {
_root.npc6hero = false;
_root.npc6._x = _root.hero._x;
_root.npc6._y = _root.hero._y;
_root.npc6.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc3hero2 == true and _root.pause == false) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc4hero2 == true and _root.pause == false) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc5hero2 == true and _root.pause == false) {
_root.spaceallowed = false;
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc6hero2 == true and _root.pause == false) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(1);
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and this.hitTest(_root.hero2.hitbox) and this.hitTest(_root.npc3) and this.hitTest(_root.npc4) and this.hitTest(_root.npc5) and this.hitTest(_root.npc6) and _root.pause == false) {
_root.mainpauseallowed = false;
_root.level1finished = true;
_root.level2unlocked = true;
_root.maplocation = 1;
_root.gamesaved = true;
_root.hero.gotoAndStop(53);
_root.pos = SharedObject.getLocal('absave');
_root.pos.data.level1finished = _root.level1finished;
_root.pos.data.level2unlocked = _root.level2unlocked;
_root.pos.data.maplocation = _root.maplocation;
_root.pos.data.gamesaved = _root.gamesaved;
}
}
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
instance finishlinetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.npc3hero == true and _root.pause == false) {
_root.npc3hero = false;
_root.npc3._x = _root.hero._x;
_root.npc3._y = _root.hero._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc4hero == true and _root.pause == false) {
_root.npc4hero = false;
_root.npc4._x = _root.hero._x;
_root.npc4._y = _root.hero._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc5hero == true and _root.pause == false) {
_root.npc5hero = false;
_root.npc5._x = _root.hero._x;
_root.npc5._y = _root.hero._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc6hero == true and _root.pause == false) {
_root.npc6hero = false;
_root.npc6._x = _root.hero._x;
_root.npc6._y = _root.hero._y;
_root.npc6.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc3hero2 == true and _root.pause == false) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc4hero2 == true and _root.pause == false) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc5hero2 == true and _root.pause == false) {
_root.spaceallowed = false;
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc6hero2 == true and _root.pause == false) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(1);
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and this.hitTest(_root.hero2.hitbox) and this.hitTest(_root.npc3) and this.hitTest(_root.npc4) and this.hitTest(_root.npc5) and this.hitTest(_root.npc6) and _root.pause == false) {
_root.mainpauseallowed = false;
_root.level3finished = true;
_root.level4unlocked = true;
_root.maplocation = 3;
_root.gamesaved = true;
_root.hero.gotoAndStop(53);
_root.pos = SharedObject.getLocal('absave');
_root.pos.data.level3finished = _root.level3finished;
_root.pos.data.level4unlocked = _root.level4unlocked;
_root.pos.data.maplocation = _root.maplocation;
_root.pos.data.gamesaved = _root.gamesaved;
}
}
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
frame 28 {
stop();
}
frame 29 {
stop();
}
frame 30 {
stop();
}
frame 31 {
stop();
}
frame 32 {
stop();
}
frame 33 {
stop();
}
instance finishlinetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.npc3hero == true and _root.pause == false) {
_root.npc3hero = false;
_root.npc3._x = _root.hero._x;
_root.npc3._y = _root.hero._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc4hero == true and _root.pause == false) {
_root.npc4hero = false;
_root.npc4._x = _root.hero._x;
_root.npc4._y = _root.hero._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc5hero == true and _root.pause == false) {
_root.npc5hero = false;
_root.npc5._x = _root.hero._x;
_root.npc5._y = _root.hero._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc6hero == true and _root.pause == false) {
_root.npc6hero = false;
_root.npc6._x = _root.hero._x;
_root.npc6._y = _root.hero._y;
_root.npc6.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc3hero2 == true and _root.pause == false) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc4hero2 == true and _root.pause == false) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc5hero2 == true and _root.pause == false) {
_root.spaceallowed = false;
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc6hero2 == true and _root.pause == false) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(1);
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and this.hitTest(_root.hero2.hitbox) and this.hitTest(_root.npc3) and this.hitTest(_root.npc4) and this.hitTest(_root.npc5) and this.hitTest(_root.npc6) and _root.pause == false) {
_root.mainpauseallowed = false;
_root.level5finished = true;
_root.level6unlocked = true;
_root.level8unlocked = true;
_root.maplocation = 5;
_root.gamesaved = true;
_root.hero.gotoAndStop(53);
_root.pos = SharedObject.getLocal('absave');
_root.pos.data.level5finished = _root.level5finished;
_root.pos.data.level6unlocked = _root.level6unlocked;
_root.pos.data.level8unlocked = _root.level8unlocked;
_root.pos.data.maplocation = _root.maplocation;
_root.pos.data.gamesaved = _root.gamesaved;
}
}
}
frame 34 {
stop();
}
frame 35 {
stop();
}
frame 36 {
stop();
}
frame 37 {
stop();
}
instance finishlinetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.npc3hero == true and _root.pause == false) {
_root.npc3hero = false;
_root.npc3._x = _root.hero._x;
_root.npc3._y = _root.hero._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc4hero == true and _root.pause == false) {
_root.npc4hero = false;
_root.npc4._x = _root.hero._x;
_root.npc4._y = _root.hero._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc5hero == true and _root.pause == false) {
_root.npc5hero = false;
_root.npc5._x = _root.hero._x;
_root.npc5._y = _root.hero._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc6hero == true and _root.pause == false) {
_root.npc6hero = false;
_root.npc6._x = _root.hero._x;
_root.npc6._y = _root.hero._y;
_root.npc6.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc3hero2 == true and _root.pause == false) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc4hero2 == true and _root.pause == false) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc5hero2 == true and _root.pause == false) {
_root.spaceallowed = false;
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc6hero2 == true and _root.pause == false) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(1);
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and this.hitTest(_root.hero2.hitbox) and this.hitTest(_root.npc3) and this.hitTest(_root.npc4) and this.hitTest(_root.npc5) and this.hitTest(_root.npc6) and _root.pause == false) {
_root.mainpauseallowed = false;
_root.level8finished = true;
_root.level5unlocked = true;
_root.level9unlocked = true;
_root.level7unlocked = true;
_root.level11unlocked = true;
_root.maplocation = 8;
_root.gamesaved = true;
_root.hero.gotoAndStop(53);
_root.pos = SharedObject.getLocal('absave');
_root.pos.data.level8finished = _root.level8finished;
_root.pos.data.level5unlocked = _root.level5unlocked;
_root.pos.data.level9unlocked = _root.level9unlocked;
_root.pos.data.level7unlocked = _root.level7unlocked;
_root.pos.data.level11unlocked = _root.level11unlocked;
_root.pos.data.maplocation = _root.maplocation;
_root.pos.data.gamesaved = _root.gamesaved;
}
}
}
frame 38 {
stop();
}
frame 39 {
stop();
}
frame 40 {
stop();
}
frame 41 {
stop();
}
instance finishlinetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.npc3hero == true and _root.pause == false) {
_root.npc3hero = false;
_root.npc3._x = _root.hero._x;
_root.npc3._y = _root.hero._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc4hero == true and _root.pause == false) {
_root.npc4hero = false;
_root.npc4._x = _root.hero._x;
_root.npc4._y = _root.hero._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc5hero == true and _root.pause == false) {
_root.npc5hero = false;
_root.npc5._x = _root.hero._x;
_root.npc5._y = _root.hero._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc6hero == true and _root.pause == false) {
_root.npc6hero = false;
_root.npc6._x = _root.hero._x;
_root.npc6._y = _root.hero._y;
_root.npc6.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc3hero2 == true and _root.pause == false) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc4hero2 == true and _root.pause == false) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc5hero2 == true and _root.pause == false) {
_root.spaceallowed = false;
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc6hero2 == true and _root.pause == false) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(1);
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and this.hitTest(_root.hero2.hitbox) and this.hitTest(_root.npc3) and this.hitTest(_root.npc4) and this.hitTest(_root.npc5) and this.hitTest(_root.npc6) and _root.pause == false) {
_root.mainpauseallowed = false;
_root.level11finished = true;
_root.level8unlocked = true;
_root.level10unlocked = true;
_root.level14unlocked = true;
_root.level12unlocked = true;
_root.maplocation = 11;
_root.gamesaved = true;
_root.hero.gotoAndStop(53);
_root.pos = SharedObject.getLocal('absave');
_root.pos.data.level11finished = _root.level11finished;
_root.pos.data.level8unlocked = _root.level8unlocked;
_root.pos.data.level10unlocked = _root.level10unlocked;
_root.pos.data.level14unlocked = _root.level14unlocked;
_root.pos.data.level12unlocked = _root.level12unlocked;
_root.pos.data.maplocation = _root.maplocation;
_root.pos.data.gamesaved = _root.gamesaved;
}
}
}
frame 42 {
stop();
}
frame 43 {
stop();
}
frame 44 {
stop();
}
frame 45 {
stop();
}
instance finishlinetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.npc3hero == true and _root.pause == false) {
_root.npc3hero = false;
_root.npc3._x = _root.hero._x;
_root.npc3._y = _root.hero._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc4hero == true and _root.pause == false) {
_root.npc4hero = false;
_root.npc4._x = _root.hero._x;
_root.npc4._y = _root.hero._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc5hero == true and _root.pause == false) {
_root.npc5hero = false;
_root.npc5._x = _root.hero._x;
_root.npc5._y = _root.hero._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc6hero == true and _root.pause == false) {
_root.npc6hero = false;
_root.npc6._x = _root.hero._x;
_root.npc6._y = _root.hero._y;
_root.npc6.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc3hero2 == true and _root.pause == false) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc4hero2 == true and _root.pause == false) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc5hero2 == true and _root.pause == false) {
_root.spaceallowed = false;
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc6hero2 == true and _root.pause == false) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(1);
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and this.hitTest(_root.hero2.hitbox) and this.hitTest(_root.npc3) and this.hitTest(_root.npc4) and this.hitTest(_root.npc5) and this.hitTest(_root.npc6) and _root.pause == false) {
_root.mainpauseallowed = false;
_root.level14finished = true;
_root.level11unlocked = true;
_root.level15unlocked = true;
_root.level13unlocked = true;
_root.level17unlocked = true;
_root.maplocation = 14;
_root.gamesaved = true;
_root.hero.gotoAndStop(53);
_root.pos = SharedObject.getLocal('absave');
_root.pos.data.level14finished = _root.level14finished;
_root.pos.data.level11unlocked = _root.level11unlocked;
_root.pos.data.level15unlocked = _root.level15unlocked;
_root.pos.data.level13unlocked = _root.level13unlocked;
_root.pos.data.level17unlocked = _root.level17unlocked;
_root.pos.data.maplocation = _root.maplocation;
_root.pos.data.gamesaved = _root.gamesaved;
}
}
}
frame 46 {
stop();
}
frame 47 {
stop();
}
frame 48 {
stop();
}
frame 49 {
stop();
}
frame 50 {
stop();
}
frame 51 {
stop();
}
frame 52 {
stop();
}
frame 53 {
stop();
}
frame 54 {
stop();
}
frame 55 {
stop();
}
frame 56 {
stop();
}
frame 57 {
stop();
}
instance finishlinetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.npc3hero == true and _root.pause == false) {
_root.npc3hero = false;
_root.npc3._x = _root.hero._x;
_root.npc3._y = _root.hero._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc4hero == true and _root.pause == false) {
_root.npc4hero = false;
_root.npc4._x = _root.hero._x;
_root.npc4._y = _root.hero._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc5hero == true and _root.pause == false) {
_root.npc5hero = false;
_root.npc5._x = _root.hero._x;
_root.npc5._y = _root.hero._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc6hero == true and _root.pause == false) {
_root.npc6hero = false;
_root.npc6._x = _root.hero._x;
_root.npc6._y = _root.hero._y;
_root.npc6.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc3hero2 == true and _root.pause == false) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc4hero2 == true and _root.pause == false) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc5hero2 == true and _root.pause == false) {
_root.spaceallowed = false;
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc6hero2 == true and _root.pause == false) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(1);
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and this.hitTest(_root.hero2.hitbox) and this.hitTest(_root.npc3) and this.hitTest(_root.npc4) and this.hitTest(_root.npc5) and this.hitTest(_root.npc6) and _root.pause == false) {
_root.mainpauseallowed = false;
_root.level15finished = true;
_root.level10unlocked = true;
_root.level14unlocked = true;
_root.level16unlocked = true;
_root.maplocation = 15;
_root.gamesaved = true;
_root.hero.gotoAndStop(53);
_root.pos = SharedObject.getLocal('absave');
_root.pos.data.level15finished = _root.level15finished;
_root.pos.data.level10unlocked = _root.level10unlocked;
_root.pos.data.level14unlocked = _root.level14unlocked;
_root.pos.data.level16unlocked = _root.level16unlocked;
_root.pos.data.maplocation = _root.maplocation;
_root.pos.data.gamesaved = _root.gamesaved;
}
}
}
frame 58 {
stop();
}
frame 59 {
stop();
}
frame 60 {
stop();
}
frame 61 {
stop();
}
instance finishlinetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.npc3hero == true and _root.pause == false) {
_root.npc3hero = false;
_root.npc3._x = _root.hero._x;
_root.npc3._y = _root.hero._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc4hero == true and _root.pause == false) {
_root.npc4hero = false;
_root.npc4._x = _root.hero._x;
_root.npc4._y = _root.hero._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc5hero == true and _root.pause == false) {
_root.npc5hero = false;
_root.npc5._x = _root.hero._x;
_root.npc5._y = _root.hero._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc6hero == true and _root.pause == false) {
_root.npc6hero = false;
_root.npc6._x = _root.hero._x;
_root.npc6._y = _root.hero._y;
_root.npc6.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc3hero2 == true and _root.pause == false) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc4hero2 == true and _root.pause == false) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc5hero2 == true and _root.pause == false) {
_root.spaceallowed = false;
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc6hero2 == true and _root.pause == false) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(1);
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and this.hitTest(_root.hero2.hitbox) and this.hitTest(_root.npc3) and this.hitTest(_root.npc4) and this.hitTest(_root.npc5) and this.hitTest(_root.npc6) and _root.pause == false) {
_root.mainpauseallowed = false;
_root.level19finished = true;
_root.maplocation = 19;
_root.gamesaved = true;
_root.gamecompleted = true;
_root.hero.gotoAndStop(53);
_root.pos = SharedObject.getLocal('absave');
_root.pos.data.level19finished = _root.level19finished;
_root.pos.data.maplocation = _root.maplocation;
_root.pos.data.gamesaved = _root.gamesaved;
}
}
}
frame 62 {
stop();
}
frame 63 {
stop();
}
frame 64 {
stop();
}
frame 65 {
stop();
}
frame 66 {
stop();
}
frame 67 {
stop();
}
frame 68 {
stop();
}
frame 69 {
stop();
}
frame 70 {
stop();
}
frame 71 {
stop();
}
frame 72 {
stop();
}
frame 73 {
stop();
}
frame 74 {
stop();
}
frame 75 {
stop();
}
frame 76 {
stop();
}
frame 77 {
stop();
}
frame 78 {
stop();
}
frame 79 {
stop();
}
frame 80 {
stop();
}
frame 81 {
stop();
}
frame 82 {
stop();
}
frame 83 {
stop();
}
frame 84 {
stop();
}
frame 85 {
stop();
}
}
movieClip 466 {
frame 1 {
stop();
}
instance sky of movieClip 393 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.therightborder)) {
_parent._x -= 1440;
_parent.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theleftborder)) {
_parent._x += 1440;
_parent.nextFrame();
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
instance finishlinetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.npc3hero == true and _root.pause == false) {
_root.npc3hero = false;
_root.npc3._x = _root.hero._x;
_root.npc3._y = _root.hero._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc4hero == true and _root.pause == false) {
_root.npc4hero = false;
_root.npc4._x = _root.hero._x;
_root.npc4._y = _root.hero._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc5hero == true and _root.pause == false) {
_root.npc5hero = false;
_root.npc5._x = _root.hero._x;
_root.npc5._y = _root.hero._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc6hero == true and _root.pause == false) {
_root.npc6hero = false;
_root.npc6._x = _root.hero._x;
_root.npc6._y = _root.hero._y;
_root.npc6.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc3hero2 == true and _root.pause == false) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc4hero2 == true and _root.pause == false) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc5hero2 == true and _root.pause == false) {
_root.spaceallowed = false;
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc6hero2 == true and _root.pause == false) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(1);
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and this.hitTest(_root.hero2.hitbox) and this.hitTest(_root.npc3) and this.hitTest(_root.npc4) and this.hitTest(_root.npc5) and this.hitTest(_root.npc6) and _root.pause == false) {
_root.mainpauseallowed = false;
_root.level2finished = true;
_root.level3unlocked = true;
_root.maplocation = 2;
_root.gamesaved = true;
_root.hero.gotoAndStop(53);
_root.pos = SharedObject.getLocal('absave');
_root.pos.data.level2finished = _root.level2finished;
_root.pos.data.level3unlocked = _root.level3unlocked;
_root.pos.data.maplocation = _root.maplocation;
_root.pos.data.gamesaved = _root.gamesaved;
}
}
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
instance finishlinetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.npc3hero == true and _root.pause == false) {
_root.npc3hero = false;
_root.npc3._x = _root.hero._x;
_root.npc3._y = _root.hero._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc4hero == true and _root.pause == false) {
_root.npc4hero = false;
_root.npc4._x = _root.hero._x;
_root.npc4._y = _root.hero._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc5hero == true and _root.pause == false) {
_root.npc5hero = false;
_root.npc5._x = _root.hero._x;
_root.npc5._y = _root.hero._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc6hero == true and _root.pause == false) {
_root.npc6hero = false;
_root.npc6._x = _root.hero._x;
_root.npc6._y = _root.hero._y;
_root.npc6.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc3hero2 == true and _root.pause == false) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc4hero2 == true and _root.pause == false) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc5hero2 == true and _root.pause == false) {
_root.spaceallowed = false;
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc6hero2 == true and _root.pause == false) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(1);
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and this.hitTest(_root.hero2.hitbox) and this.hitTest(_root.npc3) and this.hitTest(_root.npc4) and this.hitTest(_root.npc5) and this.hitTest(_root.npc6) and _root.pause == false) {
_root.mainpauseallowed = false;
_root.level4finished = true;
_root.level5unlocked = true;
_root.level9unlocked = true;
_root.maplocation = 4;
_root.gamesaved = true;
_root.hero.gotoAndStop(53);
_root.pos = SharedObject.getLocal('absave');
_root.pos.data.level4finished = _root.level4finished;
_root.pos.data.level5unlocked = _root.level5unlocked;
_root.pos.data.level9unlocked = _root.level9unlocked;
_root.pos.data.maplocation = _root.maplocation;
_root.pos.data.gamesaved = _root.gamesaved;
}
}
}
frame 19 {
stop();
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
instance finishlinetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.npc3hero == true and _root.pause == false) {
_root.npc3hero = false;
_root.npc3._x = _root.hero._x;
_root.npc3._y = _root.hero._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc4hero == true and _root.pause == false) {
_root.npc4hero = false;
_root.npc4._x = _root.hero._x;
_root.npc4._y = _root.hero._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc5hero == true and _root.pause == false) {
_root.npc5hero = false;
_root.npc5._x = _root.hero._x;
_root.npc5._y = _root.hero._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc6hero == true and _root.pause == false) {
_root.npc6hero = false;
_root.npc6._x = _root.hero._x;
_root.npc6._y = _root.hero._y;
_root.npc6.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc3hero2 == true and _root.pause == false) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc4hero2 == true and _root.pause == false) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc5hero2 == true and _root.pause == false) {
_root.spaceallowed = false;
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc6hero2 == true and _root.pause == false) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(1);
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and this.hitTest(_root.hero2.hitbox) and this.hitTest(_root.npc3) and this.hitTest(_root.npc4) and this.hitTest(_root.npc5) and this.hitTest(_root.npc6) and _root.pause == false) {
_root.mainpauseallowed = false;
_root.level9finished = true;
_root.level10unlocked = true;
_root.level8unlocked = true;
_root.maplocation = 9;
_root.gamesaved = true;
_root.hero.gotoAndStop(53);
_root.pos = SharedObject.getLocal('absave');
_root.pos.data.level9finished = _root.level9finished;
_root.pos.data.level10unlocked = _root.level10unlocked;
_root.pos.data.level8unlocked = _root.level8unlocked;
_root.pos.data.maplocation = _root.maplocation;
_root.pos.data.gamesaved = _root.gamesaved;
}
}
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
frame 28 {
stop();
}
instance finishlinetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.npc3hero == true and _root.pause == false) {
_root.npc3hero = false;
_root.npc3._x = _root.hero._x;
_root.npc3._y = _root.hero._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc4hero == true and _root.pause == false) {
_root.npc4hero = false;
_root.npc4._x = _root.hero._x;
_root.npc4._y = _root.hero._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc5hero == true and _root.pause == false) {
_root.npc5hero = false;
_root.npc5._x = _root.hero._x;
_root.npc5._y = _root.hero._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc6hero == true and _root.pause == false) {
_root.npc6hero = false;
_root.npc6._x = _root.hero._x;
_root.npc6._y = _root.hero._y;
_root.npc6.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc3hero2 == true and _root.pause == false) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc4hero2 == true and _root.pause == false) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc5hero2 == true and _root.pause == false) {
_root.spaceallowed = false;
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc6hero2 == true and _root.pause == false) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(1);
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and this.hitTest(_root.hero2.hitbox) and this.hitTest(_root.npc3) and this.hitTest(_root.npc4) and this.hitTest(_root.npc5) and this.hitTest(_root.npc6) and _root.pause == false) {
_root.mainpauseallowed = false;
_root.level16finished = true;
_root.level17unlocked = true;
_root.level15unlocked = true;
_root.maplocation = 16;
_root.gamesaved = true;
_root.hero.gotoAndStop(53);
_root.pos = SharedObject.getLocal('absave');
_root.pos.data.level16finished = _root.level16finished;
_root.pos.data.level17unlocked = _root.level17unlocked;
_root.pos.data.level15unlocked = _root.level15unlocked;
_root.pos.data.maplocation = _root.maplocation;
_root.pos.data.gamesaved = _root.gamesaved;
}
}
}
frame 29 {
stop();
}
frame 30 {
stop();
}
frame 31 {
stop();
}
frame 32 {
stop();
}
frame 33 {
stop();
}
frame 34 {
stop();
}
frame 35 {
stop();
}
frame 36 {
stop();
}
frame 37 {
stop();
}
frame 38 {
stop();
}
frame 39 {
stop();
}
frame 40 {
stop();
}
frame 41 {
stop();
}
frame 42 {
stop();
}
frame 43 {
stop();
}
frame 44 {
stop();
}
frame 45 {
stop();
}
frame 46 {
stop();
}
frame 47 {
stop();
}
frame 48 {
stop();
}
frame 49 {
stop();
}
instance finishlinetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.npc3hero == true and _root.pause == false) {
_root.npc3hero = false;
_root.npc3._x = _root.hero._x;
_root.npc3._y = _root.hero._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc4hero == true and _root.pause == false) {
_root.npc4hero = false;
_root.npc4._x = _root.hero._x;
_root.npc4._y = _root.hero._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc5hero == true and _root.pause == false) {
_root.npc5hero = false;
_root.npc5._x = _root.hero._x;
_root.npc5._y = _root.hero._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc6hero == true and _root.pause == false) {
_root.npc6hero = false;
_root.npc6._x = _root.hero._x;
_root.npc6._y = _root.hero._y;
_root.npc6.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc3hero2 == true and _root.pause == false) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc4hero2 == true and _root.pause == false) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc5hero2 == true and _root.pause == false) {
_root.spaceallowed = false;
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc6hero2 == true and _root.pause == false) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(1);
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and this.hitTest(_root.hero2.hitbox) and this.hitTest(_root.npc3) and this.hitTest(_root.npc4) and this.hitTest(_root.npc5) and this.hitTest(_root.npc6) and _root.pause == false) {
_root.mainpauseallowed = false;
_root.level17finished = true;
_root.level14unlocked = true;
_root.level16unlocked = true;
_root.level18unlocked = true;
_root.level19unlocked = true;
_root.maplocation = 17;
_root.gamesaved = true;
_root.hero.gotoAndStop(53);
_root.pos = SharedObject.getLocal('absave');
_root.pos.data.level17finished = _root.level17finished;
_root.pos.data.level14unlocked = _root.level14unlocked;
_root.pos.data.level16unlocked = _root.level16unlocked;
_root.pos.data.level18unlocked = _root.level18unlocked;
_root.pos.data.level19unlocked = _root.level19unlocked;
_root.pos.data.maplocation = _root.maplocation;
_root.pos.data.gamesaved = _root.gamesaved;
}
}
}
frame 50 {
stop();
}
frame 51 {
stop();
}
frame 52 {
stop();
}
instance finishlinetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.npc3hero == true and _root.pause == false) {
_root.npc3hero = false;
_root.npc3._x = _root.hero._x;
_root.npc3._y = _root.hero._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc4hero == true and _root.pause == false) {
_root.npc4hero = false;
_root.npc4._x = _root.hero._x;
_root.npc4._y = _root.hero._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc5hero == true and _root.pause == false) {
_root.npc5hero = false;
_root.npc5._x = _root.hero._x;
_root.npc5._y = _root.hero._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.npc6hero == true and _root.pause == false) {
_root.npc6hero = false;
_root.npc6._x = _root.hero._x;
_root.npc6._y = _root.hero._y;
_root.npc6.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc3hero2 == true and _root.pause == false) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc4hero2 == true and _root.pause == false) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc5hero2 == true and _root.pause == false) {
_root.spaceallowed = false;
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(1);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.npc6hero2 == true and _root.pause == false) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(1);
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and this.hitTest(_root.hero2.hitbox) and this.hitTest(_root.npc3) and this.hitTest(_root.npc4) and this.hitTest(_root.npc5) and this.hitTest(_root.npc6) and _root.pause == false) {
_root.mainpauseallowed = false;
_root.level10finished = true;
_root.level9unlocked = true;
_root.level11unlocked = true;
_root.level15unlocked = true;
_root.maplocation = 10;
_root.gamesaved = true;
_root.hero.gotoAndStop(53);
_root.pos = SharedObject.getLocal('absave');
_root.pos.data.level10finished = _root.level10finished;
_root.pos.data.level9unlocked = _root.level9unlocked;
_root.pos.data.level11unlocked = _root.level11unlocked;
_root.pos.data.level15unlocked = _root.level15unlocked;
_root.pos.data.maplocation = _root.maplocation;
_root.pos.data.gamesaved = _root.gamesaved;
}
}
}
frame 53 {
stop();
}
frame 54 {
stop();
}
frame 55 {
stop();
}
frame 56 {
stop();
}
frame 57 {
stop();
}
frame 58 {
stop();
}
frame 59 {
stop();
}
frame 60 {
stop();
}
frame 61 {
stop();
}
frame 62 {
stop();
}
frame 63 {
stop();
}
frame 64 {
stop();
}
frame 65 {
stop();
}
frame 66 {
stop();
}
frame 67 {
stop();
}
frame 68 {
stop();
}
frame 69 {
stop();
}
frame 70 {
stop();
}
frame 71 {
stop();
}
frame 72 {
stop();
}
frame 73 {
stop();
}
frame 74 {
stop();
}
frame 75 {
stop();
}
frame 76 {
stop();
}
frame 77 {
stop();
}
frame 78 {
stop();
}
frame 79 {
stop();
}
frame 80 {
stop();
}
frame 81 {
stop();
}
frame 82 {
stop();
}
frame 83 {
stop();
}
frame 84 {
stop();
}
frame 85 {
stop();
}
frame 86 {
stop();
}
frame 87 {
stop();
}
}
movieClip 468 {
}
movieClip 469 {
frame 1 {
stop();
}
instance pickupboxleft of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.anskiturn == true and _root.pause == false) {
_root.spaceallowed = false;
_root.anskiboxcarry = true;
_root.hero.gotoAndStop(36);
_root.npc2.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
}
instance pickupboxright of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.anskiturn == true and _root.pause == false) {
_root.spaceallowed = false;
_root.anskiboxcarry = true;
_root.hero.gotoAndStop(37);
_root.npc2.gotoAndStop(2);
}
}
}
frame 2 {
stop();
_root.npc2._x -= 2000;
}
}
instance npc2 of movieClip 469 {
onClipEvent (enterFrame) {
if (_root.cratefalling == true and _root.pause == false) {
_root.cratevelocity += _root.crategravity;
_root.npc2._y += _root.cratevelocity;
}
i = 0;
while (i < 99) {
if (_root.npc2.body.hitbox.hitTest('_root.fg1.platform' + i)) {
crateplatform = eval('_root.fg1.platform' + i);
}
if (_root.npc2.body.hitbox.hitTest('_root.fg2.platform' + i)) {
crateplatform2 = eval('_root.fg2.platform' + i);
}
++i;
}
if (_root.npc2.body.hitbox.hitTest(crateplatform) and _root.pause == false) {
if (_root.cratefalling == true) {
_root.npc2._y = crateplatform._y - 77;
_root.cratevelocity = 0;
_root.cratefalling = false;
}
} else {
if (_root.npc2.body.hitbox.hitTest(crateplatform2) and _root.pause == false) {
if (_root.cratefalling == true) {
_root.npc2._y = crateplatform2._y - 77;
_root.cratevelocity = 0;
_root.cratefalling = false;
}
} else {
_root.cratefalling = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.npc2._x < 0) {
_root.cratefalling = false;
}
}
onClipEvent (enterFrame) {
if (_root.npc2._x > 720) {
_root.cratefalling = false;
}
}
}
movieClip 472 {
}
movieClip 473 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance flower of movieClip 472 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.hero._x < _root.hero2._x and _root.pause == false) {
_root.blipflower = false;
_root.hero.gotoAndStop(46);
_root.hero2.gotoAndStop(32);
} else {
if (this.hitTest(_root.hero.hitbox) and _root.hero._x >= _root.hero2._x and _root.pause == false) {
_root.blipflower = false;
_root.hero.gotoAndStop(47);
_root.hero2.gotoAndStop(31);
}
}
}
}
frame 3 {
stop();
}
frame 4 {
stop();
}
instance body of movieClip 362 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true and _root.anskiturn == true and _root.npc3hero == true and _root.pause == false) {
_root.spaceallowed = false;
_root.npc3hero = false;
_root.npc3._x = _root.hero._x;
_root.npc3._y = _root.hero._y;
_root.npc3.gotoAndStop(1);
} else {
if (Key.isDown(32) and _root.spaceallowed == true and _root.anskiturn == true and _root.npc4hero == true and _root.pause == false) {
_root.spaceallowed = false;
_root.npc4hero = false;
_root.npc4._x = _root.hero._x;
_root.npc4._y = _root.hero._y;
_root.npc4.gotoAndStop(1);
} else {
if (Key.isDown(32) and _root.spaceallowed == true and _root.anskiturn == true and _root.npc5hero == true and _root.pause == false) {
_root.spaceallowed = false;
_root.npc5hero = false;
_root.npc5._x = _root.hero._x;
_root.npc5._y = _root.hero._y;
_root.npc5.gotoAndStop(1);
} else {
if (Key.isDown(32) and _root.spaceallowed == true and _root.anskiturn == true and _root.npc6hero == true and _root.pause == false) {
_root.spaceallowed = false;
_root.npc6hero = false;
_root.npc6._x = _root.hero._x;
_root.npc6._y = _root.hero._y;
_root.npc6.gotoAndStop(1);
} else {
if (Key.isDown(32) and _root.spaceallowed == true and _root.blipturn == true and _root.npc3hero2 == true and _root.pause == false) {
_root.spaceallowed = false;
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(1);
} else {
if (Key.isDown(32) and _root.spaceallowed == true and _root.blipturn == true and _root.npc4hero2 == true and _root.pause == false) {
_root.spaceallowed = false;
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(1);
} else {
if (Key.isDown(32) and _root.spaceallowed == true and _root.blipturn == true and _root.npc5hero2 == true and _root.pause == false) {
_root.spaceallowed = false;
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(1);
} else {
if (Key.isDown(32) and _root.spaceallowed == true and _root.blipturn == true and _root.npc6hero2 == true and _root.pause == false) {
_root.spaceallowed = false;
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(1);
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
}
}
movieClip 490 {
}
movieClip 498 {
frame 3 {
_parent.gotoAndStop(6);
}
}
movieClip 500 {
frame 3 {
_parent.gotoAndStop(5);
}
}
movieClip 504 {
}
movieClip 551 {
}
movieClip 573 {
frame 1 {
_root.jumping2 = true;
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (_root.sinking2 == false and _root.pause == false) {
_root.velocity2 = -30;
_root.falling2 = true;
} else {
if (_root.sinking2 == true and _root.pause == false) {
_root.velocity2 = -20;
_root.falling2 = true;
}
}
}
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform2a = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
platform2b = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform2a) and _root.velocity2 > 0 and _root.pause == false) {
_root.hero2._y = platform2a._y;
_parent._parent.gotoAndStop(5);
} else {
if (this.hitTest(platform2b) and _root.velocity2 > 0 and _root.pause == false) {
_root.hero2._y = platform2b._y;
_parent._parent.gotoAndStop(5);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity2 > 0 and _root.pause == false) {
_root.hero.gotoAndStop(16);
_root.velocity2 = 0;
_root.hero2.gotoAndStop(13);
}
}
}
frame 4 {
_root.sinking2 = false;
}
frame 19 {
stop();
}
}
movieClip 578 {
frame 1 {
_root.jumping2 = true;
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (_root.sinking2 == false and _root.pause == false) {
_root.velocity2 = -30;
_root.falling2 = true;
} else {
if (_root.sinking2 == true and _root.pause == false) {
_root.velocity2 = -20;
_root.falling2 = true;
}
}
}
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform2a = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
platform2b = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform2a) and _root.velocity2 > 0 and _root.pause == false) {
_root.hero2._y = platform2a._y;
_parent._parent.gotoAndStop(6);
} else {
if (this.hitTest(platform2b) and _root.velocity2 > 0 and _root.pause == false) {
_root.hero2._y = platform2b._y;
_parent._parent.gotoAndStop(6);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity2 > 0 and _root.pause == false) {
_root.hero.gotoAndStop(16);
_root.velocity2 = 0;
_root.hero2.gotoAndStop(14);
}
}
}
frame 4 {
_root.sinking2 = false;
}
frame 19 {
stop();
}
}
movieClip 600 {
frame 1 {
_root.jumping2 = true;
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (_root.sinking2 == false and _root.pause == false) {
_root.velocity2 = -30;
_root.falling2 = true;
} else {
if (_root.sinking2 == true and _root.pause == false) {
_root.velocity2 = -20;
_root.falling2 = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.trampoline2 == true and _root.pause == false) {
_root.velocity2 = -44;
_root.falling2 = true;
}
}
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform2a = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
platform2b = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform2a) and _root.velocity2 > 0 and _root.blipturn == true and _root.pause == false) {
_root.hero2._y = platform2a._y;
_parent._parent.gotoAndStop(5);
} else {
if (this.hitTest(platform2b) and _root.velocity2 > 0 and _root.blipturn == true and _root.pause == false) {
_root.hero2._y = platform2b._y;
_parent._parent.gotoAndStop(5);
} else {
if (this.hitTest(platform2a) and _root.velocity2 > 0 and _root.blipturn == false and _root.pause == false) {
_root.hero2._y = platform2a._y;
_parent._parent.gotoAndStop(9);
} else {
if (this.hitTest(platform2b) and _root.velocity2 > 0 and _root.blipturn == false and _root.pause == false) {
_root.hero2._y = platform2b._y;
_parent._parent.gotoAndStop(9);
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity2 > 0 and _root.pause == false) {
_root.hero.gotoAndStop(16);
_root.velocity2 = 0;
_parent.gotoAndPlay(1);
}
}
}
frame 4 {
_root.sinking2 = false;
}
frame 19 {
stop();
}
}
movieClip 601 {
frame 1 {
_root.jumping2 = true;
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (_root.sinking2 == false and _root.pause == false) {
_root.velocity2 = -30;
_root.falling2 = true;
} else {
if (_root.sinking2 == true and _root.pause == false) {
_root.velocity2 = -20;
_root.falling2 = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.trampoline2 == true and _root.pause == false) {
_root.velocity2 = -44;
_root.falling2 = true;
}
}
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform2a = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
platform2b = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform2a) and _root.velocity2 > 0 and _root.blipturn == true and _root.pause == false) {
_root.hero2._y = platform2a._y;
_parent._parent.gotoAndStop(6);
} else {
if (this.hitTest(platform2b) and _root.velocity2 > 0 and _root.blipturn == true and _root.pause == false) {
_root.hero2._y = platform2b._y;
_parent._parent.gotoAndStop(6);
} else {
if (this.hitTest(platform2a) and _root.velocity2 > 0 and _root.blipturn == false and _root.pause == false) {
_root.hero2._y = platform2a._y;
_parent._parent.gotoAndStop(10);
} else {
if (this.hitTest(platform2b) and _root.velocity2 > 0 and _root.blipturn == false and _root.pause == false) {
_root.hero2._y = platform2b._y;
_parent._parent.gotoAndStop(10);
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity2 > 0 and _root.pause == false) {
_root.hero.gotoAndStop(16);
_root.velocity2 = 0;
_parent.gotoAndPlay(1);
}
}
}
frame 4 {
_root.sinking2 = false;
}
frame 19 {
stop();
}
}
movieClip 612 {
frame 1 {
_root.anskiturn = false;
_root.blipturn = true;
_root.herospeed2 = 10;
_root.momentum2 = 0;
}
frame 10 {
if (_root.hero2._x > 200 and _root.hero2._x <= 360) {
_root.hero2.swapDepths(_root.hero);
_root.herospeed2 = 4;
_parent.gotoAndStop(1);
} else {
if (_root.hero2._x > 360 and _root.hero2._x < 520) {
_root.hero2.swapDepths(_root.hero);
_root.herospeed2 = 4;
_parent.gotoAndStop(2);
}
}
}
}
movieClip 626 {
frame 8 {
if (_root.blipturn == true and _root.hero2._x > _root.hero._x) {
_root.herospeed2 = 4;
_parent.gotoAndStop(41);
} else {
if (_root.blipturn == false and _root.hero2._x > _root.hero._x) {
_root.herospeed2 = 4;
_parent.gotoAndStop(10);
} else {
if (_root.blipturn == true and _root.hero2._x <= _root.hero._x) {
_root.herospeed2 = 4;
_parent.gotoAndStop(40);
} else {
if (_root.blipturn == false and _root.hero2._x <= _root.hero._x) {
_root.herospeed2 = 4;
_parent.gotoAndStop(9);
}
}
}
}
}
}
movieClip 661 {
frame 1 {
_root.hiding = true;
_root.momentum2 = 0;
if (_root.npc3hero2 == true) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(5);
}
if (_root.npc4hero2 == true) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(5);
}
if (_root.npc5hero2 == true) {
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(5);
}
if (_root.npc6hero2 == true) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(5);
}
}
frame 14 {
_root.hiding = false;
_parent.gotoAndStop(19);
}
}
movieClip 662 {
frame 1 {
_root.hiding = true;
_root.momentum2 = 0;
if (_root.npc3hero2 == true) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(6);
}
if (_root.npc4hero2 == true) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(6);
}
if (_root.npc5hero2 == true) {
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(6);
}
if (_root.npc6hero2 == true) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(6);
}
}
frame 14 {
_root.hiding = false;
_parent.gotoAndStop(20);
}
}
movieClip 672 {
}
movieClip 682 {
frame 11 {
_parent.gotoAndStop(1);
}
}
movieClip 683 {
frame 11 {
_parent.gotoAndStop(2);
}
}
movieClip 684 {
frame 11 {
_parent.gotoAndStop(9);
}
}
movieClip 685 {
frame 11 {
_parent.gotoAndStop(10);
}
}
movieClip 723 {
frame 1 {
_root.blipbedazzled = true;
_root.herospeed = 4;
if (_root.npc3hero2 == true) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(6);
}
if (_root.npc4hero2 == true) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(6);
}
if (_root.npc5hero2 == true) {
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(6);
}
if (_root.npc6hero2 == true) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(6);
}
}
frame 16 {
if (_root.hero2._x > _root.npc1._x) {
_parent.gotoAndStop(26);
} else {
if (_root.hero2._x < _root.npc1._x) {
_parent.gotoAndStop(25);
}
}
}
}
movieClip 754 {
frame 1 {
_root.herospeed2 = 10;
_root.blipbedazzled = false;
}
frame 5 {
if (_root.heroxdistance > -300 and _root.heroxdistance <= 0) {
_root.hero.gotoAndStop(27);
} else {
if (_root.heroxdistance < 300 and _root.heroxdistance > 0) {
_root.hero.gotoAndStop(28);
}
}
}
frame 16 {
_parent.gotoAndStop(35);
}
}
movieClip 767 {
frame 1 {
_root.herospeed2 = 10;
_root.blipbedazzled = false;
}
frame 5 {
if (_root.heroxdistance > -300 and _root.heroxdistance <= 0) {
_root.hero.gotoAndStop(27);
} else {
if (_root.heroxdistance < 300 and _root.heroxdistance > 0) {
_root.hero.gotoAndStop(28);
}
}
}
frame 16 {
_parent.gotoAndStop(36);
}
}
movieClip 789 {
frame 1 {
_root.blipbedazzled = false;
}
frame 41 {
if (_root.blipturn == true) {
_root.herospeed2 = 4;
_parent.gotoAndStop(1);
} else {
if (_root.blipturn == false) {
_root.herospeed2 = 4;
_parent.gotoAndStop(9);
}
}
}
}
movieClip 796 {
frame 1 {
_root.blipbedazzled = false;
}
frame 41 {
if (_root.blipturn == true) {
_root.herospeed2 = 4;
_parent.gotoAndStop(2);
} else {
if (_root.blipturn == false) {
_root.herospeed2 = 4;
_parent.gotoAndStop(10);
}
}
}
}
movieClip 811 {
frame 1 {
_root.blipbedazzled = false;
_root.herospeed2 = 10;
if (_root.npc3hero2 == true) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(5);
}
if (_root.npc4hero2 == true) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(5);
}
if (_root.npc5hero2 == true) {
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(5);
}
if (_root.npc6hero2 == true) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(5);
}
}
frame 16 {
_parent.gotoAndStop(38);
}
}
movieClip 820 {
frame 1 {
_root.blipbedazzled = false;
_root.herospeed2 = 10;
if (_root.npc3hero2 == true) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(6);
}
if (_root.npc4hero2 == true) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(6);
}
if (_root.npc5hero2 == true) {
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(6);
}
if (_root.npc6hero2 == true) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(6);
}
}
frame 16 {
_parent.gotoAndStop(37);
}
}
movieClip 831 {
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(8);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == true) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(7);
}
}
}
frame 16 {
if (_root.blipturn == true) {
_root.herospeed2 = 4;
_parent.gotoAndStop(1);
} else {
if (_root.blipturn == false) {
_root.herospeed2 = 4;
_parent.gotoAndStop(27);
}
}
}
}
movieClip 832 {
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(8);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == true) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(7);
}
}
}
frame 16 {
if (_root.blipturn == true) {
_root.herospeed2 = 4;
_parent.gotoAndStop(2);
} else {
if (_root.blipturn == false) {
_root.herospeed2 = 4;
_parent.gotoAndStop(28);
}
}
}
}
movieClip 850 {
frame 1 {
_root.herospeed2 = 10;
}
frame 16 {
if (_root.blipturn == true) {
_root.herospeed2 = 4;
_parent.gotoAndStop(1);
} else {
if (_root.blipturn == false) {
_root.herospeed2 = 4;
_parent.gotoAndStop(28);
}
}
}
}
movieClip 852 {
frame 1 {
_root.herospeed2 = 10;
}
frame 16 {
if (_root.blipturn == true) {
_root.herospeed2 = 4;
_parent.gotoAndStop(2);
} else {
if (_root.blipturn == false) {
_root.herospeed2 = 4;
_parent.gotoAndStop(27);
}
}
}
}
movieClip 865 {
frame 1 {
_root.momentum2 = 0;
_root.blipbedazzled = false;
}
frame 25 {
if (_root.hero2._x < _root.hero._x) {
_parent.gotoAndStop(9);
} else {
if (_root.hero2._x >= _root.hero._x) {
_parent.gotoAndStop(10);
}
}
}
}
movieClip 876 {
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform2a = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
platform2b = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform2a) and _root.velocity2 > 0 and _root.blipturn == true and _root.pause == false) {
_root.hero2._y = platform2a._y;
_parent._parent.gotoAndStop(5);
} else {
if (this.hitTest(platform2b) and _root.velocity2 > 0 and _root.blipturn == true and _root.pause == false) {
_root.hero2._y = platform2b._y;
_parent._parent.gotoAndStop(5);
} else {
if (this.hitTest(platform2a) and _root.velocity2 > 0 and _root.blipturn == false and _root.pause == false) {
_root.hero2._y = platform2a._y;
_parent._parent.gotoAndStop(9);
} else {
if (this.hitTest(platform2b) and _root.velocity2 > 0 and _root.blipturn == false and _root.pause == false) {
_root.hero2._y = platform2b._y;
_parent._parent.gotoAndStop(9);
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity2 > 0 and _root.pause == false) {
_root.hero.gotoAndStop(16);
_root.velocity2 = 0;
_root.hero2.gotoAndStop(13);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc2.body) and _root.blipturn == true and _root.pause == false) {
_root.hero2._y = _root.npc2._y;
_parent._parent.gotoAndStop(5);
} else {
if (this.hitTest(_root.npc2.body) and _root.blipturn == false and _root.pause == false) {
_root.hero2._y = _root.npc2._y;
_parent._parent.gotoAndStop(9);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bg1.trampoline.trampolinebox) and _root.velocity2 > 0 and _root.pause == false) {
_root.bg1.trampoline.gotoAndStop(2);
_root.trampoline2 = true;
_root.hero2.gotoAndStop(13);
} else {
if (this.hitTest(_root.bg2.trampoline.trampolinebox) and _root.velocity2 > 0 and _root.pause == false) {
_root.bg2.trampoline.gotoAndStop(2);
_root.trampoline2 = true;
_root.hero2.gotoAndStop(13);
}
}
}
}
}
movieClip 877 {
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform2a = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
platform2b = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform2a) and _root.velocity2 > 0 and _root.blipturn == true and _root.pause == false) {
_root.hero2._y = platform2a._y;
_parent._parent.gotoAndStop(6);
} else {
if (this.hitTest(platform2b) and _root.velocity2 > 0 and _root.blipturn == true and _root.pause == false) {
_root.hero2._y = platform2b._y;
_parent._parent.gotoAndStop(6);
} else {
if (this.hitTest(platform2a) and _root.velocity2 > 0 and _root.blipturn == false and _root.pause == false) {
_root.hero2._y = platform2a._y;
_parent._parent.gotoAndStop(10);
} else {
if (this.hitTest(platform2b) and _root.velocity2 > 0 and _root.blipturn == false and _root.pause == false) {
_root.hero2._y = platform2b._y;
_parent._parent.gotoAndStop(10);
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity2 > 0 and _root.pause == false) {
_root.hero.gotoAndStop(16);
_root.velocity2 = 0;
_root.hero2.gotoAndStop(14);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc2.body) and _root.blipturn == true and _root.pause == false) {
_root.hero2._y = _root.npc2._y;
_parent._parent.gotoAndStop(6);
} else {
if (this.hitTest(_root.npc2.body) and _root.blipturn == false and _root.pause == false) {
_root.hero2._y = _root.npc2._y;
_parent._parent.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bg1.trampoline.trampolinebox) and _root.velocity2 > 0 and _root.pause == false) {
_root.bg1.trampoline.gotoAndStop(2);
_root.trampoline2 = true;
_root.hero2.gotoAndStop(14);
} else {
if (this.hitTest(_root.bg2.trampoline.trampolinebox) and _root.velocity2 > 0 and _root.pause == false) {
_root.bg2.trampoline.gotoAndStop(2);
_root.trampoline2 = true;
_root.hero2.gotoAndStop(14);
}
}
}
}
}
movieClip 898 {
frame 1 {
if (_root.npc3hero2 == true) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(1);
}
if (_root.npc4hero2 == true) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(1);
}
if (_root.npc5hero2 == true) {
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(1);
}
if (_root.npc6hero2 == true) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(1);
}
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(14);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == true) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(13);
}
}
}
frame 7 {
_parent.gotoAndStop(1);
}
}
movieClip 902 {
frame 1 {
if (_root.npc3hero2 == true) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(1);
}
if (_root.npc4hero2 == true) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(1);
}
if (_root.npc5hero2 == true) {
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(1);
}
if (_root.npc6hero2 == true) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(1);
}
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(14);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == true) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(13);
}
}
}
frame 7 {
_parent.gotoAndStop(2);
}
}
movieClip 925 {
frame 1 {
if (_root.npc3hero2 == true) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(1);
}
if (_root.npc4hero2 == true) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(1);
}
if (_root.npc5hero2 == true) {
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(1);
}
if (_root.npc6hero2 == true) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(1);
}
}
frame 11 {
if (_root.hero2._x > _root.hero._x) {
_root.hero.gotoAndStop(27);
} else {
if (_root.hero2._x <= _root.hero._x) {
_root.hero.gotoAndStop(28);
}
}
}
frame 12 {
_parent.gotoAndStop(39);
}
}
movieClip 926 {
frame 1 {
if (_root.npc3hero2 == true) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(1);
}
if (_root.npc4hero2 == true) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(1);
}
if (_root.npc5hero2 == true) {
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(1);
}
if (_root.npc6hero2 == true) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(1);
}
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(14);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == true) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(13);
}
}
}
frame 6 {
_parent.gotoAndStop(1);
}
}
movieClip 927 {
frame 1 {
if (_root.npc3hero2 == true) {
_root.npc3hero2 = false;
_root.npc3._x = _root.hero2._x;
_root.npc3._y = _root.hero2._y;
_root.npc3.gotoAndStop(1);
}
if (_root.npc4hero2 == true) {
_root.npc4hero2 = false;
_root.npc4._x = _root.hero2._x;
_root.npc4._y = _root.hero2._y;
_root.npc4.gotoAndStop(1);
}
if (_root.npc5hero2 == true) {
_root.npc5hero2 = false;
_root.npc5._x = _root.hero2._x;
_root.npc5._y = _root.hero2._y;
_root.npc5.gotoAndStop(1);
}
if (_root.npc6hero2 == true) {
_root.npc6hero2 = false;
_root.npc6._x = _root.hero2._x;
_root.npc6._y = _root.hero2._y;
_root.npc6.gotoAndStop(1);
}
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(14);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == true) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(13);
}
}
}
frame 6 {
_parent.gotoAndStop(2);
}
}
movieClip 956 {
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity2 > 0 and _root.pause == false and _root.herofacingright2 == false) {
_root.hero.gotoAndStop(16);
_root.velocity = 0;
_root.hero2.gotoAndPlay(14);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity2 > 0 and _root.pause == false and _root.herofacingright2 == true) {
_root.hero.gotoAndStop(16);
_root.velocity = 0;
_root.hero2.gotoAndPlay(13);
}
}
}
}
movieClip 957 {
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(14);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == true) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(13);
}
}
}
frame 5 {
_parent.gotoAndStop(1);
}
}
movieClip 958 {
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(14);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == true) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(13);
}
}
}
frame 5 {
_parent.gotoAndStop(2);
}
}
movieClip 963 {
}
movieClip 964 {
frame 1 {
stop();
_root.herofacingright2 = true;
_root.herospeed2 = 4;
}
instance body of movieClip 490 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false) {
_parent.gotoAndStop(5);
} else {
if (Key.isDown(37) and _root.pause == false) {
_parent.gotoAndStop(3);
} else {
if (Key.isDown(38) and _root.pause == false) {
_parent.gotoAndStop(7);
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(2);
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.hideallowed == true and _root.pause == false) {
_root.hideallowed = false;
_root.momentum2 = 0;
_root.hero2.gotoAndStop(17);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.hideallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.falling2 == true and _root.velocity2 > 1 and _root.pause == false) {
_parent.gotoAndStop(40);
}
}
}
frame 2 {
stop();
_root.herofacingright2 = false;
_root.herospeed2 = 4;
}
instance body of movieClip 490 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false) {
_parent.gotoAndStop(4);
} else {
if (Key.isDown(37) and _root.pause == false) {
_parent.gotoAndStop(6);
} else {
if (Key.isDown(38) and _root.pause == false) {
_parent.gotoAndStop(8);
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(2);
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.hideallowed == true and _root.pause == false) {
_root.hideallowed = false;
_root.momentum2 = 0;
_root.hero2.gotoAndStop(18);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.hideallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.falling2 == true and _root.velocity2 > 1 and _root.pause == false) {
_parent.gotoAndStop(41);
}
}
}
frame 3 {
stop();
}
instance body of movieClip 498 {
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(2);
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.hideallowed == true and _root.pause == false) {
_root.hideallowed = false;
_root.hero2.gotoAndStop(18);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.hideallowed = true;
}
}
}
frame 4 {
stop();
}
instance body of movieClip 500 {
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(2);
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.hideallowed == true and _root.pause == false) {
_root.hideallowed = false;
_root.hero2.gotoAndStop(17);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.hideallowed = true;
}
}
}
frame 5 {
stop();
_root.herofacingright2 = true;
}
instance body of movieClip 551 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.momentum2 < 8) {
_root.momentum2 += 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(2);
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.hideallowed == true and _root.pause == false) {
_root.hideallowed = false;
_root.momentum2 = 0;
_root.hero2.gotoAndStop(17);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.hideallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and Key.isDown(37) == false and _root.pause == false) {
_parent.gotoAndStop(5);
} else {
if (Key.isDown(39) == false and _root.pause == false) {
_parent.gotoAndStop(1);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.pause == false) {
_parent.gotoAndStop(7);
}
}
onClipEvent (enterFrame) {
if (_parent._x < 200 and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true) {
_parent._x += _root.herospeed2;
} else {
if (_parent._x > 220 and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true) {
_parent._x -= _root.herospeed2;
_root.fb1._x -= _root.herospeed2;
_root.fb2._x -= _root.herospeed2;
_root.bg1._x -= _root.herospeed2 * 2;
_root.bg2._x -= _root.herospeed2 * 2;
_root.fg1._x -= _root.herospeed2 * 2;
_root.fg2._x -= _root.herospeed2 * 2;
_root.hero._x -= _root.herospeed2 * 2;
_root.enemy1._x -= _root.herospeed2 * 2;
_root.enemy2._x -= _root.herospeed2 * 2;
_root.enemy3._x -= _root.herospeed2 * 2;
_root.enemy4._x -= _root.herospeed2 * 2;
_root.enemy5._x -= _root.herospeed2 * 2;
_root.enemy6._x -= _root.herospeed2 * 2;
_root.enemy7._x -= _root.herospeed2 * 2;
_root.enemy8._x -= _root.herospeed2 * 2;
_root.npc1._x -= _root.herospeed2 * 2;
_root.npc2._x -= _root.herospeed2 * 2;
_root.npc3._x -= _root.herospeed2 * 2;
_root.npc4._x -= _root.herospeed2 * 2;
_root.npc5._x -= _root.herospeed2 * 2;
_root.npc6._x -= _root.herospeed2 * 2;
_root.npc7._x -= _root.herospeed2 * 2;
_root.npc8._x -= _root.herospeed2 * 2;
} else {
if (_parent._x >= 200 and _parent._x <= 220 and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true) {
_root.fb1._x -= _root.herospeed2 / 2;
_root.fb2._x -= _root.herospeed2 / 2;
_root.bg1._x -= _root.herospeed2;
_root.bg2._x -= _root.herospeed2;
_root.fg1._x -= _root.herospeed2;
_root.fg2._x -= _root.herospeed2;
_root.hero._x -= _root.herospeed2;
_root.enemy1._x -= _root.herospeed2;
_root.enemy2._x -= _root.herospeed2;
_root.enemy3._x -= _root.herospeed2;
_root.enemy4._x -= _root.herospeed2;
_root.enemy5._x -= _root.herospeed2;
_root.enemy6._x -= _root.herospeed2;
_root.enemy7._x -= _root.herospeed2;
_root.enemy8._x -= _root.herospeed2;
_root.npc1._x -= _root.herospeed2;
_root.npc2._x -= _root.herospeed2;
_root.npc3._x -= _root.herospeed2;
_root.npc4._x -= _root.herospeed2;
_root.npc5._x -= _root.herospeed2;
_root.npc6._x -= _root.herospeed2;
_root.npc7._x -= _root.herospeed2;
_root.npc8._x -= _root.herospeed2;
}
}
}
}
onClipEvent (enterFrame) {
if (_root.falling2 == true and _root.velocity2 > 1 and _root.pause == false) {
_parent.gotoAndStop(40);
}
}
}
frame 6 {
stop();
_root.herofacingright2 = false;
}
instance body of movieClip 551 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.momentum2 > -8) {
_root.momentum2 -= 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(2);
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.hideallowed == true and _root.pause == false) {
_root.hideallowed = false;
_root.momentum2 = 0;
_root.hero2.gotoAndStop(18);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.hideallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and Key.isDown(39) == false and _root.pause == false) {
_parent.gotoAndStop(6);
} else {
if (Key.isDown(37) == false and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.pause == false) {
_parent.gotoAndStop(8);
}
}
onClipEvent (enterFrame) {
if (_parent._x > 515 and _root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true) {
_parent._x -= _root.herospeed2;
} else {
if (_parent._x < 495 and _root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true) {
_parent._x += _root.herospeed2;
_root.fb1._x += _root.herospeed2;
_root.fb2._x += _root.herospeed2;
_root.bg1._x += _root.herospeed2 * 2;
_root.bg2._x += _root.herospeed2 * 2;
_root.fg1._x += _root.herospeed2 * 2;
_root.fg2._x += _root.herospeed2 * 2;
_root.hero._x += _root.herospeed2 * 2;
_root.enemy1._x += _root.herospeed2 * 2;
_root.enemy2._x += _root.herospeed2 * 2;
_root.enemy3._x += _root.herospeed2 * 2;
_root.enemy4._x += _root.herospeed2 * 2;
_root.enemy5._x += _root.herospeed2 * 2;
_root.enemy6._x += _root.herospeed2 * 2;
_root.enemy7._x += _root.herospeed2 * 2;
_root.enemy8._x += _root.herospeed2 * 2;
_root.npc1._x += _root.herospeed2 * 2;
_root.npc2._x += _root.herospeed2 * 2;
_root.npc3._x += _root.herospeed2 * 2;
_root.npc4._x += _root.herospeed2 * 2;
_root.npc5._x += _root.herospeed2 * 2;
_root.npc6._x += _root.herospeed2 * 2;
_root.npc7._x += _root.herospeed2 * 2;
_root.npc8._x += _root.herospeed2 * 2;
} else {
if (_parent._x >= 495 and _parent._x <= 515 and _root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true) {
_root.fb1._x += _root.herospeed2 / 2;
_root.fb2._x += _root.herospeed2 / 2;
_root.bg1._x += _root.herospeed2;
_root.bg2._x += _root.herospeed2;
_root.fg1._x += _root.herospeed2;
_root.fg2._x += _root.herospeed2;
_root.hero._x += _root.herospeed2;
_root.enemy1._x += _root.herospeed2;
_root.enemy2._x += _root.herospeed2;
_root.enemy3._x += _root.herospeed2;
_root.enemy4._x += _root.herospeed2;
_root.enemy5._x += _root.herospeed2;
_root.enemy6._x += _root.herospeed2;
_root.enemy7._x += _root.herospeed2;
_root.enemy8._x += _root.herospeed2;
_root.npc1._x += _root.herospeed2;
_root.npc2._x += _root.herospeed2;
_root.npc3._x += _root.herospeed2;
_root.npc4._x += _root.herospeed2;
_root.npc5._x += _root.herospeed2;
_root.npc6._x += _root.herospeed2;
_root.npc7._x += _root.herospeed2;
_root.npc8._x += _root.herospeed2;
}
}
}
}
onClipEvent (enterFrame) {
if (_root.falling2 == true and _root.velocity2 > 1 and _root.pause == false) {
_parent.gotoAndStop(41);
}
}
}
frame 7 {
stop();
}
instance body2 of movieClip 573 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.momentum2 < 8) {
_root.momentum2 += 1;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(2);
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root._y -= 2;
_root.mainframe._y += 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _parent._x < 200 and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true) {
_parent._x += _root.herospeed2;
} else {
if (Key.isDown(39) and _parent._x > 220 and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true) {
_parent._x -= _root.herospeed2;
_root.fb1._x -= _root.herospeed2;
_root.fb2._x -= _root.herospeed2;
_root.bg1._x -= _root.herospeed2 * 2;
_root.bg2._x -= _root.herospeed2 * 2;
_root.fg1._x -= _root.herospeed2 * 2;
_root.fg2._x -= _root.herospeed2 * 2;
_root.hero._x -= _root.herospeed2 * 2;
_root.enemy1._x -= _root.herospeed2 * 2;
_root.enemy2._x -= _root.herospeed2 * 2;
_root.enemy3._x -= _root.herospeed2 * 2;
_root.enemy4._x -= _root.herospeed2 * 2;
_root.enemy5._x -= _root.herospeed2 * 2;
_root.enemy6._x -= _root.herospeed2 * 2;
_root.enemy7._x -= _root.herospeed2 * 2;
_root.enemy8._x -= _root.herospeed2 * 2;
_root.npc1._x -= _root.herospeed2 * 2;
_root.npc2._x -= _root.herospeed2 * 2;
_root.npc3._x -= _root.herospeed2 * 2;
_root.npc4._x -= _root.herospeed2 * 2;
_root.npc5._x -= _root.herospeed2 * 2;
_root.npc6._x -= _root.herospeed2 * 2;
_root.npc7._x -= _root.herospeed2 * 2;
_root.npc8._x -= _root.herospeed2 * 2;
} else {
if (Key.isDown(39) and _parent._x >= 200 and _parent._x <= 220 and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true) {
_root.fb1._x -= _root.herospeed2 / 2;
_root.fb2._x -= _root.herospeed2 / 2;
_root.bg1._x -= _root.herospeed2;
_root.bg2._x -= _root.herospeed2;
_root.fg1._x -= _root.herospeed2;
_root.fg2._x -= _root.herospeed2;
_root.hero._x -= _root.herospeed2;
_root.enemy1._x -= _root.herospeed2;
_root.enemy2._x -= _root.herospeed2;
_root.enemy3._x -= _root.herospeed2;
_root.enemy4._x -= _root.herospeed2;
_root.enemy5._x -= _root.herospeed2;
_root.enemy6._x -= _root.herospeed2;
_root.enemy7._x -= _root.herospeed2;
_root.enemy8._x -= _root.herospeed2;
_root.npc1._x -= _root.herospeed2;
_root.npc2._x -= _root.herospeed2;
_root.npc3._x -= _root.herospeed2;
_root.npc4._x -= _root.herospeed2;
_root.npc5._x -= _root.herospeed2;
_root.npc6._x -= _root.herospeed2;
_root.npc7._x -= _root.herospeed2;
_root.npc8._x -= _root.herospeed2;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true) {
_root.fb1._x += _root.herospeed2 / 2;
_root.fb2._x += _root.herospeed2 / 2;
_root.bg1._x += _root.herospeed2;
_root.bg2._x += _root.herospeed2;
_root.fg1._x += _root.herospeed2;
_root.fg2._x += _root.herospeed2;
_root.hero._x += _root.herospeed2;
_root.enemy1._x += _root.herospeed2;
_root.enemy2._x += _root.herospeed2;
_root.enemy3._x += _root.herospeed2;
_root.enemy4._x += _root.herospeed2;
_root.enemy5._x += _root.herospeed2;
_root.enemy6._x += _root.herospeed2;
_root.enemy7._x += _root.herospeed2;
_root.enemy8._x += _root.herospeed2;
_root.npc1._x += _root.herospeed2;
_root.npc2._x += _root.herospeed2;
_root.npc3._x += _root.herospeed2;
_root.npc4._x += _root.herospeed2;
_root.npc5._x += _root.herospeed2;
_root.npc6._x += _root.herospeed2;
_root.npc7._x += _root.herospeed2;
_root.npc8._x += _root.herospeed2;
}
}
onClipEvent (enterFrame) {
if (_root.falling2 == true and _root.velocity2 > 1 and _root.pause == false) {
_parent.gotoAndStop(40);
}
}
}
frame 8 {
stop();
}
instance body2 of movieClip 578 {
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.momentum2 > -8) {
_root.momentum2 -= 1;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(2);
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root._y -= 2;
_root.mainframe._y += 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _parent._x > 515 and _root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true) {
_parent._x -= _root.herospeed2;
} else {
if (Key.isDown(37) and _parent._x < 495 and _root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true) {
_parent._x += _root.herospeed2;
_root.fb1._x += _root.herospeed2;
_root.fb2._x += _root.herospeed2;
_root.bg1._x += _root.herospeed2 * 2;
_root.bg2._x += _root.herospeed2 * 2;
_root.fg1._x += _root.herospeed2 * 2;
_root.fg2._x += _root.herospeed2 * 2;
_root.hero._x += _root.herospeed2 * 2;
_root.enemy1._x += _root.herospeed2 * 2;
_root.enemy2._x += _root.herospeed2 * 2;
_root.enemy3._x += _root.herospeed2 * 2;
_root.enemy4._x += _root.herospeed2 * 2;
_root.enemy5._x += _root.herospeed2 * 2;
_root.enemy6._x += _root.herospeed2 * 2;
_root.enemy7._x += _root.herospeed2 * 2;
_root.enemy8._x += _root.herospeed2 * 2;
_root.npc1._x += _root.herospeed2 * 2;
_root.npc2._x += _root.herospeed2 * 2;
_root.npc3._x += _root.herospeed2 * 2;
_root.npc4._x += _root.herospeed2 * 2;
_root.npc5._x += _root.herospeed2 * 2;
_root.npc6._x += _root.herospeed2 * 2;
_root.npc7._x += _root.herospeed2 * 2;
_root.npc8._x += _root.herospeed2 * 2;
} else {
if (Key.isDown(37) and _parent._x >= 495 and _parent._x <= 515 and _root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true) {
_root.fb1._x += _root.herospeed2 / 2;
_root.fb2._x += _root.herospeed2 / 2;
_root.bg1._x += _root.herospeed2;
_root.bg2._x += _root.herospeed2;
_root.fg1._x += _root.herospeed2;
_root.fg2._x += _root.herospeed2;
_root.hero._x += _root.herospeed2;
_root.enemy1._x += _root.herospeed2;
_root.enemy2._x += _root.herospeed2;
_root.enemy3._x += _root.herospeed2;
_root.enemy4._x += _root.herospeed2;
_root.enemy5._x += _root.herospeed2;
_root.enemy6._x += _root.herospeed2;
_root.enemy7._x += _root.herospeed2;
_root.enemy8._x += _root.herospeed2;
_root.npc1._x += _root.herospeed2;
_root.npc2._x += _root.herospeed2;
_root.npc3._x += _root.herospeed2;
_root.npc4._x += _root.herospeed2;
_root.npc5._x += _root.herospeed2;
_root.npc6._x += _root.herospeed2;
_root.npc7._x += _root.herospeed2;
_root.npc8._x += _root.herospeed2;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true) {
_root.fb1._x -= _root.herospeed2 / 2;
_root.fb2._x -= _root.herospeed2 / 2;
_root.bg1._x -= _root.herospeed2;
_root.bg2._x -= _root.herospeed2;
_root.fg1._x -= _root.herospeed2;
_root.fg2._x -= _root.herospeed2;
_root.hero._x -= _root.herospeed2;
_root.enemy1._x -= _root.herospeed2;
_root.enemy2._x -= _root.herospeed2;
_root.enemy3._x -= _root.herospeed2;
_root.enemy4._x -= _root.herospeed2;
_root.enemy5._x -= _root.herospeed2;
_root.enemy6._x -= _root.herospeed2;
_root.enemy7._x -= _root.herospeed2;
_root.enemy8._x -= _root.herospeed2;
_root.npc1._x -= _root.herospeed2;
_root.npc2._x -= _root.herospeed2;
_root.npc3._x -= _root.herospeed2;
_root.npc4._x -= _root.herospeed2;
_root.npc5._x -= _root.herospeed2;
_root.npc6._x -= _root.herospeed2;
_root.npc7._x -= _root.herospeed2;
_root.npc8._x -= _root.herospeed2;
}
}
onClipEvent (enterFrame) {
if (_root.falling2 == true and _root.velocity2 > 1 and _root.pause == false) {
_parent.gotoAndStop(41);
}
}
}
frame 9 {
stop();
}
instance body of movieClip 490 {
onClipEvent (enterFrame) {
if (_root.hero2xdistance > 50 and _root.pause == false) {
_parent.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (_root.hero2xdistance < -100 and _root.pause == false) {
_parent.gotoAndStop(11);
}
}
}
frame 10 {
stop();
}
instance body of movieClip 490 {
onClipEvent (enterFrame) {
if (_root.hero2xdistance < -50 and _root.pause == false) {
_parent.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (_root.hero2xdistance > 100 and _root.pause == false) {
_parent.gotoAndStop(12);
}
}
}
frame 11 {
stop();
}
instance body of movieClip 551 {
onClipEvent (enterFrame) {
if (_root.rightallowed2 == false or _root.rightallowedd2 == false) {
_parent.gotoAndStop(27);
}
}
onClipEvent (enterFrame) {
if (_root.hero2xdistance > -75 and _root.pause == false) {
_parent.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true) {
_parent._x += _root.herospeed2;
}
}
onClipEvent (enterFrame) {
if (_root.herospeed2 < 12 and _root.hero2xdistance < -120 and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true) {
_root.herospeed2 += 1;
}
}
onClipEvent (enterFrame) {
if (_root.falling2 == true and _root.velocity2 > 1 and _root.pause == false) {
_parent.gotoAndStop(40);
}
}
}
frame 12 {
stop();
}
instance body of movieClip 551 {
onClipEvent (enterFrame) {
if (_root.leftallowed2 == false or _root.leftallowedd2 == false) {
_parent.gotoAndStop(28);
}
}
onClipEvent (enterFrame) {
if (_root.hero2xdistance < 75 and _root.pause == false) {
_parent.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true) {
_parent._x -= _root.herospeed2;
}
}
onClipEvent (enterFrame) {
if (_root.herospeed2 < 12 and _root.hero2xdistance > 120 and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true) {
_root.herospeed2 += 1;
}
}
onClipEvent (enterFrame) {
if (_root.falling2 == true and _root.velocity2 > 1 and _root.pause == false) {
_parent.gotoAndStop(41);
}
}
}
frame 13 {
stop();
}
instance body2 of movieClip 600 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.momentum2 < 8 and _root.blipturn == true) {
_root.momentum2 += 1;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false and _root.blipturn == true) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(2);
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root._y -= 2;
_root.mainframe._y += 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _parent._x < 200 and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true and _root.blipturn == true) {
_parent._x += _root.herospeed2;
} else {
if (Key.isDown(39) and _parent._x > 220 and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true and _root.blipturn == true) {
_parent._x -= _root.herospeed2;
_root.fb1._x -= _root.herospeed2;
_root.fb2._x -= _root.herospeed2;
_root.bg1._x -= _root.herospeed2 * 2;
_root.bg2._x -= _root.herospeed2 * 2;
_root.fg1._x -= _root.herospeed2 * 2;
_root.fg2._x -= _root.herospeed2 * 2;
_root.hero._x -= _root.herospeed2 * 2;
_root.enemy1._x -= _root.herospeed2 * 2;
_root.enemy2._x -= _root.herospeed2 * 2;
_root.enemy3._x -= _root.herospeed2 * 2;
_root.enemy4._x -= _root.herospeed2 * 2;
_root.enemy5._x -= _root.herospeed2 * 2;
_root.enemy6._x -= _root.herospeed2 * 2;
_root.enemy7._x -= _root.herospeed2 * 2;
_root.enemy8._x -= _root.herospeed2 * 2;
_root.npc1._x -= _root.herospeed2 * 2;
_root.npc2._x -= _root.herospeed2 * 2;
_root.npc3._x -= _root.herospeed2 * 2;
_root.npc4._x -= _root.herospeed2 * 2;
_root.npc5._x -= _root.herospeed2 * 2;
_root.npc6._x -= _root.herospeed2 * 2;
_root.npc7._x -= _root.herospeed2 * 2;
_root.npc8._x -= _root.herospeed2 * 2;
} else {
if (Key.isDown(39) and _parent._x >= 200 and _parent._x <= 220 and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true and _root.blipturn == true) {
_root.fb1._x -= _root.herospeed2 / 2;
_root.fb2._x -= _root.herospeed2 / 2;
_root.bg1._x -= _root.herospeed2;
_root.bg2._x -= _root.herospeed2;
_root.fg1._x -= _root.herospeed2;
_root.fg2._x -= _root.herospeed2;
_root.hero._x -= _root.herospeed2;
_root.enemy1._x -= _root.herospeed2;
_root.enemy2._x -= _root.herospeed2;
_root.enemy3._x -= _root.herospeed2;
_root.enemy4._x -= _root.herospeed2;
_root.enemy5._x -= _root.herospeed2;
_root.enemy6._x -= _root.herospeed2;
_root.enemy7._x -= _root.herospeed2;
_root.enemy8._x -= _root.herospeed2;
_root.npc1._x -= _root.herospeed2;
_root.npc2._x -= _root.herospeed2;
_root.npc3._x -= _root.herospeed2;
_root.npc4._x -= _root.herospeed2;
_root.npc5._x -= _root.herospeed2;
_root.npc6._x -= _root.herospeed2;
_root.npc7._x -= _root.herospeed2;
_root.npc8._x -= _root.herospeed2;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true and _root.blipturn == true) {
_root.fb1._x += _root.herospeed2 / 2;
_root.fb2._x += _root.herospeed2 / 2;
_root.bg1._x += _root.herospeed2;
_root.bg2._x += _root.herospeed2;
_root.fg1._x += _root.herospeed2;
_root.fg2._x += _root.herospeed2;
_root.hero._x += _root.herospeed2;
_root.enemy1._x += _root.herospeed2;
_root.enemy2._x += _root.herospeed2;
_root.enemy3._x += _root.herospeed2;
_root.enemy4._x += _root.herospeed2;
_root.enemy5._x += _root.herospeed2;
_root.enemy6._x += _root.herospeed2;
_root.enemy7._x += _root.herospeed2;
_root.enemy8._x += _root.herospeed2;
_root.npc1._x += _root.herospeed2;
_root.npc2._x += _root.herospeed2;
_root.npc3._x += _root.herospeed2;
_root.npc4._x += _root.herospeed2;
_root.npc5._x += _root.herospeed2;
_root.npc6._x += _root.herospeed2;
_root.npc7._x += _root.herospeed2;
_root.npc8._x += _root.herospeed2;
}
}
onClipEvent (enterFrame) {
if (_root.falling2 == true and _root.velocity2 > 1 and _root.pause == false) {
_parent.gotoAndStop(40);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true and _root.hero2xdistance > 50 and _root.blipturn == false) {
_parent._x -= _root.herospeed2;
} else {
if (_root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true and _root.hero2xdistance < -50 and _root.blipturn == false) {
_parent._x += _root.herospeed2;
}
}
}
}
frame 14 {
stop();
}
instance body2 of movieClip 601 {
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.momentum2 > -8 and _root.blipturn == true) {
_root.momentum2 -= 1;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false and _root.blipturn == true) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(2);
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root._y -= 2;
_root.mainframe._y += 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _parent._x > 515 and _root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true and _root.blipturn == true) {
_parent._x -= _root.herospeed2;
} else {
if (Key.isDown(37) and _parent._x < 495 and _root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true and _root.blipturn == true) {
_parent._x += _root.herospeed2;
_root.fb1._x += _root.herospeed2;
_root.fb2._x += _root.herospeed2;
_root.bg1._x += _root.herospeed2 * 2;
_root.bg2._x += _root.herospeed2 * 2;
_root.fg1._x += _root.herospeed2 * 2;
_root.fg2._x += _root.herospeed2 * 2;
_root.hero._x += _root.herospeed2 * 2;
_root.enemy1._x += _root.herospeed2 * 2;
_root.enemy2._x += _root.herospeed2 * 2;
_root.enemy3._x += _root.herospeed2 * 2;
_root.enemy4._x += _root.herospeed2 * 2;
_root.enemy5._x += _root.herospeed2 * 2;
_root.enemy6._x += _root.herospeed2 * 2;
_root.enemy7._x += _root.herospeed2 * 2;
_root.enemy8._x += _root.herospeed2 * 2;
_root.npc1._x += _root.herospeed2 * 2;
_root.npc2._x += _root.herospeed2 * 2;
_root.npc3._x += _root.herospeed2 * 2;
_root.npc4._x += _root.herospeed2 * 2;
_root.npc5._x += _root.herospeed2 * 2;
_root.npc6._x += _root.herospeed2 * 2;
_root.npc7._x += _root.herospeed2 * 2;
_root.npc8._x += _root.herospeed2 * 2;
} else {
if (Key.isDown(37) and _parent._x >= 495 and _parent._x <= 515 and _root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true and _root.blipturn == true) {
_root.fb1._x += _root.herospeed2 / 2;
_root.fb2._x += _root.herospeed2 / 2;
_root.bg1._x += _root.herospeed2;
_root.bg2._x += _root.herospeed2;
_root.fg1._x += _root.herospeed2;
_root.fg2._x += _root.herospeed2;
_root.hero._x += _root.herospeed2;
_root.enemy1._x += _root.herospeed2;
_root.enemy2._x += _root.herospeed2;
_root.enemy3._x += _root.herospeed2;
_root.enemy4._x += _root.herospeed2;
_root.enemy5._x += _root.herospeed2;
_root.enemy6._x += _root.herospeed2;
_root.enemy7._x += _root.herospeed2;
_root.enemy8._x += _root.herospeed2;
_root.npc1._x += _root.herospeed2;
_root.npc2._x += _root.herospeed2;
_root.npc3._x += _root.herospeed2;
_root.npc4._x += _root.herospeed2;
_root.npc5._x += _root.herospeed2;
_root.npc6._x += _root.herospeed2;
_root.npc7._x += _root.herospeed2;
_root.npc8._x += _root.herospeed2;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true and _root.blipturn == true) {
_root.fb1._x -= _root.herospeed2 / 2;
_root.fb2._x -= _root.herospeed2 / 2;
_root.bg1._x -= _root.herospeed2;
_root.bg2._x -= _root.herospeed2;
_root.fg1._x -= _root.herospeed2;
_root.fg2._x -= _root.herospeed2;
_root.hero._x -= _root.herospeed2;
_root.enemy1._x -= _root.herospeed2;
_root.enemy2._x -= _root.herospeed2;
_root.enemy3._x -= _root.herospeed2;
_root.enemy4._x -= _root.herospeed2;
_root.enemy5._x -= _root.herospeed2;
_root.enemy6._x -= _root.herospeed2;
_root.enemy7._x -= _root.herospeed2;
_root.enemy8._x -= _root.herospeed2;
_root.npc1._x -= _root.herospeed2;
_root.npc2._x -= _root.herospeed2;
_root.npc3._x -= _root.herospeed2;
_root.npc4._x -= _root.herospeed2;
_root.npc5._x -= _root.herospeed2;
_root.npc6._x -= _root.herospeed2;
_root.npc7._x -= _root.herospeed2;
_root.npc8._x -= _root.herospeed2;
}
}
onClipEvent (enterFrame) {
if (_root.falling2 == true and _root.velocity2 > 1 and _root.pause == false) {
_parent.gotoAndStop(41);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true and _root.hero2xdistance > 50 and _root.blipturn == false) {
_parent._x -= _root.herospeed2;
} else {
if (_root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true and _root.hero2xdistance < -50 and _root.blipturn == false) {
_parent._x += _root.herospeed2;
}
}
}
}
frame 15 {
stop();
}
instance body of movieClip 612 {
onClipEvent (enterFrame) {
if (_root.hero2._x > _root.hero._x) {
this._xscale = -100;
}
}
onClipEvent (enterFrame) {
if (_root.hero2._x > 400) {
_parent._x -= _root.herospeed2 * 4;
_root.fb1._x -= _root.herospeed2 * 2;
_root.fb2._x -= _root.herospeed2 * 2;
_root.bg1._x -= _root.herospeed2 * 4;
_root.bg2._x -= _root.herospeed2 * 4;
_root.fg1._x -= _root.herospeed2 * 4;
_root.fg2._x -= _root.herospeed2 * 4;
_root.hero._x -= _root.herospeed2 * 4;
_root.enemy1._x -= _root.herospeed2 * 4;
_root.enemy2._x -= _root.herospeed2 * 4;
_root.enemy3._x -= _root.herospeed2 * 4;
_root.enemy4._x -= _root.herospeed2 * 4;
_root.enemy5._x -= _root.herospeed2 * 4;
_root.enemy6._x -= _root.herospeed2 * 4;
_root.enemy7._x -= _root.herospeed2 * 4;
_root.enemy8._x -= _root.herospeed2 * 4;
_root.npc1._x -= _root.herospeed2 * 4;
_root.npc2._x -= _root.herospeed2 * 4;
_root.npc3._x -= _root.herospeed2 * 4;
_root.npc4._x -= _root.herospeed2 * 4;
_root.npc5._x -= _root.herospeed2 * 4;
_root.npc6._x -= _root.herospeed2 * 4;
_root.npc7._x -= _root.herospeed2 * 4;
_root.npc8._x -= _root.herospeed2 * 4;
}
if (_root.hero2._x < 320) {
_parent._x += _root.herospeed2 * 4;
_root.fb1._x += _root.herospeed2 * 2;
_root.fb2._x += _root.herospeed2 * 2;
_root.bg1._x += _root.herospeed2 * 4;
_root.bg2._x += _root.herospeed2 * 4;
_root.fg1._x += _root.herospeed2 * 4;
_root.fg2._x += _root.herospeed2 * 4;
_root.hero._x += _root.herospeed2 * 4;
_root.enemy1._x += _root.herospeed2 * 4;
_root.enemy2._x += _root.herospeed2 * 4;
_root.enemy3._x += _root.herospeed2 * 4;
_root.enemy4._x += _root.herospeed2 * 4;
_root.enemy5._x += _root.herospeed2 * 4;
_root.enemy6._x += _root.herospeed2 * 4;
_root.enemy7._x += _root.herospeed2 * 4;
_root.enemy8._x += _root.herospeed2 * 4;
_root.npc1._x += _root.herospeed2 * 4;
_root.npc2._x += _root.herospeed2 * 4;
_root.npc3._x += _root.herospeed2 * 4;
_root.npc4._x += _root.herospeed2 * 4;
_root.npc5._x += _root.herospeed2 * 4;
_root.npc6._x += _root.herospeed2 * 4;
_root.npc7._x += _root.herospeed2 * 4;
_root.npc8._x += _root.herospeed2 * 4;
}
}
}
frame 16 {
stop();
}
instance body of movieClip 626 {
onClipEvent (enterFrame) {
if (_root.hero2._x > _root.hero._x) {
this._xscale = -100;
}
}
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
instance body of movieClip 672 {
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.pause == false) {
_parent.gotoAndStop(19);
} else {
if (_root.pause == false) {
_parent.gotoAndStop(21);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and Key.isDown(39) == false and _root.pause == false) {
_parent.gotoAndStop(20);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(2);
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(23);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
}
frame 20 {
stop();
}
instance body of movieClip 672 {
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.pause == false) {
_parent.gotoAndStop(20);
} else {
if (_root.pause == false) {
_parent.gotoAndStop(22);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and Key.isDown(37) == false and _root.pause == false) {
_parent.gotoAndStop(19);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(2);
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(24);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
}
frame 21 {
stop();
}
frame 22 {
stop();
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
instance body of movieClip 723 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true) {
_parent._x += 6;
}
}
onClipEvent (enterFrame) {
_root.shiftallowed = false;
}
}
frame 26 {
stop();
}
instance body of movieClip 723 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true) {
_parent._x -= 6;
}
}
onClipEvent (enterFrame) {
_root.shiftallowed = false;
}
}
frame 27 {
stop();
}
instance body of movieClip 490 {
onClipEvent (enterFrame) {
if (_root.hero2xdistance > 50 and _root.pause == false) {
_parent.gotoAndStop(10);
}
}
}
frame 28 {
stop();
}
instance body of movieClip 490 {
onClipEvent (enterFrame) {
if (_root.hero2xdistance < -50 and _root.pause == false) {
_parent.gotoAndStop(9);
}
}
}
frame 29 {
stop();
}
instance body of movieClip 754 {
onClipEvent (enterFrame) {
if (_root.blipturn == false and _root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true) {
_parent._x -= _root.herospeed2 / 2;
} else {
if (_root.blipturn == true and _root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true) {
_root.fb1._x += _root.herospeed2 / 4;
_root.fb2._x += _root.herospeed2 / 4;
_root.bg1._x += _root.herospeed2 / 2;
_root.bg2._x += _root.herospeed2 / 2;
_root.fg1._x += _root.herospeed2 / 2;
_root.fg2._x += _root.herospeed2 / 2;
_root.hero._x += _root.herospeed2 / 2;
_root.enemy1._x += _root.herospeed2 / 2;
_root.enemy2._x += _root.herospeed2 / 2;
_root.enemy3._x += _root.herospeed2 / 2;
_root.enemy4._x += _root.herospeed2 / 2;
_root.enemy5._x += _root.herospeed2 / 2;
_root.enemy6._x += _root.herospeed2 / 2;
_root.enemy7._x += _root.herospeed2 / 2;
_root.enemy8._x += _root.herospeed2 / 2;
_root.npc1._x += _root.herospeed2 / 2;
_root.npc2._x += _root.herospeed2 / 2;
_root.npc3._x += _root.herospeed2 / 2;
_root.npc4._x += _root.herospeed2 / 2;
_root.npc5._x += _root.herospeed2 / 2;
_root.npc6._x += _root.herospeed2 / 2;
_root.npc7._x += _root.herospeed2 / 2;
_root.npc8._x += _root.herospeed2 / 2;
}
}
}
}
frame 30 {
stop();
}
instance body of movieClip 767 {
onClipEvent (enterFrame) {
if (_root.blipturn == false and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true) {
_parent._x += _root.herospeed2 / 2;
} else {
if (_root.blipturn == true and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true) {
_root.fb1._x -= _root.herospeed2 / 4;
_root.fb2._x -= _root.herospeed2 / 4;
_root.bg1._x -= _root.herospeed2 / 2;
_root.bg2._x -= _root.herospeed2 / 2;
_root.fg1._x -= _root.herospeed2 / 2;
_root.fg2._x -= _root.herospeed2 / 2;
_root.hero._x -= _root.herospeed2 / 2;
_root.enemy1._x -= _root.herospeed2 / 2;
_root.enemy2._x -= _root.herospeed2 / 2;
_root.enemy3._x -= _root.herospeed2 / 2;
_root.enemy4._x -= _root.herospeed2 / 2;
_root.enemy5._x -= _root.herospeed2 / 2;
_root.enemy6._x -= _root.herospeed2 / 2;
_root.enemy7._x -= _root.herospeed2 / 2;
_root.enemy8._x -= _root.herospeed2 / 2;
_root.npc1._x -= _root.herospeed2 / 2;
_root.npc2._x -= _root.herospeed2 / 2;
_root.npc3._x -= _root.herospeed2 / 2;
_root.npc4._x -= _root.herospeed2 / 2;
_root.npc5._x -= _root.herospeed2 / 2;
_root.npc6._x -= _root.herospeed2 / 2;
_root.npc7._x -= _root.herospeed2 / 2;
_root.npc8._x -= _root.herospeed2 / 2;
}
}
}
}
frame 31 {
stop();
}
instance body of movieClip 789 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true and _root.blipturn == true and _root.pause == false) {
_root.spaceallowed = false;
_root.hero2.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.hero._x > 600) {
_root.fb1._x -= _root.herospeed / 2;
_root.fb2._x -= _root.herospeed / 2;
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed;
_root.fg2._x -= _root.herospeed;
_root.hero._x -= _root.herospeed;
_root.hero2._x -= _root.herospeed;
_root.enemy1._x -= _root.herospeed;
_root.enemy2._x -= _root.herospeed;
_root.enemy3._x -= _root.herospeed;
_root.enemy4._x -= _root.herospeed;
_root.enemy5._x -= _root.herospeed;
_root.enemy6._x -= _root.herospeed;
_root.enemy7._x -= _root.herospeed;
_root.enemy8._x -= _root.herospeed;
_root.npc1._x -= _root.herospeed;
_root.npc2._x -= _root.herospeed;
_root.npc3._x -= _root.herospeed;
_root.npc4._x -= _root.herospeed;
_root.npc5._x -= _root.herospeed;
_root.npc6._x -= _root.herospeed;
_root.npc7._x -= _root.herospeed;
_root.npc8._x -= _root.herospeed;
}
if (_root.hero._x < 100) {
_root.fb1._x += _root.herospeed / 2;
_root.fb2._x += _root.herospeed / 2;
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed;
_root.fg2._x += _root.herospeed;
_root.hero._x += _root.herospeed;
_root.hero2._x += _root.herospeed;
_root.enemy1._x += _root.herospeed;
_root.enemy2._x += _root.herospeed;
_root.enemy3._x += _root.herospeed;
_root.enemy4._x += _root.herospeed;
_root.enemy5._x += _root.herospeed;
_root.enemy6._x += _root.herospeed;
_root.enemy7._x += _root.herospeed;
_root.enemy8._x += _root.herospeed;
_root.npc1._x += _root.herospeed;
_root.npc2._x += _root.herospeed;
_root.npc3._x += _root.herospeed;
_root.npc4._x += _root.herospeed;
_root.npc5._x += _root.herospeed;
_root.npc6._x += _root.herospeed;
_root.npc7._x += _root.herospeed;
_root.npc8._x += _root.herospeed;
}
}
}
frame 32 {
stop();
}
instance body of movieClip 796 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true and _root.blipturn == true and _root.pause == false) {
_root.spaceallowed = false;
_root.hero2.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.hero._x > 600) {
_root.fb1._x -= _root.herospeed / 2;
_root.fb2._x -= _root.herospeed / 2;
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed;
_root.fg2._x -= _root.herospeed;
_root.hero._x -= _root.herospeed;
_root.hero2._x -= _root.herospeed;
_root.enemy1._x -= _root.herospeed;
_root.enemy2._x -= _root.herospeed;
_root.enemy3._x -= _root.herospeed;
_root.enemy4._x -= _root.herospeed;
_root.enemy5._x -= _root.herospeed;
_root.enemy6._x -= _root.herospeed;
_root.enemy7._x -= _root.herospeed;
_root.enemy8._x -= _root.herospeed;
_root.npc1._x -= _root.herospeed;
_root.npc2._x -= _root.herospeed;
_root.npc3._x -= _root.herospeed;
_root.npc4._x -= _root.herospeed;
_root.npc5._x -= _root.herospeed;
_root.npc6._x -= _root.herospeed;
_root.npc7._x -= _root.herospeed;
_root.npc8._x -= _root.herospeed;
}
if (_root.hero._x < 100) {
_root.fb1._x += _root.herospeed / 2;
_root.fb2._x += _root.herospeed / 2;
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed;
_root.fg2._x += _root.herospeed;
_root.hero._x += _root.herospeed;
_root.hero2._x += _root.herospeed;
_root.enemy1._x += _root.herospeed;
_root.enemy2._x += _root.herospeed;
_root.enemy3._x += _root.herospeed;
_root.enemy4._x += _root.herospeed;
_root.enemy5._x += _root.herospeed;
_root.enemy6._x += _root.herospeed;
_root.enemy7._x += _root.herospeed;
_root.enemy8._x += _root.herospeed;
_root.npc1._x += _root.herospeed;
_root.npc2._x += _root.herospeed;
_root.npc3._x += _root.herospeed;
_root.npc4._x += _root.herospeed;
_root.npc5._x += _root.herospeed;
_root.npc6._x += _root.herospeed;
_root.npc7._x += _root.herospeed;
_root.npc8._x += _root.herospeed;
}
}
}
frame 33 {
stop();
}
instance body of movieClip 811 {
onClipEvent (enterFrame) {
if (_root.blipturn == false and _root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true) {
_parent._x -= _root.herospeed2 / 2;
} else {
if (_root.blipturn == true and _root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true) {
_root.fb1._x += _root.herospeed2 / 4;
_root.fb2._x += _root.herospeed2 / 4;
_root.bg1._x += _root.herospeed2 / 2;
_root.bg2._x += _root.herospeed2 / 2;
_root.fg1._x += _root.herospeed2 / 2;
_root.fg2._x += _root.herospeed2 / 2;
_root.hero._x += _root.herospeed2 / 2;
_root.enemy1._x += _root.herospeed2 / 2;
_root.enemy2._x += _root.herospeed2 / 2;
_root.enemy3._x += _root.herospeed2 / 2;
_root.enemy4._x += _root.herospeed2 / 2;
_root.enemy5._x += _root.herospeed2 / 2;
_root.enemy6._x += _root.herospeed2 / 2;
_root.enemy7._x += _root.herospeed2 / 2;
_root.enemy8._x += _root.herospeed2 / 2;
_root.npc1._x += _root.herospeed2 / 2;
_root.npc2._x += _root.herospeed2 / 2;
_root.npc3._x += _root.herospeed2 / 2;
_root.npc4._x += _root.herospeed2 / 2;
_root.npc5._x += _root.herospeed2 / 2;
_root.npc6._x += _root.herospeed2 / 2;
_root.npc7._x += _root.herospeed2 / 2;
_root.npc8._x += _root.herospeed2 / 2;
}
}
}
}
frame 34 {
stop();
}
instance body of movieClip 820 {
onClipEvent (enterFrame) {
if (_root.blipturn == false and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true) {
_parent._x += _root.herospeed2 / 2;
} else {
if (_root.blipturn == true and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true) {
_root.fb1._x -= _root.herospeed2 / 4;
_root.fb2._x -= _root.herospeed2 / 4;
_root.bg1._x -= _root.herospeed2 / 2;
_root.bg2._x -= _root.herospeed2 / 2;
_root.fg1._x -= _root.herospeed2 / 2;
_root.fg2._x -= _root.herospeed2 / 2;
_root.hero._x -= _root.herospeed2 / 2;
_root.enemy1._x -= _root.herospeed2 / 2;
_root.enemy2._x -= _root.herospeed2 / 2;
_root.enemy3._x -= _root.herospeed2 / 2;
_root.enemy4._x -= _root.herospeed2 / 2;
_root.enemy5._x -= _root.herospeed2 / 2;
_root.enemy6._x -= _root.herospeed2 / 2;
_root.enemy7._x -= _root.herospeed2 / 2;
_root.enemy8._x -= _root.herospeed2 / 2;
_root.npc1._x -= _root.herospeed2 / 2;
_root.npc2._x -= _root.herospeed2 / 2;
_root.npc3._x -= _root.herospeed2 / 2;
_root.npc4._x -= _root.herospeed2 / 2;
_root.npc5._x -= _root.herospeed2 / 2;
_root.npc6._x -= _root.herospeed2 / 2;
_root.npc7._x -= _root.herospeed2 / 2;
_root.npc8._x -= _root.herospeed2 / 2;
}
}
}
}
frame 35 {
stop();
}
frame 36 {
stop();
}
frame 37 {
stop();
}
instance body of movieClip 850 {
onClipEvent (enterFrame) {
if (_root.blipturn == false and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true) {
_parent._x += _root.herospeed2;
} else {
if (_root.blipturn == true and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true) {
_root.fb1._x -= _root.herospeed2 / 2;
_root.fb2._x -= _root.herospeed2 / 2;
_root.bg1._x -= _root.herospeed2;
_root.bg2._x -= _root.herospeed2;
_root.fg1._x -= _root.herospeed2;
_root.fg2._x -= _root.herospeed2;
_root.hero._x -= _root.herospeed2;
_root.enemy1._x -= _root.herospeed2;
_root.enemy2._x -= _root.herospeed2;
_root.enemy3._x -= _root.herospeed2;
_root.enemy4._x -= _root.herospeed2;
_root.enemy5._x -= _root.herospeed2;
_root.enemy6._x -= _root.herospeed2;
_root.enemy7._x -= _root.herospeed2;
_root.enemy8._x -= _root.herospeed2;
_root.npc1._x -= _root.herospeed2;
_root.npc2._x -= _root.herospeed2;
_root.npc3._x -= _root.herospeed2;
_root.npc4._x -= _root.herospeed2;
_root.npc5._x -= _root.herospeed2;
_root.npc6._x -= _root.herospeed2;
_root.npc7._x -= _root.herospeed2;
_root.npc8._x -= _root.herospeed2;
}
}
}
}
frame 38 {
stop();
}
instance body of movieClip 852 {
onClipEvent (enterFrame) {
if (_root.blipturn == false and _root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true) {
_parent._x -= _root.herospeed2;
} else {
if (_root.blipturn == true and _root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true) {
_root.fb1._x += _root.herospeed2 / 2;
_root.fb2._x += _root.herospeed2 / 2;
_root.bg1._x += _root.herospeed2;
_root.bg2._x += _root.herospeed2;
_root.fg1._x += _root.herospeed2;
_root.fg2._x += _root.herospeed2;
_root.hero._x += _root.herospeed2;
_root.enemy1._x += _root.herospeed2;
_root.enemy2._x += _root.herospeed2;
_root.enemy3._x += _root.herospeed2;
_root.enemy4._x += _root.herospeed2;
_root.enemy5._x += _root.herospeed2;
_root.enemy6._x += _root.herospeed2;
_root.enemy7._x += _root.herospeed2;
_root.enemy8._x += _root.herospeed2;
_root.npc1._x += _root.herospeed2;
_root.npc2._x += _root.herospeed2;
_root.npc3._x += _root.herospeed2;
_root.npc4._x += _root.herospeed2;
_root.npc5._x += _root.herospeed2;
_root.npc6._x += _root.herospeed2;
_root.npc7._x += _root.herospeed2;
_root.npc8._x += _root.herospeed2;
}
}
}
}
frame 39 {
stop();
}
instance body of movieClip 865 {
onClipEvent (enterFrame) {
if (_root.hero2._x > _root.hero._x) {
this._xscale = -100;
}
}
}
frame 40 {
stop();
}
instance body2 of movieClip 876 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.momentum2 < 8 and _root.blipturn == true) {
_root.momentum2 += 1;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false and _root.blipturn == true) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(2);
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root._y -= 2;
_root.mainframe._y += 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _parent._x < 200 and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true and _root.blipturn == true) {
_parent._x += _root.herospeed2;
} else {
if (Key.isDown(39) and _parent._x > 220 and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true and _root.blipturn == true) {
_parent._x -= _root.herospeed2;
_root.fb1._x -= _root.herospeed2;
_root.fb2._x -= _root.herospeed2;
_root.bg1._x -= _root.herospeed2 * 2;
_root.bg2._x -= _root.herospeed2 * 2;
_root.fg1._x -= _root.herospeed2 * 2;
_root.fg2._x -= _root.herospeed2 * 2;
_root.hero._x -= _root.herospeed2 * 2;
_root.enemy1._x -= _root.herospeed2 * 2;
_root.enemy2._x -= _root.herospeed2 * 2;
_root.enemy3._x -= _root.herospeed2 * 2;
_root.enemy4._x -= _root.herospeed2 * 2;
_root.enemy5._x -= _root.herospeed2 * 2;
_root.enemy6._x -= _root.herospeed2 * 2;
_root.enemy7._x -= _root.herospeed2 * 2;
_root.enemy8._x -= _root.herospeed2 * 2;
_root.npc1._x -= _root.herospeed2 * 2;
_root.npc2._x -= _root.herospeed2 * 2;
_root.npc3._x -= _root.herospeed2 * 2;
_root.npc4._x -= _root.herospeed2 * 2;
_root.npc5._x -= _root.herospeed2 * 2;
_root.npc6._x -= _root.herospeed2 * 2;
_root.npc7._x -= _root.herospeed2 * 2;
_root.npc8._x -= _root.herospeed2 * 2;
} else {
if (Key.isDown(39) and _parent._x >= 200 and _parent._x <= 220 and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true and _root.blipturn == true) {
_root.fb1._x -= _root.herospeed2 / 2;
_root.fb2._x -= _root.herospeed2 / 2;
_root.bg1._x -= _root.herospeed2;
_root.bg2._x -= _root.herospeed2;
_root.fg1._x -= _root.herospeed2;
_root.fg2._x -= _root.herospeed2;
_root.hero._x -= _root.herospeed2;
_root.enemy1._x -= _root.herospeed2;
_root.enemy2._x -= _root.herospeed2;
_root.enemy3._x -= _root.herospeed2;
_root.enemy4._x -= _root.herospeed2;
_root.enemy5._x -= _root.herospeed2;
_root.enemy6._x -= _root.herospeed2;
_root.enemy7._x -= _root.herospeed2;
_root.enemy8._x -= _root.herospeed2;
_root.npc1._x -= _root.herospeed2;
_root.npc2._x -= _root.herospeed2;
_root.npc3._x -= _root.herospeed2;
_root.npc4._x -= _root.herospeed2;
_root.npc5._x -= _root.herospeed2;
_root.npc6._x -= _root.herospeed2;
_root.npc7._x -= _root.herospeed2;
_root.npc8._x -= _root.herospeed2;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true and _root.blipturn == true) {
_root.fb1._x += _root.herospeed2 / 2;
_root.fb2._x += _root.herospeed2 / 2;
_root.bg1._x += _root.herospeed2;
_root.bg2._x += _root.herospeed2;
_root.fg1._x += _root.herospeed2;
_root.fg2._x += _root.herospeed2;
_root.hero._x += _root.herospeed2;
_root.enemy1._x += _root.herospeed2;
_root.enemy2._x += _root.herospeed2;
_root.enemy3._x += _root.herospeed2;
_root.enemy4._x += _root.herospeed2;
_root.enemy5._x += _root.herospeed2;
_root.enemy6._x += _root.herospeed2;
_root.enemy7._x += _root.herospeed2;
_root.enemy8._x += _root.herospeed2;
_root.npc1._x += _root.herospeed2;
_root.npc2._x += _root.herospeed2;
_root.npc3._x += _root.herospeed2;
_root.npc4._x += _root.herospeed2;
_root.npc5._x += _root.herospeed2;
_root.npc6._x += _root.herospeed2;
_root.npc7._x += _root.herospeed2;
_root.npc8._x += _root.herospeed2;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true and _root.hero2xdistance > 50 and _root.blipturn == false) {
_parent._x -= _root.herospeed2;
} else {
if (_root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true and _root.hero2xdistance < -50 and _root.blipturn == false) {
_parent._x += _root.herospeed2;
}
}
}
}
frame 41 {
stop();
}
instance body2 of movieClip 877 {
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.momentum2 > -8 and _root.blipturn == true) {
_root.momentum2 -= 1;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false and _root.blipturn == true) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(2);
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root._y -= 2;
_root.mainframe._y += 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _parent._x > 515 and _root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true and _root.blipturn == true) {
_parent._x -= _root.herospeed2;
} else {
if (Key.isDown(37) and _parent._x < 495 and _root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true and _root.blipturn == true) {
_parent._x += _root.herospeed2;
_root.fb1._x += _root.herospeed2;
_root.fb2._x += _root.herospeed2;
_root.bg1._x += _root.herospeed2 * 2;
_root.bg2._x += _root.herospeed2 * 2;
_root.fg1._x += _root.herospeed2 * 2;
_root.fg2._x += _root.herospeed2 * 2;
_root.hero._x += _root.herospeed2 * 2;
_root.enemy1._x += _root.herospeed2 * 2;
_root.enemy2._x += _root.herospeed2 * 2;
_root.enemy3._x += _root.herospeed2 * 2;
_root.enemy4._x += _root.herospeed2 * 2;
_root.enemy5._x += _root.herospeed2 * 2;
_root.enemy6._x += _root.herospeed2 * 2;
_root.enemy7._x += _root.herospeed2 * 2;
_root.enemy8._x += _root.herospeed2 * 2;
_root.npc1._x += _root.herospeed2 * 2;
_root.npc2._x += _root.herospeed2 * 2;
_root.npc3._x += _root.herospeed2 * 2;
_root.npc4._x += _root.herospeed2 * 2;
_root.npc5._x += _root.herospeed2 * 2;
_root.npc6._x += _root.herospeed2 * 2;
_root.npc7._x += _root.herospeed2 * 2;
_root.npc8._x += _root.herospeed2 * 2;
} else {
if (Key.isDown(37) and _parent._x >= 495 and _parent._x <= 515 and _root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true and _root.blipturn == true) {
_root.fb1._x += _root.herospeed2 / 2;
_root.fb2._x += _root.herospeed2 / 2;
_root.bg1._x += _root.herospeed2;
_root.bg2._x += _root.herospeed2;
_root.fg1._x += _root.herospeed2;
_root.fg2._x += _root.herospeed2;
_root.hero._x += _root.herospeed2;
_root.enemy1._x += _root.herospeed2;
_root.enemy2._x += _root.herospeed2;
_root.enemy3._x += _root.herospeed2;
_root.enemy4._x += _root.herospeed2;
_root.enemy5._x += _root.herospeed2;
_root.enemy6._x += _root.herospeed2;
_root.enemy7._x += _root.herospeed2;
_root.enemy8._x += _root.herospeed2;
_root.npc1._x += _root.herospeed2;
_root.npc2._x += _root.herospeed2;
_root.npc3._x += _root.herospeed2;
_root.npc4._x += _root.herospeed2;
_root.npc5._x += _root.herospeed2;
_root.npc6._x += _root.herospeed2;
_root.npc7._x += _root.herospeed2;
_root.npc8._x += _root.herospeed2;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true and _root.blipturn == true) {
_root.fb1._x -= _root.herospeed2 / 2;
_root.fb2._x -= _root.herospeed2 / 2;
_root.bg1._x -= _root.herospeed2;
_root.bg2._x -= _root.herospeed2;
_root.fg1._x -= _root.herospeed2;
_root.fg2._x -= _root.herospeed2;
_root.hero._x -= _root.herospeed2;
_root.enemy1._x -= _root.herospeed2;
_root.enemy2._x -= _root.herospeed2;
_root.enemy3._x -= _root.herospeed2;
_root.enemy4._x -= _root.herospeed2;
_root.enemy5._x -= _root.herospeed2;
_root.enemy6._x -= _root.herospeed2;
_root.enemy7._x -= _root.herospeed2;
_root.enemy8._x -= _root.herospeed2;
_root.npc1._x -= _root.herospeed2;
_root.npc2._x -= _root.herospeed2;
_root.npc3._x -= _root.herospeed2;
_root.npc4._x -= _root.herospeed2;
_root.npc5._x -= _root.herospeed2;
_root.npc6._x -= _root.herospeed2;
_root.npc7._x -= _root.herospeed2;
_root.npc8._x -= _root.herospeed2;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true and _root.hero2xdistance > 50 and _root.blipturn == false) {
_parent._x -= _root.herospeed2;
} else {
if (_root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true and _root.hero2xdistance < -50 and _root.blipturn == false) {
_parent._x += _root.herospeed2;
}
}
}
}
frame 42 {
stop();
}
frame 43 {
stop();
}
frame 44 {
stop();
}
instance body of movieClip 925 {
onClipEvent (enterFrame) {
if (_root.hero2._x > _root.hero._x) {
this._xscale = -100;
}
}
}
frame 45 {
stop();
}
frame 46 {
stop();
}
frame 47 {
stop();
_root.tutorialtext -= 1;
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
instance body of movieClip 956 {
onClipEvent (enterFrame) {
if (_root.hero2._x > _root.hero._x) {
this._xscale = -100;
} else {
if (_root.hero2._x <= _root.hero._x) {
this._xscale = 100;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.rightallowed2 == true and _root.pause == false) {
_root.toofaraway = false;
_root.leftallowed2 = true;
_parent._x += 14;
_parent.gotoAndStop(5);
} else {
if (Key.isDown(37) and _root.leftallowed2 == true and _root.pause == false) {
_root.toofaraway = false;
_root.rightallowed2 = true;
_parent._x -= 14;
_parent.gotoAndStop(6);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.blipturn == true and _root.hero2._x > _root.hero._x and _root.pause == false) {
_root.toofaraway = false;
_root.shiftallowed = false;
_root.rightallowed2 = true;
_root.leftallowed2 = true;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(2);
_parent._x -= 14;
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(10);
}
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.blipturn == true and _root.hero2._x < _root.hero._x and _root.pause == false) {
_root.toofaraway = false;
_root.shiftallowed = false;
_root.rightallowed2 = true;
_root.leftallowed2 = true;
_parent._x += 14;
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
}
frame 48 {
stop();
}
instance body of movieClip 956 {
onClipEvent (enterFrame) {
if (_root.hero2._x > _root.hero._x) {
this._xscale = -100;
} else {
if (_root.hero2._x <= _root.hero._x) {
this._xscale = 100;
}
}
}
onClipEvent (enterFrame) {
if (_root.hero2xdistance > 50 and _root.hero2xdistance < 100 and _root.pause == false) {
_parent.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (_root.hero2xdistance < -50 and _root.hero2xdistance > -100 and _root.pause == false) {
_parent.gotoAndStop(9);
}
}
}
frame 49 {
stop();
}
frame 50 {
stop();
}
frame 51 {
stop();
}
instance body of movieClip 963 {
onClipEvent (enterFrame) {
if (_root.hero2._x > _root.hero._x) {
this._xscale = -100;
} else {
if (_root.hero2._x <= _root.hero._x) {
this._xscale = 100;
}
}
}
onClipEvent (enterFrame) {
if (_root.hero2._x < 250) {
_parent._x += _root.herospeed2 * 2;
_root.fb1._x += _root.herospeed2;
_root.fb2._x += _root.herospeed2;
_root.bg1._x += _root.herospeed2 * 2;
_root.bg2._x += _root.herospeed2 * 2;
_root.fg1._x += _root.herospeed2 * 2;
_root.fg2._x += _root.herospeed2 * 2;
_root.hero._x += _root.herospeed2 * 2;
_root.enemy1._x += _root.herospeed2 * 2;
_root.enemy2._x += _root.herospeed2 * 2;
_root.enemy3._x += _root.herospeed2 * 2;
_root.enemy4._x += _root.herospeed2 * 2;
_root.enemy5._x += _root.herospeed2 * 2;
_root.enemy6._x += _root.herospeed2 * 2;
_root.enemy7._x += _root.herospeed2 * 2;
_root.enemy8._x += _root.herospeed2 * 2;
_root.npc1._x += _root.herospeed2 * 2;
_root.npc2._x += _root.herospeed2 * 2;
_root.npc3._x += _root.herospeed2 * 2;
_root.npc4._x += _root.herospeed2 * 2;
_root.npc5._x += _root.herospeed2 * 2;
_root.npc6._x += _root.herospeed2 * 2;
_root.npc7._x += _root.herospeed2 * 2;
_root.npc8._x += _root.herospeed2 * 2;
}
}
}
}
instance hero2 of movieClip 964 {
onClipEvent (enterFrame) {
if (_root.blipflower == true) {
this.body.flower.gotoAndStop(2);
this.body2.flower.gotoAndStop(2);
} else {
if (_root.blipworm == true) {
this.body.flower.gotoAndStop(3);
this.body2.flower.gotoAndStop(3);
} else {
if (_root.npc3hero2 == true) {
this.body.flower.gotoAndStop(4);
this.body2.flower.gotoAndStop(4);
this.body.flower.body.face.gotoAndStop(1);
this.body.flower.body.torso.gotoAndStop(1);
this.body2.flower.body.face.gotoAndStop(1);
this.body2.flower.body.torso.gotoAndStop(1);
} else {
if (_root.npc4hero2 == true) {
this.body.flower.gotoAndStop(4);
this.body2.flower.gotoAndStop(4);
this.body.flower.body.face.gotoAndStop(2);
this.body.flower.body.torso.gotoAndStop(2);
this.body2.flower.body.face.gotoAndStop(2);
this.body2.flower.body.torso.gotoAndStop(2);
} else {
if (_root.npc5hero2 == true) {
this.body.flower.gotoAndStop(4);
this.body2.flower.gotoAndStop(4);
this.body.flower.body.face.gotoAndStop(3);
this.body.flower.body.torso.gotoAndStop(3);
this.body2.flower.body.face.gotoAndStop(3);
this.body2.flower.body.torso.gotoAndStop(3);
} else {
if (_root.npc6hero2 == true) {
this.body.flower.gotoAndStop(4);
this.body2.flower.gotoAndStop(4);
this.body.flower.body.face.gotoAndStop(4);
this.body.flower.body.torso.gotoAndStop(4);
this.body2.flower.body.face.gotoAndStop(4);
this.body2.flower.body.torso.gotoAndStop(4);
} else {
this.body.flower.gotoAndStop(1);
this.body2.flower.gotoAndStop(1);
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.momentum2 > 0 and _root.pause == false and _root.rightallowed2 == true and _root.rightallowedd2 == true) {
_root.fb1._x -= _root.momentum2 / 2;
_root.fb2._x -= _root.momentum2 / 2;
_root.bg1._x -= _root.momentum2;
_root.bg2._x -= _root.momentum2;
_root.fg1._x -= _root.momentum2;
_root.fg2._x -= _root.momentum2;
_root.hero._x -= _root.momentum2;
_root.enemy1._x -= _root.momentum2;
_root.enemy2._x -= _root.momentum2;
_root.enemy3._x -= _root.momentum2;
_root.enemy4._x -= _root.momentum2;
_root.enemy5._x -= _root.momentum2;
_root.enemy6._x -= _root.momentum2;
_root.enemy7._x -= _root.momentum2;
_root.enemy8._x -= _root.momentum2;
_root.npc1._x -= _root.momentum2;
_root.npc2._x -= _root.momentum2;
_root.npc3._x -= _root.momentum2;
_root.npc4._x -= _root.momentum2;
_root.npc5._x -= _root.momentum2;
_root.npc6._x -= _root.momentum2;
_root.npc7._x -= _root.momentum2;
_root.npc8._x -= _root.momentum2;
_root.momentum2 -= 1;
} else {
if (_root.momentum2 < 0 and _root.pause == false and _root.leftallowed2 == true and _root.leftallowedd2 == true) {
_root.fb1._x -= _root.momentum2 / 2;
_root.fb2._x -= _root.momentum2 / 2;
_root.bg1._x -= _root.momentum2;
_root.bg2._x -= _root.momentum2;
_root.fg1._x -= _root.momentum2;
_root.fg2._x -= _root.momentum2;
_root.hero._x -= _root.momentum2;
_root.enemy1._x -= _root.momentum2;
_root.enemy2._x -= _root.momentum2;
_root.enemy3._x -= _root.momentum2;
_root.enemy4._x -= _root.momentum2;
_root.enemy5._x -= _root.momentum2;
_root.enemy6._x -= _root.momentum2;
_root.enemy7._x -= _root.momentum2;
_root.enemy8._x -= _root.momentum2;
_root.npc1._x -= _root.momentum2;
_root.npc2._x -= _root.momentum2;
_root.npc3._x -= _root.momentum2;
_root.npc4._x -= _root.momentum2;
_root.npc5._x -= _root.momentum2;
_root.npc6._x -= _root.momentum2;
_root.npc7._x -= _root.momentum2;
_root.npc8._x -= _root.momentum2;
_root.momentum2 += 1;
}
}
}
onClipEvent (enterFrame) {
_root.hero2xdistance = _root.hero2._x - _root.hero._x;
}
onClipEvent (enterFrame) {
if (_root.hero2xdistance > 800 and _root.blipturn == true) {
_root.toofaraway = true;
_root.rightallowed2 = false;
_root.momentum2 = 0;
_root.momentum = 0;
_root.hero2.gotoAndStop(47);
_root.hero.gotoAndStop(50);
} else {
if (_root.hero2xdistance < -800 and _root.blipturn == true) {
_root.toofaraway = true;
_root.leftallowed2 = false;
_root.momentum2 = 0;
_root.momentum = 0;
_root.hero2.gotoAndStop(47);
_root.hero.gotoAndStop(50);
}
}
}
onClipEvent (enterFrame) {
if (_root.screenmove2 == true and _root.pause == false) {
_root._y -= _root.velocity2 / 2;
_root.mainframe._y += _root.velocity2 / 2;
}
}
onClipEvent (enterFrame) {
if (_root.falling2 == true and _root.pause == false) {
_root.velocity2 += _root.gravity2;
_root.hero2._y += _root.velocity2;
_root.screenmove2 = true;
}
i = 0;
while (i < 99) {
if (_root.hero2.body.hitbox.hitTest('_root.fg1.platform' + i)) {
platform2a = eval('_root.fg1.platform' + i);
}
if (_root.hero2.body.hitbox.hitTest('_root.fg2.platform' + i)) {
platform2b = eval('_root.fg2.platform' + i);
}
++i;
}
if (_root.hero2.body.hitbox.hitTest(platform2a) and _root.pause == false) {
if (_root.falling2 == true) {
_root.hero2._y = platform2a._y;
_root.velocity2 = 0;
_root.falling2 = false;
_root.screenmove2 = false;
}
} else {
if (_root.hero2.body.hitbox.hitTest(platform2b) and _root.pause == false) {
if (_root.falling2 == true) {
_root.hero2._y = platform2b._y;
_root.velocity2 = 0;
_root.falling2 = false;
_root.screenmove2 = false;
}
} else {
if (_root.hero2.body.hitbox.hitTest(_root.npc2.body) and _root.pause == false) {
if (_root.falling2 == true) {
_root.hero2._y = _root.npc2._y;
_root.velocity2 = 0;
_root.screenmove2 = false;
}
} else {
_root.falling2 = true;
}
}
}
}
onClipEvent (enterFrame) {
if (_root.hero2._x < -10) {
_root.screenmove2 = false;
_root.falling2 = false;
}
}
onClipEvent (enterFrame) {
if (_root.hero2._x > 730) {
_root.screenmove2 = false;
_root.falling2 = false;
}
}
}
movieClip 977 {
}
movieClip 983 {
frame 3 {
_parent.gotoAndStop(6);
}
}
movieClip 985 {
frame 3 {
_parent.gotoAndStop(5);
}
}
movieClip 1009 {
}
movieClip 1027 {
frame 1 {
_root.jumping = true;
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (_root.sinking == false and _root.pause == false) {
_root.velocity = -30;
_root.falling = true;
} else {
if (_root.sinking == true and _root.pause == false) {
_root.velocity = -20;
_root.falling = true;
}
}
}
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and _root.velocity > 0 and _root.pause == false) {
_root.hero._y = platform._y;
_parent._parent.gotoAndStop(5);
} else {
if (this.hitTest(bplatform) and _root.velocity > 0 and _root.pause == false) {
_root.hero._y = bplatform._y;
_parent._parent.gotoAndStop(5);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndStop(13);
}
}
}
frame 4 {
_root.sinking = false;
}
frame 19 {
stop();
}
}
movieClip 1034 {
frame 1 {
_root.jumping = true;
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (_root.sinking == false and _root.pause == false) {
_root.velocity = -30;
_root.falling = true;
} else {
if (_root.sinking == true and _root.pause == false) {
_root.velocity = -20;
_root.falling = true;
}
}
}
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and _root.velocity > 0 and _root.pause == false) {
_root.hero._y = platform._y;
_parent._parent.gotoAndStop(6);
} else {
if (this.hitTest(bplatform) and _root.velocity > 0 and _root.pause == false) {
_root.hero._y = bplatform._y;
_parent._parent.gotoAndStop(6);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndStop(14);
}
}
}
frame 4 {
_root.sinking = false;
}
frame 19 {
stop();
}
}
movieClip 1060 {
frame 1 {
_root.jumping = true;
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (_root.sinking == false and _root.pause == false) {
_root.velocity = -30;
_root.falling = true;
} else {
if (_root.sinking == true and _root.pause == false) {
_root.velocity = -20;
_root.falling = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.trampoline == true and _root.pause == false) {
_root.velocity = -44;
_root.falling = true;
}
}
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and _root.velocity > 0 and _root.anskiturn == true and _root.pause == false) {
_root.hero._y = platform._y;
_parent._parent.gotoAndStop(5);
} else {
if (this.hitTest(bplatform) and _root.velocity > 0 and _root.anskiturn == true and _root.pause == false) {
_root.hero._y = bplatform._y;
_parent._parent.gotoAndStop(5);
} else {
if (this.hitTest(platform) and _root.velocity > 0 and _root.anskiturn == false and _root.pause == false) {
_root.hero._y = platform._y;
_parent._parent.gotoAndStop(9);
} else {
if (this.hitTest(bplatform) and _root.velocity > 0 and _root.anskiturn == false and _root.pause == false) {
_root.hero._y = bplatform._y;
_parent._parent.gotoAndStop(9);
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_parent.gotoAndPlay(1);
}
}
}
frame 4 {
_root.sinking = false;
}
frame 19 {
stop();
}
}
movieClip 1072 {
frame 1 {
_root.jumping = true;
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (_root.sinking == false and _root.pause == false) {
_root.velocity = -30;
_root.falling = true;
} else {
if (_root.sinking == true and _root.pause == false) {
_root.velocity = -20;
_root.falling = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.trampoline == true and _root.pause == false) {
_root.velocity = -44;
_root.falling = true;
}
}
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and _root.velocity > 0 and _root.anskiturn == true and _root.pause == false) {
_root.hero._y = platform._y;
_parent._parent.gotoAndStop(6);
} else {
if (this.hitTest(bplatform) and _root.velocity > 0 and _root.anskiturn == true and _root.pause == false) {
_root.hero._y = bplatform._y;
_parent._parent.gotoAndStop(6);
} else {
if (this.hitTest(platform) and _root.velocity > 0 and _root.anskiturn == false and _root.pause == false) {
_root.hero._y = platform._y;
_parent._parent.gotoAndStop(10);
} else {
if (this.hitTest(bplatform) and _root.velocity > 0 and _root.anskiturn == false and _root.pause == false) {
_root.hero._y = bplatform._y;
_parent._parent.gotoAndStop(10);
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_parent.gotoAndPlay(1);
}
}
}
frame 4 {
_root.sinking = false;
}
frame 19 {
stop();
}
}
movieClip 1086 {
frame 1 {
_root.anskiturn = true;
_root.blipturn = false;
_root.herospeed = 10;
_root.momentum = 0;
}
frame 10 {
if (_root.hero._x > 200 and _root.hero._x <= 360) {
_root.hero.swapDepths(_root.hero2);
_root.herospeed = 4;
_parent.gotoAndStop(1);
} else {
if (_root.hero._x > 360 and _root.hero._x < 520) {
_root.hero.swapDepths(_root.hero2);
_root.herospeed = 4;
_parent.gotoAndStop(2);
}
}
}
}
movieClip 1096 {
frame 8 {
if (_root.anskiturn == true and _root.hero._x > _root.hero2._x) {
_root.herospeed = 4;
_parent.gotoAndStop(33);
} else {
if (_root.anskiturn == false and _root.hero._x > _root.hero2._x) {
_root.herospeed = 4;
_parent.gotoAndStop(10);
} else {
if (_root.anskiturn == true and _root.hero._x <= _root.hero2._x) {
_root.herospeed = 4;
_parent.gotoAndStop(32);
} else {
if (_root.anskiturn == false and _root.hero._x <= _root.hero2._x) {
_root.herospeed = 4;
_parent.gotoAndStop(9);
}
}
}
}
}
}
movieClip 1133 {
frame 1 {
if (_root.anskifire == true) {
_parent.gotoAndStop(44);
}
}
frame 22 {
_parent.gotoAndStop(1);
}
}
movieClip 1144 {
frame 1 {
if (_root.anskifire == true) {
_parent.gotoAndStop(45);
}
}
frame 22 {
_parent.gotoAndStop(2);
}
}
movieClip 1168 {
frame 1 {
_root.herospeed = 10;
if (_root.anskiboxcarry == true) {
_root.anskiboxcarry = false;
_root.npc2._x = _root.hero._x;
_root.npc2._x += 30;
_root.npc2._y = _root.hero._y;
_root.npc2._y -= 80;
_root.npc2.gotoAndStop(1);
}
}
frame 5 {
if (_root.hero2xdistance > -300 and _root.hero2xdistance <= 0) {
_root.hero2.gotoAndStop(31);
} else {
if (_root.hero2xdistance < 300 and _root.hero2xdistance > 0) {
_root.hero2.gotoAndStop(32);
}
}
}
frame 16 {
_parent.gotoAndStop(25);
}
}
movieClip 1183 {
frame 1 {
_root.herospeed = 10;
if (_root.anskiboxcarry == true) {
_root.anskiboxcarry = false;
_root.npc2._x = _root.hero._x;
_root.npc2._x -= 30;
_root.npc2._y = _root.hero._y;
_root.npc2._y -= 80;
_root.npc2.gotoAndStop(1);
}
}
frame 5 {
if (_root.hero2xdistance > -300 and _root.hero2xdistance <= 0) {
_root.hero2.gotoAndStop(31);
} else {
if (_root.hero2xdistance < 300 and _root.hero2xdistance > 0) {
_root.hero2.gotoAndStop(32);
}
}
}
frame 16 {
_parent.gotoAndStop(26);
}
}
movieClip 1196 {
frame 1 {
_root.herospeed = 10;
if (_root.anskiboxcarry == true) {
_root.anskiboxcarry = false;
_root.npc2._x = _root.hero._x;
_root.npc2._x += 30;
_root.npc2._y = _root.hero._y;
_root.npc2._y -= 80;
_root.npc2.gotoAndStop(1);
}
if (_root.npc3hero == true) {
_root.npc3hero = false;
_root.npc3._x = _root.hero._x;
_root.npc3._y = _root.hero._y;
_root.npc3.gotoAndStop(5);
}
if (_root.npc4hero == true) {
_root.npc4hero = false;
_root.npc4._x = _root.hero._x;
_root.npc4._y = _root.hero._y;
_root.npc4.gotoAndStop(5);
}
if (_root.npc5hero == true) {
_root.npc5hero = false;
_root.npc5._x = _root.hero._x;
_root.npc5._y = _root.hero._y;
_root.npc5.gotoAndStop(5);
}
if (_root.npc6hero == true) {
_root.npc6hero = false;
_root.npc6._x = _root.hero._x;
_root.npc6._y = _root.hero._y;
_root.npc6.gotoAndStop(5);
}
}
frame 16 {
_parent.gotoAndStop(30);
}
}
movieClip 1206 {
frame 1 {
_root.herospeed = 10;
if (_root.anskiboxcarry == true) {
_root.anskiboxcarry = false;
_root.npc2._x = _root.hero._x;
_root.npc2._x -= 30;
_root.npc2._y = _root.hero._y;
_root.npc2._y -= 80;
_root.npc2.gotoAndStop(1);
}
if (_root.npc3hero == true) {
_root.npc3hero = false;
_root.npc3._x = _root.hero._x;
_root.npc3._y = _root.hero._y;
_root.npc3.gotoAndStop(6);
}
if (_root.npc4hero == true) {
_root.npc4hero = false;
_root.npc4._x = _root.hero._x;
_root.npc4._y = _root.hero._y;
_root.npc4.gotoAndStop(6);
}
if (_root.npc5hero == true) {
_root.npc5hero = false;
_root.npc5._x = _root.hero._x;
_root.npc5._y = _root.hero._y;
_root.npc5.gotoAndStop(6);
}
if (_root.npc6hero == true) {
_root.npc6hero = false;
_root.npc6._x = _root.hero._x;
_root.npc6._y = _root.hero._y;
_root.npc6.gotoAndStop(6);
}
}
frame 16 {
_parent.gotoAndStop(29);
}
}
movieClip 1220 {
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(8);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == true) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(7);
}
}
}
frame 16 {
if (_root.anskiturn == true) {
_root.herospeed = 4;
_parent.gotoAndStop(1);
} else {
if (_root.anskiturn == false) {
_root.herospeed = 4;
_parent.gotoAndStop(19);
}
}
}
}
movieClip 1221 {
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(8);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == true) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(7);
}
}
}
frame 16 {
if (_root.anskiturn == true) {
_root.herospeed = 4;
_parent.gotoAndStop(2);
} else {
if (_root.anskiturn == false) {
_root.herospeed = 4;
_parent.gotoAndStop(20);
}
}
}
}
movieClip 1250 {
frame 1 {
if (_root.anskiboxcarry == true and _root.hero._x < _root.hero2._x) {
_root.anskiboxcarry = false;
_root.npc2._x = _root.hero._x;
_root.npc2._x -= 70;
_root.npc2._y = _root.hero._y;
_root.npc2._y -= 80;
_root.npc2.gotoAndStop(1);
} else {
if (_root.anskiboxcarry == true and _root.hero._x >= _root.hero2._x) {
_root.anskiboxcarry = false;
_root.npc2._x = _root.hero._x;
_root.npc2._x += 70;
_root.npc2._y = _root.hero._y;
_root.npc2._y -= 80;
_root.npc2.gotoAndStop(1);
}
}
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(8);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == true) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(7);
}
}
}
frame 44 {
if (_root.anskiturn == true) {
_root.herospeed = 4;
_parent.gotoAndStop(1);
} else {
if (_root.anskiturn == false) {
_root.herospeed = 4;
_parent.gotoAndStop(9);
}
}
}
}
movieClip 1272 {
frame 1 {
if (_root.anskiboxcarry == true and _root.hero._x < _root.hero2._x) {
_root.anskiboxcarry = false;
_root.npc2._x = _root.hero._x;
_root.npc2._x -= 70;
_root.npc2._y = _root.hero._y;
_root.npc2._y -= 80;
_root.npc2.gotoAndStop(1);
} else {
if (_root.anskiboxcarry == true and _root.hero._x >= _root.hero2._x) {
_root.anskiboxcarry = false;
_root.npc2._x = _root.hero._x;
_root.npc2._x += 70;
_root.npc2._y = _root.hero._y;
_root.npc2._y -= 80;
_root.npc2.gotoAndStop(1);
}
}
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(8);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == true) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(7);
}
}
}
frame 44 {
if (_root.anskiturn == true) {
_root.herospeed = 4;
_parent.gotoAndStop(2);
} else {
if (_root.anskiturn == false) {
_root.herospeed = 4;
_parent.gotoAndStop(10);
}
}
}
}
movieClip 1290 {
frame 1 {
_root.herospeed = 10;
}
frame 16 {
if (_root.anskiturn == true) {
_root.herospeed = 4;
_parent.gotoAndStop(1);
} else {
if (_root.anskiturn == false) {
_root.herospeed = 4;
_parent.gotoAndStop(20);
}
}
}
}
movieClip 1292 {
frame 1 {
_root.herospeed = 10;
}
frame 16 {
if (_root.anskiturn == true) {
_root.herospeed = 4;
_parent.gotoAndStop(2);
} else {
if (_root.anskiturn == false) {
_root.herospeed = 4;
_parent.gotoAndStop(19);
}
}
}
}
movieClip 1299 {
frame 1 {
_root.herospeed = 4;
_root.herospeed2 = 4;
if (_root.anskiboxcarry == true and _root.hero._x < _root.hero2._x) {
_root.anskiboxcarry = false;
_root.npc2._x = _root.hero._x;
_root.npc2._x -= 70;
_root.npc2._y = _root.hero._y;
_root.npc2._y -= 80;
_root.npc2.gotoAndStop(1);
} else {
if (_root.anskiboxcarry == true and _root.hero._x >= _root.hero2._x) {
_root.anskiboxcarry = false;
_root.npc2._x = _root.hero._x;
_root.npc2._x += 70;
_root.npc2._y = _root.hero._y;
_root.npc2._y -= 80;
_root.npc2.gotoAndStop(1);
}
}
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(8);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == true) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(7);
}
}
}
frame 45 {
if (_root.hero._x < _root.hero2._x) {
_root.herospeed = 4;
_parent.gotoAndStop(1);
} else {
if (_root.hero._x >= _root.hero2._x) {
_root.herospeed = 4;
_parent.gotoAndStop(2);
}
}
}
}
movieClip 1310 {
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and _root.velocity > 0 and _root.anskiturn == true and _root.pause == false) {
_root.hero._y = platform._y;
_parent._parent.gotoAndStop(5);
} else {
if (this.hitTest(bplatform) and _root.velocity > 0 and _root.anskiturn == true and _root.pause == false) {
_root.hero._y = bplatform._y;
_parent._parent.gotoAndStop(5);
} else {
if (this.hitTest(platform) and _root.velocity > 0 and _root.anskiturn == false and _root.pause == false) {
_root.hero._y = platform._y;
_parent._parent.gotoAndStop(9);
} else {
if (this.hitTest(bplatform) and _root.velocity > 0 and _root.anskiturn == false and _root.pause == false) {
_root.hero._y = bplatform._y;
_parent._parent.gotoAndStop(9);
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndStop(13);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc2.body) and _root.anskiturn == true and _root.pause == false) {
_root.hero._y = _root.npc2._y;
_parent._parent.gotoAndStop(5);
} else {
if (this.hitTest(_root.npc2.body) and _root.anskiturn == false and _root.pause == false) {
_root.hero._y = _root.npc2._y;
_parent._parent.gotoAndStop(9);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bg1.trampoline.trampolinebox) and _root.velocity > 0 and _root.pause == false) {
_root.bg1.trampoline.gotoAndStop(2);
_root.trampoline = true;
_root.hero.gotoAndStop(13);
} else {
if (this.hitTest(_root.bg2.trampoline.trampolinebox) and _root.velocity > 0 and _root.pause == false) {
_root.bg2.trampoline.gotoAndStop(2);
_root.trampoline = true;
_root.hero.gotoAndStop(13);
}
}
}
}
}
movieClip 1311 {
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and _root.velocity > 0 and _root.anskiturn == true and _root.pause == false) {
_root.hero._y = platform._y;
_parent._parent.gotoAndStop(6);
} else {
if (this.hitTest(bplatform) and _root.velocity > 0 and _root.anskiturn == true and _root.pause == false) {
_root.hero._y = bplatform._y;
_parent._parent.gotoAndStop(6);
} else {
if (this.hitTest(platform) and _root.velocity > 0 and _root.anskiturn == false and _root.pause == false) {
_root.hero._y = platform._y;
_parent._parent.gotoAndStop(10);
} else {
if (this.hitTest(bplatform) and _root.velocity > 0 and _root.anskiturn == false and _root.pause == false) {
_root.hero._y = bplatform._y;
_parent._parent.gotoAndStop(10);
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndStop(14);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc2.body) and _root.anskiturn == true and _root.pause == false) {
_root.hero._y = _root.npc2._y;
_parent._parent.gotoAndStop(6);
} else {
if (this.hitTest(_root.npc2.body) and _root.anskiturn == false and _root.pause == false) {
_root.hero._y = _root.npc2._y;
_parent._parent.gotoAndStop(10);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bg1.trampoline.trampolinebox) and _root.velocity > 0 and _root.pause == false) {
_root.bg1.trampoline.gotoAndStop(2);
_root.trampoline = true;
_root.hero.gotoAndStop(14);
} else {
if (this.hitTest(_root.bg2.trampoline.trampolinebox) and _root.velocity > 0 and _root.pause == false) {
_root.bg2.trampoline.gotoAndStop(2);
_root.trampoline = true;
_root.hero.gotoAndStop(14);
}
}
}
}
}
movieClip 1336 {
frame 1 {
_root.jumping = true;
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (_root.sinking == false and _root.pause == false) {
_root.velocity = -24;
_root.falling = true;
} else {
if (_root.sinking == true and _root.pause == false) {
_root.velocity = -14;
_root.falling = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.trampoline == true and _root.pause == false) {
_root.velocity = -44;
_root.falling = true;
}
}
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and _root.velocity > 0 and _root.pause == false) {
_root.hero._y = platform._y;
_parent._parent.gotoAndStop(40);
} else {
if (this.hitTest(bplatform) and _root.velocity > 0 and _root.pause == false) {
_root.hero._y = bplatform._y;
_parent._parent.gotoAndStop(40);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_parent.gotoAndPlay(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bg1.trampoline.trampolinebox) and _root.velocity > 0 and _root.pause == false) {
_root.bg1.trampoline.gotoAndStop(2);
_root.trampoline = true;
_parent.gotoAndPlay(1);
} else {
if (this.hitTest(_root.bg2.trampoline.trampolinebox) and _root.velocity > 0 and _root.pause == false) {
_root.bg2.trampoline.gotoAndStop(2);
_root.trampoline = true;
_parent.gotoAndPlay(1);
}
}
}
}
frame 4 {
_root.sinking = false;
}
frame 16 {
stop();
}
}
movieClip 1341 {
frame 1 {
_root.jumping = true;
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (_root.sinking == false and _root.pause == false) {
_root.velocity = -24;
_root.falling = true;
} else {
if (_root.sinking == true and _root.pause == false) {
_root.velocity = -14;
_root.falling = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.trampoline == true and _root.pause == false) {
_root.velocity = -44;
_root.falling = true;
}
}
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
i = 0;
while (i < 99) {
if (this.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (this.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (this.hitTest(platform) and _root.velocity > 0 and _root.pause == false) {
_root.hero._y = platform._y;
_parent._parent.gotoAndStop(41);
} else {
if (this.hitTest(bplatform) and _root.velocity > 0 and _root.pause == false) {
_root.hero._y = bplatform._y;
_parent._parent.gotoAndStop(41);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_parent.gotoAndPlay(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bg1.trampoline.trampolinebox) and _root.velocity > 0 and _root.pause == false) {
_root.bg1.trampoline.gotoAndStop(2);
_root.trampoline = true;
_parent.gotoAndPlay(1);
} else {
if (this.hitTest(_root.bg2.trampoline.trampolinebox) and _root.velocity > 0 and _root.pause == false) {
_root.bg2.trampoline.gotoAndStop(2);
_root.trampoline = true;
_parent.gotoAndPlay(1);
}
}
}
}
frame 4 {
_root.sinking = false;
}
frame 16 {
stop();
}
}
movieClip 1347 {
frame 1 {
_root.momentum = 0;
if (_root.npc3hero == true) {
_root.npc3hero = false;
_root.npc3._x = _root.hero._x;
_root.npc3._y = _root.hero._y;
_root.npc3.gotoAndStop(1);
}
if (_root.npc4hero == true) {
_root.npc4hero = false;
_root.npc4._x = _root.hero._x;
_root.npc4._y = _root.hero._y;
_root.npc4.gotoAndStop(1);
}
if (_root.npc5hero == true) {
_root.npc5hero = false;
_root.npc5._x = _root.hero._x;
_root.npc5._y = _root.hero._y;
_root.npc5.gotoAndStop(1);
}
if (_root.npc6hero == true) {
_root.npc6hero = false;
_root.npc6._x = _root.hero._x;
_root.npc6._y = _root.hero._y;
_root.npc6.gotoAndStop(1);
}
}
frame 3 {
_root.herospeed = 4;
_parent.gotoAndStop(38);
}
}
movieClip 1351 {
frame 1 {
_root.momentum = 0;
if (_root.npc3hero == true) {
_root.npc3hero = false;
_root.npc3._x = _root.hero._x;
_root.npc3._y = _root.hero._y;
_root.npc3.gotoAndStop(1);
}
if (_root.npc4hero == true) {
_root.npc4hero = false;
_root.npc4._x = _root.hero._x;
_root.npc4._y = _root.hero._y;
_root.npc4.gotoAndStop(1);
}
if (_root.npc5hero == true) {
_root.npc5hero = false;
_root.npc5._x = _root.hero._x;
_root.npc5._y = _root.hero._y;
_root.npc5.gotoAndStop(1);
}
if (_root.npc6hero == true) {
_root.npc6hero = false;
_root.npc6._x = _root.hero._x;
_root.npc6._y = _root.hero._y;
_root.npc6.gotoAndStop(1);
}
}
frame 3 {
_root.herospeed = 4;
_parent.gotoAndStop(39);
}
}
movieClip 1360 {
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bg1.trampoline.trampolinebox) and _root.velocity > 0 and _root.herofacingright == true and _root.pause == false) {
_root.bg1.trampoline.gotoAndStop(2);
_root.trampoline = true;
_root.hero.gotoAndStop(34);
} else {
if (this.hitTest(_root.bg2.trampoline.trampolinebox) and _root.velocity > 0 and _root.herofacingright == true and _root.pause == false) {
_root.bg2.trampoline.gotoAndStop(2);
_root.trampoline = true;
_root.hero.gotoAndStop(34);
} else {
if (this.hitTest(_root.bg1.trampoline.trampolinebox) and _root.velocity > 0 and _root.herofacingright == false and _root.pause == false) {
_root.bg1.trampoline.gotoAndStop(2);
_root.trampoline = true;
_root.hero.gotoAndStop(35);
} else {
if (this.hitTest(_root.bg2.trampoline.trampolinebox) and _root.velocity > 0 and _root.herofacingright == false and _root.pause == false) {
_root.bg2.trampoline.gotoAndStop(2);
_root.trampoline = true;
_root.hero.gotoAndStop(35);
}
}
}
}
}
}
}
movieClip 1366 {
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.bg1.trampoline.trampolinebox) and _root.velocity > 0 and _root.herofacingright == true and _root.pause == false) {
_root.bg1.trampoline.gotoAndStop(2);
_root.trampoline = true;
_root.hero.gotoAndStop(34);
} else {
if (this.hitTest(_root.bg2.trampoline.trampolinebox) and _root.velocity > 0 and _root.herofacingright == true and _root.pause == false) {
_root.bg2.trampoline.gotoAndStop(2);
_root.trampoline = true;
_root.hero.gotoAndStop(34);
} else {
if (this.hitTest(_root.bg1.trampoline.trampolinebox) and _root.velocity > 0 and _root.herofacingright == false and _root.pause == false) {
_root.bg1.trampoline.gotoAndStop(2);
_root.trampoline = true;
_root.hero.gotoAndStop(35);
} else {
if (this.hitTest(_root.bg2.trampoline.trampolinebox) and _root.velocity > 0 and _root.herofacingright == false and _root.pause == false) {
_root.bg2.trampoline.gotoAndStop(2);
_root.trampoline = true;
_root.hero.gotoAndStop(35);
}
}
}
}
}
}
}
movieClip 1370 {
frame 4 {
_root.anskiboxcarry = false;
_root.npc2._x = _root.hero._x;
_root.npc2._x += 60;
_root.npc2._y = _root.hero._y;
_root.npc2._y -= 80;
_root.npc2.gotoAndStop(1);
}
frame 5 {
if (_root.anskiturn == true) {
_root.herospeed = 4;
_root.herospeed2 = 4;
_parent.gotoAndStop(1);
} else {
if (_root.anskiturn == false) {
_root.herospeed = 4;
_root.herospeed2 = 4;
_parent.gotoAndStop(9);
}
}
}
}
movieClip 1375 {
frame 4 {
_root.anskiboxcarry = false;
_root.npc2._x = _root.hero._x;
_root.npc2._x -= 60;
_root.npc2._y = _root.hero._y;
_root.npc2._y -= 80;
_root.npc2.gotoAndStop(1);
}
frame 5 {
if (_root.anskiturn == true) {
_root.herospeed = 4;
_root.herospeed2 = 4;
_parent.gotoAndStop(2);
} else {
if (_root.anskiturn == false) {
_root.herospeed = 4;
_root.herospeed2 = 4;
_parent.gotoAndStop(10);
}
}
}
}
movieClip 1381 {
}
movieClip 1401 {
instance flamebox of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.pause == false) {
_root.hero2.gotoAndStop(44);
}
}
}
frame 22 {
_parent.gotoAndStop(1);
}
}
movieClip 1410 {
instance flamebox of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.pause == false) {
_root.hero2.gotoAndStop(44);
}
}
}
frame 22 {
_parent.gotoAndStop(2);
}
}
movieClip 1446 {
frame 1 {
if (_root.blipturn == true) {
_root.hero.swapDepths(_root.hero2);
_root.herospeed = 4;
_root.anskiturn = true;
_root.blipturn = false;
}
if (_root.anskiboxcarry == true) {
_root.anskiboxcarry = false;
_root.npc2._x = _root.hero._x;
_root.npc2._x += 70;
_root.npc2._y = _root.hero._y;
_root.npc2._y -= 80;
_root.npc2.gotoAndStop(1);
}
if (_root.npc3hero == true) {
_root.npc3hero = false;
_root.npc3._x = _root.hero._x;
_root.npc3._y = _root.hero._y;
_root.npc3.gotoAndStop(1);
}
if (_root.npc4hero == true) {
_root.npc4hero = false;
_root.npc4._x = _root.hero._x;
_root.npc4._y = _root.hero._y;
_root.npc4.gotoAndStop(1);
}
if (_root.npc5hero == true) {
_root.npc5hero = false;
_root.npc5._x = _root.hero._x;
_root.npc5._y = _root.hero._y;
_root.npc5.gotoAndStop(1);
}
if (_root.npc6hero == true) {
_root.npc6hero = false;
_root.npc6._x = _root.hero._x;
_root.npc6._y = _root.hero._y;
_root.npc6.gotoAndStop(1);
}
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(14);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == true) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(13);
}
}
}
frame 26 {
_root.anskifire = true;
}
frame 38 {
_parent.gotoAndStop(17);
}
}
movieClip 1471 {
frame 1 {
if (_root.blipturn == true) {
_root.hero.swapDepths(_root.hero2);
_root.herospeed = 4;
_root.anskiturn = true;
_root.blipturn = false;
}
if (_root.anskiboxcarry == true) {
_root.anskiboxcarry = false;
_root.npc2._x = _root.hero._x;
_root.npc2._x -= 70;
_root.npc2._y = _root.hero._y;
_root.npc2._y -= 80;
_root.npc2.gotoAndStop(1);
}
if (_root.npc3hero == true) {
_root.npc3hero = false;
_root.npc3._x = _root.hero._x;
_root.npc3._y = _root.hero._y;
_root.npc3.gotoAndStop(1);
}
if (_root.npc4hero == true) {
_root.npc4hero = false;
_root.npc4._x = _root.hero._x;
_root.npc4._y = _root.hero._y;
_root.npc4.gotoAndStop(1);
}
if (_root.npc5hero == true) {
_root.npc5hero = false;
_root.npc5._x = _root.hero._x;
_root.npc5._y = _root.hero._y;
_root.npc5.gotoAndStop(1);
}
if (_root.npc6hero == true) {
_root.npc6hero = false;
_root.npc6._x = _root.hero._x;
_root.npc6._y = _root.hero._y;
_root.npc6.gotoAndStop(1);
}
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(14);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == true) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(13);
}
}
}
frame 26 {
_root.anskifire = true;
}
frame 38 {
_parent.gotoAndStop(18);
}
}
movieClip 1472 {
frame 1 {
if (_root.anskiboxcarry == true and _root.hero._x < _root.hero2._x) {
_root.anskiboxcarry = false;
_root.npc2._x = _root.hero._x;
_root.npc2._x -= 70;
_root.npc2._y = _root.hero._y;
_root.npc2._y -= 80;
_root.npc2.gotoAndStop(1);
} else {
if (_root.anskiboxcarry == true and _root.hero._x >= _root.hero2._x) {
_root.anskiboxcarry = false;
_root.npc2._x = _root.hero._x;
_root.npc2._x += 70;
_root.npc2._y = _root.hero._y;
_root.npc2._y -= 80;
_root.npc2.gotoAndStop(1);
}
}
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(8);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == true) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(7);
}
}
}
frame 16 {
if (_root.hero._x < _root.hero2._x and _root.anskiturn == false) {
_root.herospeed = 4;
_parent.gotoAndStop(9);
} else {
if (_root.hero._x >= _root.hero2._x and _root.anskiturn == false) {
_root.herospeed = 4;
_parent.gotoAndStop(10);
} else {
if (_root.hero._x < _root.hero2._x and _root.anskiturn == true) {
_root.herospeed = 4;
_parent.gotoAndStop(1);
} else {
if (_root.hero._x >= _root.hero2._x and _root.anskiturn == true) {
_root.herospeed = 4;
_parent.gotoAndStop(2);
}
}
}
}
}
}
movieClip 1475 {
}
movieClip 1487 {
frame 1 {
if (_root.anskiboxcarry == true and _root.hero._x > _root.hero2._x) {
_root.anskiboxcarry = false;
_root.npc2._x = _root.hero._x;
_root.npc2._x -= 70;
_root.npc2._y = _root.hero._y;
_root.npc2._y -= 80;
_root.npc2.gotoAndStop(1);
}
if (_root.anskiboxcarry == true and _root.hero._x < _root.hero2._x) {
_root.anskiboxcarry = false;
_root.npc2._x = _root.hero._x;
_root.npc2._x += 70;
_root.npc2._y = _root.hero._y;
_root.npc2._y -= 80;
_root.npc2.gotoAndStop(1);
}
}
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(14);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == true) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(13);
}
}
}
}
movieClip 1494 {
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(14);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == true) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(13);
}
}
}
frame 5 {
_parent.gotoAndStop(1);
}
}
movieClip 1496 {
instance hitbox of movieClip 361 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == false) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(14);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity > 0 and _root.pause == false and _root.herofacingright == true) {
_root.hero2.gotoAndStop(16);
_root.velocity = 0;
_root.hero.gotoAndPlay(13);
}
}
}
frame 5 {
_parent.gotoAndStop(2);
}
}
movieClip 1583 {
frame 1 {
stopAllSounds();
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(10);
_root.npc3.gotoAndStop(3);
}
frame 3 {
_root.npc4.gotoAndStop(3);
}
frame 5 {
_root.hero2.gotoAndStop(51);
_root.npc5.gotoAndStop(3);
}
frame 7 {
_root.npc6.gotoAndStop(3);
}
frame 9 {
_root.npc3.gotoAndStop(3);
}
frame 11 {
_root.npc4.gotoAndStop(3);
}
frame 13 {
_root.npc5.gotoAndStop(3);
}
frame 15 {
_root.npc6.gotoAndStop(3);
}
frame 17 {
_root.npc3.gotoAndStop(3);
}
frame 19 {
_root.npc4.gotoAndStop(3);
}
frame 21 {
_root.npc5.gotoAndStop(3);
}
frame 23 {
_root.npc6.gotoAndStop(3);
}
frame 25 {
_root.npc3.gotoAndStop(3);
}
frame 27 {
_root.npc4.gotoAndStop(3);
}
frame 29 {
_root.npc5.gotoAndStop(3);
}
frame 31 {
_root.npc6.gotoAndStop(3);
}
frame 33 {
_root.npc3.gotoAndStop(3);
}
frame 35 {
_root.npc4.gotoAndStop(3);
}
frame 37 {
_root.npc5.gotoAndStop(3);
}
frame 39 {
_root.npc6.gotoAndStop(3);
}
frame 41 {
_root.npc3.gotoAndStop(3);
}
frame 43 {
_root.npc4.gotoAndStop(3);
}
frame 45 {
_root.npc5.gotoAndStop(3);
}
frame 47 {
_root.npc6.gotoAndStop(3);
}
frame 49 {
_root.npc3.gotoAndStop(3);
}
frame 51 {
_root.npc4.gotoAndStop(3);
}
frame 53 {
_root.npc5.gotoAndStop(3);
}
frame 55 {
_root.npc6.gotoAndStop(3);
}
frame 57 {
_root.npc3.gotoAndStop(3);
}
frame 59 {
_root.npc4.gotoAndStop(3);
}
frame 61 {
_root.npc5.gotoAndStop(3);
}
frame 63 {
_root.npc6.gotoAndStop(3);
}
frame 65 {
_root.npc3.gotoAndStop(3);
}
frame 67 {
_root.npc4.gotoAndStop(3);
}
frame 69 {
_root.npc5.gotoAndStop(3);
}
frame 71 {
_root.npc6.gotoAndStop(3);
}
frame 73 {
_root.npc3.gotoAndStop(3);
}
frame 75 {
_root.npc4.gotoAndStop(3);
}
frame 77 {
_root.npc5.gotoAndStop(3);
}
frame 79 {
_root.npc6.gotoAndStop(3);
}
frame 81 {
_root.npc3.gotoAndStop(3);
}
frame 83 {
_root.npc4.gotoAndStop(3);
}
frame 85 {
_root.npc5.gotoAndStop(3);
}
frame 87 {
_root.npc6.gotoAndStop(3);
}
frame 89 {
_root.npc3.gotoAndStop(3);
}
frame 91 {
_root.npc4.gotoAndStop(3);
}
frame 93 {
_root.npc5.gotoAndStop(3);
}
frame 95 {
_root.npc6.gotoAndStop(3);
}
frame 97 {
_root.npc3.gotoAndStop(3);
}
frame 99 {
_root.npc4.gotoAndStop(3);
}
frame 101 {
_root.npc5.gotoAndStop(3);
}
frame 103 {
_root.npc6.gotoAndStop(3);
}
frame 105 {
_root.npc3.gotoAndStop(3);
}
frame 107 {
_root.npc4.gotoAndStop(3);
}
frame 109 {
_root.npc5.gotoAndStop(3);
}
frame 111 {
_root.npc6.gotoAndStop(3);
}
frame 113 {
_root.npc3.gotoAndStop(3);
}
frame 115 {
_root.npc4.gotoAndStop(3);
}
frame 117 {
_root.npc5.gotoAndStop(3);
}
frame 119 {
_root.npc6.gotoAndStop(3);
}
frame 121 {
_root.npc6.gotoAndStop(3);
}
frame 123 {
if (_root.gamecompleted == true) {
_root.gamecompleted = false;
_root.level = 20;
_root.tutorialtext = 107;
_root.mainframe.fade.play();
} else {
_root.level = 0.2;
_root.mainframe.fade.play();
}
}
}
movieClip 1584 {
frame 1 {
stop();
_root.herofacingright = true;
_root.herospeed = 4;
}
instance body of movieClip 977 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false) {
_parent.gotoAndStop(5);
} else {
if (Key.isDown(37) and _root.pause == false) {
_parent.gotoAndStop(3);
} else {
if (Key.isDown(38) and _root.pause == false) {
_parent.gotoAndStop(7);
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(3);
_root.hero2.gotoAndStop(15);
_root.hero.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.rawrallowed == true and _root.pause == false) {
_root.rawrallowed = false;
_root.hero.gotoAndStop(17);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.rawrallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.velocity > 1 and _root.pause == false) {
_parent.gotoAndStop(32);
}
}
}
frame 2 {
stop();
_root.herofacingright = false;
_root.herospeed = 4;
}
instance body of movieClip 977 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false) {
_parent.gotoAndStop(4);
} else {
if (Key.isDown(37) and _root.pause == false) {
_parent.gotoAndStop(6);
} else {
if (Key.isDown(38) and _root.pause == false) {
_parent.gotoAndStop(8);
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(3);
_root.hero2.gotoAndStop(15);
_root.hero.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.rawrallowed == true and _root.pause == false) {
_root.rawrallowed = false;
_root.hero.gotoAndStop(18);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.rawrallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.velocity > 1 and _root.pause == false) {
_parent.gotoAndStop(33);
}
}
}
frame 3 {
stop();
}
instance body of movieClip 983 {
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(3);
_root.hero2.gotoAndStop(15);
_root.hero.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.rawrallowed == true and _root.pause == false) {
_root.rawrallowed = false;
_root.hero.gotoAndStop(18);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.rawrallowed = true;
}
}
}
frame 4 {
stop();
}
instance body of movieClip 985 {
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(3);
_root.hero2.gotoAndStop(15);
_root.hero.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.rawrallowed == true and _root.pause == false) {
_root.rawrallowed = false;
_root.hero.gotoAndStop(17);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.rawrallowed = true;
}
}
}
frame 5 {
stop();
_root.herofacingright = true;
}
instance body of movieClip 1009 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.momentum < 8) {
_root.momentum += 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(3);
_root.hero2.gotoAndStop(15);
_root.hero.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.rawrallowed == true and _root.pause == false) {
_root.rawrallowed = false;
_root.hero.gotoAndStop(17);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.rawrallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and Key.isDown(37) == false and _root.pause == false) {
_parent.gotoAndStop(5);
} else {
if (Key.isDown(39) == false and _root.pause == false) {
_parent.gotoAndStop(1);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.pause == false) {
_parent.gotoAndStop(7);
}
}
onClipEvent (enterFrame) {
if (_parent._x < 200 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x += _root.herospeed;
} else {
if (_parent._x > 220 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x -= _root.herospeed;
_root.fb1._x -= _root.herospeed;
_root.fb2._x -= _root.herospeed;
_root.bg1._x -= _root.herospeed * 2;
_root.bg2._x -= _root.herospeed * 2;
_root.fg1._x -= _root.herospeed * 2;
_root.fg2._x -= _root.herospeed * 2;
_root.hero2._x -= _root.herospeed * 2;
_root.enemy1._x -= _root.herospeed * 2;
_root.enemy2._x -= _root.herospeed * 2;
_root.enemy3._x -= _root.herospeed * 2;
_root.enemy4._x -= _root.herospeed * 2;
_root.enemy5._x -= _root.herospeed * 2;
_root.enemy6._x -= _root.herospeed * 2;
_root.enemy7._x -= _root.herospeed * 2;
_root.enemy8._x -= _root.herospeed * 2;
_root.npc1._x -= _root.herospeed * 2;
_root.npc2._x -= _root.herospeed * 2;
_root.npc3._x -= _root.herospeed * 2;
_root.npc4._x -= _root.herospeed * 2;
_root.npc5._x -= _root.herospeed * 2;
_root.npc6._x -= _root.herospeed * 2;
_root.npc7._x -= _root.herospeed * 2;
_root.npc8._x -= _root.herospeed * 2;
} else {
if (_parent._x >= 200 and _parent._x <= 220 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.fb1._x -= _root.herospeed / 2;
_root.fb2._x -= _root.herospeed / 2;
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed;
_root.fg2._x -= _root.herospeed;
_root.hero2._x -= _root.herospeed;
_root.enemy1._x -= _root.herospeed;
_root.enemy2._x -= _root.herospeed;
_root.enemy3._x -= _root.herospeed;
_root.enemy4._x -= _root.herospeed;
_root.enemy5._x -= _root.herospeed;
_root.enemy6._x -= _root.herospeed;
_root.enemy7._x -= _root.herospeed;
_root.enemy8._x -= _root.herospeed;
_root.npc1._x -= _root.herospeed;
_root.npc2._x -= _root.herospeed;
_root.npc3._x -= _root.herospeed;
_root.npc4._x -= _root.herospeed;
_root.npc5._x -= _root.herospeed;
_root.npc6._x -= _root.herospeed;
_root.npc7._x -= _root.herospeed;
_root.npc8._x -= _root.herospeed;
}
}
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.velocity > 1 and _root.pause == false) {
_parent.gotoAndStop(32);
}
}
}
frame 6 {
stop();
_root.herofacingright = false;
}
instance body of movieClip 1009 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.momentum > -8) {
_root.momentum -= 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(3);
_root.hero2.gotoAndStop(15);
_root.hero.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.rawrallowed == true and _root.pause == false) {
_root.rawrallowed = false;
_root.hero.gotoAndStop(18);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.rawrallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and Key.isDown(39) == false and _root.pause == false) {
_parent.gotoAndStop(6);
} else {
if (Key.isDown(37) == false and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.pause == false) {
_parent.gotoAndStop(8);
}
}
onClipEvent (enterFrame) {
if (_parent._x > 515 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x -= _root.herospeed;
} else {
if (_parent._x < 495 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x += _root.herospeed;
_root.fb1._x += _root.herospeed;
_root.fb2._x += _root.herospeed;
_root.bg1._x += _root.herospeed * 2;
_root.bg2._x += _root.herospeed * 2;
_root.fg1._x += _root.herospeed * 2;
_root.fg2._x += _root.herospeed * 2;
_root.hero2._x += _root.herospeed * 2;
_root.enemy1._x += _root.herospeed * 2;
_root.enemy2._x += _root.herospeed * 2;
_root.enemy3._x += _root.herospeed * 2;
_root.enemy4._x += _root.herospeed * 2;
_root.enemy5._x += _root.herospeed * 2;
_root.enemy6._x += _root.herospeed * 2;
_root.enemy7._x += _root.herospeed * 2;
_root.enemy8._x += _root.herospeed * 2;
_root.npc1._x += _root.herospeed * 2;
_root.npc2._x += _root.herospeed * 2;
_root.npc3._x += _root.herospeed * 2;
_root.npc4._x += _root.herospeed * 2;
_root.npc5._x += _root.herospeed * 2;
_root.npc6._x += _root.herospeed * 2;
_root.npc7._x += _root.herospeed * 2;
_root.npc8._x += _root.herospeed * 2;
} else {
if (_parent._x >= 495 and _parent._x <= 515 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.fb1._x += _root.herospeed / 2;
_root.fb2._x += _root.herospeed / 2;
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed;
_root.fg2._x += _root.herospeed;
_root.hero2._x += _root.herospeed;
_root.enemy1._x += _root.herospeed;
_root.enemy2._x += _root.herospeed;
_root.enemy3._x += _root.herospeed;
_root.enemy4._x += _root.herospeed;
_root.enemy5._x += _root.herospeed;
_root.enemy6._x += _root.herospeed;
_root.enemy7._x += _root.herospeed;
_root.enemy8._x += _root.herospeed;
_root.npc1._x += _root.herospeed;
_root.npc2._x += _root.herospeed;
_root.npc3._x += _root.herospeed;
_root.npc4._x += _root.herospeed;
_root.npc5._x += _root.herospeed;
_root.npc6._x += _root.herospeed;
_root.npc7._x += _root.herospeed;
_root.npc8._x += _root.herospeed;
}
}
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.velocity > 1 and _root.pause == false) {
_parent.gotoAndStop(33);
}
}
}
frame 7 {
stop();
}
instance body2 of movieClip 1027 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.momentum < 8) {
_root.momentum += 1;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(3);
_root.hero2.gotoAndStop(15);
_root.hero.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.rawrallowed == true and _root.pause == false) {
_root.rawrallowed = false;
_root.hero.gotoAndStop(17);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.rawrallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root._y -= 2;
_root.mainframe._y += 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _parent._x < 200 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x += _root.herospeed;
} else {
if (Key.isDown(39) and _parent._x > 220 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x -= _root.herospeed;
_root.fb1._x -= _root.herospeed;
_root.fb2._x -= _root.herospeed;
_root.bg1._x -= _root.herospeed * 2;
_root.bg2._x -= _root.herospeed * 2;
_root.fg1._x -= _root.herospeed * 2;
_root.fg2._x -= _root.herospeed * 2;
_root.hero2._x -= _root.herospeed * 2;
_root.enemy1._x -= _root.herospeed * 2;
_root.enemy2._x -= _root.herospeed * 2;
_root.enemy3._x -= _root.herospeed * 2;
_root.enemy4._x -= _root.herospeed * 2;
_root.enemy5._x -= _root.herospeed * 2;
_root.enemy6._x -= _root.herospeed * 2;
_root.enemy7._x -= _root.herospeed * 2;
_root.enemy8._x -= _root.herospeed * 2;
_root.npc1._x -= _root.herospeed * 2;
_root.npc2._x -= _root.herospeed * 2;
_root.npc3._x -= _root.herospeed * 2;
_root.npc4._x -= _root.herospeed * 2;
_root.npc5._x -= _root.herospeed * 2;
_root.npc6._x -= _root.herospeed * 2;
_root.npc7._x -= _root.herospeed * 2;
_root.npc8._x -= _root.herospeed * 2;
} else {
if (Key.isDown(39) and _parent._x >= 200 and _parent._x <= 220 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.fb1._x -= _root.herospeed / 2;
_root.fb2._x -= _root.herospeed / 2;
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed;
_root.fg2._x -= _root.herospeed;
_root.hero2._x -= _root.herospeed;
_root.enemy1._x -= _root.herospeed;
_root.enemy2._x -= _root.herospeed;
_root.enemy3._x -= _root.herospeed;
_root.enemy4._x -= _root.herospeed;
_root.enemy5._x -= _root.herospeed;
_root.enemy6._x -= _root.herospeed;
_root.enemy7._x -= _root.herospeed;
_root.enemy8._x -= _root.herospeed;
_root.npc1._x -= _root.herospeed;
_root.npc2._x -= _root.herospeed;
_root.npc3._x -= _root.herospeed;
_root.npc4._x -= _root.herospeed;
_root.npc5._x -= _root.herospeed;
_root.npc6._x -= _root.herospeed;
_root.npc7._x -= _root.herospeed;
_root.npc8._x -= _root.herospeed;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.fb1._x += _root.herospeed / 2;
_root.fb2._x += _root.herospeed / 2;
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed;
_root.fg2._x += _root.herospeed;
_root.hero2._x += _root.herospeed;
_root.enemy1._x += _root.herospeed;
_root.enemy2._x += _root.herospeed;
_root.enemy3._x += _root.herospeed;
_root.enemy4._x += _root.herospeed;
_root.enemy5._x += _root.herospeed;
_root.enemy6._x += _root.herospeed;
_root.enemy7._x += _root.herospeed;
_root.enemy8._x += _root.herospeed;
_root.npc1._x += _root.herospeed;
_root.npc2._x += _root.herospeed;
_root.npc3._x += _root.herospeed;
_root.npc4._x += _root.herospeed;
_root.npc5._x += _root.herospeed;
_root.npc6._x += _root.herospeed;
_root.npc7._x += _root.herospeed;
_root.npc8._x += _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.velocity > 1 and _root.pause == false) {
_parent.gotoAndStop(32);
}
}
}
frame 8 {
stop();
}
instance body2 of movieClip 1034 {
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.momentum > -8) {
_root.momentum -= 1;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(3);
_root.hero2.gotoAndStop(15);
_root.hero.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.rawrallowed == true and _root.pause == false) {
_root.rawrallowed = false;
_root.hero.gotoAndStop(18);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.rawrallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root._y -= 2;
_root.mainframe._y += 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _parent._x > 515 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x -= _root.herospeed;
} else {
if (Key.isDown(37) and _parent._x < 495 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x += _root.herospeed;
_root.fb1._x += _root.herospeed;
_root.fb2._x += _root.herospeed;
_root.bg1._x += _root.herospeed * 2;
_root.bg2._x += _root.herospeed * 2;
_root.fg1._x += _root.herospeed * 2;
_root.fg2._x += _root.herospeed * 2;
_root.hero2._x += _root.herospeed * 2;
_root.enemy1._x += _root.herospeed * 2;
_root.enemy2._x += _root.herospeed * 2;
_root.enemy3._x += _root.herospeed * 2;
_root.enemy4._x += _root.herospeed * 2;
_root.enemy5._x += _root.herospeed * 2;
_root.enemy6._x += _root.herospeed * 2;
_root.enemy7._x += _root.herospeed * 2;
_root.enemy8._x += _root.herospeed * 2;
_root.npc1._x += _root.herospeed * 2;
_root.npc2._x += _root.herospeed * 2;
_root.npc3._x += _root.herospeed * 2;
_root.npc4._x += _root.herospeed * 2;
_root.npc5._x += _root.herospeed * 2;
_root.npc6._x += _root.herospeed * 2;
_root.npc7._x += _root.herospeed * 2;
_root.npc8._x += _root.herospeed * 2;
} else {
if (Key.isDown(37) and _parent._x >= 495 and _parent._x <= 515 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.fb1._x += _root.herospeed / 2;
_root.fb2._x += _root.herospeed / 2;
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed;
_root.fg2._x += _root.herospeed;
_root.hero2._x += _root.herospeed;
_root.enemy1._x += _root.herospeed;
_root.enemy2._x += _root.herospeed;
_root.enemy3._x += _root.herospeed;
_root.enemy4._x += _root.herospeed;
_root.enemy5._x += _root.herospeed;
_root.enemy6._x += _root.herospeed;
_root.enemy7._x += _root.herospeed;
_root.enemy8._x += _root.herospeed;
_root.npc1._x += _root.herospeed;
_root.npc2._x += _root.herospeed;
_root.npc3._x += _root.herospeed;
_root.npc4._x += _root.herospeed;
_root.npc5._x += _root.herospeed;
_root.npc6._x += _root.herospeed;
_root.npc7._x += _root.herospeed;
_root.npc8._x += _root.herospeed;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.fb1._x -= _root.herospeed / 2;
_root.fb2._x -= _root.herospeed / 2;
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed;
_root.fg2._x -= _root.herospeed;
_root.hero2._x -= _root.herospeed;
_root.enemy1._x -= _root.herospeed;
_root.enemy2._x -= _root.herospeed;
_root.enemy3._x -= _root.herospeed;
_root.enemy4._x -= _root.herospeed;
_root.enemy5._x -= _root.herospeed;
_root.enemy6._x -= _root.herospeed;
_root.enemy7._x -= _root.herospeed;
_root.enemy8._x -= _root.herospeed;
_root.npc1._x -= _root.herospeed;
_root.npc2._x -= _root.herospeed;
_root.npc3._x -= _root.herospeed;
_root.npc4._x -= _root.herospeed;
_root.npc5._x -= _root.herospeed;
_root.npc6._x -= _root.herospeed;
_root.npc7._x -= _root.herospeed;
_root.npc8._x -= _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.velocity > 1 and _root.pause == false) {
_parent.gotoAndStop(33);
}
}
}
frame 9 {
stop();
}
instance body of movieClip 977 {
onClipEvent (enterFrame) {
if (_root.heroxdistance > 50 and _root.pause == false) {
_parent.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (_root.heroxdistance < -100 and _root.pause == false) {
_parent.gotoAndStop(11);
}
}
}
frame 10 {
stop();
}
instance body of movieClip 977 {
onClipEvent (enterFrame) {
if (_root.heroxdistance < -50 and _root.pause == false) {
_parent.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (_root.heroxdistance > 100 and _root.pause == false) {
_parent.gotoAndStop(12);
}
}
}
frame 11 {
stop();
}
instance body of movieClip 1009 {
onClipEvent (enterFrame) {
if (_root.rightallowed == false or _root.rightallowedd == false) {
_parent.gotoAndStop(19);
}
}
onClipEvent (enterFrame) {
if (_root.heroxdistance > -75 and _root.pause == false) {
_parent.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x += _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (_root.herospeed < 12 and _root.heroxdistance < -120 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.herospeed += 1;
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.velocity > 1 and _root.pause == false) {
_parent.gotoAndStop(32);
}
}
}
frame 12 {
stop();
}
instance body of movieClip 1009 {
onClipEvent (enterFrame) {
if (_root.leftallowed == false or _root.leftallowedd == false) {
_parent.gotoAndStop(20);
}
}
onClipEvent (enterFrame) {
if (_root.heroxdistance < 75 and _root.pause == false) {
_parent.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x -= _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (_root.herospeed < 12 and _root.heroxdistance > 120 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.herospeed += 1;
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.velocity > 1 and _root.pause == false) {
_parent.gotoAndStop(33);
}
}
}
frame 13 {
stop();
}
instance body2 of movieClip 1060 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.momentum < 8 and _root.anskiturn == true) {
_root.momentum += 1;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false and _root.anskiturn == true) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(3);
_root.hero2.gotoAndStop(15);
_root.hero.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.rawrallowed == true and _root.pause == false and _root.anskiturn == true) {
_root.rawrallowed = false;
_root.hero.gotoAndStop(17);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.rawrallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root._y -= 2;
_root.mainframe._y += 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _parent._x < 200 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true and _root.anskiturn == true) {
_parent._x += _root.herospeed;
} else {
if (Key.isDown(39) and _parent._x > 220 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true and _root.anskiturn == true) {
_parent._x -= _root.herospeed;
_root.fb1._x -= _root.herospeed;
_root.fb2._x -= _root.herospeed;
_root.bg1._x -= _root.herospeed * 2;
_root.bg2._x -= _root.herospeed * 2;
_root.fg1._x -= _root.herospeed * 2;
_root.fg2._x -= _root.herospeed * 2;
_root.hero2._x -= _root.herospeed * 2;
_root.enemy1._x -= _root.herospeed * 2;
_root.enemy2._x -= _root.herospeed * 2;
_root.enemy3._x -= _root.herospeed * 2;
_root.enemy4._x -= _root.herospeed * 2;
_root.enemy5._x -= _root.herospeed * 2;
_root.enemy6._x -= _root.herospeed * 2;
_root.enemy7._x -= _root.herospeed * 2;
_root.enemy8._x -= _root.herospeed * 2;
_root.npc1._x -= _root.herospeed * 2;
_root.npc2._x -= _root.herospeed * 2;
_root.npc3._x -= _root.herospeed * 2;
_root.npc4._x -= _root.herospeed * 2;
_root.npc5._x -= _root.herospeed * 2;
_root.npc6._x -= _root.herospeed * 2;
_root.npc7._x -= _root.herospeed * 2;
_root.npc8._x -= _root.herospeed * 2;
} else {
if (Key.isDown(39) and _parent._x >= 200 and _parent._x <= 220 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true and _root.anskiturn == true) {
_root.fb1._x -= _root.herospeed / 2;
_root.fb2._x -= _root.herospeed / 2;
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed;
_root.fg2._x -= _root.herospeed;
_root.hero2._x -= _root.herospeed;
_root.enemy1._x -= _root.herospeed;
_root.enemy2._x -= _root.herospeed;
_root.enemy3._x -= _root.herospeed;
_root.enemy4._x -= _root.herospeed;
_root.enemy5._x -= _root.herospeed;
_root.enemy6._x -= _root.herospeed;
_root.enemy7._x -= _root.herospeed;
_root.enemy8._x -= _root.herospeed;
_root.npc1._x -= _root.herospeed;
_root.npc2._x -= _root.herospeed;
_root.npc3._x -= _root.herospeed;
_root.npc4._x -= _root.herospeed;
_root.npc5._x -= _root.herospeed;
_root.npc6._x -= _root.herospeed;
_root.npc7._x -= _root.herospeed;
_root.npc8._x -= _root.herospeed;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true and _root.anskiturn == true) {
_root.fb1._x += _root.herospeed / 2;
_root.fb2._x += _root.herospeed / 2;
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed;
_root.fg2._x += _root.herospeed;
_root.hero2._x += _root.herospeed;
_root.enemy1._x += _root.herospeed;
_root.enemy2._x += _root.herospeed;
_root.enemy3._x += _root.herospeed;
_root.enemy4._x += _root.herospeed;
_root.enemy5._x += _root.herospeed;
_root.enemy6._x += _root.herospeed;
_root.enemy7._x += _root.herospeed;
_root.enemy8._x += _root.herospeed;
_root.npc1._x += _root.herospeed;
_root.npc2._x += _root.herospeed;
_root.npc3._x += _root.herospeed;
_root.npc4._x += _root.herospeed;
_root.npc5._x += _root.herospeed;
_root.npc6._x += _root.herospeed;
_root.npc7._x += _root.herospeed;
_root.npc8._x += _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.velocity > 1 and _root.pause == false) {
_parent.gotoAndStop(32);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.leftallowed == true and _root.leftallowedd == true and _root.heroxdistance > 50 and _root.anskiturn == false) {
_parent._x -= _root.herospeed;
} else {
if (_root.pause == false and _root.rightallowed == true and _root.rightallowedd == true and _root.heroxdistance < -50 and _root.anskiturn == false) {
_parent._x += _root.herospeed;
}
}
}
}
frame 14 {
stop();
}
instance body2 of movieClip 1072 {
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.momentum > -8 and _root.anskiturn == true) {
_root.momentum -= 1;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false and _root.anskiturn == true) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(3);
_root.hero2.gotoAndStop(15);
_root.hero.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.rawrallowed == true and _root.pause == false and _root.anskiturn == true) {
_root.rawrallowed = false;
_root.hero.gotoAndStop(18);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.rawrallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root._y -= 2;
_root.mainframe._y += 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _parent._x > 515 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true and _root.anskiturn == true) {
_parent._x -= _root.herospeed;
} else {
if (Key.isDown(37) and _parent._x < 495 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true and _root.anskiturn == true) {
_parent._x += _root.herospeed;
_root.fb1._x += _root.herospeed;
_root.fb2._x += _root.herospeed;
_root.bg1._x += _root.herospeed * 2;
_root.bg2._x += _root.herospeed * 2;
_root.fg1._x += _root.herospeed * 2;
_root.fg2._x += _root.herospeed * 2;
_root.hero2._x += _root.herospeed * 2;
_root.enemy1._x += _root.herospeed * 2;
_root.enemy2._x += _root.herospeed * 2;
_root.enemy3._x += _root.herospeed * 2;
_root.enemy4._x += _root.herospeed * 2;
_root.enemy5._x += _root.herospeed * 2;
_root.enemy6._x += _root.herospeed * 2;
_root.enemy7._x += _root.herospeed * 2;
_root.enemy8._x += _root.herospeed * 2;
_root.npc1._x += _root.herospeed * 2;
_root.npc2._x += _root.herospeed * 2;
_root.npc3._x += _root.herospeed * 2;
_root.npc4._x += _root.herospeed * 2;
_root.npc5._x += _root.herospeed * 2;
_root.npc6._x += _root.herospeed * 2;
_root.npc7._x += _root.herospeed * 2;
_root.npc8._x += _root.herospeed * 2;
} else {
if (Key.isDown(37) and _parent._x >= 495 and _parent._x <= 515 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true and _root.anskiturn == true) {
_root.fb1._x += _root.herospeed / 2;
_root.fb2._x += _root.herospeed / 2;
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed;
_root.fg2._x += _root.herospeed;
_root.hero2._x += _root.herospeed;
_root.enemy1._x += _root.herospeed;
_root.enemy2._x += _root.herospeed;
_root.enemy3._x += _root.herospeed;
_root.enemy4._x += _root.herospeed;
_root.enemy5._x += _root.herospeed;
_root.enemy6._x += _root.herospeed;
_root.enemy7._x += _root.herospeed;
_root.enemy8._x += _root.herospeed;
_root.npc1._x += _root.herospeed;
_root.npc2._x += _root.herospeed;
_root.npc3._x += _root.herospeed;
_root.npc4._x += _root.herospeed;
_root.npc5._x += _root.herospeed;
_root.npc6._x += _root.herospeed;
_root.npc7._x += _root.herospeed;
_root.npc8._x += _root.herospeed;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true and _root.anskiturn == true) {
_root.fb1._x -= _root.herospeed / 2;
_root.fb2._x -= _root.herospeed / 2;
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed;
_root.fg2._x -= _root.herospeed;
_root.hero2._x -= _root.herospeed;
_root.enemy1._x -= _root.herospeed;
_root.enemy2._x -= _root.herospeed;
_root.enemy3._x -= _root.herospeed;
_root.enemy4._x -= _root.herospeed;
_root.enemy5._x -= _root.herospeed;
_root.enemy6._x -= _root.herospeed;
_root.enemy7._x -= _root.herospeed;
_root.enemy8._x -= _root.herospeed;
_root.npc1._x -= _root.herospeed;
_root.npc2._x -= _root.herospeed;
_root.npc3._x -= _root.herospeed;
_root.npc4._x -= _root.herospeed;
_root.npc5._x -= _root.herospeed;
_root.npc6._x -= _root.herospeed;
_root.npc7._x -= _root.herospeed;
_root.npc8._x -= _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.velocity > 1 and _root.pause == false) {
_parent.gotoAndStop(33);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.leftallowed == true and _root.leftallowedd == true and _root.heroxdistance > 50 and _root.anskiturn == false) {
_parent._x -= _root.herospeed;
} else {
if (_root.pause == false and _root.rightallowed == true and _root.rightallowedd == true and _root.heroxdistance < -50 and _root.anskiturn == false) {
_parent._x += _root.herospeed;
}
}
}
}
frame 15 {
stop();
_root.herospeed = 4;
}
instance body of movieClip 1086 {
onClipEvent (enterFrame) {
if (_root.hero._x > _root.hero2._x) {
this._xscale = -100;
}
}
onClipEvent (enterFrame) {
if (_root.hero._x > 400) {
_parent._x -= _root.herospeed * 4;
_root.fb1._x -= _root.herospeed * 2;
_root.fb2._x -= _root.herospeed * 2;
_root.bg1._x -= _root.herospeed * 4;
_root.bg2._x -= _root.herospeed * 4;
_root.fg1._x -= _root.herospeed * 4;
_root.fg2._x -= _root.herospeed * 4;
_root.hero2._x -= _root.herospeed * 4;
_root.enemy1._x -= _root.herospeed * 4;
_root.enemy2._x -= _root.herospeed * 4;
_root.enemy3._x -= _root.herospeed * 4;
_root.enemy4._x -= _root.herospeed * 4;
_root.enemy5._x -= _root.herospeed * 4;
_root.enemy6._x -= _root.herospeed * 4;
_root.enemy7._x -= _root.herospeed * 4;
_root.enemy8._x -= _root.herospeed * 4;
_root.npc1._x -= _root.herospeed * 4;
_root.npc2._x -= _root.herospeed * 4;
_root.npc3._x -= _root.herospeed * 4;
_root.npc4._x -= _root.herospeed * 4;
_root.npc5._x -= _root.herospeed * 4;
_root.npc6._x -= _root.herospeed * 4;
_root.npc7._x -= _root.herospeed * 4;
_root.npc8._x -= _root.herospeed * 4;
}
if (_root.hero._x < 320) {
_parent._x += _root.herospeed * 4;
_root.fb1._x += _root.herospeed * 2;
_root.fb2._x += _root.herospeed * 2;
_root.bg1._x += _root.herospeed * 4;
_root.bg2._x += _root.herospeed * 4;
_root.fg1._x += _root.herospeed * 4;
_root.fg2._x += _root.herospeed * 4;
_root.hero2._x += _root.herospeed * 4;
_root.enemy1._x += _root.herospeed * 4;
_root.enemy2._x += _root.herospeed * 4;
_root.enemy3._x += _root.herospeed * 4;
_root.enemy4._x += _root.herospeed * 4;
_root.enemy5._x += _root.herospeed * 4;
_root.enemy6._x += _root.herospeed * 4;
_root.enemy7._x += _root.herospeed * 4;
_root.enemy8._x += _root.herospeed * 4;
_root.npc1._x += _root.herospeed * 4;
_root.npc2._x += _root.herospeed * 4;
_root.npc3._x += _root.herospeed * 4;
_root.npc4._x += _root.herospeed * 4;
_root.npc5._x += _root.herospeed * 4;
_root.npc6._x += _root.herospeed * 4;
_root.npc7._x += _root.herospeed * 4;
_root.npc8._x += _root.herospeed * 4;
}
}
}
frame 16 {
stop();
}
instance body of movieClip 1096 {
onClipEvent (enterFrame) {
if (_root.hero._x > _root.hero2._x) {
this._xscale = -100;
}
}
}
frame 17 {
stop();
}
frame 18 {
stop();
}
frame 19 {
stop();
}
instance body of movieClip 977 {
onClipEvent (enterFrame) {
if (_root.heroxdistance > 50 and _root.pause == false) {
_parent.gotoAndStop(10);
}
}
}
frame 20 {
stop();
}
instance body of movieClip 977 {
onClipEvent (enterFrame) {
if (_root.heroxdistance < -50 and _root.pause == false) {
_parent.gotoAndStop(9);
}
}
}
frame 21 {
stop();
}
instance body of movieClip 1168 {
onClipEvent (enterFrame) {
if (_root.anskiturn == false and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x -= _root.herospeed / 2;
} else {
if (_root.anskiturn == true and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.fb1._x += _root.herospeed / 4;
_root.fb2._x += _root.herospeed / 4;
_root.bg1._x += _root.herospeed / 2;
_root.bg2._x += _root.herospeed / 2;
_root.fg1._x += _root.herospeed / 2;
_root.fg2._x += _root.herospeed / 2;
_root.hero2._x += _root.herospeed / 2;
_root.enemy1._x += _root.herospeed / 2;
_root.enemy2._x += _root.herospeed / 2;
_root.enemy3._x += _root.herospeed / 2;
_root.enemy4._x += _root.herospeed / 2;
_root.enemy5._x += _root.herospeed / 2;
_root.enemy6._x += _root.herospeed / 2;
_root.enemy7._x += _root.herospeed / 2;
_root.enemy8._x += _root.herospeed / 2;
_root.npc1._x += _root.herospeed / 2;
_root.npc2._x += _root.herospeed / 2;
_root.npc3._x += _root.herospeed / 2;
_root.npc4._x += _root.herospeed / 2;
_root.npc5._x += _root.herospeed / 2;
_root.npc6._x += _root.herospeed / 2;
_root.npc7._x += _root.herospeed / 2;
_root.npc8._x += _root.herospeed / 2;
}
}
}
}
frame 22 {
stop();
}
instance body of movieClip 1183 {
onClipEvent (enterFrame) {
if (_root.anskiturn == false and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x += _root.herospeed / 2;
} else {
if (_root.anskiturn == true and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.fb1._x -= _root.herospeed / 4;
_root.fb2._x -= _root.herospeed / 4;
_root.bg1._x -= _root.herospeed / 2;
_root.bg2._x -= _root.herospeed / 2;
_root.fg1._x -= _root.herospeed / 2;
_root.fg2._x -= _root.herospeed / 2;
_root.hero2._x -= _root.herospeed / 2;
_root.enemy1._x -= _root.herospeed / 2;
_root.enemy2._x -= _root.herospeed / 2;
_root.enemy3._x -= _root.herospeed / 2;
_root.enemy4._x -= _root.herospeed / 2;
_root.enemy5._x -= _root.herospeed / 2;
_root.enemy6._x -= _root.herospeed / 2;
_root.enemy7._x -= _root.herospeed / 2;
_root.enemy8._x -= _root.herospeed / 2;
_root.npc1._x -= _root.herospeed / 2;
_root.npc2._x -= _root.herospeed / 2;
_root.npc3._x -= _root.herospeed / 2;
_root.npc4._x -= _root.herospeed / 2;
_root.npc5._x -= _root.herospeed / 2;
_root.npc6._x -= _root.herospeed / 2;
_root.npc7._x -= _root.herospeed / 2;
_root.npc8._x -= _root.herospeed / 2;
}
}
}
}
frame 23 {
stop();
}
instance body of movieClip 1196 {
onClipEvent (enterFrame) {
if (_root.anskiturn == false and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x -= _root.herospeed / 2;
} else {
if (_root.anskiturn == true and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.fb1._x += _root.herospeed / 4;
_root.fb2._x += _root.herospeed / 4;
_root.bg1._x += _root.herospeed / 2;
_root.bg2._x += _root.herospeed / 2;
_root.fg1._x += _root.herospeed / 2;
_root.fg2._x += _root.herospeed / 2;
_root.hero2._x += _root.herospeed / 2;
_root.enemy1._x += _root.herospeed / 2;
_root.enemy2._x += _root.herospeed / 2;
_root.enemy3._x += _root.herospeed / 2;
_root.enemy4._x += _root.herospeed / 2;
_root.enemy5._x += _root.herospeed / 2;
_root.enemy6._x += _root.herospeed / 2;
_root.enemy7._x += _root.herospeed / 2;
_root.enemy8._x += _root.herospeed / 2;
_root.npc1._x += _root.herospeed / 2;
_root.npc2._x += _root.herospeed / 2;
_root.npc3._x += _root.herospeed / 2;
_root.npc4._x += _root.herospeed / 2;
_root.npc5._x += _root.herospeed / 2;
_root.npc6._x += _root.herospeed / 2;
_root.npc7._x += _root.herospeed / 2;
_root.npc8._x += _root.herospeed / 2;
}
}
}
}
frame 24 {
stop();
}
instance body of movieClip 1206 {
onClipEvent (enterFrame) {
if (_root.anskiturn == false and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x += _root.herospeed / 2;
} else {
if (_root.anskiturn == true and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.fb1._x -= _root.herospeed / 4;
_root.fb2._x -= _root.herospeed / 4;
_root.bg1._x -= _root.herospeed / 2;
_root.bg2._x -= _root.herospeed / 2;
_root.fg1._x -= _root.herospeed / 2;
_root.fg2._x -= _root.herospeed / 2;
_root.hero2._x -= _root.herospeed / 2;
_root.enemy1._x -= _root.herospeed / 2;
_root.enemy2._x -= _root.herospeed / 2;
_root.enemy3._x -= _root.herospeed / 2;
_root.enemy4._x -= _root.herospeed / 2;
_root.enemy5._x -= _root.herospeed / 2;
_root.enemy6._x -= _root.herospeed / 2;
_root.enemy7._x -= _root.herospeed / 2;
_root.enemy8._x -= _root.herospeed / 2;
_root.npc1._x -= _root.herospeed / 2;
_root.npc2._x -= _root.herospeed / 2;
_root.npc3._x -= _root.herospeed / 2;
_root.npc4._x -= _root.herospeed / 2;
_root.npc5._x -= _root.herospeed / 2;
_root.npc6._x -= _root.herospeed / 2;
_root.npc7._x -= _root.herospeed / 2;
_root.npc8._x -= _root.herospeed / 2;
}
}
}
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
instance body of movieClip 1250 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true and _root.anskiturn == true and _root.pause == false) {
_root.spaceallowed = false;
_root.hero.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.hero2._x > 600) {
_root.fb1._x -= _root.herospeed2 / 2;
_root.fb2._x -= _root.herospeed2 / 2;
_root.bg1._x -= _root.herospeed2;
_root.bg2._x -= _root.herospeed2;
_root.fg1._x -= _root.herospeed2;
_root.fg2._x -= _root.herospeed2;
_root.hero._x -= _root.herospeed2;
_root.hero2._x -= _root.herospeed2;
_root.enemy1._x -= _root.herospeed2;
_root.enemy2._x -= _root.herospeed2;
_root.enemy3._x -= _root.herospeed2;
_root.enemy4._x -= _root.herospeed2;
_root.enemy5._x -= _root.herospeed2;
_root.enemy6._x -= _root.herospeed2;
_root.enemy7._x -= _root.herospeed2;
_root.enemy8._x -= _root.herospeed2;
_root.npc1._x -= _root.herospeed2;
_root.npc2._x -= _root.herospeed2;
_root.npc3._x -= _root.herospeed2;
_root.npc4._x -= _root.herospeed2;
_root.npc5._x -= _root.herospeed2;
_root.npc6._x -= _root.herospeed2;
_root.npc7._x -= _root.herospeed2;
_root.npc8._x -= _root.herospeed2;
}
if (_root.hero2._x < 100) {
_root.fb1._x += _root.herospeed2 / 2;
_root.fb2._x += _root.herospeed2 / 2;
_root.bg1._x += _root.herospeed2;
_root.bg2._x += _root.herospeed2;
_root.fg1._x += _root.herospeed2;
_root.fg2._x += _root.herospeed2;
_root.hero._x += _root.herospeed2;
_root.hero2._x += _root.herospeed2;
_root.enemy1._x += _root.herospeed2;
_root.enemy2._x += _root.herospeed2;
_root.enemy3._x += _root.herospeed2;
_root.enemy4._x += _root.herospeed2;
_root.enemy5._x += _root.herospeed2;
_root.enemy6._x += _root.herospeed2;
_root.enemy7._x += _root.herospeed2;
_root.enemy8._x += _root.herospeed2;
_root.npc1._x += _root.herospeed2;
_root.npc2._x += _root.herospeed2;
_root.npc3._x += _root.herospeed2;
_root.npc4._x += _root.herospeed2;
_root.npc5._x += _root.herospeed2;
_root.npc6._x += _root.herospeed2;
_root.npc7._x += _root.herospeed2;
_root.npc8._x += _root.herospeed2;
}
}
}
frame 28 {
stop();
}
instance body of movieClip 1272 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true and _root.anskiturn == true and _root.pause == false) {
_root.spaceallowed = false;
_root.hero.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.hero2._x > 600) {
_root.fb1._x -= _root.herospeed2 / 2;
_root.fb2._x -= _root.herospeed2 / 2;
_root.bg1._x -= _root.herospeed2;
_root.bg2._x -= _root.herospeed2;
_root.fg1._x -= _root.herospeed2;
_root.fg2._x -= _root.herospeed2;
_root.hero._x -= _root.herospeed2;
_root.hero2._x -= _root.herospeed2;
_root.enemy1._x -= _root.herospeed2;
_root.enemy2._x -= _root.herospeed2;
_root.enemy3._x -= _root.herospeed2;
_root.enemy4._x -= _root.herospeed2;
_root.enemy5._x -= _root.herospeed2;
_root.enemy6._x -= _root.herospeed2;
_root.enemy7._x -= _root.herospeed2;
_root.enemy8._x -= _root.herospeed2;
_root.npc1._x -= _root.herospeed2;
_root.npc2._x -= _root.herospeed2;
_root.npc3._x -= _root.herospeed2;
_root.npc4._x -= _root.herospeed2;
_root.npc5._x -= _root.herospeed2;
_root.npc6._x -= _root.herospeed2;
_root.npc7._x -= _root.herospeed2;
_root.npc8._x -= _root.herospeed2;
}
if (_root.hero2._x < 100) {
_root.fb1._x += _root.herospeed2 / 2;
_root.fb2._x += _root.herospeed2 / 2;
_root.bg1._x += _root.herospeed2;
_root.bg2._x += _root.herospeed2;
_root.fg1._x += _root.herospeed2;
_root.fg2._x += _root.herospeed2;
_root.hero._x += _root.herospeed2;
_root.hero2._x += _root.herospeed2;
_root.enemy1._x += _root.herospeed2;
_root.enemy2._x += _root.herospeed2;
_root.enemy3._x += _root.herospeed2;
_root.enemy4._x += _root.herospeed2;
_root.enemy5._x += _root.herospeed2;
_root.enemy6._x += _root.herospeed2;
_root.enemy7._x += _root.herospeed2;
_root.enemy8._x += _root.herospeed2;
_root.npc1._x += _root.herospeed2;
_root.npc2._x += _root.herospeed2;
_root.npc3._x += _root.herospeed2;
_root.npc4._x += _root.herospeed2;
_root.npc5._x += _root.herospeed2;
_root.npc6._x += _root.herospeed2;
_root.npc7._x += _root.herospeed2;
_root.npc8._x += _root.herospeed2;
}
}
}
frame 29 {
stop();
}
instance body of movieClip 1290 {
onClipEvent (enterFrame) {
if (_root.anskiturn == false and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x += _root.herospeed;
} else {
if (_root.anskiturn == true and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.fb1._x -= _root.herospeed / 2;
_root.fb2._x -= _root.herospeed / 2;
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed;
_root.fg2._x -= _root.herospeed;
_root.hero2._x -= _root.herospeed;
_root.enemy1._x -= _root.herospeed;
_root.enemy2._x -= _root.herospeed;
_root.enemy3._x -= _root.herospeed;
_root.enemy4._x -= _root.herospeed;
_root.enemy5._x -= _root.herospeed;
_root.enemy6._x -= _root.herospeed;
_root.enemy7._x -= _root.herospeed;
_root.enemy8._x -= _root.herospeed;
_root.npc1._x -= _root.herospeed;
_root.npc2._x -= _root.herospeed;
_root.npc3._x -= _root.herospeed;
_root.npc4._x -= _root.herospeed;
_root.npc5._x -= _root.herospeed;
_root.npc6._x -= _root.herospeed;
_root.npc7._x -= _root.herospeed;
_root.npc8._x -= _root.herospeed;
}
}
}
}
frame 30 {
stop();
}
instance body of movieClip 1292 {
onClipEvent (enterFrame) {
if (_root.anskiturn == false and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x -= _root.herospeed;
} else {
if (_root.anskiturn == true and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.fb1._x += _root.herospeed / 2;
_root.fb2._x += _root.herospeed / 2;
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed;
_root.fg2._x += _root.herospeed;
_root.hero2._x += _root.herospeed;
_root.enemy1._x += _root.herospeed;
_root.enemy2._x += _root.herospeed;
_root.enemy3._x += _root.herospeed;
_root.enemy4._x += _root.herospeed;
_root.enemy5._x += _root.herospeed;
_root.enemy6._x += _root.herospeed;
_root.enemy7._x += _root.herospeed;
_root.enemy8._x += _root.herospeed;
_root.npc1._x += _root.herospeed;
_root.npc2._x += _root.herospeed;
_root.npc3._x += _root.herospeed;
_root.npc4._x += _root.herospeed;
_root.npc5._x += _root.herospeed;
_root.npc6._x += _root.herospeed;
_root.npc7._x += _root.herospeed;
_root.npc8._x += _root.herospeed;
}
}
}
}
frame 31 {
stop();
}
instance body of movieClip 1299 {
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true and _root.anskiturn == true and _root.hero._x <= _root.hero2._x and _root.pause == false) {
_root.spaceallowed = false;
_root.hero.gotoAndStop(1);
} else {
if (Key.isDown(32) and _root.spaceallowed == true and _root.anskiturn == true and _root.hero._x > _root.hero2._x and _root.pause == false) {
_root.spaceallowed = false;
_root.hero.gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.hero._x > _root.hero2._x) {
this._xscale = -100;
}
}
onClipEvent (enterFrame) {
if (_root.hero2._x > 600) {
_root.fb1._x -= _root.herospeed2 / 2;
_root.fb2._x -= _root.herospeed2 / 2;
_root.bg1._x -= _root.herospeed2;
_root.bg2._x -= _root.herospeed2;
_root.fg1._x -= _root.herospeed2;
_root.fg2._x -= _root.herospeed2;
_root.hero._x -= _root.herospeed2;
_root.hero2._x -= _root.herospeed2;
_root.enemy1._x -= _root.herospeed2;
_root.enemy2._x -= _root.herospeed2;
_root.enemy3._x -= _root.herospeed2;
_root.enemy4._x -= _root.herospeed2;
_root.enemy5._x -= _root.herospeed2;
_root.enemy6._x -= _root.herospeed2;
_root.enemy7._x -= _root.herospeed2;
_root.enemy8._x -= _root.herospeed2;
_root.npc1._x -= _root.herospeed2;
_root.npc2._x -= _root.herospeed2;
_root.npc3._x -= _root.herospeed2;
_root.npc4._x -= _root.herospeed2;
_root.npc5._x -= _root.herospeed2;
_root.npc6._x -= _root.herospeed2;
_root.npc7._x -= _root.herospeed2;
_root.npc8._x -= _root.herospeed2;
}
if (_root.hero2._x < 100) {
_root.fb1._x += _root.herospeed2 / 2;
_root.fb2._x += _root.herospeed2 / 2;
_root.bg1._x += _root.herospeed2;
_root.bg2._x += _root.herospeed2;
_root.fg1._x += _root.herospeed2;
_root.fg2._x += _root.herospeed2;
_root.hero._x += _root.herospeed2;
_root.hero2._x += _root.herospeed2;
_root.enemy1._x += _root.herospeed2;
_root.enemy2._x += _root.herospeed2;
_root.enemy3._x += _root.herospeed2;
_root.enemy4._x += _root.herospeed2;
_root.enemy5._x += _root.herospeed2;
_root.enemy6._x += _root.herospeed2;
_root.enemy7._x += _root.herospeed2;
_root.enemy8._x += _root.herospeed2;
_root.npc1._x += _root.herospeed2;
_root.npc2._x += _root.herospeed2;
_root.npc3._x += _root.herospeed2;
_root.npc4._x += _root.herospeed2;
_root.npc5._x += _root.herospeed2;
_root.npc6._x += _root.herospeed2;
_root.npc7._x += _root.herospeed2;
_root.npc8._x += _root.herospeed2;
}
}
}
frame 32 {
stop();
}
instance body2 of movieClip 1310 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.momentum < 8 and _root.anskiturn == true) {
_root.momentum += 1;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false and _root.anskiturn == true) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(3);
_root.hero2.gotoAndStop(15);
_root.hero.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.rawrallowed == true and _root.pause == false and _root.anskiturn == true) {
_root.rawrallowed = false;
_root.hero.gotoAndStop(17);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.rawrallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root._y -= 2;
_root.mainframe._y += 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _parent._x < 200 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true and _root.anskiturn == true) {
_parent._x += _root.herospeed;
} else {
if (Key.isDown(39) and _parent._x > 220 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true and _root.anskiturn == true) {
_parent._x -= _root.herospeed;
_root.fb1._x -= _root.herospeed;
_root.fb2._x -= _root.herospeed;
_root.bg1._x -= _root.herospeed * 2;
_root.bg2._x -= _root.herospeed * 2;
_root.fg1._x -= _root.herospeed * 2;
_root.fg2._x -= _root.herospeed * 2;
_root.hero2._x -= _root.herospeed * 2;
_root.enemy1._x -= _root.herospeed * 2;
_root.enemy2._x -= _root.herospeed * 2;
_root.enemy3._x -= _root.herospeed * 2;
_root.enemy4._x -= _root.herospeed * 2;
_root.enemy5._x -= _root.herospeed * 2;
_root.enemy6._x -= _root.herospeed * 2;
_root.enemy7._x -= _root.herospeed * 2;
_root.enemy8._x -= _root.herospeed * 2;
_root.npc1._x -= _root.herospeed * 2;
_root.npc2._x -= _root.herospeed * 2;
_root.npc3._x -= _root.herospeed * 2;
_root.npc4._x -= _root.herospeed * 2;
_root.npc5._x -= _root.herospeed * 2;
_root.npc6._x -= _root.herospeed * 2;
_root.npc7._x -= _root.herospeed * 2;
_root.npc8._x -= _root.herospeed * 2;
} else {
if (Key.isDown(39) and _parent._x >= 200 and _parent._x <= 220 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true and _root.anskiturn == true) {
_root.fb1._x -= _root.herospeed / 2;
_root.fb2._x -= _root.herospeed / 2;
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed;
_root.fg2._x -= _root.herospeed;
_root.hero2._x -= _root.herospeed;
_root.enemy1._x -= _root.herospeed;
_root.enemy2._x -= _root.herospeed;
_root.enemy3._x -= _root.herospeed;
_root.enemy4._x -= _root.herospeed;
_root.enemy5._x -= _root.herospeed;
_root.enemy6._x -= _root.herospeed;
_root.enemy7._x -= _root.herospeed;
_root.enemy8._x -= _root.herospeed;
_root.npc1._x -= _root.herospeed;
_root.npc2._x -= _root.herospeed;
_root.npc3._x -= _root.herospeed;
_root.npc4._x -= _root.herospeed;
_root.npc5._x -= _root.herospeed;
_root.npc6._x -= _root.herospeed;
_root.npc7._x -= _root.herospeed;
_root.npc8._x -= _root.herospeed;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true and _root.anskiturn == true) {
_root.fb1._x += _root.herospeed / 2;
_root.fb2._x += _root.herospeed / 2;
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed;
_root.fg2._x += _root.herospeed;
_root.hero2._x += _root.herospeed;
_root.enemy1._x += _root.herospeed;
_root.enemy2._x += _root.herospeed;
_root.enemy3._x += _root.herospeed;
_root.enemy4._x += _root.herospeed;
_root.enemy5._x += _root.herospeed;
_root.enemy6._x += _root.herospeed;
_root.enemy7._x += _root.herospeed;
_root.enemy8._x += _root.herospeed;
_root.npc1._x += _root.herospeed;
_root.npc2._x += _root.herospeed;
_root.npc3._x += _root.herospeed;
_root.npc4._x += _root.herospeed;
_root.npc5._x += _root.herospeed;
_root.npc6._x += _root.herospeed;
_root.npc7._x += _root.herospeed;
_root.npc8._x += _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.leftallowed == true and _root.leftallowedd == true and _root.heroxdistance > 50 and _root.anskiturn == false) {
_parent._x -= _root.herospeed;
} else {
if (_root.pause == false and _root.rightallowed == true and _root.rightallowedd == true and _root.heroxdistance < -50 and _root.anskiturn == false) {
_parent._x += _root.herospeed;
}
}
}
}
frame 33 {
stop();
}
instance body2 of movieClip 1311 {
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.momentum > -8 and _root.anskiturn == true) {
_root.momentum -= 1;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false and _root.anskiturn == true) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(3);
_root.hero2.gotoAndStop(15);
_root.hero.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.rawrallowed == true and _root.pause == false and _root.anskiturn == true) {
_root.rawrallowed = false;
_root.hero.gotoAndStop(18);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.rawrallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root._y -= 2;
_root.mainframe._y += 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _parent._x > 515 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true and _root.anskiturn == true) {
_parent._x -= _root.herospeed;
} else {
if (Key.isDown(37) and _parent._x < 495 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true and _root.anskiturn == true) {
_parent._x += _root.herospeed;
_root.fb1._x += _root.herospeed;
_root.fb2._x += _root.herospeed;
_root.bg1._x += _root.herospeed * 2;
_root.bg2._x += _root.herospeed * 2;
_root.fg1._x += _root.herospeed * 2;
_root.fg2._x += _root.herospeed * 2;
_root.hero2._x += _root.herospeed * 2;
_root.enemy1._x += _root.herospeed * 2;
_root.enemy2._x += _root.herospeed * 2;
_root.enemy3._x += _root.herospeed * 2;
_root.enemy4._x += _root.herospeed * 2;
_root.enemy5._x += _root.herospeed * 2;
_root.enemy6._x += _root.herospeed * 2;
_root.enemy7._x += _root.herospeed * 2;
_root.enemy8._x += _root.herospeed * 2;
_root.npc1._x += _root.herospeed * 2;
_root.npc2._x += _root.herospeed * 2;
_root.npc3._x += _root.herospeed * 2;
_root.npc4._x += _root.herospeed * 2;
_root.npc5._x += _root.herospeed * 2;
_root.npc6._x += _root.herospeed * 2;
_root.npc7._x += _root.herospeed * 2;
_root.npc8._x += _root.herospeed * 2;
} else {
if (Key.isDown(37) and _parent._x >= 495 and _parent._x <= 515 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true and _root.anskiturn == true) {
_root.fb1._x += _root.herospeed / 2;
_root.fb2._x += _root.herospeed / 2;
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed;
_root.fg2._x += _root.herospeed;
_root.hero2._x += _root.herospeed;
_root.enemy1._x += _root.herospeed;
_root.enemy2._x += _root.herospeed;
_root.enemy3._x += _root.herospeed;
_root.enemy4._x += _root.herospeed;
_root.enemy5._x += _root.herospeed;
_root.enemy6._x += _root.herospeed;
_root.enemy7._x += _root.herospeed;
_root.enemy8._x += _root.herospeed;
_root.npc1._x += _root.herospeed;
_root.npc2._x += _root.herospeed;
_root.npc3._x += _root.herospeed;
_root.npc4._x += _root.herospeed;
_root.npc5._x += _root.herospeed;
_root.npc6._x += _root.herospeed;
_root.npc7._x += _root.herospeed;
_root.npc8._x += _root.herospeed;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true and _root.anskiturn == true) {
_root.fb1._x -= _root.herospeed / 2;
_root.fb2._x -= _root.herospeed / 2;
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed;
_root.fg2._x -= _root.herospeed;
_root.hero2._x -= _root.herospeed;
_root.enemy1._x -= _root.herospeed;
_root.enemy2._x -= _root.herospeed;
_root.enemy3._x -= _root.herospeed;
_root.enemy4._x -= _root.herospeed;
_root.enemy5._x -= _root.herospeed;
_root.enemy6._x -= _root.herospeed;
_root.enemy7._x -= _root.herospeed;
_root.enemy8._x -= _root.herospeed;
_root.npc1._x -= _root.herospeed;
_root.npc2._x -= _root.herospeed;
_root.npc3._x -= _root.herospeed;
_root.npc4._x -= _root.herospeed;
_root.npc5._x -= _root.herospeed;
_root.npc6._x -= _root.herospeed;
_root.npc7._x -= _root.herospeed;
_root.npc8._x -= _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false and _root.leftallowed == true and _root.leftallowedd == true and _root.heroxdistance > 50 and _root.anskiturn == false) {
_parent._x -= _root.herospeed;
} else {
if (_root.pause == false and _root.rightallowed == true and _root.rightallowedd == true and _root.heroxdistance < -50 and _root.anskiturn == false) {
_parent._x += _root.herospeed;
}
}
}
}
frame 34 {
stop();
}
instance of movieClip 1336 {
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.momentum < 8) {
_root.momentum += 1;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(3);
_root.hero2.gotoAndStop(15);
_root.hero.gotoAndStop(42);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.rawrallowed == true and _root.pause == false) {
_root.rawrallowed = false;
_root.hero.gotoAndStop(42);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.rawrallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true and _root.pause == false) {
_root.spaceallowed = false;
_root.hero.gotoAndStop(42);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root._y -= 2;
_root.mainframe._y += 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _parent._x < 200 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x += _root.herospeed;
} else {
if (Key.isDown(39) and _parent._x > 220 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x -= _root.herospeed;
_root.fb1._x -= _root.herospeed;
_root.fb2._x -= _root.herospeed;
_root.bg1._x -= _root.herospeed * 2;
_root.bg2._x -= _root.herospeed * 2;
_root.fg1._x -= _root.herospeed * 2;
_root.fg2._x -= _root.herospeed * 2;
_root.hero2._x -= _root.herospeed * 2;
_root.enemy1._x -= _root.herospeed * 2;
_root.enemy2._x -= _root.herospeed * 2;
_root.enemy3._x -= _root.herospeed * 2;
_root.enemy4._x -= _root.herospeed * 2;
_root.enemy5._x -= _root.herospeed * 2;
_root.enemy6._x -= _root.herospeed * 2;
_root.enemy7._x -= _root.herospeed * 2;
_root.enemy8._x -= _root.herospeed * 2;
_root.npc1._x -= _root.herospeed * 2;
_root.npc2._x -= _root.herospeed * 2;
_root.npc3._x -= _root.herospeed * 2;
_root.npc4._x -= _root.herospeed * 2;
_root.npc5._x -= _root.herospeed * 2;
_root.npc6._x -= _root.herospeed * 2;
_root.npc7._x -= _root.herospeed * 2;
_root.npc8._x -= _root.herospeed * 2;
} else {
if (Key.isDown(39) and _parent._x >= 200 and _parent._x <= 220 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.fb1._x -= _root.herospeed / 2;
_root.fb2._x -= _root.herospeed / 2;
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed;
_root.fg2._x -= _root.herospeed;
_root.hero2._x -= _root.herospeed;
_root.enemy1._x -= _root.herospeed;
_root.enemy2._x -= _root.herospeed;
_root.enemy3._x -= _root.herospeed;
_root.enemy4._x -= _root.herospeed;
_root.enemy5._x -= _root.herospeed;
_root.enemy6._x -= _root.herospeed;
_root.enemy7._x -= _root.herospeed;
_root.enemy8._x -= _root.herospeed;
_root.npc1._x -= _root.herospeed;
_root.npc2._x -= _root.herospeed;
_root.npc3._x -= _root.herospeed;
_root.npc4._x -= _root.herospeed;
_root.npc5._x -= _root.herospeed;
_root.npc6._x -= _root.herospeed;
_root.npc7._x -= _root.herospeed;
_root.npc8._x -= _root.herospeed;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.fb1._x += _root.herospeed / 2;
_root.fb2._x += _root.herospeed / 2;
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed;
_root.fg2._x += _root.herospeed;
_root.hero2._x += _root.herospeed;
_root.enemy1._x += _root.herospeed;
_root.enemy2._x += _root.herospeed;
_root.enemy3._x += _root.herospeed;
_root.enemy4._x += _root.herospeed;
_root.enemy5._x += _root.herospeed;
_root.enemy6._x += _root.herospeed;
_root.enemy7._x += _root.herospeed;
_root.enemy8._x += _root.herospeed;
_root.npc1._x += _root.herospeed;
_root.npc2._x += _root.herospeed;
_root.npc3._x += _root.herospeed;
_root.npc4._x += _root.herospeed;
_root.npc5._x += _root.herospeed;
_root.npc6._x += _root.herospeed;
_root.npc7._x += _root.herospeed;
_root.npc8._x += _root.herospeed;
}
}
}
frame 35 {
stop();
}
instance of movieClip 1341 {
onClipEvent (enterFrame) {
if (Key.isDown(37) and _root.pause == false and _root.momentum > -8) {
_root.momentum -= 1;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(3);
_root.hero2.gotoAndStop(15);
_root.hero.gotoAndStop(43);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.rawrallowed == true and _root.pause == false) {
_root.rawrallowed = false;
_root.hero.gotoAndStop(43);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.rawrallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true and _root.pause == false) {
_root.spaceallowed = false;
_root.hero.gotoAndStop(43);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root._y -= 2;
_root.mainframe._y += 2;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and _parent._x > 515 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x -= _root.herospeed;
} else {
if (Key.isDown(37) and _parent._x < 495 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x += _root.herospeed;
_root.fb1._x += _root.herospeed;
_root.fb2._x += _root.herospeed;
_root.bg1._x += _root.herospeed * 2;
_root.bg2._x += _root.herospeed * 2;
_root.fg1._x += _root.herospeed * 2;
_root.fg2._x += _root.herospeed * 2;
_root.hero2._x += _root.herospeed * 2;
_root.enemy1._x += _root.herospeed * 2;
_root.enemy2._x += _root.herospeed * 2;
_root.enemy3._x += _root.herospeed * 2;
_root.enemy4._x += _root.herospeed * 2;
_root.enemy5._x += _root.herospeed * 2;
_root.enemy6._x += _root.herospeed * 2;
_root.enemy7._x += _root.herospeed * 2;
_root.enemy8._x += _root.herospeed * 2;
_root.npc1._x += _root.herospeed * 2;
_root.npc2._x += _root.herospeed * 2;
_root.npc3._x += _root.herospeed * 2;
_root.npc4._x += _root.herospeed * 2;
_root.npc5._x += _root.herospeed * 2;
_root.npc6._x += _root.herospeed * 2;
_root.npc7._x += _root.herospeed * 2;
_root.npc8._x += _root.herospeed * 2;
} else {
if (Key.isDown(37) and _parent._x >= 495 and _parent._x <= 515 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.fb1._x += _root.herospeed / 2;
_root.fb2._x += _root.herospeed / 2;
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed;
_root.fg2._x += _root.herospeed;
_root.hero2._x += _root.herospeed;
_root.enemy1._x += _root.herospeed;
_root.enemy2._x += _root.herospeed;
_root.enemy3._x += _root.herospeed;
_root.enemy4._x += _root.herospeed;
_root.enemy5._x += _root.herospeed;
_root.enemy6._x += _root.herospeed;
_root.enemy7._x += _root.herospeed;
_root.enemy8._x += _root.herospeed;
_root.npc1._x += _root.herospeed;
_root.npc2._x += _root.herospeed;
_root.npc3._x += _root.herospeed;
_root.npc4._x += _root.herospeed;
_root.npc5._x += _root.herospeed;
_root.npc6._x += _root.herospeed;
_root.npc7._x += _root.herospeed;
_root.npc8._x += _root.herospeed;
}
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.fb1._x -= _root.herospeed / 2;
_root.fb2._x -= _root.herospeed / 2;
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed;
_root.fg2._x -= _root.herospeed;
_root.hero2._x -= _root.herospeed;
_root.enemy1._x -= _root.herospeed;
_root.enemy2._x -= _root.herospeed;
_root.enemy3._x -= _root.herospeed;
_root.enemy4._x -= _root.herospeed;
_root.enemy5._x -= _root.herospeed;
_root.enemy6._x -= _root.herospeed;
_root.enemy7._x -= _root.herospeed;
_root.enemy8._x -= _root.herospeed;
_root.npc1._x -= _root.herospeed;
_root.npc2._x -= _root.herospeed;
_root.npc3._x -= _root.herospeed;
_root.npc4._x -= _root.herospeed;
_root.npc5._x -= _root.herospeed;
_root.npc6._x -= _root.herospeed;
_root.npc7._x -= _root.herospeed;
_root.npc8._x -= _root.herospeed;
}
}
}
frame 36 {
stop();
}
instance body of movieClip 1347 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.leftwall) or this.hitTest(_root.fg1.leftwall2) or this.hitTest(_root.fg2.leftwall) or this.hitTest(_root.fg2.leftwall2)) {
_root.fb1._x += _root.herospeed / 2;
_root.fb2._x += _root.herospeed / 2;
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed;
_root.fg2._x += _root.herospeed;
_root.hero2._x += _root.herospeed;
_root.enemy1._x += _root.herospeed;
_root.enemy2._x += _root.herospeed;
_root.enemy3._x += _root.herospeed;
_root.enemy4._x += _root.herospeed;
_root.enemy5._x += _root.herospeed;
_root.enemy6._x += _root.herospeed;
_root.enemy7._x += _root.herospeed;
_root.enemy8._x += _root.herospeed;
_root.npc1._x += _root.herospeed;
_root.npc2._x += _root.herospeed;
_root.npc3._x += _root.herospeed;
_root.npc4._x += _root.herospeed;
_root.npc5._x += _root.herospeed;
_root.npc6._x += _root.herospeed;
_root.npc7._x += _root.herospeed;
_root.npc8._x += _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.rightwall) or this.hitTest(_root.fg1.rightwall2) or this.hitTest(_root.fg2.rightwall) or this.hitTest(_root.fg2.rightwall2)) {
_root.fb1._x -= _root.herospeed / 2;
_root.fb2._x -= _root.herospeed / 2;
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed;
_root.fg2._x -= _root.herospeed;
_root.hero2._x -= _root.herospeed;
_root.enemy1._x -= _root.herospeed;
_root.enemy2._x -= _root.herospeed;
_root.enemy3._x -= _root.herospeed;
_root.enemy4._x -= _root.herospeed;
_root.enemy5._x -= _root.herospeed;
_root.enemy6._x -= _root.herospeed;
_root.enemy7._x -= _root.herospeed;
_root.enemy8._x -= _root.herospeed;
_root.npc1._x -= _root.herospeed;
_root.npc2._x -= _root.herospeed;
_root.npc3._x -= _root.herospeed;
_root.npc4._x -= _root.herospeed;
_root.npc5._x -= _root.herospeed;
_root.npc6._x -= _root.herospeed;
_root.npc7._x -= _root.herospeed;
_root.npc8._x -= _root.herospeed;
}
}
}
frame 37 {
stop();
}
instance body of movieClip 1351 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.leftwall) or this.hitTest(_root.fg1.leftwall2) or this.hitTest(_root.fg2.leftwall) or this.hitTest(_root.fg2.leftwall2)) {
_root.fb1._x += _root.herospeed / 2;
_root.fb2._x += _root.herospeed / 2;
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed;
_root.fg2._x += _root.herospeed;
_root.hero2._x += _root.herospeed;
_root.enemy1._x += _root.herospeed;
_root.enemy2._x += _root.herospeed;
_root.enemy3._x += _root.herospeed;
_root.enemy4._x += _root.herospeed;
_root.enemy5._x += _root.herospeed;
_root.enemy6._x += _root.herospeed;
_root.enemy7._x += _root.herospeed;
_root.enemy8._x += _root.herospeed;
_root.npc1._x += _root.herospeed;
_root.npc2._x += _root.herospeed;
_root.npc3._x += _root.herospeed;
_root.npc4._x += _root.herospeed;
_root.npc5._x += _root.herospeed;
_root.npc6._x += _root.herospeed;
_root.npc7._x += _root.herospeed;
_root.npc8._x += _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.rightwall) or this.hitTest(_root.fg1.rightwall2) or this.hitTest(_root.fg2.rightwall) or this.hitTest(_root.fg2.rightwall2)) {
_root.fb1._x -= _root.herospeed / 2;
_root.fb2._x -= _root.herospeed / 2;
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed;
_root.fg2._x -= _root.herospeed;
_root.hero2._x -= _root.herospeed;
_root.enemy1._x -= _root.herospeed;
_root.enemy2._x -= _root.herospeed;
_root.enemy3._x -= _root.herospeed;
_root.enemy4._x -= _root.herospeed;
_root.enemy5._x -= _root.herospeed;
_root.enemy6._x -= _root.herospeed;
_root.enemy7._x -= _root.herospeed;
_root.enemy8._x -= _root.herospeed;
_root.npc1._x -= _root.herospeed;
_root.npc2._x -= _root.herospeed;
_root.npc3._x -= _root.herospeed;
_root.npc4._x -= _root.herospeed;
_root.npc5._x -= _root.herospeed;
_root.npc6._x -= _root.herospeed;
_root.npc7._x -= _root.herospeed;
_root.npc8._x -= _root.herospeed;
}
}
}
frame 38 {
stop();
_root.herofacingright = true;
}
instance body of movieClip 1360 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.leftwall) or this.hitTest(_root.fg1.leftwall2) or this.hitTest(_root.fg2.leftwall) or this.hitTest(_root.fg2.leftwall2)) {
_root.fb1._x += _root.herospeed / 2;
_root.fb2._x += _root.herospeed / 2;
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed;
_root.fg2._x += _root.herospeed;
_root.hero2._x += _root.herospeed;
_root.enemy1._x += _root.herospeed;
_root.enemy2._x += _root.herospeed;
_root.enemy3._x += _root.herospeed;
_root.enemy4._x += _root.herospeed;
_root.enemy5._x += _root.herospeed;
_root.enemy6._x += _root.herospeed;
_root.enemy7._x += _root.herospeed;
_root.enemy8._x += _root.herospeed;
_root.npc1._x += _root.herospeed;
_root.npc2._x += _root.herospeed;
_root.npc3._x += _root.herospeed;
_root.npc4._x += _root.herospeed;
_root.npc5._x += _root.herospeed;
_root.npc6._x += _root.herospeed;
_root.npc7._x += _root.herospeed;
_root.npc8._x += _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.rightwall) or this.hitTest(_root.fg1.rightwall2) or this.hitTest(_root.fg2.rightwall) or this.hitTest(_root.fg2.rightwall2)) {
_root.fb1._x -= _root.herospeed / 2;
_root.fb2._x -= _root.herospeed / 2;
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed;
_root.fg2._x -= _root.herospeed;
_root.hero2._x -= _root.herospeed;
_root.enemy1._x -= _root.herospeed;
_root.enemy2._x -= _root.herospeed;
_root.enemy3._x -= _root.herospeed;
_root.enemy4._x -= _root.herospeed;
_root.enemy5._x -= _root.herospeed;
_root.enemy6._x -= _root.herospeed;
_root.enemy7._x -= _root.herospeed;
_root.enemy8._x -= _root.herospeed;
_root.npc1._x -= _root.herospeed;
_root.npc2._x -= _root.herospeed;
_root.npc3._x -= _root.herospeed;
_root.npc4._x -= _root.herospeed;
_root.npc5._x -= _root.herospeed;
_root.npc6._x -= _root.herospeed;
_root.npc7._x -= _root.herospeed;
_root.npc8._x -= _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false) {
_parent.gotoAndStop(40);
} else {
if (Key.isDown(37) and _root.pause == false) {
_parent.gotoAndStop(41);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.hero2.gotoAndStop(15);
_root.hero.gotoAndStop(42);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.rawrallowed == true and _root.pause == false) {
_root.rawrallowed = false;
_root.hero.gotoAndStop(42);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.rawrallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.pause == false) {
_parent.gotoAndStop(34);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true and _root.pause == false) {
_root.spaceallowed = false;
_root.hero.gotoAndStop(42);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
}
frame 39 {
stop();
_root.herofacingright = false;
}
instance body of movieClip 1360 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.leftwall) or this.hitTest(_root.fg1.leftwall2) or this.hitTest(_root.fg2.leftwall) or this.hitTest(_root.fg2.leftwall2)) {
_root.fb1._x += _root.herospeed / 2;
_root.fb2._x += _root.herospeed / 2;
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed;
_root.fg2._x += _root.herospeed;
_root.hero2._x += _root.herospeed;
_root.enemy1._x += _root.herospeed;
_root.enemy2._x += _root.herospeed;
_root.enemy3._x += _root.herospeed;
_root.enemy4._x += _root.herospeed;
_root.enemy5._x += _root.herospeed;
_root.enemy6._x += _root.herospeed;
_root.enemy7._x += _root.herospeed;
_root.enemy8._x += _root.herospeed;
_root.npc1._x += _root.herospeed;
_root.npc2._x += _root.herospeed;
_root.npc3._x += _root.herospeed;
_root.npc4._x += _root.herospeed;
_root.npc5._x += _root.herospeed;
_root.npc6._x += _root.herospeed;
_root.npc7._x += _root.herospeed;
_root.npc8._x += _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.rightwall) or this.hitTest(_root.fg1.rightwall2) or this.hitTest(_root.fg2.rightwall) or this.hitTest(_root.fg2.rightwall2)) {
_root.fb1._x -= _root.herospeed / 2;
_root.fb2._x -= _root.herospeed / 2;
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed;
_root.fg2._x -= _root.herospeed;
_root.hero2._x -= _root.herospeed;
_root.enemy1._x -= _root.herospeed;
_root.enemy2._x -= _root.herospeed;
_root.enemy3._x -= _root.herospeed;
_root.enemy4._x -= _root.herospeed;
_root.enemy5._x -= _root.herospeed;
_root.enemy6._x -= _root.herospeed;
_root.enemy7._x -= _root.herospeed;
_root.enemy8._x -= _root.herospeed;
_root.npc1._x -= _root.herospeed;
_root.npc2._x -= _root.herospeed;
_root.npc3._x -= _root.herospeed;
_root.npc4._x -= _root.herospeed;
_root.npc5._x -= _root.herospeed;
_root.npc6._x -= _root.herospeed;
_root.npc7._x -= _root.herospeed;
_root.npc8._x -= _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.pause == false) {
_parent.gotoAndStop(40);
} else {
if (Key.isDown(37) and _root.pause == false) {
_parent.gotoAndStop(41);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.hero2.gotoAndStop(15);
_root.hero.gotoAndStop(43);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.rawrallowed == true and _root.pause == false) {
_root.rawrallowed = false;
_root.hero.gotoAndStop(43);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.rawrallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.pause == false) {
_parent.gotoAndStop(35);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true and _root.pause == false) {
_root.spaceallowed = false;
_root.hero.gotoAndStop(43);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
}
frame 40 {
stop();
_root.herofacingright = true;
}
instance body of movieClip 1366 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.momentum < 4) {
_root.momentum += 2;
}
}
onClipEvent (enterFrame) {
_root.herospeed2 = 8;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.leftwall) or this.hitTest(_root.fg1.leftwall2) or this.hitTest(_root.fg2.leftwall) or this.hitTest(_root.fg2.leftwall2)) {
_root.fb1._x += _root.herospeed / 2;
_root.fb2._x += _root.herospeed / 2;
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed;
_root.fg2._x += _root.herospeed;
_root.hero2._x += _root.herospeed;
_root.enemy1._x += _root.herospeed;
_root.enemy2._x += _root.herospeed;
_root.enemy3._x += _root.herospeed;
_root.enemy4._x += _root.herospeed;
_root.enemy5._x += _root.herospeed;
_root.enemy6._x += _root.herospeed;
_root.enemy7._x += _root.herospeed;
_root.enemy8._x += _root.herospeed;
_root.npc1._x += _root.herospeed;
_root.npc2._x += _root.herospeed;
_root.npc3._x += _root.herospeed;
_root.npc4._x += _root.herospeed;
_root.npc5._x += _root.herospeed;
_root.npc6._x += _root.herospeed;
_root.npc7._x += _root.herospeed;
_root.npc8._x += _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.rightwall) or this.hitTest(_root.fg1.rightwall2) or this.hitTest(_root.fg2.rightwall) or this.hitTest(_root.fg2.rightwall2)) {
_root.fb1._x -= _root.herospeed / 2;
_root.fb2._x -= _root.herospeed / 2;
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed;
_root.fg2._x -= _root.herospeed;
_root.hero2._x -= _root.herospeed;
_root.enemy1._x -= _root.herospeed;
_root.enemy2._x -= _root.herospeed;
_root.enemy3._x -= _root.herospeed;
_root.enemy4._x -= _root.herospeed;
_root.enemy5._x -= _root.herospeed;
_root.enemy6._x -= _root.herospeed;
_root.enemy7._x -= _root.herospeed;
_root.enemy8._x -= _root.herospeed;
_root.npc1._x -= _root.herospeed;
_root.npc2._x -= _root.herospeed;
_root.npc3._x -= _root.herospeed;
_root.npc4._x -= _root.herospeed;
_root.npc5._x -= _root.herospeed;
_root.npc6._x -= _root.herospeed;
_root.npc7._x -= _root.herospeed;
_root.npc8._x -= _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(3);
_root.hero2.gotoAndStop(15);
_root.hero.gotoAndStop(42);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.rawrallowed == true and _root.pause == false) {
_root.rawrallowed = false;
_root.hero.gotoAndStop(42);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.rawrallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.pause == false) {
_parent.gotoAndStop(34);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true and _root.pause == false) {
_root.spaceallowed = false;
_root.hero.gotoAndStop(42);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and Key.isDown(37) == false and _root.pause == false) {
_parent.gotoAndStop(40);
} else {
if (Key.isDown(39) == false and _root.pause == false) {
_parent.gotoAndStop(38);
}
}
}
onClipEvent (enterFrame) {
if (_parent._x < 200 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x += _root.herospeed;
} else {
if (_parent._x > 220 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_parent._x -= _root.herospeed;
_root.fb1._x -= _root.herospeed;
_root.fb2._x -= _root.herospeed;
_root.bg1._x -= _root.herospeed * 2;
_root.bg2._x -= _root.herospeed * 2;
_root.fg1._x -= _root.herospeed * 2;
_root.fg2._x -= _root.herospeed * 2;
_root.hero2._x -= _root.herospeed * 2;
_root.enemy1._x -= _root.herospeed * 2;
_root.enemy2._x -= _root.herospeed * 2;
_root.enemy3._x -= _root.herospeed * 2;
_root.enemy4._x -= _root.herospeed * 2;
_root.enemy5._x -= _root.herospeed * 2;
_root.enemy6._x -= _root.herospeed * 2;
_root.enemy7._x -= _root.herospeed * 2;
_root.enemy8._x -= _root.herospeed * 2;
_root.npc1._x -= _root.herospeed * 2;
_root.npc2._x -= _root.herospeed * 2;
_root.npc3._x -= _root.herospeed * 2;
_root.npc4._x -= _root.herospeed * 2;
_root.npc5._x -= _root.herospeed * 2;
_root.npc6._x -= _root.herospeed * 2;
_root.npc7._x -= _root.herospeed * 2;
_root.npc8._x -= _root.herospeed * 2;
} else {
if (_parent._x >= 200 and _parent._x <= 220 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.fb1._x -= _root.herospeed / 2;
_root.fb2._x -= _root.herospeed / 2;
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed;
_root.fg2._x -= _root.herospeed;
_root.hero2._x -= _root.herospeed;
_root.enemy1._x -= _root.herospeed;
_root.enemy2._x -= _root.herospeed;
_root.enemy3._x -= _root.herospeed;
_root.enemy4._x -= _root.herospeed;
_root.enemy5._x -= _root.herospeed;
_root.enemy6._x -= _root.herospeed;
_root.enemy7._x -= _root.herospeed;
_root.enemy8._x -= _root.herospeed;
_root.npc1._x -= _root.herospeed;
_root.npc2._x -= _root.herospeed;
_root.npc3._x -= _root.herospeed;
_root.npc4._x -= _root.herospeed;
_root.npc5._x -= _root.herospeed;
_root.npc6._x -= _root.herospeed;
_root.npc7._x -= _root.herospeed;
_root.npc8._x -= _root.herospeed;
}
}
}
}
}
frame 41 {
stop();
_root.herofacingright = false;
}
instance body of movieClip 1366 {
onClipEvent (enterFrame) {
if (_root.pause == false and _root.momentum > -4) {
_root.momentum -= 2;
}
}
onClipEvent (enterFrame) {
_root.herospeed2 = 8;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.leftwall) or this.hitTest(_root.fg1.leftwall2) or this.hitTest(_root.fg2.leftwall) or this.hitTest(_root.fg2.leftwall2)) {
_root.fb1._x += _root.herospeed / 2;
_root.fb2._x += _root.herospeed / 2;
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed;
_root.fg2._x += _root.herospeed;
_root.hero2._x += _root.herospeed;
_root.enemy1._x += _root.herospeed;
_root.enemy2._x += _root.herospeed;
_root.enemy3._x += _root.herospeed;
_root.enemy4._x += _root.herospeed;
_root.enemy5._x += _root.herospeed;
_root.enemy6._x += _root.herospeed;
_root.enemy7._x += _root.herospeed;
_root.enemy8._x += _root.herospeed;
_root.npc1._x += _root.herospeed;
_root.npc2._x += _root.herospeed;
_root.npc3._x += _root.herospeed;
_root.npc4._x += _root.herospeed;
_root.npc5._x += _root.herospeed;
_root.npc6._x += _root.herospeed;
_root.npc7._x += _root.herospeed;
_root.npc8._x += _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.rightwall) or this.hitTest(_root.fg1.rightwall2) or this.hitTest(_root.fg2.rightwall) or this.hitTest(_root.fg2.rightwall2)) {
_root.fb1._x -= _root.herospeed / 2;
_root.fb2._x -= _root.herospeed / 2;
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed;
_root.fg2._x -= _root.herospeed;
_root.hero2._x -= _root.herospeed;
_root.enemy1._x -= _root.herospeed;
_root.enemy2._x -= _root.herospeed;
_root.enemy3._x -= _root.herospeed;
_root.enemy4._x -= _root.herospeed;
_root.enemy5._x -= _root.herospeed;
_root.enemy6._x -= _root.herospeed;
_root.enemy7._x -= _root.herospeed;
_root.enemy8._x -= _root.herospeed;
_root.npc1._x -= _root.herospeed;
_root.npc2._x -= _root.herospeed;
_root.npc3._x -= _root.herospeed;
_root.npc4._x -= _root.herospeed;
_root.npc5._x -= _root.herospeed;
_root.npc6._x -= _root.herospeed;
_root.npc7._x -= _root.herospeed;
_root.npc8._x -= _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.pause == false) {
_root.shiftallowed = false;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(3);
_root.hero2.gotoAndStop(15);
_root.hero.gotoAndStop(43);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) and _root.rawrallowed == true and _root.pause == false) {
_root.rawrallowed = false;
_root.hero.gotoAndStop(43);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(40) == false) {
_root.rawrallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(38) and _root.pause == false) {
_parent.gotoAndStop(35);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) and _root.spaceallowed == true and _root.pause == false) {
_root.spaceallowed = false;
_root.hero.gotoAndStop(43);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and Key.isDown(39) == false and _root.pause == false) {
_parent.gotoAndStop(41);
} else {
if (Key.isDown(37) == false and _root.pause == false) {
_parent.gotoAndStop(39);
}
}
}
onClipEvent (enterFrame) {
if (_parent._x > 515 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x -= _root.herospeed;
} else {
if (_parent._x < 495 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_parent._x += _root.herospeed;
_root.fb1._x += _root.herospeed;
_root.fb2._x += _root.herospeed;
_root.bg1._x += _root.herospeed * 2;
_root.bg2._x += _root.herospeed * 2;
_root.fg1._x += _root.herospeed * 2;
_root.fg2._x += _root.herospeed * 2;
_root.hero2._x += _root.herospeed * 2;
_root.enemy1._x += _root.herospeed * 2;
_root.enemy2._x += _root.herospeed * 2;
_root.enemy3._x += _root.herospeed * 2;
_root.enemy4._x += _root.herospeed * 2;
_root.enemy5._x += _root.herospeed * 2;
_root.enemy6._x += _root.herospeed * 2;
_root.enemy7._x += _root.herospeed * 2;
_root.enemy8._x += _root.herospeed * 2;
_root.npc1._x += _root.herospeed * 2;
_root.npc2._x += _root.herospeed * 2;
_root.npc3._x += _root.herospeed * 2;
_root.npc4._x += _root.herospeed * 2;
_root.npc5._x += _root.herospeed * 2;
_root.npc6._x += _root.herospeed * 2;
_root.npc7._x += _root.herospeed * 2;
_root.npc8._x += _root.herospeed * 2;
} else {
if (_parent._x >= 495 and _parent._x <= 515 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.fb1._x += _root.herospeed / 2;
_root.fb2._x += _root.herospeed / 2;
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed;
_root.fg2._x += _root.herospeed;
_root.hero2._x += _root.herospeed;
_root.enemy1._x += _root.herospeed;
_root.enemy2._x += _root.herospeed;
_root.enemy3._x += _root.herospeed;
_root.enemy4._x += _root.herospeed;
_root.enemy5._x += _root.herospeed;
_root.enemy6._x += _root.herospeed;
_root.enemy7._x += _root.herospeed;
_root.enemy8._x += _root.herospeed;
_root.npc1._x += _root.herospeed;
_root.npc2._x += _root.herospeed;
_root.npc3._x += _root.herospeed;
_root.npc4._x += _root.herospeed;
_root.npc5._x += _root.herospeed;
_root.npc6._x += _root.herospeed;
_root.npc7._x += _root.herospeed;
_root.npc8._x += _root.herospeed;
}
}
}
}
}
frame 42 {
stop();
}
instance body of movieClip 1370 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.leftwall) or this.hitTest(_root.fg1.leftwall2) or this.hitTest(_root.fg2.leftwall) or this.hitTest(_root.fg2.leftwall2)) {
_root.fb1._x += _root.herospeed / 2;
_root.fb2._x += _root.herospeed / 2;
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed;
_root.fg2._x += _root.herospeed;
_root.hero2._x += _root.herospeed;
_root.enemy1._x += _root.herospeed;
_root.enemy2._x += _root.herospeed;
_root.enemy3._x += _root.herospeed;
_root.enemy4._x += _root.herospeed;
_root.enemy5._x += _root.herospeed;
_root.enemy6._x += _root.herospeed;
_root.enemy7._x += _root.herospeed;
_root.enemy8._x += _root.herospeed;
_root.npc1._x += _root.herospeed;
_root.npc2._x += _root.herospeed;
_root.npc3._x += _root.herospeed;
_root.npc4._x += _root.herospeed;
_root.npc5._x += _root.herospeed;
_root.npc6._x += _root.herospeed;
_root.npc7._x += _root.herospeed;
_root.npc8._x += _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.rightwall) or this.hitTest(_root.fg1.rightwall2) or this.hitTest(_root.fg2.rightwall) or this.hitTest(_root.fg2.rightwall2)) {
_root.fb1._x -= _root.herospeed / 2;
_root.fb2._x -= _root.herospeed / 2;
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed;
_root.fg2._x -= _root.herospeed;
_root.hero2._x -= _root.herospeed;
_root.enemy1._x -= _root.herospeed;
_root.enemy2._x -= _root.herospeed;
_root.enemy3._x -= _root.herospeed;
_root.enemy4._x -= _root.herospeed;
_root.enemy5._x -= _root.herospeed;
_root.enemy6._x -= _root.herospeed;
_root.enemy7._x -= _root.herospeed;
_root.enemy8._x -= _root.herospeed;
_root.npc1._x -= _root.herospeed;
_root.npc2._x -= _root.herospeed;
_root.npc3._x -= _root.herospeed;
_root.npc4._x -= _root.herospeed;
_root.npc5._x -= _root.herospeed;
_root.npc6._x -= _root.herospeed;
_root.npc7._x -= _root.herospeed;
_root.npc8._x -= _root.herospeed;
}
}
}
frame 43 {
stop();
}
instance body of movieClip 1375 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.leftwall) or this.hitTest(_root.fg1.leftwall2) or this.hitTest(_root.fg2.leftwall) or this.hitTest(_root.fg2.leftwall2)) {
_root.fb1._x += _root.herospeed / 2;
_root.fb2._x += _root.herospeed / 2;
_root.bg1._x += _root.herospeed;
_root.bg2._x += _root.herospeed;
_root.fg1._x += _root.herospeed;
_root.fg2._x += _root.herospeed;
_root.hero2._x += _root.herospeed;
_root.enemy1._x += _root.herospeed;
_root.enemy2._x += _root.herospeed;
_root.enemy3._x += _root.herospeed;
_root.enemy4._x += _root.herospeed;
_root.enemy5._x += _root.herospeed;
_root.enemy6._x += _root.herospeed;
_root.enemy7._x += _root.herospeed;
_root.enemy8._x += _root.herospeed;
_root.npc1._x += _root.herospeed;
_root.npc2._x += _root.herospeed;
_root.npc3._x += _root.herospeed;
_root.npc4._x += _root.herospeed;
_root.npc5._x += _root.herospeed;
_root.npc6._x += _root.herospeed;
_root.npc7._x += _root.herospeed;
_root.npc8._x += _root.herospeed;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.rightwall) or this.hitTest(_root.fg1.rightwall2) or this.hitTest(_root.fg2.rightwall) or this.hitTest(_root.fg2.rightwall2)) {
_root.fb1._x -= _root.herospeed / 2;
_root.fb2._x -= _root.herospeed / 2;
_root.bg1._x -= _root.herospeed;
_root.bg2._x -= _root.herospeed;
_root.fg1._x -= _root.herospeed;
_root.fg2._x -= _root.herospeed;
_root.hero2._x -= _root.herospeed;
_root.enemy1._x -= _root.herospeed;
_root.enemy2._x -= _root.herospeed;
_root.enemy3._x -= _root.herospeed;
_root.enemy4._x -= _root.herospeed;
_root.enemy5._x -= _root.herospeed;
_root.enemy6._x -= _root.herospeed;
_root.enemy7._x -= _root.herospeed;
_root.enemy8._x -= _root.herospeed;
_root.npc1._x -= _root.herospeed;
_root.npc2._x -= _root.herospeed;
_root.npc3._x -= _root.herospeed;
_root.npc4._x -= _root.herospeed;
_root.npc5._x -= _root.herospeed;
_root.npc6._x -= _root.herospeed;
_root.npc7._x -= _root.herospeed;
_root.npc8._x -= _root.herospeed;
}
}
}
frame 44 {
stop();
}
frame 45 {
stop();
}
frame 46 {
stop();
}
frame 47 {
stop();
}
frame 48 {
stop();
}
instance body of movieClip 1472 {
onClipEvent (enterFrame) {
if (_root.hero._x > _root.hero2._x) {
this._xscale = -100;
} else {
if (_root.hero._x <= _root.hero2._x) {
this._xscale = 100;
}
}
}
}
frame 49 {
stop();
_root.tutorialtext -= 1;
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
instance body of movieClip 1487 {
onClipEvent (enterFrame) {
if (_root.hero._x > _root.hero2._x) {
this._xscale = -100;
} else {
if (_root.hero._x <= _root.hero2._x) {
this._xscale = 100;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and _root.rightallowed == true and _root.pause == false) {
_root.toofaraway = false;
_root.leftallowed = true;
_parent._x += 14;
_parent.gotoAndStop(5);
} else {
if (Key.isDown(37) and _root.leftallowed == true and _root.pause == false) {
_root.toofaraway = false;
_root.rightallowed = true;
_parent._x -= 14;
_parent.gotoAndStop(6);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.anskiturn == true and _root.hero._x > _root.hero2._x and _root.pause == false) {
_root.toofaraway = false;
_root.shiftallowed = false;
_root.rightallowed = true;
_root.leftallowed = true;
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(3);
_parent._x -= 14;
_root.hero2.gotoAndStop(15);
_root.hero.gotoAndStop(10);
}
if (Key.isDown(16) and _root.shiftallowed == true and _root.mainshiftallowed == true and _root.anskiturn == true and _root.hero._x < _root.hero2._x and _root.pause == false) {
_root.toofaraway = false;
_root.shiftallowed = false;
_root.rightallowed = true;
_root.leftallowed = true;
_parent._x += 14;
_root.hero2.gotoAndStop(15);
_root.hero.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(16) == false) {
_root.shiftallowed = true;
}
}
}
frame 50 {
stop();
}
instance body of movieClip 1487 {
onClipEvent (enterFrame) {
if (_root.hero._x > _root.hero2._x) {
this._xscale = -100;
} else {
if (_root.hero._x <= _root.hero2._x) {
this._xscale = 100;
}
}
}
onClipEvent (enterFrame) {
if (_root.heroxdistance > 50 and _root.heroxdistance < 100 and _root.pause == false) {
_parent.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (_root.heroxdistance < -50 and _root.heroxdistance > -100 and _root.pause == false) {
_parent.gotoAndStop(9);
}
}
}
frame 51 {
stop();
}
frame 52 {
stop();
}
frame 53 {
stop();
}
instance body of movieClip 1583 {
onClipEvent (enterFrame) {
if (_root.hero._x > _root.hero2._x) {
this._xscale = -100;
} else {
if (_root.hero._x <= _root.hero2._x) {
this._xscale = 100;
}
}
}
onClipEvent (enterFrame) {
if (_root.hero._x < 250) {
_parent._x += _root.herospeed * 2;
_root.fb1._x += _root.herospeed;
_root.fb2._x += _root.herospeed;
_root.bg1._x += _root.herospeed * 2;
_root.bg2._x += _root.herospeed * 2;
_root.fg1._x += _root.herospeed * 2;
_root.fg2._x += _root.herospeed * 2;
_root.hero2._x += _root.herospeed * 2;
_root.enemy1._x += _root.herospeed * 2;
_root.enemy2._x += _root.herospeed * 2;
_root.enemy3._x += _root.herospeed * 2;
_root.enemy4._x += _root.herospeed * 2;
_root.enemy5._x += _root.herospeed * 2;
_root.enemy6._x += _root.herospeed * 2;
_root.enemy7._x += _root.herospeed * 2;
_root.enemy8._x += _root.herospeed * 2;
_root.npc1._x += _root.herospeed * 2;
_root.npc2._x += _root.herospeed * 2;
_root.npc3._x += _root.herospeed * 2;
_root.npc4._x += _root.herospeed * 2;
_root.npc5._x += _root.herospeed * 2;
_root.npc6._x += _root.herospeed * 2;
_root.npc7._x += _root.herospeed * 2;
_root.npc8._x += _root.herospeed * 2;
}
}
}
}
instance hero of movieClip 1584 {
onClipEvent (enterFrame) {
if (_root.npc3hero == true) {
this.body.flower.gotoAndStop(4);
this.body2.flower.gotoAndStop(4);
this.body.flower.body.face.gotoAndStop(1);
this.body.flower.body.torso.gotoAndStop(1);
this.body2.flower.body.face.gotoAndStop(1);
this.body2.flower.body.torso.gotoAndStop(1);
} else {
if (_root.npc4hero == true) {
this.body.flower.gotoAndStop(4);
this.body2.flower.gotoAndStop(4);
this.body.flower.body.face.gotoAndStop(2);
this.body.flower.body.torso.gotoAndStop(2);
this.body2.flower.body.face.gotoAndStop(2);
this.body2.flower.body.torso.gotoAndStop(2);
} else {
if (_root.npc5hero == true) {
this.body.flower.gotoAndStop(4);
this.body2.flower.gotoAndStop(4);
this.body.flower.body.face.gotoAndStop(3);
this.body.flower.body.torso.gotoAndStop(3);
this.body2.flower.body.face.gotoAndStop(3);
this.body2.flower.body.torso.gotoAndStop(3);
} else {
if (_root.npc6hero == true) {
this.body.flower.gotoAndStop(4);
this.body2.flower.gotoAndStop(4);
this.body.flower.body.face.gotoAndStop(4);
this.body.flower.body.torso.gotoAndStop(4);
this.body2.flower.body.face.gotoAndStop(4);
this.body2.flower.body.torso.gotoAndStop(4);
} else {
this.body.flower.gotoAndStop(1);
this.body2.flower.gotoAndStop(1);
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.momentum > 0 and _root.pause == false and _root.rightallowed == true and _root.rightallowedd == true) {
_root.fb1._x -= _root.momentum / 2;
_root.fb2._x -= _root.momentum / 2;
_root.bg1._x -= _root.momentum;
_root.bg2._x -= _root.momentum;
_root.fg1._x -= _root.momentum;
_root.fg2._x -= _root.momentum;
_root.hero2._x -= _root.momentum;
_root.enemy1._x -= _root.momentum;
_root.enemy2._x -= _root.momentum;
_root.enemy3._x -= _root.momentum;
_root.enemy4._x -= _root.momentum;
_root.enemy5._x -= _root.momentum;
_root.enemy6._x -= _root.momentum;
_root.enemy7._x -= _root.momentum;
_root.enemy8._x -= _root.momentum;
_root.npc1._x -= _root.momentum;
_root.npc2._x -= _root.momentum;
_root.npc3._x -= _root.momentum;
_root.npc4._x -= _root.momentum;
_root.npc5._x -= _root.momentum;
_root.npc6._x -= _root.momentum;
_root.npc7._x -= _root.momentum;
_root.npc8._x -= _root.momentum;
_root.momentum -= 1;
} else {
if (_root.momentum < 0 and _root.pause == false and _root.leftallowed == true and _root.leftallowedd == true) {
_root.fb1._x -= _root.momentum / 2;
_root.fb2._x -= _root.momentum / 2;
_root.bg1._x -= _root.momentum;
_root.bg2._x -= _root.momentum;
_root.fg1._x -= _root.momentum;
_root.fg2._x -= _root.momentum;
_root.hero2._x -= _root.momentum;
_root.enemy1._x -= _root.momentum;
_root.enemy2._x -= _root.momentum;
_root.enemy3._x -= _root.momentum;
_root.enemy4._x -= _root.momentum;
_root.enemy5._x -= _root.momentum;
_root.enemy6._x -= _root.momentum;
_root.enemy7._x -= _root.momentum;
_root.enemy8._x -= _root.momentum;
_root.npc1._x -= _root.momentum;
_root.npc2._x -= _root.momentum;
_root.npc3._x -= _root.momentum;
_root.npc4._x -= _root.momentum;
_root.npc5._x -= _root.momentum;
_root.npc6._x -= _root.momentum;
_root.npc7._x -= _root.momentum;
_root.npc8._x -= _root.momentum;
_root.momentum += 1;
}
}
}
onClipEvent (enterFrame) {
_root.heroxdistance = _root.hero._x - _root.hero2._x;
}
onClipEvent (enterFrame) {
if (_root.heroxdistance > 800 and _root.anskiturn == true) {
_root.toofaraway = true;
_root.rightallowed = false;
_root.momentum = 0;
_root.momentum2 = 0;
_root.hero.gotoAndStop(49);
_root.hero2.gotoAndStop(48);
} else {
if (_root.heroxdistance < -800 and _root.anskiturn == true) {
_root.toofaraway = true;
_root.leftallowed = false;
_root.momentum = 0;
_root.momentum2 = 0;
_root.hero.gotoAndStop(49);
_root.hero2.gotoAndStop(48);
}
}
}
onClipEvent (enterFrame) {
if (_root.screenmove == true and _root.pause == false) {
_root._y -= _root.velocity / 2;
_root.mainframe._y += _root.velocity / 2;
}
}
onClipEvent (enterFrame) {
if (_root.falling == true and _root.pause == false) {
_root.velocity += _root.gravity;
_root.hero._y += _root.velocity;
_root.screenmove = true;
}
i = 0;
while (i < 99) {
if (_root.hero.body.hitbox.hitTest('_root.fg1.platform' + i)) {
platform = eval('_root.fg1.platform' + i);
}
if (_root.hero.body.hitbox.hitTest('_root.fg2.platform' + i)) {
bplatform = eval('_root.fg2.platform' + i);
}
++i;
}
if (_root.hero.body.hitbox.hitTest(platform) and _root.pause == false) {
if (_root.falling == true) {
_root.hero._y = platform._y;
_root.velocity = 0;
_root.screenmove = false;
}
} else {
if (_root.hero.body.hitbox.hitTest(bplatform) and _root.pause == false) {
if (_root.falling == true) {
_root.hero._y = bplatform._y;
_root.velocity = 0;
_root.screenmove = false;
}
} else {
if (_root.hero.body.hitbox.hitTest(_root.npc2.body) and _root.pause == false) {
if (_root.falling == true) {
_root.hero._y = _root.npc2._y;
_root.velocity = 0;
_root.screenmove = false;
}
} else {
_root.falling = true;
}
}
}
}
onClipEvent (enterFrame) {
if (_root.hero._x < -10) {
_root.falling = false;
}
}
onClipEvent (enterFrame) {
if (_root.hero._x > 730) {
_root.falling = false;
}
}
}
movieClip 1593 {
}
movieClip 1594 {
}
movieClip 1601 {
frame 92 {
_parent.gotoAndStop(1);
}
}
movieClip 1604 {
frame 92 {
_parent.gotoAndStop(5);
}
}
movieClip 1605 {
frame 1 {
stop();
}
instance butterfly of movieClip 1594 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x -= 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.flamebox) and _root.blipbedazzled == true and _root.pause == false) {
_root.hero2.gotoAndStop(39);
_parent.gotoAndStop(7);
} else {
if (this.hitTest(_root.hero.body.flamebox) and _root.pause == false) {
_parent.gotoAndStop(7);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.rawrbox) and _root.blipbedazzled == true and _root.pause == false) {
_root.hero2.gotoAndStop(39);
_parent.gotoAndStop(3);
} else {
if (this.hitTest(_root.hero.body.rawrbox) and _root.pause == false) {
_parent.gotoAndStop(3);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.leftbutterflywall) and _root.pause == false) {
_parent.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.leftbutterflywall) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
}
}
instance hitbox of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and _root.anskiturn == true and _root.pause == false) {
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(4);
_root.hero.gotoAndStop(31);
_root.hero2.gotoAndStop(25);
_root.anskiturn = true;
_root.blipturn = false;
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipturn == true and _root.hero._x < 700 and _root.hero._x > 20 and _root.pause == false) {
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(4);
_root.hero.gotoAndStop(31);
_root.hero2.gotoAndStop(25);
_root.hero.swapDepths(_root.hero2);
_root.anskiturn = true;
_root.blipturn = false;
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipturn == true and _root.hero._x > 700 and _root.pause == false) {
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(4);
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(25);
_root.anskiturn = true;
_root.blipturn = false;
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipturn == true and _root.hero._x < 20 and _root.pause == false) {
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(4);
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(25);
_root.anskiturn = true;
_root.blipturn = false;
}
}
}
}
}
}
instance hitbox2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and _root.anskiturn == true and _root.pause == false) {
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(4);
_root.hero.gotoAndStop(31);
_root.hero2.gotoAndStop(26);
_root.anskiturn = true;
_root.blipturn = false;
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipturn == true and _root.hero._x < 700 and _root.hero._x > 20 and _root.pause == false) {
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(4);
_root.hero.gotoAndStop(31);
_root.hero2.gotoAndStop(26);
_root.hero.swapDepths(_root.hero2);
_root.anskiturn = true;
_root.blipturn = false;
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipturn == true and _root.hero._x > 700 and _root.pause == false) {
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(4);
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(26);
_root.anskiturn = true;
_root.blipturn = false;
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipturn == true and _root.hero._x < 20 and _root.pause == false) {
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(4);
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(26);
_root.anskiturn = true;
_root.blipturn = false;
}
}
}
}
}
}
instance butterflyleftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent.butterfly)) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._x += 3;
}
}
}
frame 2 {
stop();
}
instance butterfly of movieClip 1594 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x += 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.flamebox) and _root.blipbedazzled == true and _root.pause == false) {
_root.hero2.gotoAndStop(39);
_parent.gotoAndStop(7);
} else {
if (this.hitTest(_root.hero.body.flamebox) and _root.pause == false) {
_parent.gotoAndStop(7);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.rawrbox) and _root.blipbedazzled == true and _root.pause == false) {
_root.hero2.gotoAndStop(39);
_parent.gotoAndStop(3);
} else {
if (this.hitTest(_root.hero.body.rawrbox) and _root.pause == false) {
_parent.gotoAndStop(3);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.rightbutterflywall) and _root.pause == false) {
_parent.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.rightbutterflywall) and _root.pause == false) {
_parent.gotoAndStop(1);
}
}
}
}
instance butterflyrightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent.butterfly)) {
_parent.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._x -= 3;
}
}
}
frame 3 {
stop();
}
instance butterfly of movieClip 1594 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x += 12;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.rightbutterflywall)) {
_parent.gotoAndStop(4);
} else {
if (this.hitTest(_root.fg2.rightbutterflywall)) {
_parent.gotoAndStop(4);
}
}
}
}
frame 4 {
stop();
}
instance butterfly of movieClip 1594 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x -= 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.flamebox) and _root.blipbedazzled == true and _root.pause == false) {
_root.hero2.gotoAndStop(39);
_parent.gotoAndStop(8);
} else {
if (this.hitTest(_root.hero.body.flamebox) and _root.pause == false) {
_parent.gotoAndStop(8);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.rawrbox) and _root.blipbedazzled == true and _root.pause == false) {
_root.hero2.gotoAndStop(39);
_parent.gotoAndStop(6);
} else {
if (this.hitTest(_root.hero.body.rawrbox) and _root.pause == false) {
_parent.gotoAndStop(6);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.leftbutterflywall) and _root.pause == false) {
_parent.gotoAndStop(5);
} else {
if (this.hitTest(_root.fg2.leftbutterflywall) and _root.pause == false) {
_parent.gotoAndStop(5);
}
}
}
}
instance butterflyleftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent.butterfly)) {
_parent.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._x += 3;
}
}
}
instance hitbox of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and _root.anskiturn == true and _root.pause == false) {
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(4);
_root.hero.gotoAndStop(31);
_root.hero2.gotoAndStop(25);
_root.anskiturn = true;
_root.blipturn = false;
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipturn == true and _root.hero._x < 700 and _root.hero._x > 20 and _root.pause == false) {
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(4);
_root.hero.gotoAndStop(31);
_root.hero2.gotoAndStop(25);
_root.hero.swapDepths(_root.hero2);
_root.anskiturn = true;
_root.blipturn = false;
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipturn == true and _root.hero._x > 700 and _root.pause == false) {
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(4);
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(25);
_root.anskiturn = true;
_root.blipturn = false;
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipturn == true and _root.hero._x < 20 and _root.pause == false) {
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(4);
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(25);
_root.anskiturn = true;
_root.blipturn = false;
}
}
}
}
}
}
instance hitbox2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and _root.anskiturn == true and _root.pause == false) {
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(4);
_root.hero.gotoAndStop(31);
_root.hero2.gotoAndStop(26);
_root.anskiturn = true;
_root.blipturn = false;
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipturn == true and _root.hero._x < 700 and _root.hero._x > 20 and _root.pause == false) {
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(4);
_root.hero.gotoAndStop(31);
_root.hero2.gotoAndStop(26);
_root.hero.swapDepths(_root.hero2);
_root.anskiturn = true;
_root.blipturn = false;
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipturn == true and _root.hero._x > 700 and _root.pause == false) {
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(4);
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(26);
_root.anskiturn = true;
_root.blipturn = false;
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipturn == true and _root.hero._x < 20 and _root.pause == false) {
_root.mainframe.jukebox.gotoAndStop(1);
_root.mainframe.jukebox.gotoAndStop(4);
_root.hero.gotoAndStop(15);
_root.hero2.gotoAndStop(26);
_root.anskiturn = true;
_root.blipturn = false;
}
}
}
}
}
}
frame 5 {
stop();
}
instance butterfly of movieClip 1594 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x += 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.flamebox) and _root.blipbedazzled == true and _root.pause == false) {
_root.hero2.gotoAndStop(39);
_parent.gotoAndStop(8);
} else {
if (this.hitTest(_root.hero.body.flamebox) and _root.pause == false) {
_parent.gotoAndStop(8);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.rawrbox) and _root.blipbedazzled == true and _root.pause == false) {
_root.hero2.gotoAndStop(39);
_parent.gotoAndStop(6);
} else {
if (this.hitTest(_root.hero.body.rawrbox) and _root.pause == false) {
_parent.gotoAndStop(6);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.rightbutterflywall) and _root.pause == false) {
_parent.gotoAndStop(4);
} else {
if (this.hitTest(_root.fg2.rightbutterflywall) and _root.pause == false) {
_parent.gotoAndStop(4);
}
}
}
}
instance butterflyrightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_parent.butterfly)) {
_parent.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
this._x -= 3;
}
}
}
frame 6 {
stop();
}
instance butterfly of movieClip 1594 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x -= 12;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.leftbutterflywall)) {
_parent.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.leftbutterflywall)) {
_parent.gotoAndStop(2);
}
}
}
}
frame 7 {
stop();
}
frame 8 {
stop();
}
}
movieClip 1607 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 1608 {
}
movieClip 1609 {
frame 8 {
_parent.gotoAndStop(5);
}
}
movieClip 1611 {
frame 8 {
_parent.gotoAndStop(6);
}
}
movieClip 1613 {
}
movieClip 1615 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 1616 {
frame 12 {
_parent.gotoAndStop(1);
}
}
movieClip 1617 {
frame 12 {
_parent.gotoAndStop(2);
}
}
movieClip 1618 {
frame 1 {
stop();
}
instance body of movieClip 1608 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.pause == false) {
_root.npc4whateverhero = _root.hero;
_parent.gotoAndStop(3);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.pause == false) {
_root.npc4whateverhero = _root.hero2;
_parent.gotoAndStop(3);
}
}
}
}
instance pickupboxleft of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.blipturn == true and _root.pause == false and _root.npc3hero2 == false and _root.npc5hero2 == false and _root.npc6hero2 == false and _root.blipworm == false) {
_root.spaceallowed = false;
_root.blipflower = false;
_root.blipworm = false;
_root.npc4hero2 = true;
_root.hero2.gotoAndStop(49);
_parent._x -= 1000;
_parent.gotoAndStop(11);
} else {
if (this.hitTest(_root.hero.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.anskiturn == true and _root.pause == false and _root.npc3hero == false and _root.npc5hero == false and _root.npc6hero == false and _root.anskiboxcarry == false) {
_root.spaceallowed = false;
_root.npc4hero = true;
_root.hero.gotoAndStop(51);
_parent._x -= 1000;
_parent.gotoAndStop(11);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
}
instance pickupboxright of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.blipturn == true and _root.pause == false and _root.npc3hero2 == false and _root.npc5hero2 == false and _root.npc6hero2 == false and _root.blipworm == false) {
_root.spaceallowed = false;
_root.blipflower = false;
_root.blipworm = false;
_root.npc4hero2 = true;
_root.hero2.gotoAndStop(50);
_parent._x -= 1000;
_parent.gotoAndStop(11);
} else {
if (this.hitTest(_root.hero.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.anskiturn == true and _root.pause == false and _root.npc3hero == false and _root.npc5hero == false and _root.npc6hero == false and _root.anskiboxcarry == false) {
_root.spaceallowed = false;
_root.npc4hero = true;
_root.hero.gotoAndStop(52);
_parent._x -= 1000;
_parent.gotoAndStop(11);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
}
frame 2 {
stop();
}
instance body of movieClip 1608 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.pause == false) {
_root.npc4whateverhero = _root.hero;
_parent.gotoAndStop(4);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.pause == false) {
_root.npc4whateverhero = _root.hero2;
_parent.gotoAndStop(4);
}
}
}
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
instance body of movieClip 362 {
onClipEvent (enterFrame) {
if (_root.npc4xdistance > 25 and _root.pause == false) {
_parent.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (_root.npc4xdistance < -70 and _root.pause == false) {
_parent.gotoAndStop(7);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.anskiturn == true and _root.pause == false) {
_root.npc4whateverhero = _root.hero;
_parent.gotoAndStop(3);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipturn == true and _root.pause == false) {
_root.npc4whateverhero = _root.hero2;
_parent.gotoAndStop(3);
}
}
}
}
frame 6 {
stop();
}
instance body of movieClip 362 {
onClipEvent (enterFrame) {
if (_root.npc4xdistance < -25 and _root.pause == false) {
_parent.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (_root.npc4xdistance > 70 and _root.pause == false) {
_parent.gotoAndStop(8);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.anskiturn == true and _root.pause == false) {
_root.npc4whateverhero = _root.hero;
_parent.gotoAndStop(4);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipturn == true and _root.pause == false) {
_root.npc4whateverhero = _root.hero2;
_parent.gotoAndStop(4);
}
}
}
}
frame 7 {
stop();
}
instance body of movieClip 1613 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.leftwall)) {
_parent._x -= 15;
_parent.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg1.leftwall2)) {
_parent._x -= 15;
_parent.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.leftwall)) {
_parent._x -= 15;
_parent.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.leftwall2)) {
_parent._x -= 15;
_parent.gotoAndStop(1);
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.npc4xdistance > -70 and _root.pause == false) {
_parent.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x += 12;
}
}
}
frame 8 {
stop();
}
instance body of movieClip 1613 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.rightwall)) {
_parent._x += 15;
_parent.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg1.rightwall2)) {
_parent._x += 15;
_parent.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.rightwall)) {
_parent._x += 15;
_parent.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.rightwall2)) {
_parent._x += 15;
_parent.gotoAndStop(2);
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.npc4xdistance < 70 and _root.pause == false) {
_parent.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x -= 12;
}
}
}
frame 9 {
stop();
_root.npc4velocity -= 20;
}
instance body of movieClip 1616 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x -= 6;
}
}
}
frame 10 {
stop();
_root.npc4velocity -= 20;
}
instance body of movieClip 1617 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x += 6;
}
}
}
frame 11 {
stop();
}
}
instance npc4 of movieClip 1618 {
onClipEvent (enterFrame) {
this.body.face.gotoAndStop(2);
this.body.torso.gotoAndStop(2);
}
onClipEvent (enterFrame) {
_root.npc4xdistance = _root.npc4._x - _root.npc4whateverhero._x;
}
onClipEvent (enterFrame) {
if (_root.npc4falling == true and _root.pause == false) {
_root.npc4velocity += _root.npc4gravity;
_root.npc4._y += _root.npc4velocity;
}
i = 0;
while (i < 99) {
if (_root.npc4.body.hitbox.hitTest('_root.fg1.platform' + i)) {
npc4platform = eval('_root.fg1.platform' + i);
}
if (_root.npc4.body.hitbox.hitTest('_root.fg2.platform' + i)) {
npc4platform2 = eval('_root.fg2.platform' + i);
}
++i;
}
if (_root.npc4.body.hitbox.hitTest(npc4platform) and _root.pause == false) {
if (_root.npc4falling == true) {
_root.npc4._y = npc4platform._y;
_root.npc4velocity = 0;
_root.npc4falling = false;
}
} else {
if (_root.npc4.body.hitbox.hitTest(npc4platform2) and _root.pause == false) {
if (_root.npc4falling == true) {
_root.npc4._y = npc4platform2._y;
_root.npc4velocity = 0;
_root.npc4falling = false;
}
} else {
_root.npc4falling = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.npc4._x < 0) {
_root.npc4falling = false;
}
}
onClipEvent (enterFrame) {
if (_root.npc4._x > 720) {
_root.npc4falling = false;
}
}
}
movieClip 1619 {
frame 1 {
stop();
}
instance body of movieClip 1608 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.pause == false) {
_root.npc5whateverhero = _root.hero;
_parent.gotoAndStop(3);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.pause == false) {
_root.npc5whateverhero = _root.hero2;
_parent.gotoAndStop(3);
}
}
}
}
instance pickupboxleft of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.blipturn == true and _root.pause == false and _root.npc3hero2 == false and _root.npc4hero2 == false and _root.npc6hero2 == false and _root.blipworm == false) {
_root.spaceallowed = false;
_root.blipflower = false;
_root.blipworm = false;
_root.npc5hero2 = true;
_root.hero2.gotoAndStop(49);
_parent._x -= 1000;
_parent.gotoAndStop(11);
} else {
if (this.hitTest(_root.hero.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.anskiturn == true and _root.pause == false and _root.npc3hero == false and _root.npc4hero == false and _root.npc6hero == false and _root.anskiboxcarry == false) {
_root.spaceallowed = false;
_root.npc5hero = true;
_root.hero.gotoAndStop(51);
_parent._x -= 1000;
_parent.gotoAndStop(11);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
}
instance pickupboxright of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.blipturn == true and _root.pause == false and _root.npc3hero2 == false and _root.npc4hero2 == false and _root.npc6hero2 == false and _root.blipworm == false) {
_root.spaceallowed = false;
_root.blipflower = false;
_root.blipworm = false;
_root.npc5hero2 = true;
_root.hero2.gotoAndStop(50);
_parent._x -= 1000;
_parent.gotoAndStop(11);
} else {
if (this.hitTest(_root.hero.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.anskiturn == true and _root.pause == false and _root.npc3hero == false and _root.npc4hero == false and _root.npc6hero == false and _root.anskiboxcarry == false) {
_root.spaceallowed = false;
_root.npc5hero = true;
_root.hero.gotoAndStop(52);
_parent._x -= 1000;
_parent.gotoAndStop(11);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
}
frame 2 {
stop();
}
instance body of movieClip 1608 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.pause == false) {
_root.npc5whateverhero = _root.hero;
_parent.gotoAndStop(4);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.pause == false) {
_root.npc5whateverhero = _root.hero2;
_parent.gotoAndStop(4);
}
}
}
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
instance body of movieClip 362 {
onClipEvent (enterFrame) {
if (_root.npc5xdistance > 25 and _root.pause == false) {
_parent.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (_root.npc5xdistance < -90 and _root.pause == false) {
_parent.gotoAndStop(7);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.anskiturn == true and _root.pause == false) {
_root.npc5whateverhero = _root.hero;
_parent.gotoAndStop(3);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipturn == true and _root.pause == false) {
_root.npc5whateverhero = _root.hero2;
_parent.gotoAndStop(3);
}
}
}
}
frame 6 {
stop();
}
instance body of movieClip 362 {
onClipEvent (enterFrame) {
if (_root.npc5xdistance < -25 and _root.pause == false) {
_parent.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (_root.npc5xdistance > 90 and _root.pause == false) {
_parent.gotoAndStop(8);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.anskiturn == true and _root.pause == false) {
_root.npc5whateverhero = _root.hero;
_parent.gotoAndStop(4);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipturn == true and _root.pause == false) {
_root.npc5whateverhero = _root.hero2;
_parent.gotoAndStop(4);
}
}
}
}
frame 7 {
stop();
}
instance body of movieClip 1613 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.leftwall)) {
_parent._x -= 10;
_parent.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg1.leftwall2)) {
_parent._x -= 10;
_parent.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.leftwall)) {
_parent._x -= 10;
_parent.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.leftwall2)) {
_parent._x -= 10;
_parent.gotoAndStop(1);
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.npc5xdistance > -90 and _root.pause == false) {
_parent.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x += 12;
}
}
}
frame 8 {
stop();
}
instance body of movieClip 1613 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.rightwall)) {
_parent._x += 10;
_parent.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg1.rightwall2)) {
_parent._x += 10;
_parent.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.rightwall)) {
_parent._x += 10;
_parent.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.rightwall2)) {
_parent._x += 10;
_parent.gotoAndStop(2);
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.npc5xdistance < 90 and _root.pause == false) {
_parent.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x -= 12;
}
}
}
frame 9 {
stop();
_root.npc5velocity -= 20;
}
instance body of movieClip 1616 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x -= 6;
}
}
}
frame 10 {
stop();
_root.npc5velocity -= 20;
}
instance body of movieClip 1617 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x += 6;
}
}
}
frame 11 {
stop();
}
}
instance npc5 of movieClip 1619 {
onClipEvent (enterFrame) {
this.body.face.gotoAndStop(3);
this.body.torso.gotoAndStop(3);
}
onClipEvent (enterFrame) {
_root.npc5xdistance = _root.npc5._x - _root.npc5whateverhero._x;
}
onClipEvent (enterFrame) {
if (_root.npc5falling == true and _root.pause == false) {
_root.npc5velocity += _root.npc5gravity;
_root.npc5._y += _root.npc5velocity;
}
i = 0;
while (i < 99) {
if (_root.npc5.body.hitbox.hitTest('_root.fg1.platform' + i)) {
npc5platform = eval('_root.fg1.platform' + i);
}
if (_root.npc5.body.hitbox.hitTest('_root.fg2.platform' + i)) {
npc5platform2 = eval('_root.fg2.platform' + i);
}
++i;
}
if (_root.npc5.body.hitbox.hitTest(npc5platform) and _root.pause == false) {
if (_root.npc5falling == true) {
_root.npc5._y = npc5platform._y;
_root.npc5velocity = 0;
_root.npc5falling = false;
}
} else {
if (_root.npc5.body.hitbox.hitTest(npc5platform2) and _root.pause == false) {
if (_root.npc5falling == true) {
_root.npc5._y = npc5platform2._y;
_root.npc5velocity = 0;
_root.npc5falling = false;
}
} else {
_root.npc5falling = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.npc5._x < 0) {
_root.npc5falling = false;
}
}
onClipEvent (enterFrame) {
if (_root.npc5._x > 720) {
_root.npc5falling = false;
}
}
}
movieClip 1620 {
frame 1 {
stop();
}
instance body of movieClip 1608 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.pause == false) {
_root.npc6whateverhero = _root.hero;
_parent.gotoAndStop(3);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.pause == false) {
_root.npc6whateverhero = _root.hero2;
_parent.gotoAndStop(3);
}
}
}
}
instance pickupboxleft of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.blipturn == true and _root.pause == false and _root.npc3hero2 == false and _root.npc4hero2 == false and _root.npc5hero2 == false and _root.blipworm == false) {
_root.spaceallowed = false;
_root.blipflower = false;
_root.blipworm = false;
_root.npc6hero2 = true;
_root.hero2.gotoAndStop(49);
_parent._x -= 1000;
_parent.gotoAndStop(11);
} else {
if (this.hitTest(_root.hero.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.anskiturn == true and _root.pause == false and _root.npc3hero == false and _root.npc4hero == false and _root.npc5hero == false and _root.anskiboxcarry == false) {
_root.spaceallowed = false;
_root.npc6hero = true;
_root.hero.gotoAndStop(51);
_parent._x -= 1000;
_parent.gotoAndStop(11);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
}
instance pickupboxright of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.blipturn == true and _root.pause == false and _root.npc3hero2 == false and _root.npc4hero2 == false and _root.npc5hero2 == false and _root.blipworm == false) {
_root.spaceallowed = false;
_root.blipflower = false;
_root.blipworm = false;
_root.npc6hero2 = true;
_root.hero2.gotoAndStop(50);
_parent._x -= 1000;
_parent.gotoAndStop(11);
} else {
if (this.hitTest(_root.hero.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.anskiturn == true and _root.pause == false and _root.npc3hero == false and _root.npc4hero == false and _root.npc5hero == false and _root.anskiboxcarry == false) {
_root.spaceallowed = false;
_root.npc6hero = true;
_root.hero.gotoAndStop(52);
_parent._x -= 1000;
_parent.gotoAndStop(11);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
}
frame 2 {
stop();
}
instance body of movieClip 1608 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.pause == false) {
_root.npc6whateverhero = _root.hero;
_parent.gotoAndStop(4);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.pause == false) {
_root.npc6whateverhero = _root.hero2;
_parent.gotoAndStop(4);
}
}
}
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
instance body of movieClip 362 {
onClipEvent (enterFrame) {
if (_root.npc6xdistance > 25 and _root.pause == false) {
_parent.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (_root.npc6xdistance < -110 and _root.pause == false) {
_parent.gotoAndStop(7);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.anskiturn == true and _root.pause == false) {
_root.npc6whateverhero = _root.hero;
_parent.gotoAndStop(3);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipturn == true and _root.pause == false) {
_root.npc6whateverhero = _root.hero2;
_parent.gotoAndStop(3);
}
}
}
}
frame 6 {
stop();
}
instance body of movieClip 362 {
onClipEvent (enterFrame) {
if (_root.npc6xdistance < -25 and _root.pause == false) {
_parent.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (_root.npc6xdistance > 110 and _root.pause == false) {
_parent.gotoAndStop(8);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.anskiturn == true and _root.pause == false) {
_root.npc6whateverhero = _root.hero;
_parent.gotoAndStop(4);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipturn == true and _root.pause == false) {
_root.npc6whateverhero = _root.hero2;
_parent.gotoAndStop(4);
}
}
}
}
frame 7 {
stop();
}
instance body of movieClip 1613 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.leftwall)) {
_parent._x -= 5;
_parent.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg1.leftwall2)) {
_parent._x -= 5;
_parent.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.leftwall)) {
_parent._x -= 5;
_parent.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.leftwall2)) {
_parent._x -= 5;
_parent.gotoAndStop(1);
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.npc6xdistance > -110 and _root.pause == false) {
_parent.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x += 12;
}
}
}
frame 8 {
stop();
}
instance body of movieClip 1613 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.rightwall)) {
_parent._x += 5;
_parent.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg1.rightwall2)) {
_parent._x += 5;
_parent.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.rightwall)) {
_parent._x += 5;
_parent.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.rightwall2)) {
_parent._x += 5;
_parent.gotoAndStop(2);
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.npc6xdistance < 110 and _root.pause == false) {
_parent.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x -= 12;
}
}
}
frame 9 {
stop();
_root.npc6velocity -= 20;
}
instance body of movieClip 1616 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x -= 6;
}
}
}
frame 10 {
stop();
_root.npc6velocity -= 20;
}
instance body of movieClip 1617 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x += 6;
}
}
}
frame 11 {
stop();
}
}
instance npc6 of movieClip 1620 {
onClipEvent (enterFrame) {
this.body.face.gotoAndStop(4);
this.body.torso.gotoAndStop(4);
}
onClipEvent (enterFrame) {
_root.npc6xdistance = _root.npc6._x - _root.npc6whateverhero._x;
}
onClipEvent (enterFrame) {
if (_root.npc6falling == true and _root.pause == false) {
_root.npc6velocity += _root.npc6gravity;
_root.npc6._y += _root.npc6velocity;
}
i = 0;
while (i < 99) {
if (_root.npc6.body.hitbox.hitTest('_root.fg1.platform' + i)) {
npc6platform = eval('_root.fg1.platform' + i);
}
if (_root.npc6.body.hitbox.hitTest('_root.fg2.platform' + i)) {
npc6platform2 = eval('_root.fg2.platform' + i);
}
++i;
}
if (_root.npc6.body.hitbox.hitTest(npc6platform) and _root.pause == false) {
if (_root.npc6falling == true) {
_root.npc6._y = npc6platform._y;
_root.npc6velocity = 0;
_root.npc6falling = false;
}
} else {
if (_root.npc6.body.hitbox.hitTest(npc6platform2) and _root.pause == false) {
if (_root.npc6falling == true) {
_root.npc6._y = npc6platform2._y;
_root.npc6velocity = 0;
_root.npc6falling = false;
}
} else {
_root.npc6falling = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.npc6._x < 0) {
_root.npc6falling = false;
}
}
onClipEvent (enterFrame) {
if (_root.npc6._x > 720) {
_root.npc6falling = false;
}
}
}
movieClip 1622 {
frame 1 {
_root.birdsteps += 1;
}
}
movieClip 1623 {
frame 1 {
_root.birdsteps2 += 1;
}
}
movieClip 1638 {
frame 15 {
if (_root.birdfacingleft == true) {
_parent.gotoAndStop(1);
} else {
if (_root.birdfacingleft == false) {
_parent.gotoAndStop(2);
}
}
}
}
movieClip 1639 {
frame 15 {
if (_root.birdfacingleft == true) {
_parent.gotoAndStop(1);
} else {
if (_root.birdfacingleft == false) {
_parent.gotoAndStop(2);
}
}
}
}
movieClip 1644 {
frame 1 {
_root.blipworm = false;
_root.wormeaten = true;
}
frame 15 {
_parent.gotoAndStop(7);
}
}
movieClip 1645 {
frame 1 {
_root.blipworm = false;
_root.wormeaten = true;
}
frame 15 {
_parent.gotoAndStop(8);
}
}
movieClip 1660 {
}
movieClip 1683 {
frame 75 {
if (_root.birdfacingleft == true) {
_parent.gotoAndStop(1);
} else {
if (_root.birdfacingleft == false) {
_parent.gotoAndStop(2);
}
}
}
}
movieClip 1686 {
frame 75 {
if (_root.birdfacingleft == true) {
_parent.gotoAndStop(1);
} else {
if (_root.birdfacingleft == false) {
_parent.gotoAndStop(2);
}
}
}
}
movieClip 1687 {
frame 1 {
_root.birdsteps += 1;
}
}
movieClip 1688 {
frame 1 {
_root.birdsteps2 += 1;
}
}
movieClip 1689 {
frame 1 {
stop();
_root.birdfacingleft = true;
}
instance body of movieClip 1622 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x -= 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.flamebox) and _root.pause == false) {
_parent.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (_root.birdsteps == 4) {
_root.birdsteps = 0;
_parent.gotoAndStop(2);
}
}
}
instance hitbox of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and _root.blipworm == true) {
_parent.gotoAndStop(5);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipworm == false) {
_parent.gotoAndStop(3);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc3)) {
_parent.gotoAndStop(3);
} else {
if (this.hitTest(_root.npc4)) {
_parent.gotoAndStop(3);
} else {
if (this.hitTest(_root.npc5)) {
_parent.gotoAndStop(3);
} else {
if (this.hitTest(_root.npc6)) {
_parent.gotoAndStop(3);
}
}
}
}
}
}
instance hitbox2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and _root.blipworm == true) {
_parent.gotoAndStop(6);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipworm == false) {
_parent.gotoAndStop(4);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_parent.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc3)) {
_parent.gotoAndStop(4);
} else {
if (this.hitTest(_root.npc4)) {
_parent.gotoAndStop(4);
} else {
if (this.hitTest(_root.npc5)) {
_parent.gotoAndStop(4);
} else {
if (this.hitTest(_root.npc6)) {
_parent.gotoAndStop(4);
}
}
}
}
}
}
frame 2 {
stop();
_root.birdfacingleft = false;
}
instance body of movieClip 1623 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x += 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.flamebox) and _root.pause == false) {
_parent.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (_root.birdsteps2 == 4) {
_root.birdsteps2 = 0;
_parent.gotoAndStop(1);
}
}
}
frame 3 {
stop();
}
instance body of movieClip 1638 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.flamebox) and _root.pause == false) {
_parent.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
this.beak.gotoAndStop(2);
}
}
instance hitbox of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.hero.gotoAndStop(23);
_root.hero._x -= 14;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.hero2.gotoAndStop(33);
_root.hero2._x -= 14;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc3)) {
_root.npc3.gotoAndStop(9);
_root.npc3._x -= 14;
}
if (this.hitTest(_root.npc4)) {
_root.npc4.gotoAndStop(9);
_root.npc4._x -= 14;
}
if (this.hitTest(_root.npc5)) {
_root.npc5.gotoAndStop(9);
_root.npc5._x -= 14;
}
if (this.hitTest(_root.npc6)) {
_root.npc6.gotoAndStop(9);
_root.npc6._x -= 14;
}
}
}
frame 4 {
stop();
}
instance body of movieClip 1639 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.flamebox) and _root.pause == false) {
_parent.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
this.beak.gotoAndStop(2);
}
}
instance hitbox2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.hero.gotoAndStop(24);
_root.hero._x += 14;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.hero2.gotoAndStop(34);
_root.hero._x += 14;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc3)) {
_root.npc3.gotoAndStop(10);
_root.npc3._x += 14;
}
if (this.hitTest(_root.npc4)) {
_root.npc4.gotoAndStop(10);
_root.npc4._x += 14;
}
if (this.hitTest(_root.npc5)) {
_root.npc5.gotoAndStop(10);
_root.npc5._x += 14;
}
if (this.hitTest(_root.npc6)) {
_root.npc6.gotoAndStop(10);
_root.npc6._x += 14;
}
}
}
frame 5 {
stop();
}
instance body of movieClip 1644 {
onClipEvent (enterFrame) {
this.beak.gotoAndStop(3);
}
}
frame 6 {
stop();
}
instance body of movieClip 1645 {
onClipEvent (enterFrame) {
this.beak.gotoAndStop(3);
}
}
frame 7 {
stop();
}
instance body of movieClip 1660 {
onClipEvent (enterFrame) {
this.beak.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.npc7falling = false;
_parent._x -= 3;
_parent._y -= 4;
}
}
onClipEvent (enterFrame) {
if (this.hitbox.hitTest(_root.mainframe.topborder)) {
_parent.gotoAndStop(11);
}
}
}
frame 8 {
stop();
}
instance body of movieClip 1660 {
onClipEvent (enterFrame) {
this.beak.gotoAndStop(3);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.npc7falling = false;
_parent._x += 3;
_parent._y -= 4;
}
}
onClipEvent (enterFrame) {
if (this.hitbox.hitTest(_root.mainframe.topborder)) {
_parent.gotoAndStop(11);
}
}
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
_root.birdfacingleft = true;
}
instance body of movieClip 1687 {
onClipEvent (enterFrame) {
this.beak.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x -= 5;
}
}
onClipEvent (enterFrame) {
if (_root.birdsteps == 4) {
_root.birdsteps = 0;
_parent._x -= 50;
_parent.gotoAndStop(13);
}
}
}
instance hitbox of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.hero.gotoAndStop(23);
_root.hero._x -= 14;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.hero2.gotoAndStop(33);
_root.hero2._x -= 14;
}
}
}
instance hitbox2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.hero.gotoAndStop(24);
_root.hero._x += 14;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.hero2.gotoAndStop(34);
_root.hero._x += 14;
}
}
}
frame 13 {
stop();
_root.birdfacingleft = false;
}
instance body of movieClip 1688 {
onClipEvent (enterFrame) {
this.beak.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x += 5;
}
}
onClipEvent (enterFrame) {
if (_root.birdsteps2 == 4) {
_root.birdsteps2 = 0;
_parent._x += 50;
_parent.gotoAndStop(12);
}
}
}
instance hitbox2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.hero.gotoAndStop(24);
_root.hero._x += 14;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.hero2.gotoAndStop(34);
_root.hero._x += 14;
}
}
}
frame 14 {
stop();
_root.birdfacingleft = false;
_root.birdsteps = 0;
_root.birdsteps2 = 0;
}
instance body of movieClip 1688 {
onClipEvent (enterFrame) {
this.beak.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_root.npc7falling = false;
_parent._x += 6;
_parent._y -= 4;
}
}
onClipEvent (enterFrame) {
if (this.hitbox.hitTest(_root.mainframe.topborder)) {
_parent.gotoAndStop(11);
}
}
}
}
instance npc7 of movieClip 1689 {
onClipEvent (enterFrame) {
if (_root.npc7falling == true and _root.pause == false) {
_root.npc7velocity += _root.npc7gravity;
_root.npc7._y += _root.npc7velocity;
}
i = 0;
while (i < 99) {
if (_root.npc7.body.hitbox.hitTest('_root.fg1.platform' + i)) {
npc7platform = eval('_root.fg1.platform' + i);
}
if (_root.npc7.body.hitbox.hitTest('_root.fg2.platform' + i)) {
npc7platform2 = eval('_root.fg2.platform' + i);
}
++i;
}
if (_root.npc7.body.hitbox.hitTest(npc7platform) and _root.pause == false) {
if (_root.npc7falling == true) {
_root.npc7._y = npc7platform._y;
_root.npc7velocity = 0;
_root.npc7falling = false;
}
} else {
if (_root.npc7.body.hitbox.hitTest(npc7platform2) and _root.pause == false) {
if (_root.npc7falling == true) {
_root.npc7._y = npc7platform2._y;
_root.npc7velocity = 0;
_root.npc7falling = false;
}
} else {
_root.npc7falling = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.npc7._x < 0) {
_root.npc7falling = false;
}
}
onClipEvent (enterFrame) {
if (_root.npc7._x > 720) {
_root.npc7falling = false;
}
}
}
movieClip 1690 {
frame 1 {
stop();
}
instance body of movieClip 1608 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.pause == false) {
_root.npc3whateverhero = _root.hero;
_parent.gotoAndStop(3);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.pause == false) {
_root.npc3whateverhero = _root.hero2;
_parent.gotoAndStop(3);
}
}
}
}
instance pickupboxleft of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.blipturn == true and _root.pause == false and _root.npc4hero2 == false and _root.npc5hero2 == false and _root.npc6hero2 == false and _root.blipworm == false) {
_root.spaceallowed = false;
_root.blipflower = false;
_root.blipworm = false;
_root.npc3hero2 = true;
_root.hero2.gotoAndStop(49);
_parent._x -= 1000;
_parent.gotoAndStop(11);
} else {
if (this.hitTest(_root.hero.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.anskiturn == true and _root.pause == false and _root.npc4hero == false and _root.npc5hero == false and _root.npc6hero == false and _root.anskiboxcarry == false) {
_root.spaceallowed = false;
_root.npc3hero = true;
_root.hero.gotoAndStop(51);
_parent._x -= 1000;
_parent.gotoAndStop(11);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
}
instance pickupboxright of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.blipturn == true and _root.pause == false and _root.npc4hero2 == false and _root.npc5hero2 == false and _root.npc6hero2 == false and _root.blipworm == false) {
_root.spaceallowed = false;
_root.blipflower = false;
_root.blipworm = false;
_root.npc3hero2 = true;
_root.hero2.gotoAndStop(50);
_parent._x -= 1000;
_parent.gotoAndStop(11);
} else {
if (this.hitTest(_root.hero.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.anskiturn == true and _root.pause == false and _root.npc4hero == false and _root.npc5hero == false and _root.npc6hero == false and _root.anskiboxcarry == false) {
_root.spaceallowed = false;
_root.npc3hero = true;
_root.hero.gotoAndStop(52);
_parent._x -= 1000;
_parent.gotoAndStop(11);
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
}
frame 2 {
stop();
}
instance body of movieClip 1608 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.pause == false) {
_root.npc3whateverhero = _root.hero;
_parent.gotoAndStop(4);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.pause == false) {
_root.npc3whateverhero = _root.hero2;
_parent.gotoAndStop(4);
}
}
}
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
instance body of movieClip 362 {
onClipEvent (enterFrame) {
if (_root.npc3xdistance > 25 and _root.pause == false) {
_parent.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (_root.npc3xdistance < -50 and _root.pause == false) {
_parent.gotoAndStop(7);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.anskiturn == true and _root.pause == false) {
_root.npc3whateverhero = _root.hero;
_parent.gotoAndStop(3);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipturn == true and _root.pause == false) {
_root.npc3whateverhero = _root.hero2;
_parent.gotoAndStop(3);
}
}
}
}
frame 6 {
stop();
}
instance body of movieClip 362 {
onClipEvent (enterFrame) {
if (_root.npc3xdistance < -25 and _root.pause == false) {
_parent.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (_root.npc3xdistance > 50 and _root.pause == false) {
_parent.gotoAndStop(8);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.anskiturn == true and _root.pause == false) {
_root.npc3whateverhero = _root.hero;
_parent.gotoAndStop(4);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.blipturn == true and _root.pause == false) {
_root.npc3whateverhero = _root.hero2;
_parent.gotoAndStop(4);
}
}
}
}
frame 7 {
stop();
}
instance body of movieClip 1613 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.leftwall)) {
_parent._x -= 20;
_parent.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg1.leftwall2)) {
_parent._x -= 20;
_parent.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.leftwall)) {
_parent._x -= 20;
_parent.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.leftwall2)) {
_parent._x -= 20;
_parent.gotoAndStop(1);
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.npc3xdistance > -50 and _root.pause == false) {
_parent.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x += 12;
}
}
}
frame 8 {
stop();
}
instance body of movieClip 1613 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.rightwall)) {
_parent._x += 20;
_parent.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg1.rightwall2)) {
_parent._x += 20;
_parent.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.rightwall)) {
_parent._x += 20;
_parent.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.rightwall2)) {
_parent._x += 20;
_parent.gotoAndStop(2);
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.npc3xdistance < 50 and _root.pause == false) {
_parent.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x -= 12;
}
}
}
frame 9 {
stop();
_root.npc3velocity -= 20;
}
instance body of movieClip 1616 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x -= 6;
}
}
}
frame 10 {
stop();
_root.npc3velocity -= 20;
}
instance body of movieClip 1617 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x += 6;
}
}
}
frame 11 {
stop();
}
}
instance npc3 of movieClip 1690 {
onClipEvent (enterFrame) {
_root.npc3xdistance = _root.npc3._x - _root.npc3whateverhero._x;
}
onClipEvent (enterFrame) {
if (_root.npc3falling == true and _root.pause == false) {
_root.npc3velocity += _root.npc3gravity;
_root.npc3._y += _root.npc3velocity;
}
i = 0;
while (i < 99) {
if (_root.npc3.body.hitbox.hitTest('_root.fg1.platform' + i)) {
npc3platform = eval('_root.fg1.platform' + i);
}
if (_root.npc3.body.hitbox.hitTest('_root.fg2.platform' + i)) {
npc3platform2 = eval('_root.fg2.platform' + i);
}
++i;
}
if (_root.npc3.body.hitbox.hitTest(npc3platform) and _root.pause == false) {
if (_root.npc3falling == true) {
_root.npc3._y = npc3platform._y;
_root.npc3velocity = 0;
_root.npc3falling = false;
}
} else {
if (_root.npc3.body.hitbox.hitTest(npc3platform2) and _root.pause == false) {
if (_root.npc3falling == true) {
_root.npc3._y = npc3platform2._y;
_root.npc3velocity = 0;
_root.npc3falling = false;
}
} else {
_root.npc3falling = true;
}
}
}
onClipEvent (enterFrame) {
if (_root.npc3._x < 0) {
_root.npc3falling = false;
}
}
onClipEvent (enterFrame) {
if (_root.npc3._x > 720) {
_root.npc3falling = false;
}
}
}
movieClip 1691 {
}
movieClip 1703 {
}
movieClip 1709 {
frame 75 {
_parent.gotoAndStop(1);
}
}
movieClip 1717 {
frame 75 {
_parent.gotoAndStop(2);
}
}
movieClip 1718 {
frame 1 {
stop();
}
instance body of movieClip 374 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x += 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.flamebox)) {
_parent.gotoAndStop(3);
}
}
}
instance hitbox of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.hero.gotoAndStop(21);
}
}
}
instance hitbox2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.hero.gotoAndStop(22);
}
}
}
frame 2 {
stop();
}
instance body of movieClip 374 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x -= 1;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.flamebox)) {
_parent.gotoAndStop(4);
}
}
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 1735 {
}
movieClip 1740 {
}
movieClip 1755 {
}
movieClip 1771 {
frame 7 {
_parent.gotoAndStop(1);
}
}
movieClip 1779 {
frame 7 {
_parent.gotoAndStop(2);
}
}
movieClip 1801 {
frame 75 {
_parent.gotoAndStop(1);
}
}
movieClip 1804 {
frame 75 {
_parent.gotoAndStop(2);
}
}
movieClip 1805 {
frame 1 {
stop();
}
instance body of movieClip 1755 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x -= 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.flamebox) and _root.pause == false) {
_parent.gotoAndStop(5);
}
}
}
instance hitbox of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_parent.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_parent.gotoAndStop(3);
}
}
}
instance hitbox2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_parent.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_parent.gotoAndStop(4);
}
}
}
frame 2 {
stop();
}
instance body of movieClip 1755 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x += 3;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.flamebox) and _root.pause == false) {
_parent.gotoAndStop(6);
}
}
}
instance hitbox2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_parent.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_parent.gotoAndStop(4);
}
}
}
frame 3 {
stop();
}
instance body of movieClip 1771 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.flamebox) and _root.pause == false) {
_parent.gotoAndStop(5);
}
}
}
instance hitbox of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.hero.gotoAndStop(23);
_root.hero._x -= 14;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.hero2.gotoAndStop(33);
_root.hero2._x -= 14;
}
}
}
frame 4 {
stop();
}
instance body of movieClip 1779 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.flamebox) and _root.pause == false) {
_parent.gotoAndStop(6);
}
}
}
instance hitbox2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.hero.gotoAndStop(24);
_root.hero._x += 14;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.hero2.gotoAndStop(34);
_root.hero2._x += 14;
}
}
}
frame 5 {
stop();
}
frame 6 {
stop();
}
}
movieClip 1837 {
}
movieClip 1864 {
frame 89 {
_parent.gotoAndStop(1);
}
}
movieClip 1865 {
frame 1 {
stop();
}
instance pickupboxleft of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.anskiturn == true and _root.pause == false) {
_root.spaceallowed = false;
_root.hero.gotoAndStop(46);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.blipturn == true and _root.blipflower == false and _root.pause == false) {
_root.spaceallowed = false;
_root.blipworm = false;
_root.blipflower = true;
_root.hero2.gotoAndStop(42);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
}
instance pickupboxright of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.anskiturn == true and _root.pause == false) {
_root.spaceallowed = false;
_root.hero.gotoAndStop(47);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.blipturn == true and _root.blipflower == false and _root.pause == false) {
_root.spaceallowed = false;
_root.blipworm = false;
_root.blipflower = true;
_root.hero2.gotoAndStop(43);
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
}
frame 2 {
stop();
}
}
movieClip 1870 {
frame 1 {
stop();
}
instance hitbox of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox2) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc2.body) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
}
frame 2 {
stop();
_root.fg1.platform3.gotoAndStop(2);
_root.fg2.platform3.gotoAndStop(2);
}
instance hitbox of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.pause == false) {
_parent.gotoAndStop(2);
} else {
if (this.hitTest(_root.hero2.hitbox) and _root.pause == false) {
_parent.gotoAndStop(2);
} else {
if (this.hitTest(_root.hero2.hitbox2) and _root.pause == false) {
_parent.gotoAndStop(2);
} else {
if (this.hitTest(_root.npc2.body) and _root.pause == false) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(3);
}
}
}
}
}
}
frame 3 {
stop();
_root.fg1.platform3.gotoAndStop(3);
_root.fg2.platform3.gotoAndStop(3);
}
instance hitbox of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox2) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc2.body) and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
}
}
movieClip 1872 {
}
movieClip 1874 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 67 {
onClipEvent (enterFrame) {
if (_root.pause == false and _parent.platform._x >= -110) {
_parent.platform._x -= 6;
}
}
}
frame 3 {
stop();
}
instance of movieClip 67 {
onClipEvent (enterFrame) {
if (_root.pause == false and _parent.platform._x <= 0) {
_parent.platform._x += 1;
} else {
if (_root.pause == false and _parent.platform._x >= 0) {
_parent.gotoAndStop(1);
}
}
}
}
}
movieClip 1878 {
}
movieClip 1880 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 67 {
onClipEvent (enterFrame) {
if (_root.pause == false and _parent.platform._x >= -120) {
_parent.platform._x -= 20;
}
}
}
frame 3 {
stop();
}
instance of movieClip 67 {
onClipEvent (enterFrame) {
if (_root.pause == false and _parent.platform._x <= 0) {
_parent.platform._x += 20;
} else {
if (_root.pause == false and _parent.platform._x >= 0) {
_parent.gotoAndStop(1);
}
}
}
}
}
movieClip 1891 {
frame 1 {
_root.wormspeed = 2;
}
frame 9 {
_root.wormspeed = 1;
}
frame 15 {
_root.wormspeed = 0;
}
}
movieClip 1915 {
frame 38 {
_parent.gotoAndStop(5);
}
}
movieClip 1924 {
frame 38 {
_parent.gotoAndStop(5);
}
}
movieClip 1925 {
frame 1 {
stop();
}
instance body of movieClip 1891 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x += _root.wormspeed;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.flamebox)) {
_parent.gotoAndStop(3);
}
}
}
instance hitbox of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.hero.gotoAndStop(21);
}
}
}
instance hitbox2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.hero.gotoAndStop(22);
}
}
}
instance pickupboxleft of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.blipturn == true and _root.pause == false) {
_root.spaceallowed = false;
_root.blipflower = false;
_root.blipworm = true;
_root.hero2.gotoAndStop(45);
_parent.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
}
instance pickupboxright of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and Key.isDown(32) and _root.spaceallowed == true and _root.blipturn == true and _root.pause == false) {
_root.spaceallowed = false;
_root.blipflower = false;
_root.blipworm = true;
_root.hero2.gotoAndStop(46);
_parent.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (Key.isDown(32) == false) {
_root.spaceallowed = true;
}
}
}
frame 2 {
stop();
}
instance body of movieClip 1891 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x -= _root.wormspeed;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.flamebox)) {
_parent.gotoAndStop(4);
}
}
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 1931 {
frame 28 {
stop();
_root.bridge = true;
}
}
movieClip 1932 {
frame 28 {
stop();
_root.bridge = true;
if (_root.fg1.platform1.hitTest(_root.hero2.body.hitbox) and _root.blipturn == false) {
_root.hero2.gotoAndStop(9);
} else {
if (_root.fg1.platform2.hitTest(_root.hero2.body.hitbox) and _root.blipturn == false) {
_root.hero2.gotoAndStop(10);
}
}
}
}
movieClip 1933 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 1935 {
}
movieClip 1938 {
frame 6 {
stop();
_root.leverpulled = true;
_root.fg1.platform4.gotoAndStop(2);
_root.fg2.platform4.gotoAndStop(2);
}
frame 53 {
_root.fg1.platform4.gotoAndStop(3);
_root.fg2.platform4.gotoAndStop(3);
_parent.gotoAndStop(1);
}
}
movieClip 1939 {
frame 1 {
stop();
}
instance hitbox of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox) and Key.isDown(32) and _root.anskiturn == true and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and Key.isDown(32) and _root.blipturn == true and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1945 {
frame 1 {
_root.puffyspeed = 0;
}
frame 1 {
_parent.puffy = Math.ceil(Math.random() * 3);
}
frame 6 {
_root.puffyspeed = 3;
}
frame 14 {
_root.puffyspeed = 1;
}
frame 18 {
if (_parent.puffy == 3 and _root.pause == false) {
_parent.gotoAndStop(3);
}
}
}
movieClip 1948 {
instance hitbox of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.hero.gotoAndStop(23);
_root.hero._x -= 14;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.hero2.gotoAndStop(33);
_root.hero2._x -= 14;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc3)) {
_root.npc3.gotoAndStop(9);
_root.npc3._x -= 14;
}
if (this.hitTest(_root.npc4)) {
_root.npc4.gotoAndStop(9);
_root.npc4._x -= 14;
}
if (this.hitTest(_root.npc5)) {
_root.npc5.gotoAndStop(9);
_root.npc5._x -= 14;
}
if (this.hitTest(_root.npc6)) {
_root.npc6.gotoAndStop(9);
_root.npc6._x -= 14;
}
}
}
instance hitbox2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.hero.gotoAndStop(24);
_root.hero._x += 14;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.hero2.gotoAndStop(34);
_root.hero._x += 14;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc3)) {
_root.npc3.gotoAndStop(10);
_root.npc3._x += 14;
}
if (this.hitTest(_root.npc4)) {
_root.npc4.gotoAndStop(10);
_root.npc4._x += 14;
}
if (this.hitTest(_root.npc5)) {
_root.npc5.gotoAndStop(10);
_root.npc5._x += 14;
}
if (this.hitTest(_root.npc6)) {
_root.npc6.gotoAndStop(10);
_root.npc6._x += 14;
}
}
}
frame 37 {
_parent.gotoAndStop(1);
}
}
movieClip 1950 {
frame 69 {
_parent.gotoAndStop(1);
}
}
movieClip 1951 {
frame 1 {
stop();
}
instance body of movieClip 1945 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x += _root.puffyspeed;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.flamebox) and _root.pause == false) {
_parent.gotoAndStop(4);
}
}
}
frame 2 {
stop();
}
instance body of movieClip 1945 {
onClipEvent (enterFrame) {
if (_root.pause == false) {
_parent._x -= _root.puffyspeed;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.flamebox) and _root.pause == false) {
_parent.gotoAndStop(4);
}
}
}
frame 3 {
stop();
}
instance body2 of movieClip 1948 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.flamebox) and _root.pause == false) {
_parent.gotoAndStop(4);
}
}
}
frame 4 {
stop();
}
}
movieClip 1958 {
frame 1 {
_parent.puffy = Math.ceil(Math.random() * 3);
}
frame 9 {
if (_parent.puffy == 3 and _root.pause == false) {
_parent.gotoAndStop(2);
}
}
}
movieClip 1959 {
frame 1 {
stop();
}
instance body of movieClip 1958 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.flamebox) and _root.pause == false) {
_parent.gotoAndStop(3);
}
}
}
frame 2 {
stop();
}
instance body of movieClip 1948 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.body.flamebox) and _root.pause == false) {
_parent.gotoAndStop(3);
}
}
}
frame 3 {
stop();
}
}
movieClip 1983 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 67 {
onClipEvent (enterFrame) {
if (_root.pause == false and _parent.platform._x < 250) {
_parent.platform._x += 10;
}
}
}
frame 3 {
stop();
}
instance of movieClip 67 {
onClipEvent (enterFrame) {
if (_root.pause == false and _parent.platform._x >= 0) {
_parent.platform._x -= 1;
} else {
if (_root.pause == false and _parent.platform._x <= 0) {
_parent.gotoAndStop(1);
}
}
}
}
}
movieClip 1987 {
frame 1 {
stop();
}
instance sky of movieClip 393 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.therightborder)) {
_parent._x -= 1440;
_parent.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theleftborder)) {
_parent._x += 1440;
_parent.nextFrame();
}
}
}
instance rightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
}
}
frame 2 {
stop();
}
instance tuttexttrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 3) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 3) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
instance tuttexttrigger4 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 4) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 4) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
instance leftwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowedd = false;
} else {
_root.rightallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowedd2 = false;
} else {
_root.rightallowedd2 = true;
}
}
}
}
instance rightwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowedd = false;
} else {
_root.leftallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowedd2 = false;
} else {
_root.leftallowedd2 = true;
}
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 3 {
stop();
}
instance tuttexttrigger6 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 6) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 6) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
instance tuttexttrigger5 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 5) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 5) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
frame 4 {
stop();
}
instance tuttexttrigger9 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 9) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 9) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
frame 5 {
stop();
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
frame 6 {
stop();
}
instance rightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
}
}
frame 7 {
stop();
}
instance leftsnailwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail.hitbox)) {
_root.fg1.snail.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.snail.hitbox)) {
_root.fg2.snail.gotoAndStop(1);
}
}
}
}
instance rightsnailwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail.hitbox2)) {
_root.fg1.snail.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.snail.hitbox2)) {
_root.fg2.snail.gotoAndStop(2);
}
}
}
instance tuttexttrigger10 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 10) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 10) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
instance jumpblocker of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 8 {
stop();
}
instance tuttexttrigger13 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 13) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 13) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
instance rightwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowedd = false;
} else {
_root.leftallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowedd2 = false;
} else {
_root.leftallowedd2 = true;
}
}
}
}
frame 12 {
stop();
}
instance leftbullywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.bully.hitbox)) {
_root.fg1.bully.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.bully.hitbox)) {
_root.fg2.bully.gotoAndStop(2);
}
}
}
}
instance rightbullywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.bully.hitbox2)) {
_root.fg1.bully.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.bully.hitbox2)) {
_root.fg2.bully.gotoAndStop(1);
}
}
}
}
instance tuttexttrigger14 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 14) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 14) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
instance leftwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowedd = false;
} else {
_root.rightallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowedd2 = false;
} else {
_root.rightallowedd2 = true;
}
}
}
}
instance anskihidetrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger4 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance jumpblocker of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 13 {
stop();
}
instance tuttexttrigger17 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 17) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 17) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
frame 14 {
stop();
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
frame 15 {
stop();
}
instance rightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
}
}
frame 16 {
stop();
}
instance leftsnailwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail.hitbox)) {
_root.fg1.snail.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.snail.hitbox)) {
_root.fg2.snail.gotoAndStop(1);
}
}
}
}
instance rightsnailwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail.hitbox2)) {
_root.fg1.snail.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.snail.hitbox2)) {
_root.fg2.snail.gotoAndStop(2);
}
}
}
instance tuttexttrigger19 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 19) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 19) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
instance jumpblocker of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance jumpblocker2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger4 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 17 {
stop();
}
instance tuttexttrigger21 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 21) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 21) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
instance rightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 18 {
stop();
}
instance tuttexttrigger22 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 22) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 22) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
frame 19 {
stop();
}
frame 20 {
stop();
}
instance rightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
}
}
frame 21 {
stop();
}
instance tuttexttrigger11 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 11) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 11) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
instance tuttexttrigger12 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 12) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 12) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
instance platform2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox) and _root.blipbedazzled == true and _root.pause == false) {
_root.blipbedazzled = false;
_root.hero2.gotoAndStop(9);
}
}
}
instance jumpblocker of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance leftwaterwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and _root.bridge == false) {
_root.hero2.gotoAndStop(29);
}
if (this.hitTest(_root.npc3) and _root.bridge == false) {
_root.npc3.gotoAndStop(9);
}
if (this.hitTest(_root.npc4) and _root.bridge == false) {
_root.npc4.gotoAndStop(9);
}
if (this.hitTest(_root.npc5) and _root.bridge == false) {
_root.npc5.gotoAndStop(9);
}
if (this.hitTest(_root.npc6) and _root.bridge == false) {
_root.npc6.gotoAndStop(9);
}
}
}
instance rightwaterwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and _root.bridge == false) {
_root.hero2.gotoAndStop(30);
}
if (this.hitTest(_root.npc3) and _root.bridge == false) {
_root.npc3.gotoAndStop(10);
}
if (this.hitTest(_root.npc4) and _root.bridge == false) {
_root.npc4.gotoAndStop(10);
}
if (this.hitTest(_root.npc5) and _root.bridge == false) {
_root.npc5.gotoAndStop(10);
}
if (this.hitTest(_root.npc6) and _root.bridge == false) {
_root.npc6.gotoAndStop(10);
}
}
}
instance leftwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowedd = false;
} else {
_root.rightallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowedd2 = false;
} else {
_root.rightallowedd2 = true;
}
}
}
}
instance rightwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowedd = false;
} else {
_root.leftallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowedd2 = false;
} else {
_root.leftallowedd2 = true;
}
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance jumpblocker2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
frame 22 {
stop();
}
instance worm of movieClip 1925 {
onClipEvent (enterFrame) {
if (_root.blipworm == true) {
this.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (_root.wormeaten == true) {
this.gotoAndStop(5);
}
}
}
instance leftwormwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.worm.hitbox)) {
_root.fg1.worm.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.worm.hitbox)) {
_root.fg2.worm.gotoAndStop(1);
}
}
}
}
instance rightwormwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.worm.hitbox2)) {
_root.fg1.worm.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.worm.hitbox2)) {
_root.fg2.worm.gotoAndStop(2);
}
}
}
instance leftbirdwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc7.hitbox)) {
_root.birdsteps = 0;
_root.birdsteps2 = 0;
_root.npc7.gotoAndStop(2);
}
}
}
instance rightbirdwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc7.hitbox2)) {
_root.birdsteps = 0;
_root.birdsteps2 = 0;
_root.npc7.gotoAndStop(1);
}
}
}
instance leftwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowedd = false;
} else {
_root.rightallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowedd2 = false;
} else {
_root.rightallowedd2 = true;
}
}
}
}
instance rightwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowedd = false;
} else {
_root.leftallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowedd2 = false;
} else {
_root.leftallowedd2 = true;
}
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance anskihidetrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger4 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance jumpblocker2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox2) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
}
instance anskihidetrigger5 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger6 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 23 {
stop();
}
frame 24 {
stop();
}
frame 25 {
stop();
}
instance rightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
}
}
frame 26 {
stop();
}
instance leftsnailwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail.hitbox)) {
_root.fg1.snail.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.snail.hitbox)) {
_root.fg2.snail.gotoAndStop(1);
}
}
}
}
instance rightsnailwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail.hitbox2)) {
_root.fg1.snail.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.snail.hitbox2)) {
_root.fg2.snail.gotoAndStop(2);
}
}
}
instance platform4 of movieClip 1933 {
onClipEvent (enterFrame) {
if (_root.bridge == true) {
this.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox2) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
}
instance lever of movieClip 1939 {
onClipEvent (enterFrame) {
if (_root.leverpulled == true) {
this.gotoAndStop(3);
}
}
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance jumpblocker2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox2) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
}
instance anskihidetrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger4 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 27 {
stop();
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
instance rightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance platform0 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox) and _root.blipbedazzled == true and _root.pause == false) {
_root.blipbedazzled = false;
_root.hero2.gotoAndStop(9);
}
}
}
frame 28 {
stop();
}
frame 29 {
stop();
}
frame 30 {
stop();
}
instance rightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
}
}
frame 31 {
stop();
}
instance leftsnailwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail.hitbox)) {
_root.fg1.snail.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.snail.hitbox)) {
_root.fg2.snail.gotoAndStop(1);
}
}
}
}
instance rightsnailwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail.hitbox2)) {
_root.fg1.snail.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.snail.hitbox2)) {
_root.fg2.snail.gotoAndStop(2);
}
}
}
instance platform2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox) and _root.blipbedazzled == true and _root.pause == false) {
_root.blipbedazzled = false;
_root.hero2.gotoAndStop(9);
}
}
}
instance leftwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowedd = false;
} else {
_root.rightallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowedd2 = false;
} else {
_root.rightallowedd2 = true;
}
}
}
}
instance rightwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowedd = false;
} else {
_root.leftallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowedd2 = false;
} else {
_root.leftallowedd2 = true;
}
}
}
}
instance leftwaterwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and _root.bridge == false) {
_root.hero2.gotoAndStop(29);
}
if (this.hitTest(_root.npc3) and _root.bridge == false) {
_root.npc3.gotoAndStop(9);
}
if (this.hitTest(_root.npc4) and _root.bridge == false) {
_root.npc4.gotoAndStop(9);
}
if (this.hitTest(_root.npc5) and _root.bridge == false) {
_root.npc5.gotoAndStop(9);
}
if (this.hitTest(_root.npc6) and _root.bridge == false) {
_root.npc6.gotoAndStop(9);
}
}
}
instance rightwaterwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and _root.bridge == false) {
_root.hero2.gotoAndStop(30);
}
if (this.hitTest(_root.npc3) and _root.bridge == false) {
_root.npc3.gotoAndStop(10);
}
if (this.hitTest(_root.npc4) and _root.bridge == false) {
_root.npc4.gotoAndStop(10);
}
if (this.hitTest(_root.npc5) and _root.bridge == false) {
_root.npc5.gotoAndStop(10);
}
if (this.hitTest(_root.npc6) and _root.bridge == false) {
_root.npc6.gotoAndStop(10);
}
}
}
instance jumpblocker2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger4 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 32 {
stop();
}
instance leftpuffywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.puffy.body)) {
_root.fg1.puffy.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.puffy.body)) {
_root.fg2.puffy.gotoAndStop(1);
}
}
}
}
instance rightpuffywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.puffy.body)) {
_root.fg1.puffy.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.puffy.body)) {
_root.fg2.puffy.gotoAndStop(2);
}
}
}
}
instance jumpblocker of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 33 {
stop();
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
frame 34 {
stop();
}
instance rightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
}
}
frame 35 {
stop();
}
instance leftbullywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.bully.hitbox)) {
_root.fg1.bully.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.bully.hitbox)) {
_root.fg2.bully.gotoAndStop(2);
}
}
}
}
instance rightbullywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.bully.hitbox2)) {
_root.fg1.bully.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.bully.hitbox2)) {
_root.fg2.bully.gotoAndStop(1);
}
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance jumpblocker of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
instance leftwaterwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and _root.bridge == false) {
_root.hero2.gotoAndStop(29);
}
if (this.hitTest(_root.npc3) and _root.bridge == false) {
_root.npc3.gotoAndStop(9);
}
if (this.hitTest(_root.npc4) and _root.bridge == false) {
_root.npc4.gotoAndStop(9);
}
if (this.hitTest(_root.npc5) and _root.bridge == false) {
_root.npc5.gotoAndStop(9);
}
if (this.hitTest(_root.npc6) and _root.bridge == false) {
_root.npc6.gotoAndStop(9);
}
}
}
instance rightwaterwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and _root.bridge == false) {
_root.hero2.gotoAndStop(30);
}
if (this.hitTest(_root.npc3) and _root.bridge == false) {
_root.npc3.gotoAndStop(10);
}
if (this.hitTest(_root.npc4) and _root.bridge == false) {
_root.npc4.gotoAndStop(10);
}
if (this.hitTest(_root.npc5) and _root.bridge == false) {
_root.npc5.gotoAndStop(10);
}
if (this.hitTest(_root.npc6) and _root.bridge == false) {
_root.npc6.gotoAndStop(10);
}
}
}
instance jumpblocker2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox2) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
}
instance anskihidetrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger4 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 36 {
stop();
}
instance jumpblocker of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox2) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
}
frame 37 {
stop();
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
frame 38 {
stop();
}
instance rightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
}
}
frame 39 {
stop();
}
instance worm of movieClip 1925 {
onClipEvent (enterFrame) {
if (_root.blipworm == true) {
this.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (_root.wormeaten == true) {
this.gotoAndStop(5);
}
}
}
instance leftwormwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.worm.hitbox)) {
_root.fg1.worm.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.worm.hitbox)) {
_root.fg2.worm.gotoAndStop(1);
}
}
}
}
instance rightwormwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.worm.hitbox2)) {
_root.fg1.worm.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.worm.hitbox2)) {
_root.fg2.worm.gotoAndStop(2);
}
}
}
instance leftpuffywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.puffy.body)) {
_root.fg1.puffy.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.puffy.body)) {
_root.fg2.puffy.gotoAndStop(1);
}
}
}
}
instance rightpuffywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.puffy.body)) {
_root.fg1.puffy.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.puffy.body)) {
_root.fg2.puffy.gotoAndStop(2);
}
}
}
}
instance jumpblocker of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 40 {
stop();
}
instance jumpblocker2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox2) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
}
instance anskihidetrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger4 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 41 {
stop();
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
frame 42 {
stop();
}
instance rightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
}
}
frame 43 {
stop();
}
instance leftsnailwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail.hitbox)) {
_root.fg1.snail.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.snail.hitbox)) {
_root.fg2.snail.gotoAndStop(1);
}
}
}
}
instance rightsnailwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail.hitbox2)) {
_root.fg1.snail.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.snail.hitbox2)) {
_root.fg2.snail.gotoAndStop(2);
}
}
}
instance platform0 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox) and _root.blipbedazzled == true and _root.pause == false) {
_root.blipbedazzled = false;
_root.hero2.gotoAndStop(9);
}
}
}
instance jumpblocker2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger4 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 44 {
stop();
}
instance leftbirdwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc7.hitbox)) {
_root.birdsteps = 0;
_root.birdsteps2 = 0;
_root.npc7.gotoAndStop(2);
}
}
}
instance rightbirdwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc7.hitbox2)) {
_root.birdsteps = 0;
_root.birdsteps2 = 0;
_root.npc7.gotoAndStop(1);
}
}
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
instance rightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 45 {
stop();
}
frame 46 {
stop();
}
instance rightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
}
}
frame 47 {
stop();
}
instance worm of movieClip 1925 {
onClipEvent (enterFrame) {
if (_root.blipworm == true) {
this.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (_root.wormeaten == true) {
this.gotoAndStop(5);
}
}
}
instance leftwormwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.worm.hitbox)) {
_root.fg1.worm.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.worm.hitbox)) {
_root.fg2.worm.gotoAndStop(1);
}
}
}
}
instance rightwormwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.worm.hitbox2)) {
_root.fg1.worm.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.worm.hitbox2)) {
_root.fg2.worm.gotoAndStop(2);
}
}
}
instance leftwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowedd = false;
} else {
_root.rightallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowedd2 = false;
} else {
_root.rightallowedd2 = true;
}
}
}
}
instance rightwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowedd = false;
} else {
_root.leftallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowedd2 = false;
} else {
_root.leftallowedd2 = true;
}
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance jumpblocker2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger4 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 48 {
stop();
}
instance leftbullywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.bully.hitbox)) {
_root.fg1.bully.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.bully.hitbox)) {
_root.fg2.bully.gotoAndStop(2);
}
}
}
}
instance rightbullywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.bully.hitbox2)) {
_root.fg1.bully.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.bully.hitbox2)) {
_root.fg2.bully.gotoAndStop(1);
}
}
}
}
instance leftbullywall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.bully2.hitbox)) {
_root.fg1.bully2.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.bully2.hitbox)) {
_root.fg2.bully2.gotoAndStop(2);
}
}
}
}
instance rightbullywall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.bully2.hitbox2)) {
_root.fg1.bully2.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.bully2.hitbox2)) {
_root.fg2.bully2.gotoAndStop(1);
}
}
}
}
frame 49 {
stop();
}
frame 50 {
stop();
}
instance rightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
}
}
frame 51 {
stop();
}
instance leftsnailwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail.hitbox)) {
_root.fg1.snail.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.snail.hitbox)) {
_root.fg2.snail.gotoAndStop(1);
}
}
}
}
instance rightsnailwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail.hitbox2)) {
_root.fg1.snail.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.snail.hitbox2)) {
_root.fg2.snail.gotoAndStop(2);
}
}
}
instance worm of movieClip 1925 {
onClipEvent (enterFrame) {
if (_root.blipworm == true) {
this.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (_root.wormeaten == true) {
this.gotoAndStop(5);
}
}
}
instance leftwormwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.worm.hitbox)) {
_root.fg1.worm.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.worm.hitbox)) {
_root.fg2.worm.gotoAndStop(1);
}
}
}
}
instance rightwormwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.worm.hitbox2)) {
_root.fg1.worm.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.worm.hitbox2)) {
_root.fg2.worm.gotoAndStop(2);
}
}
}
instance leftbirdwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc7.hitbox)) {
_root.birdsteps = 0;
_root.birdsteps2 = 0;
_root.npc7.gotoAndStop(2);
}
}
}
instance jumpblocker of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance jumpblocker2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger4 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance jumpblocker3 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger5 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger6 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance jumpblocker4 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger7 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger8 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance jumpblocker5 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger9 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger10 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 52 {
stop();
}
instance jumpblocker5 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
instance anskihidetrigger9 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance rightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
}
}
frame 53 {
stop();
}
frame 54 {
stop();
}
instance platform0 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox) and _root.blipbedazzled == true and _root.pause == false) {
_root.blipbedazzled = false;
_root.hero2.gotoAndStop(9);
}
}
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 55 {
stop();
}
instance leftbullywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.bully.hitbox)) {
_root.fg1.bully.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.bully.hitbox)) {
_root.fg2.bully.gotoAndStop(2);
}
}
}
}
instance rightbullywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.bully.hitbox2)) {
_root.fg1.bully.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.bully.hitbox2)) {
_root.fg2.bully.gotoAndStop(1);
}
}
}
}
instance jumpblocker2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger4 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 56 {
stop();
}
frame 57 {
stop();
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
frame 58 {
stop();
}
instance rightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
}
}
frame 59 {
stop();
}
instance leftbirdwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc7.hitbox)) {
_root.birdsteps = 0;
_root.birdsteps2 = 0;
_root.npc7.gotoAndStop(13);
}
}
}
instance leftsnailwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail.hitbox)) {
_root.fg1.snail.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.snail.hitbox)) {
_root.fg2.snail.gotoAndStop(1);
}
}
}
}
instance rightsnailwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail.hitbox2)) {
_root.fg1.snail.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.snail.hitbox2)) {
_root.fg2.snail.gotoAndStop(2);
}
}
}
instance platform0 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox) and _root.blipbedazzled == true and _root.pause == false) {
_root.blipbedazzled = false;
_root.hero2.gotoAndStop(9);
}
}
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance jumpblocker2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger4 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance jumpblocker4 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger5 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger6 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 60 {
stop();
}
frame 61 {
stop();
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
frame 62 {
stop();
}
}
movieClip 1990 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 2025 {
frame 1 {
stop();
}
instance sky of movieClip 393 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.therightborder)) {
_parent._x -= 1440;
_parent.prevFrame();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theleftborder)) {
_parent._x += 1440;
_parent.nextFrame();
}
}
}
frame 2 {
stop();
}
instance tuttexttrigger1 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 1) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 1) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
instance tuttexttrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 2) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 2) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
frame 3 {
stop();
}
instance jumpblocker of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 4 {
stop();
}
instance tuttexttrigger7 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 7) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 7) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
instance tuttexttrigger8 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 8) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 8) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
instance rightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
}
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
instance jumpblocker of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 8 {
stop();
}
instance tuttexttrigger11 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 11) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 11) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
instance tuttexttrigger12 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 12) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 12) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
instance lever of movieClip 1939 {
onClipEvent (enterFrame) {
if (_root.leverpulled == true) {
this.gotoAndStop(3);
}
}
}
instance platform4 of movieClip 1990 {
onClipEvent (enterFrame) {
if (_root.bridge == true) {
this.gotoAndStop(4);
}
}
}
instance leftwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowedd = false;
} else {
_root.rightallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowedd2 = false;
} else {
_root.rightallowedd2 = true;
}
}
}
}
instance rightwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowedd = false;
} else {
_root.leftallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowedd2 = false;
} else {
_root.leftallowedd2 = true;
}
}
}
}
instance leftwaterwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and _root.bridge == false) {
_root.hero2.gotoAndStop(29);
}
if (this.hitTest(_root.npc3) and _root.bridge == false) {
_root.npc3.gotoAndStop(9);
}
if (this.hitTest(_root.npc4) and _root.bridge == false) {
_root.npc4.gotoAndStop(9);
}
if (this.hitTest(_root.npc5) and _root.bridge == false) {
_root.npc5.gotoAndStop(9);
}
if (this.hitTest(_root.npc6) and _root.bridge == false) {
_root.npc6.gotoAndStop(9);
}
}
}
instance rightwaterwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and _root.bridge == false) {
_root.hero2.gotoAndStop(30);
}
if (this.hitTest(_root.npc3) and _root.bridge == false) {
_root.npc3.gotoAndStop(10);
}
if (this.hitTest(_root.npc4) and _root.bridge == false) {
_root.npc4.gotoAndStop(10);
}
if (this.hitTest(_root.npc5) and _root.bridge == false) {
_root.npc5.gotoAndStop(10);
}
if (this.hitTest(_root.npc6) and _root.bridge == false) {
_root.npc6.gotoAndStop(10);
}
}
}
frame 9 {
stop();
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
instance rightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
instance rightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
}
}
instance anskihidetrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger4 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 13 {
stop();
}
instance leftbirdwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc7.hitbox)) {
_root.birdsteps = 0;
_root.birdsteps2 = 0;
_root.npc7.gotoAndStop(2);
}
}
}
instance rightbirdwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc7.hitbox2)) {
_root.birdsteps = 0;
_root.birdsteps2 = 0;
_root.npc7.gotoAndStop(1);
}
}
}
instance worm of movieClip 1925 {
onClipEvent (enterFrame) {
if (_root.blipworm == true) {
this.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (_root.wormeaten == true) {
this.gotoAndStop(5);
}
}
}
instance leftwormwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.worm.hitbox)) {
_root.fg1.worm.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.worm.hitbox)) {
_root.fg2.worm.gotoAndStop(1);
}
}
}
}
instance rightwormwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.worm.hitbox2)) {
_root.fg1.worm.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.worm.hitbox2)) {
_root.fg2.worm.gotoAndStop(2);
}
}
}
instance tuttexttrigger15 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 15) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 15) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
instance tuttexttrigger16 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 16) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 16) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
instance jumpblocker of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 14 {
stop();
}
frame 15 {
stop();
}
frame 16 {
stop();
}
instance tuttexttrigger18 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 18) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 18) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
frame 17 {
stop();
}
instance tuttexttrigger20 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero) and _root.pause == false and _root.tutorialtext == 20) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
if (this.hitTest(_root.hero2) and _root.pause == false and _root.tutorialtext == 20) {
_root.mainpauseallowed = false;
_root.pause = true;
_root.mainframe.tutorialtext.gotoAndStop(2);
}
}
}
instance jumpblocker of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 18 {
stop();
}
instance leftbullywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.bully.hitbox)) {
_root.fg1.bully.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.bully.hitbox)) {
_root.fg2.bully.gotoAndStop(2);
}
}
}
}
instance rightbullywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.bully.hitbox2)) {
_root.fg1.bully.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.bully.hitbox2)) {
_root.fg2.bully.gotoAndStop(1);
}
}
}
}
frame 19 {
stop();
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
frame 20 {
stop();
}
frame 21 {
stop();
}
frame 22 {
stop();
}
instance jumpblocker2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance rightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
}
}
instance jumpblocker of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance jumpblocker2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger4 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 23 {
stop();
}
instance leftpuffywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.puffy.body)) {
_root.fg1.puffy.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.puffy.body)) {
_root.fg2.puffy.gotoAndStop(1);
}
}
}
}
instance rightpuffywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.puffy.body)) {
_root.fg1.puffy.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.puffy.body)) {
_root.fg2.puffy.gotoAndStop(2);
}
}
}
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
instance anskihidetrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger4 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 24 {
stop();
}
frame 25 {
stop();
}
frame 26 {
stop();
}
frame 27 {
stop();
}
instance leftsnailwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail.hitbox)) {
_root.fg1.snail.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.snail.hitbox)) {
_root.fg2.snail.gotoAndStop(1);
}
}
}
}
instance rightsnailwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail.hitbox2)) {
_root.fg1.snail.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.snail.hitbox2)) {
_root.fg2.snail.gotoAndStop(2);
}
}
}
instance leftsnailwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail2.hitbox)) {
_root.fg1.snail2.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.snail2.hitbox)) {
_root.fg2.snail2.gotoAndStop(1);
}
}
}
}
instance rightsnailwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail2.hitbox2)) {
_root.fg1.snail2.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.snail2.hitbox2)) {
_root.fg2.snail2.gotoAndStop(2);
}
}
}
instance jumpblocker of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance platform0 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox) and _root.blipbedazzled == true and _root.pause == false) {
_root.blipbedazzled = false;
_root.hero2.gotoAndStop(9);
}
}
}
instance jumpblocker2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger4 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 28 {
stop();
}
instance leftbullywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.bully.hitbox)) {
_root.fg1.bully.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.bully.hitbox)) {
_root.fg2.bully.gotoAndStop(2);
}
}
}
}
instance rightbullywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.bully.hitbox2)) {
_root.fg1.bully.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.bully.hitbox2)) {
_root.fg2.bully.gotoAndStop(1);
}
}
}
}
frame 29 {
stop();
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
frame 30 {
stop();
}
frame 31 {
stop();
}
instance leftbullywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.bully.hitbox)) {
_root.fg1.bully.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.bully.hitbox)) {
_root.fg2.bully.gotoAndStop(2);
}
}
}
}
instance rightbullywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.bully.hitbox2)) {
_root.fg1.bully.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.bully.hitbox2)) {
_root.fg2.bully.gotoAndStop(1);
}
}
}
}
instance jumpblocker2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
frame 32 {
stop();
}
instance jumpblocker of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 33 {
stop();
}
frame 34 {
stop();
}
frame 35 {
stop();
}
instance worm of movieClip 1925 {
onClipEvent (enterFrame) {
if (_root.blipworm == true) {
this.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (_root.wormeaten == true) {
this.gotoAndStop(5);
}
}
}
instance leftwormwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.worm.hitbox)) {
_root.fg1.worm.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.worm.hitbox)) {
_root.fg2.worm.gotoAndStop(1);
}
}
}
}
instance rightwormwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.worm.hitbox2)) {
_root.fg1.worm.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.worm.hitbox2)) {
_root.fg2.worm.gotoAndStop(2);
}
}
}
instance leftwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowedd = false;
} else {
_root.rightallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowedd2 = false;
} else {
_root.rightallowedd2 = true;
}
}
}
}
instance rightwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowedd = false;
} else {
_root.leftallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowedd2 = false;
} else {
_root.leftallowedd2 = true;
}
}
}
}
instance leftwaterwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and _root.bridge == false) {
_root.hero2.gotoAndStop(29);
}
if (this.hitTest(_root.npc3) and _root.bridge == false) {
_root.npc3.gotoAndStop(9);
}
if (this.hitTest(_root.npc4) and _root.bridge == false) {
_root.npc4.gotoAndStop(9);
}
if (this.hitTest(_root.npc5) and _root.bridge == false) {
_root.npc5.gotoAndStop(9);
}
if (this.hitTest(_root.npc6) and _root.bridge == false) {
_root.npc6.gotoAndStop(9);
}
}
}
instance rightwaterwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and _root.bridge == false) {
_root.hero2.gotoAndStop(30);
}
if (this.hitTest(_root.npc3) and _root.bridge == false) {
_root.npc3.gotoAndStop(10);
}
if (this.hitTest(_root.npc4) and _root.bridge == false) {
_root.npc4.gotoAndStop(10);
}
if (this.hitTest(_root.npc5) and _root.bridge == false) {
_root.npc5.gotoAndStop(10);
}
if (this.hitTest(_root.npc6) and _root.bridge == false) {
_root.npc6.gotoAndStop(10);
}
}
}
instance jumpblocker of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance jumpblocker2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger4 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 36 {
stop();
}
instance leftbirdwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc7.hitbox)) {
_root.birdsteps = 0;
_root.birdsteps2 = 0;
_root.npc7.gotoAndStop(2);
}
}
}
instance rightbirdwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc7.hitbox2)) {
_root.birdsteps = 0;
_root.birdsteps2 = 0;
_root.npc7.gotoAndStop(1);
}
}
}
instance leftsnailwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail.hitbox)) {
_root.fg1.snail.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.snail.hitbox)) {
_root.fg2.snail.gotoAndStop(1);
}
}
}
}
instance rightsnailwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail.hitbox2)) {
_root.fg1.snail.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.snail.hitbox2)) {
_root.fg2.snail.gotoAndStop(2);
}
}
}
frame 37 {
stop();
}
frame 38 {
stop();
}
frame 39 {
stop();
}
instance leftbirdwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc7.hitbox)) {
_root.birdsteps = 0;
_root.birdsteps2 = 0;
_root.npc7.gotoAndStop(2);
}
}
}
instance rightbirdwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc7.hitbox2)) {
_root.birdsteps = 0;
_root.birdsteps2 = 0;
_root.npc7.gotoAndStop(1);
}
}
}
instance leftsnailwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail.hitbox)) {
_root.fg1.snail.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.snail.hitbox)) {
_root.fg2.snail.gotoAndStop(1);
}
}
}
}
instance rightsnailwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail.hitbox2)) {
_root.fg1.snail.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.snail.hitbox2)) {
_root.fg2.snail.gotoAndStop(2);
}
}
}
instance jumpblocker of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance jumpblocker2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger4 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance jumpblocker3 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger5 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger6 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 40 {
stop();
}
instance leftbullywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.bully.hitbox)) {
_root.fg1.bully.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.bully.hitbox)) {
_root.fg2.bully.gotoAndStop(2);
}
}
}
}
instance rightbullywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.bully.hitbox2)) {
_root.fg1.bully.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.bully.hitbox2)) {
_root.fg2.bully.gotoAndStop(1);
}
}
}
}
instance leftwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowedd = false;
} else {
_root.rightallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowedd2 = false;
} else {
_root.rightallowedd2 = true;
}
}
}
}
instance rightwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowedd = false;
} else {
_root.leftallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowedd2 = false;
} else {
_root.leftallowedd2 = true;
}
}
}
}
frame 41 {
stop();
}
frame 42 {
stop();
}
frame 43 {
stop();
}
instance leftwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowedd = false;
} else {
_root.rightallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowedd2 = false;
} else {
_root.rightallowedd2 = true;
}
}
}
}
instance rightwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowedd = false;
} else {
_root.leftallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowedd2 = false;
} else {
_root.leftallowedd2 = true;
}
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 44 {
stop();
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance jumpblocker of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance leftwaterwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and _root.bridge == false) {
_root.hero2.gotoAndStop(29);
}
if (this.hitTest(_root.npc3) and _root.bridge == false) {
_root.npc3.gotoAndStop(9);
}
if (this.hitTest(_root.npc4) and _root.bridge == false) {
_root.npc4.gotoAndStop(9);
}
if (this.hitTest(_root.npc5) and _root.bridge == false) {
_root.npc5.gotoAndStop(9);
}
if (this.hitTest(_root.npc6) and _root.bridge == false) {
_root.npc6.gotoAndStop(9);
}
}
}
instance rightwaterwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and _root.bridge == false) {
_root.hero2.gotoAndStop(30);
}
if (this.hitTest(_root.npc3) and _root.bridge == false) {
_root.npc3.gotoAndStop(10);
}
if (this.hitTest(_root.npc4) and _root.bridge == false) {
_root.npc4.gotoAndStop(10);
}
if (this.hitTest(_root.npc5) and _root.bridge == false) {
_root.npc5.gotoAndStop(10);
}
if (this.hitTest(_root.npc6) and _root.bridge == false) {
_root.npc6.gotoAndStop(10);
}
}
}
frame 45 {
stop();
}
frame 46 {
stop();
}
frame 47 {
stop();
}
instance leftbirdwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc7.hitbox)) {
_root.birdsteps = 0;
_root.birdsteps2 = 0;
_root.npc7.gotoAndStop(2);
}
}
}
instance rightbirdwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc7.hitbox2)) {
_root.birdsteps = 0;
_root.birdsteps2 = 0;
_root.npc7.gotoAndStop(1);
}
}
}
instance jumpblocker of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 48 {
stop();
}
instance leftsnailwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail.hitbox)) {
_root.fg1.snail.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.snail.hitbox)) {
_root.fg2.snail.gotoAndStop(1);
}
}
}
}
instance rightsnailwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.snail.hitbox2)) {
_root.fg1.snail.gotoAndStop(2);
}
if (this.hitTest(_root.fg2.snail.hitbox2)) {
_root.fg2.snail.gotoAndStop(2);
}
}
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
instance rightwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowed = false;
} else {
_root.leftallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowed2 = false;
} else {
_root.leftallowed2 = true;
}
}
}
}
instance jumpblocker2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger4 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 49 {
stop();
}
instance leftpuffywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.puffy.body)) {
_root.fg1.puffy.gotoAndStop(1);
} else {
if (this.hitTest(_root.fg2.puffy.body)) {
_root.fg2.puffy.gotoAndStop(1);
}
}
}
}
instance rightpuffywall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.fg1.puffy.body)) {
_root.fg1.puffy.gotoAndStop(2);
} else {
if (this.hitTest(_root.fg2.puffy.body)) {
_root.fg2.puffy.gotoAndStop(2);
}
}
}
}
instance lever of movieClip 1939 {
onClipEvent (enterFrame) {
if (_root.leverpulled == true) {
this.gotoAndStop(3);
}
}
}
instance platform4 of movieClip 1990 {
onClipEvent (enterFrame) {
if (_root.bridge == true) {
this.gotoAndStop(4);
}
}
}
instance platform2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox) and _root.blipbedazzled == true and _root.pause == false) {
_root.blipbedazzled = false;
_root.hero2.gotoAndStop(9);
}
}
}
instance leftwaterwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and _root.bridge == false) {
_root.hero2.gotoAndStop(29);
}
if (this.hitTest(_root.npc3) and _root.bridge == false) {
_root.npc3.gotoAndStop(9);
}
if (this.hitTest(_root.npc4) and _root.bridge == false) {
_root.npc4.gotoAndStop(9);
}
if (this.hitTest(_root.npc5) and _root.bridge == false) {
_root.npc5.gotoAndStop(9);
}
if (this.hitTest(_root.npc6) and _root.bridge == false) {
_root.npc6.gotoAndStop(9);
}
}
}
instance rightwaterwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox) and _root.bridge == false) {
_root.hero2.gotoAndStop(30);
}
if (this.hitTest(_root.npc3) and _root.bridge == false) {
_root.npc3.gotoAndStop(10);
}
if (this.hitTest(_root.npc4) and _root.bridge == false) {
_root.npc4.gotoAndStop(10);
}
if (this.hitTest(_root.npc5) and _root.bridge == false) {
_root.npc5.gotoAndStop(10);
}
if (this.hitTest(_root.npc6) and _root.bridge == false) {
_root.npc6.gotoAndStop(10);
}
}
}
instance leftwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowedd = false;
} else {
_root.rightallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowedd2 = false;
} else {
_root.rightallowedd2 = true;
}
}
}
}
instance rightwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowedd = false;
} else {
_root.leftallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowedd2 = false;
} else {
_root.leftallowedd2 = true;
}
}
}
}
frame 50 {
stop();
}
instance leftwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowed = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowed = false;
} else {
_root.rightallowed = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowed2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowed2 = false;
} else {
_root.rightallowed2 = true;
}
}
}
}
frame 51 {
stop();
}
instance jumpblocker4 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger7 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger8 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance jumpblocker2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger4 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 52 {
stop();
}
instance rightbirdwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc7.hitbox2)) {
_root.birdsteps = 0;
_root.birdsteps2 = 0;
_root.npc7.gotoAndStop(1);
}
}
}
instance leftwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowedd = false;
} else {
_root.rightallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowedd2 = false;
} else {
_root.rightallowedd2 = true;
}
}
}
}
instance rightwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowedd = false;
} else {
_root.leftallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowedd2 = false;
} else {
_root.leftallowedd2 = true;
}
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 53 {
stop();
}
frame 54 {
stop();
}
instance rightwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowedd = false;
} else {
_root.leftallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowedd2 = false;
} else {
_root.leftallowedd2 = true;
}
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance jumpblocker2 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger3 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger4 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
instance jumpblocker3 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger5 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger6 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 55 {
stop();
}
instance platform0 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox) and _root.blipbedazzled == true and _root.pause == false) {
_root.blipbedazzled = false;
_root.hero2.gotoAndStop(9);
}
}
}
frame 56 {
stop();
}
instance jumpblocker3 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.headbox) and _root.velocity < 0) {
_root._y += 10;
_root.mainframe._y -= 10;
_root.velocity = 0;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.headbox) and _root.velocity2 < 0) {
_root._y += 20;
_root.mainframe._y -= 20;
_root.velocity2 = 0;
}
}
}
instance anskihidetrigger5 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger6 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 57 {
stop();
}
frame 58 {
stop();
}
frame 59 {
stop();
}
frame 60 {
stop();
}
instance rightbirdwall of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc7.hitbox2)) {
_root.birdsteps = 0;
_root.birdsteps2 = 0;
_root.npc7.gotoAndStop(12);
}
}
}
instance finishlinetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.npc3) and this.hitTest(_root.npc4) and this.hitTest(_root.npc5) and this.hitTest(_root.npc6) and _root.allcollected == false and _root.pause == false) {
_root.allcollected = true;
_root.npc7.gotoAndStop(14);
}
}
}
instance platform0 of movieClip 1691 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body.hitbox) and _root.blipbedazzled == true and _root.pause == false) {
_root.blipbedazzled = false;
_root.hero2.gotoAndStop(9);
}
}
}
instance leftwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.rightallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x -= 6;
_root.rightallowedd = false;
} else {
_root.rightallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.rightallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.rightallowedd2 = false;
} else {
_root.rightallowedd2 = true;
}
}
}
}
instance rightwall2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero.hitbox)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.hero.hitbox2)) {
_root.leftallowedd = false;
} else {
if (this.hitTest(_root.npc2.body)) {
_root.npc2._x += 6;
_root.leftallowedd = false;
} else {
_root.leftallowedd = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.hitbox)) {
_root.leftallowedd2 = false;
} else {
if (this.hitTest(_root.hero2.hitbox2)) {
_root.leftallowedd2 = false;
} else {
_root.leftallowedd2 = true;
}
}
}
}
instance anskihidetrigger of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x += _root.herospeed;
}
}
}
instance anskihidetrigger2 of movieClip 67 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero2.body) and _root.hiding == true) {
_root.hero2._x -= _root.herospeed;
}
}
}
frame 61 {
stop();
}
frame 62 {
stop();
}
}
frame 7 {
stop();
_root.anskiturn = false;
_root.blipturn = true;
_root.hero.swapDepths(_root.hero2);
_root.hero._x = 0;
_root.hero2._x = 240;
_root.hero.gotoAndStop(10);
_root.hero2.gotoAndStop(1);
_root.mainpauseallowed = true;
_root.mainframe.reset.gotoAndStop(2);
_root.bg1.gotoAndStop(7);
_root.bg2.gotoAndStop(7);
_root.fg1.gotoAndStop(7);
_root.fg2.gotoAndStop(7);
_root.fb1.gotoAndStop(4);
_root.fb2.gotoAndStop(4);
_root.tutorialtext = 10;
_root.npc1._x = 2500;
_root.npc2._x = 880;
_root.npc3._x = 900;
_root.npc3._y = 345;
_root.npc4._x = 3000;
_root.npc4._y = 200;
_root.npc5._x = 2650;
_root.npc5._y = 80;
_root.npc6._x = 380;
_root.npc6._y = 80;
}
frame 8 {
stop();
_root.anskiturn = true;
_root.blipturn = false;
_root.hero._x = 100;
_root.hero2._x = 300;
_root.hero.gotoAndStop(1);
_root.hero2.gotoAndStop(10);
_root.mainpauseallowed = true;
_root.mainframe.reset.gotoAndStop(2);
_root.bg1.gotoAndStop(12);
_root.bg2.gotoAndStop(12);
_root.fg1.gotoAndStop(12);
_root.fg2.gotoAndStop(12);
_root.fb1.gotoAndStop(7);
_root.fb2.gotoAndStop(7);
_root.tutorialtext = 14;
_root.npc1._x += 0;
_root.npc2._x += 0;
_root.npc7.gotoAndStop(2);
_root.npc7._x = 1600;
_root.npc7._y = 60;
_root.npc3._x = 2200;
_root.npc3._y = 80;
_root.npc4._x = 820;
_root.npc4._y = 345;
_root.npc5._x = 2150;
_root.npc5._y = 80;
_root.npc6._x = 2900;
_root.npc6._y = 80;
_root.npc5.gotoAndStop(2);
}
frame 9 {
stop();
_root.anskiturn = false;
_root.blipturn = true;
_root.hero.swapDepths(_root.hero2);
_root.hero._x = 100;
_root.hero2._x = 300;
_root.hero.gotoAndStop(10);
_root.hero2.gotoAndStop(1);
_root.mainpauseallowed = true;
_root.mainframe.reset.gotoAndStop(2);
_root.bg1.gotoAndStop(16);
_root.bg2.gotoAndStop(16);
_root.fg1.gotoAndStop(16);
_root.fg2.gotoAndStop(16);
_root.fb1.gotoAndStop(10);
_root.fb2.gotoAndStop(10);
_root.tutorialtext = 18;
_root.npc1._x += 0;
_root.npc2._x += 0;
_root.npc3._x = 1400;
_root.npc3._y = 80;
_root.npc4._x = 3000;
_root.npc4._y = 345;
_root.npc5._x = 2600;
_root.npc5._y = 130;
_root.npc6._x = 1100;
_root.npc6._y = 200;
_root.npc3.gotoAndStop(2);
_root.npc5.gotoAndStop(2);
}
frame 10 {
stop();
_root.anskiturn = true;
_root.blipturn = false;
_root.hero._x = 300;
_root.hero2._x = 100;
_root.hero.gotoAndStop(1);
_root.hero2.gotoAndStop(10);
_root.mainpauseallowed = true;
_root.mainframe.reset.gotoAndStop(2);
_root.bg1.gotoAndStop(21);
_root.bg2.gotoAndStop(21);
_root.fg1.gotoAndStop(21);
_root.fg2.gotoAndStop(21);
_root.fb1.gotoAndStop(13);
_root.fb2.gotoAndStop(13);
_root.npc1._x = 1000;
_root.npc1._y = 50;
_root.npc2._x = 2670;
_root.npc2._y = -30;
_root.npc7.gotoAndStop(2);
_root.npc7._x = 2200;
_root.npc7._y = 170;
_root.npc3._x = 1200;
_root.npc3._y = 150;
_root.npc4._x = 2800;
_root.npc4._y = 345;
_root.npc5._x = 1750;
_root.npc5._y = -40;
_root.npc6._x = 3100;
_root.npc6._y = 80;
_root.npc3.gotoAndStop(2);
_root.npc4.gotoAndStop(2);
}
frame 11 {
stop();
_root.anskiturn = false;
_root.blipturn = true;
_root.hero.swapDepths(_root.hero2);
_root.hero._x = 400;
_root.hero2._x = 250;
_root.hero.gotoAndStop(10);
_root.hero2.gotoAndStop(1);
_root.mainpauseallowed = true;
_root.mainframe.reset.gotoAndStop(2);
_root.bg1.gotoAndStop(26);
_root.bg2.gotoAndStop(26);
_root.fg1.gotoAndStop(26);
_root.fg2.gotoAndStop(26);
_root.fb1.gotoAndStop(16);
_root.fb2.gotoAndStop(16);
_root.npc1._x = 2350;
_root.npc1._y = 0;
_root.npc2._x = 1200;
_root.npc2._y = 100;
_root.npc7.gotoAndStop(2);
_root.npc7._x += 0;
_root.npc7._y += 0;
_root.npc3._x = 2000;
_root.npc3._y = 345;
_root.npc4._x = 2500;
_root.npc4._y = 0;
_root.npc5._x = 1480;
_root.npc5._y = 0;
_root.npc6._x = 3020;
_root.npc6._y = 150;
_root.npc3.gotoAndStop(2);
_root.npc4.gotoAndStop(2);
}
frame 12 {
stop();
_root.anskiturn = true;
_root.blipturn = false;
_root.hero._x = 100;
_root.hero2._x = 200;
_root.hero.gotoAndStop(1);
_root.hero2.gotoAndStop(10);
_root.mainpauseallowed = true;
_root.mainframe.reset.gotoAndStop(2);
_root.bg1.gotoAndStop(31);
_root.bg2.gotoAndStop(31);
_root.fg1.gotoAndStop(31);
_root.fg2.gotoAndStop(31);
_root.fb1.gotoAndStop(19);
_root.fb2.gotoAndStop(19);
_root.npc1._x = 1700;
_root.npc1._y += 0;
_root.npc2._x = 1050;
_root.npc2._y = 76;
_root.npc7.gotoAndStop(2);
_root.npc7._x += 0;
_root.npc7._y += 0;
_root.npc3._x = 1100;
_root.npc3._y = 345;
_root.npc4._x = 1600;
_root.npc4._y = 80;
_root.npc5._x = 850;
_root.npc5._y = 200;
_root.npc6._x = 2300;
_root.npc6._y = 80;
_root.npc5.gotoAndStop(2);
_root.npc6.gotoAndStop(2);
}
frame 13 {
stop();
_root.anskiturn = true;
_root.blipturn = false;
_root.hero._x = 100;
_root.hero2._x = 40;
_root.hero.gotoAndStop(1);
_root.hero2.gotoAndStop(10);
_root.mainpauseallowed = true;
_root.mainframe.reset.gotoAndStop(2);
_root.bg1.gotoAndStop(35);
_root.bg2.gotoAndStop(35);
_root.fg1.gotoAndStop(35);
_root.fg2.gotoAndStop(35);
_root.fb1.gotoAndStop(22);
_root.fb2.gotoAndStop(22);
_root.npc1._x += 0;
_root.npc1._y += 0;
_root.npc2._x = 1700;
_root.npc2._y = 70;
_root.npc7.gotoAndStop(2);
_root.npc7._x = 1350;
_root.npc7._y = 150;
_root.npc3._x = 2200;
_root.npc3._y = 80;
_root.npc4._x = 2400;
_root.npc4._y = 40;
_root.npc5._x = 650;
_root.npc5._y = 70;
_root.npc6._x = 1200;
_root.npc6._y = 120;
_root.npc5.gotoAndStop(2);
_root.npc6.gotoAndStop(2);
}
frame 14 {
stop();
_root.anskiturn = false;
_root.blipturn = true;
_root.hero.swapDepths(_root.hero2);
_root.hero._x = 100;
_root.hero2._x = 200;
_root.hero.gotoAndStop(10);
_root.hero2.gotoAndStop(1);
_root.mainpauseallowed = true;
_root.mainframe.reset.gotoAndStop(2);
_root.bg1.gotoAndStop(39);
_root.bg2.gotoAndStop(39);
_root.fg1.gotoAndStop(39);
_root.fg2.gotoAndStop(39);
_root.fb1.gotoAndStop(25);
_root.fb2.gotoAndStop(25);
_root.npc1._x += 0;
_root.npc1._y += 0;
_root.npc2._x = 500;
_root.npc2._y = -50;
_root.npc7.gotoAndStop(2);
_root.npc7._x = 500;
_root.npc7._y += 0;
_root.npc3._x = 2450;
_root.npc3._y = 0;
_root.npc4._x = 2620;
_root.npc4._y = 0;
_root.npc5._x = 100;
_root.npc5._y = 150;
_root.npc6._x = 1100;
_root.npc6._y = 345;
_root.npc5.gotoAndStop(2);
_root.npc6.gotoAndStop(2);
}
frame 15 {
stop();
_root.anskiturn = true;
_root.blipturn = false;
_root.hero._x = 100;
_root.hero2._x = 200;
_root.hero.gotoAndStop(1);
_root.hero2.gotoAndStop(10);
_root.mainpauseallowed = true;
_root.mainframe.reset.gotoAndStop(2);
_root.bg1.gotoAndStop(43);
_root.bg2.gotoAndStop(43);
_root.fg1.gotoAndStop(43);
_root.fg2.gotoAndStop(43);
_root.fb1.gotoAndStop(28);
_root.fb2.gotoAndStop(28);
_root.npc1._x = 850;
_root.npc1._y = 50;
_root.npc2._x = 2100;
_root.npc2._y = -10;
_root.npc7.gotoAndStop(2);
_root.npc7._x = 2300;
_root.npc7._y = 70;
_root.npc3._x = 400;
_root.npc3._y = 300;
_root.npc4._x = 1250;
_root.npc4._y = 200;
_root.npc5._x = 2000;
_root.npc5._y = 345;
_root.npc6._x = 2160;
_root.npc6._y = 70;
_root.npc3.gotoAndStop(2);
_root.npc5.gotoAndStop(2);
_root.npc6.gotoAndStop(2);
}
frame 16 {
stop();
_root.anskiturn = true;
_root.blipturn = false;
_root.hero._x = 300;
_root.hero2._x = 100;
_root.hero.gotoAndStop(1);
_root.hero2.gotoAndStop(10);
_root.mainpauseallowed = true;
_root.mainframe.reset.gotoAndStop(2);
_root.bg1.gotoAndStop(47);
_root.bg2.gotoAndStop(47);
_root.fg1.gotoAndStop(47);
_root.fg2.gotoAndStop(47);
_root.fb1.gotoAndStop(31);
_root.fb2.gotoAndStop(31);
_root.npc1._x += 0;
_root.npc1._y += 0;
_root.npc2._x = 1450;
_root.npc2._y = -90;
_root.npc7.gotoAndStop(2);
_root.npc7._x = 400;
_root.npc7._y = 100;
_root.npc3._x = 2900;
_root.npc3._y = 100;
_root.npc4._x = 3000;
_root.npc4._y = 100;
_root.npc5._x = 1100;
_root.npc5._y = -100;
_root.npc6._x = 1050;
_root.npc6._y = 345;
_root.npc3.gotoAndStop(2);
_root.npc5.gotoAndStop(2);
}
frame 17 {
stop();
_root.anskiturn = false;
_root.blipturn = true;
_root.hero.swapDepths(_root.hero2);
_root.hero._x = 100;
_root.hero2._x = 300;
_root.hero.gotoAndStop(10);
_root.hero2.gotoAndStop(1);
_root.mainpauseallowed = true;
_root.mainframe.reset.gotoAndStop(2);
_root.bg1.gotoAndStop(51);
_root.bg2.gotoAndStop(51);
_root.fg1.gotoAndStop(51);
_root.fg2.gotoAndStop(51);
_root.fb1.gotoAndStop(34);
_root.fb2.gotoAndStop(34);
_root.npc1._x += 0;
_root.npc1._y += 0;
_root.npc2._x = 1970;
_root.npc2._y = 20;
_root.npc7.gotoAndStop(2);
_root.npc7._x = 1150;
_root.npc7._y = 345;
_root.npc3._x = 1600;
_root.npc3._y = 345;
_root.npc4._x = 520;
_root.npc4._y = -100;
_root.npc5._x = 2300;
_root.npc5._y = 50;
_root.npc6._x = 1850;
_root.npc6._y = 90;
_root.npc3.gotoAndStop(2);
_root.npc5.gotoAndStop(2);
_root.npc6.gotoAndStop(2);
}
frame 18 {
stop();
_root.anskiturn = true;
_root.blipturn = false;
_root.hero._x = 200;
_root.hero2._x = 300;
_root.hero.gotoAndStop(1);
_root.hero2.gotoAndStop(10);
_root.mainpauseallowed = true;
_root.mainframe.reset.gotoAndStop(2);
_root.bg1.gotoAndStop(54);
_root.bg2.gotoAndStop(54);
_root.fg1.gotoAndStop(54);
_root.fg2.gotoAndStop(54);
_root.fb1.gotoAndStop(37);
_root.fb2.gotoAndStop(37);
_root.npc1._x = 1500;
_root.npc1._y = 100;
_root.npc2._x += 0;
_root.npc2._y += 0;
_root.npc7.gotoAndStop(2);
_root.npc7._x = 4000;
_root.npc7._y += 0;
_root.npc3._x = 3000;
_root.npc3._y = -50;
_root.npc4._x = -70;
_root.npc4._y = 150;
_root.npc5._x = 770;
_root.npc5._y = 160;
_root.npc6._x = 3400;
_root.npc6._y = 100;
_root.npc3.gotoAndStop(2);
_root.npc5.gotoAndStop(2);
_root.npc6.gotoAndStop(2);
}
frame 19 {
stop();
_root.allcollected = false;
_root.gamecompleted = false;
_root.anskiturn = true;
_root.blipturn = false;
_root.hero._x = 300;
_root.hero2._x = 200;
_root.hero.gotoAndStop(1);
_root.hero2.gotoAndStop(10);
_root.mainpauseallowed = true;
_root.mainframe.reset.gotoAndStop(2);
_root.bg1.gotoAndStop(59);
_root.bg2.gotoAndStop(59);
_root.fg1.gotoAndStop(59);
_root.fg2.gotoAndStop(59);
_root.fb1.gotoAndStop(40);
_root.fb2.gotoAndStop(40);
_root.npc1._x = 1800;
_root.npc1._y = -50;
_root.npc2._x += 0;
_root.npc2._y += 0;
_root.npc7.gotoAndStop(13);
_root.npc7._x = 1100;
_root.npc7._y = 345;
_root.npc3._x = 1250;
_root.npc3._y = 345;
_root.npc4._x = 1300;
_root.npc4._y = 345;
_root.npc5._x = 1350;
_root.npc5._y = 345;
_root.npc6._x = 1400;
_root.npc6._y = 345;
_root.npc5.gotoAndStop(2);
_root.npc6.gotoAndStop(2);
}