Commit graph

1251 commits

Author SHA1 Message Date
Eevee
d6fd697018 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.
2010-03-21 23:27:47 -07:00
Eevee
f9c17584f3 Make lookup ignore accent marks. 2010-03-21 22:10:43 -07:00
Eevee
597ee5198b Added capture chance formula. 2010-03-21 03:16:24 -07:00
Eevee
a89a616203 Allow passing engine arguments to connect(). 2010-03-17 00:44:33 -07:00
Zhorken
419f65c90c 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.
2010-03-15 23:24:29 -04:00
Zhorken
1fcb06d64a Added German, Spanish, and Italian move names. 2010-03-15 23:23:02 -04:00
Zhorken
63ae75c2bd Sky Shaymin holds a Lum Berry in Platinum. 2010-03-15 15:21:00 -04:00
Zhorken
ec1f4ea0ec Replaced newlines and fancy quotation marks in DPPt flavor text. 2010-03-15 03:37:34 -04:00
Eevee
23f2a99be6 Fix Rough Skin, Roost, and formatting of Detect. 2010-03-15 00:10:09 -07:00
Eevee
3fc6883486 GRAVITY. DISABLES. SPLASH. 2010-03-15 00:10:09 -07:00
Eevee
3ea814661f Lookup no longer crashes if all type prefixes are bogus. 2010-03-15 00:10:09 -07:00
Eevee
2f90be3834 Fixed malformed reST in Recycle's move effect. 2010-03-15 00:10:08 -07:00
Eevee
47f5953457 Implemented rst as_text, for showing short move effects outside the Web. 2010-03-15 00:10:08 -07:00
Eevee
e0aeb771b2 Make rst as_html handle errors a little more nicely. 2010-03-15 00:10:08 -07:00
Zhorken
c50697bd6b 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.
2010-03-15 01:54:31 -04:00
Eevee
f84aa3ab51 HG/SS Pokémon flavor text. 2010-03-12 08:46:26 -08:00
Eevee
07b8956da3 Fixed Hustle description. 2010-03-10 00:24:20 -08:00
Eevee
6e611d7a54 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.
2010-03-10 00:19:05 -08:00
Eevee
430fbd9c0f Fixed Cherrim/Castform/Pichu form names; renamed a mass of sprites to match. 2010-03-08 22:33:58 -08:00
Eevee
a599ba1491 Fixed or clarified some eight move/ability effects. 2010-03-08 21:42:56 -08:00
Eevee
cdb80c711a Filled in some missing Pokémon colors. 2010-03-03 17:05:45 -08:00
Eevee
8280652dd2 Factored habitats into a separate table. 2010-03-03 00:53:00 -08:00
Eevee
5b100b1651 Factored Pokémon colors out into their own table. 2010-03-02 21:11:17 -08:00
Zhorken
123def9c68 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.
2010-02-22 00:37:54 -05:00
Zhorken
f24fb43c1b Corrected a docstring in rst.py. 2010-02-22 00:13:28 -05:00
Zhorken
cc6177ae55 Replaced ‘’“” with '" in Platinum Pokédex entries. 2010-02-22 00:13:16 -05:00
Zhorken
a2b0218035 Moved Gen-I internal Pokémon IDs to their own Pokédex. 2010-02-17 02:19:48 -05:00
Zhorken
3b88a83fff Added Pokédexes to replace dex numbers' generations.
This deals with Gen IV having two Sinnoh dexes and a Johto dex.
2010-02-17 02:16:59 -05:00
Zhorken
15bd2a89e2 Label Togepi and Riolu as babies.
They're bottom-stage, no-eggs Pokémon that evolve into things that can
breed.
2010-02-16 14:54:54 -05:00
a_magical_me
97593561f4 Add Gen III wild held items. 2010-02-08 19:01:21 -08:00
Eevee
7798bb7970 Fixed Bug Bite's effect. 2010-02-07 18:37:15 -08:00
Eevee
f4c314123d Unknown Dungeon => Cerulean Cave 2010-02-04 01:13:10 -08:00
Eevee
373ec780bc Filled in missing Vermilion port encounters. 2010-02-04 01:12:22 -08:00
Eevee
d169a24d97 Added Yellow fishing encounters. 2010-02-04 01:03:10 -08:00
Eevee
c324f0c629 Whoops; removed some R/B fishing from places with no water. 2010-02-03 20:52:14 -08:00
Eevee
5647d26765 Added Red/Blue fishing encounters. 2010-02-03 20:28:57 -08:00
Eevee
d41c96c23b Added Red/Blue/Yellow grass and surfing encounters. 2010-02-03 19:19:43 -08:00
Eevee
28bf303613 Filled in missing Kanto locations/areas. 2010-02-03 19:19:25 -08:00
Eevee
74a4e4ccee "PokéRadar" conditions values were missing their accents. 2010-02-02 23:56:35 -08:00
Eevee
429e660e8e Updated Good/Super Rod rarities to be.. correct. 2010-02-02 00:07:26 -08:00
Eevee
a7496ec617 Fixed comments in pokedex.lookup. 2010-02-02 00:07:26 -08:00
Zhorken
e4293afd54 Merge branch 'master' of git://veekun.com/pokedex 2010-01-31 14:10:14 -05:00
Eevee
81eaf4a9ef Made regions first-class objects. 2010-01-28 01:21:35 -08:00
Eevee
e3c6cf7d10 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.
2010-01-28 01:21:35 -08:00
Eevee
e163c13038 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.
2010-01-28 01:21:34 -08:00
Eevee
49be86a9d3 Redumped encounters for all five gen4 games. 2010-01-28 01:21:34 -08:00
Zhorken
9245f8ac5e Merge branch 'master' of git://veekun.com/pokedex 2009-12-20 16:08:47 -05:00
Zhorken
4384d56c2c Added types' generations and pre-gen-IV damage classes. 2009-12-19 23:09:27 -08:00
Zhorken
37fa52ed47 Added ???'s type efficacies to the database. 2009-12-19 23:09:23 -08:00
Zhorken
341b141cf1 Fixed "Official Romaaji" -> "Official Roomaji". 2009-12-19 23:09:20 -08:00