You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Implement the engine to backup map objects when chaning maps (#32)
This commit is contained in:
@@ -89,6 +89,7 @@ BoardMenuScript::
|
||||
end
|
||||
|
||||
.EnterViewMapMode:
|
||||
call BackupMapObjectsOnEnterViewMapMode
|
||||
ld hl, wVramState
|
||||
res 2, [hl]
|
||||
ld a, BOARDEVENT_VIEW_MAP_MODE
|
||||
|
||||
@@ -269,6 +269,7 @@ PromptPlayerToChooseBranchDirection:
|
||||
jp PlayClickSFX
|
||||
|
||||
.EnterViewMapMode:
|
||||
call BackupMapObjectsOnEnterViewMapMode
|
||||
ld a, BOARDEVENT_VIEW_MAP_MODE
|
||||
ldh [hCurBoardEvent], a
|
||||
ld a, 100
|
||||
|
||||
Reference in New Issue
Block a user