Combined Code
frame 1 {
stop();
}
frame 1 {
function function1() {}
function function2() {}
function function3() {}
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem('Press -Home- to return to the Tittle Screen', function3);
Functioned2 = new ContextMenuItem('Press -Enter- to jump to the next Scene', function2);
Functioned3 = new ContextMenuItem('Press -Spacebar- to proceed dialogue', function1);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
MENU.customItems.push(Functioned3);
_root.menu = MENU;
_quality = 'MEDIUM';
}
movieClip 6 {
}
movieClip 8 {
}
movieClip 10 {
}
movieClip 12 {
}
movieClip 14 {
}
movieClip 17 {
}
movieClip 18 {
}
movieClip 20 {
}
movieClip 22 {
}
movieClip 23 {
}
button 27 {
on (release) {
_root.play();
}
}
movieClip 28 {
frame 1 {
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop('loaded');
}
}
frame 2 {
gotoAndPlay(1);
}
}
frame 5 {
stop();
}
movieClip 31 {
}
movieClip 33 {
}
button 37 {
on (release) {
play();
}
}
frame 7 {
stop();
}
button 53 {
on (keyPress '<Space>') {
play();
}
}
frame 9 {
stop();
}
frame 11 {
stopAllSounds();
var Town = new Sound();
Town.attachSound('Town Music');
}
movieClip 58 {
}
movieClip 61 {
}
movieClip 62 {
}
movieClip 65 {
}
movieClip 67 {
}
movieClip 70 {
}
movieClip 71 {
}
movieClip 72 {
}
movieClip 73 {
}
movieClip 74 {
}
frame 35 {
_root.Theatre = 0;
_root.pos = SharedObject.getLocal('Ristar1');
_root.Game = _root.pos.data.Game;
}
movieClip 76 {
}
movieClip 78 {
}
movieClip 79 {
frame 15 {
stop();
}
}
movieClip 82 {
frame 15 {
stop();
}
}
movieClip 85 {
frame 15 {
stop();
}
}
movieClip 88 {
}
movieClip 89 {
frame 200 {
stop();
}
}
movieClip 91 {
}
movieClip 92 {
frame 200 {
stop();
}
}
frame 63 {
stop();
}
button 93 {
on (release) {
_root.Theatre = 1;
gotoAndPlay('Theatre');
}
}
button 94 {
on (release) {
_root.pos = SharedObject.getLocal('Ristar1');
_root.Game = _root.pos.data.Game;
_root.Lvl = _root.pos.data.Lvl;
_root.HibitoLvl = _root.pos.data.HibitoLvl;
_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.HibitoHp = _root.pos.data.HibitoHp;
_root.HibitoHpMax = _root.pos.data.HibitoHpMax;
_root.HibitoSp = _root.pos.data.HibitoSp;
_root.HibitoSpMax = _root.pos.data.HibitoSpMax;
_root.ExpLeft = _root.pos.data.ExpLeft;
_root.ExpLeft2 = _root.pos.data.ExpLeft2;
_root.Money = _root.pos.data.Money;
_root.CheckPoint = _root.pos.data.CheckPoint;
_root.Potion = _root.pos.data.Potion;
_root.HiPotion = _root.pos.data.HiPotion;
_root.MageSoul = _root.pos.data.MageSoul;
gotoAndPlay('Continue');
}
}
button 95 {
on (release) {
gotoAndPlay('NewGame');
}
}
frame 109 {
_root.HibitoHp = 735;
_root.HibitoHpMax = 735;
_root.HibitoSp = 380;
_root.HibitoSpMax = 380;
_root.HibitoLvl = 8;
_root.RistarHp = 1215;
_root.RistarHpMax = 1215;
_root.RistarSp = 485;
_root.RistarSpMax = 485;
_root.Lvl = 15;
_root.ExpLeft = 1083;
_root.ExpLeft2 = 545;
_root.Money = 1100;
_root.Potions = 0;
_root.HiPotions = 1;
_root.MageSoul = 0;
_root.Game = 0;
}
frame 110 {
gotoAndPlay('Logo');
stopAllSounds();
}
frame 115 {
if (_root.CheckPoint == 'undefined') {
_root.CheckPoint -= 1;
}
}
frame 116 {
if (_root.CheckPoint <= 0) {
gotoAndPlay(63);
}
}
frame 159 {
stopAllSounds();
}
frame 160 {
if (_root.CheckPoint == 1) {
gotoAndPlay('Main Entrance');
_root.Town.start(0, 999);
}
}
frame 161 {
if (_root.CheckPoint == 2) {
gotoAndPlay('Main Entrance 2');
_root.Town.start(0, 999);
}
}
frame 165 {
stop();
_root.pos = SharedObject.getLocal('Ristar1');
_root.Game = _root.pos.data.Game;
}
frame 165 {
stopAllSounds();
}
button 100 {
on (release) {
gotoAndPlay('1');
}
}
button 102 {
on (release) {
if (_root.Theatre == 1) {
gotoAndPlay('Title Screen');
_root.Theatre = 0;
}
}
on (release) {
if (_root.Theatre == 2) {
gotoAndPlay('Main Entrance');
_root.Town.start(0, 999);
_root.Theatre = 0;
}
}
on (release) {
if (_root.Theatre == 3) {
gotoAndPlay('Main Entrance 2');
_root.Town.start(0, 999);
_root.Theatre = 0;
}
}
}
frame 170 {
stop();
}
button 103 {
on (release) {
if (_root.Theatre == 1) {
gotoAndPlay('Title Screen');
}
}
on (release) {
if (_root.Theatre == 2) {
gotoAndPlay('Main Entrance');
_root.Town.start(0, 999);
}
}
on (release) {
if (_root.Theatre == 3) {
gotoAndPlay('Main Entrance 2');
_root.Town.start(0, 999);
}
}
}
button 107 {
on (release) {
gotoAndPlay('2');
}
}
button 109 {
on (release) {
gotoAndPlay('Scene1');
}
}
movieClip 112 {
}
movieClip 114 {
}
frame 172 {
stop();
}
button 116 {
on (release) {
gotoAndPlay('3');
}
}
button 118 {
on (release) {
gotoAndPlay('1');
}
}
button 119 {
on (release) {
gotoAndPlay('Scene2');
}
}
movieClip 122 {
}
frame 174 {
stop();
}
button 124 {
on (release) {
if (_root.Game >= 10) {
gotoAndPlay('4');
}
}
}
button 125 {
on (release) {
gotoAndPlay('2');
}
}
button 126 {
on (release) {
gotoAndPlay('Scene3');
}
}
movieClip 129 {
}
frame 176 {
stop();
}
button 131 {
on (release) {
if (_root.Game >= 20) {
gotoAndPlay('5');
}
}
}
button 132 {
on (release) {
gotoAndPlay('3');
}
}
button 133 {
on (release) {
gotoAndPlay('Scene4');
}
}
movieClip 136 {
}
frame 178 {
stop();
}
button 138 {
on (release) {
if (_root.Game >= 20) {
gotoAndPlay('6');
}
}
}
button 139 {
on (release) {
gotoAndPlay('4');
}
}
button 140 {
on (release) {
gotoAndPlay('Scene5');
}
}
movieClip 143 {
}
frame 180 {
stop();
}
button 145 {
on (release) {
if (_root.Game >= 30) {
gotoAndPlay('7');
}
}
}
button 146 {
on (release) {
gotoAndPlay('5');
}
}
button 147 {
on (release) {
gotoAndPlay('Scene6');
}
}
movieClip 150 {
}
frame 182 {
stop();
}
button 152 {
on (release) {
if (_root.Game >= 40) {
gotoAndPlay('8');
}
}
}
button 153 {
on (release) {
gotoAndPlay('6');
}
}
button 154 {
on (release) {
gotoAndPlay('Scene7');
}
}
movieClip 157 {
}
frame 184 {
stop();
}
button 159 {
on (release) {
if (_root.Game >= 50) {
gotoAndPlay('9');
}
}
}
button 160 {
on (release) {
gotoAndPlay('7');
}
}
button 161 {
on (release) {
gotoAndPlay('Scene8');
}
}
movieClip 164 {
}
frame 186 {
stop();
}
button 166 {
on (release) {
if (_root.Game >= 50) {
gotoAndPlay('10');
}
}
}
button 167 {
on (release) {
gotoAndPlay('8');
}
}
button 168 {
on (release) {
gotoAndPlay('Scene9');
}
}
movieClip 171 {
}
frame 188 {
stop();
}
button 173 {
on (release) {
if (_root.Game >= 60) {
gotoAndPlay('11');
}
}
}
button 174 {
on (release) {
gotoAndPlay('9');
}
}
button 175 {
on (release) {
gotoAndPlay('Scene10');
}
}
movieClip 178 {
}
frame 190 {
stop();
}
button 180 {
on (release) {
if (_root.Game >= 60) {
gotoAndPlay('12');
}
}
}
button 181 {
on (release) {
gotoAndPlay('10');
}
}
button 182 {
on (release) {
gotoAndPlay('Scene11');
}
}
movieClip 185 {
}
frame 192 {
stop();
}
button 187 {
on (release) {
if (_root.Game >= 60) {
gotoAndPlay('13');
}
}
}
button 188 {
on (release) {
gotoAndPlay('11');
}
}
button 189 {
on (release) {
gotoAndPlay('Scene12');
}
}
movieClip 192 {
}
frame 194 {
stop();
}
button 194 {
on (release) {
if (_root.Game >= 60) {
gotoAndPlay('14');
}
}
}
button 195 {
on (release) {
gotoAndPlay('12');
}
}
button 196 {
on (release) {
gotoAndPlay('Scene13');
}
}
movieClip 199 {
}
frame 196 {
stop();
}
button 201 {
on (release) {
gotoAndPlay('13');
}
}
button 202 {
on (release) {
gotoAndPlay('Credits');
}
}
frame 200 {
function function1() {}
function function2() {}
function function3() {}
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem('Press -Home- to return to the Tittle Screen', function3);
Functioned2 = new ContextMenuItem('Press -Enter- to jump to the next Scene', function2);
Functioned3 = new ContextMenuItem('Press -Spacebar- to proceed dialogue', function1);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
MENU.customItems.push(Functioned3);
_root.menu = MENU;
_quality = 'MEDIUM';
}
button 206 {
on (keyPress '<Enter>') {
if (_root.Theatre <= 0) {
gotoAndPlay('Scene2');
}
}
}
button 207 {
on (keyPress '<Home>') {
gotoAndPlay('Title Screen');
stopAllSounds();
}
on (keyPress '<End>') {
if (_root.Theatre >= 1) {
this.gotoAndPlay('Theatre');
stopAllSounds();
}
}
}
movieClip 210 {
}
movieClip 211 {
}
movieClip 212 {
}
movieClip 213 {
}
movieClip 216 {
}
movieClip 219 {
}
movieClip 236 {
}
movieClip 238 {
}
movieClip 243 {
}
movieClip 246 {
}
movieClip 247 {
}
movieClip 249 {
}
movieClip 253 {
}
movieClip 258 {
}
movieClip 262 {
}
movieClip 290 {
}
movieClip 292 {
}
frame 621 {
stop();
}
frame 624 {
stop();
}
frame 696 {
if (_root.Theatre >= 1) {
this.gotoAndPlay('Theatre');
}
}
frame 697 {
stop();
}
button 300 {
on (keyPress '<Enter>') {
if (_root.Theatre <= 0) {
gotoAndPlay('Scene3');
}
}
}
movieClip 302 {
}
movieClip 303 {
}
movieClip 308 {
}
movieClip 314 {
}
movieClip 316 {
frame 1 {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var v4 = sX / this._width;
var v3 = sY / this._height;
_parent._x = cX - this._x * v4;
_parent._y = cY - this._y * v3;
_parent._xscale = 100 * v4;
_parent._yscale = 100 * v3;
}
function resetStage() {
var v2 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0};
parentColor.setTransform(v2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = 'exactFit';
var cX = Stage.width / 2;
var cY = Stage.height / 2;
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
}
movieClip 326 {
}
movieClip 330 {
}
movieClip 355 {
}
movieClip 389 {
}
movieClip 406 {
}
movieClip 438 {
}
movieClip 439 {
}
movieClip 454 {
}
movieClip 461 {
frame 3 {
stop();
}
}
movieClip 463 {
}
movieClip 465 {
}
movieClip 467 {
}
movieClip 469 {
}
movieClip 470 {
}
movieClip 471 {
}
movieClip 476 {
}
movieClip 477 {
}
movieClip 478 {
}
movieClip 481 {
frame 3 {
stop();
}
}
movieClip 487 {
}
movieClip 501 {
frame 100 {
stop();
}
}
movieClip 505 {
}
movieClip 506 {
}
movieClip 532 {
}
movieClip 543 {
}
movieClip 548 {
}
movieClip 557 {
}
movieClip 568 {
frame 9 {
gotoAndPlay(1);
}
frame 10 {
stop();
}
}
movieClip 569 {
}
movieClip 572 {
}
movieClip 586 {
}
movieClip 591 {
}
movieClip 594 {
}
movieClip 596 {
}
movieClip 603 {
frame 30 {
gotoAndPlay(9);
}
}
movieClip 605 {
}
movieClip 607 {
}
movieClip 609 {
}
movieClip 610 {
}
movieClip 611 {
}
movieClip 624 {
frame 3 {
stop();
}
}
movieClip 629 {
}
movieClip 636 {
}
movieClip 641 {
frame 3 {
stop();
}
}
movieClip 648 {
frame 5 {
stop();
}
}
movieClip 683 {
frame 36 {
stop();
}
}
movieClip 684 {
}
movieClip 688 {
}
movieClip 690 {
}
movieClip 692 {
}
movieClip 699 {
}
movieClip 700 {
}
movieClip 707 {
}
movieClip 708 {
}
movieClip 712 {
}
movieClip 713 {
}
movieClip 716 {
}
movieClip 717 {
}
movieClip 719 {
}
movieClip 721 {
}
movieClip 724 {
}
movieClip 726 {
}
movieClip 745 {
}
movieClip 747 {
}
movieClip 750 {
frame 42 {
gotoAndPlay(7);
}
}
movieClip 752 {
}
movieClip 753 {
}
movieClip 761 {
frame 1180 {
stop();
}
frame 1215 {
stop();
}
frame 1219 {
stop();
}
frame 1223 {
stop();
}
frame 1227 {
stop();
}
frame 1236 {
stop();
}
frame 1240 {
stop();
}
frame 1244 {
stop();
}
frame 1248 {
stop();
}
frame 1252 {
stop();
}
frame 1256 {
stop();
}
frame 1296 {
stop();
}
frame 1320 {
stop();
}
frame 1354 {
stop();
}
frame 1993 {
stop();
}
frame 2000 {
stop();
}
frame 2055 {
stop();
}
frame 2078 {
stop();
}
frame 2094 {
stop();
}
frame 2115 {
stop();
}
frame 2118 {
_root.play('Amy Scene');
}
}
frame 698 {
if (_root.Theatre >= 1) {
this.gotoAndPlay('Theatre');
}
}
button 762 {
on (keyPress '<Enter>') {
if (_root.Theatre <= 0) {
gotoAndPlay('Scene4');
}
}
}
frame 699 {
stopAllSounds();
}
movieClip 763 {
}
movieClip 768 {
}
movieClip 772 {
}
movieClip 777 {
}
movieClip 790 {
}
movieClip 791 {
}
movieClip 793 {
}
movieClip 795 {
}
movieClip 799 {
}
movieClip 802 {
}
movieClip 803 {
}
movieClip 805 {
}
movieClip 806 {
}
movieClip 810 {
}
movieClip 811 {
}
movieClip 814 {
}
movieClip 816 {
}
instance BG2 of movieClip 816 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x += 4;
} else {
if (Key.isDown(39)) {
this._x -= 4;
}
}
}
}
movieClip 818 {
}
movieClip 821 {
frame 6 {
stop();
}
}
frame 1330 {
stop();
}
movieClip 824 {
}
frame 1427 {
stop();
}
movieClip 832 {
}
movieClip 835 {
frame 3 {
stop();
}
}
frame 1472 {
stop();
}
frame 1528 {
stop();
}
frame 1533 {
stop();
}
movieClip 841 {
}
frame 1548 {
stop();
}
movieClip 847 {
}
frame 1621 {
stop();
}
frame 1630 {
stop();
}
frame 1674 {
stop();
}
frame 1680 {
stop();
}
frame 1686 {
stop();
}
frame 1691 {
stop();
}
frame 1696 {
stop();
}
movieClip 862 {
}
movieClip 864 {
}
movieClip 867 {
}
frame 1710 {
stop();
}
frame 1778 {
stop();
}
frame 1783 {
stop();
}
frame 1802 {
stop();
}
frame 1806 {
stop();
}
movieClip 879 {
}
movieClip 882 {
}
frame 1843 {
stop();
}
movieClip 884 {
}
movieClip 887 {
}
movieClip 888 {
}
movieClip 890 {
}
instance of movieClip 890 {
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 893 {
}
movieClip 897 {
}
movieClip 900 {
}
movieClip 903 {
}
movieClip 904 {
}
movieClip 910 {
}
movieClip 913 {
}
movieClip 915 {
}
movieClip 918 {
}
movieClip 921 {
}
movieClip 922 {
}
movieClip 928 {
}
movieClip 931 {
}
movieClip 932 {
}
movieClip 934 {
}
movieClip 935 {
}
movieClip 939 {
}
movieClip 942 {
}
movieClip 945 {
}
movieClip 946 {
}
movieClip 948 {
}
movieClip 951 {
}
movieClip 952 {
}
movieClip 954 {
}
movieClip 955 {
}
movieClip 958 {
}
movieClip 970 {
}
movieClip 973 {
}
movieClip 984 {
}
movieClip 985 {
}
movieClip 986 {
}
frame 1884 {
if (_root.Theatre >= 1) {
this.gotoAndPlay('Theatre');
}
}
frame 1885 {
_root.Game = 10;
if (_root.Game >= 20) {
_root.Game = 60;
}
}
frame 1886 {
stopAllSounds();
}
button 987 {
on (keyPress '<Enter>') {
if (_root.Theatre <= 0) {
gotoAndPlay('Main Entrance');
}
}
}
frame 1955 {
stop();
}
frame 2219 {
stop();
}
movieClip 999 {
}
frame 2224 {
stop();
}
frame 2226 {
stop();
}
frame 2244 {
if (_root.Theatre >= 1) {
this.gotoAndPlay('Theatre');
}
}
instance of movieClip 888 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x += 4;
} else {
if (Key.isDown(39)) {
this._x -= 4;
}
}
}
}
instance of movieClip 890 {
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 904 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x += 6;
} else {
if (Key.isDown(39)) {
this._x -= 6;
}
}
}
}
instance of movieClip 986 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x += 8;
} else {
if (Key.isDown(39)) {
this._x -= 8;
}
}
}
}
movieClip 1002 {
}
movieClip 1003 {
}
instance Player of movieClip 1003 {
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 (Key.isDown(39) && Key.isDown(37)) {
_x = _x + walkSpeed;
_xscale = scale;
_x = _x - walkSpeed;
_xscale = -scale;
state = 1;
}
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 1004 {
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.Player) == true && Key.isDown(38)) {
_root.Theatre = 2;
_root.gotoAndPlay('Theatre');
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x += 8;
} else {
if (Key.isDown(39)) {
this._x -= 8;
}
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.Player) == true && Key.isDown(38)) {
_root.gotoAndPlay('Scene 1');
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x += 8;
} else {
if (Key.isDown(39)) {
this._x -= 8;
}
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.Player)) {
_root.gotoAndPlay('Left');
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x += 8;
} else {
if (Key.isDown(39)) {
this._x -= 8;
}
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.Player)) {
_root.gotoAndPlay('Right');
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x += 8;
} else {
if (Key.isDown(39)) {
this._x -= 8;
}
}
}
}
frame 2253 {
stop();
}
movieClip 1006 {
}
button 1008 {
on (release) {
gotoAndPlay('Status1');
}
}
movieClip 1011 {
}
movieClip 1012 {
frame 14 {
stop();
}
}
button 1013 {
on (release) {
_root.pos = SharedObject.getLocal('Ristar1');
_root.CheckPoint = 1;
_root.pos.data.CheckPoint = _root.CheckPoint;
_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.HibitoLvl = _root.HibitoLvl;
_root.pos.data.HibitoHp = _root.HibitoHp;
_root.pos.data.HibitoHpMax = _root.HibitoHpMax;
_root.pos.data.HibitoSp = _root.HibitoSp;
_root.pos.data.HibitoSpMax = _root.HibitoSpMax;
_root.pos.data.ExpLeft2 = _root.ExpLeft2;
_root.pos.data.Money = _root.Money;
_root.pos.data.Potions = _root.Potions;
_root.pos.data.HiPotions = _root.HiPotions;
_root.pos.data.MageSoul = _root.MageSoul;
}
}
frame 2255 {
stop();
}
movieClip 1016 {
}
movieClip 1018 {
}
movieClip 1020 {
}
button 1047 {
on (release) {
gotoAndPlay('Items1');
}
}
button 1048 {
on (release) {
gotoAndPlay('Config1');
}
}
button 1049 {
on (release) {
gotoAndPlay('BackToTitle1');
}
}
button 1050 {
on (release) {
gotoAndPlay('Menu1');
}
}
frame 2257 {
stop();
}
button 1052 {
on (release) {
gotoAndPlay('Status1');
}
}
frame 2259 {
stop();
}
button 1072 {
on (release) {
_quality = 'LOW';
}
}
button 1075 {
on (release) {
_quality = 'MEDIUM';
}
}
button 1078 {
on (release) {
_quality = 'HIGH';
}
}
frame 2261 {
stop();
}
button 1082 {
on (release) {
gotoAndPlay('Title Screen');
}
}
button 1084 {
on (release) {
gotoAndPlay('Menu1');
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.Player) == true && Key.isDown(38)) {
_root.Theatre = 2;
_root.gotoAndPlay('Theatre');
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x += 8;
} else {
if (Key.isDown(39)) {
this._x -= 8;
}
}
}
}
frame 2273 {
stop();
}
button 1085 {
on (release) {
gotoAndPlay('Status2');
}
}
frame 2275 {
stop();
}
button 1092 {
on (release) {
gotoAndPlay('Items2');
}
}
button 1093 {
on (release) {
gotoAndPlay('Config2');
}
}
button 1094 {
on (release) {
gotoAndPlay('BackToTitle2');
}
}
button 1095 {
on (release) {
gotoAndPlay('Menu2');
}
}
frame 2277 {
stop();
}
button 1096 {
on (release) {
gotoAndPlay('Status2');
}
}
frame 2279 {
stop();
}
frame 2281 {
stop();
}
button 1101 {
on (release) {
gotoAndPlay('Menu2');
}
}
instance of movieClip 890 {
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;
}
}
}
}
frame 2292 {
stop();
}
frame 2294 {
gotoAndPlay('Main Entrance');
}
frame 2307 {
stop();
}
frame 2309 {
gotoAndPlay('Right Entrance');
}
button 1104 {
on (keyPress '<Enter>') {
if (_root.Theatre <= 0) {
gotoAndPlay('Scene5');
}
}
}
movieClip 1109 {
}
movieClip 1112 {
}
movieClip 1115 {
}
movieClip 1116 {
}
movieClip 1119 {
}
movieClip 1122 {
}
movieClip 1125 {
}
movieClip 1127 {
}
movieClip 1131 {
}
movieClip 1134 {
}
movieClip 1135 {
}
movieClip 1138 {
}
movieClip 1141 {
}
movieClip 1143 {
}
movieClip 1145 {
}
frame 2329 {
stop();
}
frame 2333 {
stop();
}
frame 2337 {
stop();
}
movieClip 1150 {
}
movieClip 1151 {
}
frame 2342 {
stop();
}
frame 2346 {
stop();
}
frame 2348 {
stop();
}
frame 2380 {
stop();
}
frame 2415 {
stop();
}
frame 2422 {
stop();
}
frame 2465 {
stop();
}
movieClip 1167 {
}
frame 2469 {
stop();
}
frame 2474 {
stop();
}
frame 2482 {
stop();
}
frame 2484 {
stop();
}
frame 2489 {
stop();
}
frame 2494 {
stop();
}
frame 2498 {
stop();
}
frame 2502 {
stop();
}
frame 2506 {
stop();
}
frame 2510 {
stop();
}
instance of movieClip 904 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x += 6;
} else {
if (Key.isDown(39)) {
this._x -= 6;
}
}
}
}
instance of movieClip 986 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x += 8;
} else {
if (Key.isDown(39)) {
this._x -= 8;
}
}
}
}
movieClip 1180 {
}
movieClip 1182 {
}
movieClip 1184 {
}
movieClip 1185 {
}
frame 2549 {
if (_root.Theatre >= 1) {
this.gotoAndPlay('Theatre');
}
}
frame 2550 {
_root.Game = 20;
if (_root.Game >= 30) {
_root.Game = 60;
}
}
frame 2550 {
stopAllSounds();
}
button 1186 {
on (keyPress '<Enter>') {
if (_root.Theatre <= 0) {
gotoAndPlay('Scene6');
}
}
}
frame 2570 {
stop();
}
frame 2574 {
stop();
}
instance of movieClip 904 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x += 6;
} else {
if (Key.isDown(39)) {
this._x -= 6;
}
}
}
}
instance of movieClip 986 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x += 8;
} else {
if (Key.isDown(39)) {
this._x -= 8;
}
}
}
}
movieClip 1191 {
}
movieClip 1192 {
}
frame 2639 {
stop();
}
frame 2656 {
stop();
}
frame 2660 {
stop();
}
movieClip 1199 {
}
frame 2699 {
stop();
}
frame 2709 {
stop();
}
movieClip 1203 {
}
movieClip 1206 {
}
frame 2741 {
stop();
}
movieClip 1210 {
}
frame 2762 {
stop();
}
movieClip 1220 {
}
frame 2801 {
stop();
}
movieClip 1224 {
}
movieClip 1225 {
}
frame 2831 {
stop();
}
frame 2871 {
stop();
}
frame 2901 {
stop();
}
movieClip 1230 {
}
movieClip 1231 {
}
frame 2921 {
stop();
}
frame 2946 {
stop();
}
frame 2994 {
stop();
}
movieClip 1239 {
}
movieClip 1240 {
}
frame 3019 {
stop();
}
movieClip 1243 {
}
frame 3079 {
stop();
}
movieClip 1247 {
}
frame 3139 {
stop();
}
frame 3182 {
stop();
}
frame 3185 {
if (_root.Theatre >= 1) {
this.gotoAndPlay('Theatre');
}
}
frame 3214 {
stop();
}
frame 3225 {
stop();
}
frame 3227 {
stop();
}
frame 3233 {
stop();
}
frame 3235 {
stop();
}
frame 3244 {
stop();
}
frame 3247 {
stop();
}
movieClip 1260 {
}
movieClip 1261 {
}
frame 3254 {
stop();
}
frame 3259 {
stop();
}
frame 3268 {
stopAllSounds();
}
frame 3284 {
stop();
}
frame 3294 {
stop();
}
movieClip 1269 {
}
movieClip 1270 {
}
frame 3299 {
stop();
}
frame 3304 {
stop();
}
frame 3309 {
stop();
}
frame 3344 {
stop();
}
movieClip 1279 {
}
frame 3414 {
stop();
}
frame 3419 {
stop();
}
movieClip 1284 {
}
frame 3529 {
stop();
}
frame 3531 {
stop();
}
frame 3553 {
stop();
}
frame 3559 {
stop();
}
frame 3564 {
stop();
}
frame 3604 {
stop();
}
movieClip 1295 {
}
frame 3648 {
stopAllSounds();
}
frame 3649 {
_root.EnemyHp1 = 2500;
_root.EnemyHpMax1 = 2500;
_root.EnemyHpMax2 = 2500;
_root.EnemyHp2 = 2500;
}
movieClip 1296 {
}
movieClip 1298 {
}
movieClip 1304 {
}
movieClip 1306 {
}
movieClip 1307 {
frame 39 {
gotoAndPlay(1);
}
frame 40 {
stop();
}
}
movieClip 1311 {
frame 11 {
gotoAndPlay(1);
}
frame 12 {
stop();
}
}
frame 3773 {
stop();
}
frame 3773 {
_root.Atk = Math.round(Math.random() * 1) + 1;
_root.Atk2 = Math.round(Math.random() * 1) + 1;
_root.Turn1 = 1;
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp1 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp2 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1311 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
movieClip 1314 {
}
movieClip 1331 {
}
movieClip 1340 {
}
movieClip 1341 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance of movieClip 1341 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
movieClip 1342 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance of movieClip 1342 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
movieClip 1344 {
}
button 1346 {
on (release) {
gotoAndPlay('RistarAttack1');
}
}
button 1348 {
on (release) {
gotoAndPlay('RistarSkills1');
}
}
frame 3783 {
stop();
}
movieClip 1353 {
}
button 1356 {
on (release) {
if (_root.EnemyHp1 >= 1) {
gotoAndPlay('RistarAttackA1');
}
}
}
button 1358 {
on (release) {
if (_root.EnemyHp2 >= 1) {
gotoAndPlay('RistarAttackB1');
}
}
}
frame 3791 {
stop();
}
movieClip 1365 {
}
button 1367 {
on (release) {
if (_root.RistarSp >= 40) {
_root.RistarSp -= 40;
gotoAndPlay('StarShot1');
}
}
}
button 1371 {
on (release) {
if (_root.RistarSp >= 65) {
_root.RistarSp -= 65;
gotoAndPlay('RadiantBlow1');
}
}
}
button 1375 {
on (release) {
if (_root.RistarSp >= 95) {
_root.RistarSp -= 95;
gotoAndPlay('MeteorStrike1');
}
}
}
frame 3803 {
stop();
}
button 1376 {
on (release) {
gotoAndPlay('HibitoAttack1');
}
}
button 1377 {
on (release) {
gotoAndPlay('HibitoSkills1');
}
}
frame 3810 {
stop();
}
button 1378 {
on (release) {
if (_root.EnemyHp1 >= 1) {
gotoAndPlay('HibitoAttackA1');
}
}
}
button 1379 {
on (release) {
if (_root.EnemyHp2 >= 1) {
gotoAndPlay('HibitoAttackB1');
}
}
}
frame 3817 {
stop();
}
movieClip 1384 {
}
button 1385 {
on (release) {
if (_root.HibitoSp >= 55) {
_root.HibitoSp -= 55;
gotoAndPlay('FireBall1');
}
}
}
button 1388 {
on (release) {
if (_root.HibitoSp >= 80) {
_root.HibitoSp -= 80;
gotoAndPlay('FlameFang1');
}
}
}
button 1391 {
on (release) {
if (_root.HibitoSp >= 120) {
_root.HibitoSp -= 120;
gotoAndPlay('PyroCross1');
}
}
}
frame 3873 {
if (_root.EnemyHp1 <= 0 && _root.EnemyHp2 <= 0) {
this.gotoAndPlay('Victory1');
}
}
frame 3878 {
if (_root.Turn1 == 1 && _root.RistarHp >= 1) {
this.gotoAndPlay('RistarCmd1');
}
}
frame 3883 {
if (_root.EnemyHp1 <= 0) {
_root.Turn1 = 4;
}
}
frame 3888 {
if (_root.Turn1 == 2 && _root.HibitoHp >= 1) {
this.gotoAndPlay('HibitoCmd1');
}
if (_root.Turn1 == 3) {
this.gotoAndPlay('EnemyCmd1');
}
if (_root.Turn1 == 4) {
this.gotoAndPlay('EnemyCmd2');
}
}
frame 3893 {
if (_root.Atk == 1) {
gotoAndPlay('EnemyAttack1');
}
if (_root.Atk == 2) {
gotoAndPlay('EnemyAttack2');
}
}
frame 3904 {
if (_root.Atk2 == 1) {
gotoAndPlay('EnemyAttack3');
}
if (_root.Atk2 == 2) {
gotoAndPlay('EnemyAttack4');
}
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp1 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp2 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
movieClip 1397 {
}
movieClip 1398 {
frame 19 {
gotoAndPlay(1);
}
frame 20 {
stop();
}
}
instance of movieClip 1398 {
onClipEvent (enterFrame) {
if (_root.EnemyHp1 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp1 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
frame 3982 {
_root.Turn1 = 3;
_root.damage1 = Math.round(Math.random() * 15) + 55 + _root.HibitoLvl * 33;
_root.EnemyHp1 -= _root.damage1;
if (_root.EnemyHp1 <= 0) {
_root.EnemyHp1 = 0;
}
}
frame 3983 {
gotoAndPlay('Calculations1');
}
instance of movieClip 1398 {
onClipEvent (enterFrame) {
if (_root.EnemyHp2 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
frame 4052 {
_root.Turn1 = 3;
_root.damage2 = Math.round(Math.random() * 15) + 55 + _root.HibitoLvl * 33;
_root.EnemyHp2 -= _root.damage2;
if (_root.EnemyHp2 <= 0) {
_root.EnemyHp2 = 0;
}
}
frame 4053 {
gotoAndPlay('Calculations1');
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp2 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1398 {
onClipEvent (enterFrame) {
if (_root.EnemyHp1 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1398 {
onClipEvent (enterFrame) {
if (_root.EnemyHp2 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
frame 4170 {
_root.Turn1 = 3;
_root.damage2 = Math.round(Math.random() * 150) + 180 + _root.HibitoLvl * 33;
_root.EnemyHp2 -= _root.damage2;
if (_root.EnemyHp2 <= 0) {
_root.EnemyHp2 = 0;
}
_root.damage1 = Math.round(Math.random() * 150) + 180 + _root.HibitoLvl * 33;
_root.EnemyHp1 -= _root.damage1;
if (_root.EnemyHp1 <= 0) {
_root.EnemyHp1 = 0;
}
}
frame 4171 {
gotoAndPlay('Calculations1');
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp1 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp2 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
movieClip 1408 {
}
movieClip 1409 {
}
movieClip 1410 {
}
instance of movieClip 1398 {
onClipEvent (enterFrame) {
if (_root.EnemyHp1 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1398 {
onClipEvent (enterFrame) {
if (_root.EnemyHp2 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
movieClip 1413 {
}
frame 4307 {
_root.Turn1 = 3;
_root.damage2 = Math.round(Math.random() * 150) + 320 + _root.HibitoLvl * 33;
_root.EnemyHp2 -= _root.damage2;
if (_root.EnemyHp2 <= 0) {
_root.EnemyHp2 = 0;
}
_root.damage1 = Math.round(Math.random() * 150) + 320 + _root.HibitoLvl * 33;
_root.EnemyHp1 -= _root.damage1;
if (_root.EnemyHp1 <= 0) {
_root.EnemyHp1 = 0;
}
}
frame 4308 {
gotoAndPlay('Calculations1');
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp1 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp2 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
movieClip 1415 {
}
instance of movieClip 1398 {
onClipEvent (enterFrame) {
if (_root.EnemyHp1 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1398 {
onClipEvent (enterFrame) {
if (_root.EnemyHp2 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
movieClip 1418 {
}
movieClip 1423 {
}
movieClip 1428 {
}
movieClip 1431 {
}
movieClip 1432 {
}
frame 4501 {
_root.Turn1 = 3;
_root.damage2 = Math.round(Math.random() * 150) + 740 + _root.HibitoLvl * 33;
_root.EnemyHp2 -= _root.damage2;
if (_root.EnemyHp2 <= 0) {
_root.EnemyHp2 = 0;
}
_root.damage1 = Math.round(Math.random() * 150) + 740 + _root.HibitoLvl * 33;
_root.EnemyHp1 -= _root.damage1;
if (_root.EnemyHp1 <= 0) {
_root.EnemyHp1 = 0;
}
}
frame 4502 {
gotoAndPlay('Calculations1');
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp1 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp2 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1398 {
onClipEvent (enterFrame) {
if (_root.EnemyHp1 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
frame 4567 {
_root.Turn1 = 2;
_root.damage1 = Math.round(Math.random() * 50) + 105 + _root.Lvl * 33;
_root.EnemyHp1 -= _root.damage1;
if (_root.EnemyHp1 <= 0) {
_root.EnemyHp1 = 0;
}
}
frame 4568 {
gotoAndPlay('Calculations1');
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp1 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1398 {
onClipEvent (enterFrame) {
if (_root.EnemyHp2 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
frame 4627 {
_root.Turn1 = 2;
_root.damage2 = Math.round(Math.random() * 50) + 105 + _root.Lvl * 33;
_root.EnemyHp2 -= _root.damage2;
if (_root.EnemyHp2 <= 0) {
_root.EnemyHp2 = 0;
}
}
frame 4628 {
gotoAndPlay('Calculations1');
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp2 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
movieClip 1442 {
}
instance of movieClip 1398 {
onClipEvent (enterFrame) {
if (_root.EnemyHp1 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1398 {
onClipEvent (enterFrame) {
if (_root.EnemyHp2 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
movieClip 1455 {
}
instance thunder of movieClip 1455 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 50;
}
if (_root.mgc >= 64 && this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 60;
}
}
}
instance thunder of movieClip 1455 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 50;
}
if (_root.mgc >= 64 && this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 60;
}
}
}
instance thunder of movieClip 1455 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 50;
}
if (_root.mgc >= 64 && this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 60;
}
}
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp1 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp2 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance thunder of movieClip 1455 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 50;
}
if (_root.mgc >= 64 && this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 60;
}
}
}
frame 4777 {
_root.Turn1 = 2;
_root.damage2 = Math.round(Math.random() * 150) + 170 + _root.Lvl * 33;
_root.EnemyHp2 -= _root.damage2;
if (_root.EnemyHp2 <= 0) {
_root.EnemyHp2 = 0;
}
_root.damage1 = Math.round(Math.random() * 150) + 170 + _root.Lvl * 33;
_root.EnemyHp1 -= _root.damage1;
if (_root.EnemyHp1 <= 0) {
_root.EnemyHp1 = 0;
}
}
frame 4778 {
gotoAndPlay('Calculations1');
}
movieClip 1456 {
}
movieClip 1480 {
}
movieClip 1482 {
}
movieClip 1484 {
}
movieClip 1486 {
}
movieClip 1489 {
}
instance of movieClip 1398 {
onClipEvent (enterFrame) {
if (_root.EnemyHp1 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1398 {
onClipEvent (enterFrame) {
if (_root.EnemyHp2 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
movieClip 1497 {
}
frame 4916 {
_root.Turn1 = 2;
_root.damage2 = Math.round(Math.random() * 150) + 370 + _root.Lvl * 33;
_root.EnemyHp2 -= _root.damage2;
if (_root.EnemyHp2 <= 0) {
_root.EnemyHp2 = 0;
}
_root.damage1 = Math.round(Math.random() * 150) + 370 + _root.Lvl * 33;
_root.EnemyHp1 -= _root.damage1;
if (_root.EnemyHp1 <= 0) {
_root.EnemyHp1 = 0;
}
}
frame 4917 {
gotoAndPlay('Calculations1');
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp1 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp2 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance thunder of movieClip 1455 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 50;
}
if (_root.mgc >= 64 && this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 60;
}
}
}
instance of movieClip 1398 {
onClipEvent (enterFrame) {
if (_root.EnemyHp1 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1398 {
onClipEvent (enterFrame) {
if (_root.EnemyHp2 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1311 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
frame 5071 {
_root.Turn1 = 2;
_root.damage2 = Math.round(Math.random() * 150) + 570 + _root.Lvl * 33;
_root.EnemyHp2 -= _root.damage2;
if (_root.EnemyHp2 <= 0) {
_root.EnemyHp2 = 0;
}
_root.damage1 = Math.round(Math.random() * 150) + 570 + _root.Lvl * 33;
_root.EnemyHp1 -= _root.damage1;
if (_root.EnemyHp1 <= 0) {
_root.EnemyHp1 = 0;
}
}
frame 5072 {
gotoAndPlay('Calculations1');
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp1 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp2 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
movieClip 1502 {
}
movieClip 1503 {
frame 19 {
gotoAndPlay(1);
}
frame 20 {
stop();
}
}
instance of movieClip 1503 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
movieClip 1504 {
frame 19 {
gotoAndPlay(1);
}
frame 20 {
stop();
}
}
instance of movieClip 1504 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp1 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
frame 5217 {
_root.Turn1 = 4;
_root.damage3 = Math.round(Math.random() * 20) + 40;
_root.RistarHp -= _root.damage3;
if (_root.RistarHp <= 0) {
_root.RistarHp = 0;
}
_root.damage4 = Math.round(Math.random() * 20) + 40;
_root.HibitoHp -= _root.damage3;
if (_root.HibitoHp <= 0) {
_root.HibitoHp = 0;
}
if (_root.EnemyHp2 <= 0) {
_root.Turn1 = 1;
}
}
frame 5218 {
gotoAndPlay('Calculations1');
}
instance of movieClip 1311 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp1 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1503 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1504 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
frame 5392 {
_root.Turn1 = 4;
_root.damage3 = Math.round(Math.random() * 20) + 70;
_root.RistarHp -= _root.damage3;
if (_root.RistarHp <= 0) {
_root.RistarHp = 0;
}
_root.damage4 = Math.round(Math.random() * 20) + 70;
_root.HibitoHp -= _root.damage3;
if (_root.HibitoHp <= 0) {
_root.HibitoHp = 0;
}
if (_root.EnemyHp2 <= 0) {
_root.Turn1 = 1;
}
}
frame 5393 {
gotoAndPlay('Calculations1');
}
instance of movieClip 1311 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
movieClip 1514 {
}
instance thunder of movieClip 1455 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 50;
}
if (_root.mgc >= 64 && this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 60;
}
}
}
instance of movieClip 1503 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1504 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance thunder of movieClip 1455 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 50;
}
if (_root.mgc >= 64 && this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 60;
}
}
}
instance thunder of movieClip 1455 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 50;
}
if (_root.mgc >= 64 && this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 60;
}
}
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp2 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
frame 5494 {
_root.Turn1 = 1;
_root.Atk1 = 0;
_root.Atk2 = 0;
_root.damage3 = Math.round(Math.random() * 20) + 75;
_root.RistarHp -= _root.damage3;
if (_root.RistarHp <= 0) {
_root.RistarHp = 0;
}
_root.damage4 = Math.round(Math.random() * 20) + 80;
_root.HibitoHp -= _root.damage3;
if (_root.HibitoHp <= 0) {
_root.HibitoHp = 0;
}
}
frame 5495 {
gotoAndPlay('Calculations1');
}
instance of movieClip 1311 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1307 {
onClipEvent (enterFrame) {
if (_root.EnemyHp2 <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1503 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1504 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
frame 5664 {
_root.Turn1 = 1;
_root.Atk1 = 0;
_root.Atk2 = 0;
_root.damage3 = Math.round(Math.random() * 20) + 70;
_root.RistarHp -= _root.damage3;
if (_root.RistarHp <= 0) {
_root.RistarHp = 0;
}
_root.damage4 = Math.round(Math.random() * 20) + 80;
_root.HibitoHp -= _root.damage3;
if (_root.HibitoHp <= 0) {
_root.HibitoHp = 0;
}
}
frame 5665 {
gotoAndPlay('Calculations1');
}
instance of movieClip 1311 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
movieClip 1516 {
}
frame 5743 {
_root.ExpGain = 580;
_root.ExpGain2 = 580;
_root.MoneyGain = Math.round(Math.random() * 0) + 780;
}
movieClip 1519 {
}
movieClip 1535 {
}
frame 5773 {
stop();
}
button 1542 {
on (release) {
gotoAndPlay('Results');
}
}
frame 5786 {
_root.ExpLeft -= _root.ExpGain;
_root.ExpLeft2 -= _root.ExpGain2;
_root.Money += _root.MoneyGain;
if (_root.ExpLeft <= 0) {
_root.ExpLeft = 0;
}
if (_root.ExpLeft2 <= 0) {
_root.ExpLeft2 = 0;
}
}
frame 5787 {
if (_root.ExpLeft <= 0) {
gotoAndPlay('LevelUp');
}
}
frame 5788 {
if (_root.ExpLeft2 <= 0) {
gotoAndPlay('LevelUp2');
}
}
frame 5789 {
stop();
_root.ExpGain = 0;
_root.ExpGain2 = 0;
_root.MoneyGain = 0;
}
button 1543 {
on (release) {
gotoAndPlay('AfterBattle');
}
}
frame 5794 {
_root.Lvl += 1;
_root.RistarHp += 97;
_root.RistarHpMax += 97;
_root.RistarSp += 52;
_root.RistarSpMax += 52;
}
frame 5795 {
_root.ExpLeft = _root.Lvl * 157;
}
frame 5796 {
if (_root.ExpLeft2 <= 0) {
gotoAndPlay('LevelUp2');
}
}
frame 5797 {
stop();
_root.ExpGain = 0;
_root.ExpGain2 = 0;
_root.MoneyGain = 0;
if (_root.Lvl >= 20) {
_root.ExpLeft *= 2;
}
}
movieClip 1545 {
}
movieClip 1546 {
frame 50 {
stop();
}
}
frame 5806 {
_root.HibitoLvl += 1;
_root.HibitoHp += 83;
_root.HibitoHpMax += 83;
_root.HibitoSp += 67;
_root.HibitoSpMax += 67;
}
frame 5807 {
_root.ExpLeft2 = _root.HibitoLvl * 153;
}
frame 5808 {
stop();
_root.ExpGain2 = 0;
_root.ExpGain = 0;
_root.MoneyGain = 0;
if (_root.HibitoLvl >= 16) {
_root.ExpLeft2 *= 2;
}
}
frame 5855 {
_root.Game = 30;
if (_root.Game >= 40) {
_root.Game = 60;
}
}
button 1548 {
on (keyPress '<Enter>') {
if (_root.Theatre <= 0) {
gotoAndPlay('Main Entrance 2');
}
}
}
frame 5865 {
stopAllSounds();
}
frame 5899 {
stop();
}
frame 5929 {
stop();
}
frame 5934 {
stop();
}
frame 5939 {
stop();
}
frame 5964 {
stop();
}
frame 5969 {
stop();
}
frame 5974 {
stop();
}
frame 5978 {
stop();
}
frame 5982 {
stop();
}
frame 5986 {
stop();
}
frame 5988 {
stop();
}
frame 5994 {
stop();
}
frame 5999 {
stop();
}
frame 6003 {
stop();
}
frame 6030 {
if (_root.Theatre >= 1) {
this.gotoAndPlay('Theatre');
}
}
instance of movieClip 888 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x += 4;
} else {
if (Key.isDown(39)) {
this._x -= 4;
}
}
}
}
instance of movieClip 890 {
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 904 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x += 6;
} else {
if (Key.isDown(39)) {
this._x -= 6;
}
}
}
}
instance of movieClip 986 {
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x += 8;
} else {
if (Key.isDown(39)) {
this._x -= 8;
}
}
}
}
instance Player of movieClip 1003 {
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 (Key.isDown(39) && Key.isDown(37)) {
_x = _x + walkSpeed;
_xscale = scale;
_x = _x - walkSpeed;
_xscale = -scale;
state = 1;
}
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 890 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.Player) == true && Key.isDown(38)) {
_root.Theatre = 3;
_root.gotoAndPlay('Theatre');
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x += 8;
} else {
if (Key.isDown(39)) {
this._x -= 8;
}
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.Player) == true && Key.isDown(38)) {
_root.gotoAndPlay('OrcaStore');
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x += 8;
} else {
if (Key.isDown(39)) {
this._x -= 8;
}
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.Player)) {
_root.gotoAndPlay('Left 2');
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x += 8;
} else {
if (Key.isDown(39)) {
this._x -= 8;
}
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.Player)) {
_root.gotoAndPlay('Right 2');
}
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this._x += 8;
} else {
if (Key.isDown(39)) {
this._x -= 8;
}
}
}
}
frame 6039 {
stop();
}
button 1566 {
on (release) {
gotoAndPlay('Status3');
}
}
button 1567 {
on (release) {
_root.pos = SharedObject.getLocal('Ristar1');
_root.CheckPoint = 2;
_root.pos.data.CheckPoint = _root.CheckPoint;
_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.HibitoLvl = _root.HibitoLvl;
_root.pos.data.HibitoHp = _root.HibitoHp;
_root.pos.data.HibitoHpMax = _root.HibitoHpMax;
_root.pos.data.HibitoSp = _root.HibitoSp;
_root.pos.data.HibitoSpMax = _root.HibitoSpMax;
_root.pos.data.ExpLeft2 = _root.ExpLeft2;
_root.pos.data.Money = _root.Money;
_root.pos.data.Potions = _root.Potions;
_root.pos.data.HiPotions = _root.HiPotions;
_root.pos.data.MageSoul = _root.MageSoul;
}
}
frame 6041 {
stop();
}
button 1574 {
on (release) {
gotoAndPlay('Items3');
}
}
button 1575 {
on (release) {
gotoAndPlay('Config3');
}
}
button 1576 {
on (release) {
gotoAndPlay('BackToTitle3');
}
}
button 1577 {
on (release) {
gotoAndPlay('Menu3');
}
}
frame 6043 {
stop();
}
button 1578 {
on (release) {
gotoAndPlay('Status3');
}
}
frame 6045 {
stop();
}
frame 6047 {
stop();
}
button 1583 {
on (release) {
gotoAndPlay('Menu3');
}
}
frame 6059 {
stop();
}
button 1584 {
on (release) {
gotoAndPlay('Status4');
}
}
frame 6061 {
stop();
}
button 1591 {
on (release) {
gotoAndPlay('Items4');
}
}
button 1592 {
on (release) {
gotoAndPlay('Confi4');
}
}
button 1593 {
on (release) {
gotoAndPlay('BackToTitle4');
}
}
button 1594 {
on (release) {
gotoAndPlay('Menu4');
}
}
frame 6063 {
stop();
}
button 1595 {
on (release) {
gotoAndPlay('Status4');
}
}
button 1596 {
on (release) {
gotoAndPlay('Config4');
}
}
frame 6065 {
stop();
}
frame 6067 {
stop();
}
button 1601 {
on (release) {
gotoAndPlay('Menu4');
}
}
instance of movieClip 890 {
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;
}
}
}
}
frame 6078 {
stop();
}
button 1603 {
on (release) {
gotoAndPlay(6120);
}
}
button 1604 {
on (release) {
play();
}
}
frame 6080 {
gotoAndPlay('Main Entrance 2');
}
frame 6093 {
stop();
}
button 1605 {
on (release) {
play();
}
}
frame 6095 {
gotoAndPlay('Right Entrance 2');
}
frame 6104 {
stop();
}
button 1606 {
on (release) {
gotoAndPlay('Items');
}
}
button 1609 {
on (release) {
gotoAndPlay('Full');
}
}
button 1611 {
on (release) {
gotoAndPlay('Main Entrance 2');
}
}
frame 6109 {
stop();
}
button 1613 {
on (release) {
gotoAndPlay('OrcaStore');
}
}
button 1619 {
on (release) {
if (_root.Money >= 130) {
_root.Money -= 130;
_root.Potions += 1;
}
}
}
button 1624 {
on (release) {
if (_root.Money >= 250) {
_root.Money -= 250;
_root.HiPotions += 1;
}
}
}
button 1629 {
on (release) {
if (_root.Money >= 200) {
_root.Money -= 200;
_root.MageSoul += 1;
}
}
}
frame 6117 {
_root.RistarHp = _root.RistarHpMax;
_root.RistarSp = _root.RistarSpMax;
_root.HibitoHp = _root.HibitoHpMax;
_root.HibitoSp = _root.HibitoSpMax;
}
frame 6118 {
gotoAndPlay('OrcaStore');
}
button 1640 {
on (keyPress '<Enter>') {
if (_root.Theatre <= 0) {
gotoAndPlay('Scene8');
}
}
}
frame 6123 {
stopAllSounds();
}
frame 6124 {
if (_root.Theatre >= 1) {
this.gotoAndPlay('Theatre');
}
}
frame 6124 {
stop();
}
movieClip 1646 {
}
movieClip 1659 {
}
movieClip 1720 {
}
movieClip 1721 {
}
movieClip 1726 {
frame 46 {
stop();
}
frame 101 {
stop();
}
frame 116 {
stop();
}
frame 141 {
stop();
}
frame 293 {
stop();
}
frame 295 {
stop();
}
frame 402 {
stop();
}
frame 406 {
stop();
}
frame 511 {
stop();
}
frame 526 {
stop();
}
frame 526 {
stop();
}
frame 534 {
stop();
}
frame 546 {
stop();
}
frame 546 {
stop();
}
frame 605 {
stopAllSounds();
}
frame 606 {
stop();
}
frame 704 {
stop();
}
frame 704 {
stop();
}
frame 731 {
stop();
}
frame 731 {
stop();
}
frame 736 {
stop();
}
frame 736 {
stop();
}
frame 741 {
stop();
}
frame 741 {
stop();
}
frame 743 {
stop();
}
frame 743 {
stop();
}
frame 752 {
stop();
}
frame 757 {
stop();
}
frame 757 {
stop();
}
frame 781 {
stop();
}
frame 781 {
stop();
}
frame 796 {
stop();
}
frame 814 {
stop();
}
frame 819 {
stop();
}
frame 828 {
stop();
}
frame 828 {
stop();
}
frame 830 {
stop();
}
frame 830 {
stop();
}
frame 832 {
stop();
}
frame 832 {
stop();
}
frame 852 {
stop();
}
frame 852 {
stop();
}
frame 856 {
stop();
}
frame 856 {
stop();
}
frame 861 {
stop();
}
frame 861 {
stop();
}
frame 869 {
stop();
}
frame 869 {
stop();
}
frame 976 {
stop();
}
frame 976 {
stop();
}
frame 990 {
stop();
}
frame 990 {
stop();
}
frame 992 {
stop();
}
frame 992 {
stop();
}
frame 1006 {
stop();
}
frame 1006 {
stop();
}
frame 1012 {
stopAllSounds();
}
frame 1013 {
_root.play('Battle Scene 2');
}
}
frame 6125 {
_root.Game = 40;
if (_root.Game >= 50) {
_root.Game = 60;
}
}
frame 6125 {
stop();
}
button 1727 {
on (keyPress '<Enter>') {
if (_root.Theatre <= 0) {
gotoAndPlay('Scene9');
}
}
}
movieClip 1732 {
frame 5 {
stop();
}
}
movieClip 1758 {
}
movieClip 1789 {
}
movieClip 1790 {
}
movieClip 1801 {
}
movieClip 1820 {
}
movieClip 1880 {
}
movieClip 1881 {
}
movieClip 1882 {
}
movieClip 1897 {
frame 48 {
stop();
}
}
movieClip 1898 {
}
movieClip 1906 {
}
movieClip 1911 {
}
movieClip 1917 {
}
movieClip 1919 {
}
movieClip 1921 {
}
movieClip 1925 {
}
movieClip 1952 {
}
movieClip 1953 {
}
movieClip 1968 {
}
movieClip 1980 {
}
movieClip 1981 {
}
movieClip 1982 {
frame 62 {
gotoAndPlay(3);
}
}
movieClip 1986 {
}
movieClip 1988 {
}
movieClip 1993 {
}
movieClip 1994 {
}
movieClip 2001 {
}
movieClip 2004 {
}
movieClip 2022 {
}
movieClip 2026 {
}
movieClip 2030 {
}
movieClip 2031 {
}
movieClip 2035 {
}
movieClip 2040 {
frame 246 {
stopAllSounds();
}
frame 638 {
stop();
}
frame 648 {
stop();
}
frame 662 {
stop();
}
frame 711 {
stop();
}
frame 2471 {
stop();
}
frame 2505 {
stop();
}
frame 2512 {
stop();
}
frame 2546 {
stop();
}
frame 2556 {
stop();
}
frame 2570 {
stop();
}
frame 2651 {
stop();
}
frame 2656 {
stop();
}
frame 2756 {
stop();
}
frame 2971 {
stop();
}
frame 2978 {
stop();
}
frame 2984 {
stop();
}
frame 3029 {
stopAllSounds();
}
frame 3030 {
_root.play('Scene 3');
}
}
frame 6126 {
if (_root.Theatre >= 1) {
this.gotoAndPlay('Theatre');
}
}
frame 6127 {
_root.Game = 50;
if (_root.Game >= 60) {
_root.Game = 60;
}
}
button 2041 {
on (keyPress '<Enter>') {
if (_root.Theatre <= 0) {
gotoAndPlay('Scene10');
}
}
}
frame 6130 {
stopAllSounds();
}
movieClip 2044 {
}
movieClip 2047 {
}
movieClip 2050 {
}
movieClip 2053 {
}
movieClip 2057 {
}
movieClip 2060 {
}
movieClip 2063 {
}
movieClip 2064 {
}
movieClip 2067 {
}
movieClip 2068 {
}
movieClip 2070 {
}
frame 6214 {
stop();
}
frame 6218 {
stop();
}
frame 6222 {
stop();
}
frame 6226 {
stop();
}
frame 6230 {
stop();
}
frame 6259 {
stop();
}
movieClip 2079 {
}
movieClip 2081 {
}
frame 6383 {
stop();
}
frame 6385 {
stop();
}
button 2084 {
on (release) {
gotoAndPlay('Toturial2');
}
}
button 2085 {
on (release) {
gotoAndPlay('Temple1');
}
}
frame 6390 {
_root.HibitoSL = 100;
_root.Hits = 0;
}
frame 6390 {
stopAllSounds();
}
movieClip 2087 {
}
movieClip 2088 {
}
movieClip 2091 {
}
movieClip 2092 {
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1341 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
movieClip 2101 {
}
frame 6418 {
stop();
}
frame 6420 {
stop();
}
frame 6422 {
stop();
}
movieClip 2109 {
}
movieClip 2112 {
}
frame 6424 {
gotoAndPlay('ToturialCom');
}
frame 6432 {
stop();
}
button 2115 {
on (release) {
gotoAndPlay('ToturialCom');
}
}
button 2116 {
on (release) {
gotoAndPlay('EndToturial');
}
}
frame 6435 {
stop();
}
button 2117 {
on (release) {
gotoAndPlay('ToturialAtk');
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (_root.HibitoSL >= 100 && Key.isDown(32)) {
_root.gotoAndPlay('ToturialSL');
}
}
}
frame 6509 {
gotoAndPlay('ToturialTry');
}
frame 6525 {
gotoAndPlay('ToturialCom');
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
movieClip 2120 {
}
movieClip 2121 {
}
movieClip 2122 {
}
frame 6615 {
gotoAndPlay('ToturialCal');
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
movieClip 2125 {
}
movieClip 2128 {
}
movieClip 2137 {
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits -= 1;
}
}
}
movieClip 2139 {
}
movieClip 2141 {
}
movieClip 2142 {
}
movieClip 2144 {
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits += 1;
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits -= 1;
}
}
}
movieClip 2145 {
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits += 1;
}
}
}
movieClip 2146 {
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits -= 1;
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits += 1;
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits -= 1;
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits += 1;
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits -= 1;
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits += 1;
}
}
}
movieClip 2147 {
}
movieClip 2149 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
instance of movieClip 2149 {
onClipEvent (enterFrame) {
if (_root.Hits >= 5) {
this.gotoAndPlay('Perfect');
}
}
}
movieClip 2154 {
frame 120 {
stop();
}
}
movieClip 2156 {
}
movieClip 2157 {
}
frame 6855 {
if (_root.Hits >= 5) {
gotoAndPlay('ToturialSL2');
}
}
frame 6856 {
gotoAndPlay('Success');
}
movieClip 2158 {
}
movieClip 2159 {
}
frame 7004 {
_root.Hits = 0;
gotoAndPlay('Success');
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1341 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
frame 7033 {
stopAllSounds();
}
movieClip 2170 {
}
movieClip 2171 {
}
movieClip 2174 {
}
movieClip 2175 {
}
movieClip 2178 {
}
movieClip 2179 {
}
movieClip 2182 {
}
movieClip 2183 {
}
movieClip 2184 {
}
movieClip 2187 {
}
movieClip 2188 {
}
frame 7170 {
stop();
}
frame 7174 {
stop();
}
frame 7178 {
stop();
}
frame 7190 {
stop();
}
frame 7192 {
stop();
}
frame 7200 {
stop();
}
frame 7204 {
stop();
}
frame 7206 {
stop();
}
frame 7265 {
stop();
}
frame 7275 {
stop();
}
frame 7277 {
stop();
}
frame 7278 {
if (_root.Theatre >= 1) {
this.gotoAndPlay('Theatre');
}
}
frame 7280 {
stopAllSounds();
}
frame 7350 {
stop();
}
movieClip 2211 {
}
frame 7354 {
stop();
}
frame 7358 {
stop();
}
movieClip 2215 {
}
frame 7362 {
stop();
}
frame 7366 {
stop();
}
movieClip 2222 {
frame 6 {
stop();
}
}
frame 7370 {
stop();
}
frame 7372 {
stop();
}
frame 7376 {
stop();
}
frame 7380 {
stop();
}
frame 7381 {
stopAllSounds();
}
frame 7382 {
stop();
}
movieClip 2232 {
frame 7 {
stop();
}
}
frame 7395 {
stop();
}
frame 7397 {
stop();
}
frame 7408 {
stop();
}
frame 7411 {
stop();
}
frame 7414 {
stop();
}
frame 7443 {
stop();
}
frame 7445 {
stop();
}
movieClip 2246 {
}
movieClip 2249 {
}
movieClip 2250 {
}
frame 7495 {
stop();
}
frame 7504 {
stopAllSounds();
}
frame 7505 {
stop();
}
frame 7509 {
stop();
}
frame 7513 {
stop();
}
frame 7518 {
stop();
}
frame 7522 {
stop();
}
frame 7526 {
stop();
}
frame 7530 {
stop();
}
frame 7532 {
stop();
}
frame 7534 {
stop();
}
frame 7536 {
stop();
}
frame 7541 {
stop();
}
frame 7545 {
stop();
}
frame 7547 {
stop();
}
frame 7549 {
stop();
}
frame 7556 {
stop();
}
frame 7589 {
stop();
}
movieClip 2269 {
}
movieClip 2297 {
}
movieClip 2303 {
}
frame 7720 {
stop();
}
frame 7750 {
stop();
}
frame 7751 {
stop();
}
frame 7755 {
stop();
}
frame 7760 {
stop();
}
frame 7762 {
stop();
}
frame 7772 {
stop();
}
frame 7797 {
stop();
}
movieClip 2317 {
}
frame 7835 {
if (_root.Theatre >= 1) {
this.gotoAndPlay('Theatre');
}
}
frame 7836 {
_root.Hits = 0;
_root.EnemyHp1 = 28000;
_root.EnemyHpMax1 = 28000;
}
frame 7958 {
_root.RistarSL = 20;
_root.HibitoSL = 20;
}
frame 7959 {
stop();
}
frame 7959 {
_root.Atk = Math.round(Math.random() * 3) + 1;
_root.Turn1 = 1;
}
instance of movieClip 1311 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1341 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1342 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
button 2334 {
on (release) {
gotoAndPlay('RistarAttack2');
}
}
button 2335 {
on (release) {
gotoAndPlay('RistarSkills2');
}
}
button 2336 {
on (release) {
gotoAndPlay('RistarItems2');
}
}
frame 7969 {
stop();
}
button 2337 {
on (release) {
if (_root.RistarSp >= 40) {
_root.RistarSp -= 40;
gotoAndPlay('StarShot2');
}
}
}
button 2338 {
on (release) {
if (_root.RistarSp >= 65) {
_root.RistarSp -= 65;
gotoAndPlay('RadiantBlow2');
}
}
}
button 2339 {
on (release) {
if (_root.RistarSp >= 95) {
_root.RistarSp -= 95;
gotoAndPlay('MeteorStrike2');
}
}
}
frame 7978 {
stop();
}
button 2344 {
on (release) {
if (_root.Potions >= 0) {
_root.Potions -= 1;
gotoAndPlay('RistarPotion2');
}
}
}
button 2346 {
on (release) {
if (_root.HiPotions >= 0) {
_root.HiPotions -= 1;
gotoAndPlay('RistarHiPotion2');
}
}
}
button 2348 {
on (release) {
if (_root.MageSoul >= 0) {
_root.MageSoul -= 1;
gotoAndPlay('RistarEther2');
}
}
}
frame 7985 {
stop();
}
frame 7985 {
_root.Atk = Math.round(Math.random() * 3) + 1;
}
button 2352 {
on (release) {
gotoAndPlay('HibitoAttack2');
}
}
button 2353 {
on (release) {
gotoAndPlay('HibitoSkills2');
}
}
button 2354 {
on (release) {
gotoAndPlay('HibitoItems2');
}
}
frame 7993 {
stop();
}
button 2355 {
on (release) {
if (_root.HibitoSp >= 55) {
_root.HibitoSp -= 55;
gotoAndPlay('FireBall2');
}
}
}
button 2356 {
on (release) {
if (_root.HibitoSp >= 80) {
_root.HibitoSp -= 80;
gotoAndPlay('FlameFang2');
}
}
}
button 2357 {
on (release) {
if (_root.HibitoSp >= 120) {
_root.HibitoSp -= 120;
gotoAndPlay('PyroCross2');
}
}
}
frame 8002 {
stop();
}
button 2358 {
on (release) {
if (_root.Potions >= 0) {
_root.Potions -= 1;
gotoAndPlay('HibitoPotion2');
}
}
}
button 2359 {
on (release) {
if (_root.HiPotions >= 0) {
_root.HiPotions -= 1;
gotoAndPlay('HibitoHiPotion2');
}
}
}
button 2360 {
on (release) {
if (_root.MageSoul >= 0) {
_root.MageSoul -= 1;
gotoAndPlay('HibitoEther2');
}
}
}
frame 8049 {
if (_root.HibitoHp <= 0 && _root.RistarHp <= 0) {
this.gotoAndPlay('GameOver2');
}
}
frame 8050 {
if (_root.EnemyHp1 <= 0) {
this.gotoAndPlay('Victory2');
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (_root.HibitoSL >= 100 && _root.Turn1 == 3 && Key.isDown(32)) {
_root.gotoAndPlay('HibitoSL2');
}
}
onClipEvent (enterFrame) {
if (_root.Ristar >= 100 && _root.Turn1 == 2 && Key.isDown(32)) {
_root.gotoAndPlay('RistarSL2');
}
}
}
frame 8065 {
if (_root.Turn1 == 1 && _root.RistarHp >= 1) {
this.gotoAndPlay('RistarCmd2');
}
if (_root.Turn1 == 1 && _root.RistarHp <= 0) {
this.gotoAndPlay('HibitoCmd2');
}
}
frame 8074 {
if (_root.Turn1 == 2 && _root.HibitoHp >= 1) {
this.gotoAndPlay('HibitoCmd2');
}
if (_root.Turn1 == 3) {
this.gotoAndPlay('PuddingCmd');
}
}
frame 8080 {
if (_root.Atk == 1) {
gotoAndPlay('PuddingAttack1');
}
if (_root.Atk == 2) {
gotoAndPlay('PuddingAttack2');
}
if (_root.Atk == 3) {
gotoAndPlay('PuddingAttack3');
}
if (_root.Atk == 4) {
gotoAndPlay('PuddingAttack4');
}
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
movieClip 2365 {
}
frame 8168 {
_root.Turn1 = 3;
_root.damage1 = Math.round(Math.random() * 15) + 55 + _root.HibitoLvl * 33;
_root.EnemyHp1 -= _root.damage1;
if (_root.EnemyHp1 <= 0) {
_root.EnemyHp1 = 0;
}
}
frame 8169 {
gotoAndPlay('Calculations2');
}
frame 8282 {
_root.Turn1 = 3;
_root.damage2 = Math.round(Math.random() * 150) + 180 + _root.HibitoLvl * 33;
_root.EnemyHp2 -= _root.damage2;
if (_root.EnemyHp2 <= 0) {
_root.EnemyHp2 = 0;
}
_root.damage1 = Math.round(Math.random() * 150) + 180 + _root.HibitoLvl * 33;
_root.EnemyHp1 -= _root.damage1;
if (_root.EnemyHp1 <= 0) {
_root.EnemyHp1 = 0;
}
}
frame 8283 {
gotoAndPlay('Calculations2');
}
frame 8419 {
_root.Turn1 = 3;
_root.damage2 = Math.round(Math.random() * 150) + 320 + _root.HibitoLvl * 35;
_root.EnemyHp2 -= _root.damage2;
if (_root.EnemyHp2 <= 0) {
_root.EnemyHp2 = 0;
}
_root.damage1 = Math.round(Math.random() * 150) + 320 + _root.HibitoLvl * 35;
_root.EnemyHp1 -= _root.damage1;
if (_root.EnemyHp1 <= 0) {
_root.EnemyHp1 = 0;
}
}
frame 8420 {
gotoAndPlay('Calculations2');
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
frame 8604 {
_root.Turn1 = 3;
_root.damage2 = Math.round(Math.random() * 150) + 580 + _root.HibitoLvl * 37;
_root.EnemyHp2 -= _root.damage2;
if (_root.EnemyHp2 <= 0) {
_root.EnemyHp2 = 0;
}
_root.damage1 = Math.round(Math.random() * 150) + 580 + _root.HibitoLvl * 37;
_root.EnemyHp1 -= _root.damage1;
if (_root.EnemyHp1 <= 0) {
_root.EnemyHp1 = 0;
}
}
frame 8605 {
gotoAndPlay('Calculations2');
}
frame 8679 {
_root.Turn1 = 2;
_root.damage1 = Math.round(Math.random() * 50) + 105 + _root.Lvl * 33;
_root.EnemyHp1 -= _root.damage1;
if (_root.EnemyHp1 <= 0) {
_root.EnemyHp1 = 0;
}
}
frame 8680 {
gotoAndPlay('Calculations2');
}
instance thunder of movieClip 1455 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 50;
}
if (_root.mgc >= 64 && this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 60;
}
}
}
instance thunder of movieClip 1455 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 50;
}
if (_root.mgc >= 64 && this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 60;
}
}
}
instance thunder of movieClip 1455 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 50;
}
if (_root.mgc >= 64 && this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 60;
}
}
}
instance thunder of movieClip 1455 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 50;
}
if (_root.mgc >= 64 && this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 60;
}
}
}
frame 8824 {
_root.Turn1 = 2;
_root.damage1 = Math.round(Math.random() * 150) + 170 + _root.Lvl * 33;
_root.EnemyHp1 -= _root.damage1;
if (_root.EnemyHp1 <= 0) {
_root.EnemyHp1 = 0;
}
}
frame 8825 {
gotoAndPlay('Calculations2');
}
frame 8963 {
_root.Turn1 = 2;
_root.damage2 = Math.round(Math.random() * 150) + 370 + _root.Lvl * 35;
_root.EnemyHp2 -= _root.damage2;
if (_root.EnemyHp2 <= 0) {
_root.EnemyHp2 = 0;
}
_root.damage1 = Math.round(Math.random() * 150) + 370 + _root.Lvl * 35;
_root.EnemyHp1 -= _root.damage1;
if (_root.EnemyHp1 <= 0) {
_root.EnemyHp1 = 0;
}
}
frame 8964 {
gotoAndPlay('Calculations2');
}
instance thunder of movieClip 1455 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 50;
}
if (_root.mgc >= 64 && this.hitTest(_root.TGhurt) == true) {
_root.TGhp -= 60;
}
}
}
instance of movieClip 1311 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
frame 9118 {
_root.Turn1 = 2;
_root.damage2 = Math.round(Math.random() * 150) + 570 + _root.Lvl * 37;
_root.EnemyHp2 -= _root.damage2;
if (_root.EnemyHp2 <= 0) {
_root.EnemyHp2 = 0;
}
_root.damage1 = Math.round(Math.random() * 150) + 570 + _root.Lvl * 37;
_root.EnemyHp1 -= _root.damage1;
if (_root.EnemyHp1 <= 0) {
_root.EnemyHp1 = 0;
}
}
frame 9119 {
gotoAndPlay('Calculations2');
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1311 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1311 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
frame 9153 {
_quality = 'LOW';
}
movieClip 2367 {
}
movieClip 2370 {
}
movieClip 2371 {
}
movieClip 2372 {
frame 9 {
gotoAndPlay(1);
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits -= 1;
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits += 1;
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits -= 1;
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits += 1;
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits -= 1;
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits += 1;
}
}
}
movieClip 2374 {
}
instance of movieClip 2149 {
onClipEvent (enterFrame) {
if (_root.Hits >= 4) {
this.gotoAndPlay('Perfect');
}
}
}
movieClip 2377 {
}
movieClip 2378 {
}
movieClip 2380 {
}
frame 9312 {
_root.damage1 = Math.round(Math.random() * 150) + 2450 + _root.Lvl * 37;
_root.EnemyHp1 -= _root.damage1;
if (_root.EnemyHp1 <= 0) {
_root.EnemyHp1 = 0;
}
_quality = 'MEDIUM';
}
frame 9313 {
if (_root.Hits >= 4) {
gotoAndPlay('RistarOD2');
}
}
frame 9314 {
_root.Turn1 = 2;
_root.RistarSL = 0;
gotoAndPlay('Calculations2');
}
movieClip 2382 {
}
movieClip 2384 {
}
movieClip 2385 {
}
movieClip 2386 {
}
movieClip 2387 {
}
frame 9432 {
_root.damage1 = Math.round(Math.random() * 150) + 1150 + _root.Lvl * 33;
_root.EnemyHp1 -= _root.damage1;
if (_root.EnemyHp1 <= 0) {
_root.EnemyHp1 = 0;
}
}
frame 9433 {
_root.Hits = 0;
_root.Turn1 = 2;
_root.RistarSL = 0;
gotoAndPlay('Calculations2');
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits -= 1;
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits += 1;
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits -= 1;
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits += 1;
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits -= 1;
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits += 1;
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits -= 1;
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits += 1;
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits -= 1;
}
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.Hits += 1;
}
}
}
instance of movieClip 2149 {
onClipEvent (enterFrame) {
if (_root.Hits >= 5) {
this.gotoAndPlay('Perfect');
}
}
}
frame 9670 {
_root.damage1 = Math.round(Math.random() * 150) + 2450 + _root.HibitoLvl * 37;
_root.EnemyHp1 -= _root.damage1;
if (_root.EnemyHp1 <= 0) {
_root.EnemyHp1 = 0;
}
if (_root.Hits >= 5) {
gotoAndPlay('HibitoOD2');
}
}
frame 9671 {
_root.Hits = 0;
_root.Turn1 = 3;
_root.HibitoSL = 0;
gotoAndPlay('Calculations2');
}
frame 9819 {
_root.Hits = 0;
_root.Turn1 = 3;
_root.HibitoSL = 0;
_root.damage1 = Math.round(Math.random() * 150) + 1150 + _root.HibitoLvl * 33;
_root.EnemyHp1 -= _root.damage1;
if (_root.EnemyHp1 <= 0) {
_root.EnemyHp1 = 0;
}
gotoAndPlay('Calculations2');
}
instance of movieClip 1311 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
frame 9871 {
_root.RistarHp += 500;
if (_root.RistarHp >= _root.RistarHpMax) {
_root.RistarHp = _root.RistarHpMax;
}
}
frame 9872 {
gotoAndPlay('Calculations2');
_root.Turn1 = 2;
}
frame 9896 {
_root.RistarHp += 1000;
if (_root.RistarHp >= _root.RistarHpMax) {
_root.RistarHp = _root.RistarHpMax;
}
}
frame 9897 {
gotoAndPlay('Calculations2');
_root.Turn1 = 2;
}
frame 9928 {
_root.RistarSp += 350;
if (_root.RistarSp >= _root.RistarSpMax) {
_root.RistarSp = _root.RistarSpMax;
}
}
frame 9929 {
gotoAndPlay('Calculations2');
_root.Turn1 = 2;
}
frame 9956 {
_root.HibitoHp += 500;
if (_root.HibitoHp >= _root.HibitoHpMax) {
_root.HibitoHp = _root.HibitoHpMax;
}
}
frame 9957 {
gotoAndPlay('Calculations2');
_root.Turn1 = 3;
}
frame 9982 {
_root.HibitoHp += 1000;
if (_root.HibitoHp >= _root.HibitoHpMax) {
_root.HibitoHp = _root.HibitoHpMax;
}
}
frame 9983 {
gotoAndPlay('Calculations2');
_root.Turn1 = 3;
}
frame 10009 {
_root.HibitoSp += 350;
if (_root.HibitoSp >= _root.HibitoSpMax) {
_root.HibitoSp = _root.HibitoSpMax;
}
}
frame 10010 {
gotoAndPlay('Calculations2');
_root.Turn1 = 3;
}
instance of movieClip 1311 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
movieClip 2395 {
}
movieClip 2399 {
}
movieClip 2401 {
}
instance of movieClip 1503 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1504 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
frame 10181 {
_root.Turn1 = 1;
_root.Atk1 = 0;
_root.damage3 = Math.round(Math.random() * 30) + 150;
_root.RistarHp -= _root.damage3;
if (_root.RistarHp <= 0) {
_root.RistarHp = 0;
}
_root.damage4 = Math.round(Math.random() * 30) + 130;
_root.HibitoHp -= _root.damage3;
if (_root.HibitoHp <= 0) {
_root.HibitoHp = 0;
}
_root.RistarSL += 33;
if (_root.RistarSL >= 100) {
_root.RistarSL = 100;
}
_root.HibitoSL += 31;
if (_root.HibitoSL >= 100) {
_root.HibitoSL = 100;
}
}
frame 10182 {
gotoAndPlay('Calculations2');
}
instance of movieClip 1311 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
movieClip 2402 {
}
movieClip 2409 {
frame 20 {
gotoAndPlay(9);
}
}
instance of movieClip 1503 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1504 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
frame 10307 {
_root.Turn1 = 1;
_root.Atk1 = 0;
_root.damage3 = Math.round(Math.random() * 30) + 210;
_root.RistarHp -= _root.damage3;
if (_root.RistarHp <= 0) {
_root.RistarHp = 0;
}
_root.damage4 = Math.round(Math.random() * 30) + 190;
_root.HibitoHp -= _root.damage3;
if (_root.HibitoHp <= 0) {
_root.HibitoHp = 0;
}
_root.RistarSL += 29;
if (_root.RistarSL >= 100) {
_root.RistarSL = 100;
}
_root.HibitoSL += 32;
if (_root.HibitoSL >= 100) {
_root.HibitoSL = 100;
}
}
frame 10308 {
gotoAndPlay('Calculations2');
}
instance of movieClip 1311 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1503 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1504 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
frame 10396 {
_root.Turn1 = 1;
_root.Atk1 = 0;
_root.damage3 = Math.round(Math.random() * 30) + 80;
_root.RistarHp -= _root.damage3;
if (_root.RistarHp <= 0) {
_root.RistarHp = 0;
}
_root.damage4 = Math.round(Math.random() * 30) + 70;
_root.HibitoHp -= _root.damage3;
if (_root.HibitoHp <= 0) {
_root.HibitoHp = 0;
}
_root.RistarSL += 23;
if (_root.RistarSL >= 100) {
_root.RistarSL = 100;
}
_root.HibitoSL += 26;
if (_root.HibitoSL >= 100) {
_root.HibitoSL = 100;
}
}
frame 10397 {
gotoAndPlay('Calculations2');
}
instance of movieClip 1311 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
movieClip 2445 {
}
movieClip 2450 {
}
movieClip 2457 {
}
instance of movieClip 1503 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 1504 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
frame 10489 {
_root.Turn1 = 1;
_root.Atk1 = 0;
_root.damage3 = Math.round(Math.random() * 30) + 260;
_root.RistarHp -= _root.damage3;
if (_root.RistarHp <= 0) {
_root.RistarHp = 0;
}
_root.damage4 = Math.round(Math.random() * 30) + 250;
_root.HibitoHp -= _root.damage3;
if (_root.HibitoHp <= 0) {
_root.HibitoHp = 0;
}
_root.RistarSL += 37;
if (_root.RistarSL >= 100) {
_root.RistarSL = 100;
}
_root.HibitoSL += 33;
if (_root.HibitoSL >= 100) {
_root.HibitoSL = 100;
}
}
frame 10490 {
gotoAndPlay('Calculations2');
}
instance of movieClip 1311 {
onClipEvent (enterFrame) {
if (_root.RistarHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
instance of movieClip 568 {
onClipEvent (enterFrame) {
if (_root.HibitoHp <= 0) {
this.gotoAndPlay('Dead');
}
}
}
frame 10599 {
_root.ExpGain = 1750;
_root.ExpGain2 = 1750;
_root.MoneyGain = Math.round(Math.random() * 0) + 1400;
}
frame 10600 {
stop();
}
button 2467 {
on (release) {
gotoAndPlay('Results2');
}
}
frame 10613 {
_root.ExpLeft -= _root.ExpGain;
_root.ExpLeft2 -= _root.ExpGain2;
_root.Money += _root.MoneyGain;
if (_root.ExpLeft <= 0) {
_root.ExpLeft = 0;
}
if (_root.ExpLeft2 <= 0) {
_root.ExpLeft2 = 0;
}
}
frame 10614 {
if (_root.ExpLeft <= 0) {
gotoAndPlay('LevelUp3');
}
}
frame 10615 {
if (_root.ExpLeft2 <= 0) {
gotoAndPlay('LevelUp4');
}
}
frame 10616 {
stop();
_root.ExpGain = 0;
_root.ExpGain2 = 0;
_root.MoneyGain = 0;
}
button 2468 {
on (release) {
gotoAndPlay('AfterBattle2');
}
}
frame 10621 {
_root.Lvl += 1;
_root.RistarHp += 97;
_root.RistarHpMax += 97;
_root.RistarSp += 52;
_root.RistarSpMax += 52;
}
frame 10622 {
_root.ExpLeft = _root.Lvl * 157;
}
frame 10623 {
_root.ExpGain = 0;
_root.ExpGain2 = 0;
_root.MoneyGain = 0;
if (_root.Lvl >= 20) {
_root.ExpLeft *= 2;
}
}
frame 10624 {
if (_root.ExpLeft2 <= 0) {
gotoAndPlay('LevelUp4');
}
}
frame 10633 {
_root.HibitoLvl += 1;
_root.HibitoHp += 83;
_root.HibitoHpMax += 83;
_root.HibitoSp += 67;
_root.HibitoSpMax += 67;
}
frame 10634 {
_root.ExpLeft2 = _root.HibitoLvl * 153;
}
frame 10635 {
stop();
_root.ExpGain2 = 0;
_root.ExpGain = 0;
_root.MoneyGain = 0;
if (_root.HibitoLvl >= 18) {
_root.ExpLeft2 *= 2;
}
}
frame 10683 {
_root.pos = SharedObject.getLocal('Ristar1');
_root.pos.data.Game = _root.Game;
_root.pos.data.Lvl = _root.Lvl;
_root.pos.data.HibitoLvl = _root.HibitoLvl;
_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.HibitoHp = _root.HibitoHp;
_root.pos.data.HibitoHpMax = _root.HibitoHpMax;
_root.pos.data.HibitoSp = _root.HibitoSp;
_root.pos.data.HibitoSpMax = _root.HibitoSpMax;
_root.pos.data.ExpLeft = _root.ExpLeft;
_root.pos.data.ExpLeft2 = _root.ExpLeft2;
_root.pos.data.Potion = _root.Potion;
_root.pos.data.HiPotion = _root.HiPotion;
_root.pos.data.MageSoul = _root.MageSoul;
_root.pos.data.Money = _root.Money;
}
frame 10684 {
gotoAndPlay('Scene11');
stopAllSounds();
}
movieClip 2469 {
frame 13 {
stop();
}
}
movieClip 2471 {
}
movieClip 2473 {
}
frame 10825 {
gotoAndPlay('Title Screen');
}
frame 10834 {
stopAllSounds();
}
frame 10835 {
_root.Game = 60;
_root.pos = SharedObject.getLocal('Ristar1');
_root.pos.data.Game = _root.Game;
}
button 2474 {
on (keyPress '<Enter>') {
if (_root.Theatre <= 0) {
gotoAndPlay('Scene12');
}
}
}
movieClip 2477 {
}
frame 11040 {
stop();
}
frame 11060 {
stop();
}
frame 11064 {
stop();
}
frame 11068 {
stop();
}
frame 11072 {
stop();
}
frame 11076 {
stop();
}
frame 11091 {
stopAllSounds();
}
movieClip 2488 {
}
frame 11181 {
stop();
}
movieClip 2500 {
}
frame 11220 {
stop();
}
movieClip 2503 {
}
frame 11225 {
stop();
}
frame 11229 {
stop();
}
frame 11231 {
stop();
}
frame 11235 {
stop();
}
frame 11242 {
stop();
}
frame 11299 {
stop();
}
frame 11303 {
stop();
}
frame 11314 {
stop();
}
frame 11316 {
stop();
}
frame 11415 {
stop();
}
frame 11450 {
stop();
}
frame 11454 {
stop();
}
frame 11458 {
stop();
}
frame 11462 {
stop();
}
frame 11466 {
stop();
}
frame 11493 {
stop();
}
frame 11520 {
stop();
}
frame 11541 {
stop();
}
frame 11600 {
stop();
}
frame 11602 {
stop();
}
frame 11638 {
stop();
}
frame 11696 {
stop();
}
frame 11732 {
if (_root.Theatre >= 1) {
this.gotoAndPlay('Theatre');
}
}
frame 11732 {
stopAllSounds();
}
button 2533 {
on (keyPress '<Enter>') {
if (_root.Theatre <= 0) {
gotoAndPlay('Scene13');
}
}
}
movieClip 2537 {
}
movieClip 2540 {
}
frame 11853 {
stop();
}
frame 11857 {
stop();
}
frame 11861 {
stop();
}
frame 11865 {
stop();
}
frame 11869 {
stop();
}
movieClip 2548 {
}
frame 11895 {
stop();
}
frame 11906 {
stop();
}
frame 11912 {
stop();
}
movieClip 2554 {
}
frame 11937 {
stop();
}
frame 11950 {
stop();
}
frame 11953 {
stop();
}
frame 11955 {
stop();
}
frame 11957 {
stop();
}
frame 11982 {
stop();
}
frame 11986 {
stop();
}
frame 11990 {
stop();
}
frame 11995 {
stop();
}
frame 11997 {
stop();
}
frame 11999 {
stop();
}
frame 12005 {
stop();
}
frame 12007 {
stop();
}
frame 12012 {
stop();
}
frame 12017 {
stop();
}
frame 12021 {
stop();
}
frame 12023 {
stop();
}
frame 12040 {
stop();
}
frame 12042 {
stop();
}
frame 12069 {
stopAllSounds();
}
frame 12120 {
stop();
}
frame 12125 {
stop();
}
frame 12130 {
stop();
}
frame 12157 {
stop();
}
frame 12200 {
stopAllSounds();
}
frame 12269 {
stop();
}
movieClip 2582 {
}
movieClip 2586 {
}
frame 12305 {
stop();
}
frame 12310 {
stop();
}
movieClip 2590 {
}
frame 12315 {
stop();
}
frame 12319 {
stop();
}
frame 12324 {
stop();
}
frame 12329 {
stop();
}
frame 12334 {
stop();
}
frame 12339 {
stop();
}
movieClip 2599 {
}
movieClip 2600 {
}
frame 12355 {
stop();
}
movieClip 2603 {
}
frame 12366 {
stop();
}
frame 12367 {
stop();
}
frame 12372 {
stop();
}
frame 12377 {
stop();
}
frame 12381 {
stop();
}
frame 12385 {
stop();
}
frame 12389 {
stop();
}
frame 12393 {
stop();
}
frame 12397 {
stop();
}
movieClip 2616 {
}
frame 12402 {
stop();
}
frame 12407 {
stop();
}
frame 12411 {
stop();
}
frame 12413 {
stop();
}
frame 12418 {
stop();
}
frame 12424 {
stop();
}
movieClip 2624 {
}
frame 12429 {
stop();
}
frame 12470 {
if (_root.Theatre >= 1) {
this.gotoAndPlay('Theatre');
}
}
button 2627 {
on (keyPress '<Enter>') {
if (_root.Theatre <= 0) {
gotoAndPlay('Credits');
}
}
}
frame 12473 {
stopAllSounds();
}
movieClip 2630 {
}
movieClip 2633 {
}
movieClip 2636 {
}
movieClip 2638 {
}
movieClip 2639 {
}
movieClip 2641 {
}
movieClip 2643 {
}
frame 12499 {
stop();
}
frame 12503 {
stop();
}
frame 12507 {
stop();
}
frame 12511 {
stop();
}
frame 12515 {
stop();
}
frame 12519 {
stop();
}
movieClip 2652 {
}
frame 12563 {
stopAllSounds();
}
movieClip 2656 {
}
frame 12640 {
if (_root.Theatre >= 1) {
this.gotoAndPlay('Theatre');
}
}
movieClip 2658 {
}
frame 12646 {
stopAllSounds();
}
frame 13800 {
stopAllSounds();
}
movieClip 2660 {
}
frame 13802 {
gotoAndPlay('Title Screen');
}
movieClip 2662 {
}
movieClip 2666 {
}
movieClip 2668 {
}
frame 13975 {
gotoAndPlay('Scene1');
stopAllSounds();
}