mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Replace hardcoded address offset
This commit is contained in:
parent
19e4e188ce
commit
9dc48a1be7
1 changed files with 1 additions and 1 deletions
|
|
@ -619,7 +619,7 @@ SAVCheckRandomID:
|
|||
ld a,[sMainDataCheckSum]
|
||||
cp c
|
||||
jr nz,.next
|
||||
ld hl,sMainData + 98 ; player ID
|
||||
ld hl,sMainData + (wPlayerID - wMainDataStart) ; player ID
|
||||
ld a,[hli]
|
||||
ld h,[hl]
|
||||
ld l,a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue