diff BoosterPack/.svn/text-base/PokeScrape.pl.svn-base @ 0:0d795f02a8bb tip

initial committ. what was I thinking?
author Robert McIntyre <rlm@mit.edu>
date Mon, 27 Sep 2010 16:57:26 -0400
parents
children
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/BoosterPack/.svn/text-base/PokeScrape.pl.svn-base	Mon Sep 27 16:57:26 2010 -0400
     1.3 @@ -0,0 +1,683 @@
     1.4 +use Card;
     1.5 +use Storable;
     1.6 +use Filter;
     1.7 +
     1.8 +open POKE, "<all.dat";
     1.9 +&doit;
    1.10 +@allcards = ();
    1.11 +
    1.12 +for $line(<POKE>)
    1.13 +{
    1.14 +	$line =~ m/(<img.*?>).*?(<img.*?>).*?/;
    1.15 +	
    1.16 +	$img1 = $1;
    1.17 +	$img3 = $2;
    1.18 +	$line =~ m/(<a.*?<\/a>).*?/;
    1.19 +	$img2 = $1;
    1.20 +	
    1.21 +	
    1.22 +	#<img src="/cdexdata/images/types/w.gif" alt="Water" title="Water" height="17" width="17" class="t">
    1.23 +	
    1.24 +	#<a id="base-set-2-blastoise" href="/scans/base-set/2-blastoise.jpg" title="Blastoise from Base Set (#2)" target="1">Blastoise</a>
    1.25 +	
    1.26 +	#<img src="/cdexdata/images/rarities/rare-holo.gif" alt="Rare Holo" title="Rare Holo" width="28" height="16">
    1.27 +	
    1.28 +
    1.29 +	
    1.30 +	
    1.31 +	$img1 =~ m/alt="(.*?)"/;
    1.32 +	$typeTag = $1;
    1.33 +	
    1.34 +	$img2 =~ m/\(\#(\d+)\)/;
    1.35 +	$numTag = $1;
    1.36 +	$img2 =~ m/href="(.*?)"/;
    1.37 +	$pix = $1;
    1.38 +	$img2 =~ m/>(.*)</;
    1.39 +	$nameTag = $1;
    1.40 +	$img2 =~ m/from (.*?) \(/;
    1.41 +	$setTag = $1;
    1.42 +		
    1.43 +	$img3 =~ m/alt="(.*?)"/;
    1.44 +	$rarityTag = $1;
    1.45 +	
    1.46 +	
    1.47 +	if ($line =~ m/^<td/)
    1.48 +	{
    1.49 +		print $numTag," ",$nameTag;
    1.50 +		$tempCard = Card->new();
    1.51 +		
    1.52 +		if (($nameTag =~ m/Fighting Energy/)or ($nameTag =~ m/Fire Energy/)or ($nameTag =~ m/Grass Energy/)or ($nameTag =~ m/Lightning Energy/)or ($nameTag =~ m/Psychic Energy/)or ($nameTag =~ m/Water Ener/))
    1.53 +		{$rarityTag = "None";print "FAIL::";}
    1.54 +		
    1.55 +		
    1.56 +		
    1.57 +		$tempCard->addTags($typeTag,$numTag,$nameTag,$setTag,$rarityTag);
    1.58 +		
    1.59 +		
    1.60 +		if ($setTag eq "Base Set"){for $t(@Base){if ($t =~ m/\D$numTag\D/){ $tempCard->setPix($t);}}}
    1.61 +		if ($setTag eq "Jungle"){for $t(@Jungle){if ($t =~ m/\D$numTag\D/){ $tempCard->setPix($t);}}}
    1.62 +		if ($setTag eq "Team Rocket"){for $t(@Rocket){if ($t =~ m/\D$numTag\D/){ $tempCard->setPix($t);}}}
    1.63 +		if ($setTag eq "Fossil"){for $t(@Fossil){if ($t =~ m/\D$numTag\D/){ $tempCard->setPix($t);}}}
    1.64 +		if ($setTag eq "Gym Challenge"){for $t(@GymChallenge){if ($t =~ m/\D$numTag\D/){ $tempCard->setPix($t);}}}
    1.65 +		if ($setTag eq "Gym Heroes"){for $t(@GymHeroes){if ($t =~ m/\D$numTag\D/){ $tempCard->setPix($t);}}}
    1.66 +			
    1.67 +		if ($tempCard->getPix()=~ m/132_Water_Energy/){print "##################AHHHHHHHHHHHHHHHHHHHHHH";}	
    1.68 +		
    1.69 +		
    1.70 +		
    1.71 +		print " $setTag \n";
    1.72 +		push @allcards,$tempCard;
    1.73 +		
    1.74 +		
    1.75 +	}
    1.76 +	
    1.77 +
    1.78 +	
    1.79 +}	
    1.80 +	
    1.81 +
    1.82 +store \@allcards, 'CARD.perl';
    1.83 +
    1.84 +
    1.85 +
    1.86 +my $refnewstruct = retrieve 'CARD.perl';
    1.87 +
    1.88 +
    1.89 +print @$refnewstruct[0]->getTags();
    1.90 +
    1.91 +
    1.92 +
    1.93 +
    1.94 +
    1.95 +
    1.96 +
    1.97 +
    1.98 +
    1.99 +
   1.100 +
   1.101 +
   1.102 +
   1.103 +sub doit {
   1.104 +	
   1.105 +@Base = qw(
   1.106 +images/Base/100_Lightning_Energy.jpg
   1.107 +images/Base/101_Psychic_Energy.jpg
   1.108 +images/Base/102_Water_Energy.jpg
   1.109 +images/Base/17_Beedrill.jpg
   1.110 +images/Base/18_Dragonair.jpg
   1.111 +images/Base/19_Dugtrio.jpg
   1.112 +images/Base/20_Electabuzz.jpg
   1.113 +images/Base/21_Electrode.jpg
   1.114 +images/Base/22_Pidgeotto.jpg
   1.115 +images/Base/23_Arcanine.jpg
   1.116 +images/Base/24_Charmeleon.jpg
   1.117 +images/Base/25_Dewgong.jpg
   1.118 +images/Base/26_Dratini.jpg
   1.119 +images/Base/27_Farfetchd.jpg
   1.120 +images/Base/28_Growlithe.jpg
   1.121 +images/Base/29_Haunter.jpg
   1.122 +images/Base/30_Ivysaur.jpg
   1.123 +images/Base/31_Jynx.jpg
   1.124 +images/Base/32_Kadabra.jpg
   1.125 +images/Base/33_Kakuna.jpg
   1.126 +images/Base/34_Machoke.jpg
   1.127 +images/Base/35_Magikarp.jpg
   1.128 +images/Base/36_Magmar.jpg
   1.129 +images/Base/37_Nidorino.jpg
   1.130 +images/Base/38_Poliwhirl.jpg
   1.131 +images/Base/39_Porygon.jpg
   1.132 +images/Base/40_Raticate.jpg
   1.133 +images/Base/41_Seel.jpg
   1.134 +images/Base/42_Wartortle.jpg
   1.135 +images/Base/43_Abra.jpg
   1.136 +images/Base/44_Bulbasaur.jpg
   1.137 +images/Base/45_Caterpie.jpg
   1.138 +images/Base/46_Charmander.jpg
   1.139 +images/Base/47_Diglett.jpg
   1.140 +images/Base/48_Doduo.jpg
   1.141 +images/Base/49_Drowzee.jpg
   1.142 +images/Base/50_Gastly.jpg
   1.143 +images/Base/51_Koffing.jpg
   1.144 +images/Base/52_Machop.jpg
   1.145 +images/Base/53_Magnemite.jpg
   1.146 +images/Base/54_Metapod.jpg
   1.147 +images/Base/55_Nidoran_M.jpg
   1.148 +images/Base/56_Onix.jpg
   1.149 +images/Base/57_Pidgey.jpg
   1.150 +images/Base/58_Pikachu.jpg
   1.151 +images/Base/59_Poliwag.jpg
   1.152 +images/Base/60_Ponyta.jpg
   1.153 +images/Base/61_Rattata.jpg
   1.154 +images/Base/62_Sandshrew.jpg
   1.155 +images/Base/63_Squirtle.jpg
   1.156 +images/Base/64_Starmie.jpg
   1.157 +images/Base/65_Staryu.jpg
   1.158 +images/Base/66_Tangela.jpg
   1.159 +images/Base/67_Voltorb.jpg
   1.160 +images/Base/68_Vulpix.jpg
   1.161 +images/Base/69_Weedle.jpg
   1.162 +images/Base/70_Clefairy_Doll.jpg
   1.163 +images/Base/71_Computer_Search.jpg
   1.164 +images/Base/72_Devolution_Spray.jpg
   1.165 +images/Base/73_Impostor_Professor_Oak.jpg
   1.166 +images/Base/74_Item_Finder.jpg
   1.167 +images/Base/75_Lass.jpg
   1.168 +images/Base/76_Pokemon_Breeder.jpg
   1.169 +images/Base/77_Pokemon_Trader.jpg
   1.170 +images/Base/78_Scoop_Up.jpg
   1.171 +images/Base/79_Super_Energy_Removal.jpg
   1.172 +images/Base/80_Defender.jpg
   1.173 +images/Base/81_Energy_Retrieval.jpg
   1.174 +images/Base/82_Full_Heal.jpg
   1.175 +images/Base/83_Maintenance.jpg
   1.176 +images/Base/84_Plus_Power.jpg
   1.177 +images/Base/85_Pokemon_Center.jpg
   1.178 +images/Base/86_Pokemon_Flute.jpg
   1.179 +images/Base/87_Pokedex.jpg
   1.180 +images/Base/88_Professor_Oak.jpg
   1.181 +images/Base/89_Revive.jpg
   1.182 +images/Base/90_Super_Potion.jpg
   1.183 +images/Base/91_Bill.jpg
   1.184 +images/Base/92_Energy_Removal.jpg
   1.185 +images/Base/93_Gust_of_Wind.jpg
   1.186 +images/Base/94_Potion.jpg
   1.187 +images/Base/95_Switch.jpg
   1.188 +images/Base/96_Double_Colorless_Energy.jpg
   1.189 +images/Base/97_Fighting_Energy.jpg
   1.190 +images/Base/98_Fire_Energy.jpg
   1.191 +images/Base/99_Grass_Energy.jpg
   1.192 +images/Base/H-10_Mewtwo.jpg
   1.193 +images/Base/H-11_Nidoking.jpg
   1.194 +images/Base/H-12_Ninetales.jpg
   1.195 +images/Base/H-13_Poliwrath.jpg
   1.196 +images/Base/H-14_Raichu.jpg
   1.197 +images/Base/H-15_Venusaur.jpg
   1.198 +images/Base/H-16_Zapdos.jpg
   1.199 +images/Base/H-1_Alakazam.jpg
   1.200 +images/Base/H-2_Blastoise.jpg
   1.201 +images/Base/H-3_Chansey.jpg
   1.202 +images/Base/H-4_Charizard.jpg
   1.203 +images/Base/H-5_Clefairy.jpg
   1.204 +images/Base/H-6_Gyarados.jpg
   1.205 +images/Base/H-7_Hitmonchan.jpg
   1.206 +images/Base/H-8_Machamp.jpg
   1.207 +images/Base/H-9_Magneton.jpg);
   1.208 +@Fossil = qw(
   1.209 +images/Fossil/16_Aerodactyl.jpg
   1.210 +images/Fossil/17_Articuno.jpg
   1.211 +images/Fossil/18_Ditto.jpg
   1.212 +images/Fossil/19_Dragonite.jpg
   1.213 +images/Fossil/20_Gengar.jpg
   1.214 +images/Fossil/21_Haunter.jpg
   1.215 +images/Fossil/22_Hitmonlee.jpg
   1.216 +images/Fossil/23_Hypno.jpg
   1.217 +images/Fossil/24_Kabutops.jpg
   1.218 +images/Fossil/25_Lapras.jpg
   1.219 +images/Fossil/26_Magneton.jpg
   1.220 +images/Fossil/27_Moltres.jpg
   1.221 +images/Fossil/28_Muk.jpg
   1.222 +images/Fossil/29_Raichu.jpg
   1.223 +images/Fossil/30_Zapdos.jpg
   1.224 +images/Fossil/31_Arbok.jpg
   1.225 +images/Fossil/32_Cloyster.jpg
   1.226 +images/Fossil/33_Gastly.jpg
   1.227 +images/Fossil/34_Golbat.jpg
   1.228 +images/Fossil/35_Golduck.jpg
   1.229 +images/Fossil/36_Golem.jpg
   1.230 +images/Fossil/37_Graveler.jpg
   1.231 +images/Fossil/38_Kingler.jpg
   1.232 +images/Fossil/39_Magmar.jpg
   1.233 +images/Fossil/40_Omastar.jpg
   1.234 +images/Fossil/41_Sandslash.jpg
   1.235 +images/Fossil/42_Seadra.jpg
   1.236 +images/Fossil/43_Slowbro.jpg
   1.237 +images/Fossil/44_Tentacruel.jpg
   1.238 +images/Fossil/45_Weezing.jpg
   1.239 +images/Fossil/46_Ekans.jpg
   1.240 +images/Fossil/47_Geodude.jpg
   1.241 +images/Fossil/48_Grimer.jpg
   1.242 +images/Fossil/49_Horsea.jpg
   1.243 +images/Fossil/50_Kabuto.jpg
   1.244 +images/Fossil/51_Krabby.jpg
   1.245 +images/Fossil/52_Omanyte.jpg
   1.246 +images/Fossil/53_Psyduck.jpg
   1.247 +images/Fossil/54_Shellder.jpg
   1.248 +images/Fossil/55_Slowpoke.jpg
   1.249 +images/Fossil/56_Tentacool.jpg
   1.250 +images/Fossil/57_Zubat.jpg
   1.251 +images/Fossil/58_Mr_Fuji.jpg
   1.252 +images/Fossil/59_Energy_Search.jpg
   1.253 +images/Fossil/60_Gambler.jpg
   1.254 +images/Fossil/61_Recycle.jpg
   1.255 +images/Fossil/62_Mysterious_Fossil.jpg
   1.256 +images/Fossil/H-10_Lapras.jpg
   1.257 +images/Fossil/H-11_Magneton.jpg
   1.258 +images/Fossil/H-12_Moltres.jpg
   1.259 +images/Fossil/H-13_Muk.jpg
   1.260 +images/Fossil/H-14_Raichu.jpg
   1.261 +images/Fossil/H-15_Zapdos.jpg
   1.262 +images/Fossil/H-1_Aerodactyl.jpg
   1.263 +images/Fossil/H-2_Articuno.jpg
   1.264 +images/Fossil/H-3_Ditto.jpg
   1.265 +images/Fossil/H-4_Dragonite.jpg
   1.266 +images/Fossil/H-5_Gengar.jpg
   1.267 +images/Fossil/H-6_Haunter.jpg
   1.268 +images/Fossil/H-7_Hitmonlee.jpg
   1.269 +images/Fossil/H-8_Hypno.jpg
   1.270 +images/Fossil/H-9_Kabutops.jpg);
   1.271 +@GymChallenge = qw(
   1.272 +images/GymChallenge/100_Blaine.jpg
   1.273 +images/GymChallenge/101_Brocks_Protection.jpg
   1.274 +images/GymChallenge/102_Chaos_Gym.jpg
   1.275 +images/GymChallenge/103_Erikas_Kindness.jpg
   1.276 +images/GymChallenge/104_Giovanni.jpg
   1.277 +images/GymChallenge/105_Giovannis_Last_Resort.jpg
   1.278 +images/GymChallenge/106_Koga.jpg
   1.279 +images/GymChallenge/107_Lt_Surges_Secret_Plan.jpg
   1.280 +images/GymChallenge/108_Mistys_Wish.jpg
   1.281 +images/GymChallenge/109_Resistance_Gym.jpg
   1.282 +images/GymChallenge/110_Sabrina.jpg
   1.283 +images/GymChallenge/111_Blaines_Quiz_2.jpg
   1.284 +images/GymChallenge/112_Blaines_Quiz_3.jpg
   1.285 +images/GymChallenge/113_Cinnabar_City_Gym.jpg
   1.286 +images/GymChallenge/114_Fuchsia_City_Gym.jpg
   1.287 +images/GymChallenge/115_Kogas_Ninja_Trick.jpg
   1.288 +images/GymChallenge/116_Master_Ball.jpg
   1.289 +images/GymChallenge/117_Max_Revive.jpg
   1.290 +images/GymChallenge/118_Mistys_Tears.jpg
   1.291 +images/GymChallenge/119_Rockets_Minefield_Gym.jpg
   1.292 +images/GymChallenge/120_Rockets_Secret_Experiment.jpg
   1.293 +images/GymChallenge/121_Sabrinas_Psychic_Control.jpg
   1.294 +images/GymChallenge/122_Saffron_City_Gym.jpg
   1.295 +images/GymChallenge/123_Viridian_City_Gym.jpg
   1.296 +images/GymChallenge/124_Fervor.jpg
   1.297 +images/GymChallenge/125_Transparent_Walls.jpg
   1.298 +images/GymChallenge/126_Warp_Point.jpg
   1.299 +images/GymChallenge/127_Fighting_Energy.jpg
   1.300 +images/GymChallenge/128_Fire_Energy.jpg
   1.301 +images/GymChallenge/129_Grass_Energy.jpg
   1.302 +images/GymChallenge/130_Lightning_Energy.jpg
   1.303 +images/GymChallenge/131_Psychic_Energy.jpg
   1.304 +images/GymChallenge/132_Water_Energy.jpg
   1.305 +images/GymChallenge/21_Blaines_Ninetales.jpg
   1.306 +images/GymChallenge/22_Brocks_Dugtrio.jpg
   1.307 +images/GymChallenge/23_Giovannis_Nidoqueen.jpg
   1.308 +images/GymChallenge/24_Giovannis_Pinsir.jpg
   1.309 +images/GymChallenge/25_Kogas_Arbok.jpg
   1.310 +images/GymChallenge/26_Kogas_Muk.jpg
   1.311 +images/GymChallenge/27_Kogas_Pidgeotto.jpg
   1.312 +images/GymChallenge/28_Lt_Surges_Jolteon.jpg
   1.313 +images/GymChallenge/29_Sabrinas_Gengar.jpg
   1.314 +images/GymChallenge/30_Sabrinas_Golduck.jpg
   1.315 +images/GymChallenge/31_Blaines_Charmeleon.jpg
   1.316 +images/GymChallenge/33_Blaines_Rapidash.jpg
   1.317 +images/GymChallenge/32_Blaines_Dodrio.jpg
   1.318 +images/GymChallenge/34_Brocks_Graveler.jpg
   1.319 +images/GymChallenge/35_Brocks_Primape.jpg
   1.320 +images/GymChallenge/36_Brocks_Sandslash.jpg
   1.321 +images/GymChallenge/37_Brocks_Vulpix.jpg
   1.322 +images/GymChallenge/38_Erickas_Bellsprout.jpg
   1.323 +images/GymChallenge/39_Erickas_Bulbasaur.jpg
   1.324 +images/GymChallenge/40_Erikas_Clefairy.jpg
   1.325 +images/GymChallenge/41_Erikas_Ivysaur.jpg
   1.326 +images/GymChallenge/42_Giovannis_Machoke.jpg
   1.327 +images/GymChallenge/43_Giovannis_Meowth.jpg
   1.328 +images/GymChallenge/44_Giovannis_Nidorina.jpg
   1.329 +images/GymChallenge/45_Giovannis_Nidorino.jpg
   1.330 +images/GymChallenge/46_Kogas_Golbat.jpg
   1.331 +images/GymChallenge/47_Kogas_Kakuna.jpg
   1.332 +images/GymChallenge/48_Kogas_Koffing.jpg
   1.333 +images/GymChallenge/49_Kogas_Pidgey.jpg
   1.334 +images/GymChallenge/50_Kogas_Weezing.jpg
   1.335 +images/GymChallenge/51_Lt_Surges_Eevee.jpg
   1.336 +images/GymChallenge/52_Lt_Surges_Electrode.jpg
   1.337 +images/GymChallenge/53_Lt_Surges_Raticate.jpg
   1.338 +images/GymChallenge/54_Mistys_Dewgong.jpg
   1.339 +images/GymChallenge/55_Sabrinas_Haunter.jpg
   1.340 +images/GymChallenge/56_Sabrinas_Hypno.jpg
   1.341 +images/GymChallenge/57_Sabrinas_Jynx.jpg
   1.342 +images/GymChallenge/58_Sabrinas_Kadabra.jpg
   1.343 +images/GymChallenge/59_Sabrinas_Mr_Mime.jpg
   1.344 +images/GymChallenge/60_Blaines_Charmander.jpg
   1.345 +images/GymChallenge/61_Blaines_Duduo.jpg
   1.346 +images/GymChallenge/62_Blaines_Growlithe.jpg
   1.347 +images/GymChallenge/63_Blaines_Mankey.jpg
   1.348 +images/GymChallenge/64_Blaines_Ponyta.jpg
   1.349 +images/GymChallenge/65_Blaines_Rhyhorn.jpg
   1.350 +images/GymChallenge/66_Blaines_Vulpix.jpg
   1.351 +images/GymChallenge/67_Brocks_Diglett.jpg
   1.352 +images/GymChallenge/68_Brocks_Geodude.jpg
   1.353 +images/GymChallenge/69_Erikas_Jigglypuff.jpg
   1.354 +images/GymChallenge/70_Erikas_Oddish.jpg
   1.355 +images/GymChallenge/71_Erikas_Paras.jpg
   1.356 +images/GymChallenge/72_Giovannis_Machop.jpg
   1.357 +images/GymChallenge/73_Giovannis_Magikarp.jpg
   1.358 +images/GymChallenge/74_Giovannis_Meowth.jpg
   1.359 +images/GymChallenge/75_Giovannis_Nidoran.jpg
   1.360 +images/GymChallenge/76_Giovannis_Nidoran.jpg
   1.361 +images/GymChallenge/77_Kogas_Ekans.jpg
   1.362 +images/GymChallenge/78_Kogas_Grimer.jpg
   1.363 +images/GymChallenge/79_Kogas_Koffing.jpg
   1.364 +images/GymChallenge/80_Kogas_Pidgey.jpg
   1.365 +images/GymChallenge/81_Kogas_Tangela.jpg
   1.366 +images/GymChallenge/82_Kogas_Weedle.jpg
   1.367 +images/GymChallenge/83_Kogas_Zubat.jpg
   1.368 +images/GymChallenge/84_Lt_Surges_Pikachu.jpg
   1.369 +images/GymChallenge/85_Lt_Surges_Rattata.jpg
   1.370 +images/GymChallenge/86_Lt_Surges_Voltorb.jpg
   1.371 +images/GymChallenge/87_Mistys_Horsea.jpg
   1.372 +images/GymChallenge/88_Mistys_Magikarp.jpg
   1.373 +images/GymChallenge/89_Mistys_Poliwag.jpg
   1.374 +images/GymChallenge/90_Mistys_Psyduck.jpg
   1.375 +images/GymChallenge/91_Mistys_Seel.jpg
   1.376 +images/GymChallenge/92_Mistys_Staryu.jpg
   1.377 +images/GymChallenge/93_Sabrinas_Abra.jpg
   1.378 +images/GymChallenge/94_Sabrinas_Abra.jpg
   1.379 +images/GymChallenge/95_Sabrinas_Drowzee.jpg
   1.380 +images/GymChallenge/96_Sabrinas_Gastly.jpg
   1.381 +images/GymChallenge/97_Sabrinas_Gastly.jpg
   1.382 +images/GymChallenge/98_Sabrinas_Porygon.jpg
   1.383 +images/GymChallenge/99_Sabrinas_Psyduck.jpg
   1.384 +images/GymChallenge/H-10_Kogas_Ditto.jpg
   1.385 +images/GymChallenge/H-11_Lt_Surges_Raichu.jpg
   1.386 +images/GymChallenge/H-12_Mistys_Golduck.jpg
   1.387 +images/GymChallenge/H-13_Mistys_Gyarados.jpg
   1.388 +images/GymChallenge/H-14_Rockets_Mewtwo.jpg
   1.389 +images/GymChallenge/H-15_Rockets_Zapdos.jpg
   1.390 +images/GymChallenge/H-16_Sabrinas_Alakazam.jpg
   1.391 +images/GymChallenge/H-17_Blaine.jpg
   1.392 +images/GymChallenge/H-18_Giovanni.jpg
   1.393 +images/GymChallenge/H-19_Koga.jpg
   1.394 +images/GymChallenge/H-1_Blaines_Arcanine.jpg
   1.395 +images/GymChallenge/H-20_Sabrina.jpg
   1.396 +images/GymChallenge/H-2_Blaines_Charizard.jpg
   1.397 +images/GymChallenge/H-3_Brocks_Ninetales.jpg
   1.398 +images/GymChallenge/H-4_Erikas_Venusaur.jpg
   1.399 +images/GymChallenge/H-5_Giovannis_Gyarados.jpg
   1.400 +images/GymChallenge/H-6_Giovannis_Machamp.jpg
   1.401 +images/GymChallenge/H-7_Giovannis_Nidoking.jpg
   1.402 +images/GymChallenge/H-8_Giovannis_Persian.jpg
   1.403 +images/GymChallenge/H-9_Kogas_Beedrill.jpg);
   1.404 +@GymHeroes = qw(
   1.405 +images/GymHeroes/100_Erika.jpg
   1.406 +images/GymHeroes/101_Lt_Surge.jpg
   1.407 +images/GymHeroes/102_Misty.jpg
   1.408 +images/GymHeroes/103_No_Removal_Gym.jpg
   1.409 +images/GymHeroes/104_The_Rockets_Training_Gym.jpg
   1.410 +images/GymHeroes/105_Blaines_Last_Resort.jpg
   1.411 +images/GymHeroes/106_Brocks_Training_Method.jpg
   1.412 +images/GymHeroes/107_Celadon_City_Gym.jpg
   1.413 +images/GymHeroes/108_Cerulean_City_Gym.jpg
   1.414 +images/GymHeroes/109_Erikas_Maids.jpg
   1.415 +images/GymHeroes/110_Erikas_Perfume.jpg
   1.416 +images/GymHeroes/111_Good_Manners.jpg
   1.417 +images/GymHeroes/112_Lt_Surges_Treaty.jpg
   1.418 +images/GymHeroes/113_Minion_of_Team_Rocket.jpg
   1.419 +images/GymHeroes/114_Mistys_Wrath.jpg
   1.420 +images/GymHeroes/115_Pewter_City_Gym.jpg
   1.421 +images/GymHeroes/116_Recall.jpg
   1.422 +images/GymHeroes/117_Sabrinas_ESP.jpg
   1.423 +images/GymHeroes/118_Secret_Mission.jpg
   1.424 +images/GymHeroes/119_Tickling_Machine.jpg
   1.425 +images/GymHeroes/120_Vermilion_City_Gym.jpg
   1.426 +images/GymHeroes/121_Blaines_Gamble.jpg
   1.427 +images/GymHeroes/122_Energy_Flow.jpg
   1.428 +images/GymHeroes/123_Mistys_Duel.jpg
   1.429 +images/GymHeroes/124_Narrow_Gym.jpg
   1.430 +images/GymHeroes/125_Sabrinas_Gaze.jpg
   1.431 +images/GymHeroes/126_Trash_Exchange.jpg
   1.432 +images/GymHeroes/127_Fighting_Energy.jpg
   1.433 +images/GymHeroes/128_Fire_Energy.jpg
   1.434 +images/GymHeroes/129_Grass_Energy.jpg
   1.435 +images/GymHeroes/130_Lightning_Energy.jpg
   1.436 +images/GymHeroes/131_Psychic_Energy.jpg
   1.437 +images/GymHeroes/132_Water_Energy.jpg
   1.438 +images/GymHeroes/20_Brocks_Golem.jpg
   1.439 +images/GymHeroes/21_Brocks_Onix.jpg
   1.440 +images/GymHeroes/22_Brocks_Rhyhorn.jpg
   1.441 +images/GymHeroes/23_Brocks_Sandslash.jpg
   1.442 +images/GymHeroes/24_Brocks_Zubat.jpg
   1.443 +images/GymHeroes/25_Erikas_Clefairy.jpg
   1.444 +images/GymHeroes/26_Erikas_Victreebel.jpg
   1.445 +images/GymHeroes/27_Lt_Surges_Electabuzz.jpg
   1.446 +images/GymHeroes/28_Lt_Surges_Raichu.jpg
   1.447 +images/GymHeroes/29_Mistys_Cloyster.jpg
   1.448 +images/GymHeroes/30_Mistys_Goldeen.jpg
   1.449 +images/GymHeroes/31_Mistys_Poliwrath.jpg
   1.450 +images/GymHeroes/32_Mistys_Tentacool.jpg
   1.451 +images/GymHeroes/33_Rockets_Snorlax.jpg
   1.452 +images/GymHeroes/34_Sabrinas_Venomoth.jpg
   1.453 +images/GymHeroes/35_Blaines_Growlithe.jpg
   1.454 +images/GymHeroes/36_Blaines_Kangaskhan.jpg
   1.455 +images/GymHeroes/37_Blaines_Magmar.jpg
   1.456 +images/GymHeroes/38_Brocks_Geodude.jpg
   1.457 +images/GymHeroes/39_Brocks_Golbat.jpg
   1.458 +images/GymHeroes/40_Brocks_Graveler.jpg
   1.459 +images/GymHeroes/41_Brocks_Lickitung.jpg
   1.460 +images/GymHeroes/42_Erikas_Dratini.jpg
   1.461 +images/GymHeroes/43_Erikas_Exeggcute.jpg
   1.462 +images/GymHeroes/44_Erikas_Exeggutor.jpg
   1.463 +images/GymHeroes/45_Erikas_Gloom.jpg
   1.464 +images/GymHeroes/46_Erikas_Gloom.jpg
   1.465 +images/GymHeroes/47_Erikas_Oddish.jpg
   1.466 +images/GymHeroes/48_Erikas_Weepinbell.jpg
   1.467 +images/GymHeroes/49_Erikas_Weepinbell.jpg
   1.468 +images/GymHeroes/50_Lt_Surges_Magnemite.jpg
   1.469 +images/GymHeroes/51_Lt_Surges_Raticate.jpg
   1.470 +images/GymHeroes/52_Lt_Surges_Spearow.jpg
   1.471 +images/GymHeroes/53_Mistys_Poliwhirl.jpg
   1.472 +images/GymHeroes/54_Mistys_Psyduck.jpg
   1.473 +images/GymHeroes/55_Mistys_Seaking.jpg
   1.474 +images/GymHeroes/56_Mistys_Starmie.jpg
   1.475 +images/GymHeroes/57_Mistys_Tentacool.jpg
   1.476 +images/GymHeroes/58_Sabrinas_Haunter.jpg
   1.477 +images/GymHeroes/59_Sabrinas_Jynx.jpg
   1.478 +images/GymHeroes/60_Sabrinas_Slowbro.jpg
   1.479 +images/GymHeroes/61_Blaines_Charmander.jpg
   1.480 +images/GymHeroes/62_Blaines_Growlithe.jpg
   1.481 +images/GymHeroes/63_Blaines_Ponyta.jpg
   1.482 +images/GymHeroes/64_Blaines_Tauros.jpg
   1.483 +images/GymHeroes/65_Blaines_Vulpix.jpg
   1.484 +images/GymHeroes/66_Brocks_Geodude.jpg
   1.485 +images/GymHeroes/67_Brocks_Mankey.jpg
   1.486 +images/GymHeroes/68_Brocks_Mankey.jpg
   1.487 +images/GymHeroes/69_Brocks_Onix.jpg
   1.488 +images/GymHeroes/70_Brocks_Rhyhorn.jpg
   1.489 +images/GymHeroes/71_Brocks_Sandshrew.jpg
   1.490 +images/GymHeroes/72_Brocks_Sandshrew.jpg
   1.491 +images/GymHeroes/73_Brocks_Vulpix.jpg
   1.492 +images/GymHeroes/74_Brocks_Zubat.jpg
   1.493 +images/GymHeroes/75_Erikas_Bellsprout.jpg
   1.494 +images/GymHeroes/76_Erikas_Bellsprout.jpg
   1.495 +images/GymHeroes/77_Erikas_Exeggcute.jpg
   1.496 +images/GymHeroes/78_Erikas_Oddish.jpg
   1.497 +images/GymHeroes/79_Erikas_Tangela.jpg
   1.498 +images/GymHeroes/80_Lt_Surges_Magnemite.jpg
   1.499 +images/GymHeroes/81_Lt_Surges_Pikachu.jpg
   1.500 +images/GymHeroes/82_Lt_Surges_Rattata.jpg
   1.501 +images/GymHeroes/83_Lt_Surges_Spearow.jpg
   1.502 +images/GymHeroes/84_Lt_Surges_Voltorb.jpg
   1.503 +images/GymHeroes/85_Mistys_Goldeen.jpg
   1.504 +images/GymHeroes/86_Mistys_Horsea.jpg
   1.505 +images/GymHeroes/87_Mistys_Poliwag.jpg
   1.506 +images/GymHeroes/88_Mistys_Seel.jpg
   1.507 +images/GymHeroes/89_Mistys_Shellder.jpg
   1.508 +images/GymHeroes/90_Mistys_Staryu.jpg
   1.509 +images/GymHeroes/91_Sabrinas_Abra.jpg
   1.510 +images/GymHeroes/92_Sabrinas_Drowzee.jpg
   1.511 +images/GymHeroes/93_Sabrinas_Gastly.jpg
   1.512 +images/GymHeroes/94_Sabrinas_Mr_Mime.jpg
   1.513 +images/GymHeroes/95_Sabrinas_Slowpoke.jpg
   1.514 +images/GymHeroes/96_Sabrinas_Venonat.jpg
   1.515 +images/GymHeroes/97_Blaines_Quiz_1.jpg
   1.516 +images/GymHeroes/98_Brock.jpg
   1.517 +images/GymHeroes/99_Charity.jpg
   1.518 +images/GymHeroes/H-10_Mistys_Tentacruel.jpg
   1.519 +images/GymHeroes/H-11_Rockets_Hitmonchan.jpg
   1.520 +images/GymHeroes/H-12_Rockets_Moltres.jpg
   1.521 +images/GymHeroes/H-13_Rockets_Scyther.jpg
   1.522 +images/GymHeroes/H-14_Sabrinas_Gengar.jpg
   1.523 +images/GymHeroes/H-15_Brock.jpg
   1.524 +images/GymHeroes/H-16_Erika.jpg
   1.525 +images/GymHeroes/H-17_Lt_Surge.jpg
   1.526 +images/GymHeroes/H-18_Misty.jpg
   1.527 +images/GymHeroes/H-19_The_Rockets_Trap.jpg
   1.528 +images/GymHeroes/H-1_Blaines_Moltres.jpg
   1.529 +images/GymHeroes/H-2_Brocks_Rhydon.jpg
   1.530 +images/GymHeroes/H-3_Erikas_Clefable.jpg
   1.531 +images/GymHeroes/H-4_Erikas_Dragonair.jpg
   1.532 +images/GymHeroes/H-5_Erikas_Vileplume.jpg
   1.533 +images/GymHeroes/H-6_Lt_Surges_Electabuzz.jpg
   1.534 +images/GymHeroes/H-7_Lt_Surges_Fearow.jpg
   1.535 +images/GymHeroes/H-8_Lt_Surges_Magneton.jpg
   1.536 +images/GymHeroes/H-9_Mistys_Seadra.jpg);
   1.537 +@Jungle = qw(
   1.538 +images/Jungle/17_Clefable.jpg
   1.539 +images/Jungle/18_Electrode.jpg
   1.540 +images/Jungle/19_Flareon.jpg
   1.541 +images/Jungle/20_Jolteon.jpg
   1.542 +images/Jungle/21_Kangaskhan.jpg
   1.543 +images/Jungle/22_Mr_Mime.jpg
   1.544 +images/Jungle/23_Nidoqueen.jpg
   1.545 +images/Jungle/24_Pidgeot.jpg
   1.546 +images/Jungle/25_Pinsir.jpg
   1.547 +images/Jungle/26_Scyther.jpg
   1.548 +images/Jungle/27_Snorlax.jpg
   1.549 +images/Jungle/28_Vaporeon.jpg
   1.550 +images/Jungle/29_Venomoth.jpg
   1.551 +images/Jungle/30_Victreebel.jpg
   1.552 +images/Jungle/31_Vileplume.jpg
   1.553 +images/Jungle/32_Wigglytuff.jpg
   1.554 +images/Jungle/33_Butterfree.jpg
   1.555 +images/Jungle/34_Dodrio.jpg
   1.556 +images/Jungle/35_Exeggutor.jpg
   1.557 +images/Jungle/36_Fearow.jpg
   1.558 +images/Jungle/37_Gloom.jpg
   1.559 +images/Jungle/38_Lickitung.jpg
   1.560 +images/Jungle/39_Marowak.jpg
   1.561 +images/Jungle/40_Nidorina.jpg
   1.562 +images/Jungle/41_Parasect.jpg
   1.563 +images/Jungle/42_Persian.jpg
   1.564 +images/Jungle/43_Primeape.jpg
   1.565 +images/Jungle/44_Rapidash.jpg
   1.566 +images/Jungle/45_Rhydon.jpg
   1.567 +images/Jungle/46_Seaking.jpg
   1.568 +images/Jungle/47_Tauros.jpg
   1.569 +images/Jungle/48_Weepinbell.jpg
   1.570 +images/Jungle/49_Bellsprout.jpg
   1.571 +images/Jungle/50_Cubone.jpg
   1.572 +images/Jungle/51_Eevee.jpg
   1.573 +images/Jungle/52_Exeggcute.jpg
   1.574 +images/Jungle/53_Goldeen.jpg
   1.575 +images/Jungle/54_Jigglypuff.jpg
   1.576 +images/Jungle/55_Mankey.jpg
   1.577 +images/Jungle/56_Meowth.jpg
   1.578 +images/Jungle/57_Nidoran_F.jpg
   1.579 +images/Jungle/58_Oddish.jpg
   1.580 +images/Jungle/59_Paras.jpg
   1.581 +images/Jungle/60_Pikachu.jpg
   1.582 +images/Jungle/61_Rhyhorn.jpg
   1.583 +images/Jungle/62_Spearow.jpg
   1.584 +images/Jungle/63_Venonat.jpg
   1.585 +images/Jungle/64_Poke_Ball.jpg
   1.586 +images/Jungle/H-10_Scyther.jpg
   1.587 +images/Jungle/H-11_Snorlax.jpg
   1.588 +images/Jungle/H-12_Vaporeon.jpg
   1.589 +images/Jungle/H-13_Venomoth.jpg
   1.590 +images/Jungle/H-14_Victreebel.jpg
   1.591 +images/Jungle/H-15_Vileplume.jpg
   1.592 +images/Jungle/H-16_Wigglytuff.jpg
   1.593 +images/Jungle/H-1_Clefable.jpg
   1.594 +images/Jungle/H-2_Electrode.jpg
   1.595 +images/Jungle/H-3_Flareon.jpg
   1.596 +images/Jungle/H-4_Jolteon.jpg
   1.597 +images/Jungle/H-5_Kangaskhan.jpg
   1.598 +images/Jungle/H-6_Mr_Mime.jpg
   1.599 +images/Jungle/H-7_Nidoqueen.jpg
   1.600 +images/Jungle/H-8_Pidgeot.jpg
   1.601 +images/Jungle/H-9_Pinsir.jpg);
   1.602 +
   1.603 +@Rocket = qw(
   1.604 +images/Rocket/18_Dark_Alakazam.jpg
   1.605 +images/Rocket/19_Dark_Arbok.jpg
   1.606 +images/Rocket/20_Dark_Blastoise.jpg
   1.607 +images/Rocket/21_Dark_Charizard.jpg
   1.608 +images/Rocket/22_Dark_Dragonite.jpg
   1.609 +images/Rocket/23_Dark_Dugtrio.jpg
   1.610 +images/Rocket/24_Dark_Golbat.jpg
   1.611 +images/Rocket/25_Dark_Gyarados.jpg
   1.612 +images/Rocket/26_Dark_Hypno.jpg
   1.613 +images/Rocket/27_Dark_Machamp.jpg
   1.614 +images/Rocket/28_Dark_Magneton.jpg
   1.615 +images/Rocket/29_Dark_Slowbro.jpg
   1.616 +images/Rocket/30_Dark_Vileplume.jpg
   1.617 +images/Rocket/31_Dark_Weezing.jpg
   1.618 +images/Rocket/32_Dark_Charmeleon.jpg
   1.619 +images/Rocket/33_Dark_Dragonair.jpg
   1.620 +images/Rocket/34_Dark_Electrode.jpg
   1.621 +images/Rocket/35_Dark_Flareon.jpg
   1.622 +images/Rocket/36_Dark_Gloom.jpg
   1.623 +images/Rocket/37_Dark_Golduck.jpg
   1.624 +images/Rocket/38_Dark_Jolteon.jpg
   1.625 +images/Rocket/39_Dark_Kadabra.jpg
   1.626 +images/Rocket/40_Dark_Machoke.jpg
   1.627 +images/Rocket/41_Dark_Muk.jpg
   1.628 +images/Rocket/42_Dark_Persian.jpg
   1.629 +images/Rocket/43_Dark_Primeape.jpg
   1.630 +images/Rocket/44_Dark_Rapidash.jpg
   1.631 +images/Rocket/45_Dark_Vaporeon.jpg
   1.632 +images/Rocket/46_Dark_Wartortle.jpg
   1.633 +images/Rocket/47_Magikarp.jpg
   1.634 +images/Rocket/48_Porygon.jpg
   1.635 +images/Rocket/49_Abra.jpg
   1.636 +images/Rocket/50_Charmander.jpg
   1.637 +images/Rocket/51_Dark_Raticate.jpg
   1.638 +images/Rocket/52_Diglett.jpg
   1.639 +images/Rocket/53_Dratini.jpg
   1.640 +images/Rocket/54_Drowzee.jpg
   1.641 +images/Rocket/55_Eevee.jpg
   1.642 +images/Rocket/56_Ekans.jpg
   1.643 +images/Rocket/57_Grimer.jpg
   1.644 +images/Rocket/58_Koffing.jpg
   1.645 +images/Rocket/59_Machop.jpg
   1.646 +images/Rocket/60_Magnemite.jpg
   1.647 +images/Rocket/61_Mankey.jpg
   1.648 +images/Rocket/62_Meowth.jpg
   1.649 +images/Rocket/63_Oddish.jpg
   1.650 +images/Rocket/64_Ponyta.jpg
   1.651 +images/Rocket/65_Psyduck.jpg
   1.652 +images/Rocket/66_Rattata.jpg
   1.653 +images/Rocket/67_Slowpoke.jpg
   1.654 +images/Rocket/68_Squirtle.jpg
   1.655 +images/Rocket/69_Voltorb.jpg
   1.656 +images/Rocket/70_Zubat.jpg
   1.657 +images/Rocket/71_Here_Comes_Team_Rocket.jpg
   1.658 +images/Rocket/72_Rockets_Sneak_Attack.jpg
   1.659 +images/Rocket/73_The_Bosss_Way.jpg
   1.660 +images/Rocket/74_Challenge.jpg
   1.661 +images/Rocket/75_Digger.jpg
   1.662 +images/Rocket/76_Imposter_Oaks_Revenge.jpg
   1.663 +images/Rocket/77_Nightly_Garbage_Run.jpg
   1.664 +images/Rocket/78_Goop_Gas_Attack.jpg
   1.665 +images/Rocket/79_Sleep.jpg
   1.666 +images/Rocket/80_Rainbow_Energy.jpg
   1.667 +images/Rocket/81_Full_Heal_Energy.jpg
   1.668 +images/Rocket/82_Potion_Energy.jpg
   1.669 +images/Rocket/83_Dark_Raichu.jpg
   1.670 +images/Rocket/H-10_Dark_Machamp.jpg
   1.671 +images/Rocket/H-11_Dark_Magneton.jpg
   1.672 +images/Rocket/H-12_Dark_Slowbro.jpg
   1.673 +images/Rocket/H-13_Dark_Vileplume.jpg
   1.674 +images/Rocket/H-14_Dark_Weezing.jpg
   1.675 +images/Rocket/H-15_Here_Comes_Team_Rocket.jpg
   1.676 +images/Rocket/H-16_Rockets_Sneak_Attack.jpg
   1.677 +images/Rocket/H-17_Rainbow_Energy.jpg
   1.678 +images/Rocket/H-1_Dark_Alakazam.jpg
   1.679 +images/Rocket/H-2_Dark_Arbok.jpg
   1.680 +images/Rocket/H-3_Dark_Blastoise.jpg
   1.681 +images/Rocket/H-4_Dark_Charizard.jpg
   1.682 +images/Rocket/H-5_Dark_Dragonite.jpg
   1.683 +images/Rocket/H-6_Dark_Dugtrio.jpg
   1.684 +images/Rocket/H-7_Dark_Golbat.jpg
   1.685 +images/Rocket/H-8_Dark_Gyarados.jpg
   1.686 +images/Rocket/H-9_Dark_Hypno.jpg);}
   1.687 \ No newline at end of file