Prefix engine_flags wram addresses with w

This commit is contained in:
xCrystal
2017-12-28 13:15:46 +01:00
parent e2b378f5e3
commit 9457679af8
53 changed files with 270 additions and 270 deletions

View File

@@ -7,7 +7,7 @@ StartMenu:: ; 125cd
farcall ReanchorBGMap_NoOAMUpdate
ld hl, StatusFlags2
ld hl, wStatusFlags2
bit 2, [hl] ; bug catching contest
ld hl, .MenuDataHeader
jr z, .GotMenuData
@@ -284,7 +284,7 @@ endr
ld [wWhichIndexSet], a
call .FillMenuList
ld hl, StatusFlags
ld hl, wStatusFlags
bit 0, [hl]
jr z, .no_pokedex
ld a, 0 ; pokedex
@@ -301,7 +301,7 @@ endr
ld a, [wLinkMode]
and a
jr nz, .no_pack
ld hl, StatusFlags2
ld hl, wStatusFlags2
bit 2, [hl] ; bug catching contest
jr nz, .no_pack
ld a, 2 ; pack
@@ -321,7 +321,7 @@ endr
ld a, [wLinkMode]
and a
jr nz, .no_save
ld hl, StatusFlags2
ld hl, wStatusFlags2
bit 2, [hl] ; bug catching contest
ld a, 8 ; quit
jr nz, .write
@@ -390,7 +390,7 @@ endr
; 128d1
.DrawBugContestStatusBox: ; 128d1
ld hl, StatusFlags2
ld hl, wStatusFlags2
bit 2, [hl] ; bug catching contest
ret z
farcall StartMenu_DrawBugContestStatusBox
@@ -398,7 +398,7 @@ endr
; 128de
.DrawBugContestStatus: ; 128de
ld hl, StatusFlags2
ld hl, wStatusFlags2
bit 2, [hl] ; bug catching contest
jr nz, .contest
ret