Commit graph

869 commits

Author SHA1 Message Date
Petr Viktorin
b944d830b7 Test update() too 2012-10-14 17:22:23 +02:00
Petr Viktorin
271f045519 Fix errors found by tests 2012-10-14 16:43:52 +02:00
Petr Viktorin
ba5fa4355a Add tests 2012-10-14 16:43:52 +02:00
Petr Viktorin
857aee1a29 Add Python format to the pokedex pkm command 2012-10-14 16:43:52 +02:00
Petr Viktorin
840c5f368c Save & load trash bytes 2012-10-14 14:49:53 +02:00
Petr Viktorin
8483e57c5d Don't group ribbons into one attribute 2012-10-14 14:49:53 +02:00
Petr Viktorin
483ec7cd1a Fix up forms and hidden ability flag 2012-10-14 14:49:53 +02:00
Petr Viktorin
5250e88929 Fix breakage in gen 4 2012-10-14 02:14:47 +02:00
Petr Viktorin
61b9ffd30e Remove InstrumentedList, some docs, restructuring 2012-10-14 01:56:38 +02:00
Petr Viktorin
fcd4c43fab Prevent SQLA str/unicode warnings by using a Unicode YAML loader 2012-10-14 01:35:56 +02:00
Petr Viktorin
a2a63938a6 Use helper function for saving 2012-10-14 01:00:56 +02:00
Petr Viktorin
14ea7a0adf Fix frozenset proxy, implement ribbons setter 2012-10-13 23:52:51 +02:00
Petr Viktorin
8590c51c7c Saving string trash bytes, bug fixes 2012-10-13 23:34:40 +02:00
Petr Viktorin
b0bedfb5de Allow some "enums" in the structure to have unknown int values 2012-10-13 23:34:04 +02:00
Petr Viktorin
93aa4ca60e Add the pkm subcommand to pokedex 2012-10-13 23:33:27 +02:00
Petr Viktorin
4dcff2e343 Make SaveFilePokemon mutable, import/update from dict 2012-10-13 18:44:18 +02:00
Petr Viktorin
ab3d4050cf Export pokémon structures as dictionaries 2012-10-13 16:15:37 +02:00
Petr Viktorin
f2670d2cb6 Enable the PokemonStringAdapter to encode values back into a blob 2012-10-12 21:44:49 +02:00
Petr Viktorin
bc672dde83 Add character map for generation 5 2012-10-12 21:44:49 +02:00
Petr Viktorin
198a1fac8d Update struct
- Update for Generation 5. This means SaveFilePokemon becomes an abstract
  base, with SaveFilePokemonGen4 and SaveFilePokemonGen5 subclasses.
  The pokemon_struct is changed to a structure factory.
  Diff best viewed with the ignore whitespace setting.
- Allow creating a SaveFilePokemon with a zeroed-out blob (to be filled
  in later). Several fields are zeroed out in gen 5 so this helps the
  above.
2012-10-12 21:44:48 +02:00
Petr Viktorin
56d5c3e953 Add game_index to Nature 2012-10-12 21:44:48 +02:00
Lynn "Zhorken" Vaughan
aee71712f9 Add form names for Keldeo; do "forme" → "Form" for Kyurem.
Note that "Form" isn't actaully official for Kyurem; it's just "Kyurem",
"Black Kyurem", and "White Kyurem", but we do the same with Rotom and
some other cases like this.
2012-10-06 21:29:59 -04:00
Andrew Ekstedt
32d88bf97f Add B/W 2 encounters
- Victory Road, Giant Chasm, and Reversal Mountain have unknown area
  names. The others are hopefully accurate.

- Swarms are, again, not present. Neither are Hidden Grove encounters.
2012-09-29 00:03:40 -07:00
Andrew Ekstedt
84f34dee42 Add B/W 2 locations
Most of the English names are official; the remaining few were
translated by Guested.

B/W 2 adds another Victory Road—this is a new location, distinct from
the previous one. The name remains the same, but our identifier is
unova-victory-road-2.
2012-09-28 23:58:03 -07:00
Andrew Ekstedt
7d9381699a Add B/W encounters
- Victory Road still has unknown area names

- Swarms don't work like normal encounters so are not present
2012-09-28 23:50:04 -07:00
Andrew Ekstedt
ca5b7a9cbf Add B/W encounter methods and conditions
Spots: it might seem like they should be conditions, but in practice
they behave more like methods. Specifically, conditions typically make
only minor changes to an encounter list. Spots change everything.
So spots are added as methods, with each type of spot as a separate
method. Not exactly ideal, but this causes the least fuss.

Seasons work fine as conditions.

Well, as well as time-of-day.
2012-09-28 23:00:53 -07:00
Andrew Ekstedt
c5fee20ef1 Make Encounter.condition_values a relationship(). 2012-09-27 12:59:16 -07:00
Lynn "Zhorken" Vaughan
442ba27943 Delete unused conquest move effects and renumber effect 0 to 1. 2012-09-25 21:35:59 -04:00
Lynn "Zhorken" Vaughan
564f8ba482 Add new tables to main-tables.rst. 2012-09-25 21:19:22 -04:00
Lynn "Zhorken" Vaughan
c3f2919ef3 Minor cleanup in tables.py to make tests pass. 2012-09-25 21:18:53 -04:00
Lynn "Zhorken" Vaughan
cb3740a7e5 Merge branch 'conquest'
Conflicts:
	pokedex/data/csv/pokemon_dex_numbers.csv
2012-09-25 21:00:02 -04:00
Lynn "Zhorken" Vaughan
765be26405 Add episodes and warrior transformation info. 2012-08-17 01:50:09 -04:00
Lynn "Zhorken" Vaughan
108c4243da More move effect tweaking... 2012-08-17 01:49:31 -04:00
Lynn "Zhorken" Vaughan
ac3aee12ee Add innerjoin=True and add/remove lazy='joined' on a bunch of relationships. 2012-08-07 00:14:22 -04:00
Lynn "Zhorken" Vaughan
f11058dd2f Toss the capacity column now that it's a stat. 2012-08-07 00:13:00 -04:00
Lynn "Zhorken" Vaughan
95422bc985 Only markdownify $target if move.range exists. 2012-08-06 14:10:36 -04:00
Lynn "Zhorken" Vaughan
c00bc4cad2 Remove Mega Drain's "effect chance".
Effect chance shares seven bits with draining moves' drain percentage
(always 50) and Dragon Rage's set damage (40) in Conquest's guts.
2012-08-05 20:54:29 -04:00
Lynn "Zhorken" Vaughan
b3ade1ecf1 De-convolute my attempt at broadening MoveEffectProperty. 2012-08-05 20:39:03 -04:00
Lynn "Zhorken" Vaughan
d689bd3de3 Give Splash its own effect. 2012-08-05 00:52:50 -04:00
Lynn "Zhorken" Vaughan
0596032d00 Flesh out move effects some more. 2012-08-04 23:50:39 -04:00
Lynn "Zhorken" Vaughan
789a1bdc0e Add target counts for Conquest move ranges. 2012-08-04 19:55:55 -04:00
Lynn "Zhorken" Vaughan
14232f0e74 Add prose for most things move-related. 2012-08-03 20:37:28 -04:00
Lynn "Zhorken" Vaughan
707b34fb8f Add Conquest move info. 2012-08-03 13:03:56 -04:00
Lynn "Zhorken" Vaughan
ec5b138162 Add warrior skills to the lookup. 2012-08-01 11:29:27 -04:00
Lynn "Zhorken" Vaughan
3c76c08042 Add and tweak more relationships. 2012-07-31 23:44:02 -04:00
Lynn "Zhorken" Vaughan
47410a9e9c Add generic warrior archetypes. 2012-07-29 17:58:30 -04:00
Lynn "Zhorken" Vaughan
d3693319f1 Add Conquest gallery order. 2012-07-28 11:04:02 -04:00
Lynn "Zhorken" Vaughan
0d1818002e Add a bunch of relationships for Conquest stuff. 2012-07-28 11:04:02 -04:00
Lynn "Zhorken" Vaughan
f2441a3f80 Add warriors' stats. 2012-07-28 11:04:02 -04:00
Lynn "Zhorken" Vaughan
39aa729e0a Add all 48 400 max links from Pokémon Conquest.
Apparently I already committed the table class.
2012-07-28 11:04:02 -04:00