Commit graph

7 commits

Author SHA1 Message Date
Petr Viktorin
4eceef18a7 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-06-10 23:20:06 +02:00
Petr Viktorin
dd89c811b8 Move util.py to compatibility.py 2011-04-17 22:30:37 -07:00
Eevee
d986355bf3 Rename internal_id to game_index. 2011-03-24 19:37:12 -07:00
Eevee
2f11f0b81f Add a SaveFilePokemon accessor to get the form. 2011-03-08 22:28:33 -08:00
Eevee
9c2def712c Adapt the Pokémon savefile struct to the database. 2010-08-19 20:48:03 -07:00
Eevee
5cd4fe7f2c Added an is_shiny accessor to Pokémon structs. 2010-07-07 22:33:14 -07:00
Eevee
c1c1d8cb63 Added a big old construct-based pkm parser. #183 2010-06-17 21:47:44 -07:00
Renamed from pokedex/savefile.py (Browse further)