summaryrefslogtreecommitdiff
path: root/engine/main_menu.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-12-28 19:34:43 -0500
committerGitHub <noreply@github.com>2017-12-28 19:34:43 -0500
commit82a05a1752b476caab8951fe03f539dcc1a63669 (patch)
tree972f867159ded40695e868338bb697a303335b62 /engine/main_menu.asm
parente2b378f5e32ea1416fbc9ac5e96d23be244e4a6b (diff)
parent50fc9c3389ae8130d3670683f22f3e49555c57a3 (diff)
Merge pull request #443 from xCrystal/master
Misc style cleanup and documentation
Diffstat (limited to 'engine/main_menu.asm')
-rwxr-xr-xengine/main_menu.asm6
1 files changed, 3 insertions, 3 deletions
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