$0096BE, $009B43, $009BCC, $009CFB, $00FFD8, $0485C5, $04E5F5 by Erik
Posted on 2019-04-07 10:43:04 PM
$0096BE
4 bytes
Jump (JML/JSL)
Modified by the Overworld Indicators patch. A hijack is placed here to clear the SRAM/BW-RAM entries the patch uses. [JML]
Erik
$009B43
4 bytes
Jump (JML/JSL)
Modified by the Overworld Indicators patch. This hijacks the "Erase Game" routine to also clear the SRAM/BW-RAM addresses the patch uses. [JML]
Erik
$009BCC
7 bytes
Jump (JML/JSL)
Modified by the Overworld Indicators patch. Modifies a load of 010A and then hacks the save game routine to synchronize the values from SRAM to their backup. [JSL]
Erik
Detail: Hijack
org $009BCC LDA $010A|!addr autoclean JSL sync_sram_backup
$009CFB
4 bytes
Jump (JML/JSL)
Modified by the Overworld Indicators patch. Modifies the load game routine to restore the SRAM backup. [JML] NOTE: this hijacks read3($009CF8)+33 instead if using Ragey's Overworld Expansion.
Erik
Detail: Hijack
if !ow_expand == 0 org $009CFB autoclean JML load_from_backup else org read3($009CF8)+33 JML load_from_backup endif
$00FFD8
1 byte
Hex Edit
Modified by the Overworld Indicators patch. This value is the SRAM size in the original game, and it's changed to $02 to expand to 4KB of SRAM in case Ragey's Overworld Expansion is enabled. (Only does this if SRAM is 2KB, e.g. default value)
Erik
Detail: Edit
if !ow_expand == 0 if read1($00FFD8) < $02 org $00FFD8 db $02 endif endif
$0485C5
4 bytes
Jump (JML/JSL)
Modified by the Overworld Indicators patch. Main hijack of the patch; draws the actual counter. [JML]
Erik
$04E5F5
4 bytes
Jump (JML/JSL)
Modified by the Overworld Indicators patch. Writes to the exit table SRAM synchronizing when a level is beaten. [JML]
Erik
The Overworld Indicators patch was rejected, so the hijacks have to go, sorry.
Dream team (feed them, please):