Rename wVramState to wStateFlags and use flag constants (#1078)
This commit is contained in:
@@ -1941,7 +1941,7 @@ FinishExitMenu::
|
||||
|
||||
ReturnToMapWithSpeechTextbox::
|
||||
push af
|
||||
ld a, $1
|
||||
ld a, TRUE
|
||||
ld [wSpriteUpdatesEnabled], a
|
||||
call ClearBGPalettes
|
||||
call ClearSprites
|
||||
@@ -1949,8 +1949,8 @@ ReturnToMapWithSpeechTextbox::
|
||||
hlcoord 0, 12
|
||||
lb bc, 4, 18
|
||||
call Textbox
|
||||
ld hl, wVramState
|
||||
set 0, [hl]
|
||||
ld hl, wStateFlags
|
||||
set SPRITE_UPDATES_DISABLED_F, [hl]
|
||||
call UpdateSprites
|
||||
call WaitBGMap2
|
||||
ld b, SCGB_MAPPALS
|
||||
|
Reference in New Issue
Block a user