You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Do not reset wCurTurn and wCurSpace if entering from save in overworld [Bug fix to previous commit] (#24)
This commit is contained in:
@@ -131,10 +131,15 @@ StartMap:
|
||||
call ByteFill
|
||||
farcall InitCallReceiveDelay
|
||||
call ClearJoypad
|
||||
|
||||
; initialize board state
|
||||
ld a, [hMapEntryMethod]
|
||||
cp MAPSETUP_ENTERLEVEL
|
||||
jr nz, .not_starting_level
|
||||
xor a
|
||||
ld [wCurTurn], a
|
||||
ld [wCurSpace], a
|
||||
.not_starting_level
|
||||
ld a, BOARDEVENT_DISPLAY_MENU
|
||||
ldh [hCurBoardEvent], a
|
||||
; fallthrough
|
||||
|
Reference in New Issue
Block a user