# HG changeset patch # User robert # Date 1252407323 14400 # Node ID e91d6f90822211d989c5184e9c06f3b0f7d0a809 # Parent 90181bbf7a0cbb21726ce871848aa0d4c1117f8c [svn r7] finished! diff -r 90181bbf7a0c -r e91d6f908222 CARD.perl Binary file CARD.perl has changed diff -r 90181bbf7a0c -r e91d6f908222 PokeScrape.pl --- a/PokeScrape.pl Tue Sep 08 06:05:47 2009 -0400 +++ b/PokeScrape.pl Tue Sep 08 06:55:23 2009 -0400 @@ -45,16 +45,23 @@ { print $numTag," ",$nameTag; $tempCard = Card->new(); + + 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/)) + {$rarityTag = "None";print "FAIL::";} + + + $tempCard->addTags($typeTag,$numTag,$nameTag,$setTag,$rarityTag); - if ($setTag eq "Base Set"){for $t(@Base){if ($t =~ m/$numTag/){ $tempCard->setPix($t);}}} - if ($setTag eq "Jungle"){for $t(@Jungle){if ($t =~ m/$numTag/){ $tempCard->setPix($t);}}} - if ($setTag eq "Team Rocket"){for $t(@Rocket){if ($t =~ m/$numTag/){ $tempCard->setPix($t);}}} - if ($setTag eq "Fossil"){for $t(@Fossil){if ($t =~ m/$numTag/){ $tempCard->setPix($t);}}} - if ($setTag eq "Gym Challenge"){for $t(@GymChallenge){if ($t =~ m/$numTag/){ $tempCard->setPix($t);}}} - if ($setTag eq "Gym Heroes"){for $t(@GymHeroes){if ($t =~ m/$numTag/){ $tempCard->setPix($t);}}} + + if ($setTag eq "Base Set"){for $t(@Base){if ($t =~ m/\D$numTag\D/){ $tempCard->setPix($t);}}} + if ($setTag eq "Jungle"){for $t(@Jungle){if ($t =~ m/\D$numTag\D/){ $tempCard->setPix($t);}}} + if ($setTag eq "Team Rocket"){for $t(@Rocket){if ($t =~ m/\D$numTag\D/){ $tempCard->setPix($t);}}} + if ($setTag eq "Fossil"){for $t(@Fossil){if ($t =~ m/\D$numTag\D/){ $tempCard->setPix($t);}}} + if ($setTag eq "Gym Challenge"){for $t(@GymChallenge){if ($t =~ m/\D$numTag\D/){ $tempCard->setPix($t);}}} + if ($setTag eq "Gym Heroes"){for $t(@GymHeroes){if ($t =~ m/\D$numTag\D/){ $tempCard->setPix($t);}}} - + if ($tempCard->getPix()=~ m/132_Water_Energy/){print "##################AHHHHHHHHHHHHHHHHHHHHHH";} @@ -304,6 +311,7 @@ images/GymChallenge/30_Sabrinas_Golduck.jpg images/GymChallenge/31_Blaines_Charmeleon.jpg images/GymChallenge/33_Blaines_Rapidash.jpg +images/GymChallenge/32_Blaines_Dodrio.jpg images/GymChallenge/34_Brocks_Graveler.jpg images/GymChallenge/35_Brocks_Primape.jpg images/GymChallenge/36_Brocks_Sandslash.jpg diff -r 90181bbf7a0c -r e91d6f908222 images/GymChallenge/Thumbs.db Binary file images/GymChallenge/Thumbs.db has changed diff -r 90181bbf7a0c -r e91d6f908222 index.html --- a/index.html Tue Sep 08 06:05:47 2009 -0400 +++ b/index.html Tue Sep 08 06:55:23 2009 -0400 @@ -1,37 +1,34 @@
-