Combined Code
frame 1 {
function sitelock(urls_allowed) {
lock = true;
domain_parts = _url.split('://');
real_domain = domain_parts[1].split('/');
domain.text = real_domain[0];
for (x in urls_allowed) {
if (urls_allowed[x] == real_domain[0]) {
lock = false;
}
}
if (lock) {
_root.visible = false;
}
}
urls_allowed = ['http://.armorgames.com', 'http://games.armorgames.com', 'http://preview.armorgames.com', 'http://cache.armorgames.com', 'http://cdn.armorgames.com', 'http://gamemedia.armorgames.com', 'http://files.armorgames.com', 'http://*.armorgames.com'];
sitelock(urls_allowed);
}
frame 1 {
stop();
}
frame 1 {
var cmMenu = new ContextMenu();
cmMenu.hideBuiltInItems();
this.menu = cmMenu;
}
frame 1 {
sound1 = new Sound();
sound1.attachSound('thunder');
sound2 = new Sound();
sound2.attachSound('jump');
sound3 = new Sound();
sound3.attachSound('gotItem');
sound4 = new Sound();
sound4.attachSound('sword');
sound5 = new Sound();
sound5.attachSound('splash');
sound6 = new Sound();
sound6.attachSound('moneyBag');
sound7 = new Sound();
sound7.attachSound('slide');
sound8 = new Sound();
sound8.attachSound('bush');
sound9 = new Sound();
sound9.attachSound('chain');
sound10 = new Sound();
sound10.attachSound('button');
sound11 = new Sound();
sound11.attachSound('savegame');
sound12 = new Sound();
sound12.attachSound('opendoor');
sound13 = new Sound();
sound13.attachSound('wings');
sound14 = new Sound();
sound14.attachSound('batin');
sound15 = new Sound();
sound15.attachSound('punch');
sound16 = new Sound();
sound16.attachSound('birds');
sound17 = new Sound();
sound17.attachSound('pow');
sound18 = new Sound();
sound18.attachSound('boom');
sound19 = new Sound();
sound19.attachSound('arrowMiss');
sound20 = new Sound();
sound20.attachSound('shotArrow');
sound21 = new Sound();
sound21.attachSound('arrowString');
sound22 = new Sound();
sound22.attachSound('ping');
sound23 = new Sound();
sound23.attachSound('stoneDoor');
sound24 = new Sound();
sound24.attachSound('levelup');
sound25 = new Sound();
sound25.attachSound('lockUpDoor');
sound26 = new Sound();
sound26.attachSound('swim');
sound27 = new Sound();
sound27.attachSound('poof');
sound28 = new Sound();
sound28.attachSound('swoosh');
sound29 = new Sound();
sound29.attachSound('elec');
sound30 = new Sound();
sound30.attachSound('lava');
sound31 = new Sound();
sound31.attachSound('crossOut');
sound32 = new Sound();
sound32.attachSound('jesus');
sound33 = new Sound();
sound33.attachSound('clownMagic');
sound34 = new Sound();
sound34.attachSound('plop');
sound35 = new Sound();
sound35.attachSound('wind');
sound36 = new Sound();
sound36.attachSound('waterHit');
sound37 = new Sound();
sound37.attachSound('stoneDoor2');
sound38 = new Sound();
sound38.attachSound('slime');
sound39 = new Sound();
sound39.attachSound('slimeLand');
sound40 = new Sound();
sound40.attachSound('countdown');
sound41 = new Sound();
sound41.attachSound('goal');
sound42 = new Sound();
sound42.attachSound('point');
sound43 = new Sound();
sound43.attachSound('plant');
sound44 = new Sound();
sound44.attachSound('bossBite');
sound45 = new Sound();
sound45.attachSound('stress');
sound46 = new Sound();
sound46.attachSound('charge');
sound47 = new Sound();
sound47.attachSound('yoyo');
sound48 = new Sound();
sound48.attachSound('clownAttack');
sound49 = new Sound();
sound49.attachSound('gotHurt');
sound50 = new Sound();
sound50.attachSound('key');
sound51 = new Sound();
sound51.attachSound('menubutton');
sound52 = new Sound();
sound52.attachSound('rain');
sound53 = new Sound();
sound53.attachSound('plask');
sound54 = new Sound();
sound54.attachSound('dead');
sound55 = new Sound();
sound55.attachSound('rope');
music1 = new Sound();
music1.attachSound('intro');
music2 = new Sound();
music2.attachSound('story');
music3 = new Sound();
music3.attachSound('forest');
music4 = new Sound();
music4.attachSound('boss');
music5 = new Sound();
music5.attachSound('castle');
}
frame 1 {
user_so = SharedObject.getLocal('user');
var soundIsOn = true;
var soundNumber = 0;
var musicStart = true;
var deleteMouse = false;
var saveGo = false;
var health = 30;
var health2 = 30;
var inWater = false;
var level = 0;
var block1 = false;
var block2 = false;
var block3 = false;
var block4 = false;
var block5 = false;
var saveNumber = 0;
var fireMedal = false;
var waterMedal = false;
var earthMedal = false;
var windMedal = false;
var eyeBossBeat = false;
var goldFlower = false;
var garden1 = false;
var garden2 = false;
var garden3 = false;
var garden4 = false;
var beenHere1 = false;
var beenHere2 = false;
var beenHere3 = false;
var money = 0;
var monster1 = false;
var monster2 = false;
var monster3 = false;
var monster4 = false;
var monster5 = false;
var monster6 = false;
var monster7 = false;
var moneyBag1 = false;
var moneyBag2 = false;
var moneyBag3 = false;
var moneyBag4 = false;
var moneyBag5 = false;
var moneyBag6 = false;
var moneyBag7 = false;
var moneyBag8 = false;
var moneyBag9 = false;
var moneyBag10 = false;
var moneyBag11 = false;
var moneyBag12 = false;
var billy = false;
var cloudRing = false;
var sword = false;
var eld = false;
var lantern = false;
var lantern2 = false;
var skydd = false;
var hourGlass = false;
var redKey = false;
var sla = true;
var smallDoor1 = false;
var hopp = false;
var key1 = false;
var key2 = false;
var key3 = false;
var key4 = false;
var key5 = false;
var doorOpen1 = false;
var doorOpen2 = false;
var doorOpen3 = false;
var doorOpen4 = false;
var doorOpen5 = false;
var button1 = false;
var button2 = false;
var chainBone1 = false;
var chainBone2 = false;
var clicks = 0;
var lampLight = 0;
var silverKey1 = false;
var silverKey2 = false;
var silverKey3 = false;
var silverKey4 = false;
var silverKey5 = false;
var lampRoom1 = false;
var lampRoom2 = false;
var lampRoom3 = false;
var blockA = false;
var blockB = true;
var noLight = false;
var badDoor1 = false;
var badDoor2 = false;
var badDoor3 = false;
var badDoor4 = false;
var badDoor5 = false;
var badDoor6 = false;
var badDoor7 = false;
var seaShell = false;
var itRain = true;
}
// unknown tag 88 length 65
movieClip 64 {
}
movieClip 67 {
}
movieClip 69 {
frame 1 {
stop();
}
}
instance of movieClip 69 {
onClipEvent (enterFrame) {
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
if (percent == undefined) {
percent = 0;
}
percent -= (percent - (loading / total) * 100) * 0.25;
per = int(percent);
percentage = per + '%';
loadBar._width = per;
if (percent > 99) {
_root.gotoAndStop(2);
}
}
}
movieClip 72 {
}
movieClip 75 {
}
movieClip 77 {
}
movieClip 79 {
}
movieClip 82 {
}
movieClip 84 {
}
movieClip 86 {
}
movieClip 87 {
}
movieClip 89 {
}
movieClip 91 {
}
movieClip 93 {
}
movieClip 95 {
}
movieClip 96 {
}
movieClip 106 {
}
movieClip 112 {
}
movieClip 115 {
frame 1 {
_root.stop();
gotoAndPlay(2);
}
frame 225 {
_root.gotoAndStop('title');
}
}
instance of movieClip 115 {
onClipEvent (release) {
getURL('http://armor.ag/MoreGames', '_blank');
}
}
frame 3 {
if (_root.musicStart) {
_root.music3.start(0, 9999);
_root.musicStart = false;
}
}
frame 3 {
stop();
}
movieClip 120 {
}
movieClip 124 {
}
movieClip 127 {
}
movieClip 130 {
}
movieClip 132 {
}
movieClip 134 {
}
movieClip 136 {
}
movieClip 138 {
}
movieClip 140 {
}
movieClip 142 {
}
movieClip 143 {
}
// unknown tag 88 length 23
movieClip 147 {
}
movieClip 148 {
}
movieClip 149 {
}
movieClip 151 {
}
movieClip 152 {
frame 1 {
stop();
}
}
instance char of movieClip 152 {
onClipEvent (load) {
var ground = _root.ground;
var grav = 0;
var gravity = 2;
var speed = 5;
var maxJump = -16;
var touchingGround = false;
var isRunning = false;
var isJumping = false;
var walkingRight = true;
var deadbread = false;
var dead = false;
var dead2 = false;
var dead3 = false;
var goRight = false;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (dead2) {
deadbread = true;
_root.char2.gotoAndStop(8);
}
if (dead3) {
deadbread = true;
_root.char2.gotoAndStop(9);
}
if (!deadbread) {
_y = _y + grav;
grav += gravity;
if (grav >= 16) {
grav = 16;
}
while (ground.hitTest(_x, _y, true)) {
_y = _y - gravity;
grav = 0;
}
if (ground.hitTest(_x, _y + 5, true)) {
touchingGround = true;
isJumping = false;
} else {
touchingGround = false;
}
if (goRight) {
_xscale = scale;
goRight = false;
}
if (walkingRight) {
this._x += speed;
_xscale = scale;
}
if (walkingLeft) {
this._x -= speed;
_xscale = -scale;
}
if (ground.hitTest(_x + _width / 2, _y - _height / 2, true)) {
walkingRight = false;
walkingLeft = true;
_x = _x - speed;
}
if (ground.hitTest(_x - _width / 2, _y - _height / 2, true)) {
_x = _x + speed;
walkingRight = true;
walkingLeft = false;
}
if (ground.hitTest(_x - _width / 500, _y - _height / 1, true)) {
grav = speed;
}
if (dead) {
_root.char._x = -10;
_root.char._y = 364.6;
walkingRight = true;
walkingLeft = false;
dead = false;
}
if (isRunning) {
if (!isJumping) {
gotoAndStop(2);
}
} else {
if (isRunning && !touchingGround) {
gotoAndStop(4);
} else {
if (isJumping) {
gotoAndStop(4);
} else {
if (isRunning && isJumping) {
gotoAndStop(4);
} else {
gotoAndStop(1);
}
}
}
}
if (isRunning && isJumping) {
gotoAndStop(4);
}
}
if (_root.vcam.hp.death.hitTest(this)) {
_root.char.gotoAndStop(5);
_root.vcam.minus10000.gotoAndStop(2);
++_root.score;
_root.vcam.hp.gotoAndStop(4);
deadbread = true;
}
}
}
movieClip 155 {
}
movieClip 156 {
frame 1 {
stop();
}
frame 51 {
stop();
}
}
movieClip 158 {
}
movieClip 159 {
}
movieClip 161 {
}
movieClip 165 {
}
movieClip 166 {
}
movieClip 167 {
}
movieClip 168 {
frame 13 {
stop();
}
}
movieClip 169 {
frame 1 {
stop();
}
frame 2 {
_root.sound4.start(0, 1);
}
}
movieClip 172 {
}
movieClip 174 {
}
movieClip 175 {
}
movieClip 177 {
}
movieClip 179 {
}
movieClip 180 {
}
movieClip 181 {
frame 1 {
stop();
}
}
movieClip 186 {
}
movieClip 187 {
}
movieClip 189 {
}
movieClip 190 {
}
movieClip 193 {
frame 1 {
stop();
}
}
movieClip 194 {
}
movieClip 196 {
}
movieClip 197 {
}
movieClip 200 {
}
movieClip 202 {
}
movieClip 204 {
}
movieClip 206 {
}
movieClip 207 {
}
movieClip 209 {
}
movieClip 210 {
}
movieClip 212 {
instance a1 of movieClip 187 {
onClipEvent (load) {
this.stop();
this.a1.stop();
this.a1.a1.stop();
}
}
}
movieClip 213 {
frame 25 {
stop();
}
frame 52 {
stop();
}
}
movieClip 214 {
frame 210 {
stop();
_root.char2.gotoAndStop(6);
}
}
movieClip 216 {
}
movieClip 219 {
}
movieClip 220 {
}
movieClip 222 {
}
movieClip 223 {
instance f2 of movieClip 159 {
onClipEvent (load) {
this.stop();
}
}
instance f1 of movieClip 159 {
onClipEvent (load) {
this.stop();
}
}
instance shield of movieClip 194 {
onClipEvent (load) {
this.stop();
}
}
frame 2 {
_root.sound45.start(0, 1);
}
frame 30 {
_root.music4.start(0, 1528);
}
frame 31 {
_root.bg1.play();
_root.ground.a1.play(1);
_root.ground.flower.play(2);
_root.ground.flo.play();
_root.flo1.play();
_root.char.deadbread = false;
_root.char.moving = false;
_root.char2.gotoAndStop(1);
}
}
movieClip 225 {
}
movieClip 227 {
}
movieClip 228 {
instance f2 of movieClip 159 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance f1 of movieClip 159 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance shield of movieClip 194 {
onClipEvent (enterFrame) {
this.stop();
}
}
frame 17 {
stop();
}
}
movieClip 229 {
frame 1 {
stop();
}
instance of movieClip 228 {
onClipEvent (load) {
this.stop();
}
}
}
movieClip 232 {
}
movieClip 240 {
instance f2 of movieClip 159 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance f1 of movieClip 159 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance shield of movieClip 194 {
onClipEvent (enterFrame) {
this.stop();
}
}
frame 9 {
_root.charDead.dead = true;
_root.char.deadbread = false;
_root.char.dead2 = false;
}
}
movieClip 241 {
}
movieClip 242 {
instance f2 of movieClip 159 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
}
movieClip 245 {
}
movieClip 246 {
}
movieClip 247 {
instance of movieClip 246 {
onClipEvent (enterFrame) {
loadMovie('', this.a1);
}
}
instance of movieClip 246 {
onClipEvent (enterFrame) {
loadMovie('', this.a1);
}
}
instance of movieClip 246 {
onClipEvent (enterFrame) {
loadMovie('', this.a1);
}
}
instance of movieClip 246 {
onClipEvent (enterFrame) {
loadMovie('', this.a1);
}
}
instance of movieClip 246 {
onClipEvent (enterFrame) {
loadMovie('', this.a1);
}
}
instance of movieClip 246 {
onClipEvent (enterFrame) {
loadMovie('', this.a1);
}
}
frame 16 {
_root.charDead.dead = true;
_root.char.deadbread = false;
_root.char.dead3 = false;
_root.char2.gotoAndStop(1);
}
}
movieClip 249 {
}
movieClip 250 {
}
movieClip 252 {
}
movieClip 253 {
frame 1 {
_root.sound54.start(0, 1);
}
instance f1 of movieClip 159 {
onClipEvent (load) {
this.stop();
}
}
instance f1 of movieClip 159 {
onClipEvent (load) {
this.stop();
}
}
frame 40 {
_root.gotoAndStop('death');
}
}
movieClip 254 {
frame 1 {
stop();
}
instance f2 of movieClip 159 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 196 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 197 {
onClipEvent (load) {
this.gotoAndPlay(6);
}
}
frame 4 {
stop();
}
instance f2 of movieClip 159 {
onClipEvent (load) {
this.stop();
}
}
instance f1 of movieClip 159 {
onClipEvent (load) {
this.stop();
}
}
instance shield of movieClip 194 {
onClipEvent (load) {
this.stop();
}
}
frame 7 {
stop();
}
frame 8 {
_root.sound49.start(0, 1);
}
frame 9 {
stop();
}
frame 9 {
_root.sound49.start(0, 1);
}
frame 10 {
stop();
}
frame 10 {
_root.sound5.start(0, 1);
}
}
instance char2 of movieClip 254 {
onClipEvent (load) {
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.char.walkingRight) {
_xscale = scale;
}
if (_root.char.walkingLeft) {
_xscale = -scale;
}
this._x = _root.char._x;
this._y = _root.char._y;
}
}
movieClip 257 {
}
// unknown tag 88 length 44
movieClip 262 {
}
movieClip 263 {
instance of movieClip 262 {
onClipEvent (load) {
this.gotoAndPlay(9);
}
}
instance of movieClip 262 {
onClipEvent (load) {
this.gotoAndPlay(7);
}
}
instance of movieClip 262 {
onClipEvent (load) {
this.gotoAndPlay(5);
}
}
instance of movieClip 262 {
onClipEvent (load) {
this.gotoAndPlay(3);
}
}
instance of movieClip 262 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
}
movieClip 264 {
}
movieClip 265 {
frame 1 {
stop();
}
frame 2 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 3 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 3 {
_root.sound24.start(0, 1);
}
frame 4 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 5 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 6 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 7 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 8 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 9 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 10 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 11 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 12 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 13 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 14 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 15 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 16 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 17 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 18 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 19 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 20 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 21 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 22 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 23 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 24 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 25 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 26 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 27 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 28 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 29 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 30 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 31 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 32 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 33 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 34 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 35 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 36 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 37 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 38 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 39 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 40 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 41 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 42 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 43 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 44 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 45 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 46 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 47 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 48 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 49 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 50 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 51 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 52 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 53 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 54 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 55 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 56 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 57 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 58 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 59 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 60 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 61 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 62 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 63 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 64 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 65 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 66 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 67 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 68 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 69 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 70 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 71 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 72 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 73 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 74 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 75 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 76 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 77 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 78 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 79 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 80 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 81 {
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
frame 82 {
stop();
}
}
movieClip 267 {
}
movieClip 269 {
}
instance of movieClip 269 {
onClipEvent (enterFrame) {
if (_root.soundNumber != 0) {
++_root.soundNumber;
if (_root.soundNumber == 30) {
_root.soundNumber = 0;
}
}
if (Key.isDown(83)) {
if (_root.soundIsOn && _root.soundNumber == 0) {
_root.sound1.setVolume(0);
_root.sound2.setVolume(0);
_root.sound3.setVolume(0);
_root.sound4.setVolume(0);
_root.sound5.setVolume(0);
_root.sound6.setVolume(0);
_root.sound7.setVolume(0);
_root.sound8.setVolume(0);
_root.sound9.setVolume(0);
_root.sound10.setVolume(0);
_root.sound11.setVolume(0);
_root.sound12.setVolume(0);
_root.sound13.setVolume(0);
_root.sound14.setVolume(0);
_root.sound15.setVolume(0);
_root.sound16.setVolume(0);
_root.sound17.setVolume(0);
_root.sound18.setVolume(0);
_root.sound19.setVolume(0);
_root.sound20.setVolume(0);
_root.sound21.setVolume(0);
_root.sound22.setVolume(0);
_root.sound23.setVolume(0);
_root.sound24.setVolume(0);
_root.sound25.setVolume(0);
_root.sound26.setVolume(0);
_root.sound27.setVolume(0);
_root.sound28.setVolume(0);
_root.sound29.setVolume(0);
_root.sound30.setVolume(0);
_root.sound31.setVolume(0);
_root.sound32.setVolume(0);
_root.sound33.setVolume(0);
_root.sound34.setVolume(0);
_root.sound35.setVolume(0);
_root.sound36.setVolume(0);
_root.sound37.setVolume(0);
_root.sound38.setVolume(0);
_root.sound39.setVolume(0);
_root.sound40.setVolume(0);
_root.sound41.setVolume(0);
_root.sound42.setVolume(0);
_root.sound43.setVolume(0);
_root.sound44.setVolume(0);
_root.sound45.setVolume(0);
_root.sound46.setVolume(0);
_root.sound47.setVolume(0);
_root.sound48.setVolume(0);
_root.sound49.setVolume(0);
_root.sound50.setVolume(0);
_root.sound51.setVolume(0);
_root.sound52.setVolume(0);
_root.sound53.setVolume(0);
_root.sound54.setVolume(0);
_root.sound55.setVolume(0);
_root.sound56.setVolume(0);
_root.sound57.setVolume(0);
_root.music1.setVolume(0);
_root.music2.setVolume(0);
_root.music3.setVolume(0);
_root.music4.setVolume(0);
_root.music5.setVolume(0);
_root.soundIsOn = false;
_root.soundNumber = 1;
} else {
if (!_root.soundIsOn && _root.soundNumber == 0) {
_root.sound1.setVolume(100);
_root.sound2.setVolume(100);
_root.sound3.setVolume(100);
_root.sound4.setVolume(100);
_root.sound5.setVolume(100);
_root.sound6.setVolume(100);
_root.sound7.setVolume(100);
_root.sound8.setVolume(100);
_root.sound9.setVolume(100);
_root.sound10.setVolume(100);
_root.sound11.setVolume(100);
_root.sound12.setVolume(100);
_root.sound13.setVolume(100);
_root.sound14.setVolume(100);
_root.sound15.setVolume(100);
_root.sound16.setVolume(100);
_root.sound17.setVolume(100);
_root.sound18.setVolume(100);
_root.sound19.setVolume(100);
_root.sound20.setVolume(100);
_root.sound21.setVolume(100);
_root.sound22.setVolume(100);
_root.sound23.setVolume(100);
_root.sound24.setVolume(100);
_root.sound25.setVolume(100);
_root.sound26.setVolume(100);
_root.sound27.setVolume(100);
_root.sound28.setVolume(100);
_root.sound29.setVolume(100);
_root.sound30.setVolume(100);
_root.sound31.setVolume(100);
_root.sound32.setVolume(100);
_root.sound33.setVolume(100);
_root.sound34.setVolume(100);
_root.sound35.setVolume(100);
_root.sound36.setVolume(100);
_root.sound37.setVolume(100);
_root.sound38.setVolume(100);
_root.sound39.setVolume(100);
_root.sound40.setVolume(100);
_root.sound41.setVolume(100);
_root.sound42.setVolume(100);
_root.sound43.setVolume(100);
_root.sound44.setVolume(100);
_root.sound45.setVolume(100);
_root.sound46.setVolume(100);
_root.sound47.setVolume(100);
_root.sound48.setVolume(100);
_root.sound49.setVolume(100);
_root.sound50.setVolume(100);
_root.sound51.setVolume(100);
_root.sound52.setVolume(100);
_root.sound53.setVolume(100);
_root.sound54.setVolume(100);
_root.sound55.setVolume(100);
_root.sound56.setVolume(100);
_root.sound57.setVolume(100);
_root.music1.setVolume(100);
_root.music2.setVolume(100);
_root.music3.setVolume(100);
_root.music4.setVolume(100);
_root.music5.setVolume(100);
_root.soundIsOn = true;
_root.soundNumber = 1;
}
}
}
}
}
movieClip 271 {
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen5');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen6');
}
}
}
movieClip 273 {
}
movieClip 275 {
}
movieClip 287 {
}
movieClip 289 {
}
movieClip 291 {
}
movieClip 292 {
frame 1 {
stop();
}
}
movieClip 296 {
}
movieClip 299 {
}
movieClip 304 {
frame 1 {
stop();
}
frame 2 {
play();
}
}
movieClip 318 {
}
movieClip 321 {
}
movieClip 322 {
}
movieClip 323 {
}
movieClip 325 {
frame 1 {
stop();
}
}
movieClip 326 {
instance of movieClip 318 {
onClipEvent (enterFrame) {
if (_root.level == 0) {
this.gotoAndStop(1);
}
if (_root.level == 1) {
this.gotoAndStop(2);
}
if (_root.level == 2) {
this.gotoAndStop(3);
}
if (_root.level == 3) {
this.gotoAndStop(4);
}
if (_root.level == 4) {
this.gotoAndStop(5);
}
if (_root.level == 5) {
this.gotoAndStop(6);
}
if (_root.level == 6) {
this.gotoAndStop(7);
}
if (_root.level == 7) {
this.gotoAndStop(8);
}
if (_root.level == 8) {
this.gotoAndStop(9);
}
if (_root.level == 9) {
this.gotoAndStop(10);
}
if (_root.level == 10) {
this.gotoAndStop(11);
}
if (_root.level == 11) {
this.gotoAndStop(12);
}
if (_root.level == 12) {
this.gotoAndStop(13);
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (_root.soundIsOn) {
this.gotoAndStop(1);
}
if (!_root.soundIsOn) {
this.gotoAndStop(2);
}
}
}
}
instance menu1 of movieClip 326 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.menu1.clickText.text = _root.clicks;
this.money.text = _root.money;
this.health.health.text = _root.health2 + '/' + _root.health;
}
}
button 328 {
on (press) {
if (_root.char.touchingGround) {
_root.sound2.start(0, 1);
++_root.clicks;
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
}
}
}
movieClip 331 {
}
instance of movieClip 331 {
onClipEvent (enterFrame) {
if (_root.deleteMouse) {
loadMovie('', this);
}
}
}
movieClip 335 {
}
movieClip 336 {
}
movieClip 337 {
frame 117 {
stop();
}
}
instance of movieClip 337 {
onClipEvent (load) {
this.stop();
}
}
movieClip 339 {
}
instance of movieClip 339 {
onClipEvent (enterFrame) {
if (_root.money >= 75 && _root.money <= 145 && _root.level == 0) {
_root.health = 35;
_root.health2 = 35;
_root.level = 1;
_root.levelUp.gotoAndPlay(2);
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
if (_root.money >= 146 && _root.money <= 275 && _root.level == 1) {
_root.health = 40;
_root.health2 = 40;
_root.level = 2;
_root.levelUp.gotoAndPlay(2);
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
if (_root.money >= 276 && _root.money <= 350 && _root.level == 2) {
_root.health = 45;
_root.health2 = 45;
_root.level = 3;
_root.levelUp.gotoAndPlay(2);
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
if (_root.money >= 351 && _root.money <= 425 && _root.level == 3) {
_root.health = 50;
_root.health2 = 50;
_root.level = 4;
_root.levelUp.gotoAndPlay(2);
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
if (_root.money >= 426 && _root.money <= 550 && _root.level == 4) {
_root.health = 50;
_root.health2 = 50;
_root.level = 5;
_root.levelUp.gotoAndPlay(2);
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
if (_root.money >= 551 && _root.money <= 625 && _root.level == 5) {
_root.health = 60;
_root.health2 = 60;
_root.level = 6;
_root.levelUp.gotoAndPlay(2);
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
if (_root.money >= 626 && _root.money <= 700 && _root.level == 6) {
_root.levelUp.gotoAndPlay(2);
_root.health = 65;
_root.health2 = 65;
_root.level = 7;
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
if (_root.money >= 701 && _root.money <= 750 && _root.level == 7) {
_root.levelUp.gotoAndPlay(2);
_root.health = 70;
_root.health2 = 70;
_root.level = 8;
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
if (_root.money >= 751 && _root.money <= 825 && _root.level == 8) {
_root.levelUp.gotoAndPlay(2);
_root.health = 75;
_root.health2 = 75;
_root.level = 9;
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
if (_root.money >= 826 && _root.money <= 900 && _root.level == 9) {
_root.levelUp.gotoAndPlay(2);
_root.health = 80;
_root.health2 = 80;
_root.level = 10;
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
if (_root.money >= 901 && _root.money <= 975 && _root.level == 10) {
_root.levelUp.gotoAndPlay(2);
_root.health = 85;
_root.health2 = 85;
_root.level = 11;
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
_root.money = 999;
}
if (_root.money >= 976 && _root.money <= 999 && _root.level == 11) {
_root.levelUp.gotoAndPlay(2);
_root.health = 90;
_root.health2 = 90;
_root.level = 12;
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
if (_root.money >= 999) {
_root.money = 999;
}
}
}
movieClip 341 {
frame 2 {
stop();
}
}
movieClip 343 {
}
instance of movieClip 343 {
onClipEvent (enterFrame) {
if (_root.health2 <= 0) {
_root.char.deadbread = true;
_root.char.dead2 = false;
_root.char2.gotoAndStop(10);
}
}
}
frame 4 {
_root.sla = true;
_root.hopp = false;
}
movieClip 347 {
}
movieClip 349 {
}
movieClip 350 {
}
movieClip 352 {
}
movieClip 355 {
frame 1 {
stop();
}
}
movieClip 356 {
instance of movieClip 355 {
onClipEvent (enterFrame) {
if (_root.sword) {
this.gotoAndStop(2);
}
}
}
}
movieClip 357 {
}
movieClip 358 {
}
movieClip 359 {
}
movieClip 360 {
frame 15 {
stop();
}
}
movieClip 361 {
frame 1 {
stop();
}
frame 26 {
stop();
_root.magicSeal = true;
}
}
movieClip 362 {
frame 1 {
stop();
}
frame 16 {
stop();
}
}
movieClip 365 {
}
movieClip 366 {
}
movieClip 368 {
}
movieClip 370 {
}
movieClip 371 {
}
movieClip 373 {
}
movieClip 376 {
}
movieClip 377 {
}
movieClip 379 {
}
movieClip 380 {
}
movieClip 381 {
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen4');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen1');
}
}
}
button 383 {
on (press) {
if (_root.char.touchingGround) {
++_root.clicks;
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
}
}
}
movieClip 387 {
}
movieClip 389 {
instance of movieClip 387 {
onClipEvent (enterFrame) {
if (_root.char2.attack.attack.a1.hitTest(this) || _root.char2.attack.attack.a2.hitTest(this) || _root.char2.attack.attack.a3.hitTest(this)) {
loadMovie('', this);
}
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen1');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen6');
}
}
}
movieClip 394 {
}
movieClip 396 {
}
movieClip 397 {
}
movieClip 398 {
}
movieClip 406 {
}
movieClip 410 {
}
movieClip 412 {
}
movieClip 413 {
}
movieClip 421 {
}
movieClip 424 {
}
movieClip 425 {
}
movieClip 427 {
}
movieClip 429 {
}
movieClip 431 {
frame 16 {
stop();
}
}
movieClip 433 {
}
movieClip 434 {
}
movieClip 438 {
}
movieClip 445 {
instance of movieClip 438 {
onClipEvent (load) {
this.gotoAndPlay(4);
}
}
instance of movieClip 438 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 438 {
onClipEvent (load) {
this.gotoAndPlay(6);
}
}
instance of movieClip 438 {
onClipEvent (load) {
this.gotoAndPlay(8);
}
}
instance of movieClip 438 {
onClipEvent (load) {
this.gotoAndPlay(2);
}
}
}
movieClip 446 {
frame 31 {
stop();
}
}
movieClip 447 {
frame 1 {
stop();
}
instance money of movieClip 446 {
onClipEvent (load) {
var gen = 1;
genn = random(7) + 1;
if (genn == 1) {
this.a1.gotoAndStop(1);
_root.money += 1;
}
if (genn == 2) {
this.a1.gotoAndStop(2);
_root.money += 2;
}
if (genn == 3) {
this.a1.gotoAndStop(3);
_root.money += 3;
}
if (genn == 4) {
this.a1.gotoAndStop(4);
_root.money += 4;
}
if (genn == 5) {
this.a1.gotoAndStop(5);
_root.money += 5;
}
if (genn == 6) {
this.a1.gotoAndStop(6);
_root.money += 6;
}
if (genn == 7) {
this.a1.gotoAndStop(7);
_root.money += 7;
}
}
}
}
movieClip 448 {
frame 1 {
stop();
}
frame 2 {
stop();
_root.sound5.start(0, 1);
}
}
movieClip 449 {
instance a1 of movieClip 448 {
onClipEvent (enterFrame) {
if (_root.char.hitSpot.hitTest(this) && this._currentframe == 1 && _root.char2._currentframe != 10 && _root.char2._currentframe != 8 && _root.char2._currentframe != 10) {
_root.health2 -= 1;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.char.dead2 = true;
}
if (_root.char2.attack.attack.a1.hitTest(this) || _root.char2.attack.attack.a2.hitTest(this) || _root.char2.attack.attack.a3.hitTest(this)) {
this.gotoAndStop(2);
}
}
}
}
movieClip 455 {
}
movieClip 456 {
frame 85 {
stop();
_root.clownDown.gotoAndPlay(2);
}
}
movieClip 458 {
frame 86 {
stop();
stop();
_root.clownDown.gotoAndPlay(2);
}
}
movieClip 460 {
}
movieClip 461 {
frame 86 {
stop();
_root.clownDown.gotoAndPlay(2);
}
}
movieClip 463 {
frame 86 {
stop();
_root.clownDown.gotoAndPlay(2);
}
}
movieClip 465 {
frame 86 {
stop();
_root.char.deadbread = false;
_root.char2.gotoAndStop(1);
}
}
movieClip 467 {
frame 86 {
stop();
_root.char.deadbread = false;
_root.char2.gotoAndStop(1);
}
}
movieClip 469 {
frame 86 {
stop();
_root.char.deadbread = false;
_root.char2.gotoAndStop(1);
}
}
movieClip 470 {
frame 86 {
stop();
_root.char.deadbread = false;
_root.char2.gotoAndStop(3);
}
}
movieClip 472 {
frame 87 {
stop();
_root.char.deadbread = false;
_root.char2.gotoAndStop(1);
}
}
movieClip 474 {
frame 87 {
stop();
_root.char.deadbread = false;
_root.char2.gotoAndStop(1);
}
}
movieClip 476 {
frame 87 {
stop();
_root.char.deadbread = false;
_root.char2.gotoAndStop(1);
}
}
movieClip 478 {
frame 87 {
stop();
_root.char.deadbread = false;
_root.char2.gotoAndStop(1);
}
}
movieClip 479 {
frame 1 {
stop();
}
}
movieClip 480 {
frame 14 {
stop();
}
}
movieClip 481 {
frame 1 {
stop();
}
}
button 482 {
on (press) {
if (_root.sword) {
if (_root.char2.attack._currentFrame == 1) {
++_root.clicks;
_root.char2.attack.gotoAndPlay(2);
}
} else {
if (!_root.sword) {
_root.swordMess.gotoAndStop(2);
}
}
}
}
movieClip 485 {
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen5');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen2');
}
}
}
movieClip 489 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance of movieClip 489 {
onClipEvent (enterFrame) {
if (_root.hopp) {
this.gotoAndStop(2);
} else {
if (_root.sla) {
this.gotoAndStop(1);
}
}
}
}
frame 7 {
_root.deleteMouse = true;
}
movieClip 496 {
frame 1 {
stop();
}
}
movieClip 497 {
instance of movieClip 496 {
onClipEvent (enterFrame) {
if (_root.hourGlass && !_root.sword) {
this.gotoAndStop(2);
}
if (_root.sword) {
this.gotoAndStop(3);
}
}
}
}
movieClip 498 {
}
movieClip 499 {
}
movieClip 504 {
frame 1 {
stop();
}
}
movieClip 505 {
frame 1 {
stop();
}
}
movieClip 506 {
}
movieClip 510 {
}
movieClip 512 {
}
movieClip 519 {
}
movieClip 520 {
}
movieClip 522 {
}
movieClip 524 {
}
movieClip 528 {
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen1');
}
}
}
instance fireMess of movieClip 481 {
onClipEvent (enterFrame) {
this.a1.a1.gotoAndStop(6);
}
}
instance swordMess of movieClip 481 {
onClipEvent (enterFrame) {
this.a1.a1.gotoAndStop(7);
}
}
movieClip 531 {
}
movieClip 532 {
}
movieClip 533 {
frame 59 {
stop();
}
}
movieClip 534 {
frame 1 {
stop();
}
frame 1 {
stop();
}
frame 10 {
_root.char.deadbread = true;
_root.char2.gotoAndStop(7);
_root.swordMess.gotoAndStop(2);
_root.sound3.start(0, 1);
}
frame 86 {
_root.sword = true;
_root.jumpStab.gotoAndStop(2);
stop();
}
}
movieClip 535 {
instance of movieClip 534 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && this._currentframe == 1) {
this.gotoAndPlay(2);
}
}
}
frame 10 {
stop();
}
}
movieClip 536 {
frame 1 {
stop();
}
}
instance of movieClip 536 {
onClipEvent (enterFrame) {
if (_root.hourGlass) {
this.gotoAndStop(2);
}
if (_root.sword) {
loadMovie('', this);
}
}
}
movieClip 538 {
}
movieClip 539 {
}
movieClip 540 {
}
movieClip 541 {
frame 1 {
stop();
}
}
movieClip 542 {
instance of movieClip 541 {
onClipEvent (enterFrame) {
if (_root.sword) {
loadMovie('', this);
}
if (_root.char.hitTest(this) && this._currentframe == 1) {
_root.hourGlass = true;
_root.redKey = true;
this.gotoAndPlay(2);
}
}
}
frame 59 {
stop();
}
}
movieClip 543 {
frame 1 {
stop();
}
instance of movieClip 541 {
onClipEvent (enterFrame) {
if (_root.sword) {
loadMovie('', this);
}
if (_root.char.hitTest(this) && this._currentframe == 1) {
_root.hourGlass = true;
_root.redKey = true;
this.gotoAndPlay(2);
}
}
}
frame 10 {
_root.char.deadbread = true;
_root.char2.gotoAndStop(7);
_root.fireMess.gotoAndStop(2);
_root.sound3.start(0, 1);
}
frame 26 {
stop();
}
}
instance of movieClip 543 {
onClipEvent (enterFrame) {
if (_root.sword) {
loadMovie('', this);
}
if (_root.char.hitTest(this) && this._currentframe == 1) {
_root.hourGlass = true;
_root.redKey = true;
this.gotoAndPlay(2);
}
}
}
button 544 {
on (press) {
if (_root.sword) {
if (_root.char2.attack._currentFrame == 1) {
_root.char2.attack.gotoAndPlay(2);
_root.hopp = true;
_root.sla = false;
++_root.clicks;
if (_root.char.touchingGround) {
_root.sound2.start(0, 1);
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
_root.sla = true;
_root.hopp = false;
}
}
} else {
if (!_root.sword) {
if (_root.char.touchingGround) {
_root.sound2.start(0, 1);
++_root.clicks;
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
}
}
}
}
}
frame 8 {
_root.deleteMouse = true;
}
instance zaa2 of movieClip 449 {
onClipEvent (enterFrame) {
if (this.a1._currentframe == 2 && this.a1.money.money._currentframe == 30) {
_root.monster1 = true;
}
if (_root.monster1) {
loadMovie('', this);
}
}
}
movieClip 547 {
}
movieClip 548 {
frame 8 {
stop();
}
}
movieClip 550 {
}
movieClip 551 {
frame 17 {
stop();
}
}
movieClip 553 {
}
movieClip 554 {
frame 21 {
stop();
}
}
movieClip 555 {
}
movieClip 556 {
frame 1 {
stop();
}
frame 3 {
stop();
}
}
movieClip 558 {
instance of movieClip 387 {
onClipEvent (enterFrame) {
if (_root.char2.attack.attack.a1.hitTest(this) || _root.char2.attack.attack.a2.hitTest(this) || _root.char2.attack.attack.a3.hitTest(this)) {
_root.bushCrash.gotoAndPlay(2);
_root.sound8.start(0, 1);
_root.bushCrash._x = _root.bushXY._x;
_root.bushCrash._y = _root.bushXY._y;
loadMovie('', this);
}
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen1');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen7');
}
}
}
movieClip 560 {
}
movieClip 563 {
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.char._x = _root.startP._x;
_root.char._y = _root.startP._y;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
movieClip 565 {
}
movieClip 568 {
}
movieClip 569 {
}
// unknown tag 88 length 19
movieClip 574 {
}
movieClip 575 {
}
instance of movieClip 575 {
onClipEvent (enterFrame) {
if (_root.sword) {
loadMovie('', this);
}
}
}
frame 9 {
_root.screenR = true;
}
movieClip 578 {
}
movieClip 587 {
}
movieClip 588 {
}
movieClip 589 {
}
movieClip 593 {
}
movieClip 594 {
}
movieClip 596 {
instance of movieClip 594 {
onClipEvent (load) {
this.gotoAndPlay(14);
}
}
instance of movieClip 594 {
onClipEvent (load) {
this.gotoAndPlay(14);
}
}
instance of movieClip 594 {
onClipEvent (load) {
this.gotoAndPlay(14);
}
}
instance of movieClip 594 {
onClipEvent (load) {
this.gotoAndPlay(14);
}
}
}
movieClip 599 {
}
instance of movieClip 599 {
onClipEvent (enterFrame) {
if (_root.char.hitSpot.hitTest(this) && this._currentframe == 1 && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && _root.char2._currentframe != 10 && !_root.charDead.dead) {
_root.health2 -= 1;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.ground.ssd.gotoAndPlay(1);
_root.char.dead2 = true;
_root.char.walkingLeft = false;
_root.char.walkingRight = true;
_root.char.goRight = true;
}
}
}
instance zaa2fg of movieClip 449 {
onClipEvent (enterFrame) {
if (this.a1._currentframe == 2 && this.a1.money.money._currentframe == 30) {
_root.monster2 = true;
}
if (_root.monster2) {
loadMovie('', this);
}
}
}
movieClip 602 {
}
movieClip 603 {
frame 9 {
stop();
}
}
movieClip 604 {
}
movieClip 605 {
frame 1 {
stop();
}
frame 3 {
stop();
_root.sound1.start(0, 1);
}
}
movieClip 608 {
}
movieClip 609 {
frame 12 {
_root.fx1.gotoAndPlay(2);
}
frame 19 {
stop();
}
}
instance sss of movieClip 609 {
onClipEvent (load) {
this.stop();
}
}
movieClip 613 {
frame 16 {
stop();
}
}
movieClip 614 {
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen6');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen8');
}
}
}
button 616 {
on (press) {
if (_root.char2.attack._currentFrame == 1) {
++_root.clicks;
_root.char2.attack.gotoAndPlay(2);
if (_root.char.touchingGround) {
_root.sound2.start(0, 1);
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
}
}
}
}
movieClip 618 {
}
movieClip 619 {
frame 92 {
stop();
}
}
instance rtyne5yeryenyeynerynr of movieClip 619 {
onClipEvent (load) {
this.stop();
}
}
movieClip 621 {
}
instance of movieClip 621 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.sss.gotoAndPlay(11);
loadMovie('', this);
}
}
}
frame 10 {
_root.saveGo = false;
}
frame 10 {
_root.screenR = true;
}
movieClip 625 {
}
movieClip 627 {
}
movieClip 629 {
}
instance zaa25uy of movieClip 449 {
onClipEvent (enterFrame) {
this.a1.money.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (this.a1._currentframe == 2 && this.a1.money.money._currentframe == 30) {
_root.monster4 = true;
}
if (_root.monster4) {
loadMovie('', this);
}
}
}
instance zaa2ur of movieClip 449 {
onClipEvent (enterFrame) {
this.a1.money.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (this.a1._currentframe == 2 && this.a1.money.money._currentframe == 30) {
_root.monster6 = true;
}
if (_root.monster6) {
loadMovie('', this);
}
}
}
movieClip 634 {
}
movieClip 638 {
frame 1 {
stop();
}
frame 7 {
stop();
}
}
movieClip 639 {
instance button2 of movieClip 638 {
onClipEvent (enterFrame) {
if (this._currentframe == 7) {
_root.button2 = true;
}
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen7');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen9');
}
}
}
movieClip 641 {
}
instance ygyk of movieClip 641 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.ground.button2.gotoAndPlay(2);
_root.sound10.start(0, 1);
loadMovie('', this);
}
if (_root.button2) {
_root.ground.button2.gotoAndStop(7);
loadMovie('', this);
}
}
}
movieClip 645 {
}
movieClip 646 {
}
movieClip 647 {
}
movieClip 648 {
}
movieClip 650 {
frame 58 {
_root.key1 = true;
}
frame 59 {
stop();
}
}
movieClip 651 {
frame 1 {
stop();
}
frame 9 {
_root.char.deadbread = true;
_root.char2.gotoAndStop(7);
_root.fireMess.gotoAndStop(2);
_root.sound3.start(0, 1);
}
frame 86 {
stop();
}
}
instance of movieClip 651 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
}
if (this._currentframe == 86) {
_root.key1 = true;
}
if (_root.key1) {
loadMovie('', this);
}
}
}
instance fireMess of movieClip 481 {
onClipEvent (enterFrame) {
this.a1.a1.gotoAndStop(8);
}
}
frame 11 {
if (_root.musicStart) {
_root.music3.start(0, 9999);
_root.musicStart = false;
}
}
movieClip 653 {
}
movieClip 656 {
frame 1 {
stop();
}
}
movieClip 657 {
}
movieClip 658 {
}
movieClip 659 {
frame 1 {
stop();
}
frame 3 {
_root.sound9.start(0, 1);
}
frame 33 {
stop();
}
}
instance chain2 of movieClip 659 {
onClipEvent (enterFrame) {
if (_root.button2 && this._currentframe == 1) {
this.gotoAndPlay(2);
}
if (this._currentframe == 32) {
_root.pub2.gotoAndStop(2);
}
if (_root.chainBone2) {
this.gotoAndStop(33);
}
}
}
instance chain1 of movieClip 659 {
onClipEvent (enterFrame) {
if (_root.chainBone1) {
_root.ground.bone1.gotoAndStop(33);
_root.chain1.gotoAndStop(33);
}
if (this._currentframe == 32) {
_root.pub1.gotoAndStop(2);
}
if (this._currentframe == 33) {
_root.chainBone1 = true;
}
}
}
// unknown tag 88 length 70
movieClip 664 {
}
movieClip 665 {
}
movieClip 668 {
}
movieClip 669 {
}
movieClip 670 {
instance of movieClip 669 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 669 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 669 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 669 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 669 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 669 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 669 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 669 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 669 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 669 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 669 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 669 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 669 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 669 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 669 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 669 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
}
movieClip 672 {
}
movieClip 673 {
}
movieClip 674 {
}
movieClip 675 {
}
movieClip 676 {
}
movieClip 678 {
}
movieClip 679 {
frame 1 {
stop();
}
frame 2 {
_root.sound11.start(0, 1);
}
frame 32 {
stop();
}
}
instance of movieClip 679 {
onClipEvent (enterFrame) {
if (_root.saveGo) {
loadMovie('', this);
}
if (_root.char.hitTest(this.a2) && _root.saveScreen._currentframe == 1) {
_root.saveScreen.gotoAndPlay(2);
_root.saveNumber = 1;
this.gotoAndPlay(2);
_root.health2 = _root.health;
loadMovie('', this.a1.a1.a1);
user_so = SharedObject.getLocal('user');
user_so.data.healthS = _root.health;
user_so.data.levelS = _root.level;
user_so.data.block1S = _root.block1;
user_so.data.block2S = _root.block2;
user_so.data.block3S = _root.block3;
user_so.data.block4S = _root.block4;
user_so.data.block5S = _root.block5;
user_so.data.saveNumberS = _root.saveNumber;
user_so.data.fireMedalS = _root.fireMedal;
user_so.data.waterMedalS = _root.waterMedal;
user_so.data.earthMedalS = _root.earthMedal;
user_so.data.windMedalS = _root.windMedal;
user_so.data.eyeBossBeatS = _root.eyeBossBeat;
user_so.data.goldFlowerS = _root.goldFlower;
user_so.data.garden1S = _root.garden1;
user_so.data.garden2S = _root.garden2;
user_so.data.garden3S = _root.garden3;
user_so.data.garden4S = _root.garden4;
user_so.data.beenHere1S = _root.beenHere1;
user_so.data.beenHere2S = _root.beenHere2;
user_so.data.beenHere3S = _root.beenHere3;
user_so.data.moneyS = _root.money;
user_so.flush();
user_so.data.monster1S = _root.monster1;
user_so.data.monster2S = _root.monster2;
user_so.data.monster3S = _root.monster3;
user_so.data.monster4S = _root.monster4;
user_so.data.monster5S = _root.monster5;
user_so.data.monster6S = _root.monster6;
user_so.data.monster7S = _root.monster7;
user_so.data.moneyBag1S = _root.moneyBag1;
user_so.data.moneyBag2S = _root.moneyBag2;
user_so.data.moneyBag3S = _root.moneyBag3;
user_so.data.moneyBag4S = _root.moneyBag4;
user_so.data.moneyBag5S = _root.moneyBag5;
user_so.data.moneyBag6S = _root.moneyBag6;
user_so.data.moneyBag7S = _root.moneyBag7;
user_so.data.moneyBag8S = _root.moneyBag8;
user_so.data.moneyBag9S = _root.moneyBag9;
user_so.data.moneyBag10S = _root.moneyBag10;
user_so.data.moneyBag11S = _root.moneyBag11;
user_so.data.moneyBag12S = _root.moneyBag12;
user_so.data.billyS = _root.billy;
user_so.data.cloudRingS = _root.cloudRing;
user_so.data.swordS = _root.sword;
user_so.data.eldS = _root.eld;
user_so.data.lanternS = _root.lantern;
user_so.data.lantern2S = _root.lantern2;
user_so.data.hourglassS = _root.hourglass;
user_so.data.redKeyS = _root.redKey;
user_so.data.smallDoor1S = _root.smallDoor1;
user_so.data.key1S = _root.key1;
user_so.data.key2S = _root.key2;
user_so.data.key3S = _root.key3;
user_so.data.key4S = _root.key4;
user_so.data.key5S = _root.key5;
user_so.data.doorOpen1S = _root.doorOpen1;
user_so.data.doorOpen2S = _root.doorOpen2;
user_so.data.doorOpen3S = _root.doorOpen3;
user_so.data.doorOpen4S = _root.doorOpen4;
user_so.data.doorOpen5S = _root.doorOpen5;
user_so.data.button1S = _root.button1;
user_so.data.button2S = _root.button2;
user_so.data.chainBone1S = _root.chainBone1;
user_so.data.chainBone2S = _root.chainBone2;
user_so.data.clicksS = _root.clicks;
user_so.data.silverKey1S = _root.silverKey1;
user_so.data.silverKey2S = _root.silverKey2;
user_so.data.silverKey3S = _root.silverKey3;
user_so.data.silverKey4S = _root.silverKey4;
user_so.data.silverKey5S = _root.silverKey5;
user_so.data.lampRoom1S = _root.lampRoom1;
user_so.data.lampRoom2S = _root.lampRoom2;
user_so.data.lampRoom3S = _root.lampRoom3;
user_so.data.blockAS = _root.blockA;
user_so.data.blockBS = _root.blockB;
user_so.data.noLightS = _root.noLight;
user_so.data.badDoor1S = _root.badDoor1;
user_so.data.badDoor2S = _root.badDoor2;
user_so.data.badDoor3S = _root.badDoor3;
user_so.data.badDoor4S = _root.badDoor4;
user_so.data.badDoor5S = _root.badDoor5;
user_so.data.badDoor6S = _root.badDoor6;
user_so.data.seaShellS = _root.seaShell;
user_so.data.itRainS = _root.itRain;
user_so.flush();
}
}
}
movieClip 683 {
}
movieClip 684 {
}
movieClip 685 {
}
movieClip 687 {
}
movieClip 688 {
frame 1 {
stop();
}
frame 2 {
_root.sound6.start(0, 1);
}
frame 15 {
_root.money += 50;
}
frame 16 {
stop();
}
}
instance of movieClip 688 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this.a1) && this._currentframe == 1) {
this.gotoAndPlay(2);
_root.a50bux._x = this._x;
_root.a50bux._y = this._y;
_root.a50bux.gotoAndPlay(1);
}
if (this._currentframe == 16) {
_root.moneyBag1 = true;
}
if (_root.moneyBag1) {
loadMovie('', this);
}
}
}
movieClip 690 {
instance of movieClip 438 {
onClipEvent (load) {
this.gotoAndPlay(4);
}
}
instance of movieClip 438 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 438 {
onClipEvent (load) {
this.gotoAndPlay(6);
}
}
instance of movieClip 438 {
onClipEvent (load) {
this.gotoAndPlay(8);
}
}
instance of movieClip 438 {
onClipEvent (load) {
this.gotoAndPlay(2);
}
}
instance of movieClip 438 {
onClipEvent (load) {
this.gotoAndPlay(4);
}
}
instance of movieClip 438 {
onClipEvent (load) {
this.gotoAndPlay(2);
}
}
instance of movieClip 438 {
onClipEvent (load) {
this.gotoAndPlay(2);
}
}
instance of movieClip 438 {
onClipEvent (load) {
this.gotoAndPlay(2);
}
}
}
movieClip 691 {
}
movieClip 692 {
frame 33 {
stop();
}
}
movieClip 695 {
}
movieClip 696 {
}
movieClip 697 {
frame 1 {
stop();
}
frame 33 {
stop();
}
}
movieClip 700 {
}
movieClip 701 {
}
movieClip 703 {
}
movieClip 705 {
}
movieClip 708 {
}
movieClip 711 {
frame 14 {
stop();
}
}
movieClip 713 {
frame 14 {
stop();
}
}
movieClip 716 {
}
movieClip 717 {
frame 1 {
stop();
}
frame 15 {
_root.char.deadbread = true;
_root.char2.key.gotoAndPlay(2);
_root.char2.f1.stop();
_root.char2.f2.stop();
_root.char2.head.stop();
_root.char2.shield.stop();
}
frame 56 {
_root.sound12.start(0, 1);
}
frame 94 {
_root.char.deadbread = false;
_root.char2.f1.play();
_root.char2.f2.play();
_root.char2.head.play();
_root.char2.shield.play();
}
frame 95 {
stop();
_root.doorOpen1 = true;
}
}
movieClip 720 {
instance bone2 of movieClip 697 {
onClipEvent (enterFrame) {
if (_root.button2 && this._currentframe == 1) {
this.gotoAndPlay(2);
}
if (_root.chainBone2) {
this.gotoAndStop(33);
}
if (this._currentframe == 33) {
_root.chainBone2 = true;
}
}
}
instance of movieClip 717 {
onClipEvent (enterFrame) {
if (_root.key1) {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
}
if (_root.doorOpen1) {
loadMovie('', this);
}
}
}
instance button1 of movieClip 638 {
onClipEvent (enterFrame) {
if (this._currentframe == 7) {
_root.button1 = true;
}
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen8');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen10');
}
}
}
movieClip 721 {
}
instance ygy of movieClip 641 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.ground.button1.gotoAndPlay(2);
_root.ground.bone1.gotoAndPlay(2);
_root.chain1.gotoAndPlay(2);
_root.sound10.start(0, 1);
loadMovie('', this);
}
if (_root.button1) {
_root.ground.button1.gotoAndStop(7);
loadMovie('', this);
}
}
}
movieClip 722 {
}
movieClip 724 {
frame 1 {
stop();
}
}
button 726 {
on (press) {
if (_root.char.touchingGround) {
_root.sound2.start(0, 1);
++_root.clicks;
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
}
}
}
movieClip 729 {
frame 45 {
stop();
}
}
movieClip 730 {
}
movieClip 731 {
frame 1 {
stop();
}
}
frame 12 {
_root.music3.stop('forest');
_root.music4.start(0, 9999);
}
movieClip 735 {
}
movieClip 737 {
}
movieClip 741 {
}
movieClip 742 {
}
movieClip 745 {
frame 169 {
stop();
}
}
movieClip 746 {
}
movieClip 747 {
frame 199 {
stop();
}
}
movieClip 749 {
}
movieClip 752 {
}
movieClip 756 {
}
movieClip 758 {
}
movieClip 761 {
}
movieClip 764 {
}
movieClip 767 {
}
movieClip 768 {
instance of movieClip 758 {
onClipEvent (enterFrame) {
if (!_root.fireMedal) {
this._visible = false;
}
if (_root.fireMedal) {
this._visible = true;
}
}
}
instance of movieClip 761 {
onClipEvent (enterFrame) {
if (!_root.waterMedal) {
this._visible = false;
}
if (_root.waterMedal) {
this._visible = true;
}
}
}
instance of movieClip 764 {
onClipEvent (enterFrame) {
if (!_root.windMedal) {
this._visible = false;
}
if (_root.windMedal) {
this._visible = true;
}
}
}
instance of movieClip 767 {
onClipEvent (enterFrame) {
if (!_root.earthMedal) {
this._visible = false;
}
if (_root.earthMedal) {
this._visible = true;
}
}
}
}
movieClip 769 {
}
movieClip 770 {
frame 1 {
stop();
}
frame 10 {
_root.sound55.start(0, 443);
}
frame 191 {
_root.flash1.gotoAndPlay(2);
_root.sound55.stop('rope');
}
frame 192 {
stop();
}
}
movieClip 772 {
}
movieClip 775 {
}
movieClip 777 {
}
movieClip 779 {
}
movieClip 780 {
}
movieClip 781 {
frame 1 {
_root.sound13.start(0, 1);
}
}
movieClip 783 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 784 {
frame 80 {
stop();
}
instance attackSpot of movieClip 783 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.boss.flying) {
this.gotoAndPlay(2);
_root.boss.attack1 = true;
}
}
}
}
movieClip 786 {
}
movieClip 788 {
}
movieClip 789 {
}
movieClip 791 {
}
movieClip 794 {
}
movieClip 795 {
}
movieClip 797 {
}
movieClip 799 {
}
movieClip 800 {
}
movieClip 801 {
}
movieClip 802 {
}
movieClip 803 {
frame 1 {
_root.sound14.start(0, 1);
}
frame 26 {
stop();
}
}
movieClip 805 {
}
movieClip 806 {
frame 30 {
stop();
}
}
movieClip 811 {
frame 30 {
stop();
}
}
movieClip 812 {
frame 30 {
stop();
}
}
movieClip 814 {
}
movieClip 815 {
frame 19 {
stop();
}
}
movieClip 817 {
}
movieClip 818 {
}
movieClip 819 {
frame 15 {
stop();
}
}
movieClip 821 {
}
movieClip 822 {
}
movieClip 823 {
}
movieClip 831 {
frame 114 {
gotoAndPlay(24);
}
}
movieClip 834 {
}
movieClip 836 {
}
movieClip 837 {
}
movieClip 838 {
}
movieClip 839 {
}
movieClip 840 {
}
movieClip 841 {
frame 10 {
stop();
}
}
movieClip 842 {
frame 1 {
stop();
}
}
movieClip 843 {
frame 1 {
_root.sound16.start(0, 1);
}
}
movieClip 844 {
instance of movieClip 842 {
onClipEvent (enterFrame) {
loadMovie('', this.ax);
}
}
frame 22 {
stop();
}
}
movieClip 845 {
instance dash of movieClip 805 {
onClipEvent (enterFrame) {
if (_root.bossDash.hitTest(this)) {
_root.boss.crashLand = true;
}
}
}
frame 19 {
stop();
}
}
movieClip 847 {
frame 20 {
stop();
}
}
movieClip 848 {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 9 {
_root.boss.health -= 1;
_root.boss.crashLand = false;
_root.boss.flyBack = true;
stop();
}
}
movieClip 850 {
}
movieClip 852 {
}
movieClip 853 {
}
movieClip 854 {
}
movieClip 859 {
}
movieClip 861 {
}
movieClip 863 {
}
movieClip 867 {
}
movieClip 873 {
}
movieClip 875 {
}
movieClip 877 {
}
movieClip 879 {
}
movieClip 881 {
}
movieClip 883 {
}
movieClip 885 {
}
movieClip 887 {
}
movieClip 889 {
}
movieClip 891 {
}
movieClip 893 {
}
movieClip 895 {
}
movieClip 897 {
}
movieClip 899 {
}
movieClip 901 {
}
movieClip 903 {
}
movieClip 905 {
}
movieClip 907 {
}
movieClip 919 {
frame 13 {
stop();
}
}
movieClip 920 {
frame 1 {
_root.sound18.start(0, 1);
}
}
movieClip 921 {
}
movieClip 922 {
frame 87 {
stop();
}
}
movieClip 923 {
frame 1 {
stop();
}
instance dash of movieClip 805 {
onClipEvent (enterFrame) {
if (_root.bossDash.hitTest(this)) {
_root.boss.crashLand = true;
}
}
}
instance of movieClip 814 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && !_root.char.deadbread) {
_root.char.deadbread = true;
_root.char.dead3 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 9;
}
}
}
frame 3 {
_root.sound15.start(0, 1);
}
instance a1 of movieClip 848 {
onClipEvent (enterFrame) {
if (_root.char2.attack.attack.a1.hitTest(this.hitSpot) || _root.char2.attack.attack.a2.hitTest(this.hitSpot) || _root.char2.attack.attack.a3.hitTest(this.hitSpot)) {
if (_root.boss.health != 1) {
_root.sound16.stop('birds');
_root.sound17.start(0, 1);
_root.bossHealth.gotoAndPlay(2);
_root.boss.hurt = true;
this.gotoAndPlay(2);
} else {
if (_root.boss.health == 1) {
_root.sound16.stop('birds');
_root.sound17.start(0, 1);
_root.bossHealth.gotoAndPlay(2);
_root.boss.dead = true;
}
}
}
}
}
frame 4 {
stop();
if (_root.bg1._currentframe == 1) {
_root.bg1.gotoAndPlay(2);
}
if (_root.rain1._currentframe == 1) {
_root.rain1.gotoAndPlay(2);
}
}
frame 4 {
_root.a50bux._x = this._x;
_root.a50bux._y = this._y;
_root.a50bux.gotoAndPlay(1);
_root.money += 50;
_root.music4.stop('boss');
_root.musicStart = true;
}
}
instance boss of movieClip 923 {
onClipEvent (load) {
var flying = false;
var attack = false;
var entrance = true;
var flySpeed = 1.2;
var flyChange = 0;
var attackChange = 0;
var crashLand = false;
var attack1 = false;
var attackNum = 0;
var goingDown = 6;
var flyBack = false;
var flyUp = 0.1;
var health = 4;
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.bossHealth.health.gotoAndStop(11);
this.gotoAndStop(4);
}
if (!dead) {
if (entrance) {
this._y += 3;
}
if (this.feet.hitTest(_root.bossStop) && entrance) {
flying = true;
entrance = false;
}
if (health == 4) {
_root.bossHealth.health.gotoAndStop(1);
}
if (health == 3) {
_root.bossHealth.health.gotoAndStop(2);
}
if (health == 2) {
_root.bossHealth.health.gotoAndStop(3);
}
if (health == 1) {
_root.bossHealth.health.gotoAndStop(4);
}
if (health == 0) {
_root.bossHealth.health.gotoAndStop(5);
dead = true;
}
if (attack1) {
++attackNum;
if (attackNum == 22) {
_root.boss.flying = false;
attack1 = false;
attack = true;
attackNum = 0;
}
}
if (crashLand) {
attackChange = 0;
attack = false;
goingDown = 6;
this.gotoAndStop(3);
}
if (attack) {
if (attackChange <= 18) {
this._y -= 2.3;
}
if (attackChange >= 18) {
this._y += goingDown;
goingDown += 0.7;
}
this.gotoAndStop(2);
++attackChange;
}
if (flying) {
if (!attack1) {
if (this._x <= _root.char._x) {
this._x += 1.63;
}
if (this._x >= _root.char._x) {
this._x -= 1.63;
}
}
if (flyChange <= 20) {
this._y += flySpeed;
}
if (flyChange >= 20) {
this._y -= flySpeed;
}
++flyChange;
if (flyChange == 41) {
flyChange = 0;
}
}
if (flyBack) {
this.gotoAndStop(1);
this._y -= flyUp;
flyUp += 0.3;
if (this.hitTest(_root.bossHeight)) {
flyUp = 0.1;
flying = true;
flyBack = false;
}
}
}
}
}
movieClip 926 {
}
instance ygy of movieClip 641 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.ground.button1.gotoAndPlay(2);
_root.ground.bone1.gotoAndPlay(2);
_root.chain1.gotoAndPlay(2);
loadMovie('', this);
}
if (_root.button1) {
_root.ground.button1.gotoAndStop(7);
loadMovie('', this);
}
}
}
movieClip 928 {
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.char._x = _root.startP._x;
_root.char._y = _root.startP._y;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
movieClip 935 {
frame 1 {
stop();
}
}
movieClip 937 {
}
movieClip 938 {
}
movieClip 940 {
frame 1 {
stop();
}
}
button 941 {
on (press) {
if (_root.char2.attack._currentFrame == 1) {
++_root.clicks;
_root.char2.attack.gotoAndPlay(2);
}
if (_root.char.touchingGround) {
_root.sound2.start(0, 1);
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
}
}
}
movieClip 943 {
}
movieClip 944 {
frame 1 {
stop();
}
frame 30 {
_root.gotoAndStop('screen11');
}
frame 70 {
stop();
}
}
frame 13 {
_root.music1.start(0, 1);
}
frame 13 {
stop();
}
movieClip 947 {
instance of movieClip 410 {
onClipEvent (load) {
this.stop();
}
}
}
movieClip 949 {
}
movieClip 953 {
}
movieClip 955 {
}
movieClip 958 {
}
movieClip 959 {
instance of movieClip 958 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && !_root.bossIntro.gettingHurt && _root.char2._currentframe != 8 && _root.char2._currentframe != 10) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 12;
}
}
}
}
movieClip 961 {
}
movieClip 963 {
}
movieClip 966 {
}
movieClip 969 {
}
movieClip 970 {
instance of movieClip 966 {
onClipEvent (load) {
this.gotoAndPlay(16);
}
}
instance of movieClip 966 {
onClipEvent (load) {
this.gotoAndPlay(8);
}
}
instance of movieClip 966 {
onClipEvent (load) {
this.gotoAndPlay(8);
}
}
instance of movieClip 966 {
onClipEvent (load) {
this.gotoAndPlay(16);
}
}
}
movieClip 972 {
}
movieClip 974 {
}
movieClip 976 {
}
movieClip 977 {
}
movieClip 979 {
}
movieClip 982 {
}
movieClip 983 {
}
movieClip 984 {
instance of movieClip 966 {
onClipEvent (load) {
this.gotoAndPlay(8);
}
}
instance of movieClip 966 {
onClipEvent (load) {
this.gotoAndPlay(16);
}
}
}
movieClip 985 {
}
movieClip 987 {
}
movieClip 989 {
}
movieClip 990 {
instance of movieClip 966 {
onClipEvent (load) {
this.gotoAndPlay(16);
}
}
instance of movieClip 966 {
onClipEvent (load) {
this.gotoAndPlay(8);
}
}
instance of movieClip 985 {
onClipEvent (load) {
this.stop();
this.a1.stop();
this.a1.a1.stop();
this.a1.a2.stop();
this.a1.a3.stop();
}
}
}
movieClip 994 {
}
movieClip 995 {
}
movieClip 999 {
}
movieClip 1003 {
}
movieClip 1007 {
}
movieClip 1011 {
}
movieClip 1016 {
}
movieClip 1017 {
}
movieClip 1019 {
}
movieClip 1020 {
}
movieClip 1022 {
}
movieClip 1025 {
}
movieClip 1032 {
}
movieClip 1049 {
instance a1 of movieClip 1022 {
onClipEvent (load) {
this.gotoAndPlay(35);
}
}
instance a2 of movieClip 1022 {
onClipEvent (load) {
this.gotoAndPlay(65);
}
}
}
movieClip 1052 {
}
movieClip 1054 {
}
movieClip 1056 {
}
movieClip 1058 {
}
movieClip 1059 {
}
movieClip 1060 {
instance a7 of movieClip 1022 {
onClipEvent (load) {
this.gotoAndPlay(21);
}
}
instance a6 of movieClip 1022 {
onClipEvent (load) {
this.gotoAndPlay(35);
}
}
}
movieClip 1062 {
instance of movieClip 1003 {
onClipEvent (load) {
this.stop();
}
}
instance of movieClip 1060 {
onClipEvent (enterFrame) {
this.stop();
this.a7.stop();
this.a6.gotoAndStop(1);
this.a5.stop();
this.a4.stop();
this.a3.stop();
this.a2.stop();
this.a1.stop();
this.a1.a1.stop();
this.a1.a2.stop();
}
}
}
movieClip 1065 {
}
movieClip 1067 {
}
movieClip 1069 {
}
movieClip 1071 {
}
movieClip 1074 {
}
movieClip 1075 {
}
movieClip 1078 {
}
movieClip 1080 {
}
movieClip 1083 {
}
movieClip 1085 {
frame 1 {
stop();
}
}
movieClip 1086 {
instance of movieClip 1085 {
onClipEvent (enterFrame) {
if (_root.bbb.genn == 4 || _root.bbb.genn == 5 || _root.bbb.genn == 6) {
this.gotoAndStop(2);
}
}
}
}
movieClip 1087 {
}
movieClip 1091 {
}
movieClip 1093 {
}
movieClip 1095 {
}
movieClip 1097 {
}
movieClip 1098 {
}
movieClip 1102 {
}
movieClip 1105 {
}
movieClip 1107 {
}
movieClip 1108 {
}
movieClip 1110 {
}
movieClip 1112 {
}
movieClip 1114 {
}
movieClip 1115 {
}
movieClip 1116 {
}
movieClip 1117 {
}
movieClip 1118 {
}
movieClip 1119 {
}
movieClip 1122 {
}
button 1124 {
on (release) {
getURL('http://www.dirtymangle.com', '_blank');
}
}
button 1126 {
on (release) {
getURL('https://www.youtube.com/user/michaelmarhal', '_blank');
}
}
movieClip 1128 {
}
movieClip 1129 {
}
// unknown tag 88 length 46
movieClip 1135 {
}
movieClip 1137 {
}
movieClip 1139 {
frame 1 {
stop();
}
instance f2 of movieClip 159 {
onClipEvent (enterFrame) {
this.stop();
this.a1.a1.stop();
this.a1.a1.a1.stop();
}
}
instance head of movieClip 190 {
onClipEvent (enterFrame) {
this.stop();
this.a1.a1.stop();
this.a1.a1.a1.stop();
}
}
instance f1 of movieClip 159 {
onClipEvent (enterFrame) {
this.stop();
this.a1.a1.stop();
this.a1.a1.a1.stop();
}
}
instance shield of movieClip 194 {
onClipEvent (enterFrame) {
this.stop();
this.a1.a1.stop();
this.a1.a1.a1.stop();
}
}
}
movieClip 1140 {
frame 16 {
stop();
}
}
button 1143 {
on (release) {
getURL('http://armor.ag/MoreGames', '_blank');
}
}
movieClip 1147 {
frame 1 {
_root.h1.gotoAndStop(1);
}
}
movieClip 1151 {
frame 1 {
_root.h1.gotoAndPlay(2);
}
}
button 1153 {
on (release) {
_root.sound51.start(0, 1);
_root.nextB.gotoAndPlay(2);
}
}
movieClip 1155 {
}
movieClip 1157 {
}
button 1170 {
on (release) {
_root.sound51.start(0, 1);
_root.gotoAndStop('story');
}
}
button 1171 {
on (release) {
_root.saveGo = true;
_root.musicStart = true;
_root.music1.stop('intro');
_root.sound51.start(0, 1);
user_so = SharedObject.getLocal('user');
if (user_so.data.healthS != undefined) {
_root.health = user_so.data.healthS;
}
if (user_so.data.levelS != undefined) {
_root.level = user_so.data.levelS;
}
if (user_so.data.block1S != undefined) {
_root.block1 = user_so.data.block1S;
}
if (user_so.data.block2S != undefined) {
_root.block2 = user_so.data.block2S;
}
if (user_so.data.block3S != undefined) {
_root.block3 = user_so.data.block3S;
}
if (user_so.data.block4S != undefined) {
_root.block4 = user_so.data.block4S;
}
if (user_so.data.block5S != undefined) {
_root.block5 = user_so.data.block5S;
}
if (user_so.data.saveNumberS != undefined) {
_root.saveNumber = user_so.data.saveNumberS;
}
if (user_so.data.fireMedalS != undefined) {
_root.fireMedal = user_so.data.fireMedalS;
}
if (user_so.data.waterMedalS != undefined) {
_root.waterMedal = user_so.data.waterMedalS;
}
if (user_so.data.earthMedalS != undefined) {
_root.earthMedal = user_so.data.earthMedalS;
}
if (user_so.data.windMedalS != undefined) {
_root.windMedal = user_so.data.windMedalS;
}
if (user_so.data.eyeBossBeatS != undefined) {
_root.eyeBossBeat = user_so.data.eyeBossBeatS;
}
if (user_so.data.goldFlowerS != undefined) {
_root.goldFlower = user_so.data.goldFlowerS;
}
if (user_so.data.garden1S != undefined) {
_root.garden1 = user_so.data.garden1S;
}
if (user_so.data.garden2S != undefined) {
_root.garden2 = user_so.data.garden2S;
}
if (user_so.data.garden3S != undefined) {
_root.garden3 = user_so.data.garden3S;
}
if (user_so.data.garden4S != undefined) {
_root.garden4 = user_so.data.garden4S;
}
if (user_so.data.beenHere1S != undefined) {
_root.beenHere1 = user_so.data.beenHere1S;
}
if (user_so.data.beenHere2S != undefined) {
_root.beenHere2 = user_so.data.beenHere2S;
}
if (user_so.data.beenHere3S != undefined) {
_root.beenHere3 = user_so.data.beenHere3S;
}
if (user_so.data.moneyS != undefined) {
_root.money = user_so.data.moneyS;
}
if (user_so.data.monster1S != undefined) {
_root.monster1 = user_so.data.monster1S;
}
if (user_so.data.monster2S != undefined) {
_root.monster2 = user_so.data.monster2S;
}
if (user_so.data.monster3S != undefined) {
_root.monster3 = user_so.data.monster3S;
}
if (user_so.data.monster4S != undefined) {
_root.monster4 = user_so.data.monster4S;
}
if (user_so.data.monster5S != undefined) {
_root.monster5 = user_so.data.monster5S;
}
if (user_so.data.monster6S != undefined) {
_root.monster6 = user_so.data.monster6S;
}
if (user_so.data.monster7S != undefined) {
_root.monster7 = user_so.data.monster7S;
}
if (user_so.data.moneyBag1S != undefined) {
_root.moneyBag1 = user_so.data.moneyBag1S;
}
if (user_so.data.moneyBag2S != undefined) {
_root.moneyBag2 = user_so.data.moneyBag2S;
}
if (user_so.data.moneyBag3S != undefined) {
_root.moneyBag3 = user_so.data.moneyBag3S;
}
if (user_so.data.moneyBag4S != undefined) {
_root.moneyBag4 = user_so.data.moneyBag4S;
}
if (user_so.data.moneyBag5S != undefined) {
_root.moneyBag5 = user_so.data.moneyBag5S;
}
if (user_so.data.moneyBag6S != undefined) {
_root.moneyBag6 = user_so.data.moneyBag6S;
}
if (user_so.data.moneyBag7S != undefined) {
_root.moneyBag7 = user_so.data.moneyBag7S;
}
if (user_so.data.moneyBag8S != undefined) {
_root.moneyBag8 = user_so.data.moneyBag8S;
}
if (user_so.data.moneyBag9S != undefined) {
_root.moneyBag9 = user_so.data.moneyBag9S;
}
if (user_so.data.moneyBag10S != undefined) {
_root.moneyBag10 = user_so.data.moneyBag10S;
}
if (user_so.data.moneyBag11S != undefined) {
_root.moneyBag11 = user_so.data.moneyBag11S;
}
if (user_so.data.moneyBag12S != undefined) {
_root.moneyBag12 = user_so.data.moneyBag12S;
}
if (user_so.data.billyS != undefined) {
_root.billy = user_so.data.billyS;
}
if (user_so.data.cloudRingS != undefined) {
_root.cloudRing = user_so.data.cloudRingS;
}
if (user_so.data.swordS != undefined) {
_root.sword = user_so.data.swordS;
}
if (user_so.data.eldS != undefined) {
_root.eld = user_so.data.eldS;
}
if (user_so.data.lanternS != undefined) {
_root.lantern = user_so.data.lanternS;
}
if (user_so.data.lantern2S != undefined) {
_root.lantern2 = user_so.data.lantern2S;
}
if (user_so.data.hourglassS != undefined) {
_root.hourglass = user_so.data.hourglassS;
}
if (user_so.data.redKeyS != undefined) {
_root.redKey = user_so.data.redKeyS;
}
if (user_so.data.redKeyS != undefined) {
_root.redKey = user_so.data.redKeyS;
}
if (user_so.data.smallDoor1S != undefined) {
_root.smallDoor1 = user_so.data.smallDoor1S;
}
if (user_so.data.key1S != undefined) {
_root.key1 = user_so.data.key1S;
}
if (user_so.data.key2S != undefined) {
_root.key2 = user_so.data.key2S;
}
if (user_so.data.key3S != undefined) {
_root.key3 = user_so.data.key3S;
}
if (user_so.data.key4S != undefined) {
_root.key4 = user_so.data.key4S;
}
if (user_so.data.key5S != undefined) {
_root.key5 = user_so.data.key5S;
}
if (user_so.data.doorOpen1S != undefined) {
_root.doorOpen1 = user_so.data.doorOpen1S;
}
if (user_so.data.doorOpen2S != undefined) {
_root.doorOpen2 = user_so.data.doorOpen2S;
}
if (user_so.data.doorOpen3S != undefined) {
_root.doorOpen3 = user_so.data.doorOpen3S;
}
if (user_so.data.doorOpen4S != undefined) {
_root.doorOpen4 = user_so.data.doorOpen4S;
}
if (user_so.data.doorOpen5S != undefined) {
_root.doorOpen5 = user_so.data.doorOpen5S;
}
if (user_so.data.button1S != undefined) {
_root.button1 = user_so.data.button1S;
}
if (user_so.data.button2S != undefined) {
_root.button2 = user_so.data.button2S;
}
if (user_so.data.chainBone1S != undefined) {
_root.chainBone1 = user_so.data.chainBone1S;
}
if (user_so.data.chainBone2S != undefined) {
_root.chainBone2 = user_so.data.chainBone2S;
}
if (user_so.data.clicksS != undefined) {
_root.clicks = user_so.data.clicksS;
}
if (user_so.data.silverKey1S != undefined) {
_root.silverKey1 = user_so.data.silverKey1S;
}
if (user_so.data.silverKey2S != undefined) {
_root.silverKey2 = user_so.data.silverKey2S;
}
if (user_so.data.silverKey3S != undefined) {
_root.silverKey3 = user_so.data.silverKey3S;
}
if (user_so.data.silverKey4S != undefined) {
_root.silverKey4 = user_so.data.silverKey4S;
}
if (user_so.data.silverKey5S != undefined) {
_root.silverKey5 = user_so.data.silverKey5S;
}
if (user_so.data.lampRoom1S != undefined) {
_root.lampRoom1 = user_so.data.lampRoom1S;
}
if (user_so.data.lampRoom2S != undefined) {
_root.lampRoom2 = user_so.data.lampRoom2S;
}
if (user_so.data.lampRoom3S != undefined) {
_root.lampRoom3 = user_so.data.lampRoom3S;
}
if (user_so.data.lampRoom5S != undefined) {
_root.lampRoom5 = user_so.data.lampRoom5S;
}
if (user_so.data.lampRoom4S != undefined) {
_root.lampRoom4 = user_so.data.lampRoom4S;
}
if (user_so.data.blockAS != undefined) {
_root.blockA = user_so.data.blockAS;
}
if (user_so.data.blockBS != undefined) {
_root.blockB = user_so.data.blockBS;
}
if (user_so.data.noLightS != undefined) {
_root.noLight = user_so.data.noLightS;
}
if (user_so.data.badDoor1S != undefined) {
_root.badDoor1 = user_so.data.badDoor1S;
}
if (user_so.data.badDoor2S != undefined) {
_root.badDoor2 = user_so.data.badDoor2S;
}
if (user_so.data.badDoor3S != undefined) {
_root.badDoor3 = user_so.data.badDoor3S;
}
if (user_so.data.badDoor4S != undefined) {
_root.badDoor4 = user_so.data.badDoor4S;
}
if (user_so.data.badDoor5S != undefined) {
_root.badDoor5 = user_so.data.badDoor5S;
}
if (user_so.data.badDoor6S != undefined) {
_root.badDoor6 = user_so.data.badDoor6S;
}
if (user_so.data.badDoor7S != undefined) {
_root.badDoor7 = user_so.data.badDoor7S;
}
if (user_so.data.itRainS != undefined) {
_root.itRain = user_so.data.itRainS;
}
if (user_so.data.seaShellS != undefined) {
_root.seaShell = user_so.data.seaShellS;
}
_root.health2 = _root.health;
if (_root.saveNumber == 0) {
_root.gotoAndStop('story');
} else {
if (_root.saveNumber == 1) {
_root.gotoAndStop('screen9');
} else {
if (_root.saveNumber == 2) {
_root.gotoAndStop('screen11');
} else {
if (_root.saveNumber == 3) {
_root.gotoAndStop('screen13');
} else {
if (_root.saveNumber == 4) {
_root.gotoAndStop('screen22');
} else {
if (_root.saveNumber == 5) {
_root.gotoAndStop('screen31');
} else {
if (_root.saveNumber == 6) {
_root.gotoAndStop('screen35');
} else {
if (_root.saveNumber == 7) {
_root.gotoAndStop('screen45');
} else {
if (_root.saveNumber == 8) {
_root.gotoAndStop('screen49');
} else {
if (_root.saveNumber == 9) {
_root.gotoAndStop('screen58');
}
}
}
}
}
}
}
}
}
}
}
}
movieClip 1172 {
frame 1 {
stop();
}
frame 44 {
stop();
}
}
movieClip 1174 {
}
movieClip 1175 {
}
movieClip 1177 {
frame 1 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1179 {
}
movieClip 1180 {
frame 1 {
stop();
}
}
instance of movieClip 1180 {
onClipEvent (enterFrame) {
if (_root.soundNumber != 0) {
++_root.soundNumber;
if (_root.soundNumber == 30) {
_root.soundNumber = 0;
}
}
if (_root.soundIsOn) {
this.gotoAndStop(1);
}
if (!_root.soundIsOn) {
this.gotoAndStop(2);
}
}
onClipEvent (press) {
if (_root.soundIsOn && _root.soundNumber == 0) {
_root.sound1.setVolume(0);
_root.sound2.setVolume(0);
_root.sound3.setVolume(0);
_root.sound4.setVolume(0);
_root.sound5.setVolume(0);
_root.sound6.setVolume(0);
_root.sound7.setVolume(0);
_root.sound8.setVolume(0);
_root.sound9.setVolume(0);
_root.sound10.setVolume(0);
_root.sound11.setVolume(0);
_root.sound12.setVolume(0);
_root.sound13.setVolume(0);
_root.sound14.setVolume(0);
_root.sound15.setVolume(0);
_root.sound16.setVolume(0);
_root.sound17.setVolume(0);
_root.sound18.setVolume(0);
_root.sound19.setVolume(0);
_root.sound20.setVolume(0);
_root.sound21.setVolume(0);
_root.sound22.setVolume(0);
_root.sound23.setVolume(0);
_root.sound24.setVolume(0);
_root.sound25.setVolume(0);
_root.sound26.setVolume(0);
_root.sound27.setVolume(0);
_root.sound28.setVolume(0);
_root.sound29.setVolume(0);
_root.sound30.setVolume(0);
_root.sound31.setVolume(0);
_root.sound32.setVolume(0);
_root.sound33.setVolume(0);
_root.sound34.setVolume(0);
_root.sound35.setVolume(0);
_root.sound36.setVolume(0);
_root.sound37.setVolume(0);
_root.sound38.setVolume(0);
_root.sound39.setVolume(0);
_root.sound40.setVolume(0);
_root.sound41.setVolume(0);
_root.sound42.setVolume(0);
_root.sound43.setVolume(0);
_root.sound44.setVolume(0);
_root.sound45.setVolume(0);
_root.sound46.setVolume(0);
_root.sound47.setVolume(0);
_root.sound48.setVolume(0);
_root.sound49.setVolume(0);
_root.sound50.setVolume(0);
_root.sound51.setVolume(0);
_root.sound52.setVolume(0);
_root.sound53.setVolume(0);
_root.sound54.setVolume(0);
_root.sound55.setVolume(0);
_root.sound56.setVolume(0);
_root.sound57.setVolume(0);
_root.music1.setVolume(0);
_root.music2.setVolume(0);
_root.music3.setVolume(0);
_root.music4.setVolume(0);
_root.music5.setVolume(0);
_root.soundIsOn = false;
_root.soundNumber = 1;
} else {
if (!_root.soundIsOn && _root.soundNumber == 0) {
_root.sound1.setVolume(100);
_root.sound2.setVolume(100);
_root.sound3.setVolume(100);
_root.sound4.setVolume(100);
_root.sound5.setVolume(100);
_root.sound6.setVolume(100);
_root.sound7.setVolume(100);
_root.sound8.setVolume(100);
_root.sound9.setVolume(100);
_root.sound10.setVolume(100);
_root.sound11.setVolume(100);
_root.sound12.setVolume(100);
_root.sound13.setVolume(100);
_root.sound14.setVolume(100);
_root.sound15.setVolume(100);
_root.sound16.setVolume(100);
_root.sound17.setVolume(100);
_root.sound18.setVolume(100);
_root.sound19.setVolume(100);
_root.sound20.setVolume(100);
_root.sound21.setVolume(100);
_root.sound22.setVolume(100);
_root.sound23.setVolume(100);
_root.sound24.setVolume(100);
_root.sound25.setVolume(100);
_root.sound26.setVolume(100);
_root.sound27.setVolume(100);
_root.sound28.setVolume(100);
_root.sound29.setVolume(100);
_root.sound30.setVolume(100);
_root.sound31.setVolume(100);
_root.sound32.setVolume(100);
_root.sound33.setVolume(100);
_root.sound34.setVolume(100);
_root.sound35.setVolume(100);
_root.sound36.setVolume(100);
_root.sound37.setVolume(100);
_root.sound38.setVolume(100);
_root.sound39.setVolume(100);
_root.sound40.setVolume(100);
_root.sound41.setVolume(100);
_root.sound42.setVolume(100);
_root.sound43.setVolume(100);
_root.sound44.setVolume(100);
_root.sound45.setVolume(100);
_root.sound46.setVolume(100);
_root.sound47.setVolume(100);
_root.sound48.setVolume(100);
_root.sound49.setVolume(100);
_root.sound50.setVolume(100);
_root.sound51.setVolume(100);
_root.sound52.setVolume(100);
_root.sound53.setVolume(100);
_root.sound54.setVolume(100);
_root.sound55.setVolume(100);
_root.sound56.setVolume(100);
_root.sound57.setVolume(100);
_root.music1.setVolume(100);
_root.music2.setVolume(100);
_root.music3.setVolume(100);
_root.music4.setVolume(100);
_root.music5.setVolume(100);
_root.soundIsOn = true;
_root.soundNumber = 1;
}
}
}
}
instance of movieClip 269 {
onClipEvent (enterFrame) {
if (_root.soundNumber != 0) {
++_root.soundNumber;
if (_root.soundNumber == 30) {
_root.soundNumber = 0;
}
}
if (Key.isDown(83)) {
if (_root.soundIsOn && _root.soundNumber == 0) {
_root.sound1.setVolume(0);
_root.sound2.setVolume(0);
_root.sound3.setVolume(0);
_root.sound4.setVolume(0);
_root.sound5.setVolume(0);
_root.sound6.setVolume(0);
_root.sound7.setVolume(0);
_root.sound8.setVolume(0);
_root.sound9.setVolume(0);
_root.sound10.setVolume(0);
_root.sound11.setVolume(0);
_root.sound12.setVolume(0);
_root.sound13.setVolume(0);
_root.sound14.setVolume(0);
_root.sound15.setVolume(0);
_root.sound16.setVolume(0);
_root.sound17.setVolume(0);
_root.sound18.setVolume(0);
_root.sound19.setVolume(0);
_root.sound20.setVolume(0);
_root.sound21.setVolume(0);
_root.sound22.setVolume(0);
_root.sound23.setVolume(0);
_root.sound24.setVolume(0);
_root.sound25.setVolume(0);
_root.sound26.setVolume(0);
_root.sound27.setVolume(0);
_root.sound28.setVolume(0);
_root.sound29.setVolume(0);
_root.sound30.setVolume(0);
_root.sound31.setVolume(0);
_root.sound32.setVolume(0);
_root.sound33.setVolume(0);
_root.sound34.setVolume(0);
_root.sound35.setVolume(0);
_root.sound36.setVolume(0);
_root.sound37.setVolume(0);
_root.sound38.setVolume(0);
_root.sound39.setVolume(0);
_root.sound40.setVolume(0);
_root.sound41.setVolume(0);
_root.sound42.setVolume(0);
_root.sound43.setVolume(0);
_root.sound44.setVolume(0);
_root.sound45.setVolume(0);
_root.sound46.setVolume(0);
_root.sound47.setVolume(0);
_root.sound48.setVolume(0);
_root.sound49.setVolume(0);
_root.sound50.setVolume(0);
_root.sound51.setVolume(0);
_root.sound52.setVolume(0);
_root.sound53.setVolume(0);
_root.sound54.setVolume(0);
_root.sound55.setVolume(0);
_root.sound56.setVolume(0);
_root.sound57.setVolume(0);
_root.music1.setVolume(0);
_root.music2.setVolume(0);
_root.music3.setVolume(0);
_root.music4.setVolume(0);
_root.music5.setVolume(0);
_root.soundIsOn = false;
_root.soundNumber = 1;
} else {
if (!_root.soundIsOn && _root.soundNumber == 0) {
_root.sound1.setVolume(100);
_root.sound2.setVolume(100);
_root.sound3.setVolume(100);
_root.sound4.setVolume(100);
_root.sound5.setVolume(100);
_root.sound6.setVolume(100);
_root.sound7.setVolume(100);
_root.sound8.setVolume(100);
_root.sound9.setVolume(100);
_root.sound10.setVolume(100);
_root.sound11.setVolume(100);
_root.sound12.setVolume(100);
_root.sound13.setVolume(100);
_root.sound14.setVolume(100);
_root.sound15.setVolume(100);
_root.sound16.setVolume(100);
_root.sound17.setVolume(100);
_root.sound18.setVolume(100);
_root.sound19.setVolume(100);
_root.sound20.setVolume(100);
_root.sound21.setVolume(100);
_root.sound22.setVolume(100);
_root.sound23.setVolume(100);
_root.sound24.setVolume(100);
_root.sound25.setVolume(100);
_root.sound26.setVolume(100);
_root.sound27.setVolume(100);
_root.sound28.setVolume(100);
_root.sound29.setVolume(100);
_root.sound30.setVolume(100);
_root.sound31.setVolume(100);
_root.sound32.setVolume(100);
_root.sound33.setVolume(100);
_root.sound34.setVolume(100);
_root.sound35.setVolume(100);
_root.sound36.setVolume(100);
_root.sound37.setVolume(100);
_root.sound38.setVolume(100);
_root.sound39.setVolume(100);
_root.sound40.setVolume(100);
_root.sound41.setVolume(100);
_root.sound42.setVolume(100);
_root.sound43.setVolume(100);
_root.sound44.setVolume(100);
_root.sound45.setVolume(100);
_root.sound46.setVolume(100);
_root.sound47.setVolume(100);
_root.sound48.setVolume(100);
_root.sound49.setVolume(100);
_root.sound50.setVolume(100);
_root.sound51.setVolume(100);
_root.sound52.setVolume(100);
_root.sound53.setVolume(100);
_root.sound54.setVolume(100);
_root.sound55.setVolume(100);
_root.sound56.setVolume(100);
_root.sound57.setVolume(100);
_root.music1.setVolume(100);
_root.music2.setVolume(100);
_root.music3.setVolume(100);
_root.music4.setVolume(100);
_root.music5.setVolume(100);
_root.soundIsOn = true;
_root.soundNumber = 1;
}
}
}
}
}
button 1183 {
on (release) {
getURL('http://www.facebook.com/ArmorGames', '_blank');
}
}
frame 14 {
_root.music1.stop('intro');
_root.music2.start(0, 9999);
}
movieClip 1186 {
}
movieClip 1187 {
}
movieClip 1188 {
}
movieClip 1192 {
}
movieClip 1194 {
}
movieClip 1197 {
}
movieClip 1199 {
}
movieClip 1200 {
}
movieClip 1202 {
}
// unknown tag 88 length 85
movieClip 1206 {
}
movieClip 1207 {
}
movieClip 1209 {
}
movieClip 1210 {
frame 2 {
_root.sound7.start(0, 1);
}
frame 24 {
stop();
}
}
movieClip 1212 {
frame 1 {
stop();
}
instance f2 of movieClip 159 {
onClipEvent (enterFrame) {
this.stop();
this.a1.a1.stop();
this.a1.a1.a1.stop();
}
}
instance head of movieClip 190 {
onClipEvent (enterFrame) {
this.stop();
this.a1.a1.stop();
this.a1.a1.a1.stop();
}
}
instance f1 of movieClip 159 {
onClipEvent (enterFrame) {
this.stop();
this.a1.a1.stop();
this.a1.a1.a1.stop();
}
}
instance shield of movieClip 194 {
onClipEvent (enterFrame) {
this.stop();
this.a1.a1.stop();
this.a1.a1.a1.stop();
}
}
}
movieClip 1214 {
}
movieClip 1217 {
}
movieClip 1221 {
}
movieClip 1222 {
frame 2 {
_root.sound7.start(0, 1);
}
frame 24 {
stop();
}
}
movieClip 1223 {
}
movieClip 1225 {
}
movieClip 1228 {
}
movieClip 1231 {
}
movieClip 1233 {
}
movieClip 1234 {
}
movieClip 1235 {
frame 1 {
stop();
}
}
movieClip 1238 {
}
movieClip 1240 {
}
movieClip 1246 {
}
movieClip 1247 {
}
movieClip 1248 {
frame 2 {
_root.sound7.start(0, 1);
}
frame 24 {
stop();
}
}
movieClip 1249 {
frame 2 {
_root.sound7.start(0, 1);
}
frame 24 {
stop();
}
}
movieClip 1251 {
}
movieClip 1252 {
frame 2 {
_root.sound7.start(0, 1);
}
frame 24 {
stop();
}
}
movieClip 1253 {
frame 24 {
stop();
}
}
movieClip 1254 {
frame 1 {
stop();
}
}
movieClip 1255 {
frame 1 {
stop();
}
instance of movieClip 331 {
onClipEvent (enterFrame) {
if (_root.deleteMouse) {
loadMovie('', this);
}
}
}
frame 5 {
stop();
}
}
instance of movieClip 1255 {
onClipEvent (release) {
if (this._currentframe == 1) {
this.gotoAndStop(2);
} else {
if (this._currentframe == 2) {
this.gotoAndStop(3);
} else {
if (this._currentframe == 3) {
this.gotoAndStop(4);
} else {
if (this._currentframe == 4) {
this.gotoAndStop(5);
} else {
if (this._currentframe == 5) {
_root.music2.stop('story');
_root.musicStart = true;
_root.gotoAndStop('screen1');
}
}
}
}
}
}
}
frame 15 {
_root.health2 = _root.health;
_root.saveGo = true;
stopAllSounds();
_root.musicStart = true;
if (_root.saveNumber == 0) {
_root.gotoAndStop('screen1');
} else {
if (_root.saveNumber == 1) {
_root.gotoAndStop('screen9');
} else {
if (_root.saveNumber == 2) {
_root.gotoAndStop('screen11');
} else {
if (_root.saveNumber == 3) {
_root.gotoAndStop('screen13');
} else {
if (_root.saveNumber == 4) {
_root.gotoAndStop('screen22');
} else {
if (_root.saveNumber == 5) {
_root.gotoAndStop('screen31');
} else {
if (_root.saveNumber == 6) {
_root.gotoAndStop('screen35');
} else {
if (_root.saveNumber == 7) {
_root.gotoAndStop('screen45');
} else {
if (_root.saveNumber == 8) {
_root.gotoAndStop('screen49');
} else {
if (_root.saveNumber == 9) {
_root.gotoAndStop('screen58');
}
}
}
}
}
}
}
}
}
}
}
movieClip 1263 {
}
movieClip 1264 {
instance of movieClip 1263 {
onClipEvent (release) {
getURL('http://www.dirtymangle.com', '_blank');
}
}
}
instance of movieClip 1264 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
this.clickText.text = _root.clicks;
}
}
frame 17 {
stopAllSounds();
_root.music2.start(0, 9999);
}
movieClip 1268 {
}
movieClip 1270 {
}
movieClip 1273 {
}
movieClip 1274 {
frame 2 {
_root.sound7.start(0, 1);
}
frame 24 {
stop();
}
}
movieClip 1276 {
}
movieClip 1279 {
}
movieClip 1281 {
}
movieClip 1283 {
}
movieClip 1286 {
}
movieClip 1287 {
}
movieClip 1288 {
frame 2 {
_root.sound7.start(0, 1);
}
frame 24 {
stop();
}
}
movieClip 1290 {
frame 1 {
stop();
}
instance head of movieClip 190 {
onClipEvent (load) {
this.stop();
this.a1.stop();
this.a1.a1.stop();
}
}
instance shield of movieClip 194 {
onClipEvent (load) {
this.stop();
this.a1.stop();
this.a1.a1.stop();
}
}
}
movieClip 1293 {
}
movieClip 1294 {
}
movieClip 1295 {
frame 2 {
_root.sound7.start(0, 1);
}
frame 24 {
stop();
}
}
// unknown tag 88 length 28
movieClip 1300 {
}
movieClip 1301 {
}
movieClip 1303 {
}
movieClip 1304 {
frame 2 {
_root.sound7.start(0, 1);
}
frame 24 {
stop();
}
}
movieClip 1305 {
frame 1 {
stop();
}
}
instance of movieClip 1305 {
onClipEvent (release) {
if (this._currentframe == 1) {
this.gotoAndStop(2);
} else {
if (this._currentframe == 2) {
this.gotoAndStop(3);
} else {
if (this._currentframe == 3) {
this.gotoAndStop(4);
} else {
if (this._currentframe == 4) {
_root.gotoAndStop('ending');
}
}
}
}
}
}
frame 18 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 18 {
_root.jumpCloud.a1.a1.gotoAndStop(2);
}
frame 18 {
_root.char.deadbread = false;
}
frame 18 {
if (_root.musicStart) {
_root.music5.start(0, 9999);
_root.musicStart = false;
}
_root.inWater = false;
}
frame 18 {
_root.lampLight = 0;
_root.char.maxJump = -16;
_root.char2.gotoAndStop(1);
_root.saveNumber = 2;
_root.badDoor7 = false;
}
movieClip 1307 {
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.earthMedal && _root.fireMedal && _root.waterMedal && _root.windMedal) {
if (_root.rope.a1._currentframe == 1) {
loadMovie('', _root.free);
loadMovie('', _root.shows);
_root.char.deadbread = true;
_root.char2._visible = false;
_root.king.gotoAndStop(2);
_root.rope.a1.gotoAndPlay(2);
}
}
}
}
movieClip 1309 {
}
movieClip 1312 {
}
movieClip 1318 {
frame 518 {
_root.clownMagic.gotoAndPlay(2);
}
frame 575 {
stop();
}
}
movieClip 1319 {
}
movieClip 1320 {
frame 20 {
stop();
}
}
movieClip 1321 {
frame 1 {
stop();
}
frame 162 {
stop();
}
}
movieClip 1322 {
}
instance free of movieClip 679 {
onClipEvent (enterFrame) {
if (_root.saveGo) {
loadMovie('', this);
}
if (_root.char.hitTest(this.a2) && _root.saveScreen._currentframe == 1) {
_root.saveScreen.gotoAndPlay(2);
_root.saveNumber = 2;
_root.health2 = _root.health;
this.gotoAndPlay(2);
loadMovie('', this.a1.a1.a1);
user_so = SharedObject.getLocal('user');
user_so.data.healthS = _root.health;
user_so.data.levelS = _root.level;
user_so.data.block1S = _root.block1;
user_so.data.block2S = _root.block2;
user_so.data.block3S = _root.block3;
user_so.data.block4S = _root.block4;
user_so.data.block5S = _root.block5;
user_so.data.saveNumberS = _root.saveNumber;
user_so.data.fireMedalS = _root.fireMedal;
user_so.data.waterMedalS = _root.waterMedal;
user_so.data.earthMedalS = _root.earthMedal;
user_so.data.windMedalS = _root.windMedal;
user_so.data.eyeBossBeatS = _root.eyeBossBeat;
user_so.data.goldFlowerS = _root.goldFlower;
user_so.data.garden1S = _root.garden1;
user_so.data.garden2S = _root.garden2;
user_so.data.garden3S = _root.garden3;
user_so.data.garden4S = _root.garden4;
user_so.data.beenHere1S = _root.beenHere1;
user_so.data.beenHere2S = _root.beenHere2;
user_so.data.beenHere3S = _root.beenHere3;
user_so.data.moneyS = _root.money;
user_so.flush();
user_so.data.monster1S = _root.monster1;
user_so.data.monster2S = _root.monster2;
user_so.data.monster3S = _root.monster3;
user_so.data.monster4S = _root.monster4;
user_so.data.monster5S = _root.monster5;
user_so.data.monster6S = _root.monster6;
user_so.data.monster7S = _root.monster7;
user_so.data.moneyBag1S = _root.moneyBag1;
user_so.data.moneyBag2S = _root.moneyBag2;
user_so.data.moneyBag3S = _root.moneyBag3;
user_so.data.moneyBag4S = _root.moneyBag4;
user_so.data.moneyBag5S = _root.moneyBag5;
user_so.data.moneyBag6S = _root.moneyBag6;
user_so.data.moneyBag7S = _root.moneyBag7;
user_so.data.moneyBag8S = _root.moneyBag8;
user_so.data.moneyBag9S = _root.moneyBag9;
user_so.data.moneyBag10S = _root.moneyBag10;
user_so.data.moneyBag11S = _root.moneyBag11;
user_so.data.moneyBag12S = _root.moneyBag12;
user_so.data.billyS = _root.billy;
user_so.data.cloudRingS = _root.cloudRing;
user_so.data.swordS = _root.sword;
user_so.data.eldS = _root.eld;
user_so.data.lanternS = _root.lantern;
user_so.data.lantern2S = _root.lantern2;
user_so.data.hourglassS = _root.hourglass;
user_so.data.redKeyS = _root.redKey;
user_so.data.smallDoor1S = _root.smallDoor1;
user_so.data.key1S = _root.key1;
user_so.data.key2S = _root.key2;
user_so.data.key3S = _root.key3;
user_so.data.key4S = _root.key4;
user_so.data.key5S = _root.key5;
user_so.data.doorOpen1S = _root.doorOpen1;
user_so.data.doorOpen2S = _root.doorOpen2;
user_so.data.doorOpen3S = _root.doorOpen3;
user_so.data.doorOpen4S = _root.doorOpen4;
user_so.data.doorOpen5S = _root.doorOpen5;
user_so.data.button1S = _root.button1;
user_so.data.button2S = _root.button2;
user_so.data.chainBone1S = _root.chainBone1;
user_so.data.chainBone2S = _root.chainBone2;
user_so.data.clicksS = _root.clicks;
user_so.data.silverKey1S = _root.silverKey1;
user_so.data.silverKey2S = _root.silverKey2;
user_so.data.silverKey3S = _root.silverKey3;
user_so.data.silverKey4S = _root.silverKey4;
user_so.data.silverKey5S = _root.silverKey5;
user_so.data.lampRoom1S = _root.lampRoom1;
user_so.data.lampRoom2S = _root.lampRoom2;
user_so.data.lampRoom3S = _root.lampRoom3;
user_so.data.blockAS = _root.blockA;
user_so.data.blockBS = _root.blockB;
user_so.data.noLightS = _root.noLight;
user_so.data.badDoor1S = _root.badDoor1;
user_so.data.badDoor2S = _root.badDoor2;
user_so.data.badDoor3S = _root.badDoor3;
user_so.data.badDoor4S = _root.badDoor4;
user_so.data.badDoor5S = _root.badDoor5;
user_so.data.badDoor6S = _root.badDoor6;
user_so.data.badDoor7S = _root.badDoor7;
user_so.data.seaShellS = _root.seaShell;
user_so.data.itRainS = _root.itRain;
user_so.flush();
}
}
}
movieClip 1324 {
}
instance of movieClip 1324 {
onClipEvent (enterFrame) {
if (_root.saveGo) {
loadMovie('', this);
}
if (_root.char.hitTest(this.a2) && _root.saveScreen._currentframe == 1) {
_root.saveScreen.gotoAndPlay(2);
_root.saveNumber = 2;
_root.health2 = _root.health;
this.gotoAndPlay(2);
loadMovie('', this.a1.a1.a1);
user_so = SharedObject.getLocal('user');
user_so.data.healthS = _root.health;
user_so.data.levelS = _root.level;
user_so.data.block1S = _root.block1;
user_so.data.block2S = _root.block2;
user_so.data.block3S = _root.block3;
user_so.data.block4S = _root.block4;
user_so.data.block5S = _root.block5;
user_so.data.saveNumberS = _root.saveNumber;
user_so.data.fireMedalS = _root.fireMedal;
user_so.data.waterMedalS = _root.waterMedal;
user_so.data.earthMedalS = _root.earthMedal;
user_so.data.windMedalS = _root.windMedal;
user_so.data.eyeBossBeatS = _root.eyeBossBeat;
user_so.data.goldFlowerS = _root.goldFlower;
user_so.data.garden1S = _root.garden1;
user_so.data.garden2S = _root.garden2;
user_so.data.garden3S = _root.garden3;
user_so.data.garden4S = _root.garden4;
user_so.data.beenHere1S = _root.beenHere1;
user_so.data.beenHere2S = _root.beenHere2;
user_so.data.beenHere3S = _root.beenHere3;
user_so.data.moneyS = _root.money;
user_so.flush();
user_so.data.monster1S = _root.monster1;
user_so.data.monster2S = _root.monster2;
user_so.data.monster3S = _root.monster3;
user_so.data.monster4S = _root.monster4;
user_so.data.monster5S = _root.monster5;
user_so.data.monster6S = _root.monster6;
user_so.data.monster7S = _root.monster7;
user_so.data.moneyBag1S = _root.moneyBag1;
user_so.data.moneyBag2S = _root.moneyBag2;
user_so.data.moneyBag3S = _root.moneyBag3;
user_so.data.moneyBag4S = _root.moneyBag4;
user_so.data.moneyBag5S = _root.moneyBag5;
user_so.data.moneyBag6S = _root.moneyBag6;
user_so.data.moneyBag7S = _root.moneyBag7;
user_so.data.moneyBag8S = _root.moneyBag8;
user_so.data.moneyBag9S = _root.moneyBag9;
user_so.data.moneyBag10S = _root.moneyBag10;
user_so.data.moneyBag11S = _root.moneyBag11;
user_so.data.moneyBag12S = _root.moneyBag12;
user_so.data.billyS = _root.billy;
user_so.data.cloudRingS = _root.cloudRing;
user_so.data.swordS = _root.sword;
user_so.data.eldS = _root.eld;
user_so.data.lanternS = _root.lantern;
user_so.data.lantern2S = _root.lantern2;
user_so.data.hourglassS = _root.hourglass;
user_so.data.redKeyS = _root.redKey;
user_so.data.smallDoor1S = _root.smallDoor1;
user_so.data.key1S = _root.key1;
user_so.data.key2S = _root.key2;
user_so.data.key3S = _root.key3;
user_so.data.key4S = _root.key4;
user_so.data.key5S = _root.key5;
user_so.data.doorOpen1S = _root.doorOpen1;
user_so.data.doorOpen2S = _root.doorOpen2;
user_so.data.doorOpen3S = _root.doorOpen3;
user_so.data.doorOpen4S = _root.doorOpen4;
user_so.data.doorOpen5S = _root.doorOpen5;
user_so.data.button1S = _root.button1;
user_so.data.button2S = _root.button2;
user_so.data.chainBone1S = _root.chainBone1;
user_so.data.chainBone2S = _root.chainBone2;
user_so.data.clicksS = _root.clicks;
user_so.data.silverKey1S = _root.silverKey1;
user_so.data.silverKey2S = _root.silverKey2;
user_so.data.silverKey3S = _root.silverKey3;
user_so.data.silverKey4S = _root.silverKey4;
user_so.data.silverKey5S = _root.silverKey5;
user_so.data.lampRoom1S = _root.lampRoom1;
user_so.data.lampRoom2S = _root.lampRoom2;
user_so.data.lampRoom3S = _root.lampRoom3;
user_so.data.blockAS = _root.blockA;
user_so.data.blockBS = _root.blockB;
user_so.data.noLightS = _root.noLight;
user_so.data.badDoor1S = _root.badDoor1;
user_so.data.badDoor2S = _root.badDoor2;
user_so.data.badDoor3S = _root.badDoor3;
user_so.data.badDoor4S = _root.badDoor4;
user_so.data.badDoor5S = _root.badDoor5;
user_so.data.badDoor6S = _root.badDoor6;
user_so.data.badDoor7S = _root.badDoor7;
user_so.data.seaShellS = _root.seaShell;
user_so.data.itRainS = _root.itRain;
user_so.flush();
}
}
}
movieClip 1326 {
}
movieClip 1329 {
}
movieClip 1330 {
}
movieClip 1332 {
frame 1 {
stop();
}
frame 85 {
stop();
}
}
movieClip 1335 {
}
movieClip 1337 {
}
movieClip 1339 {
}
movieClip 1340 {
frame 1 {
stop();
}
instance f2 of movieClip 159 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance f1 of movieClip 159 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance shield of movieClip 194 {
onClipEvent (enterFrame) {
this.stop();
}
}
}
movieClip 1341 {
frame 1 {
stop();
}
}
instance char of movieClip 152 {
onClipEvent (load) {
var ground = _root.ground;
var jumpCloud = _root.jumpCloud;
var grav = 0;
var gravity = 2;
var speed = 5;
var maxJump = -16;
var touchingGround = false;
var isRunning = false;
var isJumping = false;
var walkingRight = true;
var deadbread = false;
var dead = false;
var dead2 = false;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (dead2) {
deadbread = true;
_root.char2.gotoAndStop(8);
}
if (!deadbread) {
_y = _y + grav;
grav += gravity;
if (grav >= 16) {
grav = 16;
}
for (;;) {
if (!(ground.hitTest(_x, _y, true) || jumpCloud.hitTest(_x, _y, true))) break;
_y = _y - gravity;
grav = 0;
}
if (ground.hitTest(_x, _y + 5, true) || jumpCloud.hitTest(_x, _y + 5, true)) {
touchingGround = true;
isJumping = false;
} else {
touchingGround = false;
}
if (walkingRight) {
this._x += speed;
_xscale = scale;
}
if (walkingLeft) {
this._x -= speed;
_xscale = -scale;
}
if (ground.hitTest(_x + _width / 2, _y - _height / 2, true) || jumpCloud.hitTest(_x + _width / 2, _y - _height / 2, true)) {
walkingRight = false;
walkingLeft = true;
_x = _x - speed;
}
if (ground.hitTest(_x - _width / 2, _y - _height / 2, true) || jumpCloud.hitTest(_x - _width / 2, _y - _height / 2, true)) {
_x = _x + speed;
walkingRight = true;
walkingLeft = false;
}
if (ground.hitTest(_x - _width / 500, _y - _height / 1, true) || jumpCloud.hitTest(_x - _width / 500, _y - _height / 1, true)) {
grav = speed;
}
if (dead) {
_root.char._x = -10;
dead = false;
}
if (isRunning) {
if (!isJumping) {
gotoAndStop(19);
}
} else {
if (isRunning && !touchingGround) {
gotoAndStop(21);
} else {
if (isJumping) {
gotoAndStop(21);
} else {
if (isRunning && isJumping) {
gotoAndStop(21);
} else {
gotoAndStop(18);
}
}
}
}
if (isRunning && isJumping) {
gotoAndStop(21);
}
}
if (_root.vcam.hp.death.hitTest(this)) {
_root.char.gotoAndStop(5);
_root.vcam.minus10000.gotoAndStop(2);
++_root.score;
_root.vcam.hp.gotoAndStop(4);
deadbread = true;
}
}
}
instance char2 of movieClip 254 {
onClipEvent (load) {
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.char.walkingRight) {
_xscale = scale;
}
if (_root.char.walkingLeft) {
_xscale = -scale;
}
this._x = _root.char._x;
this._y = _root.char._y;
}
}
movieClip 1344 {
}
movieClip 1345 {
}
movieClip 1346 {
instance of movieClip 1345 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 1345 {
onClipEvent (load) {
this.gotoAndPlay(2);
}
}
instance of movieClip 1345 {
onClipEvent (load) {
this.gotoAndPlay(5);
}
}
frame 51 {
stop();
}
}
movieClip 1348 {
}
movieClip 1349 {
}
movieClip 1350 {
frame 9 {
stop();
}
}
movieClip 1351 {
frame 14 {
stop();
}
}
movieClip 1352 {
frame 1 {
stop();
}
}
movieClip 1353 {
}
movieClip 1354 {
frame 1 {
stop();
}
}
instance jumpCloud of movieClip 1354 {
onClipEvent (enterFrame) {
if (this._currentframe == 50 || this._currentframe == 100) {
this.gotoAndPlay(101);
this._x = 800;
this._y = 800;
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen12');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen27');
}
}
}
instance ygy of movieClip 641 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.ground.button1.gotoAndPlay(2);
_root.ground.bone1.gotoAndPlay(2);
_root.chain1.gotoAndPlay(2);
loadMovie('', this);
}
if (_root.button1) {
_root.ground.button1.gotoAndStop(7);
loadMovie('', this);
}
}
}
movieClip 1358 {
}
movieClip 1359 {
}
movieClip 1378 {
}
movieClip 1381 {
}
movieClip 1384 {
}
movieClip 1385 {
}
movieClip 1386 {
frame 1 {
stop();
}
frame 3 {
_root.sound33.start(0, 1);
}
frame 39 {
_root.char2.gotoAndStop(1);
}
frame 39 {
_root.char2.gotoAndStop(1);
}
frame 88 {
_root.gotoAndStop('screen61');
}
}
instance menu1 of movieClip 326 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.menu1.clickText.text = _root.clicks;
this.money.text = _root.money;
this.health.health.text = _root.health2 + '/' + _root.health;
_root.kk.text = _root.key2;
}
}
button 1387 {
on (press) {
if (_root.char.touchingGround) {
++_root.clicks;
_root.sound2.start(0, 1);
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
}
}
}
instance of movieClip 269 {
onClipEvent (enterFrame) {
if (_root.soundNumber != 0) {
++_root.soundNumber;
if (_root.soundNumber == 30) {
_root.soundNumber = 0;
}
}
if (Key.isDown(83)) {
if (_root.soundIsOn && _root.soundNumber == 0) {
_root.sound1.setVolume(0);
_root.sound2.setVolume(0);
_root.sound3.setVolume(0);
_root.sound4.setVolume(0);
_root.sound5.setVolume(0);
_root.sound6.setVolume(0);
_root.sound7.setVolume(0);
_root.sound8.setVolume(0);
_root.sound9.setVolume(0);
_root.sound10.setVolume(0);
_root.sound11.setVolume(0);
_root.sound12.setVolume(0);
_root.sound13.setVolume(0);
_root.sound14.setVolume(0);
_root.sound15.setVolume(0);
_root.sound16.setVolume(0);
_root.sound17.setVolume(0);
_root.sound18.setVolume(0);
_root.sound19.setVolume(0);
_root.sound20.setVolume(0);
_root.sound21.setVolume(0);
_root.sound22.setVolume(0);
_root.sound23.setVolume(0);
_root.sound24.setVolume(0);
_root.sound25.setVolume(0);
_root.sound26.setVolume(0);
_root.sound27.setVolume(0);
_root.sound28.setVolume(0);
_root.sound29.setVolume(0);
_root.sound30.setVolume(0);
_root.sound31.setVolume(0);
_root.sound32.setVolume(0);
_root.sound33.setVolume(0);
_root.sound34.setVolume(0);
_root.sound35.setVolume(0);
_root.sound36.setVolume(0);
_root.sound37.setVolume(0);
_root.sound38.setVolume(0);
_root.sound39.setVolume(0);
_root.sound40.setVolume(0);
_root.sound41.setVolume(0);
_root.sound42.setVolume(0);
_root.sound43.setVolume(0);
_root.sound44.setVolume(0);
_root.sound45.setVolume(0);
_root.sound46.setVolume(0);
_root.sound47.setVolume(0);
_root.sound48.setVolume(0);
_root.sound49.setVolume(0);
_root.sound50.setVolume(0);
_root.sound51.setVolume(0);
_root.sound52.setVolume(0);
_root.sound53.setVolume(0);
_root.sound54.setVolume(0);
_root.sound55.setVolume(0);
_root.sound56.setVolume(0);
_root.sound57.setVolume(0);
_root.music1.setVolume(0);
_root.music2.setVolume(0);
_root.music3.setVolume(0);
_root.music4.setVolume(0);
_root.music5.setVolume(0);
_root.soundIsOn = false;
_root.soundNumber = 1;
} else {
if (!_root.soundIsOn && _root.soundNumber == 0) {
_root.sound1.setVolume(100);
_root.sound2.setVolume(100);
_root.sound3.setVolume(100);
_root.sound4.setVolume(100);
_root.sound5.setVolume(100);
_root.sound6.setVolume(100);
_root.sound7.setVolume(100);
_root.sound8.setVolume(100);
_root.sound9.setVolume(100);
_root.sound10.setVolume(100);
_root.sound11.setVolume(100);
_root.sound12.setVolume(100);
_root.sound13.setVolume(100);
_root.sound14.setVolume(100);
_root.sound15.setVolume(100);
_root.sound16.setVolume(100);
_root.sound17.setVolume(100);
_root.sound18.setVolume(100);
_root.sound19.setVolume(100);
_root.sound20.setVolume(100);
_root.sound21.setVolume(100);
_root.sound22.setVolume(100);
_root.sound23.setVolume(100);
_root.sound24.setVolume(100);
_root.sound25.setVolume(100);
_root.sound26.setVolume(100);
_root.sound27.setVolume(100);
_root.sound28.setVolume(100);
_root.sound29.setVolume(100);
_root.sound30.setVolume(100);
_root.sound31.setVolume(100);
_root.sound32.setVolume(100);
_root.sound33.setVolume(100);
_root.sound34.setVolume(100);
_root.sound35.setVolume(100);
_root.sound36.setVolume(100);
_root.sound37.setVolume(100);
_root.sound38.setVolume(100);
_root.sound39.setVolume(100);
_root.sound40.setVolume(100);
_root.sound41.setVolume(100);
_root.sound42.setVolume(100);
_root.sound43.setVolume(100);
_root.sound44.setVolume(100);
_root.sound45.setVolume(100);
_root.sound46.setVolume(100);
_root.sound47.setVolume(100);
_root.sound48.setVolume(100);
_root.sound49.setVolume(100);
_root.sound50.setVolume(100);
_root.sound51.setVolume(100);
_root.sound52.setVolume(100);
_root.sound53.setVolume(100);
_root.sound54.setVolume(100);
_root.sound55.setVolume(100);
_root.sound56.setVolume(100);
_root.sound57.setVolume(100);
_root.music1.setVolume(100);
_root.music2.setVolume(100);
_root.music3.setVolume(100);
_root.music4.setVolume(100);
_root.music5.setVolume(100);
_root.soundIsOn = true;
_root.soundNumber = 1;
}
}
}
}
}
instance of movieClip 343 {
onClipEvent (enterFrame) {
if (_root.health2 <= 0) {
_root.char.deadbread = true;
_root.char.dead2 = false;
_root.char2.gotoAndStop(10);
}
}
}
instance of movieClip 339 {
onClipEvent (enterFrame) {
if (_root.money >= 75 && _root.money <= 145 && _root.level == 0) {
_root.health = 35;
_root.health2 = 35;
_root.level = 1;
_root.levelUp.gotoAndPlay(2);
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
if (_root.money >= 146 && _root.money <= 275 && _root.level == 1) {
_root.health = 40;
_root.health2 = 40;
_root.level = 2;
_root.levelUp.gotoAndPlay(2);
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
if (_root.money >= 276 && _root.money <= 350 && _root.level == 2) {
_root.health = 45;
_root.health2 = 45;
_root.level = 3;
_root.levelUp.gotoAndPlay(2);
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
if (_root.money >= 351 && _root.money <= 425 && _root.level == 3) {
_root.health = 50;
_root.health2 = 50;
_root.level = 4;
_root.levelUp.gotoAndPlay(2);
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
if (_root.money >= 426 && _root.money <= 550 && _root.level == 4) {
_root.health = 50;
_root.health2 = 50;
_root.level = 5;
_root.levelUp.gotoAndPlay(2);
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
if (_root.money >= 551 && _root.money <= 625 && _root.level == 5) {
_root.health = 60;
_root.health2 = 60;
_root.level = 6;
_root.levelUp.gotoAndPlay(2);
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
if (_root.money >= 626 && _root.money <= 700 && _root.level == 6) {
_root.levelUp.gotoAndPlay(2);
_root.health = 65;
_root.health2 = 65;
_root.level = 7;
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
if (_root.money >= 701 && _root.money <= 750 && _root.level == 7) {
_root.levelUp.gotoAndPlay(2);
_root.health = 70;
_root.health2 = 70;
_root.level = 8;
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
if (_root.money >= 751 && _root.money <= 825 && _root.level == 8) {
_root.levelUp.gotoAndPlay(2);
_root.health = 75;
_root.health2 = 75;
_root.level = 9;
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
if (_root.money >= 826 && _root.money <= 900 && _root.level == 9) {
_root.levelUp.gotoAndPlay(2);
_root.health = 80;
_root.health2 = 80;
_root.level = 10;
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
if (_root.money >= 901 && _root.money <= 975 && _root.level == 10) {
_root.levelUp.gotoAndPlay(2);
_root.health = 85;
_root.health2 = 85;
_root.level = 11;
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
_root.money = 999;
}
if (_root.money >= 976 && _root.money <= 999 && _root.level == 11) {
_root.levelUp.gotoAndPlay(2);
_root.health = 90;
_root.health2 = 90;
_root.level = 12;
_root.levelUp._x = _root.char._x;
_root.levelUp._y = _root.char._y;
}
if (_root.money >= 999) {
_root.money = 999;
}
}
}
movieClip 1388 {
frame 31 {
stop();
_root.noLight = true;
}
}
instance zacs of movieClip 1388 {
onClipEvent (load) {
if (_root.noLight) {
loadMovie('', this);
}
}
}
instance shows of movieClip 337 {
onClipEvent (load) {
this.stop();
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.char._x = _root.screenX;
_root.char._y = _root.screenY;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
dead = false;
}
}
}
frame 19 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 19 {
_root.saveGo = false;
}
frame 19 {
_root.lampLight = 0;
}
movieClip 1390 {
}
movieClip 1393 {
}
movieClip 1394 {
}
movieClip 1396 {
}
movieClip 1398 {
}
movieClip 1399 {
}
movieClip 1401 {
}
movieClip 1404 {
}
movieClip 1405 {
}
movieClip 1408 {
}
movieClip 1410 {
}
movieClip 1412 {
}
movieClip 1414 {
}
movieClip 1417 {
}
movieClip 1420 {
}
movieClip 1421 {
}
movieClip 1426 {
}
movieClip 1428 {
frame 1 {
stop();
}
}
movieClip 1429 {
instance a1 of movieClip 1428 {
onClipEvent (enterFrame) {
if (_root.char2.lantern.hitTest(this.hitSpot) && _root.char2.lantern._currentframe != 1 && this._currentframe == 1) {
++_root.lampLight;
_root.sound22.start(0, 1);
this.gotoAndStop(2);
}
}
}
}
movieClip 1432 {
}
movieClip 1433 {
}
movieClip 1434 {
frame 1 {
stop();
}
frame 52 {
stop();
}
}
movieClip 1435 {
}
movieClip 1436 {
frame 1 {
stop();
}
frame 2 {
_root.sound23.start(0, 1);
}
frame 52 {
stop();
}
}
movieClip 1439 {
}
movieClip 1441 {
instance of movieClip 1436 {
onClipEvent (enterFrame) {
if (_root.lampLight == 1 && this._currentframe == 1) {
_root.badDoor7 = false;
this.gotoAndPlay(2);
this.a1.gotoAndPlay(2);
_root.moneyX._x = _root.char._x;
_root.moneyX._y = _root.char._y;
_root.moneyX.gotoAndStop(2);
}
if (this._currentframe == 51) {
_root.lampRoom0 = true;
}
if (_root.lampRoom0) {
loadMovie('', this);
}
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen11');
}
if (_root.char._y >= 560) {
_root.char._y = 50;
_root.gotoAndStop('screen13');
}
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen41');
}
}
}
button 1442 {
on (press) {
if (_root.char.touchingGround) {
_root.sound2.start(0, 1);
++_root.clicks;
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
if (_root.lantern) {
_root.char2.lantern.gotoAndPlay(2);
}
}
}
}
movieClip 1444 {
}
movieClip 1447 {
}
movieClip 1448 {
}
movieClip 1450 {
frame 1 {
stop();
}
instance of movieClip 575 {
onClipEvent (enterFrame) {
if (_root.sword) {
loadMovie('', this);
}
}
}
}
instance of movieClip 1450 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && !_root.lantern) {
this.gotoAndStop(2);
}
if (_root.char.hitTest(this) && _root.lantern) {
this.gotoAndStop(3);
}
}
}
frame 20 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 20 {
if (_root.musicStart) {
_root.music5.start(0, 9999);
_root.musicStart = false;
}
}
frame 20 {
_root.sound21.stop('arrowString');
_root.sound20.stop('shotArrow');
}
frame 20 {
if (_root.lantern) {
_root.lantern2 = true;
}
}
movieClip 1452 {
}
movieClip 1455 {
}
movieClip 1457 {
}
movieClip 1459 {
}
instance of movieClip 679 {
onClipEvent (enterFrame) {
if (_root.saveGo) {
loadMovie('', this);
}
if (_root.char.hitTest(this.a2) && _root.saveScreen._currentframe == 1) {
_root.saveScreen.gotoAndPlay(2);
_root.saveNumber = 3;
_root.health2 = _root.health;
this.gotoAndPlay(2);
loadMovie('', this.a1.a1.a1);
user_so = SharedObject.getLocal('user');
user_so.data.healthS = _root.health;
user_so.data.levelS = _root.level;
user_so.data.block1S = _root.block1;
user_so.data.block2S = _root.block2;
user_so.data.block3S = _root.block3;
user_so.data.block4S = _root.block4;
user_so.data.block5S = _root.block5;
user_so.data.saveNumberS = _root.saveNumber;
user_so.data.fireMedalS = _root.fireMedal;
user_so.data.waterMedalS = _root.waterMedal;
user_so.data.earthMedalS = _root.earthMedal;
user_so.data.windMedalS = _root.windMedal;
user_so.data.eyeBossBeatS = _root.eyeBossBeat;
user_so.data.goldFlowerS = _root.goldFlower;
user_so.data.garden1S = _root.garden1;
user_so.data.garden2S = _root.garden2;
user_so.data.garden3S = _root.garden3;
user_so.data.garden4S = _root.garden4;
user_so.data.beenHere1S = _root.beenHere1;
user_so.data.beenHere2S = _root.beenHere2;
user_so.data.beenHere3S = _root.beenHere3;
user_so.data.moneyS = _root.money;
user_so.flush();
user_so.data.monster1S = _root.monster1;
user_so.data.monster2S = _root.monster2;
user_so.data.monster3S = _root.monster3;
user_so.data.monster4S = _root.monster4;
user_so.data.monster5S = _root.monster5;
user_so.data.monster6S = _root.monster6;
user_so.data.monster7S = _root.monster7;
user_so.data.moneyBag1S = _root.moneyBag1;
user_so.data.moneyBag2S = _root.moneyBag2;
user_so.data.moneyBag3S = _root.moneyBag3;
user_so.data.moneyBag4S = _root.moneyBag4;
user_so.data.moneyBag5S = _root.moneyBag5;
user_so.data.moneyBag6S = _root.moneyBag6;
user_so.data.moneyBag7S = _root.moneyBag7;
user_so.data.moneyBag8S = _root.moneyBag8;
user_so.data.moneyBag9S = _root.moneyBag9;
user_so.data.moneyBag10S = _root.moneyBag10;
user_so.data.moneyBag11S = _root.moneyBag11;
user_so.data.moneyBag12S = _root.moneyBag12;
user_so.data.billyS = _root.billy;
user_so.data.cloudRingS = _root.cloudRing;
user_so.data.swordS = _root.sword;
user_so.data.eldS = _root.eld;
user_so.data.lanternS = _root.lantern;
user_so.data.lantern2S = _root.lantern2;
user_so.data.hourglassS = _root.hourglass;
user_so.data.redKeyS = _root.redKey;
user_so.data.smallDoor1S = _root.smallDoor1;
user_so.data.key1S = _root.key1;
user_so.data.key2S = _root.key2;
user_so.data.key3S = _root.key3;
user_so.data.key4S = _root.key4;
user_so.data.key5S = _root.key5;
user_so.data.doorOpen1S = _root.doorOpen1;
user_so.data.doorOpen2S = _root.doorOpen2;
user_so.data.doorOpen3S = _root.doorOpen3;
user_so.data.doorOpen4S = _root.doorOpen4;
user_so.data.doorOpen5S = _root.doorOpen5;
user_so.data.button1S = _root.button1;
user_so.data.button2S = _root.button2;
user_so.data.chainBone1S = _root.chainBone1;
user_so.data.chainBone2S = _root.chainBone2;
user_so.data.clicksS = _root.clicks;
user_so.data.silverKey1S = _root.silverKey1;
user_so.data.silverKey2S = _root.silverKey2;
user_so.data.silverKey3S = _root.silverKey3;
user_so.data.silverKey4S = _root.silverKey4;
user_so.data.silverKey5S = _root.silverKey5;
user_so.data.lampRoom1S = _root.lampRoom1;
user_so.data.lampRoom2S = _root.lampRoom2;
user_so.data.lampRoom3S = _root.lampRoom3;
user_so.data.blockAS = _root.blockA;
user_so.data.blockBS = _root.blockB;
user_so.data.noLightS = _root.noLight;
user_so.data.badDoor1S = _root.badDoor1;
user_so.data.badDoor2S = _root.badDoor2;
user_so.data.badDoor3S = _root.badDoor3;
user_so.data.badDoor4S = _root.badDoor4;
user_so.data.badDoor5S = _root.badDoor5;
user_so.data.badDoor6S = _root.badDoor6;
user_so.data.badDoor7S = _root.badDoor7;
user_so.data.seaShellS = _root.seaShell;
user_so.data.itRainS = _root.itRain;
user_so.flush();
}
}
}
movieClip 1461 {
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen14');
}
if (_root.char._y <= 40) {
_root.char._y = 480;
_root.gotoAndStop('screen12');
}
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen18');
}
}
}
movieClip 1463 {
}
instance of movieClip 1463 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.beenHere1 = false;
}
}
}
button 1464 {
on (press) {
if (_root.char.touchingGround) {
_root.sound2.start(0, 1);
++_root.clicks;
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
}
}
}
frame 21 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 21 {
_root.hopp = true;
_root.skydd = false;
_root.eld = false;
}
frame 21 {
_root.sound21.stop('arrowString');
_root.sound20.stop('shotArrow');
}
frame 21 {
_root.saveGo = false;
}
movieClip 1467 {
}
movieClip 1468 {
}
movieClip 1470 {
}
movieClip 1471 {
}
movieClip 1472 {
}
movieClip 1473 {
}
instance of movieClip 1473 {
onClipEvent (load) {
if (_root.beenHere1) {
loadMovie('', this);
}
}
}
movieClip 1475 {
}
movieClip 1476 {
}
movieClip 1477 {
}
movieClip 1478 {
frame 59 {
stop();
_root.lantern = true;
_root.lantern2 = true;
}
}
movieClip 1479 {
frame 1 {
stop();
}
frame 10 {
_root.char.deadbread = true;
_root.char2.gotoAndStop(7);
_root.fireMess.gotoAndStop(2);
_root.sound3.start(0, 1);
}
frame 26 {
stop();
}
frame 26 {
stop();
}
}
instance of movieClip 1479 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
}
if (_root.lantern2) {
loadMovie('', this);
}
}
}
movieClip 1481 {
}
instance shield of movieClip 1481 {
onClipEvent (load) {
var shieldNumber = 0;
var shieldOn = false;
}
onClipEvent (enterFrame) {
if (shieldOn) {
_root.char2.shield.a1.gotoAndStop(2);
_root.char.speed = 0;
_root.char2.shield.gotoAndStop(1);
_root.char2.f1.stop();
_root.char2.f2.stop();
_root.char2.head.stop();
_root.char2.head.a1.stop();
_root.char2.head.a1.a1.stop();
_root.char2.head.a1.a1.a1.stop();
++shieldNumber;
if (shieldNumber == 20) {
_root.char2.head.play();
_root.char2.head.a1.play();
_root.char2.head.a1.a1.play();
_root.char2.head.a1.a1.a1.play();
_root.char.speed = 5;
_root.char2.shield.a1.gotoAndStop(1);
_root.char2.shield.play();
_root.char2.f1.play();
_root.char2.f2.play();
shieldOn = false;
shieldNumber = 0;
}
}
}
}
movieClip 1483 {
frame 1 {
stop();
}
instance money of movieClip 446 {
onClipEvent (load) {
var gen = 1;
genn = random(7) + 1;
if (genn == 1) {
this.a1.gotoAndStop(1);
_root.money += 1;
}
if (genn == 2) {
this.a1.gotoAndStop(2);
_root.money += 2;
}
if (genn == 3) {
this.a1.gotoAndStop(3);
_root.money += 3;
}
if (genn == 4) {
this.a1.gotoAndStop(4);
_root.money += 4;
}
if (genn == 5) {
this.a1.gotoAndStop(5);
_root.money += 5;
}
if (genn == 6) {
this.a1.gotoAndStop(6);
_root.money += 6;
}
if (genn == 7) {
this.a1.gotoAndStop(7);
_root.money += 7;
}
}
onClipEvent (enterFrame) {
if (this._currentframe == 30) {
_root.moneyX.gotoAndStop(3);
}
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen15');
}
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen13');
}
}
}
instance fireMess of movieClip 481 {
onClipEvent (enterFrame) {
this.a1.a1.gotoAndStop(13);
}
}
button 1484 {
on (press) {
if (_root.hopp) {
if (_root.char.touchingGround) {
_root.sound2.start(0, 1);
++_root.clicks;
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
++_root.clicks;
_root.skydd = true;
_root.hopp = false;
}
} else {
if (_root.skydd) {
_root.skydd = false;
_root.hopp = true;
_root.shield.shieldOn = true;
}
}
}
}
movieClip 1486 {
}
movieClip 1487 {
}
movieClip 1488 {
frame 16 {
stop();
}
}
movieClip 1489 {
frame 1 {
stop();
}
}
movieClip 1490 {
frame 1 {
stop();
}
instance of movieClip 1489 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char2.hitSpot) && _root.shield.shieldOn && this._currentframe == 1 && !_root.char.deadbread && _root.char2._currentframe != 8) {
_root.moneyX._x = _root.char._x;
_root.moneyX._y = _root.char._y;
_root.sound19.start(0, 1);
_root.moneyX.gotoAndStop(2);
this.gotoAndStop(2);
}
if (this.hitTest(_root.f1) || this.hitTest(_root.f2)) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.char) && !_root.shield.shieldOn && this._currentframe == 1 && !_root.char.deadbread && _root.char2._currentframe != 8) {
_root.health2 -= 2;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.char.dead2 = true;
this.gotoAndStop(3);
}
}
}
}
movieClip 1495 {
}
movieClip 1511 {
frame 34 {
_root.sound21.start(0, 1);
}
frame 73 {
_root.sound20.start(0, 1);
}
}
movieClip 1512 {
instance of movieClip 958 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && !_root.char.deadbread && _root.char2._currentframe != 8) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
}
instance j6nr of movieClip 1512 {
onClipEvent (load) {
this.gotoAndPlay(30);
this.a1.gotoAndPlay(30);
this.pil.gotoAndStop(2);
}
}
movieClip 1513 {
frame 1 {
stop();
}
}
movieClip 1516 {
}
movieClip 1517 {
frame 1 {
stop();
}
}
movieClip 1518 {
frame 1 {
stop();
}
instance of movieClip 1513 {
onClipEvent (enterFrame) {
if (_root.hopp) {
this.gotoAndStop(2);
} else {
if (_root.skydd) {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 1517 {
onClipEvent (enterFrame) {
if (_root.hopp) {
this.gotoAndStop(1);
} else {
if (_root.skydd) {
this.gotoAndStop(2);
}
}
}
}
frame 3 {
stop();
}
}
instance of movieClip 1518 {
onClipEvent (load) {
if (_root.beenHere1 && !_root.lantern) {
this.gotoAndStop(2);
} else {
if (_root.beenHere1 && _root.lantern) {
this.gotoAndStop(3);
}
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.j6nr.gotoAndPlay(30);
_root.j6nr.a1.gotoAndPlay(30);
_root.j6nr.pil.gotoAndStop(2);
_root.hopp = true;
_root.skydd = false;
_root.j6nr.gotoAndPlay(1);
_root.j6nr.a1.gotoAndPlay(1);
_root.char._x = _root.screenX;
_root.char._y = _root.screenY;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
frame 22 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 22 {
_root.change1 = true;
}
frame 22 {
_root.sla = false;
_root.skydd = true;
}
frame 22 {
_root.sound21.stop('arrowString');
_root.sound20.stop('shotArrow');
}
movieClip 1520 {
}
movieClip 1522 {
}
movieClip 1524 {
frame 1 {
stop();
}
}
movieClip 1525 {
}
movieClip 1526 {
}
movieClip 1528 {
}
movieClip 1530 {
}
movieClip 1531 {
frame 14 {
stop();
}
}
movieClip 1533 {
}
movieClip 1534 {
frame 16 {
stop();
}
}
movieClip 1535 {
frame 1 {
stop();
}
instance a2 of movieClip 1512 {
onClipEvent (load) {
this.gotoAndPlay(18);
this.a1.gotoAndPlay(18);
this.pil.gotoAndStop(2);
}
}
frame 2 {
_root.sound21.stop('arrowString');
_root.sound20.stop('shotArrow');
}
frame 2 {
_root.sound5.start(0, 1);
}
}
instance fffgff of movieClip 1535 {
onClipEvent (enterFrame) {
if (_root.char2.attack.attack.a1.hitTest(this.a1) || _root.char2.attack.attack.a2.hitTest(this.a1) || _root.char2.attack.attack.a3.hitTest(this.a1)) {
this.gotoAndStop(2);
}
}
}
movieClip 1536 {
frame 1 {
stop();
}
}
movieClip 1537 {
frame 1 {
stop();
}
instance of movieClip 1517 {
onClipEvent (enterFrame) {
if (_root.skydd) {
this.gotoAndStop(2);
} else {
if (_root.sla) {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 1536 {
onClipEvent (enterFrame) {
if (_root.skydd) {
this.gotoAndStop(1);
} else {
if (_root.sla) {
this.gotoAndStop(2);
}
}
}
}
frame 20 {
stop();
}
}
movieClip 1538 {
frame 1 {
stop();
}
instance 34tg3tg of movieClip 1537 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && this._currentframe == 1) {
this.gotoAndPlay(2);
}
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen16');
}
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen14');
}
}
}
instance of movieClip 1463 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.beenHere1 = true;
}
}
}
button 1539 {
on (press) {
if (sla) {
if (_root.char2.attack._currentFrame == 1) {
if (_root.sla) {
++_root.clicks;
_root.char2.attack.gotoAndPlay(2);
_root.skydd = true;
_root.sla = false;
}
}
} else {
if (_root.skydd) {
_root.skydd = false;
_root.sla = true;
_root.shield.shieldOn = true;
}
}
}
}
movieClip 1541 {
}
movieClip 1542 {
}
instance fghht of movieClip 1542 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.sdee.gotoAndStop(2);
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.fffgff.a2.gotoAndPlay(18);
_root.fffgff.a2.a1.gotoAndPlay(18);
_root.fffgff.a2.pil.gotoAndStop(2);
_root.sla = false;
_root.skydd = true;
_root.char._x = _root.screenX;
_root.char._y = _root.screenY;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
frame 23 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 23 {
_root.sla = false;
_root.skydd = true;
}
frame 23 {
_root.sound21.stop('arrowString');
_root.sound20.stop('shotArrow');
}
movieClip 1544 {
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen17');
}
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen15');
}
}
}
instance fe of movieClip 1535 {
onClipEvent (enterFrame) {
if (_root.char2.attack.attack.a1.hitTest(this.a1) || _root.char2.attack.attack.a2.hitTest(this.a1) || _root.char2.attack.attack.a3.hitTest(this.a1)) {
this.gotoAndStop(2);
}
}
}
instance hfg of movieClip 1535 {
onClipEvent (enterFrame) {
if (_root.char2.attack.attack.a1.hitTest(this.a1) || _root.char2.attack.attack.a2.hitTest(this.a1) || _root.char2.attack.attack.a3.hitTest(this.a1)) {
this.gotoAndStop(2);
}
}
}
instance fghhf of movieClip 1542 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.sde.gotoAndStop(2);
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.fe.a2.gotoAndPlay(18);
_root.fe.a2.a1.gotoAndPlay(18);
_root.fe.a2.pil.gotoAndStop(2);
_root.hfg.a2.gotoAndPlay(18);
_root.hfg.a2.a1.gotoAndPlay(18);
_root.hfg.a2.pil.gotoAndStop(2);
_root.sla = false;
_root.skydd = true;
_root.char._x = _root.screenX;
_root.char._y = _root.screenY;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
frame 24 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 24 {
_root.sound21.stop('arrowString');
_root.sound20.stop('shotArrow');
}
movieClip 1545 {
frame 1 {
stop();
}
frame 2 {
_root.sound6.start(0, 1);
}
frame 15 {
_root.money += 50;
}
frame 16 {
stop();
}
}
instance 547jj574 of movieClip 1545 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && this._currentframe == 1) {
_root.a50bux._x = this._x;
_root.a50bux._y = this._y;
_root.a50bux.gotoAndPlay(1);
this.gotoAndPlay(2);
}
if (this._currentframe == 16) {
_root.moneyBag3 = true;
}
if (_root.moneyBag3) {
loadMovie('', this);
}
}
}
movieClip 1548 {
frame 1 {
stop();
}
}
movieClip 1549 {
}
movieClip 1551 {
}
instance of movieClip 1551 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.ground.block.gotoAndStop(2);
}
}
}
instance of movieClip 1551 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.ground.block.gotoAndStop(1);
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen16');
}
}
}
instance of movieClip 337 {
onClipEvent (enterFrame) {
this.stop();
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.char._x = _root.screenX;
_root.char._y = _root.screenY;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
frame 25 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 25 {
_root.hopp = true;
_root.eld = false;
_root.lampLight = 0;
}
frame 25 {
_root.saveGo = false;
}
movieClip 1555 {
}
movieClip 1557 {
}
movieClip 1559 {
}
movieClip 1561 {
}
movieClip 1563 {
}
movieClip 1565 {
}
movieClip 1566 {
frame 1 {
stop();
}
frame 15 {
_root.char.deadbread = true;
_root.char2.key.gotoAndPlay(2);
_root.char2.f1.stop();
_root.char2.f2.stop();
_root.char2.head.stop();
_root.char2.shield.stop();
}
frame 68 {
_root.char.deadbread = false;
_root.char2.f1.play();
_root.char2.f2.play();
_root.char2.head.play();
_root.char2.shield.play();
_root.sound25.start(0, 1);
}
frame 92 {
stop();
}
}
movieClip 1569 {
instance of movieClip 1566 {
onClipEvent (enterFrame) {
if (_root.silverKey1) {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
}
if (this._currentframe == 92) {
_root.block1 = true;
}
if (_root.block1) {
loadMovie('', this);
}
}
}
instance of movieClip 1436 {
onClipEvent (enterFrame) {
if (_root.lampLight == 3 && this._currentframe == 1) {
this.gotoAndPlay(2);
this.a1.gotoAndPlay(2);
_root.moneyX._x = _root.char._x;
_root.moneyX._y = _root.char._y;
_root.moneyX.gotoAndStop(2);
}
if (this._currentframe == 51) {
_root.lampRoom1 = true;
}
if (_root.lampRoom1) {
loadMovie('', this);
}
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen19');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen13');
}
if (_root.char._y >= 560) {
_root.char._y = 50;
_root.gotoAndStop('screen22');
}
}
}
button 1570 {
on (press) {
if (_root.char.touchingGround) {
_root.sound2.start(0, 1);
++_root.clicks;
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
if (_root.lantern) {
_root.char2.lantern.gotoAndPlay(2);
}
}
}
}
frame 26 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 26 {
_root.lampLight = 0;
}
movieClip 1572 {
instance of movieClip 1436 {
onClipEvent (enterFrame) {
if (_root.lampLight == 4 && this._currentframe == 1) {
this.gotoAndPlay(2);
this.a1.gotoAndPlay(2);
_root.moneyX._x = _root.char._x;
_root.moneyX._y = _root.char._y;
_root.moneyX.gotoAndStop(2);
}
if (this._currentframe == 51) {
_root.lampRoom2 = true;
_root.badDoor1 = false;
}
if (_root.lampRoom2) {
loadMovie('', this);
}
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen20');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen18');
}
}
}
button 1573 {
on (press) {
if (_root.char.touchingGround) {
_root.sound2.start(0, 1);
++_root.clicks;
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
_root.char2.lantern.gotoAndPlay(2);
}
}
}
instance of movieClip 958 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 2;
}
}
}
instance of movieClip 958 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 2;
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
if (_root.lampLight != 4) {
_root.aaa1a.a1.gotoAndStop(1);
_root.aa1.a1.gotoAndStop(1);
_root.qwsd2.a1.gotoAndStop(1);
_root.aa1a1s.a1.gotoAndStop(1);
_root.lampLight = 0;
}
_root.char._x = _root.screenX;
_root.char._y = _root.screenY;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
frame 27 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 27 {
_root.lampLight = 0;
}
movieClip 1574 {
instance of movieClip 594 {
onClipEvent (load) {
this.gotoAndPlay(14);
}
}
instance of movieClip 594 {
onClipEvent (load) {
this.gotoAndPlay(14);
}
}
instance of movieClip 594 {
onClipEvent (load) {
this.gotoAndPlay(14);
}
}
instance of movieClip 594 {
onClipEvent (load) {
this.gotoAndPlay(14);
}
}
}
movieClip 1575 {
frame 6 {
_root.sound37.start(0, 1);
}
frame 21 {
stop();
}
}
movieClip 1577 {
instance of movieClip 1575 {
onClipEvent (enterFrame) {
if (this._currentframe == 21) {
_root.badDoor1 = true;
}
if (_root.badDoor1) {
this.gotoAndStop(21);
}
}
}
instance of movieClip 1436 {
onClipEvent (enterFrame) {
if (_root.lampLight == 5 && this._currentframe == 1) {
this.gotoAndPlay(2);
this.a1.gotoAndPlay(2);
_root.moneyX._x = _root.char._x;
_root.moneyX._y = _root.char._y;
_root.moneyX.gotoAndStop(2);
}
if (this._currentframe == 51) {
_root.lampRoom3 = true;
_root.badDoor2 = false;
}
if (_root.lampRoom3) {
loadMovie('', this);
}
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen21');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen19');
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
if (_root.lampLight != 5) {
_root.aa1a1sdfg3eok.a1.gotoAndStop(1);
_root.aa1a1sdfg9ij.a1.gotoAndStop(1);
_root.aa1a1s3fejk.a1.gotoAndStop(1);
_root.aa1a1s3fhq3e985.a1.gotoAndStop(1);
_root.aa1a1s3fh855.a1.gotoAndStop(1);
_root.lampLight = 0;
}
_root.char._x = _root.startP._x;
_root.char._y = _root.startP._y;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
frame 28 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
movieClip 1579 {
}
movieClip 1580 {
}
movieClip 1581 {
}
movieClip 1582 {
frame 1 {
stop();
}
frame 2 {
_root.sound50.start(0, 1);
}
frame 16 {
stop();
}
}
instance of movieClip 1582 {
onClipEvent (enterFrame) {
if (this._currentframe == 16) {
_root.silverKey1 = true;
}
if (_root.char.hitTest(this) && this._currentframe == 1) {
this.gotoAndPlay(2);
}
if (_root.silverKey1) {
loadMovie('', this);
}
}
}
movieClip 1584 {
instance of movieClip 1575 {
onClipEvent (enterFrame) {
if (this._currentframe == 21) {
_root.badDoor2 = true;
}
if (_root.badDoor2) {
this.gotoAndStop(21);
}
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen22');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen20');
}
}
}
instance ygy of movieClip 641 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.ground.button1.gotoAndPlay(2);
_root.ground.bone1.gotoAndPlay(2);
_root.chain1.gotoAndPlay(2);
loadMovie('', this);
}
if (_root.button1) {
_root.ground.button1.gotoAndStop(7);
loadMovie('', this);
}
}
}
button 1585 {
on (press) {
if (_root.char.touchingGround) {
_root.sound2.start(0, 1);
++_root.clicks;
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.char._x = _root.screenX;
_root.char._y = _root.screenY;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
dead = false;
}
}
}
frame 29 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 29 {
if (_root.musicStart) {
_root.music5.start(0, 9999);
_root.musicStart = false;
}
}
frame 29 {
_root.sound21.stop('arrowString');
_root.sound20.stop('shotArrow');
}
frame 29 {
_root.lampLight = 0;
}
instance of movieClip 679 {
onClipEvent (enterFrame) {
if (_root.saveGo) {
loadMovie('', this);
}
if (_root.char.hitTest(this.a2) && _root.saveScreen._currentframe == 1) {
_root.saveScreen.gotoAndPlay(2);
_root.saveNumber = 4;
this.gotoAndPlay(2);
loadMovie('', this.a1.a1.a1);
user_so = SharedObject.getLocal('user');
user_so.data.healthS = _root.health;
user_so.data.levelS = _root.level;
user_so.data.block1S = _root.block1;
user_so.data.block2S = _root.block2;
user_so.data.block3S = _root.block3;
user_so.data.block4S = _root.block4;
user_so.data.block5S = _root.block5;
user_so.data.saveNumberS = _root.saveNumber;
user_so.data.fireMedalS = _root.fireMedal;
user_so.data.waterMedalS = _root.waterMedal;
user_so.data.earthMedalS = _root.earthMedal;
user_so.data.windMedalS = _root.windMedal;
user_so.data.eyeBossBeatS = _root.eyeBossBeat;
user_so.data.goldFlowerS = _root.goldFlower;
user_so.data.garden1S = _root.garden1;
user_so.data.garden2S = _root.garden2;
user_so.data.garden3S = _root.garden3;
user_so.data.garden4S = _root.garden4;
user_so.data.beenHere1S = _root.beenHere1;
user_so.data.beenHere2S = _root.beenHere2;
user_so.data.beenHere3S = _root.beenHere3;
user_so.data.moneyS = _root.money;
user_so.flush();
user_so.data.monster1S = _root.monster1;
user_so.data.monster2S = _root.monster2;
user_so.data.monster3S = _root.monster3;
user_so.data.monster4S = _root.monster4;
user_so.data.monster5S = _root.monster5;
user_so.data.monster6S = _root.monster6;
user_so.data.monster7S = _root.monster7;
user_so.data.moneyBag1S = _root.moneyBag1;
user_so.data.moneyBag2S = _root.moneyBag2;
user_so.data.moneyBag3S = _root.moneyBag3;
user_so.data.moneyBag4S = _root.moneyBag4;
user_so.data.moneyBag5S = _root.moneyBag5;
user_so.data.moneyBag6S = _root.moneyBag6;
user_so.data.moneyBag7S = _root.moneyBag7;
user_so.data.moneyBag8S = _root.moneyBag8;
user_so.data.moneyBag9S = _root.moneyBag9;
user_so.data.moneyBag10S = _root.moneyBag10;
user_so.data.moneyBag11S = _root.moneyBag11;
user_so.data.moneyBag12S = _root.moneyBag12;
user_so.data.billyS = _root.billy;
user_so.data.cloudRingS = _root.cloudRing;
user_so.data.swordS = _root.sword;
user_so.data.eldS = _root.eld;
user_so.data.lanternS = _root.lantern;
user_so.data.lantern2S = _root.lantern2;
user_so.data.hourglassS = _root.hourglass;
user_so.data.redKeyS = _root.redKey;
user_so.data.smallDoor1S = _root.smallDoor1;
user_so.data.key1S = _root.key1;
user_so.data.key2S = _root.key2;
user_so.data.key3S = _root.key3;
user_so.data.key4S = _root.key4;
user_so.data.key5S = _root.key5;
user_so.data.doorOpen1S = _root.doorOpen1;
user_so.data.doorOpen2S = _root.doorOpen2;
user_so.data.doorOpen3S = _root.doorOpen3;
user_so.data.doorOpen4S = _root.doorOpen4;
user_so.data.doorOpen5S = _root.doorOpen5;
user_so.data.button1S = _root.button1;
user_so.data.button2S = _root.button2;
user_so.data.chainBone1S = _root.chainBone1;
user_so.data.chainBone2S = _root.chainBone2;
user_so.data.clicksS = _root.clicks;
user_so.data.silverKey1S = _root.silverKey1;
user_so.data.silverKey2S = _root.silverKey2;
user_so.data.silverKey3S = _root.silverKey3;
user_so.data.silverKey4S = _root.silverKey4;
user_so.data.silverKey5S = _root.silverKey5;
user_so.data.lampRoom1S = _root.lampRoom1;
user_so.data.lampRoom2S = _root.lampRoom2;
user_so.data.lampRoom3S = _root.lampRoom3;
user_so.data.lampRoom4S = _root.lampRoom4;
user_so.data.lampRoom5S = _root.lampRoom5;
user_so.data.blockAS = _root.blockA;
user_so.data.blockBS = _root.blockB;
user_so.data.noLightS = _root.noLight;
user_so.data.badDoor1S = _root.badDoor1;
user_so.data.badDoor2S = _root.badDoor2;
user_so.data.badDoor3S = _root.badDoor3;
user_so.data.badDoor4S = _root.badDoor4;
user_so.data.badDoor5S = _root.badDoor5;
user_so.data.badDoor6S = _root.badDoor6;
user_so.data.badDoor7S = _root.badDoor7;
user_so.data.seaShellS = _root.seaShell;
user_so.data.itRainS = _root.itRain;
user_so.flush();
}
}
}
movieClip 1588 {
instance of movieClip 1436 {
onClipEvent (enterFrame) {
if (_root.lampLight == 1 && this._currentframe == 1) {
this.gotoAndPlay(2);
this.a1.gotoAndPlay(2);
_root.moneyX._x = _root.char._x;
_root.moneyX._y = _root.char._y;
_root.moneyX.gotoAndStop(2);
}
if (this._currentframe == 51) {
_root.lampRoom4 = true;
}
if (_root.lampRoom4) {
loadMovie('', this);
}
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen24');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen23');
}
if (_root.char._y <= 40) {
_root.char._y = 480;
_root.gotoAndStop('screen18');
}
}
}
frame 30 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 30 {
_root.hopp = false;
_root.skydd = true;
}
frame 30 {
_root.sound21.stop('arrowString');
_root.sound20.stop('shotArrow');
}
frame 30 {
_root.saveGo = false;
}
frame 30 {
_root.skydd = true;
_root.hopp = false;
_root.lampLight = 0;
}
movieClip 1590 {
instance of movieClip 717 {
onClipEvent (enterFrame) {
if (this._currentframe == 95) {
doorOpen2 = true;
}
if (_root.key2) {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
}
if (_root.doorOpen2) {
loadMovie('', this);
}
}
}
instance of movieClip 1436 {
onClipEvent (enterFrame) {
if (_root.lampLight == 1 && this._currentframe == 1) {
this.gotoAndPlay(2);
this.a1.gotoAndPlay(2);
_root.moneyX._x = _root.char._x;
_root.moneyX._y = _root.char._y;
_root.moneyX.gotoAndStop(2);
}
if (this._currentframe == 51) {
_root.lampRoom5 = true;
}
if (_root.lampRoom5) {
loadMovie('', this);
}
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen22');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen26');
}
}
}
button 1591 {
on (press) {
if (_root.hopp && _root.char.touchingGround) {
++_root.clicks;
_root.sound2.start(0, 1);
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
_root.char2.lantern.gotoAndPlay(2);
_root.skydd = true;
_root.hopp = false;
} else {
if (_root.skydd) {
_root.skydd = false;
_root.hopp = true;
_root.shield.shieldOn = true;
}
}
}
}
instance fegfg of movieClip 1535 {
onClipEvent (load) {
var sekund = 0;
}
onClipEvent (enterFrame) {
if (_root.char2.attack.attack.a1.hitTest(this.a1) || _root.char2.attack.attack.a2.hitTest(this.a1) || _root.char2.attack.attack.a3.hitTest(this.a1)) {
this.gotoAndStop(2);
}
if (sekund == 2) {
this.a2.gotoAndPlay(42);
this.a2.a1.gotoAndPlay(42);
this.a2.pil.gotoAndStop(2);
}
++sekund;
}
}
instance feth of movieClip 1535 {
onClipEvent (load) {
var sekund = 0;
}
onClipEvent (enterFrame) {
if (sekund == 2) {
this.a2.gotoAndPlay(38);
this.a2.a1.gotoAndPlay(38);
this.a2.pil.gotoAndStop(2);
}
++sekund;
}
}
movieClip 1592 {
instance of movieClip 1517 {
onClipEvent (enterFrame) {
if (_root.hopp) {
this.gotoAndStop(1);
} else {
if (_root.skydd) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 1513 {
onClipEvent (enterFrame) {
if (_root.hopp) {
this.gotoAndStop(2);
} else {
if (_root.skydd) {
this.gotoAndStop(1);
}
}
}
}
}
movieClip 1593 {
frame 183 {
stop();
}
}
movieClip 1594 {
frame 1 {
stop();
}
instance ghdfh of movieClip 1593 {
onClipEvent (enterFrame) {
this.stop();
}
}
}
movieClip 1596 {
}
instance of movieClip 1596 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.des.gotoAndStop(2);
}
}
}
instance of movieClip 958 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 2;
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.char2.gotoAndStop(1);
_root.hopp = false;
_root.skydd = true;
_root.ghdfh.gotoAndPlay(1);
_root.feth.a2.gotoAndPlay(18);
_root.feth.a2.a1.gotoAndPlay(18);
_root.feth.a2.pil.gotoAndStop(2);
_root.feth.sekund = 0;
_root.fegfg.a2.gotoAndPlay(42);
_root.fegfg.a2.a1.gotoAndPlay(42);
_root.fegfg.a2.pil.gotoAndStop(2);
_root.fegfg.sekund = 0;
_root.char._x = _root.screenX;
_root.char._y = _root.screenY;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
frame 31 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 31 {
_root.sound21.stop('arrowString');
_root.sound20.stop('shotArrow');
}
frame 31 {
_root.saveGo = false;
}
frame 31 {
_root.hopp = true;
_root.skydd = false;
}
movieClip 1597 {
instance of movieClip 958 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 2;
}
}
}
}
movieClip 1598 {
frame 1 {
stop();
}
frame 34 {
stop();
}
}
instance fire of movieClip 1598 {
onClipEvent (enterFrame) {
if (_root.key2) {
loadMovie('', this);
}
}
}
movieClip 1600 {
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen22');
}
}
}
button 1601 {
on (press) {
if (_root.hopp && _root.char.touchingGround) {
_root.sound2.start(0, 1);
++_root.clicks;
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
_root.skydd = true;
_root.hopp = false;
} else {
if (_root.skydd) {
_root.skydd = false;
_root.hopp = true;
_root.shield.shieldOn = true;
}
}
}
}
instance fegfg767 of movieClip 1535 {
onClipEvent (load) {
var sekund = 0;
}
onClipEvent (enterFrame) {
if (_root.char2.attack.attack.a1.hitTest(this.a1) || _root.char2.attack.attack.a2.hitTest(this.a1) || _root.char2.attack.attack.a3.hitTest(this.a1)) {
this.gotoAndStop(2);
}
if (sekund == 2) {
this.a2.gotoAndPlay(50);
this.a2.a1.gotoAndPlay(50);
this.a2.pil.gotoAndStop(2);
}
++sekund;
}
}
instance feth67k of movieClip 1535 {
onClipEvent (load) {
var sekund = 0;
}
onClipEvent (enterFrame) {
if (_root.char2.attack.attack.a1.hitTest(this.a1) || _root.char2.attack.attack.a2.hitTest(this.a1) || _root.char2.attack.attack.a3.hitTest(this.a1)) {
this.gotoAndStop(2);
}
if (sekund == 2) {
this.a2.gotoAndPlay(10);
this.a2.a1.gotoAndPlay(10);
this.a2.pil.gotoAndStop(2);
}
++sekund;
}
}
instance fireMess of movieClip 481 {
onClipEvent (enterFrame) {
this.a1.a1.gotoAndStop(8);
}
}
instance of movieClip 651 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
_root.fire.gotoAndPlay(2);
}
}
if (this._currentframe == 86) {
_root.key2 = true;
}
if (_root.key2) {
loadMovie('', this);
}
}
}
movieClip 1602 {
instance of movieClip 1513 {
onClipEvent (enterFrame) {
if (_root.hopp) {
this.gotoAndStop(2);
} else {
if (_root.skydd) {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 1517 {
onClipEvent (enterFrame) {
if (_root.hopp) {
this.gotoAndStop(1);
} else {
if (_root.skydd) {
this.gotoAndStop(2);
}
}
}
}
}
movieClip 1603 {
frame 1 {
stop();
}
frame 16 {
stop();
}
}
movieClip 1604 {
frame 1 {
stop();
}
instance ghdfh2 of movieClip 1603 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && this._currentframe == 1) {
this.gotoAndPlay(2);
}
}
}
}
instance ghjghj of movieClip 1596 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.des.gotoAndStop(1);
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.char2.gotoAndStop(1);
_root.hopp = true;
_root.skydd = false;
_root.ghdfh2.gotoAndPlay(1);
_root.fegfg767.a2.gotoAndPlay(18);
_root.fegfg767.a2.a1.gotoAndPlay(18);
_root.fegfg767.a2.pil.gotoAndStop(2);
_root.fegfg767.sekund = 0;
_root.feth67k.a2.gotoAndPlay(42);
_root.feth67k.a2.a1.gotoAndPlay(42);
_root.feth67k.a2.pil.gotoAndStop(2);
_root.feth67k.sekund = 0;
_root.char._x = _root.startP._x;
_root.char._y = _root.startP._y;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
frame 32 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 32 {
_root.skydd = true;
_root.hopp = false;
}
movieClip 1606 {
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen23');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen26');
}
}
}
button 1607 {
on (press) {
if (_root.char.touchingGround) {
++_root.clicks;
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.char._x = _root.screenX;
_root.char._y = _root.screenY;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
dead = false;
}
}
}
frame 33 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 33 {
_root.music5.stop('castle');
_root.music4.start(0, 999);
}
frame 33 {
_root.sound21.stop('arrowString');
_root.sound20.stop('shotArrow');
}
movieClip 1608 {
}
movieClip 1610 {
}
movieClip 1614 {
}
movieClip 1617 {
}
movieClip 1619 {
}
movieClip 1621 {
}
movieClip 1623 {
}
movieClip 1625 {
}
movieClip 1627 {
}
movieClip 1628 {
}
movieClip 1629 {
}
movieClip 1630 {
}
movieClip 1631 {
}
movieClip 1632 {
}
movieClip 1633 {
instance of movieClip 1631 {
onClipEvent (load) {
var ddd = 1;
}
onClipEvent (enterFrame) {
if (ddd == 1) {
this.a1.gotoAndPlay(40);
++ddd;
}
}
}
}
movieClip 1638 {
frame 46 {
stop();
}
}
movieClip 1639 {
instance of movieClip 1614 {
onClipEvent (load) {
this.gotoAndPlay(15);
}
}
instance of movieClip 1614 {
onClipEvent (load) {
this.gotoAndPlay(9);
}
}
instance of movieClip 1614 {
onClipEvent (load) {
this.gotoAndPlay(7);
}
}
instance of movieClip 1614 {
onClipEvent (load) {
this.gotoAndPlay(3);
}
}
instance of movieClip 1614 {
onClipEvent (load) {
this.gotoAndPlay(3);
}
}
frame 47 {
stop();
}
}
movieClip 1640 {
}
movieClip 1641 {
frame 46 {
_root.gryta.a1.a1.gotoAndPlay(2);
_root.gryta.a1.a2.gotoAndPlay(2);
}
frame 59 {
stop();
_root.gryta.gryta.gotoAndStop(2);
}
}
movieClip 1642 {
instance of movieClip 1632 {
onClipEvent (load) {
this.gotoAndPlay(25);
}
}
instance of movieClip 1633 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 1632 {
onClipEvent (load) {
this.gotoAndPlay(15);
}
}
instance of movieClip 1633 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
}
movieClip 1643 {
frame 48 {
stop();
}
}
movieClip 1644 {
frame 1 {
stop();
}
instance of movieClip 1614 {
onClipEvent (load) {
this.gotoAndPlay(15);
}
}
instance of movieClip 1614 {
onClipEvent (load) {
this.gotoAndPlay(9);
}
}
instance of movieClip 1614 {
onClipEvent (load) {
this.gotoAndPlay(7);
}
}
instance of movieClip 1632 {
onClipEvent (load) {
this.gotoAndPlay(25);
}
}
instance of movieClip 1633 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 1632 {
onClipEvent (load) {
this.gotoAndPlay(15);
}
}
}
movieClip 1646 {
frame 1 {
stop();
}
}
movieClip 1650 {
}
movieClip 1653 {
}
movieClip 1654 {
}
movieClip 1656 {
}
movieClip 1657 {
}
movieClip 1659 {
}
movieClip 1660 {
}
movieClip 1661 {
instance of movieClip 1650 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 5;
}
}
}
}
movieClip 1662 {
frame 1 {
stop();
}
frame 3 {
_root.sound30.start(0, 1);
}
frame 35 {
_root.gryta.gryta.gotoAndStop(1);
}
frame 60 {
_root.bbb.goingAway = true;
}
}
movieClip 1663 {
}
movieClip 1664 {
}
movieClip 1665 {
}
movieClip 1667 {
}
movieClip 1668 {
frame 1 {
stop();
}
frame 38 {
stop();
}
frame 48 {
_root.char.deadbread = false;
_root.char2.f1.play();
_root.char2.f2.play();
_root.char2.shield.play();
_root.char2.head.play();
_root.darknessFalls.gotoAndStop(1);
_root.bbb.hurt = false;
_root.bbb.commingBack = true;
_root.bbb.gotoAndStop(8);
_root.c1.a1.gotoAndStop(1);
_root.c2.a1.gotoAndStop(1);
_root.c3.a1.gotoAndStop(1);
_root.c4.a1.gotoAndStop(1);
_root.c5.a1.gotoAndStop(1);
_root.c6.a1.gotoAndStop(1);
_root.lampLight = 0;
if (_root.bossHealth.health._currentframe == 1) {
_root.bossHealth.health.gotoAndStop(6);
_root.bossHealth.gotoAndPlay(2);
} else {
if (_root.bossHealth.health._currentframe == 6) {
_root.bossHealth.health.gotoAndStop(11);
_root.bossHealth.gotoAndPlay(2);
_root.bbb.realDead = true;
}
}
}
}
instance c1 of movieClip 1429 {
onClipEvent (enterFrame) {
if (_root.bbb.realDead) {
this.a1.gotoAndStop(2);
}
}
}
instance c4 of movieClip 1429 {
onClipEvent (enterFrame) {
if (_root.bbb.realDead) {
this.a1.gotoAndStop(2);
}
}
}
instance c2 of movieClip 1429 {
onClipEvent (enterFrame) {
if (_root.bbb.realDead) {
this.a1.gotoAndStop(2);
}
}
}
instance c3 of movieClip 1429 {
onClipEvent (enterFrame) {
if (_root.bbb.realDead) {
this.a1.gotoAndStop(2);
}
}
}
instance c5 of movieClip 1429 {
onClipEvent (enterFrame) {
if (_root.bbb.realDead) {
this.a1.gotoAndStop(2);
}
}
}
instance c6 of movieClip 1429 {
onClipEvent (enterFrame) {
if (_root.bbb.realDead) {
this.a1.gotoAndStop(2);
}
}
}
movieClip 1670 {
}
movieClip 1671 {
frame 14 {
stop();
}
}
movieClip 1674 {
frame 21 {
stop();
}
}
movieClip 1675 {
frame 20 {
stop();
}
}
movieClip 1678 {
}
movieClip 1680 {
}
movieClip 1681 {
frame 20 {
stop();
}
}
movieClip 1685 {
}
movieClip 1686 {
frame 20 {
stop();
}
}
movieClip 1688 {
}
movieClip 1690 {
}
movieClip 1692 {
}
movieClip 1694 {
}
movieClip 1696 {
}
movieClip 1698 {
}
movieClip 1699 {
frame 21 {
stop();
}
}
movieClip 1702 {
}
movieClip 1704 {
}
movieClip 1705 {
frame 20 {
stop();
}
}
movieClip 1707 {
}
movieClip 1708 {
frame 47 {
stop();
}
}
movieClip 1711 {
frame 1 {
stop();
}
instance a3 of movieClip 594 {
onClipEvent (load) {
this.gotoAndPlay(24);
}
}
instance a2 of movieClip 594 {
onClipEvent (load) {
this.gotoAndPlay(20);
}
}
instance of movieClip 594 {
onClipEvent (load) {
this.gotoAndPlay(2);
}
}
instance a1 of movieClip 594 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
}
movieClip 1712 {
instance of movieClip 1711 {
onClipEvent (load) {
if (_root.bbb.genn == 7) {
this.gotoAndStop(2);
}
}
}
frame 20 {
stop();
}
}
movieClip 1713 {
frame 15 {
stop();
}
}
movieClip 1714 {
instance of movieClip 1674 {
onClipEvent (enterFrame) {
if (_root.bbb.genn == 7 && this._currentframe == 20) {
_root.bbb.poof = false;
_root.bbb.gotoAndStop(5);
_root.bbb.seed = true;
}
if (_root.char.hitTest(this) && this._currentframe == 21) {
_root.bbb.poof = false;
_root.bbb.attack = true;
_root.bbb.gotoAndStop(2);
}
}
}
}
movieClip 1716 {
}
movieClip 1718 {
}
movieClip 1720 {
}
movieClip 1722 {
}
movieClip 1724 {
}
movieClip 1726 {
}
movieClip 1728 {
}
movieClip 1730 {
}
movieClip 1732 {
}
movieClip 1733 {
frame 2 {
_root.sound27.start(0, 1);
}
frame 16 {
stop();
}
}
movieClip 1734 {
frame 73 {
_root.bbb.goingAway = true;
_root.bbb.poof = false;
}
}
movieClip 1738 {
}
movieClip 1740 {
}
movieClip 1741 {
instance of movieClip 814 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 5;
}
}
}
}
movieClip 1742 {
frame 24 {
stop();
}
}
movieClip 1743 {
}
movieClip 1744 {
frame 2 {
_root.sound28.start(0, 1);
}
frame 50 {
_root.bbb.poof = false;
_root.bbb.attack = false;
_root.bbb.goingAway = true;
}
}
movieClip 1747 {
}
movieClip 1755 {
}
movieClip 1756 {
}
movieClip 1757 {
instance of movieClip 1711 {
onClipEvent (load) {
if (_root.bbb.genn == 7) {
this.gotoAndStop(2);
}
}
}
}
movieClip 1758 {
}
movieClip 1759 {
instance of movieClip 1711 {
onClipEvent (load) {
this.gotoAndStop(2);
}
}
frame 23 {
_root.sound29.start(0, 1);
}
instance of movieClip 1758 {
onClipEvent (load) {
this.gotoAndStop(2);
}
}
frame 67 {
stop();
}
}
movieClip 1760 {
}
movieClip 1761 {
frame 22 {
_root.gryta.gryta.gotoAndStop(3);
}
frame 28 {
gotoAndPlay(23);
}
}
movieClip 1762 {
frame 80 {
stop();
}
}
movieClip 1766 {
frame 1 {
stop();
}
}
movieClip 1768 {
}
movieClip 1769 {
instance of movieClip 1766 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
frame 34 {
stop();
}
}
movieClip 1771 {
}
movieClip 1773 {
}
movieClip 1774 {
}
movieClip 1777 {
}
movieClip 1780 {
frame 1 {
stop();
}
instance of movieClip 1774 {
onClipEvent (load) {
this.gotoAndPlay(6);
}
}
}
movieClip 1781 {
instance of movieClip 1774 {
onClipEvent (load) {
this.gotoAndPlay(5);
}
}
}
movieClip 1782 {
}
movieClip 1784 {
}
movieClip 1786 {
}
movieClip 1787 {
}
movieClip 1788 {
instance of movieClip 1787 {
onClipEvent (load) {
this.gotoAndPlay(20);
}
}
instance of movieClip 1787 {
onClipEvent (load) {
this.gotoAndPlay(30);
}
}
instance of movieClip 1787 {
onClipEvent (load) {
this.gotoAndPlay(40);
}
}
instance of movieClip 1787 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 1787 {
onClipEvent (load) {
this.gotoAndPlay(15);
}
}
instance of movieClip 1787 {
onClipEvent (load) {
this.gotoAndPlay(25);
}
}
instance of movieClip 1787 {
onClipEvent (load) {
this.gotoAndPlay(23);
}
}
instance of movieClip 1787 {
onClipEvent (load) {
this.gotoAndPlay(35);
}
}
instance of movieClip 1787 {
onClipEvent (load) {
this.gotoAndPlay(5);
}
}
}
movieClip 1790 {
}
movieClip 1798 {
}
movieClip 1799 {
}
movieClip 1802 {
}
movieClip 1804 {
}
movieClip 1805 {
}
movieClip 1809 {
}
movieClip 1811 {
}
movieClip 1813 {
}
movieClip 1814 {
instance of movieClip 1774 {
onClipEvent (load) {
this.gotoAndPlay(5);
}
}
frame 15 {
_root.sound17.start(0, 1);
_root.sound31.stop('jesus');
}
instance of movieClip 1780 {
onClipEvent (load) {
this.gotoAndStop(2);
}
}
frame 19 {
_root.darknessFalls2.gotoAndPlay(39);
}
frame 25 {
stop();
_root.music4.start(25, 999);
}
}
movieClip 1815 {
frame 1 {
stop();
}
}
movieClip 1816 {
instance of movieClip 1774 {
onClipEvent (load) {
this.gotoAndPlay(5);
}
}
instance of movieClip 1780 {
onClipEvent (enterFrame) {
this.gotoAndStop(2);
}
}
}
movieClip 1817 {
frame 105 {
_root.ground.exit1.gotoAndPlay(2);
}
frame 114 {
stop();
}
}
movieClip 1818 {
frame 1 {
stop();
}
frame 7 {
_root.music4.stop('boss');
}
frame 9 {
_root.music4.stop('boss');
}
}
instance bbb of movieClip 1818 {
onClipEvent (load) {
var health = 5;
var hurt = false;
var poof = true;
var genn = 1;
var goingAway = false;
var goingAway2 = false;
var scale = _xscale;
var genn = 1;
var attack = false;
var seed = false;
var commingBack = false;
var comeN = 0;
var realDead = false;
var noMore = false;
}
onClipEvent (enterFrame) {
if (realDead) {
if (!noMore) {
_root.a50bux._x = this._x;
_root.a50bux._y = this._y;
_root.a50bux.gotoAndPlay(1);
_root.money += 50;
noMore = true;
}
hurt = false;
poof = false;
goingAway = false;
goingAway2 = false;
commingBack = false;
this.gotoAndStop(9);
}
if (commingBack) {
this.gotoAndStop(8);
++comeN;
if (comeN == 30) {
comeN = 0;
poof = true;
commingBack = false;
}
}
if (hurt) {
poof = false;
goingAway = false;
goingAway2 = false;
attack = false;
seed = false;
this.gotoAndStop(7);
}
if (seed) {
attack = false;
poof = false;
this.gotoAndStop(5);
}
if (attack) {
this.gotoAndStop(2);
}
if (poof) {
this.gotoAndStop(1);
}
if (goingAway) {
this.gotoAndStop('hide');
genn = random(7) + 1;
if (genn == 1) {
_xscale = scale;
this._x = 440;
this._y = 97;
}
if (genn == 2) {
_xscale = scale;
this._x = 440;
this._y = 205;
}
if (genn == 3) {
_xscale = scale;
this._x = 440;
this._y = 311;
}
if (genn == 4) {
_xscale = -scale;
this._x = 215;
this._y = 311;
}
if (genn == 5) {
_xscale = -scale;
this._x = 215;
this._y = 205;
}
if (genn == 6) {
_xscale = -scale;
this._x = 215;
this._y = 97;
}
if (genn == 7) {
_xscale = scale;
this._x = 425;
this._y = 429;
}
poof = true;
goingAway = false;
}
}
}
movieClip 1829 {
}
movieClip 1838 {
}
movieClip 1839 {
frame 1 {
_root.sound32.start(0, 1);
}
frame 40 {
_root.sound31.start(0, 1);
}
frame 73 {
stop();
}
}
movieClip 1840 {
}
movieClip 1841 {
frame 1 {
stop();
}
frame 2 {
_root.sound32.start(0, 1);
}
frame 89 {
_root.bbb.deadMe.gotoAndPlay(2);
}
frame 90 {
stop();
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen23');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen62');
}
}
}
button 1842 {
on (press) {
if (_root.char.touchingGround) {
++_root.clicks;
_root.sound2.start(0, 1);
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
_root.char2.lantern.gotoAndPlay(2);
}
}
}
movieClip 1853 {
frame 1 {
stop();
}
frame 11 {
stop();
}
}
movieClip 1854 {
frame 1 {
stop();
}
}
movieClip 1856 {
}
instance of movieClip 1856 {
onClipEvent (enterFrame) {
if (_root.lampLight == 6 && !_root.bbb.realDead) {
_root.bbb.hurt = true;
_root.bbb.health -= 1;
_root.lampLight = 0;
_root.char.deadbread = true;
_root.char2.f1.stop();
_root.char2.f2.stop();
_root.char2.shield.stop();
_root.char2.head.stop();
if (_root.darknessFalls._currentframe == 1) {
_root.darknessFalls.gotoAndPlay(2);
_root.cross.gotoAndPlay(2);
}
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.char._x = _root.startP._x;
_root.char._y = _root.startP._y;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
frame 34 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 34 {
_root.saveGo = false;
}
movieClip 1859 {
}
movieClip 1860 {
}
movieClip 1863 {
}
movieClip 1864 {
}
movieClip 1867 {
}
movieClip 1868 {
}
movieClip 1870 {
}
movieClip 1871 {
}
movieClip 1872 {
}
movieClip 1876 {
}
movieClip 1878 {
}
movieClip 1881 {
}
movieClip 1884 {
}
movieClip 1886 {
}
movieClip 1887 {
}
movieClip 1888 {
instance a7 of movieClip 1022 {
onClipEvent (load) {
this.gotoAndPlay(21);
}
}
instance a6 of movieClip 1022 {
onClipEvent (load) {
this.gotoAndPlay(35);
}
}
frame 15 {
stop();
}
}
movieClip 1889 {
frame 1 {
stop();
}
instance of movieClip 958 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && !_root.char.deadbread && _root.char2._currentframe != 8) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
frame 2 {
_root.moneyX.gotoAndStop(2);
_root.moneyX._x = _root.char._x + 30;
_root.moneyX._y = _root.char._y - 40;
_root.sound5.start(0, 1);
}
}
instance jk of movieClip 1889 {
onClipEvent (load) {
var uppNer = 0;
}
onClipEvent (enterFrame) {
if (_root.char2.attack.attack.a1.hitTest(this) || _root.char2.attack.attack.a2.hitTest(this) || _root.char2.attack.attack.a3.hitTest(this)) {
this.gotoAndStop('dead');
}
this._x -= 3.5;
if (this._x <= -40) {
this.gotoAndPlay('omIgen');
this._x = 700;
}
++uppNer;
if (uppNer <= 19) {
if (uppNer <= 3) {
this._y += 3;
} else {
if (uppNer <= 6) {
this._y += 3.5;
} else {
if (uppNer <= 9) {
this._y += 4;
} else {
if (uppNer <= 12) {
this._y += 4.5;
} else {
if (uppNer <= 15) {
this._y += 5;
}
}
}
}
}
} else {
if (uppNer >= 19) {
if (uppNer <= 22) {
this._y -= 3;
} else {
if (uppNer <= 25) {
this._y -= 3.5;
} else {
if (uppNer <= 28) {
this._y -= 4;
} else {
if (uppNer <= 31) {
this._y -= 4.5;
} else {
if (uppNer <= 34) {
this._y -= 5;
}
}
}
}
}
}
}
if (uppNer == 38) {
uppNer = 0;
}
}
}
instance jkhl of movieClip 1889 {
onClipEvent (load) {
var uppNer = 19;
}
onClipEvent (enterFrame) {
if (_root.char2.attack.attack.a1.hitTest(this) || _root.char2.attack.attack.a2.hitTest(this) || _root.char2.attack.attack.a3.hitTest(this)) {
this.gotoAndStop('dead');
}
this._x -= 3.5;
if (this._x <= -40) {
this.gotoAndPlay('omIgen');
this._x = 700;
}
++uppNer;
if (uppNer <= 19) {
if (uppNer <= 3) {
this._y += 3;
} else {
if (uppNer <= 6) {
this._y += 3.5;
} else {
if (uppNer <= 9) {
this._y += 4;
} else {
if (uppNer <= 12) {
this._y += 4.5;
} else {
if (uppNer <= 15) {
this._y += 5;
}
}
}
}
}
} else {
if (uppNer >= 19) {
if (uppNer <= 22) {
this._y -= 3;
} else {
if (uppNer <= 25) {
this._y -= 3.5;
} else {
if (uppNer <= 28) {
this._y -= 4;
} else {
if (uppNer <= 31) {
this._y -= 4.5;
} else {
if (uppNer <= 34) {
this._y -= 5;
}
}
}
}
}
}
}
if (uppNer == 38) {
uppNer = 0;
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen11');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen28');
}
if (_root.char._y >= 560) {
_root.char._y = 50;
_root.gotoAndStop('screen53');
}
}
}
instance ygy of movieClip 641 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.ground.button1.gotoAndPlay(2);
_root.ground.bone1.gotoAndPlay(2);
_root.chain1.gotoAndPlay(2);
loadMovie('', this);
}
if (_root.button1) {
_root.ground.button1.gotoAndStop(7);
loadMovie('', this);
}
}
}
button 1890 {
on (press) {
if (_root.char.touchingGround) {
++_root.clicks;
_root.sound2.start(0, 1);
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
_root.char2.attack.gotoAndPlay(2);
} else {
if (!_root.char.touchingGround && _root.jumpCloud._currentframe == 1 && _root.cloudRing) {
++_root.clicks;
_root.sound27.start(0, 1);
_root.jumpCloud.a1.a1.gotoAndPlay(2);
_root.jumpCloud._x = _root.char._x;
_root.jumpCloud._y = _root.char._y;
if (_root.char.walkingRight) {
_root.jumpCloud.gotoAndPlay(2);
} else {
if (_root.char.walkingLeft) {
_root.jumpCloud.gotoAndPlay(51);
}
}
}
}
}
}
movieClip 1892 {
}
movieClip 1893 {
instance of movieClip 1892 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.jumpCloud.a1.a1.gotoAndStop(2);
}
}
}
}
movieClip 1896 {
}
movieClip 1897 {
frame 1 {
stop();
}
}
movieClip 1898 {
frame 1 {
stop();
}
}
movieClip 1899 {
frame 1 {
stop();
}
instance of movieClip 575 {
onClipEvent (enterFrame) {
if (_root.sword) {
loadMovie('', this);
}
}
}
instance of movieClip 1897 {
onClipEvent (enterFrame) {
if (_root.char.touchingGround) {
this.gotoAndStop(2);
}
if (!_root.char.touchingGround) {
this.gotoAndStop(1);
}
}
}
instance of movieClip 1898 {
onClipEvent (enterFrame) {
if (_root.char.touchingGround) {
this.gotoAndStop(1);
}
if (!_root.char.touchingGround) {
this.gotoAndStop(2);
}
}
}
}
movieClip 1900 {
frame 1 {
stop();
}
instance of movieClip 1899 {
onClipEvent (enterFrame) {
if (_root.cloudRing) {
this.gotoAndStop(2);
}
}
}
}
movieClip 1902 {
}
instance of movieClip 1902 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.ber.gotoAndStop(2);
}
}
}
instance of movieClip 1902 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.ber.gotoAndStop(2);
}
}
}
instance fireMess of movieClip 481 {
onClipEvent (enterFrame) {
this.a1.a1.gotoAndStop(12);
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.char._x = _root.screenX;
_root.char._y = _root.screenY;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
movieClip 1904 {
}
movieClip 1906 {
}
movieClip 1907 {
}
movieClip 1908 {
}
movieClip 1909 {
frame 58 {
_root.goldFlower = true;
}
frame 59 {
stop();
}
}
movieClip 1910 {
frame 1 {
stop();
}
frame 10 {
_root.char.deadbread = true;
_root.char2.gotoAndStop(7);
_root.fireMess.gotoAndStop(2);
_root.sound3.start(0, 1);
}
frame 26 {
stop();
}
}
instance of movieClip 1910 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && this._currentframe == 1) {
this.gotoAndPlay(2);
}
if (_root.goldFlower) {
loadMovie('', this);
}
}
}
frame 35 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 35 {
_root.inWater = false;
}
frame 35 {
_root.char.maxJump = -16;
_root.saveGo = false;
}
frame 35 {
_root.char2.gotoAndStop(1);
}
movieClip 1912 {
}
movieClip 1914 {
}
movieClip 1916 {
}
movieClip 1918 {
}
movieClip 1920 {
}
movieClip 1922 {
}
instance of movieClip 1922 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && !_root.seaShell && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.char.deadbread = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
_root.sound53.start(0, 1);
}
if (_root.char.hitTest(this) && _root.seaShell) {
_root.sound53.start(0, 1);
loadMovie('', this);
}
}
}
movieClip 1924 {
}
instance 547jj574r of movieClip 1545 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && this._currentframe == 1) {
_root.a50bux._x = this._x;
_root.a50bux._y = this._y;
_root.a50bux.gotoAndPlay(1);
this.gotoAndPlay(2);
}
if (this._currentframe == 16) {
_root.moneyBag4 = true;
}
if (_root.moneyBag4) {
loadMovie('', this);
}
}
}
instance jk57 of movieClip 1889 {
onClipEvent (load) {
var uppNer = 0;
}
onClipEvent (enterFrame) {
if (_root.char2.attack.attack.a1.hitTest(this) || _root.char2.attack.attack.a2.hitTest(this) || _root.char2.attack.attack.a3.hitTest(this)) {
this.gotoAndStop('dead');
}
this._x -= 3.5;
if (this._x <= -40) {
this.gotoAndPlay('omIgen');
this._x = 700;
}
++uppNer;
if (uppNer <= 19) {
if (uppNer <= 3) {
this._y += 3;
} else {
if (uppNer <= 6) {
this._y += 3.5;
} else {
if (uppNer <= 9) {
this._y += 4;
} else {
if (uppNer <= 12) {
this._y += 4.5;
} else {
if (uppNer <= 15) {
this._y += 5;
}
}
}
}
}
} else {
if (uppNer >= 19) {
if (uppNer <= 22) {
this._y -= 3;
} else {
if (uppNer <= 25) {
this._y -= 3.5;
} else {
if (uppNer <= 28) {
this._y -= 4;
} else {
if (uppNer <= 31) {
this._y -= 4.5;
} else {
if (uppNer <= 34) {
this._y -= 5;
}
}
}
}
}
}
}
if (uppNer == 38) {
uppNer = 0;
}
}
}
instance jkhl57 of movieClip 1889 {
onClipEvent (load) {
var uppNer = 19;
}
onClipEvent (enterFrame) {
if (_root.char2.attack.attack.a1.hitTest(this) || _root.char2.attack.attack.a2.hitTest(this) || _root.char2.attack.attack.a3.hitTest(this)) {
this.gotoAndStop('dead');
}
this._x -= 3.5;
if (this._x <= -40) {
this.gotoAndPlay('omIgen');
this._x = 700;
}
++uppNer;
if (uppNer <= 19) {
if (uppNer <= 3) {
this._y += 3;
} else {
if (uppNer <= 6) {
this._y += 3.5;
} else {
if (uppNer <= 9) {
this._y += 4;
} else {
if (uppNer <= 12) {
this._y += 4.5;
} else {
if (uppNer <= 15) {
this._y += 5;
}
}
}
}
}
} else {
if (uppNer >= 19) {
if (uppNer <= 22) {
this._y -= 3;
} else {
if (uppNer <= 25) {
this._y -= 3.5;
} else {
if (uppNer <= 28) {
this._y -= 4;
} else {
if (uppNer <= 31) {
this._y -= 4.5;
} else {
if (uppNer <= 34) {
this._y -= 5;
}
}
}
}
}
}
}
if (uppNer == 38) {
uppNer = 0;
}
}
}
movieClip 1928 {
}
instance of movieClip 1928 {
onClipEvent (load) {
this.gotoAndPlay(22);
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen27');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen29');
}
if (_root.char._y >= 560) {
_root.char._y = 50;
_root.gotoAndStop('screen31');
}
}
}
movieClip 1933 {
frame 1 {
stop();
}
}
button 1934 {
on (press) {
if (_root.char.touchingGround) {
++_root.clicks;
_root.sound2.start(0, 1);
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
_root.char2.attack.gotoAndPlay(2);
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.char2.gotoAndStop(1);
_root.char._x = _root.screenX;
_root.char._y = _root.screenY;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
frame 36 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
movieClip 1936 {
}
movieClip 1938 {
}
instance jk574 of movieClip 1889 {
onClipEvent (load) {
var uppNer = 19;
}
onClipEvent (enterFrame) {
if (_root.char2.attack.attack.a1.hitTest(this) || _root.char2.attack.attack.a2.hitTest(this) || _root.char2.attack.attack.a3.hitTest(this)) {
this.gotoAndStop('dead');
}
this._x -= 3.5;
if (this._x <= -40) {
this.gotoAndPlay('omIgen');
this._x = 700;
}
++uppNer;
if (uppNer <= 19) {
if (uppNer <= 3) {
this._y += 3;
} else {
if (uppNer <= 6) {
this._y += 3.5;
} else {
if (uppNer <= 9) {
this._y += 4;
} else {
if (uppNer <= 12) {
this._y += 4.5;
} else {
if (uppNer <= 15) {
this._y += 5;
}
}
}
}
}
} else {
if (uppNer >= 19) {
if (uppNer <= 22) {
this._y -= 3;
} else {
if (uppNer <= 25) {
this._y -= 3.5;
} else {
if (uppNer <= 28) {
this._y -= 4;
} else {
if (uppNer <= 31) {
this._y -= 4.5;
} else {
if (uppNer <= 34) {
this._y -= 5;
}
}
}
}
}
}
}
if (uppNer == 38) {
uppNer = 0;
}
}
}
instance jkhl574 of movieClip 1889 {
onClipEvent (load) {
var uppNer = 19;
}
onClipEvent (enterFrame) {
if (_root.char2.attack.attack.a1.hitTest(this) || _root.char2.attack.attack.a2.hitTest(this) || _root.char2.attack.attack.a3.hitTest(this)) {
this.gotoAndStop('dead');
}
this._x -= 3.5;
if (this._x <= -40) {
this.gotoAndPlay('omIgen');
this._x = 700;
}
++uppNer;
if (uppNer <= 19) {
if (uppNer <= 3) {
this._y += 3;
} else {
if (uppNer <= 6) {
this._y += 3.5;
} else {
if (uppNer <= 9) {
this._y += 4;
} else {
if (uppNer <= 12) {
this._y += 4.5;
} else {
if (uppNer <= 15) {
this._y += 5;
}
}
}
}
}
} else {
if (uppNer >= 19) {
if (uppNer <= 22) {
this._y -= 3;
} else {
if (uppNer <= 25) {
this._y -= 3.5;
} else {
if (uppNer <= 28) {
this._y -= 4;
} else {
if (uppNer <= 31) {
this._y -= 4.5;
} else {
if (uppNer <= 34) {
this._y -= 5;
}
}
}
}
}
}
}
if (uppNer == 38) {
uppNer = 0;
}
}
}
instance jk574u of movieClip 1889 {
onClipEvent (load) {
var uppNer = 19;
}
onClipEvent (enterFrame) {
if (_root.char2.attack.attack.a1.hitTest(this) || _root.char2.attack.attack.a2.hitTest(this) || _root.char2.attack.attack.a3.hitTest(this)) {
this.gotoAndStop('dead');
}
this._x -= 3.5;
if (this._x <= -40) {
this.gotoAndPlay('omIgen');
this._x = 700;
}
++uppNer;
if (uppNer <= 19) {
if (uppNer <= 3) {
this._y += 3;
} else {
if (uppNer <= 6) {
this._y += 3.5;
} else {
if (uppNer <= 9) {
this._y += 4;
} else {
if (uppNer <= 12) {
this._y += 4.5;
} else {
if (uppNer <= 15) {
this._y += 5;
}
}
}
}
}
} else {
if (uppNer >= 19) {
if (uppNer <= 22) {
this._y -= 3;
} else {
if (uppNer <= 25) {
this._y -= 3.5;
} else {
if (uppNer <= 28) {
this._y -= 4;
} else {
if (uppNer <= 31) {
this._y -= 4.5;
} else {
if (uppNer <= 34) {
this._y -= 5;
}
}
}
}
}
}
}
if (uppNer == 38) {
uppNer = 0;
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen28');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen30');
}
}
}
frame 37 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
movieClip 1940 {
}
movieClip 1942 {
}
movieClip 1944 {
}
movieClip 1945 {
}
movieClip 1946 {
}
movieClip 1947 {
frame 59 {
stop();
_root.seaShell = true;
}
}
movieClip 1948 {
frame 1 {
stop();
}
frame 5 {
_root.char.deadbread = true;
_root.char2.gotoAndStop(7);
_root.fireMess.gotoAndStop(2);
_root.sound3.start(0, 1);
}
frame 26 {
stop();
}
}
instance of movieClip 1948 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && this._currentframe == 1) {
this.gotoAndPlay(2);
}
if (_root.seaShell) {
loadMovie('', this);
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen29');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen30');
}
}
}
instance fireMess of movieClip 481 {
onClipEvent (enterFrame) {
this.a1.a1.gotoAndStop(10);
}
}
frame 38 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 38 {
_root.inWater = true;
}
frame 38 {
if (_root.musicStart) {
_root.music5.start(0, 9999);
_root.musicStart = false;
}
}
movieClip 1952 {
}
movieClip 1954 {
}
movieClip 1956 {
}
movieClip 1958 {
}
movieClip 1969 {
}
instance of movieClip 1969 {
onClipEvent (load) {
this.gotoAndPlay(3);
}
}
instance of movieClip 1969 {
onClipEvent (load) {
this.gotoAndPlay(6);
}
}
instance of movieClip 1969 {
onClipEvent (load) {
this.gotoAndPlay(3);
}
}
instance of movieClip 1969 {
onClipEvent (load) {
this.gotoAndPlay(6);
}
}
instance of movieClip 679 {
onClipEvent (enterFrame) {
if (_root.saveGo) {
loadMovie('', this);
}
if (_root.char.hitTest(this.a2) && _root.saveScreen._currentframe == 1) {
_root.saveScreen.gotoAndPlay(2);
_root.saveNumber = 5;
this.gotoAndPlay(2);
loadMovie('', this.a1.a1.a1);
user_so = SharedObject.getLocal('user');
user_so.data.healthS = _root.health;
user_so.data.levelS = _root.level;
user_so.data.block1S = _root.block1;
user_so.data.block2S = _root.block2;
user_so.data.block3S = _root.block3;
user_so.data.block4S = _root.block4;
user_so.data.block5S = _root.block5;
user_so.data.saveNumberS = _root.saveNumber;
user_so.data.fireMedalS = _root.fireMedal;
user_so.data.waterMedalS = _root.waterMedal;
user_so.data.earthMedalS = _root.earthMedal;
user_so.data.windMedalS = _root.windMedal;
user_so.data.eyeBossBeatS = _root.eyeBossBeat;
user_so.data.goldFlowerS = _root.goldFlower;
user_so.data.garden1S = _root.garden1;
user_so.data.garden2S = _root.garden2;
user_so.data.garden3S = _root.garden3;
user_so.data.garden4S = _root.garden4;
user_so.data.beenHere1S = _root.beenHere1;
user_so.data.beenHere2S = _root.beenHere2;
user_so.data.beenHere3S = _root.beenHere3;
user_so.data.moneyS = _root.money;
user_so.flush();
user_so.data.monster1S = _root.monster1;
user_so.data.monster2S = _root.monster2;
user_so.data.monster3S = _root.monster3;
user_so.data.monster4S = _root.monster4;
user_so.data.monster5S = _root.monster5;
user_so.data.monster6S = _root.monster6;
user_so.data.monster7S = _root.monster7;
user_so.data.moneyBag1S = _root.moneyBag1;
user_so.data.moneyBag2S = _root.moneyBag2;
user_so.data.moneyBag3S = _root.moneyBag3;
user_so.data.moneyBag4S = _root.moneyBag4;
user_so.data.moneyBag5S = _root.moneyBag5;
user_so.data.moneyBag6S = _root.moneyBag6;
user_so.data.moneyBag7S = _root.moneyBag7;
user_so.data.moneyBag8S = _root.moneyBag8;
user_so.data.moneyBag9S = _root.moneyBag9;
user_so.data.moneyBag10S = _root.moneyBag10;
user_so.data.moneyBag11S = _root.moneyBag11;
user_so.data.moneyBag12S = _root.moneyBag12;
user_so.data.billyS = _root.billy;
user_so.data.cloudRingS = _root.cloudRing;
user_so.data.swordS = _root.sword;
user_so.data.eldS = _root.eld;
user_so.data.lanternS = _root.lantern;
user_so.data.lantern2S = _root.lantern2;
user_so.data.hourglassS = _root.hourglass;
user_so.data.redKeyS = _root.redKey;
user_so.data.smallDoor1S = _root.smallDoor1;
user_so.data.key1S = _root.key1;
user_so.data.key2S = _root.key2;
user_so.data.key3S = _root.key3;
user_so.data.key4S = _root.key4;
user_so.data.key5S = _root.key5;
user_so.data.doorOpen1S = _root.doorOpen1;
user_so.data.doorOpen2S = _root.doorOpen2;
user_so.data.doorOpen3S = _root.doorOpen3;
user_so.data.doorOpen4S = _root.doorOpen4;
user_so.data.doorOpen5S = _root.doorOpen5;
user_so.data.button1S = _root.button1;
user_so.data.button2S = _root.button2;
user_so.data.chainBone1S = _root.chainBone1;
user_so.data.chainBone2S = _root.chainBone2;
user_so.data.clicksS = _root.clicks;
user_so.data.silverKey1S = _root.silverKey1;
user_so.data.silverKey2S = _root.silverKey2;
user_so.data.silverKey3S = _root.silverKey3;
user_so.data.silverKey4S = _root.silverKey4;
user_so.data.silverKey5S = _root.silverKey5;
user_so.data.lampRoom1S = _root.lampRoom1;
user_so.data.lampRoom2S = _root.lampRoom2;
user_so.data.lampRoom3S = _root.lampRoom3;
user_so.data.blockAS = _root.blockA;
user_so.data.blockBS = _root.blockB;
user_so.data.noLightS = _root.noLight;
user_so.data.badDoor1S = _root.badDoor1;
user_so.data.badDoor2S = _root.badDoor2;
user_so.data.badDoor3S = _root.badDoor3;
user_so.data.badDoor4S = _root.badDoor4;
user_so.data.badDoor5S = _root.badDoor5;
user_so.data.badDoor6S = _root.badDoor6;
user_so.data.badDoor7S = _root.badDoor7;
user_so.data.seaShellS = _root.seaShell;
user_so.data.itRainS = _root.itRain;
user_so.flush();
}
}
}
movieClip 1971 {
}
instance of movieClip 814 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
instance of movieClip 814 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
movieClip 1973 {
}
movieClip 1974 {
}
movieClip 1975 {
}
instance of movieClip 1975 {
onClipEvent (enterFrame) {
if (_root.beenHere2) {
loadMovie('', this);
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen29');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen32');
}
if (_root.char._y <= 40) {
_root.char._y = 480;
_root.gotoAndStop('screen28');
}
}
}
movieClip 1978 {
}
instance of movieClip 1978 {
onClipEvent (load) {
if (_root.char2.hitTest(this)) {
_root.char2.gotoAndStop(3);
}
_root.char.maxJump = -12;
}
}
movieClip 1981 {
}
movieClip 1982 {
}
instance of movieClip 1982 {
onClipEvent (enterFrame) {
if (_root.beenHere2) {
loadMovie('', this);
}
}
}
button 1983 {
on (press) {
++_root.clicks;
_root.sound26.start(0, 1);
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
}
}
movieClip 1985 {
}
movieClip 1987 {
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.char._x = _root.startP._x;
_root.char._y = _root.startP._y;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(3);
dead = false;
}
}
}
frame 39 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 39 {
_root.beenHere2 = true;
_root.saveGo = false;
}
movieClip 1998 {
}
movieClip 2000 {
}
instance of movieClip 814 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
instance of movieClip 814 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
instance of movieClip 814 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
instance of movieClip 814 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen31');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen33');
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.char._x = _root.screenX;
_root.char._y = _root.screenY;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(3);
dead = false;
}
}
}
frame 40 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
movieClip 2009 {
}
movieClip 2019 {
}
movieClip 2021 {
}
instance of movieClip 814 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen32');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen34');
}
}
}
frame 41 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 41 {
_root.saveGo = false;
}
movieClip 2023 {
}
movieClip 2032 {
instance of movieClip 2023 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
instance of movieClip 2023 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
instance of movieClip 2023 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
instance of movieClip 2023 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
instance of movieClip 2023 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
instance of movieClip 2023 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
instance of movieClip 2023 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
instance of movieClip 2023 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
instance of movieClip 2023 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
instance of movieClip 2023 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
instance of movieClip 2023 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
instance of movieClip 2023 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
instance of movieClip 2023 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
instance of movieClip 2023 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
instance of movieClip 2023 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
instance of movieClip 2023 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
instance of movieClip 2023 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && !_root.char.deadbread) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
}
movieClip 2034 {
frame 1 {
stop();
}
frame 15 {
_root.char.deadbread = true;
_root.char2.key.gotoAndPlay(2);
_root.char2.f1.stop();
_root.char2.f2.stop();
_root.char2.head.stop();
_root.char2.shield.stop();
}
frame 68 {
_root.char.deadbread = false;
_root.char2.f1.play();
_root.char2.f2.play();
_root.char2.head.play();
_root.char2.shield.play();
}
frame 92 {
stop();
}
}
movieClip 2036 {
instance of movieClip 1566 {
onClipEvent (enterFrame) {
if (_root.silverKey2) {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
}
if (this._currentframe == 92) {
_root.block2 = true;
}
if (_root.block2) {
loadMovie('', this);
}
}
}
instance of movieClip 2034 {
onClipEvent (enterFrame) {
if (_root.silverKey2) {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
}
if (this._currentframe == 92) {
_root.block2 = true;
}
if (_root.block2) {
loadMovie('', this);
}
}
}
}
instance of movieClip 1582 {
onClipEvent (enterFrame) {
if (this._currentframe == 16) {
_root.silverKey2 = true;
}
if (_root.char.hitTest(this) && this._currentframe == 1) {
this.gotoAndPlay(2);
}
if (_root.silverKey2) {
loadMovie('', this);
}
}
}
movieClip 2038 {
frame 3 {
_root.char.deadbread = false;
}
frame 4 {
stop();
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen33');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen35');
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.char._x = _root.startP._x;
_root.char._y = _root.startP._y;
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
_root.char2.gotoAndStop(3);
dead = false;
}
}
}
frame 42 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 42 {
if (_root.musicStart) {
_root.music5.start(0, 9999);
_root.musicStart = false;
}
}
instance of movieClip 679 {
onClipEvent (enterFrame) {
if (_root.saveGo) {
loadMovie('', this);
}
if (_root.char.hitTest(this.a2) && _root.saveScreen._currentframe == 1) {
_root.saveScreen.gotoAndPlay(2);
_root.saveNumber = 6;
this.gotoAndPlay(2);
loadMovie('', this.a1.a1.a1);
user_so = SharedObject.getLocal('user');
user_so.data.healthS = _root.health;
user_so.data.levelS = _root.level;
user_so.data.block1S = _root.block1;
user_so.data.block2S = _root.block2;
user_so.data.block3S = _root.block3;
user_so.data.block4S = _root.block4;
user_so.data.block5S = _root.block5;
user_so.data.saveNumberS = _root.saveNumber;
user_so.data.fireMedalS = _root.fireMedal;
user_so.data.waterMedalS = _root.waterMedal;
user_so.data.earthMedalS = _root.earthMedal;
user_so.data.windMedalS = _root.windMedal;
user_so.data.eyeBossBeatS = _root.eyeBossBeat;
user_so.data.goldFlowerS = _root.goldFlower;
user_so.data.garden1S = _root.garden1;
user_so.data.garden2S = _root.garden2;
user_so.data.garden3S = _root.garden3;
user_so.data.garden4S = _root.garden4;
user_so.data.beenHere1S = _root.beenHere1;
user_so.data.beenHere2S = _root.beenHere2;
user_so.data.beenHere3S = _root.beenHere3;
user_so.data.moneyS = _root.money;
user_so.flush();
user_so.data.monster1S = _root.monster1;
user_so.data.monster2S = _root.monster2;
user_so.data.monster3S = _root.monster3;
user_so.data.monster4S = _root.monster4;
user_so.data.monster5S = _root.monster5;
user_so.data.monster6S = _root.monster6;
user_so.data.monster7S = _root.monster7;
user_so.data.moneyBag1S = _root.moneyBag1;
user_so.data.moneyBag2S = _root.moneyBag2;
user_so.data.moneyBag3S = _root.moneyBag3;
user_so.data.moneyBag4S = _root.moneyBag4;
user_so.data.moneyBag5S = _root.moneyBag5;
user_so.data.moneyBag6S = _root.moneyBag6;
user_so.data.moneyBag7S = _root.moneyBag7;
user_so.data.moneyBag8S = _root.moneyBag8;
user_so.data.moneyBag9S = _root.moneyBag9;
user_so.data.moneyBag10S = _root.moneyBag10;
user_so.data.moneyBag11S = _root.moneyBag11;
user_so.data.moneyBag12S = _root.moneyBag12;
user_so.data.billyS = _root.billy;
user_so.data.cloudRingS = _root.cloudRing;
user_so.data.swordS = _root.sword;
user_so.data.eldS = _root.eld;
user_so.data.lanternS = _root.lantern;
user_so.data.lantern2S = _root.lantern2;
user_so.data.hourglassS = _root.hourglass;
user_so.data.redKeyS = _root.redKey;
user_so.data.smallDoor1S = _root.smallDoor1;
user_so.data.key1S = _root.key1;
user_so.data.key2S = _root.key2;
user_so.data.key3S = _root.key3;
user_so.data.key4S = _root.key4;
user_so.data.key5S = _root.key5;
user_so.data.doorOpen1S = _root.doorOpen1;
user_so.data.doorOpen2S = _root.doorOpen2;
user_so.data.doorOpen3S = _root.doorOpen3;
user_so.data.doorOpen4S = _root.doorOpen4;
user_so.data.doorOpen5S = _root.doorOpen5;
user_so.data.button1S = _root.button1;
user_so.data.button2S = _root.button2;
user_so.data.chainBone1S = _root.chainBone1;
user_so.data.chainBone2S = _root.chainBone2;
user_so.data.clicksS = _root.clicks;
user_so.data.silverKey1S = _root.silverKey1;
user_so.data.silverKey2S = _root.silverKey2;
user_so.data.silverKey3S = _root.silverKey3;
user_so.data.silverKey4S = _root.silverKey4;
user_so.data.silverKey5S = _root.silverKey5;
user_so.data.lampRoom1S = _root.lampRoom1;
user_so.data.lampRoom2S = _root.lampRoom2;
user_so.data.lampRoom3S = _root.lampRoom3;
user_so.data.blockAS = _root.blockA;
user_so.data.blockBS = _root.blockB;
user_so.data.noLightS = _root.noLight;
user_so.data.badDoor1S = _root.badDoor1;
user_so.data.badDoor2S = _root.badDoor2;
user_so.data.badDoor3S = _root.badDoor3;
user_so.data.badDoor4S = _root.badDoor4;
user_so.data.badDoor5S = _root.badDoor5;
user_so.data.badDoor6S = _root.badDoor6;
user_so.data.seaShellS = _root.seaShell;
user_so.data.itRainS = _root.itRain;
user_so.flush();
}
}
}
movieClip 2041 {
instance of movieClip 717 {
onClipEvent (enterFrame) {
if (this._currentframe == 95) {
doorOpen3 = true;
}
if (_root.key3) {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
}
if (_root.doorOpen3) {
loadMovie('', this);
}
}
}
}
instance 547jj574k of movieClip 1545 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && this._currentframe == 1) {
this.gotoAndPlay(2);
_root.a50bux._x = this._x;
_root.a50bux._y = this._y;
_root.a50bux.gotoAndPlay(1);
}
if (this._currentframe == 16) {
_root.moneyBag5 = true;
}
if (_root.moneyBag5) {
loadMovie('', this);
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.char.deadbread = true;
_root.gotoAndStop('screen34');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen40');
}
if (_root.char._y <= 40) {
_root.char._y = 550;
_root.gotoAndStop('screen36');
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.char._x = _root.screenX;
_root.char._y = _root.screenY;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(3);
dead = false;
}
}
}
frame 43 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 43 {
_root.saveGo = false;
}
movieClip 2043 {
}
instance 547jj574kghfg of movieClip 1545 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && this._currentframe == 1) {
this.gotoAndPlay(2);
_root.a50bux._x = this._x;
_root.a50bux._y = this._y;
_root.a50bux.gotoAndPlay(1);
}
if (this._currentframe == 16) {
_root.moneyBag6 = true;
}
if (_root.moneyBag6) {
loadMovie('', this);
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
}
if (_root.char._x >= 670) {
_root.char._x = -10;
}
if (_root.char._y <= 40) {
_root.char._y = 550;
_root.gotoAndStop('screen37');
}
if (_root.char._y >= 560) {
_root.char._y = 50;
_root.gotoAndStop('screen35');
}
}
}
frame 44 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
movieClip 2047 {
}
movieClip 2050 {
}
movieClip 2051 {
}
movieClip 2052 {
instance of movieClip 966 {
onClipEvent (load) {
this.gotoAndPlay(16);
}
}
instance of movieClip 966 {
onClipEvent (load) {
this.gotoAndPlay(8);
}
}
instance of movieClip 814 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10 && _root.char.deadbread == false) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 3;
}
}
}
}
movieClip 2053 {
}
instance gv4a3 of movieClip 2053 {
onClipEvent (load) {
this.gotoAndPlay(60);
}
}
movieClip 2056 {
instance of movieClip 1566 {
onClipEvent (enterFrame) {
if (_root.silverKey3) {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
}
if (this._currentframe == 92) {
_root.block3 = true;
}
if (_root.block3) {
loadMovie('', this);
}
}
}
}
instance 547jj574khh of movieClip 1545 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && this._currentframe == 1) {
_root.a50bux._x = this._x;
_root.a50bux._y = this._y;
_root.a50bux.gotoAndPlay(1);
this.gotoAndPlay(2);
}
if (this._currentframe == 16) {
_root.moneyBag7 = true;
}
if (_root.moneyBag7) {
loadMovie('', this);
}
}
}
instance of movieClip 651 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
}
if (this._currentframe == 86) {
_root.key3 = true;
_root.char2.gotoAndStop(3);
}
if (_root.key3) {
loadMovie('', this);
}
}
}
instance fireMess of movieClip 481 {
onClipEvent (enterFrame) {
this.a1.a1.gotoAndStop(9);
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
}
if (_root.char._x >= 670) {
_root.char._x = -10;
}
if (_root.char._y <= 40) {
_root.char._y = 550;
_root.gotoAndStop('screen38');
}
if (_root.char._y >= 560) {
_root.char._y = 50;
_root.gotoAndStop('screen36');
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.char._x = _root.startP._x;
_root.char._y = _root.startP._y;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(3);
dead = false;
}
}
}
frame 45 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
instance g4a3b5 of movieClip 2053 {
onClipEvent (load) {
this.gotoAndPlay(60);
}
}
instance ag4b54 of movieClip 2053 {
onClipEvent (load) {
this.gotoAndPlay(60);
}
}
movieClip 2058 {
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
}
if (_root.char._x >= 670) {
_root.char._x = -10;
}
if (_root.char._y <= 40) {
_root.char._y = 550;
_root.gotoAndStop('screen39');
}
if (_root.char._y >= 560) {
_root.char._y = 50;
_root.gotoAndStop('screen37');
}
}
}
frame 46 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
instance g4hhbtrbr of movieClip 2053 {
onClipEvent (load) {
this.gotoAndPlay(30);
}
}
instance g4a3h5b4 of movieClip 2053 {
onClipEvent (load) {
this.gotoAndPlay(1);
}
}
instance g4gjkrtbrtb of movieClip 2053 {
onClipEvent (load) {
this.gotoAndPlay(15);
}
}
instance g4hhgbrb of movieClip 2053 {
onClipEvent (load) {
this.gotoAndPlay(45);
}
}
movieClip 2060 {
}
instance of movieClip 1582 {
onClipEvent (enterFrame) {
if (this._currentframe == 16) {
_root.silverKey3 = true;
}
if (_root.char.hitTest(this) && this._currentframe == 1) {
this.gotoAndPlay(2);
}
if (_root.silverKey3) {
loadMovie('', this);
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
}
if (_root.char._x >= 670) {
_root.char._x = -10;
}
if (_root.char._y >= 560) {
_root.char._y = 50;
_root.gotoAndStop('screen38');
}
}
}
frame 47 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 47 {
_root.music5.stop('castle');
_root.music4.start(0, 999);
}
movieClip 2064 {
}
movieClip 2066 {
}
movieClip 2068 {
}
movieClip 2070 {
}
movieClip 2072 {
}
movieClip 2074 {
}
movieClip 2076 {
}
movieClip 2078 {
}
movieClip 2080 {
}
movieClip 2082 {
}
movieClip 2084 {
}
movieClip 2086 {
}
movieClip 2088 {
}
movieClip 2090 {
}
movieClip 2092 {
}
movieClip 2094 {
}
movieClip 2096 {
}
movieClip 2099 {
}
movieClip 2103 {
}
movieClip 2104 {
}
movieClip 2108 {
}
movieClip 2110 {
}
movieClip 2113 {
}
movieClip 2115 {
}
movieClip 2118 {
}
movieClip 2120 {
}
movieClip 2122 {
}
movieClip 2124 {
}
movieClip 2126 {
}
movieClip 2127 {
frame 16 {
_root.boat.gotoAndStop(1);
}
}
movieClip 2128 {
instance of movieClip 920 {
onClipEvent (enterFrame) {
if (this._currentframe == 31) {
_root.dyna.q1.gotoAndPlay(184);
loadMovie('', this);
}
}
}
instance of movieClip 920 {
onClipEvent (enterFrame) {
if (this._currentframe == 31) {
_root.dyna.q1.gotoAndPlay(184);
loadMovie('', this);
}
}
}
instance of movieClip 920 {
onClipEvent (enterFrame) {
if (this._currentframe == 31) {
_root.dyna.q1.gotoAndPlay(184);
loadMovie('', this);
}
}
}
instance of movieClip 920 {
onClipEvent (enterFrame) {
if (this._currentframe == 31) {
_root.dyna.q1.gotoAndPlay(184);
loadMovie('', this);
}
}
}
instance of movieClip 920 {
onClipEvent (enterFrame) {
if (this._currentframe == 31) {
_root.dyna.q1.gotoAndPlay(184);
loadMovie('', this);
}
}
}
instance of movieClip 920 {
onClipEvent (enterFrame) {
if (this._currentframe == 31) {
_root.dyna.q1.gotoAndPlay(184);
loadMovie('', this);
}
}
}
instance of movieClip 920 {
onClipEvent (enterFrame) {
if (this._currentframe == 31) {
_root.dyna.q1.gotoAndPlay(184);
loadMovie('', this);
}
}
}
instance of movieClip 920 {
onClipEvent (enterFrame) {
if (this._currentframe == 31) {
_root.dyna.q1.gotoAndPlay(184);
loadMovie('', this);
}
}
}
instance of movieClip 920 {
onClipEvent (enterFrame) {
if (this._currentframe == 31) {
_root.dyna.q1.gotoAndPlay(184);
loadMovie('', this);
}
}
}
frame 93 {
_root.ground.exit1.gotoAndPlay(2);
}
instance of movieClip 920 {
onClipEvent (enterFrame) {
if (this._currentframe == 31) {
_root.dyna.q1.gotoAndPlay(184);
loadMovie('', this);
}
}
}
frame 112 {
stop();
}
}
movieClip 2129 {
frame 1 {
stop();
}
frame 3 {
_root.a50bux._x = this._x;
_root.a50bux._y = this._y;
_root.a50bux.gotoAndPlay(1);
_root.money += 50;
_root.music4.stop('boss');
}
}
movieClip 2131 {
}
movieClip 2132 {
}
movieClip 2133 {
instance of movieClip 814 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 2;
}
}
}
frame 8 {
stop();
}
}
movieClip 2134 {
frame 1 {
stop();
}
frame 2 {
_root.sound18.start(0, 1);
}
instance of movieClip 920 {
onClipEvent (enterFrame) {
if (this._currentframe == 31) {
_root.dyna.q1.gotoAndPlay(184);
loadMovie('', this);
}
}
}
}
movieClip 2136 {
}
movieClip 2137 {
}
movieClip 2138 {
}
movieClip 2139 {
instance s1 of movieClip 2138 {
onClipEvent (load) {
this.stop();
}
}
instance s2 of movieClip 2138 {
onClipEvent (load) {
this.stop();
}
}
frame 64 {
_root.sound34.start(0, 1);
}
}
movieClip 2140 {
frame 1 {
stop();
}
instance q1 of movieClip 2139 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this.a1) && this._currentframe >= 61 && this.a1._currentframe == 1) {
this.a1.gotoAndStop(2);
loadMovie('', this.s1);
loadMovie('', this.s2);
}
if (this._currentframe == 165) {
this.a1.gotoAndStop(2);
}
if (this.a1._currentframe == 2) {
loadMovie('', this.s1);
loadMovie('', this.s2);
}
}
}
instance q1 of movieClip 2139 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this.a1) && this._currentframe >= 61 && this.a1._currentframe == 1) {
this.a1.gotoAndStop(2);
loadMovie('', this.s1);
loadMovie('', this.s2);
}
if (this._currentframe == 165) {
this.a1.gotoAndStop(2);
}
if (this.a1._currentframe == 2) {
loadMovie('', this.s1);
loadMovie('', this.s2);
}
}
}
instance q1 of movieClip 2139 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this.a1) && this._currentframe >= 61 && this.a1._currentframe == 1) {
this.a1.gotoAndStop(2);
loadMovie('', this.s1);
loadMovie('', this.s2);
}
if (this._currentframe == 165) {
this.a1.gotoAndStop(2);
}
if (this.a1._currentframe == 2) {
loadMovie('', this.s1);
loadMovie('', this.s2);
}
}
}
}
instance dyna of movieClip 2140 {
onClipEvent (load) {
var genn = 0;
}
onClipEvent (enterFrame) {
if (this.q1._currentframe == 185) {
genn = random(5) + 1;
if (genn == 1) {
this.gotoAndStop(1);
}
if (genn == 2) {
this.gotoAndStop(2);
}
if (genn == 3) {
this.gotoAndStop(3);
}
if (genn == 4) {
this.gotoAndStop(4);
}
if (genn == 5) {
this.gotoAndStop(5);
}
}
}
}
movieClip 2142 {
}
movieClip 2145 {
}
movieClip 2146 {
instance of movieClip 2145 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.dyna.q1.a1) && _root.dyna.q1.a1._currentframe == 1 && _root.dyna.q1._currentframe >= 61) {
_root.sound17.start(0, 1);
_root.dyna.q1.a1.gotoAndStop(2);
_root.bossCode.health -= 1;
_root.boat.gotoAndStop(2);
_root.bossHealth.gotoAndPlay(2);
loadMovie('', _root.dyna.q1.s1);
loadMovie('', _root.dyna.q1.s2);
}
}
}
frame 14 {
stop();
}
instance of movieClip 814 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 2;
}
}
}
}
movieClip 2147 {
frame 38 {
_root.sound36.start(0, 1);
}
frame 75 {
_root.boss.gotoAndStop(1);
}
}
movieClip 2148 {
frame 34 {
_root.sound36.start(0, 1);
}
frame 66 {
_root.boss.gotoAndStop(1);
}
}
movieClip 2149 {
frame 34 {
_root.sound36.start(0, 1);
}
frame 68 {
_root.boss.gotoAndStop(1);
}
}
movieClip 2150 {
frame 34 {
_root.sound36.start(0, 1);
}
frame 68 {
_root.boss.gotoAndStop(1);
}
}
movieClip 2151 {
frame 34 {
_root.sound36.start(0, 1);
}
frame 69 {
_root.boss.gotoAndStop(1);
}
}
movieClip 2152 {
frame 1 {
stop();
}
}
instance boss of movieClip 2152 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(_root.bossAttack1) && this._currentframe == 1) {
this.gotoAndStop(2);
_root.bossAttack1.gotoAndPlay(2);
_root.bossAttack2.gotoAndPlay(2);
_root.bossAttack3.gotoAndPlay(2);
_root.bossAttack4.gotoAndPlay(2);
}
if (_root.char.hitTest(_root.bossAttack2) && this._currentframe == 1) {
this.gotoAndStop(3);
_root.bossAttack1.gotoAndPlay(2);
_root.bossAttack2.gotoAndPlay(2);
_root.bossAttack3.gotoAndPlay(2);
_root.bossAttack4.gotoAndPlay(2);
}
if (_root.char.hitTest(_root.bossAttack3) && this._currentframe == 1) {
this.gotoAndStop(4);
_root.bossAttack1.gotoAndPlay(2);
_root.bossAttack2.gotoAndPlay(2);
_root.bossAttack3.gotoAndPlay(2);
_root.bossAttack4.gotoAndPlay(2);
}
if (_root.char.hitTest(_root.bossAttack4) && this._currentframe == 1) {
this.gotoAndStop(5);
_root.bossAttack1.gotoAndPlay(2);
_root.bossAttack2.gotoAndPlay(2);
_root.bossAttack3.gotoAndPlay(2);
_root.bossAttack4.gotoAndPlay(2);
}
if (_root.char.hitTest(_root.bossAttack5) && this._currentframe == 1) {
this.gotoAndStop(6);
_root.bossAttack1.gotoAndPlay(2);
_root.bossAttack2.gotoAndPlay(2);
_root.bossAttack3.gotoAndPlay(2);
_root.bossAttack4.gotoAndPlay(2);
}
}
}
movieClip 2154 {
frame 1 {
stop();
}
}
movieClip 2156 {
}
instance bossCode of movieClip 2156 {
onClipEvent (load) {
var health = 6;
}
onClipEvent (enterFrame) {
if (health == 6) {
_root.bossHealth.health.gotoAndStop(1);
}
if (health == 5) {
_root.bossHealth.health.gotoAndStop(2);
}
if (health == 4) {
_root.bossHealth.health.gotoAndStop(3);
}
if (health == 3) {
_root.bossHealth.health.gotoAndStop(4);
}
if (health == 2) {
_root.bossHealth.health.gotoAndStop(5);
}
if (health == 1) {
_root.bossHealth.health.gotoAndStop(6);
}
if (health == 0) {
_root.bossHealth.health.gotoAndStop(11);
loadMovie('', _root.dyna);
loadMovie('', _root.bossAttack1);
loadMovie('', _root.bossAttack2);
loadMovie('', _root.bossAttack3);
loadMovie('', _root.bossAttack4);
loadMovie('', _root.bossAttack5);
loadMovie('', _root.boss);
_root.boat.gotoAndStop(3);
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen63');
}
}
}
movieClip 2160 {
frame 1 {
stop();
}
}
movieClip 2161 {
frame 1 {
stop();
}
}
frame 48 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 48 {
_root.jumpCloud.a1.a1.gotoAndStop(2);
}
movieClip 2163 {
}
movieClip 2165 {
}
movieClip 2167 {
}
movieClip 2169 {
}
movieClip 2171 {
}
movieClip 2172 {
}
movieClip 2175 {
}
movieClip 2178 {
}
movieClip 2179 {
instance of movieClip 1575 {
onClipEvent (enterFrame) {
if (this._currentframe == 21) {
_root.badDoor7 = true;
}
if (_root.badDoor7) {
this.gotoAndStop(21);
}
}
}
}
instance of movieClip 1473 {
onClipEvent (enterFrame) {
if (_root.beenHere3) {
loadMovie('', this);
}
this.a1.a1.gotoAndStop(2);
}
}
movieClip 2181 {
}
movieClip 2183 {
}
movieClip 2184 {
}
movieClip 2185 {
}
movieClip 2187 {
frame 59 {
stop();
_root.cloudRing = true;
_root.char.deadbread = false;
_root.char2.gotoAndStop(1);
}
}
movieClip 2188 {
frame 1 {
stop();
}
frame 11 {
_root.char.deadbread = true;
_root.char2.gotoAndStop(7);
_root.fireMess.gotoAndStop(2);
_root.sound3.start(0, 1);
}
frame 26 {
stop();
}
}
instance of movieClip 2188 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && this._currentframe == 1) {
this.gotoAndPlay(2);
}
if (_root.cloudRing) {
loadMovie('', this);
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen42');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen12');
}
}
}
button 2189 {
on (press) {
if (_root.cloudRing) {
if (_root.char.touchingGround) {
_root.sound2.start(0, 1);
++_root.clicks;
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
} else {
if (!_root.char.touchingGround && _root.jumpCloud._currentframe == 1) {
_root.sound27.start(0, 1);
_root.jumpCloud.a1.a1.gotoAndPlay(2);
_root.jumpCloud._x = _root.char._x;
_root.jumpCloud._y = _root.char._y;
if (_root.char.walkingRight) {
_root.jumpCloud.gotoAndPlay(2);
} else {
if (_root.char.walkingLeft) {
_root.jumpCloud.gotoAndPlay(51);
}
}
}
}
} else {
if (!_cloudRing) {
if (_root.char.touchingGround) {
_root.sound2.start(0, 1);
++_root.clicks;
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
}
}
}
}
}
instance fireMess of movieClip 481 {
onClipEvent (enterFrame) {
this.a1.a1.gotoAndStop(11);
}
}
instance of movieClip 1899 {
onClipEvent (enterFrame) {
if (_root.cloudRing) {
this.gotoAndStop(2);
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.char._x = _root.screenX;
_root.char._y = _root.screenY;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
frame 49 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 49 {
_root.jumpCloud.a1.a1.gotoAndStop(2);
}
frame 49 {
_root.beenHere3 = true;
}
movieClip 2190 {
}
movieClip 2192 {
}
movieClip 2196 {
}
movieClip 2199 {
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
movieClip 2201 {
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
movieClip 2203 {
}
instance of movieClip 814 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 4;
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen43');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen41');
}
}
}
button 2204 {
on (press) {
if (_root.char.touchingGround) {
++_root.clicks;
_root.sound2.start(0, 1);
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
} else {
if (!_root.char.touchingGround && _root.jumpCloud._currentframe == 1) {
_root.jumpCloud.a1.a1.gotoAndPlay(2);
_root.sound27.start(0, 1);
_root.jumpCloud._x = _root.char._x;
_root.jumpCloud._y = _root.char._y;
if (_root.char.walkingRight) {
_root.jumpCloud.gotoAndPlay(2);
} else {
if (_root.char.walkingLeft) {
_root.jumpCloud.gotoAndPlay(51);
}
}
}
}
}
}
instance of movieClip 1897 {
onClipEvent (enterFrame) {
if (_root.char.touchingGround) {
this.gotoAndStop(2);
}
if (!_root.char.touchingGround) {
this.gotoAndStop(1);
}
}
}
instance of movieClip 1898 {
onClipEvent (enterFrame) {
if (_root.char.touchingGround) {
this.gotoAndStop(1);
}
if (!_root.char.touchingGround) {
this.gotoAndStop(2);
}
}
}
frame 50 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 50 {
_root.jumpCloud.a1.a1.gotoAndStop(2);
}
movieClip 2205 {
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
movieClip 2209 {
instance of movieClip 814 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 4;
}
}
}
}
movieClip 2210 {
}
movieClip 2211 {
frame 54 {
_root.sound38.start(0, 1);
}
frame 80 {
_root.sound39.start(0, 1);
}
}
movieClip 2213 {
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen44');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen42');
}
}
}
button 2214 {
on (press) {
if (_root.char.touchingGround) {
++_root.clicks;
_root.sound2.start(0, 1);
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
} else {
if (!_root.char.touchingGround && _root.jumpCloud._currentframe == 1) {
++_root.clicks;
_root.sound27.start(0, 1);
_root.jumpCloud.a1.a1.gotoAndPlay(2);
_root.jumpCloud._x = _root.char._x;
_root.jumpCloud._y = _root.char._y;
if (_root.char.walkingRight) {
_root.jumpCloud.gotoAndPlay(2);
} else {
if (_root.char.walkingLeft) {
_root.jumpCloud.gotoAndPlay(51);
}
}
}
}
}
}
frame 51 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 51 {
_root.jumpCloud.a1.a1.gotoAndStop(2);
}
movieClip 2215 {
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2211 {
onClipEvent (load) {
this.gotoAndPlay(35);
}
}
movieClip 2217 {
}
instance of movieClip 814 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 4;
}
}
}
instance of movieClip 814 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 4;
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen43');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen43');
}
if (_root.char._y >= 560) {
_root.char._y = 50;
_root.gotoAndStop('screen45');
}
}
}
frame 52 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 52 {
_root.sound35.stop('wind');
}
frame 52 {
if (_root.musicStart) {
_root.music5.start(0, 9999);
_root.musicStart = false;
}
_root.jumpCloud.a1.a1.gotoAndStop(2);
}
movieClip 2218 {
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 679 {
onClipEvent (enterFrame) {
if (_root.saveGo) {
loadMovie('', this);
}
if (_root.char.hitTest(this.a2) && _root.saveScreen._currentframe == 1) {
_root.saveScreen.gotoAndPlay(2);
_root.saveNumber = 7;
this.gotoAndPlay(2);
loadMovie('', this.a1.a1.a1);
user_so = SharedObject.getLocal('user');
user_so.data.healthS = _root.health;
user_so.data.levelS = _root.level;
user_so.data.block1S = _root.block1;
user_so.data.block2S = _root.block2;
user_so.data.block3S = _root.block3;
user_so.data.block4S = _root.block4;
user_so.data.block5S = _root.block5;
user_so.data.saveNumberS = _root.saveNumber;
user_so.data.fireMedalS = _root.fireMedal;
user_so.data.waterMedalS = _root.waterMedal;
user_so.data.earthMedalS = _root.earthMedal;
user_so.data.windMedalS = _root.windMedal;
user_so.data.eyeBossBeatS = _root.eyeBossBeat;
user_so.data.goldFlowerS = _root.goldFlower;
user_so.data.garden1S = _root.garden1;
user_so.data.garden2S = _root.garden2;
user_so.data.garden3S = _root.garden3;
user_so.data.garden4S = _root.garden4;
user_so.data.beenHere1S = _root.beenHere1;
user_so.data.beenHere2S = _root.beenHere2;
user_so.data.beenHere3S = _root.beenHere3;
user_so.data.moneyS = _root.money;
user_so.flush();
user_so.data.monster1S = _root.monster1;
user_so.data.monster2S = _root.monster2;
user_so.data.monster3S = _root.monster3;
user_so.data.monster4S = _root.monster4;
user_so.data.monster5S = _root.monster5;
user_so.data.monster6S = _root.monster6;
user_so.data.monster7S = _root.monster7;
user_so.data.moneyBag1S = _root.moneyBag1;
user_so.data.moneyBag2S = _root.moneyBag2;
user_so.data.moneyBag3S = _root.moneyBag3;
user_so.data.moneyBag4S = _root.moneyBag4;
user_so.data.moneyBag5S = _root.moneyBag5;
user_so.data.moneyBag6S = _root.moneyBag6;
user_so.data.moneyBag7S = _root.moneyBag7;
user_so.data.moneyBag8S = _root.moneyBag8;
user_so.data.moneyBag9S = _root.moneyBag9;
user_so.data.moneyBag10S = _root.moneyBag10;
user_so.data.moneyBag11S = _root.moneyBag11;
user_so.data.moneyBag12S = _root.moneyBag12;
user_so.data.billyS = _root.billy;
user_so.data.cloudRingS = _root.cloudRing;
user_so.data.swordS = _root.sword;
user_so.data.eldS = _root.eld;
user_so.data.lanternS = _root.lantern;
user_so.data.lantern2S = _root.lantern2;
user_so.data.hourglassS = _root.hourglass;
user_so.data.redKeyS = _root.redKey;
user_so.data.smallDoor1S = _root.smallDoor1;
user_so.data.key1S = _root.key1;
user_so.data.key2S = _root.key2;
user_so.data.key3S = _root.key3;
user_so.data.key4S = _root.key4;
user_so.data.key5S = _root.key5;
user_so.data.doorOpen1S = _root.doorOpen1;
user_so.data.doorOpen2S = _root.doorOpen2;
user_so.data.doorOpen3S = _root.doorOpen3;
user_so.data.doorOpen4S = _root.doorOpen4;
user_so.data.doorOpen5S = _root.doorOpen5;
user_so.data.button1S = _root.button1;
user_so.data.button2S = _root.button2;
user_so.data.chainBone1S = _root.chainBone1;
user_so.data.chainBone2S = _root.chainBone2;
user_so.data.clicksS = _root.clicks;
user_so.data.silverKey1S = _root.silverKey1;
user_so.data.silverKey2S = _root.silverKey2;
user_so.data.silverKey3S = _root.silverKey3;
user_so.data.silverKey4S = _root.silverKey4;
user_so.data.silverKey5S = _root.silverKey5;
user_so.data.lampRoom1S = _root.lampRoom1;
user_so.data.lampRoom2S = _root.lampRoom2;
user_so.data.lampRoom3S = _root.lampRoom3;
user_so.data.blockAS = _root.blockA;
user_so.data.blockBS = _root.blockB;
user_so.data.noLightS = _root.noLight;
user_so.data.badDoor1S = _root.badDoor1;
user_so.data.badDoor2S = _root.badDoor2;
user_so.data.badDoor3S = _root.badDoor3;
user_so.data.badDoor4S = _root.badDoor4;
user_so.data.badDoor5S = _root.badDoor5;
user_so.data.badDoor6S = _root.badDoor6;
user_so.data.seaShellS = _root.seaShell;
user_so.data.itRainS = _root.itRain;
user_so.flush();
}
}
}
movieClip 2220 {
}
instance of movieClip 1582 {
onClipEvent (enterFrame) {
if (this._currentframe == 16) {
_root.silverKey4 = true;
}
if (_root.char.hitTest(this) && this._currentframe == 1) {
this.gotoAndPlay(2);
}
if (_root.silverKey4) {
loadMovie('', this);
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen52');
}
}
}
instance ygy of movieClip 641 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.ground.button1.gotoAndPlay(2);
_root.ground.bone1.gotoAndPlay(2);
_root.chain1.gotoAndPlay(2);
loadMovie('', this);
}
if (_root.button1) {
_root.ground.button1.gotoAndStop(7);
loadMovie('', this);
}
}
}
frame 53 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 53 {
_root.sound35.stop('wind');
_root.sound35.start(0, 9991);
}
frame 53 {
_root.jumpCloud.a1.a1.gotoAndStop(2);
}
frame 53 {
_root.saveGo = false;
}
movieClip 2221 {
}
movieClip 2224 {
}
movieClip 2225 {
}
movieClip 2226 {
}
movieClip 2229 {
}
movieClip 2230 {
}
movieClip 2231 {
}
movieClip 2232 {
}
movieClip 2233 {
instance of movieClip 2226 {
onClipEvent (load) {
this.gotoAndPlay(11);
}
}
instance of movieClip 2226 {
onClipEvent (load) {
this.gotoAndPlay(4);
}
}
instance of movieClip 2226 {
onClipEvent (load) {
this.gotoAndPlay(20);
}
}
}
instance of movieClip 2233 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && !_root.char.touchingGround) {
_root.char._x += 4;
_root.char._y -= 2.5;
}
}
}
movieClip 2235 {
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen47');
}
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen52');
}
}
}
frame 54 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 54 {
_root.sound35.stop('wind');
_root.sound35.start(0, 1999);
}
frame 54 {
_root.jumpCloud.a1.a1.gotoAndStop(2);
}
movieClip 2236 {
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
movieClip 2238 {
}
instance of movieClip 2233 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && !_root.char.touchingGround) {
_root.char._x += 4;
_root.char._y -= 2.5;
}
}
}
instance 547jj574kghfggh of movieClip 1545 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && this._currentframe == 1) {
this.gotoAndPlay(2);
_root.a50bux._x = this._x;
_root.a50bux._y = this._y;
_root.a50bux.gotoAndPlay(1);
}
if (this._currentframe == 16) {
_root.moneyBag8 = true;
}
if (_root.moneyBag8) {
loadMovie('', this);
}
}
}
instance of movieClip 814 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 4;
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen48');
}
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen46');
}
}
}
frame 55 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 55 {
_root.sound35.stop('wind');
}
frame 55 {
_root.jumpCloud.a1.a1.gotoAndStop(2);
}
frame 55 {
_root.saveGo = false;
}
frame 55 {
_root.badDoor3 = false;
}
movieClip 2239 {
}
movieClip 2241 {
instance of movieClip 1566 {
onClipEvent (enterFrame) {
if (_root.silverKey4) {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
}
if (this._currentframe == 92) {
_root.block4 = true;
}
if (_root.block4) {
loadMovie('', this);
}
}
}
}
instance 547jj574kghfgghd of movieClip 1545 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && this._currentframe == 1) {
this.gotoAndPlay(2);
_root.a50bux._x = this._x;
_root.a50bux._y = this._y;
_root.a50bux.gotoAndPlay(1);
}
if (this._currentframe == 16) {
_root.moneyBag9 = true;
}
if (_root.moneyBag9) {
loadMovie('', this);
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen49');
}
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen47');
}
}
}
instance ygy of movieClip 641 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.ground.button1.gotoAndPlay(2);
_root.ground.bone1.gotoAndPlay(2);
_root.chain1.gotoAndPlay(2);
loadMovie('', this);
}
if (_root.button1) {
_root.ground.button1.gotoAndStop(7);
loadMovie('', this);
}
}
}
frame 56 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 56 {
_root.sound35.stop('wind');
_root.sound35.start(0, 1999);
}
frame 56 {
if (_root.musicStart) {
_root.music5.start(0, 9999);
_root.musicStart = false;
}
_root.jumpCloud.a1.a1.gotoAndStop(2);
}
instance of movieClip 2233 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && !_root.char.touchingGround) {
_root.char._y -= 6.5;
}
}
}
movieClip 2242 {
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
movieClip 2244 {
}
instance of movieClip 679 {
onClipEvent (enterFrame) {
if (_root.saveGo) {
loadMovie('', this);
}
if (_root.char.hitTest(this.a2) && _root.saveScreen._currentframe == 1) {
_root.saveScreen.gotoAndPlay(2);
_root.saveNumber = 8;
this.gotoAndPlay(2);
loadMovie('', this.a1.a1.a1);
user_so = SharedObject.getLocal('user');
user_so.data.healthS = _root.health;
user_so.data.levelS = _root.level;
user_so.data.block1S = _root.block1;
user_so.data.block2S = _root.block2;
user_so.data.block3S = _root.block3;
user_so.data.block4S = _root.block4;
user_so.data.block5S = _root.block5;
user_so.data.saveNumberS = _root.saveNumber;
user_so.data.fireMedalS = _root.fireMedal;
user_so.data.waterMedalS = _root.waterMedal;
user_so.data.earthMedalS = _root.earthMedal;
user_so.data.windMedalS = _root.windMedal;
user_so.data.eyeBossBeatS = _root.eyeBossBeat;
user_so.data.goldFlowerS = _root.goldFlower;
user_so.data.garden1S = _root.garden1;
user_so.data.garden2S = _root.garden2;
user_so.data.garden3S = _root.garden3;
user_so.data.garden4S = _root.garden4;
user_so.data.beenHere1S = _root.beenHere1;
user_so.data.beenHere2S = _root.beenHere2;
user_so.data.beenHere3S = _root.beenHere3;
user_so.data.moneyS = _root.money;
user_so.flush();
user_so.data.monster1S = _root.monster1;
user_so.data.monster2S = _root.monster2;
user_so.data.monster3S = _root.monster3;
user_so.data.monster4S = _root.monster4;
user_so.data.monster5S = _root.monster5;
user_so.data.monster6S = _root.monster6;
user_so.data.monster7S = _root.monster7;
user_so.data.moneyBag1S = _root.moneyBag1;
user_so.data.moneyBag2S = _root.moneyBag2;
user_so.data.moneyBag3S = _root.moneyBag3;
user_so.data.moneyBag4S = _root.moneyBag4;
user_so.data.moneyBag5S = _root.moneyBag5;
user_so.data.moneyBag6S = _root.moneyBag6;
user_so.data.moneyBag7S = _root.moneyBag7;
user_so.data.moneyBag8S = _root.moneyBag8;
user_so.data.moneyBag9S = _root.moneyBag9;
user_so.data.moneyBag10S = _root.moneyBag10;
user_so.data.moneyBag11S = _root.moneyBag11;
user_so.data.moneyBag12S = _root.moneyBag12;
user_so.data.billyS = _root.billy;
user_so.data.cloudRingS = _root.cloudRing;
user_so.data.swordS = _root.sword;
user_so.data.eldS = _root.eld;
user_so.data.lanternS = _root.lantern;
user_so.data.lantern2S = _root.lantern2;
user_so.data.hourglassS = _root.hourglass;
user_so.data.redKeyS = _root.redKey;
user_so.data.smallDoor1S = _root.smallDoor1;
user_so.data.key1S = _root.key1;
user_so.data.key2S = _root.key2;
user_so.data.key3S = _root.key3;
user_so.data.key4S = _root.key4;
user_so.data.key5S = _root.key5;
user_so.data.doorOpen1S = _root.doorOpen1;
user_so.data.doorOpen2S = _root.doorOpen2;
user_so.data.doorOpen3S = _root.doorOpen3;
user_so.data.doorOpen4S = _root.doorOpen4;
user_so.data.doorOpen5S = _root.doorOpen5;
user_so.data.button1S = _root.button1;
user_so.data.button2S = _root.button2;
user_so.data.chainBone1S = _root.chainBone1;
user_so.data.chainBone2S = _root.chainBone2;
user_so.data.clicksS = _root.clicks;
user_so.data.silverKey1S = _root.silverKey1;
user_so.data.silverKey2S = _root.silverKey2;
user_so.data.silverKey3S = _root.silverKey3;
user_so.data.silverKey4S = _root.silverKey4;
user_so.data.silverKey5S = _root.silverKey5;
user_so.data.lampRoom1S = _root.lampRoom1;
user_so.data.lampRoom2S = _root.lampRoom2;
user_so.data.lampRoom3S = _root.lampRoom3;
user_so.data.blockAS = _root.blockA;
user_so.data.blockBS = _root.blockB;
user_so.data.noLightS = _root.noLight;
user_so.data.badDoor1S = _root.badDoor1;
user_so.data.badDoor2S = _root.badDoor2;
user_so.data.badDoor3S = _root.badDoor3;
user_so.data.badDoor4S = _root.badDoor4;
user_so.data.badDoor5S = _root.badDoor5;
user_so.data.badDoor6S = _root.badDoor6;
user_so.data.badDoor7S = _root.badDoor7;
user_so.data.seaShellS = _root.seaShell;
user_so.data.itRainS = _root.itRain;
user_so.flush();
}
}
}
movieClip 2247 {
instance of movieClip 1575 {
onClipEvent (enterFrame) {
if (this._currentframe == 21) {
_root.badDoor3 = true;
}
if (_root.badDoor3) {
this.gotoAndStop(21);
}
}
}
instance of movieClip 717 {
onClipEvent (enterFrame) {
if (this._currentframe == 95) {
_root.doorOpen4 = true;
}
if (_root.key4) {
if (this._currentframe == 1) {
this.gotoAndPlay(1);
}
}
if (_root.doorOpen4) {
loadMovie('', this);
}
}
}
}
instance of movieClip 814 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 4;
}
}
}
instance of movieClip 814 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 4;
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen51');
}
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen48');
}
if (_root.char._y <= 40) {
_root.char._y = 550;
_root.gotoAndStop('screen50');
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.char._x = _root.startP._x;
_root.char._y = _root.startP._y;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
frame 57 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 57 {
_root.sound35.stop('wind');
_root.sound35.start(0, 991);
}
frame 57 {
_root.jumpCloud.a1.a1.gotoAndStop(2);
}
frame 57 {
_root.saveGo = false;
}
instance of movieClip 2233 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && !_root.char.touchingGround) {
_root.char._x += 4;
_root.char._y -= 2.5;
}
}
}
instance of movieClip 2233 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && !_root.char.touchingGround) {
_root.char._x -= 4;
_root.char._y -= 2.5;
}
}
}
movieClip 2248 {
}
movieClip 2250 {
}
instance of movieClip 651 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
}
if (this._currentframe == 86) {
_root.key4 = true;
}
if (_root.key4) {
loadMovie('', this);
}
}
}
instance fireMess of movieClip 481 {
onClipEvent (enterFrame) {
this.a1.a1.gotoAndStop(8);
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._y >= 560) {
_root.char._y = 50;
_root.gotoAndStop('screen49');
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.char._x = _root.screenX;
_root.char._y = _root.screenY;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
frame 58 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 58 {
_root.sound35.stop('wind');
_root.sound35.start(0, 1999);
}
frame 58 {
_root.music5.stop('castle');
_root.jumpCloud.a1.a1.gotoAndStop(2);
}
instance of movieClip 2233 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && !_root.char.touchingGround && !_root.char.deadbread) {
_root.char._x += 4;
_root.char._y -= 2.5;
}
}
}
instance of movieClip 2233 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && !_root.char.touchingGround && !_root.char.deadbread) {
_root.char._x -= 4;
_root.char._y -= 2.5;
}
}
}
movieClip 2252 {
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
movieClip 2254 {
instance door1 of movieClip 362 {
onClipEvent (load) {
if (_root.eyeBossBeat) {
loadMovie('', this);
}
}
}
}
movieClip 2255 {
}
movieClip 2257 {
}
movieClip 2258 {
}
movieClip 2259 {
}
movieClip 2260 {
}
movieClip 2261 {
frame 195 {
++_root.goal.bossNumber;
}
}
instance boss of movieClip 2261 {
onClipEvent (load) {
this.stop();
this._visible = false;
}
onClipEvent (enterFrame) {
}
}
instance of movieClip 2211 {
onClipEvent (load) {
this.gotoAndPlay(41);
}
}
movieClip 2270 {
frame 1 {
stop();
}
frame 4 {
_root.sound40.start(0, 1);
}
frame 5 {
_root.music4.start(0, 999);
}
frame 6 {
_root.music4.stop('boss');
}
}
movieClip 2271 {
}
movieClip 2272 {
frame 173 {
_root.char2.h1.gotoAndPlay(26);
}
instance of movieClip 2271 {
onClipEvent (load) {
this.a1.gotoAndStop(2);
}
}
instance of movieClip 2271 {
onClipEvent (load) {
this.a1.gotoAndStop(3);
}
}
frame 366 {
_root.char2.h1.gotoAndPlay(26);
}
instance of movieClip 2271 {
onClipEvent (load) {
this.a1.gotoAndStop(4);
}
}
instance of movieClip 2271 {
onClipEvent (load) {
this.a1.gotoAndStop(5);
}
}
frame 537 {
_root.boss._visible = true;
_root.boss.play();
_root.char.deadbread = false;
_root.char2.gotoAndStop(1);
_root.a1a.gotoAndStop(1);
loadMovie('', _root.bossIntro);
}
}
instance bossIntro of movieClip 2272 {
onClipEvent (load) {
if (_root.eyeBossBeat) {
loadMovie('', this);
}
}
}
movieClip 2274 {
}
instance of movieClip 2274 {
onClipEvent (enterFrame) {
if (_root.eyeBossBeat) {
loadMovie('', this);
}
if (_root.char.hitTest(this)) {
_root.char.deadbread = true;
_root.char2.gotoAndStop(4);
loadMovie('', this);
}
}
}
movieClip 2276 {
frame 1 {
stop();
}
frame 2 {
_root.money += 50;
}
instance of movieClip 2271 {
onClipEvent (load) {
this.a1.gotoAndStop(6);
}
}
}
movieClip 2278 {
}
instance goalB of movieClip 2278 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.goal.goaling = true;
}
}
}
instance goal of movieClip 2278 {
onClipEvent (load) {
var goaling = false;
var goalNumber = 0;
var bossNumber = 0;
}
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && goaling) {
++goalNumber;
_root.sound42.start(0, 1);
goaling = false;
}
if (goalNumber == 10) {
if (_root.flashMe._currentframe == 1) {
_root.sound41.start(0, 1);
_root.flashMe.gotoAndPlay(2);
_root.boss.stop();
}
}
if (bossNumber == 10 && _root.flashMe2._currentframe == 1) {
_root.sound41.start(0, 1);
_root.flashMe2.gotoAndPlay(2);
_root.char.deadbread = true;
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen64');
}
}
}
movieClip 2282 {
}
movieClip 2283 {
frame 1 {
stop();
}
frame 2 {
_root.char.deadbread = true;
}
frame 20 {
loadMovie('', _root.ground.door1);
loadMovie('', _root.boss);
_root.bossEnd.gotoAndStop(2);
}
frame 39 {
_root.char.deadbread = false;
_root.eyeBossBeat = true;
}
frame 40 {
stop();
}
}
movieClip 2284 {
frame 1 {
stop();
}
frame 2 {
_root.char.deadbread = true;
}
frame 20 {
_root.gotoAndStop('death');
}
frame 39 {
_root.char.deadbread = false;
_root.eyeBossBeat = true;
}
frame 40 {
stop();
}
}
movieClip 2285 {
}
movieClip 2288 {
frame 1 {
stop();
}
instance head of movieClip 190 {
onClipEvent (enterFrame) {
this.stop();
this.a1.a1.stop();
this.a1.a1.a1.stop();
this.a1.a1.a1.a1.stop();
}
}
frame 2 {
stop();
}
}
instance a1a of movieClip 2288 {
onClipEvent (load) {
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
this.eye.text = _root.goal.bossNumber;
this.char.text = _root.goal.goalNumber;
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.char._x = _root.startP._x;
_root.char._y = _root.startP._y;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
frame 59 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 59 {
_root.sound35.stop('wind');
_root.sound35.start(0, 1999);
}
frame 59 {
_root.jumpCloud.a1.a1.gotoAndStop(2);
}
frame 59 {
_root.saveGo = false;
}
movieClip 2289 {
}
instance of movieClip 2233 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && !_root.char.touchingGround) {
_root.char._x += 5;
_root.char._y -= 2.5;
}
}
}
instance of movieClip 2233 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && !_root.char.touchingGround) {
_root.char._x -= 2.9;
_root.char._y -= 2.5;
}
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
instance of movieClip 2199 {
onClipEvent (enterFrame) {
radians = Math.atan2(_root.char2._y - this._y, _root.char2._x - this._x);
degrees = (radians / Math.PI) * 180;
this.arsle._rotation = degrees;
}
}
movieClip 2291 {
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen46');
}
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen45');
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.blockA = true;
_root.blockB = false;
_root.char._x = _root.screenX;
_root.char._y = _root.screenY;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
frame 60 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 60 {
_root.jumpCloud.a1.a1.gotoAndStop(2);
}
frame 60 {
_root.blockA = false;
_root.blockB = true;
}
movieClip 2293 {
}
movieClip 2295 {
}
movieClip 2297 {
}
movieClip 2300 {
}
movieClip 2301 {
}
movieClip 2302 {
}
movieClip 2304 {
}
movieClip 2322 {
}
movieClip 2330 {
frame 14 {
stop();
}
}
movieClip 2331 {
frame 14 {
stop();
}
}
movieClip 2332 {
frame 1 {
stop();
}
}
movieClip 2333 {
frame 79 {
stop();
}
}
instance of movieClip 2333 {
onClipEvent (load) {
if (_root.garden1) {
loadMovie('', this);
}
}
}
movieClip 2335 {
}
movieClip 2339 {
frame 1 {
stop();
}
}
movieClip 2340 {
}
movieClip 2342 {
frame 1 {
stop();
}
}
movieClip 2343 {
frame 10 {
stop();
}
}
movieClip 2344 {
frame 10 {
stop();
}
}
movieClip 2345 {
frame 10 {
stop();
}
}
movieClip 2346 {
frame 10 {
stop();
}
}
movieClip 2347 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 2348 {
instance a1 of movieClip 2347 {
onClipEvent (enterFrame) {
if (_root.blockA) {
this.gotoAndStop(1);
} else {
if (_root.blockB) {
this.gotoAndStop(2);
}
}
}
}
}
movieClip 2349 {
instance a1 of movieClip 2347 {
onClipEvent (enterFrame) {
if (_root.blockB) {
this.gotoAndStop(1);
} else {
if (_root.blockA) {
this.gotoAndStop(2);
}
}
}
}
}
movieClip 2351 {
}
movieClip 2355 {
}
movieClip 2356 {
frame 1 {
stop();
}
frame 16 {
stop();
}
}
instance of movieClip 2356 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && this._currentframe == 1) {
this.gotoAndPlay(2);
}
}
}
movieClip 2357 {
instance of movieClip 958 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && _root.char2._currentframe != 8 && _root.char2._currentframe != 10) {
_root.char.dead2 = true;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.health2 -= 6;
}
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen54');
}
}
}
button 2358 {
on (press) {
if (_root.blockA) {
++_root.clicks;
_root.sound43.start(0, 1);
_root.blockA = false;
_root.blockB = true;
} else {
if (_root.blockB) {
++_root.clicks;
_root.sound43.start(0, 1);
_root.blockB = false;
_root.blockA = true;
}
}
}
}
frame 61 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 61 {
_root.blockA = false;
_root.blockB = true;
}
frame 61 {
_root.garden1 = true;
}
movieClip 2360 {
}
movieClip 2362 {
}
instance of movieClip 2333 {
onClipEvent (load) {
if (_root.garden2) {
loadMovie('', this);
}
}
}
movieClip 2365 {
}
instance 547jj574541651 of movieClip 1545 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && this._currentframe == 1) {
this.gotoAndPlay(2);
_root.a50bux._x = this._x;
_root.a50bux._y = this._y;
_root.a50bux.gotoAndPlay(1);
}
if (this._currentframe == 16) {
_root.moneyBag11 = true;
}
if (_root.moneyBag11) {
loadMovie('', this);
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen55');
}
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen53');
}
}
}
button 2366 {
on (press) {
if (_root.blockA) {
_root.sound43.start(0, 1);
++_root.clicks;
_root.blockA = false;
_root.blockB = true;
} else {
if (_root.blockB) {
++_root.clicks;
_root.sound43.start(0, 1);
_root.blockB = false;
_root.blockA = true;
}
}
}
}
frame 62 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 62 {
_root.billy = false;
}
frame 62 {
_root.blockA = false;
_root.blockB = true;
}
frame 62 {
_root.garden2 = true;
}
movieClip 2369 {
}
movieClip 2371 {
}
movieClip 2372 {
frame 11 {
stop();
}
}
movieClip 2373 {
frame 12 {
stop();
}
}
movieClip 2374 {
frame 1 {
stop();
}
}
instance of movieClip 2374 {
onClipEvent (enterFrame) {
if (_root.blockB) {
this.gotoAndStop(1);
} else {
if (_root.blockA) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 2374 {
onClipEvent (enterFrame) {
if (_root.blockB) {
this.gotoAndStop(2);
} else {
if (_root.blockA) {
this.gotoAndStop(1);
}
}
}
}
movieClip 2376 {
instance of movieClip 1566 {
onClipEvent (enterFrame) {
if (_root.silverKey5) {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
}
if (this._currentframe == 92) {
_root.block5 = true;
}
if (_root.block5) {
loadMovie('', this);
}
}
}
}
instance of movieClip 1582 {
onClipEvent (enterFrame) {
if (this._currentframe == 16) {
_root.silverKey5 = true;
}
if (_root.char.hitTest(this) && this._currentframe == 1) {
this.gotoAndPlay(2);
}
if (_root.silverKey5) {
loadMovie('', this);
}
}
}
instance 547jj574kghfgghd of movieClip 1545 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && this._currentframe == 1) {
this.gotoAndPlay(2);
_root.a50bux._x = this._x;
_root.a50bux._y = this._y;
_root.a50bux.gotoAndPlay(1);
}
if (this._currentframe == 16) {
_root.moneyBag10 = true;
}
if (_root.moneyBag10) {
loadMovie('', this);
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen56');
}
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen54');
}
if (_root.char._y >= 560) {
_root.char._y = 50;
_root.gotoAndStop('screen58');
}
}
}
frame 63 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 63 {
_root.blockA = false;
_root.blockB = true;
}
instance of movieClip 2374 {
onClipEvent (enterFrame) {
if (_root.blockB) {
this.gotoAndStop(2);
} else {
if (_root.blockA) {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 2374 {
onClipEvent (enterFrame) {
if (_root.blockB) {
this.gotoAndStop(1);
} else {
if (_root.blockA) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 2374 {
onClipEvent (enterFrame) {
if (_root.blockB) {
this.gotoAndStop(2);
} else {
if (_root.blockA) {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 2374 {
onClipEvent (enterFrame) {
if (_root.blockB) {
this.gotoAndStop(1);
} else {
if (_root.blockA) {
this.gotoAndStop(2);
}
}
}
}
movieClip 2378 {
}
movieClip 2380 {
}
movieClip 2383 {
instance door of movieClip 1575 {
onClipEvent (enterFrame) {
if (this._currentframe == 21) {
_root.badDoor4 = true;
}
if (_root.badDoor4) {
this.gotoAndStop(21);
}
}
}
instance of movieClip 2349 {
onClipEvent (enterFrame) {
this.a1.a1.a1.a1.gotoAndStop(2);
}
}
instance of movieClip 2348 {
onClipEvent (enterFrame) {
this.a1.a1.a1.a1.gotoAndStop(2);
}
}
instance of movieClip 2349 {
onClipEvent (enterFrame) {
this.a1.a1.a1.a1.gotoAndStop(2);
}
}
}
movieClip 2384 {
}
instance of movieClip 2384 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.ground.door.stop();
}
}
}
instance jk547jj5745kghfgghdff of movieClip 1545 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && this._currentframe == 1) {
this.gotoAndPlay(2);
_root.a50bux._x = this._x;
_root.a50bux._y = this._y;
_root.a50bux.gotoAndPlay(1);
}
if (this._currentframe == 16) {
_root.moneyBag12 = true;
}
if (_root.moneyBag12) {
loadMovie('', this);
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen57');
}
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen55');
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.blockA = true;
_root.blockB = false;
if (!_root.billy) {
_root.char._x = _root.screenX;
_root.char._y = _root.screenY;
} else {
if (_root.billy) {
_root.char._x = _root.startP._x;
_root.char._y = _root.startP._y;
}
}
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
frame 64 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 64 {
_root.billy = true;
}
frame 64 {
_root.blockA = true;
_root.blockB = false;
}
frame 64 {
_root.badDoor4 = false;
}
instance of movieClip 2374 {
onClipEvent (enterFrame) {
if (_root.blockB) {
this.gotoAndStop(2);
} else {
if (_root.blockA) {
this.gotoAndStop(1);
}
}
}
}
instance of movieClip 2374 {
onClipEvent (enterFrame) {
if (_root.blockB) {
this.gotoAndStop(1);
} else {
if (_root.blockA) {
this.gotoAndStop(2);
}
}
}
}
movieClip 2387 {
instance of movieClip 2348 {
onClipEvent (enterFrame) {
this.a1.a1.a1.a1.gotoAndStop(2);
}
}
instance of movieClip 2348 {
onClipEvent (enterFrame) {
this.a1.a1.a1.a1.gotoAndStop(2);
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen56');
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.blockA = true;
_root.blockB = false;
_root.char._x = _root.screenX;
_root.char._y = _root.screenY;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
frame 65 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 65 {
if (_root.musicStart) {
_root.music5.start(0, 9999);
_root.musicStart = false;
}
}
frame 65 {
_root.blockA = true;
_root.blockB = false;
}
movieClip 2389 {
}
instance of movieClip 2333 {
onClipEvent (load) {
if (_root.garden3) {
loadMovie('', this);
}
}
}
instance of movieClip 2374 {
onClipEvent (enterFrame) {
if (_root.blockB) {
this.gotoAndStop(1);
} else {
if (_root.blockA) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 679 {
onClipEvent (enterFrame) {
if (_root.saveGo) {
loadMovie('', this);
}
if (_root.char.hitTest(this.a2) && _root.saveScreen._currentframe == 1) {
_root.saveScreen.gotoAndPlay(2);
_root.saveNumber = 9;
this.gotoAndPlay(2);
loadMovie('', this.a1.a1.a1);
user_so = SharedObject.getLocal('user');
user_so.data.healthS = _root.health;
user_so.data.levelS = _root.level;
user_so.data.block1S = _root.block1;
user_so.data.block2S = _root.block2;
user_so.data.block3S = _root.block3;
user_so.data.block4S = _root.block4;
user_so.data.block5S = _root.block5;
user_so.data.saveNumberS = _root.saveNumber;
user_so.data.fireMedalS = _root.fireMedal;
user_so.data.waterMedalS = _root.waterMedal;
user_so.data.earthMedalS = _root.earthMedal;
user_so.data.windMedalS = _root.windMedal;
user_so.data.eyeBossBeatS = _root.eyeBossBeat;
user_so.data.goldFlowerS = _root.goldFlower;
user_so.data.garden1S = _root.garden1;
user_so.data.garden2S = _root.garden2;
user_so.data.garden3S = _root.garden3;
user_so.data.garden4S = _root.garden4;
user_so.data.beenHere1S = _root.beenHere1;
user_so.data.beenHere2S = _root.beenHere2;
user_so.data.beenHere3S = _root.beenHere3;
user_so.data.moneyS = _root.money;
user_so.flush();
user_so.data.monster1S = _root.monster1;
user_so.data.monster2S = _root.monster2;
user_so.data.monster3S = _root.monster3;
user_so.data.monster4S = _root.monster4;
user_so.data.monster5S = _root.monster5;
user_so.data.monster6S = _root.monster6;
user_so.data.monster7S = _root.monster7;
user_so.data.moneyBag1S = _root.moneyBag1;
user_so.data.moneyBag2S = _root.moneyBag2;
user_so.data.moneyBag3S = _root.moneyBag3;
user_so.data.moneyBag4S = _root.moneyBag4;
user_so.data.moneyBag5S = _root.moneyBag5;
user_so.data.moneyBag6S = _root.moneyBag6;
user_so.data.moneyBag7S = _root.moneyBag7;
user_so.data.moneyBag8S = _root.moneyBag8;
user_so.data.moneyBag9S = _root.moneyBag9;
user_so.data.moneyBag10S = _root.moneyBag10;
user_so.data.moneyBag11S = _root.moneyBag11;
user_so.data.moneyBag12S = _root.moneyBag12;
user_so.data.billyS = _root.billy;
user_so.data.cloudRingS = _root.cloudRing;
user_so.data.swordS = _root.sword;
user_so.data.eldS = _root.eld;
user_so.data.lanternS = _root.lantern;
user_so.data.lantern2S = _root.lantern2;
user_so.data.hourglassS = _root.hourglass;
user_so.data.redKeyS = _root.redKey;
user_so.data.smallDoor1S = _root.smallDoor1;
user_so.data.key1S = _root.key1;
user_so.data.key2S = _root.key2;
user_so.data.key3S = _root.key3;
user_so.data.key4S = _root.key4;
user_so.data.key5S = _root.key5;
user_so.data.doorOpen1S = _root.doorOpen1;
user_so.data.doorOpen2S = _root.doorOpen2;
user_so.data.doorOpen3S = _root.doorOpen3;
user_so.data.doorOpen4S = _root.doorOpen4;
user_so.data.doorOpen5S = _root.doorOpen5;
user_so.data.button1S = _root.button1;
user_so.data.button2S = _root.button2;
user_so.data.chainBone1S = _root.chainBone1;
user_so.data.chainBone2S = _root.chainBone2;
user_so.data.clicksS = _root.clicks;
user_so.data.silverKey1S = _root.silverKey1;
user_so.data.silverKey2S = _root.silverKey2;
user_so.data.silverKey3S = _root.silverKey3;
user_so.data.silverKey4S = _root.silverKey4;
user_so.data.silverKey5S = _root.silverKey5;
user_so.data.lampRoom1S = _root.lampRoom1;
user_so.data.lampRoom2S = _root.lampRoom2;
user_so.data.lampRoom3S = _root.lampRoom3;
user_so.data.blockAS = _root.blockA;
user_so.data.blockBS = _root.blockB;
user_so.data.noLightS = _root.noLight;
user_so.data.badDoor1S = _root.badDoor1;
user_so.data.badDoor2S = _root.badDoor2;
user_so.data.badDoor3S = _root.badDoor3;
user_so.data.badDoor4S = _root.badDoor4;
user_so.data.badDoor5S = _root.badDoor5;
user_so.data.badDoor6S = _root.badDoor6;
user_so.data.badDoor7S = _root.badDoor7;
user_so.data.seaShellS = _root.seaShell;
user_so.data.itRainS = _root.itRain;
user_so.flush();
}
}
}
movieClip 2392 {
instance of movieClip 2349 {
onClipEvent (enterFrame) {
this.a1.a1.a1.a1.gotoAndStop(2);
}
}
instance of movieClip 2348 {
onClipEvent (enterFrame) {
this.a1.a1.a1.a1.gotoAndStop(2);
}
}
instance of movieClip 2349 {
onClipEvent (enterFrame) {
this.a1.a1.a1.a1.gotoAndStop(2);
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen59');
}
}
}
movieClip 2394 {
instance of movieClip 2356 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && this._currentframe == 1) {
this.gotoAndPlay(2);
}
}
}
}
movieClip 2395 {
frame 86 {
stop();
}
}
button 2396 {
on (press) {
if (_root.char.touchingGround) {
++_root.clicks;
_root.sound2.start(0, 1);
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
}
if (_root.blockA) {
++_root.clicks;
_root.sound43.start(0, 1);
_root.blockA = false;
_root.blockB = true;
} else {
if (_root.blockB) {
++_root.clicks;
_root.sound43.start(0, 1);
_root.blockB = false;
_root.blockA = true;
}
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.blockA = true;
_root.blockB = false;
_root.dustAsss.gotoAndPlay(2);
_root.char._x = _root.screenX;
_root.char._y = _root.screenY;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
frame 66 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 66 {
_root.blockA = false;
_root.blockB = true;
}
frame 66 {
_root.garden3 = true;
}
frame 66 {
_root.saveGo = false;
}
movieClip 2398 {
}
instance of movieClip 2333 {
onClipEvent (load) {
if (_root.garden4) {
loadMovie('', this);
}
}
}
movieClip 2400 {
instance Boss of movieClip 717 {
onClipEvent (enterFrame) {
if (this._currentframe == 95) {
_root.doorOpen5 = true;
}
if (_root.doorOpen5) {
loadMovie('', this);
}
}
}
}
movieClip 2402 {
}
instance of movieClip 2402 {
onClipEvent (enterFrame) {
if (_root.ground.Boss._currentframe == 95 && _root.char.hitTest(this)) {
doorOpen5 = true;
}
if (_root.key5) {
if (_root.ground.Boss._currentframe == 1 && _root.char.hitTest(this)) {
_root.ground.Boss.gotoAndPlay(13);
}
}
if (_root.doorOpen5) {
loadMovie('', this);
}
}
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
_root.gotoAndStop('screen58');
}
if (_root.char._x >= 670) {
_root.char._x = -10;
_root.gotoAndStop('screen60');
}
}
}
instance of movieClip 651 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
}
if (this._currentframe == 86) {
_root.key5 = true;
}
if (_root.key5) {
loadMovie('', this);
}
}
}
instance fireMess of movieClip 481 {
onClipEvent (enterFrame) {
this.a1.a1.gotoAndStop(8);
}
}
button 2403 {
on (press) {
if (_root.char.touchingGround) {
++_root.clicks;
_root.sound2.start(0, 1);
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
}
if (_root.blockA) {
_root.sound43.start(0, 1);
++_root.clicks;
_root.blockA = false;
_root.blockB = true;
} else {
if (_root.blockB) {
_root.sound43.start(0, 1);
++_root.clicks;
_root.blockB = false;
_root.blockA = true;
}
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.blockA = true;
_root.blockB = false;
_root.char._x = _root.screenX;
_root.char._y = _root.screenY;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
frame 67 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 67 {
_root.noLight = false;
}
frame 67 {
_root.music5.stop('castle');
}
frame 67 {
_root.blockA = false;
_root.blockB = true;
}
frame 67 {
_root.garden4 = true;
}
movieClip 2404 {
}
instance bg1 of movieClip 2404 {
onClipEvent (load) {
this.stop();
}
}
movieClip 2406 {
}
instance goBack of movieClip 2406 {
onClipEvent (load) {
var goBack = false;
}
onClipEvent (enterFrame) {
if (goBack) {
if (_root.char._x <= _root.startP2._x) {
_root.char._x += 2;
}
if (_root.char._x >= _root.startP2._x) {
_root.char._x -= 1;
}
if (_root.char._x == _root.startP2._x) {
goBack = false;
}
}
}
}
movieClip 2419 {
}
movieClip 2421 {
}
movieClip 2422 {
}
movieClip 2423 {
frame 15 {
stop();
}
}
movieClip 2424 {
frame 1 {
stop();
}
frame 244 {
stop();
}
frame 307 {
stop();
}
}
instance clown of movieClip 2424 {
onClipEvent (enterFrame) {
if (this._currentframe == 244 && _root.bossIntro.health == 4) {
this.gotoAndPlay(245);
}
}
}
movieClip 2426 {
}
movieClip 2427 {
}
movieClip 2428 {
}
movieClip 2429 {
instance 5h of movieClip 2426 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 8.5;
}
}
}
instance fdg of movieClip 2426 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 8;
}
}
}
instance flowerxj of movieClip 2428 {
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 8;
}
}
}
instance of movieClip 2349 {
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 8;
}
}
}
}
movieClip 2430 {
instance fdg55 of movieClip 2426 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 7;
}
}
}
instance fdg5g5 of movieClip 2426 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 7;
}
}
}
instance fdgggf of movieClip 2426 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 7;
}
}
}
instance drfgfgdfg5 of movieClip 2349 {
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 8.6;
}
}
}
instance u8oh of movieClip 2349 {
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 8.6;
}
}
}
instance of movieClip 2374 {
onClipEvent (enterFrame) {
if (_root.blockB) {
this.gotoAndStop(2);
} else {
if (_root.blockA) {
this.gotoAndStop(1);
}
}
}
}
}
movieClip 2431 {
instance j5h of movieClip 2426 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 8.5;
}
}
}
instance 5h of movieClip 2426 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 8.5;
}
}
}
instance 5hb of movieClip 2426 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 8.5;
}
}
}
instance flower5 of movieClip 2428 {
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 8.6;
}
}
}
}
movieClip 2432 {
instance fdgntgnmhr of movieClip 2426 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 8.5;
}
}
}
instance fdgntgn6rhrh of movieClip 2426 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 8.5;
}
}
}
instance fdgntgn65hr of movieClip 2426 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 8.5;
}
}
}
instance fdgntgncvbtr of movieClip 2426 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 8.5;
}
}
}
instance fdgntgnbcbcv of movieClip 2426 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 8.5;
}
}
}
}
movieClip 2433 {
instance 5hxe5ng of movieClip 2426 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 8.5;
}
}
}
instance 5hxen of movieClip 2426 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 8.5;
}
}
}
instance 5hxe5gn of movieClip 2426 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 8.5;
}
}
}
instance 5hcbtbt of movieClip 2426 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 8.5;
}
}
}
instance 5hhthf of movieClip 2426 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 8.5;
}
}
}
instance 5hcgb of movieClip 2426 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x -= 8.5;
}
}
}
}
movieClip 2435 {
}
movieClip 2436 {
}
movieClip 2437 {
frame 59 {
stop();
}
}
movieClip 2438 {
frame 1 {
stop();
}
frame 8 {
_root.char.deadbread = true;
_root.char2.gotoAndStop(7);
_root.flo1.stop();
_root.ground.flo.stop();
_root.bg1.stop();
_root.ground.a1.stop();
_root.fireMess.gotoAndStop(2);
_root.sound3.start(0, 1);
}
frame 26 {
stop();
}
}
movieClip 2439 {
instance of movieClip 2438 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this) && this._currentframe == 1) {
this.gotoAndPlay(2);
_root.musicStart = true;
_root.earthMedal = true;
_root.goBack.goBack = false;
loadMovie('', _root.bossHealth);
}
}
}
}
movieClip 2440 {
frame 206 {
gotoAndPlay(1);
}
frame 432 {
gotoAndPlay(201);
}
frame 661 {
_root.blockA = false;
_root.blockB = true;
gotoAndPlay(433);
}
frame 878 {
gotoAndPlay(662);
}
frame 1095 {
gotoAndPlay(879);
}
frame 1301 {
gotoAndPlay(1096);
}
}
instance flo1 of movieClip 2440 {
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (_root.bossIntro.health == 4 && this._currentframe == 205) {
this.gotoAndPlay(207);
}
if (_root.bossIntro.health == 3 && this._currentframe == 431) {
this.gotoAndPlay(433);
}
if (_root.bossIntro.health == 2 && this._currentframe == 660) {
this.gotoAndPlay(662);
}
if (_root.bossIntro.health == 1 && this._currentframe == 877) {
this.gotoAndPlay(879);
}
if (_root.bossIntro.health == 0 && this._currentframe == 1094) {
this.gotoAndPlay(1096);
}
}
}
movieClip 2443 {
}
movieClip 2444 {
instance flower of movieClip 2428 {
onClipEvent (load) {
this.stop();
}
}
}
movieClip 2445 {
}
movieClip 2446 {
instance flower of movieClip 2428 {
onClipEvent (load) {
this.stop();
}
}
}
movieClip 2448 {
}
movieClip 2450 {
}
movieClip 2452 {
}
movieClip 2453 {
}
movieClip 2454 {
}
movieClip 2456 {
}
movieClip 2458 {
}
movieClip 2459 {
frame 206 {
_root.blockA = false;
_root.blockB = true;
gotoAndPlay(1);
}
frame 432 {
_root.blockA = false;
_root.blockB = true;
gotoAndPlay(201);
}
frame 661 {
_root.blockA = false;
_root.blockB = true;
gotoAndPlay(433);
}
frame 878 {
_root.blockA = false;
_root.blockB = true;
gotoAndPlay(662);
}
frame 1095 {
gotoAndPlay(879);
}
frame 1301 {
_root.blockA = false;
_root.blockB = true;
gotoAndPlay(1096);
}
}
movieClip 2461 {
}
movieClip 2462 {
}
movieClip 2463 {
instance flo of movieClip 2459 {
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (_root.bossIntro.health == 4 && this._currentframe == 205) {
_root.blockA = false;
_root.blockB = true;
this.gotoAndPlay(207);
}
if (_root.bossIntro.health == 3 && this._currentframe == 431) {
_root.blockA = false;
_root.blockB = true;
this.gotoAndPlay(433);
}
if (_root.bossIntro.health == 2 && this._currentframe == 660) {
_root.blockA = false;
_root.blockB = true;
this.gotoAndPlay(662);
}
if (_root.bossIntro.health == 1 && this._currentframe == 877) {
_root.blockA = false;
_root.blockB = true;
this.gotoAndPlay(879);
}
if (_root.bossIntro.health == 0 && this._currentframe == 1094) {
_root.blockA = false;
_root.blockB = true;
this.gotoAndPlay(1096);
}
}
}
instance a1 of movieClip 2462 {
onClipEvent (load) {
this.stop(1);
}
}
}
instance fireMess of movieClip 481 {
onClipEvent (enterFrame) {
this.a1.a1.gotoAndStop(5);
}
}
movieClip 2466 {
frame 117 {
stop();
_root.clownMagic.gotoAndPlay(2);
}
}
movieClip 2467 {
}
movieClip 2468 {
frame 20 {
stop();
}
}
movieClip 2469 {
frame 1 {
stop();
}
frame 60 {
_root.char2.a1.gotoAndStop(2);
}
frame 60 {
stop();
}
}
instance char2 of movieClip 254 {
onClipEvent (load) {
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.char.walkingRight) {
_xscale = scale;
}
if (_root.char.walkingLeft) {
_xscale = -scale;
}
this._x = _root.char._x;
this._y = _root.char._y;
}
}
movieClip 2470 {
frame 1 {
stop();
}
frame 3 {
_root.sound33.start(0, 1);
}
frame 39 {
_root.char2.gotoAndStop(1);
}
frame 88 {
_root.gotoAndStop('screen11');
}
}
movieClip 2472 {
}
instance of movieClip 2472 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char2.gotoAndStop(5);
_root.char.deadbread = true;
_root.clown.gotoAndPlay(2);
_root.bossIntro.gotoAndPlay(2);
loadMovie('', this);
}
}
}
movieClip 2473 {
instance boss4 of movieClip 2304 {
onClipEvent (load) {
this.a1.gotoAndPlay(11);
this.a1.a1.gotoAndPlay(11);
}
}
instance boss2 of movieClip 2304 {
onClipEvent (load) {
this.a1.gotoAndPlay(11);
this.a1.a1.gotoAndPlay(11);
}
}
}
movieClip 2474 {
frame 1 {
stop();
}
frame 15 {
stop();
}
}
movieClip 2475 {
}
movieClip 2478 {
}
movieClip 2479 {
frame 23 {
stop();
_root.sword = true;
}
}
movieClip 2480 {
}
movieClip 2481 {
frame 162 {
_root.sound44.start(0, 99999);
}
frame 216 {
stop();
}
frame 217 {
_root.bossIntro.health -= 1;
_root.bossHealth.gotoAndPlay(2);
_root.char.grav = -17;
if (_root.bossIntro.health == 0) {
gotoAndPlay(243);
}
}
frame 242 {
_root.goBack.goBack = true;
_root.bossIntro.gettingHurt = false;
gotoAndPlay(120);
}
frame 243 {
_root.money += 50;
}
frame 243 {
_root.goBack.goBack = true;
}
instance of movieClip 920 {
onClipEvent (enterFrame) {
if (this._currentframe == 31) {
_root.dyna.q1.gotoAndPlay(184);
loadMovie('', this);
}
}
}
instance of movieClip 920 {
onClipEvent (enterFrame) {
if (this._currentframe == 31) {
_root.dyna.q1.gotoAndPlay(184);
loadMovie('', this);
}
}
}
instance of movieClip 920 {
onClipEvent (enterFrame) {
if (this._currentframe == 31) {
_root.dyna.q1.gotoAndPlay(184);
loadMovie('', this);
}
}
}
instance of movieClip 920 {
onClipEvent (enterFrame) {
if (this._currentframe == 31) {
_root.dyna.q1.gotoAndPlay(184);
loadMovie('', this);
}
}
}
instance of movieClip 920 {
onClipEvent (enterFrame) {
if (this._currentframe == 31) {
_root.dyna.q1.gotoAndPlay(184);
loadMovie('', this);
}
}
}
instance of movieClip 920 {
onClipEvent (enterFrame) {
if (this._currentframe == 31) {
_root.dyna.q1.gotoAndPlay(184);
loadMovie('', this);
}
}
}
frame 294 {
_root.music4.stop('boss');
}
instance of movieClip 920 {
onClipEvent (enterFrame) {
if (this._currentframe == 31) {
_root.dyna.q1.gotoAndPlay(184);
loadMovie('', this);
}
}
}
instance of movieClip 920 {
onClipEvent (enterFrame) {
if (this._currentframe == 31) {
_root.dyna.q1.gotoAndPlay(184);
loadMovie('', this);
}
}
}
instance of movieClip 920 {
onClipEvent (enterFrame) {
if (this._currentframe == 31) {
_root.dyna.q1.gotoAndPlay(184);
loadMovie('', this);
}
}
}
instance of movieClip 920 {
onClipEvent (enterFrame) {
if (this._currentframe == 31) {
_root.dyna.q1.gotoAndPlay(184);
loadMovie('', this);
}
}
}
frame 362 {
stop();
}
}
instance bossIntro of movieClip 2481 {
onClipEvent (load) {
var gettingHurt = false;
var health = 5;
}
onClipEvent (enterFrame) {
if (this.a1.boss1.boss1.a1.a1.hitTest(_root.char) && !_root.char.touchingGround && !gettingHurt || this.a1.boss1.boss1.a1.a2.hitTest(_root.char) && !_root.char.touchingGround && !gettingHurt || this.a1.boss1.boss1.a1.a3.hitTest(_root.char) && !_root.char.touchingGround && !gettingHurt) {
gettingHurt = true;
_root.sound17.start(0, 1);
_root.sound44.stop('bossBite');
this.a1.boss1.gotoAndStop(2);
this.a1.b1.gotoAndPlay(2);
this.gotoAndPlay(217);
}
if (health == 4) {
_root.bossHealth.health.gotoAndStop(3);
}
if (health == 3) {
_root.bossHealth.health.gotoAndStop(5);
}
if (health == 2) {
_root.bossHealth.health.gotoAndStop(7);
}
if (health == 1) {
_root.bossHealth.health.gotoAndStop(9);
}
if (health == 0) {
_root.bossHealth.health.gotoAndStop(11);
}
}
}
instance jumpCloud of movieClip 1354 {
onClipEvent (enterFrame) {
if (this._currentframe == 50 || this._currentframe == 100) {
this.gotoAndPlay(101);
this._x = 800;
this._y = 800;
}
}
}
instance char of movieClip 152 {
onClipEvent (load) {
var dead2 = false;
var ground = _root.ground;
var jumpCloud = _root.jumpCloud;
var grav = 0;
var gravity = 2;
var speed = 5;
var maxJump = -16;
var touchingGround = false;
var isRunning = false;
var isJumping = false;
var walkingRight = true;
var deadbread = false;
var dead = false;
var scale = _xscale;
var moving = true;
}
onClipEvent (enterFrame) {
if (dead2) {
deadbread = true;
_root.char2.gotoAndStop(8);
}
if (!deadbread) {
_y = _y + grav;
grav += gravity;
if (grav >= 16) {
grav = 16;
}
for (;;) {
if (!(ground.hitTest(_x, _y, true) || jumpCloud.hitTest(_x, _y, true))) break;
_y = _y - gravity;
grav = 0;
}
if (ground.hitTest(_x, _y + 5, true) || jumpCloud.hitTest(_x, _y + 5, true)) {
touchingGround = true;
isJumping = false;
} else {
touchingGround = false;
}
if (moving) {
if (walkingRight) {
this._x += speed;
_xscale = scale;
}
if (walkingLeft) {
this._x -= speed;
_xscale = -scale;
}
}
if (ground.hitTest(_x + _width / 2, _y - _height / 2, true) || jumpCloud.hitTest(_x + _width / 2, _y - _height / 2, true)) {
if (moving) {
walkingRight = false;
walkingLeft = true;
}
}
if (ground.hitTest(_x - _width / 2, _y - _height / 2, true) || jumpCloud.hitTest(_x - _width / 2, _y - _height / 2, true)) {
if (moving) {
walkingRight = true;
walkingLeft = false;
}
_x = _x + speed;
}
if (ground.hitTest(_x - _width / 500, _y - _height / 1, true) || jumpCloud.hitTest(_x - _width / 500, _y - _height / 1, true)) {
grav = speed;
}
if (dead) {
_root.char._x = -10;
dead = false;
}
if (isRunning) {
if (!isJumping) {
gotoAndStop(19);
}
} else {
if (isRunning && !touchingGround) {
gotoAndStop(21);
} else {
if (isJumping) {
gotoAndStop(21);
} else {
if (isRunning && isJumping) {
gotoAndStop(21);
} else {
gotoAndStop(18);
}
}
}
}
if (isRunning && isJumping) {
gotoAndStop(21);
}
}
if (_root.vcam.hp.death.hitTest(this)) {
_root.char.gotoAndStop(5);
_root.vcam.minus10000.gotoAndStop(2);
++_root.score;
_root.vcam.hp.gotoAndStop(4);
deadbread = true;
}
}
}
button 2482 {
on (press) {
if (_root.char.touchingGround) {
++_root.clicks;
_root.sound2.start(0, 1);
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
}
if (_root.blockA) {
++_root.clicks;
_root.sound43.start(0, 1);
_root.blockA = false;
_root.blockB = true;
} else {
if (_root.blockB) {
_root.sound43.start(0, 1);
++_root.clicks;
_root.blockB = false;
_root.blockA = true;
}
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.char._x = _root.startP._x;
_root.char._y = _root.startP._y;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
_root.char2.gotoAndStop(1);
dead = false;
}
}
}
frame 68 {
stopAllSounds();
_root.music4.start(0, 9888);
}
instance of movieClip 271 {
onClipEvent (enterFrame) {
if (_root.char._x <= -20) {
_root.char._x = 660;
}
if (_root.char._x >= 670) {
_root.char._x = -10;
}
}
}
movieClip 2484 {
}
movieClip 2486 {
}
movieClip 2488 {
}
movieClip 2490 {
}
movieClip 2493 {
}
movieClip 2494 {
}
movieClip 2495 {
}
movieClip 2496 {
frame 19 {
stop();
}
}
movieClip 2498 {
}
movieClip 2499 {
frame 1 {
stop();
}
}
movieClip 2501 {
}
movieClip 2503 {
}
movieClip 2505 {
}
movieClip 2506 {
instance b3 of movieClip 2499 {
onClipEvent (enterFrame) {
if (_root.body.genn == 3) {
this.gotoAndStop(2);
}
if (_root.body.genn != 3) {
this.gotoAndStop(1);
}
}
}
instance b1 of movieClip 2499 {
onClipEvent (enterFrame) {
if (_root.body.genn == 1) {
this.gotoAndStop(2);
}
if (_root.body.genn != 1) {
this.gotoAndStop(1);
}
}
}
instance b2 of movieClip 2499 {
onClipEvent (enterFrame) {
if (_root.body.genn == 2) {
this.gotoAndStop(2);
}
if (_root.body.genn != 2) {
this.gotoAndStop(1);
}
}
}
}
movieClip 2507 {
}
movieClip 2509 {
}
movieClip 2510 {
}
movieClip 2511 {
frame 17 {
_root.body.gotoAndStop(1);
}
}
movieClip 2513 {
}
movieClip 2514 {
}
movieClip 2515 {
frame 17 {
_root.body.gotoAndStop(1);
}
}
movieClip 2516 {
}
movieClip 2517 {
frame 17 {
_root.body.gotoAndStop(1);
}
}
movieClip 2519 {
}
movieClip 2521 {
}
movieClip 2523 {
}
movieClip 2524 {
}
movieClip 2526 {
}
movieClip 2528 {
}
movieClip 2530 {
}
movieClip 2532 {
}
movieClip 2534 {
}
movieClip 2536 {
}
movieClip 2537 {
}
movieClip 2538 {
}
movieClip 2539 {
}
movieClip 2540 {
}
movieClip 2541 {
}
movieClip 2542 {
frame 99 {
_root.sky.gotoAndPlay(2);
}
frame 124 {
_root.gotoAndStop('endMov');
}
}
movieClip 2543 {
frame 1 {
stop();
}
frame 5 {
_root.music4.stop('boss');
}
frame 5 {
_root.sound48.stop('clownAttack');
_root.sound47.stop('charge');
_root.sound46.stop('yoyo');
}
}
instance body of movieClip 2543 {
onClipEvent (load) {
var health = 10;
var genn = 0;
var lightUp = true;
var lightNumber = 0;
}
onClipEvent (enterFrame) {
_root.light.text = genn;
if (lightUp) {
genn = random(3) + 1;
++lightNumber;
lightUp = false;
}
if (lightNumber != 0) {
++lightNumber;
if (lightNumber == 120) {
lightUp = true;
lightNumber = 0;
}
}
if (_root.char2.attack.attack.a1.hitTest(this.a1.a1.b1.a1) || _root.char2.attack.attack.a2.hitTest(this.a1.a1.b1.a1) || _root.char2.attack.attack.a3.hitTest(this.a1.a1.b1.a1)) {
if (genn == 1) {
_root.sound17.start(0, 1);
genn = 0;
health -= 1;
this.gotoAndStop(3);
_root.bossHealth.gotoAndPlay(2);
}
}
if (_root.char2.attack.attack.a1.hitTest(this.a1.a1.b2.a1) || _root.char2.attack.attack.a2.hitTest(this.a1.a1.b2.a1) || _root.char2.attack.attack.a3.hitTest(this.a1.a1.b2.a1)) {
if (genn == 2) {
_root.sound17.start(0, 1);
genn = 0;
health -= 1;
_root.bossHealth.gotoAndPlay(2);
this.gotoAndStop(4);
}
}
if (_root.char2.attack.attack.a1.hitTest(this.a1.a1.b3.a1) || _root.char2.attack.attack.a2.hitTest(this.a1.a1.b3.a1) || _root.char2.attack.attack.a3.hitTest(this.a1.a1.b3.a1)) {
if (genn == 3) {
health -= 1;
genn = 0;
_root.sound17.start(0, 1);
_root.bossHealth.gotoAndPlay(2);
this.gotoAndStop(2);
}
}
if (health == 10) {
_root.bossHealth.health.gotoAndStop(1);
}
if (health == 9) {
_root.bossHealth.health.gotoAndStop(2);
}
if (health == 8) {
_root.bossHealth.health.gotoAndStop(3);
}
if (health == 7) {
_root.bossHealth.health.gotoAndStop(4);
}
if (health == 6) {
_root.bossHealth.health.gotoAndStop(5);
}
if (health == 5) {
_root.bossHealth.health.gotoAndStop(6);
}
if (health == 4) {
_root.bossHealth.health.gotoAndStop(7);
}
if (health == 3) {
_root.bossHealth.health.gotoAndStop(8);
}
if (health == 2) {
_root.bossHealth.health.gotoAndStop(9);
}
if (health == 1) {
_root.bossHealth.health.gotoAndStop(10);
}
if (health == 0) {
loadMovie('', _root.h1);
loadMovie('', _root.h2);
this.gotoAndStop(5);
}
}
}
instance ground of movieClip 1339 {
onClipEvent (enterFrame) {
if (this.newBlock._currentframe == 1) {
this.newBlock.gotoAndPlay(2);
}
}
}
movieClip 2544 {
}
movieClip 2546 {
}
movieClip 2547 {
}
movieClip 2549 {
}
movieClip 2550 {
instance of movieClip 2549 {
onClipEvent (load) {
this.gotoAndPlay(2);
}
}
instance of movieClip 2549 {
onClipEvent (load) {
this.gotoAndPlay(14);
}
}
instance of movieClip 2549 {
onClipEvent (load) {
this.gotoAndPlay(10);
}
}
instance of movieClip 2549 {
onClipEvent (load) {
this.gotoAndPlay(6);
}
}
instance of movieClip 2549 {
onClipEvent (load) {
this.gotoAndPlay(4);
}
}
instance of movieClip 2549 {
onClipEvent (load) {
this.gotoAndPlay(12);
}
}
instance of movieClip 2549 {
onClipEvent (load) {
this.gotoAndPlay(8);
}
}
}
movieClip 2552 {
}
movieClip 2561 {
}
movieClip 2563 {
}
movieClip 2564 {
}
movieClip 2565 {
}
movieClip 2566 {
}
movieClip 2568 {
}
movieClip 2569 {
frame 13 {
stop();
}
}
movieClip 2571 {
frame 13 {
stop();
}
}
movieClip 2572 {
}
movieClip 2574 {
}
movieClip 2575 {
instance of movieClip 2574 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && this._currentframe == 1 && !_root.char.deadbread && _root.char2._currentframe != 8) {
_root.health2 -= 7;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.char.dead2 = true;
this.gotoAndStop(3);
}
}
}
}
movieClip 2576 {
frame 1 {
_root.chargeSound.gotoAndPlay(2);
}
frame 40 {
_root.sound48.start(0, 1);
_root.sound48.start(0, 1);
}
}
movieClip 2578 {
}
movieClip 2581 {
}
movieClip 2582 {
}
movieClip 2584 {
}
movieClip 2592 {
instance of movieClip 2574 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char) && this._currentframe == 1 && !_root.char.deadbread && _root.char2._currentframe != 8) {
_root.health2 -= 7;
_root.menu1.health.gotoAndPlay(2);
_root.menu1.heart.gotoAndPlay(2);
_root.char.dead2 = true;
this.gotoAndStop(3);
}
}
}
}
movieClip 2593 {
}
movieClip 2595 {
}
movieClip 2596 {
instance of movieClip 2593 {
onClipEvent (enterFrame) {
this.a1.gotoAndStop(1);
}
}
frame 41 {
_root.sound34.start(0, 1);
}
frame 55 {
_root.sound47.start(0, 1);
}
instance of movieClip 2593 {
onClipEvent (enterFrame) {
this.a1.play();
}
}
frame 84 {
_root.sound47.start(0, 1);
}
}
movieClip 2597 {
frame 1 {
_root.chargeSound.gotoAndPlay(2);
}
frame 141 {
stop();
}
}
movieClip 2598 {
frame 1 {
stop();
}
}
instance h2 of movieClip 2598 {
onClipEvent (load) {
var genn = 0;
}
onClipEvent (enterFrame) {
if (this.a1._currentframe == 320) {
this.gotoAndStop(1);
}
if (this.a2._currentframe == 141) {
this.gotoAndStop(1);
}
if (this.a0._currentframe == 55) {
genn = random(5) + 1;
if (genn == 1 || genn == 4) {
this.gotoAndStop(1);
this.a0.gotoAndPlay(1);
} else {
if (genn == 2) {
this.gotoAndStop(2);
} else {
if (genn == 3 || genn == 5) {
this.gotoAndStop(3);
}
}
}
}
}
}
instance h1 of movieClip 2598 {
onClipEvent (load) {
var genn = 0;
}
onClipEvent (enterFrame) {
if (this.a1._currentframe == 320) {
this.gotoAndStop(1);
}
if (this.a2._currentframe == 141) {
this.gotoAndStop(1);
}
if (this.a0._currentframe == 55) {
genn = random(5) + 1;
if (genn == 1 || genn == 4) {
this.gotoAndStop(1);
this.a0.gotoAndPlay(1);
} else {
if (genn == 2) {
this.gotoAndStop(2);
} else {
if (genn == 3 || genn == 5) {
this.gotoAndStop(3);
}
}
}
}
}
}
movieClip 2600 {
frame 1 {
stop();
}
frame 4 {
_root.sound46.start(0, 1);
}
frame 5 {
stop();
}
}
instance char of movieClip 152 {
onClipEvent (load) {
var ground = _root.ground;
var jumpCloud = _root.jumpCloud;
var grav = 0;
var gravity = 2;
var speed = 5;
var maxJump = -16;
var touchingGround = false;
var isRunning = false;
var isJumping = false;
var walkingRight = true;
var deadbread = false;
var dead = false;
var dead2 = false;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (dead2) {
deadbread = true;
_root.char2.gotoAndStop(8);
}
if (!deadbread) {
_y = _y + grav;
grav += gravity;
if (grav >= 16) {
grav = 16;
}
for (;;) {
if (!(ground.hitTest(_x, _y, true) || jumpCloud.hitTest(_x, _y, true))) break;
_y = _y - gravity;
grav = 0;
}
if (ground.hitTest(_x, _y + 5, true) || jumpCloud.hitTest(_x, _y + 5, true)) {
touchingGround = true;
isJumping = false;
} else {
touchingGround = false;
}
if (walkingRight) {
this._x += speed;
_xscale = scale;
}
if (walkingLeft) {
this._x -= speed;
_xscale = -scale;
}
if (ground.hitTest(_x + _width / 2, _y - _height / 2, true) || jumpCloud.hitTest(_x + _width / 2, _y - _height / 2, true)) {
walkingRight = false;
walkingLeft = true;
_x = _x - speed;
}
if (ground.hitTest(_x - _width / 2, _y - _height / 2, true) || jumpCloud.hitTest(_x - _width / 2, _y - _height / 2, true)) {
_x = _x + speed;
walkingRight = true;
walkingLeft = false;
}
if (ground.hitTest(_x - _width / 500, _y - _height / 1, true) || jumpCloud.hitTest(_x - _width / 500, _y - _height / 1, true)) {
grav = speed;
}
if (dead) {
_root.char._x = -10;
dead = false;
}
if (isRunning) {
if (!isJumping) {
gotoAndStop(19);
}
} else {
if (isRunning && !touchingGround) {
gotoAndStop(21);
} else {
if (isJumping) {
gotoAndStop(21);
} else {
if (isRunning && isJumping) {
gotoAndStop(21);
} else {
gotoAndStop(18);
}
}
}
}
if (isRunning && isJumping) {
gotoAndStop(21);
}
}
if (_root.vcam.hp.death.hitTest(this)) {
_root.char.gotoAndStop(5);
_root.vcam.minus10000.gotoAndStop(2);
++_root.score;
_root.vcam.hp.gotoAndStop(4);
deadbread = true;
}
}
}
instance char2 of movieClip 254 {
onClipEvent (load) {
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.char.walkingRight) {
_xscale = scale;
}
if (_root.char.walkingLeft) {
_xscale = -scale;
}
this._x = _root.char._x;
this._y = _root.char._y;
}
}
movieClip 2603 {
frame 1 {
stop();
}
frame 15 {
stop();
}
}
button 2604 {
on (press) {
if (_root.char2.attack._currentframe == 1) {
_root.char2.attack.gotoAndPlay(2);
}
if (_root.char.touchingGround) {
++_root.clicks;
_root.sound2.start(0, 1);
_root.char.grav = _root.char.maxJump;
_root.char.isJumping = true;
} else {
if (!_root.char.touchingGround && _root.jumpCloud._currentframe == 1) {
_root.jumpCloud.a1.a1.gotoAndPlay(2);
_root.jumpCloud._x = _root.char._x;
_root.jumpCloud._y = _root.char._y;
if (_root.char.walkingRight) {
_root.jumpCloud.gotoAndPlay(2);
} else {
if (_root.char.walkingLeft) {
_root.jumpCloud.gotoAndPlay(51);
}
}
}
}
}
}
frame 69 {
var screenX = _root.char._x;
var screenY = _root.char._y;
var screenL = false;
var screenR = false;
if (_root.char.walkingRight) {
screenR = true;
} else {
if (_root.char.walkingLeft) {
screenL = true;
}
}
}
frame 69 {
_root.noLight = false;
}
frame 69 {
_root.musicStart = true;
}
movieClip 2607 {
}
movieClip 2608 {
}
movieClip 2609 {
}
movieClip 2610 {
}
movieClip 2611 {
}
movieClip 2612 {
}
movieClip 2613 {
}
movieClip 2618 {
}
movieClip 2619 {
}
movieClip 2620 {
}
movieClip 2621 {
}
movieClip 2623 {
frame 1 {
stop();
}
frame 25 {
stop();
}
}
movieClip 2625 {
}
movieClip 2627 {
}
movieClip 2629 {
}
movieClip 2631 {
}
movieClip 2632 {
}
movieClip 2633 {
}
movieClip 2635 {
}
movieClip 2636 {
}
movieClip 2637 {
}
movieClip 2638 {
frame 59 {
stop();
}
}
movieClip 2639 {
frame 1 {
stop();
}
frame 10 {
_root.char.deadbread = true;
_root.char2.gotoAndStop(7);
_root.fireMess.gotoAndStop(2);
_root.sound3.start(0, 1);
}
frame 26 {
stop();
}
}
instance of movieClip 2639 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this.a1) && this._currentframe == 1) {
this.gotoAndPlay(2);
_root.win.a1.gotoAndPlay(2);
_root.fireMedal = true;
}
}
}
instance fireMess of movieClip 481 {
onClipEvent (enterFrame) {
this.a1.a1.gotoAndStop(2);
}
}
instance shield of movieClip 1481 {
onClipEvent (load) {
var shieldNumber = 0;
var shieldOn = false;
}
onClipEvent (enterFrame) {
if (shieldOn) {
_root.char2.shield.a1.gotoAndStop(2);
_root.char.speed = 0;
_root.char2.shield.gotoAndStop(1);
_root.char2.f1.stop();
_root.char2.f2.stop();
_root.char2.head.stop();
_root.char2.head.a1.stop();
_root.char2.head.a1.a1.stop();
_root.char2.head.a1.a1.a1.stop();
++shieldNumber;
if (shieldNumber == 20) {
_root.char2.head.play();
_root.char2.head.a1.play();
_root.char2.head.a1.a1.play();
_root.char2.head.a1.a1.a1.play();
_root.char.speed = 5;
_root.char2.shield.a1.gotoAndStop(1);
_root.char2.shield.play();
_root.char2.f1.play();
_root.char2.f2.play();
shieldOn = false;
shieldNumber = 0;
}
}
}
}
movieClip 2641 {
}
movieClip 2642 {
frame 1 {
stop();
}
frame 2 {
_root.sound55.start(0, 443);
}
frame 60 {
_root.char2.a1.gotoAndStop(2);
_root.sound55.stop('rope');
}
frame 60 {
stop();
}
}
instance of movieClip 1856 {
onClipEvent (enterFrame) {
if (_root.lampLight == 6) {
_root.bbb.hurt = true;
_root.bbb.health -= 1;
_root.lampLight = 0;
_root.char.deadbread = true;
_root.char2.f1.stop();
_root.char2.f2.stop();
_root.char2.shield.stop();
_root.char2.head.stop();
if (_root.darknessFalls._currentframe == 1) {
_root.darknessFalls.gotoAndPlay(2);
_root.cross.gotoAndPlay(2);
}
}
}
}
instance charDead of movieClip 563 {
onClipEvent (load) {
var dead = false;
}
onClipEvent (enterFrame) {
if (dead) {
_root.char._x = _root.startP._x;
_root.char._y = _root.startP._y;
if (_root.screenR) {
_root.char.walkingRight = true;
_root.char.walkingLeft = false;
} else {
if (_root.screenL) {
_root.char.walkingLeft = true;
_root.char.walkingRight = false;
}
}
dead = false;
}
}
}
frame 70 {
_root.noLight = false;
}
frame 70 {
_root.inWater = false;
}
frame 70 {
_root.char2.gotoAndStop(3);
}
frame 70 {
_root.musicStart = true;
}
movieClip 2645 {
}
movieClip 2647 {
}
movieClip 2649 {
}
movieClip 2650 {
}
movieClip 2651 {
}
movieClip 2652 {
frame 59 {
stop();
}
}
movieClip 2653 {
frame 1 {
stop();
}
frame 10 {
_root.char.deadbread = true;
_root.char2.gotoAndStop(7);
_root.fireMess.gotoAndStop(2);
_root.sound3.start(0, 1);
}
frame 26 {
stop();
}
}
instance of movieClip 2653 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this.a1) && this._currentframe == 1) {
this.gotoAndPlay(2);
_root.win.a1.gotoAndPlay(2);
_root.waterMedal = true;
}
}
}
instance fireMess of movieClip 481 {
onClipEvent (enterFrame) {
this.a1.a1.gotoAndStop(3);
}
}
movieClip 2654 {
frame 1 {
stop();
}
frame 95 {
_root.char2.a1.gotoAndStop(2);
}
frame 95 {
stop();
}
}
frame 71 {
_root.noLight = false;
}
frame 71 {
_root.sound35.stop('wind');
}
frame 71 {
_root.musicStart = true;
}
movieClip 2657 {
}
movieClip 2658 {
}
movieClip 2660 {
}
movieClip 2661 {
}
movieClip 2662 {
}
movieClip 2663 {
frame 59 {
stop();
}
}
movieClip 2664 {
frame 1 {
stop();
}
frame 10 {
_root.char.deadbread = true;
_root.char2.gotoAndStop(7);
_root.fireMess.gotoAndStop(2);
_root.sound3.start(0, 1);
}
frame 26 {
stop();
}
}
instance of movieClip 2664 {
onClipEvent (enterFrame) {
if (_root.char.hitTest(this.a1) && this._currentframe == 1) {
this.gotoAndPlay(2);
_root.win.a1.gotoAndPlay(2);
_root.windMedal = true;
}
}
}
instance fireMess of movieClip 481 {
onClipEvent (enterFrame) {
this.a1.a1.gotoAndStop(4);
}
}
instance shield of movieClip 1481 {
onClipEvent (load) {
var shieldNumber = 0;
var shieldOn = false;
}
onClipEvent (enterFrame) {
if (shieldOn) {
_root.char2.shield.a1.gotoAndStop(2);
_root.char.speed = 0;
_root.char2.shield.gotoAndStop(1);
_root.char2.f1.stop();
_root.char2.f2.stop();
_root.char2.head.stop();
_root.char2.head.a1.stop();
_root.char2.head.a1.a1.stop();
_root.char2.head.a1.a1.a1.stop();
++shieldNumber;
if (shieldNumber == 20) {
_root.char2.head.play();
_root.char2.head.a1.play();
_root.char2.head.a1.a1.play();
_root.char2.head.a1.a1.a1.play();
_root.char.speed = 5;
_root.char2.shield.a1.gotoAndStop(1);
_root.char2.shield.play();
_root.char2.f1.play();
_root.char2.f2.play();
shieldOn = false;
shieldNumber = 0;
}
}
}
}
frame 72 {
_root.gotoAndStop('screen11');
}
frame 73 {
_root.gotoAndStop('screen11');
}