STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229672 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2596 · P5191 |
This is the info page for Flash #46536 |
SAVE |
Abandon Hope, Green |
Dot Wars Version 1.0 |
Dot Wars Version 1.0 |
LOAD |
HELP |
YOU LOSE |
Press Space to Try Again |
LOAD |
HELP |
OPTS |
Orange: Unexplored Blue: Enemies Living Green: Conqured X: You are Here |
Basement Level |
BACK |
Default Controls Arrow Keys : Move Q/W : Rotate Sword Space : End Messages M: Map (Once Found) U/D : Up/Down Stairs |
Stats Exp: Your Experience Speed : Your Movement Sword: Sword Speed Parry: Parry Strength |
Help |
CHANGE |
MUSIC |
Keys: Rotate Left Rotate Right End Messages Map (If Found) Climb Up Climb Down Up Down Right Left |
Speed |
Dungeon Level |
Floor 2 |
Floor 1 |
Floor 3 |
Green is Saved! |
It cost you your life, but what is the life of one compared to so many! |
You will be remembered for as long as Green exists. |
Game by xyxaxyz Contact: xyxaxyz@gmail.com Music: Ion Storm, by Extracy |
You lost 1000 times! |
ActionScript [AS1/AS2]
Frame 1Stage.showMenu = false;Frame 2function losehappenings() { if (Key.isDown(32)) { _global.iexist = 1; gotoAndPlay(_global.frametoreturnto); } } if (_global.notlost == 1) { _global.notlost = 0; gotoAndPlay(_global.frametoreturnto); } if (_global.notlost != 1) { _global.loadedgame = 1; youlose.onEnterFrame = losehappenings; } stop();Frame 3function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function startfrombegin() { _global.wongame = 0; _global.losscount = 0; _global.speedset = 5; _global.parry = 0; _global.moveleftkey = 37; _global.moveupkey = 38; _global.moverightkey = 39; _global.movedownkey = 40; _global.mapkey = 77; _global.rotateleftkey = 81; _global.rotaterightkey = 87; _global.endkey = 32; _global.upkey = 85; _global.downkey = 68; _global.orangekeyfound = 0; _global.mether = 0; _global.brownkeyfound = 0; _global.doublesword = 0; _global.musicon = 1; _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); mapfound = 0; _global.statup = 0; _global.herospeed = 10; _global.swordspeed = 10; _global.level = 1; _global.xp = 0; _global.movements = 5; var _local3 = 0; _global.swordrote = 0; _global.himxpos = 263; _global.himypos = 189; _global.lastframe = 0; _global.dirtoframe = 0; _global.realfirstloadedframe = new Array(300); inhibitmons_ar = new Array(100); _global.chckbxs = new Array(); _global.shapenums = new Array(); _global.wallnums = new Array(); _global.mapping = new Array(); _global.roomcondition = new Array(); _global.blueones = new Array(); _global.blueswords = new Array(); _global.arrows = new Array(); i = 0; while (i < 1000) { realfirstloadedframe[i] = 0; roomcondition[i] = 0; shapenums[i] = new Array(); chckbxs[i] = new Array(); wallnums[i] = new Array(); blueones[i] = new Array(); blueswords[i] = new Array(); arrows[i] = new Array(); i++; } firstloaded = new Array(); _root.createTextField("textbx1", 1000, 415, 15, 100, 200); textbx1.text = "Experience: " + _global.xp; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.setTextFormat(textbx1form); } function finder(a) { mover(5, 0, 20, 4); } if (startfrombeg != 1) { startfrombeg = 1; startfrombegin(); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Instance of Symbol 202 MovieClip "Sword" in Frame 3onClipEvent (load) { if (_global.doublesword > 0.9) { gotoAndStop (2); } } onClipEvent (enterFrame) { if (_level0._currentframe == 116) { if (_global.doublesword == 1) { gotoAndStop (2); } } if (_global.iexist == 0) { } this._rotation = _global.swordrote; this._x = _level0.Him._x; this._y = _level0.Him._y; this._visible = true; if (Key.isDown(_global.rotateleftkey) || (Key.isDown(_global.rotaterightkey))) { if (Key.isDown(_global.rotateleftkey)) { this._rotation = this._rotation - ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.swordrote = _global.swordrote - ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.rotatedir = 1; } if (Key.isDown(_global.rotaterightkey)) { this._rotation = this._rotation + ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.swordrote = _global.swordrote + ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.rotatedir = 2; } } else { _global.rotatedir = 0; } }Instance of Symbol 205 MovieClip "Him" in Frame 3onClipEvent (enterFrame) { _global.up = 0; _global.right = 0; _global.left = 0; _global.down = 0; _global.losscounter = 0; if ((_global.textactivated == 0) && ((_level0.gogoo == 0) || (_visible == false))) { _level0.moveStuff(this); } }Frame 4function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(7, 3, 0, 6); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Instance of Symbol 202 MovieClip "Sword" in Frame 4onClipEvent (load) { if (_global.doublesword > 0.9) { gotoAndStop (2); } } onClipEvent (enterFrame) { if (_level0._currentframe == 116) { if (_global.doublesword == 1) { gotoAndStop (2); } } if (_global.iexist == 0) { } this._rotation = _global.swordrote; this._x = _level0.Him._x; this._y = _level0.Him._y; this._visible = true; if (Key.isDown(_global.rotateleftkey) || (Key.isDown(_global.rotaterightkey))) { if (Key.isDown(_global.rotateleftkey)) { this._rotation = this._rotation - ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.swordrote = _global.swordrote - ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.rotatedir = 1; } if (Key.isDown(_global.rotaterightkey)) { this._rotation = this._rotation + ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.swordrote = _global.swordrote + ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.rotatedir = 2; } } else { _global.rotatedir = 0; } }Instance of Symbol 205 MovieClip "Him" in Frame 4onClipEvent (enterFrame) { _global.up = 0; _global.right = 0; _global.left = 0; _global.down = 0; _global.losscounter = 0; if ((_global.textactivated == 0) && ((_level0.gogoo == 0) || (_visible == false))) { _level0.moveStuff(this); } }Frame 5function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 37, 3, 7); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Instance of Symbol 205 MovieClip "Him" in Frame 5onClipEvent (enterFrame) { _global.up = 0; _global.right = 0; _global.left = 0; _global.down = 0; _global.losscounter = 0; if ((_global.textactivated == 0) && ((_level0.gogoo == 0) || (_visible == false))) { _level0.moveStuff(this); } }Frame 6function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(8, 4, 25, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Instance of Symbol 205 MovieClip "Him" in Frame 6onClipEvent (enterFrame) { _global.up = 0; _global.right = 0; _global.left = 0; _global.down = 0; _global.losscounter = 0; if ((_global.textactivated == 0) && ((_level0.gogoo == 0) || (_visible == false))) { _level0.moveStuff(this); } }Frame 7function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(14, 5, 4, 8); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 8function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 7, 6, 9); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 9function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 8, 0, 10); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 10function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(11, 9, 0, 12); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 11function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 10, 13); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 12function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(13, 10, 0, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 13function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 11, 12, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 14function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(15, 0, 7, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 15function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(16, 0, 14, 17); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 16function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 15, 18); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 17function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(18, 15, 0, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 18function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 16, 17, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 19stop();Instance of Symbol 149 MovieClip [Square] "rect3" in Frame 19onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Frame 20function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(3, 21, 0, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Instance of Symbol 202 MovieClip "Sword" in Frame 20onClipEvent (load) { if (_global.doublesword > 0.9) { gotoAndStop (2); } } onClipEvent (enterFrame) { if (_level0._currentframe == 116) { if (_global.doublesword == 1) { gotoAndStop (2); } } if (_global.iexist == 0) { } this._rotation = _global.swordrote; this._x = _level0.Him._x; this._y = _level0.Him._y; this._visible = true; if (Key.isDown(_global.rotateleftkey) || (Key.isDown(_global.rotaterightkey))) { if (Key.isDown(_global.rotateleftkey)) { this._rotation = this._rotation - ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.swordrote = _global.swordrote - ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.rotatedir = 1; } if (Key.isDown(_global.rotaterightkey)) { this._rotation = this._rotation + ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.swordrote = _global.swordrote + ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.rotatedir = 2; } } else { _global.rotatedir = 0; } }Instance of Symbol 205 MovieClip "Him" in Frame 20onClipEvent (enterFrame) { _global.up = 0; _global.right = 0; _global.left = 0; _global.down = 0; _global.losscounter = 0; if ((_global.textactivated == 0) && ((_level0.gogoo == 0) || (_visible == false))) { _level0.moveStuff(this); } }Frame 21function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 22, 0, 20); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 22function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 23, 0, 21); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 23function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 0, 22); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 24stop();Frame 25function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(6, 0, 27, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Instance of Symbol 202 MovieClip "Sword" in Frame 25onClipEvent (load) { if (_global.doublesword > 0.9) { gotoAndStop (2); } } onClipEvent (enterFrame) { if (_level0._currentframe == 116) { if (_global.doublesword == 1) { gotoAndStop (2); } } if (_global.iexist == 0) { } this._rotation = _global.swordrote; this._x = _level0.Him._x; this._y = _level0.Him._y; this._visible = true; if (Key.isDown(_global.rotateleftkey) || (Key.isDown(_global.rotaterightkey))) { if (Key.isDown(_global.rotateleftkey)) { this._rotation = this._rotation - ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.swordrote = _global.swordrote - ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.rotatedir = 1; } if (Key.isDown(_global.rotaterightkey)) { this._rotation = this._rotation + ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.swordrote = _global.swordrote + ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.rotatedir = 2; } } else { _global.rotatedir = 0; } }Instance of Symbol 205 MovieClip "Him" in Frame 25onClipEvent (enterFrame) { _global.up = 0; _global.right = 0; _global.left = 0; _global.down = 0; _global.losscounter = 0; if ((_global.textactivated == 0) && ((_level0.gogoo == 0) || (_visible == false))) { _level0.moveStuff(this); } }Frame 26_level0.textbx1.removeTextField(); _level0.textbx2.removeTextField(); stop();Instance of Symbol 247 MovieClip "bluecapt" in Frame 26onClipEvent (load) { var sp = 0; var spct = 0; var timer = 0; } onClipEvent (enterFrame) { if (Key.isDown(32)) { sp = 1; } if ((!Key.isDown(32)) && (sp == 1)) { sp = 0; spct++; } _root.createTextField("plottext", 25, 300, 249, 250, 151); if (spct == 0) { _root.plottext.text = "The Blues are further deep in Green territory than they have been in centuries. The Blue campaign has ravaged the Outer Greenlands for months, and they now prepare to strike"; } if (spct == 1) { _root.plottext.text = "into the heart of Greenistan. There is only one thing stopping them from further advancement: Captain Greck, the third most powerful dot in the Green military, and his elite army. The greatest blue general"; } if (spct == 2) { _root.plottext.text = "of them all, known only as The Blue Hero, leads a team of master Blue swordfighters to battle with Greck. The two armies meet in a tiny Green villiage at the border between Greenland and Greenistan...the"; } if (spct == 3) { _root.plottext.text = "continuing survival of Green might very well depend on this battle...."; } if (spct == 4) { _root.plottext.text = "The Blue Hero: ATTACK!!!!"; } if (spct == 5) { _root.plottext.text = "Captain Greck: They outnumber us! Hold your positions."; } if (spct > 5) { timer++; if (timer < 40) { _level0.blue1._y--; _level0.bluesword1._y--; _level0.blue2._y--; _level0.bluesword2._y--; _level0.blue3._y--; _level0.bluesword3._y--; _level0.blue4._y--; _level0.bluesword4._y--; _level0.blue5._y--; _level0.bluesword5._y--; _level0.blue6._y--; _level0.bluesword6._y--; _level0.blue7._y--; _level0.bluesword7._y--; _level0.blue8._y--; _level0.bluesword8._y--; _y = (_y-1); _level0.blueswordcapt._y--; } if ((timer >= 40) && (timer < 80)) { _level0.blue1._y--; _level0.bluesword1._y--; _level0.bluesword1._rotation = _level0.bluesword1._rotation - 0.5; _level0.blue1._x = _level0.blue1._x - 0.5; _level0.bluesword1._x = _level0.bluesword1._x - 0.5; _level0.greensword1._rotation = _level0.greensword1._rotation - 0.5; _level0.blue2._y--; _level0.bluesword2._y--; _level0.bluesword2._rotation = _level0.bluesword2._rotation - 0.1; _level0.blue3._y--; _level0.bluesword3._y--; _level0.bluesword3._rotation = _level0.bluesword3._rotation - 0.3; _level0.blue4._y = _level0.blue4._y - 0.8; _level0.bluesword4._y = _level0.bluesword4._y - 0.8; _level0.blue5._y = _level0.blue5._y - 0.8; _level0.bluesword5._y = _level0.bluesword5._y - 0.8; _level0.bluesword5._rotation = _level0.bluesword5._rotation - 0.1; _level0.blue6._y = _level0.blue6._y - 1; _level0.bluesword6._y = _level0.bluesword6._y - 1; _level0.blue6._x = _level0.blue6._x + 0.3; _level0.bluesword6._x = _level0.bluesword6._x + 0.3; _level0.bluesword6._rotation = _level0.bluesword6._rotation - 0.2; _level0.blue7._y = _level0.blue7._y - 0.8; _level0.bluesword7._y = _level0.bluesword7._y - 0.8; _level0.bluesword7._rotation = _level0.bluesword7._rotation + 0.1; _level0.blue8._y = _level0.blue8._y - 1; _level0.bluesword8._y = _level0.bluesword8._y - 1; _level0.blue8._x = _level0.blue8._x + 0.5; _level0.bluesword8._x = _level0.bluesword8._x + 0.5; _level0.bluesword8._rotation = _level0.bluesword8._rotation + 0.5; _y = (_y-1); _level0.blueswordcapt._y--; } if (timer == 80) { _level0.green1.unloadMovie(); _level0.greensword1.unloadMovie(); _level0.green5.unloadMovie(); _level0.greensword5.unloadMovie(); _level0.blue2.unloadMovie(); _level0.bluesword2.unloadMovie(); _level0.blue4.unloadMovie(); _level0.bluesword4.unloadMovie(); } if ((timer > 80) && (timer < 120)) { _level0.bluesword5._rotation--; _level0.greensword4._rotation--; _level0.greencapt._y++; _level0.greencapt._x = _level0.greencapt._x + 0.4; _level0.bluecapt._y--; _level0.greenswordcapt._y++; _level0.greenswordcapt._x = _level0.greenswordcapt._x + 0.4; _level0.blueswordcapt._y--; _level0.bluesword1._rotation++; _level0.bluesword3._rotation++; _level0.bluesword1._y--; _level0.bluesword1._x = _level0.bluesword1._x + 0.3; _level0.bluesword3._y--; _level0.blue1._y--; _level0.blue1._x = _level0.blue1._x + 0.3; _level0.blue3._y--; _level0.greensword2._rotation = _level0.greensword2._rotation + 0.5; _level0.bluesword6._y--; _level0.blue6._y--; _level0.bluesword6._rotation = _level0.bluesword6._rotation - 0.6; _level0.bluesword7._y = _level0.bluesword7._y - 0.3; _level0.blue7._y = _level0.blue7._y - 0.3; _level0.bluesword8._y--; _level0.bluesword8._rotation = _level0.bluesword8._rotation - 0.2; _level0.blue8._y--; } if (timer == 120) { _level0.bluesword8.unloadMovie(); _level0.blue8.unloadMovie(); _level0.bluesword7.unloadMovie(); _level0.blue7.unloadMovie(); _level0.greensword7.unloadMovie(); _level0.green7.unloadMovie(); _level0.greensword6.unloadMovie(); _level0.green6.unloadMovie(); _level0.bluesword1.unloadMovie(); _level0.blue1.unloadMovie(); _level0.greensword2.unloadMovie(); _level0.green2.unloadMovie(); } if ((timer > 120) && (timer < 140)) { _level0.bluesword5._rotation--; _level0.greensword4._rotation--; _level0.bluecapt._y--; _level0.greencapt._y++; _level0.blueswordcapt._y--; _level0.greenswordcapt._y++; _level0.greenswordcapt._rotation = _level0.greenswordcapt._rotation - 2.4; _level0.blue6._y--; _level0.bluesword6._y--; _level0.blue6._x--; _level0.bluesword6._x--; _level0.bluesword6._rotation--; _level0.greensword3._rotation++; _level0.bluesword3._y--; _level0.blue3._y--; } if (timer == 140) { _level0.green3.unloadMovie(); _level0.greensword3.unloadMovie(); _level0.bluesword3.unloadMovie(); _level0.blue3.unloadMovie(); _level0.blue6.unloadMovie(); _level0.bluesword6.unloadMovie(); _level0.bluesword5.unloadMovie(); _level0.greensword4.unloadMovie(); _level0.blue5.unloadMovie(); _level0.green4.unloadMovie(); } if ((timer > 140) && (timer < 160)) { _level0.bluecapt._y = _level0.bluecapt._y - 1.5; _level0.greencapt._y = _level0.greencapt._y - 0.5; _level0.blueswordcapt._y = _level0.blueswordcapt._y - 1.5; _level0.greenswordcapt._y = _level0.greenswordcapt._y - 0.5; _level0.greenswordcapt._rotation = _level0.greenswordcapt._rotation + 0.5; } if ((timer > 160) && (timer < 175)) { _level0.bluecapt._y = _level0.bluecapt._y - 1.5; _level0.bluecapt._x = _level0.bluecapt._x + 0.5; _level0.blueswordcapt._y = _level0.blueswordcapt._y - 1.5; _level0.blueswordcapt._x = _level0.blueswordcapt._x + 0.5; _level0.blueswordcapt._rotation = _level0.blueswordcapt._rotation + 0.5; _level0.greenswordcapt._rotation = _level0.greenswordcapt._rotation + 2; } if ((timer == 175) || (spct == 10)) { spct = 10; _root.plottext.text = "Captain Greck: You've got me, you dirty blooty. But I'm happy to say I took your army down with me."; } if ((timer > 175) && (spct == 11)) { _root.plottext.text = "The Blue Hero: My army may be dead, but your entire race is dead. We have won this war, and we have won it right here. Victory belongs to the superior dots. Blue dominates."; } if ((timer > 175) && (spct == 12)) { _level0.greenswordcapt.unloadMovie(); _level0.greencapt.unloadMovie(); _root.plottext.text = "And thus, Blue is the closest it has ever been to winning the many millenium long War of the Dots. It seems Blue victory is certain..."; } if ((timer > 175) && (spct == 13)) { _root.plottext.text = "But Greezio, the Green Master of Intelligence, has a plan...."; } } _root.plottext.selectable = false; plottextform = new TextFormat(); plottextform.bold = true; plottextform.font = "Perpetua"; plottextform.size = 18; plottextform.align = "left"; plottextform.leftMargin = 5; _root.plottext.multiline = true; _root.plottext.selectable = false; _root.plottext.wordWrap = true; _root.plottext.background = true; _root.plottext.border = true; _root.plottext.borderColor = 16777215 /* 0xFFFFFF */; _root.plottext.backgroundColor = "000000"; _root.plottext.textColor = "0xFFFFFF"; if ((spct == 4) || (spct == 11)) { _root.plottext.textColor = "0x0033FF"; } if ((spct == 5) || (spct == 10)) { _root.plottext.textColor = "0x33FF00"; } _root.plottext.setTextFormat(plottextform); if ((timer > 175) && (spct > 13)) { _root.plottext.removeTextField(); _global.frametoreturnto = 116; _global.notlost = 1; _root.gotoAndPlay(2); } }Frame 27function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(25, 0, 29, 28); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Instance of Symbol 202 MovieClip "Sword" in Frame 27onClipEvent (load) { if (_global.doublesword > 0.9) { gotoAndStop (2); } } onClipEvent (enterFrame) { if (_level0._currentframe == 116) { if (_global.doublesword == 1) { gotoAndStop (2); } } if (_global.iexist == 0) { } this._rotation = _global.swordrote; this._x = _level0.Him._x; this._y = _level0.Him._y; this._visible = true; if (Key.isDown(_global.rotateleftkey) || (Key.isDown(_global.rotaterightkey))) { if (Key.isDown(_global.rotateleftkey)) { this._rotation = this._rotation - ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.swordrote = _global.swordrote - ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.rotatedir = 1; } if (Key.isDown(_global.rotaterightkey)) { this._rotation = this._rotation + ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.swordrote = _global.swordrote + ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.rotatedir = 2; } } else { _global.rotatedir = 0; } }Instance of Symbol 205 MovieClip "Him" in Frame 27onClipEvent (enterFrame) { _global.up = 0; _global.right = 0; _global.left = 0; _global.down = 0; _global.losscounter = 0; if ((_global.textactivated == 0) && ((_level0.gogoo == 0) || (_visible == false))) { _level0.moveStuff(this); } }Frame 28function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 27, 0, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 29function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(27, 30, 0, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 30function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 32, 31, 29); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 31function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(30, 33, 0, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 32function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 34, 33, 30); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 33function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(32, 35, 0, 31); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 34function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 36, 35, 32); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 35function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(34, 0, 0, 33); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 36function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 0, 34, 0, 44); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Instance of Symbol 202 MovieClip "Sword" in Frame 36onClipEvent (load) { if (_global.doublesword > 0.9) { gotoAndStop (2); } } onClipEvent (enterFrame) { if (_level0._currentframe == 116) { if (_global.doublesword == 1) { gotoAndStop (2); } } if (_global.iexist == 0) { } this._rotation = _global.swordrote; this._x = _level0.Him._x; this._y = _level0.Him._y; this._visible = true; if (Key.isDown(_global.rotateleftkey) || (Key.isDown(_global.rotaterightkey))) { if (Key.isDown(_global.rotateleftkey)) { this._rotation = this._rotation - ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.swordrote = _global.swordrote - ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.rotatedir = 1; } if (Key.isDown(_global.rotaterightkey)) { this._rotation = this._rotation + ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.swordrote = _global.swordrote + ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.rotatedir = 2; } } else { _global.rotatedir = 0; } }Instance of Symbol 205 MovieClip "Him" in Frame 36onClipEvent (enterFrame) { _global.up = 0; _global.right = 0; _global.left = 0; _global.down = 0; _global.losscounter = 0; if ((_global.textactivated == 0) && ((_level0.gogoo == 0) || (_visible == false))) { _level0.moveStuff(this); } }Frame 37function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 38, 0, 5); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Instance of Symbol 205 MovieClip "Him" in Frame 37onClipEvent (enterFrame) { _global.up = 0; _global.right = 0; _global.left = 0; _global.down = 0; _global.losscounter = 0; if ((_global.textactivated == 0) && ((_level0.gogoo == 0) || (_visible == false))) { _level0.moveStuff(this); } }Frame 38function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(39, 0, 0, 37); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 39function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(40, 0, 38, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 40function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(42, 0, 39, 41); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 41function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(43, 40, 0, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 42function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 40, 43); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 43function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 42, 41, 0, 95, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 44function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 0, 0, 36, 73); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Instance of Symbol 205 MovieClip "Him" in Frame 44onClipEvent (enterFrame) { _global.up = 0; _global.right = 0; _global.left = 0; _global.down = 0; _global.losscounter = 0; if ((_global.textactivated == 0) && ((_level0.gogoo == 0) || (_visible == false))) { _level0.moveStuff(this); } }Frame 45function MoveKeySet() { reset(); MoveKeyTxt.textColor = "0x000000"; MoveKeyTxt.backgroundColor = "0xFFFFFF"; MoveKeyTxt.text = "Press Key"; keytochange = 1; } function RotateKeySet() { reset(); RotateKeyTxt.textColor = "0x000000"; RotateKeyTxt.backgroundColor = "0xFFFFFF"; RotateKeyTxt.text = "Press Key"; keytochange = 2; } function EndKeySet() { reset(); EndKeyTxt.textColor = "0x000000"; EndKeyTxt.backgroundColor = "0xFFFFFF"; EndKeyTxt.text = "Press Key"; keytochange = 3; } function MapKeySet() { reset(); MapKeyTxt.textColor = "0x000000"; MapKeyTxt.backgroundColor = "0xFFFFFF"; MapKeyTxt.text = "Press Key"; keytochange = 4; } function UpKeySet() { reset(); UpKeyTxt.textColor = "0x000000"; UpKeyTxt.backgroundColor = "0xFFFFFF"; UpKeyTxt.text = "Press Key"; keytochange = 5; } function DownKeySet() { reset(); DownKeyTxt.textColor = "0x000000"; DownKeyTxt.backgroundColor = "0xFFFFFF"; DownKeyTxt.text = "Press Key"; keytochange = 6; } function MoveUpKeySet() { reset(); MoveUpKeyText.textColor = "0x000000"; MoveUpKeyText.backgroundColor = "0xFFFFFF"; MoveUpKeyText.text = "Press Key"; keytochange = 7; } function MoveDownKeySet() { reset(); MoveDownKeyText.textColor = "0x000000"; MoveDownKeyText.backgroundColor = "0xFFFFFF"; MoveDownKeyText.text = "Press Key"; keytochange = 8; } function MoveRightKeySet() { reset(); MoveRightKeyText.textColor = "0x000000"; MoveRightKeyText.backgroundColor = "0xFFFFFF"; MoveRightKeyText.text = "Press Key"; keytochange = 9; } function MoveLeftKeySet() { reset(); MoveLeftKeyText.textColor = "0x000000"; MoveLeftKeyText.backgroundColor = "0xFFFFFF"; MoveLeftKeyText.text = "Press Key"; keytochange = 10; } function reset() { keytochange = 0; MoveUpKeyText.backgroundColor = 0; MoveRightKeyText.backgroundColor = 0; MoveLeftKeyText.backgroundColor = 0; MoveDownKeyText.backgroundColor = 0; MoveKeyTxt.backgroundColor = 0; RotateKeyTxt.backgroundColor = 0; EndKeyTxt.backgroundColor = 0; MapKeyTxt.backgroundColor = 0; UpKeyTxt.backgroundColor = 0; DownKeyTxt.backgroundColor = 0; MoveKeyTxt.textColor = "0xFFFFFF"; RotateKeyTxt.textColor = "0xFFFFFF"; EndKeyTxt.textColor = "0xFFFFFF"; MapKeyTxt.textColor = "0xFFFFFF"; UpKeyTxt.textColor = "0xFFFFFF"; DownKeyTxt.textColor = "0xFFFFFF"; MoveUpKeyText.textColor = "0xFFFFFF"; MoveDownKeyText.textColor = "0xFFFFFF"; MoveRightKeyText.textColor = "0xFFFFFF"; MoveLeftKeyText.textColor = "0xFFFFFF"; MoveKeyTxt.text = charname(_global.rotateleftkey); RotateKeyTxt.text = charname(_global.rotaterightkey); EndKeyTxt.text = charname(_global.endkey); MapKeyTxt.text = charname(_global.mapkey); UpKeyTxt.text = charname(_global.upkey); DownKeyTxt.text = charname(_global.downkey); MoveUpKeyText.text = charname(_global.moveupkey); MoveDownKeyText.text = charname(_global.movedownkey); MoveRightKeyText.text = charname(_global.moverightkey); MoveLeftKeyText.text = charname(_global.moveleftkey); } function CheckKeyChange() { if (keytochange == 1) { _global.rotateleftkey = Key.getCode(); } if (keytochange == 2) { _global.rotaterightkey = Key.getCode(); } if (keytochange == 3) { _global.endkey = Key.getCode(); } if (keytochange == 4) { _global.mapkey = Key.getCode(); } if (keytochange == 5) { _global.upkey = Key.getCode(); } if (keytochange == 6) { _global.downkey = Key.getCode(); } if (keytochange == 7) { _global.moveupkey = Key.getCode(); } if (keytochange == 8) { _global.movedownkey = Key.getCode(); } if (keytochange == 9) { _global.moverightkey = Key.getCode(); } if (keytochange == 10) { _global.moveleftkey = Key.getCode(); } reset(); } function charname(a) { if ((a >= 65) && (a <= 90)) { return(String.fromCharCode(a)); } if (a == 8) { return("Backspace"); } if (a == 9) { return("Tab"); } if (a == 13) { return("Enter"); } if (a == 16) { return("Shift"); } if (a == 17) { return("Control"); } if (a == 18) { return("Alt"); } if (a == 32) { return("Spacebar"); } if (a == 33) { return("Page Up"); } if (a == 34) { return("Page Down"); } if (a == 35) { return("End"); } if (a == 36) { return("Home"); } if (a == 45) { return("Insert"); } if (a == 46) { return("Delete"); } if (a == 47) { return("Help"); } if (a == 144) { return("Num Lock"); } if (a == 37) { return("Left"); } if (a == 38) { return("Up"); } if (a == 39) { return("Right"); } if (a == 40) { return("Down"); } } reset(); if (_global.musicon == 1) { onoff.text = "On"; } else if (_global.musicon == 2) { onoff.text = "Off"; } onoff.textColor = "0xFFFFFF"; onoff.backgroundColor = "0x000000"; music1.onRelease = function () { if (_global.musicon == 1) { _global.global_sound.stop(); _global.musicon = 2; onoff.text = "Off"; } else if (_global.musicon == 2) { _global.global_sound.start(); _global.musicon = 1; onoff.text = "On"; } onoff.textColor = "0xFFFFFF"; onoff.backgroundColor = "0x000000"; }; SpeedBar.gotoAndStop(_global.speedset); SpeedPlus.onRelease = function () { if (_global.speedset < 11) { _global.speedset++; SpeedBar.gotoAndStop(_global.speedset); } }; SpeedMinus.onRelease = function () { if (_global.speedset > 1) { _global.speedset--; SpeedBar.gotoAndStop(_global.speedset); } }; KeyChangeChecker.onKeyDown = CheckKeyChange; Key.addListener(KeyChangeChecker); MoveKeyChange.onRelease = MoveKeySet; RotateKeyChange.onRelease = RotateKeySet; EndKeyChange.onRelease = EndKeySet; UpKeyChange.onRelease = UpKeySet; DownKeyChange.onRelease = DownKeySet; MapKeyChange.onRelease = MapKeySet; MoveUpKeyChange.onRelease = MoveUpKeySet; MoveRightKeyChange.onRelease = MoveRightKeySet; MoveDownKeyChange.onRelease = MoveDownKeySet; MoveLeftKeyChange.onRelease = MoveLeftKeySet; stop();Frame 46stop();Instance of Symbol 149 MovieClip [Square] "rect77" in Frame 46onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Instance of Symbol 149 MovieClip [Square] "rect79" in Frame 46onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Instance of Symbol 149 MovieClip [Square] "rect76" in Frame 46onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Instance of Symbol 149 MovieClip [Square] "rect78" in Frame 46onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Instance of Symbol 149 MovieClip [Square] "rect80" in Frame 46onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Instance of Symbol 149 MovieClip [Square] "rect83" in Frame 46onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Instance of Symbol 149 MovieClip [Square] "rect81" in Frame 46onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Instance of Symbol 149 MovieClip [Square] "rect82" in Frame 46onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Instance of Symbol 149 MovieClip [Square] "rect84" in Frame 46onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Instance of Symbol 149 MovieClip [Square] "rect85" in Frame 46onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Instance of Symbol 149 MovieClip [Square] "rect86" in Frame 46onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Instance of Symbol 149 MovieClip [Square] "rect87" in Frame 46onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Instance of Symbol 149 MovieClip [Square] "rect88" in Frame 46onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Instance of Symbol 149 MovieClip [Square] "rect89" in Frame 46onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Instance of Symbol 149 MovieClip [Square] "rect92" in Frame 46onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Instance of Symbol 149 MovieClip [Square] "rect93" in Frame 46onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Instance of Symbol 149 MovieClip [Square] "rect94" in Frame 46onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Instance of Symbol 149 MovieClip [Square] "rect90" in Frame 46onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Instance of Symbol 149 MovieClip [Square] "rect91" in Frame 46onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Frame 47_level0.textbx1.removeTextField(); stop();Instance of Symbol 245 MovieClip "Green" in Frame 47onClipEvent (load) { plottime = 0; sp = 0; spct = 0; } onClipEvent (enterFrame) { if (Key.isDown(32)) { sp = 1; } if ((!Key.isDown(32)) && (sp == 1)) { sp = 0; spct++; } plottime++; if (plottime < 100) { spct = 0; _x = (_x+1); _level0.GreenSword._x++; _level0.GreenSword._rotation = -90; } if ((plottime > 100) && (spct == 0)) { _root.createTextField("plottext", 25, 230, 165, 250, 151); _root.plottext.text = "What! Who the green are you? What is a perverted Greenie barbarian doing here? You know us Blues are going to grate you into a thousand pieces don't you? Why do you smelly corpses even fight back?"; } if (spct == 1) { _root.createTextField("plottext", 25, _x - 125, 165, 250, 151); _root.plottext.text = "I think what I'm doing is quite clear. Butchering Blue meat. I am going to kill every single one of you dirty little sickos in this place."; } if (spct == 2) { _root.createTextField("plottext", 25, _x - 125, 165, 250, 151); _root.plottext.text = "EVERY SINGLE ONE. I DETEST YOU REDBRAINS! EVERY SINGLE ONE OF YOU IS A STINKING COWARD AND I AM GOING TO KILL EVERY SINGLE ONE OF YOU FOR THE PRIDE OF GREEN."; } if ((spct > 2) && (spct < 50)) { _x = (_x+1); _level0.GreenSword._x++; if (_level0.GreenSword.hitTest(_level0.Blue)) { _level0.Blue.unloadMovie(); spct = 50; } } if (spct > 49) { _root.createTextField("plottext", 25, _x - 125, 165, 250, 151); _root.plottext.text = "CURSE YOU BLUE! EVERY BLUE WHO LIVES! LET THIS BE YOUR WARNING! EVERY SINGLE LAST ONE OF YOU IS GOING TO DIE JUST LIKE THIS ANNOYING FOOL!"; _level0.GreenSword._rotation = _level0.GreenSword._rotation - 3; } _root.plottext.selectable = false; plottextform = new TextFormat(); plottextform.bold = true; plottextform.font = "Perpetua"; plottextform.size = 18; plottextform.align = "left"; plottextform.leftMargin = 5; _root.plottext.multiline = true; _root.plottext.selectable = false; _root.plottext.wordWrap = true; _root.plottext.background = true; _root.plottext.border = true; _root.plottext.borderColor = 16777215 /* 0xFFFFFF */; _root.plottext.backgroundColor = "000000"; _root.plottext.textColor = "0xFFFFFF"; if ((plottime > 100) && (spct == 0)) { _root.plottext.textColor = "0x00CCFF"; } if (spct >= 1) { _root.plottext.textColor = "0x33FF00"; } _root.plottext.setTextFormat(plottextform); if (spct == 51) { _global.iexist = 0; _root.plottext.removeTextField(); _global.frametoreturnto = 43; _global.notlost = 1; _root.gotoAndPlay(2); } }Frame 48_level0.textbx1.removeTextField(); _level0.textbx2.removeTextField(); stop();Instance of Symbol 245 MovieClip "Green" in Frame 48onClipEvent (load) { plottime = 0; sp = 0; spct = 0; } onClipEvent (enterFrame) { if (Key.isDown(32)) { sp = 1; } if ((!Key.isDown(32)) && (sp == 1)) { sp = 0; spct++; } _root.createTextField("plottext", 25, 0, 250, 250, 151); if (spct == 0) { _root.plottext.text = "...."; } if (spct == 1) { _root.plottext.text = "The memory of your ultimate purpose returns momentarily to your mind."; } if (spct == 2) { _root.plottext.text = "Director:Elite of Green! You know you are our best. And in these times of extreme trouble, the best are called to be better. To become Heroes of Green, Saviours of Greendom, Warriors for Greenish Glory."; } if (spct == 3) { _root.plottext.text = "To demonstrate what it means to be Green! We all know we are closer to doom than ever before. But it will not occur. We will turn back the Bluish hordes. That is what we have always done, and that is what"; } if (spct == 4) { _root.plottext.text = "we will continue to do. That is what you ten must do. We have no hope of beating the blues in number, they multiply like Greys. We've got to take out their top leadership. And that is the job I am set to give you."; } if (spct == 5) { _root.plottext.text = "You must go in secret through Bluish territory, using stealth to get into The Blue City. Then, sneak into their castle and assasinate King Blip. That is the job you ten, you Ten Best of Green, must accomplish."; } if (spct == 6) { _root.plottext.text = "The fate of Green is in your swords. You must succeed. For Greenist triumph over weak-minded Bluity; for Good over Evil, for God over Devil. You must succeed. And you will succeed..."; } if (spct > 6) { _root.plottext.text = "The fate of Green is in your swords. You must succeed. For Greenist triumph over weak-minded Bluity; for Good over Evil, for God over Devil. You must succeed. And you will succeed..."; plottime++; } if (plottime == 2) { _level0.GreenDir.unloadMovie(); } if (plottime == 10) { _level0.Green2.unloadMovie(); } if (plottime == 20) { _level0.Green3.unloadMovie(); } if (plottime == 30) { _level0.Green4.unloadMovie(); } if (plottime == 40) { _level0.Green5.unloadMovie(); } if (plottime == 50) { _level0.Green6.unloadMovie(); } if (plottime == 60) { _level0.Green7.unloadMovie(); } if (plottime == 70) { _level0.Green8.unloadMovie(); } if (plottime == 80) { _level0.Green9.unloadMovie(); } if (plottime == 90) { _level0.Green1.unloadMovie(); } if (plottime == 100) { spct = 0; plottime++; } if (plottime > 100) { _root.plottext.text = "But now I am alone...."; if (spct == 1) { _root.plottext.removeTextField(); _global.frametoreturnto = 36; _global.notlost = 1; _root.gotoAndPlay(2); } } _root.plottext.selectable = false; plottextform = new TextFormat(); plottextform.bold = true; plottextform.font = "Perpetua"; plottextform.size = 18; plottextform.align = "left"; plottextform.leftMargin = 5; _root.plottext.multiline = true; _root.plottext.selectable = false; _root.plottext.wordWrap = true; _root.plottext.background = true; _root.plottext.border = true; _root.plottext.borderColor = 16777215 /* 0xFFFFFF */; _root.plottext.backgroundColor = "000000"; _root.plottext.textColor = "0xFFFFFF"; if ((spct > 1) || (plottime > 100)) { _root.plottext.textColor = "0x33FF00"; } _root.plottext.setTextFormat(plottextform); }Frame 49_level0.textbx1.removeTextField(); _level0.textbx2.removeTextField(); stop();Instance of Symbol 247 MovieClip in Frame 49onClipEvent (load) { plottime = 0; sp = 0; spct = 0; } onClipEvent (enterFrame) { if (Key.isDown(32)) { sp = 1; } if ((!Key.isDown(32)) && (sp == 1)) { sp = 0; spct++; } if (spct == 0) { _root.createTextField("plottext", 25, 0, 0, 250, 151); _root.plottext.text = "Dungeon Captain: KILL HIM!!!"; } _root.plottext.selectable = false; plottextform = new TextFormat(); plottextform.bold = true; plottextform.font = "Perpetua"; plottextform.size = 30; plottextform.align = "left"; plottextform.leftMargin = 5; _root.plottext.multiline = true; _root.plottext.selectable = false; _root.plottext.wordWrap = true; _root.plottext.background = true; _root.plottext.border = true; _root.plottext.borderColor = 16777215 /* 0xFFFFFF */; _root.plottext.backgroundColor = "000000"; _root.plottext.textColor = "0xFFFFFF"; if (spct == 1) { _root.plottext.textColor = "0x00CCFF"; } _root.plottext.setTextFormat(plottextform); if (spct > 0) { _root.plottext.removeTextField(); _global.frametoreturnto = 93; _global.notlost = 1; _root.gotoAndPlay(2); } }Frame 50_level0.textbx1.removeTextField(); _level0.textbx2.removeTextField(); stop();Instance of Symbol 106 MovieClip [BlueGuardCapt] in Frame 50onClipEvent (load) { plottime = 0; sp = 0; spct = 0; } onClipEvent (enterFrame) { if (Key.isDown(32)) { sp = 1; } if ((!Key.isDown(32)) && (sp == 1)) { sp = 0; spct++; } if (spct == 0) { _root.createTextField("plottext", 25, 171, 0, 250, 151); _root.plottext.text = "You aren't going to kill me. You can't kill me. Little Green idiot. You are gonna die, kid."; } if (spct > 0) { plottime++; _y = (_y-1); _level0.longsword._y--; } if ((plottime > 0) && (plottime < 150)) { _root.createTextField("plottext", 25, 171, 250, 250, 151); _root.plottext.text = "I know how you got this far. I'm not gonna be so easy. I'm not gonna rush right into your slutty sword. "; } if (plottime > 150) { _root.createTextField("plottext", 25, 171, 250, 250, 151); _root.plottext.text = "Come and get me, silly coward."; } _root.plottext.selectable = false; plottextform = new TextFormat(); plottextform.bold = true; plottextform.font = "Perpetua"; plottextform.size = 25; plottextform.align = "left"; plottextform.leftMargin = 5; _root.plottext.multiline = true; _root.plottext.selectable = false; _root.plottext.wordWrap = true; _root.plottext.background = true; _root.plottext.border = true; _root.plottext.borderColor = 16777215 /* 0xFFFFFF */; _root.plottext.backgroundColor = "000000"; _root.plottext.textColor = "0xFFFFFF"; if (spct >= 0) { _root.plottext.textColor = "0x00CCFF"; } _root.plottext.setTextFormat(plottextform); if (plottime > 300) { _root.plottext.removeTextField(); _global.frametoreturnto = 94; _global.notlost = 1; _root.gotoAndPlay(2); } }Frame 51_level0.textbx1.removeTextField(); _level0.textbx2.removeTextField(); stop();Instance of Symbol 245 MovieClip in Frame 51onClipEvent (load) { plottime = 0; sp = 0; spct = 0; } onClipEvent (enterFrame) { if (Key.isDown(32)) { sp = 1; } if ((!Key.isDown(32)) && (sp == 1)) { sp = 0; spct++; } if (spct == 0) { _root.createTextField("plottext", 25, 0, 250, 250, 151); _root.plottext.text = "Captive: You perverts can torture me all you want! I'm never going to tell you anything. Ever. Unlike you weaklings, a Green never reveals secrets to the enemy."; } if (spct == 1) { _root.createTextField("plottext", 25, 0, 250, 250, 151); _root.plottext.text = "Guard: Green is dead forever. That should tell you which is the superior race. You barbaric ignoramuses will never recover. Your resistance is useless."; } if (spct == 2) { _root.createTextField("plottext", 25, 0, 250, 250, 151); _root.plottext.text = "You might as well tell us where your idiot king is. We will allow you to die peacefully if you do so. Green is doomed anyways. We are superior."; } if (spct == 3) { _root.createTextField("plottext", 25, 0, 250, 250, 151); _root.plottext.text = "Never. Never never never never. Kill all you greyguts."; } if (spct == 4) { _root.createTextField("plottext", 25, 0, 250, 250, 151); _root.plottext.text = "Other Guard: Looks like we've got a visitor."; } if (spct == 5) { _root.createTextField("plottext", 25, 0, 250, 250, 151); _root.plottext.text = "What the Blue? I thought we killed all the other Greenie captives."; } if (spct == 6) { _root.createTextField("plottext", 25, 0, 250, 250, 151); _root.plottext.text = "Well, let's just finish the job off right now."; } if (spct > 3) { if ((Math.round(_level0.s1._rotation) != 180) && (Math.round(_level0.s1._rotation0) != -180)) { _level0.s1._rotation++; } if ((Math.round(_level0.s2._rotation) != 180) && (Math.round(_level0.s1._rotation0) != -180)) { _level0.s2._rotation++; } } _root.plottext.selectable = false; plottextform = new TextFormat(); plottextform.bold = true; plottextform.font = "Perpetua"; plottextform.size = 20; plottextform.align = "left"; plottextform.leftMargin = 5; _root.plottext.multiline = true; _root.plottext.selectable = false; _root.plottext.wordWrap = true; _root.plottext.background = true; _root.plottext.border = true; _root.plottext.borderColor = 16777215 /* 0xFFFFFF */; _root.plottext.backgroundColor = "000000"; _root.plottext.textColor = "0x00CCFF"; if ((spct == 0) || (spct == 3)) { _root.plottext.textColor = "0x00FF33"; } _root.plottext.setTextFormat(plottextform); if (spct > 6) { _root.plottext.removeTextField(); _global.frametoreturnto = 86; _global.notlost = 1; _root.gotoAndPlay(2); } }Frame 52_level0.textbx1.removeTextField(); _level0.textbx2.removeTextField(); stop();Instance of Symbol 245 MovieClip in Frame 52onClipEvent (load) { plottime = 0; sp = 0; spct = 0; } onClipEvent (enterFrame) { if (Key.isDown(32)) { sp = 1; } if ((!Key.isDown(32)) && (sp == 1)) { sp = 0; spct++; } if (spct == 0) { _root.createTextField("plottext", 25, 100, 50, 250, 151); _root.plottext.text = "Captive: A Green! Such a great sight I never thought I'd ever see again."; } if (spct == 1) { _root.createTextField("plottext", 25, 50, 50, 250, 151); _root.plottext.text = "I did not think I'd find a worthy life in this place. Are there any other Green's living?"; } if (spct == 2) { _root.createTextField("plottext", 25, 100, 50, 250, 151); _root.plottext.text = "Captive: Not a one. I'm the last. The dirty cowards executed every other one of us. But I see you have brought vengeance."; } if (spct == 3) { _root.createTextField("plottext", 25, 50, 50, 250, 151); _root.plottext.text = "It is not vengeance I come for, but success. I will kill King Blip. I will destroy Blue. And I will save Green."; } if (spct == 4) { _root.createTextField("plottext", 25, 100, 50, 250, 151); _root.plottext.text = "Captive: A worthy goal, but not an easy one. This place is very well defended. I wish I could help you, but those cowardly Blues...they mutilated me."; } if (spct == 5) { _root.createTextField("plottext", 25, 50, 50, 250, 151); _root.plottext.text = "That's...disgusting....Saving a Green brings me vast happiness, but I must continue on the road to the death of Blue itself...."; } if (spct == 6) { _root.createTextField("plottext", 25, 100, 50, 250, 151); _root.plottext.text = "Captive: Wait! Just because I can't fight doesn't mean I've lost all my skill. I used to be a top fighter and I could teach you a few things to make life easier."; } if (spct == 7) { _root.createTextField("plottext", 25, 50, 50, 250, 151); _root.plottext.text = "I'd say I'm quite a fine swordsdot on my own."; } if (spct == 8) { _root.createTextField("plottext", 25, 100, 50, 250, 151); _root.plottext.text = "Captive: You're fast and quick and sharp, which is useful against all these bugs you're fighting now. But against a swarm of swordsman? You've got to"; } if (spct == 9) { _root.createTextField("plottext", 25, 100, 50, 250, 151); _root.plottext.text = "learn some techniques if you want to destroy this place by yourself."; } if (spct == 10) { _root.createTextField("plottext", 25, 50, 50, 250, 151); _root.plottext.text = "And what can you offer me?"; } if (spct == 11) { _root.createTextField("plottext", 25, 100, 50, 250, 151); _root.plottext.text = "Captive: The art of parrying, It is a powerful skill; one which will vastly improve your ability to combat other swords."; } if (spct == 12) { _root.createTextField("plottext", 25, 50, 50, 250, 151); _root.plottext.text = "Parrying! I'm no coward. Parrying is for dots too weak to outmaneuver their opponent."; } if (spct == 13) { _root.createTextField("plottext", 25, 100, 50, 250, 151); _root.plottext.text = "Captive: Don't let your pride keep you down. You have only one important goal and must use all possible resources to accomplish that goal. The"; } if (spct == 14) { _root.createTextField("plottext", 25, 100, 50, 250, 151); _root.plottext.text = "fate of Green is in your sword. Let me teach you."; } if (spct == 15) { _root.createTextField("plottext", 25, 50, 50, 250, 151); _root.plottext.text = "<TIME PASSES>"; } if (spct == 16) { _root.createTextField("plottext", 25, 150, 50, 250, 151); _root.plottext.text = "Captive: There, very good job. You are now as good as me at parrying. Good luck. Fight for Greendom."; _global.parry = 1; } if (spct == 17) { _root.createTextField("plottext", 25, 50, 50, 250, 151); _root.plottext.text = "Thanks."; } _root.plottext.selectable = false; plottextform = new TextFormat(); plottextform.bold = true; plottextform.font = "Perpetua"; plottextform.size = 20; plottextform.align = "left"; plottextform.leftMargin = 5; _root.plottext.multiline = true; _root.plottext.selectable = false; _root.plottext.wordWrap = true; _root.plottext.background = true; _root.plottext.border = true; _root.plottext.borderColor = 16777215 /* 0xFFFFFF */; _root.plottext.backgroundColor = "000000"; _root.plottext.textColor = "0x00CCFF"; _root.plottext.textColor = "0x00FF33"; _root.plottext.setTextFormat(plottextform); if (spct > 17) { _root.plottext.removeTextField(); _global.frametoreturnto = 86; _global.notlost = 1; _root.gotoAndPlay(2); } }Frame 53_level0.textbx1.removeTextField(); _level0.textbx2.removeTextField(); stop();Instance of Symbol 295 MovieClip in Frame 53onClipEvent (enterFrame) { _root.createTextField("plottext", 25, 150, 175, 250, 50); _root.plottext.text = "<You hear sounds of anguished screams to the East>"; _root.plottext.selectable = false; plottextform = new TextFormat(); plottextform.bold = true; plottextform.font = "Perpetua"; plottextform.size = 18; plottextform.align = "left"; plottextform.leftMargin = 5; _root.plottext.multiline = true; _root.plottext.selectable = false; _root.plottext.wordWrap = true; _root.plottext.background = true; _root.plottext.border = true; _root.plottext.borderColor = 16777215 /* 0xFFFFFF */; _root.plottext.backgroundColor = "000000"; _root.plottext.textColor = "0x00FF33"; _root.plottext.setTextFormat(plottextform); if (Key.isDown(32)) { _root.plottext.removeTextField(); _global.frametoreturnto = 77; _global.notlost = 1; _root.gotoAndPlay(2); } }Frame 54stop();Instance of Symbol 149 MovieClip [Square] "rect121" in Frame 54onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Frame 55stop();Instance of Symbol 149 MovieClip [Square] "rect95" in Frame 55onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Frame 56stop();Instance of Symbol 149 MovieClip [Square] "rect134" in Frame 56onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }Frame 57_level0.textbx1.removeTextField(); _level0.textbx2.removeTextField(); stop();Instance of Symbol 295 MovieClip in Frame 57onClipEvent (enterFrame) { _root.createTextField("plottext", 25, 150, 175, 250, 50); _root.plottext.text = "<The sounds of screaming die down.>"; _root.plottext.selectable = false; plottextform = new TextFormat(); plottextform.bold = true; plottextform.font = "Perpetua"; plottextform.size = 20; plottextform.align = "left"; plottextform.leftMargin = 5; _root.plottext.multiline = true; _root.plottext.selectable = false; _root.plottext.wordWrap = true; _root.plottext.background = true; _root.plottext.border = true; _root.plottext.borderColor = 16777215 /* 0xFFFFFF */; _root.plottext.backgroundColor = "000000"; _root.plottext.textColor = "0x00FF33"; _root.plottext.setTextFormat(plottextform); if (Key.isDown(32)) { _root.plottext.removeTextField(); _global.frametoreturnto = 78; _global.notlost = 1; _root.gotoAndPlay(2); } }Frame 58_level0.textbx1.removeTextField(); _level0.textbx2.removeTextField(); stop();Instance of Symbol 202 MovieClip "Sword" in Frame 58onClipEvent (load) { if (_global.doublesword > 0.9) { gotoAndStop (2); } } onClipEvent (enterFrame) { if (_level0._currentframe == 116) { if (_global.doublesword == 1) { gotoAndStop (2); } } if (_global.iexist == 0) { } this._rotation = _global.swordrote; this._x = _level0.Him._x; this._y = _level0.Him._y; this._visible = true; if (Key.isDown(_global.rotateleftkey) || (Key.isDown(_global.rotaterightkey))) { if (Key.isDown(_global.rotateleftkey)) { this._rotation = this._rotation - ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.swordrote = _global.swordrote - ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.rotatedir = 1; } if (Key.isDown(_global.rotaterightkey)) { this._rotation = this._rotation + ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.swordrote = _global.swordrote + ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.rotatedir = 2; } } else { _global.rotatedir = 0; } }Instance of Symbol 302 MovieClip in Frame 58onClipEvent (load) { p = 0; space = 0; } onClipEvent (enterFrame) { if (p == 0) { _root.createTextField("plottext", 25, 20, 25, 250, 150); _root.plottext.text = "Wizard: Hero of Green! Listen to me a moment."; } if (p == 1) { _root.createTextField("plottext", 25, 170, 25, 250, 150); _root.plottext.text = "The wizard of blue...I finally meet you who has killed so many of our best fighters using despicable methods of deception and dishonor...."; } if (p == 0) { _root.createTextField("plottext", 25, 20, 25, 250, 150); _root.plottext.text = "Wizard: Hero of Green! Listen to me a moment."; } if (p == 1) { _root.createTextField("plottext", 25, 170, 25, 250, 150); _root.plottext.text = "The wizard of blue...I finally meet you who has killed so many of our best fighters using despicable methods of deception and dishonor...."; } if (p == 0) { _root.createTextField("plottext", 25, 20, 25, 250, 150); _root.plottext.text = "Wizard: Hero of Green! Listen to me a moment."; } if (p == 1) { _root.createTextField("plottext", 25, 170, 25, 250, 150); _root.plottext.text = "The wizard of blue...I finally meet you who has killed so many of our best fighters using despicable methods of deception and dishonor...."; } if (p == 2) { _root.createTextField("plottext", 25, 20, 25, 250, 150); _root.plottext.text = "Hero of Green, I have no desire to kill you. I've traced your path from when you entered this place--"; } if (p == 3) { _root.createTextField("plottext", 25, 170, 25, 250, 150); _root.plottext.text = "Prepare to die, yet another blue coward."; } if (p == 4) { _root.createTextField("plottext", 25, 20, 25, 250, 150); _root.plottext.text = "Listen, hero. Look at me! I am not even blue; even your own color is on my body. I am no longer aligned in this conflict."; } if (p == 5) { _root.createTextField("plottext", 25, 170, 25, 250, 150); _root.plottext.text = "It is too late to back out now, murderer. You have the color of hundreds of greens on your wand."; } if (p == 6) { _root.createTextField("plottext", 25, 20, 25, 275, 150); _root.plottext.text = "It is not out of fear for me that I wish to avoid this fight! I just don't want the career of such a great hero as you to be cut short before you have a chance at completing your mission!"; } if (p == 7) { _root.createTextField("plottext", 25, 170, 25, 250, 150); _root.plottext.text = "There will be no hero's life cut short today, redbrain. No more words."; } if (p == 8) { _root.createTextField("plottext", 25, 20, 25, 250, 150); _root.plottext.text = "If you agree to a truce I will give you The Green Sword--"; } if (p == 9) { _root.createTextField("plottext", 25, 170, 25, 250, 150); _root.plottext.text = "NO MORE WORDS! This will only end with your death!"; } if (p == 10) { _root.createTextField("plottext", 25, 20, 25, 250, 150); _root.plottext.text = "How many heroes have been destroyed by pride! If you must be so obstinate, you will die right here! I am unkillable!"; } _root.plottext.selectable = false; plottextform = new TextFormat(); plottextform.bold = true; plottextform.font = "Perpetua"; plottextform.size = 20; if (p == 6) { plottextform.size = 19.5; } plottextform.align = "left"; plottextform.leftMargin = 5; _root.plottext.multiline = true; _root.plottext.selectable = false; _root.plottext.wordWrap = true; _root.plottext.background = true; _root.plottext.border = true; _root.plottext.borderColor = 16777215 /* 0xFFFFFF */; _root.plottext.backgroundColor = "000000"; if (Math.round(p / 2) == (p / 2)) { _root.plottext.textColor = "0xFFFFFF"; } else { _root.plottext.textColor = "0x00FF33"; } _root.plottext.setTextFormat(plottextform); if (p == 11) { _root.plottext.removeTextField(); _global.frametoreturnto = 120; _global.notlost = 1; _root.gotoAndPlay(2); } if (Key.isDown(32)) { space = 1; } if ((space == 1) && (!Key.isDown(32))) { space = 0; p++; } }Frame 59_level0.textbx1.removeTextField(); _level0.textbx2.removeTextField(); stop();Instance of Symbol 243 MovieClip "Flee" in Frame 59/* no clip actions */Instance of Symbol 245 MovieClip "G" in Frame 59onClipEvent (load) { p = 0; n = 0; g = 0; space = 0; } onClipEvent (enterFrame) { if (p == 0) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "STOP!!!!!"; } if (p == 1) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "Stop?"; } if (p == 2) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "Yes! Stop! Please listen!"; } if (p == 3) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "I will not stop! I won't stop until I slaughter every last blue in this castle, ending with King Blip himself!"; } if (p == 4) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "Great Green hero!"; } if (p == 5) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "Flattery won't save you! Blue has wronged Green again and again. Every blue must be slaughtered!"; } if (p == 6) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "Great Green hero! It is not flattery! Do you think everyone here likes King Blip and Blue Hero?"; } if (p == 7) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "It matters not! All Blues are dishonorable scum to the last. Purifying the world of their taint is a must. Prepare to die!"; } if (p == 8) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "You have accomplished an amazing feat, killing all these blues while you remain unscathed...you are truly a supreme hero."; } if (p == 9) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "Nothing you say will save Blue."; } if (p == 10) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "It is not Blue I want to save! I hate Blip! He abuses all of us, treating us like we're hardly above the greys. I wish I was Green!"; } if (p == 11) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "What?!"; } if (p == 12) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = " I wish I was green, the color of such amazing heroes as you...I know Blue Hero, he could never do anything like you have."; } if (p == 13) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "You...your tricks won't...work on me."; } if (p == 14) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "Green Hero...you are such a massive, powerful swordsdot...looking at you, I am filled with such astonishment...."; } if (p == 15) { _root.createTextField("plottext", 25, 10, 10, 275, 150); _root.plottext.text = "<You notice her perfect borders...so precisely circular. Yes, she's blue, but...of all possible shades of blue, the one on her body must be the least noxious>"; } if (p == 16) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "You are the most perfect dot ever...drop your sword...let me come closer..."; } if (p == 17) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "<You hear your sword fall to the ground>"; _level0.Stor._visible = false; } if ((p > 17) && (p < 21)) { _root.plottext.removeTextField(); _level0.Flee._x = _level0.Flee._x - 3; p = 18; if (Math.round(_level0.Flee._x) < 138) { p = 22; } } if (p == 22) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "Even if you kill me right after this I will die happily by your sword...."; } if ((p > 22) && (p < 25)) { _root.plottext.removeTextField(); p = 23; this._x = this._x + 3; if (Math.round(this._x) > 136) { p = 26; } } if ((p > 25) && (p < 28)) { _root.plottext.removeTextField(); p = 26; n++; g++; this.gotoAndPlay(g); if (g == 4) { g = 0; } if (n == 100) { p = 31; } } if ((p > 30) && (p < 40)) { p = 31; this._x = this._x - 3; if (Math.round(this._x) < 90) { p = 42; _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "Great Green Hero! You are everything...I love you."; } } if (p == 43) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = " You...you light blue...my opinions on blues have not changed...but...."; } if (p == 44) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "No time to say anything! Listen, King Blip is not popular here. He only remains king because he holds The Blue Sword, which makes him"; } if (p == 45) { p = 46; } if (p == 46) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "practically invincible."; } if (p == 47) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "No one can defeat me."; } if (p == 48) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "The only thing I know of which can annul the power of The Blue Sword is The Green Sword. I've heard that the Wizard took The Green Sword into the castle"; } if (p == 49) { p = 50; } if (p == 50) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "after it was taken from Greck's body, but no blue is able to use it."; } if (p == 51) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "Light Blue, who--"; } if (p == 52) { _root.createTextField("plottext", 25, 200, 10, 275, 150); _root.plottext.text = "If you use The Green Sword to hit The Blue Sword a number of times with the intention of destroying it, it will be destroyed. I know not what else will happen."; } if (p == 53) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "Who are you?!?"; } if (p == 54) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "Don't ask how I know all of this. I've been around. This is the only way you can suceed!"; } if (p == 55) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "...."; } if (p == 56) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = " I wish you luck, and know you do not need it. You truly are the perfect swordot, and the perfect dot in more ways than that as well. I hope we can meet"; } if (p == 57) { p = 58; } if (p == 58) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "again in...better times."; } if ((p > 58) && (p < 60)) { _root.plottext.removeTextField(); p = 59; _level0.Flee._y = _level0.Flee._y + 6; if (_level0.Flee._y > 390) { _level0.Flee._visible = false; _root.createTextField("plottext", 25, 10, 10, 250, 150); p = 61; } } if (p == 61) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "Wait!"; } if (p == 62) { p = 63; } if (p == 63) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "<You have a sinking feeling that you will never see her again>"; } _root.plottext.selectable = false; plottextform = new TextFormat(); plottextform.bold = true; plottextform.font = "Perpetua"; plottextform.size = 20; plottextform.align = "left"; plottextform.leftMargin = 5; _root.plottext.multiline = true; _root.plottext.selectable = false; _root.plottext.wordWrap = true; _root.plottext.background = true; _root.plottext.border = true; _root.plottext.borderColor = 16777215 /* 0xFFFFFF */; _root.plottext.backgroundColor = "000000"; if (Math.round(p / 2) == (p / 2)) { _root.plottext.textColor = "0xCCFFFF"; } else { _root.plottext.textColor = "0x00FF33"; } _root.plottext.setTextFormat(plottextform); if (p == 64) { _root.plottext.removeTextField(); _global.frametoreturnto = 112; _global.notlost = 1; _root.gotoAndPlay(2); } if (Key.isDown(32)) { space = 1; } if ((space == 1) && (!Key.isDown(32))) { space = 0; p++; } }Frame 60_level0.textbx1.removeTextField(); _level0.textbx2.removeTextField(); stop();Instance of Symbol 245 MovieClip in Frame 60onClipEvent (load) { p = 0; space = 0; } onClipEvent (enterFrame) { if (p == 0) { p = 1; } if (p == 1) { _root.createTextField("plottext", 25, 75, 50, 250, 150); _root.plottext.text = "King Blip, leader of the weaklings! I will execute you right here to avenge the death of Greck and verify yet again the domination of Greendom!"; } if (p == 2) { _root.createTextField("plottext", 25, 75, 120, 250, 150); _root.plottext.text = "Sorry, you got that incorrect. I actually can't be beaten. Have a fun last few seconds of life."; } _root.plottext.selectable = false; plottextform = new TextFormat(); plottextform.bold = true; plottextform.font = "Perpetua"; plottextform.size = 20; plottextform.align = "left"; plottextform.leftMargin = 5; _root.plottext.multiline = true; _root.plottext.selectable = false; _root.plottext.wordWrap = true; _root.plottext.background = true; _root.plottext.border = true; _root.plottext.borderColor = 16777215 /* 0xFFFFFF */; _root.plottext.backgroundColor = "000000"; if (Math.round(p / 2) == (p / 2)) { _root.plottext.textColor = "0x003399"; } else { _root.plottext.textColor = "0x00FF33"; } _root.plottext.setTextFormat(plottextform); if (p == 3) { _root.plottext.removeTextField(); _global.frametoreturnto = 135; _global.notlost = 1; _root.gotoAndPlay(2); } if (Key.isDown(32)) { space = 1; } if ((space == 1) && (!Key.isDown(32))) { space = 0; p++; } }Frame 61_level0.textbx1.removeTextField(); _level0.textbx2.removeTextField(); stop();Instance of Symbol 305 MovieClip "kingo" in Frame 61onClipEvent (load) { p = 0; space = 0; } onClipEvent (enterFrame) { if (p == 0) { p = 1; } if (p == 1) { _root.createTextField("plottext", 25, 240, 125, 250, 150); _root.plottext.text = "<You try will all your might to destroy The Blue Sword with The Green Sword>"; } if (p == 2) { _root.plottext.removeTextField(); _level0.swob._visible = false; } if (p == 3) { this._visible = false; } if (p == 4) { _level0.swog._visible = false; } if (p == 5) { _level0.me._visible = false; } if (p == 6) { _root.createTextField("plottext", 25, 240, 125, 250, 150); _root.plottext.text = "<The energies of the two swords cancel each other out, in the process dragging both of their wielders with them into nothingness!>"; } if (p == 7) { _root.plottext.removeTextField(); _level0.back._visible = false; } _root.plottext.selectable = false; plottextform = new TextFormat(); plottextform.bold = true; plottextform.font = "Perpetua"; plottextform.size = 20; plottextform.align = "left"; plottextform.leftMargin = 5; _root.plottext.multiline = true; _root.plottext.selectable = false; _root.plottext.wordWrap = true; _root.plottext.background = true; _root.plottext.border = true; _root.plottext.borderColor = 16777215 /* 0xFFFFFF */; _root.plottext.backgroundColor = "000000"; _root.plottext.textColor = "0xFFFFFF"; _root.plottext.setTextFormat(plottextform); if (p == 8) { _root.plottext.removeTextField(); _global.frametoreturnto = 135; _global.notlost = 1; _root.gotoAndPlay(62); } if (Key.isDown(32)) { space = 1; } if ((space == 1) && (!Key.isDown(32))) { space = 0; p++; } }Frame 62los.text = ("You lost " + _global.losscount) + " times!"; stop();Frame 73function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 0, 0, 44, 74); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Instance of Symbol 202 MovieClip "Sword" in Frame 73onClipEvent (load) { if (_global.doublesword > 0.9) { gotoAndStop (2); } } onClipEvent (enterFrame) { if (_level0._currentframe == 116) { if (_global.doublesword == 1) { gotoAndStop (2); } } if (_global.iexist == 0) { } this._rotation = _global.swordrote; this._x = _level0.Him._x; this._y = _level0.Him._y; this._visible = true; if (Key.isDown(_global.rotateleftkey) || (Key.isDown(_global.rotaterightkey))) { if (Key.isDown(_global.rotateleftkey)) { this._rotation = this._rotation - ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.swordrote = _global.swordrote - ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.rotatedir = 1; } if (Key.isDown(_global.rotaterightkey)) { this._rotation = this._rotation + ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.swordrote = _global.swordrote + ((1.5 * _global.movements) * (_global.swordspeed / 10)); _global.rotatedir = 2; } } else { _global.rotatedir = 0; } }Instance of Symbol 205 MovieClip "Him" in Frame 73onClipEvent (enterFrame) { _global.up = 0; _global.right = 0; _global.left = 0; _global.down = 0; _global.losscounter = 0; if ((_global.textactivated == 0) && ((_level0.gogoo == 0) || (_visible == false))) { _level0.moveStuff(this); } }Frame 74function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 0, 0, 73, 75); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 75function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 0, 0, 74, 76); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 76function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 77, 0, 75, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 77function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(76, 78, 79, 80); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 78function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 82, 83, 77); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 79function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(77, 0, 0, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 80function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 77, 81, 87); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 81function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(80, 0, 0, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 82function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 85, 84, 78); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 83function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(78, 0, 0, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 84function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(82, 0, 0, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 85function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 86, 82); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 86function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(85, 0, 0, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 87function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 80, 0, 88); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 88function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(92, 87, 89, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 89function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(88, 0, 0, 90); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 90function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 89, 91, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 91function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(90, 0, 0, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 92function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(93, 0, 88, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 93function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(94, 0, 92, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Instance of Symbol 247 MovieClip "BlueCapt" in Frame 93onClipEvent (load) { if (_level0.inhibitmons_ar[_root._currentframe] == 1) { this._visible = false; _level0.BlueSword._visible = false; } } onClipEvent (enterFrame) { _y = (_y - 3); _level0.BlueSword._y = _level0.BlueSword._y - 3; if (_y < 0) { _level0.BlueSword.unloadMovie(); this.unloadMovie(); } }Frame 94function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 93, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 95function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 96, 0, 0, 43); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 96function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(95, 97, 0, 103, 0, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 97function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(98, 0, 0, 96); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 98function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(99, 105, 97, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 99function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 98, 100); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 100function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(104, 99, 0, 101); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 101function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 100, 102, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 102function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(101, 0, 103, 113); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 103function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(102, 96, 0, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 104function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 100, 0, 121, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 105function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 106, 0, 98); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 106function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(107, 109, 111, 105); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 107function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 106, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 108function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 109, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 109function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(108, 112, 110, 106); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 110function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(109, 0, 0, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 111function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(106, 0, 0, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 112function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 0, 109); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Instance of Symbol 43 MovieClip [BlueFlee] in Frame 112/* no clip actions */Frame 113function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 102, 0, 114); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 114function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(115, 113, 119, 117); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 115function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 114, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 116function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 117, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Instance of Symbol 324 MovieClip in Frame 116onClipEvent (load) { p = 0; space = 0; q = 0; _visible = false; } onClipEvent (enterFrame) { if (_global.doublesword < 3) { _visible = true; if (p == 0) { _level0.gogoo = 1; _level0.createTextField("orbox", 25, 75, 200, 250, 150); _level0.orbox.text = "There it is."; } if (p == 1) { _level0.orbox.text = "The Green Sword. The most famous sword of all Greendom, the Sword of the line of the greatest green heroes who ever lived, the Grecks."; } if (p == 2) { _level0.orbox.text = "If only I truly knew how to use its greatest powers, taking out the rest of this castle would be even easier than I thought."; } if (p == 3) { _level0.orbox.text = "Even without that knowledge, I cannot possibly fail with such a wonderous sword in my center!"; } if (p == 4) { _level0.orbox.removeTextField(); _level0.gogoo = 0; p = 5; } if (hitTest(_level0.Him)) { if (_global.doublesword == 2) { p = 10; q = 10; } if (q < 1) { q = 1; _global.doublesword = 1; } _visible = false; if (q == 1) { _level0.gogoo = 1; _level0.createTextField("orbox", 25, 75, 200, 250, 150); _level0.orbox.text = "<As you grasp the grand sword in your hands, you immediately recall the terrible battle that made your mission necessary....>"; } if (q == 2) { _global.doublesword = 2; _level0.gotoAndPlay(26); } if (q == 10) { _level0.createTextField("orbox", 25, 75, 200, 250, 150); _level0.orbox.text = "That plan was for a group of 10 dots to assassinate the blue King Blip in this castle and thus restore balance to the war. But nine of those ten died on the way here...."; _global.doublesword = 2.2; } if (q == 11) { _level0.createTextField("orbox", 25, 75, 200, 250, 150); _level0.orbox.text = "<You hold your new sword firmly and vow to avenge Greck with his own sword and save all of Greendom in the process.>"; } if (q == 12) { _global.doublesword = 3; _level0.gogoo = 0; _level0.orbox.removeTextField(); } } _level0.orbox.selectable = false; _level0.orboxform = new TextFormat(); _level0.orboxform.bold = true; _level0.orboxform.font = "Goodfish"; _level0.orboxform.size = 20; _level0.orboxform.align = "left"; _level0.orboxform.leftMargin = 5; _level0.orboxform.rightMargin = 5; _level0.orbox.multiline = true; _level0.orbox.selectable = false; _level0.orbox.wordWrap = true; _level0.orbox.background = true; _level0.orbox.border = true; _level0.orbox.borderColor = 16777215 /* 0xFFFFFF */; _level0.orbox.backgroundColor = "000000"; _level0.orbox.textColor = "0x00CC00"; _level0.orbox.setTextFormat(_level0.orboxform); if (Key.isDown(_global.endkey)) { space = 1; } if ((!Key.isDown(_global.endkey)) && (space == 1)) { space = 0; p++; if (q > 0) { q++; } } } else { _visible = false; } }Frame 117function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(116, 114, 118, 120); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 118function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(117, 0, 0, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 119function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(114, 0, 0, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 120function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 117, 0, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; _global.trapon = 1; stop();Instance of Symbol 28 MovieClip [Bluewand] in Frame 120onClipEvent (load) { wand = 1; }Instance of Symbol 338 MovieClip in Frame 120onClipEvent (load) { p = 0; space = 0; _visible = false; } onClipEvent (enterFrame) { if (_global.iexist == 0) { _visible = true; if (hitTest(_level0.Him) && (_global.doublesword < 0.4)) { if (p == 0) { _level0.gogoo = 1; _level0.createTextField("orbox", 25, 50, 100, 300, 200); _level0.orbox.text = "<As you absorb energy from the orb, you notice a purple key in the mix. Grabbing it, you see a note firmly attached to its back:"; _global.purplekeyfound = 1; } if (p == 1) { _level0.orbox.text = "Do not touch The Green Sword. Its energies will kill any blue it comes into contact with. Soon I will find a way to destroy the sword forever, thus making The Blue Sword completely invulnerable.\r--Wizard"; } if (p == 2) { _level0.orbox.removeTextField(); _level0.gogoo = 0; _global.doublesword = 0.5; } _level0.orbox.selectable = false; _level0.orboxform = new TextFormat(); _level0.orboxform.bold = true; _level0.orboxform.font = "Goodfish"; _level0.orboxform.size = 25; if (p == 1) { _level0.orboxform.size = 20; } _level0.orboxform.align = "center"; _level0.orboxform.leftMargin = 5; _level0.orboxform.rightMargin = 5; _level0.orbox.multiline = true; _level0.orbox.selectable = false; _level0.orbox.wordWrap = true; _level0.orbox.background = true; _level0.orbox.border = true; _level0.orbox.borderColor = 16777215 /* 0xFFFFFF */; _level0.orbox.backgroundColor = "000000"; _level0.orbox.textColor = "0x00CC00"; if (p == 1) { _level0.orbox.textColor = "0xFFFFFF"; } _level0.orbox.setTextFormat(_level0.orboxform); if (Key.isDown(_global.endkey)) { space = 1; } if ((!Key.isDown(_global.endkey)) && (space == 1)) { space = 0; p++; } } } }Instance of Symbol 26 MovieClip [flamebold] in Frame 120onClipEvent (load) { flame = 1; }Instance of Symbol 26 MovieClip [flamebold] in Frame 120onClipEvent (load) { flame = 1; }Frame 121function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 122, 0, 0, 104); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 122function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(121, 0, 123, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 123function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(122, 125, 127, 124); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 124function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 123, 126, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 125function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 128, 123); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 126function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(124, 127, 129, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 127function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(123, 128, 130, 126); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 128function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(125, 0, 131, 127); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Instance of Symbol 37 MovieClip [BlueVet] in Frame 128onClipEvent (load) { reallygreat = 1; }Frame 129function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(126, 130, 0, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 130function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(127, 131, 132, 129); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 131function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(128, 0, 0, 130); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 132function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(130, 0, 0, 0, 133, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Instance of Symbol 37 MovieClip [BlueVet] in Frame 132onClipEvent (load) { reallygreat = 1; }Instance of Symbol 37 MovieClip [BlueVet] in Frame 132onClipEvent (load) { reallygreat = 1; }Frame 133function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(0, 0, 134, 0, 0, 132); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 134function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(133, 0, 135, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Frame 135function checkformons() { framecounter++; if (framecounter == 10) { FPSNUM = Math.round((10 / (getTimer() - thistime)) * 1000); thistime = getTimer(); framecounter = 0; } if (((_currentframe == 94) && (keyboxfound == 1)) && (_global.orangekeyfound < 2)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a YELLOW KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 2; } } if (((_global.iexist == 0) && (_global.kidnums < 1)) || (_global.firstcheckedmon == 0)) { safe = 1; toggled = 1; if (firstloaded[_currentframe] != 1) { _global.xp = _global.xp + monxp; firstloaded[_currentframe] = 1; activatetext = 1; } Saver.enabled = true; Opter.enabled = true; Helper.enabled = true; inhibitmons_ar[_currentframe] = 1; if (_global.roomcondition[_currentframe] < 3) { _global.roomcondition[_currentframe] = 3; } if (((_currentframe == 18) && (_global.chckbxs[18][3] == 1)) && (mapfound != 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found a MAP: Click 'M' to view.>"; setuptext(); } if (((_currentframe == 23) && (_global.chckbxs[23][1] == 1)) && (_global.orangekeyfound < 1)) { _global.textactivated = 1; textbx2.text = "\r\r<You have found an ORANGE KEY>"; setuptext(); if (textactivated == 0) { _global.orangekeyfound = 1; } } if (savemessage == 1) { _global.textactivated = 1; textbx2.text = "\r\rSAVED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (savemessage == 2) { _global.textactivated = 1; textbx2.text = "\r\rSAVE FAILED"; setuptext(); if (textactivated == 0) { savemessage = 0; } } if (Key.isDown(_global.mapkey) && (mapfound == 1)) { _global.returningframe = _currentframe; if (_currentframe < 76) { gotoAndPlay (19); } if ((_currentframe >= 76) && (_currentframe <= 94)) { gotoAndPlay (46); } if ((_currentframe >= 95) && (_currentframe <= 120)) { gotoAndPlay (55); } if ((_currentframe >= 121) && (_currentframe <= 132)) { gotoAndPlay (54); } if ((_currentframe >= 133) && (_currentframe <= 135)) { gotoAndPlay (56); } } } } function setuptext() { textbx2.multiline = true; textbx2.selectable = false; textbx2.wordWrap = true; textbx2.background = true; textbx2.border = true; textbx2.borderColor = 16777215 /* 0xFFFFFF */; textbx2.backgroundColor = "000000"; textbx2.textColor = "0x00CC00"; textbx2.setTextFormat(textbx2form); if (Key.isDown(_global.endkey)) { _global.textactivated = 0; activatetext = 0; if (_currentframe == 18) { mapfound = 1; } } } function mover(a, b, c, d, e, f) { if (inhibitmons_ar[_currentframe] == 1) { if (_global.roomcondition[_currentframe] < 4) { if (e > 0) { _global.roomcondition[_currentframe] = 5; } if (f > 0) { _global.roomcondition[_currentframe] = 6; } if ((e > 0) && (f > 0)) { _global.roomcondition[_currentframe] = 7; } } } if (icehit == 1) { spdmod = 3; icehit = 0; } else { spdmod = 1; } _root.createTextField("textbx1", 1000, 415, 15, 100, 200); if (_global.roomcondition[a] < 1) { _global.roomcondition[a] = 1; } if (_global.roomcondition[b] < 1) { _global.roomcondition[b] = 1; } if (_global.roomcondition[c] < 1) { _global.roomcondition[c] = 1; } if (_global.roomcondition[d] < 1) { _global.roomcondition[d] = 1; } if (_global.statup > 0) { plusser._visible = true; plusser2._visible = true; } else { plusser._visible = false; plusser2._visible = false; } if (_global.level == 1) { _global.xpcost = 1000; } if (_global.xp >= _global.xpcost) { _global.xpcost = Math.round(_global.xpcost + (1000 * Math.pow(1.2, level))); _global.level++; _global.statup++; } textbx1.text = (((((((((((((((((((((("Exp: " + _global.xp) + "/") + _global.xpcost) + newline) + newline) + "Speed: ") + _global.herospeed) + newline) + newline) + "Sword: ") + _global.swordspeed) + newline) + newline) + "Parry: ") + _global.parry) + newline) + newline) + "Level: ") + _global.level) + newline) + newline) + "Loss Count: ") + _global.losscount; textbx1form = new TextFormat(); textbx1form.bold = true; textbx1form.font = "Arial"; textbx1.selectable = false; textbx1.setTextFormat(textbx1form); _root.createTextField("textbx2", 1, 50, 100, 300, 200); textbx2.selectable = false; textbx2form = new TextFormat(); textbx2form.bold = true; textbx2form.font = "Goodfish"; textbx2form.size = 30; if (_currentframe == 134) { textbx2form.size = 25; } textbx2form.align = "center"; textbx2form.leftMargin = 5; textbx2form.rightMargin = 5; if ((activatetext > 0) && (_currentframe == 20)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rI will succeed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 23)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.align = "left"; textbx2.text = "Defending their castle with Red Bugs, I see. Stupid Blues. They'll never expect what I'm going to do to them."; setuptext(); } } if ((_currentframe == 43) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (47); } } if ((_currentframe == 86) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { gotoAndPlay (52); } } if ((_currentframe == 112) && (activatetext > 0)) { activatetext++; if (activatetext == 2) { _global.mether = 1; gotoAndPlay (59); } } if ((_currentframe == 36) && (activatetext > 0)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2form.size = 20; textbx2form.align = "left"; textbx2.text = "As you kill the final enemy, you wait a moment, regaining your energy. Your success so far has made you even more set on your goal as it actually seems possible to reach it right now, even if it will require the passing of a good deal more obstacles...."; setuptext(); if (_global.textactivated == 0) { gotoAndPlay (48); } } } if ((activatetext > 0) && (_currentframe == 5)) { _global.textactivated = 1; activatetext++; if (activatetext > 5) { textbx2.text = "\r\rThis is so easy."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 13)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 25; } if (activatetext > 20) { textbx2.text = "\rThat was a slightly more exciting battle than the others so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 28)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 50; } if (activatetext > 20) { textbx2.text = "\r\rGreen God! These things are annoying."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 99)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { } if (activatetext > 20) { textbx2.text = "\rNice banner. I wonder if they made it for me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 114)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "About time they brought out their ok fighters. This has been way too easy so far."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 115)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; } if (activatetext > 20) { textbx2.text = "\r\r<You find a brown key on the body>"; _global.brownkeyfound = 1; setuptext(); } } if ((activatetext > 0) && (_currentframe == 120)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<You are about to celebrate the death of one of the worst of Blue's villians when you notice a strange orb now visible.>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 43)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 150; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 87)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 100; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 89)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 90)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 250; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext == 5) { _global.xp = _global.xp + 350; activatetext = 0; _global.textactivated = 0; } } if ((activatetext > 0) && (_currentframe == 16)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\r\rWham, Lots of dead bugs."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 94)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rBlues never learn; cowardice does not pay off."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 91)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rNah, I'd rather not."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 96)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rI hate being pushed."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 100)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rStupid blues can hide, but they can't touch me."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 106)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "Cowardly Blues, allowing themselves to get slaughtered like a tribe of greys."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 109)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rThis is fun."; setuptext(); } } if ((activatetext > 0) && (_currentframe == 134)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "<A note on the back of the red states: If you are reading this, you must have killed the red. Congratulations. Now you get to fight a battle you actually won't win>"; setuptext(); } } if ((activatetext > 0) && (_currentframe == 110)) { _global.textactivated = 1; activatetext++; if (activatetext > 20) { textbx2.text = "\rWell, I cleared their red infestation problem."; setuptext(); } } if (_global.birthtime == 1) { _global.birthtime = 0; birthname = "order1"; _level0.createEmptyMovieClip(birthname, incbirths); incbirths++; order1.attachMovie("Bug5", "order1" + incbirths, incbirths, {_x:_global.birthtimex, _y:_global.birthtimey, myframe:_level0._currentframe}); } checkformons(); if (Him._y < -6) { _global.notlost = 1; _global.himypos = 395; _global.frametoreturnto = a; gotoAndPlay (2); } if (Him._x > 400) { _global.notlost = 1; _global.himxpos = 5; _global.frametoreturnto = b; gotoAndPlay (2); } if (Him._y > 400) { _global.notlost = 1; _global.himypos = 5; _global.frametoreturnto = c; gotoAndPlay (2); } if (Him._x < -6) { _global.notlost = 1; _global.himxpos = 395; _global.frametoreturnto = d; gotoAndPlay (2); } if (_global.stairshit == 1) { _global.notlost = 1; _global.frametoreturnto = e; gotoAndPlay (2); } if (_global.stairshitdown == 1) { _global.notlost = 1; _global.frametoreturnto = f; gotoAndPlay (2); } if (Him.hitTest(cl_wall)) { trace("S"); } } function moveStuff(a) { trace(Saver.enabled); if (Key.isDown(_global.moveleftkey)) { a._x = a._x - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.left = 1; testmove(Him, 4); } if (Key.isDown(_global.moverightkey)) { a._x = a._x + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.right = 1; testmove(Him, 2); } if (Key.isDown(_global.moveupkey)) { a._y = a._y - ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.up = 1; testmove(Him, 1); } if (Key.isDown(_global.movedownkey)) { a._y = a._y + ((_global.movements * (_global.herospeed / 10)) * spdmod); _global.down = 1; testmove(Him, 3); } _global.himxpos = Him._x; _global.himypos = Him._y; if (Him._visible == false) { _global.losscount++; _global.himxpos = _global.frameenterx; _global.himypos = _global.frameentery; _global.swordrote = _global.frameenterr; Him._visible = true; _global.frametoreturnto = _currentframe; gotoAndPlay (2); } } function testmove(b, dir, exception) { i = wallnum; while (i > -1) { if (!((_global.wallnums[_currentframe][i].stone == 1) && (exception == 1))) { if (wallfunc(_global.wallnums[_currentframe][i], b, dir) == true) { return(true); } } i--; } i = shapenum; while (i > -1) { if (wallfunc(_global.shapenums[_currentframe][i], b, dir) == true) { return(true); } i--; } if (b != Him) { if ((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0)) { var _local4 = 0; while (_local4 == 0) { if (!((((b._x > 400) || (b._y > 400)) || (b._x < 0)) || (b._y < 0))) { _local4 = 1; return(true); } if (dir == 1) { b._y = b._y + 1; } if (dir == 2) { b._x = b._x - 1; } if (dir == 3) { b._y = b._y - 1; } if (dir == 4) { b._x = b._x + 1; } } } } } function wallfunc(a, b, dir) { if (a.hitTest(b)) { var _local3 = 0; while (_local3 == 0) { if (!a.hitTest(b)) { _local3 = 1; return(true); } if (dir == 1) { b._y = b._y + 0.5; } if (dir == 2) { b._x = b._x - 0.5; } if (dir == 3) { b._y = b._y - 0.5; } if (dir == 4) { b._x = b._x + 0.5; } } } } function finder(a) { mover(134, 0, 0, 0); } _global.movements = 5 * ((5 + _global.speedset) / 10); _global.global_sound = new Sound(); _global.global_sound.attachSound("gamemusic"); if (_global.musicon == 2) { _global.global_sound.stop(); } if (_global.realfirstloadedframe[_currentframe] == 0) { _global.realfirstloadedframe[_currentframe] = 1; if (_currentframe == 93) { gotoAndPlay (49); } if (_currentframe == 94) { gotoAndPlay (50); } if (_currentframe == 86) { gotoAndPlay (51); } if (_currentframe == 77) { gotoAndPlay (53); } if (_currentframe == 78) { gotoAndPlay (57); } if (_currentframe == 120) { gotoAndPlay (58); } if (_currentframe == 135) { gotoAndPlay (60); } } plusser._visible = false; plusser2._visible = false; Sword._visible = false; Saver.enabled = false; Opter.enabled = false; Helper.enabled = false; gogoo = 0; fireprotect = 0; toggled = 0; spdmod = 1; icehit = 0; nest = 0; nestx = 0; armored = 0; thistime = 0; framecounter = 0; FPSNUM = 0; monxp = 0; keyboxfound = 0; randomizer = 0; nesty = 0; if (_global.roomcondition[_currentframe] < 2) { _global.roomcondition[_currentframe] = 2; } safe = 0; shapenum = 0; wallnum = 0; blueonesnum = 0; blueswordnum = 0; arrownum = 0; activatetext = 0; _global.stairshit = 0; _global.stairshitdown = 0; _global.trapon = 0; _global.kidnums = 0; _global.textactivated = 0; _global.iexist = 1; _global.inhibmons = 0; _global.firstcheckedmon = 0; if (inhibitmons_ar[_currentframe] == 1) { _global.inhibmons = 1; } _global.frameenterx = _global.himxpos; _global.frameentery = _global.himypos; _global.frameenterr = _global.swordrote; Him.onEnterFrame = finder; var incbirths = 0; Him._y = _global.himypos; Him._x = _global.himxpos; stop();Symbol 3 MovieClip [pt1] Frame 1#initclip 130 Object.registerClass("pt1", cl_swordpt); #endinitclipSymbol 4 MovieClip [BlueSwordBig copy] Frame 1#initclip 52 Object.registerClass("BlueSwordBig copy", cl_bluesword); #endinitclipSymbol 6 MovieClip [Bug5] Frame 1#initclip 53 Object.registerClass("Bug5", cl_bug5); #endinitclipSymbol 12 MovieClip [BigBlueSword] Frame 1#initclip 54 Object.registerClass("BigBlueSword", cl_bluesword); #endinitclipSymbol 14 MovieClip [Food] Frame 1#initclip 55 Object.registerClass("Food", cl_food); #endinitclipSymbol 18 MovieClip [BlueKing] Frame 1#initclip 56 Object.registerClass("BlueKing", cl_blueking); #endinitclipSymbol 22 MovieClip [Randomizer] Frame 1#initclip 57 Object.registerClass("Randomizer", cl_randomizer); #endinitclipSymbol 24 MovieClip [BlueWizard] Frame 1#initclip 58 Object.registerClass("BlueWizard", cl_bluewizard); #endinitclipSymbol 26 MovieClip [flamebold] Frame 1#initclip 59 Object.registerClass("flamebold", cl_arrow); #endinitclipSymbol 28 MovieClip [Bluewand] Frame 1#initclip 60 Object.registerClass("Bluewand", cl_bluebow); #endinitclipSymbol 30 MovieClip [LockedWallBrown] Frame 1#initclip 61 Object.registerClass("LockedWallBrown", cl_box); #endinitclipSymbol 32 MovieClip [LockedWallPurple] Frame 1#initclip 62 Object.registerClass("LockedWallPurple", cl_box); #endinitclipSymbol 35 MovieClip [Armory] Frame 1#initclip 63 Object.registerClass("Armory", cl_armory); #endinitclip stop();Symbol 35 MovieClip [Armory] Frame 2stop();Symbol 37 MovieClip [BlueVet] Frame 1#initclip 64 Object.registerClass("BlueVet", cl_bluevet); #endinitclipSymbol 39 MovieClip [Box3] Frame 1#initclip 65 Object.registerClass("Box3", cl_box); #endinitclipSymbol 41 MovieClip [Bed] Frame 1#initclip 66 Object.registerClass("Bed", cl_wall); #endinitclipSymbol 43 MovieClip [BlueFlee] Frame 1#initclip 67 Object.registerClass("BlueFlee", cl_blueflee); #endinitclipSymbol 45 MovieClip [BlueRanged] Frame 1#initclip 68 Object.registerClass("BlueRanged", cl_blueranged); #endinitclipSymbol 47 MovieClip [Bluebow] Frame 1#initclip 69 Object.registerClass("Bluebow", cl_bluebow); #endinitclipSymbol 49 MovieClip [arrow] Frame 1#initclip 70 Object.registerClass("arrow", cl_arrow); #endinitclipSymbol 52 MovieClip [Displacer4] Frame 1#initclip 71 Object.registerClass("Displacer4", cl_displacer4); #endinitclip stop();Symbol 52 MovieClip [Displacer4] Frame 2stop();Symbol 53 MovieClip [Displacer3] Frame 1#initclip 72 Object.registerClass("Displacer3", cl_displacer3); #endinitclip stop();Symbol 55 MovieClip [Trap5] Frame 1#initclip 73 Object.registerClass("Trap5", cl_trap); #endinitclipSymbol 57 MovieClip [BlueExpert] Frame 1#initclip 74 Object.registerClass("BlueExpert", cl_blueexpert); #endinitclipSymbol 60 MovieClip [Displacer] Frame 1#initclip 75 Object.registerClass("Displacer", cl_displacer); #endinitclip stop();Symbol 60 MovieClip [Displacer] Frame 2stop();Symbol 60 MovieClip [Displacer] Frame 3stop();Symbol 60 MovieClip [Displacer] Frame 4stop();Symbol 62 MovieClip [Fire2] Frame 1#initclip 76 Object.registerClass("Fire2", cl_fire); #endinitclipSymbol 64 MovieClip [BlueParry] Frame 1#initclip 77 Object.registerClass("BlueParry", cl_blueparry); #endinitclipSymbol 65 MovieClip [Displacer2] Frame 1#initclip 78 Object.registerClass("Displacer2", cl_displacer2); #endinitclip stop();Symbol 65 MovieClip [Displacer2] Frame 2stop();Symbol 65 MovieClip [Displacer2] Frame 3stop();Symbol 69 MovieClip [BlueDeath] Frame 1#initclip 79 Object.registerClass("BlueDeath", cl_wall); #endinitclipSymbol 71 MovieClip [wall50] Frame 1#initclip 80 Object.registerClass("wall50", cl_wall); #endinitclipSymbol 72 MovieClip [RopePoint] Frame 1#initclip 81 Object.registerClass("RopePoint", cl_ropepoint); #endinitclipSymbol 73 MovieClip [BlueFast] Frame 1#initclip 82 Object.registerClass("BlueFast", cl_bluefast); #endinitclipSymbol 75 MovieClip [LockedWallBlue] Frame 1#initclip 83 Object.registerClass("LockedWallBlue", cl_box); #endinitclipSymbol 78 MovieClip [NestStone] Frame 1#initclip 84 Object.registerClass("NestStone", cl_neststone); #endinitclipSymbol 80 MovieClip [Goo] Frame 1#initclip 85 Object.registerClass("Goo", cl_goo); #endinitclipSymbol 82 MovieClip [Bug7] Frame 1#initclip 86 Object.registerClass("Bug7", cl_bug7); #endinitclipSymbol 84 MovieClip [Trap4] Frame 1#initclip 87 Object.registerClass("Trap4", cl_trap); #endinitclipSymbol 90 MovieClip [Acid] Frame 1#initclip 88 Object.registerClass("Acid", cl_acid); #endinitclipSymbol 92 MovieClip [BugAcid] Frame 1#initclip 89 Object.registerClass("BugAcid", cl_bugacid); #endinitclipSymbol 94 MovieClip [Understone] Frame 1#initclip 90 Object.registerClass("Understone", cl_wall); #endinitclipSymbol 97 MovieClip [Stone] Frame 1#initclip 91 Object.registerClass("Stone", cl_stone); #endinitclipInstance of Symbol 94 MovieClip [Understone] in Symbol 97 MovieClip [Stone] Frame 1onClipEvent (load) { this.stone = 1; }Symbol 99 MovieClip [Stuff3] Frame 1#initclip 92 Object.registerClass("Stuff3", cl_wall); #endinitclipSymbol 101 MovieClip [BugLightning] Frame 1#initclip 93 Object.registerClass("BugLightning", cl_buglightning); #endinitclipSymbol 103 MovieClip [Bug6] Frame 1#initclip 94 Object.registerClass("Bug6", cl_bug6); #endinitclipSymbol 105 MovieClip [BlueSwordBig] Frame 1#initclip 95 Object.registerClass("BlueSwordBig", cl_bluesword); #endinitclipSymbol 106 MovieClip [BlueGuardCapt] Frame 1#initclip 96 Object.registerClass("BlueGuardCapt", cl_blueguardcapt); #endinitclipSymbol 108 MovieClip [StairsBoth] Frame 1#initclip 97 Object.registerClass("StairsBoth", cl_stairsboth); #endinitclipSymbol 110 MovieClip [Spike] Frame 1#initclip 98 Object.registerClass("Spike", cl_fire); #endinitclipSymbol 112 MovieClip [Stairs] Frame 1#initclip 99 Object.registerClass("Stairs", cl_stairs); #endinitclipSymbol 114 MovieClip [Sand] Frame 1#initclip 100 Object.registerClass("Sand", cl_sand); #endinitclipSymbol 116 MovieClip [wall300] Frame 1#initclip 101 Object.registerClass("wall300", cl_wall); #endinitclipSymbol 118 MovieClip [Trap3] Frame 1#initclip 102 Object.registerClass("Trap3", cl_trap); #endinitclipSymbol 120 MovieClip [wall120] Frame 1#initclip 103 Object.registerClass("wall120", cl_wall); #endinitclipSymbol 122 MovieClip [Wall] Frame 1#initclip 104 Object.registerClass("Wall", cl_wall); #endinitclipSymbol 123 MovieClip [ToggleWall] Frame 1#initclip 105 Object.registerClass("ToggleWall", cl_togglewall); #endinitclipSymbol 125 MovieClip [TheButton] Frame 1#initclip 106 Object.registerClass("TheButton", cl_button); #endinitclipSymbol 127 MovieClip [StairsDown] Frame 1#initclip 107 Object.registerClass("StairsDown", cl_stairsdown); #endinitclipSymbol 130 MovieClip [Nest] Frame 1#initclip 108 Object.registerClass("Nest", cl_nest); #endinitclipSymbol 132 MovieClip [Ice] Frame 1#initclip 109 Object.registerClass("Ice", cl_ice); #endinitclipSymbol 134 MovieClip [LaserShot] Frame 1#initclip 110 Object.registerClass("LaserShot", cl_lasershot); #endinitclipSymbol 136 MovieClip [LaserBody] Frame 1#initclip 111 Object.registerClass("LaserBody", cl_wall); #endinitclipSymbol 137 MovieClip [Laser] Frame 1#initclip 112 Object.registerClass("Laser", cl_laser); #endinitclipSymbol 139 MovieClip [wall100] Frame 1#initclip 113 Object.registerClass("wall100", cl_wall); #endinitclipSymbol 141 MovieClip [Fire] Frame 1#initclip 114 Object.registerClass("Fire", cl_fire); #endinitclipSymbol 149 MovieClip [Square] Frame 1#initclip 115 Object.registerClass("Square", cl_square); #endinitclipSymbol 151 MovieClip [Blue] Frame 1#initclip 116 Object.registerClass("Blue", cl_blue); #endinitclipSymbol 153 MovieClip [Bluesword] Frame 1#initclip 117 Object.registerClass("Bluesword", cl_bluesword); #endinitclipSymbol 155 MovieClip [BoxTrapped] Frame 1#initclip 118 Object.registerClass("BoxTrapped", cl_boxtrapped); #endinitclipSymbol 157 MovieClip [Box2] Frame 1#initclip 119 Object.registerClass("Box2", cl_box); #endinitclipSymbol 159 MovieClip [Trap2] Frame 1#initclip 120 Object.registerClass("Trap2", cl_trap); #endinitclipSymbol 161 MovieClip [Bug4] Frame 1#initclip 121 Object.registerClass("Bug4", cl_bug4); #endinitclipSymbol 163 MovieClip [wall20] Frame 1#initclip 122 Object.registerClass("wall20", cl_wall); #endinitclipSymbol 164 MovieClip [Bug3] Frame 1#initclip 123 Object.registerClass("Bug3", cl_bug3); #endinitclipSymbol 166 MovieClip [Bug2] Frame 1#initclip 124 Object.registerClass("Bug2", cl_bug2); #endinitclipSymbol 168 MovieClip [wall200] Frame 1#initclip 125 Object.registerClass("wall200", cl_wall); #endinitclipSymbol 170 MovieClip [Trap] Frame 1#initclip 126 Object.registerClass("Trap", cl_trap); #endinitclipSymbol 172 MovieClip [wall60] Frame 1#initclip 127 Object.registerClass("wall60", cl_wall); #endinitclipSymbol 174 MovieClip [Bug] Frame 1#initclip 128 Object.registerClass("Bug", cl_bug); #endinitclipSymbol 175 Button [Saver]on (release) { sharedsaver = SharedObject.getLocal("savefile"); sharedsaver.data.saved = 1; sharedsaver.data.xpcost = _global.xpcost; sharedsaver.data.parry = _global.parry; sharedsaver.data.moveleftkey = _global.moveleftkey; sharedsaver.data.moveupkey = _global.moveupkey; sharedsaver.data.movedownkey = _global.movedownkey; sharedsaver.data.moverightkey = _global.moverightkey; sharedsaver.data.mapkey = _global.mapkey; sharedsaver.data.losscount = _global.losscount; sharedsaver.data.rotateleftkey = _global.rotateleftkey; sharedsaver.data.rotaterightkey = _global.rotaterightkey; sharedsaver.data.endkey = _global.endkey; sharedsaver.data.upkey = _global.upkey; sharedsaver.data.downkey = _global.downkey; sharedsaver.data.speedset = _global.speedset; sharedsaver.data.musicon = _global.musicon; sharedsaver.data.orangekeyfound = _global.orangekeyfound; sharedsaver.data.brownkeyfound = _global.brownkeyfound; sharedsaver.data.mether = _global.mether; sharedsaver.data.purplekeyfound = _global.purplekeyfound; sharedsaver.data.doublesword = _global.doublesword; sharedsaver.data.framenow = _currentframe; sharedsaver.data.mapfound = _level0.mapfound; sharedsaver.data.statup = _global.statup; sharedsaver.data.herospeed = _global.herospeed; sharedsaver.data.swordspeed = _global.swordspeed; sharedsaver.data.level = _global.level; sharedsaver.data.xp = _global.xp; sharedsaver.data.lookat = _level0.lookat; sharedsaver.data.swordrote = _global.swordrote; sharedsaver.data.himxpos = _global.himxpos; sharedsaver.data.himypos = _global.himypos; sharedsaver.data.lastframe = _global.lastframe; sharedsaver.data.dirtoframe = _global.dirtoframe; sharedsaver.data.inhibitmons_ar = _level0.inhibitmons_ar.slice(); sharedsaver.data.roomcondition = _global.roomcondition.slice(); sharedsaver.data.realfirstloadedframe = _global.realfirstloadedframe.slice(); sharedsaver.data.chckbxs = new Array(); var i = 0; while (i < 1000) { sharedsaver.data.chckbxs[i] = new Array(); i++; } var i = 0; while (i < 150) { var a = 0; while (a < 150) { sharedsaver.data.chckbxs[i][a] = _global.chckbxs[i][a]; a++; } i++; } var i = 0; while (i < 1000) { sharedsaver.data.shapenums.push(_global.shapenums[i].slice()); sharedsaver.data.wallnums.push(_global.wallnums[i].slice()); sharedsaver.data.mapping.push(_global.mapping[i].slice()); sharedsaver.data.blueones.push(_global.blueones[i].slice()); sharedsaver.data.blueswords.push(_global.blueswords[i].slice()); sharedsaver.data.arrows.push(_global.arrows[i].slice()); i++; } sharedsaver.data.firstloaded = _level0.firstloaded.slice(); success = sharedsaver.flush(); if (!success) { _level0.savemessage = 2; } }Symbol 177 MovieClip [LockedWall] Frame 1#initclip 129 Object.registerClass("LockedWall", cl_box); #endinitclipSymbol 188 Buttonon (release) { sharedsaver = SharedObject.getLocal("savefile"); if (sharedsaver.data.saved != undefined) { _global.xpcost = sharedsaver.data.xpcost; _global.parry = sharedsaver.data.parry; _global.moveleftkey = sharedsaver.data.moveleftkey; _global.moveupkey = sharedsaver.data.moveupkey; _global.movedownkey = sharedsaver.data.movedownkey; _global.moverightkey = sharedsaver.data.moverightkey; _global.mapkey = sharedsaver.data.mapkey; _global.rotateleftkey = sharedsaver.data.rotateleftkey; _global.rotaterightkey = sharedsaver.data.rotaterightkey; _global.endkey = sharedsaver.data.endkey; _global.upkey = sharedsaver.data.upkey; _global.downkey = sharedsaver.data.downkey; _global.speedset = sharedsaver.data.speedset; _global.losscount = sharedsaver.data.losscount; _global.musicon = sharedsaver.data.musicon; _level0.mapfound = sharedsaver.data.mapfound; _global.orangekeyfound = sharedsaver.data.orangekeyfound; _global.brownkeyfound = sharedsaver.data.brownkeyfound; _global.purplekeyfound = sharedsaver.data.purplekeyfound; _global.mether = sharedsaver.data.mether; _global.doublesword = sharedsaver.data.doublesword; _global.statup = sharedsaver.data.statup; _global.herospeed = sharedsaver.data.herospeed; _global.swordspeed = sharedsaver.data.swordspeed; _global.level = sharedsaver.data.level; _global.xp = sharedsaver.data.xp; _level0.lookat = sharedsaver.data.lookat; _global.swordrote = sharedsaver.data.swordrote; _global.himxpos = sharedsaver.data.himxpos; _global.himypos = sharedsaver.data.himypos; _global.lastframe = sharedsaver.data.lastframe; _global.dirtoframe = sharedsaver.data.dirtoframe; _level0.inhibitmons_ar = sharedsaver.data.inhibitmons_ar.slice(); _global.roomcondition = sharedsaver.data.roomcondition.slice(); _global.realfirstloadedframe = sharedsaver.data.realfirstloadedframe.slice(); _global.chckbxs = new Array(); _global.shapenums = new Array(); _global.wallnums = new Array(); _global.blueones = new Array(); _global.blueswords = new Array(); var i = 0; while (i < 1000) { _global.chckbxs[i] = new Array(); _global.shapenums[i] = new Array(); _global.wallnums[i] = new Array(); _global.blueones[i] = new Array(); _global.blueswords[i] = new Array(); i++; } var i = 0; while (i < 150) { var a = 0; while (a < 150) { _global.chckbxs[i][a] = sharedsaver.data.chckbxs[i][a]; a++; } i++; } var i = 0; while (i < 1000) { _global.mapping.push(sharedsaver.data.mapping[i].slice()); _global.arrows.push(sharedsaver.data.arrows[i].slice()); i++; } _level0.firstloaded = sharedsaver.data.firstloaded.slice(); _global.notlost = 1; _global.frametoreturnto = sharedsaver.data.framenow; _level0.startfrombeg = 1; _global.movements = 5; _root.createTextField("textbx1", 1000, 415, 15, 100, 200); _level0.textbx1.text = "Experience: " + _global.xp; _level0.textbx1form = new TextFormat(); _level0.textbx1form.bold = true; _level0.textbx1form.font = "Arial"; _level0.textbx1.setTextFormat(textbx1form); _level0.gotoAndPlay(2); } }Symbol 190 Buttonon (release) { _level0.textbx1.removeTextField(); _level0.textbx2.removeTextField(); _global.returningframe = _level0._currentframe; _level0.gotoAndPlay(24); }Symbol 192 Buttonon (release) { _root.gotoAndPlay(3); }Symbol 193 MovieClip Frame 1_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { setProperty(bar, _xscale , PercentLoaded); } else { _global.loadedgame = 1; gotoAndStop ("loaded"); }Symbol 193 MovieClip Frame 2_global.loadedgame = 1; gotoAndPlay (1);Symbol 339 MovieClip [__Packages.cl_bluesword] Frame 0class cl_bluesword extends MovieClip { var _visible, order, _x, _y, _height, _rotation, hitTest; function cl_bluesword () { super(); } function onLoad() { _visible = false; _global.blueswords[_level0._currentframe][_level0.blueswordnum] = this; order = _level0.blueswordnum; _level0.blueswordnum++; } function onEnterFrame() { if ((_level0.armored == 1) && (armored == 0)) { speed = 4; _global.blueones[_level0._currentframe][order].parry = 3; armored = 1; } if ((_level0.armored == 0) && (armored == 1)) { speed = 1; _global.blueones[_level0._currentframe][order].parry = 1; armored = 0; } if (_global.blueones[_level0._currentframe][order]._visible) { _visible = true; _x = _global.blueones[_level0._currentframe][order]._x; _y = _global.blueones[_level0._currentframe][order]._y; if (_global.blueones[_level0._currentframe][order].blueguardcaptvar == 1) { _global.blueones[_level0._currentframe][order].blueguardcaptvar = 0; _height = 60; speed = 2; } if (_global.blueones[_level0._currentframe][order].swing > 1) { speed = _global.blueones[_level0._currentframe][order].swing; } var _local4 = _global.blueones[_level0._currentframe][order]._y - _level0.Him._y; var _local5 = _level0.Him._x - _global.blueones[_level0._currentframe][order]._x; var _local3 = 0; if (_local4 >= 0) { _local3 = 180 + (Math.atan(_local5 / _local4) / (Math.PI/180)); } if (_local4 < 0) { _local3 = Math.atan(_local5 / _local4) / (Math.PI/180); } if (_local3 > 180) { _local3 = -1 * (360 - _local3); } if (_rotation == 0) { if (_local3 > 0) { _rotation++; } if (_local3 < 0) { _rotation--; } } if (_local3 == 0) { if (_rotation > 0) { _rotation--; } if (_rotation < 0) { _rotation++; } } if (((_local3 > 0) && (_rotation > 0)) || ((_local3 < 0) && (_rotation < 0))) { if (_local3 > _rotation) { _rotation = _rotation + ((_global.movements / 2) * speed); dir = 1; } if (_local3 < _rotation) { _rotation = _rotation - ((_global.movements / 2) * speed); dir = 2; } } if ((_local3 > 0) && (_rotation < 0)) { if ((_rotation + 180) >= _local3) { _rotation = _rotation + ((_global.movements / 2) * speed); dir = 1; } if ((_rotation + 180) < _local3) { _rotation = _rotation - ((_global.movements / 2) * speed); dir = 2; } } if ((_local3 < 0) && (_rotation > 0)) { if (((180 - _rotation) * -1) > _local3) { _rotation = _rotation + ((_global.movements / 2) * speed); dir = 1; } else if (((180 - _rotation) * -1) < _local3) { _rotation = _rotation - ((_global.movements / 2) * speed); dir = 2; } } if (_global.blueones[_level0._currentframe][order].king) { _rotation = _local3; if (!hitTest(_level0.Him)) { _rotation = _rotation + 10; if (!hitTest(_level0.Him)) { _rotation = _rotation - 20; if (!hitTest(_level0.Him)) { _rotation = _local3; } } } if (hitTest(_level0.Him)) { } } if (hitTest(_level0.Him) || (_level0.Him.hitTest(this))) { if (_global.blueones[_level0._currentframe][order].king) { _level0.Him._visible = false; } } if ((_global.parry > 0) && (hitTest(_level0.Sword) || (_level0.Sword.hitTest(this)))) { } } else { _visible = false; } } var speed = 1; var dir = 0; var armored = 0; }Symbol 340 MovieClip [__Packages.cl_bug5] Frame 0class cl_bug5 extends MovieClip { var _visible, myframe, unloadMovie, hitTest, hitrad, _x, _y; function cl_bug5 () { super(); } function onLoad() { _global.kidnums++; } function hittests4(a) { if (_level0.Sword.hitTest(a) || (a.hitTest(_level0.Sword))) { a._visible = false; _global.kidnums--; } if (a.hitTest(_level0.Him) || (_level0.Him.hitTest(a))) { _level0.Him._visible = false; _visible = false; } } function onEnterFrame() { if (myframe != _level0._currentframe) { unloadMovie(); _visible = false; } if ((_global.trapon == 0) && (_visible == true)) { hittests4(this); _level0.Him._width = _level0.Him._width + 120; _level0.Him._height = _level0.Him._height + 120; if (hitTest(_level0.Him)) { hitrad = 1; } else { hitrad = 0; } _level0.Him._width = _level0.Him._width - 120; _level0.Him._height = _level0.Him._height - 120; if (hitrad == 1) { if (clockwise == false) { if (((_x - _global.movements) >= _level0.Him._x) && ((_y - _global.movements) <= _level0.Him._y)) { if (!((_level0.Sword._rotation > -270) && (_level0.Sword._rotation <= -90))) { _y = _y - _global.movements; if (_level0.testmove(this, 1)) { clockwise = true; } } else { hitrad = 0; } } if (((_x + _global.movements) > _level0.Him._x) && ((_y - _global.movements) >= _level0.Him._y)) { if (!((_level0.Sword._rotation <= 0) && (_level0.Sword._rotation > -90))) { _x = _x + _global.movements; if (_level0.testmove(this, 2) == true) { clockwise = true; } } else { hitrad = 0; } } if (((_x - _global.movements) < _level0.Him._x) && ((_y + _global.movements) < _level0.Him._y)) { if (!((_level0.Sword._rotation > 90) && (_level0.Sword._rotation <= 180))) { _x = _x - _global.movements; if (_level0.testmove(this, 4) == true) { clockwise = true; } } else { hitrad = 0; } } if (((_x + _global.movements) <= _level0.Him._x) && ((_y + _global.movements) >= _level0.Him._y)) { if (!((_level0.Sword._rotation > 0) && (_level0.Sword._rotation <= 90))) { _y = _y + _global.movements; if (_level0.testmove(this, 3) == true) { clockwise = true; } } else { hitrad = 0; } } } else if (clockwise == true) { if (((_x + _global.movements) >= _level0.Him._x) && ((_y + _global.movements) <= _level0.Him._y)) { if (!((_level0.Sword._rotation >= -270) && (_level0.Sword._rotation < -90))) { _x = _x + _global.movements; if (_level0.testmove(this, 2)) { clockwise = false; } } else { hitrad = 0; } } if (((_x - _global.movements) > _level0.Him._x) && ((_y + _global.movements) >= _level0.Him._y)) { if (!((_level0.Sword._rotation < 0) && (_level0.Sword._rotation >= -90))) { _y = _y + _global.movements; if (_level0.testmove(this, 3) == true) { clockwise = false; } } else { hitrad = 0; } } if (((_x + _global.movements) < _level0.Him._x) && ((_y - _global.movements) < _level0.Him._y)) { if (!((_level0.Sword._rotation >= 90) && (_level0.Sword._rotation < 180))) { _y = _y - _global.movements; if (_level0.testmove(this, 1) == true) { clockwise = false; } } else { hitrad = 0; } } if (((_x - _global.movements) <= _level0.Him._x) && ((_y - _global.movements) > _level0.Him._y)) { if (!((_level0.Sword._rotation >= 0) && (_level0.Sword._rotation < 90))) { _x = _x - _global.movements; if (_level0.testmove(this, 4) == true) { clockwise = false; } } else { hitrad = 0; } } } } if (hitrad == 0) { if (_level0.Him._x > _x) { _x = _x + _global.movements; _level0.testmove(this, 2); } if (_level0.Him._x < _x) { _x = _x - _global.movements; _level0.testmove(this, 4); } if (_level0.Him._y > _y) { _y = _y + _global.movements; _level0.testmove(this, 3); } if (_level0.Him._y < _y) { _y = _y - _global.movements; _level0.testmove(this, 1); } } } } var clockwise = true; }Symbol 341 MovieClip [__Packages.cl_food] Frame 0class cl_food extends MovieClip { function cl_food () { super(); } function onEnterFrame() { _level0.Him._height = _level0.Him._height + (_global.movements / 30); _level0.Him._width = _level0.Him._width + (_global.movements / 30); } }Symbol 342 MovieClip [__Packages.cl_blueking] Frame 0class cl_blueking extends MovieClip { var _visible, bord, unloadMovie, reallygreat, hitTest, _x, _y; function cl_blueking () { super(); } function onLoad() { _visible = false; if (_global.firstcheckedmon == 0) { _global.firstcheckedmon = 1; } else { _global.iexist++; } _global.blueones[_level0._currentframe][_level0.blueonesnum] = this; bord = _level0.blueonesnum; _level0.blueonesnum++; } function onEnterFrame() { if (_global.wongame == 1) { _level0.gotoAndPlay(61); } if (_global.inhibmons == 1) { _global.blueones[_level0._currentframe][bord] = 0; _global.iexist--; unloadMovie(); } else { if (firsttoframe == 0) { firsttoframe = 1; _level0.monxp = _level0.monxp + 50; if (reallygreat == 1) { _level0.monxp = _level0.monxp + 50; } } _visible = true; if (_level0.Sword.hitTest(this) || (hitTest(_level0.Sword))) { _global.iexist--; _visible = false; _global.blueones[_level0._currentframe][bord] = 0; unloadMovie(); } if (hitTest(_level0.Him) || (_level0.Him.hitTest(this))) { _level0.Him._visible = false; } if (_level0.Him._x > _x) { _x = _x + (_global.movements * rush); _level0.testmove(this, 2); } if (_level0.Him._x < _x) { _x = _x - (_global.movements * rush); _level0.testmove(this, 4); } if (_level0.Him._y > _y) { _y = _y + (_global.movements * rush); _level0.testmove(this, 3); } if (_level0.Him._y < _y) { _y = _y - (_global.movements * rush); _level0.testmove(this, 1); } } } var firsttoframe = 0; var parry = 0; var swing = 2; var rush = 1; var king = 1; }Symbol 343 MovieClip [__Packages.cl_randomizer] Frame 0class cl_randomizer extends MovieClip { function cl_randomizer () { super(); } function onEnterFrame() { if (Math.random() < 0.25) { _level0.Him._y = _level0.Him._y - ((_global.movements * (_global.herospeed / 10)) * 2.4); _global.up = 1; _level0.testmove(_level0.Him, 1); } else if (Math.random() < 0.5) { _level0.Him._x = _level0.Him._x + ((_global.movements * (_global.herospeed / 10)) * 2.4); _global.right = 1; _level0.testmove(_level0.Him, 2); } else if (Math.random() < 0.75) { _level0.Him._y = _level0.Him._y + ((_global.movements * (_global.herospeed / 10)) * 2.4); _global.down = 1; _level0.testmove(_level0.Him, 3); } else { _level0.Him._x = _level0.Him._x - ((_global.movements * (_global.herospeed / 10)) * 2.4); _global.left = 1; _level0.testmove(_level0.Him, 4); } } }Symbol 344 MovieClip [__Packages.cl_bluewizard] Frame 0class cl_bluewizard extends MovieClip { var _visible, bord, unloadMovie, hitTest; function cl_bluewizard () { super(); } function onLoad() { _visible = false; if (_global.firstcheckedmon == 0) { _global.firstcheckedmon = 1; } else { _global.iexist++; } _global.blueones[_level0._currentframe][_level0.blueonesnum] = this; bord = _level0.blueonesnum; _level0.blueonesnum++; } function onEnterFrame() { if (_global.inhibmons == 1) { _global.blueones[_level0._currentframe][bord] = 0; _global.iexist--; unloadMovie(); } else { if (firsttoframe == 0) { firsttoframe = 1; _level0.monxp = _level0.monxp + 1200; } _visible = true; if (_level0.Sword.hitTest(this) || (hitTest(_level0.Sword))) { deaths--; if (deaths == 2) { _level0.Him._x = 370; _global.trapon = 0; } if (deaths == 1) { _level0.Him._x = 370; _global.keyhold = _global.moveupkey; _global.moveupkey = _global.movedownkey; _global.movedownkey = _global.keyhold; _global.keyhold = _global.moverightkey; _global.moverightkey = _global.moveleftkey; _global.moveleftkey = _global.keyhold; } if (deaths == 0) { _global.iexist--; _visible = false; _global.blueones[_level0._currentframe][bord] = 0; unloadMovie(); } } if (hitTest(_level0.Him) || (_level0.Him.hitTest(this))) { _level0.Him._visible = false; } } } var firsttoframe = 0; var deaths = 3; }Symbol 345 MovieClip [__Packages.cl_arrow] Frame 0class cl_arrow extends MovieClip { var goal, _visible, order, flame, hitTest, _x, bounds, _y, _rotation, getBounds; function cl_arrow () { super(); } function onLoad() { goal = new Object(); _visible = false; _global.arrows[_level0._currentframe][_level0.arrownum] = this; order = _level0.arrownum; _level0.arrownum++; if (flame == 1) { speedench = ((order * 0.3) + 1) * 1.25; order = 0; } } function onEnterFrame() { if ((_global.blueswords[_level0._currentframe][order]._visible && (_global.blueswords[_level0._currentframe][order].bow == 1)) || ((flame == 1) && (_global.blueswords[_level0._currentframe][0]._visible))) { _visible = true; if (hitTest(_level0.Him)) { _level0.Him._visible = false; } if (shot == 1) { if (_global.blueswords[_level0._currentframe][order]._x > goal.x) { if (_global.blueswords[_level0._currentframe][order]._y > goal.y) { _x = _x - (((bounds.xMax - bounds.xMin) * (_global.movements / 10)) * speedench); _y = _y - (((bounds.yMax - bounds.yMin) * (_global.movements / 10)) * speedench); } else { _x = _x - (((bounds.xMax - bounds.xMin) * (_global.movements / 10)) * speedench); _y = _y + (((bounds.yMax - bounds.yMin) * (_global.movements / 10)) * speedench); } } else if (_global.blueswords[_level0._currentframe][order]._y > goal.y) { _x = _x + (((bounds.xMax - bounds.xMin) * (_global.movements / 10)) * speedench); _y = _y - (((bounds.yMax - bounds.yMin) * (_global.movements / 10)) * speedench); } else { _x = _x + (((bounds.xMax - bounds.xMin) * (_global.movements / 10)) * speedench); _y = _y + (((bounds.yMax - bounds.yMin) * (_global.movements / 10)) * speedench); } if ((((_x > 400) || (_y > 400)) || (_x < 0)) || (_y < 0)) { shot = 0; } } if (shot == 0) { if (flame == 1) { _x = _global.blueswords[_level0._currentframe][0]._x; _y = _global.blueswords[_level0._currentframe][0]._y; _rotation = _global.blueswords[_level0._currentframe][0]._rotation; } else { _x = _global.blueswords[_level0._currentframe][order]._x; _y = _global.blueswords[_level0._currentframe][order]._y; _rotation = _global.blueswords[_level0._currentframe][order]._rotation; } shot = 1; goal.x = _level0.Him._x; goal.y = _level0.Him._y; bounds = new Object(); bounds = getBounds(_root); } } } var time = 0; var shot = 0; var speedench = 1; }Symbol 346 MovieClip [__Packages.cl_bluebow] Frame 0class cl_bluebow extends MovieClip { var _visible, order, wand, _x, _y, _height, _rotation, hitTest; function cl_bluebow () { super(); } function onLoad() { _visible = false; _global.blueswords[_level0._currentframe][_level0.blueswordnum] = this; order = _level0.blueswordnum; _level0.blueswordnum++; if (wand == 1) { speed = 2.5; } } function onEnterFrame() { if (_global.blueones[_level0._currentframe][order]) { _visible = true; _x = _global.blueones[_level0._currentframe][order]._x; _y = _global.blueones[_level0._currentframe][order]._y; if (_global.blueones[_level0._currentframe][order].blueguardcaptvar == 1) { _global.blueones[_level0._currentframe][order].blueguardcaptvar = 0; _height = 60; speed = 2; } var _local4 = _global.blueones[_level0._currentframe][order]._y - _level0.Him._y; var _local5 = _level0.Him._x - _global.blueones[_level0._currentframe][order]._x; var _local3 = 0; if (_local4 >= 0) { _local3 = 180 + (Math.atan(_local5 / _local4) / (Math.PI/180)); } if (_local4 < 0) { _local3 = Math.atan(_local5 / _local4) / (Math.PI/180); } if (_local3 > 180) { _local3 = -1 * (360 - _local3); } if (_rotation == 0) { if (_local3 > 0) { _rotation++; } if (_local3 < 0) { _rotation--; } } if (_local3 == 0) { if (_rotation > 0) { _rotation--; } if (_rotation < 0) { _rotation++; } } if (((_local3 > 0) && (_rotation > 0)) || ((_local3 < 0) && (_rotation < 0))) { if (_local3 > _rotation) { _rotation = _rotation + ((_global.movements / 2) * speed); dir = 1; } if (_local3 < _rotation) { _rotation = _rotation - ((_global.movements / 2) * speed); dir = 2; } } if ((_local3 > 0) && (_rotation < 0)) { if ((_rotation + 180) >= _local3) { _rotation = _rotation + ((_global.movements / 2) * speed); dir = 1; } if ((_rotation + 180) < _local3) { _rotation = _rotation - ((_global.movements / 2) * speed); dir = 2; } } if ((_local3 < 0) && (_rotation > 0)) { if (((180 - _rotation) * -1) > _local3) { _rotation = _rotation + ((_global.movements / 2) * speed); dir = 1; } else if (((180 - _rotation) * -1) < _local3) { _rotation = _rotation - ((_global.movements / 2) * speed); dir = 2; } } if (hitTest(_level0.Him) || (_level0.Him.hitTest(this))) { } if ((_global.parry > 0) && (hitTest(_level0.Sword) || (_level0.Sword.hitTest(this)))) { } } else { _visible = false; } } var speed = 1; var dir = 0; var bow = 1; }Symbol 347 MovieClip [__Packages.cl_box] Frame 0class cl_box extends MovieClip { var exists, unloadMovie, _name, hitTest, _visible, _x, _y; function cl_box () { super(); } function onLoad() { exists = 0; _global.shapenums[_root._currentframe][_level0.shapenum] = this; shapen = _level0.shapenum; _level0.shapenum++; if (_global.chckbxs[_root._currentframe][shapen] == 1) { unloadMovie(); } } function onEnterFrame() { if ((((((_name != "orange1") && (_name != "orange2")) || (_global.orangekeyfound == 1)) && ((_name != "Yellow") || (_global.orangekeyfound > 1))) && (((_name != "Brown") && (_name != "Brown2")) || (_global.brownkeyfound == 1))) && ((_name != "Purple") || (_global.purplekeyfound == 1))) { if ((_level0.orange1.exists == 2) || (_level0.orange2.exists == 2)) { _level0.orange2.exists = 2; _level0.orange1.exists = 2; _level0.orange2._visible = false; _level0.orange2._x = -50; _level0.orange2._y = -50; _level0.orange1._visible = false; _level0.orange1._x = -50; _level0.orange1._y = -50; } if (_level0.Sword.hitTest(this) || (hitTest(_level0.Sword))) { if ((_name == "Brown") || (_name == "Brown2")) { _level0.Brown2.exists = 2; _level0.Brown.exists = 2; _level0.Brown2._visible = false; _level0.Brown2._x = -50; _level0.Brown2._y = -50; _level0.Brown._visible = false; _level0.Brown._x = -50; _level0.Brown._y = -50; } if ((_root._currentframe == 94) && (shapen == 4)) { _level0.keyboxfound = 1; } if ((_global.iexist == 0) || (_global.firstcheckedmon == 0)) { _global.xp = _global.xp + 5; _global.shapenums[_root._currentframe][shapen] = this; _global.chckbxs[_root._currentframe][shapen] = 1; } _visible = false; _x = -50; _y = -50; exists = 2; } if ((((_global.iexist == 0) || (_global.firstcheckedmon == 0)) && (exists == 2)) && (_global.chckbxs[_root._currentframe][shapen] != 1)) { _global.chckbxs[_root._currentframe][shapen] = 1; _global.xp = _global.xp + 5; } } } var shapen = 0; }Symbol 348 MovieClip [__Packages.cl_armory] Frame 0class cl_armory extends MovieClip { var hitTest, gotoAndStop; function cl_armory () { super(); } function onEnterFrame() { _level0.armored = 1; if (hitTest(_level0.Sword)) { (gotoAndStop(2));// not popped _level0.armored = 0; } } }Symbol 349 MovieClip [__Packages.cl_bluevet] Frame 0class cl_bluevet extends MovieClip { var reallygreat, _visible, bord, unloadMovie, hitTest, _x, _y; function cl_bluevet () { super(); } function onLoad() { if (reallygreat == 1) { parry = 5; swing = 5; rush = 1.2; } _visible = false; if (_global.firstcheckedmon == 0) { _global.firstcheckedmon = 1; } else { _global.iexist++; } _global.blueones[_level0._currentframe][_level0.blueonesnum] = this; bord = _level0.blueonesnum; _level0.blueonesnum++; } function onEnterFrame() { if (_global.inhibmons == 1) { _global.blueones[_level0._currentframe][bord] = 0; _global.iexist--; unloadMovie(); } else { if (firsttoframe == 0) { firsttoframe = 1; _level0.monxp = _level0.monxp + 50; if (reallygreat == 1) { _level0.monxp = _level0.monxp + 50; } } _visible = true; if (_level0.Sword.hitTest(this) || (hitTest(_level0.Sword))) { _global.iexist--; _visible = false; _global.blueones[_level0._currentframe][bord] = 0; unloadMovie(); } if (hitTest(_level0.Him) || (_level0.Him.hitTest(this))) { _level0.Him._visible = false; } if (_level0.Him._x > _x) { _x = _x + (_global.movements * rush); _level0.testmove(this, 2); } if (_level0.Him._x < _x) { _x = _x - (_global.movements * rush); _level0.testmove(this, 4); } if (_level0.Him._y > _y) { _y = _y + (_global.movements * rush); _level0.testmove(this, 3); } if (_level0.Him._y < _y) { _y = _y - (_global.movements * rush); _level0.testmove(this, 1); } } } var firsttoframe = 0; var parry = 3; var swing = 2; var rush = 1; }Symbol 350 MovieClip [__Packages.cl_wall] Frame 0class cl_wall extends MovieClip { function cl_wall () { super(); } function onLoad() { _global.wallnums[_root._currentframe][_level0.wallnum] = this; _level0.wallnum++; } function onEnterFrame() { } }Symbol 351 MovieClip [__Packages.cl_blueflee] Frame 0class cl_blueflee extends MovieClip { var _visible, bord, unloadMovie, hitTest, _x, _y; function cl_blueflee () { super(); } function onLoad() { _visible = false; if (_global.firstcheckedmon == 0) { _global.firstcheckedmon = 1; } else { _global.iexist++; } _global.blueones[_level0._currentframe][_level0.blueonesnum] = this; bord = _level0.blueonesnum; _level0.blueonesnum++; } function onEnterFrame() { if (_global.inhibmons == 1) { _global.blueones[_level0._currentframe][bord] = 0; _global.iexist--; unloadMovie(); } else { if (firsttoframe == 0) { firsttoframe = 1; _level0.monxp = _level0.monxp + 10; } if (_global.trapon == 0) { _visible = true; if (_level0.Sword.hitTest(this) || (hitTest(_level0.Sword))) { _global.iexist--; _visible = false; _global.blueones[_level0._currentframe][bord] = 0; unloadMovie(); } if (hitTest(_level0.Him) || (_level0.Him.hitTest(this))) { _level0.Him._visible = false; } if ((_level0.Him._x > _x) && (_x > 10)) { _x = _x - (_global.movements * 0.7); _level0.testmove(this, 4); } if ((_level0.Him._x < _x) && (_x < 390)) { _x = _x + (_global.movements * 0.7); _level0.testmove(this, 2); } if ((_level0.Him._y > _y) && (_y > 10)) { _y = _y - (_global.movements * 0.7); _level0.testmove(this, 1); } if ((_level0.Him._y < _y) && (_y < 390)) { _y = _y + (_global.movements * 0.7); _level0.testmove(this, 3); } } } } var firsttoframe = 0; }Symbol 352 MovieClip [__Packages.cl_blueranged] Frame 0class cl_blueranged extends MovieClip { var _visible, bord, unloadMovie, hitTest; function cl_blueranged () { super(); } function onLoad() { _visible = false; if (_global.firstcheckedmon == 0) { _global.firstcheckedmon = 1; } else { _global.iexist++; } _global.blueones[_level0._currentframe][_level0.blueonesnum] = this; bord = _level0.blueonesnum; _level0.blueonesnum++; } function onEnterFrame() { if (_global.inhibmons == 1) { _global.blueones[_level0._currentframe][bord] = 0; _global.iexist--; unloadMovie(); } else { if (firsttoframe == 0) { firsttoframe = 1; _level0.monxp = _level0.monxp + 75; } _visible = true; if (_level0.Sword.hitTest(this) || (hitTest(_level0.Sword))) { _global.iexist--; _visible = false; _global.blueones[_level0._currentframe][bord] = 0; unloadMovie(); } if (hitTest(_level0.Him) || (_level0.Him.hitTest(this))) { _level0.Him._visible = false; } } } var firsttoframe = 0; }Symbol 353 MovieClip [__Packages.cl_displacer4] Frame 0class cl_displacer4 extends MovieClip { function cl_displacer4 () { super(); } function onEnterFrame() { _level0.Him._y = _level0.Him._y + ((_global.movements * (_global.herospeed / 10)) * 0.8); _global.down = 1; _level0.testmove(_level0.Him, 3); if ((_global.iexist == 0) && (xpgiven == 0)) { xpgiven = 1; _level0.monxp = _level0.monxp + 25; } } var xpgiven = 0; }Symbol 354 MovieClip [__Packages.cl_displacer3] Frame 0class cl_displacer3 extends MovieClip { function cl_displacer3 () { super(); } function onEnterFrame() { _level0.Him._x = _level0.Him._x - ((_global.movements * (_global.herospeed / 10)) * 0.8); _global.left = 1; _level0.testmove(_level0.Him, 4); if ((_global.iexist == 0) && (xpgiven == 0)) { xpgiven = 1; _level0.monxp = _level0.monxp + 25; } } var xpgiven = 0; }Symbol 355 MovieClip [__Packages.cl_trap] Frame 0class cl_trap extends MovieClip { function cl_trap () { super(); } function onLoad() { _global.trapon = 1; } function onEnterFrame() { if (_level0.Him.hitTest(this)) { _global.trapon = 0; } } }Symbol 356 MovieClip [__Packages.cl_blueexpert] Frame 0class cl_blueexpert extends MovieClip { var _visible, bord, unloadMovie, hitTest, _x, _y; function cl_blueexpert () { super(); } function onLoad() { _visible = false; if (_global.firstcheckedmon == 0) { _global.firstcheckedmon = 1; } else { _global.iexist++; } _global.blueones[_level0._currentframe][_level0.blueonesnum] = this; bord = _level0.blueonesnum; _level0.blueonesnum++; } function onEnterFrame() { if (_global.inhibmons == 1) { _global.blueones[_level0._currentframe][bord] = 0; _global.iexist--; unloadMovie(); } else { if (firsttoframe == 0) { firsttoframe = 1; _level0.monxp = _level0.monxp + 35; } _visible = true; if (_level0.Sword.hitTest(this) || (hitTest(_level0.Sword))) { _global.iexist--; _visible = false; _global.blueones[_level0._currentframe][bord] = 0; unloadMovie(); } if (hitTest(_level0.Him) || (_level0.Him.hitTest(this))) { _level0.Him._visible = false; } if (_level0.Him._x > _x) { _x = _x + (_global.movements * 0.85); _level0.testmove(this, 2); } if (_level0.Him._x < _x) { _x = _x - (_global.movements * 0.85); _level0.testmove(this, 4); } if (_level0.Him._y > _y) { _y = _y + (_global.movements * 0.85); _level0.testmove(this, 3); } if (_level0.Him._y < _y) { _y = _y - (_global.movements * 0.85); _level0.testmove(this, 1); } } } var firsttoframe = 0; var parry = 2; }Symbol 357 MovieClip [__Packages.cl_displacer] Frame 0class cl_displacer extends MovieClip { function cl_displacer () { super(); } function onEnterFrame() { _level0.Him._y = _level0.Him._y - ((_global.movements * (_global.herospeed / 10)) * 0.8); _global.up = 1; _level0.testmove(_level0.Him, 1); if ((_global.iexist == 0) && (xpgiven == 0)) { xpgiven = 1; _level0.monxp = _level0.monxp + 25; } } var xpgiven = 0; }Symbol 358 MovieClip [__Packages.cl_fire] Frame 0class cl_fire extends MovieClip { var hitTest; function cl_fire () { super(); } function onEnterFrame() { if ((hitTest(_level0.Him) || (_level0.Him.hitTest(this))) && (_level0.fireprotect == 0)) { _level0.Him._visible = false; } _level0.fireprotect = 0; if ((_global.iexist == 0) && (xpgiven == 0)) { xpgiven = 1; _level0.monxp = _level0.monxp + 2; } } var xpgiven = 0; }Symbol 359 MovieClip [__Packages.cl_blueparry] Frame 0class cl_blueparry extends MovieClip { var _visible, bord, unloadMovie, hitTest, _x, _y; function cl_blueparry () { super(); } function onLoad() { _visible = false; if (_global.firstcheckedmon == 0) { _global.firstcheckedmon = 1; } else { _global.iexist++; } _global.blueones[_level0._currentframe][_level0.blueonesnum] = this; bord = _level0.blueonesnum; _level0.blueonesnum++; } function onEnterFrame() { if (_global.inhibmons == 1) { _global.blueones[_level0._currentframe][bord] = 0; _global.iexist--; unloadMovie(); } else { if (firsttoframe == 0) { firsttoframe = 1; _level0.monxp = _level0.monxp + 20; } if (_global.trapon == 0) { _visible = true; if (_level0.Sword.hitTest(this) || (hitTest(_level0.Sword))) { _global.iexist--; _visible = false; _global.blueones[_level0._currentframe][bord] = 0; unloadMovie(); } if (hitTest(_level0.Him) || (_level0.Him.hitTest(this))) { _level0.Him._visible = false; } if (_level0.Him._x > _x) { _x = _x + (_global.movements * 0.6); _level0.testmove(this, 2); } if (_level0.Him._x < _x) { _x = _x - (_global.movements * 0.6); _level0.testmove(this, 4); } if (_level0.Him._y > _y) { _y = _y + (_global.movements * 0.6); _level0.testmove(this, 3); } if (_level0.Him._y < _y) { _y = _y - (_global.movements * 0.6); _level0.testmove(this, 1); } } } } var firsttoframe = 0; var parry = 2; }Symbol 360 MovieClip [__Packages.cl_displacer2] Frame 0class cl_displacer2 extends MovieClip { function cl_displacer2 () { super(); } function onEnterFrame() { _level0.Him._x = _level0.Him._x + ((_global.movements * (_global.herospeed / 10)) * 0.8); _global.right = 1; _level0.testmove(_level0.Him, 2); if ((_global.iexist == 0) && (xpgiven == 0)) { xpgiven = 1; _level0.monxp = _level0.monxp + 25; } } var xpgiven = 0; }Symbol 361 MovieClip [__Packages.cl_ropepoint] Frame 0class cl_ropepoint extends MovieClip { var p, _x, _y, _parent; function cl_ropepoint () { super(); } function onEnterFrame() { p = new Object(); p.x = _x; p.y = _y; _parent.localToGlobal(p); if (_level0.Him.hitTest(p.x, p.y, true)) { _level0.fireprotect = 1; } } }Symbol 362 MovieClip [__Packages.cl_bluefast] Frame 0class cl_bluefast extends MovieClip { var _visible, bord, unloadMovie, hitTest, _x, _y; function cl_bluefast () { super(); } function onLoad() { _visible = false; if (_global.firstcheckedmon == 0) { _global.firstcheckedmon = 1; } else { _global.iexist++; } _global.blueones[_level0._currentframe][_level0.blueonesnum] = this; bord = _level0.blueonesnum; _level0.blueonesnum++; } function onEnterFrame() { if (_global.inhibmons == 1) { _global.blueones[_level0._currentframe][bord] = 0; _global.iexist--; unloadMovie(); } else { if (firsttoframe == 0) { firsttoframe = 1; _level0.monxp = _level0.monxp + 20; } if (_global.trapon == 0) { _visible = true; if (_level0.Sword.hitTest(this) || (hitTest(_level0.Sword))) { _global.iexist--; _visible = false; _global.blueones[_level0._currentframe][bord] = 0; unloadMovie(); } if (hitTest(_level0.Him) || (_level0.Him.hitTest(this))) { _level0.Him._visible = false; } if ((_level0.Him._x > _x) && (_x < 396)) { _x = _x + (_global.movements * 0.8); _level0.testmove(this, 2); } if ((_level0.Him._x < _x) && (_x > 4)) { _x = _x - (_global.movements * 0.8); _level0.testmove(this, 4); } if ((_level0.Him._y > _y) && (_y < 396)) { _y = _y + (_global.movements * 0.8); _level0.testmove(this, 3); } if ((_level0.Him._y < _y) && (_y > 4)) { _y = _y - (_global.movements * 0.8); _level0.testmove(this, 1); } } } } var firsttoframe = 0; }Symbol 363 MovieClip [__Packages.cl_neststone] Frame 0class cl_neststone extends MovieClip { var nst, gotoAndStop, _x, _y, hitTest; function cl_neststone () { super(); } function onLoad() { nst = 0; _level0.nest++; if (_global.inhibmons == 1) { (gotoAndStop(2));// not popped } else { (gotoAndStop(1));// not popped } } function onEnterFrame() { if ((_global.iexist == 0) && (xpgiven == 0)) { xpgiven = 1; _level0.monxp = _level0.monxp + 50; } if ((nst != 1) && (nst != 2)) { _level0.nestx = _x; _level0.nesty = _y; } var _local4 = _level0.wallnum; while (_local4 > -1) { if ((_global.wallnums[_root._currentframe][_local4].stone == 1) && (nst != 2)) { if (hitTest(_global.wallnums[_root._currentframe][_local4])) { _global.wallnums[_root._currentframe][_local4].unloadMovie(); _global.wallnums[_root._currentframe][_local4]._parent.unloadMovie(); nst = 1; (gotoAndStop(2));// not popped } } _local4--; } if ((_global.inhibmons == 1) && (nst != 2)) { nst = 1; (gotoAndStop(2));// not popped } if (nst == 1) { nst = 2; _level0.nest--; } } var xpgiven = 0; }Symbol 364 MovieClip [__Packages.cl_goo] Frame 0class cl_goo extends MovieClip { var unloadMovie; function cl_goo () { super(); } function onEnterFrame() { if (_level0.Him.hitTest(this)) { if (goo == 0) { _level0.gogoo = 1; goo = 100; } } if (goo > 0) { goo--; if (goo == 0) { unloadMovie(); _level0.gogoo = 0; } } } var goo = 0; }Symbol 365 MovieClip [__Packages.cl_bug7] Frame 0class cl_bug7 extends MovieClip { var _visible, _x, _y, unloadMovie, rotdir, radius, rush, ang, oldy, oldx, hitTest, trang, trot; function cl_bug7 () { super(); } function onLoad() { _visible = false; if (_global.firstcheckedmon == 0) { _global.firstcheckedmon = 1; } else { _global.iexist++; } } function moveme() { if (_level0.Him._x > _x) { _x = _x + _global.movements; _level0.testmove(this, 2); } if (_level0.Him._x < _x) { _x = _x - _global.movements; _level0.testmove(this, 4); } if (_level0.Him._y > _y) { _y = _y + _global.movements; _level0.testmove(this, 3); } if (_level0.Him._y < _y) { _y = _y - _global.movements; _level0.testmove(this, 1); } } function hittests3(a) { if (_level0.Sword.hitTest(a) || (a.hitTest(_level0.Sword))) { _global.iexist--; a.unloadMovie(); } if (a.hitTest(_level0.Him) || (_level0.Him.hitTest(a))) { _level0.Him._visible = false; } } function onEnterFrame() { if (_global.inhibmons == 1) { _global.iexist--; unloadMovie(); } else { if (firsttoframe == 0) { firsttoframe = 1; _level0.monxp = _level0.monxp + 18; rotdir = (Math.PI/90) * (_global.movements / 5); } if (_global.trapon == 0) { _visible = true; hittests3(this); radius = Math.pow(Math.pow(_x - _level0.Him._x, 2) + Math.pow(_y - _level0.Him._y, 2), 0.5); if (radius < 125) { rush = false; if (_x <= _level0.Him._x) { ang = Math.atan((_y - _level0.Him._y) / (_level0.Him._x - _x)); ang = ang + rotdir; oldy = _y; oldx = _x; _y = _level0.Him._y + (radius * Math.sin(ang)); _x = _level0.Him._x - (radius * Math.cos(ang)); if ((((_x > 400) || (_y > 400)) || (_x < 0)) || (_y < 0)) { _y = oldy; _x = oldx; rotdir = rotdir * -1; } var _local4 = _level0.wallnum; while (_local4 > -1) { if (hitTest(_global.wallnums[_root._currentframe][_local4])) { _y = oldy; _x = oldx; rotdir = rotdir * -1; } _local4--; } _local4 = _level0.shapenum; while (_local4 > -1) { if (hitTest(_global.shapenums[_root._currentframe][_local4])) { _y = oldy; _x = oldx; rotdir = rotdir * -1; } _local4--; } } else if (_x > _level0.Him._x) { ang = Math.PI + Math.atan((_y - _level0.Him._y) / (_level0.Him._x - _x)); ang = ang + rotdir; oldy = _y; oldx = _x; _y = _level0.Him._y + (radius * Math.sin(ang)); _x = _level0.Him._x - (radius * Math.cos(ang)); if ((((_x > 400) || (_y > 400)) || (_x < 0)) || (_y < 0)) { _y = oldy; _x = oldx; rotdir = rotdir * -1; } var _local4 = _level0.wallnum; while (_local4 > -1) { if (hitTest(_global.wallnums[_root._currentframe][_local4])) { _y = oldy; _x = oldx; rotdir = rotdir * -1; } _local4--; } _local4 = _level0.shapenum; while (_local4 > -1) { if (hitTest(_global.shapenums[_root._currentframe][_local4])) { _y = oldy; _x = oldx; rotdir = rotdir * -1; } _local4--; } } trang = Math.round((ang / (Math.PI/180)) + 90); if (_level0.Sword._rotation <= 0) { trot = -1 * _level0.Sword._rotation; } if (_level0.Sword._rotation > 0) { trot = 360 + (-1 * _level0.Sword._rotation); } var _local6 = Math.round(trot - trotrange); var _local5 = Math.round(trot + trotrange); if (_local6 < 0) { _local6 = 360 - (_local6 * -1); if ((trang < _local6) & (trang > _local5)) { trotrange = 80; moveme(); rush = true; } } else if (_local5 > 360) { _local5 = _local5 - 360; if ((trang < _local6) & (trang > _local5)) { trotrange = 80; moveme(); rush = true; } } else if ((trang < _local6) || (trang > _local5)) { trotrange = 80; moveme(); rush = true; } else { trotrange = 120; } if (_level0.Sword._rotation >= 90) { } if ((radius < 100) && (rush == false)) { if (_level0.Him._x > _x) { _x = _x - _global.movements; _level0.testmove(this, 4); } if (_level0.Him._x < _x) { _x = _x + _global.movements; _level0.testmove(this, 2); } if (_level0.Him._y > _y) { _y = _y - _global.movements; _level0.testmove(this, 1); } if (_level0.Him._y < _y) { _y = _y + _global.movements; _level0.testmove(this, 3); } } } else { moveme(); } } } } var clockwise = true; var firsttoframe = 0; var trotrange = 120; }Symbol 366 MovieClip [__Packages.cl_acid] Frame 0class cl_acid extends MovieClip { var stop, hitTest, gotoAndStop; function cl_acid () { super(); } function onLoad() { (stop());// not popped } function onEnterFrame() { if (hitTest(_level0.Him)) { acid++; } else { acid = 0; } if (acid == 0) { (gotoAndStop(1));// not popped } if (acid == Math.round(10 / (_global.movements / 5))) { (gotoAndStop(2));// not popped } if (acid == Math.round(20 / (_global.movements / 5))) { (gotoAndStop(3));// not popped } if (acid == Math.round(30 / (_global.movements / 5))) { (gotoAndStop(4));// not popped } if (acid == Math.round(40 / (_global.movements / 5))) { (gotoAndStop(5));// not popped } if (acid == Math.round(50 / (_global.movements / 5))) { _level0.Him._visible = false; } } var acid = 0; }Symbol 367 MovieClip [__Packages.cl_bugacid] Frame 0class cl_bugacid extends MovieClip { var _visible, unloadMovie, hitTest, _x, _y; function cl_bugacid () { super(); } function onLoad() { _visible = false; if (_global.firstcheckedmon == 0) { _global.firstcheckedmon = 1; } else { _global.iexist++; } } function onEnterFrame() { if (_global.inhibmons == 1) { _global.iexist--; unloadMovie(); } else { if (firsttoframe == 0) { firsttoframe = 1; _level0.monxp = _level0.monxp + 15; } if (_global.trapon == 0) { _visible = true; if (_level0.Sword.hitTest(this) || (hitTest(_level0.Sword))) { _global.iexist--; _level0.Sword._height = _level0.Sword._height - 2; unloadMovie(); } if (hitTest(_level0.Him) || (_level0.Him.hitTest(this))) { _level0.Him._visible = false; } if (_level0.Him._x > _x) { _x = _x + _global.movements; _level0.testmove(this, 2); } if (_level0.Him._x < _x) { _x = _x - _global.movements; _level0.testmove(this, 4); } if (_level0.Him._y > _y) { _y = _y + _global.movements; _level0.testmove(this, 3); } if (_level0.Him._y < _y) { _y = _y - _global.movements; _level0.testmove(this, 1); } } } } var firsttoframe = 0; }Symbol 368 MovieClip [__Packages.cl_stone] Frame 0class cl_stone extends MovieClip { var hitTest, _x, _y; function cl_stone () { super(); } function onEnterFrame() { if (hitTest(_level0.Him)) { if (_global.right == 1) { _x = _x + ((_global.movements * (_global.herospeed / 10)) * _level0.spdmod); _level0.testmove(this, 2, 1); } else if (_global.left == 1) { _x = _x - ((_global.movements * (_global.herospeed / 10)) * _level0.spdmod); _level0.testmove(this, 4, 1); } else if (_global.up == 1) { _y = _y - ((_global.movements * (_global.herospeed / 10)) * _level0.spdmod); _level0.testmove(this, 1, 1); } else if (_global.down == 1) { _y = _y + ((_global.movements * (_global.herospeed / 10)) * _level0.spdmod); _level0.testmove(this, 3, 1); } } } }Symbol 369 MovieClip [__Packages.cl_buglightning] Frame 0class cl_buglightning extends MovieClip { var _visible, stup, d, randomm, _x, hitTest, _y; function cl_buglightning () { super(); } function onLoad() { _visible = false; if (_global.firstcheckedmon == 0) { _global.firstcheckedmon = 1; } else { _global.iexist++; } } function hittests2(a) { if (_level0.Sword.hitTest(a)) { if (_level0.nest > 0) { a._x = _level0.nestx; a._y = _level0.nesty; } else { _visible = false; stup = 1; } } if (a.hitTest(_level0.Him)) { _level0.Him._visible = false; } } function onEnterFrame() { if ((_global.inhibmons == 1) || (stup == 1)) { if (d != 1) { d = 1; _global.iexist--; } } else { if (firsttoframe == 0) { firsttoframe = 1; _level0.monxp = _level0.monxp + 20; } if (_global.trapon == 0) { _visible = true; hittests2(this); if (randomm > 0) { randomm--; var _local4 = 2; while (_local4 > 0) { _local4--; var _local3 = Math.random(); if (_local3 > 0.75) { _x = _x + (2.4 * _global.movements); if (hitTest(_level0.Sword)) { _x = _x - (2.4 * _global.movements); } else { _level0.testmove(this, 2); } } else if (_local3 > 0.5) { _x = _x - (2.4 * _global.movements); if (hitTest(_level0.Sword)) { _x = _x + (2.4 * _global.movements); } else { _level0.testmove(this, 4); } } else if (_local3 > 0.25) { _y = _y + (2.4 * _global.movements); if (hitTest(_level0.Sword)) { _y = _y - (2.4 * _global.movements); } else { _level0.testmove(this, 3); } } else { _y = _y - (2.4 * _global.movements); if (hitTest(_level0.Sword)) { _y = _y + (2.4 * _global.movements); } else { _level0.testmove(this, 1); } } } } else { if (_level0.Him._x > _x) { _x = _x + (2 * _global.movements); if (hitTest(_level0.Sword)) { _x = _x - (2 * _global.movements); randomm = 5; } else { _level0.testmove(this, 2); } } if (_level0.Him._y > _y) { _y = _y + (2 * _global.movements); if (hitTest(_level0.Sword)) { _y = _y - (2 * _global.movements); randomm = 5; } else { _level0.testmove(this, 3); } } if (_level0.Him._x < _x) { _x = _x - (2 * _global.movements); if (hitTest(_level0.Sword)) { _x = _x + (2 * _global.movements); randomm = 5; } else { _level0.testmove(this, 4); } } if (_level0.Him._y < _y) { _y = _y - (2 * _global.movements); if (hitTest(_level0.Sword)) { _y = _y + (2 * _global.movements); randomm = 5; } else { _level0.testmove(this, 1); } } } } } } var firsttoframe = 0; }Symbol 370 MovieClip [__Packages.cl_bug6] Frame 0class cl_bug6 extends MovieClip { var _visible, _x, _y, unloadMovie, rotdir, radius, rush, ang, oldy, oldx, hitTest, trang, trot; function cl_bug6 () { super(); } function onLoad() { _visible = false; if (_global.firstcheckedmon == 0) { _global.firstcheckedmon = 1; } else { _global.iexist++; } } function moveme() { if (_level0.Him._x > _x) { _x = _x + (_global.movements * 0.65); _level0.testmove(this, 2); } if (_level0.Him._x < _x) { _x = _x - (_global.movements * 0.65); _level0.testmove(this, 4); } if (_level0.Him._y > _y) { _y = _y + (_global.movements * 0.65); _level0.testmove(this, 3); } if (_level0.Him._y < _y) { _y = _y - (_global.movements * 0.65); _level0.testmove(this, 1); } } function hittests3(a) { if (_level0.Sword.hitTest(a) || (a.hitTest(_level0.Sword))) { _global.iexist--; a.unloadMovie(); } if (a.hitTest(_level0.Him) || (_level0.Him.hitTest(a))) { _level0.Him._visible = false; } } function onEnterFrame() { if (_global.inhibmons == 1) { _global.iexist--; unloadMovie(); } else { if (firsttoframe == 0) { firsttoframe = 1; _level0.monxp = _level0.monxp + 18; rotdir = (Math.PI/90) * (_global.movements / 5); } if (_global.trapon == 0) { _visible = true; hittests3(this); radius = Math.pow(Math.pow(_x - _level0.Him._x, 2) + Math.pow(_y - _level0.Him._y, 2), 0.5); if (radius < 125) { rush = false; if (_x <= _level0.Him._x) { ang = Math.atan((_y - _level0.Him._y) / (_level0.Him._x - _x)); ang = ang + rotdir; oldy = _y; oldx = _x; _y = _level0.Him._y + (radius * Math.sin(ang)); _x = _level0.Him._x - (radius * Math.cos(ang)); if ((((_x > 400) || (_y > 400)) || (_x < 0)) || (_y < 0)) { _y = oldy; _x = oldx; rotdir = rotdir * -1; } var _local4 = _level0.wallnum; while (_local4 > -1) { if (hitTest(_global.wallnums[_root._currentframe][_local4])) { _y = oldy; _x = oldx; rotdir = rotdir * -1; } _local4--; } _local4 = _level0.shapenum; while (_local4 > -1) { if (hitTest(_global.shapenums[_root._currentframe][_local4])) { _y = oldy; _x = oldx; rotdir = rotdir * -1; } _local4--; } } else if (_x > _level0.Him._x) { ang = Math.PI + Math.atan((_y - _level0.Him._y) / (_level0.Him._x - _x)); ang = ang + rotdir; oldy = _y; oldx = _x; _y = _level0.Him._y + (radius * Math.sin(ang)); _x = _level0.Him._x - (radius * Math.cos(ang)); if ((((_x > 400) || (_y > 400)) || (_x < 0)) || (_y < 0)) { _y = oldy; _x = oldx; rotdir = rotdir * -1; } var _local4 = _level0.wallnum; while (_local4 > -1) { if (hitTest(_global.wallnums[_root._currentframe][_local4])) { _y = oldy; _x = oldx; rotdir = rotdir * -1; } _local4--; } _local4 = _level0.shapenum; while (_local4 > -1) { if (hitTest(_global.shapenums[_root._currentframe][_local4])) { _y = oldy; _x = oldx; rotdir = rotdir * -1; } _local4--; } } trang = Math.round((ang / (Math.PI/180)) + 90); if (_level0.Sword._rotation <= 0) { trot = -1 * _level0.Sword._rotation; } if (_level0.Sword._rotation > 0) { trot = 360 + (-1 * _level0.Sword._rotation); } var _local6 = Math.round(trot - trotrange); var _local5 = Math.round(trot + trotrange); if (_local6 < 0) { _local6 = 360 - (_local6 * -1); if ((trang < _local6) & (trang > _local5)) { trotrange = 80; moveme(); rush = true; } } else if (_local5 > 360) { _local5 = _local5 - 360; if ((trang < _local6) & (trang > _local5)) { trotrange = 80; moveme(); rush = true; } } else if ((trang < _local6) || (trang > _local5)) { trotrange = 80; moveme(); rush = true; } else { trotrange = 120; } if (_level0.Sword._rotation >= 90) { } if ((radius < 100) && (rush == false)) { if (_level0.Him._x > _x) { _x = _x - (_global.movements * 0.65); _level0.testmove(this, 4); } if (_level0.Him._x < _x) { _x = _x + (_global.movements * 0.65); _level0.testmove(this, 2); } if (_level0.Him._y > _y) { _y = _y - (_global.movements * 0.65); _level0.testmove(this, 1); } if (_level0.Him._y < _y) { _y = _y + (_global.movements * 0.65); _level0.testmove(this, 3); } } } else { moveme(); } } } } var clockwise = true; var firsttoframe = 0; var trotrange = 120; }Symbol 371 MovieClip [__Packages.cl_blueguardcapt] Frame 0class cl_blueguardcapt extends MovieClip { var _visible, bord, unloadMovie, hitTest; function cl_blueguardcapt () { super(); } function onLoad() { _visible = false; if (_global.firstcheckedmon == 0) { _global.firstcheckedmon = 1; } else { _global.iexist++; } _global.blueones[_level0._currentframe][_level0.blueonesnum] = this; bord = _level0.blueonesnum; _level0.blueonesnum++; } function onEnterFrame() { if (_global.inhibmons == 1) { _global.blueones[_level0._currentframe][bord] = 0; _global.iexist--; unloadMovie(); } else { if (firsttoframe == 0) { firsttoframe = 1; _level0.monxp = _level0.monxp + 200; } _visible = true; if (_level0.Sword.hitTest(this) || (hitTest(_level0.Sword))) { _global.iexist--; _visible = false; _global.blueones[_level0._currentframe][bord] = 0; unloadMovie(); } if (hitTest(_level0.Him) || (_level0.Him.hitTest(this))) { _level0.Him._visible = false; } } } var firsttoframe = 0; var blueguardcaptvar = 1; }Symbol 372 MovieClip [__Packages.cl_stairsboth] Frame 0class cl_stairsboth extends MovieClip { var z, hitTest; function cl_stairsboth () { super(); } function onLoad() { if (Key.isDown(_global.downkey) || (Key.isDown(_global.upkey))) { z = 1; } } function onEnterFrame() { if (!(Key.isDown(_global.downkey) || (Key.isDown(_global.upkey)))) { z = 0; } if (z == 0) { if (hitTest(_level0.Him) && (Key.isDown(_global.downkey))) { _global.stairshitdown = 1; } if (hitTest(_level0.Him) && (Key.isDown(_global.upkey))) { _global.stairshit = 1; } } } }Symbol 373 MovieClip [__Packages.cl_stairs] Frame 0class cl_stairs extends MovieClip { var z, hitTest; function cl_stairs () { super(); } function onLoad() { if (Key.isDown(_global.downkey) || (Key.isDown(_global.upkey))) { z = 1; } } function onEnterFrame() { if (!(Key.isDown(_global.downkey) || (Key.isDown(_global.upkey)))) { z = 0; } if (z == 0) { if (hitTest(_level0.Him) && (Key.isDown(_global.upkey))) { _global.stairshit = 1; } } } }Symbol 374 MovieClip [__Packages.cl_sand] Frame 0class cl_sand extends MovieClip { var hitTest; function cl_sand () { super(); } function onLoad() { } function onEnterFrame() { if (hitTest(_level0.Him)) { _level0.spdmod = 0.333333333333333; } else { _level0.spdmod = 1; } } }Symbol 375 MovieClip [__Packages.cl_togglewall] Frame 0class cl_togglewall extends MovieClip { var _visible, gotoAndStop; function cl_togglewall () { super(); } function onLoad() { _visible = false; } function onEnterFrame() { if (_level0.toggled == 0) { (gotoAndStop(1));// not popped } else { (gotoAndStop(2));// not popped } ptm++; if (ptm == 2) { _visible = true; } } var ptm = 0; }Symbol 376 MovieClip [__Packages.cl_button] Frame 0class cl_button extends MovieClip { var hitTest; function cl_button () { super(); } function onEnterFrame() { if (_level0.Sword.hitTest(this) || (hitTest(_level0.Sword))) { _level0.toggled = 1; } } }Symbol 377 MovieClip [__Packages.cl_stairsdown] Frame 0class cl_stairsdown extends MovieClip { var z, hitTest; function cl_stairsdown () { super(); } function onLoad() { if (Key.isDown(_global.downkey) || (Key.isDown(_global.upkey))) { z = 1; } } function onEnterFrame() { if (!(Key.isDown(_global.downkey) || (Key.isDown(_global.upkey)))) { z = 0; } if (z == 0) { if (hitTest(_level0.Him) && (Key.isDown(_global.downkey))) { _global.stairshitdown = 1; } } } }Symbol 378 MovieClip [__Packages.cl_nest] Frame 0class cl_nest extends MovieClip { var nst, gotoAndStop, _x, _y, hitTest; function cl_nest () { super(); } function onLoad() { nst = 0; _level0.nest++; if (_global.inhibmons == 1) { (gotoAndStop(2));// not popped } else { (gotoAndStop(1));// not popped } } function onEnterFrame() { if ((_global.iexist == 0) && (xpgiven == 0)) { xpgiven = 1; _level0.monxp = _level0.monxp + 35; } if ((nst != 1) && (nst != 2)) { _level0.nestx = _x; _level0.nesty = _y; } if (((_level0.Sword.hitTest(this) || (hitTest(_level0.Sword))) || (_global.inhibmons == 1)) && (nst != 2)) { nst = 1; (gotoAndStop(2));// not popped } if (nst == 1) { nst = 2; _level0.nest--; } } var xpgiven = 0; }Symbol 379 MovieClip [__Packages.cl_ice] Frame 0class cl_ice extends MovieClip { var hitTest; function cl_ice () { super(); } function onLoad() { } function onEnterFrame() { if (hitTest(_level0.Him)) { _level0.icehit = 1; } } }Symbol 380 MovieClip [__Packages.cl_lasershot] Frame 0class cl_lasershot extends MovieClip { var hitTest; function cl_lasershot () { super(); } function onEnterFrame() { if (hitTest(_level0.Him)) { _level0.Him._visible = false; } } }Symbol 381 MovieClip [__Packages.cl_laser] Frame 0class cl_laser extends MovieClip { var stop, gotoAndStop; function cl_laser () { super(); } function onLoad() { (stop());// not popped } function onEnterFrame() { time++; if (time == Math.round(15 / (_global.movements / 5))) { (gotoAndStop(2));// not popped } if (time == Math.round(30 / (_global.movements / 5))) { time = 0; (gotoAndStop(1));// not popped } if ((_global.iexist == 0) && (xpgiven == 0)) { xpgiven = 1; _level0.monxp = _level0.monxp + 5; } } var time = 0; var xpgiven = 0; }Symbol 382 MovieClip [__Packages.cl_square] Frame 0class cl_square extends MovieClip { var _visible, stop, _name, gotoAndStop; function cl_square () { super(); } function onLoad() { _level0.textbx1.removeTextField(); _visible = false; (stop());// not popped } function onEnterFrame() { if (_global.roomcondition[_name.slice(4)] > 0) { _visible = true; } if (_global.roomcondition[_name.slice(4)] == 2) { (gotoAndStop(2));// not popped } if (_global.roomcondition[_name.slice(4)] == 3) { (gotoAndStop(3));// not popped } if (_global.roomcondition[_name.slice(4)] == 5) { (gotoAndStop(5));// not popped } if (_global.roomcondition[_name.slice(4)] == 6) { (gotoAndStop(6));// not popped } if (_global.roomcondition[_name.slice(4)] == 7) { (gotoAndStop(7));// not popped } if (_name.slice(4) == _global.returningframe) { (gotoAndStop(4));// not popped } } }Symbol 383 MovieClip [__Packages.cl_blue] Frame 0class cl_blue extends MovieClip { var _visible, bord, unloadMovie, hitTest, _x, _y; function cl_blue () { super(); } function onLoad() { _visible = false; if (_global.firstcheckedmon == 0) { _global.firstcheckedmon = 1; } else { _global.iexist++; } _global.blueones[_level0._currentframe][_level0.blueonesnum] = this; bord = _level0.blueonesnum; _level0.blueonesnum++; } function onEnterFrame() { if (_global.inhibmons == 1) { _global.blueones[_level0._currentframe][bord] = 0; _global.iexist--; unloadMovie(); } else { if (firsttoframe == 0) { firsttoframe = 1; _level0.monxp = _level0.monxp + 20; } _visible = true; if (_level0.Sword.hitTest(this) || (hitTest(_level0.Sword))) { _global.iexist--; _visible = false; _global.blueones[_level0._currentframe][bord] = 0; unloadMovie(); } if (hitTest(_level0.Him) || (_level0.Him.hitTest(this))) { _level0.Him._visible = false; } if (_level0.Him._x > _x) { _x = _x + (_global.movements * 0.6); _level0.testmove(this, 2); } if (_level0.Him._x < _x) { _x = _x - (_global.movements * 0.6); _level0.testmove(this, 4); } if (_level0.Him._y > _y) { _y = _y + (_global.movements * 0.6); _level0.testmove(this, 3); } if (_level0.Him._y < _y) { _y = _y - (_global.movements * 0.6); _level0.testmove(this, 1); } } } var firsttoframe = 0; }Symbol 384 MovieClip [__Packages.cl_boxtrapped] Frame 0class cl_boxtrapped extends MovieClip { var _visible, unloadMovie, hitTest; function cl_boxtrapped () { super(); } function onLoad() { _global.shapenums[_root._currentframe][_level0.shapenum] = this; _level0.shapenum++; _visible = false; if (_global.firstcheckedmon == 0) { _global.firstcheckedmon = 1; } else { _global.iexist++; } } function onEnterFrame() { _visible = true; if (_global.inhibmons == 1) { _global.iexist--; unloadMovie(); } if (_level0.Sword.hitTest(this) || (hitTest(_level0.Sword))) { if ((hittimes == 1) && (_global.kidnums == 0)) { _global.iexist--; unloadMovie(); } if (hittimes == 0) { _global.birthtime = 1; _global.birthtimex = 200; _global.birthtimey = 200; hittimes++; } } } var shapen = 0; var hittimes = 0; }Symbol 385 MovieClip [__Packages.cl_bug4] Frame 0class cl_bug4 extends MovieClip { var clbug_mc, _visible, unloadMovie, _x, _y, hitTest; function cl_bug4 (passed_mc) { super(); clbug_mc = passed_mc; } function onLoad() { _visible = false; if (_global.firstcheckedmon == 0) { _global.firstcheckedmon = 1; } else { _global.iexist++; } } function onEnterFrame() { if (_global.inhibmons == 1) { _global.iexist--; unloadMovie(); } else { if (firsttoframe == 0) { firsttoframe = 1; _level0.monxp = _level0.monxp + 120; } birthtimer++; _level0.order2._x = 10; if (birthtimer == Math.round(25 / (_global.movements / 5))) { _global.birthtime = 1; _global.birthtimex = _x; _global.birthtimey = _y; birthtimer = 0; } if (_global.trapon == 0) { _visible = true; if (_level0.Sword.hitTest(this) || (hitTest(_level0.Sword))) { if (hittimes == 3) { _global.iexist--; unloadMovie(); } else { hittimes++; _x = 200; _y = 200; } } if (hitTest(_level0.Him) || (_level0.Him.hitTest(this))) { _level0.Him._visible = false; } if (_level0.Him._x > _x) { _x = _x - _global.movements; _level0.testmove(this, 4); } if (_level0.Him._x < _x) { _x = _x + _global.movements; _level0.testmove(this, 2); } if (_level0.Him._y > _y) { _y = _y - _global.movements; _level0.testmove(this, 1); } if (_level0.Him._y < _y) { _y = _y + _global.movements; _level0.testmove(this, 3); } } } } var hittimes = 0; var firsttoframe = 0; var birthtimer = 0; }Symbol 386 MovieClip [__Packages.cl_bug3] Frame 0class cl_bug3 extends MovieClip { var _visible, unloadMovie, hitTest, hitrad, _x, _y; function cl_bug3 () { super(); } function onLoad() { _visible = false; if (_global.firstcheckedmon == 0) { _global.firstcheckedmon = 1; } else { _global.iexist++; } } function hittests3(a) { if (_level0.Sword.hitTest(a) || (a.hitTest(_level0.Sword))) { _global.iexist--; a.unloadMovie(); } if (a.hitTest(_level0.Him) || (_level0.Him.hitTest(a))) { _level0.Him._visible = false; } } function onEnterFrame() { if (_global.inhibmons == 1) { _global.iexist--; unloadMovie(); } else { if (firsttoframe == 0) { firsttoframe = 1; _level0.monxp = _level0.monxp + 15; } if (_global.trapon == 0) { _visible = true; hittests3(this); _level0.Him._width = _level0.Him._width + 120; _level0.Him._height = _level0.Him._height + 120; if (hitTest(_level0.Him)) { hitrad = 1; } else { hitrad = 0; } _level0.Him._width = _level0.Him._width - 120; _level0.Him._height = _level0.Him._height - 120; if (hitrad == 1) { if (clockwise == false) { if (((_x - _global.movements) >= _level0.Him._x) && ((_y - _global.movements) <= _level0.Him._y)) { if (!((_level0.Sword._rotation > -270) && (_level0.Sword._rotation <= -90))) { _y = _y - _global.movements; if (_level0.testmove(this, 1)) { clockwise = true; } } else { hitrad = 0; } } if (((_x + _global.movements) > _level0.Him._x) && ((_y - _global.movements) >= _level0.Him._y)) { if (!((_level0.Sword._rotation <= 0) && (_level0.Sword._rotation > -90))) { _x = _x + _global.movements; if (_level0.testmove(this, 2) == true) { clockwise = true; } } else { hitrad = 0; } } if (((_x - _global.movements) < _level0.Him._x) && ((_y + _global.movements) < _level0.Him._y)) { if (!((_level0.Sword._rotation > 90) && (_level0.Sword._rotation <= 180))) { _x = _x - _global.movements; if (_level0.testmove(this, 4) == true) { clockwise = true; } } else { hitrad = 0; } } if (((_x + _global.movements) <= _level0.Him._x) && ((_y + _global.movements) >= _level0.Him._y)) { if (!((_level0.Sword._rotation > 0) && (_level0.Sword._rotation <= 90))) { _y = _y + _global.movements; if (_level0.testmove(this, 3) == true) { clockwise = true; } } else { hitrad = 0; } } } else if (clockwise == true) { if (((_x + _global.movements) >= _level0.Him._x) && ((_y + _global.movements) <= _level0.Him._y)) { if (!((_level0.Sword._rotation >= -270) && (_level0.Sword._rotation < -90))) { _x = _x + _global.movements; if (_level0.testmove(this, 2)) { clockwise = false; } } else { hitrad = 0; } } if (((_x - _global.movements) > _level0.Him._x) && ((_y + _global.movements) >= _level0.Him._y)) { if (!((_level0.Sword._rotation < 0) && (_level0.Sword._rotation >= -90))) { _y = _y + _global.movements; if (_level0.testmove(this, 3) == true) { clockwise = false; } } else { hitrad = 0; } } if (((_x + _global.movements) < _level0.Him._x) && ((_y - _global.movements) < _level0.Him._y)) { if (!((_level0.Sword._rotation >= 90) && (_level0.Sword._rotation < 180))) { _y = _y - _global.movements; if (_level0.testmove(this, 1) == true) { clockwise = false; } } else { hitrad = 0; } } if (((_x - _global.movements) <= _level0.Him._x) && ((_y - _global.movements) > _level0.Him._y)) { if (!((_level0.Sword._rotation >= 0) && (_level0.Sword._rotation < 90))) { _x = _x - _global.movements; if (_level0.testmove(this, 4) == true) { clockwise = false; } } else { hitrad = 0; } } } } if (hitrad == 0) { if (_level0.Him._x > _x) { _x = _x + _global.movements; _level0.testmove(this, 2); } if (_level0.Him._x < _x) { _x = _x - _global.movements; _level0.testmove(this, 4); } if (_level0.Him._y > _y) { _y = _y + _global.movements; _level0.testmove(this, 3); } if (_level0.Him._y < _y) { _y = _y - _global.movements; _level0.testmove(this, 1); } } } } } var clockwise = true; var firsttoframe = 0; }Symbol 387 MovieClip [__Packages.cl_bug2] Frame 0class cl_bug2 extends MovieClip { var _visible, stup, d, randomm, _x, hitTest, _y; function cl_bug2 () { super(); } function onLoad() { _visible = false; if (_global.firstcheckedmon == 0) { _global.firstcheckedmon = 1; } else { _global.iexist++; } } function hittests2(a) { if (_level0.Sword.hitTest(a)) { if (_level0.nest > 0) { a._x = _level0.nestx; a._y = _level0.nesty; } else { _visible = false; stup = 1; } } if (a.hitTest(_level0.Him)) { _level0.Him._visible = false; } } function onEnterFrame() { if ((_global.inhibmons == 1) || (stup == 1)) { if (d != 1) { d = 1; _global.iexist--; } } else { if (firsttoframe == 0) { firsttoframe = 1; _level0.monxp = _level0.monxp + 12; } if (_global.trapon == 0) { _visible = true; hittests2(this); if (randomm > 0) { randomm--; var _local4 = 2; while (_local4 > 0) { _local4--; var _local3 = Math.random(); if (_local3 > 0.75) { _x = _x + (1.2 * _global.movements); if (hitTest(_level0.Sword)) { _x = _x - (1.2 * _global.movements); } else { _level0.testmove(this, 2, 1); } } else if (_local3 > 0.5) { _x = _x - (1.2 * _global.movements); if (hitTest(_level0.Sword)) { _x = _x + (1.2 * _global.movements); } else { _level0.testmove(this, 4, 1); } } else if (_local3 > 0.25) { _y = _y + (1.2 * _global.movements); if (hitTest(_level0.Sword)) { _y = _y - (1.2 * _global.movements); } else { _level0.testmove(this, 3, 1); } } else { _y = _y - (1.2 * _global.movements); if (hitTest(_level0.Sword)) { _y = _y + (1.2 * _global.movements); } else { _level0.testmove(this, 1, 1); } } } } else { if (_level0.Him._x > _x) { _x = _x + _global.movements; if (hitTest(_level0.Sword)) { _x = _x - _global.movements; randomm = 5; } else { _level0.testmove(this, 2, 1); } } if (_level0.Him._y > _y) { _y = _y + _global.movements; if (hitTest(_level0.Sword)) { _y = _y - _global.movements; randomm = 5; } else { _level0.testmove(this, 3, 1); } } if (_level0.Him._x < _x) { _x = _x - _global.movements; if (hitTest(_level0.Sword)) { _x = _x + _global.movements; randomm = 5; } else { _level0.testmove(this, 4, 1); } } if (_level0.Him._y < _y) { _y = _y - _global.movements; if (hitTest(_level0.Sword)) { _y = _y + _global.movements; randomm = 5; } else { _level0.testmove(this, 1, 1); } } } } } } var firsttoframe = 0; }Symbol 388 MovieClip [__Packages.cl_bug] Frame 0class cl_bug extends MovieClip { var _visible, unloadMovie, hitTest, _x, _y; function cl_bug () { super(); } function onLoad() { _visible = false; if (_global.firstcheckedmon == 0) { _global.firstcheckedmon = 1; } else { _global.iexist++; } } function onEnterFrame() { if (_global.inhibmons == 1) { _global.iexist--; unloadMovie(); } else { if (firsttoframe == 0) { firsttoframe = 1; _level0.monxp = _level0.monxp + 8; } if (_global.trapon == 0) { _visible = true; if (_level0.Sword.hitTest(this) || (hitTest(_level0.Sword))) { _global.iexist--; unloadMovie(); } if (hitTest(_level0.Him) || (_level0.Him.hitTest(this))) { _level0.Him._visible = false; } if (_level0.Him._x > _x) { _x = _x + _global.movements; _level0.testmove(this, 2); } if (_level0.Him._x < _x) { _x = _x - _global.movements; _level0.testmove(this, 4); } if (_level0.Him._y > _y) { _y = _y + _global.movements; _level0.testmove(this, 3); } if (_level0.Him._y < _y) { _y = _y - _global.movements; _level0.testmove(this, 1); } } } } var firsttoframe = 0; }Symbol 389 MovieClip [__Packages.cl_swordpt] Frame 0class cl_swordpt extends MovieClip { var p, _x, _y, _parent; function cl_swordpt () { super(); } function onEnterFrame() { p = new Object(); p.x = _x; p.y = _y; _parent.localToGlobal(p); if (_level0.Him.hitTest(p.x, p.y, true) && (_parent._visible == true)) { _level0.Him._visible = false; } var _local4 = _level0.Sword._rotation; _local4 = 90 - _local4; if (_local4 < 0) { _local4 = _local4 + 360; } var _local6 = _level0.Sword._y - (40 * Math.sin(_local4 * (Math.PI/180))); var _local7 = _level0.Sword._x + (40 * Math.cos(_local4 * (Math.PI/180))); var _local3 = 1; while (_local3 < 5) { if (Math.round(p.y / 10) == Math.round((_level0.Sword._y - ((10 * _local3) * Math.sin(_local4 * (Math.PI/180)))) / 10)) { if (Math.round(p.x / 10) == Math.round((_level0.Sword._x + ((10 * _local3) * Math.cos(_local4 * (Math.PI/180)))) / 10)) { var _local5 = 1; } } _local3++; } if (_local5 == 1) { if (_global.rotatedir == 1) { _parent._rotation = _parent._rotation + (((_global.movements * 2) * _parent.speed) * _global.parry); } else if (_global.rotatedir == 2) { _parent._rotation = _parent._rotation - (((_global.movements * 2) * _parent.speed) * _global.parry); } if (((((_global.rotatedir == 1) || (_global.rotatedir == 2)) && (_global.mether == 1)) && (_global.doublesword == 3)) && (_parent._name == "sob")) { _level0.Sword._height = _level0.Sword._height + 100; _global.wongame = 1; } if (_global.blueones[_level0._currentframe][_parent.order].parry > 0) { if (_parent.dir == 1) { _global.swordrote = _global.swordrote + (((_global.movements * 2) * _parent.speed) * _global.blueones[_level0._currentframe][_parent.order].parry); } if (_parent.dir == 2) { _global.swordrote = _global.swordrote - (((_global.movements * 2) * _parent.speed) * _global.blueones[_level0._currentframe][_parent.order].parry); } } } } }Symbol 202 MovieClip Frame 1stop();Symbol 202 MovieClip Frame 2stop();Symbol 203 MovieClip [Box] Frame 1#initclip 131 Object.registerClass("Box", cl_box); #endinitclipSymbol 209 Buttonon (release) { sharedsaver = SharedObject.getLocal("savefile"); if (sharedsaver.data.saved != undefined) { _global.xpcost = sharedsaver.data.xpcost; _global.parry = sharedsaver.data.parry; _global.moveleftkey = sharedsaver.data.moveleftkey; _global.moveupkey = sharedsaver.data.moveupkey; _global.movedownkey = sharedsaver.data.movedownkey; _global.moverightkey = sharedsaver.data.moverightkey; _global.mapkey = sharedsaver.data.mapkey; _global.rotateleftkey = sharedsaver.data.rotateleftkey; _global.rotaterightkey = sharedsaver.data.rotaterightkey; _global.endkey = sharedsaver.data.endkey; _global.upkey = sharedsaver.data.upkey; _global.downkey = sharedsaver.data.downkey; _global.speedset = sharedsaver.data.speedset; _global.losscount = sharedsaver.data.losscount; _global.musicon = sharedsaver.data.musicon; _level0.mapfound = sharedsaver.data.mapfound; _global.orangekeyfound = sharedsaver.data.orangekeyfound; _global.brownkeyfound = sharedsaver.data.brownkeyfound; _global.purplekeyfound = sharedsaver.data.purplekeyfound; _global.mether = sharedsaver.data.mether; _global.doublesword = sharedsaver.data.doublesword; _global.statup = sharedsaver.data.statup; _global.herospeed = sharedsaver.data.herospeed; _global.swordspeed = sharedsaver.data.swordspeed; _global.level = sharedsaver.data.level; _global.xp = sharedsaver.data.xp; _level0.lookat = sharedsaver.data.lookat; _global.swordrote = sharedsaver.data.swordrote; _global.himxpos = sharedsaver.data.himxpos; _global.himypos = sharedsaver.data.himypos; _global.lastframe = sharedsaver.data.lastframe; _global.dirtoframe = sharedsaver.data.dirtoframe; _level0.inhibitmons_ar = sharedsaver.data.inhibitmons_ar.slice(); _global.roomcondition = sharedsaver.data.roomcondition.slice(); _global.realfirstloadedframe = sharedsaver.data.realfirstloadedframe.slice(); _global.chckbxs = new Array(); _global.shapenums = new Array(); _global.wallnums = new Array(); _global.blueones = new Array(); _global.blueswords = new Array(); var i = 0; while (i < 1000) { _global.chckbxs[i] = new Array(); _global.shapenums[i] = new Array(); _global.wallnums[i] = new Array(); _global.blueones[i] = new Array(); _global.blueswords[i] = new Array(); i++; } var i = 0; while (i < 150) { var a = 0; while (a < 150) { _global.chckbxs[i][a] = sharedsaver.data.chckbxs[i][a]; a++; } i++; } var i = 0; while (i < 1000) { _global.mapping.push(sharedsaver.data.mapping[i].slice()); _global.arrows.push(sharedsaver.data.arrows[i].slice()); i++; } _level0.firstloaded = sharedsaver.data.firstloaded.slice(); _global.notlost = 1; _global.frametoreturnto = sharedsaver.data.framenow; _level0.startfrombeg = 1; _global.movements = 5; _root.createTextField("textbx1", 1000, 415, 15, 100, 200); _level0.textbx1.text = "Experience: " + _global.xp; _level0.textbx1form = new TextFormat(); _level0.textbx1form.bold = true; _level0.textbx1form.font = "Arial"; _level0.textbx1.setTextFormat(textbx1form); _level0.gotoAndPlay(2); } }Symbol 213 Buttonon (release) { _level0.textbx1.removeTextField(); _level0.textbx2.removeTextField(); _global.returningframe = _level0._currentframe; _level0.gotoAndPlay(24); }Symbol 217 Buttonon (release) { _level0.textbx1.removeTextField(); _level0.textbx2.removeTextField(); _global.returningframe = _level0._currentframe; _level0.gotoAndPlay(45); }Symbol 220 Buttonon (release) { _global.statup--; _global.herospeed++; }Symbol 221 Buttonon (release) { _global.statup--; _global.swordspeed++; }Symbol 223 MovieClip [Stuff] Frame 1#initclip 132 Object.registerClass("Stuff", cl_wall); #endinitclipSymbol 235 Buttonon (release) { gotoAndPlay(_global.returningframe); }Symbol 245 MovieClip Frame 1stop();Symbol 245 MovieClip Frame 2stop();Instance of Symbol 243 MovieClip "Flee" in Symbol 245 MovieClip Frame 2onClipEvent (load) { p = 0; space = 0; } onClipEvent (enterFrame) { if (p == 0) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "STOP!!!!!"; } if (p == 1) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "Stop?"; } if (p == 2) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "Yes! Stop! Please listen!"; } if (p == 3) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "I will not stop! I won't stop until I slaughter every last blue in this castle, ending with King Blip himself!"; } if (p == 4) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "Great Green hero!"; } if (p == 5) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "Flattery won't save you! Blue has wronged Green again and again. Every blue must be slaughtered!"; } if (p == 6) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "Great Green hero! Its not flattery! Do you think everyone here likes King Blip and Blue Hero?"; } if (p == 7) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "It matters not! All Blues are dishonorable scum to the last. Purifying the world of their taint is a must. Prepare to die!"; } if (p == 8) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "You have accomplished an amazing feat, killing all these blues while you remain unscathed...you are truly a supreme hero."; } if (p == 9) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "Nothing you say will save Blue."; } if (p == 10) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "It is not Blue I want to save! I hate Blip! He abuses all of us, treating us like we're hardly above the greys. I wish I was Green!"; } if (p == 11) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "What?!"; } if (p == 12) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = " I wish I was green, the color of such amazing heroes as you...I know Blue Hero, he could never do anything like you have."; } if (p == 13) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "You...your tricks won't...work on me."; } if (p == 14) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "Green Hero...you are such a massive, powerful swordsdot...looking at you, I am filled with such astonishment...."; } if (p == 15) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "You notice her perfect borders...so precisely circular. Yes, she's blue, but...of all possible shades of blue, the one on her body must be the least noxious>"; } if (p == 16) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "You are the most perfect dot ever...drop your sword...let me come closer..."; } if (p == 17) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "<You hear your sword fall to the ground>"; _level0.Sword._visible = false; } if ((p > 17) && (p < 21)) { _level0.Flee._x = _level0.Flee._x - 3; p = 18; if (Math.round(_level0.Flee._x) == 138) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "Even if you kill me right after this I will die happily by your sword...."; p = 21; } } if (p == 22) { _level0.Green = _level0.Green + 3; if (Math.round(_level0.Green._x) == 138) { } } if (p == 0) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "STOP!!!!!"; } if (p == 1) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "Stop?"; } if (p == 0) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "STOP!!!!!"; } if (p == 1) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "Stop?"; } if (p == 0) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "STOP!!!!!"; } if (p == 1) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "Stop?"; } if (p == 0) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "STOP!!!!!"; } if (p == 1) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "Stop?"; } if (p == 0) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "STOP!!!!!"; } if (p == 1) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "Stop?"; } if (p == 0) { _root.createTextField("plottext", 25, 200, 10, 250, 150); _root.plottext.text = "STOP!!!!!"; } if (p == 1) { _root.createTextField("plottext", 25, 10, 10, 250, 150); _root.plottext.text = "Stop?"; } _root.plottext.selectable = false; plottextform = new TextFormat(); plottextform.bold = true; plottextform.font = "Perpetua"; plottextform.size = 20; plottextform.align = "left"; plottextform.leftMargin = 5; _root.plottext.multiline = true; _root.plottext.selectable = false; _root.plottext.wordWrap = true; _root.plottext.background = true; _root.plottext.border = true; _root.plottext.borderColor = 16777215 /* 0xFFFFFF */; _root.plottext.backgroundColor = "000000"; if (Math.round(p / 2) == (p / 2)) { _root.plottext.textColor = "0xCCFFFF"; } else { _root.plottext.textColor = "0x00FF33"; } _root.plottext.setTextFormat(plottextform); if (p == 110) { _root.plottext.removeTextField(); _global.frametoreturnto = 112; _global.notlost = 1; _root.gotoAndPlay(2); } if (Key.isDown(32)) { space = 1; } if ((space == 1) && (!Key.isDown(32))) { space = 0; p++; } }Symbol 245 MovieClip Frame 3stop();Symbol 251 Buttonon (release) { gotoAndPlay(_global.returningframe); }Symbol 287 MovieClip Frame 1stop();Symbol 287 MovieClip Frame 2stop();Symbol 287 MovieClip Frame 3stop();Symbol 287 MovieClip Frame 4stop();Symbol 287 MovieClip Frame 5stop();Symbol 287 MovieClip Frame 6stop();Symbol 287 MovieClip Frame 7stop();Symbol 287 MovieClip Frame 8stop();Symbol 287 MovieClip Frame 9stop();Symbol 287 MovieClip Frame 10stop();Symbol 287 MovieClip Frame 11stop();Symbol 309 MovieClip Frame 1stop();
Library Items
Symbol 1 Sound [gamemusic] | Used by:Timeline | |
Symbol 2 Graphic | Used by:4 | |
Symbol 3 MovieClip [pt1] | Used by:4 105 153 308 | |
Symbol 4 MovieClip [BlueSwordBig copy] | Uses:2 3 | |
Symbol 5 Graphic | Used by:6 164 | |
Symbol 6 MovieClip [Bug5] | Uses:5 | |
Symbol 7 Graphic | Used by:11 175 | |
Symbol 8 Font | Used by:9 207 211 215 | |
Symbol 9 Text | Uses:8 | Used by:11 175 |
Symbol 10 Graphic | Used by:11 175 | |
Symbol 11 Button [Saver] | Uses:7 9 10 | |
Symbol 12 MovieClip [BigBlueSword] | ||
Symbol 13 Graphic | Used by:14 | |
Symbol 14 MovieClip [Food] | Uses:13 | |
Symbol 15 Graphic | Used by:18 305 | |
Symbol 16 Graphic | Used by:17 | |
Symbol 17 MovieClip | Uses:16 | Used by:18 24 37 43 45 57 64 73 78 97 106 151 205 243 245 247 302 305 |
Symbol 18 MovieClip [BlueKing] | Uses:15 17 | Used by:Timeline |
Symbol 19 Graphic | Used by:22 | |
Symbol 20 Graphic | Used by:22 | |
Symbol 21 Graphic | Used by:22 | |
Symbol 22 MovieClip [Randomizer] | Uses:19 20 21 | Used by:Timeline |
Symbol 23 Graphic | Used by:24 302 | |
Symbol 24 MovieClip [BlueWizard] | Uses:23 17 | Used by:Timeline |
Symbol 25 Graphic | Used by:26 | |
Symbol 26 MovieClip [flamebold] | Uses:25 | Used by:Timeline |
Symbol 27 Graphic | Used by:28 | |
Symbol 28 MovieClip [Bluewand] | Uses:27 | Used by:Timeline |
Symbol 29 Graphic | Used by:30 | |
Symbol 30 MovieClip [LockedWallBrown] | Uses:29 | Used by:Timeline |
Symbol 31 Graphic | Used by:32 | |
Symbol 32 MovieClip [LockedWallPurple] | Uses:31 | Used by:Timeline |
Symbol 33 Graphic | Used by:35 | |
Symbol 34 Graphic | Used by:35 | |
Symbol 35 MovieClip [Armory] | Uses:33 34 | Used by:Timeline |
Symbol 36 Graphic | Used by:37 | |
Symbol 37 MovieClip [BlueVet] | Uses:36 17 | Used by:Timeline |
Symbol 38 Graphic | Used by:39 | |
Symbol 39 MovieClip [Box3] | Uses:38 | Used by:Timeline |
Symbol 40 Graphic | Used by:41 | |
Symbol 41 MovieClip [Bed] | Uses:40 | Used by:Timeline |
Symbol 42 Graphic | Used by:43 243 | |
Symbol 43 MovieClip [BlueFlee] | Uses:42 17 | Used by:Timeline |
Symbol 44 Graphic | Used by:45 73 | |
Symbol 45 MovieClip [BlueRanged] | Uses:44 17 | Used by:Timeline |
Symbol 46 Graphic | Used by:47 | |
Symbol 47 MovieClip [Bluebow] | Uses:46 | Used by:Timeline |
Symbol 48 Graphic | Used by:49 | |
Symbol 49 MovieClip [arrow] | Uses:48 | Used by:Timeline |
Symbol 50 Graphic | Used by:52 60 65 | |
Symbol 51 Graphic | Used by:52 53 60 65 | |
Symbol 52 MovieClip [Displacer4] | Uses:50 51 | Used by:Timeline |
Symbol 53 MovieClip [Displacer3] | Uses:51 | Used by:Timeline |
Symbol 54 Graphic | Used by:55 Timeline | |
Symbol 55 MovieClip [Trap5] | Uses:54 | Used by:Timeline |
Symbol 56 Graphic | Used by:57 | |
Symbol 57 MovieClip [BlueExpert] | Uses:56 17 | Used by:Timeline |
Symbol 58 Graphic | Used by:60 | |
Symbol 59 Graphic | Used by:60 65 | |
Symbol 60 MovieClip [Displacer] | Uses:58 59 50 51 | Used by:Timeline |
Symbol 61 Graphic | Used by:62 | |
Symbol 62 MovieClip [Fire2] | Uses:61 | Used by:Timeline |
Symbol 63 Graphic | Used by:64 106 | |
Symbol 64 MovieClip [BlueParry] | Uses:63 17 | Used by:Timeline |
Symbol 65 MovieClip [Displacer2] | Uses:59 50 51 | Used by:Timeline |
Symbol 66 Graphic | Used by:69 | |
Symbol 67 Font | Used by:68 182 183 194 233 236 237 238 270 272 290 296 297 298 311 312 313 314 315 | |
Symbol 68 Text | Uses:67 | Used by:69 |
Symbol 69 MovieClip [BlueDeath] | Uses:66 68 | Used by:Timeline |
Symbol 70 Graphic | Used by:71 | |
Symbol 71 MovieClip [wall50] | Uses:70 | Used by:Timeline |
Symbol 72 MovieClip [RopePoint] | Used by:317 | |
Symbol 73 MovieClip [BlueFast] | Uses:44 17 | Used by:Timeline |
Symbol 74 Graphic | Used by:75 | |
Symbol 75 MovieClip [LockedWallBlue] | Uses:74 | Used by:Timeline |
Symbol 76 Graphic | Used by:78 | |
Symbol 77 Graphic | Used by:78 | |
Symbol 78 MovieClip [NestStone] | Uses:76 17 77 | Used by:Timeline |
Symbol 79 Graphic | Used by:80 | |
Symbol 80 MovieClip [Goo] | Uses:79 | Used by:Timeline |
Symbol 81 Graphic | Used by:82 | |
Symbol 82 MovieClip [Bug7] | Uses:81 | Used by:Timeline |
Symbol 83 Graphic | Used by:84 Timeline | |
Symbol 84 MovieClip [Trap4] | Uses:83 | Used by:Timeline |
Symbol 85 Graphic | Used by:90 | |
Symbol 86 Graphic | Used by:90 | |
Symbol 87 Graphic | Used by:90 | |
Symbol 88 Graphic | Used by:90 | |
Symbol 89 Graphic | Used by:90 | |
Symbol 90 MovieClip [Acid] | Uses:85 86 87 88 89 | Used by:Timeline |
Symbol 91 Graphic | Used by:92 | |
Symbol 92 MovieClip [BugAcid] | Uses:91 | Used by:Timeline |
Symbol 93 Graphic | Used by:94 | |
Symbol 94 MovieClip [Understone] | Uses:93 | Used by:97 |
Symbol 95 Graphic | Used by:97 | |
Symbol 96 Graphic | Used by:97 | |
Symbol 97 MovieClip [Stone] | Uses:95 94 96 17 | Used by:Timeline |
Symbol 98 Graphic | Used by:99 | |
Symbol 99 MovieClip [Stuff3] | Uses:98 | Used by:Timeline |
Symbol 100 Graphic | Used by:101 | |
Symbol 101 MovieClip [BugLightning] | Uses:100 | Used by:Timeline |
Symbol 102 Graphic | Used by:103 | |
Symbol 103 MovieClip [Bug6] | Uses:102 | Used by:Timeline |
Symbol 104 Graphic | Used by:105 | |
Symbol 105 MovieClip [BlueSwordBig] | Uses:104 3 | Used by:Timeline |
Symbol 106 MovieClip [BlueGuardCapt] | Uses:63 17 | Used by:Timeline |
Symbol 107 Graphic | Used by:108 | |
Symbol 108 MovieClip [StairsBoth] | Uses:107 | Used by:Timeline |
Symbol 109 Graphic | Used by:110 | |
Symbol 110 MovieClip [Spike] | Uses:109 | Used by:Timeline |
Symbol 111 Graphic | Used by:112 | |
Symbol 112 MovieClip [Stairs] | Uses:111 | Used by:Timeline |
Symbol 113 Graphic | Used by:114 | |
Symbol 114 MovieClip [Sand] | Uses:113 | Used by:Timeline |
Symbol 115 Graphic | Used by:116 | |
Symbol 116 MovieClip [wall300] | Uses:115 | Used by:Timeline |
Symbol 117 Graphic | Used by:118 | |
Symbol 118 MovieClip [Trap3] | Uses:117 | Used by:Timeline |
Symbol 119 Graphic | Used by:120 | |
Symbol 120 MovieClip [wall120] | Uses:119 | Used by:Timeline |
Symbol 121 Graphic | Used by:122 | |
Symbol 122 MovieClip [Wall] | Uses:121 | Used by:123 Timeline |
Symbol 123 MovieClip [ToggleWall] | Uses:122 | Used by:Timeline |
Symbol 124 Graphic | Used by:125 | |
Symbol 125 MovieClip [TheButton] | Uses:124 | Used by:Timeline |
Symbol 126 Graphic | Used by:127 | |
Symbol 127 MovieClip [StairsDown] | Uses:126 | Used by:Timeline |
Symbol 128 Graphic | Used by:130 | |
Symbol 129 Graphic | Used by:130 | |
Symbol 130 MovieClip [Nest] | Uses:128 129 | Used by:Timeline |
Symbol 131 Graphic | Used by:132 | |
Symbol 132 MovieClip [Ice] | Uses:131 | Used by:Timeline |
Symbol 133 Graphic | Used by:134 | |
Symbol 134 MovieClip [LaserShot] | Uses:133 | Used by:137 |
Symbol 135 Graphic | Used by:136 | |
Symbol 136 MovieClip [LaserBody] | Uses:135 | Used by:137 |
Symbol 137 MovieClip [Laser] | Uses:136 134 | Used by:Timeline |
Symbol 138 Graphic | Used by:139 | |
Symbol 139 MovieClip [wall100] | Uses:138 | Used by:Timeline |
Symbol 140 Graphic | Used by:141 | |
Symbol 141 MovieClip [Fire] | Uses:140 | Used by:Timeline |
Symbol 142 Graphic | Used by:149 | |
Symbol 143 Graphic | Used by:149 | |
Symbol 144 Graphic | Used by:149 | |
Symbol 145 Graphic | Used by:149 | |
Symbol 146 Graphic | Used by:149 | |
Symbol 147 Graphic | Used by:149 | |
Symbol 148 Graphic | Used by:149 | |
Symbol 149 MovieClip [Square] | Uses:142 143 144 145 146 147 148 | Used by:Timeline |
Symbol 150 Graphic | Used by:151 247 | |
Symbol 151 MovieClip [Blue] | Uses:150 17 | Used by:Timeline |
Symbol 152 Graphic | Used by:153 | |
Symbol 153 MovieClip [Bluesword] | Uses:152 3 | Used by:Timeline |
Symbol 154 Graphic | Used by:155 203 | |
Symbol 155 MovieClip [BoxTrapped] | Uses:154 | Used by:Timeline |
Symbol 156 Graphic | Used by:157 | |
Symbol 157 MovieClip [Box2] | Uses:156 | Used by:Timeline |
Symbol 158 Graphic | Used by:159 | |
Symbol 159 MovieClip [Trap2] | Uses:158 | Used by:Timeline |
Symbol 160 Graphic | Used by:161 | |
Symbol 161 MovieClip [Bug4] | Uses:160 | Used by:Timeline |
Symbol 162 Graphic | Used by:163 | |
Symbol 163 MovieClip [wall20] | Uses:162 | Used by:Timeline |
Symbol 164 MovieClip [Bug3] | Uses:5 | Used by:Timeline |
Symbol 165 Graphic | Used by:166 | |
Symbol 166 MovieClip [Bug2] | Uses:165 | Used by:Timeline |
Symbol 167 Graphic | Used by:168 | |
Symbol 168 MovieClip [wall200] | Uses:167 | Used by:Timeline |
Symbol 169 Graphic | Used by:170 | |
Symbol 170 MovieClip [Trap] | Uses:169 | Used by:Timeline |
Symbol 171 Graphic | Used by:172 | |
Symbol 172 MovieClip [wall60] | Uses:171 | Used by:Timeline |
Symbol 173 Graphic | Used by:174 | |
Symbol 174 MovieClip [Bug] | Uses:173 | Used by:Timeline |
Symbol 175 Button [Saver] | Uses:7 9 10 | Used by:Timeline |
Symbol 176 Graphic | Used by:177 | |
Symbol 177 MovieClip [LockedWall] | Uses:176 | Used by:Timeline |
Symbol 178 Graphic | Used by:Timeline | |
Symbol 179 Graphic | Used by:180 Timeline | |
Symbol 180 MovieClip | Uses:179 | Used by:193 |
Symbol 181 Graphic | Used by:193 | |
Symbol 182 Text | Uses:67 | Used by:193 |
Symbol 183 Text | Uses:67 | Used by:193 |
Symbol 184 Graphic | Used by:188 190 192 235 251 | |
Symbol 185 Font | Used by:186 189 234 252 253 254 255 256 257 259 263 264 265 266 267 269 | |
Symbol 186 Text | Uses:185 | Used by:188 |
Symbol 187 Graphic | Used by:188 190 192 235 251 | |
Symbol 188 Button | Uses:184 186 187 | Used by:193 |
Symbol 189 Text | Uses:185 | Used by:190 |
Symbol 190 Button | Uses:184 189 187 | Used by:193 |
Symbol 191 Graphic | Used by:192 | |
Symbol 192 Button | Uses:184 191 187 | Used by:193 |
Symbol 193 MovieClip | Uses:180 181 182 183 188 190 192 | Used by:Timeline |
Symbol 339 MovieClip [__Packages.cl_bluesword] | ||
Symbol 340 MovieClip [__Packages.cl_bug5] | ||
Symbol 341 MovieClip [__Packages.cl_food] | ||
Symbol 342 MovieClip [__Packages.cl_blueking] | ||
Symbol 343 MovieClip [__Packages.cl_randomizer] | ||
Symbol 344 MovieClip [__Packages.cl_bluewizard] | ||
Symbol 345 MovieClip [__Packages.cl_arrow] | ||
Symbol 346 MovieClip [__Packages.cl_bluebow] | ||
Symbol 347 MovieClip [__Packages.cl_box] | ||
Symbol 348 MovieClip [__Packages.cl_armory] | ||
Symbol 349 MovieClip [__Packages.cl_bluevet] | ||
Symbol 350 MovieClip [__Packages.cl_wall] | ||
Symbol 351 MovieClip [__Packages.cl_blueflee] | ||
Symbol 352 MovieClip [__Packages.cl_blueranged] | ||
Symbol 353 MovieClip [__Packages.cl_displacer4] | ||
Symbol 354 MovieClip [__Packages.cl_displacer3] | ||
Symbol 355 MovieClip [__Packages.cl_trap] | ||
Symbol 356 MovieClip [__Packages.cl_blueexpert] | ||
Symbol 357 MovieClip [__Packages.cl_displacer] | ||
Symbol 358 MovieClip [__Packages.cl_fire] | ||
Symbol 359 MovieClip [__Packages.cl_blueparry] | ||
Symbol 360 MovieClip [__Packages.cl_displacer2] | ||
Symbol 361 MovieClip [__Packages.cl_ropepoint] | ||
Symbol 362 MovieClip [__Packages.cl_bluefast] | ||
Symbol 363 MovieClip [__Packages.cl_neststone] | ||
Symbol 364 MovieClip [__Packages.cl_goo] | ||
Symbol 365 MovieClip [__Packages.cl_bug7] | ||
Symbol 366 MovieClip [__Packages.cl_acid] | ||
Symbol 367 MovieClip [__Packages.cl_bugacid] | ||
Symbol 368 MovieClip [__Packages.cl_stone] | ||
Symbol 369 MovieClip [__Packages.cl_buglightning] | ||
Symbol 370 MovieClip [__Packages.cl_bug6] | ||
Symbol 371 MovieClip [__Packages.cl_blueguardcapt] | ||
Symbol 372 MovieClip [__Packages.cl_stairsboth] | ||
Symbol 373 MovieClip [__Packages.cl_stairs] | ||
Symbol 374 MovieClip [__Packages.cl_sand] | ||
Symbol 375 MovieClip [__Packages.cl_togglewall] | ||
Symbol 376 MovieClip [__Packages.cl_button] | ||
Symbol 377 MovieClip [__Packages.cl_stairsdown] | ||
Symbol 378 MovieClip [__Packages.cl_nest] | ||
Symbol 379 MovieClip [__Packages.cl_ice] | ||
Symbol 380 MovieClip [__Packages.cl_lasershot] | ||
Symbol 381 MovieClip [__Packages.cl_laser] | ||
Symbol 382 MovieClip [__Packages.cl_square] | ||
Symbol 383 MovieClip [__Packages.cl_blue] | ||
Symbol 384 MovieClip [__Packages.cl_boxtrapped] | ||
Symbol 385 MovieClip [__Packages.cl_bug4] | ||
Symbol 386 MovieClip [__Packages.cl_bug3] | ||
Symbol 387 MovieClip [__Packages.cl_bug2] | ||
Symbol 388 MovieClip [__Packages.cl_bug] | ||
Symbol 389 MovieClip [__Packages.cl_swordpt] | ||
Symbol 194 Text | Uses:67 | Used by:195 |
Symbol 195 MovieClip | Uses:194 | Used by:Timeline |
Symbol 196 Font | Used by:197 | |
Symbol 197 Text | Uses:196 | Used by:Timeline |
Symbol 198 Graphic | Used by:Timeline | |
Symbol 199 Graphic | Used by:202 | |
Symbol 200 MovieClip | Used by:202 309 | |
Symbol 201 Graphic | Used by:202 309 | |
Symbol 202 MovieClip | Uses:199 200 201 | Used by:Timeline |
Symbol 203 MovieClip [Box] | Uses:154 | Used by:Timeline |
Symbol 204 Graphic | Used by:205 245 | |
Symbol 205 MovieClip | Uses:204 17 | Used by:Timeline |
Symbol 206 Graphic | Used by:209 | |
Symbol 207 Text | Uses:8 | Used by:209 |
Symbol 208 Graphic | Used by:209 | |
Symbol 209 Button | Uses:206 207 208 | Used by:Timeline |
Symbol 210 Graphic | Used by:213 | |
Symbol 211 Text | Uses:8 | Used by:213 |
Symbol 212 Graphic | Used by:213 | |
Symbol 213 Button | Uses:210 211 212 | Used by:Timeline |
Symbol 214 Graphic | Used by:217 | |
Symbol 215 Text | Uses:8 | Used by:217 |
Symbol 216 Graphic | Used by:217 | |
Symbol 217 Button | Uses:214 215 216 | Used by:Timeline |
Symbol 218 Graphic | Used by:220 221 273 | |
Symbol 219 Graphic | Used by:220 221 273 | |
Symbol 220 Button | Uses:218 219 | Used by:Timeline |
Symbol 221 Button | Uses:218 219 | Used by:Timeline |
Symbol 222 Graphic | Used by:223 | |
Symbol 223 MovieClip [Stuff] | Uses:222 | Used by:Timeline |
Symbol 224 Graphic | Used by:225 | |
Symbol 225 MovieClip | Uses:224 | Used by:Timeline |
Symbol 226 Graphic | Used by:Timeline | |
Symbol 227 Graphic | Used by:Timeline | |
Symbol 228 Graphic | Used by:Timeline | |
Symbol 229 Graphic | Used by:Timeline | |
Symbol 230 Graphic | Used by:Timeline | |
Symbol 231 Font | Used by:232 | |
Symbol 232 Text | Uses:231 | Used by:Timeline |
Symbol 233 Text | Uses:67 | Used by:Timeline |
Symbol 234 Text | Uses:185 | Used by:235 251 |
Symbol 235 Button | Uses:184 234 187 | Used by:Timeline |
Symbol 236 Text | Uses:67 | Used by:Timeline |
Symbol 237 Text | Uses:67 | Used by:Timeline |
Symbol 238 Text | Uses:67 | Used by:Timeline |
Symbol 239 Text | Used by:Timeline | |
Symbol 240 Graphic | Used by:Timeline | |
Symbol 241 Graphic | Used by:242 | |
Symbol 242 MovieClip | Uses:241 | Used by:Timeline |
Symbol 243 MovieClip | Uses:42 17 | Used by:245 Timeline |
Symbol 244 Graphic | Used by:245 | |
Symbol 245 MovieClip | Uses:204 17 243 244 | Used by:Timeline |
Symbol 246 Graphic | Used by:Timeline | |
Symbol 247 MovieClip | Uses:150 17 | Used by:Timeline |
Symbol 248 Graphic | Used by:Timeline | |
Symbol 249 Graphic | Used by:Timeline | |
Symbol 250 Graphic | Used by:Timeline | |
Symbol 251 Button | Uses:184 234 187 | Used by:Timeline |
Symbol 252 EditableText | Uses:185 | Used by:Timeline |
Symbol 253 EditableText | Uses:185 | Used by:Timeline |
Symbol 254 EditableText | Uses:185 | Used by:Timeline |
Symbol 255 EditableText | Uses:185 | Used by:Timeline |
Symbol 256 EditableText | Uses:185 | Used by:Timeline |
Symbol 257 EditableText | Uses:185 | Used by:Timeline |
Symbol 258 Graphic | Used by:262 268 | |
Symbol 259 Text | Uses:185 | Used by:262 |
Symbol 260 Graphic | Used by:262 268 | |
Symbol 261 Graphic | Used by:262 268 | |
Symbol 262 Button | Uses:258 259 260 261 | Used by:Timeline |
Symbol 263 EditableText | Uses:185 | Used by:Timeline |
Symbol 264 EditableText | Uses:185 | Used by:Timeline |
Symbol 265 EditableText | Uses:185 | Used by:Timeline |
Symbol 266 EditableText | Uses:185 | Used by:Timeline |
Symbol 267 Text | Uses:185 | Used by:268 |
Symbol 268 Button | Uses:258 267 260 261 | Used by:Timeline |
Symbol 269 EditableText | Uses:185 | Used by:Timeline |
Symbol 270 Text | Uses:67 | Used by:271 |
Symbol 271 MovieClip | Uses:270 | Used by:Timeline |
Symbol 272 Text | Uses:67 | Used by:Timeline |
Symbol 273 Button | Uses:218 219 | Used by:Timeline |
Symbol 274 Graphic | Used by:276 | |
Symbol 275 Graphic | Used by:276 | |
Symbol 276 Button | Uses:274 275 | Used by:Timeline |
Symbol 277 Graphic | Used by:287 | |
Symbol 278 Graphic | Used by:287 | |
Symbol 279 Graphic | Used by:287 | |
Symbol 280 Graphic | Used by:287 | |
Symbol 281 Graphic | Used by:287 | |
Symbol 282 Graphic | Used by:287 | |
Symbol 283 Graphic | Used by:287 | |
Symbol 284 Graphic | Used by:287 | |
Symbol 285 Graphic | Used by:287 | |
Symbol 286 Graphic | Used by:287 | |
Symbol 287 MovieClip | Uses:277 278 279 280 281 282 283 284 285 286 | Used by:Timeline |
Symbol 288 Graphic | Used by:289 | |
Symbol 289 MovieClip | Uses:288 | Used by:Timeline |
Symbol 290 Text | Uses:67 | Used by:Timeline |
Symbol 291 Graphic | Used by:Timeline | |
Symbol 292 Graphic | Used by:Timeline | |
Symbol 293 Graphic | Used by:Timeline | |
Symbol 294 Graphic | Used by:295 | |
Symbol 295 MovieClip | Uses:294 | Used by:Timeline |
Symbol 296 Text | Uses:67 | Used by:Timeline |
Symbol 297 Text | Uses:67 | Used by:Timeline |
Symbol 298 Text | Uses:67 | Used by:Timeline |
Symbol 299 Graphic | Used by:Timeline | |
Symbol 300 Graphic | Used by:301 | |
Symbol 301 MovieClip | Uses:300 | Used by:Timeline |
Symbol 302 MovieClip | Uses:23 17 | Used by:Timeline |
Symbol 303 Graphic | Used by:Timeline | |
Symbol 304 Graphic | Used by:306 Timeline | |
Symbol 305 MovieClip | Uses:15 17 | Used by:Timeline |
Symbol 306 MovieClip | Uses:304 | Used by:Timeline |
Symbol 307 Graphic | Used by:308 | |
Symbol 308 MovieClip | Uses:307 3 | Used by:Timeline |
Symbol 309 MovieClip | Uses:201 200 | Used by:Timeline |
Symbol 310 Graphic | Used by:Timeline | |
Symbol 311 Text | Uses:67 | Used by:Timeline |
Symbol 312 Text | Uses:67 | Used by:Timeline |
Symbol 313 Text | Uses:67 | Used by:Timeline |
Symbol 314 Text | Uses:67 | Used by:Timeline |
Symbol 315 EditableText | Uses:67 | Used by:Timeline |
Symbol 316 Graphic | Used by:317 | |
Symbol 317 MovieClip | Uses:316 72 | Used by:Timeline |
Symbol 318 Graphic | Used by:319 | |
Symbol 319 MovieClip | Uses:318 | Used by:Timeline |
Symbol 320 Graphic | Used by:Timeline | |
Symbol 321 Graphic | Used by:Timeline | |
Symbol 322 Graphic | Used by:Timeline | |
Symbol 323 Graphic | Used by:324 | |
Symbol 324 MovieClip | Uses:323 | Used by:Timeline |
Symbol 325 Graphic | Used by:Timeline | |
Symbol 326 Graphic | Used by:338 | |
Symbol 327 Graphic | Used by:338 | |
Symbol 328 Graphic | Used by:338 | |
Symbol 329 Graphic | Used by:338 | |
Symbol 330 Graphic | Used by:338 | |
Symbol 331 Graphic | Used by:338 | |
Symbol 332 Graphic | Used by:338 | |
Symbol 333 Graphic | Used by:338 | |
Symbol 334 Graphic | Used by:338 | |
Symbol 335 Graphic | Used by:338 | |
Symbol 336 Graphic | Used by:338 | |
Symbol 337 Graphic | Used by:338 | |
Symbol 338 MovieClip | Uses:326 327 328 329 330 331 332 333 334 335 336 337 | Used by:Timeline |
Instance Names
"youlose" | Frame 2 | Symbol 195 MovieClip |
"orange1" | Frame 3 | Symbol 177 MovieClip [LockedWall] |
"orange2" | Frame 3 | Symbol 177 MovieClip [LockedWall] |
"Sword" | Frame 3 | Symbol 202 MovieClip |
"Him" | Frame 3 | Symbol 205 MovieClip |
"Saver" | Frame 3 | Symbol 175 Button [Saver] |
"Loader" | Frame 3 | Symbol 209 Button |
"Helper" | Frame 3 | Symbol 213 Button |
"Opter" | Frame 3 | Symbol 217 Button |
"plusser" | Frame 3 | Symbol 220 Button |
"plusser2" | Frame 3 | Symbol 221 Button |
"Sword" | Frame 4 | Symbol 202 MovieClip |
"Him" | Frame 4 | Symbol 205 MovieClip |
"Stuff" | Frame 5 | Symbol 223 MovieClip [Stuff] |
"Him" | Frame 5 | Symbol 205 MovieClip |
"Him" | Frame 6 | Symbol 205 MovieClip |
"Stuff" | Frame 8 | Symbol 225 MovieClip |
"rect3" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect4" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect6" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect5" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect7" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect8" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect14" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect15" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect17" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect16" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect18" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect9" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect10" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect12" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect11" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect13" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect20" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect21" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect22" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect23" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect25" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect27" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect28" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect29" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect31" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect30" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect32" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect33" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect34" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect35" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect36" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect37" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect38" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect39" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect40" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect41" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect43" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect42" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect44" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect73" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect74" | Frame 19 | Symbol 149 MovieClip [Square] |
"rect75" | Frame 19 | Symbol 149 MovieClip [Square] |
"Sword" | Frame 20 | Symbol 202 MovieClip |
"Him" | Frame 20 | Symbol 205 MovieClip |
"Saver" | Frame 20 | Symbol 175 Button [Saver] |
"Loader" | Frame 20 | Symbol 209 Button |
"Helper" | Frame 20 | Symbol 213 Button |
"Opter" | Frame 20 | Symbol 217 Button |
"plusser" | Frame 20 | Symbol 220 Button |
"plusser2" | Frame 20 | Symbol 221 Button |
"Backer" | Frame 24 | Symbol 235 Button |
"Saver" | Frame 25 | Symbol 175 Button [Saver] |
"Loader" | Frame 25 | Symbol 209 Button |
"Helper" | Frame 25 | Symbol 213 Button |
"Sword" | Frame 25 | Symbol 202 MovieClip |
"Him" | Frame 25 | Symbol 205 MovieClip |
"Opter" | Frame 25 | Symbol 217 Button |
"plusser" | Frame 25 | Symbol 220 Button |
"plusser2" | Frame 25 | Symbol 221 Button |
"greensword1" | Frame 26 | Symbol 242 MovieClip |
"green1" | Frame 26 | Symbol 245 MovieClip |
"greensword2" | Frame 26 | Symbol 242 MovieClip |
"green2" | Frame 26 | Symbol 245 MovieClip |
"greensword3" | Frame 26 | Symbol 242 MovieClip |
"green3" | Frame 26 | Symbol 245 MovieClip |
"greensword5" | Frame 26 | Symbol 242 MovieClip |
"green5" | Frame 26 | Symbol 245 MovieClip |
"greensword6" | Frame 26 | Symbol 242 MovieClip |
"green6" | Frame 26 | Symbol 245 MovieClip |
"greensword7" | Frame 26 | Symbol 242 MovieClip |
"green7" | Frame 26 | Symbol 245 MovieClip |
"bluesword4" | Frame 26 | Symbol 242 MovieClip |
"blue4" | Frame 26 | Symbol 247 MovieClip |
"bluesword2" | Frame 26 | Symbol 242 MovieClip |
"blue2" | Frame 26 | Symbol 247 MovieClip |
"bluesword1" | Frame 26 | Symbol 242 MovieClip |
"blue1" | Frame 26 | Symbol 247 MovieClip |
"bluesword5" | Frame 26 | Symbol 242 MovieClip |
"blue5" | Frame 26 | Symbol 247 MovieClip |
"greensword4" | Frame 26 | Symbol 242 MovieClip |
"green4" | Frame 26 | Symbol 245 MovieClip |
"bluesword7" | Frame 26 | Symbol 242 MovieClip |
"blue7" | Frame 26 | Symbol 247 MovieClip |
"bluesword8" | Frame 26 | Symbol 242 MovieClip |
"blue8" | Frame 26 | Symbol 247 MovieClip |
"bluesword6" | Frame 26 | Symbol 242 MovieClip |
"blue6" | Frame 26 | Symbol 247 MovieClip |
"bluesword3" | Frame 26 | Symbol 242 MovieClip |
"blue3" | Frame 26 | Symbol 247 MovieClip |
"blueswordcapt" | Frame 26 | Symbol 242 MovieClip |
"bluecapt" | Frame 26 | Symbol 247 MovieClip |
"greenswordcapt" | Frame 26 | Symbol 242 MovieClip |
"greencapt" | Frame 26 | Symbol 245 MovieClip |
"Sword" | Frame 27 | Symbol 202 MovieClip |
"Saver" | Frame 27 | Symbol 175 Button [Saver] |
"Loader" | Frame 27 | Symbol 209 Button |
"Helper" | Frame 27 | Symbol 213 Button |
"Opter" | Frame 27 | Symbol 217 Button |
"plusser" | Frame 27 | Symbol 220 Button |
"plusser2" | Frame 27 | Symbol 221 Button |
"Him" | Frame 27 | Symbol 205 MovieClip |
"Sword" | Frame 36 | Symbol 202 MovieClip |
"Him" | Frame 36 | Symbol 205 MovieClip |
"Him" | Frame 37 | Symbol 205 MovieClip |
"Him" | Frame 44 | Symbol 205 MovieClip |
"Backer" | Frame 45 | Symbol 251 Button |
"MoveKeyTxt" | Frame 45 | Symbol 252 EditableText |
"RotateKeyTxt" | Frame 45 | Symbol 253 EditableText |
"EndKeyTxt" | Frame 45 | Symbol 254 EditableText |
"MapKeyTxt" | Frame 45 | Symbol 255 EditableText |
"UpKeyTxt" | Frame 45 | Symbol 256 EditableText |
"DownKeyTxt" | Frame 45 | Symbol 257 EditableText |
"MoveKeyChange" | Frame 45 | Symbol 262 Button |
"RotateKeyChange" | Frame 45 | Symbol 262 Button |
"EndKeyChange" | Frame 45 | Symbol 262 Button |
"MapKeyChange" | Frame 45 | Symbol 262 Button |
"UpKeyChange" | Frame 45 | Symbol 262 Button |
"DownKeyChange" | Frame 45 | Symbol 262 Button |
"MoveUpKeyText" | Frame 45 | Symbol 263 EditableText |
"MoveDownKeyText" | Frame 45 | Symbol 264 EditableText |
"MoveRightKeyText" | Frame 45 | Symbol 265 EditableText |
"MoveLeftKeyText" | Frame 45 | Symbol 266 EditableText |
"MoveUpKeyChange" | Frame 45 | Symbol 262 Button |
"MoveDownKeyChange" | Frame 45 | Symbol 262 Button |
"MoveRightKeyChange" | Frame 45 | Symbol 262 Button |
"MoveLeftKeyChange" | Frame 45 | Symbol 262 Button |
"music1" | Frame 45 | Symbol 268 Button |
"onoff" | Frame 45 | Symbol 269 EditableText |
"KeyChangeChecker" | Frame 45 | Symbol 271 MovieClip |
"SpeedPlus" | Frame 45 | Symbol 273 Button |
"SpeedMinus" | Frame 45 | Symbol 276 Button |
"SpeedBar" | Frame 45 | Symbol 287 MovieClip |
"rect77" | Frame 46 | Symbol 149 MovieClip [Square] |
"rect79" | Frame 46 | Symbol 149 MovieClip [Square] |
"rect76" | Frame 46 | Symbol 149 MovieClip [Square] |
"rect78" | Frame 46 | Symbol 149 MovieClip [Square] |
"rect80" | Frame 46 | Symbol 149 MovieClip [Square] |
"rect83" | Frame 46 | Symbol 149 MovieClip [Square] |
"rect81" | Frame 46 | Symbol 149 MovieClip [Square] |
"rect82" | Frame 46 | Symbol 149 MovieClip [Square] |
"rect84" | Frame 46 | Symbol 149 MovieClip [Square] |
"rect85" | Frame 46 | Symbol 149 MovieClip [Square] |
"rect86" | Frame 46 | Symbol 149 MovieClip [Square] |
"rect87" | Frame 46 | Symbol 149 MovieClip [Square] |
"rect88" | Frame 46 | Symbol 149 MovieClip [Square] |
"rect89" | Frame 46 | Symbol 149 MovieClip [Square] |
"rect92" | Frame 46 | Symbol 149 MovieClip [Square] |
"rect93" | Frame 46 | Symbol 149 MovieClip [Square] |
"rect94" | Frame 46 | Symbol 149 MovieClip [Square] |
"rect90" | Frame 46 | Symbol 149 MovieClip [Square] |
"rect91" | Frame 46 | Symbol 149 MovieClip [Square] |
"GreenSword" | Frame 47 | Symbol 242 MovieClip |
"Green" | Frame 47 | Symbol 245 MovieClip |
"Blue" | Frame 47 | Symbol 247 MovieClip |
"Green" | Frame 48 | Symbol 245 MovieClip |
"Green2" | Frame 48 | Symbol 245 MovieClip |
"Green1" | Frame 48 | Symbol 245 MovieClip |
"Green5" | Frame 48 | Symbol 245 MovieClip |
"Green3" | Frame 48 | Symbol 245 MovieClip |
"Green7" | Frame 48 | Symbol 245 MovieClip |
"Green8" | Frame 48 | Symbol 245 MovieClip |
"Green6" | Frame 48 | Symbol 245 MovieClip |
"Green9" | Frame 48 | Symbol 245 MovieClip |
"Green4" | Frame 48 | Symbol 245 MovieClip |
"GreenDir" | Frame 48 | Symbol 245 MovieClip |
"longsword" | Frame 50 | Symbol 242 MovieClip |
"s2" | Frame 51 | Symbol 242 MovieClip |
"s3" | Frame 51 | Symbol 242 MovieClip |
"s1" | Frame 51 | Symbol 242 MovieClip |
"rect121" | Frame 54 | Symbol 149 MovieClip [Square] |
"rect122" | Frame 54 | Symbol 149 MovieClip [Square] |
"rect127" | Frame 54 | Symbol 149 MovieClip [Square] |
"rect128" | Frame 54 | Symbol 149 MovieClip [Square] |
"rect126" | Frame 54 | Symbol 149 MovieClip [Square] |
"rect125" | Frame 54 | Symbol 149 MovieClip [Square] |
"rect124" | Frame 54 | Symbol 149 MovieClip [Square] |
"rect123" | Frame 54 | Symbol 149 MovieClip [Square] |
"rect130" | Frame 54 | Symbol 149 MovieClip [Square] |
"rect131" | Frame 54 | Symbol 149 MovieClip [Square] |
"rect129" | Frame 54 | Symbol 149 MovieClip [Square] |
"rect132" | Frame 54 | Symbol 149 MovieClip [Square] |
"rect95" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect100" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect99" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect101" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect96" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect97" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect103" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect98" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect102" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect104" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect105" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect107" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect111" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect106" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect108" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect110" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect109" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect112" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect120" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect116" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect118" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect117" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect115" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect119" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect114" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect113" | Frame 55 | Symbol 149 MovieClip [Square] |
"rect134" | Frame 56 | Symbol 149 MovieClip [Square] |
"rect133" | Frame 56 | Symbol 149 MovieClip [Square] |
"rect135" | Frame 56 | Symbol 149 MovieClip [Square] |
"Sword" | Frame 58 | Symbol 202 MovieClip |
"Saver" | Frame 58 | Symbol 175 Button [Saver] |
"Loader" | Frame 58 | Symbol 209 Button |
"plusser" | Frame 58 | Symbol 220 Button |
"plusser2" | Frame 58 | Symbol 221 Button |
"Helper" | Frame 58 | Symbol 213 Button |
"Opter" | Frame 58 | Symbol 217 Button |
"Flee" | Frame 59 | Symbol 243 MovieClip |
"Stor" | Frame 59 | Symbol 242 MovieClip |
"G" | Frame 59 | Symbol 245 MovieClip |
"back" | Frame 61 | Symbol 306 MovieClip |
"swob" | Frame 61 | Symbol 308 MovieClip |
"swog" | Frame 61 | Symbol 309 MovieClip |
"me" | Frame 61 | Symbol 245 MovieClip |
"kingo" | Frame 61 | Symbol 305 MovieClip |
"los" | Frame 62 | Symbol 315 EditableText |
"Sword" | Frame 73 | Symbol 202 MovieClip |
"Him" | Frame 73 | Symbol 205 MovieClip |
"Saver" | Frame 73 | Symbol 175 Button [Saver] |
"Loader" | Frame 73 | Symbol 209 Button |
"plusser" | Frame 73 | Symbol 220 Button |
"plusser2" | Frame 73 | Symbol 221 Button |
"Helper" | Frame 73 | Symbol 213 Button |
"Opter" | Frame 73 | Symbol 217 Button |
"Yellow" | Frame 85 | Symbol 75 MovieClip [LockedWallBlue] |
"BlueSword" | Frame 93 | Symbol 242 MovieClip |
"BlueCapt" | Frame 93 | Symbol 247 MovieClip |
"Purple" | Frame 117 | Symbol 32 MovieClip [LockedWallPurple] |
"Brown" | Frame 117 | Symbol 30 MovieClip [LockedWallBrown] |
"Brown2" | Frame 117 | Symbol 30 MovieClip [LockedWallBrown] |
"wizard" | Frame 120 | Symbol 24 MovieClip [BlueWizard] |
"sob" | Frame 135 | Symbol 105 MovieClip [BlueSwordBig] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 4 MovieClip [BlueSwordBig copy] Frame 1 | Symbol 3 MovieClip [pt1] |
"Hero" | Symbol 18 MovieClip [BlueKing] Frame 1 | Symbol 17 MovieClip |
"Hero" | Symbol 24 MovieClip [BlueWizard] Frame 1 | Symbol 17 MovieClip |
"Hero" | Symbol 37 MovieClip [BlueVet] Frame 1 | Symbol 17 MovieClip |
"Hero" | Symbol 43 MovieClip [BlueFlee] Frame 1 | Symbol 17 MovieClip |
"Hero" | Symbol 45 MovieClip [BlueRanged] Frame 1 | Symbol 17 MovieClip |
"Hero" | Symbol 57 MovieClip [BlueExpert] Frame 1 | Symbol 17 MovieClip |
"Hero" | Symbol 64 MovieClip [BlueParry] Frame 1 | Symbol 17 MovieClip |
"Hero" | Symbol 73 MovieClip [BlueFast] Frame 1 | Symbol 17 MovieClip |
"Hero" | Symbol 78 MovieClip [NestStone] Frame 1 | Symbol 17 MovieClip |
"Hero" | Symbol 97 MovieClip [Stone] Frame 1 | Symbol 17 MovieClip |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 105 MovieClip [BlueSwordBig] Frame 1 | Symbol 3 MovieClip [pt1] |
"Hero" | Symbol 106 MovieClip [BlueGuardCapt] Frame 1 | Symbol 17 MovieClip |
"Hero" | Symbol 151 MovieClip [Blue] Frame 1 | Symbol 17 MovieClip |
"pt2" | Symbol 153 MovieClip [Bluesword] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 153 MovieClip [Bluesword] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt4" | Symbol 153 MovieClip [Bluesword] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt5" | Symbol 153 MovieClip [Bluesword] Frame 1 | Symbol 3 MovieClip [pt1] |
"pt4" | Symbol 153 MovieClip [Bluesword] Frame 1 | Symbol 3 MovieClip [pt1] |
"bar" | Symbol 193 MovieClip Frame 1 | Symbol 180 MovieClip |
"Loader" | Symbol 193 MovieClip Frame 2 | Symbol 188 Button |
"Helper" | Symbol 193 MovieClip Frame 2 | Symbol 190 Button |
"pt1" | Symbol 202 MovieClip Frame 1 | Symbol 200 MovieClip |
"pt2" | Symbol 202 MovieClip Frame 1 | Symbol 200 MovieClip |
"pt3" | Symbol 202 MovieClip Frame 1 | Symbol 200 MovieClip |
"pt4" | Symbol 202 MovieClip Frame 1 | Symbol 200 MovieClip |
"pt5" | Symbol 202 MovieClip Frame 1 | Symbol 200 MovieClip |
"pt3" | Symbol 202 MovieClip Frame 2 | Symbol 200 MovieClip |
"Hero" | Symbol 205 MovieClip Frame 1 | Symbol 17 MovieClip |
"Hero" | Symbol 243 MovieClip Frame 1 | Symbol 17 MovieClip |
"Hero" | Symbol 245 MovieClip Frame 1 | Symbol 17 MovieClip |
"Flee" | Symbol 245 MovieClip Frame 2 | Symbol 243 MovieClip |
"Hero" | Symbol 245 MovieClip Frame 3 | Symbol 17 MovieClip |
"Hero" | Symbol 247 MovieClip Frame 1 | Symbol 17 MovieClip |
"Hero" | Symbol 302 MovieClip Frame 1 | Symbol 17 MovieClip |
"Hero" | Symbol 305 MovieClip Frame 1 | Symbol 17 MovieClip |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt3" | Symbol 308 MovieClip Frame 1 | Symbol 3 MovieClip [pt1] |
"pt1" | Symbol 309 MovieClip Frame 1 | Symbol 200 MovieClip |
"pt2" | Symbol 309 MovieClip Frame 1 | Symbol 200 MovieClip |
"pt3" | Symbol 309 MovieClip Frame 1 | Symbol 200 MovieClip |
"pt4" | Symbol 309 MovieClip Frame 1 | Symbol 200 MovieClip |
"pt5" | Symbol 309 MovieClip Frame 1 | Symbol 200 MovieClip |
"pt3" | Symbol 309 MovieClip Frame 1 | Symbol 200 MovieClip |
Special Tags
ExportAssets (56) | Timeline Frame 1 | Symbol 1 as "gamemusic" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 4 as "BlueSwordBig copy" |
ExportAssets (56) | Timeline Frame 1 | Symbol 6 as "Bug5" |
ExportAssets (56) | Timeline Frame 1 | Symbol 11 as "Saver" |
ExportAssets (56) | Timeline Frame 1 | Symbol 12 as "BigBlueSword" |
ExportAssets (56) | Timeline Frame 1 | Symbol 14 as "Food" |
ExportAssets (56) | Timeline Frame 1 | Symbol 18 as "BlueKing" |
ExportAssets (56) | Timeline Frame 1 | Symbol 22 as "Randomizer" |
ExportAssets (56) | Timeline Frame 1 | Symbol 24 as "BlueWizard" |
ExportAssets (56) | Timeline Frame 1 | Symbol 26 as "flamebold" |
ExportAssets (56) | Timeline Frame 1 | Symbol 28 as "Bluewand" |
ExportAssets (56) | Timeline Frame 1 | Symbol 30 as "LockedWallBrown" |
ExportAssets (56) | Timeline Frame 1 | Symbol 32 as "LockedWallPurple" |
ExportAssets (56) | Timeline Frame 1 | Symbol 35 as "Armory" |
ExportAssets (56) | Timeline Frame 1 | Symbol 37 as "BlueVet" |
ExportAssets (56) | Timeline Frame 1 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 1 | Symbol 41 as "Bed" |
ExportAssets (56) | Timeline Frame 1 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 1 | Symbol 45 as "BlueRanged" |
ExportAssets (56) | Timeline Frame 1 | Symbol 47 as "Bluebow" |
ExportAssets (56) | Timeline Frame 1 | Symbol 49 as "arrow" |
ExportAssets (56) | Timeline Frame 1 | Symbol 52 as "Displacer4" |
ExportAssets (56) | Timeline Frame 1 | Symbol 53 as "Displacer3" |
ExportAssets (56) | Timeline Frame 1 | Symbol 55 as "Trap5" |
ExportAssets (56) | Timeline Frame 1 | Symbol 57 as "BlueExpert" |
ExportAssets (56) | Timeline Frame 1 | Symbol 60 as "Displacer" |
ExportAssets (56) | Timeline Frame 1 | Symbol 62 as "Fire2" |
ExportAssets (56) | Timeline Frame 1 | Symbol 64 as "BlueParry" |
ExportAssets (56) | Timeline Frame 1 | Symbol 65 as "Displacer2" |
ExportAssets (56) | Timeline Frame 1 | Symbol 69 as "BlueDeath" |
ExportAssets (56) | Timeline Frame 1 | Symbol 71 as "wall50" |
ExportAssets (56) | Timeline Frame 1 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 1 | Symbol 73 as "BlueFast" |
ExportAssets (56) | Timeline Frame 1 | Symbol 75 as "LockedWallBlue" |
ExportAssets (56) | Timeline Frame 1 | Symbol 78 as "NestStone" |
ExportAssets (56) | Timeline Frame 1 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 1 | Symbol 82 as "Bug7" |
ExportAssets (56) | Timeline Frame 1 | Symbol 84 as "Trap4" |
ExportAssets (56) | Timeline Frame 1 | Symbol 90 as "Acid" |
ExportAssets (56) | Timeline Frame 1 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 1 | Symbol 94 as "Understone" |
ExportAssets (56) | Timeline Frame 1 | Symbol 94 as "Understone" |
ExportAssets (56) | Timeline Frame 1 | Symbol 97 as "Stone" |
ExportAssets (56) | Timeline Frame 1 | Symbol 99 as "Stuff3" |
ExportAssets (56) | Timeline Frame 1 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 1 | Symbol 103 as "Bug6" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 1 | Symbol 106 as "BlueGuardCapt" |
ExportAssets (56) | Timeline Frame 1 | Symbol 108 as "StairsBoth" |
ExportAssets (56) | Timeline Frame 1 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 1 | Symbol 112 as "Stairs" |
ExportAssets (56) | Timeline Frame 1 | Symbol 114 as "Sand" |
ExportAssets (56) | Timeline Frame 1 | Symbol 116 as "wall300" |
ExportAssets (56) | Timeline Frame 1 | Symbol 118 as "Trap3" |
ExportAssets (56) | Timeline Frame 1 | Symbol 120 as "wall120" |
ExportAssets (56) | Timeline Frame 1 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 1 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 1 | Symbol 125 as "TheButton" |
ExportAssets (56) | Timeline Frame 1 | Symbol 127 as "StairsDown" |
ExportAssets (56) | Timeline Frame 1 | Symbol 130 as "Nest" |
ExportAssets (56) | Timeline Frame 1 | Symbol 132 as "Ice" |
ExportAssets (56) | Timeline Frame 1 | Symbol 134 as "LaserShot" |
ExportAssets (56) | Timeline Frame 1 | Symbol 136 as "LaserBody" |
ExportAssets (56) | Timeline Frame 1 | Symbol 136 as "LaserBody" |
ExportAssets (56) | Timeline Frame 1 | Symbol 134 as "LaserShot" |
ExportAssets (56) | Timeline Frame 1 | Symbol 136 as "LaserBody" |
ExportAssets (56) | Timeline Frame 1 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 1 | Symbol 139 as "wall100" |
ExportAssets (56) | Timeline Frame 1 | Symbol 141 as "Fire" |
ExportAssets (56) | Timeline Frame 1 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 1 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 1 | Symbol 155 as "BoxTrapped" |
ExportAssets (56) | Timeline Frame 1 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 1 | Symbol 159 as "Trap2" |
ExportAssets (56) | Timeline Frame 1 | Symbol 161 as "Bug4" |
ExportAssets (56) | Timeline Frame 1 | Symbol 163 as "wall20" |
ExportAssets (56) | Timeline Frame 1 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 1 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 1 | Symbol 168 as "wall200" |
ExportAssets (56) | Timeline Frame 1 | Symbol 170 as "Trap" |
ExportAssets (56) | Timeline Frame 1 | Symbol 172 as "wall60" |
ExportAssets (56) | Timeline Frame 1 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 1 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 1 | Symbol 177 as "LockedWall" |
ExportAssets (56) | Timeline Frame 1 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 1 | Symbol 339 as "__Packages.cl_bluesword" |
ExportAssets (56) | Timeline Frame 1 | Symbol 340 as "__Packages.cl_bug5" |
ExportAssets (56) | Timeline Frame 1 | Symbol 341 as "__Packages.cl_food" |
ExportAssets (56) | Timeline Frame 1 | Symbol 342 as "__Packages.cl_blueking" |
ExportAssets (56) | Timeline Frame 1 | Symbol 343 as "__Packages.cl_randomizer" |
ExportAssets (56) | Timeline Frame 1 | Symbol 344 as "__Packages.cl_bluewizard" |
ExportAssets (56) | Timeline Frame 1 | Symbol 345 as "__Packages.cl_arrow" |
ExportAssets (56) | Timeline Frame 1 | Symbol 346 as "__Packages.cl_bluebow" |
ExportAssets (56) | Timeline Frame 1 | Symbol 347 as "__Packages.cl_box" |
ExportAssets (56) | Timeline Frame 1 | Symbol 348 as "__Packages.cl_armory" |
ExportAssets (56) | Timeline Frame 1 | Symbol 349 as "__Packages.cl_bluevet" |
ExportAssets (56) | Timeline Frame 1 | Symbol 350 as "__Packages.cl_wall" |
ExportAssets (56) | Timeline Frame 1 | Symbol 351 as "__Packages.cl_blueflee" |
ExportAssets (56) | Timeline Frame 1 | Symbol 352 as "__Packages.cl_blueranged" |
ExportAssets (56) | Timeline Frame 1 | Symbol 353 as "__Packages.cl_displacer4" |
ExportAssets (56) | Timeline Frame 1 | Symbol 354 as "__Packages.cl_displacer3" |
ExportAssets (56) | Timeline Frame 1 | Symbol 355 as "__Packages.cl_trap" |
ExportAssets (56) | Timeline Frame 1 | Symbol 356 as "__Packages.cl_blueexpert" |
ExportAssets (56) | Timeline Frame 1 | Symbol 357 as "__Packages.cl_displacer" |
ExportAssets (56) | Timeline Frame 1 | Symbol 358 as "__Packages.cl_fire" |
ExportAssets (56) | Timeline Frame 1 | Symbol 359 as "__Packages.cl_blueparry" |
ExportAssets (56) | Timeline Frame 1 | Symbol 360 as "__Packages.cl_displacer2" |
ExportAssets (56) | Timeline Frame 1 | Symbol 361 as "__Packages.cl_ropepoint" |
ExportAssets (56) | Timeline Frame 1 | Symbol 362 as "__Packages.cl_bluefast" |
ExportAssets (56) | Timeline Frame 1 | Symbol 363 as "__Packages.cl_neststone" |
ExportAssets (56) | Timeline Frame 1 | Symbol 364 as "__Packages.cl_goo" |
ExportAssets (56) | Timeline Frame 1 | Symbol 365 as "__Packages.cl_bug7" |
ExportAssets (56) | Timeline Frame 1 | Symbol 366 as "__Packages.cl_acid" |
ExportAssets (56) | Timeline Frame 1 | Symbol 367 as "__Packages.cl_bugacid" |
ExportAssets (56) | Timeline Frame 1 | Symbol 368 as "__Packages.cl_stone" |
ExportAssets (56) | Timeline Frame 1 | Symbol 369 as "__Packages.cl_buglightning" |
ExportAssets (56) | Timeline Frame 1 | Symbol 370 as "__Packages.cl_bug6" |
ExportAssets (56) | Timeline Frame 1 | Symbol 371 as "__Packages.cl_blueguardcapt" |
ExportAssets (56) | Timeline Frame 1 | Symbol 372 as "__Packages.cl_stairsboth" |
ExportAssets (56) | Timeline Frame 1 | Symbol 373 as "__Packages.cl_stairs" |
ExportAssets (56) | Timeline Frame 1 | Symbol 374 as "__Packages.cl_sand" |
ExportAssets (56) | Timeline Frame 1 | Symbol 375 as "__Packages.cl_togglewall" |
ExportAssets (56) | Timeline Frame 1 | Symbol 376 as "__Packages.cl_button" |
ExportAssets (56) | Timeline Frame 1 | Symbol 377 as "__Packages.cl_stairsdown" |
ExportAssets (56) | Timeline Frame 1 | Symbol 378 as "__Packages.cl_nest" |
ExportAssets (56) | Timeline Frame 1 | Symbol 379 as "__Packages.cl_ice" |
ExportAssets (56) | Timeline Frame 1 | Symbol 380 as "__Packages.cl_lasershot" |
ExportAssets (56) | Timeline Frame 1 | Symbol 381 as "__Packages.cl_laser" |
ExportAssets (56) | Timeline Frame 1 | Symbol 382 as "__Packages.cl_square" |
ExportAssets (56) | Timeline Frame 1 | Symbol 383 as "__Packages.cl_blue" |
ExportAssets (56) | Timeline Frame 1 | Symbol 384 as "__Packages.cl_boxtrapped" |
ExportAssets (56) | Timeline Frame 1 | Symbol 385 as "__Packages.cl_bug4" |
ExportAssets (56) | Timeline Frame 1 | Symbol 386 as "__Packages.cl_bug3" |
ExportAssets (56) | Timeline Frame 1 | Symbol 387 as "__Packages.cl_bug2" |
ExportAssets (56) | Timeline Frame 1 | Symbol 388 as "__Packages.cl_bug" |
ExportAssets (56) | Timeline Frame 1 | Symbol 389 as "__Packages.cl_swordpt" |
ExportAssets (56) | Timeline Frame 1 | Symbol 1 as "gamemusic" |
ExportAssets (56) | Timeline Frame 3 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 3 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 3 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 3 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 3 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 3 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 3 | Symbol 177 as "LockedWall" |
ExportAssets (56) | Timeline Frame 3 | Symbol 177 as "LockedWall" |
ExportAssets (56) | Timeline Frame 3 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 3 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 3 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 3 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 3 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 3 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 4 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 4 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 4 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 4 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 4 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 4 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 4 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 4 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 4 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 4 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 4 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 4 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 5 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 5 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 5 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 5 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 5 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 5 | Symbol 223 as "Stuff" |
ExportAssets (56) | Timeline Frame 5 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 5 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 5 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 5 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 5 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 5 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 5 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 5 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 5 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 5 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 5 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 5 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 6 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 6 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 6 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 6 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 6 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 6 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 6 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 6 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 6 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 6 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 6 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 6 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 6 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 6 | Symbol 172 as "wall60" |
ExportAssets (56) | Timeline Frame 7 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 7 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 7 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 7 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 7 | Symbol 170 as "Trap" |
ExportAssets (56) | Timeline Frame 7 | Symbol 168 as "wall200" |
ExportAssets (56) | Timeline Frame 7 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 7 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 7 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 7 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 7 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 7 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 7 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 7 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 7 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 7 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 7 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 8 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 8 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 8 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 8 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 8 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 8 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 8 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 8 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 8 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 8 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 8 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 8 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 8 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 8 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 8 | Symbol 172 as "wall60" |
ExportAssets (56) | Timeline Frame 9 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 9 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 9 | Symbol 170 as "Trap" |
ExportAssets (56) | Timeline Frame 9 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 9 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 9 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 9 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 9 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 10 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 10 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 10 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 10 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 10 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 10 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 10 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 10 | Symbol 163 as "wall20" |
ExportAssets (56) | Timeline Frame 10 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 11 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 11 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 11 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 11 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 11 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 11 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 12 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 12 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 12 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 12 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 12 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 12 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 13 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 13 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 13 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 13 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 13 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 13 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 13 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 13 | Symbol 161 as "Bug4" |
ExportAssets (56) | Timeline Frame 14 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 14 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 14 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 14 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 14 | Symbol 159 as "Trap2" |
ExportAssets (56) | Timeline Frame 14 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 14 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 14 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 14 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 14 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 14 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 14 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 14 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 14 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 14 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 14 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 14 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 14 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 14 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 14 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 15 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 15 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 15 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 15 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 15 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 15 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 15 | Symbol 168 as "wall200" |
ExportAssets (56) | Timeline Frame 15 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 15 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 15 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 15 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 15 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 15 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 15 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 15 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 15 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 15 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 16 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 16 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 16 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 16 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 16 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 16 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 16 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 16 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 16 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 16 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 16 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 16 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 16 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 16 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 16 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 16 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 16 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 16 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 16 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 16 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 16 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 16 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 16 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 16 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 16 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 16 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 17 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 17 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 17 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 17 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 17 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 17 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 17 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 17 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 17 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 17 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 17 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 17 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 17 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 17 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 17 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 17 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 17 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 17 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 17 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 17 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 17 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 17 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 17 | Symbol 155 as "BoxTrapped" |
ExportAssets (56) | Timeline Frame 17 | Symbol 155 as "BoxTrapped" |
ExportAssets (56) | Timeline Frame 17 | Symbol 155 as "BoxTrapped" |
ExportAssets (56) | Timeline Frame 17 | Symbol 155 as "BoxTrapped" |
ExportAssets (56) | Timeline Frame 17 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 17 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 17 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 17 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 18 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 18 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 18 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 18 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 18 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 18 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 18 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 18 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 18 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 18 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 18 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 18 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 18 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 18 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 18 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 18 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 18 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 18 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 18 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 18 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 18 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 18 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 19 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 20 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 20 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 20 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 20 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 20 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 20 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 20 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 21 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 21 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 21 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 21 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 21 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 21 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 22 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 22 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 22 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 22 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 22 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 22 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 22 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 23 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 23 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 23 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 23 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 23 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 23 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 23 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 23 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 23 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 23 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 23 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 23 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 23 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 25 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 25 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 25 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 25 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 25 | Symbol 170 as "Trap" |
ExportAssets (56) | Timeline Frame 25 | Symbol 141 as "Fire" |
ExportAssets (56) | Timeline Frame 25 | Symbol 141 as "Fire" |
ExportAssets (56) | Timeline Frame 25 | Symbol 141 as "Fire" |
ExportAssets (56) | Timeline Frame 25 | Symbol 141 as "Fire" |
ExportAssets (56) | Timeline Frame 25 | Symbol 141 as "Fire" |
ExportAssets (56) | Timeline Frame 25 | Symbol 141 as "Fire" |
ExportAssets (56) | Timeline Frame 25 | Symbol 141 as "Fire" |
ExportAssets (56) | Timeline Frame 25 | Symbol 141 as "Fire" |
ExportAssets (56) | Timeline Frame 25 | Symbol 141 as "Fire" |
ExportAssets (56) | Timeline Frame 25 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 25 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 25 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 25 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 25 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 25 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 25 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 27 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 27 | Symbol 168 as "wall200" |
ExportAssets (56) | Timeline Frame 27 | Symbol 139 as "wall100" |
ExportAssets (56) | Timeline Frame 27 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 27 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 27 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 27 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 27 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 27 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 27 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 27 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 27 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 27 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 28 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 28 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 28 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 28 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 28 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 28 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 28 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 28 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 28 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 28 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 28 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 28 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 28 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 28 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 28 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 28 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 28 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 28 | Symbol 155 as "BoxTrapped" |
ExportAssets (56) | Timeline Frame 28 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 28 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 28 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 28 | Symbol 155 as "BoxTrapped" |
ExportAssets (56) | Timeline Frame 29 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 29 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 29 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 29 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 29 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 29 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 29 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 29 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 29 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 29 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 29 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 29 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 29 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 29 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 29 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 29 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 29 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 29 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 29 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 29 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 29 | Symbol 139 as "wall100" |
ExportAssets (56) | Timeline Frame 29 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 30 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 30 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 30 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 30 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 30 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 30 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 30 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 30 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 30 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 30 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 30 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 31 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 31 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 31 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 31 | Symbol 132 as "Ice" |
ExportAssets (56) | Timeline Frame 31 | Symbol 132 as "Ice" |
ExportAssets (56) | Timeline Frame 31 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 31 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 31 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 31 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 31 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 31 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 31 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 31 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 31 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 31 | Symbol 155 as "BoxTrapped" |
ExportAssets (56) | Timeline Frame 32 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 32 | Symbol 141 as "Fire" |
ExportAssets (56) | Timeline Frame 32 | Symbol 141 as "Fire" |
ExportAssets (56) | Timeline Frame 32 | Symbol 141 as "Fire" |
ExportAssets (56) | Timeline Frame 32 | Symbol 141 as "Fire" |
ExportAssets (56) | Timeline Frame 32 | Symbol 141 as "Fire" |
ExportAssets (56) | Timeline Frame 32 | Symbol 141 as "Fire" |
ExportAssets (56) | Timeline Frame 32 | Symbol 141 as "Fire" |
ExportAssets (56) | Timeline Frame 32 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 32 | Symbol 130 as "Nest" |
ExportAssets (56) | Timeline Frame 32 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 33 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 33 | Symbol 130 as "Nest" |
ExportAssets (56) | Timeline Frame 33 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 33 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 33 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 33 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 34 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 34 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 34 | Symbol 130 as "Nest" |
ExportAssets (56) | Timeline Frame 34 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 34 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 34 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 34 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 34 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 34 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 34 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 35 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 35 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 35 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 35 | Symbol 130 as "Nest" |
ExportAssets (56) | Timeline Frame 35 | Symbol 130 as "Nest" |
ExportAssets (56) | Timeline Frame 35 | Symbol 130 as "Nest" |
ExportAssets (56) | Timeline Frame 35 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 35 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 35 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 35 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 35 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 35 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 36 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 36 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 36 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 36 | Symbol 130 as "Nest" |
ExportAssets (56) | Timeline Frame 36 | Symbol 127 as "StairsDown" |
ExportAssets (56) | Timeline Frame 36 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 36 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 36 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 36 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 36 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 36 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 36 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 36 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 36 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 37 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 37 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 37 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 37 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 37 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 37 | Symbol 125 as "TheButton" |
ExportAssets (56) | Timeline Frame 37 | Symbol 125 as "TheButton" |
ExportAssets (56) | Timeline Frame 37 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 37 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 37 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 37 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 37 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 37 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 37 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 37 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 37 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 38 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 38 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 38 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 38 | Symbol 125 as "TheButton" |
ExportAssets (56) | Timeline Frame 38 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 38 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 38 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 38 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 38 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 38 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 38 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 38 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 38 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 38 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 38 | Symbol 125 as "TheButton" |
ExportAssets (56) | Timeline Frame 38 | Symbol 120 as "wall120" |
ExportAssets (56) | Timeline Frame 38 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 38 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 38 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 38 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 38 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 38 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 39 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 39 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 39 | Symbol 118 as "Trap3" |
ExportAssets (56) | Timeline Frame 39 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 39 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 39 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 39 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 39 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 39 | Symbol 125 as "TheButton" |
ExportAssets (56) | Timeline Frame 39 | Symbol 125 as "TheButton" |
ExportAssets (56) | Timeline Frame 39 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 39 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 39 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 39 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 39 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 39 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 39 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 39 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 40 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 40 | Symbol 125 as "TheButton" |
ExportAssets (56) | Timeline Frame 40 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 40 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 40 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 40 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 40 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 40 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 40 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 40 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 40 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 40 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 40 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 40 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 40 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 40 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 40 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 40 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 40 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 40 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 40 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 40 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 40 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 40 | Symbol 116 as "wall300" |
ExportAssets (56) | Timeline Frame 40 | Symbol 116 as "wall300" |
ExportAssets (56) | Timeline Frame 40 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 41 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 41 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 41 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 41 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 41 | Symbol 132 as "Ice" |
ExportAssets (56) | Timeline Frame 41 | Symbol 125 as "TheButton" |
ExportAssets (56) | Timeline Frame 41 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 41 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 41 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 41 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 41 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 41 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 41 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 41 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 41 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 41 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 41 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 41 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 41 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 41 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 41 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 41 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 42 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 42 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 42 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 42 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 42 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 42 | Symbol 114 as "Sand" |
ExportAssets (56) | Timeline Frame 42 | Symbol 125 as "TheButton" |
ExportAssets (56) | Timeline Frame 42 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 42 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 42 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 42 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 42 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 42 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 42 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 42 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 42 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 42 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 42 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 42 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 42 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 42 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 42 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 42 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 43 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 43 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 43 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 43 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 43 | Symbol 112 as "Stairs" |
ExportAssets (56) | Timeline Frame 43 | Symbol 125 as "TheButton" |
ExportAssets (56) | Timeline Frame 43 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 43 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 43 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 43 | Symbol 123 as "ToggleWall" |
ExportAssets (56) | Timeline Frame 43 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 43 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 43 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 43 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 43 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 44 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 44 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 44 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 44 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 44 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 44 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 44 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 44 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 44 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 44 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 44 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 44 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 44 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 44 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 44 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 44 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 44 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 44 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 44 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 44 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 44 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 44 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 44 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 44 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 44 | Symbol 108 as "StairsBoth" |
ExportAssets (56) | Timeline Frame 44 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 44 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 44 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 44 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 44 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 46 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 46 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 46 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 46 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 46 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 46 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 46 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 46 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 46 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 46 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 46 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 46 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 46 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 46 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 46 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 46 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 46 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 46 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 46 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 49 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 49 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 49 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 49 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 49 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 49 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 49 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 49 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 49 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 49 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 49 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 49 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 50 | Symbol 106 as "BlueGuardCapt" |
ExportAssets (56) | Timeline Frame 51 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 51 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 51 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 51 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 51 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 51 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 52 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 52 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 52 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 54 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 54 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 54 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 54 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 54 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 54 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 54 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 54 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 54 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 54 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 54 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 54 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 55 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 56 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 56 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 56 | Symbol 149 as "Square" |
ExportAssets (56) | Timeline Frame 58 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 60 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 60 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 60 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 60 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 61 | Symbol 3 as "pt1" |
ExportAssets (56) | Timeline Frame 73 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 73 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 73 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 73 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 73 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 73 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 73 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 73 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 73 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 73 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 73 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 73 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 73 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 73 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 73 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 73 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 73 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 73 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 73 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 73 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 73 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 73 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 73 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 73 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 73 | Symbol 108 as "StairsBoth" |
ExportAssets (56) | Timeline Frame 73 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 73 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 73 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 73 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 73 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 74 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 74 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 74 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 74 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 74 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 74 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 74 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 74 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 74 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 74 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 74 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 74 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 74 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 74 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 74 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 74 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 74 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 74 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 74 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 74 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 74 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 74 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 74 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 74 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 74 | Symbol 108 as "StairsBoth" |
ExportAssets (56) | Timeline Frame 74 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 74 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 74 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 74 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 74 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 74 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 74 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 74 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 74 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 75 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 75 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 75 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 75 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 75 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 75 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 75 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 75 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 75 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 75 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 75 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 75 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 75 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 75 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 75 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 75 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 75 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 75 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 75 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 75 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 75 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 75 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 75 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 75 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 75 | Symbol 108 as "StairsBoth" |
ExportAssets (56) | Timeline Frame 75 | Symbol 103 as "Bug6" |
ExportAssets (56) | Timeline Frame 75 | Symbol 103 as "Bug6" |
ExportAssets (56) | Timeline Frame 75 | Symbol 103 as "Bug6" |
ExportAssets (56) | Timeline Frame 75 | Symbol 103 as "Bug6" |
ExportAssets (56) | Timeline Frame 75 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 76 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 76 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 76 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 76 | Symbol 112 as "Stairs" |
ExportAssets (56) | Timeline Frame 76 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 77 | Symbol 139 as "wall100" |
ExportAssets (56) | Timeline Frame 77 | Symbol 139 as "wall100" |
ExportAssets (56) | Timeline Frame 77 | Symbol 139 as "wall100" |
ExportAssets (56) | Timeline Frame 77 | Symbol 139 as "wall100" |
ExportAssets (56) | Timeline Frame 77 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 77 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 77 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 77 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 77 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 77 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 77 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 77 | Symbol 99 as "Stuff3" |
ExportAssets (56) | Timeline Frame 77 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 77 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 78 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 78 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 78 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 78 | Symbol 139 as "wall100" |
ExportAssets (56) | Timeline Frame 78 | Symbol 139 as "wall100" |
ExportAssets (56) | Timeline Frame 78 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 78 | Symbol 97 as "Stone" |
ExportAssets (56) | Timeline Frame 78 | Symbol 97 as "Stone" |
ExportAssets (56) | Timeline Frame 78 | Symbol 97 as "Stone" |
ExportAssets (56) | Timeline Frame 78 | Symbol 97 as "Stone" |
ExportAssets (56) | Timeline Frame 78 | Symbol 97 as "Stone" |
ExportAssets (56) | Timeline Frame 78 | Symbol 97 as "Stone" |
ExportAssets (56) | Timeline Frame 78 | Symbol 97 as "Stone" |
ExportAssets (56) | Timeline Frame 78 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 78 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 78 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 78 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 78 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 78 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 78 | Symbol 103 as "Bug6" |
ExportAssets (56) | Timeline Frame 78 | Symbol 103 as "Bug6" |
ExportAssets (56) | Timeline Frame 79 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 79 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 79 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 79 | Symbol 90 as "Acid" |
ExportAssets (56) | Timeline Frame 79 | Symbol 90 as "Acid" |
ExportAssets (56) | Timeline Frame 79 | Symbol 90 as "Acid" |
ExportAssets (56) | Timeline Frame 79 | Symbol 90 as "Acid" |
ExportAssets (56) | Timeline Frame 79 | Symbol 90 as "Acid" |
ExportAssets (56) | Timeline Frame 79 | Symbol 90 as "Acid" |
ExportAssets (56) | Timeline Frame 79 | Symbol 90 as "Acid" |
ExportAssets (56) | Timeline Frame 79 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 79 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 79 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 79 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 79 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 79 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 79 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 79 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 79 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 79 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 79 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 80 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 80 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 80 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 80 | Symbol 84 as "Trap4" |
ExportAssets (56) | Timeline Frame 80 | Symbol 139 as "wall100" |
ExportAssets (56) | Timeline Frame 80 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 80 | Symbol 82 as "Bug7" |
ExportAssets (56) | Timeline Frame 80 | Symbol 82 as "Bug7" |
ExportAssets (56) | Timeline Frame 80 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 80 | Symbol 82 as "Bug7" |
ExportAssets (56) | Timeline Frame 80 | Symbol 82 as "Bug7" |
ExportAssets (56) | Timeline Frame 80 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 80 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 80 | Symbol 139 as "wall100" |
ExportAssets (56) | Timeline Frame 81 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 81 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 81 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 81 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 81 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 81 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 81 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 81 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 81 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 81 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 81 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 81 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 81 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 81 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 81 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 81 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 81 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 81 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 81 | Symbol 82 as "Bug7" |
ExportAssets (56) | Timeline Frame 81 | Symbol 82 as "Bug7" |
ExportAssets (56) | Timeline Frame 81 | Symbol 82 as "Bug7" |
ExportAssets (56) | Timeline Frame 81 | Symbol 82 as "Bug7" |
ExportAssets (56) | Timeline Frame 81 | Symbol 82 as "Bug7" |
ExportAssets (56) | Timeline Frame 81 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 81 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 81 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 81 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 82 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 82 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 82 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 82 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 82 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 82 | Symbol 78 as "NestStone" |
ExportAssets (56) | Timeline Frame 82 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 82 | Symbol 97 as "Stone" |
ExportAssets (56) | Timeline Frame 82 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 82 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 82 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 83 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 83 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 83 | Symbol 90 as "Acid" |
ExportAssets (56) | Timeline Frame 83 | Symbol 90 as "Acid" |
ExportAssets (56) | Timeline Frame 83 | Symbol 90 as "Acid" |
ExportAssets (56) | Timeline Frame 83 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 83 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 83 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 83 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 83 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 83 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 83 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 83 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 84 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 84 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 84 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 84 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 84 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 84 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 84 | Symbol 161 as "Bug4" |
ExportAssets (56) | Timeline Frame 84 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 84 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 84 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 84 | Symbol 82 as "Bug7" |
ExportAssets (56) | Timeline Frame 84 | Symbol 82 as "Bug7" |
ExportAssets (56) | Timeline Frame 85 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 85 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 85 | Symbol 75 as "LockedWallBlue" |
ExportAssets (56) | Timeline Frame 85 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 85 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 85 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 86 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 86 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 86 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 86 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 86 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 86 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 86 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 86 | Symbol 73 as "BlueFast" |
ExportAssets (56) | Timeline Frame 86 | Symbol 73 as "BlueFast" |
ExportAssets (56) | Timeline Frame 86 | Symbol 73 as "BlueFast" |
ExportAssets (56) | Timeline Frame 87 | Symbol 170 as "Trap" |
ExportAssets (56) | Timeline Frame 87 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 87 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 87 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 87 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 87 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 87 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 87 | Symbol 141 as "Fire" |
ExportAssets (56) | Timeline Frame 87 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 87 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 87 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 87 | Symbol 72 as "RopePoint" |
ExportAssets (56) | Timeline Frame 88 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 88 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 88 | Symbol 97 as "Stone" |
ExportAssets (56) | Timeline Frame 88 | Symbol 78 as "NestStone" |
ExportAssets (56) | Timeline Frame 88 | Symbol 139 as "wall100" |
ExportAssets (56) | Timeline Frame 88 | Symbol 139 as "wall100" |
ExportAssets (56) | Timeline Frame 88 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 88 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 88 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 88 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 88 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 88 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 88 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 88 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 88 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 88 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 88 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 89 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 89 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 89 | Symbol 132 as "Ice" |
ExportAssets (56) | Timeline Frame 89 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 89 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 89 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 89 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 89 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 89 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 89 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 89 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 89 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 89 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 89 | Symbol 82 as "Bug7" |
ExportAssets (56) | Timeline Frame 89 | Symbol 82 as "Bug7" |
ExportAssets (56) | Timeline Frame 89 | Symbol 82 as "Bug7" |
ExportAssets (56) | Timeline Frame 89 | Symbol 82 as "Bug7" |
ExportAssets (56) | Timeline Frame 89 | Symbol 71 as "wall50" |
ExportAssets (56) | Timeline Frame 89 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 89 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 89 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 89 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 89 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 90 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 90 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 90 | Symbol 90 as "Acid" |
ExportAssets (56) | Timeline Frame 90 | Symbol 71 as "wall50" |
ExportAssets (56) | Timeline Frame 90 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 90 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 90 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 90 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 90 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 90 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 90 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 90 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 90 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 90 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 90 | Symbol 161 as "Bug4" |
ExportAssets (56) | Timeline Frame 90 | Symbol 103 as "Bug6" |
ExportAssets (56) | Timeline Frame 90 | Symbol 103 as "Bug6" |
ExportAssets (56) | Timeline Frame 90 | Symbol 103 as "Bug6" |
ExportAssets (56) | Timeline Frame 90 | Symbol 82 as "Bug7" |
ExportAssets (56) | Timeline Frame 90 | Symbol 82 as "Bug7" |
ExportAssets (56) | Timeline Frame 90 | Symbol 82 as "Bug7" |
ExportAssets (56) | Timeline Frame 90 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 90 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 90 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 90 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 90 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 90 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 91 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 91 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 91 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 91 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 91 | Symbol 90 as "Acid" |
ExportAssets (56) | Timeline Frame 91 | Symbol 90 as "Acid" |
ExportAssets (56) | Timeline Frame 91 | Symbol 90 as "Acid" |
ExportAssets (56) | Timeline Frame 91 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 91 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 91 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 91 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 91 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 91 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 91 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 91 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 91 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 91 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 91 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 91 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 91 | Symbol 103 as "Bug6" |
ExportAssets (56) | Timeline Frame 91 | Symbol 103 as "Bug6" |
ExportAssets (56) | Timeline Frame 91 | Symbol 82 as "Bug7" |
ExportAssets (56) | Timeline Frame 91 | Symbol 82 as "Bug7" |
ExportAssets (56) | Timeline Frame 91 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 91 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 91 | Symbol 69 as "BlueDeath" |
ExportAssets (56) | Timeline Frame 91 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 91 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 91 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 91 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 91 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 91 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 91 | Symbol 110 as "Spike" |
ExportAssets (56) | Timeline Frame 91 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 91 | Symbol 164 as "Bug3" |
ExportAssets (56) | Timeline Frame 91 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 92 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 92 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 92 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 93 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 93 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 93 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 93 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 93 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 93 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 93 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 93 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 93 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 93 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 93 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 93 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 93 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 93 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 93 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 94 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 94 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 94 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 94 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 94 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 94 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 94 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 94 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 94 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 94 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 94 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 94 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 94 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 94 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 94 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 94 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 94 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 94 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 94 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 94 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 94 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 94 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 94 | Symbol 106 as "BlueGuardCapt" |
ExportAssets (56) | Timeline Frame 94 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 95 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 95 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 95 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 95 | Symbol 127 as "StairsDown" |
ExportAssets (56) | Timeline Frame 95 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 96 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 96 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 96 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 96 | Symbol 65 as "Displacer2" |
ExportAssets (56) | Timeline Frame 96 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 96 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 96 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 96 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 96 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 96 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 96 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 96 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 96 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 97 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 97 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 97 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 97 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 97 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 97 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 97 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 97 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 97 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 97 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 97 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 97 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 97 | Symbol 64 as "BlueParry" |
ExportAssets (56) | Timeline Frame 97 | Symbol 64 as "BlueParry" |
ExportAssets (56) | Timeline Frame 97 | Symbol 64 as "BlueParry" |
ExportAssets (56) | Timeline Frame 98 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 98 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 98 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 98 | Symbol 65 as "Displacer2" |
ExportAssets (56) | Timeline Frame 98 | Symbol 62 as "Fire2" |
ExportAssets (56) | Timeline Frame 98 | Symbol 62 as "Fire2" |
ExportAssets (56) | Timeline Frame 98 | Symbol 62 as "Fire2" |
ExportAssets (56) | Timeline Frame 98 | Symbol 62 as "Fire2" |
ExportAssets (56) | Timeline Frame 98 | Symbol 139 as "wall100" |
ExportAssets (56) | Timeline Frame 98 | Symbol 139 as "wall100" |
ExportAssets (56) | Timeline Frame 98 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 98 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 98 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 98 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 98 | Symbol 60 as "Displacer" |
ExportAssets (56) | Timeline Frame 98 | Symbol 64 as "BlueParry" |
ExportAssets (56) | Timeline Frame 98 | Symbol 64 as "BlueParry" |
ExportAssets (56) | Timeline Frame 98 | Symbol 73 as "BlueFast" |
ExportAssets (56) | Timeline Frame 99 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 99 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 99 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 99 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 99 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 99 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 99 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 99 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 99 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 99 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 99 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 99 | Symbol 57 as "BlueExpert" |
ExportAssets (56) | Timeline Frame 99 | Symbol 73 as "BlueFast" |
ExportAssets (56) | Timeline Frame 99 | Symbol 73 as "BlueFast" |
ExportAssets (56) | Timeline Frame 99 | Symbol 64 as "BlueParry" |
ExportAssets (56) | Timeline Frame 99 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 99 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 100 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 100 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 100 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 100 | Symbol 55 as "Trap5" |
ExportAssets (56) | Timeline Frame 100 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 100 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 100 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 100 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 100 | Symbol 125 as "TheButton" |
ExportAssets (56) | Timeline Frame 100 | Symbol 73 as "BlueFast" |
ExportAssets (56) | Timeline Frame 100 | Symbol 73 as "BlueFast" |
ExportAssets (56) | Timeline Frame 100 | Symbol 64 as "BlueParry" |
ExportAssets (56) | Timeline Frame 100 | Symbol 64 as "BlueParry" |
ExportAssets (56) | Timeline Frame 100 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 100 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 100 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 101 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 101 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 101 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 101 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 101 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 101 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 101 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 101 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 101 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 101 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 101 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 101 | Symbol 57 as "BlueExpert" |
ExportAssets (56) | Timeline Frame 101 | Symbol 73 as "BlueFast" |
ExportAssets (56) | Timeline Frame 101 | Symbol 73 as "BlueFast" |
ExportAssets (56) | Timeline Frame 101 | Symbol 64 as "BlueParry" |
ExportAssets (56) | Timeline Frame 101 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 101 | Symbol 151 as "Blue" |
ExportAssets (56) | Timeline Frame 102 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 102 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 102 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 102 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 102 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 102 | Symbol 223 as "Stuff" |
ExportAssets (56) | Timeline Frame 102 | Symbol 65 as "Displacer2" |
ExportAssets (56) | Timeline Frame 102 | Symbol 65 as "Displacer2" |
ExportAssets (56) | Timeline Frame 102 | Symbol 53 as "Displacer3" |
ExportAssets (56) | Timeline Frame 102 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 102 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 102 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 102 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 102 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 102 | Symbol 57 as "BlueExpert" |
ExportAssets (56) | Timeline Frame 102 | Symbol 73 as "BlueFast" |
ExportAssets (56) | Timeline Frame 102 | Symbol 73 as "BlueFast" |
ExportAssets (56) | Timeline Frame 102 | Symbol 73 as "BlueFast" |
ExportAssets (56) | Timeline Frame 103 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 103 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 103 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 103 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 103 | Symbol 60 as "Displacer" |
ExportAssets (56) | Timeline Frame 103 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 103 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 103 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 103 | Symbol 57 as "BlueExpert" |
ExportAssets (56) | Timeline Frame 103 | Symbol 57 as "BlueExpert" |
ExportAssets (56) | Timeline Frame 103 | Symbol 137 as "Laser" |
ExportAssets (56) | Timeline Frame 104 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 104 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 104 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 104 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 104 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 104 | Symbol 112 as "Stairs" |
ExportAssets (56) | Timeline Frame 104 | Symbol 52 as "Displacer4" |
ExportAssets (56) | Timeline Frame 104 | Symbol 49 as "arrow" |
ExportAssets (56) | Timeline Frame 104 | Symbol 49 as "arrow" |
ExportAssets (56) | Timeline Frame 104 | Symbol 47 as "Bluebow" |
ExportAssets (56) | Timeline Frame 104 | Symbol 47 as "Bluebow" |
ExportAssets (56) | Timeline Frame 104 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 104 | Symbol 45 as "BlueRanged" |
ExportAssets (56) | Timeline Frame 104 | Symbol 45 as "BlueRanged" |
ExportAssets (56) | Timeline Frame 105 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 105 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 105 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 105 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 105 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 105 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 105 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 105 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 105 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 105 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 105 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 105 | Symbol 73 as "BlueFast" |
ExportAssets (56) | Timeline Frame 105 | Symbol 64 as "BlueParry" |
ExportAssets (56) | Timeline Frame 105 | Symbol 57 as "BlueExpert" |
ExportAssets (56) | Timeline Frame 105 | Symbol 73 as "BlueFast" |
ExportAssets (56) | Timeline Frame 106 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 106 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 106 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 106 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 106 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 106 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 106 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 106 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 106 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 106 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 106 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 106 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 107 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 107 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 107 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 107 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 107 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 107 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 107 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 107 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 107 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 107 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 107 | Symbol 41 as "Bed" |
ExportAssets (56) | Timeline Frame 107 | Symbol 41 as "Bed" |
ExportAssets (56) | Timeline Frame 107 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 108 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 108 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 108 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 108 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 108 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 108 | Symbol 41 as "Bed" |
ExportAssets (56) | Timeline Frame 108 | Symbol 41 as "Bed" |
ExportAssets (56) | Timeline Frame 108 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 108 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 108 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 108 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 108 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 108 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 108 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 108 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 108 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 108 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 108 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 108 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 109 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 109 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 109 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 109 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 109 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 109 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 109 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 109 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 109 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 109 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 110 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 110 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 110 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 110 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 110 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 110 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 110 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 110 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 110 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 110 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 110 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 110 | Symbol 41 as "Bed" |
ExportAssets (56) | Timeline Frame 110 | Symbol 130 as "Nest" |
ExportAssets (56) | Timeline Frame 110 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 110 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 110 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 110 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 110 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 110 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 111 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 111 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 111 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 111 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 111 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 111 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 111 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 111 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 111 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 111 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 111 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 112 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 112 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 112 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 112 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 112 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 113 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 113 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 113 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 113 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 113 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 113 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 113 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 113 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 113 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 113 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 113 | Symbol 57 as "BlueExpert" |
ExportAssets (56) | Timeline Frame 113 | Symbol 57 as "BlueExpert" |
ExportAssets (56) | Timeline Frame 113 | Symbol 57 as "BlueExpert" |
ExportAssets (56) | Timeline Frame 114 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 114 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 114 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 114 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 114 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 114 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 114 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 114 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 114 | Symbol 37 as "BlueVet" |
ExportAssets (56) | Timeline Frame 115 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 115 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 115 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 115 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 115 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 115 | Symbol 35 as "Armory" |
ExportAssets (56) | Timeline Frame 115 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 115 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 115 | Symbol 64 as "BlueParry" |
ExportAssets (56) | Timeline Frame 116 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 116 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 116 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 116 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 116 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 116 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 117 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 117 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 117 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 117 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 117 | Symbol 32 as "LockedWallPurple" |
ExportAssets (56) | Timeline Frame 117 | Symbol 30 as "LockedWallBrown" |
ExportAssets (56) | Timeline Frame 117 | Symbol 30 as "LockedWallBrown" |
ExportAssets (56) | Timeline Frame 117 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 117 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 118 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 118 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 118 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 118 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 118 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 118 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 118 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 118 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 118 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 118 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 118 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 118 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 118 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 118 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 118 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 118 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 118 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 118 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 118 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 118 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 118 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 118 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 118 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 118 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 118 | Symbol 37 as "BlueVet" |
ExportAssets (56) | Timeline Frame 118 | Symbol 37 as "BlueVet" |
ExportAssets (56) | Timeline Frame 118 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 119 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 119 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 119 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 119 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 119 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 119 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 119 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 119 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 119 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 119 | Symbol 157 as "Box2" |
ExportAssets (56) | Timeline Frame 119 | Symbol 203 as "Box" |
ExportAssets (56) | Timeline Frame 119 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 119 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 119 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 119 | Symbol 39 as "Box3" |
ExportAssets (56) | Timeline Frame 119 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 119 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 119 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 119 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 119 | Symbol 57 as "BlueExpert" |
ExportAssets (56) | Timeline Frame 119 | Symbol 64 as "BlueParry" |
ExportAssets (56) | Timeline Frame 119 | Symbol 64 as "BlueParry" |
ExportAssets (56) | Timeline Frame 120 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 120 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 120 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 120 | Symbol 28 as "Bluewand" |
ExportAssets (56) | Timeline Frame 120 | Symbol 26 as "flamebold" |
ExportAssets (56) | Timeline Frame 120 | Symbol 26 as "flamebold" |
ExportAssets (56) | Timeline Frame 120 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 120 | Symbol 24 as "BlueWizard" |
ExportAssets (56) | Timeline Frame 120 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 120 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 120 | Symbol 92 as "BugAcid" |
ExportAssets (56) | Timeline Frame 120 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 121 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 121 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 121 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 121 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 121 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 121 | Symbol 127 as "StairsDown" |
ExportAssets (56) | Timeline Frame 121 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 121 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 121 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 121 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 121 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 121 | Symbol 57 as "BlueExpert" |
ExportAssets (56) | Timeline Frame 121 | Symbol 57 as "BlueExpert" |
ExportAssets (56) | Timeline Frame 121 | Symbol 57 as "BlueExpert" |
ExportAssets (56) | Timeline Frame 121 | Symbol 57 as "BlueExpert" |
ExportAssets (56) | Timeline Frame 122 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 122 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 122 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 122 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 122 | Symbol 71 as "wall50" |
ExportAssets (56) | Timeline Frame 122 | Symbol 71 as "wall50" |
ExportAssets (56) | Timeline Frame 122 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 122 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 122 | Symbol 47 as "Bluebow" |
ExportAssets (56) | Timeline Frame 122 | Symbol 47 as "Bluebow" |
ExportAssets (56) | Timeline Frame 122 | Symbol 47 as "Bluebow" |
ExportAssets (56) | Timeline Frame 122 | Symbol 57 as "BlueExpert" |
ExportAssets (56) | Timeline Frame 122 | Symbol 57 as "BlueExpert" |
ExportAssets (56) | Timeline Frame 122 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 122 | Symbol 45 as "BlueRanged" |
ExportAssets (56) | Timeline Frame 122 | Symbol 45 as "BlueRanged" |
ExportAssets (56) | Timeline Frame 122 | Symbol 45 as "BlueRanged" |
ExportAssets (56) | Timeline Frame 122 | Symbol 49 as "arrow" |
ExportAssets (56) | Timeline Frame 122 | Symbol 49 as "arrow" |
ExportAssets (56) | Timeline Frame 122 | Symbol 49 as "arrow" |
ExportAssets (56) | Timeline Frame 122 | Symbol 49 as "arrow" |
ExportAssets (56) | Timeline Frame 122 | Symbol 49 as "arrow" |
ExportAssets (56) | Timeline Frame 123 | Symbol 78 as "NestStone" |
ExportAssets (56) | Timeline Frame 123 | Symbol 97 as "Stone" |
ExportAssets (56) | Timeline Frame 123 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 123 | Symbol 166 as "Bug2" |
ExportAssets (56) | Timeline Frame 123 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 123 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 123 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 123 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 123 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 123 | Symbol 57 as "BlueExpert" |
ExportAssets (56) | Timeline Frame 123 | Symbol 57 as "BlueExpert" |
ExportAssets (56) | Timeline Frame 123 | Symbol 37 as "BlueVet" |
ExportAssets (56) | Timeline Frame 123 | Symbol 37 as "BlueVet" |
ExportAssets (56) | Timeline Frame 123 | Symbol 71 as "wall50" |
ExportAssets (56) | Timeline Frame 123 | Symbol 71 as "wall50" |
ExportAssets (56) | Timeline Frame 124 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 124 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 124 | Symbol 141 as "Fire" |
ExportAssets (56) | Timeline Frame 124 | Symbol 47 as "Bluebow" |
ExportAssets (56) | Timeline Frame 124 | Symbol 47 as "Bluebow" |
ExportAssets (56) | Timeline Frame 124 | Symbol 45 as "BlueRanged" |
ExportAssets (56) | Timeline Frame 124 | Symbol 45 as "BlueRanged" |
ExportAssets (56) | Timeline Frame 124 | Symbol 49 as "arrow" |
ExportAssets (56) | Timeline Frame 124 | Symbol 49 as "arrow" |
ExportAssets (56) | Timeline Frame 124 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 125 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 125 | Symbol 132 as "Ice" |
ExportAssets (56) | Timeline Frame 125 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 125 | Symbol 47 as "Bluebow" |
ExportAssets (56) | Timeline Frame 125 | Symbol 47 as "Bluebow" |
ExportAssets (56) | Timeline Frame 125 | Symbol 47 as "Bluebow" |
ExportAssets (56) | Timeline Frame 125 | Symbol 47 as "Bluebow" |
ExportAssets (56) | Timeline Frame 125 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 125 | Symbol 45 as "BlueRanged" |
ExportAssets (56) | Timeline Frame 125 | Symbol 45 as "BlueRanged" |
ExportAssets (56) | Timeline Frame 125 | Symbol 45 as "BlueRanged" |
ExportAssets (56) | Timeline Frame 125 | Symbol 45 as "BlueRanged" |
ExportAssets (56) | Timeline Frame 125 | Symbol 49 as "arrow" |
ExportAssets (56) | Timeline Frame 125 | Symbol 49 as "arrow" |
ExportAssets (56) | Timeline Frame 125 | Symbol 49 as "arrow" |
ExportAssets (56) | Timeline Frame 125 | Symbol 49 as "arrow" |
ExportAssets (56) | Timeline Frame 125 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 125 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 125 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 125 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 125 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 125 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 125 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 125 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 125 | Symbol 80 as "Goo" |
ExportAssets (56) | Timeline Frame 126 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 126 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 126 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 126 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 126 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 126 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 126 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 126 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 126 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 126 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 126 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 126 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 126 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 126 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 126 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 126 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 126 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 126 | Symbol 101 as "BugLightning" |
ExportAssets (56) | Timeline Frame 127 | Symbol 22 as "Randomizer" |
ExportAssets (56) | Timeline Frame 127 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 127 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 127 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 127 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 127 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 127 | Symbol 37 as "BlueVet" |
ExportAssets (56) | Timeline Frame 127 | Symbol 37 as "BlueVet" |
ExportAssets (56) | Timeline Frame 127 | Symbol 37 as "BlueVet" |
ExportAssets (56) | Timeline Frame 127 | Symbol 37 as "BlueVet" |
ExportAssets (56) | Timeline Frame 128 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 128 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 128 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 128 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 128 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 128 | Symbol 43 as "BlueFlee" |
ExportAssets (56) | Timeline Frame 128 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 128 | Symbol 41 as "Bed" |
ExportAssets (56) | Timeline Frame 128 | Symbol 37 as "BlueVet" |
ExportAssets (56) | Timeline Frame 129 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 129 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 129 | Symbol 47 as "Bluebow" |
ExportAssets (56) | Timeline Frame 129 | Symbol 47 as "Bluebow" |
ExportAssets (56) | Timeline Frame 129 | Symbol 47 as "Bluebow" |
ExportAssets (56) | Timeline Frame 129 | Symbol 49 as "arrow" |
ExportAssets (56) | Timeline Frame 129 | Symbol 49 as "arrow" |
ExportAssets (56) | Timeline Frame 129 | Symbol 49 as "arrow" |
ExportAssets (56) | Timeline Frame 129 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 129 | Symbol 45 as "BlueRanged" |
ExportAssets (56) | Timeline Frame 129 | Symbol 45 as "BlueRanged" |
ExportAssets (56) | Timeline Frame 129 | Symbol 45 as "BlueRanged" |
ExportAssets (56) | Timeline Frame 129 | Symbol 161 as "Bug4" |
ExportAssets (56) | Timeline Frame 130 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 130 | Symbol 71 as "wall50" |
ExportAssets (56) | Timeline Frame 130 | Symbol 153 as "Bluesword" |
ExportAssets (56) | Timeline Frame 130 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 130 | Symbol 73 as "BlueFast" |
ExportAssets (56) | Timeline Frame 131 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 131 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 131 | Symbol 90 as "Acid" |
ExportAssets (56) | Timeline Frame 131 | Symbol 90 as "Acid" |
ExportAssets (56) | Timeline Frame 131 | Symbol 90 as "Acid" |
ExportAssets (56) | Timeline Frame 131 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 131 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 131 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 131 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 131 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 131 | Symbol 37 as "BlueVet" |
ExportAssets (56) | Timeline Frame 131 | Symbol 37 as "BlueVet" |
ExportAssets (56) | Timeline Frame 131 | Symbol 57 as "BlueExpert" |
ExportAssets (56) | Timeline Frame 131 | Symbol 57 as "BlueExpert" |
ExportAssets (56) | Timeline Frame 132 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 132 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 132 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 132 | Symbol 112 as "Stairs" |
ExportAssets (56) | Timeline Frame 132 | Symbol 71 as "wall50" |
ExportAssets (56) | Timeline Frame 132 | Symbol 71 as "wall50" |
ExportAssets (56) | Timeline Frame 132 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 132 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 132 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 132 | Symbol 37 as "BlueVet" |
ExportAssets (56) | Timeline Frame 132 | Symbol 37 as "BlueVet" |
ExportAssets (56) | Timeline Frame 133 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 133 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 133 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 133 | Symbol 127 as "StairsDown" |
ExportAssets (56) | Timeline Frame 133 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 134 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 134 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 134 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 134 | Symbol 174 as "Bug" |
ExportAssets (56) | Timeline Frame 135 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 135 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 135 | Symbol 122 as "Wall" |
ExportAssets (56) | Timeline Frame 135 | Symbol 105 as "BlueSwordBig" |
ExportAssets (56) | Timeline Frame 135 | Symbol 175 as "Saver" |
ExportAssets (56) | Timeline Frame 135 | Symbol 18 as "BlueKing" |
Labels
"loaded" | Symbol 193 MovieClip Frame 3 |
|