zzz-pokedex.git
14 years agoFix RBY grass/water encounter slot rarities.
a_magical_me [Thu, 18 Mar 2010 04:31:07 +0000 (21:31 -0700)] 
Fix RBY grass/water encounter slot rarities.

<http://tasvideos.org/PokemonTricks.html>
This page explains how the RNG in RBY works, and gives exact rarities.
They are out of 256 rather than 100, so some rounding is necessary to
fit them into the database.

====  =======  ======  ==========  =======
Slot   Range   Chance  Percentage  Rounded
====  =======  ======  ==========  =======
0       0-50   51/256  19.921875%    20%
1      51-101  51/256  19.921875%    20%
2     102-140  39/256  15.234375%    15%
3     141-165  25/256   9.765625%    10%
4     166-190  25/256   9.765625%    10%
5     191-215  25/256   9.765625%    10%
6     216-228  13/256   5.078125%     5%
7     229-241  13/256   5.078125%     5%
8     242-252  11/256   4.296875%     4%
9     253-255   3/256   1.171875%     1%
====  =======  ======  ==========  =======

14 years agoAdd slot index to encounter_slots
a_magical_me [Tue, 16 Mar 2010 09:45:25 +0000 (02:45 -0700)] 
Add slot index to encounter_slots

14 years agoFixed some misspelled German Pokémon names. #140
Zhorken [Tue, 13 Apr 2010 03:34:12 +0000 (23:34 -0400)] 
Fixed some misspelled German Pokémon names. #140

14 years agoFixed lookup tests to, um, run.
Eevee [Mon, 29 Mar 2010 05:14:27 +0000 (22:14 -0700)] 
Fixed lookup tests to, um, run.

14 years agoRemove absolute HP from the capture chance formula.
Eevee [Sun, 28 Mar 2010 02:47:36 +0000 (19:47 -0700)] 
Remove absolute HP from the capture chance formula.

14 years agoRoar and Whirlwind cancel Wish.
Eevee [Sat, 27 Mar 2010 23:12:51 +0000 (16:12 -0700)] 
Roar and Whirlwind cancel Wish.

14 years agoNope, shake formula dun use integers.
Eevee [Sat, 27 Mar 2010 05:18:19 +0000 (22:18 -0700)] 
Nope, shake formula dun use integers.

14 years agoWhy am I importing sqlalchemy.databases.mysql...?
Eevee [Thu, 25 Mar 2010 15:39:48 +0000 (08:39 -0700)] 
Why am I importing sqlalchemy.databases.mysql...?

14 years agoAdd locations to lookup. Wow, easy.
Eevee [Wed, 24 Mar 2010 05:56:45 +0000 (22:56 -0700)] 
Add locations to lookup.  Wow, easy.

14 years agoRemove special lookup logic for forms.
Eevee [Wed, 24 Mar 2010 02:43:42 +0000 (19:43 -0700)] 
Remove special lookup logic for forms.

14 years agoRemoved forme_name from lookup; added indexed_name to results.
Eevee [Wed, 24 Mar 2010 01:09:03 +0000 (18:09 -0700)] 
Removed forme_name from lookup; added indexed_name to results.

14 years agoLookup index now contains default form names.
Eevee [Tue, 23 Mar 2010 05:49:21 +0000 (22:49 -0700)] 
Lookup index now contains default form names.

14 years agoAdd 487-altered.png. Fixed form name.
Eevee [Tue, 23 Mar 2010 05:37:23 +0000 (22:37 -0700)] 
Add 487-altered.png.  Fixed form name.

14 years agoAdded natures table.
Eevee [Tue, 23 Mar 2010 05:29:28 +0000 (22:29 -0700)] 
Added natures table.

14 years agoHo-oh => Ho-Oh
Eevee [Mon, 22 Mar 2010 23:14:39 +0000 (16:14 -0700)] 
Ho-oh => Ho-Oh

14 years agoTweaked a couple of Pokédex descriptions.
Zhorken [Wed, 24 Mar 2010 04:03:56 +0000 (00:03 -0400)] 
Tweaked a couple of Pokédex descriptions.

14 years agoName the G/S/C Johto dex that instead of "New".
Zhorken [Wed, 24 Mar 2010 04:02:32 +0000 (00:02 -0400)] 
Name the G/S/C Johto dex that instead of "New".

14 years agoTotally overhauled lookup to use a class.
Eevee [Mon, 22 Mar 2010 06:27:47 +0000 (23:27 -0700)] 
Totally overhauled lookup to use a class.

Now state is held within an object, rather than passed back to the
caller who must then pass it in again.  That was retarded and I don't
know why I ever did it.

Code is much cleaner now.

With apologies to anyone running annotate.

14 years agoMake lookup ignore accent marks.
Eevee [Mon, 22 Mar 2010 05:10:43 +0000 (22:10 -0700)] 
Make lookup ignore accent marks.

14 years agoAdded capture chance formula.
Eevee [Sun, 21 Mar 2010 10:16:24 +0000 (03:16 -0700)] 
Added capture chance formula.

14 years agoAdded new HG/SS item sprites.
Eevee [Sun, 21 Mar 2010 08:06:24 +0000 (01:06 -0700)] 
Added new HG/SS item sprites.

14 years agoAllow passing engine arguments to connect().
Eevee [Wed, 17 Mar 2010 07:44:19 +0000 (00:44 -0700)] 
Allow passing engine arguments to connect().

14 years agoAdded language codes alongside the country codes.
Zhorken [Tue, 16 Mar 2010 03:24:29 +0000 (23:24 -0400)] 
Added language codes alongside the country codes.

Language codes are ISO 639-1; country codes are ISO 3166-1 alpha-2.

The country codes are important to keep for flags and stuff, I guess,
but reporting the language code as a short form for the language is
more correct.

Gonna see if I can do that, I guess.  I added the language codes mostly
just because I was adding languages.

14 years agoAdded German, Spanish, and Italian move names.
Zhorken [Tue, 16 Mar 2010 03:23:02 +0000 (23:23 -0400)] 
Added German, Spanish, and Italian move names.

14 years agoSky Shaymin holds a Lum Berry in Platinum.
Zhorken [Mon, 15 Mar 2010 19:21:00 +0000 (15:21 -0400)] 
Sky Shaymin holds a Lum Berry in Platinum.

14 years agoReplaced newlines and fancy quotation marks in DPPt flavor text.
Zhorken [Mon, 15 Mar 2010 07:36:21 +0000 (03:36 -0400)] 
Replaced newlines and fancy quotation marks in DPPt flavor text.

14 years agoAdded Land Shaymin (492-land.png) sprites.
Eevee [Mon, 15 Mar 2010 06:56:01 +0000 (23:56 -0700)] 
Added Land Shaymin (492-land.png) sprites.

14 years agoFix Rough Skin, Roost, and formatting of Detect.
Eevee [Mon, 15 Mar 2010 06:46:44 +0000 (23:46 -0700)] 
Fix Rough Skin, Roost, and formatting of Detect.

14 years agoGRAVITY. DISABLES. SPLASH.
Eevee [Mon, 15 Mar 2010 06:36:05 +0000 (23:36 -0700)] 
GRAVITY.  DISABLES.  SPLASH.

14 years agoLookup no longer crashes if all type prefixes are bogus.
Eevee [Sun, 14 Mar 2010 23:45:10 +0000 (16:45 -0700)] 
Lookup no longer crashes if all type prefixes are bogus.

14 years agoFixed malformed reST in Recycle's move effect.
Eevee [Sun, 14 Mar 2010 02:56:34 +0000 (18:56 -0800)] 
Fixed malformed reST in Recycle's move effect.

14 years agoImplemented rst as_text, for showing short move effects outside the Web.
Eevee [Sun, 14 Mar 2010 02:49:09 +0000 (18:49 -0800)] 
Implemented rst as_text, for showing short move effects outside the Web.

14 years agoMake rst as_html handle errors a little more nicely.
Eevee [Sun, 14 Mar 2010 02:11:40 +0000 (18:11 -0800)] 
Make rst as_html handle errors a little more nicely.

14 years agoAdded wild held items for HeartGold and SoulSilver.
Zhorken [Mon, 15 Mar 2010 05:54:31 +0000 (01:54 -0400)] 
Added wild held items for HeartGold and SoulSilver.

The only differences from Platinum are that Shuckle holds a Berry
Juice, Sky Shaymin holds a Lum Berry, and the *rizers are only held by
the final forms, only 5% of the time.

14 years agoHG/SS Pokémon flavor text.
Eevee [Fri, 12 Mar 2010 16:46:26 +0000 (08:46 -0800)] 
HG/SS Pokémon flavor text.

14 years agoAdded Rotom -normal sprites.
Eevee [Thu, 11 Mar 2010 05:07:14 +0000 (21:07 -0800)] 
Added Rotom -normal sprites.

14 years agoFixed Hustle description.
Eevee [Wed, 10 Mar 2010 08:24:20 +0000 (00:24 -0800)] 
Fixed Hustle description.

14 years agoFixed the hell out of all remaining form problems.
Eevee [Wed, 10 Mar 2010 08:19:05 +0000 (00:19 -0800)] 
Fixed the hell out of all remaining form problems.

Every flavor page should work with no missing sprites.  Save perhaps for
Unown, because I honestly don't have them.

Every sprite exists as ###-form.png.  There is also still a ###.png,
containing a reasonable default form, so people who don't give a crap
about this mess can just use the numbered sprites.  Beta forms should
now all be ###-beta.png.

Form groups now have a notion of "in-battle", which is used to hide
overworld sprites when appropriate.

Form sprites have a first-class sense of being a default or not, too.

Deoxys is...  well, let's not talk about Deoxys.  Deoxys is fixed.

14 years agoFixed Cherrim/Castform/Pichu form names; renamed a mass of sprites to match.
Eevee [Tue, 9 Mar 2010 06:33:58 +0000 (22:33 -0800)] 
Fixed Cherrim/Castform/Pichu form names; renamed a mass of sprites to match.

14 years agoFixed or clarified some eight move/ability effects.
Eevee [Tue, 9 Mar 2010 05:42:56 +0000 (21:42 -0800)] 
Fixed or clarified some eight move/ability effects.

14 years agoFilled in some missing Pokémon colors.
Eevee [Thu, 4 Mar 2010 01:05:45 +0000 (17:05 -0800)] 
Filled in some missing Pokémon colors.

14 years agoFactored habitats into a separate table.
Eevee [Wed, 3 Mar 2010 08:53:00 +0000 (00:53 -0800)] 
Factored habitats into a separate table.

14 years agoFactored Pokémon colors out into their own table.
Eevee [Wed, 3 Mar 2010 04:27:40 +0000 (20:27 -0800)] 
Factored Pokémon colors out into their own table.

14 years agoAdded accents to French Pokémon names.
Zhorken [Mon, 22 Feb 2010 05:37:54 +0000 (00:37 -0500)] 
Added accents to French Pokémon names.

Taken from http://www.pokepedia.fr/ (Liste des Pokémon dans l'ordre du
Pokédex National).  They apparently took them from the French Mystery
Dungeon games (Poképédia:Conventions de Style).

This also corrects some typos.

14 years agoCorrected a docstring in rst.py.
Zhorken [Mon, 22 Feb 2010 05:13:28 +0000 (00:13 -0500)] 
Corrected a docstring in rst.py.

14 years agoReplaced ‘’“” with '" in Platinum Pokédex entries.
Zhorken [Mon, 22 Feb 2010 05:09:22 +0000 (00:09 -0500)] 
Replaced ‘’“” with '" in Platinum Pokédex entries.

14 years agoMoved Gen-I internal Pokémon IDs to their own Pokédex.
Zhorken [Wed, 17 Feb 2010 07:19:48 +0000 (02:19 -0500)] 
Moved Gen-I internal Pokémon IDs to their own Pokédex.

14 years agoAdded Pokédexes to replace dex numbers' generations.
Zhorken [Wed, 17 Feb 2010 07:16:59 +0000 (02:16 -0500)] 
Added Pokédexes to replace dex numbers' generations.

This deals with Gen IV having two Sinnoh dexes and a Johto dex.

14 years agoLabel Togepi and Riolu as babies.
Zhorken [Tue, 16 Feb 2010 19:54:54 +0000 (14:54 -0500)] 
Label Togepi and Riolu as babies.

They're bottom-stage, no-eggs Pokémon that evolve into things that can
breed.

14 years agoAdd Gen III wild held items.
a_magical_me [Tue, 9 Feb 2010 02:00:32 +0000 (18:00 -0800)] 
Add Gen III wild held items.

14 years agoFixed Bug Bite's effect.
Eevee [Mon, 8 Feb 2010 02:37:15 +0000 (18:37 -0800)] 
Fixed Bug Bite's effect.

14 years agoUnknown Dungeon => Cerulean Cave
Eevee [Thu, 4 Feb 2010 09:13:10 +0000 (01:13 -0800)] 
Unknown Dungeon => Cerulean Cave

14 years agoFilled in missing Vermilion port encounters.
Eevee [Thu, 4 Feb 2010 09:12:22 +0000 (01:12 -0800)] 
Filled in missing Vermilion port encounters.

14 years agoAdded Yellow fishing encounters.
Eevee [Thu, 4 Feb 2010 09:03:10 +0000 (01:03 -0800)] 
Added Yellow fishing encounters.

14 years agoWhoops; removed some R/B fishing from places with no water.
Eevee [Thu, 4 Feb 2010 04:52:14 +0000 (20:52 -0800)] 
Whoops; removed some R/B fishing from places with no water.

14 years agoAdded Red/Blue fishing encounters.
Eevee [Thu, 4 Feb 2010 04:28:57 +0000 (20:28 -0800)] 
Added Red/Blue fishing encounters.

14 years agoAdded Red/Blue/Yellow grass and surfing encounters.
Eevee [Thu, 4 Feb 2010 03:19:43 +0000 (19:19 -0800)] 
Added Red/Blue/Yellow grass and surfing encounters.

14 years agoFilled in missing Kanto locations/areas.
Eevee [Thu, 4 Feb 2010 01:05:17 +0000 (17:05 -0800)] 
Filled in missing Kanto locations/areas.

14 years ago"PokéRadar" conditions values were missing their accents.
Eevee [Wed, 3 Feb 2010 07:56:35 +0000 (23:56 -0800)] 
"PokéRadar" conditions values were missing their accents.

14 years agoUpdated Good/Super Rod rarities to be.. correct.
Eevee [Tue, 2 Feb 2010 07:50:48 +0000 (23:50 -0800)] 
Updated Good/Super Rod rarities to be..  correct.

14 years agoFixed comments in pokedex.lookup.
Eevee [Tue, 2 Feb 2010 07:50:33 +0000 (23:50 -0800)] 
Fixed comments in pokedex.lookup.

14 years agoAdded terrain icons for Rock Smash and unknown.
Eevee [Sun, 31 Jan 2010 02:12:23 +0000 (18:12 -0800)] 
Added terrain icons for Rock Smash and unknown.

Moved terrain icons into encounters/.

14 years agoRemoved leading zeroes from cries' filenames.
Zhorken [Sun, 31 Jan 2010 19:14:23 +0000 (14:14 -0500)] 
Removed leading zeroes from cries' filenames.

This makes them match the sprites etc. and fixes the cry links for
Bulbasaur through Kingler.

14 years agoMerge branch 'master' of git://veekun.com/pokedex
Zhorken [Sun, 31 Jan 2010 19:10:14 +0000 (14:10 -0500)] 
Merge branch 'master' of git://veekun.com/pokedex

14 years agoRemoved some svn cruft.
Eevee [Thu, 28 Jan 2010 09:21:28 +0000 (01:21 -0800)] 
Removed some svn cruft.

14 years agoMade regions first-class objects.
Eevee [Mon, 25 Jan 2010 04:39:33 +0000 (20:39 -0800)] 
Made regions first-class objects.

14 years agoUpdated some location/area names; collapsed Turnback Cave.
Eevee [Sun, 24 Jan 2010 10:35:34 +0000 (02:35 -0800)] 
Updated some location/area names; collapsed Turnback Cave.

This had been done before, but some of the changes were lost when I
re-ripped Diamond and Pearl.

Also, Turnback Cave has been collapsed into seven sections rather than
four.  The previous change in particular ignored that the encounter
rates for the first three areas were lower than elsewhere.  I'm
conjecturing wildly, but I believe those first three are the actual
pillar rooms, and the following four identical groups are the groups of
rooms between the pillars.

14 years agoRe-re-ripped HG/SS encounters.
Eevee [Thu, 21 Jan 2010 08:45:21 +0000 (00:45 -0800)] 
Re-re-ripped HG/SS encounters.

Turns out "fishing swarm 2" is time of day; it represents some water
Pokémon that only appear at night.

14 years agoAdded some encounter condition icons.
Eevee [Thu, 21 Jan 2010 07:57:39 +0000 (23:57 -0800)] 
Added some encounter condition icons.

14 years agoRedumped encounters for all five gen4 games.
Eevee [Sat, 2 Jan 2010 04:38:04 +0000 (20:38 -0800)] 
Redumped encounters for all five gen4 games.

14 years agoMerge branch 'master' of git://veekun.com/pokedex
Zhorken [Sun, 20 Dec 2009 21:08:47 +0000 (16:08 -0500)] 
Merge branch 'master' of git://veekun.com/pokedex

14 years agoAdded types' generations and pre-gen-IV damage classes.
Zhorken [Sun, 20 Dec 2009 06:41:40 +0000 (01:41 -0500)] 
Added types' generations and pre-gen-IV damage classes.

14 years agoAdded ???'s type efficacies to the database.
Zhorken [Sun, 20 Dec 2009 06:41:10 +0000 (01:41 -0500)] 
Added ???'s type efficacies to the database.

14 years agoFixed "Official Romaaji" -> "Official Roomaji".
Zhorken [Sun, 20 Dec 2009 06:40:03 +0000 (01:40 -0500)] 
Fixed "Official Romaaji" -> "Official Roomaji".

14 years agoAdded types' generations and pre-gen-IV damage classes.
Zhorken [Sun, 20 Dec 2009 06:41:40 +0000 (01:41 -0500)] 
Added types' generations and pre-gen-IV damage classes.

14 years agoAdded ???'s type efficacies to the database.
Zhorken [Sun, 20 Dec 2009 06:41:10 +0000 (01:41 -0500)] 
Added ???'s type efficacies to the database.

14 years agoFixed "Official Romaaji" -> "Official Roomaji".
Zhorken [Sun, 20 Dec 2009 06:40:03 +0000 (01:40 -0500)] 
Fixed "Official Romaaji" -> "Official Roomaji".

14 years agoOptimized the fuck out of `pokedex load`.
Eevee [Thu, 10 Dec 2009 02:15:51 +0000 (18:15 -0800)] 
Optimized the fuck out of `pokedex load`.

Major change was to skip the ORM entirely.  Sped it up 500%.

14 years agoRefactored encounters schema so HG/SS can work.
Eevee [Wed, 9 Dec 2009 22:35:29 +0000 (14:35 -0800)] 
Refactored encounters schema so HG/SS can work.

Conditions are now condition values; condition groups are conditions.
Types are now terrain.  Slots are first-class things.

Encounters' condition values and slots' conditions have been broken off
into their own tables, as HG/SS has several slots affected by multiple
conditions.

14 years agoAdded Emerald animations. #73
Eevee [Wed, 2 Dec 2009 00:45:08 +0000 (16:45 -0800)] 
Added Emerald animations.  #73

14 years agoReplaced cropped Pokémon sprites with HG/SS ones.
Eevee [Sun, 29 Nov 2009 06:09:33 +0000 (22:09 -0800)] 
Replaced cropped Pokémon sprites with HG/SS ones.

14 years agoAdded PokemonMove.machine relation.
Eevee [Sat, 28 Nov 2009 10:14:39 +0000 (02:14 -0800)] 
Added PokemonMove.machine relation.

14 years agoAdded ISO-3166 country codes to languages table and lookup.
Eevee [Tue, 24 Nov 2009 05:50:45 +0000 (21:50 -0800)] 
Added ISO-3166 country codes to languages table and lookup.

14 years agoAdded short_effects for no-effect moves.
Eevee [Tue, 24 Nov 2009 05:50:18 +0000 (21:50 -0800)] 
Added short_effects for no-effect moves.

14 years agoUpdated move and contest type icons to gen 4.
Eevee [Tue, 24 Nov 2009 03:49:53 +0000 (19:49 -0800)] 
Updated move and contest type icons to gen 4.

15 years agoAdded French move names.
Zhorken [Sat, 14 Nov 2009 01:05:28 +0000 (20:05 -0500)] 
Added French move names.

15 years agoRenamed ????? to ???, as the D/P text dump indicates is correct.
Eevee [Thu, 12 Nov 2009 06:11:44 +0000 (22:11 -0800)] 
Renamed ????? to ???, as the D/P text dump indicates is correct.

15 years agoRearranged move effect categories by primary key.
Eevee [Wed, 11 Nov 2009 04:06:30 +0000 (20:06 -0800)] 
Rearranged move effect categories by primary key.

15 years agoAdded HG/SS tutor moves. #109
Eevee [Wed, 11 Nov 2009 04:04:12 +0000 (20:04 -0800)] 
Added HG/SS tutor moves.  #109

15 years agoAdded move categories. #41
Eevee [Mon, 9 Nov 2009 01:00:45 +0000 (17:00 -0800)] 
Added move categories.  #41

15 years agoMinor fixes to a handful of move effects.
Eevee [Mon, 9 Nov 2009 00:58:30 +0000 (16:58 -0800)] 
Minor fixes to a handful of move effects.

15 years agoRequire docutils.
Eevee [Mon, 2 Nov 2009 04:42:13 +0000 (20:42 -0800)] 
Require docutils.

15 years ago"Unknown 71" is actually Route 47.
Eevee [Tue, 20 Oct 2009 07:50:07 +0000 (00:50 -0700)] 
"Unknown 71" is actually Route 47.

15 years agoRemoved some extraneous Pidgeotto R/B moves that snuck in somehow.
Eevee [Sun, 11 Oct 2009 22:22:38 +0000 (15:22 -0700)] 
Removed some extraneous Pidgeotto R/B moves that snuck in somehow.

15 years agoRe-re-ripped gen 4 moves to fix an error with the rip script.
Eevee [Sun, 11 Oct 2009 08:26:47 +0000 (01:26 -0700)] 
Re-re-ripped gen 4 moves to fix an error with the rip script.

15 years agoForgot to uncomment the hiragana sokuon code.
Eevee [Sun, 11 Oct 2009 07:46:45 +0000 (00:46 -0700)] 
Forgot to uncomment the hiragana sokuon code.

15 years agoPrefix lookup is now case-insensitive.
Eevee [Sun, 11 Oct 2009 07:39:52 +0000 (00:39 -0700)] 
Prefix lookup is now case-insensitive.

15 years agoReloaded Red/Blue moves. Same story, again. #31
Eevee [Sun, 4 Oct 2009 02:32:46 +0000 (19:32 -0700)] 
Reloaded Red/Blue moves.  Same story, again.  #31

15 years agoRhyhorn and Rhydon had their gen1 internal ids backwards. #31
Eevee [Sun, 4 Oct 2009 02:08:11 +0000 (19:08 -0700)] 
Rhyhorn and Rhydon had their gen1 internal ids backwards.  #31

This meant their reloaded Yellow moves were switched around.

15 years agoReloaded Yellow moves. Same story. #31
Eevee [Sun, 4 Oct 2009 01:02:43 +0000 (18:02 -0700)] 
Reloaded Yellow moves.  Same story.  #31