Commit graph

274 commits

Author SHA1 Message Date
Eevee
733cfd4381 Sunflora can be tutored Earth Power in HG/SS. #149 2010-04-16 23:09:33 -07:00
Eevee
74d1a3c462 Once and for all, fixed Pt tutor moves. #126 2010-04-16 23:09:33 -07:00
Eevee
1d9e24a875 roomaji.py now handles "wu xe" and "shi xi" correctly. #132 2010-04-16 23:09:33 -07:00
Eevee
4ae8bb5f21 Added Pokemon.stat() accessor. 2010-04-16 23:09:32 -07:00
Eevee
e73eca020c Added canonical_pokedex, Pokedex.region, and some Pokédex descriptions. 2010-04-16 23:09:32 -07:00
a_magical_me
b3eb81225a Fix HGSS fishing encounter slot rarities.
<http://www.smogon.com/forums/showpost.php?p=2564048&postcount=215>
mingot has found the correct slot rarities for HGSS fishing encounters.
They are 40/30/15/10/5 for all rods. Surfing is the same as in DPPt.
2010-04-12 23:11:48 -07:00
a_magical_me
eeac034240 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%
====  =======  ======  ==========  =======
2010-04-12 23:10:13 -07:00
a_magical_me
ef798afdcb Add slot index to encounter_slots 2010-04-12 23:06:15 -07:00
Zhorken
584057e6ed Fixed some misspelled German Pokémon names. #140 2010-04-12 23:34:12 -04:00
Eevee
82e797c6d0 Fixed lookup tests to, um, run. 2010-03-28 22:18:27 -07:00
Eevee
d995942b4f Remove absolute HP from the capture chance formula. 2010-03-28 22:18:27 -07:00
Eevee
c309f52d6a Roar and Whirlwind cancel Wish. 2010-03-28 22:18:26 -07:00
Eevee
852ab87ba3 Nope, shake formula dun use integers. 2010-03-28 22:18:26 -07:00
Eevee
b54501ef94 Why am I importing sqlalchemy.databases.mysql...? 2010-03-28 22:18:26 -07:00
Eevee
41c2ebdeaf Add locations to lookup. Wow, easy. 2010-03-28 22:18:26 -07:00
Eevee
043f8154ae Remove special lookup logic for forms. 2010-03-28 22:18:26 -07:00
Eevee
10ebe04999 Removed forme_name from lookup; added indexed_name to results. 2010-03-28 22:18:25 -07:00
Eevee
add2111205 Lookup index now contains default form names. 2010-03-28 22:18:25 -07:00
Eevee
907a24f863 Add 487-altered.png. Fixed form name. 2010-03-28 22:18:25 -07:00
Eevee
b367e70b49 Added natures table. 2010-03-28 22:18:24 -07:00
Eevee
df59b538d7 Ho-oh => Ho-Oh 2010-03-28 22:18:24 -07:00
Zhorken
085ba4ca56 Tweaked a couple of Pokédex descriptions. 2010-03-24 00:03:56 -04:00
Zhorken
d9000a788a Name the G/S/C Johto dex that instead of "New". 2010-03-24 00:02:32 -04:00
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