Disambiguate some uses of wcf64/5/6

This commit is contained in:
Remy Oukaour
2018-01-11 15:36:11 -05:00
parent fd0a78d708
commit 17f34cb29c
17 changed files with 181 additions and 153 deletions

View File

@@ -490,7 +490,7 @@ NamingScreenJoypadLoop: ; 11915
ret
.select
ld hl, wcf64
ld hl, wNamingScreenLetterCase
ld a, [hl]
xor 1
ld [hl], a
@@ -922,7 +922,7 @@ LoadNamingScreenGFX: ; 11c51
ld [hSCX], a
ld [wGlobalAnimXOffset], a
ld [wJumptableIndex], a
ld [wcf64], a
ld [wNamingScreenLetterCase], a
ld [hBGMapMode], a
ld [wNamingScreenCurrNameLength], a
ld a, $7
@@ -1218,9 +1218,9 @@ INCBIN "gfx/icons/mail2.2bpp"
ret
.select
ld hl, wcf64
ld hl, wNamingScreenLetterCase
ld a, [hl]
xor $1
xor 1
ld [hl], a
jr nz, .switch_to_lowercase
ld de, MailEntry_Uppercase