As per bulbapedia
http://bulbapedia.bulbagarden.net/wiki/Ability
Air Lock was 77 in gen3, but moved to 76 (76 was unused in gen3). Since
only Ability Number 0/1 is stored in a pk3, we can just manually modify
the Personal Entry.
Thanks Delta Blast Burn!
sav1storage = uninit
sav0storage = init
sav1general = uninit
sav0general = init
both states are possible (and inverse possible). So we check all 4
states. Split the method.
Gen4 sets to sav1 (not sav0) when the game is first started, leaving
sav0 uninitialized (0xFF'd).
SaveUtil.cs:
When checking the save, check both sav0 and sav1 for the footer bytes.
SAV4:
When checking for the active blocks, check for this uninitialization
(and return appropriately).
Also fixed the map position offsets (didn't point to sav0/sav1, were
static to sav0).
Minor comment fix (end+=4 to range to match the Take length).
Hide it if daycare isn't documented.
Also, fix drag&drop cursor feedback for non-box slots. Previously,
initiating a d&d on a party slot would reset the drag cursor to the
default (arrow + square) instead of keeping the sprite-cursor.
GiveFeedback -> UseDefaultCursors = false :)
Add gen3/2/1 text files to Resources (existing code would fall back to
english).
L_Form is autosized now; the combobox may stick out on the right for
other languages -- the combobox shouldn't be made smaller just because
the form label is too big.
Closes#259
Sneaks in typo fix in ShowdownSet
Initialization variable is captured, reset, then the pkm is loaded. If
an exception is thrown, the initialization state is not restored.
There's other capture-reset-restore cases but pkm loading is the only
one exposed to bad input.
Should prevent #261 from happening. fieldsInitialized is checked in a
bunch of events.
Thanks @sora10pls !
Premier Ball already in Balls pocket (remove from General Items list)
Hide [Give All] button in Gen3, same treatment as Gen1/2.
Closes#257
Thanks @ricksee !
Gen3 second ability for same-ability mons is stored as 0, same deal for
gen4.
MainPK4 alteration is an unneeded-code removal, gen4 only has abil0&1,
not 2 (hidden) like gen5.
Closes#256
We're gonna call them IVs for gen1/2 because this is {CURRENT YEAR}.
Too much of a hassle to have multiple controls hidden just for
generation specific nomenclature differences.
Change the Readonly for HP & SpD to Enabled (and flip bool states); mask
now appears to enforce non-centering, no need to pad with 0 to fake that
it's centered.
Closes#255, 8 bits down.
Closes#251 -- remaining stuff pending a future localization update
#240 -- DVs now shown instead of IVs
Hides Box tab for saves that do not have Box (ORAS Demo)
Hides Daycare Egg Available for gen 1 (use correct return type)
export always is in list format for gen1/2, these were introduced in
9b6552d314
which was an incorrect 'fix' for getting files dumped from dumpBoxesToDB
to show up in SAV_Database. This underlying issue has been resolved with
the two previous commits.