DSPRE Reloaded 1.9.2.5
Bugfixes and improvements to version 1.9.2
This minor version contains various bugfixes and improvements to 1.9.2 in preparation for 1.9.3 or above
Both a ZIP and &z are provided, just choose the one you want.
Bugfixes
Overworld Bug setting script to 0 when going from Item or Trainer to Normal (NPC)
Setting scriptNumber
to 0 was being done before checking if it needed to do so via if (disableHandlers)
making any change from any OWType back to Normal (NPC) resetting script number.
Overworld Bug setting item to last selected when going from Item to Trainer to Item
Setting scriptNumber
to dropdown value was being done before checking if it needed to do so via if (disableHandlers)
making any change from Item to any OWType back to Item resetting script number to first Item.
Trainer editor for Diamond and Pearl broke if more than one pokemon
The pokemon trainer party data for Diamond and Pearl does not contain the data for ball capsules as opposed to Plat and HGSS so the last readUint16 was causing EndOfFile on pokemon parties for trainers.
Event editor scrolling or changing did not load map.
I have added a dictionary loaded at start of rom load that keeps a dict of event to headers and this allows inside event editor to know what map, matrix, areaData. etc... since we simply load the new header on change and get the data.
Improvements
HG-Engine compatibility
Included changes from BluRosie's fork so as to enable DSPRE to work with hg-engine ROMs. Change essentially is just a change of an OWTable overlay and an Icons one
Mikelan Patch compatibility
Included changes from BluRosie's fork so as to enable DSPRE to work with mikelan patch ROMs. Change essentially is just a change of an OWTable overlay and an Icons one