Zhorken [Wed, 28 Apr 2010 07:59:04 +0000 (03:59 -0400)]
Merge branch 'master' of git@veekun.com:pokedex
Zhorken [Wed, 28 Apr 2010 06:52:46 +0000 (02:52 -0400)]
Reripped Gen I–III Pokémon flavour text. #46
Page breaks are represented by form feeds and soft hyphens are
represented by soft hyphens, even though the Unicode standard's idea of
a soft hyphen is different from what we mean here.
My ripping scripts are at http://github.com/Zhorken/pokemon-flavour
Zhorken [Wed, 28 Apr 2010 06:52:46 +0000 (02:52 -0400)]
Reripped Gen I–III Pokémon flavour text.
Page breaks are represented by form feeds and soft hyphens are
represented by soft hyphens, even though the Unicode standard's idea of
a soft hyphen is different from what we mean here.
My ripping scripts are at http://github.com/Zhorken/pokemon-flavour
a_magical_me [Mon, 26 Apr 2010 11:27:55 +0000 (04:27 -0700)]
Add experience tables.
Eevee [Tue, 27 Apr 2010 06:26:37 +0000 (23:26 -0700)]
Jammed in a bunch of nature stuff.
Eevee [Tue, 27 Apr 2010 04:48:44 +0000 (21:48 -0700)]
Turned Move.contest_type into a foreign key.
Eevee [Tue, 27 Apr 2010 04:48:32 +0000 (21:48 -0700)]
Shuffled item categories.
Eevee [Tue, 27 Apr 2010 04:13:38 +0000 (21:13 -0700)]
Added bag pocket icons.
Eevee [Tue, 27 Apr 2010 04:13:28 +0000 (21:13 -0700)]
Item tidying; fixed missing és, added ItemPocket.identifier.
Eevee [Mon, 26 Apr 2010 06:23:52 +0000 (23:23 -0700)]
At last, imported item and berry data. #10
Eevee [Sat, 24 Apr 2010 22:37:55 +0000 (15:37 -0700)]
Use fnmatch for filenameish glob parsing.
Eevee [Sat, 24 Apr 2010 21:16:16 +0000 (14:16 -0700)]
Tiny fix for CLI help.
Eevee [Sat, 24 Apr 2010 21:06:32 +0000 (14:06 -0700)]
Loading big tables now shows a progress indicator. #180
Eevee [Sat, 24 Apr 2010 21:04:15 +0000 (14:04 -0700)]
Overhauled CLI. #180
- Everything now accepts -i, -e, -q, and -v.
- Plumbing commands now announce what database/index they're using and
where they got them from.
- New command status, which does nothing but still does the announcing.
- New command reindex, which recreates only the whoosh index.
Eevee [Thu, 22 Apr 2010 18:56:15 +0000 (11:56 -0700)]
Oops; Rash had its stats backwards.
Eevee [Tue, 20 Apr 2010 01:16:02 +0000 (18:16 -0700)]
Fixed some location names. #167
Zhorken [Sat, 24 Apr 2010 07:01:42 +0000 (03:01 -0400)]
Merge branch 'master' of git@veekun.com:pokedex
Zhorken [Fri, 23 Apr 2010 04:45:21 +0000 (00:45 -0400)]
Fixed references to "U-Turn" to "U-turn".
There were no references to Conversion 2 or Roar of Time.
a_magical_me [Wed, 21 Apr 2010 06:26:12 +0000 (23:26 -0700)]
Fix location_area_encounter_rates
- encounter_type_id -> encounter_terrain_id
- Added a version_id column. Previous rates were from Diamond and
HeartGold; these have been copied to Pearl & Platinum and SoulSilver,
respectively, which i assume is accurate. RBY rates need to be added.
Zhorken [Wed, 21 Apr 2010 04:45:09 +0000 (00:45 -0400)]
Added missing R/B internal IDs.
Zhorken [Tue, 20 Apr 2010 19:17:37 +0000 (15:17 -0400)]
Fixed "Roar Of Time" to "Roar of Time", too.
Shouldn't be so push-happy, I suppose.
Zhorken [Tue, 20 Apr 2010 18:54:05 +0000 (14:54 -0400)]
Fixed Conversion 2 and U-turn's names.
Based on a Platinum text dump; I'm pretty sure Conversion2 was all one
word at some point.
Interestingly, the use messages for U-turn all read "___________ used
U-Turn!", but it's "U-turn" as the actual move name.
Eevee [Mon, 19 Apr 2010 07:33:09 +0000 (00:33 -0700)]
Refactored valid-type handling in lookup.
- User-specified types are now merged with code-enforced ones, rather
than being blindly clobbered.
- Prefix lookup now supports type prefixes.
Eevee [Mon, 19 Apr 2010 06:37:53 +0000 (23:37 -0700)]
Fixed description for one-Pokémon targeting, and effect for Me First. #135
Eevee [Mon, 19 Apr 2010 06:11:52 +0000 (23:11 -0700)]
Fixed some missing colons in ":mechanic:". #185
Eevee [Mon, 19 Apr 2010 05:43:33 +0000 (22:43 -0700)]
Support natures in lookup.
Eevee [Sat, 17 Apr 2010 09:12:27 +0000 (02:12 -0700)]
Fixed the hell out of the capture rate formula. #150
- Wobbles are based on WHICH number is greater than some pivot, not how
many. This was making everything totally wrong, especially 0 wobbles.
- HG/SS balls all modify capture rate, rather than ball bonus.
- Everything really is integer math; even the sqrts. Bonuses are
relative to 10, not 1. HP is now treated as integer math, too.
- Implemented a minor game bug with very hard to catch Pokémon.
Eevee [Sat, 17 Apr 2010 05:45:44 +0000 (22:45 -0700)]
Added pokedex.savefile, which can encrypt/decrypt Pokémon save structs.
Eevee [Sat, 17 Apr 2010 00:49:22 +0000 (17:49 -0700)]
Made Encore effect a bit more accurate.
Eevee [Fri, 16 Apr 2010 04:22:06 +0000 (21:22 -0700)]
Sunflora can be tutored Earth Power in HG/SS. #149
Eevee [Fri, 16 Apr 2010 04:16:05 +0000 (21:16 -0700)]
Once and for all, fixed Pt tutor moves. #126
Eevee [Fri, 16 Apr 2010 03:05:31 +0000 (20:05 -0700)]
roomaji.py now handles "wu xe" and "shi xi" correctly. #132
Eevee [Fri, 16 Apr 2010 03:05:03 +0000 (20:05 -0700)]
Added Pokemon.stat() accessor.
Eevee [Tue, 30 Mar 2010 03:22:57 +0000 (20:22 -0700)]
Added canonical_pokedex, Pokedex.region, and some Pokédex descriptions.
a_magical_me [Tue, 13 Apr 2010 06:11:48 +0000 (23:11 -0700)]
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.
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%
==== ======= ====== ========== =======
a_magical_me [Tue, 16 Mar 2010 09:45:25 +0000 (02:45 -0700)]
Add slot index to encounter_slots
Zhorken [Tue, 13 Apr 2010 03:34:12 +0000 (23:34 -0400)]
Fixed some misspelled German Pokémon names. #140
Eevee [Mon, 29 Mar 2010 05:14:27 +0000 (22:14 -0700)]
Fixed lookup tests to, um, run.
Eevee [Sun, 28 Mar 2010 02:47:36 +0000 (19:47 -0700)]
Remove absolute HP from the capture chance formula.
Eevee [Sat, 27 Mar 2010 23:12:51 +0000 (16:12 -0700)]
Roar and Whirlwind cancel Wish.
Eevee [Sat, 27 Mar 2010 05:18:19 +0000 (22:18 -0700)]
Nope, shake formula dun use integers.
Eevee [Thu, 25 Mar 2010 15:39:48 +0000 (08:39 -0700)]
Why am I importing sqlalchemy.databases.mysql...?
Eevee [Wed, 24 Mar 2010 05:56:45 +0000 (22:56 -0700)]
Add locations to lookup. Wow, easy.
Eevee [Wed, 24 Mar 2010 02:43:42 +0000 (19:43 -0700)]
Remove special lookup logic for forms.
Eevee [Wed, 24 Mar 2010 01:09:03 +0000 (18:09 -0700)]
Removed forme_name from lookup; added indexed_name to results.
Eevee [Tue, 23 Mar 2010 05:49:21 +0000 (22:49 -0700)]
Lookup index now contains default form names.
Eevee [Tue, 23 Mar 2010 05:37:23 +0000 (22:37 -0700)]
Add 487-altered.png. Fixed form name.
Eevee [Tue, 23 Mar 2010 05:29:28 +0000 (22:29 -0700)]
Added natures table.
Eevee [Mon, 22 Mar 2010 23:14:39 +0000 (16:14 -0700)]
Ho-oh => Ho-Oh
Zhorken [Wed, 24 Mar 2010 04:03:56 +0000 (00:03 -0400)]
Tweaked a couple of Pokédex descriptions.
Zhorken [Wed, 24 Mar 2010 04:02:32 +0000 (00:02 -0400)]
Name the G/S/C Johto dex that instead of "New".
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.
Eevee [Mon, 22 Mar 2010 05:10:43 +0000 (22:10 -0700)]
Make lookup ignore accent marks.
Eevee [Sun, 21 Mar 2010 10:16:24 +0000 (03:16 -0700)]
Added capture chance formula.
Eevee [Sun, 21 Mar 2010 08:06:24 +0000 (01:06 -0700)]
Added new HG/SS item sprites.
Eevee [Wed, 17 Mar 2010 07:44:19 +0000 (00:44 -0700)]
Allow passing engine arguments to connect().
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.
Zhorken [Tue, 16 Mar 2010 03:23:02 +0000 (23:23 -0400)]
Added German, Spanish, and Italian move names.
Zhorken [Mon, 15 Mar 2010 19:21:00 +0000 (15:21 -0400)]
Sky Shaymin holds a Lum Berry in Platinum.
Zhorken [Mon, 15 Mar 2010 07:36:21 +0000 (03:36 -0400)]
Replaced newlines and fancy quotation marks in DPPt flavor text.
Eevee [Mon, 15 Mar 2010 06:56:01 +0000 (23:56 -0700)]
Added Land Shaymin (492-land.png) sprites.
Eevee [Mon, 15 Mar 2010 06:46:44 +0000 (23:46 -0700)]
Fix Rough Skin, Roost, and formatting of Detect.
Eevee [Mon, 15 Mar 2010 06:36:05 +0000 (23:36 -0700)]
GRAVITY. DISABLES. SPLASH.
Eevee [Sun, 14 Mar 2010 23:45:10 +0000 (16:45 -0700)]
Lookup no longer crashes if all type prefixes are bogus.
Eevee [Sun, 14 Mar 2010 02:56:34 +0000 (18:56 -0800)]
Fixed malformed reST in Recycle's move effect.
Eevee [Sun, 14 Mar 2010 02:49:09 +0000 (18:49 -0800)]
Implemented rst as_text, for showing short move effects outside the Web.
Eevee [Sun, 14 Mar 2010 02:11:40 +0000 (18:11 -0800)]
Make rst as_html handle errors a little more nicely.
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.
Eevee [Fri, 12 Mar 2010 16:46:26 +0000 (08:46 -0800)]
HG/SS Pokémon flavor text.
Eevee [Thu, 11 Mar 2010 05:07:14 +0000 (21:07 -0800)]
Added Rotom -normal sprites.
Eevee [Wed, 10 Mar 2010 08:24:20 +0000 (00:24 -0800)]
Fixed Hustle description.
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.
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.
Eevee [Tue, 9 Mar 2010 05:42:56 +0000 (21:42 -0800)]
Fixed or clarified some eight move/ability effects.
Eevee [Thu, 4 Mar 2010 01:05:45 +0000 (17:05 -0800)]
Filled in some missing Pokémon colors.
Eevee [Wed, 3 Mar 2010 08:53:00 +0000 (00:53 -0800)]
Factored habitats into a separate table.
Eevee [Wed, 3 Mar 2010 04:27:40 +0000 (20:27 -0800)]
Factored Pokémon colors out into their own table.
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.
Zhorken [Mon, 22 Feb 2010 05:13:28 +0000 (00:13 -0500)]
Corrected a docstring in rst.py.
Zhorken [Mon, 22 Feb 2010 05:09:22 +0000 (00:09 -0500)]
Replaced ‘’“” with '" in Platinum Pokédex entries.
Zhorken [Wed, 17 Feb 2010 07:19:48 +0000 (02:19 -0500)]
Moved Gen-I internal Pokémon IDs to their own Pokédex.
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.
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.
a_magical_me [Tue, 9 Feb 2010 02:00:32 +0000 (18:00 -0800)]
Add Gen III wild held items.
Eevee [Mon, 8 Feb 2010 02:37:15 +0000 (18:37 -0800)]
Fixed Bug Bite's effect.
Eevee [Thu, 4 Feb 2010 09:13:10 +0000 (01:13 -0800)]
Unknown Dungeon => Cerulean Cave
Eevee [Thu, 4 Feb 2010 09:12:22 +0000 (01:12 -0800)]
Filled in missing Vermilion port encounters.
Eevee [Thu, 4 Feb 2010 09:03:10 +0000 (01:03 -0800)]
Added Yellow fishing encounters.
Eevee [Thu, 4 Feb 2010 04:52:14 +0000 (20:52 -0800)]
Whoops; removed some R/B fishing from places with no water.
Eevee [Thu, 4 Feb 2010 04:28:57 +0000 (20:28 -0800)]
Added Red/Blue fishing encounters.
Eevee [Thu, 4 Feb 2010 03:19:43 +0000 (19:19 -0800)]
Added Red/Blue/Yellow grass and surfing encounters.
Eevee [Thu, 4 Feb 2010 01:05:17 +0000 (17:05 -0800)]
Filled in missing Kanto locations/areas.
Eevee [Wed, 3 Feb 2010 07:56:35 +0000 (23:56 -0800)]
"PokéRadar" conditions values were missing their accents.
Eevee [Tue, 2 Feb 2010 07:50:48 +0000 (23:50 -0800)]
Updated Good/Super Rod rarities to be.. correct.
Eevee [Tue, 2 Feb 2010 07:50:33 +0000 (23:50 -0800)]
Fixed comments in pokedex.lookup.
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/.
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.
Zhorken [Sun, 31 Jan 2010 19:10:14 +0000 (14:10 -0500)]
Merge branch 'master' of git://veekun.com/pokedex
Eevee [Thu, 28 Jan 2010 09:21:28 +0000 (01:21 -0800)]
Removed some svn cruft.