Commit graph

19 commits

Author SHA1 Message Date
Kaphotics
2365e974cb Generated form tweaks
Click label to invert checkbox, widen Ribbons so 5 appear per row,
reduce margins.
2016-07-29 08:31:02 -07:00
Kaphotics
cd32c79ba9 Center SimpleTrainer on open
Accidentally omitted.
2016-07-28 22:09:39 -07:00
Kaphotics
2a05037892 Fix Event Flag save
Casting issue, OfType to get all Checkboxes because the foreach doesn't
auto filter the Control[] to CheckBox[].

Thanks Armodillomatt12!

Also, don't forget to actually save the changes back to the main save
file...
2016-07-28 15:53:13 -07:00
Kaphotics
a9aadc0191 Fix Gen3 Item inventory edits
Resolves #145 and Key Items missing bug for Emerald
2016-07-28 15:31:05 -07:00
Kaphotics
282030b1e7 Add Pokémon Link I/O
Thanks @suloku !

Resolves #137

Added recalculation for data's internal checksum.
2016-07-26 20:18:48 -07:00
Kaphotics
3d0ffabe75 Minor tweaks
Fix off by one and add a safety check for sav6
2016-07-24 21:19:08 -07:00
Kaphotics
cc1621879e Add gen3-5 box wallpapers
Put the [BoxWallpaper] fetching into a single class.
2016-07-24 21:11:11 -07:00
Kaphotics
3274cdaac7 Fix dexlist arg ordering
Old code skipped 0th entry, but assigned numbers are off by one. Fun.
Take the existing datasource and skip the None entry.
2016-07-24 17:52:25 -07:00
Kaphotics
cd5ed794bc Mystery Gift editor updates
Prevent popup of "USED" prompt when opening the form.
Allow QR's for all generations (won't work for injection, just for
sharing).
Remove ".wc6" from Import/Export buttons (translation file).
Importing gift from QR now type checks.
2016-07-24 15:44:44 -07:00
Kaphotics
0b95833b74 Add version diff check
BW vs B2W2 will prevent flags

Defer layout when adding controls (increase speed).
2016-07-24 15:04:04 -07:00
Kaphotics
02a208a74d Break PKX-SAV personaltable relationship
Opening Database and having a species in the results with species#
greater than the current loaded save file's allowed (ie volcanion in db
with loaded emerald) causes Report to throw errors when opened from
Database.
2016-07-18 23:28:10 -07:00
Tyler Dunn
5c241c859b Use foreach loop in SAV_Inventory.cs
yay language usage opportunities
2016-07-18 14:53:09 -04:00
Tyler Dunn
046c4258b1 Remove initialized value for training bags
Seems we just overwrite it and ignore the initial value, let's not be
redundant.
2016-07-18 14:52:55 -04:00
Tyler Dunn
de8cebf2a4 Use Direct Casts and Conditional Access to Avoid NPEs 2016-07-18 14:51:26 -04:00
Kaphotics
016a0e3aee Reduce reliance on PKX
Certain calculations are best done with direct references.
Indirectly fixed Shiny button bug (8 <= xor < 16) for past gen games.
2016-07-17 23:40:40 -07:00
Kaphotics
f981621452 Simplify ability / entry retrieval 2016-07-17 23:04:39 -07:00
Kaphotics
f5bacf236c Add&Split out PersonalTable
Will eventually have more complex operations associated with it, as the
PersonalInfo[] could not do that sort of logic.
2016-07-17 22:39:18 -07:00
Tyler Dunn
641f1f61f6 Additional Code Style Fixes 2016-07-17 13:09:01 -04:00
Kaphotics
08d751d54b Move files
Getting a little crowded and misleading (PKX/SAV folders), let's
relocate.
2016-07-09 14:30:49 -07:00