Commit graph

1069 commits

Author SHA1 Message Date
Lynn "Zhorken" Vaughan
6efd25d31d Add a better ordering to languages.
This is kind of arbitrary, but here's my reasoning:

- Japanese goes first, because it's the original language.
- ja-kanji and roomaji follow because obviously we don't want to split
  Japanese up.
- Korean and Chinese go next to keep Asian languages together.
- Then English, because it's the main language other than Japanese.
- Then French and German, because they translate their Pokémon names???
  idk it feels intuitive to me.  Plus I guess their IDs are next.
- Then Spanish and Italian, because they're the only official languages
  left.
- Czech goes last because it's unofficial.
2014-05-19 22:11:13 -04:00
Lynn "Zhorken" Vaughan
c13ba0e58a Rerip move stats.
Notes:

- I left all the flags surskitty added alone (powder, bite, pulse,
  ballistics, and mental) because they don't seem to be in with the
  other move flags.  The only new flags are the Sky Battle one that I
  added, and a mystery one, which I didn't add —
  http://pastebin.com/K27Vk95J

- move_meta_* is a mess and I don't like it but X/Y seem to have all the
  same move meta as B/W did so I updated it for the time being

- I didn't update effect_id because I'd have to sort out all the new
  effects that I added manually and that sounds like a bigger endeavour
2014-05-19 22:10:09 -04:00
Lynn "Zhorken" Vaughan
2626cf6304 Use null power instead of 0/1 power.
<Zhorken> I'd like to motion (again) that 0 and 1 power both be stored
    as null
<Zhorken> and — or * be displayed based on damage class
<Zhorken> which is what determines 0 vs 1 anyway, with the arbitrary
    who-fucking-cares exception of Me First
<eevee> the ayes have it
<Zhorken> awesome
<eevee> that's a good idea i don't remember its being motioned the
    first time
<Zhorken> I definitely remember arguing it when B/W released
2014-05-19 21:37:48 -04:00
Lynn "Zhorken" Vaughan
82b66c1842 Add internal item IDs for X/Y. 2014-05-19 14:33:15 -04:00
Lynn "Zhorken" Vaughan
35ca74ea1d Update the identifiers of abilities and items whose names changed. #117 2014-05-19 14:33:15 -04:00
Lynn "Zhorken" Vaughan
4d83e8e183 Add missing genuses and move/ability/item names.
I'm following magical's lead and making this a separate commit because
it's nice to have separate diffs for actual changes and brand-new rows.
2014-05-19 14:32:14 -04:00
Lynn "Zhorken" Vaughan
c222dc807c Rerip existing genuses and move/ability/item names. #117 2014-05-19 14:10:09 -04:00
Andrew Ekstedt
0d171accad Replace non-breaking space with narrow non-breaking space.
More correct.
2014-05-18 18:03:34 -07:00
Andrew Ekstedt
0f2d413217 Rip Pokédex flavor text from X/Y.
Doesn't include unreleased event Pokémon.

There were a couple Private Use Area characters that i had to translate.
They only appeared in French text.

U+E07F => U+00A0 NO-BREAK SPACE
U+E08D => U+2026 HORIZONTAL ELLIPSIS
2014-05-18 15:06:33 -07:00
Andrew Ekstedt
0c9617be16 Rip missing Pokédex flavor text from Y. 2014-05-18 14:51:48 -07:00
Andrew Ekstedt
1a107105aa Rip Pokédex flavor text from Y. 2014-05-18 14:45:11 -07:00
Andrew Ekstedt
b58f4afcf0 Rip missing Pokédex flavor text from X. 2014-05-18 14:40:36 -07:00
Andrew Ekstedt
91588bd7bf Rip Pokédex flavor text from X. 2014-05-18 14:32:27 -07:00
Lynn "Zhorken" Vaughan
2a8f7fa28d Rerip Korean Pokémon names.
I reripped all the other languages, but Korean was the only one with any
mistakes or missing names.

I'll add all the other text later if nobody else does.
2014-05-18 11:47:18 -04:00
Andrew Ekstedt
99184a6fde Knock Unicode(256) down to Unicode(79)
MySQL again. Indexed keys have a maximum length of 767 bytes and unicode
is stored as 3 bytes per character. Since 256*3 = 768, that pushes us
just past the limit. Could lower the length to 255 characters, but let's
go further - currently only names and identifers have a length limit,
and if a name or identifier doesn't fit in a terminal then i don't want
to see it.

Fixes issue #123.
2014-05-13 23:26:07 -07:00
Andrew Ekstedt
12368ddca8 Whoosh 2.5 performance quickfix
In Whoosh 2.5, fields that can be sorted on need to specify
sortable=True or else take a large performance hit because whoosh
completely dumped its old method of speeding up sorting (automatic
caching) in favor of this brand new one.

These probably don't *all* need to be sortable, but hey.

Note that we now require Whoosh>=2.5 because the sortable keyword arg
didn't exist in exist in earlier versions.
2014-05-13 23:06:19 -07:00
Lynn "Zhorken" Vaughan
ee297aad45 Rip X/Y level-up and egg moves. 2014-05-12 14:00:50 -04:00
Lynn "Zhorken" Vaughan
4b2455cf62 Update new egg group names to match Pokédex 3D Pro.
Also, a lot of them had spaces on the end fsr.
2014-05-03 14:48:53 -04:00
Pyrox
066827017f Added languages for egg groups 2014-05-03 19:25:26 +02:00
Lynn "Zhorken" Vaughan
bb6d8cf552 Rip EVERYTHING available in the X/Y base stats structure. 2014-04-16 01:21:52 -04:00
Lynn "Zhorken" Vaughan
aa869dc68c Count Volt Tackle as its usual method in X/Y, rather than an egg move. 2014-04-15 16:04:55 -04:00
Lynn "Zhorken" Vaughan
934ae1003f Add Rotom's form moves for X/Y. #120 2014-04-15 16:04:48 -04:00
Lynn "Zhorken" Vaughan
7f92a05003 Match Parental Bond and Aerilate's ids to their internal ids.
Thanks to Kaphotics of Project Pokémon.
2014-04-14 19:43:34 -04:00
Lynn "Zhorken" Vaughan
c224ccebee Merge pull request #119 from valepert/patch-4
PS = HP apparently
2014-03-17 11:03:20 -04:00
valepert
3819a2619f PS = HP
PS (Punti Salute) = HP (Hit Points)
2014-03-17 15:58:36 +01:00
Lynn "Zhorken" Vaughan
10863c55e1 Change Shadow moves' target to the usual "Selected Pokémon" rather than Me First's. 2014-03-16 22:09:55 -04:00
Lynn "Zhorken" Vaughan
955b48c17a Give Me First's move target a unique identifier. 2014-03-16 22:09:36 -04:00
Lynn "Zhorken" Vaughan
de05d211ae Add remaining English X/Y ability flavour. 2014-03-14 16:28:58 -04:00
Lynn "Zhorken" Vaughan
329312a546 Sync Pokémon stats with Showdown. 2014-03-13 19:04:02 -04:00
Andrew Ekstedt
9e3bfd7971 Use Unicode(256) for names and identifiers.
MySQL requires that text columns that are indexed or used as keys be
given a maximum length.

256 bytes should be enough for anyone.
2014-03-13 00:29:49 -07:00
Lynn "Zhorken" Vaughan
7462c0fc1b Put short_effect before effect in ability_prose.
This way it matches /all the other prose tables/.  Relatedly, all the
abilities I recently expanded on had short_effect and effect swapped,
so I fixed that too.
2014-03-12 12:18:37 -04:00
Lynn "Zhorken" Vaughan
2632454829 Set form_name=pokemon_name for Mega Evolutions. 2014-03-12 11:17:05 -04:00
Lynn "Zhorken" Vaughan
3fe999db89 Add a dummy pokemon_form_names row for Diancie.
Apparently PokemonForm.name requires this row, so the tests weren't
passing. 9_6
2014-03-11 20:36:06 -04:00
Lynn "Zhorken" Vaughan
efa41be984 Fix a typo in a move flag description so the tests pass again. 2014-03-11 20:23:02 -04:00
Lynn "Zhorken" Vaughan
308f5f4ed9 Use UnicodeText for all text columns. 2014-03-11 20:15:16 -04:00
Lynn "Zhorken" Vaughan
d344e8b5f0 Strip some trailing whitespace in X/Y flavour text. 2014-03-11 18:31:41 -04:00
Lynn "Zhorken" Vaughan
d74b55fbad Add zero-width space to Thick Fat's flavour text as needed. 2014-03-11 18:22:51 -04:00
Lynn "Zhorken" Vaughan
cb1523e296 Add everything remaining from the spreadsheet. 2014-03-11 18:20:41 -04:00
Lynn "Zhorken" Vaughan
df449280b7 Add a separate fucking language for kanji. 2014-03-11 16:49:08 -04:00
Lynn "Zhorken" Vaughan
5770a3ea7d Add Spanish and Italian Pokémon names.
We decided a while back to just give up and include these separately,
even though they're really just the English names.  Now I actually need
them, because genus.
2014-03-11 16:14:59 -04:00
Lynn "Zhorken" Vaughan
5625b8274d Add national dex #, dex entries, name for Diancie. 2014-03-10 16:13:47 -04:00
Lynn "Zhorken" Vaughan
7cd9f36e24 Improve effects for new moves and abilities a little. 2014-03-09 20:53:53 -04:00
Lynn "Zhorken" Vaughan
8edb9329dc Add Diancie to the Undiscovered egg group. 2014-03-07 12:32:32 -05:00
Lynn "Zhorken" Vaughan
4b11c70231 Fix Diamond Storm's type. 2014-03-07 12:32:22 -05:00
Lynn "Zhorken" Vaughan
d91a2e5e13 Sync moves with Showdown. #116 2014-03-07 12:28:12 -05:00
Lynn "Zhorken" Vaughan
21fd51bb0b Add Hold Back and Diamond Storm. 2014-03-07 11:18:14 -05:00
Lynn "Zhorken" Vaughan
f71e1521a9 Load/dump dance. 2014-03-07 11:18:14 -05:00
Lynn "Zhorken" Vaughan
9cb44f56e5 Add Diancie. 2014-03-07 11:18:03 -05:00
Lynn "Zhorken" Vaughan
b8630cb076 Correct the descriptions for the Razor Claw and Razor Fang. 2014-03-04 13:50:19 -05:00
Lynn "Zhorken" Vaughan
5ddbee886f Update the docstring on rewrite_long_table_names. 2014-02-21 17:59:52 -05:00