STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228138
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5122

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/48796426?noj=FRM48796426-18DC" width="1" height="1"></div>

Dot Wars.swf

This is the info page for
Flash #46536

(Click the ID number above for more basic data on this flash file.)


Text
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 1
Stage.showMenu = false;
Frame 2
function 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 3
function 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 3
onClipEvent (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 3
onClipEvent (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 4
function 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 4
onClipEvent (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 4
onClipEvent (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 5
function 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 5
onClipEvent (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 6
function 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 6
onClipEvent (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 7
function 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 8
function 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 9
function 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 10
function 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 11
function 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 12
function 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 13
function 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 14
function 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 15
function 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 16
function 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 17
function 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 18
function 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 19
stop();
Instance of Symbol 149 MovieClip [Square] "rect3" in Frame 19
onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }
Frame 20
function 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 20
onClipEvent (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 20
onClipEvent (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 21
function 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 22
function 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 23
function 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 24
stop();
Frame 25
function 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 25
onClipEvent (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 25
onClipEvent (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 26
onClipEvent (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 27
function 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 27
onClipEvent (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 27
onClipEvent (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 28
function 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 29
function 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 30
function 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 31
function 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 32
function 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 33
function 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 34
function 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 35
function 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 36
function 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 36
onClipEvent (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 36
onClipEvent (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 37
function 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 37
onClipEvent (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 38
function 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 39
function 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 40
function 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 41
function 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 42
function 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 43
function 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 44
function 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 44
onClipEvent (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 45
function 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 46
stop();
Instance of Symbol 149 MovieClip [Square] "rect77" in Frame 46
onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }
Instance of Symbol 149 MovieClip [Square] "rect79" in Frame 46
onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }
Instance of Symbol 149 MovieClip [Square] "rect76" in Frame 46
onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }
Instance of Symbol 149 MovieClip [Square] "rect78" in Frame 46
onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }
Instance of Symbol 149 MovieClip [Square] "rect80" in Frame 46
onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }
Instance of Symbol 149 MovieClip [Square] "rect83" in Frame 46
onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }
Instance of Symbol 149 MovieClip [Square] "rect81" in Frame 46
onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }
Instance of Symbol 149 MovieClip [Square] "rect82" in Frame 46
onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }
Instance of Symbol 149 MovieClip [Square] "rect84" in Frame 46
onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }
Instance of Symbol 149 MovieClip [Square] "rect85" in Frame 46
onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }
Instance of Symbol 149 MovieClip [Square] "rect86" in Frame 46
onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }
Instance of Symbol 149 MovieClip [Square] "rect87" in Frame 46
onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }
Instance of Symbol 149 MovieClip [Square] "rect88" in Frame 46
onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }
Instance of Symbol 149 MovieClip [Square] "rect89" in Frame 46
onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }
Instance of Symbol 149 MovieClip [Square] "rect92" in Frame 46
onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }
Instance of Symbol 149 MovieClip [Square] "rect93" in Frame 46
onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }
Instance of Symbol 149 MovieClip [Square] "rect94" in Frame 46
onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }
Instance of Symbol 149 MovieClip [Square] "rect90" in Frame 46
onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }
Instance of Symbol 149 MovieClip [Square] "rect91" in Frame 46
onClipEvent (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 47
onClipEvent (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 48
onClipEvent (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 49
onClipEvent (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 50
onClipEvent (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 51
onClipEvent (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 52
onClipEvent (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 53
onClipEvent (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 54
stop();
Instance of Symbol 149 MovieClip [Square] "rect121" in Frame 54
onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }
Frame 55
stop();
Instance of Symbol 149 MovieClip [Square] "rect95" in Frame 55
onClipEvent (enterFrame) { if (Key.isDown(32)) { _global.notlost = 1; _global.frametoreturnto = _global.returningframe; _root.gotoAndPlay(2); } }
Frame 56
stop();
Instance of Symbol 149 MovieClip [Square] "rect134" in Frame 56
onClipEvent (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 57
onClipEvent (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 58
onClipEvent (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 58
onClipEvent (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 59
onClipEvent (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 60
onClipEvent (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 61
onClipEvent (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 62
los.text = ("You lost " + _global.losscount) + " times!"; stop();
Frame 73
function 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 73
onClipEvent (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 73
onClipEvent (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 74
function 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 75
function 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 76
function 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 77
function 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 78
function 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 79
function 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 80
function 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 81
function 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 82
function 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 83
function 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 84
function 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 85
function 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 86
function 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 87
function 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 88
function 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 89
function 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 90
function 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 91
function 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 92
function 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 93
function 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 93
onClipEvent (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 94
function 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 95
function 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 96
function 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 97
function 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 98
function 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 99
function 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 100
function 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 101
function 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 102
function 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 103
function 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 104
function 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 105
function 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 106
function 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 107
function 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 108
function 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 109
function 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 110
function 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 111
function 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 112
function 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 113
function 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 114
function 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 115
function 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 116
function 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 116
onClipEvent (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 117
function 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 118
function 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 119
function 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 120
function 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 120
onClipEvent (load) { wand = 1; }
Instance of Symbol 338 MovieClip in Frame 120
onClipEvent (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 120
onClipEvent (load) { flame = 1; }
Instance of Symbol 26 MovieClip [flamebold] in Frame 120
onClipEvent (load) { flame = 1; }
Frame 121
function 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 122
function 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 123
function 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 124
function 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 125
function 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 126
function 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 127
function 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 128
function 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 128
onClipEvent (load) { reallygreat = 1; }
Frame 129
function 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 130
function 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 131
function 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 132
function 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 132
onClipEvent (load) { reallygreat = 1; }
Instance of Symbol 37 MovieClip [BlueVet] in Frame 132
onClipEvent (load) { reallygreat = 1; }
Frame 133
function 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 134
function 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 135
function 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); #endinitclip
Symbol 4 MovieClip [BlueSwordBig copy] Frame 1
#initclip 52 Object.registerClass("BlueSwordBig copy", cl_bluesword); #endinitclip
Symbol 6 MovieClip [Bug5] Frame 1
#initclip 53 Object.registerClass("Bug5", cl_bug5); #endinitclip
Symbol 12 MovieClip [BigBlueSword] Frame 1
#initclip 54 Object.registerClass("BigBlueSword", cl_bluesword); #endinitclip
Symbol 14 MovieClip [Food] Frame 1
#initclip 55 Object.registerClass("Food", cl_food); #endinitclip
Symbol 18 MovieClip [BlueKing] Frame 1
#initclip 56 Object.registerClass("BlueKing", cl_blueking); #endinitclip
Symbol 22 MovieClip [Randomizer] Frame 1
#initclip 57 Object.registerClass("Randomizer", cl_randomizer); #endinitclip
Symbol 24 MovieClip [BlueWizard] Frame 1
#initclip 58 Object.registerClass("BlueWizard", cl_bluewizard); #endinitclip
Symbol 26 MovieClip [flamebold] Frame 1
#initclip 59 Object.registerClass("flamebold", cl_arrow); #endinitclip
Symbol 28 MovieClip [Bluewand] Frame 1
#initclip 60 Object.registerClass("Bluewand", cl_bluebow); #endinitclip
Symbol 30 MovieClip [LockedWallBrown] Frame 1
#initclip 61 Object.registerClass("LockedWallBrown", cl_box); #endinitclip
Symbol 32 MovieClip [LockedWallPurple] Frame 1
#initclip 62 Object.registerClass("LockedWallPurple", cl_box); #endinitclip
Symbol 35 MovieClip [Armory] Frame 1
#initclip 63 Object.registerClass("Armory", cl_armory); #endinitclip stop();
Symbol 35 MovieClip [Armory] Frame 2
stop();
Symbol 37 MovieClip [BlueVet] Frame 1
#initclip 64 Object.registerClass("BlueVet", cl_bluevet); #endinitclip
Symbol 39 MovieClip [Box3] Frame 1
#initclip 65 Object.registerClass("Box3", cl_box); #endinitclip
Symbol 41 MovieClip [Bed] Frame 1
#initclip 66 Object.registerClass("Bed", cl_wall); #endinitclip
Symbol 43 MovieClip [BlueFlee] Frame 1
#initclip 67 Object.registerClass("BlueFlee", cl_blueflee); #endinitclip
Symbol 45 MovieClip [BlueRanged] Frame 1
#initclip 68 Object.registerClass("BlueRanged", cl_blueranged); #endinitclip
Symbol 47 MovieClip [Bluebow] Frame 1
#initclip 69 Object.registerClass("Bluebow", cl_bluebow); #endinitclip
Symbol 49 MovieClip [arrow] Frame 1
#initclip 70 Object.registerClass("arrow", cl_arrow); #endinitclip
Symbol 52 MovieClip [Displacer4] Frame 1
#initclip 71 Object.registerClass("Displacer4", cl_displacer4); #endinitclip stop();
Symbol 52 MovieClip [Displacer4] Frame 2
stop();
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); #endinitclip
Symbol 57 MovieClip [BlueExpert] Frame 1
#initclip 74 Object.registerClass("BlueExpert", cl_blueexpert); #endinitclip
Symbol 60 MovieClip [Displacer] Frame 1
#initclip 75 Object.registerClass("Displacer", cl_displacer); #endinitclip stop();
Symbol 60 MovieClip [Displacer] Frame 2
stop();
Symbol 60 MovieClip [Displacer] Frame 3
stop();
Symbol 60 MovieClip [Displacer] Frame 4
stop();
Symbol 62 MovieClip [Fire2] Frame 1
#initclip 76 Object.registerClass("Fire2", cl_fire); #endinitclip
Symbol 64 MovieClip [BlueParry] Frame 1
#initclip 77 Object.registerClass("BlueParry", cl_blueparry); #endinitclip
Symbol 65 MovieClip [Displacer2] Frame 1
#initclip 78 Object.registerClass("Displacer2", cl_displacer2); #endinitclip stop();
Symbol 65 MovieClip [Displacer2] Frame 2
stop();
Symbol 65 MovieClip [Displacer2] Frame 3
stop();
Symbol 69 MovieClip [BlueDeath] Frame 1
#initclip 79 Object.registerClass("BlueDeath", cl_wall); #endinitclip
Symbol 71 MovieClip [wall50] Frame 1
#initclip 80 Object.registerClass("wall50", cl_wall); #endinitclip
Symbol 72 MovieClip [RopePoint] Frame 1
#initclip 81 Object.registerClass("RopePoint", cl_ropepoint); #endinitclip
Symbol 73 MovieClip [BlueFast] Frame 1
#initclip 82 Object.registerClass("BlueFast", cl_bluefast); #endinitclip
Symbol 75 MovieClip [LockedWallBlue] Frame 1
#initclip 83 Object.registerClass("LockedWallBlue", cl_box); #endinitclip
Symbol 78 MovieClip [NestStone] Frame 1
#initclip 84 Object.registerClass("NestStone", cl_neststone); #endinitclip
Symbol 80 MovieClip [Goo] Frame 1
#initclip 85 Object.registerClass("Goo", cl_goo); #endinitclip
Symbol 82 MovieClip [Bug7] Frame 1
#initclip 86 Object.registerClass("Bug7", cl_bug7); #endinitclip
Symbol 84 MovieClip [Trap4] Frame 1
#initclip 87 Object.registerClass("Trap4", cl_trap); #endinitclip
Symbol 90 MovieClip [Acid] Frame 1
#initclip 88 Object.registerClass("Acid", cl_acid); #endinitclip
Symbol 92 MovieClip [BugAcid] Frame 1
#initclip 89 Object.registerClass("BugAcid", cl_bugacid); #endinitclip
Symbol 94 MovieClip [Understone] Frame 1
#initclip 90 Object.registerClass("Understone", cl_wall); #endinitclip
Symbol 97 MovieClip [Stone] Frame 1
#initclip 91 Object.registerClass("Stone", cl_stone); #endinitclip
Instance of Symbol 94 MovieClip [Understone] in Symbol 97 MovieClip [Stone] Frame 1
onClipEvent (load) { this.stone = 1; }
Symbol 99 MovieClip [Stuff3] Frame 1
#initclip 92 Object.registerClass("Stuff3", cl_wall); #endinitclip
Symbol 101 MovieClip [BugLightning] Frame 1
#initclip 93 Object.registerClass("BugLightning", cl_buglightning); #endinitclip
Symbol 103 MovieClip [Bug6] Frame 1
#initclip 94 Object.registerClass("Bug6", cl_bug6); #endinitclip
Symbol 105 MovieClip [BlueSwordBig] Frame 1
#initclip 95 Object.registerClass("BlueSwordBig", cl_bluesword); #endinitclip
Symbol 106 MovieClip [BlueGuardCapt] Frame 1
#initclip 96 Object.registerClass("BlueGuardCapt", cl_blueguardcapt); #endinitclip
Symbol 108 MovieClip [StairsBoth] Frame 1
#initclip 97 Object.registerClass("StairsBoth", cl_stairsboth); #endinitclip
Symbol 110 MovieClip [Spike] Frame 1
#initclip 98 Object.registerClass("Spike", cl_fire); #endinitclip
Symbol 112 MovieClip [Stairs] Frame 1
#initclip 99 Object.registerClass("Stairs", cl_stairs); #endinitclip
Symbol 114 MovieClip [Sand] Frame 1
#initclip 100 Object.registerClass("Sand", cl_sand); #endinitclip
Symbol 116 MovieClip [wall300] Frame 1
#initclip 101 Object.registerClass("wall300", cl_wall); #endinitclip
Symbol 118 MovieClip [Trap3] Frame 1
#initclip 102 Object.registerClass("Trap3", cl_trap); #endinitclip
Symbol 120 MovieClip [wall120] Frame 1
#initclip 103 Object.registerClass("wall120", cl_wall); #endinitclip
Symbol 122 MovieClip [Wall] Frame 1
#initclip 104 Object.registerClass("Wall", cl_wall); #endinitclip
Symbol 123 MovieClip [ToggleWall] Frame 1
#initclip 105 Object.registerClass("ToggleWall", cl_togglewall); #endinitclip
Symbol 125 MovieClip [TheButton] Frame 1
#initclip 106 Object.registerClass("TheButton", cl_button); #endinitclip
Symbol 127 MovieClip [StairsDown] Frame 1
#initclip 107 Object.registerClass("StairsDown", cl_stairsdown); #endinitclip
Symbol 130 MovieClip [Nest] Frame 1
#initclip 108 Object.registerClass("Nest", cl_nest); #endinitclip
Symbol 132 MovieClip [Ice] Frame 1
#initclip 109 Object.registerClass("Ice", cl_ice); #endinitclip
Symbol 134 MovieClip [LaserShot] Frame 1
#initclip 110 Object.registerClass("LaserShot", cl_lasershot); #endinitclip
Symbol 136 MovieClip [LaserBody] Frame 1
#initclip 111 Object.registerClass("LaserBody", cl_wall); #endinitclip
Symbol 137 MovieClip [Laser] Frame 1
#initclip 112 Object.registerClass("Laser", cl_laser); #endinitclip
Symbol 139 MovieClip [wall100] Frame 1
#initclip 113 Object.registerClass("wall100", cl_wall); #endinitclip
Symbol 141 MovieClip [Fire] Frame 1
#initclip 114 Object.registerClass("Fire", cl_fire); #endinitclip
Symbol 149 MovieClip [Square] Frame 1
#initclip 115 Object.registerClass("Square", cl_square); #endinitclip
Symbol 151 MovieClip [Blue] Frame 1
#initclip 116 Object.registerClass("Blue", cl_blue); #endinitclip
Symbol 153 MovieClip [Bluesword] Frame 1
#initclip 117 Object.registerClass("Bluesword", cl_bluesword); #endinitclip
Symbol 155 MovieClip [BoxTrapped] Frame 1
#initclip 118 Object.registerClass("BoxTrapped", cl_boxtrapped); #endinitclip
Symbol 157 MovieClip [Box2] Frame 1
#initclip 119 Object.registerClass("Box2", cl_box); #endinitclip
Symbol 159 MovieClip [Trap2] Frame 1
#initclip 120 Object.registerClass("Trap2", cl_trap); #endinitclip
Symbol 161 MovieClip [Bug4] Frame 1
#initclip 121 Object.registerClass("Bug4", cl_bug4); #endinitclip
Symbol 163 MovieClip [wall20] Frame 1
#initclip 122 Object.registerClass("wall20", cl_wall); #endinitclip
Symbol 164 MovieClip [Bug3] Frame 1
#initclip 123 Object.registerClass("Bug3", cl_bug3); #endinitclip
Symbol 166 MovieClip [Bug2] Frame 1
#initclip 124 Object.registerClass("Bug2", cl_bug2); #endinitclip
Symbol 168 MovieClip [wall200] Frame 1
#initclip 125 Object.registerClass("wall200", cl_wall); #endinitclip
Symbol 170 MovieClip [Trap] Frame 1
#initclip 126 Object.registerClass("Trap", cl_trap); #endinitclip
Symbol 172 MovieClip [wall60] Frame 1
#initclip 127 Object.registerClass("wall60", cl_wall); #endinitclip
Symbol 174 MovieClip [Bug] Frame 1
#initclip 128 Object.registerClass("Bug", cl_bug); #endinitclip
Symbol 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); #endinitclip
Symbol 188 Button
on (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 Button
on (release) { _level0.textbx1.removeTextField(); _level0.textbx2.removeTextField(); _global.returningframe = _level0._currentframe; _level0.gotoAndPlay(24); }
Symbol 192 Button
on (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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 0
class 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 1
stop();
Symbol 202 MovieClip Frame 2
stop();
Symbol 203 MovieClip [Box] Frame 1
#initclip 131 Object.registerClass("Box", cl_box); #endinitclip
Symbol 209 Button
on (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 Button
on (release) { _level0.textbx1.removeTextField(); _level0.textbx2.removeTextField(); _global.returningframe = _level0._currentframe; _level0.gotoAndPlay(24); }
Symbol 217 Button
on (release) { _level0.textbx1.removeTextField(); _level0.textbx2.removeTextField(); _global.returningframe = _level0._currentframe; _level0.gotoAndPlay(45); }
Symbol 220 Button
on (release) { _global.statup--; _global.herospeed++; }
Symbol 221 Button
on (release) { _global.statup--; _global.swordspeed++; }
Symbol 223 MovieClip [Stuff] Frame 1
#initclip 132 Object.registerClass("Stuff", cl_wall); #endinitclip
Symbol 235 Button
on (release) { gotoAndPlay(_global.returningframe); }
Symbol 245 MovieClip Frame 1
stop();
Symbol 245 MovieClip Frame 2
stop();
Instance of Symbol 243 MovieClip "Flee" in Symbol 245 MovieClip Frame 2
onClipEvent (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 3
stop();
Symbol 251 Button
on (release) { gotoAndPlay(_global.returningframe); }
Symbol 287 MovieClip Frame 1
stop();
Symbol 287 MovieClip Frame 2
stop();
Symbol 287 MovieClip Frame 3
stop();
Symbol 287 MovieClip Frame 4
stop();
Symbol 287 MovieClip Frame 5
stop();
Symbol 287 MovieClip Frame 6
stop();
Symbol 287 MovieClip Frame 7
stop();
Symbol 287 MovieClip Frame 8
stop();
Symbol 287 MovieClip Frame 9
stop();
Symbol 287 MovieClip Frame 10
stop();
Symbol 287 MovieClip Frame 11
stop();
Symbol 309 MovieClip Frame 1
stop();

Library Items

Symbol 1 Sound [gamemusic]Used by:Timeline
Symbol 2 GraphicUsed by:4
Symbol 3 MovieClip [pt1]Used by:4 105 153 308
Symbol 4 MovieClip [BlueSwordBig copy]Uses:2 3
Symbol 5 GraphicUsed by:6 164
Symbol 6 MovieClip [Bug5]Uses:5
Symbol 7 GraphicUsed by:11 175
Symbol 8 FontUsed by:9 207 211 215
Symbol 9 TextUses:8Used by:11 175
Symbol 10 GraphicUsed by:11 175
Symbol 11 Button [Saver]Uses:7 9 10
Symbol 12 MovieClip [BigBlueSword]
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClip [Food]Uses:13
Symbol 15 GraphicUsed by:18 305
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:16Used 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 17Used by:Timeline
Symbol 19 GraphicUsed by:22
Symbol 20 GraphicUsed by:22
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClip [Randomizer]Uses:19 20 21Used by:Timeline
Symbol 23 GraphicUsed by:24 302
Symbol 24 MovieClip [BlueWizard]Uses:23 17Used by:Timeline
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClip [flamebold]Uses:25Used by:Timeline
Symbol 27 GraphicUsed by:28
Symbol 28 MovieClip [Bluewand]Uses:27Used by:Timeline
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClip [LockedWallBrown]Uses:29Used by:Timeline
Symbol 31 GraphicUsed by:32
Symbol 32 MovieClip [LockedWallPurple]Uses:31Used by:Timeline
Symbol 33 GraphicUsed by:35
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClip [Armory]Uses:33 34Used by:Timeline
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClip [BlueVet]Uses:36 17Used by:Timeline
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClip [Box3]Uses:38Used by:Timeline
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClip [Bed]Uses:40Used by:Timeline
Symbol 42 GraphicUsed by:43 243
Symbol 43 MovieClip [BlueFlee]Uses:42 17Used by:Timeline
Symbol 44 GraphicUsed by:45 73
Symbol 45 MovieClip [BlueRanged]Uses:44 17Used by:Timeline
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClip [Bluebow]Uses:46Used by:Timeline
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClip [arrow]Uses:48Used by:Timeline
Symbol 50 GraphicUsed by:52 60 65
Symbol 51 GraphicUsed by:52 53 60 65
Symbol 52 MovieClip [Displacer4]Uses:50 51Used by:Timeline
Symbol 53 MovieClip [Displacer3]Uses:51Used by:Timeline
Symbol 54 GraphicUsed by:55  Timeline
Symbol 55 MovieClip [Trap5]Uses:54Used by:Timeline
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClip [BlueExpert]Uses:56 17Used by:Timeline
Symbol 58 GraphicUsed by:60
Symbol 59 GraphicUsed by:60 65
Symbol 60 MovieClip [Displacer]Uses:58 59 50 51Used by:Timeline
Symbol 61 GraphicUsed by:62
Symbol 62 MovieClip [Fire2]Uses:61Used by:Timeline
Symbol 63 GraphicUsed by:64 106
Symbol 64 MovieClip [BlueParry]Uses:63 17Used by:Timeline
Symbol 65 MovieClip [Displacer2]Uses:59 50 51Used by:Timeline
Symbol 66 GraphicUsed by:69
Symbol 67 FontUsed by:68 182 183 194 233 236 237 238 270 272 290 296 297 298 311 312 313 314 315
Symbol 68 TextUses:67Used by:69
Symbol 69 MovieClip [BlueDeath]Uses:66 68Used by:Timeline
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClip [wall50]Uses:70Used by:Timeline
Symbol 72 MovieClip [RopePoint]Used by:317
Symbol 73 MovieClip [BlueFast]Uses:44 17Used by:Timeline
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClip [LockedWallBlue]Uses:74Used by:Timeline
Symbol 76 GraphicUsed by:78
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClip [NestStone]Uses:76 17 77Used by:Timeline
Symbol 79 GraphicUsed by:80
Symbol 80 MovieClip [Goo]Uses:79Used by:Timeline
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClip [Bug7]Uses:81Used by:Timeline
Symbol 83 GraphicUsed by:84  Timeline
Symbol 84 MovieClip [Trap4]Uses:83Used by:Timeline
Symbol 85 GraphicUsed by:90
Symbol 86 GraphicUsed by:90
Symbol 87 GraphicUsed by:90
Symbol 88 GraphicUsed by:90
Symbol 89 GraphicUsed by:90
Symbol 90 MovieClip [Acid]Uses:85 86 87 88 89Used by:Timeline
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClip [BugAcid]Uses:91Used by:Timeline
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClip [Understone]Uses:93Used by:97
Symbol 95 GraphicUsed by:97
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClip [Stone]Uses:95 94 96 17Used by:Timeline
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClip [Stuff3]Uses:98Used by:Timeline
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClip [BugLightning]Uses:100Used by:Timeline
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClip [Bug6]Uses:102Used by:Timeline
Symbol 104 GraphicUsed by:105
Symbol 105 MovieClip [BlueSwordBig]Uses:104 3Used by:Timeline
Symbol 106 MovieClip [BlueGuardCapt]Uses:63 17Used by:Timeline
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClip [StairsBoth]Uses:107Used by:Timeline
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClip [Spike]Uses:109Used by:Timeline
Symbol 111 GraphicUsed by:112
Symbol 112 MovieClip [Stairs]Uses:111Used by:Timeline
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClip [Sand]Uses:113Used by:Timeline
Symbol 115 GraphicUsed by:116
Symbol 116 MovieClip [wall300]Uses:115Used by:Timeline
Symbol 117 GraphicUsed by:118
Symbol 118 MovieClip [Trap3]Uses:117Used by:Timeline
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClip [wall120]Uses:119Used by:Timeline
Symbol 121 GraphicUsed by:122
Symbol 122 MovieClip [Wall]Uses:121Used by:123  Timeline
Symbol 123 MovieClip [ToggleWall]Uses:122Used by:Timeline
Symbol 124 GraphicUsed by:125
Symbol 125 MovieClip [TheButton]Uses:124Used by:Timeline
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClip [StairsDown]Uses:126Used by:Timeline
Symbol 128 GraphicUsed by:130
Symbol 129 GraphicUsed by:130
Symbol 130 MovieClip [Nest]Uses:128 129Used by:Timeline
Symbol 131 GraphicUsed by:132
Symbol 132 MovieClip [Ice]Uses:131Used by:Timeline
Symbol 133 GraphicUsed by:134
Symbol 134 MovieClip [LaserShot]Uses:133Used by:137
Symbol 135 GraphicUsed by:136
Symbol 136 MovieClip [LaserBody]Uses:135Used by:137
Symbol 137 MovieClip [Laser]Uses:136 134Used by:Timeline
Symbol 138 GraphicUsed by:139
Symbol 139 MovieClip [wall100]Uses:138Used by:Timeline
Symbol 140 GraphicUsed by:141
Symbol 141 MovieClip [Fire]Uses:140Used by:Timeline
Symbol 142 GraphicUsed by:149
Symbol 143 GraphicUsed by:149
Symbol 144 GraphicUsed by:149
Symbol 145 GraphicUsed by:149
Symbol 146 GraphicUsed by:149
Symbol 147 GraphicUsed by:149
Symbol 148 GraphicUsed by:149
Symbol 149 MovieClip [Square]Uses:142 143 144 145 146 147 148Used by:Timeline
Symbol 150 GraphicUsed by:151 247
Symbol 151 MovieClip [Blue]Uses:150 17Used by:Timeline
Symbol 152 GraphicUsed by:153
Symbol 153 MovieClip [Bluesword]Uses:152 3Used by:Timeline
Symbol 154 GraphicUsed by:155 203
Symbol 155 MovieClip [BoxTrapped]Uses:154Used by:Timeline
Symbol 156 GraphicUsed by:157
Symbol 157 MovieClip [Box2]Uses:156Used by:Timeline
Symbol 158 GraphicUsed by:159
Symbol 159 MovieClip [Trap2]Uses:158Used by:Timeline
Symbol 160 GraphicUsed by:161
Symbol 161 MovieClip [Bug4]Uses:160Used by:Timeline
Symbol 162 GraphicUsed by:163
Symbol 163 MovieClip [wall20]Uses:162Used by:Timeline
Symbol 164 MovieClip [Bug3]Uses:5Used by:Timeline
Symbol 165 GraphicUsed by:166
Symbol 166 MovieClip [Bug2]Uses:165Used by:Timeline
Symbol 167 GraphicUsed by:168
Symbol 168 MovieClip [wall200]Uses:167Used by:Timeline
Symbol 169 GraphicUsed by:170
Symbol 170 MovieClip [Trap]Uses:169Used by:Timeline
Symbol 171 GraphicUsed by:172
Symbol 172 MovieClip [wall60]Uses:171Used by:Timeline
Symbol 173 GraphicUsed by:174
Symbol 174 MovieClip [Bug]Uses:173Used by:Timeline
Symbol 175 Button [Saver]Uses:7 9 10Used by:Timeline
Symbol 176 GraphicUsed by:177
Symbol 177 MovieClip [LockedWall]Uses:176Used by:Timeline
Symbol 178 GraphicUsed by:Timeline
Symbol 179 GraphicUsed by:180  Timeline
Symbol 180 MovieClipUses:179Used by:193
Symbol 181 GraphicUsed by:193
Symbol 182 TextUses:67Used by:193
Symbol 183 TextUses:67Used by:193
Symbol 184 GraphicUsed by:188 190 192 235 251
Symbol 185 FontUsed by:186 189 234 252 253 254 255 256 257 259 263 264 265 266 267 269
Symbol 186 TextUses:185Used by:188
Symbol 187 GraphicUsed by:188 190 192 235 251
Symbol 188 ButtonUses:184 186 187Used by:193
Symbol 189 TextUses:185Used by:190
Symbol 190 ButtonUses:184 189 187Used by:193
Symbol 191 GraphicUsed by:192
Symbol 192 ButtonUses:184 191 187Used by:193
Symbol 193 MovieClipUses:180 181 182 183 188 190 192Used 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 TextUses:67Used by:195
Symbol 195 MovieClipUses:194Used by:Timeline
Symbol 196 FontUsed by:197
Symbol 197 TextUses:196Used by:Timeline
Symbol 198 GraphicUsed by:Timeline
Symbol 199 GraphicUsed by:202
Symbol 200 MovieClipUsed by:202 309
Symbol 201 GraphicUsed by:202 309
Symbol 202 MovieClipUses:199 200 201Used by:Timeline
Symbol 203 MovieClip [Box]Uses:154Used by:Timeline
Symbol 204 GraphicUsed by:205 245
Symbol 205 MovieClipUses:204 17Used by:Timeline
Symbol 206 GraphicUsed by:209
Symbol 207 TextUses:8Used by:209
Symbol 208 GraphicUsed by:209
Symbol 209 ButtonUses:206 207 208Used by:Timeline
Symbol 210 GraphicUsed by:213
Symbol 211 TextUses:8Used by:213
Symbol 212 GraphicUsed by:213
Symbol 213 ButtonUses:210 211 212Used by:Timeline
Symbol 214 GraphicUsed by:217
Symbol 215 TextUses:8Used by:217
Symbol 216 GraphicUsed by:217
Symbol 217 ButtonUses:214 215 216Used by:Timeline
Symbol 218 GraphicUsed by:220 221 273
Symbol 219 GraphicUsed by:220 221 273
Symbol 220 ButtonUses:218 219Used by:Timeline
Symbol 221 ButtonUses:218 219Used by:Timeline
Symbol 222 GraphicUsed by:223
Symbol 223 MovieClip [Stuff]Uses:222Used by:Timeline
Symbol 224 GraphicUsed by:225
Symbol 225 MovieClipUses:224Used by:Timeline
Symbol 226 GraphicUsed by:Timeline
Symbol 227 GraphicUsed by:Timeline
Symbol 228 GraphicUsed by:Timeline
Symbol 229 GraphicUsed by:Timeline
Symbol 230 GraphicUsed by:Timeline
Symbol 231 FontUsed by:232
Symbol 232 TextUses:231Used by:Timeline
Symbol 233 TextUses:67Used by:Timeline
Symbol 234 TextUses:185Used by:235 251
Symbol 235 ButtonUses:184 234 187Used by:Timeline
Symbol 236 TextUses:67Used by:Timeline
Symbol 237 TextUses:67Used by:Timeline
Symbol 238 TextUses:67Used by:Timeline
Symbol 239 TextUsed by:Timeline
Symbol 240 GraphicUsed by:Timeline
Symbol 241 GraphicUsed by:242
Symbol 242 MovieClipUses:241Used by:Timeline
Symbol 243 MovieClipUses:42 17Used by:245  Timeline
Symbol 244 GraphicUsed by:245
Symbol 245 MovieClipUses:204 17 243 244Used by:Timeline
Symbol 246 GraphicUsed by:Timeline
Symbol 247 MovieClipUses:150 17Used by:Timeline
Symbol 248 GraphicUsed by:Timeline
Symbol 249 GraphicUsed by:Timeline
Symbol 250 GraphicUsed by:Timeline
Symbol 251 ButtonUses:184 234 187Used by:Timeline
Symbol 252 EditableTextUses:185Used by:Timeline
Symbol 253 EditableTextUses:185Used by:Timeline
Symbol 254 EditableTextUses:185Used by:Timeline
Symbol 255 EditableTextUses:185Used by:Timeline
Symbol 256 EditableTextUses:185Used by:Timeline
Symbol 257 EditableTextUses:185Used by:Timeline
Symbol 258 GraphicUsed by:262 268
Symbol 259 TextUses:185Used by:262
Symbol 260 GraphicUsed by:262 268
Symbol 261 GraphicUsed by:262 268
Symbol 262 ButtonUses:258 259 260 261Used by:Timeline
Symbol 263 EditableTextUses:185Used by:Timeline
Symbol 264 EditableTextUses:185Used by:Timeline
Symbol 265 EditableTextUses:185Used by:Timeline
Symbol 266 EditableTextUses:185Used by:Timeline
Symbol 267 TextUses:185Used by:268
Symbol 268 ButtonUses:258 267 260 261Used by:Timeline
Symbol 269 EditableTextUses:185Used by:Timeline
Symbol 270 TextUses:67Used by:271
Symbol 271 MovieClipUses:270Used by:Timeline
Symbol 272 TextUses:67Used by:Timeline
Symbol 273 ButtonUses:218 219Used by:Timeline
Symbol 274 GraphicUsed by:276
Symbol 275 GraphicUsed by:276
Symbol 276 ButtonUses:274 275Used by:Timeline
Symbol 277 GraphicUsed by:287
Symbol 278 GraphicUsed by:287
Symbol 279 GraphicUsed by:287
Symbol 280 GraphicUsed by:287
Symbol 281 GraphicUsed by:287
Symbol 282 GraphicUsed by:287
Symbol 283 GraphicUsed by:287
Symbol 284 GraphicUsed by:287
Symbol 285 GraphicUsed by:287
Symbol 286 GraphicUsed by:287
Symbol 287 MovieClipUses:277 278 279 280 281 282 283 284 285 286Used by:Timeline
Symbol 288 GraphicUsed by:289
Symbol 289 MovieClipUses:288Used by:Timeline
Symbol 290 TextUses:67Used by:Timeline
Symbol 291 GraphicUsed by:Timeline
Symbol 292 GraphicUsed by:Timeline
Symbol 293 GraphicUsed by:Timeline
Symbol 294 GraphicUsed by:295
Symbol 295 MovieClipUses:294Used by:Timeline
Symbol 296 TextUses:67Used by:Timeline
Symbol 297 TextUses:67Used by:Timeline
Symbol 298 TextUses:67Used by:Timeline
Symbol 299 GraphicUsed by:Timeline
Symbol 300 GraphicUsed by:301
Symbol 301 MovieClipUses:300Used by:Timeline
Symbol 302 MovieClipUses:23 17Used by:Timeline
Symbol 303 GraphicUsed by:Timeline
Symbol 304 GraphicUsed by:306  Timeline
Symbol 305 MovieClipUses:15 17Used by:Timeline
Symbol 306 MovieClipUses:304Used by:Timeline
Symbol 307 GraphicUsed by:308
Symbol 308 MovieClipUses:307 3Used by:Timeline
Symbol 309 MovieClipUses:201 200Used by:Timeline
Symbol 310 GraphicUsed by:Timeline
Symbol 311 TextUses:67Used by:Timeline
Symbol 312 TextUses:67Used by:Timeline
Symbol 313 TextUses:67Used by:Timeline
Symbol 314 TextUses:67Used by:Timeline
Symbol 315 EditableTextUses:67Used by:Timeline
Symbol 316 GraphicUsed by:317
Symbol 317 MovieClipUses:316 72Used by:Timeline
Symbol 318 GraphicUsed by:319
Symbol 319 MovieClipUses:318Used by:Timeline
Symbol 320 GraphicUsed by:Timeline
Symbol 321 GraphicUsed by:Timeline
Symbol 322 GraphicUsed by:Timeline
Symbol 323 GraphicUsed by:324
Symbol 324 MovieClipUses:323Used by:Timeline
Symbol 325 GraphicUsed by:Timeline
Symbol 326 GraphicUsed by:338
Symbol 327 GraphicUsed by:338
Symbol 328 GraphicUsed by:338
Symbol 329 GraphicUsed by:338
Symbol 330 GraphicUsed by:338
Symbol 331 GraphicUsed by:338
Symbol 332 GraphicUsed by:338
Symbol 333 GraphicUsed by:338
Symbol 334 GraphicUsed by:338
Symbol 335 GraphicUsed by:338
Symbol 336 GraphicUsed by:338
Symbol 337 GraphicUsed by:338
Symbol 338 MovieClipUses:326 327 328 329 330 331 332 333 334 335 336 337Used by:Timeline

Instance Names

"youlose"Frame 2Symbol 195 MovieClip
"orange1"Frame 3Symbol 177 MovieClip [LockedWall]
"orange2"Frame 3Symbol 177 MovieClip [LockedWall]
"Sword"Frame 3Symbol 202 MovieClip
"Him"Frame 3Symbol 205 MovieClip
"Saver"Frame 3Symbol 175 Button [Saver]
"Loader"Frame 3Symbol 209 Button
"Helper"Frame 3Symbol 213 Button
"Opter"Frame 3Symbol 217 Button
"plusser"Frame 3Symbol 220 Button
"plusser2"Frame 3Symbol 221 Button
"Sword"Frame 4Symbol 202 MovieClip
"Him"Frame 4Symbol 205 MovieClip
"Stuff"Frame 5Symbol 223 MovieClip [Stuff]
"Him"Frame 5Symbol 205 MovieClip
"Him"Frame 6Symbol 205 MovieClip
"Stuff"Frame 8Symbol 225 MovieClip
"rect3"Frame 19Symbol 149 MovieClip [Square]
"rect4"Frame 19Symbol 149 MovieClip [Square]
"rect6"Frame 19Symbol 149 MovieClip [Square]
"rect5"Frame 19Symbol 149 MovieClip [Square]
"rect7"Frame 19Symbol 149 MovieClip [Square]
"rect8"Frame 19Symbol 149 MovieClip [Square]
"rect14"Frame 19Symbol 149 MovieClip [Square]
"rect15"Frame 19Symbol 149 MovieClip [Square]
"rect17"Frame 19Symbol 149 MovieClip [Square]
"rect16"Frame 19Symbol 149 MovieClip [Square]
"rect18"Frame 19Symbol 149 MovieClip [Square]
"rect9"Frame 19Symbol 149 MovieClip [Square]
"rect10"Frame 19Symbol 149 MovieClip [Square]
"rect12"Frame 19Symbol 149 MovieClip [Square]
"rect11"Frame 19Symbol 149 MovieClip [Square]
"rect13"Frame 19Symbol 149 MovieClip [Square]
"rect20"Frame 19Symbol 149 MovieClip [Square]
"rect21"Frame 19Symbol 149 MovieClip [Square]
"rect22"Frame 19Symbol 149 MovieClip [Square]
"rect23"Frame 19Symbol 149 MovieClip [Square]
"rect25"Frame 19Symbol 149 MovieClip [Square]
"rect27"Frame 19Symbol 149 MovieClip [Square]
"rect28"Frame 19Symbol 149 MovieClip [Square]
"rect29"Frame 19Symbol 149 MovieClip [Square]
"rect31"Frame 19Symbol 149 MovieClip [Square]
"rect30"Frame 19Symbol 149 MovieClip [Square]
"rect32"Frame 19Symbol 149 MovieClip [Square]
"rect33"Frame 19Symbol 149 MovieClip [Square]
"rect34"Frame 19Symbol 149 MovieClip [Square]
"rect35"Frame 19Symbol 149 MovieClip [Square]
"rect36"Frame 19Symbol 149 MovieClip [Square]
"rect37"Frame 19Symbol 149 MovieClip [Square]
"rect38"Frame 19Symbol 149 MovieClip [Square]
"rect39"Frame 19Symbol 149 MovieClip [Square]
"rect40"Frame 19Symbol 149 MovieClip [Square]
"rect41"Frame 19Symbol 149 MovieClip [Square]
"rect43"Frame 19Symbol 149 MovieClip [Square]
"rect42"Frame 19Symbol 149 MovieClip [Square]
"rect44"Frame 19Symbol 149 MovieClip [Square]
"rect73"Frame 19Symbol 149 MovieClip [Square]
"rect74"Frame 19Symbol 149 MovieClip [Square]
"rect75"Frame 19Symbol 149 MovieClip [Square]
"Sword"Frame 20Symbol 202 MovieClip
"Him"Frame 20Symbol 205 MovieClip
"Saver"Frame 20Symbol 175 Button [Saver]
"Loader"Frame 20Symbol 209 Button
"Helper"Frame 20Symbol 213 Button
"Opter"Frame 20Symbol 217 Button
"plusser"Frame 20Symbol 220 Button
"plusser2"Frame 20Symbol 221 Button
"Backer"Frame 24Symbol 235 Button
"Saver"Frame 25Symbol 175 Button [Saver]
"Loader"Frame 25Symbol 209 Button
"Helper"Frame 25Symbol 213 Button
"Sword"Frame 25Symbol 202 MovieClip
"Him"Frame 25Symbol 205 MovieClip
"Opter"Frame 25Symbol 217 Button
"plusser"Frame 25Symbol 220 Button
"plusser2"Frame 25Symbol 221 Button
"greensword1"Frame 26Symbol 242 MovieClip
"green1"Frame 26Symbol 245 MovieClip
"greensword2"Frame 26Symbol 242 MovieClip
"green2"Frame 26Symbol 245 MovieClip
"greensword3"Frame 26Symbol 242 MovieClip
"green3"Frame 26Symbol 245 MovieClip
"greensword5"Frame 26Symbol 242 MovieClip
"green5"Frame 26Symbol 245 MovieClip
"greensword6"Frame 26Symbol 242 MovieClip
"green6"Frame 26Symbol 245 MovieClip
"greensword7"Frame 26Symbol 242 MovieClip
"green7"Frame 26Symbol 245 MovieClip
"bluesword4"Frame 26Symbol 242 MovieClip
"blue4"Frame 26Symbol 247 MovieClip
"bluesword2"Frame 26Symbol 242 MovieClip
"blue2"Frame 26Symbol 247 MovieClip
"bluesword1"Frame 26Symbol 242 MovieClip
"blue1"Frame 26Symbol 247 MovieClip
"bluesword5"Frame 26Symbol 242 MovieClip
"blue5"Frame 26Symbol 247 MovieClip
"greensword4"Frame 26Symbol 242 MovieClip
"green4"Frame 26Symbol 245 MovieClip
"bluesword7"Frame 26Symbol 242 MovieClip
"blue7"Frame 26Symbol 247 MovieClip
"bluesword8"Frame 26Symbol 242 MovieClip
"blue8"Frame 26Symbol 247 MovieClip
"bluesword6"Frame 26Symbol 242 MovieClip
"blue6"Frame 26Symbol 247 MovieClip
"bluesword3"Frame 26Symbol 242 MovieClip
"blue3"Frame 26Symbol 247 MovieClip
"blueswordcapt"Frame 26Symbol 242 MovieClip
"bluecapt"Frame 26Symbol 247 MovieClip
"greenswordcapt"Frame 26Symbol 242 MovieClip
"greencapt"Frame 26Symbol 245 MovieClip
"Sword"Frame 27Symbol 202 MovieClip
"Saver"Frame 27Symbol 175 Button [Saver]
"Loader"Frame 27Symbol 209 Button
"Helper"Frame 27Symbol 213 Button
"Opter"Frame 27Symbol 217 Button
"plusser"Frame 27Symbol 220 Button
"plusser2"Frame 27Symbol 221 Button
"Him"Frame 27Symbol 205 MovieClip
"Sword"Frame 36Symbol 202 MovieClip
"Him"Frame 36Symbol 205 MovieClip
"Him"Frame 37Symbol 205 MovieClip
"Him"Frame 44Symbol 205 MovieClip
"Backer"Frame 45Symbol 251 Button
"MoveKeyTxt"Frame 45Symbol 252 EditableText
"RotateKeyTxt"Frame 45Symbol 253 EditableText
"EndKeyTxt"Frame 45Symbol 254 EditableText
"MapKeyTxt"Frame 45Symbol 255 EditableText
"UpKeyTxt"Frame 45Symbol 256 EditableText
"DownKeyTxt"Frame 45Symbol 257 EditableText
"MoveKeyChange"Frame 45Symbol 262 Button
"RotateKeyChange"Frame 45Symbol 262 Button
"EndKeyChange"Frame 45Symbol 262 Button
"MapKeyChange"Frame 45Symbol 262 Button
"UpKeyChange"Frame 45Symbol 262 Button
"DownKeyChange"Frame 45Symbol 262 Button
"MoveUpKeyText"Frame 45Symbol 263 EditableText
"MoveDownKeyText"Frame 45Symbol 264 EditableText
"MoveRightKeyText"Frame 45Symbol 265 EditableText
"MoveLeftKeyText"Frame 45Symbol 266 EditableText
"MoveUpKeyChange"Frame 45Symbol 262 Button
"MoveDownKeyChange"Frame 45Symbol 262 Button
"MoveRightKeyChange"Frame 45Symbol 262 Button
"MoveLeftKeyChange"Frame 45Symbol 262 Button
"music1"Frame 45Symbol 268 Button
"onoff"Frame 45Symbol 269 EditableText
"KeyChangeChecker"Frame 45Symbol 271 MovieClip
"SpeedPlus"Frame 45Symbol 273 Button
"SpeedMinus"Frame 45Symbol 276 Button
"SpeedBar"Frame 45Symbol 287 MovieClip
"rect77"Frame 46Symbol 149 MovieClip [Square]
"rect79"Frame 46Symbol 149 MovieClip [Square]
"rect76"Frame 46Symbol 149 MovieClip [Square]
"rect78"Frame 46Symbol 149 MovieClip [Square]
"rect80"Frame 46Symbol 149 MovieClip [Square]
"rect83"Frame 46Symbol 149 MovieClip [Square]
"rect81"Frame 46Symbol 149 MovieClip [Square]
"rect82"Frame 46Symbol 149 MovieClip [Square]
"rect84"Frame 46Symbol 149 MovieClip [Square]
"rect85"Frame 46Symbol 149 MovieClip [Square]
"rect86"Frame 46Symbol 149 MovieClip [Square]
"rect87"Frame 46Symbol 149 MovieClip [Square]
"rect88"Frame 46Symbol 149 MovieClip [Square]
"rect89"Frame 46Symbol 149 MovieClip [Square]
"rect92"Frame 46Symbol 149 MovieClip [Square]
"rect93"Frame 46Symbol 149 MovieClip [Square]
"rect94"Frame 46Symbol 149 MovieClip [Square]
"rect90"Frame 46Symbol 149 MovieClip [Square]
"rect91"Frame 46Symbol 149 MovieClip [Square]
"GreenSword"Frame 47Symbol 242 MovieClip
"Green"Frame 47Symbol 245 MovieClip
"Blue"Frame 47Symbol 247 MovieClip
"Green"Frame 48Symbol 245 MovieClip
"Green2"Frame 48Symbol 245 MovieClip
"Green1"Frame 48Symbol 245 MovieClip
"Green5"Frame 48Symbol 245 MovieClip
"Green3"Frame 48Symbol 245 MovieClip
"Green7"Frame 48Symbol 245 MovieClip
"Green8"Frame 48Symbol 245 MovieClip
"Green6"Frame 48Symbol 245 MovieClip
"Green9"Frame 48Symbol 245 MovieClip
"Green4"Frame 48Symbol 245 MovieClip
"GreenDir"Frame 48Symbol 245 MovieClip
"longsword"Frame 50Symbol 242 MovieClip
"s2"Frame 51Symbol 242 MovieClip
"s3"Frame 51Symbol 242 MovieClip
"s1"Frame 51Symbol 242 MovieClip
"rect121"Frame 54Symbol 149 MovieClip [Square]
"rect122"Frame 54Symbol 149 MovieClip [Square]
"rect127"Frame 54Symbol 149 MovieClip [Square]
"rect128"Frame 54Symbol 149 MovieClip [Square]
"rect126"Frame 54Symbol 149 MovieClip [Square]
"rect125"Frame 54Symbol 149 MovieClip [Square]
"rect124"Frame 54Symbol 149 MovieClip [Square]
"rect123"Frame 54Symbol 149 MovieClip [Square]
"rect130"Frame 54Symbol 149 MovieClip [Square]
"rect131"Frame 54Symbol 149 MovieClip [Square]
"rect129"Frame 54Symbol 149 MovieClip [Square]
"rect132"Frame 54Symbol 149 MovieClip [Square]
"rect95"Frame 55Symbol 149 MovieClip [Square]
"rect100"Frame 55Symbol 149 MovieClip [Square]
"rect99"Frame 55Symbol 149 MovieClip [Square]
"rect101"Frame 55Symbol 149 MovieClip [Square]
"rect96"Frame 55Symbol 149 MovieClip [Square]
"rect97"Frame 55Symbol 149 MovieClip [Square]
"rect103"Frame 55Symbol 149 MovieClip [Square]
"rect98"Frame 55Symbol 149 MovieClip [Square]
"rect102"Frame 55Symbol 149 MovieClip [Square]
"rect104"Frame 55Symbol 149 MovieClip [Square]
"rect105"Frame 55Symbol 149 MovieClip [Square]
"rect107"Frame 55Symbol 149 MovieClip [Square]
"rect111"Frame 55Symbol 149 MovieClip [Square]
"rect106"Frame 55Symbol 149 MovieClip [Square]
"rect108"Frame 55Symbol 149 MovieClip [Square]
"rect110"Frame 55Symbol 149 MovieClip [Square]
"rect109"Frame 55Symbol 149 MovieClip [Square]
"rect112"Frame 55Symbol 149 MovieClip [Square]
"rect120"Frame 55Symbol 149 MovieClip [Square]
"rect116"Frame 55Symbol 149 MovieClip [Square]
"rect118"Frame 55Symbol 149 MovieClip [Square]
"rect117"Frame 55Symbol 149 MovieClip [Square]
"rect115"Frame 55Symbol 149 MovieClip [Square]
"rect119"Frame 55Symbol 149 MovieClip [Square]
"rect114"Frame 55Symbol 149 MovieClip [Square]
"rect113"Frame 55Symbol 149 MovieClip [Square]
"rect134"Frame 56Symbol 149 MovieClip [Square]
"rect133"Frame 56Symbol 149 MovieClip [Square]
"rect135"Frame 56Symbol 149 MovieClip [Square]
"Sword"Frame 58Symbol 202 MovieClip
"Saver"Frame 58Symbol 175 Button [Saver]
"Loader"Frame 58Symbol 209 Button
"plusser"Frame 58Symbol 220 Button
"plusser2"Frame 58Symbol 221 Button
"Helper"Frame 58Symbol 213 Button
"Opter"Frame 58Symbol 217 Button
"Flee"Frame 59Symbol 243 MovieClip
"Stor"Frame 59Symbol 242 MovieClip
"G"Frame 59Symbol 245 MovieClip
"back"Frame 61Symbol 306 MovieClip
"swob"Frame 61Symbol 308 MovieClip
"swog"Frame 61Symbol 309 MovieClip
"me"Frame 61Symbol 245 MovieClip
"kingo"Frame 61Symbol 305 MovieClip
"los"Frame 62Symbol 315 EditableText
"Sword"Frame 73Symbol 202 MovieClip
"Him"Frame 73Symbol 205 MovieClip
"Saver"Frame 73Symbol 175 Button [Saver]
"Loader"Frame 73Symbol 209 Button
"plusser"Frame 73Symbol 220 Button
"plusser2"Frame 73Symbol 221 Button
"Helper"Frame 73Symbol 213 Button
"Opter"Frame 73Symbol 217 Button
"Yellow"Frame 85Symbol 75 MovieClip [LockedWallBlue]
"BlueSword"Frame 93Symbol 242 MovieClip
"BlueCapt"Frame 93Symbol 247 MovieClip
"Purple"Frame 117Symbol 32 MovieClip [LockedWallPurple]
"Brown"Frame 117Symbol 30 MovieClip [LockedWallBrown]
"Brown2"Frame 117Symbol 30 MovieClip [LockedWallBrown]
"wizard"Frame 120Symbol 24 MovieClip [BlueWizard]
"sob"Frame 135Symbol 105 MovieClip [BlueSwordBig]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 4 MovieClip [BlueSwordBig copy] Frame 1Symbol 3 MovieClip [pt1]
"Hero"Symbol 18 MovieClip [BlueKing] Frame 1Symbol 17 MovieClip
"Hero"Symbol 24 MovieClip [BlueWizard] Frame 1Symbol 17 MovieClip
"Hero"Symbol 37 MovieClip [BlueVet] Frame 1Symbol 17 MovieClip
"Hero"Symbol 43 MovieClip [BlueFlee] Frame 1Symbol 17 MovieClip
"Hero"Symbol 45 MovieClip [BlueRanged] Frame 1Symbol 17 MovieClip
"Hero"Symbol 57 MovieClip [BlueExpert] Frame 1Symbol 17 MovieClip
"Hero"Symbol 64 MovieClip [BlueParry] Frame 1Symbol 17 MovieClip
"Hero"Symbol 73 MovieClip [BlueFast] Frame 1Symbol 17 MovieClip
"Hero"Symbol 78 MovieClip [NestStone] Frame 1Symbol 17 MovieClip
"Hero"Symbol 97 MovieClip [Stone] Frame 1Symbol 17 MovieClip
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 105 MovieClip [BlueSwordBig] Frame 1Symbol 3 MovieClip [pt1]
"Hero"Symbol 106 MovieClip [BlueGuardCapt] Frame 1Symbol 17 MovieClip
"Hero"Symbol 151 MovieClip [Blue] Frame 1Symbol 17 MovieClip
"pt2"Symbol 153 MovieClip [Bluesword] Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 153 MovieClip [Bluesword] Frame 1Symbol 3 MovieClip [pt1]
"pt4"Symbol 153 MovieClip [Bluesword] Frame 1Symbol 3 MovieClip [pt1]
"pt5"Symbol 153 MovieClip [Bluesword] Frame 1Symbol 3 MovieClip [pt1]
"pt4"Symbol 153 MovieClip [Bluesword] Frame 1Symbol 3 MovieClip [pt1]
"bar"Symbol 193 MovieClip Frame 1Symbol 180 MovieClip
"Loader"Symbol 193 MovieClip Frame 2Symbol 188 Button
"Helper"Symbol 193 MovieClip Frame 2Symbol 190 Button
"pt1"Symbol 202 MovieClip Frame 1Symbol 200 MovieClip
"pt2"Symbol 202 MovieClip Frame 1Symbol 200 MovieClip
"pt3"Symbol 202 MovieClip Frame 1Symbol 200 MovieClip
"pt4"Symbol 202 MovieClip Frame 1Symbol 200 MovieClip
"pt5"Symbol 202 MovieClip Frame 1Symbol 200 MovieClip
"pt3"Symbol 202 MovieClip Frame 2Symbol 200 MovieClip
"Hero"Symbol 205 MovieClip Frame 1Symbol 17 MovieClip
"Hero"Symbol 243 MovieClip Frame 1Symbol 17 MovieClip
"Hero"Symbol 245 MovieClip Frame 1Symbol 17 MovieClip
"Flee"Symbol 245 MovieClip Frame 2Symbol 243 MovieClip
"Hero"Symbol 245 MovieClip Frame 3Symbol 17 MovieClip
"Hero"Symbol 247 MovieClip Frame 1Symbol 17 MovieClip
"Hero"Symbol 302 MovieClip Frame 1Symbol 17 MovieClip
"Hero"Symbol 305 MovieClip Frame 1Symbol 17 MovieClip
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt3"Symbol 308 MovieClip Frame 1Symbol 3 MovieClip [pt1]
"pt1"Symbol 309 MovieClip Frame 1Symbol 200 MovieClip
"pt2"Symbol 309 MovieClip Frame 1Symbol 200 MovieClip
"pt3"Symbol 309 MovieClip Frame 1Symbol 200 MovieClip
"pt4"Symbol 309 MovieClip Frame 1Symbol 200 MovieClip
"pt5"Symbol 309 MovieClip Frame 1Symbol 200 MovieClip
"pt3"Symbol 309 MovieClip Frame 1Symbol 200 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "gamemusic"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 4 as "BlueSwordBig copy"
ExportAssets (56)Timeline Frame 1Symbol 6 as "Bug5"
ExportAssets (56)Timeline Frame 1Symbol 11 as "Saver"
ExportAssets (56)Timeline Frame 1Symbol 12 as "BigBlueSword"
ExportAssets (56)Timeline Frame 1Symbol 14 as "Food"
ExportAssets (56)Timeline Frame 1Symbol 18 as "BlueKing"
ExportAssets (56)Timeline Frame 1Symbol 22 as "Randomizer"
ExportAssets (56)Timeline Frame 1Symbol 24 as "BlueWizard"
ExportAssets (56)Timeline Frame 1Symbol 26 as "flamebold"
ExportAssets (56)Timeline Frame 1Symbol 28 as "Bluewand"
ExportAssets (56)Timeline Frame 1Symbol 30 as "LockedWallBrown"
ExportAssets (56)Timeline Frame 1Symbol 32 as "LockedWallPurple"
ExportAssets (56)Timeline Frame 1Symbol 35 as "Armory"
ExportAssets (56)Timeline Frame 1Symbol 37 as "BlueVet"
ExportAssets (56)Timeline Frame 1Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 1Symbol 41 as "Bed"
ExportAssets (56)Timeline Frame 1Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 1Symbol 45 as "BlueRanged"
ExportAssets (56)Timeline Frame 1Symbol 47 as "Bluebow"
ExportAssets (56)Timeline Frame 1Symbol 49 as "arrow"
ExportAssets (56)Timeline Frame 1Symbol 52 as "Displacer4"
ExportAssets (56)Timeline Frame 1Symbol 53 as "Displacer3"
ExportAssets (56)Timeline Frame 1Symbol 55 as "Trap5"
ExportAssets (56)Timeline Frame 1Symbol 57 as "BlueExpert"
ExportAssets (56)Timeline Frame 1Symbol 60 as "Displacer"
ExportAssets (56)Timeline Frame 1Symbol 62 as "Fire2"
ExportAssets (56)Timeline Frame 1Symbol 64 as "BlueParry"
ExportAssets (56)Timeline Frame 1Symbol 65 as "Displacer2"
ExportAssets (56)Timeline Frame 1Symbol 69 as "BlueDeath"
ExportAssets (56)Timeline Frame 1Symbol 71 as "wall50"
ExportAssets (56)Timeline Frame 1Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 1Symbol 73 as "BlueFast"
ExportAssets (56)Timeline Frame 1Symbol 75 as "LockedWallBlue"
ExportAssets (56)Timeline Frame 1Symbol 78 as "NestStone"
ExportAssets (56)Timeline Frame 1Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 1Symbol 82 as "Bug7"
ExportAssets (56)Timeline Frame 1Symbol 84 as "Trap4"
ExportAssets (56)Timeline Frame 1Symbol 90 as "Acid"
ExportAssets (56)Timeline Frame 1Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 1Symbol 94 as "Understone"
ExportAssets (56)Timeline Frame 1Symbol 94 as "Understone"
ExportAssets (56)Timeline Frame 1Symbol 97 as "Stone"
ExportAssets (56)Timeline Frame 1Symbol 99 as "Stuff3"
ExportAssets (56)Timeline Frame 1Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 1Symbol 103 as "Bug6"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 1Symbol 106 as "BlueGuardCapt"
ExportAssets (56)Timeline Frame 1Symbol 108 as "StairsBoth"
ExportAssets (56)Timeline Frame 1Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 1Symbol 112 as "Stairs"
ExportAssets (56)Timeline Frame 1Symbol 114 as "Sand"
ExportAssets (56)Timeline Frame 1Symbol 116 as "wall300"
ExportAssets (56)Timeline Frame 1Symbol 118 as "Trap3"
ExportAssets (56)Timeline Frame 1Symbol 120 as "wall120"
ExportAssets (56)Timeline Frame 1Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 1Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 1Symbol 125 as "TheButton"
ExportAssets (56)Timeline Frame 1Symbol 127 as "StairsDown"
ExportAssets (56)Timeline Frame 1Symbol 130 as "Nest"
ExportAssets (56)Timeline Frame 1Symbol 132 as "Ice"
ExportAssets (56)Timeline Frame 1Symbol 134 as "LaserShot"
ExportAssets (56)Timeline Frame 1Symbol 136 as "LaserBody"
ExportAssets (56)Timeline Frame 1Symbol 136 as "LaserBody"
ExportAssets (56)Timeline Frame 1Symbol 134 as "LaserShot"
ExportAssets (56)Timeline Frame 1Symbol 136 as "LaserBody"
ExportAssets (56)Timeline Frame 1Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 1Symbol 139 as "wall100"
ExportAssets (56)Timeline Frame 1Symbol 141 as "Fire"
ExportAssets (56)Timeline Frame 1Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 1Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 1Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 1Symbol 155 as "BoxTrapped"
ExportAssets (56)Timeline Frame 1Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 1Symbol 159 as "Trap2"
ExportAssets (56)Timeline Frame 1Symbol 161 as "Bug4"
ExportAssets (56)Timeline Frame 1Symbol 163 as "wall20"
ExportAssets (56)Timeline Frame 1Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 1Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 1Symbol 168 as "wall200"
ExportAssets (56)Timeline Frame 1Symbol 170 as "Trap"
ExportAssets (56)Timeline Frame 1Symbol 172 as "wall60"
ExportAssets (56)Timeline Frame 1Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 1Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 1Symbol 177 as "LockedWall"
ExportAssets (56)Timeline Frame 1Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 1Symbol 339 as "__Packages.cl_bluesword"
ExportAssets (56)Timeline Frame 1Symbol 340 as "__Packages.cl_bug5"
ExportAssets (56)Timeline Frame 1Symbol 341 as "__Packages.cl_food"
ExportAssets (56)Timeline Frame 1Symbol 342 as "__Packages.cl_blueking"
ExportAssets (56)Timeline Frame 1Symbol 343 as "__Packages.cl_randomizer"
ExportAssets (56)Timeline Frame 1Symbol 344 as "__Packages.cl_bluewizard"
ExportAssets (56)Timeline Frame 1Symbol 345 as "__Packages.cl_arrow"
ExportAssets (56)Timeline Frame 1Symbol 346 as "__Packages.cl_bluebow"
ExportAssets (56)Timeline Frame 1Symbol 347 as "__Packages.cl_box"
ExportAssets (56)Timeline Frame 1Symbol 348 as "__Packages.cl_armory"
ExportAssets (56)Timeline Frame 1Symbol 349 as "__Packages.cl_bluevet"
ExportAssets (56)Timeline Frame 1Symbol 350 as "__Packages.cl_wall"
ExportAssets (56)Timeline Frame 1Symbol 351 as "__Packages.cl_blueflee"
ExportAssets (56)Timeline Frame 1Symbol 352 as "__Packages.cl_blueranged"
ExportAssets (56)Timeline Frame 1Symbol 353 as "__Packages.cl_displacer4"
ExportAssets (56)Timeline Frame 1Symbol 354 as "__Packages.cl_displacer3"
ExportAssets (56)Timeline Frame 1Symbol 355 as "__Packages.cl_trap"
ExportAssets (56)Timeline Frame 1Symbol 356 as "__Packages.cl_blueexpert"
ExportAssets (56)Timeline Frame 1Symbol 357 as "__Packages.cl_displacer"
ExportAssets (56)Timeline Frame 1Symbol 358 as "__Packages.cl_fire"
ExportAssets (56)Timeline Frame 1Symbol 359 as "__Packages.cl_blueparry"
ExportAssets (56)Timeline Frame 1Symbol 360 as "__Packages.cl_displacer2"
ExportAssets (56)Timeline Frame 1Symbol 361 as "__Packages.cl_ropepoint"
ExportAssets (56)Timeline Frame 1Symbol 362 as "__Packages.cl_bluefast"
ExportAssets (56)Timeline Frame 1Symbol 363 as "__Packages.cl_neststone"
ExportAssets (56)Timeline Frame 1Symbol 364 as "__Packages.cl_goo"
ExportAssets (56)Timeline Frame 1Symbol 365 as "__Packages.cl_bug7"
ExportAssets (56)Timeline Frame 1Symbol 366 as "__Packages.cl_acid"
ExportAssets (56)Timeline Frame 1Symbol 367 as "__Packages.cl_bugacid"
ExportAssets (56)Timeline Frame 1Symbol 368 as "__Packages.cl_stone"
ExportAssets (56)Timeline Frame 1Symbol 369 as "__Packages.cl_buglightning"
ExportAssets (56)Timeline Frame 1Symbol 370 as "__Packages.cl_bug6"
ExportAssets (56)Timeline Frame 1Symbol 371 as "__Packages.cl_blueguardcapt"
ExportAssets (56)Timeline Frame 1Symbol 372 as "__Packages.cl_stairsboth"
ExportAssets (56)Timeline Frame 1Symbol 373 as "__Packages.cl_stairs"
ExportAssets (56)Timeline Frame 1Symbol 374 as "__Packages.cl_sand"
ExportAssets (56)Timeline Frame 1Symbol 375 as "__Packages.cl_togglewall"
ExportAssets (56)Timeline Frame 1Symbol 376 as "__Packages.cl_button"
ExportAssets (56)Timeline Frame 1Symbol 377 as "__Packages.cl_stairsdown"
ExportAssets (56)Timeline Frame 1Symbol 378 as "__Packages.cl_nest"
ExportAssets (56)Timeline Frame 1Symbol 379 as "__Packages.cl_ice"
ExportAssets (56)Timeline Frame 1Symbol 380 as "__Packages.cl_lasershot"
ExportAssets (56)Timeline Frame 1Symbol 381 as "__Packages.cl_laser"
ExportAssets (56)Timeline Frame 1Symbol 382 as "__Packages.cl_square"
ExportAssets (56)Timeline Frame 1Symbol 383 as "__Packages.cl_blue"
ExportAssets (56)Timeline Frame 1Symbol 384 as "__Packages.cl_boxtrapped"
ExportAssets (56)Timeline Frame 1Symbol 385 as "__Packages.cl_bug4"
ExportAssets (56)Timeline Frame 1Symbol 386 as "__Packages.cl_bug3"
ExportAssets (56)Timeline Frame 1Symbol 387 as "__Packages.cl_bug2"
ExportAssets (56)Timeline Frame 1Symbol 388 as "__Packages.cl_bug"
ExportAssets (56)Timeline Frame 1Symbol 389 as "__Packages.cl_swordpt"
ExportAssets (56)Timeline Frame 1Symbol 1 as "gamemusic"
ExportAssets (56)Timeline Frame 3Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 3Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 3Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 3Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 3Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 3Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 3Symbol 177 as "LockedWall"
ExportAssets (56)Timeline Frame 3Symbol 177 as "LockedWall"
ExportAssets (56)Timeline Frame 3Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 3Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 3Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 3Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 3Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 3Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 4Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 4Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 4Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 4Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 4Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 4Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 4Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 4Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 4Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 4Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 4Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 4Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 5Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 5Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 5Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 5Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 5Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 5Symbol 223 as "Stuff"
ExportAssets (56)Timeline Frame 5Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 5Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 5Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 5Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 5Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 5Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 5Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 5Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 5Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 5Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 5Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 5Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 6Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 6Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 6Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 6Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 6Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 6Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 6Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 6Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 6Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 6Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 6Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 6Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 6Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 6Symbol 172 as "wall60"
ExportAssets (56)Timeline Frame 7Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 7Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 7Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 7Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 7Symbol 170 as "Trap"
ExportAssets (56)Timeline Frame 7Symbol 168 as "wall200"
ExportAssets (56)Timeline Frame 7Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 7Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 7Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 7Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 7Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 7Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 7Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 7Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 7Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 7Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 7Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 8Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 8Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 8Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 8Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 8Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 8Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 8Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 8Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 8Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 8Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 8Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 8Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 8Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 8Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 8Symbol 172 as "wall60"
ExportAssets (56)Timeline Frame 9Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 9Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 9Symbol 170 as "Trap"
ExportAssets (56)Timeline Frame 9Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 9Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 9Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 9Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 9Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 10Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 10Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 10Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 10Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 10Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 10Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 10Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 10Symbol 163 as "wall20"
ExportAssets (56)Timeline Frame 10Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 11Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 11Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 11Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 11Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 11Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 11Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 12Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 12Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 12Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 12Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 12Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 12Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 13Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 13Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 13Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 13Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 13Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 13Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 13Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 13Symbol 161 as "Bug4"
ExportAssets (56)Timeline Frame 14Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 14Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 14Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 14Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 14Symbol 159 as "Trap2"
ExportAssets (56)Timeline Frame 14Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 14Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 14Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 14Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 14Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 14Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 14Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 14Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 14Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 14Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 14Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 14Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 14Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 14Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 14Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 15Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 15Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 15Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 15Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 15Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 15Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 15Symbol 168 as "wall200"
ExportAssets (56)Timeline Frame 15Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 15Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 15Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 15Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 15Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 15Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 15Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 15Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 15Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 15Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 16Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 16Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 16Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 16Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 16Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 16Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 16Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 16Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 16Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 16Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 16Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 16Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 16Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 16Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 16Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 16Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 16Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 16Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 16Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 16Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 16Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 16Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 16Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 16Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 16Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 16Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 17Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 17Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 17Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 17Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 17Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 17Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 17Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 17Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 17Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 17Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 17Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 17Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 17Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 17Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 17Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 17Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 17Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 17Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 17Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 17Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 17Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 17Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 17Symbol 155 as "BoxTrapped"
ExportAssets (56)Timeline Frame 17Symbol 155 as "BoxTrapped"
ExportAssets (56)Timeline Frame 17Symbol 155 as "BoxTrapped"
ExportAssets (56)Timeline Frame 17Symbol 155 as "BoxTrapped"
ExportAssets (56)Timeline Frame 17Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 17Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 17Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 17Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 18Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 18Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 18Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 18Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 18Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 18Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 18Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 18Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 18Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 18Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 18Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 18Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 18Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 18Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 18Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 18Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 18Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 18Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 18Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 18Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 18Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 18Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 19Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 20Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 20Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 20Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 20Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 20Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 20Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 20Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 21Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 21Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 21Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 21Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 21Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 21Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 22Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 22Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 22Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 22Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 22Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 22Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 22Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 23Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 23Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 23Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 23Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 23Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 23Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 23Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 23Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 23Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 23Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 23Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 23Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 23Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 25Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 25Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 25Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 25Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 25Symbol 170 as "Trap"
ExportAssets (56)Timeline Frame 25Symbol 141 as "Fire"
ExportAssets (56)Timeline Frame 25Symbol 141 as "Fire"
ExportAssets (56)Timeline Frame 25Symbol 141 as "Fire"
ExportAssets (56)Timeline Frame 25Symbol 141 as "Fire"
ExportAssets (56)Timeline Frame 25Symbol 141 as "Fire"
ExportAssets (56)Timeline Frame 25Symbol 141 as "Fire"
ExportAssets (56)Timeline Frame 25Symbol 141 as "Fire"
ExportAssets (56)Timeline Frame 25Symbol 141 as "Fire"
ExportAssets (56)Timeline Frame 25Symbol 141 as "Fire"
ExportAssets (56)Timeline Frame 25Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 25Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 25Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 25Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 25Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 25Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 25Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 27Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 27Symbol 168 as "wall200"
ExportAssets (56)Timeline Frame 27Symbol 139 as "wall100"
ExportAssets (56)Timeline Frame 27Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 27Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 27Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 27Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 27Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 27Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 27Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 27Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 27Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 27Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 28Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 28Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 28Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 28Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 28Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 28Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 28Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 28Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 28Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 28Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 28Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 28Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 28Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 28Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 28Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 28Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 28Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 28Symbol 155 as "BoxTrapped"
ExportAssets (56)Timeline Frame 28Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 28Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 28Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 28Symbol 155 as "BoxTrapped"
ExportAssets (56)Timeline Frame 29Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 29Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 29Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 29Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 29Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 29Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 29Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 29Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 29Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 29Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 29Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 29Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 29Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 29Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 29Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 29Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 29Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 29Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 29Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 29Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 29Symbol 139 as "wall100"
ExportAssets (56)Timeline Frame 29Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 30Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 30Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 30Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 30Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 30Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 30Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 30Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 30Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 30Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 30Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 30Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 31Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 31Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 31Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 31Symbol 132 as "Ice"
ExportAssets (56)Timeline Frame 31Symbol 132 as "Ice"
ExportAssets (56)Timeline Frame 31Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 31Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 31Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 31Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 31Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 31Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 31Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 31Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 31Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 31Symbol 155 as "BoxTrapped"
ExportAssets (56)Timeline Frame 32Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 32Symbol 141 as "Fire"
ExportAssets (56)Timeline Frame 32Symbol 141 as "Fire"
ExportAssets (56)Timeline Frame 32Symbol 141 as "Fire"
ExportAssets (56)Timeline Frame 32Symbol 141 as "Fire"
ExportAssets (56)Timeline Frame 32Symbol 141 as "Fire"
ExportAssets (56)Timeline Frame 32Symbol 141 as "Fire"
ExportAssets (56)Timeline Frame 32Symbol 141 as "Fire"
ExportAssets (56)Timeline Frame 32Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 32Symbol 130 as "Nest"
ExportAssets (56)Timeline Frame 32Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 33Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 33Symbol 130 as "Nest"
ExportAssets (56)Timeline Frame 33Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 33Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 33Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 33Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 34Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 34Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 34Symbol 130 as "Nest"
ExportAssets (56)Timeline Frame 34Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 34Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 34Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 34Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 34Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 34Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 34Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 35Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 35Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 35Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 35Symbol 130 as "Nest"
ExportAssets (56)Timeline Frame 35Symbol 130 as "Nest"
ExportAssets (56)Timeline Frame 35Symbol 130 as "Nest"
ExportAssets (56)Timeline Frame 35Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 35Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 35Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 35Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 35Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 35Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 36Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 36Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 36Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 36Symbol 130 as "Nest"
ExportAssets (56)Timeline Frame 36Symbol 127 as "StairsDown"
ExportAssets (56)Timeline Frame 36Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 36Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 36Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 36Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 36Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 36Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 36Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 36Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 36Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 37Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 37Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 37Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 37Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 37Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 37Symbol 125 as "TheButton"
ExportAssets (56)Timeline Frame 37Symbol 125 as "TheButton"
ExportAssets (56)Timeline Frame 37Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 37Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 37Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 37Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 37Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 37Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 37Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 37Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 37Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 38Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 38Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 38Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 38Symbol 125 as "TheButton"
ExportAssets (56)Timeline Frame 38Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 38Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 38Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 38Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 38Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 38Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 38Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 38Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 38Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 38Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 38Symbol 125 as "TheButton"
ExportAssets (56)Timeline Frame 38Symbol 120 as "wall120"
ExportAssets (56)Timeline Frame 38Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 38Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 38Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 38Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 38Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 38Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 39Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 39Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 39Symbol 118 as "Trap3"
ExportAssets (56)Timeline Frame 39Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 39Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 39Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 39Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 39Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 39Symbol 125 as "TheButton"
ExportAssets (56)Timeline Frame 39Symbol 125 as "TheButton"
ExportAssets (56)Timeline Frame 39Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 39Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 39Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 39Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 39Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 39Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 39Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 39Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 40Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 40Symbol 125 as "TheButton"
ExportAssets (56)Timeline Frame 40Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 40Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 40Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 40Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 40Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 40Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 40Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 40Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 40Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 40Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 40Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 40Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 40Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 40Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 40Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 40Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 40Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 40Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 40Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 40Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 40Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 40Symbol 116 as "wall300"
ExportAssets (56)Timeline Frame 40Symbol 116 as "wall300"
ExportAssets (56)Timeline Frame 40Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 41Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 41Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 41Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 41Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 41Symbol 132 as "Ice"
ExportAssets (56)Timeline Frame 41Symbol 125 as "TheButton"
ExportAssets (56)Timeline Frame 41Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 41Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 41Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 41Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 41Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 41Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 41Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 41Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 41Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 41Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 41Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 41Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 41Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 41Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 41Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 41Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 42Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 42Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 42Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 42Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 42Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 42Symbol 114 as "Sand"
ExportAssets (56)Timeline Frame 42Symbol 125 as "TheButton"
ExportAssets (56)Timeline Frame 42Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 42Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 42Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 42Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 42Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 42Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 42Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 42Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 42Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 42Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 42Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 42Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 42Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 42Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 42Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 42Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 43Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 43Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 43Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 43Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 43Symbol 112 as "Stairs"
ExportAssets (56)Timeline Frame 43Symbol 125 as "TheButton"
ExportAssets (56)Timeline Frame 43Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 43Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 43Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 43Symbol 123 as "ToggleWall"
ExportAssets (56)Timeline Frame 43Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 43Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 43Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 43Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 43Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 44Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 44Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 44Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 44Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 44Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 44Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 44Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 44Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 44Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 44Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 44Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 44Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 44Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 44Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 44Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 44Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 44Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 44Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 44Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 44Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 44Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 44Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 44Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 44Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 44Symbol 108 as "StairsBoth"
ExportAssets (56)Timeline Frame 44Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 44Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 44Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 44Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 44Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 46Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 46Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 46Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 46Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 46Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 46Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 46Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 46Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 46Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 46Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 46Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 46Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 46Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 46Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 46Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 46Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 46Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 46Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 46Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 49Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 49Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 49Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 49Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 49Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 49Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 49Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 49Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 49Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 49Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 49Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 49Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 50Symbol 106 as "BlueGuardCapt"
ExportAssets (56)Timeline Frame 51Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 51Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 51Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 51Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 51Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 51Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 52Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 52Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 52Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 54Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 54Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 54Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 54Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 54Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 54Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 54Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 54Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 54Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 54Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 54Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 54Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 55Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 56Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 56Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 56Symbol 149 as "Square"
ExportAssets (56)Timeline Frame 58Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 60Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 60Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 60Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 60Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 61Symbol 3 as "pt1"
ExportAssets (56)Timeline Frame 73Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 73Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 73Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 73Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 73Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 73Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 73Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 73Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 73Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 73Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 73Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 73Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 73Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 73Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 73Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 73Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 73Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 73Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 73Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 73Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 73Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 73Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 73Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 73Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 73Symbol 108 as "StairsBoth"
ExportAssets (56)Timeline Frame 73Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 73Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 73Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 73Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 73Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 74Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 74Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 74Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 74Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 74Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 74Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 74Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 74Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 74Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 74Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 74Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 74Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 74Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 74Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 74Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 74Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 74Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 74Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 74Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 74Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 74Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 74Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 74Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 74Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 74Symbol 108 as "StairsBoth"
ExportAssets (56)Timeline Frame 74Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 74Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 74Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 74Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 74Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 74Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 74Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 74Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 74Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 75Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 75Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 75Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 75Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 75Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 75Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 75Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 75Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 75Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 75Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 75Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 75Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 75Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 75Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 75Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 75Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 75Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 75Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 75Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 75Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 75Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 75Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 75Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 75Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 75Symbol 108 as "StairsBoth"
ExportAssets (56)Timeline Frame 75Symbol 103 as "Bug6"
ExportAssets (56)Timeline Frame 75Symbol 103 as "Bug6"
ExportAssets (56)Timeline Frame 75Symbol 103 as "Bug6"
ExportAssets (56)Timeline Frame 75Symbol 103 as "Bug6"
ExportAssets (56)Timeline Frame 75Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 76Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 76Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 76Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 76Symbol 112 as "Stairs"
ExportAssets (56)Timeline Frame 76Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 77Symbol 139 as "wall100"
ExportAssets (56)Timeline Frame 77Symbol 139 as "wall100"
ExportAssets (56)Timeline Frame 77Symbol 139 as "wall100"
ExportAssets (56)Timeline Frame 77Symbol 139 as "wall100"
ExportAssets (56)Timeline Frame 77Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 77Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 77Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 77Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 77Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 77Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 77Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 77Symbol 99 as "Stuff3"
ExportAssets (56)Timeline Frame 77Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 77Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 78Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 78Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 78Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 78Symbol 139 as "wall100"
ExportAssets (56)Timeline Frame 78Symbol 139 as "wall100"
ExportAssets (56)Timeline Frame 78Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 78Symbol 97 as "Stone"
ExportAssets (56)Timeline Frame 78Symbol 97 as "Stone"
ExportAssets (56)Timeline Frame 78Symbol 97 as "Stone"
ExportAssets (56)Timeline Frame 78Symbol 97 as "Stone"
ExportAssets (56)Timeline Frame 78Symbol 97 as "Stone"
ExportAssets (56)Timeline Frame 78Symbol 97 as "Stone"
ExportAssets (56)Timeline Frame 78Symbol 97 as "Stone"
ExportAssets (56)Timeline Frame 78Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 78Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 78Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 78Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 78Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 78Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 78Symbol 103 as "Bug6"
ExportAssets (56)Timeline Frame 78Symbol 103 as "Bug6"
ExportAssets (56)Timeline Frame 79Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 79Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 79Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 79Symbol 90 as "Acid"
ExportAssets (56)Timeline Frame 79Symbol 90 as "Acid"
ExportAssets (56)Timeline Frame 79Symbol 90 as "Acid"
ExportAssets (56)Timeline Frame 79Symbol 90 as "Acid"
ExportAssets (56)Timeline Frame 79Symbol 90 as "Acid"
ExportAssets (56)Timeline Frame 79Symbol 90 as "Acid"
ExportAssets (56)Timeline Frame 79Symbol 90 as "Acid"
ExportAssets (56)Timeline Frame 79Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 79Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 79Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 79Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 79Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 79Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 79Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 79Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 79Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 79Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 79Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 80Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 80Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 80Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 80Symbol 84 as "Trap4"
ExportAssets (56)Timeline Frame 80Symbol 139 as "wall100"
ExportAssets (56)Timeline Frame 80Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 80Symbol 82 as "Bug7"
ExportAssets (56)Timeline Frame 80Symbol 82 as "Bug7"
ExportAssets (56)Timeline Frame 80Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 80Symbol 82 as "Bug7"
ExportAssets (56)Timeline Frame 80Symbol 82 as "Bug7"
ExportAssets (56)Timeline Frame 80Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 80Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 80Symbol 139 as "wall100"
ExportAssets (56)Timeline Frame 81Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 81Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 81Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 81Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 81Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 81Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 81Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 81Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 81Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 81Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 81Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 81Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 81Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 81Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 81Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 81Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 81Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 81Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 81Symbol 82 as "Bug7"
ExportAssets (56)Timeline Frame 81Symbol 82 as "Bug7"
ExportAssets (56)Timeline Frame 81Symbol 82 as "Bug7"
ExportAssets (56)Timeline Frame 81Symbol 82 as "Bug7"
ExportAssets (56)Timeline Frame 81Symbol 82 as "Bug7"
ExportAssets (56)Timeline Frame 81Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 81Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 81Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 81Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 82Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 82Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 82Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 82Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 82Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 82Symbol 78 as "NestStone"
ExportAssets (56)Timeline Frame 82Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 82Symbol 97 as "Stone"
ExportAssets (56)Timeline Frame 82Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 82Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 82Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 83Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 83Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 83Symbol 90 as "Acid"
ExportAssets (56)Timeline Frame 83Symbol 90 as "Acid"
ExportAssets (56)Timeline Frame 83Symbol 90 as "Acid"
ExportAssets (56)Timeline Frame 83Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 83Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 83Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 83Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 83Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 83Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 83Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 83Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 84Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 84Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 84Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 84Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 84Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 84Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 84Symbol 161 as "Bug4"
ExportAssets (56)Timeline Frame 84Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 84Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 84Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 84Symbol 82 as "Bug7"
ExportAssets (56)Timeline Frame 84Symbol 82 as "Bug7"
ExportAssets (56)Timeline Frame 85Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 85Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 85Symbol 75 as "LockedWallBlue"
ExportAssets (56)Timeline Frame 85Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 85Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 85Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 86Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 86Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 86Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 86Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 86Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 86Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 86Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 86Symbol 73 as "BlueFast"
ExportAssets (56)Timeline Frame 86Symbol 73 as "BlueFast"
ExportAssets (56)Timeline Frame 86Symbol 73 as "BlueFast"
ExportAssets (56)Timeline Frame 87Symbol 170 as "Trap"
ExportAssets (56)Timeline Frame 87Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 87Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 87Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 87Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 87Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 87Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 87Symbol 141 as "Fire"
ExportAssets (56)Timeline Frame 87Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 87Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 87Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 87Symbol 72 as "RopePoint"
ExportAssets (56)Timeline Frame 88Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 88Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 88Symbol 97 as "Stone"
ExportAssets (56)Timeline Frame 88Symbol 78 as "NestStone"
ExportAssets (56)Timeline Frame 88Symbol 139 as "wall100"
ExportAssets (56)Timeline Frame 88Symbol 139 as "wall100"
ExportAssets (56)Timeline Frame 88Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 88Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 88Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 88Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 88Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 88Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 88Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 88Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 88Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 88Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 88Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 89Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 89Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 89Symbol 132 as "Ice"
ExportAssets (56)Timeline Frame 89Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 89Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 89Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 89Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 89Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 89Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 89Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 89Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 89Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 89Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 89Symbol 82 as "Bug7"
ExportAssets (56)Timeline Frame 89Symbol 82 as "Bug7"
ExportAssets (56)Timeline Frame 89Symbol 82 as "Bug7"
ExportAssets (56)Timeline Frame 89Symbol 82 as "Bug7"
ExportAssets (56)Timeline Frame 89Symbol 71 as "wall50"
ExportAssets (56)Timeline Frame 89Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 89Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 89Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 89Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 89Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 90Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 90Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 90Symbol 90 as "Acid"
ExportAssets (56)Timeline Frame 90Symbol 71 as "wall50"
ExportAssets (56)Timeline Frame 90Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 90Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 90Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 90Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 90Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 90Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 90Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 90Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 90Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 90Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 90Symbol 161 as "Bug4"
ExportAssets (56)Timeline Frame 90Symbol 103 as "Bug6"
ExportAssets (56)Timeline Frame 90Symbol 103 as "Bug6"
ExportAssets (56)Timeline Frame 90Symbol 103 as "Bug6"
ExportAssets (56)Timeline Frame 90Symbol 82 as "Bug7"
ExportAssets (56)Timeline Frame 90Symbol 82 as "Bug7"
ExportAssets (56)Timeline Frame 90Symbol 82 as "Bug7"
ExportAssets (56)Timeline Frame 90Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 90Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 90Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 90Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 90Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 90Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 91Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 91Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 91Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 91Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 91Symbol 90 as "Acid"
ExportAssets (56)Timeline Frame 91Symbol 90 as "Acid"
ExportAssets (56)Timeline Frame 91Symbol 90 as "Acid"
ExportAssets (56)Timeline Frame 91Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 91Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 91Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 91Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 91Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 91Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 91Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 91Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 91Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 91Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 91Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 91Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 91Symbol 103 as "Bug6"
ExportAssets (56)Timeline Frame 91Symbol 103 as "Bug6"
ExportAssets (56)Timeline Frame 91Symbol 82 as "Bug7"
ExportAssets (56)Timeline Frame 91Symbol 82 as "Bug7"
ExportAssets (56)Timeline Frame 91Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 91Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 91Symbol 69 as "BlueDeath"
ExportAssets (56)Timeline Frame 91Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 91Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 91Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 91Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 91Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 91Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 91Symbol 110 as "Spike"
ExportAssets (56)Timeline Frame 91Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 91Symbol 164 as "Bug3"
ExportAssets (56)Timeline Frame 91Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 92Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 92Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 92Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 93Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 93Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 93Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 93Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 93Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 93Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 93Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 93Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 93Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 93Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 93Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 93Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 93Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 93Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 93Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 94Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 94Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 94Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 94Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 94Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 94Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 94Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 94Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 94Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 94Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 94Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 94Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 94Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 94Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 94Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 94Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 94Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 94Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 94Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 94Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 94Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 94Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 94Symbol 106 as "BlueGuardCapt"
ExportAssets (56)Timeline Frame 94Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 95Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 95Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 95Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 95Symbol 127 as "StairsDown"
ExportAssets (56)Timeline Frame 95Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 96Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 96Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 96Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 96Symbol 65 as "Displacer2"
ExportAssets (56)Timeline Frame 96Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 96Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 96Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 96Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 96Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 96Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 96Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 96Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 96Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 97Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 97Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 97Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 97Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 97Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 97Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 97Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 97Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 97Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 97Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 97Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 97Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 97Symbol 64 as "BlueParry"
ExportAssets (56)Timeline Frame 97Symbol 64 as "BlueParry"
ExportAssets (56)Timeline Frame 97Symbol 64 as "BlueParry"
ExportAssets (56)Timeline Frame 98Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 98Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 98Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 98Symbol 65 as "Displacer2"
ExportAssets (56)Timeline Frame 98Symbol 62 as "Fire2"
ExportAssets (56)Timeline Frame 98Symbol 62 as "Fire2"
ExportAssets (56)Timeline Frame 98Symbol 62 as "Fire2"
ExportAssets (56)Timeline Frame 98Symbol 62 as "Fire2"
ExportAssets (56)Timeline Frame 98Symbol 139 as "wall100"
ExportAssets (56)Timeline Frame 98Symbol 139 as "wall100"
ExportAssets (56)Timeline Frame 98Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 98Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 98Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 98Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 98Symbol 60 as "Displacer"
ExportAssets (56)Timeline Frame 98Symbol 64 as "BlueParry"
ExportAssets (56)Timeline Frame 98Symbol 64 as "BlueParry"
ExportAssets (56)Timeline Frame 98Symbol 73 as "BlueFast"
ExportAssets (56)Timeline Frame 99Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 99Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 99Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 99Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 99Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 99Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 99Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 99Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 99Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 99Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 99Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 99Symbol 57 as "BlueExpert"
ExportAssets (56)Timeline Frame 99Symbol 73 as "BlueFast"
ExportAssets (56)Timeline Frame 99Symbol 73 as "BlueFast"
ExportAssets (56)Timeline Frame 99Symbol 64 as "BlueParry"
ExportAssets (56)Timeline Frame 99Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 99Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 100Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 100Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 100Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 100Symbol 55 as "Trap5"
ExportAssets (56)Timeline Frame 100Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 100Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 100Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 100Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 100Symbol 125 as "TheButton"
ExportAssets (56)Timeline Frame 100Symbol 73 as "BlueFast"
ExportAssets (56)Timeline Frame 100Symbol 73 as "BlueFast"
ExportAssets (56)Timeline Frame 100Symbol 64 as "BlueParry"
ExportAssets (56)Timeline Frame 100Symbol 64 as "BlueParry"
ExportAssets (56)Timeline Frame 100Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 100Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 100Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 101Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 101Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 101Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 101Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 101Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 101Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 101Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 101Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 101Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 101Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 101Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 101Symbol 57 as "BlueExpert"
ExportAssets (56)Timeline Frame 101Symbol 73 as "BlueFast"
ExportAssets (56)Timeline Frame 101Symbol 73 as "BlueFast"
ExportAssets (56)Timeline Frame 101Symbol 64 as "BlueParry"
ExportAssets (56)Timeline Frame 101Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 101Symbol 151 as "Blue"
ExportAssets (56)Timeline Frame 102Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 102Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 102Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 102Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 102Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 102Symbol 223 as "Stuff"
ExportAssets (56)Timeline Frame 102Symbol 65 as "Displacer2"
ExportAssets (56)Timeline Frame 102Symbol 65 as "Displacer2"
ExportAssets (56)Timeline Frame 102Symbol 53 as "Displacer3"
ExportAssets (56)Timeline Frame 102Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 102Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 102Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 102Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 102Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 102Symbol 57 as "BlueExpert"
ExportAssets (56)Timeline Frame 102Symbol 73 as "BlueFast"
ExportAssets (56)Timeline Frame 102Symbol 73 as "BlueFast"
ExportAssets (56)Timeline Frame 102Symbol 73 as "BlueFast"
ExportAssets (56)Timeline Frame 103Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 103Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 103Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 103Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 103Symbol 60 as "Displacer"
ExportAssets (56)Timeline Frame 103Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 103Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 103Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 103Symbol 57 as "BlueExpert"
ExportAssets (56)Timeline Frame 103Symbol 57 as "BlueExpert"
ExportAssets (56)Timeline Frame 103Symbol 137 as "Laser"
ExportAssets (56)Timeline Frame 104Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 104Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 104Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 104Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 104Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 104Symbol 112 as "Stairs"
ExportAssets (56)Timeline Frame 104Symbol 52 as "Displacer4"
ExportAssets (56)Timeline Frame 104Symbol 49 as "arrow"
ExportAssets (56)Timeline Frame 104Symbol 49 as "arrow"
ExportAssets (56)Timeline Frame 104Symbol 47 as "Bluebow"
ExportAssets (56)Timeline Frame 104Symbol 47 as "Bluebow"
ExportAssets (56)Timeline Frame 104Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 104Symbol 45 as "BlueRanged"
ExportAssets (56)Timeline Frame 104Symbol 45 as "BlueRanged"
ExportAssets (56)Timeline Frame 105Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 105Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 105Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 105Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 105Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 105Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 105Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 105Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 105Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 105Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 105Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 105Symbol 73 as "BlueFast"
ExportAssets (56)Timeline Frame 105Symbol 64 as "BlueParry"
ExportAssets (56)Timeline Frame 105Symbol 57 as "BlueExpert"
ExportAssets (56)Timeline Frame 105Symbol 73 as "BlueFast"
ExportAssets (56)Timeline Frame 106Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 106Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 106Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 106Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 106Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 106Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 106Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 106Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 106Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 106Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 106Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 106Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 107Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 107Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 107Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 107Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 107Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 107Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 107Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 107Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 107Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 107Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 107Symbol 41 as "Bed"
ExportAssets (56)Timeline Frame 107Symbol 41 as "Bed"
ExportAssets (56)Timeline Frame 107Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 108Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 108Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 108Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 108Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 108Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 108Symbol 41 as "Bed"
ExportAssets (56)Timeline Frame 108Symbol 41 as "Bed"
ExportAssets (56)Timeline Frame 108Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 108Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 108Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 108Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 108Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 108Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 108Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 108Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 108Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 108Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 108Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 108Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 109Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 109Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 109Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 109Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 109Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 109Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 109Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 109Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 109Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 109Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 110Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 110Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 110Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 110Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 110Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 110Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 110Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 110Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 110Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 110Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 110Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 110Symbol 41 as "Bed"
ExportAssets (56)Timeline Frame 110Symbol 130 as "Nest"
ExportAssets (56)Timeline Frame 110Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 110Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 110Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 110Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 110Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 110Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 111Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 111Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 111Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 111Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 111Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 111Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 111Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 111Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 111Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 111Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 111Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 112Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 112Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 112Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 112Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 112Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 113Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 113Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 113Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 113Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 113Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 113Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 113Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 113Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 113Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 113Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 113Symbol 57 as "BlueExpert"
ExportAssets (56)Timeline Frame 113Symbol 57 as "BlueExpert"
ExportAssets (56)Timeline Frame 113Symbol 57 as "BlueExpert"
ExportAssets (56)Timeline Frame 114Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 114Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 114Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 114Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 114Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 114Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 114Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 114Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 114Symbol 37 as "BlueVet"
ExportAssets (56)Timeline Frame 115Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 115Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 115Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 115Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 115Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 115Symbol 35 as "Armory"
ExportAssets (56)Timeline Frame 115Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 115Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 115Symbol 64 as "BlueParry"
ExportAssets (56)Timeline Frame 116Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 116Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 116Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 116Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 116Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 116Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 117Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 117Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 117Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 117Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 117Symbol 32 as "LockedWallPurple"
ExportAssets (56)Timeline Frame 117Symbol 30 as "LockedWallBrown"
ExportAssets (56)Timeline Frame 117Symbol 30 as "LockedWallBrown"
ExportAssets (56)Timeline Frame 117Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 117Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 118Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 118Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 118Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 118Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 118Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 118Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 118Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 118Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 118Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 118Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 118Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 118Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 118Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 118Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 118Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 118Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 118Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 118Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 118Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 118Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 118Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 118Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 118Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 118Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 118Symbol 37 as "BlueVet"
ExportAssets (56)Timeline Frame 118Symbol 37 as "BlueVet"
ExportAssets (56)Timeline Frame 118Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 119Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 119Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 119Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 119Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 119Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 119Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 119Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 119Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 119Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 119Symbol 157 as "Box2"
ExportAssets (56)Timeline Frame 119Symbol 203 as "Box"
ExportAssets (56)Timeline Frame 119Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 119Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 119Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 119Symbol 39 as "Box3"
ExportAssets (56)Timeline Frame 119Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 119Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 119Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 119Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 119Symbol 57 as "BlueExpert"
ExportAssets (56)Timeline Frame 119Symbol 64 as "BlueParry"
ExportAssets (56)Timeline Frame 119Symbol 64 as "BlueParry"
ExportAssets (56)Timeline Frame 120Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 120Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 120Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 120Symbol 28 as "Bluewand"
ExportAssets (56)Timeline Frame 120Symbol 26 as "flamebold"
ExportAssets (56)Timeline Frame 120Symbol 26 as "flamebold"
ExportAssets (56)Timeline Frame 120Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 120Symbol 24 as "BlueWizard"
ExportAssets (56)Timeline Frame 120Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 120Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 120Symbol 92 as "BugAcid"
ExportAssets (56)Timeline Frame 120Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 121Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 121Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 121Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 121Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 121Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 121Symbol 127 as "StairsDown"
ExportAssets (56)Timeline Frame 121Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 121Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 121Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 121Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 121Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 121Symbol 57 as "BlueExpert"
ExportAssets (56)Timeline Frame 121Symbol 57 as "BlueExpert"
ExportAssets (56)Timeline Frame 121Symbol 57 as "BlueExpert"
ExportAssets (56)Timeline Frame 121Symbol 57 as "BlueExpert"
ExportAssets (56)Timeline Frame 122Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 122Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 122Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 122Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 122Symbol 71 as "wall50"
ExportAssets (56)Timeline Frame 122Symbol 71 as "wall50"
ExportAssets (56)Timeline Frame 122Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 122Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 122Symbol 47 as "Bluebow"
ExportAssets (56)Timeline Frame 122Symbol 47 as "Bluebow"
ExportAssets (56)Timeline Frame 122Symbol 47 as "Bluebow"
ExportAssets (56)Timeline Frame 122Symbol 57 as "BlueExpert"
ExportAssets (56)Timeline Frame 122Symbol 57 as "BlueExpert"
ExportAssets (56)Timeline Frame 122Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 122Symbol 45 as "BlueRanged"
ExportAssets (56)Timeline Frame 122Symbol 45 as "BlueRanged"
ExportAssets (56)Timeline Frame 122Symbol 45 as "BlueRanged"
ExportAssets (56)Timeline Frame 122Symbol 49 as "arrow"
ExportAssets (56)Timeline Frame 122Symbol 49 as "arrow"
ExportAssets (56)Timeline Frame 122Symbol 49 as "arrow"
ExportAssets (56)Timeline Frame 122Symbol 49 as "arrow"
ExportAssets (56)Timeline Frame 122Symbol 49 as "arrow"
ExportAssets (56)Timeline Frame 123Symbol 78 as "NestStone"
ExportAssets (56)Timeline Frame 123Symbol 97 as "Stone"
ExportAssets (56)Timeline Frame 123Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 123Symbol 166 as "Bug2"
ExportAssets (56)Timeline Frame 123Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 123Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 123Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 123Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 123Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 123Symbol 57 as "BlueExpert"
ExportAssets (56)Timeline Frame 123Symbol 57 as "BlueExpert"
ExportAssets (56)Timeline Frame 123Symbol 37 as "BlueVet"
ExportAssets (56)Timeline Frame 123Symbol 37 as "BlueVet"
ExportAssets (56)Timeline Frame 123Symbol 71 as "wall50"
ExportAssets (56)Timeline Frame 123Symbol 71 as "wall50"
ExportAssets (56)Timeline Frame 124Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 124Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 124Symbol 141 as "Fire"
ExportAssets (56)Timeline Frame 124Symbol 47 as "Bluebow"
ExportAssets (56)Timeline Frame 124Symbol 47 as "Bluebow"
ExportAssets (56)Timeline Frame 124Symbol 45 as "BlueRanged"
ExportAssets (56)Timeline Frame 124Symbol 45 as "BlueRanged"
ExportAssets (56)Timeline Frame 124Symbol 49 as "arrow"
ExportAssets (56)Timeline Frame 124Symbol 49 as "arrow"
ExportAssets (56)Timeline Frame 124Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 125Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 125Symbol 132 as "Ice"
ExportAssets (56)Timeline Frame 125Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 125Symbol 47 as "Bluebow"
ExportAssets (56)Timeline Frame 125Symbol 47 as "Bluebow"
ExportAssets (56)Timeline Frame 125Symbol 47 as "Bluebow"
ExportAssets (56)Timeline Frame 125Symbol 47 as "Bluebow"
ExportAssets (56)Timeline Frame 125Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 125Symbol 45 as "BlueRanged"
ExportAssets (56)Timeline Frame 125Symbol 45 as "BlueRanged"
ExportAssets (56)Timeline Frame 125Symbol 45 as "BlueRanged"
ExportAssets (56)Timeline Frame 125Symbol 45 as "BlueRanged"
ExportAssets (56)Timeline Frame 125Symbol 49 as "arrow"
ExportAssets (56)Timeline Frame 125Symbol 49 as "arrow"
ExportAssets (56)Timeline Frame 125Symbol 49 as "arrow"
ExportAssets (56)Timeline Frame 125Symbol 49 as "arrow"
ExportAssets (56)Timeline Frame 125Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 125Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 125Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 125Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 125Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 125Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 125Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 125Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 125Symbol 80 as "Goo"
ExportAssets (56)Timeline Frame 126Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 126Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 126Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 126Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 126Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 126Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 126Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 126Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 126Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 126Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 126Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 126Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 126Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 126Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 126Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 126Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 126Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 126Symbol 101 as "BugLightning"
ExportAssets (56)Timeline Frame 127Symbol 22 as "Randomizer"
ExportAssets (56)Timeline Frame 127Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 127Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 127Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 127Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 127Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 127Symbol 37 as "BlueVet"
ExportAssets (56)Timeline Frame 127Symbol 37 as "BlueVet"
ExportAssets (56)Timeline Frame 127Symbol 37 as "BlueVet"
ExportAssets (56)Timeline Frame 127Symbol 37 as "BlueVet"
ExportAssets (56)Timeline Frame 128Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 128Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 128Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 128Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 128Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 128Symbol 43 as "BlueFlee"
ExportAssets (56)Timeline Frame 128Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 128Symbol 41 as "Bed"
ExportAssets (56)Timeline Frame 128Symbol 37 as "BlueVet"
ExportAssets (56)Timeline Frame 129Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 129Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 129Symbol 47 as "Bluebow"
ExportAssets (56)Timeline Frame 129Symbol 47 as "Bluebow"
ExportAssets (56)Timeline Frame 129Symbol 47 as "Bluebow"
ExportAssets (56)Timeline Frame 129Symbol 49 as "arrow"
ExportAssets (56)Timeline Frame 129Symbol 49 as "arrow"
ExportAssets (56)Timeline Frame 129Symbol 49 as "arrow"
ExportAssets (56)Timeline Frame 129Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 129Symbol 45 as "BlueRanged"
ExportAssets (56)Timeline Frame 129Symbol 45 as "BlueRanged"
ExportAssets (56)Timeline Frame 129Symbol 45 as "BlueRanged"
ExportAssets (56)Timeline Frame 129Symbol 161 as "Bug4"
ExportAssets (56)Timeline Frame 130Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 130Symbol 71 as "wall50"
ExportAssets (56)Timeline Frame 130Symbol 153 as "Bluesword"
ExportAssets (56)Timeline Frame 130Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 130Symbol 73 as "BlueFast"
ExportAssets (56)Timeline Frame 131Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 131Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 131Symbol 90 as "Acid"
ExportAssets (56)Timeline Frame 131Symbol 90 as "Acid"
ExportAssets (56)Timeline Frame 131Symbol 90 as "Acid"
ExportAssets (56)Timeline Frame 131Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 131Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 131Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 131Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 131Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 131Symbol 37 as "BlueVet"
ExportAssets (56)Timeline Frame 131Symbol 37 as "BlueVet"
ExportAssets (56)Timeline Frame 131Symbol 57 as "BlueExpert"
ExportAssets (56)Timeline Frame 131Symbol 57 as "BlueExpert"
ExportAssets (56)Timeline Frame 132Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 132Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 132Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 132Symbol 112 as "Stairs"
ExportAssets (56)Timeline Frame 132Symbol 71 as "wall50"
ExportAssets (56)Timeline Frame 132Symbol 71 as "wall50"
ExportAssets (56)Timeline Frame 132Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 132Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 132Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 132Symbol 37 as "BlueVet"
ExportAssets (56)Timeline Frame 132Symbol 37 as "BlueVet"
ExportAssets (56)Timeline Frame 133Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 133Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 133Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 133Symbol 127 as "StairsDown"
ExportAssets (56)Timeline Frame 133Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 134Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 134Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 134Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 134Symbol 174 as "Bug"
ExportAssets (56)Timeline Frame 135Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 135Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 135Symbol 122 as "Wall"
ExportAssets (56)Timeline Frame 135Symbol 105 as "BlueSwordBig"
ExportAssets (56)Timeline Frame 135Symbol 175 as "Saver"
ExportAssets (56)Timeline Frame 135Symbol 18 as "BlueKing"

Labels

"loaded"Symbol 193 MovieClip Frame 3




http://swfchan.com/10/46536/info.shtml
Created: 3/5 -2019 11:55:52 Last modified: 3/5 -2019 11:55:53 Server time: 18/05 -2024 03:27:47