Eevee [Thu, 13 May 2010 06:18:02 +0000 (23:18 -0700)]
Make `pokedex status` a bit more useful. #180
Eevee [Thu, 13 May 2010 05:36:12 +0000 (22:36 -0700)]
Split PokedexLookup(recreate=True) into its own method. #216
Eevee [Wed, 12 May 2010 03:20:33 +0000 (20:20 -0700)]
Added some missing item icons and fixed TMs/Data Cards. #248
Eevee [Tue, 11 May 2010 05:39:34 +0000 (22:39 -0700)]
Photo Album icon. #248
Eevee [Tue, 11 May 2010 02:04:49 +0000 (19:04 -0700)]
s/Pokemon/Pokémon/g #45
Eevee [Mon, 10 May 2010 04:21:59 +0000 (21:21 -0700)]
Unique Pokédex names.
Eevee [Sun, 9 May 2010 05:39:06 +0000 (22:39 -0700)]
Pokemon.types should order by slot. #220
Eevee [Fri, 7 May 2010 04:19:55 +0000 (21:19 -0700)]
Fix ordering of Pokémon abilities. #257
a_magical_me [Fri, 7 May 2010 07:30:55 +0000 (00:30 -0700)]
Munge SGB colors. Add GBC colors. #245
Firstly: it was discovered (or rather, noticed) that the sprites in
Green have a greenish background (technically, first palette entry)
rather than a reddish one.
1. To properly represent this difference between Red and Green, we would
have to give Green its own directory. This is silly, considering
that the sprites are identical in every other respect.
2. The background is not something inherent to the sprites, but a tint
which pervades the different versions of the game: Red is red, Green
is green, and Yellow is yellow. (Blue is red, not blue. Don't ask
me why.)
For these reasons, the Gen I sprites have had their background changed
to white. (The red background was ugly anyway.)
Secondly: Yellow has an additional set of palettes, which it uses when
played on a Gameboy Color. Sprites colored with these palettes have
been added to media/yellow/gbc and media/yellow/back/gbc.
It was suggested that the GBC-paletted sprites should be considered the
"main" ones; the argument being that the GBC is more canon (because it
is the platform most people would have played on).
I have kept the SGB-paletted sprites as the main ones, for the following
reasons:
1. By the above argument, the *grayscale* sprites should be considered
the main ones for Red & Green & Blue, since that is how they would
appear on a Gameboy.
2. The SGB colors go better with the colors we have for Red & Green &
Blue. (They should--they were designed to.)
Eevee [Thu, 6 May 2010 05:36:04 +0000 (22:36 -0700)]
Optipnged some version icons.
Eevee [Thu, 6 May 2010 05:35:52 +0000 (22:35 -0700)]
Added R/G version icons. #212
Eevee [Thu, 6 May 2010 04:35:06 +0000 (21:35 -0700)]
Fixed small problems with D/P font.
Zhorken [Tue, 4 May 2010 06:06:49 +0000 (02:06 -0400)]
Corrected a couple of French Pokémon names.
I compared with a rip from a Mystery Dungeon game. These are the only
two that didn't match, ignoring accents on capital letters. I need to
find an official list of names that includes accents on capital
letters....
Zhorken [Tue, 4 May 2010 06:03:01 +0000 (02:03 -0400)]
Added ability flavour text. #62
We had D/P flavour text in the abilities table already, but I didn't
entirely trust it, so I reripped it along with the rest when I moved
flavour text into its own table. And we didn't actually use the D/P
text anywhere, so I'm just going to pretend that it is entirely new.
Zhorken [Tue, 4 May 2010 06:01:34 +0000 (02:01 -0400)]
Added ability effects. Rewrote short effects. #39
Zhorken [Sat, 1 May 2010 21:35:11 +0000 (17:35 -0400)]
Removed "No Ability" from abilities.
B|
Zhorken [Sat, 1 May 2010 21:33:11 +0000 (17:33 -0400)]
Added abilities' generations to the database.
Eevee [Mon, 3 May 2010 08:00:05 +0000 (01:00 -0700)]
Added GrowthRate.max_experience.
Eevee [Sun, 2 May 2010 23:07:45 +0000 (16:07 -0700)]
Restored Item.appears_underground and added location support to rst.
Eevee [Sun, 2 May 2010 22:40:54 +0000 (15:40 -0700)]
Broke existing item flags out into their own table.
Eevee [Sun, 2 May 2010 08:33:44 +0000 (01:33 -0700)]
Added item HG/SS flavor text and internal ids. #168?
Eevee [Sun, 2 May 2010 06:49:34 +0000 (23:49 -0700)]
Added some HG/SS item data. #168
a_magical_me [Sun, 2 May 2010 07:54:08 +0000 (00:54 -0700)]
Ripped Gen I Pokémon sprites. #245
The previous sprites were backwards, were too large, and had alignment
issues. (Because they were made by cropping screenshots.)
This commit replaces the old, busted sprites with sprites ripped
directly from the ROM. It also adds grayscale sprites.
Thanks to Peter O. (of UPC) and RHWiki for documenting the sprite
compression algorithm.
http://www.upokecenter.com/projects/rbgfx.c
http://www.magicstone.de/rhwiki/article/Grafikkomprimierung_PKMN_RGBY
Some notes:
- The media/jp-blue directory has been renamed to media/red-green.
- The grayscale sprites are found in the "gray" subdirectories. For
example, media/red-blue/back/gray/1.png.
- Frontsprites are 40x40, 48x48, and 56x56. Backsprites are 32x32.
The game blows backsprites up to 64x64 when it displays them. The
previous sprites were all 60x60.
- The sprite colors come from a Super Gameboy extension which allowed
Gameboy games (which are normally grayscale) to display colors.
- The Red, Blue, and Green sprites have a pinkish, off-white background
rather than a white one. This is correct. The background of the
Yellow sprites is off-white too, but not as noticable.
Eevee [Fri, 30 Apr 2010 07:22:03 +0000 (00:22 -0700)]
Lookup now respects "ability" as a lookup type.
Eevee [Wed, 28 Apr 2010 17:26:27 +0000 (10:26 -0700)]
Let lookup accept hex/octal/binary numbers.
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.