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

@@ -461,7 +461,7 @@ SpecialMapMusic:: ; 3d62
cp PLAYER_SURF_PIKA
jr z, .surf
ld a, [StatusFlags2]
ld a, [wStatusFlags2]
bit 2, a
jr nz, .contest

View File

@@ -7,7 +7,7 @@ ResetMapBufferEventFlags:: ; 2e50
ResetBikeFlags:: ; 2e56
xor a
ld hl, BikeFlags
ld hl, wBikeFlags
ld [hli], a
ld [hl], a
ret
@@ -22,7 +22,7 @@ ResetFlashIfOutOfCave:: ; 2e5d
ret
.asm_2e69
ld hl, StatusFlags
ld hl, wStatusFlags
res 2, [hl]
ret
; 2e6f

View File

@@ -38,7 +38,7 @@ UpdateGameTimer:: ; 20ad
ret nz
; Is the timer paused?
ld hl, GameTimerPause
ld hl, wGameTimerPause
bit 0, [hl]
ret z

View File

@@ -2305,7 +2305,7 @@ GetMapHeaderMusic:: ; 2cbd
ret
.radiotower
ld a, [StatusFlags2]
ld a, [wStatusFlags2]
bit 0, a
jr z, .clearedradiotower
ld de, MUSIC_ROCKET_OVERTURE
@@ -2320,7 +2320,7 @@ GetMapHeaderMusic:: ; 2cbd
jr .done
.mahoganymart
ld a, [StatusFlags2]
ld a, [wStatusFlags2]
bit 7, a
jr z, .clearedmahogany
ld de, MUSIC_ROCKET_HIDEOUT

View File

@@ -400,7 +400,7 @@ PlaceGenderedPlayerName:: ; 1252
call PlaceString
ld h, b
ld l, c
ld a, [PlayerGender]
ld a, [wPlayerGender]
bit 0, a
ld de, String_kun
jr z, PlaceCommandCharacter