Rename Map<N>Object addresses to MapObject<N>; create wMapObjectsBackups and sMapObjectsBackups in respective WRAM/SRAM sections (#32)

This commit is contained in:
xCrystal
2023-12-15 13:43:42 +01:00
parent 7ede3d1357
commit 2bca51eb09
9 changed files with 60 additions and 31 deletions

View File

@@ -571,7 +571,7 @@ ReadObjectEvents::
push hl
call ClearNonPlayerObjectStructs
pop de
ld hl, wMap1Object
ld hl, wMapObject1
ld a, [de]
inc de
ld [wCurMapObjectEventCount], a

View File

@@ -15,7 +15,7 @@ _CheckTrainerBattleOrTalkerPrompt::
; Skip the player object.
ld a, 1
ld de, wMap1Object
ld de, wMapObject1
.loop