Commit graph

19 commits

Author SHA1 Message Date
Kurt
101c0ad80f Minor bugfixes and cleanup
Added an Edited property for the save
blank slot (encrypted) is initialized once and can be used elsewhere
instead of constantly being recreated for no reason.
Fixed having 32 boxes for non-saves

All SAV editing forms now set the Edited flag when saving->close.
2015-10-24 16:33:44 -07:00
Kurt
661052bcf9 Refactoring of Save File Usage
Probably breaks a thing or two... time to get testing after this new
commit.

Wrapping the stored 'savefile' into an object which handles its use
allows a clearer separation of function and easier maintenance or future
updates.

May eventually move all get/sets for each form to allow property
fetching from any window, all logic handled within the class.
2015-10-23 20:13:32 -07:00
Kurt
6431ef1f68 Update Fill Pokedex method
Now just spams Give All for every species before writing forms (and
encounter count if necessary)
2015-10-15 04:23:41 -07:00
Kurt
ccb5f6e428 Add more flag setting logic
Checks the opposing checkbox when set.

Of course one could take this further but it should be left up to the
user for insane tweaks.
2015-10-06 17:19:15 -07:00
Kurt
42387f9eac Pokédex Update
Big thanks to Siobonbon for finally clearing up the muck that had been
sitting around for so long 👍

The mysterious dex flags are much clearer now, there is no 'via trade'
flag (it's the forms owned flag)
2015-10-05 21:56:51 -07:00
Kurt
d4ea56cfd6 Heavy refactoring
Remove numerous inter-form dependencies, remove hard-coded offsets,
update a few spots to use better programming practices.

Should increase the readability of PKHeX's source code.
2015-09-20 20:34:09 -07:00
Kurt
2664b587be Fix Pokédex crashing on "Fill All"
Shouldn't call setup methods after setup is complete; I extracted all
necessary operations that need to be repeated (loading the bitflags)
into a separate method.

Thanks ShaKage!
2015-06-09 23:36:03 -07:00
Kurt
b56edf1fec Continued Refactoring
Should be good now, a lot of silly stuff removed.
2015-03-11 21:44:12 -07:00
Kurt
bf7cd278cc Refactoring
Refactoring complete (for now).
2015-03-10 18:44:51 -07:00
Kurt
e44cac062b Translation method input update 2014-12-19 20:19:41 -08:00
Kurt
3a251d6b47 12-17-14 release fixes
Items, translations and some bug fixes.
2014-12-16 18:56:08 -08:00
Kurt
d3d7b33d8a Multilanguage Upgrades
Nuked Box IO, it was inferior relative to the functions that were added
afterwards.
2014-12-14 16:50:15 -08:00
Kurt
17f1b6ee68 Further code cleanup 2014-12-14 10:31:53 -08:00
Kurt
c1fa685752 Manual Merge 2014-12-11 22:36:39 -08:00
Kurt
981965899a Standardization 2014-12-11 21:45:01 -08:00
Kurt
333f609bcd Implemented CGSE corruption warning for ORAS saves. 2014-12-06 17:02:29 -08:00
Kurt
df2a91bb1e Pokedex Setting 2014-11-29 20:12:37 -08:00
Kurt
73510d261f ORAS Pokedex form improvements 2014-11-28 23:46:36 -08:00
Kurt
c7d6127bb8 Pokedex branching and minor updates. 2014-11-25 19:55:46 -08:00