Petr Viktorin
3f513653e1
Make level settable, export level
...
And if exp is just enough to reach the given level, leave exp out
2012-10-14 17:50:10 +02:00
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
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
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
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
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