summaryrefslogtreecommitdiff
path: root/engine/mail_2.asm
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-23 17:39:09 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-23 17:39:09 -0500
commita1951cefc09035e11077a433b28ec8c66b3b03db (patch)
tree4de98db5a6edb6d74192028d50893da2b764421f /engine/mail_2.asm
parent79bd48f85c7dd1868264e290b12dad17a6e25b95 (diff)
Prefix wram labels with w, part 2.
Diffstat (limited to 'engine/mail_2.asm')
-rwxr-xr-xengine/mail_2.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/engine/mail_2.asm b/engine/mail_2.asm
index 4450063a4..6e326641b 100755
--- a/engine/mail_2.asm
+++ b/engine/mail_2.asm
@@ -1,5 +1,5 @@
ReadPartyMonMail: ; b9229
- ld a, [CurPartyMon]
+ ld a, [wCurPartyMon]
ld hl, sPartyMail
ld bc, MAIL_STRUCT_LENGTH
call AddNTimes
@@ -35,7 +35,7 @@ ReadAnyMail: ; b9237
call .LoadGFX
call EnableLCD
call WaitBGMap
- ld a, [Buffer3]
+ ld a, [wBuffer3]
ld e, a
farcall LoadMailPalettes
call SetPalettes
@@ -74,11 +74,11 @@ ReadAnyMail: ; b9237
ld de, sPartyMon1MailAuthorID - sPartyMon1Mail
add hl, de
ld a, [hli]
- ld [Buffer1], a
+ ld [wBuffer1], a
ld a, [hli]
- ld [Buffer2], a
+ ld [wBuffer2], a
ld a, [hli]
- ld [CurPartySpecies], a
+ ld [wCurPartySpecies], a
ld b, [hl]
call CloseSRAM
ld hl, MailGFXPointers
@@ -100,7 +100,7 @@ ReadAnyMail: ; b9237
.got_pointer
ld a, c
- ld [Buffer3], a
+ ld [wBuffer3], a
ld a, [hli]
ld h, [hl]
ld l, a
@@ -567,7 +567,7 @@ LoadPortraitMailGFX: ; b96ca
call Mail_DrawRowLoop
call LovelyEonMail_PlaceIcons
ld a, $1
- ld [UnownLetter], a
+ ld [wUnownLetter], a
hlcoord 1, 10
call PrepMonFrontpic
pop hl
@@ -712,7 +712,7 @@ MailGFX_PlaceMessage: ; b9803
ld a, [de]
and a
ret z
- ld a, [Buffer3]
+ ld a, [wBuffer3]
hlcoord 8, 14
cp $3 ; PORTRAITMAIL
jr z, .place_author