You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Rename Map<N>Object addresses to MapObject<N>; create wMapObjectsBackups and sMapObjectsBackups in respective WRAM/SRAM sections (#32)
This commit is contained in:
@@ -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
|
||||
|
@@ -15,7 +15,7 @@ _CheckTrainerBattleOrTalkerPrompt::
|
||||
|
||||
; Skip the player object.
|
||||
ld a, 1
|
||||
ld de, wMap1Object
|
||||
ld de, wMapObject1
|
||||
|
||||
.loop
|
||||
|
||||
|
Reference in New Issue
Block a user