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

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

Rawr - turn based strategy game.swf

This is the info page for
Flash #134562

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


ActionScript [AS1/AS2]
Combined Code
movieClip 28 { } movieClip 140 !ico_GENOM { #initclip Object.registerClass('!ico_GENOM', rawrClass); #endinitclip frame 1 { stop(); } } // unknown tag 88 length 67 movieClip 224 ico_FOOD { #initclip Object.registerClass('ico_FOOD', rawrClass); #endinitclip frame 1 { stop(); this.amount.text = this.am; } } movieClip 226 { } movieClip 227 { frame 1 { stop(); } frame 15 { stop(); } } movieClip 332 ico { #initclip Object.registerClass('ico', rawrClass); #endinitclip frame 1 { stop(); } } frame 1 { } frame 1 { function bossloot() { var v3 = _global.chapt; if (_global.chapt == 1) { _root.achievcheck(7); } if (_global.chapt == 3) { _root.achievcheck(14); } if (_global.chapt == 11) { _root.achievcheck(21); } if (_global.gens == 0) { _global.new8 = 1; } _global.new5 = 1; _global.combxp += 100 + v3 * 40; _global.moneyxp += 250 * _global.chapt; _global.couponxp += 2; _global.genxp += 100 + 25 * _global.chapt; if (_global.chapt == 1 and _global.dayy <= 10) { _root.achievcheck(15); } if (_global.chapt == 3 and _global.dayy <= 20) { _root.achievcheck(16); } if (_global.chapt == 5 and _global.dayy <= 30) { _root.achievcheck(17); } _global.chapt += 1; _global.newchapter = 1; _global.rskillpoints += 1; _global.sklzzxp = 1; } function randRange(min, max) { var v1 = Math.floor(Math.random() * (max - min + 1)) + min; return v1; } function bossnamegenerate(who) { if (who == 1) { return 'Ulash, the Meatwagon'; } if (who == 2) { return 'Jack, Elite Pyromancer'; } if (who == 3) { return 'Spike, the Lurking Gore'; } if (who == 4) { return 'Uni, the Mad'; } if (who == 5) { return 'Nathael Grim'; } if (who == 6) { return 'Gorow, the Tube Crawler'; } if (who == 7) { return 'Mr. Trollface'; } if (who == 8) { return 'Kyrim, the Deep One'; } if (who == 9) { return 'Corvin Mindgrinder'; } if (who == 10) { return 'Rott, the Abomination'; } if (who == 11) { return 'Zed, Lupen Champion'; } } function bossgenerate() { _global.namep2 = _root.bossnamegenerate(_global.chapt); _global.currentbossx = _global.chapt; if (_global.chapt == 1) { _global.lvlp2 = 2; _global.hedp2 = 12; if (_global.hedp2 != 8 and _global.hedp2 != 9 and _global.hedp2 != 11) { _global.eyep2 = randRange(4); } else { _global.eyep2 = 2; } _global.hanup2 = 1; _global.handp2 = 3; _global.bodp2 = 7; _global.leg1p2 = 3; _global.leg2p2 = _global.leg1p2; _global.colorp2 = 1; _global.HpMaxp2 = 6000; _global.Hpp2 = _global.HpMaxp2; _global.addtocritp2 = 1.5; _global.specialp2 = 70; _global.critp2 = 0; _global.dodgep2 = 5; _global.blockp2 = 5; _global.doublep2 = 5; _global.stunp2 = 5; _global.physdmgp2 = 40; _global.psydmgp2 = 80; _global.basichitbonusp2 = 10; _global.actnum2 = 2; _global.s2Active1 = 101; _global.s2Active2 = 20; } if (_global.chapt == 2) { _global.lvlp2 = 4; _global.hedp2 = 8; if (_global.hedp2 != 8 and _global.hedp2 != 9 and _global.hedp2 != 11) { _global.eyep2 = randRange(4); } else { _global.eyep2 = 2; } _global.hanup2 = 1; _global.handp2 = 1; _global.hanbp2 = _global.handp2; _global.bodp2 = 11; _global.leg1p2 = 1; _global.leg2p2 = _global.leg1p2; _global.colorp2 = 2; _global.HpMaxp2 = 2000; _global.Hpp2 = _global.HpMaxp2; _global.addtocritp2 = 2; _global.specialp2 = 90; _global.critp2 = 35; _global.dodgep2 = 5; _global.blockp2 = 5; _global.doublep2 = 5; _global.stunp2 = 5; _global.physdmgp2 = 30; _global.psydmgp2 = 300; _global.basichitbonusp2 = 0; _global.actnum2 = 3; _global.s2Active1 = 16; _global.s2Active2 = 47; _global.s2Active3 = 48; } if (_global.chapt == 3) { _global.lvlp2 = 6; _global.hedp2 = 9; if (_global.hedp2 != 8 and _global.hedp2 != 9 and _global.hedp2 != 11) { _global.eyep2 = randRange(4); } else { _global.eyep2 = 2; } _global.hanup2 = 1; _global.handp2 = 4; _global.hanbp2 = _global.handp2; _global.bodp2 = 6; _global.leg1p2 = 1; _global.leg2p2 = _global.leg1p2; _global.colorp2 = 5; _global.HpMaxp2 = 5000; _global.Hpp2 = _global.HpMaxp2; _global.addtocritp2 = 2; _global.specialp2 = 90; _global.critp2 = 5; _global.dodgep2 = 30; _global.blockp2 = 5; _global.doublep2 = 5; _global.stunp2 = 5; _global.physdmgp2 = 250; _global.psydmgp2 = 250; _global.basichitbonusp2 = 0; _global.actnum2 = 2; _global.s2Active1 = 103; _global.s2Active2 = 24; } if (_global.chapt == 4) { _global.lvlp2 = 8; _global.hedp2 = 5; if (_global.hedp2 != 8 and _global.hedp2 != 9 and _global.hedp2 != 11) { _global.eyep2 = 5; } else { _global.eyep2 = 2; } _global.hanup2 = 1; _global.handp2 = 2; _global.hanbp2 = _global.handp2; _global.bodp2 = 6; _global.leg1p2 = 2; _global.leg2p2 = _global.leg1p2; _global.colorp2 = 4; _global.HpMaxp2 = 6000; _global.Hpp2 = _global.HpMaxp2; _global.addtocritp2 = 2; _global.specialp2 = 90; _global.critp2 = 5; _global.dodgep2 = 5; _global.blockp2 = 5; _global.doublep2 = 5; _global.stunp2 = 20; _global.physdmgp2 = 300; _global.psydmgp2 = 300; _global.basichitbonusp2 = 0; _global.actnum2 = 2; _global.s2Active1 = _root.abilLink(randRange(1, 20)); _global.s2Active2 = 104; } if (_global.chapt == 5) { _global.lvlp2 = 10; _global.hedp2 = 16; _global.eyep2 = 2; _global.hanup2 = 1; _global.handp2 = 3; _global.hanbp2 = _global.handp2; _global.bodp2 = 11; _global.leg1p2 = 1; _global.leg2p2 = _global.leg1p2; _global.colorp2 = 1; _global.HpMaxp2 = 8000; _global.Hpp2 = _global.HpMaxp2; _global.addtocritp2 = 3; _global.specialp2 = 90; _global.critp2 = 5; _global.dodgep2 = 5; _global.blockp2 = 5; _global.doublep2 = 5; _global.stunp2 = 5; _global.physdmgp2 = 280; _global.psydmgp2 = 280; _global.basichitbonusp2 = 0; _global.actnum2 = 4; _global.s2Active1 = _root.abilLink(randRange(1, 20)); _global.s2Active2 = _root.abilLink(randRange(1, 20)); _global.s2Active3 = _root.abilLink(randRange(1, 20)); _global.s2Active4 = _root.abilLink(randRange(1, 20)); } if (_global.chapt == 6) { _global.lvlp2 = 12; _global.hedp2 = 7; _global.eyep2 = 7; _global.hanup2 = 1; _global.handp2 = 20; _global.hanbp2 = _global.handp2; _global.bodp2 = 16; _global.leg1p2 = 3; _global.leg2p2 = _global.leg1p2; _global.colorp2 = 3; _global.HpMaxp2 = 10500; _global.Hpp2 = _global.HpMaxp2; _global.addtocritp2 = 2; _global.specialp2 = 90; _global.critp2 = 5; _global.dodgep2 = 5; _global.blockp2 = 5; _global.doublep2 = 5; _global.stunp2 = 20; _global.physdmgp2 = 310; _global.psydmgp2 = 310; _global.basichitbonusp2 = 0; _global.actnum2 = 2; _global.s2Active1 = _root.abilLink(randRange(1, 20)); _global.s2Active2 = 105; } if (_global.chapt == 7) { _global.lvlp2 = 14; _global.hedp2 = 15; _global.eyep2 = 2; _global.hanup2 = 1; _global.handp2 = 1; _global.hanbp2 = _global.handp2; _global.bodp2 = 1; _global.leg1p2 = 4; _global.leg2p2 = _global.leg1p2; _global.colorp2 = 1; _global.HpMaxp2 = 11000; _global.Hpp2 = _global.HpMaxp2; _global.addtocritp2 = 2; _global.specialp2 = 90; _global.critp2 = 5; _global.dodgep2 = 5; _global.blockp2 = 5; _global.doublep2 = 5; _global.stunp2 = 5; _global.physdmgp2 = 300; _global.psydmgp2 = 400; _global.basichitbonusp2 = 0; _global.actnum2 = 3; _global.s2Active1 = _root.abilLink(randRange(1, 20)); _global.s2Active2 = _root.abilLink(randRange(1, 20)); _global.s2Active3 = 106; } if (_global.chapt == 8) { _global.lvlp2 = 16; _global.hedp2 = 2; _global.eyep2 = 7; _global.hanup2 = 1; _global.handp2 = 22; _global.hanbp2 = _global.handp2; _global.bodp2 = 10; _global.leg1p2 = 1; _global.leg2p2 = _global.leg1p2; _global.colorp2 = 1; _global.HpMaxp2 = 12000; _global.Hpp2 = _global.HpMaxp2; _global.addtocritp2 = 2; _global.specialp2 = 80; _global.critp2 = 5; _global.dodgep2 = 5; _global.blockp2 = 5; _global.doublep2 = 5; _global.stunp2 = 5; _global.physdmgp2 = 400; _global.psydmgp2 = 400; _global.basichitbonusp2 = 0; _global.actnum2 = 3; _global.s2Active1 = _root.abilLink(randRange(1, 20)); _global.s2Active2 = _root.abilLink(randRange(1, 20)); _global.s2Active3 = 107; } if (_global.chapt == 9) { _global.lvlp2 = 18; _global.hedp2 = 31; _global.eyep2 = 1; _global.hanup2 = 1; _global.handp2 = 18; _global.hanbp2 = _global.handp2; _global.bodp2 = 14; _global.leg1p2 = 3; _global.leg2p2 = _global.leg1p2; _global.colorp2 = 4; _global.HpMaxp2 = 14000; _global.Hpp2 = _global.HpMaxp2; _global.addtocritp2 = 2; _global.specialp2 = 90; _global.critp2 = 5; _global.dodgep2 = 5; _global.blockp2 = 5; _global.doublep2 = 5; _global.stunp2 = 5; _global.physdmgp2 = 400; _global.psydmgp2 = 400; _global.basichitbonusp2 = 0; _global.actnum2 = 5; _global.s2Active1 = _root.abilLink(randRange(1, 20)); _global.s2Active2 = _root.abilLink(randRange(1, 20)); _global.s2Active3 = _root.abilLink(randRange(1, 20)); _global.s2Active4 = _root.abilLink(randRange(1, 20)); _global.s2Active5 = _root.abilLink(randRange(1, 20)); } if (_global.chapt == 10) { _global.lvlp2 = 20; _global.hedp2 = 30; _global.eyep2 = 4; _global.hanup2 = 1; _global.handp2 = 21; _global.hanbp2 = _global.handp2; _global.bodp2 = 15; _global.leg1p2 = 2; _global.leg2p2 = _global.leg1p2; _global.colorp2 = 3; _global.HpMaxp2 = 15000; _global.Hpp2 = _global.HpMaxp2; _global.addtocritp2 = 2; _global.specialp2 = 90; _global.critp2 = 5; _global.dodgep2 = 5; _global.blockp2 = 5; _global.doublep2 = 5; _global.stunp2 = 5; _global.physdmgp2 = 400; _global.psydmgp2 = 400; _global.basichitbonusp2 = 0; _global.actnum2 = 4; _global.s2Active1 = _root.abilLink(randRange(1, 20)); _global.s2Active2 = _root.abilLink(randRange(1, 20)); _global.s2Active3 = _root.abilLink(randRange(1, 20)); _global.s2Active4 = _root.abilLink(randRange(1, 20)); } if (_global.chapt == 11) { _global.lvlp2 = 22; _global.hedp2 = 17; _global.eyep2 = 2; _global.hanup2 = 1; _global.handp2 = 8; _global.hanbp2 = _global.handp2; _global.bodp2 = 17; _global.leg1p2 = 1; _global.leg2p2 = _global.leg1p2; _global.colorp2 = 3; _global.HpMaxp2 = 22222; _global.Hpp2 = _global.HpMaxp2; _global.addtocritp2 = 2; _global.specialp2 = 90; _global.critp2 = 5; _global.dodgep2 = 20; _global.blockp2 = 5; _global.doublep2 = 10; _global.stunp2 = 10; _global.physdmgp2 = 450; _global.psydmgp2 = 450; _global.basichitbonusp2 = 0; _global.actnum2 = 4; _global.s2Active1 = _root.abilLink(randRange(1, 20)); _global.s2Active2 = _root.abilLink(randRange(1, 20)); _global.s2Active3 = 108; _global.s2Active4 = 109; } _global.slvlp2 = _global.lvlp2; _global.hlvlp2 = _global.lvlp2; } function achievcheck(what) { if (what == 1 and _global['achi' + what] != 1) { if (_global.ddealt >= 500) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } } if (what == 2 and _global['achi' + what] != 1) { if (_global.ddealt >= 1000) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } } if (what == 3 and _global['achi' + what] != 1) { if (_global.ddealt >= 3000) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } } if (what == 4 and _global['achi' + what] != 1) { if (_global.infmoney >= 1000) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } } if (what == 5 and _global['achi' + what] != 1) { if (_global.infmoney >= 5000) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } } if (what == 6 and _global['achi' + what] != 1) { if (_global.infmoney >= 25000) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } } if (what == 7 and _global['achi' + what] != 1) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } if (what == 8 and _global['achi' + what] != 1) { if (_global.achcount1 == 5) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } } if (what == 9 and _global['achi' + what] != 1) { if (_global.achcount1 == 10) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } } if (what == 10 and _global['achi' + what] != 1) { if (_global.achcount1 == 20) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } } if (what == 11 and _global['achi' + what] != 1) { if (_global.curbody > 16 or _global.curhands > 106) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } } if (what == 12 and _global['achi' + what] != 1) { if (_global.curbody > 34) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } } if (what == 13 and _global['achi' + what] != 1) { if (_global.curhands > 124) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } } if (what == 14 and _global['achi' + what] != 1) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } if (what == 15 and _global['achi' + what] != 1) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } if (what == 16 and _global['achi' + what] != 1) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } if (what == 17 and _global['achi' + what] != 1) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } if (what == 18 and _global['achi' + what] != 1) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } if (what == 19 and _global['achi' + what] != 1) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } if (what == 20 and _global['achi' + what] != 1) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } if (what == 21 and _global['achi' + what] != 1) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } if (what == 22 and _global['achi' + what] != 1) { if (_global.inffood >= 10) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } } if (what == 23 and _global['achi' + what] != 1) { if (_global.inffood >= 50) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } } if (what == 24 and _global['achi' + what] != 1) { if (_global.inffood >= 100) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } } if (what == 25 and _global['achi' + what] != 1) { if (_global.foodnumb == 100) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } } if (what == 26 and _global['achi' + what] != 1) { if (_global.foodnumb == 101) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } } if (what == 27 and _global['achi' + what] != 1) { if (_global.foodnumb == 102) { _global['achi' + what] = 1; _global.achget += 1; _global.achnumb += 1; _global['achg' + _global.achget] = what; } } } function achievdata(what) { if (what == 1) { _global.achname = 'Pew Pew'; _global.achtext = 'Deal 500 or more damage with one attack.'; _global.achcup = 4; _global.achcolor = 3; _global.achpoint = 5; } if (what == 2) { _global.achname = 'Pew Pew Pew'; _global.achtext = 'Deal 1000 or more damage with one attack.'; _global.achcup = 4; _global.achcolor = 2; _global.achpoint = 5; } if (what == 3) { _global.achname = 'Terrible, Terrible Damage!'; _global.achtext = 'Deal 3000 or more damage with one attack.'; _global.achcup = 4; _global.achcolor = 1; _global.achpoint = 10; } if (what == 4) { if (_global['achi' + what] == 1) { _global.achname = 'Starting Capital'; } else { _global.achname = 'Starting Capital ($' + _global.infmoney + ' of $1000)'; } _global.achtext = 'Earn $1000.'; _global.achcup = 11; _global.achcolor = 3; _global.achpoint = 5; } if (what == 5) { if (_global['achi' + what] == 1) { _global.achname = 'Moneymaker'; } else { _global.achname = 'Moneymaker ($' + _global.infmoney + ' of $5000)'; } _global.achtext = 'Earn $5000.'; _global.achcup = 11; _global.achcolor = 2; _global.achpoint = 10; } if (what == 6) { if (_global['achi' + what] == 1) { _global.achname = 'The Rich One'; } else { _global.achname = 'The Rich One ($' + _global.infmoney + ' of $25000)'; } _global.achtext = 'Earn $25000.'; _global.achcup = 11; _global.achcolor = 1; _global.achpoint = 15; } if (what == 7) { _global.achname = 'First Boss Blood'; _global.achtext = 'Defeat the First Boss.'; _global.achcup = 1; _global.achcolor = 2; _global.achpoint = 5; } if (what == 8) { if (_global['achi' + what] == 1) { _global.achname = 'Lucky Noob'; } else { _global.achname = 'Lucky Noob (' + _global.achcount1 + ' of 5 completed)'; } _global.achtext = 'Win 5 Pit Fights in a row.'; _global.achcup = 2; _global.achcolor = 3; _global.achpoint = 5; } if (what == 9) { if (_global['achi' + what] == 1) { _global.achname = 'Glorious Fighter'; } else { _global.achname = 'Glorious Fighter (' + _global.achcount1 + ' of 10 completed)'; } _global.achtext = 'Win 10 Pit Fights in a row.'; _global.achcup = 2; _global.achcolor = 2; _global.achpoint = 10; } if (what == 10) { if (_global['achi' + what] == 1) { _global.achname = 'Serial Killer'; } else { _global.achname = 'Serial Killer (' + _global.achcount1 + ' of 20 completed)'; } _global.achtext = 'Win 20 Pit Fights in a row.'; _global.achcup = 2; _global.achcolor = 1; _global.achpoint = 15; } if (what == 11) { _global.achname = 'Rockie Evolver'; _global.achtext = 'Evolve Rawr Body or Hands into Tier 3.'; _global.achcup = 8; _global.achcolor = 2; _global.achpoint = 5; } if (what == 12) { _global.achname = 'Perfect Body'; _global.achtext = 'Evolve Rawr Body into Tier 9.'; _global.achcup = 8; _global.achcolor = 1; _global.achpoint = 10; } if (what == 13) { _global.achname = 'Perfect Hands'; _global.achtext = 'Evolve Rawr Hands into Tier 9.'; _global.achcup = 8; _global.achcolor = 1; _global.achpoint = 10; } if (what == 14) { _global.achname = 'Boss Hunter'; _global.achtext = 'Defeat three Bosses.'; _global.achcup = 5; _global.achcolor = 1; _global.achpoint = 10; } if (what == 15) { _global.achname = 'Day 10 Success'; _global.achtext = 'Complete \'Chapter 1\' before day 10 is come.'; _global.achcup = 7; _global.achcolor = 3; _global.achpoint = 10; } if (what == 16) { _global.achname = 'Day 20 Victory'; _global.achtext = 'Complete \'Chapter 3\' before day 20 is come.'; _global.achcup = 7; _global.achcolor = 2; _global.achpoint = 20; } if (what == 17) { _global.achname = 'Day 30 Triumph'; _global.achtext = 'Complete \'Chapter 5\' before day 30 is come.'; _global.achcup = 7; _global.achcolor = 1; _global.achpoint = 30; } if (what == 18) { _global.achname = 'Rookie Unlocker'; _global.achtext = 'Collect 50 Achievements Points.'; _global.achcup = 6; _global.achcolor = 3; _global.achpoint = 5; } if (what == 19) { _global.achname = 'Unlock Like a Boss'; _global.achtext = 'Collect 150 Achievements Points.'; _global.achcup = 6; _global.achcolor = 2; _global.achpoint = 5; } if (what == 20) { _global.achname = 'Unlockeddon!'; _global.achtext = 'Collect 300 Achievements Points.'; _global.achcup = 6; _global.achcolor = 1; _global.achpoint = 5; } if (what == 21) { _global.achname = 'Triumph!'; _global.achtext = 'Defeat the Last Boss.'; _global.achcup = 10; _global.achcolor = 1; _global.achpoint = 20; } if (what == 22) { if (_global['achi' + what] == 1) { _global.achname = 'Happy Meal'; } else { _global.achname = 'Happy Meal (' + _global.inffood + ' of 10)'; } _global.achtext = 'Eat food 10 times.'; _global.achcup = 3; _global.achcolor = 3; _global.achpoint = 5; } if (what == 23) { if (_global['achi' + what] == 1) { _global.achname = 'Om Nom Nom'; } else { _global.achname = 'Om Nom Nom (' + _global.inffood + ' of 50)'; } _global.achtext = 'Eat food 50 times.'; _global.achcup = 3; _global.achcolor = 2; _global.achpoint = 10; } if (what == 24) { if (_global['achi' + what] == 1) { _global.achname = 'Gluttony God'; } else { _global.achname = 'Gluttony God (' + _global.inffood + ' of 100)'; } _global.achtext = 'Eat food 100 times.'; _global.achcup = 3; _global.achcolor = 1; _global.achpoint = 15; } if (what == 25) { _global.achname = 'Ice-Tea Silence'; _global.achtext = 'Drink Tea of Sorrows.'; _global.achcup = 9; _global.achcolor = 3; _global.achpoint = 5; } if (what == 26) { _global.achname = 'The Heavens Still Tremble'; _global.achtext = 'Eat \'Three Brothers\' Soup.'; _global.achcup = 9; _global.achcolor = 2; _global.achpoint = 10; } if (what == 27) { _global.achname = 'Independence Day'; _global.achtext = 'Eat Indi Roll.'; _global.achcup = 9; _global.achcolor = 1; _global.achpoint = 15; } } } frame 1 { function opponentgenerate() { _global.lvlp2 = _global.lvlp1; if (_global.bossfight == 3 and _global.lvlp2 > 1) { _global.lvlp2 -= 1; } if (_global.bossfight == 4) { _global.lvlp2 += 1; } if (_global.bossfight == 5) { _global.lvlp2 += 2; } if (_global.eventsource == 3) { _global.lvlp2 += 2; } if (_global.lvlp2 > 99) { _global.lvlp2 = 99; } _global.slvlp2 = _global.lvlp2; _global.hlvlp2 = _global.lvlp2; _global.hedp2 = randRange(1, 14); if (_global.eventsource == 1) { var v6 = randRange(1, 3); _global.hedp2 = _global['chapterhead' + v6]; } if (_global.hedp2 != 8 and _global.hedp2 != 9 and _global.hedp2 != 11) { _global.eyep2 = randRange(1, 5); } else { _global.eyep2 = 2; } _global.hanup2 = 1; _global.handp2 = randRange(1, 26); _global.bodp2 = randRange(1, 17); _global.leg1p2 = randRange(1, 5); _global.leg2p2 = _global.leg1p2; _global.colorp2 = randRange(1, 5); _global.HpMaxp2 = 850 + 30 * _global.lvlp2; if (_global.eventsource == 3) { _global.HpMaxp2 += 100 * _global.lvlp2; } _root.namegenerator(); _global.addtocritp2 = 1.5; _global.specialp2 = 80; _global.critp2 = 5; _global.dodgep2 = 5; _global.blockp2 = 5; _global.doublep2 = 5; _global.stunp2 = 5; _global.physdmgp2 = 60; _global.psydmgp2 = 80; _global.basichitbonusp2 = 0; _global.physdmgp2 += _global.lvlp2 * 3; _global.psydmgp2 += _global.lvlp2 * 7; var v4 = 1; v4 = 1; while (v4 <= _global.lvlp2 * 3) { var v3 = randRange(1, 8); if (v3 == 1) { _global.HpMaxp2 += 20; } if (v3 == 2) { _global.addtocritp2 += 0.2; } if (v3 == 3) { _global.critp2 += 1; } if (v3 == 4) { _global.dodgep2 += 1; } if (v3 == 5) { _global.doublep2 += 1; } if (v3 == 6) { _global.stunp2 += 1; } if (v3 == 7) { _global.physdmgp2 += 3; } if (v3 == 8) { _global.psydmgp2 += 5; } ++v4; } _global.actnum2 = randRange(2, 4); var v5 = 20; _global.s2Active1 = abilLink(randRange(1, v5)); _global.s2Active2 = abilLink(randRange(1, v5)); _global.s2Active3 = abilLink(randRange(1, v5)); _global.s2Active4 = abilLink(randRange(1, v5)); _global.HpMaxp2 = _root.dfclcoef(_global.HpMaxp2); _global.Hpp2 = _global.HpMaxp2; _global.addtocritp2 = _root.dfclcoef(_global.addtocritp2); _global.specialp2 = _root.dfclcoef(_global.specialp2); _global.critp2 = _root.dfclcoef(_global.critp2); _global.dodgep2 = _root.dfclcoef(_global.dodgep2); _global.blockp2 = _root.dfclcoef(_global.blockp2); _global.doublep2 = _root.dfclcoef(_global.doublep2); _global.stunp2 = _root.dfclcoef(_global.stunp2); _global.basichitbonusp2 = _root.dfclcoef(_global.basichitbonusp2); if (_global.dodgep2 > 20) { _global.dodgep2 = 20; } if (_global.doublep2 > 20) { _global.doublep2 = 20; } if (_global.stunp2 > 20) { _global.stunp2 = 20; } if (_global.physdmgp2 > 0) { _global.physdmgp2 = _root.dfclcoef(_global.physdmgp2); } if (_global.psydmgp2 > 0) { _global.psydmgp2 = _root.dfclcoef(_global.psydmgp2); } if (_global.bossfight == 5) { _global.lvlp2 -= 2; _global.slvlp2 = _global.lvlp2; _global.hlvlp2 = _global.lvlp2; } } function dfclcoef(nu) { return Math.floor(nu * _global.dificl); } function abilLink(nuuu) { if (nuuu == 1) { return 5; } if (nuuu == 2) { return 6; } if (nuuu == 3) { return 17; } if (nuuu == 4) { return 4; } if (nuuu == 5) { return 24; } if (nuuu == 6) { return 20; } if (nuuu == 7) { return 10; } if (nuuu == 8) { return 11; } if (nuuu == 9) { return 16; } if (nuuu == 10) { return 21; } if (nuuu == 11) { return 44; } if (nuuu == 12) { return 45; } if (nuuu == 13) { return 46; } if (nuuu == 14) { return 47; } if (nuuu == 15) { return 48; } if (nuuu == 16) { return 49; } if (nuuu == 17) { return 50; } if (nuuu == 18) { return 51; } if (nuuu == 19) { return 52; } if (nuuu == 20) { return 53; } } function bookshadows() { var v5 = 1; v5 = 1; while (v5 <= 12) { _root.abi['sh' + v5]._visible = false; ++v5; } var v4 = 1; var v3 = 1; v4 = 1; while (v4 <= _global.sklam) { v3 = 1; while (v3 <= 12) { if (_root.abi['ab' + v4].cnum > 2 and _root.abi['ab' + v4].cnum == _root.abi['a' + v3].cnum) { _root.abi['sh' + v3]._visible = true; _root.abi['a' + v3].shad = 1; } ++v3; } ++v4; } } function fadetoblack(wside) { if (wside == 1) { _root.dark._visible = 1; _root.dark.gotoAndPlay(2); } if (wside == 2) { _root.todark._visible = 1; _root.todark.gotoAndPlay(2); } _root.dark.swapDepths(350); _root.todark.swapDepths(360); _root.p1.swapDepths(100); _root.p2.swapDepths(90); _root.statz.swapDepths(200); } function clearmodels(modee) { removeMovieClip(_root.p1); removeMovieClip(_root.p2); removeMovieClip(_root.blood1); removeMovieClip(_root.blood2); } function endeat() { _root.achievcheck(22); _root.achievcheck(23); _root.achievcheck(24); _root.achievcheck(25); _root.achievcheck(26); _root.achievcheck(27); _root.s_Various1.stop(); _global.snd_curmusic = -10; _global.starteat = 0; clearInterval(tipIntHpeat); clearInterval(tipIntHp1); clearInterval(tipIntHpheal1); removeMovieClip(_root.bar); if (_global.HpMaxp1 == _global.Hpp1) { _global.hppos = 100; } _root.clearmodels(); _root.statzz.gotoAndStop(1); if (_global.achget < 1) { _global.gotoo = 14; _root.gotoAndStop(47); } else { _global.gotoo = 24; _root.gotoAndStop(47); } } function fixbm(nu) { if (nu == 3) { _root.foodset(); } var v3 = 1; if (Math.floor(_global['bmAm' + nu] / 12) == _global['bmAm' + nu] / 12 and _global['bmAm' + nu] > 0) { _root.pagg.text = _global['pageBm' + nu] + '/' + Math.floor(_global['bmAm' + nu] / 12); } else { _root.pagg.text = _global['pageBm' + nu] + '/' + (Math.floor(_global['bmAm' + nu] / 12) + 1); } v3 = 1; while (v3 <= 12) { _root.abi['a' + v3].pos = v3; if (_global['bm' + nu + 'Lib' + (v3 + (_global['pageBm' + nu] - 1) * 12)] > 2) { _root.abi['a' + v3].cnum = _global['bm' + nu + 'Lib' + (v3 + (_global['pageBm' + nu] - 1) * 12)]; } else { _root.abi['a' + v3].cnum = 1; } if (nu <= 2) { _root.abi['a' + v3].typ = 2; } if (nu >= 3) { _root.abi['a' + v3].typ = 3; } if (_global['bmAm' + nu] < v3) { _root.abi['a' + v3].cnum = 1; } ++v3; } if (nu <= 2) { _root.data5(1); _root.bookshadows(); } if (nu >= 3) { _root.data5(2); } _root.abi.a1.over(-1); } function crysnotenough() { _root.trigg1.gotoAndPlay(2); } function crysnotenough2() { iz21 = 1; while (iz21 <= 12) { if (_root.abi['a' + iz21].scost1 > _global.skillcMax1 - _global.skillc1 or _root.abi['a' + iz21].scost2 > _global.skillcMax2 - _global.skillc2 or _root.abi['a' + iz21].scost3 > _global.skillcMax3 - _global.skillc3 or _root.abi['a' + iz21].scost4 > _global.skillcMax4 - _global.skillc4) { _root.abi['a' + iz21].noten.gotoAndPlay(2); } else { _root.abi['a' + iz21].noten.gotoAndStop(1); } ++iz21; } } function skillcRefresh() { _root.abi.mskc1.text = _global.skillcMax1 - _global.skillc1; _root.abi.mskc2.text = _global.skillcMax2 - _global.skillc2; _root.abi.mskc3.text = _global.skillcMax3 - _global.skillc3; _root.abi.skc1.text = ' /' + _global.skillcMax1; _root.abi.skc2.text = ' /' + _global.skillcMax2; _root.abi.skc3.text = ' /' + _global.skillcMax3; } function foodset() { var v4 = 0; var v2 = 1; var v3 = 1; v3 = 1; while (v3 <= _global.bmAm3) { _global['bm3Lib' + v3] = 0; ++v3; } _global.bmAm3 = 0; v2 = 3; while (v2 <= _global.fodamount) { if (_global['fod' + v2] > 0) { v4 += 1; _global['bm3Lib' + v4] = v2; } ++v2; } _global.bmAm3 = v4; } function refreshcale() { _root.cale.chap.text = 'Chapter ' + _global.chapt; _root.cale.ca.ca.cas.text = '$' + _global.moneys; _root.cale.dayy.text = _global.dayy; } function refreshxp() { var v3 = Math.floor(_global.sxp / (_global.sxpmax / 100)) * 2.64; var v4 = Math.floor(_global.hxp / (_global.hxpmax / 100)) * 2.64; _root.xpb.xpb.sxp._x = -104 + v3; _root.xpb.xpb.lilblik1._x = 4.5 + v3; _root.xpb.xpb.hxp._x = -104 + v4; _root.xpb.xpb.lilblik2._x = 4.5 + v4; _root.xpb.xpb.s.html = true; _root.xpb.xpb.h.html = true; _root.xpb.xpb.s.htmlText = 'Skill lvl: <b>' + _global.slvl + '</b> | Next: <b>' + _global.sxp + '/' + _global.sxpmax + '</b>'; _root.xpb.xpb.h.htmlText = 'Health lvl: <b>' + _global.hlvl + '</b> | Next: <b>' + _global.hxp + '/' + _global.hxpmax + '</b>'; _root.bar.lvlp1.text = _global.slvl + '/' + _global.hlvl; } function hpmaxcheck() { if (_global.Hpp1 > _global.HpMaxp1) { _global.Hpp1 = _global.HpMaxp1; } if (_global.Hpp2 > _global.HpMaxp2) { _global.Hpp2 = _global.HpMaxp2; } } function scrollin() { tipIntScroll = setInterval(setScroll, 1); } function setScroll() { if (_global.scrollstart == 0) { clearInterval(tipIntScroll); } if (_global.scrollstart == 1) { if (_global.rolldirect == 1 and _root.bo._y > -698) { _root.bo._y -= 7; } if (_global.rolldirect == 2 and _root.bo._y < -364) { _root.bo._y += 7; } if (_global.rolldirect == 3 and _root.bo._x > -2000) { _root.bo._x -= 7; } if (_global.rolldirect == 4 and _root.bo._x < 0) { _root.bo._x += 7; } } } function refresh_statpanel() { _root.statzz.box.s1.text = 'Hit Points: ' + _global.Hpp1 + '/' + _global.HpMaxp1; _root.statzz.box.s2.text = 'Special: ' + _global.specialp1 + '% chance'; _root.statzz.box.s3.text = 'Crit: ' + _global.critp1 + '% chance'; _root.statzz.box.s4.text = 'Stun: ' + _global.stunp1 + '% chance'; _root.statzz.box.s5.text = 'Combo: ' + _global.doublep1 + '% chance'; _root.statzz.box.s6.text = 'Dodge: ' + _global.dodgep1 + '% chance'; _root.statzz.box.s7.text = 'Crit Damage: ' + _global.addtocritp1 * 100 + '%'; if (_global.physdmgp1 > -1) { _root.statzz.box.s8.text = 'Physical Damage: ' + _global.physdmgp1; } else { _root.statzz.box.s8.text = 'Physical Damage: ' + _global.physdmgp1; } if (_global.psydmgp1 > -1) { _root.statzz.box.s9.text = 'Psy Damage: ' + _global.psydmgp1; } else { _root.statzz.box.s9.text = 'Psy Damage: ' + _global.psydmgp1; } } function addorbuff(addor, what, who) { var v7 = 0; var v9 = 0; var v5 = 1; v5 = 1; while (v5 <= 5) { if (_root.bar['p' + who + 'bu' + v5]._visible == true and _global['p' + who + 'buf' + v5] == what) { v7 = v5; } ++v5; } if (addor == 1 and _global['buffnump' + who] < 5) { var v4 = _global['buffnump' + who] + 1; if (what == 3) { v9 = 1; } if (what == 4) { v9 = 10; } if (what == 5) { v9 = 20; } if (what == 6) { v9 = 1; } if (what == 7) { v9 = 5; } if (what == 8) { v9 = 10; } if (what == 9) { v9 = 1; } if (what == 10) { v9 = 1; } if (what == 21) { v9 = 5; } if (what == 22) { v9 = 5; } if (v7 == 0) { _global['buffnump' + who] += 1; _global['p' + who + 'buf' + v4] = what; _global['p' + who + 'bufam' + v4] += 1; _root.bar['p' + who + 'bu' + v4]._visible = true; _root.bar['p' + who + 'bu' + v4].amount._visible = false; _root.bar['p' + who + 'bu' + v4].gotoAndStop(what); } else { if (_global['p' + who + 'bufam' + v7] < v9) { _global['p' + who + 'bufam' + v7] += 1; _root.bar['p' + who + 'bu' + v7].amount.text = _global['p' + who + 'bufam' + v7]; _root.bar['p' + who + 'bu' + v7].amount._visible = true; v4 = v7; } else { v7 = -1; } } if (what == 3 and v7 != -1) { _root.bar['p' + who + 'bu' + v4].sta.gotoAndPlay(2); _global['bcritp' + who] += 100; _global['critp' + who] += 100; _global['p' + who + 'bunam' + v4] = 'Inspiration of the Flame'; _global['p' + who + 'butxt' + v4] = '<b>Effect:</b>\r+100% crit chance.'; } if (what == 4 and v7 != -1) { _root.bar['p' + who + 'bu' + v4].sta.gotoAndPlay(2); _global['bcritp' + who] += 10 * addor; _global['critp' + who] += 10 * addor; _global['p' + who + 'bunam' + v4] = 'Spike\'s Frenzy'; _global['p' + who + 'butxt' + v4] = '<b>Effect:</b>\r+' + 10 * _global['p' + who + 'bufam' + v4] + '% crit chance.'; } if (what == 5 and v7 != -1) { _root.bar['p' + who + 'bu' + v4].sta.gotoAndPlay(2); _global['bdoublep' + who] += 5 * addor; _global['doublep' + who] += 5 * addor; _global['p' + who + 'bunam' + v4] = 'Berserk'; _global['p' + who + 'butxt' + v4] = '<b>Effect:</b>\r+' + 5 * _global['p' + who + 'bufam' + v4] + '% combo chance.'; } if (what == 6 and v7 != -1) { _root.bar['p' + who + 'bu' + v4].sta.gotoAndPlay(2); _global['bphysdmgp' + who] -= 150; _global['physdmgp' + who] -= 150; _global['p' + who + 'bunam' + v4] = 'Aura of Exhaustion'; _global['p' + who + 'butxt' + v4] = '<b>Negative Effect:</b>\r-150 Physical Damage.'; } if (what == 7 and v7 != -1) { _root.bar['p' + who + 'bu' + v4].sta.gotoAndPlay(2); _global['bbasichitbonusp' + who] -= 30 * addor; _global['basichitbonusp' + who] -= 30 * addor; _global['p' + who + 'bunam' + v4] = 'Confusion'; _global['p' + who + 'butxt' + v4] = '<b>Negative Effect:</b>\r-' + 30 * _global['p' + who + 'bufam' + v4] + ' to Basic Attack damage.'; } if (what == 8 and v7 != -1) { _root.bar['p' + who + 'bu' + v4].sta.gotoAndPlay(2); _global['bspecialp' + who] -= 5 * addor; _global['specialp' + who] -= 5 * addor; _global['p' + who + 'bunam' + v4] = 'The Fat of the Land'; _global['p' + who + 'butxt' + v4] = '<b>Negative Effect:</b>\r-' + 5 * _global['p' + who + 'bufam' + v4] + '% special chance.'; } if (what == 9 and v7 != -1) { _root.bar['p' + who + 'bu' + v4].sta.gotoAndPlay(2); _global['bpsydmgp' + who] -= 500; _global['psydmgp' + who] -= 500; _global['p' + who + 'bunam' + v4] = 'Mind Lock'; _global['p' + who + 'butxt' + v4] = '<b>Negative Effect:</b>\r-500 Psy Damage.'; } if (what == 10 and v7 != -1) { _root.bar['p' + who + 'bu' + v4].sta.gotoAndPlay(2); _global['bdodgep' + who] -= 100; _global['dodgep' + who] -= 100; _global['bdoublep' + who] -= 100; _global['doublep' + who] -= 100; _global['bcritp' + who] -= 100; _global['critp' + who] -= 100; _global['p' + who + 'bunam' + v4] = 'Aura of Degradation'; _global['p' + who + 'butxt' + v4] = '<b>Negative Effect:</b>\r-100% dodge chance,\r-100% combo chance,\r-100% crit chance.'; } if (what == 21 and v7 != -1) { _root.bar['p' + who + 'bu' + v4].sta.gotoAndPlay(2); var v10 = 0; v10 = 10 + _global.chapt * 5; _global['bphysdmgp' + who] += v10; _global['physdmgp' + who] += v10; _global['bpsydmgp' + who] += v10; _global['psydmgp' + who] += v10; _global['p' + who + 'bunam' + v4] = 'Power Buff'; _global['p' + who + 'butxt' + v4] = '<b>Effect:</b>\r+' + v10 * _global['p' + who + 'bufam' + v4] + ' Physical Damage,' + '\n' + '+' + v10 * _global['p' + who + 'bufam' + v4] + ' Psy Damage.'; _global.damagebufstack += 1; } if (what == 22 and v7 != -1) { _root.bar['p' + who + 'bu' + v4].sta.gotoAndPlay(2); _global['bspecialp' + who] += 5 * addor; _global['specialp' + who] += 5 * addor; _global['p' + who + 'bunam' + v4] = 'Mastery Buff'; _global['p' + who + 'butxt' + v4] = '<b>Effect:</b>\r+' + 5 * _global['p' + who + 'bufam' + v4] + '% Special Chance.'; _global.specialbufstack += 1; } } if (addor == -1) { v4 = v7; _global['buffnump' + who] -= 1; _global['p' + who + 'bunam' + v4] = ''; _root.bar['p' + who + 'bu' + v4]._visible = false; if (what == 4) { _global['bcritp' + who] += 15 * addor * _global['p' + who + 'bufam' + v4]; _global['critp' + who] += 15 * addor * _global['p' + who + 'bufam' + v4]; } _global['p' + who + 'bufam' + v4] = 0; } } function chapterrandoms() { _global.chapterhead1 = randRange(1, 14); _global.chapterhead2 = randRange(1, 14); _global.chapterhead3 = randRange(1, 14); if (_global.chapt == 0) { _global.chapterback1 = 1; _global.chapterback2 = 2; _global.chapterback3 = 5; } if (_global.chapt == 1) { _global.chapterback1 = 6; _global.chapterback2 = 7; _global.chapterback3 = 4; } if (_global.chapt == 2) { _global.chapterback1 = 3; _global.chapterback2 = 1; _global.chapterback3 = 2; } } function namegenerator() { var v5 = randRange(1, 5); if (v5 <= 4) { var v4 = randRange(1, 17); if (v4 == 1) { _global.namep2 = 'Crawling '; } if (v4 == 2) { _global.namep2 = 'Lurking '; } if (v4 == 3) { _global.namep2 = 'Fierced '; } if (v4 == 4) { _global.namep2 = 'Unrested '; } if (v4 == 5) { _global.namep2 = 'Hungered '; } if (v4 == 6) { _global.namep2 = 'Feltrite '; } if (v4 == 7) { _global.namep2 = 'Shadow '; } if (v4 == 8) { _global.namep2 = 'Strangewood '; } if (v4 == 9) { _global.namep2 = 'Jadewood '; } if (v4 == 10) { _global.namep2 = 'Dreadwood '; } if (v4 == 11) { _global.namep2 = 'Spiritual '; } if (v4 == 12) { _global.namep2 = 'Voidstar '; } if (v4 == 13) { _global.namep2 = 'Space '; } if (v4 == 14) { _global.namep2 = 'Walking '; } if (v4 == 15) { _global.namep2 = 'Rabid '; } if (v4 == 16) { _global.namep2 = 'Bloody '; } if (v4 == 17) { _global.namep2 = 'Screaming '; } var v3 = randRange(1, 23); if (v3 == 1) { _global.namep2 += 'Zod'; } if (v3 == 2) { _global.namep2 += 'Grimm'; } if (v3 == 3) { _global.namep2 += 'Nier'; } if (v3 == 4) { _global.namep2 += 'Trapper'; } if (v3 == 5) { _global.namep2 += 'Monster'; } if (v3 == 6) { _global.namep2 += 'Ghoul'; } if (v3 == 7) { _global.namep2 += 'Scavenger'; } if (v3 == 8) { _global.namep2 += 'Lycanthrope'; } if (v3 == 9) { _global.namep2 += 'Fang'; } if (v3 == 10) { _global.namep2 += 'Eye'; } if (v3 == 11) { _global.namep2 += 'Claw'; } if (v3 == 12) { _global.namep2 += 'Scar'; } if (v3 == 13) { _global.namep2 += 'Zyzyx'; } if (v3 == 14) { _global.namep2 += 'Pox'; } if (v3 == 15) { _global.namep2 += 'Doom'; } if (v3 == 16) { _global.namep2 += 'Spirit'; } if (v3 == 17) { _global.namep2 += 'Haunt'; } if (v3 == 18) { _global.namep2 += 'Mimic'; } if (v3 == 19) { _global.namep2 += 'Beast'; } if (v3 == 20) { _global.namep2 += 'Watcher'; } if (v3 == 21) { _global.namep2 += 'Guardian'; } if (v3 == 22) { _global.namep2 += 'Dream'; } if (v3 == 23) { _global.namep2 += 'Whisper'; } } if (v5 == 5) { var v2 = randRange(1, 27); if (v2 == 1) { _global.namep2 = 'Coilek'; } if (v2 == 2) { _global.namep2 = 'Butcher'; } if (v2 == 3) { _global.namep2 = 'Jawbreaker'; } if (v2 == 4) { _global.namep2 = 'Razormouth'; } if (v2 == 5) { _global.namep2 = 'the Ancient One'; } if (v2 == 6) { _global.namep2 = 'Roar'; } if (v2 == 7) { _global.namep2 = 'Fata Morgana'; } if (v2 == 8) { _global.namep2 = 'Fate 08'; } if (v2 == 9) { _global.namep2 = 'Mankubus'; } if (v2 == 10) { _global.namep2 = 'Leo Burninate'; } if (v2 == 11) { _global.namep2 = 'Duoxid'; } if (v2 == 12) { _global.namep2 = 'Gothchoir'; } if (v2 == 13) { _global.namep2 = 'Despair'; } if (v2 == 14) { _global.namep2 = 'Coilbreaker'; } if (v2 == 15) { _global.namep2 = 'Siliconite'; } if (v2 == 16) { _global.namep2 = 'Indi Survivor'; } if (v2 == 17) { _global.namep2 = 'Blighthead'; } if (v2 == 18) { _global.namep2 = 'Harbringer of Conus'; } if (v2 == 19) { _global.namep2 = 'Plaguerte'; } if (v2 == 20) { _global.namep2 = 'Mojoz'; } if (v2 == 21) { _global.namep2 = 'Gizix'; } if (v2 == 22) { _global.namep2 = 'Doubletroubler'; } if (v2 == 23) { _global.namep2 = 'Ducktale'; } if (v2 == 24) { _global.namep2 = 'Justain Biebr'; } if (v2 == 25) { _global.namep2 = 'Jace'; } if (v2 == 26) { _global.namep2 = 'Contagion'; } if (v2 == 27) { _global.namep2 = 'Taltos'; } } } function healforp1(helamo) { _global.Hpp1 += helamo; if (_global.Hpp1 > _global.HpMaxp1) { _global.Hpp1 = _global.HpMaxp1; } _global.fixhpposit = -36; _root.bar.full._x = _global.fixhpposit; _root.bar.blik._x = _global.fixhpposit; _root.bar.lilblik._x = _global.fixhpposit; if (_global.Hpp1 < _global.HpMaxp1) { _global.hppos = Math.floor(_global.Hpp1 / (_global.HpMaxp1 / 100)); _global.fixhpposit = (100 - _global.hppos) * -2.57; _root.bar.full._x += _global.fixhpposit; _root.bar.blik._x += _global.fixhpposit; _root.bar.lilblik._x += _global.fixhpposit; } _root.bar.hpp1.text = _global.Hpp1 + '/' + _global.HpMaxp1; } function clickoncharge(bfchrz) { _root.bufplate.buf.text = 'Take 1 more'; _root.bufplate._y = 40; if (_global.bufchtotal <= 0) { _global.bufchtype = bfchrz; _global.bufchtotal = 1; } else { if (_global.bufchtype != bfchrz) { _global.bufchtype = bfchrz; _global.bufchtotal = 1; } else { _global.bufchtotal += 1; } } if (_global.bufchtotal >= 2 and _global.bufchtype == 1) { if (_global.snd_volume > 0) { _root.soundgo(53); } _root.charglight.gotoAndPlay(2); _root.bufplate.buf.text = 'Completed'; _root.concind.suc.gotoAndStop(2); _root.concind.gotoAndPlay(2); _root.addorbuff(1, 21, 1); _global.bufchtotal = 0; } if (_global.bufchtotal >= 2 and _global.bufchtype == 2) { if (_global.snd_volume > 0) { _root.soundgo(53); } _root.charglight.gotoAndPlay(2); _root.bufplate.buf.text = 'Completed'; _root.concind.suc.gotoAndStop(3); _root.concind.gotoAndPlay(2); _root.addorbuff(1, 22, 1); _global.bufchtotal = 0; } if (_global.bufchtotal >= 2 and _global.bufchtype == 3) { if (_global.snd_volume > 0) { _root.soundgo(53); } _root.charglight.gotoAndPlay(2); _root.bufplate.buf.text = 'Completed'; _root.concind.suc.gotoAndStop(4); _root.concind.gotoAndPlay(2); var v3 = 0; v3 = 100 + _global.chapt * 40; _root.healforp1(v3); _global.bufchtotal = 0; } _root.bufplate.bcharg1.gotoAndStop(_global.bufchtype); } } frame 1 { function endfight() { var v3 = _global.chapt; if (v3 < 1) { v3 = 1; } if (_global.Hpp1 > 0) { _global.win = 1; _global.infwins += 1; } else { _global.win = 0; _global.surv = 0; _global.infloses += 1; } if (_global.surviv > 1) { _global.surv -= 1; } if (_global.surviv < 2 or _global.surv < 1) { if (_global.win == 1 and _global.bossfight == 1) { _global.bossdownnowx = _global.currentbossx; } if (_global.win == 1 and _global.bossfight > 1) { _global.achcount1 += 1; } if (_global.win == 0 and _global.bossfight > 1) { _global.achcount1 = 0; } _root.achievcheck(10); _root.achievcheck(9); _root.achievcheck(8); _root.bonusover(); _root.bonusreset(); } if (_global.bossfight != 0) { if (_global.win > 0 and _global.surviv < 2) { _global.combxp = 40 + v3 * 25; _global.moneyxp = v3 * 40 + randRange(1, 6) * 5; if (_global.bossfight == 1) { _root.bossloot(); } if (_global.bossfight == 3) { _global.moneyxp -= 10; _global.combxp -= 10; } if (_global.bossfight == 4) { _global.moneyxp += 30; _global.combxp += 30; } if (_global.bossfight == 5) { _global.moneyxp += v3 * 35; } if (_global.bossfight == 5 and _global.chapt > 1) { _global.couponxp += 1; _global.genxp = 25; } } if (_global.win > 0 and _global.surviv > 1 and _global.surv < 1) { _global.combxp = _global.surviv * 60 + v3 * 25; _global.moneyxp = (30 + v3 * 25 + randRange(1, 4) * 5) * _global.surviv; if (_global.chapt > 1) { _global.couponxp += 1; } } if (_global.win == 0 and _global.HpMaxp2 - _global.Hpp2 > _global.HpMaxp2 * 0.35) { _global.combxp = 15; _global.moneyxp = 25; } } if (_global.win == 0 and _global.bossfight > 1 and _global.dificl > 0.6) { _global.dificl -= 0.1; } if (_global.win == 1 and _global.bossfight > 1 and _global.dificl < 1) { _global.dificl += 0.1; } if (_global.win == 1 and _global.eventsource == 3) { _global.moneyxp *= 2; _global.genxp *= 2; } if (_global.win == 1 and _global.eventsource == 4) { _global.moneyxp *= 2; _global.genxp *= 2; } if (_global.eventsource == 3 or _global.eventsource == 4) { _global.eventtype = -1; } if (_global.combxp > 0) { _global.buyfood1 = 0; _global.new4 = 1; } if (_global.combxp > 0 and _global.eventtype == 0) { _root.eventrandomizer(); } if (_global.eventtype == -1) { _root.finisheventx(); } _global.infmoney += _global.moneyxp; _root.achievcheck(4); _root.achievcheck(5); _root.achievcheck(6); } function lvlupSkill() { _global.slvl += 1; if (_global.slvl == 2 and _global.chapt < 1) { _global.chapt = 1; _global.newchapter = 1; } if (_global.lvlp1 < _global.slvl) { _global.lvlp1 = _global.slvl; } _global.lvlucrw = 0; _global.lvlucr = 0; _global.lvluslot = 0; _global.lvluhp = 0; if (_global.slvl == 3 or _global.slvl == 5 or _global.slvl == 7 or _global.slvl == 9 or _global.slvl == 12 or _global.slvl == 15 or _global.slvl == 18 or _global.slvl == 21) { _global.lvluslot = 1; if (_global.sklopens < 11) { _global.sklopens += 1; } } _global.lvlucrw = 1; _global.skillcMax1 += 1; _global.lvlucr = randRange(2, 3); _global['skillcMax' + _global.lvlucr] += 1; _global.sxpmax += 50; if (_global.slvl >= 99) { _global.sxp = _global.sxpmax; } _root.refreshxp(); _global.lvlupgo = 1; } function lvlupFood() { _global.hlvl += 1; if (_global.lvlp1 < _global.hlvl) { _global.lvlp1 = _global.hlvl; } _global.lvlucrw = 0; _global.lvlucr = 0; _global.lvluslot = 0; _global.lvluhp = 0; _global.lvluhp = 50 + 25 * _global.hlvl; _global.HpMaxp1 += _global.lvluhp; _global.Hpp1 = _global.HpMaxp1; _global.hxpmax += 50; if (_global.hlvl >= 99) { _global.hxp = _global.hxpmax; } _root.refreshhp(); _root.refreshxp(); _global.lvlupgo = 2; } function xpgain(what, am) { if (what == 1 and _global.slvl < 99) { if (_global.sxp + am >= _global.sxpmax) { am -= _global.sxpmax - _global.sxp; _root.lvlupSkill(); _global.sxp = am; } else { _global.sxp += am; } } if (what == 2 and _global.hlvl < 99) { if (_global.hxp + am >= _global.hxpmax) { am -= _global.hxpmax - _global.hxp; _root.lvlupFood(); _global.hxp = am; } else { _global.hxp += am; } } } function onlyblood() { if (_global.dodgeOn == 0) { if (_global.chFallen < 10 and _global.Hpp1 > 0 and _global.Hpp2 > 0) { if (_global.directio == 1) { _root.blood2.gotoAndPlay(2); _root.p2.p.gotoAndStop(3); } if (_global.directio == 2) { _root.blood1.gotoAndPlay(2); _root.p1.p.gotoAndStop(3); } } } } function percnt(am, per) { var v1 = (am / 100) * per; return v1; } function abilityhit() { _root.bonushitreset(); _global.combatbuff = 0; _global.dmgtyp = 1; _global.Damage = 1; _global.DamageMax = 2; var v3 = _global['physdmgp' + _global.curplayer]; var v4 = _global['psydmgp' + _global.curplayer]; if (_global.chAttack == 1) { _global.Damage = _root.percnt(v3, 60) + _global['basichitbonusp' + _global.curplayer]; _global.DamageMax = _root.percnt(v3, 100) + _global['basichitbonusp' + _global.curplayer]; } if (_global.chAttack == 5) { _global.Damage = _root.percnt(v3, 150); _global.DamageMax = _root.percnt(v3, 150); } if (_global.chAttack == 6) { _global.Damage = _root.percnt(v3, 125); _global.DamageMax = _root.percnt(v3, 125); _global.bhstun = 25; } if (_global.chAttack == 4) { _global.Damage = _root.percnt(v3, 80); _global.DamageMax = _root.percnt(v3, 125); _global.bhdouble = 30; } if (_global.chAttack == 24) { _global.Damage = _root.percnt(v3, 85); _global.DamageMax = _root.percnt(v3, 130); _global.bhdouble = 45; _global.bhcrit = 10; } if (_global.chAttack == 20) { _global.Damage = _root.percnt(v3, 100); _global.DamageMax = _root.percnt(v3, 150); _global.bhstun = 15; } if (_global.chAttack == 45) { _global.Damage = _root.percnt(v3, 1); _global.DamageMax = _root.percnt(v3, 15); _global.poisonam = 150; if (_global.skill3 == 1) { _global.poisonam += 50; } } if (_global.chAttack == 46) { _global.Damage = _root.percnt(v3, 40); _global.DamageMax = _root.percnt(v3, 80); _global.poisonam = 75; if (_global.skill3 == 1) { _global.poisonam += 50; } } if (_global.chAttack == 50) { _global.Damage = _root.percnt(v3, 200); _global.DamageMax = _root.percnt(v3, 200); _global.bhphysdmg = _global['physdmgp' + _global.curplayer] * 4; } if (_global.chAttack == 53) { _global.Damage = _root.percnt(v3, 80); _global.DamageMax = _root.percnt(v3, 125); if (_global.stunOn == 1) { _global.Damage = _root.percnt(v3, 300); _global.DamageMax = _root.percnt(v3, 400); } } if (_global.chAttack == 16) { _global.Damage = _root.percnt(v4, 50); _global.DamageMax = _root.percnt(v4, 200); _global.bhcrit = 20; _global.dmgtyp = 2; } if (_global.chAttack == 21) { _global.Damage = 1; _global.DamageMax = _root.percnt(v4, 350); _global.dmgtyp = 2; } if (_global.chAttack == 10) { _global.Damage = _global['Hpp' + _global.othplayer] * 0.1; _global.DamageMax = _global.Damage; _global.bhdodge = -30; _global.bhcrit = -100; _global.dmgtyp = 2; } if (_global.chAttack == 11) { _global.Damage = _global['Hpp' + _global.othplayer] * 0.15; _global.DamageMax = _global.Damage; _global.bhdodge = -50; _global.bhcrit = -100; _global.dmgtyp = 2; } if (_global.chAttack == 17) { _global.Damage = _root.percnt(v3, 60) + _root.percnt(v4, 80); _global.DamageMax = _root.percnt(v3, 100) + _root.percnt(v4, 80); _global.bhstun = 10; _global.dmgtyp = 3; } if (_global.chAttack == 44) { _global.Damage = _root.percnt(v3, 50) + _root.percnt(v4, 140); _global.DamageMax = _root.percnt(v3, 70) + _root.percnt(v4, 140); _global['blindp' + _global.othplayer] += 1; _global.dmgtyp = 3; } if (_global.chAttack == 47) { _global.Damage = _root.percnt(v4, 100); _global.DamageMax = _root.percnt(v4, 130); _global.chFallen = 11; _global.bhcrit = 10; _global.bhstun = 10; _global.dmgtyp = 2; } if (_global.chAttack == 48) { _global.Damage = _root.percnt(v4, 80); _global.DamageMax = _root.percnt(v4, 150); _global.bhdodge = -100; _global.dmgtyp = 2; } if (_global.chAttack == 49) { _global.Damage = 1; _global.DamageMax = _root.percnt(v4, 600); _global.bhdodge = 30; _global.dmgtyp = 2; } if (_global.chAttack == 52) { _global.Damage = _root.percnt(v4, 100); _global.DamageMax = _root.percnt(v4, 150); _global['hypnop' + _global.othplayer] += 35; _global.dmgtyp = 2; } if (_global.chAttack == 51) { _global.Damage = _root.percnt(v3, 50) + _root.percnt(v4, 100); _global.DamageMax = _root.percnt(v3, 70) + _root.percnt(v4, 100); _global['hypnop' + _global.othplayer] += 45; _global.dmgtyp = 3; } if (_global.chAttack == 101) { _global.Damage = _root.percnt(v3, 100); _global.DamageMax = _root.percnt(v3, 120); } if (_global.chAttack == 102) { _global.Damage = _root.percnt(v3, 1); _global.DamageMax = _root.percnt(v3, 15); _global.poisonam = 350; } if (_global.chAttack == 103) { _global.Damage = _root.percnt(v3, 100); _global.DamageMax = _root.percnt(v3, 130); _global.combatbuff = 4; } if (_global.chAttack == 104) { _global.Damage = _root.percnt(v3, 130); _global.DamageMax = _root.percnt(v3, 130); _global.combatbuff = 5; } if (_global.chAttack == 105) { _global.Damage = _root.percnt(v3, 100); _global.DamageMax = _root.percnt(v3, 150); _global.combatbuff = 7; } if (_global.chAttack == 106) { _global.Damage = _root.percnt(v3, 1); _global.DamageMax = _root.percnt(v3, 150); _global.combatbuff = 8; } if (_global.chAttack == 107) { _global.Damage = _root.percnt(v3, 1); _global.DamageMax = _root.percnt(v3, 15); _global.poisonam = 350; } if (_global.chAttack == 108) { _global.Damage = _root.percnt(v3, 130); _global.DamageMax = _root.percnt(v3, 130); _global.bhdodge = -100; } if (_global.chAttack == 109) { _global.Damage = _root.percnt(v3, 80); _global.DamageMax = _root.percnt(v3, 180); _global.bhdouble = 60; } if (numb == 101) { tg.cname = 'Ulash Strike'; } if (numb == 102) { tg.cname = 'Deadly Poison'; } if (numb == 103) { tg.cname = 'Spike Rush'; } if (numb == 104) { tg.cname = 'Uni Mad Strike >_<'; } if (numb == 105) { tg.cname = 'Gorow Strike'; } if (numb == 106) { tg.cname = 'Trololo Attack'; } if (numb == 107) { tg.cname = 'Kyrim\'s Poison Strike'; } if (numb == 108) { tg.cname = 'Zed\'s Slam'; } if (numb == 109) { tg.cname = 'Mutilate'; } } function hitmoment() { _global.chFallen = 0; _global.poisonam = 0; _root.abilityhit(); _root.dataabils(_global.chAttack, 1, 1); _root.skilnam.text = _root.abi.a1.cname; if (_global.chAttack == 1) { _root.skilnam.text = ''; } _global['comboop' + _global.othplayer] = 0; if (_global.comboop1 < 2 and _global.comboop2 < 2) { _root.comb.gotoAndStop(1); } _global.dodgeOn = 0; _global.chDodge = randRange(1, 100); if (_global['blindp' + _global.curplayer] > 0) { _global.bhdodge += 50; _global['blindp' + _global.curplayer] -= 1; } var v3 = 0; if (_global.chDodge <= _global['dodgep' + _global.othplayer] + _global.bhdodge) { v3 = 1; } if (_global.stunOn == 1) { v3 = 0; } if (_global.concFail == -1) { v3 = 0; } if (_global.concFail == 1 and _global.curplayer == 1) { v3 = 1; } if (v3 == 1) { _root.snd_fightHit(2); _global.concFail = 0; _global.dodgeOn = 1; } else { if (_global['poisonp' + _global.othplayer] < _global.poisonam) { _global['poisonp' + _global.othplayer] = _global.poisonam; _global.poisonam = 0; } _root.snd_fightHit(1); _global['comboop' + _global.curplayer] += 1; if (_global.comboop1 > 1 or _global.comboop2 > 1) { _root.comb.gotoAndPlay(2); } _root.damagedealt(); } _global.stunOn = 0; _global.chStun = randRange(1, 100); if (_global.chStun <= _global['stunp' + _global.curplayer] + _global.bhstun and _global.dodgeOn == 0) { _global.stunOn = 1; } if (_global.dodgeOn == 0) { if (_global['Hpp' + _global.othplayer] > 0) { if (_global.chFallen == 0) { _global.chFallen = randRange(1, 10); } if (_global.chFallen <= 3) { _root['p' + _global.othplayer].p.gotoAndStop(13); } if (_global.chFallen >= 4 and _global.chFallen <= 6) { _root['p' + _global.othplayer].p.gotoAndStop(3); } if (_global.chFallen >= 7 and _global.chFallen <= 9) { _root['p' + _global.othplayer].p.gotoAndStop(16); } if (_global.chFallen == 10 and _global.stunOn == 0) { _root['p' + _global.othplayer].p.gotoAndStop(6); } if (_global.chFallen == 10 and _global.stunOn == 1) { _root['p' + _global.othplayer].p.gotoAndStop(3); } if (_global.chFallen == 11 and _global.stunOn == 0) { _root['p' + _global.othplayer].p.gotoAndStop(24); } if (_global.chFallen == 11 and _global.stunOn == 1) { _root['p' + _global.othplayer].p.gotoAndStop(16); } } else { if (_global.scren == 15) { _root['p' + _global.othplayer].p.gotoAndStop(5); } } _root['blood' + _global.othplayer].gotoAndPlay(2); } else { _root['p' + _global.othplayer].p.gotoAndStop(15); _root['damp' + _global.othplayer].gotoAndPlay(2); } } function damagedealt() { if (_global.combatbuff > 0) { if (_global.combatbuff == 4) { _root.addorbuff(1, 4, 2); } if (_global.combatbuff == 5) { _root.addorbuff(1, 5, 2); } if (_global.combatbuff == 7) { _root.addorbuff(1, 7, 1); } if (_global.combatbuff == 8) { _root.addorbuff(1, 8, 1); } } _root.codee.text = _global.chAttack; _global.critOn = 0; _global.ddealt = randRange(_global.Damage, _global.DamageMax); _global.chCrit = randRange(1, 100); if (_global.chCrit <= _global['critp' + _global.curplayer] + _global.bhcrit) { _global.ddealt = Math.floor(_global.ddealt * _global['addtocritp' + _global.curplayer]); _global.critOn = 1; } if (_global.concFail == -1 and _global.curplayer == 1) { _global.ddealt *= 2; _global.concFail = 0; } _global.ddealt = Math.floor(_global.ddealt); if (_global.ddealt < 1) { _global.ddealt = 1; } if (_global.othplayer == 2) { _root.achievcheck(3); _root.achievcheck(2); _root.achievcheck(1); } _global['Hpp' + _global.othplayer] -= _global.ddealt; _root['damp' + _global.othplayer].gotoAndPlay(2); _root.refresh_statpanel(); _root.refreshhp(); } function gameturn() { _global.concRand = randRange(1, 100); if (_global.concRand <= _global.concChance and _global.concFail == 0) { _root.raww.gotoAndPlay(2); _global.concChance = Math.floor(_global.concChance / 2); } else { _global.hpupRand = randRange(1, 100); if (_global.hpupRand >= 5 and _global.bossfight != 0) { _global.bufcharge = randRange(1, 3); var v4 = 0; if (_global.bufcharge == 1 and _global.damagebufstack >= 5) { v4 = -1; } if (_global.bufcharge == 2 and _global.specialbufstack >= 5) { v4 = -1; } if (v4 == 0) { _root.hpup._x = randRange(85, 610); _root.hpup._y = randRange(160, 200); _root.hpup.gotoAndPlay(2); } } _global.hpupRand2 = randRange(1, 100); if (_global.hpupRand2 >= 60 and _global.bossfight != 0) { _global.bufcharge2 = randRange(1, 3); var v3 = 0; if (_global.bufcharge2 == 1 and _global.damagebufstack >= 5) { v3 = -1; } if (_global.bufcharge2 == 2 and _global.specialbufstack >= 5) { v3 = -1; } if (v3 == 0) { _root.hpup2._x = randRange(85, 610); _root.hpup2._y = randRange(160, 200); var v5 = 0; v5 = Math.abs(_root.hpup._x - _root.hpup2._x); if (v5 < 110 and _root.hpup._x < _root.hpup2._x) { _root.hpup2._x += 55; _root.hpup._x -= 55; } if (v5 < 110 and _root.hpup._x > _root.hpup2._x) { _root.hpup2._x -= 55; _root.hpup._x += 55; } _root.hpup2.gotoAndPlay(2); } } _root.gameturn2(); } } function gameturn2() { _global.chSpecial = randRange(1, 100); if (_global['hypnop' + _global.curplayer] > 0) { _global.chSpecial += _global['hypnop' + _global.curplayer]; _global['hypnop' + _global.curplayer] = 0; } if (_global.curplayer == 1) { _global.directio = 1; if (_root.p1.getDepth() < _root.p2.getDepth()) { _root.p1.swapDepths(_root.p2); } if (_global.chSpecial <= _global.specialp1 and _global.actnum > 0) { _global.rndAttack = randRange(1, _global.actnum); _global.chAttack = _global['sActive' + _global.rndAttack]; _root.snd_run(); if (_global.chAttack == 5) { _root.p1.p.gotoAndStop(9); } if (_global.chAttack == 6) { _root.p1.p.gotoAndStop(19); } if (_global.chAttack == 17) { _root.p1.p.gotoAndStop(4); } if (_global.chAttack == 4) { _root.p1.p.gotoAndStop(10); } if (_global.chAttack == 24) { _root.p1.p.gotoAndStop(11); } if (_global.chAttack == 20) { _root.p1.p.gotoAndStop(12); } if (_global.chAttack == 10) { _root.p1.p.gotoAndStop(7); } if (_global.chAttack == 11) { _root.p1.p.gotoAndStop(8); } if (_global.chAttack == 16) { _root.p1.p.gotoAndStop(18); } if (_global.chAttack == 21) { _root.p1.p.gotoAndStop(14); } if (_global.chAttack == 44) { _root.p1.p.gotoAndStop(20); } if (_global.chAttack == 45) { _root.p1.p.gotoAndStop(21); } if (_global.chAttack == 46) { _root.p1.p.gotoAndStop(22); } if (_global.chAttack == 47) { _root.p1.p.gotoAndStop(23); } if (_global.chAttack == 48) { _root.p1.p.gotoAndStop(25); } if (_global.chAttack == 49) { _root.p1.p.gotoAndStop(26); } if (_global.chAttack == 50) { _root.p1.p.gotoAndStop(27); } if (_global.chAttack == 51) { _root.p1.p.gotoAndStop(28); } if (_global.chAttack == 52) { _root.p1.p.gotoAndStop(29); } if (_global.chAttack == 53) { _root.p1.p.gotoAndStop(30); } } else { _global.chAttack = 1; _root.snd_run(); var v3 = randRange(1, 2); if (v3 == 1) { _root.p1.p.gotoAndStop(2); } else { _root.p1.p.gotoAndStop(31); } } } if (_global.curplayer == 2) { _global.directio = 2; if (_root.p2.getDepth() < _root.p1.getDepth()) { _root.p2.swapDepths(_root.p1); } if (_global.chSpecial <= _global.specialp2 and _global.actnum2 > 0) { _global.rndAttack = randRange(1, _global.actnum2); _global.chAttack = _global['s2Active' + _global.rndAttack]; _root.snd_run(); if (_global.chAttack == 5) { _root.p2.p.gotoAndStop(9); } if (_global.chAttack == 6) { _root.p2.p.gotoAndStop(19); } if (_global.chAttack == 17) { _root.p2.p.gotoAndStop(4); } if (_global.chAttack == 4) { _root.p2.p.gotoAndStop(10); } if (_global.chAttack == 24) { _root.p2.p.gotoAndStop(11); } if (_global.chAttack == 20) { _root.p2.p.gotoAndStop(12); } if (_global.chAttack == 10) { _root.p2.p.gotoAndStop(7); } if (_global.chAttack == 11) { _root.p2.p.gotoAndStop(8); } if (_global.chAttack == 16) { _root.p2.p.gotoAndStop(18); } if (_global.chAttack == 21) { _root.p2.p.gotoAndStop(14); } if (_global.chAttack == 44) { _root.p2.p.gotoAndStop(20); } if (_global.chAttack == 45) { _root.p2.p.gotoAndStop(21); } if (_global.chAttack == 46) { _root.p2.p.gotoAndStop(22); } if (_global.chAttack == 47) { _root.p2.p.gotoAndStop(23); } if (_global.chAttack == 48) { _root.p2.p.gotoAndStop(25); } if (_global.chAttack == 49) { _root.p2.p.gotoAndStop(26); } if (_global.chAttack == 50) { _root.p2.p.gotoAndStop(27); } if (_global.chAttack == 51) { _root.p2.p.gotoAndStop(28); } if (_global.chAttack == 52) { _root.p2.p.gotoAndStop(29); } if (_global.chAttack == 53) { _root.p2.p.gotoAndStop(30); } if (_global.chAttack == 101) { _root.p2.p.gotoAndStop(19); } if (_global.chAttack == 102) { _root.p2.p.gotoAndStop(21); } if (_global.chAttack == 103) { _root.p2.p.gotoAndStop(9); } if (_global.chAttack == 104) { _root.p2.p.gotoAndStop(12); } if (_global.chAttack == 105) { _root.p2.p.gotoAndStop(28); } if (_global.chAttack == 106) { _root.p2.p.gotoAndStop(20); } if (_global.chAttack == 107) { _root.p2.p.gotoAndStop(21); } if (_global.chAttack == 108) { _root.p2.p.gotoAndStop(12); } if (_global.chAttack == 109) { _root.p2.p.gotoAndStop(27); } } else { _global.chAttack = 1; _root.snd_run(); v3 = randRange(1, 2); if (v3 == 1) { _root.p2.p.gotoAndStop(2); } else { _root.p2.p.gotoAndStop(31); } } } trace('\r==> Attack: ' + _global.chAttack); } function flipplayer() { if (_global.curplayer == 1) { _global.curplayer = 2; } else { _global.curplayer = 1; } if (_global.othplayer == 1) { _global.othplayer = 2; } else { _global.othplayer = 1; } } function poisongo() { if (_global.poisonturn == 1) { _global.poisonturn = 2; } else { _global.poisonturn = 1; } if (_global['poisonp' + _global.poisonturn] > 0) { _global['Hpp' + _global.poisonturn] -= _global['poisonp' + _global.poisonturn]; _root['dampoison' + _global.poisonturn].gotoAndPlay(2); _global.ddealt = _global['poisonp' + _global.poisonturn]; _global.poisontrigger = 1; _root.refreshhp(); if (_global.scren == 15 and _global['Hpp' + _global.curplayer] < 1) { _root['p' + _global.curplayer].p.gotoAndStop(5); } else { if (_global.scren == 15 and _global['Hpp' + _global.othplayer] < 1) { _root['p' + _global.othplayer].p.gotoAndStop(5); } } _global['poisonp' + _global.poisonturn] -= 25; if (_global['poisonp' + _global.poisonturn] < 0) { _global['poisonp' + _global.poisonturn] = 0; } } } function endturn() { if (_global.poisonp1 > 0 or _global.poisonp2 > 0) { if (_global.Hpp1 > 0 and _global.Hpp2 > 0) { _root.poisongo(); } } if (_global.ohwait != 1) { if (_global.Hpp1 > 0 and _global.Hpp2 > 0) { if (_global.stunOn == 0) { _root.p1.p.gotoAndStop(1); _root.p2.p.gotoAndStop(1); } else { _root['p' + _global.curplayer].p.gotoAndStop(1); } _global.critdouble = randRange(1, 100); if (_global.critdouble <= _global['doublep' + _global.curplayer] or _global.stunOn == 1) { _root.flipplayer(); } _root.flipplayer(); if (_global.curplayer == 1) { _root.gameturn(); } else { _root.gameturn2(); } } else { if (_global.Hpp1 <= 0) { _root.p2.p.gotoAndStop(1); } else { _root.p1.p.gotoAndStop(1); } } } else { _root['p' + _global.curplayer].p.gotoAndStop(1); } _root.damp1.gotoAndStop(1); _root.damp2.gotoAndStop(1); if (_global.scren == 15 and _global['Hpp' + _global.curplayer] < 1) { _root['p' + _global.curplayer].p.gotoAndStop(5); } else { if (_global.scren == 15 and _global['Hpp' + _global.othplayer] < 1) { _root['p' + _global.othplayer].p.gotoAndStop(5); } } } function hpmove1(dmgorheal, sped) { clearInterval(tipIntHp1); clearInterval(tipIntHpheal1); _root.bar.blik._visible = 1; if (dmgorheal == 1) { tipIntHp1 = setInterval(setHp1, sped); } if (dmgorheal == 2) { tipIntHpheal1 = setInterval(setHpheal1, sped); } } function setHp1() { if ((_global.HpMaxp1 / 100) * _global.hppos <= _global.Hpp1 or _global.hppos <= 0) { _root.bar.blik._visible = 0; clearInterval(tipIntHp1); } else { _global.hppos -= 1; _root.bar.full._x -= 2.57; _root.bar.blik._x -= 2.57; _root.bar.lilblik._x -= 2.57; } } function setHpheal1() { if ((_global.HpMaxp1 / 100) * _global.hppos >= _global.Hpp1 or _global.hppos >= 100 or _global.starteat == 0) { _root.bar.blik._visible = 0; clearInterval(tipIntHpheal1); if (_global.consummm == 1 and _global.Hpp1 == _global.HpMaxp1) { _root.endeat(); } } else { _global.hppos += 1; _root.bar.full._x += 2.57; _root.bar.blik._x += 2.57; _root.bar.lilblik._x += 2.57; } } function hpmove2(dmgorheal, sped) { clearInterval(tipIntHp2); _root.bar.blik2._visible = 1; if (dmgorheal == 1) { tipIntHp2 = setInterval(setHp2, sped); } } function setHp2() { if ((_global.HpMaxp2 / 100) * _global.hppos2 <= _global.Hpp2 or _global.hppos2 <= 0) { _root.bar.blik2._visible = 0; clearInterval(tipIntHp2); } else { _global.hppos2 -= 1; _root.bar.full2._x += 2.57; _root.bar.blik2._x += 2.57; _root.bar.lilblik2._x += 2.57; } } function hpeat(sped) { clearInterval(tipIntHpeat); tipIntHpeat = setInterval(setHpeat, sped); } function setHpeat() { if (_global.starteat == 1) { _global.Hpp1 += _global.hpeat; if (_global.Hpp1 > _global.HpMaxp1) { _global.Hpp1 = _global.HpMaxp1; } _root.statzz.box.s1.text = 'Hit Points: ' + _global.Hpp1 + '/' + _global.HpMaxp1; _root.refreshhp(); if (_global.Hpp1 >= _global.HpMaxp1) { clearInterval(tipIntHpeat); } if (_global.hpeat > (_global.HpMaxp1 / 100) * 4) { _root.hpmove1(2, 20); } else { _root.hpmove1(2, 80); } } } function globalizationn() { _root.clearskilllist(); if (_global.actnum > 0) { var v4 = 1; v4 = 1; while (v4 <= _global.actnum) { _global['sActive' + v4] = _root.abi['ab' + v4].cnum; trace('sActive' + v4 + ': ' + _global['sActive' + v4]); ++v4; } } if (_global.passnum > 0) { var v3 = 1; v3 = 1; while (v3 <= _global.passnum) { _global['sPassive' + v3] = _root.abi['ab' + (v3 + _global.actnum)].cnum; trace('sPassive' + v3 + ': ' + _global['sPassive' + v3]); ++v3; } } } function refreshhp() { if (_global.poisontrigger > 0) { if (_global.poisonturn == 1 and _global.ddealt > 0) { _root.hpmove1(1, 20); } if (_global.poisonturn == 2 and _global.ddealt > 0) { _root.hpmove2(1, 20); } _global.poisontrigger = 0; } else { if (_global.curplayer == 2 and _global.ddealt > 0) { _root.hpmove1(1, 20); } if (_global.curplayer == 1 and _global.ddealt > 0) { _root.hpmove2(1, 20); } } if (_global.Hpp1 < 0) { _global.Hpp1 = 0; } if (_global.Hpp2 < 0) { _global.Hpp2 = 0; } _root.bar.hpp1.text = _global.Hpp1 + '/' + _global.HpMaxp1; _root.bar.hpp2.text = _global.Hpp2 + '/' + _global.HpMaxp2; } function clearskilllist() { var v2 = 1; v2 = 1; while (v2 <= 11) { _global['sActive' + v2] = 0; _global['sPassive' + v2] = 0; ++v2; } } function buttonson(onor) { var v2 = 1; v2 = 1; while (v2 <= 12) { _root.abi['ab' + v2].enabled = onor; _root.abi['a' + v2].enabled = onor; ++v2; } _root.mm6.enabled = onor; _root.mm7.enabled = onor; _root.mm8.enabled = onor; _root.mm16.enabled = onor; _root.abi.bm3.enabled = onor; _root.abi.bm4.enabled = onor; _root.menuu.men.mm1.enabled = onor; _root.menuu.men.mm2.enabled = onor; _root.menuu.men.mm3.enabled = onor; _root.menuu.men.mm4.enabled = onor; _root.menuu.men.mm5.enabled = onor; _root.bar.sfoo.enabled = onor; _root.menz.enabled = onor; _root.stt.enabled = onor; _root.cou.cou.enabled = onor; } function bonusover() { _global.HpMaxp1 -= _global.bHpMaxp1; if (_global.HpMaxp1 < _global.Hpp1) { _global.Hpp1 = _global.HpMaxp1; } _global.addtocritp1 -= _global.baddtocritp1; _global.specialp1 -= _global.bspecialp1; _global.critp1 -= _global.bcritp1; _global.dodgep1 -= _global.bdodgep1; _global.blockp1 -= _global.bblockp1; _global.doublep1 -= _global.bdoublep1; _global.stunp1 -= _global.bstunp1; _global.physdmgp1 -= _global.bphysdmgp1; _global.psydmgp1 -= _global.bpsydmgp1; _global.basichitbonusp1 -= _global.bbasichitbonusp1; } function choosesmallest(diapason) { var v3 = _global.csmal1; var v2 = 1; v2 = 2; while (v2 <= diapason) { if (v3 > _global['csmal' + v2]) { v3 = _global['csmal' + v2]; } ++v2; } return v3; } function concKeyOff(onoff) { _root.raww.pla.b1.enabled = onoff; _root.raww.pla.b2.enabled = onoff; _root.raww.pla.b3.enabled = onoff; _root.raww.pla.b4.enabled = onoff; _root.raww.pla.b5.enabled = onoff; _root.raww.pla.b6.enabled = onoff; _root.paus.enabled = onoff; } function concKeypressed(keypr) { _global.concPress += 1; if (_global['concTablo' + _global.concPress] != _global['concButton' + keypr]) { _global.concFail = 1; _root.raww.pla.remtime.stop(); _root.concind.gotoAndPlay(81); _root.raww.gotoAndPlay(26); } if (_global['concTablo' + _global.concPress] == _global['concButton' + keypr]) { _root.raww.pla['sh' + _global.concPress]._visible = true; if (_global.concPress > 2) { _root.raww.pla.remtime.stop(); _root.concind.suc.gotoAndStop(1); _root.concind.gotoAndPlay(2); _root.raww.gotoAndPlay(26); _global.concFail = -1; } } } function reci(what, how) { if (_global['fod' + what] < how and _global.scren != 22) { return '<font color=\'#990000\'>'; } else { return ''; } } function recc(what, how) { if (_global['fod' + what] < how and _global.scren != 22) { return '</font>'; } else { return ''; } } function randRange(min, max) { var v1 = Math.floor(Math.random() * (max - min + 1)) + min; return v1; } function PlayerItemsComplete(items) { if (items != null) { var v2 = 0; while (v2 < items.length) { var v3 = items[v2]; itemid = v3.ItemID; if (itemid == 1051) { _global.unlockee1 = 1; } if (itemid == 1052) { _global.unlockee2 = 1; } if (itemid == 1053) { _global.unlockee3 = 1; } ++v2; } } } function BuyItemComplete(status, message, itemid) { if (status == 1) { if (itemid == 1051) { _global.unlockee1 = 1; } if (itemid == 1052) { _global.unlockee2 = 1; } if (itemid == 1053) { _global.unlockee3 = 1; } } else { trace(message); } } } frame 1 { function skilltakeneffect(skillnum, addor) { if (skillnum == 3) { } if (skillnum == 8) { _global.physdmgp1 += 10 * addor; _global.addtocritp1 += 0.2 * addor; } if (skillnum == 9) { _global.doublep1 += 5 * addor; } if (skillnum == 13) { _global.specialp1 += 5 * addor; } if (skillnum == 14) { _global.HpMaxp1 += 80 * addor; _root.hpmaxcheck(); _global.psydmgp1 += 15 * addor; } if (skillnum == 12) { _global.addtocritp1 += 1 * addor; } if (skillnum == 15) { _global.HpMaxp1 += 100 * addor; _root.hpmaxcheck(); _global.specialp1 += 5 * addor; } if (skillnum == 18) { _global.physdmgp1 += 35 * addor; } if (skillnum == 19) { _global.HpMaxp1 -= 500 * addor; _root.hpmaxcheck(); _global.critp1 += 20 * addor; } if (skillnum == 22) { _global.critp1 += 5 * addor; } if (skillnum == 23) { _global.psydmgp1 += 45 * addor; } if (skillnum == 25) { _global.basichitbonusp1 += 10 * addor; } if (skillnum == 7) { _global.psydmgp1 += 70 * addor; } if (skillnum == 27) { _global.physdmgp1 += 40 * addor; } if (skillnum == 28) { _global.HpMaxp1 += 1500 * addor; _root.hpmaxcheck(); } if (skillnum == 29) { _global.specialp1 += 10 * addor; } if (skillnum == 26) { _global.critp1 += 5 * addor; _global.addtocritp1 += 0.5 * addor; } if (skillnum == 30) { _global.basichitbonusp1 += 30 * addor; } if (skillnum == 31) { _global.basichitbonusp1 += 50 * addor; } if (skillnum == 34) { _global.critp1 += -20 * addor; _global.dodgep1 += 20 * addor; } if (skillnum == 35) { _global.stunp1 += 5 * addor; } if (skillnum == 36) { _global.doublep1 += 10 * addor; } if (skillnum == 37) { _global.addtocritp1 += 0.5 * addor; } if (skillnum == 38) { _global.dodgep1 += 5 * addor; _global.psydmgp1 += 30 * addor; } if (skillnum == 40) { _global.dodgep1 += 15 * addor; } if (skillnum == 41) { _global.addtocritp1 += 1.5 * addor; } if (skillnum == 42) { _global.dodgep1 += 5 * addor; _global.critp1 += 5 * addor; } if (skillnum == 43) { _global.HpMaxp1 += 800 * addor; _root.hpmaxcheck(); } if (skillnum == 32) { _global.skillcMax1 += 5 * addor; _root.skillcRefresh(); } if (skillnum == 33) { _global.skillcMax3 += 3 * addor; _root.skillcRefresh(); } if (skillnum == 39) { _global.skillcMax2 += 3 * addor; _root.skillcRefresh(); } } function data5(skillor) { var v2 = 1; v2 = 1; while (v2 <= 12) { if (skillor == 1) { _root.dataabils(_root.abi['a' + v2].cnum, v2, 1); } if (skillor == 2) { _root.dataabilsf(_root.abi['a' + v2].cnum, v2, 1); } ++v2; } if (skillor == 1) { var v3 = 1; v3 = 1; while (v3 < 12) { _root.dataabils(_root.abi['ab' + v3].cnum, v3, 2); ++v3; } } _root.crysnotenough(); } function dataabils(numb, who, chois) { if (chois == 1) { var v2 = _root.abi['a' + who]; } else { var v2 = _root.abi['ab' + who]; } v2.enabled = true; if (numb == 1) { v2.cname = ''; v2.enabled = false; v2.styp = 0; v2.ctex = ''; v2.scost1 = 0; v2.scost2 = 0; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 2) { v2.cname = 'Open'; v2.ctex = 'You can put skill in this slot.'; v2.enabled = false; v2.styp = 0; v2.rar = 1; v2.scost1 = 0; v2.scost2 = 0; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 4) { v2.cname = 'Predator\'s Leap'; v2.ctex = '<b>Physical damage:</b> 80% - 125%\r+30% combo chance for this attack.\r\r<b>Mastery</b> (+5% to special attack chance).'; v2.styp = 1; v2.rar = 1; v2.cashh = 5; v2.scost1 = 1; v2.scost2 = 1; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 5) { v2.cname = 'Double Strike'; v2.ctex = '<b>Physical damage:</b> 150%\r\r<b>Mastery</b> (+5% to special attack chance).'; v2.styp = 1; v2.rar = 1; v2.cashh = 5; v2.scost1 = 1; v2.scost2 = 1; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 10) { v2.cname = 'Psy Beam'; v2.ctex = '<b>Psy damage:</b> 10% of enemy remaining HP.\r-30% dodge chance to your enemy for this attack.\r-100% crit chance for this attack.\r\r<b>Mastery</b> (+5% to special attack chance).'; v2.styp = 1; v2.rar = 1; v2.cashh = 5; v2.scost1 = 3; v2.scost2 = 2; v2.scost3 = 2; v2.scost4 = 0; } if (numb == 16) { v2.cname = 'Classic Fireball'; v2.ctex = '<b>Psy damage:</b> 50% - 200%\r+20% crit chance for this attack.\r\r<b>Mastery</b> (+5% to special attack chance).'; v2.styp = 1; v2.rar = 1; v2.cashh = 5; v2.scost1 = 2; v2.scost2 = 0; v2.scost3 = 2; v2.scost4 = 0; } if (numb == 17) { v2.cname = 'Pyro Crush'; v2.ctex = '<b>Physical damage:</b> 60% - 100%\r<b>Plus Psy damage:</b> 80%\r+10% stun chance for this attack.\r\r<b>Mastery</b> (+5% to special attack chance).'; v2.styp = 1; v2.rar = 1; v2.cashh = 5; v2.scost1 = 2; v2.scost2 = 1; v2.scost3 = 1; v2.scost4 = 0; } if (numb == 21) { v2.cname = 'Lighting Shot'; v2.ctex = '<b>Psy damage:</b> 1% - 350%\r\r<b>Mastery</b> (+5% to special attack chance).'; v2.styp = 1; v2.rar = 1; v2.cashh = 5; v2.scost1 = 2; v2.scost2 = 0; v2.scost3 = 1; v2.scost4 = 0; } if (numb == 46) { v2.cname = 'Emerald Venom'; v2.ctex = '<b>Physical damage:</b> 40% - 80%\rYour enemy is poisoned. First poison damage: 75.\r\r<b>Mastery</b> (+5% to special attack chance).'; v2.styp = 1; v2.rar = 1; v2.cashh = 5; v2.scost1 = 2; v2.scost2 = 1; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 50) { v2.cname = 'Tear Apart'; v2.ctex = '<b>Physical damage:</b> 200%\r\r<b>Mastery</b> (+5% to special attack chance).'; v2.styp = 1; v2.rar = 1; v2.cashh = 5; v2.scost1 = 2; v2.scost2 = 2; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 52) { v2.cname = 'Hypnosphere'; v2.ctex = '<b>Psy damage:</b> 100% - 150%\rNext enemy attack have -35% special chance.\r\r<b>Mastery</b> (+5% to special attack chance).'; v2.styp = 1; v2.rar = 1; v2.cashh = 5; v2.scost1 = 1; v2.scost2 = 0; v2.scost3 = 2; v2.scost4 = 0; } if (numb == 53) { v2.cname = 'Uppercut'; v2.ctex = '<b>Physical damage:</b> 80% - 125%\rIf your enemy is stunned, this attack deals 300% Physical damage instead.\r\r<b>Mastery</b> (+5% to special attack chance).'; v2.styp = 1; v2.rar = 1; v2.cashh = 5; v2.scost1 = 2; v2.scost2 = 1; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 11) { v2.cname = 'Spectral Psy Beams'; v2.ctex = '<b>Psy damage:</b> 15% of enemy remaining HP.\r-50% dodge chance to your enemy for this attack.\r-100% crit chance for this attack.\r\r<b>Mastery</b> (+5% to special attack chance).'; v2.styp = 1; v2.rar = 2; v2.cashh = 5; v2.scost1 = 6; v2.scost2 = 3; v2.scost3 = 3; v2.scost4 = 0; } if (numb == 24) { v2.cname = 'Killer\'s Leap'; v2.ctex = '<b>Physical damage:</b> 85% - 130%\r+45% combo chance for this attack.\r\r<b>Mastery</b> (+5% to special attack chance).'; v2.styp = 1; v2.rar = 2; v2.cashh = 5; v2.scost1 = 3; v2.scost2 = 1; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 6) { v2.cname = 'Hammer Grip'; v2.ctex = '<b>Physical damage:</b> 125%\r+25% stun chance for this attack.\r\r<b>Mastery</b> (+5% to special attack chance).'; v2.styp = 1; v2.rar = 2; v2.cashh = 5; v2.scost1 = 1; v2.scost2 = 2; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 20) { v2.cname = 'Head Slam'; v2.ctex = '<b>Physical damage:</b> 100% - 150%\r+15% stun chance for this attack.\r\r<b>Mastery</b> (+5% to special attack chance).'; v2.styp = 1; v2.rar = 2; v2.cashh = 5; v2.scost1 = 2; v2.scost2 = 1; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 47) { v2.cname = 'Fire Pillar'; v2.ctex = '<b>Psy damage:</b> 100% - 130%\r+10% crit chance for this attack.\r+10% stun chance for this attack.\r\r<b>Mastery</b> (+5% to special attack chance).'; v2.styp = 1; v2.rar = 2; v2.cashh = 5; v2.scost1 = 3; v2.scost2 = 1; v2.scost3 = 2; v2.scost4 = 0; } if (numb == 48) { v2.cname = 'Wall of Fire'; v2.ctex = '<b>Psy damage:</b> 80% - 150%\r-100% dodge chance to your enemy for this attack.\r\r<b>Mastery</b> (+5% to special attack chance).'; v2.styp = 1; v2.rar = 2; v2.cashh = 5; v2.scost1 = 3; v2.scost2 = 1; v2.scost3 = 1; v2.scost4 = 0; } if (numb == 51) { v2.cname = 'Hypnotic Shock'; v2.ctex = '<b>Physical damage:</b> 50% - 70%\r<b>Plus Psy damage:</b> 100%\rNext enemy attack have -45% special chance.\r\r<b>Mastery</b> (+5% to special attack chance).'; v2.styp = 1; v2.rar = 2; v2.cashh = 5; v2.scost1 = 2; v2.scost2 = 0; v2.scost3 = 3; v2.scost4 = 0; } if (numb == 49) { v2.cname = 'Ball Lighting'; v2.ctex = '<b>Psy damage:</b> 1% - 600%\r+30% dodge chance to your enemy for this attack.\r\r<b>Mastery</b> (+5% to special attack chance).'; v2.styp = 1; v2.rar = 3; v2.cashh = 5; v2.scost1 = 3; v2.scost2 = 1; v2.scost3 = 1; v2.scost4 = 0; } if (numb == 44) { v2.cname = 'Tempest of the Blinding Light'; v2.ctex = '<b>Physical damage:</b> 50% - 70%\r<b>Plus Psy damage:</b> 140%\rYour enemy is blinded (You have +50% dodge against his next attack).\r\r<b>Mastery</b> (+5% to special attack chance).'; v2.styp = 1; v2.rar = 3; v2.cashh = 5; v2.scost1 = 2; v2.scost2 = 1; v2.scost3 = 1; v2.scost4 = 0; } if (numb == 45) { v2.cname = 'Viper Coil'; v2.ctex = '<b>Physical damage:</b> 1% - 15%\rYour enemy is poisoned. First poison damage: 150.\r\r<b>Mastery</b> (+5% to special attack chance).'; v2.styp = 1; v2.rar = 3; v2.cashh = 5; v2.scost1 = 3; v2.scost2 = 2; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 8) { v2.cname = 'Bloody Anger'; v2.ctex = '+10 damage for physical attacks,\r+20% damage to critical hits.'; v2.styp = 2; v2.rar = 1; v2.cashh = 5; v2.scost1 = 2; v2.scost2 = 1; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 9) { v2.cname = 'Leaping Mastery'; v2.ctex = '+5% combo chance.'; v2.styp = 2; v2.rar = 1; v2.cashh = 5; v2.scost1 = 1; v2.scost2 = 1; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 12) { v2.cname = 'Cruelty'; v2.ctex = '+100% damage to critical hits.'; v2.styp = 2; v2.rar = 1; v2.cashh = 5; v2.scost1 = 1; v2.scost2 = 0; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 14) { v2.cname = 'Crow Spirit'; v2.ctex = '+80 max hit points,\r+15 damage for psy attacks.'; v2.styp = 2; v2.rar = 1; v2.cashh = 5; v2.scost1 = 3; v2.scost2 = 0; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 15) { v2.cname = 'Ancient Force'; v2.ctex = '+100 max hit points,\r+5% special attack chance.'; v2.styp = 2; v2.rar = 1; v2.cashh = 5; v2.scost1 = 3; v2.scost2 = 0; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 22) { v2.cname = 'Red Focus'; v2.ctex = '+5% crit chance.'; v2.styp = 2; v2.rar = 1; v2.cashh = 5; v2.scost1 = 1; v2.scost2 = 0; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 23) { v2.cname = 'Lighting Mastery'; v2.ctex = '+45 damage for psy attacks.'; v2.styp = 2; v2.rar = 1; v2.cashh = 5; v2.scost1 = 2; v2.scost2 = 0; v2.scost3 = 2; v2.scost4 = 0; } if (numb == 25) { v2.cname = 'Power of Tremor Games'; v2.ctex = '+10 damage for basic (non-Special) attacks.'; v2.styp = 2; v2.rar = 1; v2.cashh = 5; v2.scost1 = 2; v2.scost2 = 0; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 26) { v2.cname = 'Weak Spot Finder'; v2.ctex = '+5% crit chance,\r+50% damage to critical hits.'; v2.styp = 2; v2.rar = 1; v2.cashh = 5; v2.scost1 = 2; v2.scost2 = 0; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 30) { v2.cname = 'Bloody Hands'; v2.ctex = '+30 damage for basic (non-Special) attacks.'; v2.styp = 2; v2.rar = 1; v2.cashh = 5; v2.scost1 = 2; v2.scost2 = 0; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 32) { v2.cname = 'White Dust'; v2.ctex = '+5 White Gems.\r\r<b>IMPORTANT:</b> You must have 5 free White Gems to deactivate this skill.'; v2.styp = 2; v2.rar = 1; v2.cashh = 5; v2.scost1 = 0; v2.scost2 = 0; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 33) { v2.cname = 'Fire Hands'; v2.ctex = '+3 Yellow Gems.\r\r<b>IMPORTANT:</b> You must have 3 free Yellow Gems to deactivate this skill.'; v2.styp = 2; v2.rar = 1; v2.cashh = 5; v2.scost1 = 0; v2.scost2 = 0; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 35) { v2.cname = 'Bonemancer'; v2.ctex = '+5% stun chance.'; v2.styp = 2; v2.rar = 1; v2.cashh = 5; v2.scost1 = 2; v2.scost2 = 1; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 36) { v2.cname = 'Predator\'s Hunger'; v2.ctex = '+10% combo chance.'; v2.styp = 2; v2.rar = 1; v2.cashh = 5; v2.scost1 = 3; v2.scost2 = 2; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 37) { v2.cname = 'Eraser'; v2.ctex = '+50% damage to critical hits.'; v2.styp = 2; v2.rar = 1; v2.cashh = 5; v2.scost1 = 1; v2.scost2 = 0; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 38) { v2.cname = 'Shadow Watcher'; v2.ctex = '+5% dodge chance,\r+30 damage for psy attacks.'; v2.styp = 2; v2.rar = 1; v2.cashh = 5; v2.scost1 = 3; v2.scost2 = 0; v2.scost3 = 1; v2.scost4 = 0; } if (numb == 39) { v2.cname = 'Adrenaline Glands'; v2.ctex = '+3 Red Gems.\r\r<b>IMPORTANT:</b> You must have 3 free Red Gems to deactivate this skill.'; v2.styp = 2; v2.rar = 1; v2.cashh = 5; v2.scost1 = 0; v2.scost2 = 0; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 42) { v2.cname = 'Follow the White Rabbit'; v2.ctex = '+5% dodge chance,\r+5% crit chance.'; v2.styp = 2; v2.rar = 1; v2.cashh = 5; v2.scost1 = 2; v2.scost2 = 0; v2.scost3 = 1; v2.scost4 = 0; } if (numb == 43) { v2.cname = 'Nature Gift'; v2.ctex = '+800 max hit points.'; v2.styp = 2; v2.rar = 1; v2.cashh = 5; v2.scost1 = 1; v2.scost2 = 2; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 3) { v2.cname = 'Master of Poisons'; v2.ctex = '+50 for Poison Strength damage.'; v2.styp = 2; v2.rar = 2; v2.cashh = 5; v2.scost1 = 2; v2.scost2 = 0; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 13) { v2.cname = 'Baby\'s Got a Temper'; v2.ctex = '+5% special attack chance.'; v2.styp = 2; v2.rar = 2; v2.cashh = 5; v2.scost1 = 1; v2.scost2 = 2; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 18) { v2.cname = 'Raw Force'; v2.ctex = '+35 damage for physical attacks.'; v2.styp = 2; v2.rar = 2; v2.cashh = 5; v2.scost1 = 3; v2.scost2 = 0; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 19) { v2.cname = 'Claw of Darkness'; v2.ctex = '-500 max hit points,\r+20% crit chance.'; v2.styp = 2; v2.rar = 2; v2.cashh = 5; v2.scost1 = 3; v2.scost2 = 1; v2.scost3 = 1; v2.scost4 = 0; } if (numb == 31) { v2.cname = 'Claws Mastery'; v2.ctex = '+50 damage for basic (non-Special) attacks.'; v2.styp = 2; v2.rar = 2; v2.cashh = 5; v2.scost1 = 3; v2.scost2 = 0; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 34) { v2.cname = 'Ghost Summit'; v2.ctex = '-20% crit chance,\r+20% dodge chance.'; v2.styp = 2; v2.rar = 2; v2.cashh = 5; v2.scost1 = 2; v2.scost2 = 0; v2.scost3 = 1; v2.scost4 = 0; } if (numb == 40) { v2.cname = 'Master of Deception'; v2.ctex = '+15% dodge chance.'; v2.styp = 2; v2.rar = 2; v2.cashh = 5; v2.scost1 = 3; v2.scost2 = 0; v2.scost3 = 1; v2.scost4 = 0; } if (numb == 41) { v2.cname = 'Pyromancer\'s Heat'; v2.ctex = '+150% damage to critical hits.'; v2.styp = 2; v2.rar = 2; v2.cashh = 5; v2.scost1 = 3; v2.scost2 = 0; v2.scost3 = 1; v2.scost4 = 0; } if (numb == 7) { v2.cname = 'Hayley Guidance'; v2.ctex = '+70 damage for psy attacks.'; v2.styp = 2; v2.rar = 3; v2.cashh = 5; v2.scost1 = 6; v2.scost2 = 0; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 27) { v2.cname = 'Bouncer Guidance'; v2.ctex = '+40 damage for physical attacks.'; v2.styp = 2; v2.rar = 3; v2.cashh = 5; v2.scost1 = 6; v2.scost2 = 0; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 28) { v2.cname = 'Chief Guidance'; v2.ctex = '+1500 max hit points.'; v2.styp = 2; v2.rar = 3; v2.cashh = 5; v2.scost1 = 6; v2.scost2 = 0; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 29) { v2.cname = 'Brom Guidance'; v2.ctex = '+10% special attack chance.'; v2.styp = 2; v2.rar = 3; v2.cashh = 5; v2.scost1 = 6; v2.scost2 = 0; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 100) { v2.cname = 'Increase Health'; v2.ctex = 'Increase your max hit points by 100.\r\rIMPORTANT: This is not a skill.'; v2.styp = 2; v2.rar = 1; v2.cashh = 0; v2.scost1 = 0; v2.scost2 = 0; v2.scost3 = 0; v2.scost4 = 0; } if (numb == 101) { v2.cname = 'Ulash Strike'; } if (numb == 102) { v2.cname = 'Deadly Poison'; } if (numb == 103) { v2.cname = 'Spike Rush'; } if (numb == 104) { v2.cname = 'Uni Mad Strike >_<'; } if (numb == 105) { v2.cname = 'Gorow Strike'; } if (numb == 106) { v2.cname = 'Trololo Attack'; } if (numb == 107) { v2.cname = 'Kyrim\'s Poison Strike'; } if (numb == 108) { v2.cname = 'Zed\'s Slam'; } if (numb == 109) { v2.cname = 'Mutilate'; } if (numb == 110) { v2.cname = ''; } v2.gotoAndStop(numb); } function dataabilsf(numb, who, chois) { if (chois == 1) { var v3 = _root.abi['a' + who]; } else { var v3 = _root.abi['ab' + who]; } v3.enabled = true; v3.am = -1; v3.botyp1 = 0; v3.botyp2 = 0; v3.botyp3 = 0; v3.botyp4 = 0; v3.ceftex = ''; if (numb == 1) { v3.cname = ''; v3.gotoAndStop(numb); v3.enabled = false; v3.styp = 0; v3.ctex = ''; v3.eCost = 0; v3.coold = 0; } if (numb == 2) { v3.cname = 'Open'; v3.ctex = 'You can put skill in this slot.'; v3.enabled = false; v3.styp = 0; v3.rar = 1; v3.cashh = 0; v3.eCost = 25; v3.coold = 1; v3.dmg = 30; } if (numb == 3) { v3.cname = 'Crystal Polar Water'; v3.rest = 50; v3.hxp = 30; v3.fodtyp = -1; v3.ctex = '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.'; v3.styp = 1; v3.rar = 1; v3.cashh = 15; } if (numb == 4) { v3.cname = 'Bird\'s Milk'; v3.rest = 500; v3.hxp = 30; v3.fodtyp = -1; v3.ctex = '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.'; v3.styp = 1; v3.rar = 2; v3.cashh = 35; } if (numb == 5) { v3.cname = 'Red Hot Chilli Sause'; v3.rest = 300; v3.hxp = 30; v3.fodtyp = 4; v3.ctex = '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.' + '\n'; v3.ceftex = '<b>Effect: </b>+15 for physical attacks in next combat.'; v3.ctex += v3.ceftex; v3.botyp1 = 9; v3.boam1 = 15; v3.styp = 1; v3.rar = 2; v3.cashh = 75; } if (numb == 6) { v3.cname = 'Turtle Eggs'; v3.rest = 750; v3.hxp = 20; v3.fodtyp = 9; v3.ctex = '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.' + '\n'; v3.ceftex = '<b>Effect: </b>+3% to special attack chance.'; v3.ctex += v3.ceftex; v3.botyp1 = 3; v3.boam1 = 3; v3.styp = 1; v3.rar = 1; v3.cashh = 25; } if (numb == 7) { v3.cname = 'Penguin Eggs'; v3.rest = 750; v3.hxp = 150; v3.fodtyp = 9; v3.ctex = '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.' + '\n'; v3.ceftex = '<b>Effect: </b>+10% to Critical Damage,\r+5% to special attack chance and\r+500 Max Hp in next combat.'; v3.ctex += v3.ceftex; v3.botyp1 = 2; v3.boam1 = 0.1; v3.botyp2 = 3; v3.boam2 = 5; v3.botyp3 = 1; v3.boam3 = 500; v3.styp = 1; v3.rar = 3; v3.cashh = 175; } if (numb == 8) { v3.cname = 'Pegasus Meat'; v3.rest = 950; v3.hxp = 150; v3.fodtyp = 1; v3.ctex = '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.' + '\n'; v3.ceftex = '<b>Effect: </b>+1000 Max Hp in next combat.'; v3.ctex += v3.ceftex; v3.botyp1 = 1; v3.boam1 = 1000; v3.styp = 1; v3.rar = 3; v3.cashh = 115; } if (numb == 9) { v3.cname = 'Ghost-Crawler Meat'; v3.rest = 700; v3.hxp = 50; v3.fodtyp = 1; v3.ctex = '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.' + '\n'; v3.ceftex = '<b>Effect: </b>+45 for physical attacks in next combat.'; v3.ctex += v3.ceftex; v3.botyp1 = 9; v3.boam1 = 45; v3.styp = 1; v3.rar = 3; v3.cashh = 110; } if (numb == 10) { v3.cname = 'Cannibal Shrimps'; v3.rest = 900; v3.hxp = 20; v3.fodtyp = 3; v3.ctex = '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.'; v3.styp = 1; v3.rar = 1; v3.cashh = 20; } if (numb == 11) { v3.cname = 'Bremen\'s Cheese'; v3.rest = 900; v3.hxp = 20; v3.fodtyp = 2; v3.ctex = '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.'; v3.styp = 1; v3.rar = 1; v3.cashh = 35; } if (numb == 12) { v3.cname = 'Hypno Mushrooms'; v3.rest = 850; v3.hxp = 20; v3.fodtyp = 6; v3.ctex = '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.' + '\n'; v3.ceftex = '<b>Effect: </b>+15 damage for psy attacks in next combat.'; v3.ctex += v3.ceftex; v3.botyp1 = 10; v3.boam1 = 15; v3.styp = 1; v3.rar = 1; v3.cashh = 20; } if (numb == 13) { v3.cname = 'Deadsea Catfish'; v3.rest = 850; v3.hxp = 20; v3.fodtyp = 8; v3.ctex = '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.' + '\n'; v3.ceftex = '<b>Effect: </b>+5 damage for physical attacks in next combat.'; v3.ctex += v3.ceftex; v3.botyp1 = 9; v3.boam1 = 5; v3.styp = 1; v3.rar = 1; v3.cashh = 20; } if (numb == 14) { v3.cname = 'Bloodred Tomatoes'; v3.rest = 850; v3.hxp = 80; v3.fodtyp = 8; v3.ctex = '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.'; v3.styp = 1; v3.rar = 1; v3.cashh = 35; } if (numb == 15) { v3.cname = 'Golden Eggs'; v3.rest = 950; v3.hxp = 90; v3.fodtyp = 9; v3.ctex = '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.' + '\n'; v3.ceftex = '<b>Effect: </b>+25% to special attack chance in next combat.'; v3.ctex += v3.ceftex; v3.botyp1 = 3; v3.boam1 = 25; v3.styp = 1; v3.rar = 3; v3.cashh = 170; } if (numb == 16) { v3.cname = 'Wild Rye Flour'; v3.rest = 700; v3.hxp = 30; v3.fodtyp = 5; v3.ctex = '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.'; v3.styp = 1; v3.rar = 1; v3.cashh = 35; } if (numb == 17) { v3.cname = 'Brown Rice'; v3.rest = 800; v3.hxp = 20; v3.fodtyp = 7; v3.ctex = '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.'; v3.styp = 1; v3.rar = 1; v3.cashh = 20; } if (numb == 18) { v3.cname = 'African Sugar'; v3.rest = 50; v3.hxp = 30; v3.fodtyp = 5; v3.ctex = '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.'; v3.styp = 1; v3.rar = 1; v3.cashh = 45; } if (numb == 19) { v3.cname = 'Mars Salt'; v3.rest = 50; v3.hxp = 30; v3.fodtyp = 5; v3.ctex = '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.' + '\n'; v3.ceftex = '<b>Effect: </b>+45 damage for psy attacks in next combat.'; v3.ctex += v3.ceftex; v3.botyp1 = 10; v3.boam1 = 45; v3.styp = 1; v3.rar = 2; v3.cashh = 120; } if (numb == 20) { v3.cname = 'Rare Spices'; v3.rest = 50; v3.hxp = 30; v3.fodtyp = 5; v3.ctex = '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.'; v3.styp = 1; v3.rar = 2; v3.cashh = 45; } if (numb == 21) { v3.cname = 'Extravagant Spices'; v3.rest = 50; v3.hxp = 30; v3.fodtyp = 5; v3.ctex = '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.' + '\n'; v3.ceftex = '<b>Effect: </b>+85 damage for psy attacks in next combat.'; v3.ctex += v3.ceftex; v3.botyp1 = 10; v3.boam1 = 85; v3.styp = 1; v3.rar = 3; v3.cashh = 75; } if (numb == 22) { v3.cname = 'Red Hot Chilli Pepper'; v3.rest = 700; v3.hxp = 80; v3.fodtyp = 4; v3.ctex = '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.' + '\n'; v3.ceftex = '<b>Effect: </b>+800 Max Hp in next combat.'; v3.ctex += v3.ceftex; v3.botyp1 = 1; v3.boam1 = 800; v3.styp = 1; v3.rar = 2; v3.cashh = 50; } if (numb == 23) { v3.cname = 'Toluca Lake Water'; v3.rest = 50; v3.hxp = 5; v3.fodtyp = -1; v3.ctex = '<b>Secret Ingredient</b>\r\r<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.'; v3.styp = 1; v3.rar = 3; v3.cashh = 100; } if (numb == 24) { v3.cname = 'Black Butterflies'; v3.rest = 50; v3.hxp = 5; v3.fodtyp = 7; v3.ctex = '<b>Secret Ingredient</b>\r\r<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.'; v3.styp = 1; v3.rar = 3; v3.cashh = 100; } if (numb == 25) { v3.cname = 'Maria\'s Tears'; v3.rest = 50; v3.hxp = 5; v3.fodtyp = -1; v3.ctex = '<b>Secret Ingredient</b>\r\r<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.'; v3.styp = 1; v3.rar = 3; v3.cashh = 100; } if (numb == 26) { v3.cname = 'Diablo\'s Meat'; v3.rest = 50; v3.hxp = 5; v3.fodtyp = 3; v3.ctex = '<b>Secret Ingredient</b>\r\r<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.'; v3.styp = 1; v3.rar = 3; v3.cashh = 100; } if (numb == 27) { v3.cname = 'Mephisto\'s Meat'; v3.rest = 50; v3.hxp = 5; v3.fodtyp = 8; v3.ctex = '<b>Secret Ingredient</b>\r\r<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.'; v3.styp = 1; v3.rar = 3; v3.cashh = 100; } if (numb == 28) { v3.cname = 'Baal\'s Meat'; v3.rest = 50; v3.hxp = 5; v3.fodtyp = 3; v3.ctex = '<b>Secret Ingredient</b>\r\r<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.'; v3.styp = 1; v3.rar = 3; v3.cashh = 100; } if (numb == 29) { v3.cname = 'Super Meat Boy'; v3.rest = 50; v3.hxp = 5; v3.fodtyp = 3; v3.ctex = '<b>Secret Ingredient</b>\r\r<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.'; v3.styp = 1; v3.rar = 3; v3.cashh = 100; } if (numb == 30) { v3.cname = 'Meat Battleblock'; v3.rest = 50; v3.hxp = 5; v3.fodtyp = 3; v3.ctex = '<b>Secret Ingredient</b>\r\r<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.'; v3.styp = 1; v3.rar = 3; v3.cashh = 100; } if (numb == 31) { v3.cname = 'Limbo Spider\'s Leg'; v3.rest = 50; v3.hxp = 5; v3.fodtyp = 8; v3.ctex = '<b>Secret Ingredient</b>\r\r<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.'; v3.styp = 1; v3.rar = 3; v3.cashh = 100; } if (numb == 70) { v3.cname = 'Hypnosis Health Pie'; v3.rest = 850; v3.hxp = 180; v3.fodtyp = 2; v3.ingrs = 2; v3.ing1 = 12; v3.ing2 = 16; v3.ingam1 = 3; v3.ingam2 = 1; v3.ctex = _root.reci(v3.ing1, v3.ingam1) + v3.ingam1 + ' x Hypno Mushrooms (' + _global['fod' + v3.ing1] + ')' + _root.recc(v3.ing1, v3.ingam1) + '\n' + _root.reci(v3.ing2, v3.ingam2) + v3.ingam2 + ' x Wild Rye Flour (' + _global['fod' + v3.ing2] + ')' + _root.recc(v3.ing2, v3.ingam2) + '\n' + '\n' + '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.' + '\n' + '<b>Effect: </b>+5 Max Hp permanently.'; v3.botyp1 = 20; v3.boam1 = 5; v3.styp = 2; v3.rar = 1; v3.cashh = 335; } if (numb == 71) { v3.cname = 'Spiced Brown Rice'; v3.rest = 850; v3.hxp = 150; v3.fodtyp = 7; v3.ingrs = 2; v3.ing1 = 17; v3.ing2 = 20; v3.ingam1 = 2; v3.ingam2 = 1; v3.ctex = _root.reci(v3.ing1, v3.ingam1) + v3.ingam1 + ' x Brown Rice (' + _global['fod' + v3.ing1] + ')' + _root.recc(v3.ing1, v3.ingam1) + '\n' + _root.reci(v3.ing2, v3.ingam2) + v3.ingam2 + ' x Rare Spices (' + _global['fod' + v3.ing2] + ')' + _root.recc(v3.ing2, v3.ingam2) + '\n' + '\n' + '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.' + '\n'; v3.ceftex = '<b>Effect: </b>+600 Max Hp in next combat.'; v3.ctex += v3.ceftex; v3.botyp1 = 1; v3.boam1 = 600; v3.styp = 2; v3.rar = 1; v3.cashh = 335; } if (numb == 72) { v3.cname = 'Bloodred Pizza'; v3.rest = 900; v3.hxp = 150; v3.fodtyp = 2; v3.ingrs = 2; v3.ing1 = 11; v3.ing2 = 14; v3.ingam1 = 1; v3.ingam2 = 1; v3.ctex = _root.reci(v3.ing1, v3.ingam1) + v3.ingam1 + ' x Bremen\'s Cheese (' + _global['fod' + v3.ing1] + ')' + _root.recc(v3.ing1, v3.ingam1) + '\n' + _root.reci(v3.ing2, v3.ingam2) + v3.ingam2 + ' x Bloodred Tomatoes (' + _global['fod' + v3.ing2] + ')' + _root.recc(v3.ing2, v3.ingam2) + '\n' + '\n' + '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.'; v3.styp = 2; v3.rar = 1; v3.cashh = 335; } if (numb == 73) { v3.cname = 'Rice with Shrimps'; v3.rest = 900; v3.hxp = 250; v3.fodtyp = 3; v3.ingrs = 3; v3.ing1 = 17; v3.ing2 = 20; v3.ing3 = 10; v3.ingam1 = 2; v3.ingam2 = 1; v3.ingam3 = 2; v3.ctex = _root.reci(v3.ing1, v3.ingam1) + v3.ingam1 + ' x Brown Rice (' + _global['fod' + v3.ing1] + ')' + _root.recc(v3.ing1, v3.ingam1) + '\n' + _root.reci(v3.ing2, v3.ingam2) + v3.ingam2 + ' x Rare Spices (' + _global['fod' + v3.ing2] + ')' + _root.recc(v3.ing2, v3.ingam2) + '\n' + _root.reci(v3.ing3, v3.ingam3) + v3.ingam3 + ' x Cannibal Shrimps (' + _global['fod' + v3.ing3] + ')' + _root.recc(v3.ing3, v3.ingam3) + '\n' + '\n' + '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.' + '\n'; v3.ceftex = '<b>Effect: </b>+2000 Max Hp in next combat.'; v3.ctex += v3.ceftex; v3.botyp1 = 1; v3.boam1 = 2000; v3.styp = 2; v3.rar = 2; v3.cashh = 335; } if (numb == 74) { v3.cname = '\'Red Book\' Omelette'; v3.rest = 900; v3.hxp = 350; v3.fodtyp = 6; v3.ingrs = 4; v3.ing1 = 6; v3.ing2 = 7; v3.ing3 = 15; v3.ing4 = 20; v3.ingam1 = 2; v3.ingam2 = 1; v3.ingam3 = 1; v3.ingam4 = 1; v3.ctex = _root.reci(v3.ing1, v3.ingam1) + v3.ingam1 + ' x Turtle Eggs (' + _global['fod' + v3.ing1] + ')' + _root.recc(v3.ing1, v3.ingam1) + '\n' + _root.reci(v3.ing2, v3.ingam2) + v3.ingam2 + ' x Penguin Eggs (' + _global['fod' + v3.ing2] + ')' + _root.recc(v3.ing2, v3.ingam2) + '\n' + _root.reci(v3.ing3, v3.ingam3) + v3.ingam3 + ' x Golden Eggs (' + _global['fod' + v3.ing3] + ')' + _root.recc(v3.ing3, v3.ingam3) + '\n' + _root.reci(v3.ing4, v3.ingam4) + v3.ingam4 + ' x Rare Spices (' + _global['fod' + v3.ing4] + ')' + _root.recc(v3.ing4, v3.ingam4) + '\n' + '\n' + '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.' + '\n' + '<b>Effect: </b>+30 Max Hp permanently.'; v3.botyp1 = 20; v3.boam1 = 30; v3.styp = 2; v3.rar = 2; v3.cashh = 335; } if (numb == 75) { v3.cname = 'MeatSpin'; v3.rest = 900; v3.hxp = 350; v3.fodtyp = 8; v3.ingrs = 5; v3.ing1 = 9; v3.ing2 = 8; v3.ing3 = 11; v3.ing4 = 19; v3.ing5 = 21; v3.ingam1 = 1; v3.ingam2 = 1; v3.ingam3 = 1; v3.ingam4 = 1; v3.ingam5 = 1; v3.ctex = _root.reci(v3.ing1, v3.ingam1) + v3.ingam1 + ' x Ghost-Crawler Meat (' + _global['fod' + v3.ing1] + ')' + _root.recc(v3.ing1, v3.ingam1) + '\n' + _root.reci(v3.ing2, v3.ingam2) + v3.ingam2 + ' x Pegasus Meat (' + _global['fod' + v3.ing2] + ')' + _root.recc(v3.ing2, v3.ingam2) + '\n' + _root.reci(v3.ing3, v3.ingam3) + v3.ingam3 + ' x Bremen\'s Cheese (' + _global['fod' + v3.ing3] + ')' + _root.recc(v3.ing3, v3.ingam3) + '\n' + _root.reci(v3.ing4, v3.ingam4) + v3.ingam4 + ' x Mars Salt (' + _global['fod' + v3.ing4] + ')' + _root.recc(v3.ing4, v3.ingam4) + '\n' + _root.reci(v3.ing5, v3.ingam5) + v3.ingam5 + ' x Extravagant Spices (' + _global['fod' + v3.ing5] + ')' + _root.recc(v3.ing5, v3.ingam5) + '\n' + '\n' + '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.' + '\n' + '<b>Effect: </b>+5 for physical attacks permanently.'; v3.botyp1 = 21; v3.boam1 = 5; v3.styp = 2; v3.rar = 3; v3.cashh = 335; } if (numb == 76) { v3.cname = 'Cheesecake of Brain Power'; v3.rest = 900; v3.hxp = 350; v3.fodtyp = 2; v3.ingrs = 4; v3.ing1 = 11; v3.ing2 = 4; v3.ing3 = 16; v3.ing4 = 18; v3.ingam1 = 3; v3.ingam2 = 1; v3.ingam3 = 1; v3.ingam4 = 1; v3.ctex = _root.reci(v3.ing1, v3.ingam1) + v3.ingam1 + ' x Bremen\'s Cheese (' + _global['fod' + v3.ing1] + ')' + _root.recc(v3.ing1, v3.ingam1) + '\n' + _root.reci(v3.ing2, v3.ingam2) + v3.ingam2 + ' x Bird Milk (' + _global['fod' + v3.ing2] + ')' + _root.recc(v3.ing2, v3.ingam2) + '\n' + _root.reci(v3.ing3, v3.ingam3) + v3.ingam3 + ' x Wild Rye Flour (' + _global['fod' + v3.ing3] + ')' + _root.recc(v3.ing3, v3.ingam3) + '\n' + _root.reci(v3.ing4, v3.ingam4) + v3.ingam4 + ' x African Sugar (' + _global['fod' + v3.ing4] + ')' + _root.recc(v3.ing4, v3.ingam4) + '\n' + '\n' + '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.' + '\n' + '<b>Effect: </b>+15 for psy attacks permanently.'; v3.botyp1 = 22; v3.boam1 = 15; v3.styp = 2; v3.rar = 3; v3.cashh = 335; } if (numb == 77) { v3.cname = 'Red Hot Chilli Soup'; v3.rest = 900; v3.hxp = 250; v3.fodtyp = 4; v3.ingrs = 3; v3.ing1 = 3; v3.ing2 = 21; v3.ing3 = 22; v3.ingam1 = 2; v3.ingam2 = 1; v3.ingam3 = 3; v3.ctex = _root.reci(v3.ing1, v3.ingam1) + v3.ingam1 + ' x Crystal Polar Water (' + _global['fod' + v3.ing1] + ')' + _root.recc(v3.ing1, v3.ingam1) + '\n' + _root.reci(v3.ing2, v3.ingam2) + v3.ingam2 + ' x Extravagant Spices (' + _global['fod' + v3.ing2] + ')' + _root.recc(v3.ing2, v3.ingam2) + '\n' + _root.reci(v3.ing3, v3.ingam3) + v3.ingam3 + ' x Red Hot Chilli Pepper (' + _global['fod' + v3.ing3] + ')' + _root.recc(v3.ing3, v3.ingam3) + '\n' + '\n' + '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.' + '\n'; v3.ceftex = '<b>Effect: </b>+1000 Max Hp in next combat.\r+10% to special attack chance in next combat.'; v3.ctex += v3.ceftex; v3.botyp1 = 1; v3.boam1 = 1000; v3.botyp2 = 3; v3.boam2 = 10; v3.styp = 2; v3.rar = 2; v3.cashh = 335; } if (numb == 100) { v3.cname = 'Tea of Sorrows'; v3.rest = 1500; v3.hxp = 350; v3.fodtyp = -1; v3.ingrs = 3; v3.ing1 = 23; v3.ing2 = 24; v3.ing3 = 25; v3.ingam1 = 1; v3.ingam2 = 1; v3.ingam3 = 1; v3.ctex = '<b>Secret Recipe:</b>\r' + _root.reci(v3.ing1, v3.ingam1) + v3.ingam1 + ' x Toluca Lake Water (' + _global['fod' + v3.ing1] + ')' + _root.recc(v3.ing1, v3.ingam1) + '\n' + _root.reci(v3.ing2, v3.ingam2) + v3.ingam2 + ' x Black Butterflies (' + _global['fod' + v3.ing2] + ')' + _root.recc(v3.ing2, v3.ingam2) + '\n' + _root.reci(v3.ing3, v3.ingam3) + v3.ingam3 + ' x Maria\'s Tears (' + _global['fod' + v3.ing3] + ')' + _root.recc(v3.ing3, v3.ingam3) + '\n' + '\n' + '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.' + '\n' + '<b>Effect: </b>+1% to Dodge chance permanently.'; v3.botyp1 = 23; v3.boam1 = 1; v3.styp = 2; v3.rar = 3; v3.cashh = 335; } if (numb == 101) { v3.cname = '\'Three Brothers\' Soup'; v3.rest = 1500; v3.hxp = 350; v3.fodtyp = 4; v3.ingrs = 3; v3.ing1 = 26; v3.ing2 = 27; v3.ing3 = 28; v3.ingam1 = 1; v3.ingam2 = 1; v3.ingam3 = 1; v3.ctex = '<b>Secret Recipe:</b>\r' + _root.reci(v3.ing1, v3.ingam1) + v3.ingam1 + ' x Diablo\'s Meat (' + _global['fod' + v3.ing1] + ')' + _root.recc(v3.ing1, v3.ingam1) + '\n' + _root.reci(v3.ing2, v3.ingam2) + v3.ingam2 + ' x Mephisto\'s Meat (' + _global['fod' + v3.ing2] + ')' + _root.recc(v3.ing2, v3.ingam2) + '\n' + _root.reci(v3.ing3, v3.ingam3) + v3.ingam3 + ' x Baal\'s Meat (' + _global['fod' + v3.ing3] + ')' + _root.recc(v3.ing3, v3.ingam3) + '\n' + '\n' + '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.' + '\n' + '<b>Effect: </b>+1% to Crit chance permanently.'; v3.botyp1 = 24; v3.boam1 = 1; v3.styp = 2; v3.rar = 3; v3.cashh = 335; } if (numb == 102) { v3.cname = 'Indi Roll'; v3.rest = 1500; v3.hxp = 350; v3.fodtyp = 8; v3.ingrs = 3; v3.ing1 = 29; v3.ing2 = 30; v3.ing3 = 31; v3.ingam1 = 1; v3.ingam2 = 1; v3.ingam3 = 1; v3.ctex = '<b>Secret Recipe:</b>\r' + _root.reci(v3.ing1, v3.ingam1) + v3.ingam1 + ' x Super Meat Boy (' + _global['fod' + v3.ing1] + ')' + _root.recc(v3.ing1, v3.ingam1) + '\n' + _root.reci(v3.ing2, v3.ingam2) + v3.ingam2 + ' x Meat Battleblock (' + _global['fod' + v3.ing2] + ')' + _root.recc(v3.ing2, v3.ingam2) + '\n' + _root.reci(v3.ing3, v3.ingam3) + v3.ingam3 + ' x Limbo Spider\'s Leg (' + _global['fod' + v3.ing3] + ')' + _root.recc(v3.ing3, v3.ingam3) + '\n' + '\n' + '<b>Rest: </b>' + v3.rest + ' Hp/2sec.' + '\n' + '<b>Health level Exp: </b>+' + v3.hxp + '.' + '\n' + '<b>Effect: </b>+1% to Combo chance permanently.'; v3.botyp1 = 25; v3.boam1 = 1; v3.styp = 2; v3.rar = 3; v3.cashh = 335; } if (v3.styp == 2) { if (_global['fod' + v3.ing1] / v3.ingam1 >= 1) { _global.csmal1 = Math.floor(_global['fod' + v3.ing1] / v3.ingam1); } else { _global.csmal1 = 0; } if (_global['fod' + v3.ing2] / v3.ingam2 >= 1) { _global.csmal2 = Math.floor(_global['fod' + v3.ing2] / v3.ingam2); } else { _global.csmal2 = 0; } if (_global['fod' + v3.ing3] / v3.ingam3 >= 1) { _global.csmal3 = Math.floor(_global['fod' + v3.ing3] / v3.ingam3); } else { _global.csmal3 = 0; } if (_global['fod' + v3.ing4] / v3.ingam4 >= 1) { _global.csmal4 = Math.floor(_global['fod' + v3.ing4] / v3.ingam4); } else { _global.csmal4 = 0; } if (_global['fod' + v3.ing5] / v3.ingam5 >= 1) { _global.csmal5 = Math.floor(_global['fod' + v3.ing5] / v3.ingam5); } else { _global.csmal5 = 0; } if (_global['fod' + v3.ing6] / v3.ingam6 >= 1) { _global.csmal6 = Math.floor(_global['fod' + v3.ing6] / v3.ingam6); } else { _global.csmal6 = 0; } v3.am = _root.choosesmallest(v3.ingrs); } v3.gotoAndStop(numb); if (v3.am == -1) { v3.am = _global['fod' + numb]; } v3.amount.text = v3.am; } function numbconvert(num) { if (num == 101) { return 5; } if (num == 102) { return 10; } if (num == 103) { return 16; } if (num == 104) { return 17; } if (num == 105) { return 21; } if (num == 106) { return 46; } if (num == 107) { return 50; } if (num == 108) { return 4; } if (num == 109) { return 52; } if (num == 110) { return 53; } if (num == 201) { return 11; } if (num == 202) { return 20; } if (num == 203) { return 24; } if (num == 204) { return 47; } if (num == 205) { return 48; } if (num == 206) { return 6; } if (num == 207) { return 51; } if (num == 301) { return 45; } if (num == 302) { return 49; } if (num == 303) { return 44; } if (num == 401) { return 9; } if (num == 402) { return 12; } if (num == 403) { return 14; } if (num == 404) { return 15; } if (num == 405) { return 22; } if (num == 406) { return 23; } if (num == 407) { return 25; } if (num == 408) { return 26; } if (num == 409) { return 30; } if (num == 410) { return 32; } if (num == 411) { return 33; } if (num == 412) { return 35; } if (num == 413) { return 36; } if (num == 414) { return 37; } if (num == 415) { return 38; } if (num == 416) { return 39; } if (num == 417) { return 42; } if (num == 418) { return 43; } if (num == 419) { return 8; } if (num == 501) { return 13; } if (num == 502) { return 18; } if (num == 503) { return 19; } if (num == 504) { return 31; } if (num == 505) { return 34; } if (num == 506) { return 40; } if (num == 507) { return 41; } if (num == 508) { return 3; } if (num == 601) { return 27; } if (num == 602) { return 28; } if (num == 603) { return 29; } if (num == 604) { return 7; } } function choosetrainin() { if (_global.numskilforchoosez + _global.actCom >= _global.totalaCom and _global.rariii == 1) { return 100; } if (_global.numskilforchoosez + _global.actRar >= _global.totalaRar and _global.rariii == 2) { return 100; } if (_global.numskilforchoosez + _global.actEpc >= _global.totalaEpc and _global.rariii == 3) { return 100; } if (_global.numskilforchoosez + _global.pasCom >= _global.totalpCom and _global.rariii == 4) { return 100; } if (_global.numskilforchoosez + _global.pasRar >= _global.totalpRar and _global.rariii == 5) { return 100; } if (_global.numskilforchoosez + _global.pasEpc >= _global.totalpEpc and _global.rariii == 6) { return 100; } var v5 = 0; var v3 = 0; while (v5 == 0) { if (_global.rariii == 1) { v3 = randRange(101, 110); } if (_global.rariii == 2) { v3 = randRange(201, 207); } if (_global.rariii == 3) { v3 = randRange(301, 303); } if (_global.rariii == 4) { v3 = randRange(401, 419); } if (_global.rariii == 5) { v3 = randRange(501, 508); } if (_global.rariii == 6) { v3 = randRange(601, 604); } v3 = _root.numbconvert(v3); if (v3 == _global.skillopt1) { v3 = -1; } if (v3 == _global.skillopt2) { v3 = -1; } if (v3 == _global.skillopt3) { v3 = -1; } if (v3 > -1) { var v4 = 1; v4 = 1; while (v4 <= 50) { if (_global['bm1Lib' + v4] == v3) { v3 = -2; } if (_global['bm2Lib' + v4] == v3) { v3 = -2; } ++v4; } } if (v3 > 0) { v5 = v3; _global.numskilforchoosez += 1; } } return v5; } } frame 1 { function startgamestats() { _global.scren = 1; _global.tutor = 1; _global.chapt = 0; _global.dayy = 0; _global.rskillpoints = 0; _global.moneys = 500; _global.gens = 0; _global.coupons = 0; _global.curbody = 10; _global.curhands = 100; if (_global.unlockee1 != 1) { _global.unlockee1 = 0; } if (_global.unlockee2 != 1) { _global.unlockee2 = 0; } if (_global.unlockee3 != 1) { _global.unlockee3 = 0; } _global.moneyxp = 0; _global.helxp = 0; _global.combxp = 0; _global.genxp = 0; _global.couponxp = 0; _global.sklzzxp = 0; _global.surviv = 0; _global.surv = 0; _global.new4 = -1; _global.new5 = 1; _global.new6 = 0; if (_global.rskillpoints > 0) { _global.new7 = 1; } else { _global.new7 = 0; } _global.new8 = 1; _global.HpMaxp1 = 1050; _global.Hpp1 = _global.HpMaxp1; _global.namep1 = ''; _global.addtocritp1 = 1.5; _global.specialp1 = 30; _global.critp1 = 20; _global.dodgep1 = 10; _global.blockp1 = 10; _global.doublep1 = 10; _global.stunp1 = 10; _global.physdmgp1 = 120; _global.psydmgp1 = 120; _global.basichitbonusp1 = 0; _global.HpMaxp2 = 1050; _global.Hpp2 = _global.HpMaxp2; _global.namep2 = 'Kozilek, the Dark Spirit'; _global.addtocritp2 = 1.5; _global.specialp2 = 80; _global.critp2 = 20; _global.dodgep2 = 10; _global.blockp2 = 10; _global.doublep2 = 10; _global.stunp2 = 10; _global.physdmgp2 = 120; _global.psydmgp2 = 120; _global.basichitbonusp2 = 0; _global.sklam = 0; _global.actnum = 0; _global.actnum2 = 0; _global.passnum = 0; _global.win = 1; _global.dificl = 1; _global.newchapter = 0; _global.tutorconcentration = 0; _global.concFail = 0; _global.concChance = 15; _global.concRand = 0; _global.bookMarkGo = 1; _global.bookMarkFoodGo = 2; _global.critOn = 0; _global.dodgeOn = 0; _global.stunOn = 0; _global.blindp1 = 0; _global.blindp2 = 0; _global.hypnop1 = 0; _global.hypnop2 = 0; _global.poisonp1 = 0; _global.poisonp2 = 0; _global.poisonturn = 1; _global.poisonam = 0; _global.combatbuff = 0; _global.fixhpposit = 0; _global.hppos = 100; _global.hpeat = 0; _global.lvlupgo = 0; _global.lvlucrw = 0; _global.lvlucr = 0; _global.lvluslot = 0; _global.lvluhp = 0; } function bonushitreset() { _global.bhHpMax = 0; _global.bhaddtocrit = 0; _global.bhspecial = 0; _global.bhcrit = 0; _global.bhdodge = 0; _global.bhblock = 0; _global.bhdouble = 0; _global.bhstun = 0; _global.bhphysdmg = 0; _global.bhpsydmg = 0; } function bonusreset() { _global.bHpMaxp1 = 0; _global.baddtocritp1 = 0; _global.bspecialp1 = 0; _global.bcritp1 = 0; _global.bdodgep1 = 0; _global.bblockp1 = 0; _global.bdoublep1 = 0; _global.bstunp1 = 0; _global.bphysdmgp1 = 0; _global.bpsydmgp1 = 0; _global.bbasichitbonusp1 = 0; } function bufffullreset() { _global.buffnump1 = 0; _global.buffnump2 = 0; var v2 = 1; v2 = 1; while (v2 <= 5) { _global['p1bunam' + v2] = ''; _global['p1butxt' + v2] = ''; _global['p1buf' + v2] = 0; _global['p1bufam' + v2] = 0; _global['p2bunam' + v2] = ''; _global['p2butxt' + v2] = ''; _global['p2buf' + v2] = 0; _global['p2bufam' + v2] = 0; ++v2; } } function initiat() { _global.buttonsoff = 0; _global.clickon = 0; _global.numskilforchoosez = 0; _global.tutorconcentration = 1; _global.sklopens = 3; _global.slvl = 1; _global.sxp = 0; _global.sxpmax = 250; _global.hlvl = 1; _global.hxp = 0; _global.hxpmax = 250; _global.lvlp1 = 1; _global.lvlp2 = 1; _global.skillopt1 = 0; _global.skillopt2 = 0; _global.skillopt3 = 0; _root.bonusreset(); _root.bonushitreset(); _root.bufffullreset(); _global.skillcMax1 = 8; _global.skillc1 = 0; _global.skillcMax2 = 3; _global.skillc2 = 0; _global.skillcMax3 = 3; _global.skillc3 = 0; _global.scrollstart = 0; _global.starteat = 0; _global.foodtypanim = 1; _global.maindisable = 0; _global.bossfight = 2; _global.bufcharge = 1; _global.bufcharge2 = 1; _global.bmSkill = 1; _global.bmFood = 1; _global.bmTotal = 1; _global.pageBm1 = 1; _global.pageBm2 = 1; _global.pageBm3 = 1; _global.pageBm4 = 1; _global.fodamount = 50; _global.recipesamount = 8; _global.totalaCom = 10; _global.totalaRar = 7; _global.totalaEpc = 3; _global.totalpCom = 19; _global.totalpRar = 8; _global.totalpEpc = 4; _global.actCom = 1; _global.actRar = 0; _global.actEpc = 0; _global.pasCom = 1; _global.pasRar = 0; _global.pasEpc = 0; _global.bmAm1 = 1; _global.bm1Lib1 = 17; _global.bmAm2 = 1; _global.bm2Lib1 = 25; _global.bmAm4 = 2; _global.bm4Lib1 = 70; _global.bm4Lib2 = 71; _global.bmAm3 = 3; var v4 = 1; v4 = 3; while (v4 <= _global.fodamount) { _global['fod' + v4] = 0; ++v4; } _global.fod11 = 10; _global.fod17 = 6; _global.fod20 = 10; _global.buyfood1 = 0; _global.buyfood2 = 0; _global.buyfood3 = 0; _global.buyfoodam1 = 0; _global.buyfoodam2 = 0; _global.buyfoodam3 = 0; _global.hedp1 = 1; _global.eyep1 = randRange(1, 5); _global.hanup1 = 1; _global.handp1 = randRange(1, 4); _global.hanbp1 = _global.handp1; _global.bodp1 = randRange(1, 6); _global.leg1p1 = randRange(1, 2); _global.leg2p1 = _global.leg1p1; _global.colorp1 = randRange(1, 5); _root.chapterrandoms(); _global.maxachpoints = 0; var v3 = 1; v3 = 1; while (v3 <= 30) { _global['achi' + v3] = 0; _global['bossdown' + v3] = 0; ++v3; } _global.bossdownnowx = 0; _global.achnumb = 0; _global.achget = 0; _global.achg1 = 0; _global.achcount1 = 0; _global.eventtype = 0; _global.eventdays = 0; _global.eventsource = 0; _global.infmoney = 0; _global.inffood = 0; _global.infwins = 0; _global.infloses = 0; _root.dayend(); } function starts() { _global.concChance = 15; _global.ohwait = 0; _global.curplayer = randRange(1, 2); if (_global.curplayer == 1) { _global.othplayer = 2; } else { _global.othplayer = 1; } _global.chAttack = 0; _global.chFallen = 0; _global.chCrit = 0; _global.chStun = 0; _global.critOn = 0; _global.dodgeOn = 0; _global.stunOn = 0; _global.blindp1 = 0; _global.blindp2 = 0; _global.hypnop1 = 0; _global.hypnop2 = 0; _global.poisonp1 = 0; _global.poisonp2 = 0; _global.poisontrigger = 0; _global.poisonam = 0; _global.poisonturn = 1; _global.comboop1 = 0; _global.comboop2 = 0; if (_global.surviv == 0 or _global.surv == _global.surviv) { if (_global.chapt <= 2) { var v3 = randRange(1, 3); _global.backg = _global['chapterback' + v3]; } else { _global.backg = randRange(1, 7); } } _root.bckgr.gotoAndStop(_global.backg); if (_global.bossfight > 1) { _root.opponentgenerate(); } if (_global.bossfight == 1) { _root.bossgenerate(); } if (_global.bossfight == 0) { _root.pvpread(); } _global.ddealt = 0; _global.Hpp2 = _global.HpMaxp2; _root.dark.swapDepths(350); _root.todark.swapDepths(360); _root.blood1.swapDepths(200); _root.blood2.swapDepths(210); _root.p1.swapDepths(100); _root.p2.swapDepths(90); _root.bar.full._x = -36; _root.bar.blik._x = -36; _root.bar.lilblik._x = -35; _root.bar.blik._visible = 0; _global.hppos2 = 100; _root.bar.full2._x = 136; _root.bar.blik2._x = 136; _root.bar.lilblik2._x = 135; _root.bar.blik2._visible = 0; } } frame 1 { function dayend() { _global.dayy += 1; if (_global.eventtype > 0) { _global.eventdays -= 1; } if (_global.eventdays == 0) { _global.eventtype = 0; } } function finisheventx() { _global.eventtype = 0; _global.eventdays = 0; } function eventrandomizer() { var v4 = _root.randRange(1, 100); if (v4 > 50) { var v3 = _root.randRange(4, 11); if (v3 == 7 and _global.chapt < 2) { v3 = _root.randRange(8, 9); } if (v3 == 10 and _global.chapt < 2) { v3 = _root.randRange(8, 9); } if (v3 == 11 and _global.chapt < 2) { v3 = _root.randRange(8, 9); } _global.eventtype = v3; _global.eventdays = 1; if (_global.eventtype == 8 or _global.eventtype == 9) { _global.eventdays = 3; } _global.new9 = 1; } } function savegame(sl) { _global['rawr' + sl] = SharedObject.getLocal('rawrs' + sl); _global.curhpzzzz = _global.Hpp1; _global.specialp1 -= 5 * _global.actnum; var v13 = 1; v13 = 1; while (v13 <= _global.passnum) { _root.skilltakeneffect(_global['sPassive' + v13], -1); ++v13; } _global['rawr' + sl].data.gens = _global.gens; _global['rawr' + sl].data.coupons = _global.coupons; _global['rawr' + sl].data.buyfood1 = _global.buyfood1; _global['rawr' + sl].data.buyfood2 = _global.buyfood2; _global['rawr' + sl].data.buyfood3 = _global.buyfood3; _global['rawr' + sl].data.buyfoodam1 = _global.buyfoodam1; _global['rawr' + sl].data.buyfoodam2 = _global.buyfoodam2; _global['rawr' + sl].data.buyfoodam3 = _global.buyfoodam3; _global['rawr' + sl].data.curbody = _global.curbody; _global['rawr' + sl].data.curhands = _global.curhands; _global['rawr' + sl].data.tutor = _global.tutor; _global['rawr' + sl].data.chapt = _global.chapt; _global['rawr' + sl].data.dayy = _global.dayy; _global['rawr' + sl].data.rskillpoints = _global.rskillpoints; _global['rawr' + sl].data.moneys = _global.moneys; _global['rawr' + sl].data.HpMaxp1 = _global.HpMaxp1 - _global.bHpMaxp1; _global['rawr' + sl].data.Hpp1 = _global.curhpzzzz; _global['rawr' + sl].data.namep1 = _global.namep1; _global['rawr' + sl].data.addtocritp1 = _global.addtocritp1 - _global.baddtocritp1; _global['rawr' + sl].data.specialp1 = _global.specialp1 - _global.bspecialp1; _global['rawr' + sl].data.critp1 = _global.critp1 - _global.bcritp1; _global['rawr' + sl].data.dodgep1 = _global.dodgep1 - _global.bdodgep1; _global['rawr' + sl].data.blockp1 = _global.blockp1 - _global.bblockp1; _global['rawr' + sl].data.doublep1 = _global.doublep1 - _global.bdoublep1; _global['rawr' + sl].data.stunp1 = _global.stunp1 - _global.bstunp1; _global['rawr' + sl].data.physdmgp1 = _global.physdmgp1 - _global.bphysdmgp1; _global['rawr' + sl].data.psydmgp1 = _global.psydmgp1 - _global.bpsydmgp1; _global['rawr' + sl].data.basichitbonusp1 = _global.basichitbonusp1 - _global.bbasichitbonusp1; _global['rawr' + sl].data.sklam = _global.sklam; _global['rawr' + sl].data.actnum = _global.actnum; _global['rawr' + sl].data.passnum = _global.passnum; _global['rawr' + sl].data.skillcMax1 = _global.skillcMax1; _global['rawr' + sl].data.skillc1 = _global.skillc1; _global['rawr' + sl].data.skillcMax2 = _global.skillcMax2; _global['rawr' + sl].data.skillc2 = _global.skillc2; _global['rawr' + sl].data.skillcMax3 = _global.skillcMax3; _global['rawr' + sl].data.skillc3 = _global.skillc3; _global['rawr' + sl].data.actCom = _global.actCom; _global['rawr' + sl].data.actRar = _global.actRar; _global['rawr' + sl].data.actEpc = _global.actEpc; _global['rawr' + sl].data.pasCom = _global.pasCom; _global['rawr' + sl].data.pasRar = _global.pasRar; _global['rawr' + sl].data.pasEpc = _global.pasEpc; _global['rawr' + sl].data.bmAm1 = _global.bmAm1; _global['rawr' + sl].data.bmAm2 = _global.bmAm2; _global['rawr' + sl].data.bmAm3 = _global.bmAm3; _global['rawr' + sl].data.bmAm4 = _global.bmAm4; var v8 = 1; v8 = 1; while (v8 <= _global.bmAm1) { _global['rawr' + sl].data['bm1Lib' + v8] = _global['bm1Lib' + v8]; ++v8; } var v7 = 1; v7 = 1; while (v7 <= _global.bmAm2) { _global['rawr' + sl].data['bm2Lib' + v7] = _global['bm2Lib' + v7]; ++v7; } var v6 = 1; v6 = 1; while (v6 <= _global.bmAm4) { _global['rawr' + sl].data['bm4Lib' + v6] = _global['bm4Lib' + v6]; ++v6; } var v5 = 1; v5 = 3; while (v5 <= _global.fodamount) { _global['rawr' + sl].data['fod' + v5] = _global['fod' + v5]; ++v5; } _global['rawr' + sl].data.hedp1 = _global.hedp1; _global['rawr' + sl].data.eyep1 = _global.eyep1; _global['rawr' + sl].data.hanup1 = _global.hanup1; _global['rawr' + sl].data.handp1 = _global.handp1; _global['rawr' + sl].data.hanbp1 = _global.hanbp1; _global['rawr' + sl].data.bodp1 = _global.bodp1; _global['rawr' + sl].data.leg1p1 = _global.leg1p1; _global['rawr' + sl].data.leg2p1 = _global.leg2p1; _global['rawr' + sl].data.colorp1 = _global.colorp1; var v4 = 1; v4 = 1; while (v4 <= 30) { _global['rawr' + sl].data['achi' + v4] = _global['achi' + v4]; _global['rawr' + sl].data['bossdown' + v4] = _global['bossdown' + v4]; ++v4; } _global['rawr' + sl].data.achnumb = _global.achnumb; _global['rawr' + sl].data.skillopt1 = _global.skillopt1; _global['rawr' + sl].data.skillopt2 = _global.skillopt2; _global['rawr' + sl].data.skillopt3 = _global.skillopt3; _global['rawr' + sl].data.sklopens = _global.sklopens; _global['rawr' + sl].data.slvl = _global.slvl; _global['rawr' + sl].data.sxp = _global.sxp; _global['rawr' + sl].data.sxpmax = _global.sxpmax; _global['rawr' + sl].data.hlvl = _global.hlvl; _global['rawr' + sl].data.hxp = _global.hxp; _global['rawr' + sl].data.hxpmax = _global.hxpmax; _global['rawr' + sl].data.lvlp1 = _global.lvlp1; _global['rawr' + sl].data.eventtype = _global.eventtype; _global['rawr' + sl].data.eventdays = _global.eventdays; _global['rawr' + sl].data.infmoney = _global.infmoney; _global['rawr' + sl].data.inffood = _global.inffood; _global['rawr' + sl].data.infwins = _global.infwins; _global['rawr' + sl].data.infloses = _global.infloses; _global.physdmgp1 -= _global.bphysdmgp1; _global.psydmgp1 -= _global.bpsydmgp1; _global.basichitbonusp1 -= _global.basichitbonusp1; if (_global.actnum > 0) { var v11 = 1; v11 = 1; while (v11 <= _global.actnum) { _global['rawr' + sl].data['sActive' + v11] = _global['sActive' + v11]; ++v11; } } if (_global.passnum > 0) { var v10 = 1; v10 = 1; while (v10 <= _global.passnum) { _global['rawr' + sl].data['sPassive' + v10] = _global['sPassive' + v10]; ++v10; } } _global['rawr' + sl].flush(); var v9 = 1; v9 = 1; while (v9 <= 6) { trace('saved active: ' + _global['rawr' + sl].data['bm1Lib' + v9]); trace('saved passive: ' + _global['rawr' + sl].data['bm2Lib' + v9]); ++v9; } trace('_global.bmAm1: ' + _global['rawr' + sl].data.bmAm1 + ' .::. _global.bmAm2: ' + _global['rawr' + sl].data.bmAm1); _global.specialp1 += 5 * _global.actnum; var v12 = 1; v12 = 1; while (v12 <= _global.passnum) { _root.skilltakeneffect(_global['sPassive' + v12], 1); ++v12; } _global.Hpp1 = _global.curhpzzzz; } function loadgame(sl) { _global['rawr' + sl] = SharedObject.getLocal('rawrs' + sl); _global.gens = _global['rawr' + sl].data.gens; _global.coupons = _global['rawr' + sl].data.coupons; if (_global.gens == undefined) { _global.gens = 0; } if (_global.coupons == undefined) { _global.coupons = 0; } _global.buyfood1 = _global['rawr' + sl].data.buyfood1; _global.buyfood2 = _global['rawr' + sl].data.buyfood2; _global.buyfood3 = _global['rawr' + sl].data.buyfood3; _global.buyfoodam1 = _global['rawr' + sl].data.buyfoodam1; _global.buyfoodam2 = _global['rawr' + sl].data.buyfoodam2; _global.buyfoodam3 = _global['rawr' + sl].data.buyfoodam3; _global.curbody = _global['rawr' + sl].data.curbody; _global.curhands = _global['rawr' + sl].data.curhands; _global.tutor = _global['rawr' + sl].data.tutor; _global.chapt = _global['rawr' + sl].data.chapt; _global.dayy = _global['rawr' + sl].data.dayy; _global.rskillpoints = _global['rawr' + sl].data.rskillpoints; _global.moneys = _global['rawr' + sl].data.moneys; _global.HpMaxp1 = _global['rawr' + sl].data.HpMaxp1; _global.namep1 = _global['rawr' + sl].data.namep1; _global.addtocritp1 = _global['rawr' + sl].data.addtocritp1; _global.specialp1 = _global['rawr' + sl].data.specialp1; _global.critp1 = _global['rawr' + sl].data.critp1; _global.dodgep1 = _global['rawr' + sl].data.dodgep1; _global.blockp1 = _global['rawr' + sl].data.blockp1; _global.doublep1 = _global['rawr' + sl].data.doublep1; _global.stunp1 = _global['rawr' + sl].data.stunp1; _global.physdmgp1 = _global['rawr' + sl].data.physdmgp1; _global.psydmgp1 = _global['rawr' + sl].data.psydmgp1; _global.basichitbonusp1 = _global['rawr' + sl].data.basichitbonusp1; _global.sklam = _global['rawr' + sl].data.sklam; _global.actnum = _global['rawr' + sl].data.actnum; _global.passnum = _global['rawr' + sl].data.passnum; _global.skillcMax1 = _global['rawr' + sl].data.skillcMax1; _global.skillc1 = _global['rawr' + sl].data.skillc1; _global.skillcMax2 = _global['rawr' + sl].data.skillcMax2; _global.skillc2 = _global['rawr' + sl].data.skillc2; _global.skillcMax3 = _global['rawr' + sl].data.skillcMax3; _global.skillc3 = _global['rawr' + sl].data.skillc3; _global.actCom = _global['rawr' + sl].data.actCom; _global.actRar = _global['rawr' + sl].data.actRar; _global.actEpc = _global['rawr' + sl].data.actEpc; _global.pasCom = _global['rawr' + sl].data.pasCom; _global.pasRar = _global['rawr' + sl].data.pasRar; _global.pasEpc = _global['rawr' + sl].data.pasEpc; _global.bmAm1 = _global['rawr' + sl].data.bmAm1; _global.bmAm2 = _global['rawr' + sl].data.bmAm2; _global.bmAm3 = _global['rawr' + sl].data.bmAm3; _global.bmAm4 = _global['rawr' + sl].data.bmAm4; var v10 = 1; v10 = 1; while (v10 <= _global.bmAm1) { _global['bm1Lib' + v10] = _global['rawr' + sl].data['bm1Lib' + v10]; ++v10; } var v9 = 1; v9 = 1; while (v9 <= _global.bmAm2) { _global['bm2Lib' + v9] = _global['rawr' + sl].data['bm2Lib' + v9]; ++v9; } var v8 = 1; v8 = 1; while (v8 <= _global.bmAm4) { _global['bm4Lib' + v8] = _global['rawr' + sl].data['bm4Lib' + v8]; ++v8; } var v7 = 1; v7 = 3; while (v7 <= _global.fodamount) { _global['fod' + v7] = _global['rawr' + sl].data['fod' + v7]; ++v7; } _global.hedp1 = _global['rawr' + sl].data.hedp1; _global.eyep1 = _global['rawr' + sl].data.eyep1; _global.hanup1 = _global['rawr' + sl].data.hanup1; _global.handp1 = _global['rawr' + sl].data.handp1; _global.hanbp1 = _global['rawr' + sl].data.hanbp1; _global.bodp1 = _global['rawr' + sl].data.bodp1; _global.leg1p1 = _global['rawr' + sl].data.leg1p1; _global.leg2p1 = _global['rawr' + sl].data.leg2p1; _global.colorp1 = _global['rawr' + sl].data.colorp1; var v4 = 1; v4 = 1; while (v4 <= 30) { _global['achi' + v4] = _global['rawr' + sl].data['achi' + v4]; _global['bossdown' + v4] = _global['rawr' + sl].data['bossdown' + v4]; ++v4; } _global.achnumb = _global['rawr' + sl].data.achnumb; _global.maxachpoints = _global.rawr1.data.maxachpoints; _global.skillopt1 = _global['rawr' + sl].data.skillopt1; _global.skillopt2 = _global['rawr' + sl].data.skillopt2; _global.skillopt3 = _global['rawr' + sl].data.skillopt3; _global.sklopens = _global['rawr' + sl].data.sklopens; _global.slvl = _global['rawr' + sl].data.slvl; _global.sxp = _global['rawr' + sl].data.sxp; _global.sxpmax = _global['rawr' + sl].data.sxpmax; _global.hlvl = _global['rawr' + sl].data.hlvl; _global.hxp = _global['rawr' + sl].data.hxp; _global.hxpmax = _global['rawr' + sl].data.hxpmax; _global.lvlp1 = _global['rawr' + sl].data.lvlp1; _global.eventtype = _global['rawr' + sl].data.eventtype; _global.eventdays = _global['rawr' + sl].data.eventdays; _global.infmoney = _global['rawr' + sl].data.infmoney; _global.inffood = _global['rawr' + sl].data.inffood; _global.infwins = _global['rawr' + sl].data.infwins; _global.infloses = _global['rawr' + sl].data.infloses; if (_global.actnum > 0) { var v6 = 1; v6 = 1; while (v6 <= _global.actnum) { _global['sActive' + v6] = _global['rawr' + sl].data['sActive' + v6]; _global['skill' + _global['sActive' + v6]] = 1; ++v6; } } if (_global.passnum > 0) { var v5 = 1; v5 = 1; while (v5 <= _global.passnum) { _global['sPassive' + v5] = _global['rawr' + sl].data['sPassive' + v5]; _global['skill' + _global['sPassive' + v5]] = 1; ++v5; } } _global.specialp1 += 5 * _global.actnum; var v11 = 1; v11 = 1; while (v11 <= _global.passnum) { _root.skilltakeneffect(_global['sPassive' + v11], 1); ++v11; } _global.Hpp1 = _global['rawr' + sl].data.Hpp1; if (_global.Hpp1 > _global.HpMaxp1) { _global.Hpp1 = _global.HpMaxp1; } _global.new5 = 0; _global.new8 = 0; } function gentakeneffect(skln, addor) { if (skln == 10) { } if (skln == 11) { _global.HpMaxp1 += 100 * addor; _global.basichitbonusp1 += 5 * addor; _root.hpmaxcheck(); } if (skln == 12) { _global.HpMaxp1 += 100 * addor; _global.psydmgp1 += 10 * addor; _root.hpmaxcheck(); } if (skln == 13) { _global.HpMaxp1 += 250 * addor; _root.hpmaxcheck(); } if (skln == 14) { _global.HpMaxp1 += 200 * addor; _global.dodgep1 += 5 * addor; _root.hpmaxcheck(); } if (skln == 15) { _global.HpMaxp1 += 250 * addor; _global.psydmgp1 += 20 * addor; _root.hpmaxcheck(); } if (skln == 16) { _global.HpMaxp1 += 200 * addor; _global.physdmgp1 += 10 * addor; _root.hpmaxcheck(); } if (skln == 17) { _global.HpMaxp1 += 300 * addor; _global.physdmgp1 += 20 * addor; _root.hpmaxcheck(); } if (skln == 18) { _global.HpMaxp1 -= 100 * addor; _global.psydmgp1 += 45 * addor; _global.critp1 += 5 * addor; _root.hpmaxcheck(); } if (skln == 19) { _global.HpMaxp1 += 450 * addor; _global.doublep1 += 5 * addor; _root.hpmaxcheck(); } if (skln == 20) { _global.HpMaxp1 += 350 * addor; _global.physdmgp1 += 35 * addor; _root.hpmaxcheck(); } if (skln == 21) { _global.psydmgp1 += 60 * addor; } if (skln == 22) { _global.HpMaxp1 += 700 * addor; _root.hpmaxcheck(); } if (skln == 23) { _global.HpMaxp1 += 300 * addor; _global.physdmgp1 += 35 * addor; _global.doublep1 += 3 * addor; _root.hpmaxcheck(); } if (skln == 24) { _global.HpMaxp1 -= 300 * addor; _global.psydmgp1 += 75 * addor; _global.critp1 += 5 * addor; _root.hpmaxcheck(); } if (skln == 25) { _global.HpMaxp1 += 400 * addor; _global.specialp1 += 3 * addor; _root.hpmaxcheck(); } if (skln == 26) { _global.HpMaxp1 += 1600 * addor; _root.hpmaxcheck(); } if (skln == 27) { _global.HpMaxp1 -= 200 * addor; _global.psydmgp1 += 100 * addor; _global.addtocritp1 += 0.5 * addor; _root.hpmaxcheck(); } if (skln == 28) { _global.HpMaxp1 += 550 * addor; _global.basichitbonusp1 += 45 * addor; _root.hpmaxcheck(); } if (skln == 29) { _global.HpMaxp1 += 500 * addor; _global.physdmgp1 += 45 * addor; _root.hpmaxcheck(); } if (skln == 30) { _global.HpMaxp1 += 200 * addor; _global.psydmgp1 += 110 * addor; _root.hpmaxcheck(); } if (skln == 31) { _global.HpMaxp1 -= 300 * addor; _global.critp1 += 10 * addor; _global.dodgep1 += 5 * addor; _root.hpmaxcheck(); } if (skln == 32) { _global.HpMaxp1 += 700 * addor; _global.physdmgp1 += 55 * addor; _root.hpmaxcheck(); } if (skln == 33) { _global.HpMaxp1 -= 500 * addor; _global.psydmgp1 += 185 * addor; _global.critp1 += 5 * addor; _root.hpmaxcheck(); } if (skln == 34) { _global.HpMaxp1 += 1000 * addor; _global.dodgep1 += 5 * addor; _root.hpmaxcheck(); } if (skln == 35) { _global.HpMaxp1 += 1200 * addor; _global.physdmgp1 += 70 * addor; _global.addtocritp1 += 0.7 * addor; _root.hpmaxcheck(); } if (skln == 36) { _global.HpMaxp1 -= 600 * addor; _global.psydmgp1 += 250 * addor; _global.critp1 += 10 * addor; _global.specialp1 += 5 * addor; _root.hpmaxcheck(); } if (skln == 37) { _global.HpMaxp1 += 1950 * addor; _global.dodgep1 += 5 * addor; _global.doublep1 += 5 * addor; _root.hpmaxcheck(); } if (skln == 100) { } if (skln == 101) { _global.physdmgp1 += 20 * addor; } if (skln == 102) { _global.basichitbonusp1 += 35 * addor; } if (skln == 103) { _global.psydmgp1 += 40 * addor; _global.dodgep1 += 5 * addor; } if (skln == 104) { _global.psydmgp1 += 55 * addor; _global.basichitbonusp1 += 20 * addor; } if (skln == 105) { _global.physdmgp1 += 20 * addor; _global.stunp1 += 3 * addor; _global.HpMaxp1 += 100 * addor; _root.hpmaxcheck(); } if (skln == 106) { _global.physdmgp1 += 40 * addor; } if (skln == 107) { _global.physdmgp1 += 50 * addor; _global.critp1 += 5 * addor; } if (skln == 108) { _global.psydmgp1 += 75 * addor; _global.specialp1 += 2 * addor; } if (skln == 109) { _global.physdmgp1 += 30 * addor; _global.basichitbonusp1 += 40 * addor; } if (skln == 110) { _global.psydmgp1 += 120 * addor; _global.addtocritp1 += 0.5 * addor; } if (skln == 111) { _global.physdmgp1 += 80 * addor; _global.critp1 += 8 * addor; } if (skln == 112) { _global.critp1 += 20 * addor; } if (skln == 113) { _global.physdmgp1 += 120 * addor; _global.stunp1 += 5 * addor; _global.HpMaxp1 += 250 * addor; _root.hpmaxcheck(); } if (skln == 114) { _global.psydmgp1 += 80 * addor; _global.specialp1 += 7 * addor; } if (skln == 115) { _global.psydmgp1 += 200 * addor; _global.specialp1 += 2 * addor; } if (skln == 116) { _global.psydmgp1 += 300 * addor; } if (skln == 117) { _global.physdmgp1 += 140 * addor; _global.stunp1 += 5 * addor; } if (skln == 118) { _global.psydmgp1 += 230 * addor; _global.dodgep1 += 5 * addor; } if (skln == 119) { _global.psydmgp1 += 350 * addor; _global.stunp1 += 8 * addor; } if (skln == 120) { _global.physdmgp1 += 180 * addor; _global.psydmgp1 += 180 * addor; } if (skln == 121) { _global.psydmgp1 += 370 * addor; _global.critp1 += 5 * addor; } if (skln == 122) { _global.physdmgp1 += 250 * addor; _global.critp1 += 10 * addor; } if (skln == 123) { _global.psydmgp1 += 450 * addor; _global.doublep1 += 10 * addor; } if (skln == 124) { _global.psydmgp1 += 400 * addor; _global.critp1 += 20 * addor; } if (skln == 125) { _global.physdmgp1 += 350 * addor; _global.doublep1 += 10 * addor; } if (skln == 126) { _global.physdmgp1 += 200 * addor; _global.psydmgp1 += 300 * addor; _global.stunp1 += 10 * addor; } if (skln == 127) { _global.psydmgp1 += 500 * addor; _global.specialp1 += 5 * addor; } } function datagensf(numb, who) { var v2 = _root.abi['a' + who]; v2.enabled = true; v2.botyp1 = 0; v2.botyp2 = 0; v2.botyp3 = 0; v2.boam1 = 0; v2.boam2 = 0; v2.boam3 = 0; if (numb == 1) { v2.cname = ''; v2.gotoAndStop(numb); v2.enabled = false; v2.styp = 1; v2.ctex = ''; v2.eCost = 0; v2.coold = 0; } if (numb == 2) { v2.cname = 'Not available'; v2.ctex = 'This Matamorphosis is not available.'; v2.enabled = false; v2.styp = 1; v2.rar = 1; v2.cashh = 0; } if (numb == 10) { v2.cname = 'Primal Body'; v2.ctex = 'Doesn\'t have any bonuses.'; v2.styp = 1; v2.rar = 1; v2.cashh = 0; v2.scost1 = 0; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 11) { v2.cname = 'Sharkjaw Body'; v2.ctex = '+100 max hit points, \r+5 damage for basic (non-Special) attacks.\r\r<b>Tier 1</b> (Grant access to Tier 2 bodies).'; v2.styp = 1; v2.rar = 1; v2.cashh = 50; v2.scost1 = 6; v2.scost2 = 2; v2.scost3 = 1; } if (numb == 12) { v2.cname = 'Lightweaver Body'; v2.ctex = '+100 max hit points, \r+10 damage for psy attacks.\r\r<b>Tier 1</b> (Grant access to Tier 2 bodies).'; v2.styp = 1; v2.rar = 1; v2.cashh = 50; v2.scost1 = 5; v2.scost2 = 3; v2.scost3 = 2; } if (numb == 13) { v2.cname = 'Tough Meat'; v2.ctex = '+250 max hit points.\r\r<b>Tier 1</b> (Grant access to Tier 2 bodies).'; v2.styp = 1; v2.rar = 2; v2.cashh = 65; v2.scost1 = 4; v2.scost2 = 1; v2.scost3 = 3; } if (numb == 14) { v2.cname = 'Devil Body'; v2.ctex = '+200 max hit points, \r+5% dodge chance.\r\r<b>Tier 2</b> (Grant access to Tier 3 bodies).'; v2.styp = 1; v2.rar = 1; v2.cashh = 100; v2.scost1 = 8; v2.scost2 = 1; v2.scost3 = 4; } if (numb == 15) { v2.cname = 'Laboratory Experimental One'; v2.ctex = '+250 max hit points, \r+20 damage for psy attacks.\r\r<b>Tier 2</b> (Grant access to Tier 3 bodies).'; v2.styp = 1; v2.rar = 1; v2.cashh = 100; v2.scost1 = 17; v2.scost2 = 2; v2.scost3 = 1; } if (numb == 16) { v2.cname = 'Deepsea Body'; v2.ctex = '+200 max hit points, \r+10 damage for physical attacks.\r\r<b>Tier 2</b> (Grant access to Tier 3 bodies).'; v2.styp = 1; v2.rar = 2; v2.cashh = 120; v2.scost1 = 10; v2.scost2 = 5; v2.scost3 = 3; } if (numb == 17) { v2.cname = 'Bladeskin'; v2.ctex = '+300 max hit points, \r+20 damage for physical attacks.\r\r<b>Tier 3</b> (Grant access to Tier 4 bodies).'; v2.styp = 1; v2.rar = 1; v2.cashh = 150; v2.scost1 = 16; v2.scost2 = 5; v2.scost3 = 3; } if (numb == 18) { v2.cname = 'Tentacular Body'; v2.ctex = '-100 max hit points, \r+45 damage for psy attacks, \r+5% crit chance.\r\r<b>Tier 3</b> (Grant access to Tier 4 bodies).'; v2.styp = 1; v2.rar = 1; v2.cashh = 150; v2.scost1 = 14; v2.scost2 = 1; v2.scost3 = 4; } if (numb == 19) { v2.cname = 'Winged Body'; v2.ctex = '+450 max hit points, \r+5% combo chance.\r\r<b>Tier 3</b> (Grant access to Tier 4 bodies).'; v2.styp = 1; v2.rar = 1; v2.cashh = 175; v2.scost1 = 2; v2.scost2 = 2; v2.scost3 = 1; } if (numb == 20) { v2.cname = 'Executor\'s Body'; v2.ctex = '+350 max hit points, \r+35 damage for physical attacks.\r\r<b>Tier 4</b> (Grant access to Tier 5 bodies).'; v2.styp = 1; v2.rar = 1; v2.cashh = 200; v2.scost1 = 13; v2.scost2 = 3; v2.scost3 = 2; } if (numb == 21) { v2.cname = 'Nailskin'; v2.ctex = '+60 damage for psy attacks.\r\r<b>Tier 4</b> (Grant access to Tier 5 bodies).'; v2.styp = 1; v2.rar = 1; v2.cashh = 200; v2.scost1 = 15; v2.scost2 = 1; v2.scost3 = 3; } if (numb == 22) { v2.cname = 'Big Fat Body'; v2.ctex = '+700 max hit points.\r\r<b>Tier 4</b> (Grant access to Tier 5 bodies).'; v2.styp = 1; v2.rar = 1; v2.cashh = 215; v2.scost1 = 7; v2.scost2 = 4; v2.scost3 = 4; } if (numb == 23) { v2.cname = 'SpinalNeedle Body'; v2.ctex = '+300 max hit points, \r+35 damage for physical attacks, \r+3% combo chance.\r\r<b>Tier 5</b> (Grant access to Tier 6 bodies).'; v2.styp = 1; v2.rar = 1; v2.cashh = 250; v2.scost1 = 9; v2.scost2 = 2; v2.scost3 = 1; } if (numb == 24) { v2.cname = 'Necrotic Body'; v2.ctex = '-300 max hit points, \r+75 damage for psy attacks, \r+5% crit chance.\r\r<b>Tier 5</b> (Grant access to Tier 6 bodies).'; v2.styp = 1; v2.rar = 1; v2.cashh = 250; v2.scost1 = 11; v2.scost2 = 1; v2.scost3 = 5; } if (numb == 25) { v2.cname = 'Butterfly Body'; v2.ctex = '+400 max hit points, \r+3% special attack chance.\r\r<b>Tier 5</b> (Grant access to Tier 6 bodies).'; v2.styp = 1; v2.rar = 1; v2.cashh = 270; v2.scost1 = 12; v2.scost2 = 1; v2.scost3 = 3; } if (numb == 26) { v2.cname = 'Ancient Titan Body'; v2.ctex = '+1600 max hit points.\r\r<b>Tier 6</b> (Grant access to Tier 7 bodies).'; v2.styp = 1; v2.rar = 1; v2.cashh = 300; v2.scost1 = 1; v2.scost2 = 4; v2.scost3 = 2; } if (numb == 27) { v2.cname = 'Psy Emitter'; v2.ctex = '-200 max hit points, \r+100 damage for psy attacks, \r+50% damage to critical hits\r\r<b>Tier 6</b> (Grant access to Tier 7 bodies).'; v2.styp = 1; v2.rar = 1; v2.cashh = 300; v2.scost1 = 5; v2.scost2 = 1; v2.scost3 = 4; } if (numb == 28) { v2.cname = 'Twisted Deepsea Body'; v2.ctex = '+550 max hit points, \r+45 damage for basic (non-Special) attacks.\r\r<b>Tier 6</b> (Grant access to Tier 7 bodies).'; v2.styp = 1; v2.rar = 1; v2.cashh = 345; v2.scost1 = 10; v2.scost2 = 2; v2.scost3 = 1; } if (numb == 29) { v2.cname = 'Cagebreaker\'s Body'; v2.ctex = '+500 max hit points, \r+45 damage for physical attacks.\r\r<b>Tier 7</b> (Grant access to Tier 8 bodies).'; v2.styp = 1; v2.rar = 1; v2.cashh = 350; v2.scost1 = 13; v2.scost2 = 1; v2.scost3 = 5; } if (numb == 30) { v2.cname = 'Nanotech Body'; v2.ctex = '+200 max hit points, \r+110 damage for psy attacks.\r\r<b>Tier 7</b> (Grant access to Tier 8 bodies).'; v2.styp = 1; v2.rar = 1; v2.cashh = 350; v2.scost1 = 17; v2.scost2 = 2; v2.scost3 = 2; } if (numb == 31) { v2.cname = 'Hell\'s Body'; v2.ctex = '-300 max hit points, \r+10% crit chance, \r+5% dodge chance.\r\r<b>Tier 7</b> (Grant access to Tier 8 bodies).'; v2.styp = 1; v2.rar = 1; v2.cashh = 355; v2.scost1 = 8; v2.scost2 = 4; v2.scost3 = 3; } if (numb == 32) { v2.cname = 'Ancient Hunger'; v2.ctex = '+700 max hit points, \r+55 damage for physical attacks.\r\r<b>Tier 8</b> (Grant access to Tier 9 bodies).'; v2.styp = 1; v2.rar = 1; v2.cashh = 400; v2.scost1 = 6; v2.scost2 = 2; v2.scost3 = 4; } if (numb == 33) { v2.cname = 'Nailstorm'; v2.ctex = '-500 max hit points, \r+185 damage for psy attacks, \r+5% crit chance.\r\r<b>Tier 8</b> (Grant access to Tier 9 bodies).'; v2.styp = 1; v2.rar = 1; v2.cashh = 400; v2.scost1 = 15; v2.scost2 = 1; v2.scost3 = 1; } if (numb == 34) { v2.cname = 'Bestial Wrath'; v2.ctex = '+1000 max hit points, \r+5% dodge chance.\r\r<b>Tier 8</b> (Grant access to Tier 9 bodies).'; v2.styp = 1; v2.rar = 1; v2.cashh = 425; v2.scost1 = 3; v2.scost2 = 3; v2.scost3 = 2; } if (numb == 35) { v2.cname = 'Blade Cell'; v2.ctex = '+1200 max hit points, \r+70 damage for physical attacks, \r+70% damage to critical hits\r\r<b>Tier 9</b> (Maximal Tier).'; v2.styp = 1; v2.rar = 1; v2.cashh = 450; v2.scost1 = 16; v2.scost2 = 2; v2.scost3 = 3; } if (numb == 36) { v2.cname = 'Necroscope'; v2.ctex = '-600 max hit points, \r+250 damage for psy attacks, \r+5% special attack chance, \r+10% crit chance.\r\r<b>Tier 9</b> (Maximal Tier).'; v2.styp = 1; v2.rar = 1; v2.cashh = 450; v2.scost1 = 11; v2.scost2 = 1; v2.scost3 = 4; } if (numb == 37) { v2.cname = 'Doomwings'; v2.ctex = '+1950 max hit points, \r+5% combo chance, \r+5% dodge chance.\r\r<b>Tier 9</b> (Maximal Tier).'; v2.styp = 1; v2.rar = 1; v2.cashh = 470; v2.scost1 = 2; v2.scost2 = 5; v2.scost3 = 5; } if (numb == 100) { v2.cname = 'Primal Hands'; v2.ctex = 'Doesn\'t have any bonuses.'; v2.styp = 2; v2.rar = 1; v2.cashh = 0; v2.scost1 = 0; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 101) { v2.cname = 'Bouncer\'s Fist'; v2.ctex = '+20 damage for physical attacks.\r\r<b>Tier 1</b> (Grant access to Tier 2 hands).'; v2.styp = 2; v2.rar = 1; v2.cashh = 50; v2.scost1 = 2; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 102) { v2.cname = 'Sharp Claw Hands'; v2.ctex = '+35 damage for basic (non-Special) attacks.\r\r<b>Tier 1</b> (Grant access to Tier 2 hands).'; v2.styp = 2; v2.rar = 1; v2.cashh = 50; v2.scost1 = 4; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 103) { v2.cname = 'Salad Thin Fingers'; v2.ctex = '+40 damage for psy attacks, \r+5% dodge chance.\r\r<b>Tier 1</b> (Grant access to Tier 2 hands).'; v2.styp = 2; v2.rar = 2; v2.cashh = 65; v2.scost1 = 12; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 104) { v2.cname = 'Caster Hands'; v2.ctex = '+55 damage for psy attacks, \r+20 damage for basic (non-Special) attacks.\r\r<b>Tier 2</b> (Grant access to Tier 3 hands).'; v2.styp = 2; v2.rar = 1; v2.cashh = 100; v2.scost1 = 13; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 105) { v2.cname = 'Hard Crab Claw'; v2.ctex = '+20 damage for physical attacks, \r+3% stun chance, \r+100 max hit points.\r\r<b>Tier 2</b> (Grant access to Tier 3 hands).'; v2.styp = 2; v2.rar = 1; v2.cashh = 100; v2.scost1 = 6; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 106) { v2.cname = 'Bone Knife'; v2.ctex = '+40 damage for physical attacks.\r\r<b>Tier 2</b> (Grant access to Tier 3 hands).'; v2.styp = 2; v2.rar = 2; v2.cashh = 120; v2.scost1 = 7; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 107) { v2.cname = 'Assassin\'s Knife'; v2.ctex = '+50 damage for physical attacks, \r+5% crit chance.\r\r<b>Tier 3</b> (Grant access to Tier 4 hands).'; v2.styp = 2; v2.rar = 1; v2.cashh = 150; v2.scost1 = 5; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 108) { v2.cname = 'Injector'; v2.ctex = '+75 damage for psy attacks, \r+2% special attack chance.\r\r<b>Tier 3</b> (Grant access to Tier 4 hands).'; v2.styp = 2; v2.rar = 1; v2.cashh = 150; v2.scost1 = 11; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 109) { v2.cname = 'Razor Claw'; v2.ctex = '+30 damage for physical attacks, \r+40 damage for basic (non-Special) attacks.\r\r<b>Tier 3</b> (Grant access to Tier 4 hands).'; v2.styp = 2; v2.rar = 1; v2.cashh = 175; v2.scost1 = 3; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 110) { v2.cname = 'Psycho Mouth'; v2.ctex = '+120 damage for psy attacks, \r+50% damage to critical hits.\r\r<b>Tier 4</b> (Grant access to Tier 5 hands).'; v2.styp = 2; v2.rar = 1; v2.cashh = 200; v2.scost1 = 18; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 111) { v2.cname = 'Mutilator'; v2.ctex = '+80 damage for physical attacks, \r+8% crit chance.\r\r<b>Tier 4</b> (Grant access to Tier 5 hands).'; v2.styp = 2; v2.rar = 1; v2.cashh = 200; v2.scost1 = 19; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 112) { v2.cname = 'Toothclaw'; v2.ctex = '+20% crit chance.\r\r<b>Tier 4</b> (Grant access to Tier 5 hands).'; v2.styp = 2; v2.rar = 1; v2.cashh = 215; v2.scost1 = 9; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 113) { v2.cname = 'Black Crab Claw'; v2.ctex = '+120 damage for physical attacks, \r+5% stun chance, \r+250 max hit points.\r\r<b>Tier 5</b> (Grant access to Tier 6 hands).'; v2.styp = 2; v2.rar = 1; v2.cashh = 250; v2.scost1 = 23; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 114) { v2.cname = 'Fish Eye'; v2.ctex = '+80 damage for psy attacks, \r+7% special attack chance.\r\r<b>Tier 5</b> (Grant access to Tier 6 hands).'; v2.styp = 2; v2.rar = 1; v2.cashh = 250; v2.scost1 = 22; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 115) { v2.cname = 'Glowing Claw'; v2.ctex = '+200 damage for psy attacks, \r+2% special attack chance.\r\r<b>Tier 5</b> (Grant access to Tier 6 hands).'; v2.styp = 2; v2.rar = 1; v2.cashh = 270; v2.scost1 = 10; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 116) { v2.cname = 'Dark Mind Palm'; v2.ctex = '+300 damage for psy attacks.\r\r<b>Tier 6</b> (Grant access to Tier 7 hands).'; v2.styp = 2; v2.rar = 1; v2.cashh = 300; v2.scost1 = 20; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 117) { v2.cname = 'Bone Crusher'; v2.ctex = '+140 damage for physical attacks, \r+5% stun chance.\r\r<b>Tier 6</b> (Grant access to Tier 7 hands).'; v2.styp = 2; v2.rar = 1; v2.cashh = 300; v2.scost1 = 8; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 118) { v2.cname = 'Gecko'; v2.ctex = '+230 damage for psy attacks, \r+5% dodge chance.\r\r<b>Tier 6</b> (Grant access to Tier 7 hands).'; v2.styp = 2; v2.rar = 1; v2.cashh = 345; v2.scost1 = 26; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 119) { v2.cname = 'Unburied'; v2.ctex = '+350 damage for psy attacks, \r+8% stun chance.\r\r<b>Tier 7</b> (Grant access to Tier 8 hands).'; v2.styp = 2; v2.rar = 1; v2.cashh = 350; v2.scost1 = 17; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 120) { v2.cname = 'Destroyer\'s Claw'; v2.ctex = '+180 damage for physical attacks, \r+180 damage for psy attacks.\r\r<b>Tier 7</b> (Grant access to Tier 8 hands).'; v2.styp = 2; v2.rar = 1; v2.cashh = 350; v2.scost1 = 15; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 121) { v2.cname = 'Psyonic Circle'; v2.ctex = '+370 damage for psy attacks, \r+5% crit chance.\r\r<b>Tier 7</b> (Grant access to Tier 8 hands).'; v2.styp = 2; v2.rar = 1; v2.cashh = 355; v2.scost1 = 25; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 122) { v2.cname = 'Assassin\'s Dagger'; v2.ctex = '+250 damage for physical attacks, \r+10% crit chance.\r\r<b>Tier 8</b> (Grant access to Tier 9 hands).'; v2.styp = 2; v2.rar = 1; v2.cashh = 400; v2.scost1 = 16; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 123) { v2.cname = 'Birdeye'; v2.ctex = '+450 damage for psy attacks, \r+10% combo chance.\r\r<b>Tier 8</b> (Grant access to Tier 9 hands).'; v2.styp = 2; v2.rar = 1; v2.cashh = 400; v2.scost1 = 21; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 124) { v2.cname = 'Teh Lazor Hand'; v2.ctex = '+400 damage for psy attacks, \r+20% crit chance.\r\r<b>Tier 8</b> (Grant access to Tier 9 hands).'; v2.styp = 2; v2.rar = 1; v2.cashh = 425; v2.scost1 = 24; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 125) { v2.cname = 'Butcher\'s Blade'; v2.ctex = '+350 damage for physical attacks, \r+10% combo chance.\r\r<b>Tier 9</b> (Maximal Tier).'; v2.styp = 2; v2.rar = 1; v2.cashh = 450; v2.scost1 = 14; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 126) { v2.cname = 'Titan Crusher'; v2.ctex = '+200 damage for physical attacks, \r+300 damage for psy attacks, \r+10% stun chance.\r\r<b>Tier 9</b> (Maximal Tier).'; v2.styp = 2; v2.rar = 1; v2.cashh = 450; v2.scost1 = 8; v2.scost2 = 0; v2.scost3 = 0; } if (numb == 127) { v2.cname = 'Psycho-o-Fish'; v2.ctex = '+500 damage for psy attacks, \r+5% special attack chance.\r\r<b>Tier 9</b> (Maximal Tier).'; v2.styp = 2; v2.rar = 1; v2.cashh = 470; v2.scost1 = 22; v2.scost2 = 0; v2.scost3 = 0; } } function gennumgenerator() { _global.genblvl = 1; _global.genhlvl = 1; var v3 = 0; v3 = 0; while (v3 <= 9) { if (_global.curbody >= 11 + v3 * 3 and _global.curbody <= 10 + (v3 + 1) * 3) { _global.genblvl = v3 + 2; } if (_global.curhands >= 101 + v3 * 3 and _global.curhands <= 100 + (v3 + 1) * 3) { _global.genhlvl = v3 + 2; } ++v3; } if (_global.genblvl > 9) { _global.genblvl = 9; } if (_global.genhlvl > 9) { _global.genhlvl = 9; } _root.abi.a1.cnum = _global.curbody; _root.abi.a2.cnum = 11 + (_global.genblvl - 1) * 3; _root.abi.a3.cnum = 12 + (_global.genblvl - 1) * 3; _root.abi.a4.cnum = 13 + (_global.genblvl - 1) * 3; _root.abi.a5.cnum = _global.curhands; _root.abi.a6.cnum = 101 + (_global.genhlvl - 1) * 3; _root.abi.a7.cnum = 102 + (_global.genhlvl - 1) * 3; _root.abi.a8.cnum = 103 + (_global.genhlvl - 1) * 3; } function agreedcoupon() { _root.foodok.icone.gotoAndStop(_root.abi.a4.cnum); _root.foodok.nam.text = _root.abi.a4.cname; if (_root.abi.a4.rar == 1) { if (_root.abi.a4.styp == 1) { _root.foodok.cost.text = '— basic ingredient — '; } if (_root.abi.a4.styp == 2) { _root.foodok.cost.text = '— basic dish — '; } } if (_root.abi.a4.rar == 2) { if (_root.abi.a4.styp == 1) { _root.foodok.cost.text = '— rare ingredient — '; } if (_root.abi.a4.styp == 2) { _root.foodok.cost.text = '— rare dish — '; } } if (_root.abi.a4.rar == 3) { if (_root.abi.a4.styp == 1) { _root.foodok.cost.text = '— epic ingredient — '; } if (_root.abi.a4.styp == 2) { _root.foodok.cost.text = '— epic dish — '; } } _root.foodok.tex.html = true; _root.foodok.tex.htmlText = _root.abi.a4.ctex; _root.foodok.icone.amount._visible = false; _root.buttonson(false); _global.buttonsoff = 1; _root.foodok._x = 360; } function recipegenerate() { var v4 = 0; var v3 = 1; v3 = 1; while (v3 <= _global.bmAm4) { if (_global['bm4Lib' + v3] >= 100) { v4 += 1; } ++v3; } var v6 = _global.bmAm4 - v4; if (v6 < _global.recipesamount) { _root.abi.a4.cnum = 70 + v6; } else { var v5 = randRange(1, 5); if (v5 == 1) { _root.abi.a4.cnum = 7; } if (v5 == 2) { _root.abi.a4.cnum = 8; } if (v5 == 3) { _root.abi.a4.cnum = 9; } if (v5 == 4) { _root.abi.a4.cnum = 15; } if (v5 == 5) { _root.abi.a4.cnum = 21; } } _root.cou.num.text = _global.coupons; if (_global.coupons < 1) { _root.cou.pak4.text = 'You have\r\r\rCoupons.'; _root.cou.cou.enabled = false; } else { _root.cou.pak4.text = 'You have\r\r\rCoupons.\r\rClick here\rto redeem:'; } } function pvpseg() { var v2 = ''; var v3 = 1; v3 = 1; while (v3 <= 20) { if (_global.rstrg.charCodeAt(_global.rheader) > 57) { _global.rheader += 1; trace('reader: ' + v2); return v2; } else { v2 += rstrg.charAt(_global.rheader); _global.rheader += 1; } ++v3; } } function codecheck() { var v2 = _global.slvlp2 + _global.hlvlp2 + _global.hedp2 + _global.eyep2 + _global.handp2 + _global.bodp2 + _global.leg1p2 + _global.colorp2 + _global.HpMaxp2 + _global.addtocritp2 * 100 + _global.specialp2 + _global.critp2 + _global.dodgep2 + _global.blockp2 + _global.doublep2 + _global.stunp2 + _global.physdmgp2 + _global.psydmgp2 + _global.actnum2 + _global.namep2.length + _global.namep2.charCodeAt(1); v2 *= 20; v2 -= 232 + _global.HpMaxp2; if (_global.secur == v2) { return 1; } else { return 0; } } function pvpread() { _global.rheader = 0; _global.secur = Number(_root.pvpseg()); _global.slvlp2 = Number(_root.pvpseg()); _global.hlvlp2 = Number(_root.pvpseg()); if (_global.slvlp2 > _global.hlvlp2) { _global.lvlp2 = _global.slvlp2; } else { _global.lvlp2 = _global.hlvlp2; } _global.hedp2 = Number(_root.pvpseg()); _global.eyep2 = Number(_root.pvpseg()); _global.hanup2 = 1; _global.handp2 = Number(_root.pvpseg()); _global.hanbp2 = _global.handp2; _global.bodp2 = Number(_root.pvpseg()); _global.leg1p2 = Number(_root.pvpseg()); _global.leg2p2 = _global.leg1p2; _global.colorp2 = Number(_root.pvpseg()); _global.HpMaxp2 = Number(_root.pvpseg()); _global.Hpp2 = _global.HpMaxp2; _global.addtocritp2 = Number(_root.pvpseg()) / 100; _global.specialp2 = Number(_root.pvpseg()); _global.critp2 = Number(_root.pvpseg()); _global.dodgep2 = Number(_root.pvpseg()); _global.blockp2 = Number(_root.pvpseg()); _global.doublep2 = Number(_root.pvpseg()); _global.stunp2 = Number(_root.pvpseg()); _global.physdmgp2 = Number(_root.pvpseg()); _global.psydmgp2 = Number(_root.pvpseg()); _global.actnum2 = Number(_root.pvpseg()); var v4 = 1; v4 = 1; while (v4 <= _global.actnum2) { _global['s2Active' + v4] = Number(_root.pvpseg()); ++v4; } _global.namep2 = ''; var v3 = 0; v3 = _global.rheader; while (v3 <= _global.rstrg.length) { _global.namep2 += rstrg.charAt(v3); ++v3; } trace('Name:' + _global.namep2); } function pvpwrite() { _global.rstrg = ''; var v4 = _global.slvl + _global.hlvl + _global.hedp1 + _global.eyep1 + _global.handp1 + _global.bodp1 + _global.leg1p1 + _global.colorp1 + _global.HpMaxp1 + _global.addtocritp1 * 100 + _global.specialp1 + _global.critp1 + _global.dodgep1 + _global.blockp1 + _global.doublep1 + _global.stunp1 + _global.physdmgp1 + _global.psydmgp1 + _global.actnum + _global.namep1.length + _global.namep1.charCodeAt(1); v4 *= 20; v4 -= 232 + _global.HpMaxp1; trace('secur: ' + v4); _global.rstrg += v4; _global.rstrg += 'x'; _global.rstrg += _global.slvl; _global.rstrg += 's'; _global.rstrg += _global.hlvl; _global.rstrg += 'e'; _global.rstrg += _global.hedp1; _global.rstrg += 'E'; _global.rstrg += _global.eyep1; _global.rstrg += 'd'; _global.rstrg += _global.handp1; _global.rstrg += 's'; _global.rstrg += _global.bodp1; _global.rstrg += 'F'; _global.rstrg += _global.leg1p1; _global.rstrg += 's'; _global.rstrg += _global.colorp1; _global.rstrg += 'u'; _global.rstrg += _global.HpMaxp1; _global.rstrg += 'P'; _global.rstrg += _global.addtocritp1 * 100; _global.rstrg += 'C'; _global.rstrg += _global.specialp1; _global.rstrg += 'U'; _global.rstrg += _global.critp1; _global.rstrg += 'n'; _global.rstrg += _global.dodgep1; _global.rstrg += 'm'; _global.rstrg += _global.blockp1; _global.rstrg += 'u'; _global.rstrg += _global.doublep1; _global.rstrg += 'c'; _global.rstrg += _global.stunp1; _global.rstrg += 'u'; _global.rstrg += _global.physdmgp1; _global.rstrg += 'u'; _global.rstrg += _global.psydmgp1; _global.rstrg += 'x'; _global.rstrg += _global.actnum; _global.rstrg += 'r'; var v2 = 1; v2 = 1; while (v2 <= _global.actnum) { var v3 = _global['sActive' + v2]; _global.rstrg += v3; _global.rstrg += 'a'; ++v2; } _global.rstrg += _global.namep1; } function optionscoming() { var v3 = _root.menuez.opt; if (_global.snd_music == 1) { v3.moff.gotoAndStop(1); v3.mon.gotoAndStop(2); v3.msw.gotoAndStop(2); } else { v3.moff.gotoAndStop(2); v3.mon.gotoAndStop(1); v3.msw.gotoAndStop(1); } if (_global.snd_fx == 1) { v3.foff.gotoAndStop(1); v3.fon.gotoAndStop(2); v3.fsw.gotoAndStop(2); } else { v3.foff.gotoAndStop(2); v3.fon.gotoAndStop(1); v3.fsw.gotoAndStop(1); } if (_global.snd_volume == 10) { v3.vol1.gotoAndStop(2); v3.vol2.gotoAndStop(1); v3.vol3.gotoAndStop(1); v3.vol4.gotoAndStop(1); v3.vol5.gotoAndStop(1); } if (_global.snd_volume == 20) { v3.vol1.gotoAndStop(2); v3.vol2.gotoAndStop(2); v3.vol3.gotoAndStop(1); v3.vol4.gotoAndStop(1); v3.vol5.gotoAndStop(1); } if (_global.snd_volume == 30) { v3.vol1.gotoAndStop(2); v3.vol2.gotoAndStop(2); v3.vol3.gotoAndStop(2); v3.vol4.gotoAndStop(1); v3.vol5.gotoAndStop(1); } if (_global.snd_volume == 60) { v3.vol1.gotoAndStop(2); v3.vol2.gotoAndStop(2); v3.vol3.gotoAndStop(2); v3.vol4.gotoAndStop(2); v3.vol5.gotoAndStop(1); } if (_global.snd_volume == 100) { v3.vol1.gotoAndStop(2); v3.vol2.gotoAndStop(2); v3.vol3.gotoAndStop(2); v3.vol4.gotoAndStop(2); v3.vol5.gotoAndStop(2); } if (_root._quality == 'LOW') { v3.q1.gotoAndStop(2); v3.q2.gotoAndStop(1); v3.q3.gotoAndStop(1); } if (_root._quality == 'MEDIUM') { v3.q1.gotoAndStop(1); v3.q2.gotoAndStop(2); v3.q3.gotoAndStop(1); } if (_root._quality == 'HIGH') { v3.q1.gotoAndStop(1); v3.q2.gotoAndStop(1); v3.q3.gotoAndStop(2); } } } frame 1 { _global.versio = '1.025 lf'; Stage.showMenu = false; } frame 1 { function howmuchachi() { var v4 = 0; var v3 = 1; v3 = 1; while (v3 <= 30) { if (_global['achi' + v3] > 0) { _root.achievdata(v3); v4 += _global.achpoint; } ++v3; } return v4; } } frame 1 { function soundgo(what) { if (_global.snd_fx == 1) { if (what == 10) { var v5 = _root.s_Button3; } if (what == 11) { v5 = _root.s_Button1; } if (what == 12) { v5 = _root.s_Button2; } if (what == 13) { v5 = _root.s_Button4; } if (what == 14) { v5 = _root.s_Button5; } if (what == 15) { v5 = _root.s_Button6; } if (what == 30) { v5 = _root.s_Fight1; } if (what == 31) { v5 = _root.s_Fight2; } if (what == 32) { v5 = _root.s_Fight3; } if (what == 33) { v5 = _root.s_Fight4; } if (what == 34) { v5 = _root.s_Fight5; } if (what == 35) { v5 = _root.s_Fight6; } if (what == 36) { v5 = _root.s_Fight7; } if (what == 39) { v5 = _root.s_Fight9; } if (what == 40) { v5 = _root.s_Fight10; } if (what == 41) { v5 = _root.s_Light; } if (what == 50) { v5 = _root.s_Cash; } if (what == 51) { v5 = _root.s_Run; } if (what == 52) { v5 = _root.s_Various1; } if (what == 53) { v5 = _root.s_Various2; } } if (_global.snd_music == 1) { if (what == 1) { v5 = _root.s_Music1; } if (what == 2) { v5 = _root.s_Music2; } if (what == 3) { v5 = _root.s_Music3; } } if (what >= 10 and _global.snd_fx == 1) { v5.start(0, 1); } if (what <= 9) { _global.snd_curmusic = what; var v4 = 0; v4 = 1; while (v4 <= 9) { _root['s_Music' + v4].stop(); ++v4; } if (what > 0) { v5.start(0, 999); } } v5.setVolume(_global.snd_volume); } function snd_blackbutton() { if (_global.snd_volume > 0) { _root.soundgo(10); } } function snd_fightHit(what) { if (_global.snd_volume > 0 and what == 2) { _root.soundgo(39); } if (_global.snd_volume > 0 and what == 1) { if (_global.chAttack == 1 or _global.chAttack == 45 or _global.chAttack == 44 or _global.chAttack == 51 or _global.chAttack == 20 or _global.chAttack == 6 or _global.chAttack == 24 or _global.chAttack == 53 or _global.chAttack == 27 or _global.chAttack == 46 or _global.chAttack == 17 or _global.chAttack == 5 or _global.chAttack == 4 or _global.chAttack == 101 or _global.chAttack == 102 or _global.chAttack == 103 or _global.chAttack == 104 or _global.chAttack == 105 or _global.chAttack == 106 or _global.chAttack == 107 or _global.chAttack == 108 or _global.chAttack == 109) { _root.soundgo(30); } if (_global.chAttack == 10 or _global.chAttack == 11 or _global.chAttack == 52) { _root.soundgo(36); } if (_global.chAttack == 21 or _global.chAttack == 49) { _root.soundgo(41); } if (_global.chAttack == 16 or _global.chAttack == 47 or _global.chAttack == 48) { _root.soundgo(40); } } } function snd_fightBlood() { if (_global.snd_volume > 0) { var v3 = randRange(31, 35); _root.soundgo(v3); } } function snd_run() { if (_global.snd_volume > 0) { if (_global.chAttack == 5 or _global.chAttack == 17 or _global.chAttack == 46 or _global.chAttack == 50 or _global.chAttack == 53 or _global.chAttack == 6 or _global.chAttack == 20 or _global.chAttack == 51 or _global.chAttack == 44 or _global.chAttack == 45 or _global.chAttack == 1 or _global.chAttack == 101 or _global.chAttack == 102 or _global.chAttack == 103 or _global.chAttack == 104 or _global.chAttack == 105 or _global.chAttack == 106 or _global.chAttack == 107 or _global.chAttack == 108 or _global.chAttack == 109) { _root.soundgo(51); } if (_global.chAttack == 4 or _global.chAttack == 24) { _root.soundgo(40); } } } var CPMStarPoolID = 21495; var CPMStarSubPoolID = 1048; System.security.allowDomain('server.cpmstar.com'); _root.adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?poolid=' + CPMStarPoolID + '&subpoolid=' + CPMStarSubPoolID); _global.snd_volume = 30; _global.snd_music = 1; _global.snd_fx = 1; _global.snd_curmusic = 0; s_Button1 = new Sound(this); s_Button1.attachSound('sound1'); s_Button2 = new Sound(this); s_Button2.attachSound('sound2'); s_Button3 = new Sound(this); s_Button3.attachSound('click2'); s_Button4 = new Sound(this); s_Button4.attachSound('click1'); s_Button5 = new Sound(this); s_Button5.attachSound('book1'); s_Button6 = new Sound(this); s_Button6.attachSound('main1'); s_Fight1 = new Sound(this); s_Fight1.attachSound('hit1'); s_Fight2 = new Sound(this); s_Fight2.attachSound('roar1'); s_Fight3 = new Sound(this); s_Fight3.attachSound('roar2'); s_Fight4 = new Sound(this); s_Fight4.attachSound('roar3'); s_Fight5 = new Sound(this); s_Fight5.attachSound('roar4'); s_Fight6 = new Sound(this); s_Fight6.attachSound('roar5'); s_Fight7 = new Sound(this); s_Fight7.attachSound('psy1'); s_Fight9 = new Sound(this); s_Fight9.attachSound('miss'); s_Fight10 = new Sound(this); s_Fight10.attachSound('fireball'); s_Light = new Sound(this); s_Light.attachSound('light'); s_Various1 = new Sound(this); s_Various1.attachSound('eat1'); s_Various2 = new Sound(this); s_Various2.attachSound('charg1'); s_Cash = new Sound(this); s_Cash.attachSound('cash'); s_Run = new Sound(this); s_Run.attachSound('run'); s_Music1 = new Sound(this); s_Music1.attachSound('music1'); s_Music2 = new Sound(this); s_Music2.attachSound('music2'); s_Music3 = new Sound(this); s_Music3.attachSound('music3'); } movieClip 336 { } movieClip 339 { } instance lod of movieClip 339 { onClipEvent (enterFrame) { gotoAndPlay(_root.percentDone); } } // unknown tag 88 length 62 movieClip 345 { } movieClip 348 { } movieClip 351 { } movieClip 352 { } movieClip 353 { instance of movieClip 345 { onClipEvent (release) { com.tremorgames.TremorGames.GetTrackingURL('Clickable Logo'); _root.getURL('http://www.tremorgames.com', '_blank'); } } } movieClip 354 { } movieClip 356 { } movieClip 359 { } movieClip 2206 __Packages.com.tremorgames.TremorGames { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.tremorgames) { _global.com.tremorgames = new Object(); } if (!_global.com.tremorgames.TremorGames) { var v1 = function () {}; com.tremorgames.TremorGames = v1; var v2 = v1.prototype; v1.Init = function (gameid, websitegameid, gamename, key, sponsorurl) { com.tremorgames.TremorGames.DefaultNetwokList = new Array('www.tremorgames.com', 'www.tremolearns.com', 'www.tremorkids.com', 'www.tremorx.com', 'www.tremorgems.com', 'www.backspacegames.com', 'www.tremorgirls.com', 'www.tremorracing.com'); com.tremorgames.TremorGames.SponsorURL = sponsorurl; com.tremorgames.TremorGames.GameID = gameid; com.tremorgames.TremorGames.WebsiteGameID = websitegameid; com.tremorgames.TremorGames.Key = key; com.tremorgames.TremorGames.GameName = gamename; com.tremorgames.TremorGames.GameNameFriendly = ((com.tremorgames.TremorGames.GameName.toLowerCase()).split(' ')).join('-'); if (com.tremorgames.TremorGames.GetIndexOf(com.tremorgames.TremorGames.DefaultNetwokList, com.tremorgames.TremorGames.GetDomainName()) >= 0) { com.tremorgames.TremorGames.GameInTremorNetwork = true; } else { com.tremorgames.TremorGames.GameInTremorNetwork = false; } if (com.tremorgames.TremorGames.IsGameInTremorNetwork()) { com.tremorgames.TremorGames.PlayerName = _root.PlayerName; if (com.tremorgames.TremorGames.isNumeric(_root.coins)) { com.tremorgames.TremorGames.Coins = _root.coins; } else { com.tremorgames.TremorGames.Coins = 0; } if (com.tremorgames.TremorGames.PlayerName == null || com.tremorgames.TremorGames.PlayerName == '' || com.tremorgames.TremorGames.PlayerName == 'undefined') { com.tremorgames.TremorGames.PlayerName = ''; com.tremorgames.TremorGames.LoggedIn = false; } else { com.tremorgames.TremorGames.LoggedIn = true; } } }; v1.IsGameInTremorNetwork = function () { return com.tremorgames.TremorGames.GameInTremorNetwork; }; v1.isNumeric = function (num) { return !isNaN(parseInt(num)); }; v1.IsLoggedIn = function () { return com.tremorgames.TremorGames.LoggedIn; }; v1.PostScore = function (playername, score) { var v2; if (com.tremorgames.TremorGames.IsLoggedIn()) { v2 = 'http://' + com.tremorgames.TremorGames.GetDomainName() + '/submitscore.php'; } else { v2 = com.tremorgames.TremorGames.SponsorURL + '/submitscore.php?utm_source=SponsoredGames&utm_medium=FlashGames&utm_term=' + com.tremorgames.TremorGames.GetDomainName() + '&utm_content=SubmitScore&utm_campaign=' + com.tremorgames.TremorGames.GameName; } var v4 = new com.tremorgames.md5(); var v1 = new LoadVars(); v1.PlayerName = playername; v1.Score = score; v1.GameID = com.tremorgames.TremorGames.GameID; v1.Website = com.tremorgames.TremorGames.GetDomainName(); v1.Key = v4.hash(playername + com.tremorgames.TremorGames.Key + score); var v3 = new LoadVars(); v3.onLoad = function (success) { if (success) { trace('Success'); } else { trace('Post Score Error connecting to server.'); } }; if (com.tremorgames.TremorGames.IsLoggedIn()) { v1.sendAndLoad(v2, v3, 'POST'); flash.external.ExternalInterface.call('onMemberScoreSubmitted', score); } else { v1.send(v2, '_blank', 'POST'); } }; v1.DisplayProgress = function (StatName, StatValue) { if (com.tremorgames.TremorGames.IsLoggedIn()) { try { flash.external.ExternalInterface.call('setStatValue', StatName, StatValue); } catch (v0) { if (Error(v0) != null) { var er = Error(v0); } else { throw v0; } } } }; v1.PostStat = function (StatName, StatValue) { if (com.tremorgames.TremorGames.IsGameInTremorNetwork()) { flash.external.ExternalInterface.call('setStatValue', StatName, StatValue); } if (com.tremorgames.TremorGames.IsLoggedIn()) { var v3 = new com.tremorgames.md5(); var v1 = new LoadVars(); v1.Key = v3.hash(com.tremorgames.TremorGames.PlayerName + com.tremorgames.TremorGames.Key + StatValue); v1.GameID = com.tremorgames.TremorGames.GameID; v1.StatName = StatName; v1.PlayerName = com.tremorgames.TremorGames.PlayerName; v1.StatValue = StatValue; var v2 = new LoadVars(); v2.onLoad = function (success) { if (success) { trace('Success'); } else { trace('Post Stat Error connecting to server.'); } }; v1.sendAndLoad('http://' + com.tremorgames.TremorGames.GetDomainName() + '/achievements/record_stats.php', v2, 'POST'); } }; v1.GetPlayerName = function () { return com.tremorgames.TremorGames.PlayerName; }; v1.GetPlayerCoins = function () { return com.tremorgames.TremorGames.Coins; }; v1.GetDomainName = function () { if (com.tremorgames.TremorGames.DomainName == '') { var v1 = new LocalConnection(); com.tremorgames.TremorGames.DomainName = v1.domain(); } return com.tremorgames.TremorGames.DomainName; }; v1.GetTrackingURL = function (LinkName) { if ('http://' + com.tremorgames.TremorGames.GetDomainName() == com.tremorgames.TremorGames.SponsorURL) { return com.tremorgames.TremorGames.SponsorURL; } else { return com.tremorgames.TremorGames.SponsorURL + '/?utm_source=SponsoredGames&utm_medium=FlashGames&utm_term=' + com.tremorgames.TremorGames.GetDomainName() + '&utm_content=' + escape(LinkName) + '&utm_campaign=' + escape(com.tremorgames.TremorGames.GameName); } }; v1.HostThisGameURL = function () { return com.tremorgames.TremorGames.SponsorURL + '/index.php?action=gamesforsite&gameid=' + com.tremorgames.TremorGames.WebsiteGameID + '&utm_source=SponsoredGames&utm_medium=FlashGame&utm_term=' + com.tremorgames.TremorGames.GetDomainName() + '&utm_content=' + escape('HostThisGame') + '&utm_campaign=' + escape(com.tremorgames.TremorGames.GameName); }; v1.GetGameURL = function () { if (com.tremorgames.TremorGames.GameNameFriendly == '') { com.tremorgames.TremorGames.GameNameFriendly = ((com.tremorgames.TremorGames.GameName.toLowerCase()).split(' ')).join('-'); } return com.tremorgames.TremorGames.SponsorURL + '/playgame/' + com.tremorgames.TremorGames.WebsiteGameID + '/' + com.tremorgames.TremorGames.GameNameFriendly + '.html/' + '?utm_source=SponsoredGames&utm_medium=FlashGame&utm_term=' + com.tremorgames.TremorGames.GetDomainName() + '&utm_content=' + escape('Achievements') + '&utm_campaign=' + escape(com.tremorgames.TremorGames.GameName); }; v1.GetIndexOf = function (arr, data) { var v1 = 0; while (v1 < arr.length) { if (arr[v1] == data) { return v1; } ++v1; } return -1; }; v1.GetPlayerItems = function (onGetItemsCallback) { com.tremorgames.TremorGames.GetItemsCallback = onGetItemsCallback; if (!com.tremorgames.TremorGames.IsGameInTremorNetwork()) { com.tremorgames.TremorGames.GetItemsCallback(null); return false; } var v2 = new LoadVars(); v2.GameID = com.tremorgames.TremorGames.GameID; var v1 = new LoadVars(); v1.onData = com.tremorgames.TremorGames.onGetItemsComplete; try { v2.sendAndLoad('http://' + com.tremorgames.TremorGames.GetDomainName() + '/achievements/json_get_ingame_user_items.php', v1, 'GET'); } catch (v0) { if (Error(v0) != null) { var error = Error(v0); com.tremorgames.TremorGames.GetItemsCallback(null); return false; return true; } throw v0; } return true; }; v1.onGetItemsComplete = function (data) { try { var v1 = new com.tremorgames.JSON(); var v2 = v1.parse(data); com.tremorgames.TremorGames.GetItemsCallback(v2); } catch (v0) { if (Error(v0) != null) { var error = Error(v0); trace(error.message); com.tremorgames.TremorGames.GetItemsCallback(null); } else { throw v0; } } }; v1.BuyItem = function (itemid, onBuyItemCallback, quantity) { com.tremorgames.TremorGames.BuyItemCallback = onBuyItemCallback; if (!com.tremorgames.TremorGames.IsGameInTremorNetwork()) { onBuyItemCallback(-5, 'Not In Tremor Network', 0); return false; } var v1 = new LoadVars(); v1.itemid = itemid; v1.quantity = quantity; v1.GameID = com.tremorgames.TremorGames.GameID; var v2 = new LoadVars(); v2.onData = com.tremorgames.TremorGames.onBuyItemComplete; try { v1.sendAndLoad('http://' + com.tremorgames.TremorGames.GetDomainName() + '/achievements/json_buy_item.php', v2, 'GET'); } catch (v0) { if (Error(v0) != null) { var error = Error(v0); onBuyItemCallback(-5, error.message, 0); return false; return true; } throw v0; } return true; }; v1.onBuyItemComplete = function (data) { try { var v2 = new com.tremorgames.JSON(); var v1 = v2.parse(data); if (v1.Status == 1) { com.tremorgames.TremorGames.Coins = v1.Coins; } com.tremorgames.TremorGames.BuyItemCallback(v1.Status, v1.Message, v1.ItemID); } catch (v0) { if (Error(v0) != null) { var error = Error(v0); trace(error.message); com.tremorgames.TremorGames.BuyItemCallback(-5, error.message, 0); } else { throw v0; } } }; v1.LoggedIn = false; v1.PlayerName = ''; v1.DomainName = ''; v1.GameName = ''; v1.Coins = 0; v1.GameNameFriendly = ''; ASSetPropFlags(com.tremorgames.TremorGames.prototype, null, 1); } #endinitclip } movieClip 2207 __Packages.com.tremorgames.md5 { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.tremorgames) { _global.com.tremorgames = new Object(); } if (!_global.com.tremorgames.md5) { var v1 = function (b64pad, chrsz) { if (b64pad != undefined) { this.b64pad = b64pad; } if (chrsz != undefined && chrsz == 8 || chrsz == 16) { this.chrsz = chrsz; } }; com.tremorgames.md5 = v1; var v2 = v1.prototype; v2.hash = function (s) { return this.hex_md5(s); }; v2.hex_md5 = function (s) { return this.binl2hex(this.core_md5(this.str2binl(s), s.length * this.chrsz)); }; v2.str_md5 = function (s) { return this.binl2str(this.core_md5(this.str2binl(s), s.length * this.chrsz)); }; v2.hex_hmac_md5 = function (key, data) { return this.binl2hex(this.core_hmac_md5(key, data)); }; v2.str_hmac_md5 = function (key, data) { return this.binl2str(this.core_hmac_md5(key, data)); }; v2.md5_cmn = function (q, a, b, x, s, t) { return this.safe_add(this.bit_rol(this.safe_add(this.safe_add(a, q), this.safe_add(x, t)), s), b); }; v2.md5_ff = function (a, b, c, d, x, s, t) { return this.md5_cmn(b & c | ~b & d, a, b, x, s, t); }; v2.md5_gg = function (a, b, c, d, x, s, t) { return this.md5_cmn(b & d | c & ~d, a, b, x, s, t); }; v2.md5_hh = function (a, b, c, d, x, s, t) { return this.md5_cmn(b ^ c ^ d, a, b, x, s, t); }; v2.md5_ii = function (a, b, c, d, x, s, t) { return this.md5_cmn(c ^ (b | ~d), a, b, x, s, t); }; v2.core_md5 = function (x, len) { x[len >> 5] |= 128 << len % 32; x[(len + 64 >>> 9 << 4) + 14] = len; var v5 = 1732584193; var v4 = -271733879; var v3 = -1732584194; var v2 = 271733878; var v6 = 0; while (v6 < x.length) { var v11 = v5; var v10 = v4; var v9 = v3; var v8 = v2; v5 = this.md5_ff(v5, v4, v3, v2, x[v6 + 0], 7, -680876936); v2 = this.md5_ff(v2, v5, v4, v3, x[v6 + 1], 12, -389564586); v3 = this.md5_ff(v3, v2, v5, v4, x[v6 + 2], 17, 606105819); v4 = this.md5_ff(v4, v3, v2, v5, x[v6 + 3], 22, -1044525330); v5 = this.md5_ff(v5, v4, v3, v2, x[v6 + 4], 7, -176418897); v2 = this.md5_ff(v2, v5, v4, v3, x[v6 + 5], 12, 1200080426); v3 = this.md5_ff(v3, v2, v5, v4, x[v6 + 6], 17, -1473231341); v4 = this.md5_ff(v4, v3, v2, v5, x[v6 + 7], 22, -45705983); v5 = this.md5_ff(v5, v4, v3, v2, x[v6 + 8], 7, 1770035416); v2 = this.md5_ff(v2, v5, v4, v3, x[v6 + 9], 12, -1958414417); v3 = this.md5_ff(v3, v2, v5, v4, x[v6 + 10], 17, -42063); v4 = this.md5_ff(v4, v3, v2, v5, x[v6 + 11], 22, -1990404162); v5 = this.md5_ff(v5, v4, v3, v2, x[v6 + 12], 7, 1804603682); v2 = this.md5_ff(v2, v5, v4, v3, x[v6 + 13], 12, -40341101); v3 = this.md5_ff(v3, v2, v5, v4, x[v6 + 14], 17, -1502002290); v4 = this.md5_ff(v4, v3, v2, v5, x[v6 + 15], 22, 1236535329); v5 = this.md5_gg(v5, v4, v3, v2, x[v6 + 1], 5, -165796510); v2 = this.md5_gg(v2, v5, v4, v3, x[v6 + 6], 9, -1069501632); v3 = this.md5_gg(v3, v2, v5, v4, x[v6 + 11], 14, 643717713); v4 = this.md5_gg(v4, v3, v2, v5, x[v6 + 0], 20, -373897302); v5 = this.md5_gg(v5, v4, v3, v2, x[v6 + 5], 5, -701558691); v2 = this.md5_gg(v2, v5, v4, v3, x[v6 + 10], 9, 38016083); v3 = this.md5_gg(v3, v2, v5, v4, x[v6 + 15], 14, -660478335); v4 = this.md5_gg(v4, v3, v2, v5, x[v6 + 4], 20, -405537848); v5 = this.md5_gg(v5, v4, v3, v2, x[v6 + 9], 5, 568446438); v2 = this.md5_gg(v2, v5, v4, v3, x[v6 + 14], 9, -1019803690); v3 = this.md5_gg(v3, v2, v5, v4, x[v6 + 3], 14, -187363961); v4 = this.md5_gg(v4, v3, v2, v5, x[v6 + 8], 20, 1163531501); v5 = this.md5_gg(v5, v4, v3, v2, x[v6 + 13], 5, -1444681467); v2 = this.md5_gg(v2, v5, v4, v3, x[v6 + 2], 9, -51403784); v3 = this.md5_gg(v3, v2, v5, v4, x[v6 + 7], 14, 1735328473); v4 = this.md5_gg(v4, v3, v2, v5, x[v6 + 12], 20, -1926607734); v5 = this.md5_hh(v5, v4, v3, v2, x[v6 + 5], 4, -378558); v2 = this.md5_hh(v2, v5, v4, v3, x[v6 + 8], 11, -2022574463); v3 = this.md5_hh(v3, v2, v5, v4, x[v6 + 11], 16, 1839030562); v4 = this.md5_hh(v4, v3, v2, v5, x[v6 + 14], 23, -35309556); v5 = this.md5_hh(v5, v4, v3, v2, x[v6 + 1], 4, -1530992060); v2 = this.md5_hh(v2, v5, v4, v3, x[v6 + 4], 11, 1272893353); v3 = this.md5_hh(v3, v2, v5, v4, x[v6 + 7], 16, -155497632); v4 = this.md5_hh(v4, v3, v2, v5, x[v6 + 10], 23, -1094730640); v5 = this.md5_hh(v5, v4, v3, v2, x[v6 + 13], 4, 681279174); v2 = this.md5_hh(v2, v5, v4, v3, x[v6 + 0], 11, -358537222); v3 = this.md5_hh(v3, v2, v5, v4, x[v6 + 3], 16, -722521979); v4 = this.md5_hh(v4, v3, v2, v5, x[v6 + 6], 23, 76029189); v5 = this.md5_hh(v5, v4, v3, v2, x[v6 + 9], 4, -640364487); v2 = this.md5_hh(v2, v5, v4, v3, x[v6 + 12], 11, -421815835); v3 = this.md5_hh(v3, v2, v5, v4, x[v6 + 15], 16, 530742520); v4 = this.md5_hh(v4, v3, v2, v5, x[v6 + 2], 23, -995338651); v5 = this.md5_ii(v5, v4, v3, v2, x[v6 + 0], 6, -198630844); v2 = this.md5_ii(v2, v5, v4, v3, x[v6 + 7], 10, 1126891415); v3 = this.md5_ii(v3, v2, v5, v4, x[v6 + 14], 15, -1416354905); v4 = this.md5_ii(v4, v3, v2, v5, x[v6 + 5], 21, -57434055); v5 = this.md5_ii(v5, v4, v3, v2, x[v6 + 12], 6, 1700485571); v2 = this.md5_ii(v2, v5, v4, v3, x[v6 + 3], 10, -1894986606); v3 = this.md5_ii(v3, v2, v5, v4, x[v6 + 10], 15, -1051523); v4 = this.md5_ii(v4, v3, v2, v5, x[v6 + 1], 21, -2054922799); v5 = this.md5_ii(v5, v4, v3, v2, x[v6 + 8], 6, 1873313359); v2 = this.md5_ii(v2, v5, v4, v3, x[v6 + 15], 10, -30611744); v3 = this.md5_ii(v3, v2, v5, v4, x[v6 + 6], 15, -1560198380); v4 = this.md5_ii(v4, v3, v2, v5, x[v6 + 13], 21, 1309151649); v5 = this.md5_ii(v5, v4, v3, v2, x[v6 + 4], 6, -145523070); v2 = this.md5_ii(v2, v5, v4, v3, x[v6 + 11], 10, -1120210379); v3 = this.md5_ii(v3, v2, v5, v4, x[v6 + 2], 15, 718787259); v4 = this.md5_ii(v4, v3, v2, v5, x[v6 + 9], 21, -343485551); v5 = this.safe_add(v5, v11); v4 = this.safe_add(v4, v10); v3 = this.safe_add(v3, v9); v2 = this.safe_add(v2, v8); v6 += 16; } return new Array(v5, v4, v3, v2); }; v2.core_hmac_md5 = function (key, data) { var v3 = new Array(this.str2binl(key)); if (v3.length > 16) { v3 = this.core_md5(v3, key.length * this.chrsz); } var v4 = new Array(16); var v5 = new Array(16); var v2 = 0; while (v2 < 16) { v4[v2] = v3[v2] ^ 909522486; v5[v2] = v3[v2] ^ 1549556828; ++v2; } var v6 = new Array(this.core_md5(v4.concat(this.str2binl(data)), 512 + data.length * this.chrsz)); return this.core_md5(v5.concat(v6), 640); }; v2.safe_add = function (x, y) { var v1 = new Number((x & 65535) + (y & 65535)); var v2 = new Number((x >> 16) + (y >> 16) + (v1 >> 16)); return v2 << 16 | v1 & 65535; }; v2.bit_rol = function (num, cnt) { return num << cnt | num >>> 32 - cnt; }; v2.str2binl = function (str) { var v4 = new Array(); var v5 = (1 << this.chrsz) - 1; var v2 = 0; while (v2 < str.length * this.chrsz) { v4[v2 >> 5] |= (str.charCodeAt(v2 / this.chrsz) & v5) << v2 % 32; v2 += this.chrsz; } return v4; }; v2.binl2str = function (bin) { var v4 = new String(''); var v5 = (1 << this.chrsz) - 1; var v2 = 0; while (v2 < bin.length * 32) { v4 += String.fromCharCode(bin[v2 >> 5] >>> v2 % 32 & v5); v2 += this.chrsz; } return v4; }; v2.binl2hex = function (binarray) { var v3 = '0123456789abcdef'; var v4 = new String(''); var v1 = 0; while (v1 < binarray.length * 4) { v4 += v3.charAt(binarray[v1 >> 2] >> (v1 % 4) * 8 + 4 & 15) + v3.charAt(binarray[v1 >> 2] >> (v1 % 4) * 8 & 15); ++v1; } return v4; }; v2.b64pad = new String(''); v2.chrsz = new Number(8); ASSetPropFlags(com.tremorgames.md5.prototype, null, 1); } #endinitclip } movieClip 2208 __Packages.com.tremorgames.JSON { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.tremorgames) { _global.com.tremorgames = new Object(); } if (!_global.com.tremorgames.JSON) { var v1 = function () {}; com.tremorgames.JSON = v1; var v2 = v1.prototype; v2.stringify = function (arg) { var v4; var v3; var v7; var v2 = ''; var v5; switch (typeof arg) { return 'null'; case 'object': if (arg) { if (arg instanceof Array) { v3 = 0; while (v3 < arg.length) { v5 = this.stringify(arg[v3]); if (v2) { v2 += ','; } v2 += v5; ++v3; } return '[' + v2 + ']'; } else { if (typeof arg.toString != 'undefined') { for (v3 in arg) { v5 = arg[v3]; if (typeof v5 != 'undefined' && typeof v5 != 'function') { v5 = this.stringify(v5); if (v2) { v2 += ','; } v2 += this.stringify(v3) + ':' + v5; } } return '{' + v2 + '}'; } } } return 'null'; case 'number': return isFinite(arg) ? String(arg) : 'null'; case 'string': v7 = arg.length; v2 = '"'; v3 = 0; while (v3 < v7) { v4 = arg.charAt(v3); if (v4 >= ' ') { if (v4 == '\\' || v4 == '"') { v2 += '\\'; } v2 += v4; } else { switch (v4) { case '\b': v2 += '\\b'; break; case '\f': v2 += '\\f'; break; case '\n': v2 += '\\n'; break; case '\r': v2 += '\\r'; break; case '\t': v2 += '\\t'; break; default: v4 = v4.charCodeAt(); v2 += '\\u00' + (Math.floor(v4 / 16)).toString(16) + (v4 % 16).toString(16); } } v3 += 1; } return v2 + '"'; case 'boolean': return String(arg); } return 'null'; }; v2.white = function () { while (this.ch) { if (this.ch <= ' ') { this.next(); } else { if (this.ch == '/') { switch (this.next()) { case '/': for (;;) { if (!(this.next() && this.ch != '\n' && this.ch != '\r')) break; } break; case '*': this.next(); for (;;) { if (this.ch) { if (this.ch == '*') { if (this.next() == '/') { this.next(); break; } } else { this.next(); } continue; } this.error('Unterminated comment'); } break; default: this.error('Syntax error'); } } else { break; } } } }; v2.error = function (m) { throw {'name': 'JSONError', 'message': m, 'at': this.at - 1, 'text': this.text}; }; v2.next = function () { this.ch = this.text.charAt(this.at); this.at += 1; return this.ch; }; v2.str = function () { var v5; var v2 = ''; var v4; var v3; var v6 = false; if (this.ch == '"') { while (this.next()) { if (this.ch == '"') { this.next(); return v2; } else { if (this.ch == '\\') { switch (this.next()) { case 'b': v2 += '\b'; break; case 'f': v2 += '\f'; break; case 'n': v2 += '\n'; break; case 'r': v2 += '\r'; break; case 't': v2 += '\t'; break; case 'u': v3 = 0; v5 = 0; while (v5 < 4) { v4 = parseInt(this.next(), 16); if (!isFinite(v4)) { v6 = true; break; } v3 = v3 * 16 + v4; v5 += 1; } if (v6) { v6 = false; } else { v2 += String.fromCharCode(v3); break; default: v2 += this.ch; } } } else { v2 += this.ch; } } } } this.error('Bad string'); }; v2.arr = function () { var v2 = []; if (this.ch == '[') { this.next(); this.white(); if (this.ch == ']') { this.next(); return v2; } while (this.ch) { v2.push(this.value()); this.white(); if (this.ch == ']') { this.next(); return v2; } else { if (this.ch != ',') { break; } } this.next(); this.white(); } } this.error('Bad array'); }; v2.obj = function () { var v3; var v2 = {}; if (this.ch == '{') { this.next(); this.white(); if (this.ch == '}') { this.next(); return v2; } while (this.ch) { v3 = this.str(); this.white(); if (this.ch != ':') { break; } this.next(); v2[v3] = this.value(); this.white(); if (this.ch == '}') { this.next(); return v2; } else { if (this.ch != ',') { break; } } this.next(); this.white(); } } this.error('Bad object'); }; v2.num = function () { var v2 = ''; var v3; if (this.ch == '-') { v2 = '-'; this.next(); } for (;;) { if (!(this.ch >= '0' && this.ch <= '9')) break; v2 += this.ch; this.next(); } if (this.ch == '.') { v2 += '.'; this.next(); for (;;) { if (!(this.ch >= '0' && this.ch <= '9')) break; v2 += this.ch; this.next(); } } if (this.ch == 'e' || this.ch == 'E') { v2 += this.ch; this.next(); if (this.ch == '-' || this.ch == '+') { v2 += this.ch; this.next(); } for (;;) { if (!(this.ch >= '0' && this.ch <= '9')) break; v2 += this.ch; this.next(); } } v3 = Number(v2); if (!isFinite(v3)) { this.error('Bad number'); } return v3; }; v2.word = function () { switch (this.ch) { case 't': if (this.next() == 'r' && this.next() == 'u' && this.next() == 'e') { this.next(); return true; } break; case 'f': if (this.next() == 'a' && this.next() == 'l' && this.next() == 's' && this.next() == 'e') { this.next(); return false; } break; case 'n': if (this.next() == 'u' && this.next() == 'l' && this.next() == 'l') { this.next(); return null; } } this.error('Syntax error'); }; v2.value = function () { this.white(); switch (this.ch) { case '{': return this.obj(); case '[': return this.arr(); case '"': return this.str(); case '-': return this.num(); } return (this.ch >= '0' && this.ch <= '9') ? this.num() : this.word(); }; v2.parse = function (_text) { if (!_text.length > 0) { trace('JSON: Supplied empty string...aborting parse action.'); return ''; } this.text = _text; this.at = 0; this.ch = ' '; return this.value(); }; v2.ch = ''; v2.at = 0; ASSetPropFlags(com.tremorgames.JSON.prototype, null, 1); } #endinitclip } movieClip 2209 __Packages.rawrClass { #initclip if (!_global.rawrClass) { var v1 = function () { super(); this.onRollOver = this.over; this.onRollOut = this.out; this.onPress = this.pressme; }; _global.rawrClass = v1; _global.rawrClass extends MovieClip; var v2 = v1.prototype; v2.over = function (soundch) { _root.abi.icone.gotoAndStop(this.cnum); trace(' Cnum: ' + this.cnum); if (this.cnum > 2) { if (soundch != -1) { if (_global.snd_volume > 0) { _root.soundgo(13); } } this._xscale = 107; this._yscale = 107; if (this.styp > 0) { _root.abi.lighter.clr.gotoAndStop(this.styp); } _root.abi.lighter._x = this._x; _root.abi.lighter._y = this._y; } if (this.typ != 20) { _root.abi.nam.text = this.cname; if (this.typ == 1 or this.typ == 2 or this.typ == 4) { if (this.rar == 1) { if (this.styp == 1) { _root.abi.cost.text = '— basic special attack — '; } if (this.styp == 2) { _root.abi.cost.text = '— basic passive skill — '; } if (this.cnum == 100) { _root.abi.cost.text = '— permanent bonus — '; } var v6 = new TextFormat(); v6.color = 0; _root.abi.nam.setTextFormat(v6); } if (this.rar == 2) { if (this.styp == 1) { _root.abi.cost.text = '— rare special attack — '; } if (this.styp == 2) { _root.abi.cost.text = '— rare passive skill — '; } v6 = new TextFormat(); v6.color = 10420224; _root.abi.nam.setTextFormat(v6); } if (this.rar == 3) { if (this.styp == 1) { _root.abi.cost.text = '— epic special attack — '; } if (this.styp == 2) { _root.abi.cost.text = '— epic passive skill — '; } v6 = new TextFormat(); v6.color = 6684825; _root.abi.nam.setTextFormat(v6); } var v5 = 0; var v4 = 1; v5 = 0; v4 = 1; while (v4 <= 4) { _root.abi['scos' + v4].gotoAndStop(1); if (this['scost' + v4] > 0) { v5 += 1; _root.abi['scos' + v5].gotoAndStop(v4 + 1); _root.abi['scos' + v5].nu.text = this['scost' + v4]; } ++v4; } } if (this.typ == 3) { if (this.coold == -1) { _root.abi.have.text = 'You have: ' + _global['fod' + this.cnum]; } if (this.rar == 1) { if (this.styp == 1) { _root.abi.cost.text = '— basic ingredient — '; } if (this.styp == 2) { _root.abi.cost.text = '— basic recipe — '; } v6 = new TextFormat(); v6.color = 0; _root.abi.nam.setTextFormat(v6); } if (this.rar == 2) { if (this.styp == 1) { _root.abi.cost.text = '— rare ingredient — '; } if (this.styp == 2) { _root.abi.cost.text = '— rare recipe — '; } v6 = new TextFormat(); v6.color = 10420224; _root.abi.nam.setTextFormat(v6); } if (this.rar == 3) { if (this.styp == 1) { _root.abi.cost.text = '— epic ingredient — '; } if (this.styp == 2) { _root.abi.cost.text = '— epic recipe — '; } v6 = new TextFormat(); v6.color = 6684825; _root.abi.nam.setTextFormat(v6); } } if (this.typ == 5) { if (this.coold != -3) { if (this.coold != -2 and this.coold != -3) { if (this.styp == 1) { if (this.scost1 > 0) { _global.bodp1 = this.scost1; } if (this.scost2 > 0) { _global.leg1p1 = this.scost2; } if (this.scost2 > 0) { _global.leg2p1 = _global.leg1p1; } if (this.scost3 > 0) { _global.colorp1 = this.scost3; } } if (this.styp == 2) { _global.handp1 = this.scost1; } _root.p1.p.gotoAndStop(60); } if (this.rar == 1) { if (this.styp == 1) { _root.abi.cost.text = '— basic body — '; } if (this.styp == 2) { _root.abi.cost.text = '— basic hands — '; } v6 = new TextFormat(); v6.color = 0; _root.abi.nam.setTextFormat(v6); } if (this.rar == 2) { if (this.styp == 1) { _root.abi.cost.text = '— rare body — '; } if (this.styp == 2) { _root.abi.cost.text = '— rare hands — '; } v6 = new TextFormat(); v6.color = 10420224; _root.abi.nam.setTextFormat(v6); } if (this.rar == 3) { if (this.styp == 1) { _root.abi.cost.text = '— epic body — '; } if (this.styp == 2) { _root.abi.cost.text = '— epic hands — '; } v6 = new TextFormat(); v6.color = 6684825; _root.abi.nam.setTextFormat(v6); } } if (this.coold == -3) { _global.explnam = this.cname; _global.expltxt = this.ctex; _root.expla.gotoAndPlay(2); } } } _root.abi.tex.html = true; _root.abi.tex.htmlText = this.ctex; }; v2.out = function () { this._xscale = 100; this._yscale = 100; if (this.typ == 5 and this.coold != -2 and this.coold != -3) { _global.bodp1 = _global.bodysavingf; _global.handp1 = _global.handsavingf; _global.leg1p1 = _global.legsavingf; _global.leg2p1 = _global.legsavingf; _global.colorp1 = _global.colorsavingf; _root.p1.p.gotoAndStop(60); } if (this.coold == -3) { _root.expla.gotoAndStop(1); } }; v2.pressme = function () { _global.clickon = this.pos; if (this.typ == 2 and _global.sklopens > _global.sklam and this.buycheck(this.cnum)) { if (_global.snd_volume > 0) { _root.soundgo(39); } _global.skillc1 += this.scost1; _global.skillc2 += this.scost2; _global.skillc3 += this.scost3; _root.skillcRefresh(); if (this.scost1 > 0) { _root.abi.cr1.gotoAndPlay(2); } if (this.scost2 > 0) { _root.abi.cr2.gotoAndPlay(2); } if (this.scost3 > 0) { _root.abi.cr3.gotoAndPlay(2); } if (this.styp == 1) { _global.actnum += 1; _global.specialp1 += 5; } if (this.styp == 2) { _global.passnum += 1; } _root.skilltakeneffect(this.cnum, 1); _global.sklam += 1; this.changeslot(_global.sklam, this.cnum); _global['skill' + this.cnum] = 1; this.sklorganize(); this.shad = 1; _root.bookshadows(); } else { if (this.shad == 1 and this.detachskillcheck()) { var v4 = 1; v4 = 1; while (v4 <= _global.sklam) { if (_root.abi['ab' + v4].cnum == this.cnum) { _root.abi['ab' + v4].clearaskill(); } ++v4; } this.shad = 0; } } if (this.typ == 1 and this.detachskillcheck()) { if (_global.snd_volume > 0) { _root.soundgo(39); } this.clearaskill(); } if (this.typ == 3 and this.am > 0 and this.coold != -1) { this.agreedfood(); } if (this.typ == 4) { this.agreedskill(); } if (this.typ == 3 and this.coold == -1 and _global.moneys >= this.cashh * this.packsiz and this.cashh > -1) { if (_global.snd_volume > 0) { _root.soundgo(50); } if (_global['fod' + this.cnum] == 0) { _global.bmAm3 += 1; } _global['fod' + this.cnum] += this.packsiz; _global.moneys -= this.cashh * this.packsiz; _root.cale.ca.ca.cas.text = '$' + _global.moneys; _root.cale.ca.gotoAndPlay(2); _root.abi.have.text = 'You have: ' + _global['fod' + this.cnum]; this.cashh = -1; _global['buyfoodam' + this.pos] = -1; _root['cas' + this.pos].text = 'sold out'; _root['pak' + this.pos].text = ''; } if (this.typ == 5 and this.cashh <= _global.gens and this.coold != -2 and this.coold != -3 and this.cnum != _global.curbody and this.cnum != _global.curhands) { if (_global.snd_volume > 0) { _root.soundgo(50); } _global.gens -= this.cashh; _root.ca.ca.cas.text = _global.gens + ' Gen'; _root.ca.gotoAndPlay(2); if (this.styp == 1) { _root.gentakeneffect(_global.curbody, -1); _global.curbody = this.cnum; _root.gentakeneffect(_global.curbody, 1); _global.bodysavingf = _global.bodp1; _global.handsavingf = _global.handp1; _global.legsavingf = _global.leg1p1; _global.colorsavingf = _global.colorp1; _root.abi.a1.cnum = _global.curbody; _root.abi.a1.gotoAndStop(_global.curbody); _root.datagensf(_global.curbody, 1); } if (this.styp == 2) { _root.gentakeneffect(_global.curhands, -1); _global.curhands = this.cnum; _root.gentakeneffect(_global.curhands, 1); _global.bodysavingf = _global.bodp1; _global.handsavingf = _global.handp1; _global.legsavingf = _global.leg1p1; _global.colorsavingf = _global.colorp1; _root.abi.a5.cnum = _global.curhands; _root.abi.a5.gotoAndStop(_global.curhands); _root.datagensf(_global.curhands, 5); } if (_root.abi.a2.cnum != _global.curbody) { _root.gen1.text = _root.abi.a2.cashh; } else { _root.gen1.text = '0'; } if (_root.abi.a3.cnum != _global.curbody) { _root.gen2.text = _root.abi.a3.cashh; } else { _root.gen2.text = '0'; } if (_root.abi.a4.cnum != _global.curbody) { _root.gen3.text = _root.abi.a4.cashh; } else { _root.gen3.text = '0'; } if (_root.abi.a6.cnum != _global.curhands) { _root.gen4.text = _root.abi.a6.cashh; } else { _root.gen4.text = '0'; } if (_root.abi.a7.cnum != _global.curhands) { _root.gen5.text = _root.abi.a7.cashh; } else { _root.gen5.text = '0'; } if (_root.abi.a8.cnum != _global.curhands) { _root.gen6.text = _root.abi.a8.cashh; } else { _root.gen6.text = '0'; } _root.gotoAndStop(39); } }; v2.detachskillcheck = function () { if (this.cnum == 32 and _global.skillcMax1 < _global.skillc1 + 5) { return false; } if (this.cnum == 33 and _global.skillcMax3 < _global.skillc3 + 3) { return false; } if (this.cnum == 39 and _global.skillcMax2 < _global.skillc2 + 3) { return false; } return true; }; v2.agreedfood = function () { _root.foodok.icone.gotoAndStop(this.cnum); _root.foodok.nam.text = this.cname; if (this.typ == 3) { if (this.rar == 1) { if (this.styp == 1) { _root.foodok.cost.text = '— basic ingredient — '; } if (this.styp == 2) { _root.foodok.cost.text = '— basic dish — '; } } if (this.rar == 2) { if (this.styp == 1) { _root.foodok.cost.text = '— rare ingredient — '; } if (this.styp == 2) { _root.foodok.cost.text = '— rare dish — '; } } if (this.rar == 3) { if (this.styp == 1) { _root.foodok.cost.text = '— epic ingredient — '; } if (this.styp == 2) { _root.foodok.cost.text = '— epic dish — '; } } } _root.foodok.tex.html = true; _root.foodok.tex.htmlText = this.ctex; _root.foodok.icone.amount._visible = false; _root.buttonson(false); _root.foodok._x = 360; }; v2.agreedskill = function () { _root.foodok.icone.gotoAndStop(this.cnum); _root.foodok.nam.text = this.cname; if (this.typ == 4) { if (this.rar == 1) { if (this.styp == 1) { _root.foodok.cost.text = '— basic special attack — '; } if (this.styp == 2) { _root.foodok.cost.text = '— basic passive skill — '; } } if (this.rar == 2) { if (this.styp == 1) { _root.foodok.cost.text = '— rare special attack — '; } if (this.styp == 2) { _root.foodok.cost.text = '— rare passive skill — '; } } if (this.rar == 3) { if (this.styp == 1) { _root.foodok.cost.text = '— epic special attack — '; } if (this.styp == 2) { _root.foodok.cost.text = '— epic passive skill — '; } } } _root.foodok.tex.html = true; _root.foodok.tex.htmlText = this.ctex; _root.foodok.icone.amount._visible = false; _root.buttonson(false); _root.foodok._x = 360; }; v2.bonuseat = function () { _root.bonusover(); _root.bonusreset(); if (this.botyp1 > 0) { var v4 = 1; v4 = 1; while (v4 <= 3) { if (this['botyp' + v4] == 1) { _global.bHpMaxp1 += this['boam' + v4]; _global.HpMaxp1 += _global.bHpMaxp1; } if (this['botyp' + v4] == 2) { _global.baddtocritp1 += this['boam' + v4]; _global.addtocritp1 += _global.baddtocritp1; } if (this['botyp' + v4] == 3) { _global.bspecialp1 += this['boam' + v4]; _global.specialp1 += _global.bspecialp1; } if (this['botyp' + v4] == 4) { _global.bcritp1 += this['boam' + v4]; _global.critp1 += _global.bcritp1; } if (this['botyp' + v4] == 5) { _global.bdodgep1 += this['boam' + v4]; _global.dodgep1 += _global.bdodgep1; } if (this['botyp' + v4] == 6) { _global.bblockp1 += this['boam' + v4]; _global.blockp1 += _global.bblockp1; } if (this['botyp' + v4] == 7) { _global.bdoublep1 += this['boam' + v4]; _global.doublep1 += _global.bdoublep1; } if (this['botyp' + v4] == 8) { _global.bstunp1 += this['boam' + v4]; _global.stunp1 += _global.bstunp1; } if (this['botyp' + v4] == 9) { _global.bphysdmgp1 += this['boam' + v4]; _global.physdmgp1 += _global.bphysdmgp1; } if (this['botyp' + v4] == 10) { _global.bpsydmgp1 += this['boam' + v4]; _global.psydmgp1 += _global.bpsydmgp1; } if (this['botyp' + v4] == 20) { _global.HpMaxp1 += this['boam' + v4]; } if (this['botyp' + v4] == 21) { _global.physdmgp1 += this['boam' + v4]; } if (this['botyp' + v4] == 22) { _global.psydmgp1 += this['boam' + v4]; } if (this['botyp' + v4] == 23) { _global.dodgep1 += this['boam' + v4]; } if (this['botyp' + v4] == 24) { _global.critp1 += this['boam' + v4]; } if (this['botyp' + v4] == 25) { _global.doublep1 += this['boam' + v4]; } ++v4; } } }; v2.foodgo = function () { _global.hpeat = this.rest; _global.helxp = this.hxp; _global.foodnumb = this.cnum; _global.foodtypanim = this.fodtyp; if (this.ceftex != '') { _global.buffnump1 = 1; _global.p1bunam1 = this.cname; _global.p1butxt1 = this.ceftex; } else { _global.p1bunam1 = ''; } this.bonuseat(); if (this.am > 0 and this.styp == 1) { this.am -= 1; _global['fod' + this.cnum] -= 1; _root.abi['a' + this.pos].amount.text = this.am; if (this.am < 1) { _root.fixbm(_global.bmTotal); _root.abi.bm3.amount.text = _global.bmAm3; } } if (this.am > 0 and this.styp == 2) { this.am -= 1; _root.abi['a' + this.pos].amount.text = this.am; var v4 = 1; v4 = 1; while (v4 <= this.ingrs) { _global['fod' + this['ing' + v4]] -= this['ingam' + v4]; ++v4; } _root.fixbm(_global.bmTotal); } _root.gotoAndStop(18); }; v2.skillgo = function () { if (this.cnum != 100) { if (this.styp == 1 and this.rar == 1) { _global.actCom += 1; } if (this.styp == 1 and this.rar == 2) { _global.actRar += 1; } if (this.styp == 1 and this.rar == 3) { _global.actEpc += 1; } if (this.styp == 2 and this.rar == 1) { _global.pasCom += 1; } if (this.styp == 2 and this.rar == 2) { _global.pasRar += 1; } if (this.styp == 2 and this.rar == 3) { _global.pasEpc += 1; } if (this.styp == 1) { _global.bmAm1 += 1; _global['bm1Lib' + _global.bmAm1] = this.cnum; trace('bmAm1:' + _global.bmAm1); } if (this.styp == 2) { _global.bmAm2 += 1; _global['bm2Lib' + _global.bmAm2] = this.cnum; trace('bmAm2:' + _global.bmAm2); } } if (this.cnum == 100) { _global.HpMaxp1 += 100; _global.Hpp1 = _global.HpMaxp1; } _global.skillopt1 = 0; _global.skillopt2 = 0; _global.skillopt3 = 0; _global.numskilforchoosez = 0; _root.clearmodels(); _global.bookMarkGo = this.styp; if (_global.rskillpoints > 0) { _global.new7 = 1; } _root.savegame(_global.savslot); _root.gotoAndPlay(16); }; v2.refres = function () { _root.eInfo.text = 'HP: ' + _global['eHp' + _global.curpos] + '/' + _global['emHp' + _global.curpos]; }; v2.clearaskill = function () { _global['skill' + this.cnum] = 0; if (this.styp == 1) { _global.actnum -= 1; _global.specialp1 -= 5; } if (this.styp == 2) { _global.passnum -= 1; } _global.skillc1 -= this.scost1; _global.skillc2 -= this.scost2; _global.skillc3 -= this.scost3; _root.skillcRefresh(); if (this.scost1 > 0) { _root.abi.cr1.gotoAndPlay(2); } if (this.scost2 > 0) { _root.abi.cr2.gotoAndPlay(2); } if (this.scost3 > 0) { _root.abi.cr3.gotoAndPlay(2); } _root.skilltakeneffect(this.cnum, -1); _root.abi.lighter._x = -250; if (this.pos < _global.sklam) { var v4 = 1; v4 = this.pos; while (v4 <= _global.sklam) { _root.abi['ab' + v4].cnum = _root.abi['ab' + (v4 + 1)].cnum; ++v4; } } _root.abi['ab' + _global.sklam].cnum = 2; _global.sklam -= 1; _root.data5(1); _root.bookshadows(); }; v2.sklorganize = function () { if (_global.sklam > 1) { _global.transit = 0; var v4 = 2; v4 = 2; while (v4 <= _global.sklam) { if (_root.abi['ab' + v4].styp == 1) { var v3 = v4; v3 = v4; while (v3 >= 2) { if (_root.abi['ab' + v3].styp == 1 and _root.abi['ab' + (v3 - 1)].styp == 2) { _global.transit = _root.abi['ab' + v3].cnum; _root.abi['ab' + v3].cnum = _root.abi['ab' + (v3 - 1)].cnum; _root.abi['ab' + (v3 - 1)].cnum = _global.transit; _root.abi['ab' + v3].styp = 2; _root.abi['ab' + (v3 - 1)].styp = 1; } --v3; } } ++v4; } } _root.data5(1); }; v2.changeslot = function (who, what) { _root.abi['ab' + who].cnum = what; _root.abi['ab' + who].enabled = true; _root.dataabils(what, who, 2); }; v2.buycheck = function (what) { if (this.scost1 + _global.skillc1 <= _global.skillcMax1 and this.scost2 + _global.skillc2 <= _global.skillcMax2 and this.scost3 + _global.skillc3 <= _global.skillcMax3) { var v4 = 1; v4 = 1; while (v4 <= _global.sklam) { if (_root.abi['ab' + v4].cnum == what) { return false; } ++v4; } return true; } else { return false; } }; ASSetPropFlags(_global.rawrClass.prototype, null, 1); } #endinitclip } frame 2 { totalBytes = Math.round(getBytesTotal() / 1024); loadedBytes = Math.round(getBytesLoaded() / 1024); percentDone = Math.round((loadedBytes / totalBytes) * 100); if (_root._framesloaded >= _root._totalframes) { _root.gotoAndStop(4); } } frame 3 { _root.gotoAndPlay(2); } frame 4 { stop(); _global.snd_music = 1; _global.snd_fx = 1; com.tremorgames.TremorGames.Init(176, 7098, 'Rawr', 'gt54bvfg56h', 'http://www.tremorgames.com'); } movieClip 362 { } movieClip 363 { } movieClip 365 { } movieClip 367 { } movieClip 369 { } movieClip 370 { frame 1 { stop(); } frame 10 { if (this.behav == 1) { stop(); this.behav = 2; } } } movieClip 371 { } instance of movieClip 371 { onClipEvent (release) { _root.gotoAndStop(48); } onClipEvent (rollOver) { var srs = _root.m6; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance of movieClip 371 { onClipEvent (release) { if (_global.snd_music == 1) { _global.snd_music = 0; _global.snd_fx = 0; _root.soun.text = 'Sound OFF'; } else { _global.snd_music = 1; _global.snd_fx = 1; _root.soun.text = 'Sound ON'; } } onClipEvent (rollOver) { var srs = _root.m7; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.m7; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } movieClip 376 { frame 1 { stop(); } } instance of movieClip 376 { onClipEvent (release) { _global.snd_music = 0; _global.snd_fx = 0; _root.soun.text = 'Sound OFF'; _root.gotoAndStop(31); } } frame 14 { function mainxpgain() { if (_global.snd_curmusic != 2) { _root.soundgo(2); } if (_global.combxp > 0) { _root.xpgain(1, _global.combxp); _global.moneys += _global.moneyxp; if (_global.moneyxp > 0) { _root.cale.ca.ca.cas.text = '$' + _global.moneys; _root.cale.ca.gotoAndPlay(2); } _root.menuu.men.cas.text = '$' + _global.moneys; _global.expblicktype = 1; _root.xpbli._y = 379; } if (_global.helxp > 0) { _root.xpgain(2, _global.helxp); _global.expblicktype = 2; _root.xpbli._y = 404; } _global.gens += _global.genxp; if (_global.gens > 0) { _root.gen.gen.text = _global.gens + ' Gen'; } _global.coupons += _global.couponxp; if (_global.coupons > 0) { _root.gen.cou.text = _global.coupons + ' x Coupons'; } _global.combxp = 0; _global.helxp = 0; _global.moneyxp = 0; _global.genxp = 0; _global.couponxp = 0; _global.sklzzxp = 0; _root.savegame(_global.savslot); } _global.scren = 14; stop(); if (_global.HpMaxp1 > 500000) { _global.HpMaxp1 = 500000; if (_global.Hpp1 > _global.HpMaxp1) { _global.Hpp1 = _global.HpMaxp1; } } if (_global.newchapter == 1) { _root.gotoAndStop(43); } if (_global.newchapter > 1) { _root.gotoAndStop(42); } _global.explx = -207; _global.exply = 0; var ic1 = 1; ic1 = 1; while (ic1 <= 8) { _root['expl' + ic1].useHandCursor = false; ++ic1; } _root.gen.expl2.useHandCursor = false; _root.bar.useHandCursor = false; clearInterval(tipIntHp1); clearInterval(tipIntHp2); clearInterval(tipIntHpeat); clearInterval(tipIntHpheal1); removeMovieClip(_root.p1); removeMovieClip(_root.p2); removeMovieClip(_root.blood1); removeMovieClip(_root.blood2); removeMovieClip(_root.raww); if (_global.bossdownnowx > 0) { _root.gotoAndStop(41); } if (_global.surviv > 1 and _global.surv > 0) { _root.clearmodels(); _global.starteat = 0; _root.gotoAndStop(15); } _root.fadetoblack(1); _root.spot1.sp.sp.gotoAndStop(2); _root.spot2.sp.sp.gotoAndStop(3); _root.spot3.sp.sp.gotoAndStop(4); _root.spot4.sp.sp.gotoAndStop(5); _root.spot5.sp.sp.gotoAndStop(6); _root.spot6.sp.sp.gotoAndStop(7); _root.spot7.sp.sp.gotoAndStop(8); _root.spot8.sp.sp.gotoAndStop(9); _root.spot9.sp.sp.gotoAndStop(10); _root.spot10.sp.sp.gotoAndStop(11); _root.bar.namep1.text = _global.namep1; _root.bar.lvlp1.text = _global.slvl + '/' + _global.hlvl; if (_global.chapt > 1) { _root.gen.gen.text = _global.gens + ' Gen'; _root.gen.cou.text = _global.coupons + ' x Coupons'; } else { _root.gen._visible = false; } _root.refreshhp(); _root.refreshxp(); _root.refreshcale(); _global.rstrg = ''; _root.bar.blik._visible = 0; if (_global.Hpp1 < _global.HpMaxp1) { _global.hppos = Math.floor(_global.Hpp1 / (_global.HpMaxp1 / 100)); _global.fixhpposit = (100 - _global.hppos) * -2.57; _root.bar.full._x += _global.fixhpposit; _root.bar.blik._x += _global.fixhpposit; _root.bar.lilblik._x += _global.fixhpposit; } if (_global.tutor == 1) { _root.tut.gotoAndStop(2); } if (_global.tutor == 2) { _root.tut.gotoAndStop(5); } if (_global.tutor == 3) { _root.tut.gotoAndStop(3); } if (_global.tutor == 5) { _root.tut.gotoAndStop(6); } if (_global.combxp > 0 or _global.helxp > 0) { _global.maindisable = 1; } if (_global.tutor == 1) { _root.spot1._visible = false; } if (_global.tutor < 3) { _root.spot2._visible = false; } if (_global.tutor < 5) { _root.spot4._visible = false; } if (_global.new4 == 1) { _root.spot4.new2.gotoAndStop(2); } if (_global.chapt < 1 or _global.chapt > 11) { _root.spot5._visible = false; } if (_global.chapt < 1) { _root.spot10._visible = false; } if (_global.new5 == 1) { _root.spot5.new2.gotoAndStop(2); } if (_global.achnumb < 1) { _root.spot6._visible = false; } if (_global.new6 == 1) { _root.spot6.new2.gotoAndStop(2); } if (_global.new7 == 1) { _root.spot7.new2.gotoAndStop(2); } if (_global.rskillpoints < 1 and _global.numskilforchoosez > -1) { _root.spot7._visible = false; } if (_global.new8 == 1) { _root.spot8.new2.gotoAndStop(2); } if (_global.chapt < 2) { _root.spot8._visible = false; } if (_global.new9 == 1) { _root.spot9.new2.gotoAndStop(2); } if (_global.eventtype == 0) { _root.spot9._visible = false; } _global.expblicktype = 0; _root.statzz._visible = true; } movieClip 385 { } movieClip 388 { } movieClip 391 { } movieClip 394 { } movieClip 395 { } movieClip 396 { } movieClip 401 { } movieClip 402 { } movieClip 404 { } movieClip 405 { } movieClip 407 { } movieClip 412 { } movieClip 415 { } movieClip 444 { } movieClip 448 { frame 1 { stop(); this.whi._visible = false; } frame 6 { lev.text = 'Lvl ' + _global.chapt * 2; } frame 10 { if (_global.eventdays != 1) { da.text = _global.eventdays + ' days left'; } else { da.text = 'Last day'; } } } movieClip 449 { } movieClip 451 { } movieClip 453 { } movieClip 454 { } movieClip 455 { frame 1 { stop(); } } movieClip 456 { frame 1 { this.shin._visible = false; } } instance spot3 of movieClip 456 { onClipEvent (release) { if (_global.maindisable == 0) { _root.clearmodels(); _root.gotoAndStop(16); } } onClipEvent (rollOver) { if (_global.snd_volume > 0) { _root.soundgo(15); } this.shin._visible = true; this.sp.sp.whi._visible = true; _global.explnam = 'Skills Management'; _global.expltxt = 'Here you can choose skills, which you want to use during the fight.'; _global.explx = -80; _global.exply = 126; _root.expla.gotoAndStop(2); } onClipEvent (rollOut) { this.shin._visible = false; this.sp.sp.whi._visible = false; _root.expla.gotoAndStop(1); } } instance spot1 of movieClip 456 { onClipEvent (release) { if (_global.maindisable == 0) { _global.surviv = 0; _global.eventsource = 1; _global.bossfight = 2; var renmtyp = 1; renmtyp = _root.randRange(1, 100); if (renmtyp < 61) { _global.bossfight = 2; } if (renmtyp > 60 and renmtyp < 81) { _global.bossfight = 3; } if (renmtyp > 80 and renmtyp < 91) { _global.bossfight = 4; } if (renmtyp > 90) { _global.bossfight = 5; } _root.clearmodels(); _global.starteat = 0; _root.gotoAndStop(15); } } onClipEvent (rollOver) { if (_global.snd_volume > 0) { _root.soundgo(15); } this.shin._visible = true; this.sp.sp.whi._visible = true; _global.explnam = 'Combat Zone'; _global.expltxt = 'Here you can fight and gain Skill Experience.'; _global.explx = 202; _global.exply = -34; _root.expla.gotoAndStop(2); } onClipEvent (rollOut) { this.shin._visible = false; this.sp.sp.whi._visible = false; _root.expla.gotoAndStop(1); } } instance spot2 of movieClip 456 { onClipEvent (release) { if (_global.maindisable == 0) { _root.clearmodels(); removeMovieClip(_root.p1); _root.gotoAndStop(17); } } onClipEvent (rollOver) { if (_global.snd_volume > 0) { _root.soundgo(15); } this.shin._visible = true; this.sp.sp.whi._visible = true; _global.explnam = 'Food and Rest'; _global.expltxt = 'This is the place where you can restore HP. A new day will start after your RAWR has feeds here.'; _global.explx = 129; _global.exply = 117; _root.expla.gotoAndStop(2); } onClipEvent (rollOut) { this.shin._visible = false; this.sp.sp.whi._visible = false; _root.expla.gotoAndStop(1); } } instance spot5 of movieClip 456 { onClipEvent (release) { if (_global.maindisable == 0) { _root.clearmodels(); _root.gotoAndStop(23); } } onClipEvent (rollOver) { if (_global.snd_volume > 0) { _root.soundgo(15); } this.shin._visible = true; this.sp.sp.whi._visible = true; _global.explnam = 'Boss Fight'; _global.expltxt = 'Defeat this boss, and you will finish the current chapter.'; _global.explx = -68; _global.exply = 15; _root.expla.gotoAndStop(2); } onClipEvent (rollOut) { this.shin._visible = false; this.sp.sp.whi._visible = false; _root.expla.gotoAndStop(1); } } instance spot6 of movieClip 456 { onClipEvent (release) { if (_global.maindisable == 0) { _root.clearmodels(); _root.gotoAndStop(25); } } onClipEvent (rollOver) { if (_global.snd_volume > 0) { _root.soundgo(15); } this.shin._visible = true; this.sp.sp.whi._visible = true; _global.explnam = 'Your Achievements'; _global.expltxt = 'Trophy room.'; _global.explx = -24; _global.exply = 249; _root.expla.gotoAndStop(2); } onClipEvent (rollOut) { this.shin._visible = false; this.sp.sp.whi._visible = false; _root.expla.gotoAndStop(1); } } instance spot7 of movieClip 456 { onClipEvent (release) { if (_global.maindisable == 0) { _root.clearmodels(); _root.gotoAndStop(29); } } onClipEvent (rollOver) { if (_global.snd_volume > 0) { _root.soundgo(15); } this.shin._visible = true; this.sp.sp.whi._visible = true; _global.explnam = 'Skill Training'; _global.expltxt = 'Here you can learn new attacking techniques and get new skills.'; _global.explx = 117; _global.exply = 8; _root.expla.gotoAndStop(2); } onClipEvent (rollOut) { this.shin._visible = false; this.sp.sp.whi._visible = false; _root.expla.gotoAndStop(1); } } instance spot8 of movieClip 456 { onClipEvent (rollOver) { if (_global.snd_volume > 0) { _root.soundgo(15); } this.shin._visible = true; this.sp.sp.whi._visible = true; _global.explnam = 'Genetic Mutations'; _global.expltxt = 'Here you can improve Rawr’s body parts.'; _global.explx = -154; _global.exply = 249; _root.expla.gotoAndStop(2); } onClipEvent (rollOut) { this.shin._visible = false; this.sp.sp.whi._visible = false; _root.expla.gotoAndStop(1); } onClipEvent (release) { if (_global.maindisable == 0) { _root.clearmodels(); _root.gotoAndStop(30); } } } instance spot9 of movieClip 456 { onClipEvent (release) { if (_global.maindisable == 0) { _root.clearmodels(); _root.gotoAndStop(40); } } onClipEvent (rollOver) { if (_global.snd_volume > 0) { _root.soundgo(15); } this.shin._visible = true; this.sp.sp.whi._visible = true; _global.explnam = 'Current Event'; _global.expltxt = 'Click here to see what has happened.'; _global.explx = -10; _global.exply = -34; _root.expla.gotoAndStop(2); } onClipEvent (rollOut) { this.shin._visible = false; this.sp.sp.whi._visible = false; _root.expla.gotoAndStop(1); } } instance spot10 of movieClip 456 { onClipEvent (release) { if (_global.maindisable == 0) { _root.clearmodels(); _root.gotoAndStop(44); } } onClipEvent (rollOver) { if (_global.snd_volume > 0) { _root.soundgo(15); } this.shin._visible = true; this.sp.sp.whi._visible = true; _global.explnam = 'Player versus Player'; _global.expltxt = 'Here you can fight against other players. After the fight all HP lost in the battle will be restored.'; _global.explx = 122; _global.exply = 163; _root.expla.gotoAndStop(2); } onClipEvent (rollOut) { this.shin._visible = false; this.sp.sp.whi._visible = false; _root.expla.gotoAndStop(1); } } instance spot4 of movieClip 456 { onClipEvent (release) { if (_global.maindisable == 0) { _root.clearmodels(); _root.gotoAndStop(22); } } onClipEvent (rollOver) { if (_global.snd_volume > 0) { _root.soundgo(15); } this.shin._visible = true; this.sp.sp.whi._visible = true; _global.explnam = 'Rare Food Shop'; _global.expltxt = 'Here you can buy exotic food and exchange coupons for rare recipes.'; _global.explx = -1; _global.exply = 151; _root.expla.gotoAndStop(2); } onClipEvent (rollOut) { this.shin._visible = false; this.sp.sp.whi._visible = false; _root.expla.gotoAndStop(1); } } movieClip 459 { } instance stt of movieClip 459 { onClipEvent (release) { _root.gotoAndStop(32); } onClipEvent (rollOver) { _root.statzz.gotoAndPlay(2); } onClipEvent (rollOut) { _root.statzz.gotoAndPlay(12); } } movieClip 464 { frame 1 { stop(); } } movieClip 487 { frame 1 { stop(); amount._visible = false; } } movieClip 493 { frame 1 { stop(); } frame 2 { btxt.html = true; bnam.text = _global.bunam; btxt.htmlText = _global.butxt; } } movieClip 498 { } movieClip 501 { } movieClip 511 { } movieClip 512 { frame 1 { _root.bar.p1bu1.useHandCursor = false; var ia1 = 1; ia1 = 1; while (ia1 <= 4) { if (_global['p1bunam' + ia1] == '') { this['p1bu' + ia1]._visible = false; } ++ia1; } } instance p1bu1 of movieClip 487 { onClipEvent (rollOver) { _global.bunam = _global.p1bunam1; _global.butxt = _global.p1butxt1; _root.bar.expla.gotoAndStop(2); } onClipEvent (rollOut) { _root.bar.expla.gotoAndStop(1); } } instance p1bu2 of movieClip 487 { onClipEvent (rollOver) { this._parent.nfo.gotoAndStop(2); } onClipEvent (rollOut) { this._parent.nfo.gotoAndStop(1); } } instance p1bu3 of movieClip 487 { onClipEvent (rollOver) { this._parent.nfo.gotoAndStop(2); } onClipEvent (rollOut) { this._parent.nfo.gotoAndStop(1); } } } movieClip 514 { } movieClip 515 { frame 20 { _root.menz.menz.enabled = true; _root.menz.menz.useHandCursor = false; stop(); } instance menz of movieClip 514 { onClipEvent (rollOver) { if (_global.maindisable == 0) { _root.menuez.gotoAndPlay(2); _root.menz.menz.enabled = false; } } } instance of movieClip 365 { } } movieClip 521 { } movieClip 526 { instance of movieClip 521 { onClipEvent (release) { _root.tut.mi1._visible = false; } } } movieClip 529 { instance of movieClip 521 { onClipEvent (release) { _root.tut.mi2._visible = false; } } } movieClip 536 { frame 1 { stop(); } instance of movieClip 521 { onClipEvent (release) { _root.tut.gotoAndStop(1); } } frame 3 { _root.menuez.men.sk._visible = true; _root.menuez.men.rs._visible = true; } instance of movieClip 521 { onClipEvent (release) { _root.tut.gotoAndStop(1); } } instance of movieClip 521 { onClipEvent (release) { if (_global.tutor == 5) { _global.tutor = 6; } _root.tut.gotoAndStop(1); } } instance butn1 of movieClip 371 { onClipEvent (release) { _root.gameturn2(_global.curplayer); _root.tut.gotoAndStop(1); } onClipEvent (rollOver) { var srs = _root.tut.m6; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.tut.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance of movieClip 521 { onClipEvent (release) { _root.tut.gotoAndStop(1); } } } movieClip 538 { } movieClip 539 { } movieClip 540 { } movieClip 541 { frame 1 { stop(); } } movieClip 549 { } movieClip 550 { frame 1 { stop(); } } movieClip 551 { } movieClip 556 { } movieClip 557 { frame 1 { stop(); } frame 2 { stop(); _root.expla.ex.btxt.html = true; _root.expla.ex.bnam.text = _global.explnam; _root.expla.ex.btxt.htmlText = _global.expltxt; _root.expla.ex._x = _global.explx; _root.expla.ex._y = _global.exply; } } movieClip 562 { } movieClip 563 { instance expl2 of movieClip 562 { onClipEvent (rollOver) { _global.explnam = 'Your Gen\'s and Coupons'; _global.expltxt = 'Gen used for mutations and coupons used for new recipes and rare foods.'; _global.explx = 221; _global.exply = 205; _root.expla.gotoAndPlay(2); } onClipEvent (rollOut) { _root.expla.gotoAndStop(1); } } } instance of movieClip 376 { onClipEvent (release) { if (_global.maindisable == 0) { _global.bmAm4 += 1; _global['bm4Lib' + _global.bmAm4] = 100; _global.bmAm4 += 1; _global['bm4Lib' + _global.bmAm4] = 101; _global.bmAm4 += 1; _global['bm4Lib' + _global.bmAm4] = 102; _global.fod23 = 6; _global.fod24 = 6; _global.fod25 = 6; _global.fod26 = 6; _global.fod27 = 6; _global.fod28 = 6; _global.fod29 = 6; _global.fod30 = 6; _global.fod31 = 6; } } } instance of movieClip 376 { onClipEvent (release) { _global.physdmgp1 = 1000; _global.psydmgp1 = 10; _global.HpMaxp1 = 10000; _global.Hpp1 = _global.HpMaxp1; _global.chapt = 10; _root.bossgenerate(); _root.clearmodels(); _global.surviv = 0; _global.starteat = 0; _global.bossfight = 1; _global.eventsource = 2; _root.gotoAndStop(15); } } instance of movieClip 376 { onClipEvent (release) { _global.physdmgp1 = 9000; _global.psydmgp1 = 10; _global.HpMaxp1 = 10000; _global.Hpp1 = _global.HpMaxp1; } } movieClip 568 { } movieClip 571 { } movieClip 576 { frame 1 { stop(); } frame 10 { _root.blexp.xpp22.text = _global.exptext; _root.refreshxp(); if (_global.lvlupgo == 0) { _global.maindisable = 0; xpplvl1.text = ''; xpplvl2.text = ''; } } frame 25 { _root.xpbli.gotoAndPlay(2); } frame 54 { if (_global.lvlupgo > 0) { _root.gotoAndStop(19); } else { _global.maindisable = 0; } stop(); } } movieClip 578 { frame 1 { _root.mainxpgain(); if (_global.lvlupgo > 0) { _root.gotoAndStop(19); } } frame 20 { _global.maindisable = 0; } frame 40 { if (_global.expblicktype > 0) { _root.xpbli.gotoAndPlay(2); } } frame 55 { _root.refreshxp(); } frame 56 { stop(); } } movieClip 582 { frame 1 { dayy2.text = _global.dayy - 1; } } movieClip 583 { frame 1 { } frame 45 { stop(); removeMovieClip(this); } } instance expl2 of movieClip 562 { onClipEvent (rollOver) { _global.explnam = 'Your Money'; _global.expltxt = 'You can spend it on food, training and other suff.'; _global.explx = 247; _global.exply = -55; _root.expla.gotoAndStop(2); } onClipEvent (rollOut) { _root.expla.gotoAndStop(1); } } instance expl1 of movieClip 562 { onClipEvent (rollOver) { _global.explnam = 'Chapter'; _global.expltxt = 'Current Chapter of RAWR story.'; _global.explx = 247; _global.exply = -55; _root.expla.gotoAndStop(2); } onClipEvent (rollOut) { _root.expla.gotoAndStop(1); } } instance expl3 of movieClip 562 { onClipEvent (rollOver) { _global.explnam = 'Calendar'; _global.expltxt = 'Some events starts in specific day and chapter.'; _global.explx = 247; _global.exply = -55; _root.expla.gotoAndStop(2); } onClipEvent (rollOut) { _root.expla.gotoAndStop(1); } } instance expl7 of movieClip 562 { onClipEvent (rollOver) { _global.explnam = 'Rawr Skill Level'; _global.expltxt = 'Raises in fights. With increase in level you can study new abilities, receive crystals and slots.'; _global.explx = -194; _global.exply = 188; _root.expla.gotoAndStop(2); } onClipEvent (rollOut) { _root.expla.gotoAndStop(1); } } instance expl8 of movieClip 562 { onClipEvent (rollOver) { _global.explnam = 'Rawr Health Level'; _global.expltxt = 'Raises, when your monster eats. With increase in level the quantity of Hit Points (lives) increases.'; _global.explx = -194; _global.exply = 188; _root.expla.gotoAndStop(2); } onClipEvent (rollOut) { _root.expla.gotoAndStop(1); } } instance expl4 of movieClip 562 { onClipEvent (rollOver) { _global.explnam = 'Rawr Levels'; _global.expltxt = 'Shows your rawr Skill Level/Health Level. <b>IMPORTANT:</b> If Skill level don\'t equal health level, the game becomes more difficult.'; _global.explx = -133; _global.exply = -48; _root.expla.gotoAndStop(2); } onClipEvent (rollOut) { _root.expla.gotoAndStop(1); } } instance expl5 of movieClip 562 { onClipEvent (rollOver) { _global.explnam = 'Rawr Name'; _global.expltxt = 'Your monster name is a ' + _global.namep1 + '.'; _global.explx = -133; _global.exply = -48; _root.expla.gotoAndStop(2); } onClipEvent (rollOut) { _root.expla.gotoAndStop(1); } } instance expl6 of movieClip 562 { onClipEvent (rollOver) { _global.explnam = 'Hit Points'; _global.expltxt = 'Rawr remaining health. If your Rawr Hit Points is a low, hes need to rest.'; _global.explx = -133; _global.exply = -48; _root.expla.gotoAndStop(2); } onClipEvent (rollOut) { _root.expla.gotoAndStop(1); } } movieClip 589 { frame 1 { stop(); } } movieClip 594 { frame 1 { stop(); } } movieClip 599 { frame 1 { stop(); } } movieClip 603 { } movieClip 608 { frame 1 { stop(); } } movieClip 612 { } movieClip 613 { instance sk of movieClip 589 { onClipEvent (release) { if (_global.scren != 16) { if (_global.scren == 29 and _global.numskilforchoosez > -1) { _global.numskilforchoosez = 0; _global.skillopt1 = 0; _global.skillopt2 = 0; _global.skillopt3 = 0; } _root.clearmodels(); if (_global.scren == 16) { _root.globalizationn(); } _global.gotoo = 16; _root.gotoAndStop(47); } } onClipEvent (rollOver) { if (_global.snd_volume > 0) { _root.soundgo(13); } this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance rest of movieClip 594 { onClipEvent (release) { if (_global.scren != 17) { if (_global.scren == 29 and _global.numskilforchoosez > -1) { _global.numskilforchoosez = 0; _global.skillopt1 = 0; _global.skillopt2 = 0; _global.skillopt3 = 0; } _root.clearmodels(); if (_global.scren == 16) { _root.globalizationn(); } _global.gotoo = 17; _root.gotoAndStop(47); } } onClipEvent (rollOver) { if (_global.snd_volume > 0) { _root.soundgo(13); } this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance mapp of movieClip 599 { onClipEvent (release) { if (_global.scren != 14) { if (_global.scren == 29 and _global.numskilforchoosez > -1) { _global.numskilforchoosez = 0; _global.skillopt1 = 0; _global.skillopt2 = 0; _global.skillopt3 = 0; } _root.clearmodels(); if (_global.scren == 16) { _root.globalizationn(); } _global.gotoo = 14; _root.gotoAndStop(47); } } onClipEvent (rollOver) { if (_global.snd_volume > 0) { _root.soundgo(13); } this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 603 { onClipEvent (release) { if (_global.scren == 29 and _global.numskilforchoosez > -1) { _global.numskilforchoosez = 0; _global.skillopt1 = 0; _global.skillopt2 = 0; _global.skillopt3 = 0; } _root.clearmodels(); if (_global.scren == 16) { _root.globalizationn(); } _root.menuez.savz.gotoAndPlay(2); } onClipEvent (rollOver) { if (_global.snd_volume > 0) { _root.soundgo(13); } this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance pvp of movieClip 608 { onClipEvent (release) { if (_global.scren != 44) { if (_global.scren == 29 and _global.numskilforchoosez > -1) { _global.numskilforchoosez = 0; _global.skillopt1 = 0; _global.skillopt2 = 0; _global.skillopt3 = 0; } _root.clearmodels(); if (_global.scren == 16) { _root.globalizationn(); } _global.gotoo = 44; _root.gotoAndStop(47); } } onClipEvent (rollOver) { if (_global.snd_volume > 0) { _root.soundgo(13); } this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 612 { onClipEvent (release) { _root.menuez.opt._y = 338; _root.optionscoming(); _root.menuez.gotoAndPlay(26); } onClipEvent (rollOver) { if (_global.snd_volume > 0) { _root.soundgo(13); } this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } } movieClip 617 { } movieClip 628 { frame 1 { stop(); } } movieClip 631 { frame 1 { stop(); } } movieClip 634 { frame 1 { stop(); } } movieClip 640 { frame 1 { stop(); } } movieClip 641 { frame 1 { blbtn.useHandCursor = false; stop(); } instance blbtn of movieClip 28 { onClipEvent (release) { } } instance butn1 of movieClip 371 { onClipEvent (release) { _root.menz.menz.enabled = true; _root.menuez.opt._y = 942; } onClipEvent (rollOver) { _root.snd_blackbutton(); var srs = _root.menuez.opt.m6; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.menuez.opt.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance q3 of movieClip 376 { onClipEvent (release) { if (_global.snd_volume > 0) { _root.soundgo(13); } _root._quality = 'HIGH'; _root.optionscoming(); } onClipEvent (rollOver) { this._xscale += 5; this._yscale += 5; } onClipEvent (rollOut) { this._xscale -= 5; this._yscale -= 5; } } instance q2 of movieClip 376 { onClipEvent (release) { if (_global.snd_volume > 0) { _root.soundgo(13); } _root._quality = 'MEDIUM'; _root.optionscoming(); } onClipEvent (rollOver) { this._xscale += 5; this._yscale += 5; } onClipEvent (rollOut) { this._xscale -= 5; this._yscale -= 5; } } instance q1 of movieClip 376 { onClipEvent (release) { if (_global.snd_volume > 0) { _root.soundgo(13); } _root._quality = 'LOW'; _root.optionscoming(); } onClipEvent (rollOver) { this._xscale += 5; this._yscale += 5; } onClipEvent (rollOut) { this._xscale -= 5; this._yscale -= 5; } } instance msw of movieClip 628 { onClipEvent (release) { if (_global.snd_music == 1) { _global.snd_music = 0; _root.soundgo(0); } else { _global.snd_music = 1; if (_global.scren != 31) { _root.soundgo(2); } else { _root.soundgo(3); } } _root.optionscoming(); if (_global.snd_volume > 0) { _root.soundgo(11); } } onClipEvent (rollOver) { this._xscale += 4; this._yscale += 4; } onClipEvent (rollOut) { this._xscale -= 4; this._yscale -= 4; } } instance fsw of movieClip 628 { onClipEvent (release) { if (_global.snd_fx == 1) { _global.snd_fx = 0; } else { _global.snd_fx = 1; } _root.optionscoming(); if (_global.snd_volume > 0) { _root.soundgo(11); } } onClipEvent (rollOver) { this._xscale += 4; this._yscale += 4; } onClipEvent (rollOut) { this._xscale -= 4; this._yscale -= 4; } } instance vol5 of movieClip 640 { onClipEvent (release) { _global.snd_volume = 100; _root.optionscoming(); if (_global.snd_volume > 0) { _root.soundgo(13); } } } instance vol4 of movieClip 640 { onClipEvent (release) { _global.snd_volume = 60; _root.optionscoming(); if (_global.snd_volume > 0) { _root.soundgo(13); } } } instance vol3 of movieClip 640 { onClipEvent (release) { _global.snd_volume = 30; _root.optionscoming(); if (_global.snd_volume > 0) { _root.soundgo(13); } } } instance vol2 of movieClip 640 { onClipEvent (release) { _global.snd_volume = 20; _root.optionscoming(); if (_global.snd_volume > 0) { _root.soundgo(13); } } } instance vol1 of movieClip 640 { onClipEvent (release) { _global.snd_volume = 10; _root.optionscoming(); if (_global.snd_volume > 0) { _root.soundgo(13); } } } } movieClip 644 { frame 1 { stop(); } instance blbtn of movieClip 28 { onClipEvent (release) { } } frame 10 { _root.savegame(_global.savslot); } frame 20 { _root.gotoAndStop(31); } } movieClip 645 { frame 1 { stop(); } frame 2 { _root.menuez.savz._x = 406; } frame 10 { _root.gotoAndStop(_global.destinatiooo); } } movieClip 647 { } movieClip 648 { frame 1 { stop(); } frame 2 { ii2 = 1; while (ii2 <= 6) { _root['expl' + ii2]._visible = false; ++ii2; } } frame 3 { if (_global.snd_volume > 0) { _root.soundgo(39); } } frame 10 { men.sk.enabled = false; men.mapp.enabled = false; men.rest.enabled = false; men.pvp.enabled = false; if (_global.scren == 16) { men.sk.gotoAndStop(2); } else { men.sk.gotoAndStop(1); } if (_global.scren == 14) { men.mapp.gotoAndStop(2); } else { men.mapp.gotoAndStop(1); } if (_global.scren == 17) { men.rest.gotoAndStop(2); } else { men.rest.gotoAndStop(1); } if (_global.scren == 44) { men.pvp.gotoAndStop(2); } else { men.pvp.gotoAndStop(1); } if (_global.tutor < 3) { _root.menuez.men.rest._visible = false; } if (_global.chapt < 1) { _root.menuez.men.pvp._visible = false; } } frame 26 { stop(); } frame 26 { if (_global.scren == 16) { men.sk.enabled = false; } else { men.sk.enabled = true; } if (_global.scren == 14) { men.mapp.enabled = false; } else { men.mapp.enabled = true; } if (_global.scren == 17) { men.rest.enabled = false; } else { men.rest.enabled = true; } if (_global.scren == 44) { men.pvp.enabled = false; } else { men.pvp.enabled = true; } } instance of movieClip 647 { onClipEvent (rollOver) { _root.menz.menz.enabled = true; _root.menz.gotoAndStop(20); _root.menuez.gotoAndPlay(26); } } frame 30 { ii2 = 1; while (ii2 <= 6) { _root['expl' + ii2]._visible = true; ++ii2; } } } movieClip 660 { } movieClip 661 { frame 1 { stop(); } frame 2 { _root.refresh_statpanel(); if (_global.snd_volume > 0) { _root.soundgo(39); } } frame 11 { stop(); } } movieClip 662 { } movieClip 663 { frame 30 { } frame 61 { stop(); } } movieClip 664 { frame 1 { stop(); } frame 35 { stop(); } } frame 15 { function waitcombat(amont) { clearInterval(tipIntWaitc); tipIntWaitc = setInterval(setWaitc, amont); } function setWaitc() { _root.gameturn2(_global.curplayer); clearInterval(tipIntWaitc); } if (_global.snd_curmusic != 3) { _root.soundgo(3); } if (_global.Hpp1 < 1) { _global.Hpp1 = 1; } if (_global.surviv < 2) { _root.survv._visible = false; } _root.fadetoblack(1); _root.starts(); _global.scren = 15; _global.pauze = 0; _global.bufcharge = 1; _global.bufcharge2 = 1; _global.bufchtype = 0; _global.bufchtotal = 0; _global.damagebufstack = 0; _global.specialbufstack = 0; if (_global.bossfight == 1) { _root.p2.gotoAndStop(6); } _root.blood1.swapDepths(150); _root.blood2.swapDepths(140); _root.statz2.swapDepths(109); _root.dark.swapDepths(180); _root.raww.swapDepths(116); _root.bar.swapDepths(190); _root.tut.swapDepths(195); if (_root.statzz.getDepth() < _root.p1.getDepth()) { _root.statzz.swapDepths(_root.p1); } if (_root.statzz.getDepth() < _root.p2.getDepth()) { _root.statzz.swapDepths(_root.p2); } if (_global.Hpp1 < _global.HpMaxp1) { _global.hppos = Math.floor(_global.Hpp1 / (_global.HpMaxp1 / 100)); _global.fixhpposit = (100 - _global.hppos) * -2.57; _root.bar.full._x += _global.fixhpposit; _root.bar.blik._x += _global.fixhpposit; _root.bar.lilblik._x += _global.fixhpposit; } _root.refreshhp(); _root.bar.namep1.text = _global.namep1; _root.bar.namep2.text = _global.namep2; _root.bar.lvlp1.text = _global.slvl + '/' + _global.hlvl; _root.bar.lvlp2.text = _global.slvlp2 + '/' + _global.hlvlp2; stop(); if (_global.bossfight == 1) { if (_global.chapt == 2) { _root.addorbuff(1, 3, 1); } if (_global.chapt == 5) { _root.addorbuff(1, 6, 1); } if (_global.chapt == 9) { _root.addorbuff(1, 9, 1); } if (_global.chapt == 10) { _root.addorbuff(1, 10, 1); } } if (_global.tutor > 2) { _root.waitcombat(1600); } if (_global.tutor < 3) { _global.tutor = 3; _root.tut.gotoAndStop(7); _global.concChance = 0; } if (_global.tutor == 4) { _global.tutor = 5; } } movieClip 679 { frame 1 { stop(); } } movieClip 681 { } movieClip 692 { frame 1 { stop(); } } movieClip 693 { frame 1 { if (this._parent._parent._parent._name == 'p1') { leg1.gotoAndStop(_global.leg1p1); } if (this._parent._parent._parent._name == 'p2') { leg1.gotoAndStop(_global.leg1p2); } } } movieClip 701 { frame 1 { stop(); } } movieClip 702 { frame 1 { if (this._parent._parent._parent._name == 'p1') { leg2.gotoAndStop(_global.leg2p1); } if (this._parent._parent._parent._name == 'p2') { leg2.gotoAndStop(_global.leg2p2); } } } movieClip 758 { frame 1 { stop(); } } movieClip 759 { frame 1 { if (this._parent._parent._parent._name == 'p1') { hand.gotoAndStop(_global.handp1); } if (this._parent._parent._parent._name == 'p2') { hand.gotoAndStop(_global.handp2); } } } movieClip 794 { frame 1 { stop(); } } movieClip 795 { frame 1 { bod.gotoAndStop(_global.bodp1); if (this._parent._parent._parent._name == 'p1') { bod.gotoAndStop(_global.bodp1); } if (this._parent._parent._parent._name == 'p2') { bod.gotoAndStop(_global.bodp2); } } instance bod of movieClip 794 { } } movieClip 798 { } movieClip 799 { frame 1 { if (this._parent._parent._parent._name == 'p1') { hanu.gotoAndStop(_global.hanup1); } if (this._parent._parent._parent._name == 'p2') { hanu.gotoAndStop(_global.hanup2); } } } movieClip 840 { frame 1 { stop(); } } movieClip 841 { frame 1 { if (this._parent._parent._parent._name == 'p1') { hed.gotoAndStop(_global.hedp1); } if (this._parent._parent._parent._name == 'p2') { hed.gotoAndStop(_global.hedp2); } } } movieClip 853 { frame 1 { stop(); } } movieClip 854 { frame 1 { if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } if (!_f) { _f = true; gotoAndPlay(Math.floor(Math.random() * _totalframes)); } } frame 65 { this.gotoAndPlay(2); } } movieClip 855 { frame 1 { _root['dust' + _global.curplayer].gotoAndPlay(2); if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 31 { _root.hitmoment(); } frame 65 { _root.endturn(); } } movieClip 856 { frame 1 { if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 14 { if (_global.stunOn == 0) { this._parent.gotoAndStop(1); } else { this._parent.gotoAndStop(17); } } } movieClip 859 { } movieClip 860 { frame 1 { _root['dust' + _global.curplayer].gotoAndPlay(2); if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 31 { _root.hitmoment(); } frame 65 { _root.endturn(); } } movieClip 861 { frame 1 { if (_root.vic.getDepth() < _root.p1.getDepth()) { _root.vic.swapDepths(_root.p1); } if (_root.vic.getDepth() < _root.p2.getDepth()) { _root.vic.swapDepths(_root.p2); } if (_root.vic.getDepth() < _root.bar.getDepth()) { _root.vic.swapDepths(_root.bar); } if (_root.statzz.getDepth() < _root.p1.getDepth()) { _root.statzz.swapDepths(_root.p1); } if (_root.statzz.getDepth() < _root.p2.getDepth()) { _root.statzz.swapDepths(_root.p2); } if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 41 { _root.endfight(); } frame 67 { _root.vic.gotoAndPlay(2); _root.comb._visible = false; } frame 99 { } frame 100 { stop(); } } movieClip 862 { frame 1 { if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 2 { _global.ohwait = 1; } frame 17 { _root['dust' + _global.othplayer].gotoAndPlay(2); } frame 35 { if (this._parent._parent._name == 'p1') { eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { eye.gotoAndStop(_global.eyep2); } } frame 60 { _global.ohwait = 0; _root.endturn(); } } movieClip 863 { } movieClip 864 { frame 1 { if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 22 { _root.hitmoment(); } frame 36 { _root.onlyblood(); } frame 45 { _root.onlyblood(); } frame 60 { _root.endturn(); } } movieClip 865 { frame 1 { if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 22 { _root.hitmoment(); } frame 36 { _root.onlyblood(); } frame 47 { _root.onlyblood(); } frame 60 { _root.endturn(); } } movieClip 866 { frame 1 { _root['dust' + _global.curplayer].gotoAndPlay(2); if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 31 { _root.hitmoment(); } frame 40 { _root.onlyblood(); } frame 69 { _root.endturn(); } } movieClip 867 { frame 1 { _root['dust' + _global.curplayer].gotoAndPlay(2); if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 20 { _root.hitmoment(); } frame 60 { _root.endturn(); } } movieClip 868 { frame 1 { _root['dust' + _global.curplayer].gotoAndPlay(2); if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 31 { _root.hitmoment(); } frame 70 { _root.endturn(); } } movieClip 869 { frame 1 { _root['dust' + _global.curplayer].gotoAndPlay(2); if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 29 { _root.hitmoment(); } frame 65 { _root.endturn(); } } movieClip 870 { frame 1 { if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 14 { if (_global.stunOn == 0) { this._parent.gotoAndStop(1); } else { this._parent.gotoAndStop(17); } } } movieClip 879 { } movieClip 880 { } movieClip 881 { frame 1 { if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 29 { _root.hitmoment(); } frame 47 { _root.endturn(); } } movieClip 882 { frame 1 { if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 19 { _parent.gotoAndStop(1); } } movieClip 883 { frame 1 { if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 15 { if (_global.stunOn == 0) { this._parent.gotoAndStop(1); } else { this._parent.gotoAndStop(17); } } } movieClip 884 { } movieClip 885 { frame 1 { if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 40 { } } movieClip 890 { } movieClip 899 { frame 1 { if (!_f) { _f = true; gotoAndPlay(Math.floor(Math.random() * _totalframes)); } } } movieClip 900 { } movieClip 901 { frame 1 { if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 29 { _root.hitmoment(); } frame 49 { _root.endturn(); } } movieClip 904 { frame 1 { _root['dust' + _global.curplayer].gotoAndPlay(2); if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 31 { _root.hitmoment(); } frame 65 { _root.endturn(); } } movieClip 905 { frame 1 { _root['dust' + _global.curplayer].gotoAndPlay(2); if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 31 { _root.hitmoment(); } frame 65 { _root.endturn(); } } movieClip 908 { } movieClip 909 { } movieClip 910 { frame 1 { _root['dust' + _global.curplayer].gotoAndPlay(2); if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 31 { _root.hitmoment(); } frame 65 { _root.endturn(); } } movieClip 911 { frame 1 { _root['dust' + _global.curplayer].gotoAndPlay(2); if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 31 { _root.hitmoment(); } frame 65 { _root.endturn(); } } movieClip 912 { frame 1 { if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 15 { _root.hitmoment(); } frame 44 { _root.endturn(); } } movieClip 913 { frame 1 { if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 2 { _global.ohwait = 1; } frame 22 { _root['dust' + _global.othplayer].gotoAndPlay(2); } frame 40 { if (this._parent._parent._name == 'p1') { eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { eye.gotoAndStop(_global.eyep2); } } frame 61 { _global.ohwait = 0; _root.endturn(); } } movieClip 914 { } movieClip 915 { frame 1 { if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 14 { _root.hitmoment(); } frame 29 { _root.onlyblood(); } frame 47 { _root.endturn(); } } movieClip 916 { frame 1 { if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 29 { _root.hitmoment(); } frame 60 { _root.endturn(); } } movieClip 919 { } movieClip 920 { } movieClip 921 { frame 1 { _root['dust' + _global.curplayer].gotoAndPlay(2); if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 31 { _root.hitmoment(); } frame 65 { _root.endturn(); } } movieClip 924 { } movieClip 925 { } movieClip 926 { frame 1 { _root['dust' + _global.curplayer].gotoAndPlay(2); if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 31 { _root.hitmoment(); } frame 65 { _root.endturn(); } } movieClip 927 { frame 1 { if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 22 { _root.hitmoment(); } frame 36 { } frame 45 { } frame 54 { _root.endturn(); } } movieClip 929 { frame 1 { _root['dust' + _global.curplayer].gotoAndPlay(2); if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 34 { _root.hitmoment(); } frame 77 { _root.endturn(); } } movieClip 930 { frame 1 { _root['dust' + _global.curplayer].gotoAndPlay(2); if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } frame 31 { _root.hitmoment(); } frame 65 { _root.endturn(); } } movieClip 933 { } movieClip 952 { frame 1 { stop(); } } movieClip 958 { frame 1 { stop(); } } movieClip 959 { frame 1 { if (this._parent._parent._parent._name == 'p1') { jaw.gotoAndStop(_global.hedp1); } if (this._parent._parent._parent._name == 'p2') { jaw.gotoAndStop(_global.hedp2); } } } movieClip 968 { frame 1 { stop(); } } movieClip 969 { frame 1 { if (this._parent._parent._parent._name == 'p1') { hed.gotoAndStop(_global.hedp1); } if (this._parent._parent._parent._name == 'p2') { hed.gotoAndStop(_global.hedp2); } } } movieClip 970 { frame 1 { if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); jaw.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); hanu2.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); jaw.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); hanu2.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } if (!_f) { _f = true; gotoAndPlay(Math.floor(Math.random() * _totalframes)); } } frame 65 { this.gotoAndPlay(2); } } movieClip 973 { } movieClip 974 { frame 1 { if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); jaw.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); hanu2.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); jaw.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); hanu2.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } if (!_f) { _f = true; gotoAndPlay(Math.floor(Math.random() * _totalframes)); } } frame 65 { this.gotoAndPlay(2); } } movieClip 975 { frame 1 { if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } } } movieClip 976 { frame 1 { if (this._parent._parent._name == 'p1') { hed.gotoAndStop(_global.colorp1); bod.gotoAndStop(_global.colorp1); hand.gotoAndStop(_global.colorp1); hanb.gotoAndStop(_global.colorp1); hanu.gotoAndStop(_global.colorp1); leg1.gotoAndStop(_global.colorp1); leg2.gotoAndStop(_global.colorp1); eye.gotoAndStop(_global.eyep1); } if (this._parent._parent._name == 'p2') { hed.gotoAndStop(_global.colorp2); bod.gotoAndStop(_global.colorp2); hand.gotoAndStop(_global.colorp2); hanb.gotoAndStop(_global.colorp2); hanu.gotoAndStop(_global.colorp2); leg1.gotoAndStop(_global.colorp2); leg2.gotoAndStop(_global.colorp2); eye.gotoAndStop(_global.eyep2); } if (!_f) { _f = true; gotoAndPlay(Math.floor(Math.random() * _totalframes)); } } frame 65 { this.gotoAndPlay(2); } } movieClip 977 { frame 1 { stop(); } frame 60 { gotoAndStop(1); } frame 61 { } } movieClip 978 { frame 1 { stop(); } } movieClip 979 { frame 1 { stop(); } frame 6 { _root.snd_fightBlood(); } } movieClip 982 { } movieClip 983 { frame 1 { if (!_f) { _f = true; gotoAndPlay(Math.floor(Math.random() * (_totalframes - 35))); } } } movieClip 984 { frame 1 { stop(); } frame 51 { if (_global.bufchtotal != 1) { _root.bufplate._y = -54; } } } instance stt of movieClip 459 { onClipEvent (rollOver) { _root.statzz.gotoAndPlay(2); } onClipEvent (rollOut) { _root.statzz.gotoAndPlay(12); } } movieClip 988 { frame 1 { surv.text = 'Survival: ' + (_global.surviv - _global.surv + 1) + ' / ' + _global.surviv; } } movieClip 990 { } instance paus of movieClip 990 { onClipEvent (release) { if (_global.pauze == 0) { _root.p1.p.p.stop(); _root.p2.p.p.stop(); _global.pauze = 1; } else { _root.p1.p.p.play(); _root.p2.p.p.play(); _global.pauze = 0; } } } movieClip 994 { } movieClip 998 { } movieClip 1002 { } movieClip 1004 { frame 1 { stop(); } } movieClip 1006 { } movieClip 1009 { } movieClip 1019 { frame 1 { stop(); dam.text = '- ' + _global.ddealt; } } movieClip 1020 { frame 1 { stop(); } frame 2 { if (_global.critOn == 1) { damm.gotoAndStop(2); } if (_global.dodgeOn == 1) { damm.gotoAndStop(4); } } } movieClip 1021 { frame 1 { stop(); } frame 2 { if (_global.critOn == 1) { damm.gotoAndStop(2); } if (_global.dodgeOn == 1) { damm.gotoAndStop(4); } if (_global.chAttack == -1) { damm.gotoAndStop(3); } } } instance of movieClip 376 { onClipEvent (release) { removeMovieClip(_root.p1); removeMovieClip(_root.p2); removeMovieClip(_root.blood1); removeMovieClip(_root.blood2); _root.starts(); _root.gotoAndStop(14); } } instance menz of movieClip 515 { onClipEvent (rollOver) { _root.menuez.gotoAndPlay(2); _root.menz.enabled = 0; } } movieClip 1030 { frame 1 { stop(); } } movieClip 1040 { frame 1 { if (_global.bossfight == 1) { enbar.gotoAndStop(2); } if (_global.bossfight == 5) { enbar.gotoAndStop(3); } var ia1 = 1; ia1 = 1; while (ia1 <= 5) { if (_global['p1bunam' + ia1] == '') { this['p1bu' + ia1]._visible = false; } if (_global['p2bunam' + ia1] == '') { this['p2bu' + ia1]._visible = false; } ++ia1; } var ic2 = 1; ic2 = 1; while (ic2 <= 5) { _root.bar['p1bu' + ic2].useHandCursor = false; _root.bar['p2bu' + ic2].useHandCursor = false; ++ic2; } } instance p1bu1 of movieClip 487 { onClipEvent (rollOver) { _global.bunam = _global.p1bunam1; _global.butxt = _global.p1butxt1; this._parent.nfo.gotoAndStop(2); } onClipEvent (rollOut) { this._parent.nfo.gotoAndStop(1); } } instance p1bu2 of movieClip 487 { onClipEvent (rollOver) { _global.bunam = _global.p1bunam2; _global.butxt = _global.p1butxt2; this._parent.nfo.gotoAndStop(2); } onClipEvent (rollOut) { this._parent.nfo.gotoAndStop(1); } } instance p1bu3 of movieClip 487 { onClipEvent (rollOver) { _global.bunam = _global.p1bunam3; _global.butxt = _global.p1butxt3; this._parent.nfo.gotoAndStop(2); } onClipEvent (rollOut) { this._parent.nfo.gotoAndStop(1); } } instance p1bu4 of movieClip 487 { onClipEvent (rollOver) { _global.bunam = _global.p1bunam4; _global.butxt = _global.p1butxt4; this._parent.nfo.gotoAndStop(2); } onClipEvent (rollOut) { this._parent.nfo.gotoAndStop(1); } onClipEvent (release) { _root.addorbuff(-1, _global.p1buf4, 1); } } instance p2bu4 of movieClip 487 { onClipEvent (rollOver) { _global.bunam = _global.p2bunam4; _global.butxt = _global.p2butxt4; this._parent.nfo2.gotoAndStop(2); } onClipEvent (rollOut) { this._parent.nfo2.gotoAndStop(1); } } instance p2bu3 of movieClip 487 { onClipEvent (rollOver) { _global.bunam = _global.p2bunam3; _global.butxt = _global.p2butxt3; this._parent.nfo2.gotoAndStop(2); } onClipEvent (rollOut) { this._parent.nfo2.gotoAndStop(1); } } instance p2bu2 of movieClip 487 { onClipEvent (rollOver) { _global.bunam = _global.p2bunam2; _global.butxt = _global.p2butxt2; this._parent.nfo2.gotoAndStop(2); } onClipEvent (rollOut) { this._parent.nfo2.gotoAndStop(1); } } instance p2bu1 of movieClip 487 { onClipEvent (rollOver) { _global.bunam = _global.p2bunam1; _global.butxt = _global.p2butxt1; this._parent.nfo2.gotoAndStop(2); } onClipEvent (rollOut) { this._parent.nfo2.gotoAndStop(1); } } instance p1bu5 of movieClip 487 { onClipEvent (rollOver) { _global.bunam = _global.p1bunam5; _global.butxt = _global.p1butxt5; this._parent.nfo.gotoAndStop(2); } onClipEvent (rollOut) { this._parent.nfo.gotoAndStop(1); } onClipEvent (release) { _root.addorbuff(-1, _global.p1buf5, 1); } } instance p2bu5 of movieClip 487 { onClipEvent (rollOver) { _global.bunam = _global.p2bunam5; _global.butxt = _global.p2butxt5; this._parent.nfo2.gotoAndStop(2); } onClipEvent (rollOut) { this._parent.nfo2.gotoAndStop(1); } } } movieClip 1041 { frame 1 { stop(); } frame 2 { _global.ddealt = _global.poisonp1 + 25; damm.gotoAndStop(3); } } movieClip 1042 { frame 1 { stop(); } frame 2 { _global.ddealt = _global.poisonp2 + 25; damm.gotoAndStop(3); } } movieClip 1067 { frame 1 { stop(); } } instance of movieClip 376 { onClipEvent (release) { _root.clearmodels(); removeMovieClip(_root.raww); removeMovieClip(_root.bar); _root.gotoAndStop(14); } } movieClip 1069 { } movieClip 1072 { } movieClip 1074 { } movieClip 1075 { frame 2 { if (_global.surviv < 2) { surv._visible = false; } if (_global.bossfight != 5) { rarr._visible = false; } } frame 61 { stop(); } } movieClip 1078 { } movieClip 1081 { } movieClip 1083 { frame 1 { stop(); } frame 10 { if (_global.comboop1 > 1) { _root.comb.xx.text = 'x' + _global.comboop1; } if (_global.comboop2 > 1) { _root.comb.xx.text = 'x' + _global.comboop2; } } frame 20 { stop(); } } movieClip 1086 { frame 1 { stop(); } } movieClip 1087 { } movieClip 1090 { } movieClip 1093 { } movieClip 1094 { } movieClip 1095 { frame 1 { stop(); } } movieClip 1117 { frame 1 { stop(); } } movieClip 1121 { frame 1 { if (_global.sklzzxp > 0) { nskill.text = '(new skill available)'; _global.new7 = 1; } else { nskill.text = ''; } if (_global.combxp < 1 and _global.moneyxp < 1 and _global.genxp < 1 and _global.couponxp < 1) { gain1.text = ''; gain2.text = ''; gain3.text = ''; gain4.text = ''; } if (_global.combxp > 0 and _global.moneyxp < 1) { lvv1.gotoAndStop(8); lvv1._x = -28; gain1.text = ''; gain2.text = ''; gain3.text = '+ ' + _global.combxp + ' Skill Experience'; gain4.text = ''; } if (_global.combxp > 0 and _global.moneyxp > 0 and _global.genxp < 1 and _global.couponxp < 1) { lvv1.gotoAndStop(8); lvv2.gotoAndStop(7); lvv1._x = -57.4; lvv2._x = 4.8; gain1.text = ''; gain2.text = '+ ' + _global.combxp + ' Skill Experience'; gain3.text = '+ $' + _global.moneyxp; gain4.text = ''; } if (_global.combxp > 0 and _global.moneyxp > 0 and _global.genxp > 0 and _global.couponxp < 1) { lvv1.gotoAndStop(8); lvv2.gotoAndStop(7); lvv3.gotoAndStop(11); lvv1._x = -90.2; lvv2._x = -28; lvv3._x = 34.2; gain1.text = ''; gain2.text = '+ ' + _global.combxp + ' Skill Experience'; gain3.text = '+ $' + _global.moneyxp; gain4.text = '+ ' + _global.genxp + ' Gen'; } if (_global.combxp > 0 and _global.moneyxp > 0 and _global.genxp < 1 and _global.couponxp > 0) { lvv1.gotoAndStop(8); lvv2.gotoAndStop(7); lvv3.gotoAndStop(10); lvv1._x = -90.2; lvv2._x = -28; lvv3._x = 34.2; gain1.text = ''; gain2.text = '+ ' + _global.combxp + ' Skill Experience'; gain3.text = '+ $' + _global.moneyxp; gain4.text = '+ ' + _global.couponxp + ' Chief Coupon'; } if (_global.combxp > 0 and _global.moneyxp > 0 and _global.genxp > 0 and _global.couponxp > 0) { lvv1.gotoAndStop(8); lvv2.gotoAndStop(7); lvv3.gotoAndStop(11); lvv4.gotoAndStop(10); gain1.text = '+ ' + _global.combxp + ' Skill Experience'; gain2.text = '+ $' + _global.moneyxp; gain3.text = '+ ' + _global.genxp + ' Gen'; gain4.text = '+ ' + _global.couponxp + ' Chief Coupon'; } } } movieClip 1123 { } movieClip 1124 { frame 1 { stop(); } frame 2 { if (_global.win == 0) { _root.vic.vi.gotoAndStop(2); _root.vic.bl.gotoAndStop(2); } _root.paus.enabled = false; _root.skilnam.text = ''; } instance of movieClip 371 { onClipEvent (release) { } onClipEvent (rollOver) { var srs = _root.vic.m6; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.vic.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } frame 5 { if (_global.snd_volume > 0) { _root.soundgo(40); } } frame 40 { if (_global.snd_volume > 0) { _root.soundgo(39); } } instance of movieClip 371 { onClipEvent (release) { _root.bufffullreset(); removeMovieClip(_root.p1); removeMovieClip(_root.p2); removeMovieClip(_root.blood1); removeMovieClip(_root.blood2); removeMovieClip(_root.todark); removeMovieClip(_root.bar); removeMovieClip(_root.statz2); removeMovieClip(_root.vic); if (_global.bossfight == 0) { _global.Hpp1 = _global.hitpointsnap; } if (_global.achget < 1) { if (_global.bossfight == 0) { _root.gotoAndStop(44); } _root.gotoAndStop(14); } else { _root.gotoAndStop(24); } } onClipEvent (rollOver) { var srs = _root.vic.m6; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.vic.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } frame 70 { stop(); } } movieClip 1127 { } movieClip 1132 { frame 1 { stop(); } } movieClip 1135 { } movieClip 1143 { } movieClip 1145 { } movieClip 1147 { } movieClip 1149 { } movieClip 1151 { } movieClip 1153 { } movieClip 1154 { frame 1 { stop(); } } movieClip 1162 { } movieClip 1163 { frame 1 { tipz._visible = false; if (_global.chapt > 0 and _global.chapt < 2 and _global.tutorconcentration == 0) { gotoAndPlay(10); } if (_global.chapt > 1 and _global.tutorconcentration == 0) { gotoAndPlay(35); } if (_global.chapt < 1 or _global.tutorconcentration == 1) { _global.tutorconcentration = 0; tipz._visible = true; rem.text = 'Tutorial'; stop(); } } frame 151 { stop(); _root.concKeyOff(false); if (_global.concFail != -1) { _global.concFail = 1; _root.concind.gotoAndPlay(81); _root.raww.gotoAndPlay(26); } } } movieClip 1164 { instance b3 of movieClip 1132 { onClipEvent (release) { if (_global.snd_volume > 0) { _root.soundgo(13); } _root.concKeypressed(3); } onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } } instance b2 of movieClip 1132 { onClipEvent (release) { if (_global.snd_volume > 0) { _root.soundgo(13); } _root.concKeypressed(2); } onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } } instance b1 of movieClip 1132 { onClipEvent (release) { if (_global.snd_volume > 0) { _root.soundgo(13); } _root.concKeypressed(1); } onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } } instance b6 of movieClip 1132 { onClipEvent (release) { if (_global.snd_volume > 0) { _root.soundgo(13); } _root.concKeypressed(6); } onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } } instance b5 of movieClip 1132 { onClipEvent (release) { if (_global.snd_volume > 0) { _root.soundgo(13); } _root.concKeypressed(5); } onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } } instance b4 of movieClip 1132 { onClipEvent (release) { if (_global.snd_volume > 0) { _root.soundgo(13); } _root.concKeypressed(4); } onClipEvent (rollOver) { this.gotoAndStop(2); } onClipEvent (rollOut) { this.gotoAndStop(1); } } } movieClip 1165 { frame 1 { stop(); } frame 2 { if (_global.snd_volume > 0) { _root.soundgo(40); } _global.concPress = 0; _root.concKeyOff(false); _root.raww.pla.plt.gotoAndStop(1); _root.raww.pla.sh1._visible = false; _root.raww.pla.sh2._visible = false; _root.raww.pla.sh3._visible = false; var rn0 = 1; var zi3 = 1; zi3 = 7; while (zi3 <= 9) { rn0 = _root.randRange(13, 18); _root.raww.pla['c' + zi3].gotoAndStop(rn0); _global['concTablo' + (zi3 - 6)] = rn0 - 12; ++zi3; } var concMode = _root.randRange(1, 2); _global.concButton1 = 0; _global.concButton2 = 0; _global.concButton3 = 0; _global.concButton4 = 0; _global.concButton5 = 0; _global.concButton6 = 0; var concCheck = 0; var zi4 = 1; var rn2 = 1; zi4 = 1; while (zi4 <= 6) { concCheck = 0; while (concCheck == 0) { rn2 = _root.randRange(1, 6); if (_global['concButton' + rn2] == 0) { concCheck = 1; _global['concButton' + rn2] = zi4; } } if (concMode == 1) { _root.raww.pla['c' + rn2].gotoAndStop(zi4); } if (concMode == 2) { _root.raww.pla['c' + rn2].gotoAndStop(zi4 + 6); } ++zi4; } if (_root.p1.getDepth() > _root.raww.getDepth()) { _root.p1.swapDepths(_root.raww); } if (_root.p2.getDepth() > _root.raww.getDepth()) { _root.p2.swapDepths(_root.raww); } } frame 19 { _root.concKeyOff(true); } frame 25 { stop(); } frame 26 { _root.concKeyOff(false); _root.raww.pla.c1.gotoAndStop(19); _root.raww.pla.c2.gotoAndStop(19); _root.raww.pla.c3.gotoAndStop(19); _root.raww.pla.c4.gotoAndStop(19); _root.raww.pla.c5.gotoAndStop(19); _root.raww.pla.c6.gotoAndStop(19); } frame 45 { _root.gameturn2(_global.curplayer); } } movieClip 1168 { } movieClip 1171 { } movieClip 1174 { frame 1 { stop(); } } movieClip 1176 { } movieClip 1177 { frame 1 { stop(); } frame 2 { if (_root.hpup.getDepth() < _root.p1.getDepth()) { _root.hpup.swapDepths(_root.p1); } if (_root.hpup.getDepth() < _root.p2.getDepth()) { _root.hpup.swapDepths(_root.p2); } _root.hpup.hpup.gotoAndStop(_global.bufcharge); _root.soundgo(15); } instance of movieClip 1176 { onClipEvent (release) { _root.soundgo(13); _root.clickoncharge(_global.bufcharge); this._parent.gotoAndPlay(85); } } } movieClip 1186 { frame 1 { stop(); } } movieClip 1189 { } movieClip 1190 { frame 1 { stop(); } frame 10 { if (_global.snd_volume > 0) { _root.soundgo(39); } } frame 80 { gotoAndStop(1); } frame 161 { gotoAndStop(1); } } movieClip 1191 { frame 1 { stop(); } frame 2 { if (_root.hpup2.getDepth() < _root.p1.getDepth()) { _root.hpup2.swapDepths(_root.p1); } if (_root.hpup2.getDepth() < _root.p2.getDepth()) { _root.hpup2.swapDepths(_root.p2); } _root.hpup2.hpup.gotoAndStop(_global.bufcharge2); _root.soundgo(15); } instance of movieClip 1176 { onClipEvent (release) { _root.soundgo(13); _root.clickoncharge(_global.bufcharge2); this._parent.gotoAndPlay(85); } } } frame 16 { _global.scren = 16; stop(); if (_global.snd_volume > 0) { _root.soundgo(14); } if (_global.tutor < 3) { _root.menuez.men.sk._visible = false; _root.menuez.men.rs._visible = false; } _root.fadetoblack(1); _root.clearmodels(); _root.tolt._visible = false; _global.bmTotal = 1; _root.abi.bm1.amount.text = _global.bmAm1; _root.abi.bm2.amount.text = _global.bmAm2; var z3 = 1; z3 = 1; while (z3 <= 11) { _root.abi['ab' + z3].pos = z3; _root.abi['ab' + z3].typ = 1; if (z3 <= _global.sklopens) { _root.abi['ab' + z3].cnum = 2; } else { _root.abi['ab' + z3].cnum = 1; } ++z3; } var i4 = 1; i4 = 1; while (i4 <= _global.sklam) { if (_global.actnum >= i4 and _global.actnum > 0) { _root.abi['ab' + i4].cnum = _global['sActive' + i4]; } if (_global.passnum + _global.actnum >= i4 and _global.actnum < i4 and _global.passnum > 0) { _root.abi['ab' + i4].cnum = _global['sPassive' + (i4 - _global.actnum)]; } ++i4; } _root.skillcRefresh(); _root.abi.icone.enabled = false; _root.fixbm(1); if (_global.tutor == 1) { _global.tutor = 2; _root.tut.gotoAndStop(4); } if (_global.bookMarkGo == 2) { _global.bmTotal = 2; _global.bmSkill = 2; _root.abi.bm2._x = -124; _root.abi.bm1._x = -116; _root.fixbm(2); } } movieClip 1197 { } movieClip 1201 { } movieClip 1204 { } movieClip 1212 { frame 1 { stop(); } } movieClip 1215 { frame 1 { stop(); } } movieClip 1217 { } movieClip 1227 { frame 1 { stop(); } } movieClip 1230 { } movieClip 1231 { frame 1 { stop(); } } movieClip 1232 { } movieClip 1233 { frame 1 { stop(); } } movieClip 1234 { } movieClip 1235 { frame 1 { stop(); } } movieClip 1242 { instance bm1 of movieClip 1197 { onClipEvent (release) { _global.bookMarkGo = 1; if (_global.snd_volume > 0) { _root.soundgo(14); } if (_global.bmTotal != 1) { _global.bmTotal = 1; _global.bmSkill = 1; this._x = -122; _root.abi.bm2._x = -116; _root.fixbm(1); } } onClipEvent (rollOver) { this._xscale = 107; this._yscale = 107; _root.tolt._visible = true; _root.tolt._y = 180; _root.tolt.tolt.text = 'Active Skills'; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; _root.tolt._visible = false; } } instance bm2 of movieClip 1201 { onClipEvent (release) { _global.bookMarkGo = 2; if (_global.snd_volume > 0) { _root.soundgo(14); } if (_global.bmTotal != 2) { _global.bmTotal = 2; _global.bmSkill = 2; this._x = -124; _root.abi.bm1._x = -116; _root.fixbm(2); } } onClipEvent (rollOver) { this._xscale = 107; this._yscale = 107; _root.tolt._visible = true; _root.tolt._y = 256; _root.tolt.tolt.text = 'Passive Skills'; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; _root.tolt._visible = false; } } } movieClip 1244 { } movieClip 1245 { frame 1 { stop(); } frame 10 { if (this.behav == 1) { stop(); this.behav = 2; } } } instance mm6 of movieClip 1244 { onClipEvent (release) { _root.globalizationn(); _root.clearmodels(); _root.gotoAndStop(14); } onClipEvent (rollOver) { var srs = _root.m6; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance mm8 of movieClip 1244 { onClipEvent (release) { if (_global.snd_volume > 0) { _root.soundgo(14); } if (_global['pageBm' + _global.bmTotal] * 12 < _global['bmAm' + _global.bmTotal]) { _root.abi.lighter._x = -600; _global['pageBm' + _global.bmTotal] += 1; _root.fixbm(_global.bmTotal); _root.crysnotenough(); } } onClipEvent (rollOver) { _root.snd_blackbutton(); var srs = _root.m8; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.m8; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance mm7 of movieClip 1244 { onClipEvent (release) { if (_global.snd_volume > 0) { _root.soundgo(14); } if (_global['pageBm' + _global.bmTotal] > 1) { _root.abi.lighter._x = -600; _global['pageBm' + _global.bmTotal] -= 1; _root.fixbm(_global.bmTotal); _root.crysnotenough(); } } onClipEvent (rollOver) { _root.snd_blackbutton(); var srs = _root.m7; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.m7; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance stt of movieClip 459 { onClipEvent (rollOver) { _root.statzz.gotoAndPlay(2); } onClipEvent (rollOut) { _root.statzz.gotoAndPlay(12); } } instance menz of movieClip 515 { } movieClip 1252 { frame 1 { } frame 3 { _root.crysnotenough2(); stop(); } } movieClip 1255 { } frame 17 { _root.fadetoblack(1); if (_global.snd_volume > 0) { _root.soundgo(14); } stop(); _root.clearmodels(); _global.scren = 17; _root.tolt._visible = false; _root.bar.namep1.text = _global.namep1; _root.bar.lvlp1.text = _global.slvl + '/' + _global.hlvl; _root.refreshhp(); _root.refreshcale(); _root.bar.blik._visible = 0; if (_global.Hpp1 < _global.HpMaxp1) { _global.hppos = Math.floor(_global.Hpp1 / (_global.HpMaxp1 / 100)); _global.fixhpposit = (100 - _global.hppos) * -2.57; _root.bar.full._x += _global.fixhpposit; _root.bar.blik._x += _global.fixhpposit; _root.bar.lilblik._x += _global.fixhpposit; } _global.bmTotal = 4; _root.abi.bm3.amount.text = _global.bmAm3; _root.abi.bm4.amount.text = _global.bmAm4; _root.fixbm(4); _root.abi.icone.enabled = false; _root.foodok.icone.enabled = false; _root.abi.icone.amount._visible = false; if (_global.tutor == 3) { _global.tutor = 4; } if (_global.bookMarkFoodGo == 2) { _global.bmTotal = 3; _global.bmFood = 1; _root.abi.bm3._x = -259; _root.abi.bm4._x = -255; _root.abi.cost.text = ''; _root.fixbm(3); } if (_global.bmTotal == 3 and _global.bmAm3 < 1) { _root.abi.lighter._x = -600; } } movieClip 1258 { } movieClip 1262 { } movieClip 1266 { } movieClip 1270 { instance bm3 of movieClip 1262 { onClipEvent (release) { _global.bookMarkFoodGo = 2; if (_global.snd_volume > 0) { _root.soundgo(14); } if (_global.bmTotal != 3) { _root.abi.cost.text = ''; _global.bmTotal = 3; _global.bmFood = 1; this._x = -259; _root.abi.bm4._x = -255; _root.fixbm(3); if (_global.bmTotal == 3 and _global.bmAm3 < 1) { _root.abi.lighter._x = -600; } } } onClipEvent (rollOver) { this._xscale = 107; this._yscale = 107; _root.tolt._visible = true; _root.tolt._y = 256; _root.tolt.tolt.text = 'Ingredients'; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; _root.tolt._visible = false; } } instance bm4 of movieClip 1266 { onClipEvent (release) { _global.bookMarkFoodGo = 1; if (_global.snd_volume > 0) { _root.soundgo(14); } if (_global.bmTotal != 4) { _root.abi.cost.text = ''; _global.bmTotal = 4; _global.bmFood = 2; this._x = -260; _root.abi.bm3._x = -249; _root.fixbm(4); } } onClipEvent (rollOver) { this._xscale = 107; this._yscale = 107; _root.tolt._visible = true; _root.tolt._y = 180; _root.tolt.tolt.text = 'Recipes'; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; _root.tolt._visible = false; } } } instance mm6 of movieClip 1244 { onClipEvent (release) { _root.clearmodels(); _root.gotoAndStop(14); } onClipEvent (rollOver) { var srs = _root.m6; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance mm16 of movieClip 371 { onClipEvent (release) { _global.hpeat = 20; _global.helxp = 0; _global.foodnumb = 0; _global.foodtypanim = -1; _global.buffnump1 = 1; _global.p1bunam1 = 'Hunger'; _global.p1butxt1 = '<b>Bad Effect: </b>- 35 damage for physical attacks and - 35 damage for psy attacks in next combat.'; _root.bonusover(); _root.bonusreset(); _global.bphysdmgp1 += -35; _global.physdmgp1 += _global.bphysdmgp1; _global.bpsydmgp1 += -35; _global.psydmgp1 += _global.bpsydmgp1; _root.gotoAndStop(18); } onClipEvent (rollOver) { var srs = _root.m16; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.m16; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } movieClip 1281 { instance of movieClip 1244 { onClipEvent (release) { removeMovieClip(_root.p1); _root.buttonson(true); _root.abi['a' + _global.clickon].foodgo(); } onClipEvent (rollOver) { var srs = _root.foodok.m61; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.foodok.m61; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance of movieClip 1244 { onClipEvent (release) { _root.foodok._x = -374; _root.buttonson(true); } onClipEvent (rollOver) { var srs = _root.foodok.m62; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.foodok.m62; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } } frame 18 { _root.fadetoblack(1); _global.scren = 18; stop(); if (_global.snd_fx > 0) { _root.s_Various1.start(0, 999); } _global.inffood += 1; _root.dayend(); if (_global.foodtypanim == -1) { _root.p1.p.gotoAndStop(43); if (_global.p1bunam1 == 'Hunger') { _root.p1.p.fo.sta._visible = false; } } else { _root.p1.p.gotoAndStop(42); _root.p1.p.fo.di.gotoAndStop(_global.foodtypanim); } if (_root.statzz.getDepth() < _root.p1.getDepth()) { _root.statzz.swapDepths(_root.p1); } if (_root.bar.getDepth() < _root.p1.getDepth()) { _root.bar.swapDepths(_root.p1); } _root.m6._visible = false; _root.mm6._visible = false; _root.mt6._visible = false; _root.bar.namep1.text = _global.namep1; _root.bar.lvlp1.text = _global.slvl + '/' + _global.hlvl; _root.refreshhp(); _root.bar.blik._visible = 0; if (_global.Hpp1 < _global.HpMaxp1) { _global.hppos = Math.floor(_global.Hpp1 / (_global.HpMaxp1 / 100)); _global.fixhpposit = (100 - _global.hppos) * -2.57; _root.bar.full._x += _global.fixhpposit; _root.bar.blik._x += _global.fixhpposit; _root.bar.lilblik._x += _global.fixhpposit; } _root.resta.text = 'Rest: ' + _global.hpeat + ' Hp / 2 sec.'; _root.exptxt.text = 'Health Exp: + ' + _global.helxp; _global.starteat = 1; _root.hpeat(2000); } instance of movieClip 371 { onClipEvent (release) { _global.starteat = 1; _global.hpeat = Math.floor((_global.HpMaxp1 / 100) * 1); _root.hpeat(2000); } onClipEvent (rollOver) { var srs = _root.m7; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.m7; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance of movieClip 371 { onClipEvent (release) { _global.starteat = 1; _global.hpeat = 2000; _root.hpeat(2000); } onClipEvent (rollOver) { var srs = _root.m8; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.m8; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance of movieClip 371 { onClipEvent (release) { _global.starteat = 1; _global.hpeat = Math.floor((_global.HpMaxp1 / 100) * 5); _root.hpeat(2000); } onClipEvent (rollOver) { var srs = _root.m9; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.m9; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance mm6 of movieClip 1244 { onClipEvent (release) { _root.endeat(); } onClipEvent (rollOver) { var srs = _root.m6; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance of movieClip 459 { onClipEvent (rollOver) { _root.statzz.gotoAndPlay(2); } onClipEvent (rollOut) { _root.statzz.gotoAndPlay(12); } } movieClip 1290 { frame 1 { _global.consummm = 0; } frame 80 { stop(); _global.consummm = 1; if (_global.Hpp1 >= _global.HpMaxp1) { _root.endeat(); } _root.m6._visible = true; _root.mm6._visible = true; _root.mt6._visible = true; } } frame 19 { _root.howmuchachi(); _root.clearmodels(); removeMovieClip(_root.statzz); _root.fadetoblack(1); if (_global.slvl >= 99) { _global.sxp = _global.sxpmax; } if (_global.hlvl >= 99) { _global.hxp = _global.hxpmax; } _root.refreshxp(); _root.p1.p.gotoAndStop(1); if (_root.yb.getDepth() < _root.p1.getDepth()) { _root.yb.swapDepths(_root.p1); } stop(); } movieClip 1293 { } instance butn1 of movieClip 371 { onClipEvent (release) { if (com.tremorgames.TremorGames.IsGameInTremorNetwork()) { com.tremorgames.TremorGames.PostStat('Skill Level', _global.slvl); com.tremorgames.TremorGames.PostStat('Health Level', _global.hlvl); } _root.clearmodels(); if (_global.lvlupgo == 1) { _global.rskillpoints += 1; } _global.lvlupgo = 0; _global.maindisable = 0; _root.gotoAndStop(14); } onClipEvent (rollOver) { var srs = _root.m6; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } movieClip 1298 { } movieClip 1306 { frame 1 { if (_global.lvlupgo == 1) { graz.text = 'Skill Level Up!'; nskill.text = '(new skill available)'; _global.new7 = 1; } if (_global.lvlupgo == 2) { graz.text = 'Health Level Up!'; nskill.text = ''; } if (_global.lvluslot > 0) { gain1.text = '+1 Skill Slot'; lvv1.gotoAndStop(6); } else { gain1.text = ''; } if (_global.lvlupgo == 1 and _global.lvluslot < 1) { lvv2._x -= 30; lvv3._x -= 30; } if (_global.lvluhp > 0) { gain2.text = '+' + _global.lvluhp + ' Max HP'; lvv2.gotoAndStop(2); } if (_global.lvlucrw > 0) { gain2.text = '+1 White Gem'; lvv2.gotoAndStop(3); } if (_global.lvlucr == 2) { gain3.text = '+1 Red Gem'; lvv3.gotoAndStop(4); } if (_global.lvlucr == 3) { gain3.text = '+1 Yellow Gem'; lvv3.gotoAndStop(5); } if (_global.lvlucr == 4) { gain3.text = '+1 Blue Gem'; lvv3.gotoAndStop(2); } if (_global.lvlucr < 1) { gain3.text = ''; } } frame 90 { gotoAndPlay(2); } } movieClip 1307 { frame 50 { if (_global.snd_volume > 0) { _root.soundgo(40); } } frame 60 { if (_global.lvlupgo == 1) { _root.xpbli._y = 379; _root.xpbli.gotoAndPlay(2); } if (_global.lvlupgo == 2) { _root.xpbli._y = 404; _root.xpbli.gotoAndPlay(2); } } frame 89 { stop(); } } movieClip 1309 { } movieClip 1310 { frame 1 { _root.butn1.enabled = false; } frame 75 { stop(); _root.butn1.enabled = true; } } frame 20 { stop(); } frame 21 { _global.maxachpoints = _global.rawr1.data.maxachpoints; if (_global.maxachpoints == undefined) { _global.maxachpoints = 0; } var unlockez1 = 35; var unlockez2 = 70; var unlockez3 = 90; _global.dificl = 0.6; _root.tremo._visible = false; _root.staty.text = ''; _root.lockx1._visible = true; _root.lockx2._visible = true; _root.lockx3._visible = true; if (_global.maxachpoints >= unlockez1 or _global.unlockee1 == 1) { _root.lockx1._visible = false; _global.unlockee1 = 1; } if (_global.maxachpoints >= unlockez2 or _global.unlockee2 == 1) { _root.lockx2._visible = false; _global.unlockee2 = 1; } if (_global.maxachpoints >= unlockez3 or _global.unlockee3 == 1) { _root.lockx3._visible = false; _global.unlockee3 = 1; } if (_global.hedp1 == 8 and _global.unlockee1 == 0) { _root.m7._visible = false; _root.mm7._visible = false; _root.mt7._visible = false; } else { _root.m7._visible = true; _root.mm7._visible = true; _root.mt7._visible = true; } if (_global.hedp1 == 6 and _global.unlockee2 == 0) { _root.m7._visible = false; _root.mm7._visible = false; _root.mt7._visible = false; } else { _root.m7._visible = true; _root.mm7._visible = true; _root.mt7._visible = true; } if (_global.hedp1 == 12 and _global.unlockee3 == 0) { _root.m7._visible = false; _root.mm7._visible = false; _root.mt7._visible = false; } else { _root.m7._visible = true; _root.mm7._visible = true; _root.mt7._visible = true; } if (_global.hedp1 == 1) { _root.starch._y = 40; _root.racex.text = 'Cthu'; _root.statx.text = '+10 Psy Damage,\r+1% Special Chance.'; } if (_global.hedp1 == 5) { _root.starch._y = 90; _root.racex.text = 'Unicorn'; _root.statx.text = '+50 Hit Points,\r+1% Stun Chance.'; } if (_global.hedp1 == 4) { _root.starch._y = 139; _root.racex.text = 'Wild'; _root.statx.text = '+5 Physical Damage,\r+1% Combo Chance.'; } if (_global.hedp1 == 8) { _root.starch._y = 188; _root.racex.text = 'Smoke'; _root.statx.text = '+40 Psy Damage,\r+5% Crit Chance.'; if (_global.unlockee1 == 0) { _root.staty.text = 'Collect ' + unlockez1 + ' Achievement Points to unlock'; if (com.tremorgames.TremorGames.IsGameInTremorNetwork()) { _root.tremo._visible = true; } } } if (_global.hedp1 == 6) { _root.starch._y = 237; _root.racex.text = 'Corvin'; _root.statx.text = '+5% Special Chance,\r+5% Dodge Chance.'; if (_global.unlockee2 == 0) { _root.staty.text = 'Collect ' + unlockez2 + ' Achievement Points to unlock'; if (com.tremorgames.TremorGames.IsGameInTremorNetwork()) { _root.tremo._visible = true; } } } if (_global.hedp1 == 12) { _root.starch._y = 287; _root.racex.text = 'Croc'; _root.statx.text = '+45 Physical Damage.\r+5% Combo Chance.'; if (_global.unlockee3 == 0) { _root.staty.text = 'Collect ' + unlockez3 + ' Achievement Points to unlock'; if (com.tremorgames.TremorGames.IsGameInTremorNetwork()) { _root.tremo._visible = true; } } } stop(); _root.nam.text = _global.namep1; _root.nam.maxChars = 16; Selection.setFocus(_root.nam); } movieClip 1319 { } instance tremo of movieClip 1319 { onClipEvent (release) { if (_global.hedp1 == 8) { com.tremorgames.TremorGames.BuyItem(1051, BuyItemComplete, 1); _global.namep1 = _root.nam.text; _root.gotoAndStop(35); } if (_global.hedp1 == 6) { com.tremorgames.TremorGames.BuyItem(1052, BuyItemComplete, 1); _global.namep1 = _root.nam.text; _root.gotoAndStop(35); } if (_global.hedp1 == 12) { com.tremorgames.TremorGames.BuyItem(1053, BuyItemComplete, 1); _global.namep1 = _root.nam.text; _root.gotoAndStop(35); } } } instance mm1 of movieClip 371 { onClipEvent (release) { _global.hedp1 = 1; _global.namep1 = _root.nam.text; _root.gotoAndStop(35); } onClipEvent (rollOver) { var srs = _root.m1; srs.gotoAndPlay(2); srs.behav = 1; var srs2 = _root.shl; srs2._y = this._y; srs2.gotoAndPlay(1); _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m1; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance mm2 of movieClip 371 { onClipEvent (release) { _global.hedp1 = 5; _global.namep1 = _root.nam.text; _root.gotoAndStop(35); } onClipEvent (rollOver) { var srs = _root.m2; srs.gotoAndPlay(2); srs.behav = 1; var srs2 = _root.shl; srs2._y = this._y; srs2.gotoAndPlay(1); _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m2; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance mm1 of movieClip 371 { onClipEvent (release) { _global.hedp1 = 4; _global.namep1 = _root.nam.text; _root.gotoAndStop(35); } onClipEvent (rollOver) { var srs = _root.m3; srs.gotoAndPlay(2); srs.behav = 1; var srs2 = _root.shl; srs2._y = this._y; srs2.gotoAndPlay(1); _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m3; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance mm2 of movieClip 371 { onClipEvent (release) { _global.hedp1 = 8; _global.namep1 = _root.nam.text; _root.gotoAndStop(35); } onClipEvent (rollOver) { var srs = _root.m4; srs.gotoAndPlay(2); srs.behav = 1; var srs2 = _root.shl; srs2._y = this._y; srs2.gotoAndPlay(1); _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m4; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance mm1 of movieClip 371 { onClipEvent (release) { _global.hedp1 = 6; _global.namep1 = _root.nam.text; _root.gotoAndStop(35); } onClipEvent (rollOver) { var srs = _root.m5; srs.gotoAndPlay(2); srs.behav = 1; var srs2 = _root.shl; srs2._y = this._y; srs2.gotoAndPlay(1); _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m5; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance mm2 of movieClip 371 { onClipEvent (release) { _global.hedp1 = 12; _global.namep1 = _root.nam.text; _root.gotoAndStop(35); } onClipEvent (rollOver) { var srs = _root.m6; srs.gotoAndPlay(2); srs.behav = 1; var srs2 = _root.shl; srs2._y = this._y; srs2.gotoAndPlay(1); _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance mm7 of movieClip 371 { onClipEvent (release) { if (_root.nam.text != '') { var okaycheckz = 1; if (_global.hedp1 == 8 and _root.lockx1._visible == true) { okaycheckz = 0; } if (_global.hedp1 == 6 and _root.lockx2._visible == true) { okaycheckz = 0; } if (_global.hedp1 == 12 and _root.lockx3._visible == true) { okaycheckz = 0; } if (okaycheckz == 1) { _global.namep1 = _root.nam.text; if (_global.hedp1 == 1) { _global.psydmgp1 += 10; _global.specialp1 += 1; } if (_global.hedp1 == 5) { _global.HpMaxp1 += 50; _global.Hpp1 = _global.HpMaxp1; _global.stunp1 += 1; } if (_global.hedp1 == 4) { _global.physdmgp1 += 5; _global.doublep1 += 1; } if (_global.hedp1 == 8) { _global.psydmgp1 += 40; _global.critp1 += 5; } if (_global.hedp1 == 6) { _global.specialp1 += 5; _global.dodgep1 += 5; } if (_global.hedp1 == 12) { _global.physdmgp1 += 45; _global.doublep1 += 5; } _global.newchapter = 1; _root.savegame(_global.savslot); _root.clearmodels(); _root.gotoAndStop(42); } } } onClipEvent (rollOver) { var srs = _root.m7; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m7; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance of movieClip 371 { onClipEvent (release) { _global.namep1 = _root.nam.text; _root.gotoAndStop(35); } onClipEvent (rollOver) { var srs = _root.m6; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } movieClip 1331 { } frame 22 { _root.fadetoblack(1); stop(); _global.scren = 22; if (_global.new4 != 0) { _global.new4 = 0; } _root.foodok.icone.enabled = false; _root.recipegenerate(); _root.refreshcale(); if (_global.buyfood1 == 0) { var bfod = randRange(1, 6); if (bfod == 1) { _global.buyfood1 = 6; } if (bfod == 2) { _global.buyfood1 = 10; } if (bfod == 3) { _global.buyfood1 = 11; } if (bfod == 4) { _global.buyfood1 = 12; } if (bfod == 5) { _global.buyfood1 = 13; } if (bfod == 6) { _global.buyfood1 = 17; } _global.buyfoodam1 = randRange(3, 5); _global.buyfood2 = randRange(3, 22); _global.buyfood3 = randRange(3, 22); while (_global.buyfood2 == 6 or _global.buyfood2 == 10 or _global.buyfood2 == 11 or _global.buyfood2 == 12 or _global.buyfood2 == 13 or _global.buyfood2 == 17) { _global.buyfood2 = randRange(3, 22); } while (_global.buyfood3 == 6 or _global.buyfood3 == 10 or _global.buyfood3 == 11 or _global.buyfood3 == 12 or _global.buyfood3 == 13 or _global.buyfood3 == 17 or _global.buyfood3 == _global.buyfood2) { _global.buyfood3 = randRange(3, 22); } _global.buyfoodam2 = randRange(1, 5); _global.buyfoodam3 = randRange(1, 5); } _root.abi.a1.cnum = _global.buyfood1; _root.abi.a2.cnum = _global.buyfood2; _root.abi.a3.cnum = _global.buyfood3; _root.abi.a1.packsiz = _global.buyfoodam1; _root.abi.a2.packsiz = _global.buyfoodam2; _root.abi.a3.packsiz = _global.buyfoodam3; iz2 = 1; while (iz2 <= 4) { _root.abi['a' + iz2].pos = iz2; _root.abi['a' + iz2].typ = 3; _root.abi['a' + iz2].coold = -1; _root.abi['a' + iz2].gotoAndStop(_root.abi['a' + iz2].cnum); _root.abi['a' + iz2].amount._visible = false; _root.dataabilsf(_root.abi['a' + iz2].cnum, iz2, 1); ++iz2; } iz3 = 1; while (iz3 <= 3) { if (_root.abi['a' + iz3].rar == 1 and _root.abi['a' + iz3].packsiz < 3 and _global['buyfoodam' + iz3] > 0) { _root.abi['a' + iz3].packsiz = 5; _global['buyfoodam' + iz3] = 5; } if (_root.abi['a' + iz3].rar == 2 and _root.abi['a' + iz3].packsiz > 3 and _global['buyfoodam' + iz3] > 0) { _root.abi['a' + iz3].packsiz = 1; _global['buyfoodam' + iz3] = 1; } if (_root.abi['a' + iz3].rar == 3 and _global['buyfoodam' + iz3] > 0) { _root.abi['a' + iz3].packsiz = 1; _global['buyfoodam' + iz3] = 1; } _root['cas' + iz3].text = '$' + _root.abi['a' + iz3].cashh * _root.abi['a' + iz3].packsiz; _root['pak' + iz3].text = 'x' + _root.abi['a' + iz3].packsiz; if (_root.abi['a' + iz3].packsiz > 1) { _root['pak' + iz3].text += ' pack'; } ++iz3; } if (_global.buyfoodam1 == -1) { _root.abi.a1.cashh = -1; _root.cas1.text = 'sold out'; _root.pak1.text = ''; } if (_global.buyfoodam2 == -1) { _root.abi.a2.cashh = -1; _root.cas2.text = 'sold out'; _root.pak2.text = ''; } if (_global.buyfoodam3 == -1) { _root.abi.a3.cashh = -1; _root.cas3.text = 'sold out'; _root.pak3.text = ''; } _root.abi.a1.over(-1); } movieClip 1333 { } movieClip 1335 { } movieClip 1337 { } movieClip 1339 { } movieClip 1340 { } movieClip 1341 { } instance mm6 of movieClip 1244 { onClipEvent (release) { _root.clearmodels(); _root.gotoAndPlay(14); } onClipEvent (rollOver) { var srs = _root.m6; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance stt of movieClip 459 { onClipEvent (rollOver) { _root.statzz.gotoAndPlay(2); } onClipEvent (rollOut) { _root.statzz.gotoAndPlay(12); } } movieClip 1353 { } movieClip 1356 { instance cou of movieClip 1353 { onClipEvent (release) { _root.agreedcoupon(); } onClipEvent (rollOver) { this._xscale = 107; this._yscale = 107; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } } instance menz of movieClip 515 { onClipEvent (rollOver) { _root.menuez.gotoAndPlay(2); _root.menz.enabled = 0; } } movieClip 1361 { } movieClip 1367 { instance butn1 of movieClip 371 { onClipEvent (release) { _root.buttonson(true); _root.foodok._x = -360; if (_root.abi.a4.cnum >= 70) { _global.bmAm4 += 1; _global['bm4Lib' + _global.bmAm4] = _root.abi.a4.cnum; } else { if (_global['fod' + _root.abi.a4.cnum] == 0) { _global.bmAm3 += 1; } _global['fod' + _root.abi.a4.cnum] += 1; } _global.coupons -= 1; _root.recipegenerate(); _root.dataabilsf(_root.abi.a4.cnum, 4, 1); } onClipEvent (rollOver) { var srs = _root.foodok.m62; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.foodok.m62; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } } frame 23 { _root.fadetoblack(1); stop(); _global.scren = 23; if (_global.new5 != 0) { _global.new5 = 0; } _root.refreshcale(); _root.bossgenerate(); _root.nam.text = _global.namep2; _root.bosn.text = _global.lvlp2; } movieClip 1370 { } instance mm5 of movieClip 1244 { onClipEvent (release) { _root.clearmodels(); _global.surviv = 0; _global.starteat = 0; _global.bossfight = 1; _global.eventsource = 2; _root.gotoAndStop(15); } onClipEvent (rollOver) { var srs = _root.m5; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m5; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } // unknown tag 88 length 211 frame 24 { _root.fadetoblack(1); _global.scren = 24; var achpoiz = _root.howmuchachi(); if (achpoiz >= 300) { _root.achievcheck(20); } if (achpoiz >= 150) { _root.achievcheck(19); } if (achpoiz >= 50) { _root.achievcheck(18); } stop(); _global.new6 = 1; _root.achievdata(_global['achg' + _global.achget]); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; if (_global.maxachpoints < achpoiz) { _global.maxachpoints = achpoiz; } _global.rawr1.data.maxachpoints = _global.maxachpoints; _global.rawr1.flush(); } movieClip 1383 { } movieClip 1384 { frame 1 { gotoAndPlay(Math.floor(Math.random() * _totalframes)); } frame 80 { this.gotoAndPlay(2); } } movieClip 1417 { frame 1 { stop(); } } movieClip 1418 { frame 1 { if (!_f) { _f = true; gotoAndPlay(Math.floor(Math.random() * _totalframes)); } } } movieClip 1420 { } movieClip 1421 { frame 1 { stop(); } frame 20 { stop(); } } movieClip 1422 { frame 1 { stop(); shin._visible = false; } } movieClip 1423 { frame 1 { } frame 12 { cup.gotoAndStop(_global.achcolor); cup.cu.gotoAndStop(_global.achcup); cup.sha._visible = false; if (_global.snd_volume > 0) { _root.soundgo(40); } } frame 21 { stop(); } frame 70 { if (_global.snd_volume > 0) { _root.soundgo(40); } } frame 80 { _root.cup.gotoAndPlay(2); } } instance of movieClip 371 { onClipEvent (release) { _global.achget -= 1; if (_global.achget < 1) { if (com.tremorgames.TremorGames.IsGameInTremorNetwork()) { var achsumm = 0; var i2 = 1; i2 = 1; while (i2 <= 30) { if (_global['achi' + i2] > 0) { achsumm += 1; } ++i2; } com.tremorgames.TremorGames.PostStat('Achievements Unlocked', achsumm); } _root.gotoAndStop(14); } else { _root.achievdata(_global['achg' + _global.achget]); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; _root.cup.gotoAndPlay(70); } } onClipEvent (rollOver) { var srs = _root.m6; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } frame 25 { _root.fadetoblack(1); _global.scren = 25; stop(); if (_global.new6 != 0) { _global.new6 = 0; } _root.tex1.text = ''; _root.tex2.text = ''; _root.achp.text = ''; } movieClip 1435 { } movieClip 1436 { frame 1 { } instance of movieClip 1435 { } frame 235 { gotoAndPlay(145); } frame 236 { stop(); } } movieClip 1439 { frame 1 { stop(); shin._visible = false; } } movieClip 1450 { frame 1 { var achtotalz = 0; var i2 = 1; i2 = 1; while (i2 <= 30) { if (_global['achi' + i2] > 0) { _root.achievdata(i2); achtotalz += _global.achpoint; _root.bo['t' + i2].gotoAndStop(_global.achcolor); _root.bo['t' + i2].cu.gotoAndStop(_global.achcup); } else { _root.bo['t' + i2].gotoAndStop(4); } ++i2; } _root.bo.achn.text = achtotalz; } instance t1 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(1); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t2 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(2); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t7 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(7); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t8 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(8); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t9 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(9); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t10 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(10); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t3 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(3); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t4 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(4); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t5 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(5); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t6 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(6); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t11 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(11); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t12 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(12); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t13 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(13); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t14 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(14); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t15 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(15); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t16 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(16); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t17 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(17); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t18 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(18); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t19 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(19); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t20 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(20); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance of movieClip 1439 { onClipEvent (release) { _root.clearmodels(); _global.starteat = 0; _global.newchapter = -1; _root.gotoAndStop(41); } onClipEvent (rollOver) { _root.tex1.text = 'Bosses Room'; _root.tex2.text = 'Click to see all of defeated Bosses.'; _root.achp.text = ''; this.shin._visible = true; } onClipEvent (rollOut) { this.shin._visible = false; } } instance t21 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(21); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t22 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(22); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t23 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(23); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t24 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(24); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t25 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(25); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t26 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(26); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } instance t27 of movieClip 1422 { onClipEvent (rollOver) { _root.achievdata(27); _root.tex1.text = _global.achname; _root.tex2.text = _global.achtext; _root.achp.text = _global.achpoint; this.ques.gotoAndPlay(2); this.shin._visible = true; } onClipEvent (rollOut) { this.ques.gotoAndPlay(21); this.shin._visible = false; } } } instance of movieClip 1127 { onClipEvent (rollOver) { _global.rolldirect = 4; _global.scrollstart = 1; _root.scrollin(); } onClipEvent (rollOut) { _global.scrollstart = 0; clearInterval(tipIntScroll); } } instance of movieClip 1127 { onClipEvent (rollOver) { _global.rolldirect = 3; _global.scrollstart = 1; _root.scrollin(); } onClipEvent (rollOut) { _global.scrollstart = 0; clearInterval(tipIntScroll); } } movieClip 1452 { } instance mm6 of movieClip 1244 { onClipEvent (release) { _root.gotoAndPlay(14); } onClipEvent (rollOver) { var srs = _root.m6; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } frame 26 { _root.fadetoblack(1); _global.scren = 26; stop(); if (_global.chapt == 0) { _root.cut.gotoAndStop(2); } if (_global.chapt == 2) { _root.cut.gotoAndStop(3); } if (_global.chapt == 11) { _root.cut.gotoAndStop(4); } if (_global.chapt == 12) { _root.cut.gotoAndStop(6); } if (_global.chapt == 4 or _global.chapt == 6 or _global.chapt == 8 or _global.chapt == 10) { _root.cut.gotoAndStop(5); } } movieClip 1472 { frame 1 { stop(); if (_global.chapt == 0) { gotoAndStop(7); } if (_global.chapt == 1) { gotoAndStop(3); } if (_global.chapt == 3) { gotoAndStop(2); } if (_global.chapt == 4) { gotoAndStop(4); } if (_global.chapt == 5) { gotoAndStop(5); } if (_global.chapt == 6) { gotoAndStop(6); } if (_global.chapt == 7) { gotoAndStop(2); } if (_global.chapt == 8) { gotoAndStop(4); } if (_global.chapt == 9) { gotoAndStop(3); } if (_global.chapt == 10) { gotoAndStop(6); } if (_global.chapt == 11) { gotoAndStop(5); } if (_global.chapt == 12) { gotoAndStop(7); } } } movieClip 1476 { frame 1 { stop(); } instance of movieClip 562 { onClipEvent (release) { _root.gotoAndStop(14); } } } movieClip 1479 { frame 1 { stop(); } instance of movieClip 562 { onClipEvent (release) { _root.cut.cut.gotoAndStop(2); } } instance of movieClip 562 { onClipEvent (release) { _root.gotoAndStop(14); } } } movieClip 1485 { frame 1 { stop(); } instance of movieClip 562 { onClipEvent (release) { _root.cut.cut.gotoAndStop(2); } } instance of movieClip 562 { onClipEvent (release) { _root.gotoAndStop(14); } } } movieClip 1487 { frame 1 { stop(); } instance of movieClip 562 { onClipEvent (release) { _root.gotoAndStop(14); } } } movieClip 1489 { frame 1 { stop(); } instance of movieClip 562 { onClipEvent (release) { _root.gotoAndStop(14); } } } movieClip 1491 { frame 1 { stop(); } instance of movieClip 562 { onClipEvent (release) { _root.gotoAndStop(14); } } } movieClip 1500 { frame 1 { stop(); } instance of movieClip 562 { onClipEvent (release) { _root.cut.cut.nextFrame(); } } instance of movieClip 562 { onClipEvent (release) { _root.gotoAndStop(14); } } instance of movieClip 562 { onClipEvent (release) { _root.cut.cut.nextFrame(); } } instance of movieClip 562 { onClipEvent (release) { _root.gotoAndStop(14); } } } movieClip 1501 { frame 1 { stop(); } } frame 27 { function mainxpgain() { if (_global.combxp > 0) { _root.xpgain(1, _global.combxp); _global.moneys += _global.moneyxp; _global.exptext = 'You Gain ' + _global.combxp + ' Skill Experience.' + '\n' + 'You Gain ' + _global.moneyxp + ' $'; _root.menuu.men.cas.text = _global.moneys + '$'; _root.blexp.gotoAndPlay(2); _root.xpbli._y = 379; _global.combxp = 0; } if (_global.helxp > 0) { _root.xpgain(2, _global.helxp); _global.exptext = 'You Gain ' + _global.helxp + ' Health Experience.'; _root.blexp.gotoAndPlay(2); _root.xpbli._y = 404; _global.helxp = 0; } } _root.fadetoblack(1); _global.scren = 14; stop(); _root.bar.namep1.text = _global.namep1; _root.bar.lvlp1.text = 'Lvl ' + _global.lvlp1; _root.refreshhp(); _root.refreshxp(); _root.bar.blik._visible = 0; if (_global.Hpp1 < _global.HpMaxp1) { _global.hppos = Math.floor(_global.Hpp1 / (_global.HpMaxp1 / 100)); _global.fixhpposit = (100 - _global.hppos) * -2.57; _root.bar.full._x += _global.fixhpposit; _root.bar.blik._x += _global.fixhpposit; _root.bar.lilblik._x += _global.fixhpposit; } clearInterval(tipIntHp1); clearInterval(tipIntHp2); clearInterval(tipIntHpeat); clearInterval(tipIntHpheal1); removeMovieClip(_root.p2); removeMovieClip(_root.blood1); removeMovieClip(_root.blood2); if (_global.chapt < 1 or _global.chapt > 4) { _root.bos._visible = false; } if (_global.tutor == 1) { _root.tut.gotoAndStop(2); } if (_global.tutor == 3) { _root.tut.gotoAndStop(3); } if (_global.combxp > 0 or _global.helxp > 0) { _global.maindisable = 1; } } frame 28 { stop(); } frame 29 { function gogoskilltrain() { var v3 = _root.randRange(1, 100); if (v3 < 61) { _global.rariii = 1; } if (v3 > 60 and v3 < 96) { _global.rariii = 2; } if (v3 > 95) { _global.rariii = 3; } var v4 = _global.bmAm1 + _global.bmAm2; if (Math.floor(v4 / 2) != v4 / 2) { _global.rariii += 3; } if (_global.rariii == 3 and _global.actEpc >= _global.totalaEpc) { _global.rariii = 2; } if (_global.rariii == 2 and _global.actRar >= _global.totalaRar) { _global.rariii = 1; } if (_global.rariii == 1 and _global.actCom >= _global.totalaCom) { _global.rariii = 4; } if (_global.rariii == 4 and _global.pasCom >= _global.totalpCom) { _global.rariii = 5; } if (_global.rariii == 5 and _global.pasRar >= _global.totalpRar) { _global.rariii = 6; } _root.refreshcale(); _root.skillcRefresh(); if (_global.skillopt1 != 0 and _global.skillopt1 != undefined) { _root.abbuy._x = -347; _root.abi._x = 67; _global.numskilforchoosez = -1; } else { _global.numskilforchoosez = 0; _global.skillopt1 = _root.choosetrainin(); _global.skillopt2 = _root.choosetrainin(); _global.skillopt3 = _root.choosetrainin(); } _root.abi.a1.cnum = _global.skillopt1; _root.abi.a2.cnum = _global.skillopt2; _root.abi.a3.cnum = _global.skillopt3; iz2 = 1; while (iz2 <= 3) { _root.abi['a' + iz2].pos = iz2; _root.abi['a' + iz2].typ = 4; _root.abi['a' + iz2].coold = -1; _root.abi['a' + iz2].gotoAndStop(_root.abi['a' + iz2].cnum); _root.abi['a' + iz2].amount._visible = false; ++iz2; } _root.data5(1); _root.abi.a1.over(-1); } _root.fadetoblack(1); stop(); _global.scren = 29; _root.gogoskilltrain(); _root.foodok.icone.enabled = false; } movieClip 1511 { frame 1 { co.text = '$' + (_global.bmAm1 + _global.bmAm2 - 1) * 25; } instance of movieClip 1244 { onClipEvent (release) { if (_global.moneys >= (_global.bmAm1 + _global.bmAm2 - 1) * 25) { if (_global.snd_volume > 0) { _root.soundgo(50); } _global.new7 = 0; _global.numskilforchoosez = -1; _global.moneys -= (_global.bmAm1 + _global.bmAm2 - 1) * 25; _global.rskillpoints -= 1; _root.cale.ca.ca.cas.text = _global.moneys + ' $'; _root.cale.ca.gotoAndPlay(2); _root.blz1.gotoAndPlay(2); _root.blz2.gotoAndPlay(2); } } onClipEvent (rollOver) { var srs = _root.abbuy.m61; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.abbuy.m61; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance of movieClip 1244 { onClipEvent (release) { if (_global.numskilforchoosez > -1) { _global.numskilforchoosez = 0; _global.skillopt1 = 0; _global.skillopt2 = 0; _global.skillopt3 = 0; } _root.clearmodels(); _root.gotoAndPlay(14); } onClipEvent (rollOver) { var srs = _root.abbuy.m62; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.abbuy.m62; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } } instance mm6 of movieClip 1244 { onClipEvent (release) { if (_global.numskilforchoosez > -1) { _global.numskilforchoosez = 0; _global.skillopt1 = 0; _global.skillopt2 = 0; _global.skillopt3 = 0; } _root.clearmodels(); _root.gotoAndPlay(14); } onClipEvent (rollOver) { var srs = _root.m6; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance menz of movieClip 515 { onClipEvent (rollOver) { _root.menuez.gotoAndPlay(2); _root.menz.enabled = 0; } } movieClip 1522 { instance stt of movieClip 459 { onClipEvent (rollOver) { _root.statzz.gotoAndPlay(2); } onClipEvent (rollOut) { _root.statzz.gotoAndPlay(12); } } } movieClip 1523 { frame 1 { stop(); } frame 15 { _root.abbuy._x = -347; _root.abi._x = 67; } } movieClip 1528 { instance of movieClip 1244 { onClipEvent (release) { removeMovieClip(_root.p1); _root.buttonson(true); _root.abi['a' + _global.clickon].skillgo(); } onClipEvent (rollOver) { var srs = _root.foodok.m61; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.foodok.m61; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance of movieClip 1244 { onClipEvent (release) { _root.foodok._x = 1100; _root.buttonson(true); } onClipEvent (rollOver) { var srs = _root.foodok.m62; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.foodok.m62; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } } frame 30 { _root.fadetoblack(1); stop(); _global.scren = 30; if (_global.new8 != 0) { _global.new8 = 0; } if (_root.statzz.getDepth() < _root.p1.getDepth()) { _root.statzz.swapDepths(_root.p1); } _root.ca.ca.cas.text = _global.gens + ' Gen'; _root.gennumgenerator(); _root.blvl.text = 'Tier ' + _global.genblvl; _root.hlvl.text = 'Tier ' + _global.genhlvl; _global.bodysavingf = _global.bodp1; _global.handsavingf = _global.handp1; _global.legsavingf = _global.leg1p1; _global.colorsavingf = _global.colorp1; var iz2 = 1; iz2 = 1; while (iz2 <= 8) { _root.abi['a' + iz2].pos = iz2; _root.abi['a' + iz2].typ = 5; _root.abi['a' + iz2].coold = -1; _root.abi['a' + iz2].gotoAndStop(_root.abi['a' + iz2].cnum); ++iz2; } _root.abi.a1.coold = -2; _root.abi.a5.coold = -2; var z17 = 1; z17 = 1; while (z17 <= 8) { _root.datagensf(_root.abi['a' + z17].cnum, z17); ++z17; } if (_root.abi.a2.cnum != _global.curbody) { _root.gen1.text = _root.abi.a2.cashh; } else { _root.gen1.text = '0'; } if (_root.abi.a3.cnum != _global.curbody) { _root.gen2.text = _root.abi.a3.cashh; } else { _root.gen2.text = '0'; } if (_root.abi.a4.cnum != _global.curbody) { _root.gen3.text = _root.abi.a4.cashh; } else { _root.gen3.text = '0'; } if (_root.abi.a6.cnum != _global.curhands) { _root.gen4.text = _root.abi.a6.cashh; } else { _root.gen4.text = '0'; } if (_root.abi.a7.cnum != _global.curhands) { _root.gen5.text = _root.abi.a7.cashh; } else { _root.gen5.text = '0'; } if (_root.abi.a8.cnum != _global.curhands) { _root.gen6.text = _root.abi.a8.cashh; } else { _root.gen6.text = '0'; } _root.abi.a1.over(-1); _root.achievcheck(11); _root.achievcheck(12); _root.achievcheck(13); if (_global.achget < 1) { } else { _root.gotoAndStop(24); } } instance mm6 of movieClip 1244 { onClipEvent (release) { _root.clearmodels(); _root.gotoAndPlay(14); } onClipEvent (rollOver) { var srs = _root.m6; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance stt of movieClip 459 { onClipEvent (rollOver) { _root.statzz.gotoAndPlay(2); } onClipEvent (rollOut) { _root.statzz.gotoAndPlay(12); } } movieClip 1536 { } frame 31 { _root.fadetoblack(1); stop(); _global.scren = 31; _root.startgamestats(); _root.clearskilllist(); _root.initiat(); _root.soundgo(3); _root.startsz.gotoAndPlay(60); if (com.tremorgames.TremorGames.IsGameInTremorNetwork()) { _root.menuu.men.men._visible = false; } } movieClip 1551 { } movieClip 1554 { } movieClip 1557 { } movieClip 1560 { } movieClip 1563 { } movieClip 1566 { } movieClip 1569 { } movieClip 1572 { } movieClip 1575 { } movieClip 1578 { } movieClip 1581 { } movieClip 1584 { } movieClip 1587 { } movieClip 1590 { } movieClip 1593 { } movieClip 1594 { } movieClip 1602 { instance mm4 of movieClip 371 { onClipEvent (release) { GameURLatSponsorSite = com.tremorgames.TremorGames.GetGameURL(); _root.getURL(GameURLatSponsorSite, '_blank'); com.tremorgames.TremorGames.GetTrackingURL('Play With Achievements'); } onClipEvent (rollOver) { var srs = _root.menuu.men.men.m4; srs.gotoAndPlay(2); srs.behav = 1; var srs2 = _root.menuu.men.men.shl; srs2._y = this._y; srs2.gotoAndPlay(1); _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.menuu.men.men.m4; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance mm1 of movieClip 371 { onClipEvent (release) { com.tremorgames.TremorGames.GetTrackingURL('Play More Games'); _root.getURL('http://www.tremorgames.com', '_blank'); } onClipEvent (rollOver) { var srs = _root.menuu.men.men.m1; srs.gotoAndPlay(2); srs.behav = 1; var srs2 = _root.menuu.men.men.shl; srs2._y = this._y; srs2.gotoAndPlay(1); _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.menuu.men.men.m1; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } } // unknown tag 88 length 74 movieClip 1607 { frame 1 { ver.text = '2012. shadem.com v.' + _global.versio; } instance mm2 of movieClip 371 { onClipEvent (release) { _root.sav.gotoAndStop(2); _root.menuu.men.mm1.enabled = false; _root.menuu.men.mm2.enabled = false; _root.menuu.men.mm3.enabled = false; _root.menuu.men.mm4.enabled = false; _root.menuu.men.mm5.enabled = false; } onClipEvent (rollOver) { var srs = _root.menuu.men.m2; srs.gotoAndPlay(2); srs.behav = 1; var srs2 = _root.menuu.men.shl; srs2._y = this._y; srs2.gotoAndPlay(1); _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.menuu.men.m2; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance mm3 of movieClip 371 { onClipEvent (release) { _root.menuez.opt._y = 338; _root.optionscoming(); } onClipEvent (rollOver) { var srs = _root.menuu.men.m3; srs.gotoAndPlay(2); srs.behav = 1; var srs2 = _root.menuu.men.shl; srs2._y = this._y; srs2.gotoAndPlay(1); _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.menuu.men.m3; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance mm5 of movieClip 371 { onClipEvent (release) { HostThisGameURL = com.tremorgames.TremorGames.HostThisGameURL(); _root.getURL(HostThisGameURL, '_blank'); } onClipEvent (rollOver) { var srs = _root.menuu.men.m5; srs.gotoAndPlay(2); srs.behav = 1; var srs2 = _root.menuu.men.shl; srs2._y = this._y; srs2.gotoAndPlay(1); _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.menuu.men.m5; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } } movieClip 1608 { frame 40 { stop(); } } movieClip 1612 { frame 1 { stop(); } } movieClip 1616 { } movieClip 1618 { frame 1 { stop(); } frame 2 { _global.rawr1 = SharedObject.getLocal('rawrs1'); _global.rawr2 = SharedObject.getLocal('rawrs2'); _global.rawr3 = SharedObject.getLocal('rawrs3'); if (_global.rawr1.data.namep1 == undefined or _global.rawr1.data.namep1 == '') { _root.sav.slot1.nam.text = 'New Game'; _root.sav.slot1.lev.text = 'Empty Slot'; } else { _root.sav.slot1.nam.text = _global.rawr1.data.namep1; _root.sav.slot1.lev.text = 'Levels: ' + _global.rawr1.data.slvl + '/' + _global.rawr1.data.hlvl + ' .:::. Chapter' + _global.rawr1.data.chapt; } if (_global.rawr2.data.namep1 == undefined or _global.rawr2.data.namep1 == '') { _root.sav.slot2.nam.text = 'New Game'; _root.sav.slot2.lev.text = 'Empty Slot'; } else { _root.sav.slot2.nam.text = _global.rawr2.data.namep1; _root.sav.slot2.lev.text = 'Levels: ' + _global.rawr2.data.slvl + '/' + _global.rawr2.data.hlvl + ' .:::. Chapter' + _global.rawr2.data.chapt; } if (_global.rawr3.data.namep1 == undefined or _global.rawr3.data.namep1 == '') { _root.sav.slot3.nam.text = 'New Game'; _root.sav.slot3.lev.text = 'Empty Slot'; } else { _root.sav.slot3.nam.text = _global.rawr3.data.namep1; _root.sav.slot3.lev.text = 'Levels: ' + _global.rawr3.data.slvl + '/' + _global.rawr3.data.hlvl + ' .:::. Chapter' + _global.rawr3.data.chapt; } } instance slot1 of movieClip 1616 { onClipEvent (release) { _global.savslot = 1; if (_global.rawr1.data.namep1 == undefined or _global.rawr1.data.namep1 == '') { _root.startgamestats(); _root.clearskilllist(); _root.initiat(); _root.gotoAndStop(35); } else { _root.loadgame(_global.savslot); _root.gotoAndStop(14); } } onClipEvent (rollOver) { if (_global.snd_volume > 0) { _root.soundgo(15); } _root.sav.slot1.hl.gotoAndStop(2); } onClipEvent (rollOut) { _root.sav.slot1.hl.gotoAndStop(1); } } instance slot2 of movieClip 1616 { onClipEvent (release) { _global.savslot = 2; if (_global.rawr2.data.namep1 == undefined or _global.rawr2.data.namep1 == '') { _root.startgamestats(); _root.clearskilllist(); _root.initiat(); _root.gotoAndStop(35); } else { _root.loadgame(_global.savslot); _root.gotoAndStop(14); } } onClipEvent (rollOver) { if (_global.snd_volume > 0) { _root.soundgo(15); } _root.sav.slot2.hl.gotoAndStop(2); } onClipEvent (rollOut) { _root.sav.slot2.hl.gotoAndStop(1); } } instance slot3 of movieClip 1616 { onClipEvent (release) { _global.savslot = 3; if (_global.rawr3.data.namep1 == undefined or _global.rawr3.data.namep1 == '') { _root.startgamestats(); _root.clearskilllist(); _root.initiat(); _root.gotoAndStop(35); } else { _root.loadgame(_global.savslot); _root.gotoAndStop(14); } } onClipEvent (rollOver) { if (_global.snd_volume > 0) { _root.soundgo(15); } _root.sav.slot3.hl.gotoAndStop(2); } onClipEvent (rollOut) { _root.sav.slot3.hl.gotoAndStop(1); } } instance butn1 of movieClip 371 { onClipEvent (release) { _root.menuu.men.mm1.enabled = true; _root.menuu.men.mm2.enabled = true; _root.menuu.men.mm3.enabled = true; _root.menuu.men.mm4.enabled = true; _root.menuu.men.mm5.enabled = true; _root.sav.gotoAndStop(1); } onClipEvent (rollOver) { _root.snd_blackbutton(); var srs = _root.sav.m6; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.sav.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance of movieClip 521 { onClipEvent (release) { _global.rawr1.data.namep1 = ''; _global.rawr1.flush(); _root.sav.slot1.nam.text = 'New Game'; _root.sav.slot1.lev.text = 'Empty Slot'; } } instance of movieClip 521 { onClipEvent (release) { _global.rawr2.data.namep1 = ''; _global.rawr2.flush(); _root.sav.slot2.nam.text = 'New Game'; _root.sav.slot2.lev.text = 'Empty Slot'; } } instance of movieClip 521 { onClipEvent (release) { _global.rawr3.data.namep1 = ''; _global.rawr3.flush(); _root.sav.slot3.nam.text = 'New Game'; _root.sav.slot3.lev.text = 'Empty Slot'; } } } movieClip 1621 { } instance of movieClip 1621 { onClipEvent (release) { _root.getURL('http://incompetech.com/', '_blank'); } } movieClip 1624 { } instance of movieClip 1624 { onClipEvent (release) { _root.getURL('http://www.shadem.com', '_blank'); } onClipEvent (rollOver) { this._xscale = 104; this._yscale = 104; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } movieClip 1627 { } instance of movieClip 1627 { onClipEvent (release) { _root.getURL('https://twitter.com/shademcom', '_blank'); } onClipEvent (rollOver) { this._xscale = 104; this._yscale = 104; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } frame 32 { _root.fadetoblack(1); stop(); _global.scren = 32; var achnummz = 0; var achtotalz = 0; var i2 = 1; i2 = 1; while (i2 <= 30) { if (_global['achi' + i2] > 0) { _root.achievdata(i2); achtotalz += _global.achpoint; achnummz += 1; } else { _root.bo['t' + i2].gotoAndStop(4); } ++i2; } _root.s1.text = achnummz; _root.s2.text = achtotalz; _root.s3.text = _global.inffood; _root.s4.text = _global.infwins + _global.infloses; _root.s5.text = _global.infwins; _root.s6.text = _global.infloses; var bossdowned = 0; var i2 = 1; i2 = 1; while (i2 <= 22) { if (_global['bossdown' + i2] == 1) { bossdowned += 1; } ++i2; } _root.s7.text = bossdowned; if (_root.expla.getDepth() < _root.p1.getDepth()) { _root.expla.swapDepths(_root.p1); } if (_global.tutor == 5) { _global.tutor = 6; } _root.namep1.text = _global.namep1; _root.lvlp1.text = _global.slvl + '/' + _global.hlvl; _root.abi.a1.cnum = _global.curbody; _root.abi.a2.cnum = _global.curhands; iz2 = 1; while (iz2 <= 2) { _root.abi['a' + iz2].pos = iz2; _root.abi['a' + iz2].typ = 5; _root.abi['a' + iz2].coold = -3; _root.abi['a' + iz2].gotoAndStop(_root.abi['a' + iz2].cnum); _root.datagensf(_root.abi['a' + iz2].cnum, iz2); ++iz2; } } instance mm6 of movieClip 1244 { onClipEvent (release) { _root.clearmodels(); _root.gotoAndStop(14); } onClipEvent (rollOver) { var srs = _root.m6; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance mm7 of movieClip 371 { onClipEvent (release) { _root.clearmodels(); _root.gotoAndStop(45); } onClipEvent (rollOver) { var srs = _root.m7; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m7; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } movieClip 1652 { } instance menz of movieClip 515 { onClipEvent (rollOver) { if (_global.maindisable == 0) { _root.menuez.gotoAndPlay(2); _root.menz.enabled = 0; } } } movieClip 1656 { frame 1 { stop(); } frame 10 { stop(); btxt.html = true; bnam.text = _global.explnam; btxt.htmlText = _global.expltxt; } } frame 35 { if (_global.hedp1 == 1) { _global.eyep1 = 6; _global.hanup1 = 1; _global.handp1 = 1; _global.bodp1 = 1; _global.leg1p1 = 1; _global.leg2p1 = _global.leg1p1; _global.colorp1 = 1; } if (_global.hedp1 == 5) { _global.eyep1 = 1; _global.hanup1 = 1; _global.handp1 = 1; _global.bodp1 = 4; _global.leg1p1 = 2; _global.leg2p1 = _global.leg1p1; _global.colorp1 = 4; } if (_global.hedp1 == 4) { _global.eyep1 = 4; _global.hanup1 = 1; _global.handp1 = 1; _global.bodp1 = 3; _global.leg1p1 = 3; _global.leg2p1 = _global.leg1p1; _global.colorp1 = 3; } if (_global.hedp1 == 8) { _global.eyep1 = 2; _global.hanup1 = 1; _global.handp1 = 1; _global.bodp1 = 17; _global.leg1p1 = 4; _global.leg2p1 = _global.leg1p1; _global.colorp1 = 5; } if (_global.hedp1 == 6) { _global.eyep1 = 1; _global.hanup1 = 1; _global.handp1 = 1; _global.bodp1 = 16; _global.leg1p1 = 1; _global.leg2p1 = _global.leg1p1; _global.colorp1 = 3; } if (_global.hedp1 == 12) { _global.eyep1 = 4; _global.hanup1 = 1; _global.handp1 = 1; _global.bodp1 = 1; _global.leg1p1 = 3; _global.leg2p1 = _global.leg1p1; _global.colorp1 = 2; } if (com.tremorgames.TremorGames.IsGameInTremorNetwork()) { com.tremorgames.TremorGames.GetPlayerItems(PlayerItemsComplete); } else { _root.gotoAndStop(21); } } movieClip 1659 { frame 10 { _root.gotoAndStop(21); } } frame 36 { stop(); var z3 = 1; z3 = 1; while (z3 <= 11) { _root.abi['ab' + z3].pos = z3; _root.abi['ab' + z3].typ = 1; if (z3 <= _global.sklopens) { _root.abi['ab' + z3].cnum = 2; } else { _root.abi['ab' + z3].cnum = 1; } ++z3; } var i4 = 1; i4 = 1; while (i4 <= _global.sklam) { if (_global.actnum >= i4 and _global.actnum > 0) { _root.abi['ab' + i4].cnum = _global['sActive' + i4]; } if (_global.passnum + _global.actnum >= i4 and _global.actnum < i4 and _global.passnum > 0) { _root.abi['ab' + i4].cnum = _global['sPassive' + (i4 - _global.actnum)]; } ++i4; } var z4 = 1; z4 = 1; while (z4 < 12) { _root.dataabils(_root.abi['ab' + z4].cnum, z4, 2); ++z4; } var tq = _root.abi; var cicllle = _global.sklam; var iq4 = 1; iq4 = cicllle; while (iq4 >= 1) { tq = _root.abi['ab' + iq4]; trace('tq.cnum: ' + tq.cnum); _global['skill' + tq.cnum] = 0; if (tq.styp == 1) { _global.actnum -= 1; _global.specialp1 -= 5; } if (tq.styp == 2) { _global.passnum -= 1; } _global.skillc1 -= tq.scost1; _global.skillc2 -= tq.scost2; _global.skillc3 -= tq.scost3; _root.skilltakeneffect(tq.cnum, -1); _root.abi['ab' + _global.sklam].cnum = 2; _global.sklam -= 1; --iq4; } _root.gotoAndStop(_global.scren); } movieClip 1661 { frame 1 { stop(); } } frame 37 { _global.scren = 37; stop(); } frame 38 { function codetextgenerateok() { _root.code.text = '_global.hedp2=' + _global.hedp1 + ';' + '\n' + '_global.eyep2=' + _global.eyep1 + ';' + '\n' + '_global.hanup2=' + _global.hanup1 + ';' + '\n' + '_global.handp2=' + _global.handp1 + ';' + '\n' + '_global.hanbp2=_global.handp2;' + '\n' + '_global.bodp2=' + _global.bodp1 + ';' + '\n' + '_global.leg1p2=' + _global.leg1p1 + ';' + '\n' + '_global.leg2p2=_global.leg1p2;' + '\n' + '_global.colorp2=' + _global.colorp1 + ';'; } _global.scren = 38; stop(); var tec = 2; _root.p1.p.gotoAndStop(61); _global.rstrg = '1s1e9E2d2s12F1s3u1570P150C35U20n10m10u10c20u0u0x1r17an77ScornHorn'; _root.pvpread(); var myStr = 'QWERTYUIOPASDFGHJKLZXCVBNM'; var myStr2 = ''; var i = 0; while (i < myStr.length) { myStr2 += myStr.charAt(i); ++i; } if (myStr2 == 123456) { trace('WOOOOT'); } } frame 39 { stop(); _root.clearmodels(); _root.fadetoblack(1); } instance of movieClip 562 { onClipEvent (release) { _root.gotoAndStop(30); } } frame 40 { _root.fadetoblack(1); stop(); _global.scren = 40; _global.new9 = 0; _root.abi.gotoAndStop(_global.eventtype); _root.refreshcale(); } movieClip 1717 { frame 1 { stop(); } instance of movieClip 345 { onClipEvent (release) { com.tremorgames.TremorGames.GetTrackingURL('TV event'); _root.getURL('http://www.tremorgames.com', '_blank'); } } instance mm7 of movieClip 1244 { onClipEvent (release) { _root.abi.tvz.gotoAndPlay(2); } onClipEvent (rollOver) { var srs = _root.abi.tvz.m7; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.abi.tvz.m7; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } frame 140 { stop(); _root.fadetoblack(1); var moneyrandz = _root.randRange(8, 40); var moneygetz = moneyrandz * 5; _root.abi.tvz.gmon.text = '+ $' + moneygetz; _global.moneys += moneygetz; _global.infmoney += moneygetz; _root.achievcheck(4); _root.achievcheck(5); _root.achievcheck(6); _root.abi.tvz.gcou.text = '+1 Chief Coupon'; _global.coupons += 1; var getexpx = 5 * _global.chapt; _root.abi.tvz.ggen.text = '+' + getexpx + ' Gen'; _global.genxp = getexpx; } instance butn1 of movieClip 371 { onClipEvent (release) { _root.finisheventx(); _root.clearmodels(); _root.gotoAndStop(14); } onClipEvent (rollOver) { var srs = _root.abi.tvz.m6; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.abi.tvz.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } } movieClip 1722 { frame 1 { stop(); } instance mm6 of movieClip 1244 { onClipEvent (release) { _root.clearmodels(); _root.gotoAndStop(14); } onClipEvent (rollOver) { var srs = _root.ev.m6; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.ev.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance mm7 of movieClip 1244 { onClipEvent (release) { _root.finisheventx(); _root.clearmodels(); _root.gotoAndStop(14); } onClipEvent (rollOver) { var srs = _root.ev.m7; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.ev.m7; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance mm6 of movieClip 1244 { onClipEvent (release) { _root.clearmodels(); _root.gotoAndPlay(14); } onClipEvent (rollOver) { var srs = _root.m6; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance of movieClip 371 { onClipEvent (release) { _root.clearmodels(); _global.starteat = 0; _global.bossfight = 1; _root.gotoAndStop(15); } onClipEvent (rollOver) { var srs = _root.m5; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.m5; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance of movieClip 371 { onClipEvent (release) { _global.fod20 += 5; _root.clearmodels(); _root.gotoAndPlay(14); } onClipEvent (rollOver) { var srs = _root.m7; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.m7; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } frame 3 { stop(); var randfodx = 1; var randamx = 1; var fodamx = 1; randamx = _root.randRange(1, 100); if (randamx > 70) { fodamx = 2; } if (randamx > 94) { fodamx = 3; } randfodx = _root.randRange(3, 22); _global['fod' + randfodx] += fodamx; _root.abi.a1.am = fodamx; _root.dataabilsf(randfodx, 1, 1); _root.abi.fna.text = _root.abi.a1.cname; _root.abi.a1.gotoAndStop(randfodx); _root.abi.a1.enabled = false; } frame 4 { stop(); var randfodx = 1; randfodx = _root.randRange(3, 22); _root.dataabilsf(randfodx, 1, 1); if (_root.abi.a1.rar == 1) { _root.abi.a1.am = 2; } else { _root.abi.a1.am = 1; } _root.abi.nam.text = _root.abi.a1.cname; if (_root.abi.a1.rar == 1) { if (_root.abi.a1.styp == 1) { _root.abi.cost.text = '— basic ingredient — '; } if (_root.abi.a1.styp == 2) { _root.abi.cost.text = '— basic dish — '; } } if (_root.abi.a1.rar == 2) { if (_root.abi.a1.styp == 1) { _root.abi.cost.text = '— rare ingredient — '; } if (_root.abi.a1.styp == 2) { _root.abi.cost.text = '— rare dish — '; } } if (_root.abi.a1.rar == 3) { if (_root.abi.a1.styp == 1) { _root.abi.cost.text = '— epic ingredient — '; } if (_root.abi.a1.styp == 2) { _root.abi.cost.text = '— epic dish — '; } } _root.abi.tex.html = true; _root.abi.tex.htmlText = _root.abi.a1.ctex; _root.abi.a1.amount.text = _root.abi.a1.am; _root.abi.a1.enabled = false; _root.abi.a1.gotoAndStop(_root.abi.a1.cnum); _global['fod' + randfodx] += _root.abi.a1.am; } instance butn1 of movieClip 371 { onClipEvent (release) { _root.finisheventx(); _root.clearmodels(); _root.gotoAndStop(14); } onClipEvent (rollOver) { var srs = _root.abi.m62; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.abi.m62; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } frame 5 { var getexpx = 10 + 5 * _global.chapt; _root.abi.gexp.text = '+' + getexpx + ' Skill Experience'; _global.combxp = getexpx; } instance butn1 of movieClip 371 { onClipEvent (release) { _root.finisheventx(); _root.clearmodels(); _root.gotoAndStop(14); _root.snd_blackbutton(); } onClipEvent (rollOver) { var srs = _root.abi.m6; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.abi.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } frame 6 { var getexpx = 10 + 5 * _global.chapt; _root.abi.gexp.text = '+' + getexpx + ' Health Experience'; _global.helxp = getexpx; } frame 7 { var getexpx = 5 * _global.chapt; _root.abi.gexp.text = '+' + getexpx + ' Gen'; _global.genxp = getexpx; } instance mm6 of movieClip 1244 { onClipEvent (release) { _root.clearmodels(); _root.gotoAndStop(14); } onClipEvent (rollOver) { var srs = _root.abi.m6; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.abi.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance mm7 of movieClip 1244 { onClipEvent (release) { _global.surviv = 0; if (_global.surviv > 1) { _global.surv = _global.surviv; } _global.bossfight = 5; _global.eventsource = 3; _root.clearmodels(); _global.starteat = 0; _root.gotoAndStop(15); } onClipEvent (rollOver) { var srs = _root.abi.m7; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.abi.m7; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance mm7 of movieClip 1244 { onClipEvent (release) { _global.surviv = 3; if (_global.surviv > 1) { _global.surv = _global.surviv; } _global.bossfight = 2; _global.eventsource = 4; _root.clearmodels(); _global.starteat = 0; _root.gotoAndStop(15); } onClipEvent (rollOver) { var srs = _root.abi.m7; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.abi.m7; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } frame 10 { _root.abi.hexp.text = 'You have: ' + _global.coupons + ' x Chief Coupon.'; } instance mm7 of movieClip 1244 { onClipEvent (release) { if (_global.coupons >= 1) { _global.coupons -= 1; _root.abi.gotoAndStop(40); } } onClipEvent (rollOver) { var srs = _root.abi.m7; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.abi.m7; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } frame 40 { _root.fadetoblack(1); stop(); var randfodx = 1; var recip100x = 0; var recip101x = 0; var recip102x = 0; var secrrecip = 0; var ti3 = 1; ti3 = 1; while (ti3 <= _global.bmAm4) { if (_global['bm4Lib' + ti3] == 100) { secrrecip += 1; recip100x = 1; } if (_global['bm4Lib' + ti3] == 101) { secrrecip += 1; recip101x = 1; } if (_global['bm4Lib' + ti3] == 102) { secrrecip += 1; recip102x = 1; } ++ti3; } var randrecx = 1; randrecx = _root.randRange(1, 3); if (randrecx == 1 and secrrecip < 3) { _root.abi.a1.amount.text = ''; _global.bmAm4 += 1; _global['bm4Lib' + _global.bmAm4] = 100 + secrrecip; randfodx = 100 + secrrecip; } else { randfodx = _root.randRange(23, 31); _root.abi.a1.am = 1; _global['fod' + randfodx] += _root.abi.a1.am; } _root.dataabilsf(randfodx, 1, 1); _root.abi.nam.text = _root.abi.a1.cname; if (_root.abi.a1.rar == 1) { if (_root.abi.a1.styp == 1) { _root.abi.cost.text = '— basic ingredient — '; } if (_root.abi.a1.styp == 2) { _root.abi.cost.text = '— basic dish — '; } } if (_root.abi.a1.rar == 2) { if (_root.abi.a1.styp == 1) { _root.abi.cost.text = '— rare ingredient — '; } if (_root.abi.a1.styp == 2) { _root.abi.cost.text = '— rare dish — '; } } if (_root.abi.a1.rar == 3) { if (_root.abi.a1.styp == 1) { _root.abi.cost.text = '— epic ingredient — '; } if (_root.abi.a1.styp == 2) { _root.abi.cost.text = '— epic dish — '; } } _root.abi.tex.html = true; _root.abi.tex.htmlText = _root.abi.a1.ctex; _root.abi.a1.amount.text = _root.abi.a1.am; _root.abi.a1.enabled = false; _root.abi.a1.gotoAndStop(_root.abi.a1.cnum); } instance butn1 of movieClip 371 { onClipEvent (release) { _root.finisheventx(); _root.clearmodels(); _root.gotoAndStop(14); } onClipEvent (rollOver) { var srs = _root.abi.m62; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.abi.m62; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } } frame 41 { _root.fadetoblack(1); stop(); _global.scren = 41; if (_global.newchapter > -1) { _global.newchapter = 1; if (_global.chapt == 3) { _global.newchapter = 2; } if (_global.chapt == 12) { _global.newchapter = 2; } } else { _global.newchapter = 0; } if (_global.bossdownnowx > 0) { _global['bossdown' + _global.bossdownnowx] = 1; _global.bossdownnowx = 0; } var bossdowned = 0; var i2 = 1; i2 = 1; while (i2 <= 22) { if (_global['bossdown' + i2] == 1) { _root['b' + i2].bos.text = _root.bossnamegenerate(i2); bossdowned += 1; if (_global['bossdown' + (i2 + 1)] == 1) { _root['b' + i2].str.gotoAndStop(236); } } if (_global['bossdown' + i2] != 1 and i2 <= 11) { _root['b' + i2].gotoAndStop(2); } if (_global['bossdown' + i2] != 1 and i2 > 11) { _root['b' + i2].gotoAndStop(3); } ++i2; } _root.bosn.text = bossdowned; } instance mm6 of movieClip 1244 { onClipEvent (release) { _root.clearmodels(); _root.gotoAndStop(14); } onClipEvent (rollOver) { var srs = _root.m6; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } movieClip 1725 { frame 1 { stop(); } } frame 42 { _root.fadetoblack(1); stop(); _global.scren = 42; _global.newchapter = 1; if (_global.chapt == 0) { _root.st.gotoAndStop(1); } if (_global.chapt == 3) { _root.st.gotoAndStop(5); } if (_global.chapt == 12) { _root.st.gotoAndStop(8); } } movieClip 1731 { } movieClip 1732 { frame 300 { stop(); } } movieClip 1740 { } movieClip 1741 { frame 300 { stop(); } } movieClip 1746 { } movieClip 1747 { frame 300 { stop(); } } movieClip 1752 { } movieClip 1753 { frame 300 { stop(); } } movieClip 1774 { } movieClip 1775 { frame 400 { stop(); } } movieClip 1778 { frame 1 { stop(); _root.st.strel._xscale = 100; _root.st.strel._yscale = 80; } instance mm6 of movieClip 1244 { onClipEvent (release) { _root.clearmodels(); _root.gotoAndStop(14); } } instance mm7 of movieClip 1244 { onClipEvent (release) { if (_global.clic <= 1) { _global.clic += 1; _root.st.texz = 'BLAH-BLAH-BLAH...'; } else { _root.st.nextFrame(); } } onClipEvent (rollOver) { var srs = _root.st.m7; srs.gotoAndPlay(2); srs.behav = 1; } onClipEvent (rollOut) { var srs = _root.st.m7; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance strel of movieClip 362 { onClipEvent (release) { _root.st.nextFrame(); } onClipEvent (rollOver) { this._xscale = 105; this._yscale = 85; _root.snd_blackbutton(); } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 80; } } frame 2 { _root.st.strel._xscale = 100; _root.st.strel._yscale = 80; } frame 3 { _root.st.strel._xscale = 100; _root.st.strel._yscale = 80; } frame 4 { _root.st.strel._xscale = 100; _root.st.strel._yscale = 80; } instance strel of movieClip 362 { onClipEvent (release) { _root.clearmodels(); _root.gotoAndStop(14); } onClipEvent (rollOver) { this._xscale = 105; this._yscale = 85; _root.snd_blackbutton(); } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 80; } } frame 5 { _root.st.strel._xscale = 100; _root.st.strel._yscale = 80; } instance strel of movieClip 362 { onClipEvent (release) { _root.st.nextFrame(); } onClipEvent (rollOver) { this._xscale = 105; this._yscale = 85; _root.snd_blackbutton(); } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 80; } } frame 6 { _root.st.strel._xscale = 100; _root.st.strel._yscale = 80; } frame 7 { _root.st.strel._xscale = 100; _root.st.strel._yscale = 80; } instance strel of movieClip 362 { onClipEvent (release) { _root.clearmodels(); _root.gotoAndStop(14); } onClipEvent (rollOver) { this._xscale = 105; this._yscale = 85; _root.snd_blackbutton(); } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 80; } } frame 8 { _root.st.strel._xscale = 100; _root.st.strel._yscale = 80; } instance strel of movieClip 362 { onClipEvent (release) { _root.st.nextFrame(); } onClipEvent (rollOver) { this._xscale = 105; this._yscale = 85; _root.snd_blackbutton(); } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 80; } } frame 9 { _root.st.strel._xscale = 100; _root.st.strel._yscale = 80; } instance strel of movieClip 362 { onClipEvent (release) { _root.clearmodels(); _root.gotoAndStop(46); } onClipEvent (rollOver) { this._xscale = 105; this._yscale = 85; _root.snd_blackbutton(); } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 80; } } frame 10 { _root.st.strel._xscale = 100; _root.st.strel._yscale = 80; } instance mm6 of movieClip 1244 { onClipEvent (release) { _root.clearmodels(); _root.gotoAndStop(14); } } instance strel of movieClip 362 { onClipEvent (release) { _root.st.nextFrame(); } onClipEvent (rollOver) { this._xscale = 105; this._yscale = 85; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 80; } } } frame 43 { _root.fadetoblack(1); stop(); _global.scren = 43; _global.newchapter = 0; _root.tut.gotoAndStop(1); if (_global.chapt == 0) { _root.nam.text = 'Prologue'; } else { _root.nam.text = ''; } _root.chnz.text = _global.chapt; if (com.tremorgames.TremorGames.IsGameInTremorNetwork()) { var bossesdefeatedtosend = _global.chapt - 1; if (bossesdefeatedtosend < 0) { bossesdefeatedtosend = 0; } com.tremorgames.TremorGames.PostStat('Bosses Defeated', bossesdefeatedtosend); } _root.chapterrandoms(); } movieClip 1785 { frame 140 { _root.clearmodels(); _root.gotoAndStop(26); } } frame 44 { _root.fadetoblack(1); stop(); _global.scren = 44; _root.pvpwrite(); _root.rcode.text = _global.rstrg; _global.rstrg = ''; _root.entcode.text = ''; Selection.setFocus(_root.entcode); } instance of movieClip 371 { onClipEvent (release) { if (_root.entcode.text != '') { _global.rstrg = _root.entcode.text; _root.pvpread(); var cdchk = _root.codecheck(); if (cdchk == 1) { _root.clearmodels(); _global.hitpointsnap = _global.Hpp1 - _global.bHpMaxp1; _global.starteat = 0; _global.bossfight = 0; _root.gotoAndStop(15); } } } onClipEvent (rollOver) { var srs = _root.m7; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m7; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance mm6 of movieClip 1244 { onClipEvent (release) { _root.gotoAndPlay(14); } onClipEvent (rollOver) { var srs = _root.m6; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } movieClip 1789 { } movieClip 1791 { } movieClip 1798 { } instance menz of movieClip 515 { } frame 45 { _root.fadetoblack(1); stop(); _global.scren = 45; if (_root.expla.getDepth() < _root.p1.getDepth()) { _root.expla.swapDepths(_root.p1); } _root.s1.text = _global.HpMaxp1; if (_global.physdmgp1 > -1) { _root.s8.text = '+' + _global.physdmgp1; } else { _root.s8.text = _global.physdmgp1; } if (_global.psydmgp1 > -1) { _root.s9.text = '+' + _global.psydmgp1; } else { _root.s9.text = _global.psydmgp1; } _root.s6.text = _global.dodgep1 + '% chance'; _root.s3.text = _global.critp1 + '% chance'; _root.s7.text = 'x' + _global.addtocritp1 + ' dmg'; _root.s2.text = _global.specialp1 + '% chance'; _root.s4.text = _global.stunp1 + '% chance'; _root.s5.text = _global.doublep1 + '% chance'; } instance menz of movieClip 515 { onClipEvent (rollOver) { if (_global.maindisable == 0) { _root.menuez.gotoAndPlay(2); _root.menz.enabled = 0; } } } instance mm7 of movieClip 371 { onClipEvent (release) { _root.clearmodels(); _root.gotoAndStop(32); } onClipEvent (rollOver) { var srs = _root.m7; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m7; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } instance mm6 of movieClip 1244 { onClipEvent (release) { _root.clearmodels(); _root.gotoAndStop(14); } onClipEvent (rollOver) { var srs = _root.m6; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m6; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } frame 46 { _root.fadetoblack(1); stop(); _global.scren = 46; var achnummz = 0; var achtotalz = 0; var i2 = 1; i2 = 1; while (i2 <= 30) { if (_global['achi' + i2] > 0) { _root.achievdata(i2); achtotalz += _global.achpoint; achnummz += 1; } else { _root.bo['t' + i2].gotoAndStop(4); } ++i2; } _root.s1.text = achnummz; _root.s2.text = achtotalz; _root.s3.text = _global.inffood; _root.s4.text = _global.infwins + _global.infloses; _root.s5.text = _global.infwins; _root.s6.text = _global.infloses; if (com.tremorgames.TremorGames.IsGameInTremorNetwork()) { com.tremorgames.TremorGames.PostStat('Bosses Defeated', 11); } _root.savegame(_global.savslot); } instance of movieClip 371 { onClipEvent (release) { _root.clearmodels(); _root.gotoAndStop(14); } onClipEvent (rollOver) { var srs = _root.m7; srs.gotoAndPlay(2); srs.behav = 1; _root.snd_blackbutton(); } onClipEvent (rollOut) { var srs = _root.m7; if (srs.behav == 2) { srs.gotoAndPlay(11); } srs.behav = 0; } } frame 47 { if (_global.gotoo > 0) { _root.gotoAndStop(_global.gotoo); } else { _root.gotoAndStop(14); } } frame 48 { stop(); } movieClip 1840 { } movieClip 1842 { } movieClip 1845 { } movieClip 1846 { } movieClip 1848 { } movieClip 1849 { } movieClip 1851 { } movieClip 1852 { } movieClip 1854 { } movieClip 1855 { } movieClip 1873 { } movieClip 1874 { } movieClip 1875 { } movieClip 1876 { } movieClip 1877 { } movieClip 1878 { } movieClip 1879 { frame 20 { stop(); } } movieClip 1880 { } movieClip 1943 { } movieClip 1944 { } movieClip 2005 { } movieClip 2066 { } movieClip 2127 { } movieClip 2128 { frame 12 { stop(); } } movieClip 2129 { } movieClip 2130 { } movieClip 2131 { } movieClip 2132 { } movieClip 2133 { } movieClip 2135 { } movieClip 2136 { } movieClip 2137 { } movieClip 2139 { } movieClip 2141 { } movieClip 2144 { } movieClip 2146 { } movieClip 2149 { } movieClip 2150 { frame 76 { stop(); } } movieClip 2152 { } movieClip 2155 { } movieClip 2158 { } movieClip 2161 { } movieClip 2164 { } movieClip 2167 { } movieClip 2171 { } movieClip 2173 { frame 8 { stop(); } } movieClip 2176 { } movieClip 2179 { } movieClip 2182 { } movieClip 2185 { } movieClip 2188 { } movieClip 2191 { frame 7 { stop(); } } movieClip 2192 { frame 85 { _root.gotoAndStop(49); } } instance splashScreen of movieClip 2192 { onClipEvent (release) { com.tremorgames.TremorGames.GetTrackingURL('Fullscreen Logo'); _root.getURL('http://www.tremorgames.com', '_blank'); } } frame 49 { stop(); } movieClip 2196 { } movieClip 2197 { } movieClip 2199 { } movieClip 2201 { } movieClip 2202 { } movieClip 2203 { } movieClip 2204 { frame 26 { stop(); } } movieClip 2205 { frame 80 { _root.fadetoblack(2); } frame 100 { _root.gotoAndStop(31); } } instance of movieClip 2205 { onClipEvent (release) { _root.getURL('http://shadem.com', '_blank'); } }




http://swfchan.com/27/134562/info.shtml
Created: 9/2 -2019 21:30:25 Last modified: 9/2 -2019 21:30:25 Server time: 22/12 -2024 10:11:03