Combined Code
frame 1 {
MenNav = false;
currentPlayers = 2;
Flavor = 1;
EdnaLvl = 2;
EdnaExp = 50;
EdnaHP = 45;
EdnaHPMax = 60;
EdnaAP = 6;
EdnaAPMax = 6;
EdnaAtk = 2;
EdnaDef = 3;
EdnaQui = 4;
EdnaFit = 3;
EdnaAbi = 4;
EdnaSwi = 4;
EdwardHP = 114;
EdwardAP = 0;
PokeLvl = 3;
PokeExp = 85;
PokeHP = 30;
PokeHPMax = 70;
PokeAP = 11;
PokeAPMax = 11;
PokeAtk = 3;
PokeDef = 3;
PokeQui = 5;
PokeFit = 3;
PokeAbi = 4;
PokeSwi = 5;
CynHP = 99;
CynAP = 35;
var ednaBox = ['Hamburger', 'Hamburger', 'Energy Drink', 'Bottle Rocket', 'Lollipop', 'Edward Doll'];
var pokeBox = ['Bottle Rocket', 'Hamburger'];
}
frame 2 {
stop();
Flavor = 1;
}
movieClip 8 {
frame 1 {
stop();
if (_root.Flavor == 2) {
gotoAndStop('Edna');
} else {
if (_root.Flavor == 3) {
gotoAndStop('Cynthia');
} else {
if (_root.Flavor == 4) {
gotoAndStop('Monike');
} else {
if (_root.Flavor == 5) {
gotoAndStop('Mint');
} else {
if (_root.Flavor == 6) {
gotoAndStop('Lucy');
} else {
if (_root.Flavor == 7) {
gotoAndStop('Jenny');
}
}
}
}
}
}
}
}
// unknown tag 88 length 88
movieClip 13 {
}
button 14 {
on (rollOver) {
mcBox.gotoAndStop('Samantha');
}
on (release) {
Flavor = 1;
play();
}
}
button 16 {
on (rollOver) {
mcBox.gotoAndStop('Edna');
}
on (release) {
Flavor = 2;
play();
}
}
button 18 {
on (rollOver) {
mcBox.gotoAndStop('Cynthia');
}
on (release) {
Flavor = 3;
play();
}
}
button 20 {
on (rollOver) {
mcBox.gotoAndStop('Monike');
}
on (release) {
Flavor = 4;
play();
}
}
button 22 {
on (rollOver) {
mcBox.gotoAndStop('Mint');
}
on (release) {
Flavor = 5;
play();
}
}
button 24 {
on (rollOver) {
mcBox.gotoAndStop('Lucy');
}
on (release) {
Flavor = 6;
play();
}
}
button 26 {
on (rollOver) {
mcBox.gotoAndStop('Jenny');
}
on (release) {
Flavor = 7;
play();
}
}
frame 10 {
stop();
MenNav = true;
if (currentPlayers == 1) {
mcEdna._x = 400;
mcEdna._y = 539.4;
mcEdward._visible = false;
mcPokeinfo._visible = false;
mcCynthia._visible = false;
} else {
if (currentPlayers == 2) {
mcPokeinfo._visible = true;
mcEdward._visible = false;
mcCynthia._visible = false;
mcEdna._x = 214.3;
mcEdna._y = 539.4;
mcPokeinfo._x = 589.3;
mcPokeinfo._y = 539.4;
} else {
if (currentPlayers == 3) {
mcPokeinfo._visible = true;
mcEdward._visible = true;
mcCynthia._visible = false;
mcEdna._x = 214.3;
mcEdna._y = 539.4;
mcPokeinfo._x = 589.3;
mcPokeinfo._y = 539.4;
mcEdward._x = 371.4;
mcEdward._y = 484.4;
} else {
if (currentPlayer == 4) {
}
}
}
}
}
movieClip 35 {
frame 1 {
stop();
if (_root.Flavor == 2) {
gotoAndStop('Edna');
} else {
if (_root.Flavor == 3) {
gotoAndStop('Cynthia');
} else {
if (_root.Flavor == 4) {
gotoAndStop('Monike');
} else {
if (_root.Flavor == 5) {
gotoAndStop('Mint');
} else {
if (_root.Flavor == 6) {
gotoAndStop('Lucy');
} else {
if (_root.Flavor == 7) {
gotoAndStop('Jenny');
}
}
}
}
}
}
}
}
button 42 {
on (release) {
gotoAndStop('Close');
}
on (keyPress '<Space>') {
gotoAndStop('Close');
}
}
button 45 {
on (release) {
gotoAndStop('EdnaItems');
}
}
button 51 {
on (release) {
gotoAndStop('EdnaStats');
}
}
movieClip 59 {
frame 1 {
stop();
if (_root.Flavor == 2) {
gotoAndStop('Edna');
} else {
if (_root.Flavor == 3) {
gotoAndStop('Cynthia');
} else {
if (_root.Flavor == 4) {
gotoAndStop('Monike');
} else {
if (_root.Flavor == 5) {
gotoAndStop('Mint');
} else {
if (_root.Flavor == 6) {
gotoAndStop('Lucy');
} else {
if (_root.Flavor == 7) {
gotoAndStop('Jenny');
}
}
}
}
}
}
}
}
// unknown tag 88 length 62
// unknown tag 88 length 64
movieClip 69 {
frame 1 {
txtHP1.text = _root.PokeHP;
txtHP2.text = _root.PokeHP;
txtAP1.text = _root.PokeAP;
txtAP2.text = _root.PokeAP;
}
}
movieClip 75 {
frame 1 {
txtHP1.text = _root.EdnaHP;
txtHP2.text = _root.EdnaHP;
txtAP1.text = _root.EdnaAP;
txtAP2.text = _root.EdnaAP;
}
}
movieClip 81 {
frame 1 {
txtHP1.text = _root.CynHP;
txtHP2.text = _root.CynHP;
txtAP1.text = _root.CynAP;
txtAP2.text = _root.CynAP;
}
}
movieClip 88 {
frame 1 {
txtHP1.text = _root.EdwardHP;
txtHP2.text = _root.EdwardHP;
txtAP1.text = _root.EdwardAP;
txtAP2.text = _root.EdwardAP;
}
}
frame 20 {
if (currentPlayers == 1) {
mcArrow._x = 400;
} else {
if (currentPlayers == 2 || currentPlayers == 3) {
mcArrow._x = 214.3;
}
}
if (currentPlayers == 1) {
mcSelect1._x = 400;
mcSelect2._visible = false;
mcSelect3._visible = false;
mcSelect4._visible = false;
} else {
if (currentPlayers == 2) {
mcSelect2._visible = true;
mcSelect3._visible = false;
mcSelect4._visible = false;
mcSelect1._x = 214.3;
mcSelect2._x = 589.3;
} else {
if (currentPlayers == 3) {
mcSelect2._visible = true;
mcSelect3._visible = true;
mcSelect4._visible = false;
mcSelect1._x = 214.3;
mcSelect2._x = 589.3;
mcSelect3._x = 371.4;
} else {
if (currentPlayer == 4) {
}
}
}
}
if (currentPlayers == 1) {
mcEdna._x = 400;
mcEdna._y = 539.4;
mcEdward._visible = false;
mcPokeinfo._visible = false;
mcCynthia._visible = false;
} else {
if (currentPlayers == 2) {
mcPokeinfo._visible = true;
mcEdward._visible = false;
mcCynthia._visible = false;
mcEdna._x = 214.3;
mcEdna._y = 539.4;
mcPokeinfo._x = 589.3;
mcPokeinfo._y = 539.4;
} else {
if (currentPlayers == 3) {
mcPokeinfo._visible = true;
mcEdward._visible = true;
mcCynthia._visible = false;
mcEdna._x = 214.3;
mcEdna._y = 539.4;
mcPokeinfo._x = 589.3;
mcPokeinfo._y = 539.4;
mcEdward._x = 371.4;
mcEdward._y = 484.4;
} else {
if (currentPlayer == 4) {
}
}
}
}
Lv1.text = EdnaLvl;
Lv2.text = EdnaLvl;
Exp1.text = EdnaExp;
Exp2.text = EdnaExp;
HP1.text = EdnaHP + ' / ' + EdnaHPMax;
HP2.text = EdnaHP + ' / ' + EdnaHPMax;
AP1.text = EdnaAP + ' / ' + EdnaAPMax;
AP2.text = EdnaAP + ' / ' + EdnaAPMax;
Atk1.text = EdnaAtk;
Atk2.text = EdnaAtk;
Def1.text = EdnaDef;
Def2.text = EdnaDef;
Qui1.text = EdnaQui;
Qui2.text = EdnaQui;
Fig1.text = EdnaFit;
Fig2.text = EdnaFit;
Abi1.text = EdnaAbi;
Abi2.text = EdnaAbi;
Swi1.text = EdnaSwi;
Swi2.text = EdnaSwi;
}
movieClip 96 {
frame 1 {
stop();
if (_root.Flavor == 2) {
gotoAndStop('Edna');
} else {
if (_root.Flavor == 3) {
gotoAndStop('Cynthia');
} else {
if (_root.Flavor == 4) {
gotoAndStop('Monike');
} else {
if (_root.Flavor == 5) {
gotoAndStop('Mint');
} else {
if (_root.Flavor == 6) {
gotoAndStop('Lucy');
} else {
if (_root.Flavor == 7) {
gotoAndStop('Jenny');
}
}
}
}
}
}
}
}
button 119 {
on (release) {
gotoAndStop('EdnaStats');
}
}
button 120 {
on (release) {
gotoAndStop('PokeStats');
}
}
button 121 {
on (release) {
gotoAndStop('EdStats');
}
}
button 122 {
on (release) {
gotoAndStop('CynStats');
}
}
frame 30 {
if (currentPlayers == 1) {
mcArrow._x = 400;
} else {
if (currentPlayers == 2 || currentPlayers == 3) {
mcArrow._x = 589.3;
}
}
Lv1.text = PokeLvl;
Lv2.text = PokeLvl;
Exp1.text = PokeExp;
Exp2.text = PokeExp;
HP1.text = PokeHP + ' / ' + PokeHPMax;
HP2.text = PokeHP + ' / ' + PokeHPMax;
AP1.text = PokeAP + ' / ' + PokeAPMax;
AP2.text = PokeAP + ' / ' + PokeAPMax;
Atk1.text = PokeAtk;
Atk2.text = PokeAtk;
Def1.text = PokeDef;
Def2.text = PokeDef;
Qui1.text = PokeQui;
Qui2.text = PokeQui;
Fig1.text = PokeFit;
Fig2.text = PokeFit;
Abi1.text = PokeAbi;
Abi2.text = PokeAbi;
Swi1.text = PokeSwi;
Swi2.text = PokeSwi;
}
frame 40 {
if (currentPlayers == 3) {
mcArrow2._x = 371.4;
}
}
frame 60 {
if (currentPlayers == 1) {
mcArrow._x = 400;
} else {
if (currentPlayers == 2 || currentPlayers == 3) {
mcArrow._x = 214.3;
}
}
if (currentPlayers == 1) {
mcSelect1._x = 400;
mcSelect2._visible = false;
mcSelect3._visible = false;
mcSelect4._visible = false;
} else {
if (currentPlayers == 2) {
mcSelect2._visible = true;
mcSelect3._visible = false;
mcSelect4._visible = false;
mcSelect1._x = 214.3;
mcSelect2._x = 589.3;
} else {
if (currentPlayers == 3) {
mcSelect2._visible = true;
mcSelect3._visible = true;
mcSelect4._visible = false;
mcSelect1._x = 214.3;
mcSelect2._x = 589.3;
mcSelect3._x = 371.4;
} else {
if (currentPlayer == 4) {
}
}
}
}
if (currentPlayers == 1) {
mcArrow._x = 400;
} else {
if (currentPlayers == 2 || currentPlayers == 3) {
mcArrow._x = 214.3;
}
}
if (ednaBox[0] == undefined) {
Item0.text = '';
btnItem0._visible = false;
} else {
Item0.text = ednaBox[0];
}
if (ednaBox[1] == undefined) {
Item1.text = '';
btnItem1._visible = false;
} else {
Item1.text = ednaBox[1];
}
if (ednaBox[2] == undefined) {
Item2.text = '';
btnItem2._visible = false;
} else {
Item2.text = ednaBox[2];
}
if (ednaBox[3] == undefined) {
Item3.text = '';
btnItem3._visible = false;
} else {
Item3.text = ednaBox[3];
}
if (ednaBox[4] == undefined) {
Item4.text = '';
btnItem4._visible = false;
} else {
Item4.text = ednaBox[4];
}
if (ednaBox[5] == undefined) {
Item5.text = '';
btnItem5._visible = false;
} else {
Item5.text = ednaBox[5];
}
if (ednaBox[6] == undefined) {
Item6.text = '';
btnItem6._visible = false;
} else {
Item6.text = ednaBox[6];
}
if (ednaBox[7] == undefined) {
Item7.text = '';
btnItem7._visible = false;
} else {
Item7.text = ednaBox[7];
}
if (ednaBox[8] == undefined) {
Item8.text = '';
btnItem8._visible = false;
} else {
Item8.text = ednaBox[8];
}
if (ednaBox[9] == undefined) {
Item9.text = '';
btnItem9._visible = false;
} else {
Item9.text = ednaBox[9];
}
if (ednaBox[10] == undefined) {
Item10.text = '';
btnItem10._visible = false;
} else {
Item10.text = ednaBox[10];
}
if (ednaBox[11] == undefined) {
Item11.text = '';
btnItem11._visible = false;
} else {
Item11.text = ednaBox[11];
}
if (ednaBox[12] == undefined) {
Item12.text = '';
btnItem12._visible = false;
} else {
Item12.text = ednaBox[12];
}
if (ednaBox[13] == undefined) {
Item13.text = '';
btnItem13._visible = false;
} else {
Item13.text = ednaBox[13];
}
if (ednaBox[14] == undefined) {
Item14.text = '';
btnItem14._visible = false;
} else {
Item14.text = ednaBox[14];
}
if (ednaBox[15] == undefined) {
Item15.text = '';
btnItem15._visible = false;
} else {
Item15.text = ednaBox[15];
}
if (currentPlayers == 1) {
mcEdna._x = 400;
mcEdna._y = 539.4;
mcEdward._visible = false;
mcPokeinfo._visible = false;
mcCynthia._visible = false;
} else {
if (currentPlayers == 2) {
mcPokeinfo._visible = true;
mcEdward._visible = false;
mcCynthia._visible = false;
mcEdna._x = 214.3;
mcEdna._y = 539.4;
mcPokeinfo._x = 589.3;
mcPokeinfo._y = 539.4;
} else {
if (currentPlayers == 3) {
mcPokeinfo._visible = true;
mcEdward._visible = true;
mcCynthia._visible = false;
mcEdna._x = 214.3;
mcEdna._y = 539.4;
mcPokeinfo._x = 589.3;
mcPokeinfo._y = 539.4;
mcEdward._x = 371.4;
mcEdward._y = 484.4;
} else {
if (currentPlayer == 4) {
}
}
}
}
}
button 187 {
on (rollOver) {
if (ednaBox[1] == 'Hamburger') {
itemInfo.text = 'A tasty hamburger that can heal 50 HP';
} else {
if (ednaBox[1] == 'Energy Drink') {
itemInfo.text = 'This suger filled drink can revive 20 AP';
} else {
if (ednaBox[1] == 'Lollipop') {
itemInfo.text = 'A tasty snack that can heal 15 HP';
} else {
if (ednaBox[1] == 'Bottle Rocket') {
itemInfo.text = 'Do not aim towards face. Deals heavy damage to an enemy.';
}
}
}
}
}
on (rollOut) {
itemInfo.text = '';
}
on (release) {
ItemUse = ednaBox[1];
ItemLocation = 1;
gotoAndStop('EdnaUse');
}
}
button 188 {
on (rollOver) {
if (ednaBox[0] == 'Hamburger') {
itemInfo.text = 'A tasty hamburger that can heal 50 HP';
} else {
if (ednaBox[0] == 'Energy Drink') {
itemInfo.text = 'This suger filled drink can revive 20 AP';
} else {
if (ednaBox[0] == 'Lollipop') {
itemInfo.text = 'A tasty snack that can heal 15 HP';
} else {
if (ednaBox[0] == 'Bottle Rocket') {
itemInfo.text = 'Do not aim towards face. Deals heavy damage to an enemy.';
}
}
}
}
}
on (rollOut) {
itemInfo.text = '';
}
on (release) {
ItemUse = ednaBox[0];
ItemLocation = 0;
gotoAndStop('EdnaUse');
}
}
button 190 {
on (rollOver) {
if (ednaBox[2] == 'Hamburger') {
itemInfo.text = 'A tasty hamburger that can heal 50 HP';
} else {
if (ednaBox[2] == 'Energy Drink') {
itemInfo.text = 'This suger filled drink can revive 20 AP';
} else {
if (ednaBox[2] == 'Lollipop') {
itemInfo.text = 'A tasty snack that can heal 15 HP';
} else {
if (ednaBox[2] == 'Bottle Rocket') {
itemInfo.text = 'Do not aim towards face. Deals heavy damage to an enemy.';
}
}
}
}
}
on (rollOut) {
itemInfo.text = '';
}
on (release) {
ItemUse = ednaBox[2];
ItemLocation = 2;
gotoAndStop('EdnaUse');
}
}
button 191 {
on (rollOver) {
if (ednaBox[4] == 'Hamburger') {
itemInfo.text = 'A tasty hamburger that can heal 50 HP';
} else {
if (ednaBox[4] == 'Energy Drink') {
itemInfo.text = 'This suger filled drink can revive 20 AP';
} else {
if (ednaBox[4] == 'Lollipop') {
itemInfo.text = 'A tasty snack that can heal 15 HP';
} else {
if (ednaBox[4] == 'Bottle Rocket') {
itemInfo.text = 'Do not aim towards face. Deals heavy damage to an enemy.';
}
}
}
}
}
on (rollOut) {
itemInfo.text = '';
}
on (release) {
ItemUse = ednaBox[4];
ItemLocation = 4;
gotoAndStop('EdnaUse');
}
}
button 192 {
on (rollOver) {
if (ednaBox[6] == 'Hamburger') {
itemInfo.text = 'A tasty hamburger that can heal 50 HP';
} else {
if (ednaBox[6] == 'Energy Drink') {
itemInfo.text = 'This suger filled drink can revive 20 AP';
} else {
if (ednaBox[6] == 'Lollipop') {
itemInfo.text = 'A tasty snack that can heal 15 HP';
} else {
if (ednaBox[6] == 'Bottle Rocket') {
itemInfo.text = 'Do not aim towards face. Deals heavy damage to an enemy.';
}
}
}
}
}
on (rollOut) {
itemInfo.text = '';
}
on (release) {
ItemUse = ednaBox[6];
ItemLocation = 6;
gotoAndStop('EdnaUse');
}
}
button 194 {
on (rollOver) {
if (ednaBox[3] == 'Hamburger') {
itemInfo.text = 'A tasty hamburger that can heal 50 HP';
} else {
if (ednaBox[3] == 'Energy Drink') {
itemInfo.text = 'This suger filled drink can revive 20 AP';
} else {
if (ednaBox[3] == 'Lollipop') {
itemInfo.text = 'A tasty snack that can heal 15 HP';
} else {
if (ednaBox[3] == 'Bottle Rocket') {
itemInfo.text = 'Do not aim towards face. Deals heavy damage to an enemy.';
}
}
}
}
}
on (rollOut) {
itemInfo.text = '';
}
on (release) {
ItemUse = ednaBox[3];
ItemLocation = 3;
gotoAndStop('EdnaUse');
}
}
button 195 {
on (rollOver) {
if (ednaBox[5] == 'Hamburger') {
itemInfo.text = 'A tasty hamburger that can heal 50 HP';
} else {
if (ednaBox[5] == 'Energy Drink') {
itemInfo.text = 'This suger filled drink can revive 20 AP';
} else {
if (ednaBox[5] == 'Lollipop') {
itemInfo.text = 'A tasty snack that can heal 15 HP';
} else {
if (ednaBox[5] == 'Bottle Rocket') {
itemInfo.text = 'Do not aim towards face. Deals heavy damage to an enemy.';
}
}
}
}
}
on (rollOut) {
itemInfo.text = '';
}
on (release) {
ItemUse = ednaBox[5];
ItemLocation = 5;
gotoAndStop('EdnaUse');
}
}
button 196 {
on (rollOver) {
if (ednaBox[7] == 'Hamburger') {
itemInfo.text = 'A tasty hamburger that can heal 50 HP';
} else {
if (ednaBox[7] == 'Energy Drink') {
itemInfo.text = 'This suger filled drink can revive 20 AP';
} else {
if (ednaBox[7] == 'Lollipop') {
itemInfo.text = 'A tasty snack that can heal 15 HP';
} else {
if (ednaBox[7] == 'Bottle Rocket') {
itemInfo.text = 'Do not aim towards face. Deals heavy damage to an enemy.';
}
}
}
}
}
on (rollOut) {
itemInfo.text = '';
}
on (release) {
ItemUse = ednaBox[7];
ItemLocation = 7;
gotoAndStop('EdnaUse');
}
}
button 213 {
on (release) {
gotoAndStop('EdnaItems');
}
}
button 214 {
on (release) {
gotoAndStop('PokeItems');
}
}
button 215 {
on (release) {
gotoAndStop('EdItems');
}
}
button 216 {
on (release) {
gotoAndStop('CynItems');
}
}
frame 70 {
if (currentPlayers == 1) {
mcSelect1._x = 400;
mcSelect2._visible = false;
mcSelect3._visible = false;
mcSelect4._visible = false;
} else {
if (currentPlayers == 2) {
mcSelect2._visible = true;
mcSelect3._visible = false;
mcSelect4._visible = false;
mcSelect1._x = 214.3;
mcSelect2._x = 589.3;
} else {
if (currentPlayers == 3) {
mcSelect2._visible = true;
mcSelect3._visible = true;
mcSelect4._visible = false;
mcSelect1._x = 214.3;
mcSelect2._x = 589.3;
mcSelect3._x = 371.4;
} else {
if (currentPlayer == 4) {
}
}
}
}
}
button 220 {
on (rollOver) {
itemInfo.text = 'Drop this item? Warning: Clicking this mean you\'ll lose this item forever.';
}
on (rollOut) {
itemInfo.text = 'Who will you use this item on?';
}
on (release) {
gotoAndStop('EdnaReset');
}
}
button 223 {
on (rollOver) {
itemInfo.text = 'Give this item to someone?';
}
on (rollOut) {
itemInfo.text = 'Who will you use this item on?';
}
on (release) {
gotoAndStop('EdnaGive');
}
}
button 226 {
on (release) {
gotoAndStop('EdnaItems');
}
}
button 227 {
on (release) {
if (ItemUse == 'Hamburger') {
EdnaHP += 50;
gotoAndStop('EdnaReset');
} else {
itemInfo.text = 'You can not use that item Edna...';
}
}
}
button 228 {
on (release) {
if (ItemUse == 'Hamburger') {
PokeHP += 50;
gotoAndStop('EdnaReset');
} else {
itemInfo.text = 'You can not use that item Pokeinfo...';
}
}
}
button 229 {
on (release) {
if (ItemUse == 'Hamburger') {
EdwardHP += 50;
gotoAndStop('EdnaReset');
} else {
itemInfo.text = 'You can not use that item Edward...';
}
}
}
button 230 {
on (release) {
if (ItemUse == 'Hamburger') {
CynHP += 50;
gotoAndStop('EdnaReset');
} else {
itemInfo.text = 'You can not use that item Cynthia...';
}
}
}
frame 80 {
if (currentPlayers == 1) {
mcSelect1._x = 400;
mcSelect2._visible = false;
mcSelect3._visible = false;
mcSelect4._visible = false;
} else {
if (currentPlayers == 2) {
mcSelect2._visible = true;
mcSelect3._visible = false;
mcSelect4._visible = false;
mcSelect1._x = 214.3;
mcSelect2._x = 589.3;
} else {
if (currentPlayers == 3) {
mcSelect2._visible = true;
mcSelect3._visible = true;
mcSelect4._visible = false;
mcSelect1._x = 214.3;
mcSelect2._x = 589.3;
mcSelect3._x = 371.4;
} else {
if (currentPlayer == 4) {
}
}
}
}
}
button 232 {
on (rollOver) {
itemInfo.text = 'Drop this item? Warning: Clicking this mean you\'ll lose this item forever.';
}
on (rollOut) {
itemInfo.text = 'Who will you give this item to?';
}
on (release) {
gotoAndStop('EdnaReset');
}
}
button 233 {
on (rollOver) {
itemInfo.text = 'Use this item on someone instead?';
}
on (rollOut) {
itemInfo.text = 'Who will you give this item to?';
}
on (release) {
gotoAndStop('EdnaUse');
}
}
button 234 {
on (release) {
pokeBox.push(ItemUse);
gotoAndStop('EdnaReset');
}
}
button 235 {
on (release) {
edwardBox.push(ItemUse);
gotoAndStop('EdnaReset');
}
}
button 236 {
on (release) {
cynBox.push(ItemUse);
gotoAndStop('EdnaReset');
}
}
frame 89 {
if (ItemLocation == 0) {
ednaBox.splice(0, 1);
} else {
if (ItemLocation == 1) {
ednaBox.splice(1, 1);
} else {
if (ItemLocation == 2) {
ednaBox.splice(2, 1);
} else {
if (ItemLocation == 3) {
ednaBox.splice(3, 1);
} else {
if (ItemLocation == 4) {
ednaBox.splice(4, 1);
} else {
if (ItemLocation == 5) {
ednaBox.splice(5, 1);
} else {
if (ItemLocation == 6) {
ednaBox.splice(6, 1);
} else {
if (ItemLocation == 7) {
ednaBox.splice(7, 1);
}
}
}
}
}
}
}
}
if (EdnaHP > EdnaHPMax) {
EdnaHP = EdnaHPMax;
}
if (PokeHP > PokeHPMax) {
PokeHP = PokeHPMax;
}
if (EdwardHP > EdwardHPMax) {
EdwardHP = EdwardHPMax;
}
if (CynHP > CynHPMax) {
CynHP = CynHPMax;
}
if (EdnaAP > EdnaAPMax) {
EdnaAP = EdnaAPMax;
}
if (PokeAP > PokeAPMax) {
PokeAP = PokeAPMax;
}
if (EdwardAP > EdwardAPMax) {
EdwardAP = EdwardAPMax;
}
if (CynAP > CynAPMax) {
CynAP = CynAPMax;
}
gotoAndStop('EdnaItems');
}
frame 90 {
if (currentPlayers == 2 || currentPlayers == 3) {
mcArrow._x = 589.3;
}
if (currentPlayers == 1) {
mcSelect1._x = 400;
mcSelect2._visible = false;
mcSelect3._visible = false;
mcSelect4._visible = false;
} else {
if (currentPlayers == 2) {
mcSelect2._visible = true;
mcSelect3._visible = false;
mcSelect4._visible = false;
mcSelect1._x = 214.3;
mcSelect2._x = 589.3;
} else {
if (currentPlayers == 3) {
mcSelect2._visible = true;
mcSelect3._visible = true;
mcSelect4._visible = false;
mcSelect1._x = 214.3;
mcSelect2._x = 589.3;
mcSelect3._x = 371.4;
} else {
if (currentPlayer == 4) {
}
}
}
}
if (pokeBox[0] == undefined) {
Item0.text = '';
btnItem0._visible = false;
} else {
Item0.text = pokeBox[0];
}
if (pokeBox[1] == undefined) {
Item1.text = '';
btnItem1._visible = false;
} else {
Item1.text = pokeBox[1];
}
if (pokeBox[2] == undefined) {
Item2.text = '';
btnItem2._visible = false;
} else {
Item2.text = pokeBox[2];
}
if (pokeBox[3] == undefined) {
Item3.text = '';
btnItem3._visible = false;
} else {
Item3.text = pokeBox[3];
}
if (pokeBox[4] == undefined) {
Item4.text = '';
btnItem4._visible = false;
} else {
Item4.text = pokeBox[4];
}
if (pokeBox[5] == undefined) {
Item5.text = '';
btnItem5._visible = false;
} else {
Item5.text = pokeBox[5];
}
if (pokeBox[6] == undefined) {
Item6.text = '';
btnItem6._visible = false;
} else {
Item6.text = pokeBox[6];
}
if (pokeBox[7] == undefined) {
Item7.text = '';
btnItem7._visible = false;
} else {
Item7.text = pokeBox[7];
}
if (pokeBox[8] == undefined) {
Item8.text = '';
btnItem8._visible = false;
} else {
Item8.text = pokeBox[8];
}
if (pokeBox[9] == undefined) {
Item9.text = '';
btnItem9._visible = false;
} else {
Item9.text = pokeBox[9];
}
if (pokeBox[10] == undefined) {
Item10.text = '';
btnItem10._visible = false;
} else {
Item10.text = pokeBox[10];
}
if (pokeBox[11] == undefined) {
Item11.text = '';
btnItem11._visible = false;
} else {
Item11.text = pokeBox[11];
}
if (pokeBox[12] == undefined) {
Item12.text = '';
btnItem12._visible = false;
} else {
Item12.text = pokeBox[12];
}
if (pokeBox[13] == undefined) {
Item13.text = '';
btnItem13._visible = false;
} else {
Item13.text = pokeBox[13];
}
if (pokeBox[14] == undefined) {
Item14.text = '';
btnItem14._visible = false;
} else {
Item14.text = pokeBox[14];
}
if (pokeBox[15] == undefined) {
Item15.text = '';
btnItem15._visible = false;
} else {
Item15.text = pokeBox[15];
}
if (currentPlayers == 1) {
mcEdna._x = 400;
mcEdna._y = 539.4;
mcEdward._visible = false;
mcPokeinfo._visible = false;
mcCynthia._visible = false;
} else {
if (currentPlayers == 2) {
mcPokeinfo._visible = true;
mcEdward._visible = false;
mcCynthia._visible = false;
mcEdna._x = 214.3;
mcEdna._y = 539.4;
mcPokeinfo._x = 589.3;
mcPokeinfo._y = 539.4;
} else {
if (currentPlayers == 3) {
mcPokeinfo._visible = true;
mcEdward._visible = true;
mcCynthia._visible = false;
mcEdna._x = 214.3;
mcEdna._y = 539.4;
mcPokeinfo._x = 589.3;
mcPokeinfo._y = 539.4;
mcEdward._x = 371.4;
mcEdward._y = 484.4;
} else {
if (currentPlayer == 4) {
}
}
}
}
}
button 237 {
on (rollOver) {
if (pokeBox[1] == 'Hamburger') {
itemInfo.text = 'A tasty hamburger that can heal 50 HP';
} else {
if (pokeBox[1] == 'Energy Drink') {
itemInfo.text = 'This suger filled drink can revive 20 AP';
} else {
if (pokeBox[1] == 'Lollipop') {
itemInfo.text = 'A tasty snack that can heal 15 HP';
} else {
if (pokeBox[1] == 'Bottle Rocket') {
itemInfo.text = 'Do not aim towards face. Deals heavy damage to an enemy.';
}
}
}
}
}
on (rollOut) {
itemInfo.text = '';
}
on (release) {
ItemUse = pokeBox[1];
ItemLocation = 1;
gotoAndStop('pokeUse');
}
}
button 238 {
on (rollOver) {
if (pokeBox[0] == 'Hamburger') {
itemInfo.text = 'A tasty hamburger that can heal 50 HP';
} else {
if (pokeBox[0] == 'Energy Drink') {
itemInfo.text = 'This suger filled drink can revive 20 AP';
} else {
if (pokeBox[0] == 'Lollipop') {
itemInfo.text = 'A tasty snack that can heal 15 HP';
} else {
if (pokeBox[0] == 'Bottle Rocket') {
itemInfo.text = 'Do not aim towards face. Deals heavy damage to an enemy.';
}
}
}
}
}
on (rollOut) {
itemInfo.text = '';
}
on (release) {
ItemUse = pokeBox[0];
ItemLocation = 0;
gotoAndStop('pokeUse');
}
}
button 240 {
on (rollOver) {
if (pokeBox[2] == 'Hamburger') {
itemInfo.text = 'A tasty hamburger that can heal 50 HP';
} else {
if (pokeBox[2] == 'Energy Drink') {
itemInfo.text = 'This suger filled drink can revive 20 AP';
} else {
if (pokeBox[2] == 'Lollipop') {
itemInfo.text = 'A tasty snack that can heal 15 HP';
} else {
if (pokeBox[2] == 'Bottle Rocket') {
itemInfo.text = 'Do not aim towards face. Deals heavy damage to an enemy.';
}
}
}
}
}
on (rollOut) {
itemInfo.text = '';
}
on (release) {
ItemUse = pokeBox[2];
ItemLocation = 2;
gotoAndStop('pokeUse');
}
}
button 241 {
on (rollOver) {
if (pokeBox[4] == 'Hamburger') {
itemInfo.text = 'A tasty hamburger that can heal 50 HP';
} else {
if (pokeBox[4] == 'Energy Drink') {
itemInfo.text = 'This suger filled drink can revive 20 AP';
} else {
if (pokeBox[4] == 'Lollipop') {
itemInfo.text = 'A tasty snack that can heal 15 HP';
} else {
if (pokeBox[4] == 'Bottle Rocket') {
itemInfo.text = 'Do not aim towards face. Deals heavy damage to an enemy.';
}
}
}
}
}
on (rollOut) {
itemInfo.text = '';
}
on (release) {
ItemUse = pokeBox[4];
ItemLocation = 4;
gotoAndStop('pokeUse');
}
}
button 242 {
on (rollOver) {
if (pokeBox[6] == 'Hamburger') {
itemInfo.text = 'A tasty hamburger that can heal 50 HP';
} else {
if (pokeBox[6] == 'Energy Drink') {
itemInfo.text = 'This suger filled drink can revive 20 AP';
} else {
if (pokeBox[6] == 'Lollipop') {
itemInfo.text = 'A tasty snack that can heal 15 HP';
} else {
if (pokeBox[6] == 'Bottle Rocket') {
itemInfo.text = 'Do not aim towards face. Deals heavy damage to an enemy.';
}
}
}
}
}
on (rollOut) {
itemInfo.text = '';
}
on (release) {
ItemUse = pokeBox[6];
ItemLocation = 6;
gotoAndStop('pokeUse');
}
}
button 243 {
on (rollOver) {
if (pokeBox[3] == 'Hamburger') {
itemInfo.text = 'A tasty hamburger that can heal 50 HP';
} else {
if (pokeBox[3] == 'Energy Drink') {
itemInfo.text = 'This suger filled drink can revive 20 AP';
} else {
if (pokeBox[3] == 'Lollipop') {
itemInfo.text = 'A tasty snack that can heal 15 HP';
} else {
if (pokeBox[3] == 'Bottle Rocket') {
itemInfo.text = 'Do not aim towards face. Deals heavy damage to an enemy.';
}
}
}
}
}
on (rollOut) {
itemInfo.text = '';
}
on (release) {
ItemUse = pokeBox[3];
ItemLocation = 3;
gotoAndStop('pokeUse');
}
}
button 244 {
on (rollOver) {
if (pokeBox[5] == 'Hamburger') {
itemInfo.text = 'A tasty hamburger that can heal 50 HP';
} else {
if (pokeBox[5] == 'Energy Drink') {
itemInfo.text = 'This suger filled drink can revive 20 AP';
} else {
if (pokeBox[5] == 'Lollipop') {
itemInfo.text = 'A tasty snack that can heal 15 HP';
} else {
if (pokeBox[5] == 'Bottle Rocket') {
itemInfo.text = 'Do not aim towards face. Deals heavy damage to an enemy.';
}
}
}
}
}
on (rollOut) {
itemInfo.text = '';
}
on (release) {
ItemUse = pokeBox[5];
ItemLocation = 5;
gotoAndStop('pokeUse');
}
}
button 245 {
on (rollOver) {
if (pokeBox[7] == 'Hamburger') {
itemInfo.text = 'A tasty hamburger that can heal 50 HP';
} else {
if (pokeBox[7] == 'Energy Drink') {
itemInfo.text = 'This suger filled drink can revive 20 AP';
} else {
if (pokeBox[7] == 'Lollipop') {
itemInfo.text = 'A tasty snack that can heal 15 HP';
} else {
if (pokeBox[7] == 'Bottle Rocket') {
itemInfo.text = 'Do not aim towards face. Deals heavy damage to an enemy.';
}
}
}
}
}
on (rollOut) {
itemInfo.text = '';
}
on (release) {
ItemUse = pokeBox[7];
ItemLocation = 7;
gotoAndStop('pokeUse');
}
}
frame 100 {
if (currentPlayers == 1) {
mcSelect1._x = 400;
mcSelect2._visible = false;
mcSelect3._visible = false;
mcSelect4._visible = false;
} else {
if (currentPlayers == 2) {
mcSelect2._visible = true;
mcSelect3._visible = false;
mcSelect4._visible = false;
mcSelect1._x = 214.3;
mcSelect2._x = 589.3;
} else {
if (currentPlayers == 3) {
mcSelect2._visible = true;
mcSelect3._visible = true;
mcSelect4._visible = false;
mcSelect1._x = 214.3;
mcSelect2._x = 589.3;
mcSelect3._x = 371.4;
} else {
if (currentPlayer == 4) {
}
}
}
}
}
button 263 {
on (rollOver) {
itemInfo.text = 'Drop this item? Warning: Clicking this mean you\'ll lose this item forever.';
}
on (rollOut) {
itemInfo.text = 'Who will you use this item on?';
}
on (release) {
gotoAndStop('PokeReset');
}
}
button 264 {
on (rollOver) {
itemInfo.text = 'Give this item to someone?';
}
on (rollOut) {
itemInfo.text = 'Who will you use this item on?';
}
on (release) {
gotoAndStop('PokeGive');
}
}
button 265 {
on (release) {
gotoAndStop('PokeItems');
}
}
button 266 {
on (release) {
if (ItemUse == 'Hamburger') {
EdnaHP += 50;
gotoAndStop('PokeReset');
} else {
itemInfo.text = 'You can not use that item Edna...';
}
}
}
button 267 {
on (release) {
if (ItemUse == 'Hamburger') {
PokeHP += 50;
gotoAndStop('PokeReset');
} else {
itemInfo.text = 'You can not use that item Pokeinfo...';
}
}
}
button 268 {
on (release) {
if (ItemUse == 'Hamburger') {
EdwardHP += 50;
gotoAndStop('PokeReset');
} else {
itemInfo.text = 'You can not use that item Edward...';
}
}
}
button 269 {
on (release) {
if (ItemUse == 'Hamburger') {
CynHP += 50;
gotoAndStop('PokeReset');
} else {
itemInfo.text = 'You can not use that item Cynthia...';
}
}
}
frame 110 {
if (currentPlayers == 1) {
mcSelect1._x = 400;
mcSelect2._visible = false;
mcSelect3._visible = false;
mcSelect4._visible = false;
} else {
if (currentPlayers == 2) {
mcSelect2._visible = true;
mcSelect3._visible = false;
mcSelect4._visible = false;
mcSelect1._x = 214.3;
mcSelect2._x = 589.3;
} else {
if (currentPlayers == 3) {
mcSelect2._visible = true;
mcSelect3._visible = true;
mcSelect4._visible = false;
mcSelect1._x = 214.3;
mcSelect2._x = 589.3;
mcSelect3._x = 371.4;
} else {
if (currentPlayer == 4) {
}
}
}
}
}
button 271 {
on (rollOver) {
itemInfo.text = 'Drop this item? Warning: Clicking this mean you\'ll lose this item forever.';
}
on (rollOut) {
itemInfo.text = 'Who will you give this item to?';
}
on (release) {
gotoAndStop('PokeReset');
}
}
button 272 {
on (rollOver) {
itemInfo.text = 'Use this item on someone instead?';
}
on (rollOut) {
itemInfo.text = 'Who will you give this item to?';
}
on (release) {
gotoAndStop('PokeUse');
}
}
button 273 {
on (release) {
ednaBox.push(ItemUse);
gotoAndStop('PokeReset');
}
}
button 274 {
on (release) {
edwardBox.push(ItemUse);
gotoAndStop('PokeReset');
}
}
button 275 {
on (release) {
cynBox.push(ItemUse);
gotoAndStop('PokeReset');
}
}
frame 119 {
if (ItemLocation == 0) {
pokeBox.splice(0, 1);
} else {
if (ItemLocation == 1) {
pokeBox.splice(1, 1);
} else {
if (ItemLocation == 2) {
pokeBox.splice(2, 1);
} else {
if (ItemLocation == 3) {
pokeBox.splice(3, 1);
} else {
if (ItemLocation == 4) {
pokeBox.splice(4, 1);
} else {
if (ItemLocation == 5) {
pokeBox.splice(5, 1);
} else {
if (ItemLocation == 6) {
pokeBox.splice(6, 1);
} else {
if (ItemLocation == 7) {
pokeBox.splice(7, 1);
}
}
}
}
}
}
}
}
if (EdnaHP > EdnaHPMax) {
EdnaHP = EdnaHPMax;
}
if (PokeHP > PokeHPMax) {
PokeHP = PokeHPMax;
}
if (EdwardHP > EdwardHPMax) {
EdwardHP = EdwardHPMax;
}
if (CynHP > CynHPMax) {
CynHP = CynHPMax;
}
if (EdnaAP > EdnaAPMax) {
EdnaAP = EdnaAPMax;
}
if (PokeAP > PokeAPMax) {
PokeAP = PokeAPMax;
}
if (EdwardAP > EdwardAPMax) {
EdwardAP = EdwardAPMax;
}
if (CynAP > CynAPMax) {
CynAP = CynAPMax;
}
gotoAndStop('PokeItems');
}