Combined Code
frame 1 {
var lake = true;
var western = false;
var river = false;
var eastern = false;
var cave = false;
var inside = false;
var shrine = false;
var mountain = false;
var field = false;
var floatzelen = 100;
var flatzelsta = 100;
var floatzelhel = 100;
var ninetailsen = 100;
var ninetailssta = 100;
var ninetailshel = 100;
var leafeonen = 100;
var leafeonsta = 100;
var leafeonhel = 100;
var lucarioen = 100;
var lucariosta = 100;
var lucariohel = 100;
var garden = 100;
var gardsta = 100;
var gardhel = 100;
var absolen = 100;
var absolsta = 100;
var absolhel = 100;
var traineren = 100;
var trainersta = 100;
var trainerhel = 100;
var water = 1;
var fire = 1;
var grass = 1;
var fight = 1;
var psychic = 1;
var dark = 1;
var trainer = 1;
var floatzel = false;
var ninetails = false;
var leafeon = false;
var lucario = false;
var gardevior = false;
var absol = false;
}
frame 2 {
stop();
if (floatzel == false) {
_root.PokemonOne._visible = !_root.PokemonOne._visible;
}
if (ninetails == false) {
_root.PokemonTwo._visible = !_root.PokemonTwo._visible;
}
if (leafeon == false) {
_root.PokemonThree._visible = !_root.PokemonThree._visible;
}
if (lucario == false) {
_root.PokemonFour._visible = !_root.PokemonFour._visible;
}
if (gardevior == false) {
_root.PokemonFive._visible = !_root.PokemonFive._visible;
}
if (absol == false) {
_root.PokemonSix._visible = !_root.PokemonSix._visible;
}
}
button 2 {
on (rollOver) {
infoBox.text = 'Floatzel \nWater type Pokemon \nSkills: Swimming, Fishing';
floatzel = true;
gotoAndStop('picJump');
}
on (rollOut) {
infoBox.text = '';
floatzel = false;
gotoAndStop('picJump');
}
on (release) {
floatzel = false;
choiceOne = 1;
gotoAndStop('picTwo');
}
}
button 3 {
on (rollOver) {
infoBox.text = 'Absol \nDark type Pokemon \nSkills: Perdicting severe \nstorms and providing \nprotection.';
absol = true;
gotoAndStop('picJump');
}
on (rollOut) {
infoBox.text = '';
absol = false;
gotoAndStop('picJump');
}
on (release) {
absol = false;
choiceOne = 6;
gotoAndStop('picTwo');
}
}
button 4 {
on (rollOver) {
infoBox.text = 'Gardevior \nPsychic type Pokemon \nSkills: Teleportation and healing.';
gardevior = true;
gotoAndStop('picJump');
}
on (rollOut) {
infoBox.text = '';
gardevior = false;
gotoAndStop('picJump');
}
on (press) {
gardevior = false;
choiceOne = 5;
gotoAndStop('picTwo');
}
}
button 5 {
on (rollOver) {
infoBox.text = 'Lucario \nFighting type Pokemon \nSkills: Fighting skills and can \nlift heavy objects.';
lucario = true;
gotoAndStop('picJump');
}
on (rollOut) {
infoBox.text = '';
lucario = false;
gotoAndStop('picJump');
}
on (release) {
lucario = false;
choiceOne = 4;
gotoAndStop('picTwo');
}
}
button 6 {
on (rollOver) {
infoBox.text = 'Leafeon \nPlant type Pokemon \nSkills: Finding and Collecting \nFood and rare plants.';
leafeon = true;
gotoAndStop('picJump');
}
on (rollOut) {
infoBox.text = '';
leafeon = false;
gotoAndStop('picJump');
}
on (release) {
leafeon = false;
choiceOne = 3;
gotoAndStop('picTwo');
}
}
button 7 {
on (rollOver) {
infoBox.text = 'Ninetails \nFire type Pokemon \nSkills: Providing light, warmth, \nand fire to cook';
ninetails = true;
gotoAndStop('picJump');
}
on (rollOut) {
infoBox.text = '';
ninetails = false;
gotoAndStop('picJump');
}
on (release) {
ninetails = false;
choiceOne = 2;
gotoAndStop('picTwo');
}
}
// unknown tag 88 length 129
movieClip 15 {
}
movieClip 18 {
}
movieClip 21 {
}
movieClip 24 {
}
movieClip 27 {
}
// unknown tag 88 length 88
frame 3 {
gotoAndStop('picOne');
}
frame 5 {
stop();
if (floatzel == false) {
_root.PokemonOne._visible = !_root.PokemonOne._visible;
}
if (ninetails == false) {
_root.PokemonTwo._visible = !_root.PokemonTwo._visible;
}
if (leafeon == false) {
_root.PokemonThree._visible = !_root.PokemonThree._visible;
}
if (lucario == false) {
_root.PokemonFour._visible = !_root.PokemonFour._visible;
}
if (gardevior == false) {
_root.PokemonFive._visible = !_root.PokemonFive._visible;
}
if (absol == false) {
_root.PokemonSix._visible = !_root.PokemonSix._visible;
}
if (choiceOne == 1) {
_root.pkmnOne._visible = !_root.pkmnOne._visible;
} else {
if (choiceOne == 2) {
_root.pkmnTwo._visible = !_root.pkmnTwo._visible;
} else {
if (choiceOne == 3) {
_root.pkmnThree._visible = !_root.pkmnThree._visible;
} else {
if (choiceOne == 4) {
_root.pkmnFour._visible = !_root.pkmnFour._visible;
} else {
if (choiceOne == 5) {
_root.pkmnFive._visible = !_root.pkmnFive._visible;
} else {
if (choiceOne == 6) {
_root.pkmnSix._visible = !_root.pkmnSix._visible;
}
}
}
}
}
}
}
button 31 {
on (rollOver) {
infoBox.text = 'Floatzel \nWater type Pokemon \nSkills: Swimming, Fishing';
floatzel = true;
gotoAndStop('picJumpTwo');
}
on (rollOut) {
infoBox.text = '';
floatzel = false;
gotoAndStop('picJumpTwo');
}
on (press) {
choiceTwo = 1;
gotoAndStop('Amanda');
}
}
button 32 {
on (rollOver) {
infoBox.text = 'Absol \nDark type Pokemon \nSkills: Perdicting severe \nstorms and providing \nprotection.';
infoBox.text = 'Absol \nDark type Pokemon \nSkills: Perdicting severe \nstorms and providing \nprotection.';
absol = true;
gotoAndStop('picJumpTwo');
}
on (rollOut) {
infoBox.text = '';
absol = false;
gotoAndStop('picJumpTwo');
}
on (press) {
choiceTwo = 6;
gotoAndStop('Amanda');
}
}
button 33 {
on (rollOver) {
infoBox.text = 'Gardevior \nPsychic type Pokemon \nSkills: Teleportation and healing.';
gardevior = true;
gotoAndStop('picJumpTwo');
}
on (rollOut) {
infoBox.text = '';
gardevior = false;
gotoAndStop('picJumpTwo');
}
on (press) {
choiceTwo = 5;
gotoAndStop('Amanda');
}
}
button 34 {
on (rollOver) {
infoBox.text = 'Lucario \nFighting type Pokemon \nSkills: Fighting skills and can \nlift heavy objects.';
lucario = true;
gotoAndStop('picJumpTwo');
}
on (rollOut) {
infoBox.text = '';
lucario = false;
gotoAndStop('picJumpTwo');
}
on (press) {
choiceTwo = 4;
gotoAndStop('Amanda');
}
}
button 35 {
on (rollOver) {
infoBox.text = 'Leafeon \nPlant type Pokemon \nSkills: Finding and Collecting \nFood and rare plants.';
leafeon = true;
gotoAndStop('picJumpTwo');
}
on (rollOut) {
infoBox.text = '';
leafeon = false;
gotoAndStop('picJumpTwo');
}
on (press) {
choiceTwo = 3;
gotoAndStop('Amanda');
}
}
button 36 {
on (rollOver) {
infoBox.text = 'Ninetails \nFire type Pokemon \nSkills: Providing light, warmth, \nand fire to cook';
ninetails = true;
gotoAndStop('picJumpTwo');
}
on (rollOut) {
infoBox.text = '';
ninetails = false;
gotoAndStop('picJumpTwo');
}
on (press) {
choiceTwo = 2;
gotoAndStop('Amanda');
}
}
frame 6 {
gotoAndStop('picTwo');
if (choiceOne == 1) {
_root.pkmnOne._visible = !_root.pkmnOne._visible;
} else {
if (choiceOne == 2) {
_root.pkmnTwo._visible = !_root.pkmnTwo._visible;
} else {
if (choiceOne == 3) {
_root.pkmnThree._visible = !_root.pkmnThree._visible;
} else {
if (choiceOne == 4) {
_root.pkmnFour._visible = !_root.pkmnFour._visible;
} else {
if (choiceOne == 5) {
_root.pkmnFive._visible = !_root.pkmnFive._visible;
} else {
if (choiceOne == 6) {
_root.pkmnSix._visible = !_root.pkmnSix._visible;
}
}
}
}
}
}
}
frame 20 {
play();
if (water == 1) {
lake = true;
} else {
if (water == 8) {
field = true;
} else {
if (water == 2) {
western = true;
} else {
if (water == 4) {
eastern = true;
} else {
if (water == 5) {
cave = true;
} else {
if (water == 3) {
river = true;
} else {
if (water == 6) {
shrine = true;
} else {
if (water == 7) {
mountain = true;
} else {
if (water == 9) {
inside = true;
}
}
}
}
}
}
}
}
}
}
frame 21 {
stop();
txtEnergy.text = floatzelen;
txtStamina.text = flatzelsta;
txtHealth.text = floatzelhel;
if (lake == true) {
locaName.text = 'T h e B i g L a k e';
}
if (field == true) {
locaName.text = 'O p e n F i e l d';
}
if (western == true) {
locaName.text = 'W e s t e r n F o r e s t';
}
if (eastern == true) {
locaName.text = 'E a s t e r n F o r e s t';
}
if (cave == true) {
locaName.text = 'C a v e E n t e r a n c e';
}
if (river == true) {
locaName.text = 'W i l d R i v e r';
}
if (shrine == true) {
locaName.text = 'O l d S h r i n e';
}
if (mountain == true) {
locaName.text = 'M o u n t a i n P a s s';
}
if (mountain == true) {
locaName.text = 'I n s i d e C a v e';
}
if (lake == false) {
_root.BigLake._visible = !_root.BigLake._visible;
}
if (field == false) {
_root.OpenField._visible = !_root.OpenField._visible;
}
if (western == false) {
_root.WestForest._visible = !_root.WestForest._visible;
}
if (eastern == false) {
_root.EastForest._visible = !_root.EastForest._visible;
}
if (cave == false) {
_root.CaveOutside._visible = !_root.CaveOutside._visible;
}
if (river == false) {
_root.WildRiver._visible = !_root.WildRiver._visible;
}
if (shrine == false) {
_root.OldShrine._visible = !_root.OldShrine._visible;
}
if (mountain == false) {
_root.Mountain._visible = !_root.Mountain._visible;
}
if (inside == false) {
_root.InsideCave._visible = !_root.InsideCave._visible;
}
if (water != trainer) {
_root.TrainerSprite._visible = !_root.TrainerSprite._visible;
}
}
movieClip 41 {
}
movieClip 44 {
}
movieClip 47 {
}
movieClip 50 {
}
movieClip 53 {
}
movieClip 56 {
}
movieClip 59 {
}
movieClip 62 {
}
movieClip 65 {
}
movieClip 68 {
}
button 73 {
on (press) {
gotoAndStop('FloatzelItems');
}
}
button 74 {
on (release) {
gotoAndStop('FloatzelGoTo');
}
}
button 75 {
on (press) {
gotoAndStop('FloatzelSwitch');
}
}
frame 22 {
if (lake == true) {
ChoiceOne.text = 'Western Side of Forest';
ChoiceTwo.text = 'Eastern Side of Forest';
ChoiceThree.text = 'The Open Field';
}
if (field == true) {
ChoiceOne.text = 'The Big Lake';
ChoiceTwo.text = '';
ChoiceThree.text = '';
_root.btnTwo._visible = !_root.btnTwo._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
if (western == true) {
ChoiceOne.text = 'The Northern Cave';
ChoiceTwo.text = 'The Wild River';
ChoiceThree.text = 'The Big Lake';
}
if (eastern == true) {
ChoiceOne.text = 'The Northern Mountain Pass';
ChoiceTwo.text = '';
ChoiceThree.text = 'The Big Lake';
_root.btnTwo._visible = !_root.btnTwo._visible;
}
if (cave == true) {
ChoiceOne.text = 'Inside the Cave';
ChoiceTwo.text = '';
ChoiceThree.text = 'Western Side of Forest';
_root.btnTwo._visible = !_root.btnTwo._visible;
}
if (river == true) {
ChoiceOne.text = 'Western Side of Forest';
ChoiceTwo.text = '';
ChoiceThree.text = 'The Shrine Down the River';
_root.btnTwo._visible = !_root.btnTwo._visible;
}
if (shrine == true) {
ChoiceOne.text = '';
ChoiceTwo.text = 'The Wild River';
ChoiceThree.text = '';
_root.btnOne._visible = !_root.btnOne._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
if (mountain == true) {
ChoiceOne.text = '';
ChoiceTwo.text = 'Eastern Side of the Forest';
ChoiceThree.text = '';
_root.btnOne._visible = !_root.btnOne._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
if (inside == true) {
ChoiceOne.text = 'Exit Cave';
ChoiceTwo.text = '';
ChoiceThree.text = '';
_root.btnTwo._visible = !_root.btnTwo._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
}
button 88 {
on (press) {
if (lake == true || river == true) {
water = 2;
western = true;
river = false;
lake = false;
gotoAndStop('waterJump');
} else {
if (field == true) {
field = false;
lake = true;
water = 1;
gotoAndStop('waterJump');
} else {
if (western == true || inside == true) {
water = 5;
western = false;
inside = false;
cave = true;
gotoAndStop('waterJump');
} else {
if (cave == true) {
water = 9;
cave = false;
inside = true;
gotoAndStop('waterJump');
} else {
if (eastern == true) {
water = 7;
eastern = false;
mountain = true;
gotoAndStop('waterJump');
}
}
}
}
}
}
}
button 89 {
on (press) {
if (lake == true || mountain == true) {
water = 4;
eastern = true;
mountain = false;
lake = false;
gotoAndStop('waterJump');
} else {
if (western == true || shrine == true) {
water = 3;
western = false;
shrine = false;
river = true;
gotoAndStop('waterJump');
}
}
}
}
button 90 {
on (press) {
if (lake == true) {
gotoAndStop('waterJump');
water = 8;
field = true;
lake = false;
} else {
if (western == true || eastern == true) {
water = 1;
western = false;
eastern = false;
lake = true;
gotoAndStop('waterJump');
} else {
if (cave == true) {
water = 3;
cave = false;
western = true;
gotoAndStop('waterJump');
} else {
if (river == true) {
water = 6;
river = false;
shrine = true;
gotoAndStop('waterJump');
}
}
}
}
}
}
button 94 {
on (release) {
gotoAndStop('waterJump');
}
}
// unknown tag 88 length 88
movieClip 98 {
}
frame 23 {
if (choiceOne == 2 || choiceTwo == 2) {
altPokemon.text = 'Ninetails';
} else {
if (choiceOne == 3 || choiceTwo == 3) {
altPokemon.text = 'Leafeon';
} else {
if (choiceOne == 4 || choiceTwo == 4) {
altPokemon.text = 'Lucario';
} else {
if (choiceOne == 5 || choiceTwo == 5) {
altPokemon.text = 'Gardevior';
} else {
if (choiceOne == 6 || choiceTwo == 6) {
altPokemon.text = 'Absol';
}
}
}
}
}
}
button 99 {
on (press) {
lake = false;
western = false;
eastern = false;
river = false;
cave = false;
shrine = false;
mountain = false;
field = false;
inside = false;
}
on (release) {
gotoAndStop('Trainer');
}
}
button 100 {
on (press) {
gotoAndStop('waterJump');
}
}
button 101 {
on (press) {
lake = false;
western = false;
eastern = false;
river = false;
cave = false;
shrine = false;
mountain = false;
field = false;
inside = false;
}
on (release) {
if (choiceOne == 1 && choiceTwo == 2 || choiceTwo == 1 && choiceOne == 2) {
gotoAndStop('Fire');
} else {
if (choiceOne == 1 && choiceTwo == 3 || choiceTwo == 1 && choiceOne == 3) {
gotoAndStop('Grass');
} else {
if (choiceOne == 1 && choiceTwo == 4 || choiceTwo == 1 && choiceOne == 4) {
gotoAndStop('Fighting');
} else {
if (choiceOne == 1 && choiceTwo == 5 || choiceTwo == 1 && choiceOne == 5) {
gotoAndStop('Psychic');
} else {
if (choiceOne == 1 && choiceTwo == 6 || choiceTwo == 1 && choiceOne == 6) {
gotoAndStop('Dark');
}
}
}
}
}
}
}
frame 25 {
gotoAndStop('Water');
}
frame 40 {
play();
if (fire == 1) {
lake = true;
} else {
if (fire == 8) {
field = true;
} else {
if (fire == 2) {
western = true;
} else {
if (fire == 4) {
eastern = true;
} else {
if (fire == 5) {
cave = true;
} else {
if (fire == 3) {
river = true;
} else {
if (fire == 6) {
shrine = true;
} else {
if (fire == 7) {
mountain = true;
} else {
if (fire == 9) {
inside = true;
}
}
}
}
}
}
}
}
}
}
frame 41 {
stop();
txtEnergy.text = ninetailsen;
txtStamina.text = ninetailssta;
txtHealth.text = ninetailshel;
if (lake == true) {
locaName.text = 'T h e B i g L a k e';
}
if (field == true) {
locaName.text = 'O p e n F i e l d';
}
if (western == true) {
locaName.text = 'W e s t e r n F o r e s t';
}
if (eastern == true) {
locaName.text = 'E a s t e r n F o r e s t';
}
if (cave == true) {
locaName.text = 'C a v e E n t e r a n c e';
}
if (river == true) {
locaName.text = 'W i l d R i v e r';
}
if (shrine == true) {
locaName.text = 'O l d S h r i n e';
}
if (mountain == true) {
locaName.text = 'M o u n t a i n P a s s';
}
if (mountain == true) {
locaName.text = 'I n s i d e C a v e';
}
if (lake == false) {
_root.BigLake._visible = !_root.BigLake._visible;
}
if (field == false) {
_root.OpenField._visible = !_root.OpenField._visible;
}
if (western == false) {
_root.WestForest._visible = !_root.WestForest._visible;
}
if (eastern == false) {
_root.EastForest._visible = !_root.EastForest._visible;
}
if (cave == false) {
_root.CaveOutside._visible = !_root.CaveOutside._visible;
}
if (river == false) {
_root.WildRiver._visible = !_root.WildRiver._visible;
}
if (shrine == false) {
_root.OldShrine._visible = !_root.OldShrine._visible;
}
if (mountain == false) {
_root.Mountain._visible = !_root.Mountain._visible;
}
if (inside == false) {
_root.InsideCave._visible = !_root.InsideCave._visible;
}
if (fire != trainer) {
_root.TrainerSprite._visible = !_root.TrainerSprite._visible;
}
}
button 114 {
on (release) {
gotoAndStop('NinetailsItems');
}
}
button 115 {
on (release) {
gotoAndStop('NinetailsGoto');
}
}
button 116 {
on (press) {
gotoAndStop('NinetailsSwitch');
}
}
frame 42 {
if (lake == true) {
ChoiceOne.text = 'Western Side of Forest';
ChoiceTwo.text = 'Eastern Side of Forest';
ChoiceThree.text = 'The Open Field';
}
if (field == true) {
ChoiceOne.text = 'The Big Lake';
ChoiceTwo.text = '';
ChoiceThree.text = '';
_root.btnTwo._visible = !_root.btnTwo._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
if (western == true) {
ChoiceOne.text = 'The Northern Cave';
ChoiceTwo.text = 'The Wild River';
ChoiceThree.text = 'The Big Lake';
}
if (eastern == true) {
ChoiceOne.text = 'The Northern Mountain Pass';
ChoiceTwo.text = '';
ChoiceThree.text = 'The Big Lake';
_root.btnTwo._visible = !_root.btnTwo._visible;
}
if (cave == true) {
ChoiceOne.text = 'Inside the Cave';
ChoiceTwo.text = '';
ChoiceThree.text = 'Western Side of Forest';
_root.btnTwo._visible = !_root.btnTwo._visible;
}
if (river == true) {
ChoiceOne.text = 'Western Side of Forest';
ChoiceTwo.text = '';
ChoiceThree.text = 'The Shrine Down the River';
_root.btnTwo._visible = !_root.btnTwo._visible;
}
if (shrine == true) {
ChoiceOne.text = '';
ChoiceTwo.text = 'The Wild River';
ChoiceThree.text = '';
_root.btnOne._visible = !_root.btnOne._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
if (mountain == true) {
ChoiceOne.text = '';
ChoiceTwo.text = 'Eastern Side of the Forest';
ChoiceThree.text = '';
_root.btnOne._visible = !_root.btnOne._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
if (inside == true) {
ChoiceOne.text = 'Exit Cave';
ChoiceTwo.text = '';
ChoiceThree.text = '';
_root.btnTwo._visible = !_root.btnTwo._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
}
button 122 {
on (press) {
if (lake == true || river == true) {
fire = 2;
western = true;
river = false;
lake = false;
gotoAndStop('fireJump');
} else {
if (field == true) {
field = false;
lake = true;
fire = 1;
gotoAndStop('fireJump');
} else {
if (western == true || inside == true) {
fire = 5;
western = false;
inside = false;
cave = true;
gotoAndStop('fireJump');
} else {
if (cave == true) {
fire = 9;
cave = false;
inside = true;
gotoAndStop('fireJump');
} else {
if (eastern == true) {
fire = 7;
eastern = false;
mountain = true;
gotoAndStop('fireJump');
}
}
}
}
}
}
}
button 123 {
on (press) {
if (lake == true || mountain == true) {
fire = 4;
eastern = true;
mountain = false;
lake = false;
gotoAndStop('fireJump');
} else {
if (western == true || shrine == true) {
fire = 3;
western = false;
shrine = false;
river = true;
gotoAndStop('fireJump');
}
}
}
}
button 124 {
on (press) {
if (lake == true) {
gotoAndStop('fireJump');
fire = 8;
field = true;
lake = false;
} else {
if (western == true || eastern == true) {
fire = 1;
western = false;
eastern = false;
lake = true;
gotoAndStop('fireJump');
} else {
if (cave == true) {
fire = 3;
cave = false;
western = true;
gotoAndStop('fireJump');
} else {
if (river == true) {
fire = 6;
river = false;
shrine = true;
gotoAndStop('fireJump');
}
}
}
}
}
}
button 128 {
on (release) {
gotoAndStop('fireJump');
}
}
movieClip 131 {
}
frame 43 {
if (choiceOne == 1 || choiceTwo == 1) {
altPokemon.text = 'Floatzel';
} else {
if (choiceOne == 3 || choiceTwo == 3) {
altPokemon.text = 'Leafeon';
} else {
if (choiceOne == 4 || choiceTwo == 4) {
altPokemon.text = 'Lucario';
} else {
if (choiceOne == 5 || choiceTwo == 5) {
altPokemon.text = 'Gardevior';
} else {
if (choiceOne == 6 || choiceTwo == 6) {
altPokemon.text = 'Absol';
}
}
}
}
}
}
button 132 {
on (press) {
gotoAndStop('fireJump');
}
}
button 133 {
on (press) {
lake = false;
western = false;
eastern = false;
river = false;
cave = false;
shrine = false;
mountain = false;
field = false;
inside = false;
}
on (release) {
if (choiceOne == 2 && choiceTwo == 1 || choiceTwo == 2 && choiceOne == 1) {
gotoAndStop('Water');
} else {
if (choiceOne == 2 && choiceTwo == 3 || choiceTwo == 2 && choiceOne == 3) {
gotoAndStop('Grass');
} else {
if (choiceOne == 2 && choiceTwo == 4 || choiceTwo == 2 && choiceOne == 4) {
gotoAndStop('Fighting');
} else {
if (choiceOne == 2 && choiceTwo == 5 || choiceTwo == 2 && choiceOne == 5) {
gotoAndStop('Psychic');
} else {
if (choiceOne == 2 && choiceTwo == 6 || choiceTwo == 2 && choiceOne == 6) {
gotoAndStop('Dark');
}
}
}
}
}
}
}
frame 45 {
gotoAndStop('Fire');
}
frame 60 {
play();
if (grass == 1) {
lake = true;
} else {
if (grass == 8) {
field = true;
} else {
if (grass == 2) {
western = true;
} else {
if (grass == 4) {
eastern = true;
} else {
if (grass == 5) {
cave = true;
} else {
if (grass == 3) {
river = true;
} else {
if (grass == 6) {
shrine = true;
} else {
if (grass == 7) {
mountain = true;
} else {
if (grass == 9) {
inside = true;
}
}
}
}
}
}
}
}
}
}
frame 61 {
stop();
txtEnergy.text = leafeonen;
txtStamina.text = leafeonsta;
txtHealth.text = leafeonhel;
if (lake == true) {
locaName.text = 'T h e B i g L a k e';
}
if (field == true) {
locaName.text = 'O p e n F i e l d';
}
if (western == true) {
locaName.text = 'W e s t e r n F o r e s t';
}
if (eastern == true) {
locaName.text = 'E a s t e r n F o r e s t';
}
if (cave == true) {
locaName.text = 'C a v e E n t e r a n c e';
}
if (river == true) {
locaName.text = 'W i l d R i v e r';
}
if (shrine == true) {
locaName.text = 'O l d S h r i n e';
}
if (mountain == true) {
locaName.text = 'M o u n t a i n P a s s';
}
if (mountain == true) {
locaName.text = 'I n s i d e C a v e';
}
if (lake == false) {
_root.BigLake._visible = !_root.BigLake._visible;
}
if (field == false) {
_root.OpenField._visible = !_root.OpenField._visible;
}
if (western == false) {
_root.WestForest._visible = !_root.WestForest._visible;
}
if (eastern == false) {
_root.EastForest._visible = !_root.EastForest._visible;
}
if (cave == false) {
_root.CaveOutside._visible = !_root.CaveOutside._visible;
}
if (river == false) {
_root.WildRiver._visible = !_root.WildRiver._visible;
}
if (shrine == false) {
_root.OldShrine._visible = !_root.OldShrine._visible;
}
if (mountain == false) {
_root.Mountain._visible = !_root.Mountain._visible;
}
if (inside == false) {
_root.InsideCave._visible = !_root.InsideCave._visible;
}
if (grass != trainer) {
_root.TrainerSprite._visible = !_root.TrainerSprite._visible;
}
}
button 137 {
on (release) {
gotoAndStop('LeafeonGoto');
}
}
button 138 {
on (press) {
gotoAndStop('LeafeonSwitch');
}
}
frame 62 {
if (lake == true) {
ChoiceOne.text = 'Western Side of Forest';
ChoiceTwo.text = 'Eastern Side of Forest';
ChoiceThree.text = 'The Open Field';
}
if (field == true) {
ChoiceOne.text = 'The Big Lake';
ChoiceTwo.text = '';
ChoiceThree.text = '';
_root.btnTwo._visible = !_root.btnTwo._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
if (western == true) {
ChoiceOne.text = 'The Northern Cave';
ChoiceTwo.text = 'The Wild River';
ChoiceThree.text = 'The Big Lake';
}
if (eastern == true) {
ChoiceOne.text = 'The Northern Mountain Pass';
ChoiceTwo.text = '';
ChoiceThree.text = 'The Big Lake';
_root.btnTwo._visible = !_root.btnTwo._visible;
}
if (cave == true) {
ChoiceOne.text = 'Inside the Cave';
ChoiceTwo.text = '';
ChoiceThree.text = 'Western Side of Forest';
_root.btnTwo._visible = !_root.btnTwo._visible;
}
if (river == true) {
ChoiceOne.text = 'Western Side of Forest';
ChoiceTwo.text = '';
ChoiceThree.text = 'The Shrine Down the River';
_root.btnTwo._visible = !_root.btnTwo._visible;
}
if (shrine == true) {
ChoiceOne.text = '';
ChoiceTwo.text = 'The Wild River';
ChoiceThree.text = '';
_root.btnOne._visible = !_root.btnOne._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
if (mountain == true) {
ChoiceOne.text = '';
ChoiceTwo.text = 'Eastern Side of the Forest';
ChoiceThree.text = '';
_root.btnOne._visible = !_root.btnOne._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
if (inside == true) {
ChoiceOne.text = 'Exit Cave';
ChoiceTwo.text = '';
ChoiceThree.text = '';
_root.btnTwo._visible = !_root.btnTwo._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
}
button 144 {
on (press) {
if (lake == true || river == true) {
grass = 2;
western = true;
river = false;
lake = false;
gotoAndStop('grassJump');
} else {
if (field == true) {
field = false;
lake = true;
grass = 1;
gotoAndStop('grassJump');
} else {
if (western == true || inside == true) {
grass = 5;
western = false;
inside = false;
cave = true;
gotoAndStop('grassJump');
} else {
if (cave == true) {
grass = 9;
cave = false;
inside = true;
gotoAndStop('grassJump');
} else {
if (eastern == true) {
grass = 7;
eastern = false;
mountain = true;
gotoAndStop('grassJump');
}
}
}
}
}
}
}
button 145 {
on (press) {
if (lake == true || mountain == true) {
grass = 4;
eastern = true;
mountain = false;
lake = false;
gotoAndStop('grassJump');
} else {
if (western == true || shrine == true) {
grass = 3;
western = false;
shrine = false;
river = true;
gotoAndStop('grassJump');
}
}
}
}
button 146 {
on (press) {
if (lake == true) {
gotoAndStop('grassJump');
grass = 8;
field = true;
lake = false;
} else {
if (western == true || eastern == true) {
grass = 1;
western = false;
eastern = false;
lake = true;
gotoAndStop('grassJump');
} else {
if (cave == true) {
grass = 3;
cave = false;
western = true;
gotoAndStop('grassJump');
} else {
if (river == true) {
grass = 6;
river = false;
shrine = true;
gotoAndStop('grassJump');
}
}
}
}
}
}
button 150 {
on (release) {
gotoAndStop('grassJump');
}
}
movieClip 153 {
}
frame 63 {
if (choiceOne == 1 || choiceTwo == 1) {
altPokemon.text = 'Floatzel';
} else {
if (choiceOne == 2 || choiceTwo == 2) {
altPokemon.text = 'Ninetails';
} else {
if (choiceOne == 4 || choiceTwo == 4) {
altPokemon.text = 'Lucario';
} else {
if (choiceOne == 5 || choiceTwo == 5) {
altPokemon.text = 'Gardevior';
} else {
if (choiceOne == 6 || choiceTwo == 6) {
altPokemon.text = 'Absol';
}
}
}
}
}
}
button 154 {
on (press) {
gotoAndStop('grassJump');
}
}
button 155 {
on (press) {
lake = false;
western = false;
eastern = false;
river = false;
cave = false;
shrine = false;
mountain = false;
field = false;
inside = false;
}
on (release) {
if (choiceOne == 3 && choiceTwo == 1 || choiceTwo == 3 && choiceOne == 1) {
gotoAndStop('Water');
} else {
if (choiceOne == 3 && choiceTwo == 2 || choiceTwo == 3 && choiceOne == 2) {
gotoAndStop('Fire');
} else {
if (choiceOne == 3 && choiceTwo == 4 || choiceTwo == 3 && choiceOne == 4) {
gotoAndStop('Fighting');
} else {
if (choiceOne == 3 && choiceTwo == 5 || choiceTwo == 3 && choiceOne == 5) {
gotoAndStop('Psychic');
} else {
if (choiceOne == 3 && choiceTwo == 6 || choiceTwo == 3 && choiceOne == 6) {
gotoAndStop('Dark');
}
}
}
}
}
}
}
frame 64 {
gotoAndStop('Grass');
}
frame 80 {
play();
if (fight == 1) {
lake = true;
} else {
if (fight == 8) {
field = true;
} else {
if (fight == 2) {
western = true;
} else {
if (fight == 4) {
eastern = true;
} else {
if (fight == 5) {
cave = true;
} else {
if (fight == 3) {
river = true;
} else {
if (fight == 6) {
shrine = true;
} else {
if (fight == 7) {
mountain = true;
} else {
if (fight == 9) {
inside = true;
}
}
}
}
}
}
}
}
}
}
frame 81 {
stop();
txtEnergy.text = lucarioen;
txtStamina.text = lucariosta;
txtHealth.text = lucariohel;
if (lake == true) {
locaName.text = 'T h e B i g L a k e';
}
if (field == true) {
locaName.text = 'O p e n F i e l d';
}
if (western == true) {
locaName.text = 'W e s t e r n F o r e s t';
}
if (eastern == true) {
locaName.text = 'E a s t e r n F o r e s t';
}
if (cave == true) {
locaName.text = 'C a v e E n t e r a n c e';
}
if (river == true) {
locaName.text = 'W i l d R i v e r';
}
if (shrine == true) {
locaName.text = 'O l d S h r i n e';
}
if (mountain == true) {
locaName.text = 'M o u n t a i n P a s s';
}
if (mountain == true) {
locaName.text = 'I n s i d e C a v e';
}
if (lake == false) {
_root.BigLake._visible = !_root.BigLake._visible;
}
if (field == false) {
_root.OpenField._visible = !_root.OpenField._visible;
}
if (western == false) {
_root.WestForest._visible = !_root.WestForest._visible;
}
if (eastern == false) {
_root.EastForest._visible = !_root.EastForest._visible;
}
if (cave == false) {
_root.CaveOutside._visible = !_root.CaveOutside._visible;
}
if (river == false) {
_root.WildRiver._visible = !_root.WildRiver._visible;
}
if (shrine == false) {
_root.OldShrine._visible = !_root.OldShrine._visible;
}
if (mountain == false) {
_root.Mountain._visible = !_root.Mountain._visible;
}
if (inside == false) {
_root.InsideCave._visible = !_root.InsideCave._visible;
}
if (fight != trainer) {
_root.TrainerSprite._visible = !_root.TrainerSprite._visible;
}
}
button 159 {
on (release) {
gotoAndStop('LucarioGoto');
}
}
button 160 {
on (press) {
gotoAndStop('LucarioSwitch');
}
}
frame 82 {
if (lake == true) {
ChoiceOne.text = 'Western Side of Forest';
ChoiceTwo.text = 'Eastern Side of Forest';
ChoiceThree.text = 'The Open Field';
}
if (field == true) {
ChoiceOne.text = 'The Big Lake';
ChoiceTwo.text = '';
ChoiceThree.text = '';
_root.btnTwo._visible = !_root.btnTwo._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
if (western == true) {
ChoiceOne.text = 'The Northern Cave';
ChoiceTwo.text = 'The Wild River';
ChoiceThree.text = 'The Big Lake';
}
if (eastern == true) {
ChoiceOne.text = 'The Northern Mountain Pass';
ChoiceTwo.text = '';
ChoiceThree.text = 'The Big Lake';
_root.btnTwo._visible = !_root.btnTwo._visible;
}
if (cave == true) {
ChoiceOne.text = 'Inside the Cave';
ChoiceTwo.text = '';
ChoiceThree.text = 'Western Side of Forest';
_root.btnTwo._visible = !_root.btnTwo._visible;
}
if (river == true) {
ChoiceOne.text = 'Western Side of Forest';
ChoiceTwo.text = '';
ChoiceThree.text = 'The Shrine Down the River';
_root.btnTwo._visible = !_root.btnTwo._visible;
}
if (shrine == true) {
ChoiceOne.text = '';
ChoiceTwo.text = 'The Wild River';
ChoiceThree.text = '';
_root.btnOne._visible = !_root.btnOne._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
if (mountain == true) {
ChoiceOne.text = '';
ChoiceTwo.text = 'Eastern Side of the Forest';
ChoiceThree.text = '';
_root.btnOne._visible = !_root.btnOne._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
if (inside == true) {
ChoiceOne.text = 'Exit Cave';
ChoiceTwo.text = '';
ChoiceThree.text = '';
_root.btnTwo._visible = !_root.btnTwo._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
}
button 166 {
on (press) {
if (lake == true || river == true) {
fight = 2;
western = true;
river = false;
lake = false;
gotoAndStop('fightJump');
} else {
if (field == true) {
field = false;
lake = true;
fight = 1;
gotoAndStop('fightJump');
} else {
if (western == true || inside == true) {
fight = 5;
western = false;
inside = false;
cave = true;
gotoAndStop('fightJump');
} else {
if (cave == true) {
fight = 9;
cave = false;
inside = true;
gotoAndStop('fightJump');
} else {
if (eastern == true) {
fight = 7;
eastern = false;
mountain = true;
gotoAndStop('fightJump');
}
}
}
}
}
}
}
button 167 {
on (press) {
if (lake == true || mountain == true) {
fight = 4;
eastern = true;
mountain = false;
lake = false;
gotoAndStop('fightJump');
} else {
if (western == true || shrine == true) {
fight = 3;
western = false;
shrine = false;
river = true;
gotoAndStop('fightJump');
}
}
}
}
button 168 {
on (press) {
if (lake == true) {
gotoAndStop('fightJump');
fight = 8;
field = true;
lake = false;
} else {
if (western == true || eastern == true) {
fight = 1;
western = false;
eastern = false;
lake = true;
gotoAndStop('fightJump');
} else {
if (cave == true) {
fight = 3;
cave = false;
western = true;
gotoAndStop('fightJump');
} else {
if (river == true) {
fight = 6;
river = false;
shrine = true;
gotoAndStop('fightJump');
}
}
}
}
}
}
button 172 {
on (release) {
gotoAndStop('fightJump');
}
}
movieClip 175 {
}
frame 83 {
if (choiceOne == 1 || choiceTwo == 1) {
altPokemon.text = 'Floatzel';
} else {
if (choiceOne == 3 || choiceTwo == 3) {
altPokemon.text = 'Leafeon';
} else {
if (choiceOne == 2 || choiceTwo == 2) {
altPokemon.text = 'Ninetails';
} else {
if (choiceOne == 5 || choiceTwo == 5) {
altPokemon.text = 'Gardevior';
} else {
if (choiceOne == 6 || choiceTwo == 6) {
altPokemon.text = 'Absol';
}
}
}
}
}
}
button 176 {
on (press) {
gotoAndStop('fightJump');
}
}
button 177 {
on (press) {
lake = false;
western = false;
eastern = false;
river = false;
cave = false;
shrine = false;
mountain = false;
field = false;
inside = false;
}
on (release) {
if (choiceOne == 4 && choiceTwo == 1 || choiceTwo == 4 && choiceOne == 1) {
gotoAndStop('Water');
} else {
if (choiceOne == 4 && choiceTwo == 2 || choiceTwo == 4 && choiceOne == 2) {
gotoAndStop('Fire');
} else {
if (choiceOne == 4 && choiceTwo == 3 || choiceTwo == 4 && choiceOne == 3) {
gotoAndStop('Grass');
} else {
if (choiceOne == 4 && choiceTwo == 5 || choiceTwo == 4 && choiceOne == 5) {
gotoAndStop('Psychic');
} else {
if (choiceOne == 4 && choiceTwo == 6 || choiceTwo == 4 && choiceOne == 6) {
gotoAndStop('Dark');
}
}
}
}
}
}
}
frame 84 {
gotoAndStop('Fighting');
}
frame 100 {
play();
if (psychic == 1) {
lake = true;
} else {
if (psychic == 8) {
field = true;
} else {
if (psychic == 2) {
western = true;
} else {
if (psychic == 4) {
eastern = true;
} else {
if (psychic == 5) {
cave = true;
} else {
if (psychic == 3) {
river = true;
} else {
if (psychic == 6) {
shrine = true;
} else {
if (psychic == 7) {
mountain = true;
} else {
if (psychic == 9) {
inside = true;
}
}
}
}
}
}
}
}
}
}
frame 101 {
stop();
txtEnergy.text = garden;
txtStamina.text = gardsta;
txtHealth.text = gardhel;
if (lake == true) {
locaName.text = 'T h e B i g L a k e';
}
if (field == true) {
locaName.text = 'O p e n F i e l d';
}
if (western == true) {
locaName.text = 'W e s t e r n F o r e s t';
}
if (eastern == true) {
locaName.text = 'E a s t e r n F o r e s t';
}
if (cave == true) {
locaName.text = 'C a v e E n t e r a n c e';
}
if (river == true) {
locaName.text = 'W i l d R i v e r';
}
if (shrine == true) {
locaName.text = 'O l d S h r i n e';
}
if (mountain == true) {
locaName.text = 'M o u n t a i n P a s s';
}
if (mountain == true) {
locaName.text = 'I n s i d e C a v e';
}
if (lake == false) {
_root.BigLake._visible = !_root.BigLake._visible;
}
if (field == false) {
_root.OpenField._visible = !_root.OpenField._visible;
}
if (western == false) {
_root.WestForest._visible = !_root.WestForest._visible;
}
if (eastern == false) {
_root.EastForest._visible = !_root.EastForest._visible;
}
if (cave == false) {
_root.CaveOutside._visible = !_root.CaveOutside._visible;
}
if (river == false) {
_root.WildRiver._visible = !_root.WildRiver._visible;
}
if (shrine == false) {
_root.OldShrine._visible = !_root.OldShrine._visible;
}
if (mountain == false) {
_root.Mountain._visible = !_root.Mountain._visible;
}
if (inside == false) {
_root.InsideCave._visible = !_root.InsideCave._visible;
}
if (psychic != trainer) {
_root.TrainerSprite._visible = !_root.TrainerSprite._visible;
}
}
button 181 {
on (release) {
gotoAndStop('GardeviorGoto');
}
}
button 182 {
on (press) {
gotoAndStop('GardeviorSwitch');
}
}
frame 102 {
if (lake == true) {
ChoiceOne.text = 'Western Side of Forest';
ChoiceTwo.text = 'Eastern Side of Forest';
ChoiceThree.text = 'The Open Field';
}
if (field == true) {
ChoiceOne.text = 'The Big Lake';
ChoiceTwo.text = '';
ChoiceThree.text = '';
_root.btnTwo._visible = !_root.btnTwo._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
if (western == true) {
ChoiceOne.text = 'The Northern Cave';
ChoiceTwo.text = 'The Wild River';
ChoiceThree.text = 'The Big Lake';
}
if (eastern == true) {
ChoiceOne.text = 'The Northern Mountain Pass';
ChoiceTwo.text = '';
ChoiceThree.text = 'The Big Lake';
_root.btnTwo._visible = !_root.btnTwo._visible;
}
if (cave == true) {
ChoiceOne.text = 'Inside the Cave';
ChoiceTwo.text = '';
ChoiceThree.text = 'Western Side of Forest';
_root.btnTwo._visible = !_root.btnTwo._visible;
}
if (river == true) {
ChoiceOne.text = 'Western Side of Forest';
ChoiceTwo.text = '';
ChoiceThree.text = 'The Shrine Down the River';
_root.btnTwo._visible = !_root.btnTwo._visible;
}
if (shrine == true) {
ChoiceOne.text = '';
ChoiceTwo.text = 'The Wild River';
ChoiceThree.text = '';
_root.btnOne._visible = !_root.btnOne._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
if (mountain == true) {
ChoiceOne.text = '';
ChoiceTwo.text = 'Eastern Side of the Forest';
ChoiceThree.text = '';
_root.btnOne._visible = !_root.btnOne._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
if (inside == true) {
ChoiceOne.text = 'Exit Cave';
ChoiceTwo.text = '';
ChoiceThree.text = '';
_root.btnTwo._visible = !_root.btnTwo._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
}
button 188 {
on (press) {
if (lake == true || river == true) {
psychic = 2;
western = true;
river = false;
lake = false;
gotoAndStop('psychicJump');
} else {
if (field == true) {
field = false;
lake = true;
psychic = 1;
gotoAndStop('psychicJump');
} else {
if (western == true || inside == true) {
psychic = 5;
western = false;
inside = false;
cave = true;
gotoAndStop('psychicJump');
} else {
if (cave == true) {
psychic = 9;
cave = false;
inside = true;
gotoAndStop('psychicJump');
} else {
if (eastern == true) {
psychic = 7;
eastern = false;
mountain = true;
gotoAndStop('psychicJump');
}
}
}
}
}
}
}
button 189 {
on (press) {
if (lake == true || mountain == true) {
psychic = 4;
eastern = true;
mountain = false;
lake = false;
gotoAndStop('psychicJump');
} else {
if (western == true || shrine == true) {
psychic = 3;
western = false;
shrine = false;
river = true;
gotoAndStop('psychicJump');
}
}
}
}
button 190 {
on (press) {
if (lake == true) {
gotoAndStop('psychicJump');
psychic = 8;
field = true;
lake = false;
} else {
if (western == true || eastern == true) {
psychic = 1;
western = false;
eastern = false;
lake = true;
gotoAndStop('psychicJump');
} else {
if (cave == true) {
psychic = 3;
cave = false;
western = true;
gotoAndStop('psychicJump');
} else {
if (river == true) {
psychic = 6;
river = false;
shrine = true;
gotoAndStop('psychicJump');
}
}
}
}
}
}
button 194 {
on (release) {
gotoAndStop('psychicJump');
}
}
movieClip 197 {
}
frame 103 {
if (choiceOne == 1 || choiceTwo == 1) {
altPokemon.text = 'Floatzel';
} else {
if (choiceOne == 3 || choiceTwo == 3) {
altPokemon.text = 'Leafeon';
} else {
if (choiceOne == 4 || choiceTwo == 4) {
altPokemon.text = 'Lucario';
} else {
if (choiceOne == 2 || choiceTwo == 2) {
altPokemon.text = 'Ninetails';
} else {
if (choiceOne == 6 || choiceTwo == 6) {
altPokemon.text = 'Absol';
}
}
}
}
}
}
button 198 {
on (press) {
gotoAndStop('psychicJump');
}
}
button 199 {
on (press) {
lake = false;
western = false;
eastern = false;
river = false;
cave = false;
shrine = false;
mountain = false;
field = false;
inside = false;
}
on (release) {
if (choiceOne == 5 && choiceTwo == 1 || choiceTwo == 5 && choiceOne == 1) {
gotoAndStop('Water');
} else {
if (choiceOne == 5 && choiceTwo == 2 || choiceTwo == 5 && choiceOne == 2) {
gotoAndStop('Grass');
} else {
if (choiceOne == 5 && choiceTwo == 4 || choiceTwo == 5 && choiceOne == 4) {
gotoAndStop('Fighting');
} else {
if (choiceOne == 5 && choiceTwo == 3 || choiceTwo == 5 && choiceOne == 3) {
gotoAndStop('Fire');
} else {
if (choiceOne == 5 && choiceTwo == 6 || choiceTwo == 5 && choiceOne == 6) {
gotoAndStop('Dark');
}
}
}
}
}
}
}
frame 104 {
gotoAndStop('Psychic');
}
frame 120 {
play();
if (dark == 1) {
lake = true;
} else {
if (dark == 8) {
field = true;
} else {
if (dark == 2) {
western = true;
} else {
if (dark == 4) {
eastern = true;
} else {
if (dark == 5) {
cave = true;
} else {
if (dark == 3) {
river = true;
} else {
if (dark == 6) {
shrine = true;
} else {
if (dark == 7) {
mountain = true;
} else {
if (dark == 9) {
inside = true;
}
}
}
}
}
}
}
}
}
}
frame 121 {
stop();
txtEnergy.text = absolen;
txtStamina.text = absolsta;
txtHealth.text = absolhel;
if (lake == true) {
locaName.text = 'T h e B i g L a k e';
}
if (field == true) {
locaName.text = 'O p e n F i e l d';
}
if (western == true) {
locaName.text = 'W e s t e r n F o r e s t';
}
if (eastern == true) {
locaName.text = 'E a s t e r n F o r e s t';
}
if (cave == true) {
locaName.text = 'C a v e E n t e r a n c e';
}
if (river == true) {
locaName.text = 'W i l d R i v e r';
}
if (shrine == true) {
locaName.text = 'O l d S h r i n e';
}
if (mountain == true) {
locaName.text = 'M o u n t a i n P a s s';
}
if (mountain == true) {
locaName.text = 'I n s i d e C a v e';
}
if (lake == false) {
_root.BigLake._visible = !_root.BigLake._visible;
}
if (field == false) {
_root.OpenField._visible = !_root.OpenField._visible;
}
if (western == false) {
_root.WestForest._visible = !_root.WestForest._visible;
}
if (eastern == false) {
_root.EastForest._visible = !_root.EastForest._visible;
}
if (cave == false) {
_root.CaveOutside._visible = !_root.CaveOutside._visible;
}
if (river == false) {
_root.WildRiver._visible = !_root.WildRiver._visible;
}
if (shrine == false) {
_root.OldShrine._visible = !_root.OldShrine._visible;
}
if (mountain == false) {
_root.Mountain._visible = !_root.Mountain._visible;
}
if (inside == false) {
_root.InsideCave._visible = !_root.InsideCave._visible;
}
if (dark != trainer) {
_root.TrainerSprite._visible = !_root.TrainerSprite._visible;
}
}
button 203 {
on (release) {
gotoAndStop('AbsolGoto');
}
}
button 204 {
on (press) {
gotoAndStop('AbsolSwitch');
}
}
frame 122 {
if (lake == true) {
ChoiceOne.text = 'Western Side of Forest';
ChoiceTwo.text = 'Eastern Side of Forest';
ChoiceThree.text = 'The Open Field';
}
if (field == true) {
ChoiceOne.text = 'The Big Lake';
ChoiceTwo.text = '';
ChoiceThree.text = '';
_root.btnTwo._visible = !_root.btnTwo._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
if (western == true) {
ChoiceOne.text = 'The Northern Cave';
ChoiceTwo.text = 'The Wild River';
ChoiceThree.text = 'The Big Lake';
}
if (eastern == true) {
ChoiceOne.text = 'The Northern Mountain Pass';
ChoiceTwo.text = '';
ChoiceThree.text = 'The Big Lake';
_root.btnTwo._visible = !_root.btnTwo._visible;
}
if (cave == true) {
ChoiceOne.text = 'Inside the Cave';
ChoiceTwo.text = '';
ChoiceThree.text = 'Western Side of Forest';
_root.btnTwo._visible = !_root.btnTwo._visible;
}
if (river == true) {
ChoiceOne.text = 'Western Side of Forest';
ChoiceTwo.text = '';
ChoiceThree.text = 'The Shrine Down the River';
_root.btnTwo._visible = !_root.btnTwo._visible;
}
if (shrine == true) {
ChoiceOne.text = '';
ChoiceTwo.text = 'The Wild River';
ChoiceThree.text = '';
_root.btnOne._visible = !_root.btnOne._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
if (mountain == true) {
ChoiceOne.text = '';
ChoiceTwo.text = 'Eastern Side of the Forest';
ChoiceThree.text = '';
_root.btnOne._visible = !_root.btnOne._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
if (inside == true) {
ChoiceOne.text = 'Exit Cave';
ChoiceTwo.text = '';
ChoiceThree.text = '';
_root.btnTwo._visible = !_root.btnTwo._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
}
button 210 {
on (press) {
if (lake == true || river == true) {
dark = 2;
western = true;
river = false;
lake = false;
gotoAndStop('darkJump');
} else {
if (field == true) {
field = false;
lake = true;
dark = 1;
gotoAndStop('darkJump');
} else {
if (western == true || inside == true) {
dark = 5;
western = false;
inside = false;
cave = true;
gotoAndStop('darkJump');
} else {
if (cave == true) {
dark = 9;
cave = false;
inside = true;
gotoAndStop('darkJump');
} else {
if (eastern == true) {
dark = 7;
eastern = false;
mountain = true;
gotoAndStop('darkJump');
}
}
}
}
}
}
}
button 211 {
on (press) {
if (lake == true || mountain == true) {
dark = 4;
eastern = true;
mountain = false;
lake = false;
gotoAndStop('darkJump');
} else {
if (western == true || shrine == true) {
dark = 3;
western = false;
shrine = false;
river = true;
gotoAndStop('darkJump');
}
}
}
}
button 212 {
on (press) {
if (lake == true) {
gotoAndStop('darkJump');
dark = 8;
field = true;
lake = false;
} else {
if (western == true || eastern == true) {
dark = 1;
western = false;
eastern = false;
lake = true;
gotoAndStop('darkJump');
} else {
if (cave == true) {
dark = 3;
cave = false;
western = true;
gotoAndStop('darkJump');
} else {
if (river == true) {
dark = 6;
river = false;
shrine = true;
gotoAndStop('darkJump');
}
}
}
}
}
}
button 216 {
on (release) {
gotoAndStop('darkJump');
}
}
movieClip 219 {
}
frame 123 {
if (choiceOne == 1 || choiceTwo == 1) {
altPokemon.text = 'Floatzel';
} else {
if (choiceOne == 3 || choiceTwo == 3) {
altPokemon.text = 'Leafeon';
} else {
if (choiceOne == 4 || choiceTwo == 4) {
altPokemon.text = 'Lucario';
} else {
if (choiceOne == 2 || choiceTwo == 2) {
altPokemon.text = 'Ninetails';
} else {
if (choiceOne == 5 || choiceTwo == 5) {
altPokemon.text = 'Gardevior';
}
}
}
}
}
}
button 220 {
on (press) {
gotoAndStop('darkJump');
}
}
button 221 {
on (press) {
lake = false;
western = false;
eastern = false;
river = false;
cave = false;
shrine = false;
mountain = false;
field = false;
inside = false;
}
on (release) {
if (choiceOne == 6 && choiceTwo == 1 || choiceTwo == 6 && choiceOne == 1) {
gotoAndStop('Water');
} else {
if (choiceOne == 6 && choiceTwo == 2 || choiceTwo == 6 && choiceOne == 2) {
gotoAndStop('Fire');
} else {
if (choiceOne == 6 && choiceTwo == 4 || choiceTwo == 6 && choiceOne == 4) {
gotoAndStop('Fighting');
} else {
if (choiceOne == 6 && choiceTwo == 5 || choiceTwo == 6 && choiceOne == 5) {
gotoAndStop('Psychic');
} else {
if (choiceOne == 6 && choiceTwo == 3 || choiceTwo == 6 && choiceOne == 3) {
gotoAndStop('Grass');
}
}
}
}
}
}
}
frame 124 {
gotoAndStop('Dark');
}
frame 140 {
play();
if (trainer == 1) {
lake = true;
} else {
if (trainer == 8) {
field = true;
} else {
if (trainer == 2) {
western = true;
} else {
if (trainer == 4) {
eastern = true;
} else {
if (trainer == 5) {
cave = true;
} else {
if (trainer == 3) {
river = true;
} else {
if (trainer == 6) {
shrine = true;
} else {
if (trainer == 7) {
mountain = true;
} else {
if (trainer == 9) {
inside = true;
}
}
}
}
}
}
}
}
}
}
frame 141 {
stop();
txtEnergy.text = traineren;
txtStamina.text = trainersta;
txtHealth.text = trainerhel;
if (lake == true) {
locaName.text = 'T h e B i g L a k e';
}
if (field == true) {
locaName.text = 'O p e n F i e l d';
}
if (western == true) {
locaName.text = 'W e s t e r n F o r e s t';
}
if (eastern == true) {
locaName.text = 'E a s t e r n F o r e s t';
}
if (cave == true) {
locaName.text = 'C a v e E n t e r a n c e';
}
if (river == true) {
locaName.text = 'W i l d R i v e r';
}
if (shrine == true) {
locaName.text = 'O l d S h r i n e';
}
if (mountain == true) {
locaName.text = 'M o u n t a i n P a s s';
}
if (mountain == true) {
locaName.text = 'I n s i d e C a v e';
}
if (lake == false) {
_root.BigLake._visible = !_root.BigLake._visible;
}
if (field == false) {
_root.OpenField._visible = !_root.OpenField._visible;
}
if (western == false) {
_root.WestForest._visible = !_root.WestForest._visible;
}
if (eastern == false) {
_root.EastForest._visible = !_root.EastForest._visible;
}
if (cave == false) {
_root.CaveOutside._visible = !_root.CaveOutside._visible;
}
if (river == false) {
_root.WildRiver._visible = !_root.WildRiver._visible;
}
if (shrine == false) {
_root.OldShrine._visible = !_root.OldShrine._visible;
}
if (mountain == false) {
_root.Mountain._visible = !_root.Mountain._visible;
}
if (inside == false) {
_root.InsideCave._visible = !_root.InsideCave._visible;
}
}
button 224 {
on (release) {
gotoAndStop('TrainerGoto');
}
}
button 225 {
on (press) {
gotoAndStop('TrainerSwitch');
}
}
frame 142 {
if (lake == true) {
ChoiceOne.text = 'Western Side of Forest';
ChoiceTwo.text = 'Eastern Side of Forest';
ChoiceThree.text = 'The Open Field';
}
if (field == true) {
ChoiceOne.text = 'The Big Lake';
ChoiceTwo.text = '';
ChoiceThree.text = '';
_root.btnTwo._visible = !_root.btnTwo._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
if (western == true) {
ChoiceOne.text = 'The Northern Cave';
ChoiceTwo.text = 'The Wild River';
ChoiceThree.text = 'The Big Lake';
}
if (eastern == true) {
ChoiceOne.text = 'The Northern Mountain Pass';
ChoiceTwo.text = '';
ChoiceThree.text = 'The Big Lake';
_root.btnTwo._visible = !_root.btnTwo._visible;
}
if (cave == true) {
ChoiceOne.text = 'Inside the Cave';
ChoiceTwo.text = '';
ChoiceThree.text = 'Western Side of Forest';
_root.btnTwo._visible = !_root.btnTwo._visible;
}
if (river == true) {
ChoiceOne.text = 'Western Side of Forest';
ChoiceTwo.text = '';
ChoiceThree.text = 'The Shrine Down the River';
_root.btnTwo._visible = !_root.btnTwo._visible;
}
if (shrine == true) {
ChoiceOne.text = '';
ChoiceTwo.text = 'The Wild River';
ChoiceThree.text = '';
_root.btnOne._visible = !_root.btnOne._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
if (mountain == true) {
ChoiceOne.text = '';
ChoiceTwo.text = 'Eastern Side of the Forest';
ChoiceThree.text = '';
_root.btnOne._visible = !_root.btnOne._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
if (inside == true) {
ChoiceOne.text = 'Exit Cave';
ChoiceTwo.text = '';
ChoiceThree.text = '';
_root.btnTwo._visible = !_root.btnTwo._visible;
_root.btnThree._visible = !_root.btnThree._visible;
}
}
button 232 {
on (press) {
if (lake == true || river == true) {
trainer = 2;
western = true;
river = false;
lake = false;
gotoAndStop('trainerJump');
} else {
if (field == true) {
field = false;
lake = true;
trainer = 1;
gotoAndStop('trainerJump');
} else {
if (western == true || inside == true) {
trainer = 5;
western = false;
inside = false;
cave = true;
gotoAndStop('trainerJump');
} else {
if (cave == true) {
trainer = 9;
cave = false;
inside = true;
gotoAndStop('trainerJump');
} else {
if (eastern == true) {
trainer = 7;
eastern = false;
mountain = true;
gotoAndStop('trainerJump');
}
}
}
}
}
}
}
button 233 {
on (press) {
if (lake == true || mountain == true) {
trainer = 4;
eastern = true;
mountain = false;
lake = false;
gotoAndStop('trainerJump');
} else {
if (western == true || shrine == true) {
trainer = 3;
western = false;
shrine = false;
river = true;
gotoAndStop('trainerJump');
}
}
}
}
button 234 {
on (press) {
if (lake == true) {
gotoAndStop('trainerJump');
trainer = 8;
field = true;
lake = false;
} else {
if (western == true || eastern == true) {
trainer = 1;
western = false;
eastern = false;
lake = true;
gotoAndStop('trainerJump');
} else {
if (cave == true) {
trainer = 3;
cave = false;
western = true;
gotoAndStop('trainerJump');
} else {
if (river == true) {
trainer = 6;
river = false;
shrine = true;
gotoAndStop('trainerJump');
}
}
}
}
}
}
button 238 {
on (release) {
gotoAndStop('trainerJump');
}
}
movieClip 241 {
}
frame 143 {
if (choiceOne == 1) {
altPokemon.text = 'Floatzel';
} else {
if (choiceOne == 2) {
altPokemon.text = 'Ninetails';
} else {
if (choiceOne == 3) {
altPokemon.text = 'Leafeon';
} else {
if (choiceOne == 4) {
altPokemon.text = 'Lucario';
} else {
if (choiceOne == 5) {
altPokemon.text = 'Gardevior';
} else {
if (choiceOne == 6) {
altPokemon.text = 'Absol';
}
}
}
}
}
}
if (choiceTwo == 1) {
altAltern.text = 'Floatzel';
} else {
if (choiceTwo == 2) {
altAltern.text = 'Ninetails';
} else {
if (choiceTwo == 3) {
altAltern.text = 'Leafeon';
} else {
if (choiceTwo == 4) {
altAltern.text = 'Lucario';
} else {
if (choiceTwo == 5) {
altAltern.text = 'Gardevior';
} else {
if (choiceTwo == 6) {
altAltern.text = 'Absol';
}
}
}
}
}
}
}
button 242 {
on (press) {
lake = false;
western = false;
eastern = false;
river = false;
cave = false;
shrine = false;
mountain = false;
field = false;
inside = false;
}
on (release) {
if (choiceOne == 1) {
gotoAndStop('Water');
} else {
if (choiceOne == 2) {
gotoAndStop('Fire');
} else {
if (choiceOne == 3) {
gotoAndStop('Grass');
} else {
if (choiceOne == 4) {
gotoAndStop('Fighting');
} else {
if (choiceOne == 5) {
gotoAndStop('Psychic');
} else {
if (choiceOne == 6) {
gotoAndStop('Dark');
}
}
}
}
}
}
}
}
button 243 {
on (press) {
gotoAndStop('trainerJump');
}
}
button 244 {
on (press) {
lake = false;
western = false;
eastern = false;
river = false;
cave = false;
shrine = false;
mountain = false;
field = false;
inside = false;
}
on (release) {
if (choiceTwo == 1) {
gotoAndStop('Water');
} else {
if (choiceTwo == 2) {
gotoAndStop('Fire');
} else {
if (choiceTwo == 3) {
gotoAndStop('Grass');
} else {
if (choiceTwo == 4) {
gotoAndStop('Fighting');
} else {
if (choiceTwo == 5) {
gotoAndStop('Psychic');
} else {
if (choiceTwo == 6) {
gotoAndStop('Dark');
}
}
}
}
}
}
}
}
frame 145 {
gotoAndStop('Trainer');
}