Frame 1
function doSomething() {
}
function doSomething2() {
getURL ("http://movie.hk.pl", _blank);
}
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Copyright by Jacob Dzwinel", doSomething);
Functioned2 = new ContextMenuItem("Visit WebSite", doSomething2);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
_root.menu = MENU;
Frame 3
save1 = 0;
save2 = 0;
save3 = 0;
herolife = 100;
experience = 0;
enemylife = 50;
enemyattack1 = 0;
herosgun = random(10);
enemysgun = random(10);
cash = 50;
back = random(7);
stop();
Frame 4
if (_root.back == 0) {
tellTarget ("_root.background") {
gotoAndStop (1);
};
}
if (_root.back == 1) {
tellTarget ("_root.background") {
gotoAndStop (2);
};
}
if (_root.back == 2) {
tellTarget ("_root.background") {
gotoAndStop (3);
};
}
if (_root.back == 3) {
tellTarget ("_root.background") {
gotoAndStop (4);
};
}
if (_root.back == 4) {
tellTarget ("_root.background") {
gotoAndStop (5);
};
}
if (_root.back == 6) {
tellTarget ("_root.background") {
gotoAndStop (7);
};
}
if (_root.herosgun == 0) {
tellTarget ("_root.herogun") {
gotoAndStop (11);
};
}
if (_root.herosgun == 10) {
tellTarget ("_root.herogun") {
gotoAndStop (11);
};
}
if (_root.herosgun == 1) {
tellTarget ("_root.herogun") {
gotoAndStop (11);
};
}
if (_root.herosgun == 2) {
tellTarget ("_root.herogun") {
gotoAndStop (12);
};
}
if (_root.herosgun == 3) {
tellTarget ("_root.herogun") {
gotoAndStop (13);
};
}
if (_root.herosgun == 4) {
tellTarget ("_root.herogun") {
gotoAndStop (14);
};
}
if (_root.herosgun == 5) {
tellTarget ("_root.herogun") {
gotoAndStop (15);
};
}
if (_root.herosgun == 6) {
tellTarget ("_root.herogun") {
gotoAndStop (16);
};
}
if (_root.herosgun == 7) {
tellTarget ("_root.herogun") {
gotoAndStop (17);
};
}
if (_root.herosgun == 8) {
tellTarget ("_root.herogun") {
gotoAndStop (18);
};
}
if (_root.herosgun == 9) {
tellTarget ("_root.herogun") {
gotoAndStop (19);
};
}
if (_root.enemysgun == 10) {
tellTarget ("_root.enemygun") {
gotoAndStop (11);
};
}
if (_root.enemysgun == 0) {
tellTarget ("_root.enemygun") {
gotoAndStop (11);
};
}
if (_root.enemysgun == 1) {
tellTarget ("_root.enemygun") {
gotoAndStop (11);
};
}
if (_root.enemysgun == 2) {
tellTarget ("_root.enemygun") {
gotoAndStop (12);
};
}
if (_root.enemysgun == 3) {
tellTarget ("_root.enemygun") {
gotoAndStop (13);
};
}
if (_root.enemysgun == 4) {
tellTarget ("_root.enemygun") {
gotoAndStop (14);
};
}
if (_root.enemysgun == 5) {
tellTarget ("_root.enemygun") {
gotoAndStop (15);
};
}
if (_root.enemysgun == 6) {
tellTarget ("_root.enemygun") {
gotoAndStop (16);
};
}
if (_root.enemysgun == 7) {
tellTarget ("_root.enemygun") {
gotoAndStop (17);
};
}
if (_root.enemysgun == 8) {
tellTarget ("_root.enemygun") {
gotoAndStop (18);
};
}
if (_root.enemysgun == 9) {
tellTarget ("_root.enemygun") {
gotoAndStop (19);
};
}
Frame 5
stop();
Frame 6
stop();
if (_root.herosgun == 10) {
tellTarget ("_root.herogun") {
gotoAndPlay (1);
};
}
if (_root.herosgun == 0) {
tellTarget ("_root.herogun") {
gotoAndPlay (1);
};
}
if (_root.herosgun == 1) {
tellTarget ("_root.herogun") {
gotoAndPlay (1);
};
}
if (_root.herosgun == 2) {
tellTarget ("_root.herogun") {
gotoAndPlay (2);
};
}
if (_root.herosgun == 3) {
tellTarget ("_root.herogun") {
gotoAndPlay (3);
};
}
if (_root.herosgun == 4) {
tellTarget ("_root.herogun") {
gotoAndPlay (4);
};
}
if (_root.herosgun == 5) {
tellTarget ("_root.herogun") {
gotoAndPlay (5);
};
}
if (_root.herosgun == 6) {
tellTarget ("_root.herogun") {
gotoAndPlay (6);
};
}
if (_root.herosgun == 7) {
tellTarget ("_root.herogun") {
gotoAndPlay (7);
};
}
if (_root.herosgun == 8) {
tellTarget ("_root.herogun") {
gotoAndPlay (8);
};
}
if (_root.herosgun == 9) {
tellTarget ("_root.herogun") {
gotoAndPlay (9);
};
}
Frame 7
stop();
if (_root.enemysgun == 10) {
tellTarget ("_root.enemygun") {
gotoAndPlay (1);
};
}
if (_root.enemysgun == 0) {
tellTarget ("_root.enemygun") {
gotoAndPlay (1);
};
}
if (_root.enemysgun == 1) {
tellTarget ("_root.enemygun") {
gotoAndPlay (1);
};
}
if (_root.enemysgun == 2) {
tellTarget ("_root.enemygun") {
gotoAndPlay (2);
};
}
if (_root.enemysgun == 3) {
tellTarget ("_root.enemygun") {
gotoAndPlay (3);
};
}
if (_root.enemysgun == 4) {
tellTarget ("_root.enemygun") {
gotoAndPlay (4);
};
}
if (_root.enemysgun == 5) {
tellTarget ("_root.enemygun") {
gotoAndPlay (5);
};
}
if (_root.enemysgun == 6) {
tellTarget ("_root.enemygun") {
gotoAndPlay (6);
};
}
if (_root.enemysgun == 7) {
tellTarget ("_root.enemygun") {
gotoAndPlay (7);
};
}
if (_root.enemysgun == 8) {
tellTarget ("_root.enemygun") {
gotoAndPlay (8);
};
}
if (_root.enemysgun == 9) {
tellTarget ("_root.enemygun") {
gotoAndPlay (9);
};
}
Frame 8
enemylife = 50;
enemyattack1 = 0;
herosgun = random(10);
enemysgun = random(10);
back = random(7);
stop();
Frame 10
herolife = herolife + 20;
enemylife = 50;
_root.experience = _root.experience + 1;
enemyattack1 = 0;
herosgun = random(10);
enemysgun = random(10);
cash = cash + 10;
back = random(7);
stop();
Frame 12
stop();
Frame 13
stop();
Symbol 10 Button
on (release) {
_root.gotoAndPlay("menu");
}
Symbol 11 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 11 MovieClip Frame 2
gotoAndPlay (1);
Symbol 23 Button
on (release) {
_root.gotoAndPlay("battle");
}
Symbol 28 Button
on (press) {
_root.gotoAndPlay("options");
}
Symbol 33 Button
on (release) {
getURL ("http://movie.hk.pl", "_blank");
}
Symbol 38 Button
on (press) {
_root.gotoAndPlay("credit");
}
Symbol 53 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 2
stop();
Symbol 53 MovieClip Frame 3
stop();
Symbol 53 MovieClip Frame 4
stop();
Symbol 53 MovieClip Frame 5
stop();
Symbol 53 MovieClip Frame 6
stop();
Symbol 53 MovieClip Frame 7
stop();
Symbol 59 MovieClip Frame 4
stop();
Symbol 66 MovieClip Frame 11
_root.herolife = _root.herolife - random(3);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 66 MovieClip Frame 17
_root.herolife = _root.herolife - random(3);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 66 MovieClip Frame 23
_root.herolife = _root.herolife - random(3);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 66 MovieClip Frame 40
tellTarget ("_parent") {
gotoAndPlay (10);
};
Symbol 69 MovieClip Frame 13
_root.herolife = _root.herolife - random(5);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 69 MovieClip Frame 19
_root.herolife = _root.herolife - random(5);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 69 MovieClip Frame 25
_root.herolife = _root.herolife - random(5);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 69 MovieClip Frame 40
tellTarget ("_parent") {
gotoAndPlay (10);
};
Symbol 72 MovieClip Frame 12
_root.herolife = _root.herolife - random(8);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 72 MovieClip Frame 18
_root.herolife = _root.herolife - random(8);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 72 MovieClip Frame 31
tellTarget ("_parent") {
gotoAndPlay (10);
};
Symbol 75 MovieClip Frame 10
_root.herolife = _root.herolife - random(5);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 75 MovieClip Frame 16
_root.herolife = _root.herolife - random(5);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 75 MovieClip Frame 22
_root.herolife = _root.herolife - random(5);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 75 MovieClip Frame 40
tellTarget ("_parent") {
gotoAndPlay (10);
};
Symbol 78 MovieClip Frame 10
_root.herolife = _root.herolife - random(4);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 78 MovieClip Frame 16
_root.herolife = _root.herolife - random(4);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 78 MovieClip Frame 22
_root.herolife = _root.herolife - random(4);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 78 MovieClip Frame 28
_root.herolife = _root.herolife - random(4);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 78 MovieClip Frame 46
tellTarget ("_parent") {
gotoAndPlay (10);
};
Symbol 82 MovieClip Frame 10
_root.herolife = _root.herolife - random(15);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 82 MovieClip Frame 21
tellTarget ("_parent") {
gotoAndPlay (10);
};
Symbol 85 MovieClip Frame 1
Symbol 85 MovieClip Frame 10
_root.herolife = _root.herolife - random(7);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 85 MovieClip Frame 16
_root.herolife = _root.herolife - random(7);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 85 MovieClip Frame 36
tellTarget ("_parent") {
gotoAndPlay (10);
};
Symbol 88 MovieClip Frame 10
_root.herolife = _root.herolife - random(3);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 88 MovieClip Frame 16
_root.herolife = _root.herolife - random(3);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 88 MovieClip Frame 22
_root.herolife = _root.herolife - random(3);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 88 MovieClip Frame 28
_root.herolife = _root.herolife - random(3);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 88 MovieClip Frame 34
_root.herolife = _root.herolife - random(3);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 88 MovieClip Frame 54
tellTarget ("_parent") {
gotoAndPlay (10);
};
Symbol 91 MovieClip Frame 10
_root.herolife = _root.herolife - random(6);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 91 MovieClip Frame 16
_root.herolife = _root.herolife - random(6);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 91 MovieClip Frame 22
_root.herolife = _root.herolife - random(6);
if (_root.herolife < 1) {
_root.gotoAndPlay("win");
}
Symbol 91 MovieClip Frame 42
tellTarget ("_parent") {
gotoAndPlay (10);
};
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 2
stop();
Symbol 92 MovieClip Frame 3
stop();
Symbol 92 MovieClip Frame 4
stop();
stop();
Symbol 92 MovieClip Frame 5
stop();
Symbol 92 MovieClip Frame 6
stop();
Symbol 92 MovieClip Frame 7
stop();
Symbol 92 MovieClip Frame 8
stop();
Symbol 92 MovieClip Frame 9
stop();
Symbol 92 MovieClip Frame 10
if (_root.enemysgun == 0) {
tellTarget ("_root.enemygun") {
gotoAndStop (11);
};
}
if (_root.enemysgun == 1) {
tellTarget ("_root.enemygun") {
gotoAndStop (11);
};
}
if (_root.enemysgun == 2) {
tellTarget ("_root.enemygun") {
gotoAndStop (12);
};
}
if (_root.enemysgun == 3) {
tellTarget ("_root.enemygun") {
gotoAndStop (13);
};
}
if (_root.enemysgun == 4) {
tellTarget ("_root.enemygun") {
gotoAndStop (14);
};
}
if (_root.enemysgun == 5) {
tellTarget ("_root.enemygun") {
gotoAndStop (15);
};
}
if (_root.enemysgun == 6) {
tellTarget ("_root.enemygun") {
gotoAndStop (16);
};
}
if (_root.enemysgun == 7) {
tellTarget ("_root.enemygun") {
gotoAndStop (17);
};
}
if (_root.enemysgun == 8) {
tellTarget ("_root.enemygun") {
gotoAndStop (18);
};
}
if (_root.enemysgun == 9) {
tellTarget ("_root.enemygun") {
gotoAndStop (19);
};
}
tellTarget ("_parent") {
_root.gotoAndPlay("turn");
};
Symbol 92 MovieClip Frame 11
stop();
Symbol 92 MovieClip Frame 12
stop();
Symbol 92 MovieClip Frame 13
stop();
Symbol 92 MovieClip Frame 14
stop();
stop();
Symbol 92 MovieClip Frame 15
stop();
Symbol 92 MovieClip Frame 16
stop();
Symbol 92 MovieClip Frame 17
stop();
Symbol 92 MovieClip Frame 18
stop();
Symbol 92 MovieClip Frame 19
stop();
Symbol 99 MovieClip Frame 11
_root.enemylife = _root.enemylife - random(3);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 99 MovieClip Frame 17
_root.enemylife = _root.enemylife - random(3);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 99 MovieClip Frame 23
_root.enemylife = _root.enemylife - random(3);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 99 MovieClip Frame 43
tellTarget ("_parent") {
gotoAndPlay (10);
};
Symbol 100 MovieClip Frame 1
Symbol 100 MovieClip Frame 13
_root.enemylife = _root.enemylife - random(5);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 100 MovieClip Frame 19
_root.enemylife = _root.enemylife - random(5);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 100 MovieClip Frame 25
_root.enemylife = _root.enemylife - random(5);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 100 MovieClip Frame 40
tellTarget ("_parent") {
gotoAndPlay (10);
};
Symbol 101 MovieClip Frame 1
Symbol 101 MovieClip Frame 12
_root.enemylife = _root.enemylife - random(8);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 101 MovieClip Frame 18
_root.enemylife = _root.enemylife - random(8);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 101 MovieClip Frame 31
tellTarget ("_parent") {
gotoAndPlay (10);
};
Symbol 102 MovieClip Frame 10
_root.enemylife = _root.enemylife - random(5);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 102 MovieClip Frame 16
_root.enemylife = _root.enemylife - random(5);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 102 MovieClip Frame 22
_root.enemylife = _root.enemylife - random(5);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 102 MovieClip Frame 43
tellTarget ("_parent") {
gotoAndPlay (10);
};
Symbol 103 MovieClip Frame 10
_root.enemylife = _root.enemylife - random(4);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 103 MovieClip Frame 16
_root.enemylife = _root.enemylife - random(4);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 103 MovieClip Frame 22
_root.enemylife = _root.enemylife - random(4);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 103 MovieClip Frame 28
_root.enemylife = _root.enemylife - random(4);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 103 MovieClip Frame 48
tellTarget ("_parent") {
gotoAndPlay (10);
};
Symbol 104 MovieClip Frame 10
_root.enemylife = _root.enemylife - random(15);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 104 MovieClip Frame 24
tellTarget ("_parent") {
gotoAndPlay (10);
};
Symbol 105 MovieClip Frame 10
_root.enemylife = _root.enemylife - random(7);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 105 MovieClip Frame 16
_root.enemylife = _root.enemylife - random(7);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 105 MovieClip Frame 38
tellTarget ("_parent") {
gotoAndPlay (10);
};
Symbol 106 MovieClip Frame 10
_root.enemylife = _root.enemylife - random(3);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 106 MovieClip Frame 16
_root.enemylife = _root.enemylife - random(3);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 106 MovieClip Frame 22
_root.enemylife = _root.enemylife - random(3);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 106 MovieClip Frame 28
_root.enemylife = _root.enemylife - random(3);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 106 MovieClip Frame 34
_root.enemylife = _root.enemylife - random(3);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 106 MovieClip Frame 54
tellTarget ("_parent") {
gotoAndPlay (10);
};
Symbol 107 MovieClip Frame 10
_root.enemylife = _root.enemylife - random(6);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 107 MovieClip Frame 16
_root.enemylife = _root.enemylife - random(6);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 107 MovieClip Frame 22
_root.enemylife = _root.enemylife - random(6);
if (_root.enemylife < 1) {
_root.gotoAndPlay("death");
}
Symbol 107 MovieClip Frame 44
tellTarget ("_parent") {
gotoAndPlay (10);
};
Symbol 108 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 2
stop();
Symbol 108 MovieClip Frame 3
stop();
Symbol 108 MovieClip Frame 4
stop();
Instance of Symbol 102 MovieClip in Symbol 108 MovieClip Frame 4
/* no clip actions */
Symbol 108 MovieClip Frame 5
stop();
Symbol 108 MovieClip Frame 6
stop();
Symbol 108 MovieClip Frame 7
stop();
Symbol 108 MovieClip Frame 8
stop();
Symbol 108 MovieClip Frame 9
stop();
Symbol 108 MovieClip Frame 10
if (_root.herosgun == 1) {
tellTarget ("_root.herogun") {
gotoAndStop (11);
};
}
if (_root.herosgun == 2) {
tellTarget ("_root.herogun") {
gotoAndStop (12);
};
}
if (_root.herosgun == 3) {
tellTarget ("_root.herogun") {
gotoAndStop (13);
};
}
if (_root.herosgun == 4) {
tellTarget ("_root.herogun") {
gotoAndStop (14);
};
}
if (_root.herosgun == 5) {
tellTarget ("_root.herogun") {
gotoAndStop (15);
};
}
if (_root.herosgun == 6) {
tellTarget ("_root.herogun") {
gotoAndStop (16);
};
}
if (_root.herosgun == 7) {
tellTarget ("_root.herogun") {
gotoAndStop (17);
};
}
if (_root.herosgun == 8) {
tellTarget ("_root.herogun") {
gotoAndStop (18);
};
}
if (_root.herosgun == 9) {
tellTarget ("_root.herogun") {
gotoAndStop (19);
};
}
tellTarget ("_parent") {
_root.gotoAndPlay("attack2");
};
Symbol 108 MovieClip Frame 11
stop();
_root.textherogun1 = 1;
_root.textherogun2 = 0;
_root.textherogun3 = 0;
_root.textherogun4 = 0;
_root.textherogun5 = 0;
_root.textherogun6 = 0;
_root.textherogun7 = 0;
_root.textherogun8 = 0;
_root.textherogun9 = 0;
Symbol 108 MovieClip Frame 12
stop();
_root.textherogun1 = 0;
_root.textherogun2 = 1;
_root.textherogun3 = 0;
_root.textherogun4 = 0;
_root.textherogun5 = 0;
_root.textherogun6 = 0;
_root.textherogun7 = 0;
_root.textherogun8 = 0;
_root.textherogun9 = 0;
Symbol 108 MovieClip Frame 13
stop();
_root.textherogun1 = 0;
_root.textherogun2 = 0;
_root.textherogun3 = 1;
_root.textherogun4 = 0;
_root.textherogun5 = 0;
_root.textherogun6 = 0;
_root.textherogun7 = 0;
_root.textherogun8 = 0;
_root.textherogun9 = 0;
Symbol 108 MovieClip Frame 14
stop();
_root.textherogun1 = 0;
_root.textherogun2 = 0;
_root.textherogun3 = 0;
_root.textherogun4 = 1;
_root.textherogun5 = 0;
_root.textherogun6 = 0;
_root.textherogun7 = 0;
_root.textherogun8 = 0;
_root.textherogun9 = 0;
Symbol 108 MovieClip Frame 15
stop();
_root.textherogun1 = 0;
_root.textherogun2 = 0;
_root.textherogun3 = 0;
_root.textherogun4 = 0;
_root.textherogun5 = 1;
_root.textherogun6 = 0;
_root.textherogun7 = 0;
_root.textherogun8 = 0;
_root.textherogun9 = 0;
Symbol 108 MovieClip Frame 16
stop();
_root.textherogun1 = 0;
_root.textherogun2 = 0;
_root.textherogun3 = 0;
_root.textherogun4 = 0;
_root.textherogun5 = 0;
_root.textherogun6 = 1;
_root.textherogun7 = 0;
_root.textherogun8 = 0;
_root.textherogun9 = 0;
Symbol 108 MovieClip Frame 17
stop();
_root.textherogun1 = 0;
_root.textherogun2 = 0;
_root.textherogun3 = 0;
_root.textherogun4 = 0;
_root.textherogun5 = 0;
_root.textherogun6 = 0;
_root.textherogun7 = 1;
_root.textherogun8 = 0;
_root.textherogun9 = 0;
Symbol 108 MovieClip Frame 18
stop();
_root.textherogun1 = 0;
_root.textherogun2 = 0;
_root.textherogun3 = 0;
_root.textherogun4 = 0;
_root.textherogun5 = 0;
_root.textherogun6 = 0;
_root.textherogun7 = 0;
_root.textherogun8 = 1;
_root.textherogun9 = 0;
Symbol 108 MovieClip Frame 19
stop();
_root.textherogun1 = 0;
_root.textherogun2 = 0;
_root.textherogun3 = 0;
_root.textherogun4 = 0;
_root.textherogun5 = 0;
_root.textherogun6 = 0;
_root.textherogun7 = 0;
_root.textherogun8 = 0;
_root.textherogun9 = 1;
Symbol 117 Button
on (release) {
_root.gotoAndPlay("attack");
}
Symbol 120 Button
on (release) {
_root.gotoAndPlay("attack2");
}
Symbol 124 Button
on (release) {
tellTarget ("_root.potions") {
gotoAndPlay (2);
};
}
Symbol 138 Button
on (release) {
if (_root.cash >= 10) {
_root.cash = _root.cash - 10;
_root.herolife = _root.herolife + 5;
tellTarget ("_parent") {
_root.gotoAndPlay("attack2");
};
}
}
Symbol 140 Button
on (release) {
if (_root.cash >= 20) {
_root.cash = _root.cash - 20;
_root.herolife = _root.herolife + 10;
tellTarget ("_parent") {
_root.gotoAndPlay("attack2");
};
}
}
Symbol 142 Button
on (release) {
if (_root.cash >= 30) {
_root.cash = _root.cash - 30;
_root.herolife = _root.herolife + 20;
tellTarget ("_parent") {
_root.gotoAndPlay("attack2");
};
}
}
Symbol 144 Button
on (release) {
if (_root.cash >= 50) {
_root.cash = _root.cash - 50;
_root.herolife = _root.herolife + 30;
tellTarget ("_parent") {
_root.gotoAndPlay("attack2");
};
}
}
Symbol 145 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 2
stop();
Symbol 153 Button
on (release) {
_root.gotoAndPlay("menu");
}
Symbol 157 Button
on (release) {
_root.experience = _root.save1;
_root.cash = _root.save2;
_root.herolife = _root.save3;
_root.gotoAndPlay("battle");
}
Symbol 165 Button
on (release) {
_root.gotoAndPlay("battle");
}
Symbol 169 Button
on (release) {
_root.save1 = _root.experience;
_root.save2 = _root.cash;
_root.save3 = _root.herolife;
tellTarget (_root.saved) {
gotoAndPlay (2);
};
}
Symbol 178 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 2
stop();
Symbol 183 Button
on (press) {
_quality = "low";
}
Symbol 187 Button
on (press) {
_quality = "medium";
}
Symbol 195 Button
on (press) {
_root.gotoAndStop("menu");
}