From 9457679af8d36a140db7b8832df595e8310e6bb4 Mon Sep 17 00:00:00 2001 From: xCrystal Date: Thu, 28 Dec 2017 13:15:46 +0100 Subject: Prefix engine_flags wram addresses with w --- engine/main_menu.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engine/main_menu.asm') diff --git a/engine/main_menu.asm b/engine/main_menu.asm index 92a16f5b6..a88f60bbf 100755 --- a/engine/main_menu.asm +++ b/engine/main_menu.asm @@ -9,7 +9,7 @@ MainMenu: ; 49cdc ld b, SCGB_DIPLOMA call GetSGBLayout call SetPalettes - ld hl, GameTimerPause + ld hl, wGameTimerPause res 0, [hl] call MainMenu_GetWhichMenu ld [wWhichIndexSet], a @@ -168,7 +168,7 @@ MainMenu_GetWhichMenu: ; 49da4 cp -1 call CloseSRAM jr nz, .mystery_gift - ld a, [StatusFlags] + ld a, [wStatusFlags] bit 7, a ld a, $1 ; Continue jr z, .ok @@ -182,7 +182,7 @@ MainMenu_GetWhichMenu: ; 49da4 ret .mystery_gift - ld a, [StatusFlags] + ld a, [wStatusFlags] bit 7, a jr z, .ok3 jr .ok3 -- cgit v1.2.3