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
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
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