your compare ...
E207:9D 38 07 STA $0738,X @ $0739 = #$D0 E207
$985F:E9 01 SBC #$01 9860
can be right next to the address or it can be further away using gauntlet as an example it all depends on what you want to change all the compare does
is say when the value at the address is equal to what ever change it to the value
as for which value to use it all depends on what you are doing in the above examples
changing E207 from 9D to BD changes
E207:9D 38 07 STA $0738,X @ $0739 = #$D0
to
E207:BD 38 07 LDA $0738,X @ $0738 = #$00
changing 9860 from 01 to 00 changes
$985F:E9 01 SBC #$01
to
$985F:E9 00 SBC #$00
E207:9D 38 07 STA $0738,X @ $0739 = #$D0 E207
$985F:E9 01 SBC #$01 9860
can be right next to the address or it can be further away using gauntlet as an example it all depends on what you want to change all the compare does
is say when the value at the address is equal to what ever change it to the value
as for which value to use it all depends on what you are doing in the above examples
changing E207 from 9D to BD changes
E207:9D 38 07 STA $0738,X @ $0739 = #$D0
to
E207:BD 38 07 LDA $0738,X @ $0738 = #$00
changing 9860 from 01 to 00 changes
$985F:E9 01 SBC #$01
to
$985F:E9 00 SBC #$00
Comment