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

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

Ristar-Hero's Legacy Ep.1.swf

This is the info page for
Flash #55856

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


ActionScript [AS1/AS2]
Combined Code
movieClip 11 { } movieClip 15 { } movieClip 17 { } movieClip 18 { } movieClip 20 { } movieClip 22 { } movieClip 24 { } movieClip 25 { } movieClip 29 { } movieClip 30 { } movieClip 31 { } movieClip 33 { } movieClip 35 { } movieClip 37 { } movieClip 38 { } movieClip 40 { } movieClip 42 { } movieClip 44 { } movieClip 45 { } movieClip 46 { } movieClip 49 { } movieClip 50 { } movieClip 52 { } movieClip 54 { } movieClip 55 { } movieClip 57 { } movieClip 58 { } movieClip 60 { } movieClip 62 { } movieClip 65 { } movieClip 66 { } movieClip 68 { } movieClip 69 { } movieClip 71 { } movieClip 72 { } button 76 { on (release) { _root.play(); } } movieClip 77 { frame 1 { _root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { gotoAndStop('loaded'); } } frame 2 { gotoAndPlay(1); } } frame 2 { stop(); Stage.showMenu = false; _quality = 'MEDIUM'; } movieClip 81 { } movieClip 83 { } movieClip 85 { } movieClip 87 { } movieClip 88 { } button 95 { on (release) { play(); } } frame 4 { stop(); } button 96 { on (keyPress '<Space>') { play(); } } frame 6 { stop(); } movieClip 117 { } movieClip 125 { } movieClip 127 { } movieClip 129 { } frame 11 { stopAllSounds(); } frame 12 { var Screen = new Sound(); Screen.attachSound('Screen1'); var Scene1 = new Sound(); Scene1.attachSound('Scene 1'); var City = new Sound(); City.attachSound('City Music'); var Battle = new Sound(); Battle.attachSound('Battle'); var Jungle = new Sound(); Jungle.attachSound('Jungle Music'); var Soldier = new Sound(); Soldier.attachSound('Soldier Scene'); var Generals = new Sound(); Generals.attachSound('Generals Theme'); var Boss = new Sound(); Boss.attachSound('Boss Battle'); var Castle = new Sound(); Castle.attachSound('Greedy Castle'); var AfterBoss = new Sound(); AfterBoss.attachSound('AfterBossScene'); } frame 14 { _root.Screen.start(0, 999); } movieClip 130 { } movieClip 131 { } movieClip 132 { } movieClip 133 { } movieClip 134 { } movieClip 136 { } movieClip 138 { } movieClip 139 { frame 15 { stop(); } } movieClip 142 { frame 15 { stop(); } } frame 96 { stop(); } button 144 { on (release) { _root.pos = SharedObject.getLocal('Ristar1'); _root.Game = _root.pos.data.Game; _root.Lvl = _root.pos.data.Lvl; _root.RistarHp = _root.pos.data.RistarHp; _root.RistarHpMax = _root.pos.data.RistarHpMax; _root.RistarSp = _root.pos.data.RistarSp; _root.RistarSpMax = _root.pos.data.RistarSpMax; _root.ExpLeft = _root.pos.data.ExpLeft; _root.Money = _root.pos.data.Money; _root.CheckPoint = _root.pos.data.CheckPoint; _root.Drop = _root.pos.data.Drop; _root.Crystal = _root.pos.data.Crystal; _root.Soul = _root.pos.data.Soul; gotoAndPlay('Continue'); } } button 145 { on (release) { gotoAndPlay('NewGame'); } } frame 148 { stopAllSounds(); _root.Lvl = 1; _root.RistarHp = 578; _root.RistarHpMax = 578; _root.RistarSp = 210; _root.RistarSpMax = 210; _root.ExpLeft = 110; _root.Money = 1000; _root.CheckPoint = 0; _root.Game = 0; _root.Drop = 3; _root.Crystal = 1; _root.Soul = 2; } frame 149 { gotoAndPlay('Intro'); } frame 154 { if (_root.CheckPoint == 'undefined') { _root.CheckPoint -= 1; } } frame 155 { if (_root.CheckPoint <= 0) { gotoAndPlay(95); } } frame 211 { stopAllSounds(); if (_root.CheckPoint == 2) { gotoAndPlay('Castle1'); } if (_root.CheckPoint == 1) { gotoAndPlay('CPoint2'); } } movieClip 149 { } movieClip 151 { } movieClip 153 { } movieClip 155 { } movieClip 158 { } movieClip 160 { } movieClip 161 { } movieClip 162 { } movieClip 164 { } movieClip 166 { } movieClip 168 { } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player) == true && Key.isDown(38)) { _root.gotoAndPlay('InnHouse'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 7; } else { if (Key.isDown(39)) { this._x -= 7; } } } } movieClip 170 { } movieClip 173 { } movieClip 176 { } movieClip 178 { } movieClip 180 { } movieClip 181 { } movieClip 185 { } movieClip 188 { } movieClip 189 { } button 193 { on (keyPress '<Enter>') { gotoAndPlay('Screen'); } } frame 224 { _root.City.start(0, 999); } frame 225 { gotoAndPlay('CityIH'); } instance SavePoint1 of movieClip 117 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 7; } else { if (Key.isDown(39)) { this._x -= 7; } } } onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.CheckPoint = 1; } } } movieClip 196 { } movieClip 197 { } movieClip 201 { } movieClip 203 { } movieClip 205 { } movieClip 208 { } movieClip 210 { } movieClip 212 { } movieClip 214 { } movieClip 216 { } movieClip 218 { } movieClip 220 { } movieClip 222 { } movieClip 224 { } movieClip 226 { } movieClip 229 { } movieClip 231 { } movieClip 233 { } movieClip 237 { } movieClip 240 { } movieClip 245 { } movieClip 247 { } movieClip 249 { } movieClip 251 { } movieClip 253 { } movieClip 255 { } movieClip 259 { } movieClip 265 { } movieClip 268 { } movieClip 270 { } movieClip 272 { } movieClip 273 { } movieClip 274 { } frame 2110 { _root.Scene1.start(0, 999); } movieClip 276 { } movieClip 278 { } frame 2123 { stop(); } movieClip 281 { } frame 2149 { stop(); } frame 2154 { stop(); } frame 2159 { stop(); } frame 2164 { stop(); } movieClip 294 { } movieClip 296 { } frame 2342 { stop(); } frame 2348 { stop(); } frame 2357 { stopAllSounds(); } frame 2358 { _root.City.start(0, 999); } frame 2359 { gotoAndPlay('City'); } frame 2360 { stop(); } movieClip 306 { } movieClip 307 { } movieClip 308 { frame 70 { stop(); } } movieClip 309 { frame 40 { stop(); } } instance BG2 of movieClip 164 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 4; } else { if (Key.isDown(39)) { this._x -= 4; } } } } movieClip 313 { } button 319 { on (release) { gotoAndPlay(25); } } movieClip 320 { frame 1 { stop(); } frame 15 { stop(); } frame 25 { stop(); } } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player) == true && Key.isDown(38)) { _root.gotoAndPlay('House1'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 7; } else { if (Key.isDown(39)) { this._x -= 7; } } } } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player) == true && Key.isDown(38)) { _root.gotoAndPlay('ElderHouse'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 7; } else { if (Key.isDown(39)) { this._x -= 7; } } } } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player) == true && Key.isDown(38)) { _root.gotoAndPlay('InnHouse'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 7; } else { if (Key.isDown(39)) { this._x -= 7; } } } } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player) && _root.Game >= 20) { _root.gotoAndPlay('Jungle Enter'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 7; } else { if (Key.isDown(39)) { this._x -= 7; } } } } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player) && _root.Game <= 0) { _root.gotoAndPlay('Ristar Scene'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 7; } else { if (Key.isDown(39)) { this._x -= 7; } } } } instance CityPlataform of movieClip 189 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 7; } else { if (Key.isDown(39)) { this._x -= 7; } } } } instance SavePoint1 of movieClip 117 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 7; } else { if (Key.isDown(39)) { this._x -= 7; } } } onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.CheckPoint = 1; _root.pos = SharedObject.getLocal('Ristar1'); _root.pos.data.Game = _root.Game; _root.pos.data.Lvl = _root.Lvl; _root.pos.data.RistarHp = _root.RistarHp; _root.pos.data.RistarHpMax = _root.RistarHpMax; _root.pos.data.RistarSp = _root.RistarSp; _root.pos.data.RistarSpMax = _root.RistarSpMax; _root.pos.data.ExpLeft = _root.ExpLeft; _root.pos.data.Money = _root.Money; _root.pos.data.CheckPoint = _root.CheckPoint; _root.pos.data.Drop = _root.Drop; _root.pos.data.Crystal = _root.Crystal; _root.pos.data.Soul = _root.Soul; } } } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('Border'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 7; } else { if (Key.isDown(39)) { this._x -= 7; } } } } movieClip 328 { } movieClip 329 { } instance Player of movieClip 329 { onClipEvent (load) { gravity = 10; scale = _xscale; walkSpeed = 0; } onClipEvent (enterFrame) { if (air == true) { _y = _y + gravity; state = 3; } if (Key.isDown(37) && !_root.leftbound.hitTest(_x, _y, true)) { _x = _x - walkSpeed; _xscale = -scale; } if (Key.isDown(39) && !_root.rightbound.hitTest(_x, _y, true)) { _x = _x + walkSpeed; _xscale = scale; } if (_root.platforms.hitTest(_x, _y, true)) { air = false; } else { air = true; } if (air == false && !Key.isDown(37) && !Key.isDown(65) && _currentframe < 4 or air == false && !Key.isDown(39) && !Key.isDown(65) && _currentframe < 4) { state = 1; } if (Key.isDown(37) && air == false && !Key.isDown(65) && _currentframe < 4 or Key.isDown(39) && air == false && !Key.isDown(65) && _currentframe < 4) { state = 2; } if (!Key.isDown(65)) { gotoAndStop(state); } _root.statetxt = state; } onClipEvent (keyUp) { if (Key.getCode() == 83) { jump = false; } } } movieClip 332 { } movieClip 333 { } instance of movieClip 333 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 7; } else { if (Key.isDown(39)) { this._x -= 7; } } } } button 349 { on (release) { if (_root.Drop >= 1) { _root.Drop -= 1; _root.RistarHp += 250; if (_root.RistarHp >= _root.RistarHpMax) { _root.RistarHp = _root.RistarHpMax; } } } } button 353 { on (release) { if (_root.Crystal >= 1) { _root.Crystal -= 1; _root.RistarHp += 550; if (_root.RistarHp >= _root.RistarHpMax) { _root.RistarHp = _root.RistarHpMax; } } } } button 357 { on (release) { if (_root.Soul >= 1) { _root.Soul -= 1; _root.RistarSp += 180; if (_root.RistarSp >= _root.RistarSpMax) { _root.RistarSp = _root.RistarSpMax; } } } } frame 2366 { stop(); } frame 2369 { stop(); } instance CityPlataform of movieClip 189 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 7; _root.varx += 7; } else { if (Key.isDown(39)) { this._x -= 7; _root.varx -= 7; } } } } frame 2374 { stop(); } frame 2379 { stop(); } frame 2385 { stopAllSounds(); _root.City.start(0, 999); } frame 2403 { stop(); } movieClip 376 { } movieClip 378 { } movieClip 383 { } movieClip 384 { } frame 2413 { stop(); } button 385 { on (keyPress '<Down>') { gotoAndPlay('CityH1'); } } movieClip 387 { } movieClip 390 { } frame 2422 { if (_root.Game <= 0) { _root.gotoAndPlay('Amy Scene'); } } frame 2423 { stop(); } button 391 { on (keyPress '<Down>') { gotoAndPlay('CityEH'); } } movieClip 394 { } movieClip 395 { } frame 2434 { stop(); } button 402 { on (release) { if (_root.Money >= 250) { _root.Money -= 250; gotoAndPlay('Full'); } } } button 405 { on (release) { gotoAndPlay('Buy'); } } button 409 { on (keyPress '<Down>') { gotoAndPlay('CityIH'); } } frame 2438 { stop(); } button 411 { on (release) { if (_root.Money >= 130) { _root.Money -= 130; _root.Drop += 1; } } } button 412 { on (release) { if (_root.Money >= 250) { _root.Money -= 250; _root.Crystal += 1; } } } button 413 { on (release) { if (_root.Money >= 200) { _root.Money -= 200; _root.Soul += 1; } } } frame 2444 { _root.RistarHp = _root.RistarHpMax; _root.RistarSp = _root.RistarSpMax; gotoAndPlay('InnHouse'); } frame 2445 { stop(); } movieClip 425 { } movieClip 430 { } movieClip 432 { } frame 2480 { stop(); } movieClip 435 { } frame 2483 { stop(); } frame 2487 { stop(); } movieClip 438 { } frame 2490 { stop(); } frame 2493 { stop(); } frame 2496 { stop(); } frame 2499 { stop(); } frame 2501 { stop(); } frame 2504 { stop(); } frame 2507 { stop(); } frame 2510 { stop(); } frame 2513 { stop(); } frame 2516 { stop(); } frame 2519 { stop(); } frame 2521 { stop(); } frame 2524 { stop(); } frame 2544 { gotoAndPlay('CityEH'); _root.Game = 20; } frame 2566 { stop(); } frame 2572 { gotoAndPlay('BackJ'); } movieClip 457 { } movieClip 458 { } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('BackJ'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('Castle1'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } movieClip 463 { } movieClip 467 { } movieClip 472 { } movieClip 473 { } instance of movieClip 473 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('Battle1'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 473 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('Battle1'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } movieClip 477 { } instance of movieClip 477 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('Battle2'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } movieClip 480 { } movieClip 483 { } frame 2579 { stopAllSounds(); } frame 2580 { _root.Jungle.start(0, 999); } movieClip 485 { } frame 2608 { stop(); } frame 2611 { stop(); } frame 2615 { stop(); } frame 2619 { stop(); } button 492 { on (release) { gotoAndPlay('YesTutorial'); } } button 495 { on (release) { gotoAndPlay('Jungle Enter'); _root.Game = 40; } } frame 2628 { stop(); } movieClip 498 { } movieClip 500 { } frame 2654 { stopAllSounds(); } frame 2655 { _root.Battle.start(0, 999); } frame 2688 { stop(); } button 504 { on (release) { gotoAndPlay('TutorialEnd'); _root.Game = 40; } } button 507 { on (release) { gotoAndPlay('Objective'); } } button 510 { on (release) { gotoAndPlay('Status'); } } button 513 { on (release) { gotoAndPlay('Magic'); } } button 516 { on (release) { gotoAndPlay('ItemsUse'); } } button 519 { on (release) { gotoAndPlay('Results'); } } frame 2693 { stop(); } button 521 { on (keyPress '<Space>') { gotoAndPlay('MainTutorial'); } } movieClip 524 { } frame 2698 { stop(); } movieClip 532 { } frame 2702 { stop(); } button 537 { on (keyPress '<Space>') { gotoAndPlay('MainTutorial'); } } frame 2706 { stop(); } movieClip 540 { } frame 2715 { stop(); } movieClip 544 { } movieClip 546 { } movieClip 548 { } movieClip 549 { } frame 2737 { stop(); } frame 2740 { stop(); } frame 2743 { stop(); } movieClip 555 { } frame 2763 { stop(); } movieClip 559 { } movieClip 562 { } movieClip 564 { } movieClip 569 { } frame 2782 { stop(); } movieClip 573 { } frame 2793 { stop(); } frame 2805 { stop(); } frame 2844 { _root.Game = 40; gotoAndPlay('Jungle Enter'); stopAllSounds(); } instance of movieClip 458 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 4; } else { if (Key.isDown(39)) { this._x -= 4; } } } } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('BackJ'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('Castle1'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 463 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance Player of movieClip 329 { onClipEvent (load) { gravity = 10; scale = _xscale; walkSpeed = 0; } onClipEvent (enterFrame) { if (air == true) { _y = _y + gravity; state = 3; } if (Key.isDown(37) && !_root.leftbound.hitTest(_x, _y, true)) { _x = _x - walkSpeed; _xscale = -scale; } if (Key.isDown(39) && !_root.rightbound.hitTest(_x, _y, true)) { _x = _x + walkSpeed; _xscale = scale; } if (_root.platforms.hitTest(_x, _y, true)) { air = false; } else { air = true; } if (air == false && !Key.isDown(37) && !Key.isDown(65) && _currentframe < 4 or air == false && !Key.isDown(39) && !Key.isDown(65) && _currentframe < 4) { state = 1; } if (Key.isDown(37) && air == false && !Key.isDown(65) && _currentframe < 4 or Key.isDown(39) && air == false && !Key.isDown(65) && _currentframe < 4) { state = 2; } if (!Key.isDown(65)) { gotoAndStop(state); } _root.statetxt = state; } onClipEvent (keyUp) { if (Key.getCode() == 83) { jump = false; } } } instance of movieClip 473 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('Battle1'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 473 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('Battle1'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 477 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('Battle2'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 483 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 11; } else { if (Key.isDown(39)) { this._x -= 11; } } } } frame 2861 { stopAllSounds(); } frame 2862 { if (_root.Game <= 30) { _root.gotoAndPlay('Tutorial'); } } frame 2862 { _root.Jungle.start(0, 999); } frame 2874 { stop(); _root.BattlePre = 0; } instance of movieClip 458 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 4; } else { if (Key.isDown(39)) { this._x -= 4; } } } } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('BackJ'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('Castle1'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 463 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance Player of movieClip 329 { onClipEvent (load) { gravity = 10; scale = _xscale; walkSpeed = 0; } onClipEvent (enterFrame) { if (air == true) { _y = _y + gravity; state = 3; } if (Key.isDown(37) && !_root.leftbound.hitTest(_x, _y, true)) { _x = _x - walkSpeed; _xscale = -scale; } if (Key.isDown(39) && !_root.rightbound.hitTest(_x, _y, true)) { _x = _x + walkSpeed; _xscale = scale; } if (_root.platforms.hitTest(_x, _y, true)) { air = false; } else { air = true; } if (air == false && !Key.isDown(37) && !Key.isDown(65) && _currentframe < 4 or air == false && !Key.isDown(39) && !Key.isDown(65) && _currentframe < 4) { state = 1; } if (Key.isDown(37) && air == false && !Key.isDown(65) && _currentframe < 4 or Key.isDown(39) && air == false && !Key.isDown(65) && _currentframe < 4) { state = 2; } if (!Key.isDown(65)) { gotoAndStop(state); } _root.statetxt = state; } onClipEvent (keyUp) { if (Key.getCode() == 83) { jump = false; } } } instance of movieClip 473 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('Battle1'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 483 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 11; } else { if (Key.isDown(39)) { this._x -= 11; } } } } frame 2881 { stopAllSounds(); } frame 2882 { _root.Jungle.start(0, 999); } frame 2893 { stop(); } instance of movieClip 458 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 4; } else { if (Key.isDown(39)) { this._x -= 4; } } } } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('BackJ'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('Castle1'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 463 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance Player of movieClip 329 { onClipEvent (load) { gravity = 10; scale = _xscale; walkSpeed = 0; } onClipEvent (enterFrame) { if (air == true) { _y = _y + gravity; state = 3; } if (Key.isDown(37) && !_root.leftbound.hitTest(_x, _y, true)) { _x = _x - walkSpeed; _xscale = -scale; } if (Key.isDown(39) && !_root.rightbound.hitTest(_x, _y, true)) { _x = _x + walkSpeed; _xscale = scale; } if (_root.platforms.hitTest(_x, _y, true)) { air = false; } else { air = true; } if (air == false && !Key.isDown(37) && !Key.isDown(65) && _currentframe < 4 or air == false && !Key.isDown(39) && !Key.isDown(65) && _currentframe < 4) { state = 1; } if (Key.isDown(37) && air == false && !Key.isDown(65) && _currentframe < 4 or Key.isDown(39) && air == false && !Key.isDown(65) && _currentframe < 4) { state = 2; } if (!Key.isDown(65)) { gotoAndStop(state); } _root.statetxt = state; } onClipEvent (keyUp) { if (Key.getCode() == 83) { jump = false; } } } instance of movieClip 477 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('Battle2'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 483 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 11; } else { if (Key.isDown(39)) { this._x -= 11; } } } } frame 2902 { stopAllSounds(); } frame 2903 { _root.Jungle.start(0, 999); } frame 2914 { stop(); } instance of movieClip 458 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 4; } else { if (Key.isDown(39)) { this._x -= 4; } } } } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('BackJ'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('Castle1'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('BackJ'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('Castle1'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 463 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance Player of movieClip 329 { onClipEvent (load) { gravity = 10; scale = _xscale; walkSpeed = 0; } onClipEvent (enterFrame) { if (air == true) { _y = _y + gravity; state = 3; } if (Key.isDown(37) && !_root.leftbound.hitTest(_x, _y, true)) { _x = _x - walkSpeed; _xscale = -scale; } if (Key.isDown(39) && !_root.rightbound.hitTest(_x, _y, true)) { _x = _x + walkSpeed; _xscale = scale; } if (_root.platforms.hitTest(_x, _y, true)) { air = false; } else { air = true; } if (air == false && !Key.isDown(37) && !Key.isDown(65) && _currentframe < 4 or air == false && !Key.isDown(39) && !Key.isDown(65) && _currentframe < 4) { state = 1; } if (Key.isDown(37) && air == false && !Key.isDown(65) && _currentframe < 4 or Key.isDown(39) && air == false && !Key.isDown(65) && _currentframe < 4) { state = 2; } if (!Key.isDown(65)) { gotoAndStop(state); } _root.statetxt = state; } onClipEvent (keyUp) { if (Key.getCode() == 83) { jump = false; } } } instance of movieClip 483 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 11; } else { if (Key.isDown(39)) { this._x -= 11; } } } } frame 2922 { stopAllSounds(); } frame 2923 { _root.Jungle.start(0, 999); } frame 2934 { stop(); } instance of movieClip 458 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 4; } else { if (Key.isDown(39)) { this._x -= 4; } } } } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('BackJ'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('Castle1'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 463 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance Player of movieClip 329 { onClipEvent (load) { gravity = 10; scale = _xscale; walkSpeed = 0; } onClipEvent (enterFrame) { if (air == true) { _y = _y + gravity; state = 3; } if (Key.isDown(37) && !_root.leftbound.hitTest(_x, _y, true)) { _x = _x - walkSpeed; _xscale = -scale; } if (Key.isDown(39) && !_root.rightbound.hitTest(_x, _y, true)) { _x = _x + walkSpeed; _xscale = scale; } if (_root.platforms.hitTest(_x, _y, true)) { air = false; } else { air = true; } if (air == false && !Key.isDown(37) && !Key.isDown(65) && _currentframe < 4 or air == false && !Key.isDown(39) && !Key.isDown(65) && _currentframe < 4) { state = 1; } if (Key.isDown(37) && air == false && !Key.isDown(65) && _currentframe < 4 or Key.isDown(39) && air == false && !Key.isDown(65) && _currentframe < 4) { state = 2; } if (!Key.isDown(65)) { gotoAndStop(state); } _root.statetxt = state; } onClipEvent (keyUp) { if (Key.getCode() == 83) { jump = false; } } } instance of movieClip 483 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 11; } else { if (Key.isDown(39)) { this._x -= 11; } } } } frame 2949 { stopAllSounds(); } frame 2950 { _root.Jungle.start(0, 999); } frame 2961 { stop(); } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('Jungle Enter2'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('Boss'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 458 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 4; } else { if (Key.isDown(39)) { this._x -= 4; } } } } movieClip 628 { } movieClip 631 { } movieClip 632 { } instance of movieClip 632 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 6; } else { if (Key.isDown(39)) { this._x -= 6; } } } } movieClip 634 { } instance of movieClip 634 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance SavePoint1 of movieClip 117 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 7; } else { if (Key.isDown(39)) { this._x -= 7; } } } onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.CheckPoint = 2; _root.pos = SharedObject.getLocal('Ristar1'); _root.pos.data.Game = _root.Game; _root.pos.data.Lvl = _root.Lvl; _root.pos.data.RistarHp = _root.RistarHp; _root.pos.data.RistarHpMax = _root.RistarHpMax; _root.pos.data.RistarSp = _root.RistarSp; _root.pos.data.RistarSpMax = _root.RistarSpMax; _root.pos.data.ExpLeft = _root.ExpLeft; _root.pos.data.Money = _root.Money; _root.pos.data.CheckPoint = _root.CheckPoint; _root.pos.data.Drop = _root.Drop; _root.pos.data.Crystal = _root.Crystal; _root.pos.data.Soul = _root.Soul; } } } instance Player of movieClip 329 { onClipEvent (load) { gravity = 10; scale = _xscale; walkSpeed = 0; } onClipEvent (enterFrame) { if (air == true) { _y = _y + gravity; state = 3; } if (Key.isDown(37) && !_root.leftbound.hitTest(_x, _y, true)) { _x = _x - walkSpeed; _xscale = -scale; } if (Key.isDown(39) && !_root.rightbound.hitTest(_x, _y, true)) { _x = _x + walkSpeed; _xscale = scale; } if (_root.platforms.hitTest(_x, _y, true)) { air = false; } else { air = true; } if (air == false && !Key.isDown(37) && !Key.isDown(65) && _currentframe < 4 or air == false && !Key.isDown(39) && !Key.isDown(65) && _currentframe < 4) { state = 1; } if (Key.isDown(37) && air == false && !Key.isDown(65) && _currentframe < 4 or Key.isDown(39) && air == false && !Key.isDown(65) && _currentframe < 4) { state = 2; } if (!Key.isDown(65)) { gotoAndStop(state); } _root.statetxt = state; } onClipEvent (keyUp) { if (Key.getCode() == 83) { jump = false; } } } movieClip 636 { } instance of movieClip 636 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player) && _root.Game <= 50) { _root.gotoAndPlay('Soldier Scene'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } frame 2966 { stopAllSounds(); } frame 2967 { _root.Soldier.start(0, 999); } frame 2979 { stop(); } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('Jungle Enter2'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 168 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.gotoAndPlay('Boss'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance of movieClip 458 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 4; } else { if (Key.isDown(39)) { this._x -= 4; } } } } instance of movieClip 632 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 6; } else { if (Key.isDown(39)) { this._x -= 6; } } } } instance of movieClip 634 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } instance SavePoint1 of movieClip 117 { onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 7; } else { if (Key.isDown(39)) { this._x -= 7; } } } onClipEvent (enterFrame) { if (this.hitTest(_root.Player)) { _root.CheckPoint = 2; _root.pos = SharedObject.getLocal('Ristar1'); _root.pos.data.Game = _root.Game; _root.pos.data.Lvl = _root.Lvl; _root.pos.data.RistarHp = _root.RistarHp; _root.pos.data.RistarHpMax = _root.RistarHpMax; _root.pos.data.RistarSp = _root.RistarSp; _root.pos.data.RistarSpMax = _root.RistarSpMax; _root.pos.data.ExpLeft = _root.ExpLeft; _root.pos.data.Money = _root.Money; _root.pos.data.CheckPoint = _root.CheckPoint; _root.pos.data.Drop = _root.Drop; _root.pos.data.Crystal = _root.Crystal; _root.pos.data.Soul = _root.Soul; } } } instance Player of movieClip 329 { onClipEvent (load) { gravity = 10; scale = _xscale; walkSpeed = 0; } onClipEvent (enterFrame) { if (air == true) { _y = _y + gravity; state = 3; } if (Key.isDown(37) && !_root.leftbound.hitTest(_x, _y, true)) { _x = _x - walkSpeed; _xscale = -scale; } if (Key.isDown(39) && !_root.rightbound.hitTest(_x, _y, true)) { _x = _x + walkSpeed; _xscale = scale; } if (_root.platforms.hitTest(_x, _y, true)) { air = false; } else { air = true; } if (air == false && !Key.isDown(37) && !Key.isDown(65) && _currentframe < 4 or air == false && !Key.isDown(39) && !Key.isDown(65) && _currentframe < 4) { state = 1; } if (Key.isDown(37) && air == false && !Key.isDown(65) && _currentframe < 4 or Key.isDown(39) && air == false && !Key.isDown(65) && _currentframe < 4) { state = 2; } if (!Key.isDown(65)) { gotoAndStop(state); } _root.statetxt = state; } onClipEvent (keyUp) { if (Key.getCode() == 83) { jump = false; } } } instance of movieClip 636 { onClipEvent (enterFrame) { if (this.hitTest(_root.Player) && _root.Game <= 49) { _root.gotoAndPlay('Soldier Scene'); } } onClipEvent (enterFrame) { if (Key.isDown(37)) { this._x += 8; } else { if (Key.isDown(39)) { this._x -= 8; } } } } frame 2997 { stop(); } frame 2999 { stopAllSounds(); } frame 3000 { _root.Battle.start(0, 999); } frame 3148 { _root.EnemyHp = 640; _root.EnemyHpMax = 640; _root.BattlePre += 10; } movieClip 664 { } movieClip 674 { } movieClip 677 { } button 678 { on (release) { gotoAndPlay('Attack1'); } } button 681 { on (release) { gotoAndPlay('Skill1'); } } button 684 { on (release) { gotoAndPlay('Item1'); } } frame 3158 { stop(); _root.Atk = Math.round(Math.random() * 1) + 1; } frame 3165 { stop(); } button 693 { on (release) { if (_root.RistarSp >= 40) { _root.RistarSp -= 40; gotoAndPlay('StarShot1'); } } } button 698 { on (release) { if (_root.RistarSp >= 65) { _root.RistarSp -= 65; gotoAndPlay('HeadBut1'); } } } button 703 { on (release) { if (_root.RistarSp >= 95) { _root.RistarSp -= 95; gotoAndPlay('Meteor1'); } } } frame 3169 { stop(); } button 713 { on (release) { if (_root.Drop >= 1) { _root.Drop -= 1; gotoAndPlay('Drop1'); } } } button 719 { on (release) { if (_root.Soul >= 1) { _root.Soul -= 1; gotoAndPlay('Essence1'); } } } button 726 { on (release) { if (_root.Crystal >= 1) { _root.Crystal -= 1; gotoAndPlay('Crystal1'); } } } movieClip 748 { } movieClip 750 { } frame 3219 { _root.damage1 = Math.round(Math.random() * 15) + 75 + _root.Lvl * 38; _root.EnemyHp -= _root.damage1; if (_root.EnemyHp <= 0) { _root.EnemyHp = 0; } } frame 3233 { if (_root.EnemyHp <= 0) { gotoAndPlay('E.1Dead'); } } frame 3234 { if (_root.EnemyHp <= 0) { gotoAndPlay('E.1Dead'); } if (_root.Atk == 1) { gotoAndPlay('E.Attack1'); } if (_root.Atk == 2) { gotoAndPlay('E.Magic1.1'); } } movieClip 784 { } frame 3284 { _root.damage1 = Math.round(Math.random() * 15) + 115 + _root.Lvl * 47; _root.EnemyHp -= _root.damage1; if (_root.EnemyHp <= 0) { _root.EnemyHp = 0; } } frame 3314 { if (_root.EnemyHp <= 0) { gotoAndPlay('E.1Dead'); } } frame 3315 { if (_root.EnemyHp <= 0) { gotoAndPlay('E.1Dead'); } if (_root.Atk == 1) { gotoAndPlay('E.Attack1'); } if (_root.Atk == 2) { gotoAndPlay('E.Magic1.1'); } } movieClip 791 { } movieClip 792 { } movieClip 794 { } movieClip 796 { } movieClip 798 { } movieClip 801 { } frame 3415 { _root.damage1 = Math.round(Math.random() * 15) + 180 + _root.Lvl * 56; _root.EnemyHp -= _root.damage1; if (_root.EnemyHp <= 0) { _root.EnemyHp = 0; } } frame 3476 { if (_root.EnemyHp <= 0) { gotoAndPlay('E.1Dead'); } } frame 3477 { if (_root.EnemyHp <= 0) { gotoAndPlay('E.1Dead'); } if (_root.Atk == 1) { gotoAndPlay('E.Attack1'); } if (_root.Atk == 2) { gotoAndPlay('E.Magic1.1'); } } movieClip 819 { } frame 3558 { _root.damage1 = Math.round(Math.random() * 15) + 225 + _root.Lvl * 65; _root.EnemyHp -= _root.damage1; if (_root.EnemyHp <= 0) { _root.EnemyHp = 0; } } frame 3579 { if (_root.EnemyHp <= 0) { gotoAndPlay('E.1Dead'); } } frame 3580 { if (_root.EnemyHp <= 0) { gotoAndPlay('E.1Dead'); } if (_root.Atk == 1) { gotoAndPlay('E.Attack1'); } if (_root.Atk == 2) { gotoAndPlay('E.Magic1.1'); } } movieClip 824 { } movieClip 832 { } frame 3638 { _root.RistarHp += 250; if (_root.RistarHp >= _root.RistarHpMax) { _root.RistarHp = _root.RistarHpMax; } } frame 3653 { if (_root.EnemyHp <= 0) { gotoAndPlay('E.1Dead'); } if (_root.Atk == 1) { gotoAndPlay('E.Attack1'); } if (_root.Atk == 2) { gotoAndPlay('E.Magic1.1'); } } movieClip 835 { } frame 3700 { _root.RistarHp += 550; if (_root.RistarHp >= _root.RistarHpMax) { _root.RistarHp = _root.RistarHpMax; } } frame 3720 { if (_root.EnemyHp <= 0) { gotoAndPlay('E.1Dead'); } if (_root.Atk == 1) { gotoAndPlay('E.Attack1'); } if (_root.Atk == 2) { gotoAndPlay('E.Magic1.1'); } } movieClip 837 { } frame 3775 { _root.RistarSp += 180; if (_root.RistarSp >= _root.RistarSpMax) { _root.RistarSp = _root.RistarSpMax; } } frame 3795 { if (_root.EnemyHp <= 0) { gotoAndPlay('E.1Dead'); } if (_root.Atk == 1) { gotoAndPlay('E.Attack1'); } if (_root.Atk == 2) { gotoAndPlay('E.Magic1.1'); } } movieClip 842 { frame 35 { stop(); } } frame 3830 { _root.damage1 = Math.round(Math.random() * 15) + 60; _root.RistarHp -= _root.damage1; if (_root.RistarHp <= 0) { _root.RistarHp = 0; } } movieClip 845 { } frame 3838 { if (_root.RistarHp <= 0) { gotoAndPlay('RistarDead1'); } } frame 3853 { gotoAndPlay('Command1'); } movieClip 847 { } movieClip 849 { } movieClip 850 { } movieClip 855 { frame 25 { stop(); } } movieClip 856 { } movieClip 858 { } frame 3927 { _root.damage1 = Math.round(Math.random() * 15) + 98; _root.RistarHp -= _root.damage1; if (_root.RistarHp <= 0) { _root.RistarHp = 0; } } frame 3932 { if (_root.RistarHp <= 0) { gotoAndPlay('RistarDead1'); } } frame 3958 { gotoAndPlay('Command1'); } movieClip 866 { frame 3 { stop(); } } frame 4032 { gotoAndPlay('AfterBattle'); _root.ExpGain = 86; _root.MoneyGain = Math.round(Math.random() * 10) + 50; } movieClip 871 { frame 7 { stop(); } } frame 4090 { gotoAndPlay('GameOver'); } frame 4100 { stopAllSounds(); } frame 4101 { _root.Battle.start(0, 999); } frame 4248 { _root.EnemyHp = 480; _root.EnemyHpMax = 480; _root.BattlePre += 10; } frame 4258 { stop(); _root.Atk = Math.round(Math.random() * 1) + 1; } button 881 { on (release) { gotoAndPlay('Attack2'); } } button 882 { on (release) { gotoAndPlay('Skill2'); } } button 883 { on (release) { gotoAndPlay('Item2'); } } frame 4265 { stop(); } button 884 { on (release) { if (_root.RistarSp >= 40) { _root.RistarSp -= 40; gotoAndPlay('StarShot2'); } } } button 885 { on (release) { if (_root.RistarSp >= 65) { _root.RistarSp -= 65; gotoAndPlay('HeadBut2'); } } } button 886 { on (release) { if (_root.RistarSp >= 95) { _root.RistarSp -= 95; gotoAndPlay('Meteor2'); } } } frame 4269 { stop(); } button 887 { on (release) { if (_root.Drop >= 1) { _root.Drop -= 1; gotoAndPlay('Drop2'); } } } button 888 { on (release) { if (_root.Soul >= 1) { _root.Soul -= 1; gotoAndPlay('Essence2'); } } } button 889 { on (release) { if (_root.Crystal >= 1) { _root.Crystal -= 1; gotoAndPlay('Crystal2'); } } } movieClip 891 { } frame 4319 { _root.damage1 = Math.round(Math.random() * 15) + 75 + _root.Lvl * 38; _root.EnemyHp -= _root.damage1; if (_root.EnemyHp <= 0) { _root.EnemyHp = 0; } } frame 4332 { if (_root.EnemyHp <= 0) { gotoAndPlay('E.2Dead'); } } frame 4333 { if (_root.EnemyHp <= 0) { gotoAndPlay('E.2Dead'); } if (_root.Atk == 1) { gotoAndPlay('E.Magic2.1'); } if (_root.Atk == 2) { gotoAndPlay('E.Magic2.2'); } } frame 4383 { _root.damage1 = Math.round(Math.random() * 15) + 115 + _root.Lvl * 47; _root.EnemyHp -= _root.damage1; if (_root.EnemyHp <= 0) { _root.EnemyHp = 0; } } frame 4415 { if (_root.EnemyHp <= 0) { gotoAndPlay('E.2Dead'); } } frame 4416 { if (_root.EnemyHp <= 0) { gotoAndPlay('E.2Dead'); } if (_root.Atk == 1) { gotoAndPlay('E.Magic2.1'); } if (_root.Atk == 2) { gotoAndPlay('E.Magic2.2'); } } frame 4514 { _root.damage1 = Math.round(Math.random() * 15) + 180 + _root.Lvl * 56; _root.EnemyHp -= _root.damage1; if (_root.EnemyHp <= 0) { _root.EnemyHp = 0; } } movieClip 896 { } frame 4584 { if (_root.EnemyHp <= 0) { gotoAndPlay('E.2Dead'); } } frame 4585 { if (_root.EnemyHp <= 0) { gotoAndPlay('E.2Dead'); } if (_root.Atk == 1) { gotoAndPlay('E.Magic2.1'); } if (_root.Atk == 2) { gotoAndPlay('E.Magic2.2'); } } frame 4657 { _root.damage1 = Math.round(Math.random() * 15) + 205 + _root.Lvl * 65; _root.EnemyHp -= _root.damage1; if (_root.EnemyHp <= 0) { _root.EnemyHp = 0; } } frame 4691 { if (_root.EnemyHp <= 0) { gotoAndPlay('E.2Dead'); } } frame 4692 { if (_root.EnemyHp <= 0) { gotoAndPlay('E.2Dead'); } if (_root.Atk == 1) { gotoAndPlay('E.Magic2.1'); } if (_root.Atk == 2) { gotoAndPlay('E.Magic2.2'); } } frame 4737 { _root.RistarHp += 250; if (_root.RistarHp >= _root.RistarHpMax) { _root.RistarHp = _root.RistarHpMax; } } frame 4751 { if (_root.EnemyHp <= 0) { gotoAndPlay('E.2Dead'); } if (_root.Atk == 1) { gotoAndPlay('E.Magic2.1'); } if (_root.Atk == 2) { gotoAndPlay('E.Magic2.1'); } } frame 4799 { _root.RistarHp += 550; if (_root.RistarHp >= _root.RistarHpMax) { _root.RistarHp = _root.RistarHpMax; } } frame 4822 { if (_root.EnemyHp <= 0) { gotoAndPlay('E.2Dead'); } if (_root.Atk == 1) { gotoAndPlay('E.Magic2.1'); } if (_root.Atk == 2) { gotoAndPlay('E.Magic2.1'); } } frame 4874 { _root.RistarSp += 180; if (_root.RistarSp >= _root.RistarSpMax) { _root.RistarSp = _root.RistarSpMax; } } frame 4890 { if (_root.EnemyHp <= 0) { gotoAndPlay('E.2Dead'); } if (_root.Atk == 1) { gotoAndPlay('E.Magic2.1'); } if (_root.Atk == 2) { gotoAndPlay('E.Magic2.1'); } } movieClip 900 { frame 20 { stop(); } } frame 4971 { _root.damage1 = Math.round(Math.random() * 15) + 98; _root.RistarHp -= _root.damage1; if (_root.RistarHp <= 0) { _root.RistarHp = 0; } } frame 4976 { if (_root.RistarHp <= 0) { gotoAndPlay('RistarDead2'); } } frame 4991 { gotoAndPlay('Command2'); } movieClip 902 { } frame 5105 { _root.damage1 = Math.round(Math.random() * 15) + 155; _root.RistarHp -= _root.damage1; if (_root.RistarHp <= 0) { _root.RistarHp = 0; } } movieClip 915 { } frame 5125 { if (_root.RistarHp <= 0) { gotoAndPlay('RistarDead2'); } } frame 5148 { gotoAndPlay('Command2'); } movieClip 917 { } frame 5239 { gotoAndPlay('AfterBattle'); _root.ExpGain = 98; _root.MoneyGain = Math.round(Math.random() * 16) + 70; } frame 5293 { gotoAndPlay('GameOver'); } movieClip 919 { } frame 5331 { stop(); } frame 5336 { stop(); } frame 5341 { stop(); } frame 5344 { stop(); } frame 5349 { stop(); } frame 5388 { _root.Game = 60; gotoAndPlay('After Soldier'); } movieClip 927 { } movieClip 929 { } movieClip 931 { } frame 5405 { stopAllSounds(); } movieClip 934 { frame 3 { stop(); } } movieClip 937 { } movieClip 939 { } movieClip 941 { } frame 5546 { stop(); } frame 5549 { stop(); } movieClip 947 { } frame 5575 { stop(); } frame 5580 { stop(); } movieClip 949 { } movieClip 950 { } movieClip 951 { frame 35 { stop(); } } frame 5585 { stop(); } frame 5588 { stop(); } frame 5593 { stop(); } frame 5598 { stop(); } frame 5601 { stop(); } frame 5606 { stop(); } frame 5611 { stop(); } frame 5616 { stop(); } frame 5620 { stop(); } frame 5623 { stop(); } frame 5628 { stop(); } frame 5632 { stop(); } frame 5675 { stop(); } frame 5679 { stop(); } frame 5682 { stop(); } movieClip 970 { } movieClip 976 { } movieClip 977 { } movieClip 980 { } frame 5750 { stop(); } frame 5753 { stop(); } movieClip 984 { } frame 5780 { stop(); } frame 5794 { stopAllSounds(); } frame 5808 { _root.Boss.start(0, 999); } frame 5813 { gotoAndPlay('BossBattle'); } frame 5871 { _root.EnemyHp = 2200; _root.EnemyHpMax = 2200; _root.BattlePre += 10; } frame 5884 { stop(); _root.Atk = Math.round(Math.random() * 3) + 1; } button 996 { on (release) { gotoAndPlay('Attack3'); } } button 997 { on (release) { gotoAndPlay('Skill3'); } } button 998 { on (release) { gotoAndPlay('Item3'); } } frame 5891 { stop(); } button 999 { on (release) { if (_root.RistarSp >= 40) { _root.RistarSp -= 40; gotoAndPlay('StarShot3'); } } } button 1001 { on (release) { if (_root.RistarSp >= 95) { _root.RistarSp -= 95; gotoAndPlay('Meteor3'); } } } frame 5895 { stop(); } button 1002 { on (release) { if (_root.Drop >= 1) { _root.Drop -= 1; gotoAndPlay('Drop3'); } } } button 1003 { on (release) { if (_root.Soul >= 1) { _root.Soul -= 1; gotoAndPlay('Essence3'); } } } button 1004 { on (release) { if (_root.Crystal >= 1) { _root.Crystal -= 1; gotoAndPlay('Crystal3'); } } } movieClip 1006 { } frame 5945 { _root.damage1 = Math.round(Math.random() * 15) + 75 + _root.Lvl * 37; _root.EnemyHp -= _root.damage1; if (_root.EnemyHp <= 0) { _root.EnemyHp = 0; } } frame 5961 { if (_root.EnemyHp <= 0) { gotoAndPlay('BossDead'); } } frame 5962 { if (_root.EnemyHp <= 0) { gotoAndPlay('BossDead'); } if (_root.Atk == 1) { gotoAndPlay('BossAtk1'); } if (_root.Atk == 2) { gotoAndPlay('BossAtk2'); } if (_root.Atk == 3) { gotoAndPlay('BossAtk3'); } if (_root.Atk == 4) { gotoAndPlay('BossAtk4'); } } frame 6009 { _root.damage1 = Math.round(Math.random() * 15) + 115 + _root.Lvl * 46; _root.EnemyHp -= _root.damage1; if (_root.EnemyHp <= 0) { _root.EnemyHp = 0; } } frame 6035 { if (_root.EnemyHp <= 0) { gotoAndPlay('BossDead'); } } frame 6036 { if (_root.EnemyHp <= 0) { gotoAndPlay('BossDead'); } if (_root.Atk == 1) { gotoAndPlay('BossAtk1'); } if (_root.Atk == 2) { gotoAndPlay('BossAtk2'); } if (_root.Atk == 3) { gotoAndPlay('BossAtk3'); } if (_root.Atk == 4) { gotoAndPlay('BossAtk4'); } } frame 6124 { _root.damage1 = Math.round(Math.random() * 15) + 225 + _root.Lvl * 55; _root.EnemyHp -= _root.damage1; if (_root.EnemyHp <= 0) { _root.EnemyHp = 0; } } frame 6158 { if (_root.EnemyHp <= 0) { gotoAndPlay('BossDead'); } } frame 6159 { if (_root.EnemyHp <= 0) { gotoAndPlay('BossDead'); } if (_root.Atk == 1) { gotoAndPlay('BossAtk1'); } if (_root.Atk == 2) { gotoAndPlay('BossAtk2'); } if (_root.Atk == 3) { gotoAndPlay('BossAtk3'); } if (_root.Atk == 4) { gotoAndPlay('BossAtk4'); } } frame 6204 { _root.RistarHp += 250; if (_root.RistarHp >= _root.RistarHpMax) { _root.RistarHp = _root.RistarHpMax; } } frame 6223 { if (_root.EnemyHp <= 0) { gotoAndPlay('BossDead'); } if (_root.Atk == 1) { gotoAndPlay('BossAtk1'); } if (_root.Atk == 2) { gotoAndPlay('BossAtk2'); } if (_root.Atk == 3) { gotoAndPlay('BossAtk3'); } if (_root.Atk == 4) { gotoAndPlay('BossAtk4'); } } frame 6266 { _root.RistarHp += 550; if (_root.RistarHp >= _root.RistarHpMax) { _root.RistarHp = _root.RistarHpMax; } } frame 6288 { if (_root.EnemyHp <= 0) { gotoAndPlay('BossDead'); } if (_root.Atk == 1) { gotoAndPlay('BossAtk1'); } if (_root.Atk == 2) { gotoAndPlay('BossAtk2'); } if (_root.Atk == 3) { gotoAndPlay('BossAtk3'); } if (_root.Atk == 4) { gotoAndPlay('BossAtk4'); } } frame 6341 { _root.RistarSp += 180; if (_root.RistarSp >= _root.RistarSpMax) { _root.RistarSp = _root.RistarSpMax; } } frame 6361 { if (_root.EnemyHp <= 0) { gotoAndPlay('BossDead'); } if (_root.Atk == 1) { gotoAndPlay('BossAtk1'); } if (_root.Atk == 2) { gotoAndPlay('BossAtk2'); } if (_root.Atk == 3) { gotoAndPlay('BossAtk3'); } if (_root.Atk == 4) { gotoAndPlay('BossAtk4'); } } movieClip 1008 { } frame 6412 { _root.damage1 = Math.round(Math.random() * 15) + 110; _root.RistarHp -= _root.damage1; if (_root.RistarHp <= 0) { _root.RistarHp = 0; } } frame 6421 { if (_root.RistarHp <= 0) { gotoAndPlay('RistarDead3'); } } frame 6423 { gotoAndPlay('Command3'); } movieClip 1023 { } movieClip 1024 { } movieClip 1030 { } movieClip 1035 { } movieClip 1037 { } frame 6583 { _root.damage1 = Math.round(Math.random() * 15) + 270; _root.RistarHp -= _root.damage1; if (_root.RistarHp <= 0) { _root.RistarHp = 0; } } frame 6587 { if (_root.RistarHp <= 0) { gotoAndPlay('RistarDead3'); } } frame 6601 { gotoAndPlay('Command3'); } movieClip 1041 { } movieClip 1042 { } movieClip 1043 { } movieClip 1048 { } movieClip 1057 { } frame 6726 { _root.damage1 = Math.round(Math.random() * 15) + 200; _root.RistarHp -= _root.damage1; if (_root.RistarHp <= 0) { _root.RistarHp = 0; } } frame 6733 { if (_root.RistarHp <= 0) { gotoAndPlay('RistarDead3'); } } frame 6737 { gotoAndPlay('Command3'); } movieClip 1070 { } movieClip 1084 { } instance thunder of movieClip 1084 { onClipEvent (enterFrame) { if (this.hitTest(_root.TGhurt) == true) { _root.TGhp -= 50; } if (_root.mgc >= 64 && this.hitTest(_root.TGhurt) == true) { _root.TGhp -= 60; } } } frame 6836 { _root.damage1 = Math.round(Math.random() * 18) + 230; _root.RistarHp -= _root.damage1; if (_root.RistarHp <= 0) { _root.RistarHp = 0; } } frame 6846 { if (_root.RistarHp <= 0) { gotoAndPlay('RistarDead3'); } } frame 6861 { gotoAndPlay('Command3'); } frame 6932 { gotoAndPlay('AfterBattle'); _root.ExpGain = 610; _root.MoneyGain = Math.round(Math.random() * 0) + 410; } frame 6984 { gotoAndPlay('GameOver'); } button 1097 { on (release) { gotoAndPlay('AfterBattle2'); } } frame 7006 { stop(); } button 1107 { on (release) { gotoAndPlay('AfterBattle3'); } } frame 7018 { _root.ExpLeft -= _root.ExpGain; _root.Money += _root.MoneyGain; if (_root.ExpLeft <= 0) { _root.ExpLeft = 0; } } frame 7019 { if (_root.ExpLeft <= 0) { gotoAndPlay('LevelUp'); } } frame 7020 { stop(); _root.ExpGain = 0; _root.MoneyGain = 0; } movieClip 1115 { } movieClip 1116 { frame 50 { stop(); } } frame 7028 { _root.Lvl += 1; _root.RistarHp += 97; _root.RistarHpMax += 97; _root.RistarSp += 52; _root.RistarSpMax += 52; } frame 7029 { _root.ExpLeft = _root.Lvl * 133; } frame 7030 { stop(); _root.ExpGain = 0; _root.MoneyGain = 0; if (_root.Lvl >= 8) { _root.ExpLeft *= 2; } } frame 7075 { if (_root.BattlePre == 10) { gotoAndPlay('Battle10'); } if (_root.BattlePre == 20) { gotoAndPlay('Battle20'); } if (_root.BattlePre == 30) { gotoAndPlay('Battle30'); } if (_root.BattlePre == 40) { gotoAndPlay('Failure'); } stopAllSounds(); } frame 7085 { stopAllSounds(); } frame 7086 { _root.AfterBoss.start(0, 999); } frame 7090 { _root.CheckPoint = 2; _root.pos = SharedObject.getLocal('Ristar1'); _root.pos.data.Game = _root.Game; _root.pos.data.Lvl = _root.Lvl; _root.pos.data.RistarHp = _root.RistarHp; _root.pos.data.RistarHpMax = _root.RistarHpMax; _root.pos.data.RistarSp = _root.RistarSp; _root.pos.data.RistarSpMax = _root.RistarSpMax; _root.pos.data.ExpLeft = _root.ExpLeft; _root.pos.data.Money = _root.Money; _root.pos.data.CheckPoint = _root.CheckPoint; _root.pos.data.Drop = _root.Drop; _root.pos.data.Crystal = _root.Crystal; _root.pos.data.Soul = _root.Soul; } frame 7135 { stop(); } frame 7141 { stop(); } frame 7146 { stop(); } frame 7151 { stop(); } frame 7157 { stop(); } movieClip 1134 { } movieClip 1135 { } frame 7194 { stop(); } frame 7198 { stop(); } frame 7202 { stop(); } frame 7211 { stop(); } movieClip 1141 { } movieClip 1143 { } frame 7224 { stop(); } movieClip 1146 { } movieClip 1147 { } frame 7249 { stop(); } frame 7272 { stop(); } frame 7326 { stop(); } frame 7332 { stop(); } frame 7337 { stop(); } frame 7343 { stop(); } frame 7349 { stop(); } frame 7354 { stop(); } frame 7359 { stop(); } frame 7391 { stop(); } frame 7397 { stop(); } frame 7401 { stop(); } frame 7415 { stop(); } movieClip 1161 { frame 35 { stop(); } } frame 7420 { stop(); } frame 7441 { stop(); } frame 7470 { stop(); } frame 7475 { stop(); } movieClip 1167 { } frame 7594 { stopAllSounds(); } movieClip 1170 { } movieClip 1172 { } movieClip 1173 { } frame 7595 { _root.Castle.start(0, 999); } movieClip 1176 { } frame 7765 { stop(); } frame 7771 { stop(); } frame 7777 { stop(); } frame 7783 { stop(); } movieClip 1181 { } movieClip 1184 { } frame 7789 { stop(); } frame 7795 { stop(); } frame 7801 { stop(); } frame 7807 { stop(); } frame 7813 { stop(); } movieClip 1190 { } frame 7817 { stop(); } movieClip 1194 { } movieClip 1196 { } frame 7899 { stop(); } frame 7905 { stop(); } frame 7911 { stop(); } frame 7917 { stop(); } frame 7923 { stop(); } frame 7930 { stop(); } movieClip 1204 { } movieClip 1205 { } frame 8017 { stopAllSounds(); } movieClip 1208 { } movieClip 1210 { } movieClip 1213 { } movieClip 1215 { } frame 9290 { gotoAndPlay('Screen'); } movieClip 1217 { } frame 9420 { gotoAndPlay('Screen'); }




http://swfchan.com/12/55856/info.shtml
Created: 20/4 -2019 01:18:18 Last modified: 20/4 -2019 01:18:18 Server time: 22/12 -2024 19:53:17