diff options
Diffstat (limited to 'gfx')
-rwxr-xr-x | gfx/mail.asm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gfx/mail.asm b/gfx/mail.asm index 9ab6fa0d4..cb3c25bc8 100755 --- a/gfx/mail.asm +++ b/gfx/mail.asm @@ -694,22 +694,22 @@ MailGFX_GenerateMonochromeTilesColor2: ; b97f8 MailGFX_PlaceMessage: ; b9803 ld bc, MAIL_STRUCT_LENGTH - ld de, wd002 - ld a, $0 + ld de, wTempMail + ld a, BANK(sPartyMail) call GetSRAMBank call CopyBytes call CloseSRAM - ld hl, wd002 + sPartyMon1MailAuthor - sPartyMon1Mail - ld de, wd050 + ld hl, wTempMailAuthor + ld de, wMonOrItemNameBuffer ld bc, NAME_LENGTH - 1 call CopyBytes ld a, "@" - ld [wd002 + sPartyMon1MailAuthor - sPartyMon1Mail], a - ld [wd050 + NAME_LENGTH - 1], a - ld de, wd002 + ld [wTempMailAuthor], a + ld [wMonOrItemNameBuffer + NAME_LENGTH - 1], a + ld de, wTempMailMessage hlcoord 2, 7 call PlaceString - ld de, wd050 + ld de, wMonOrItemNameBuffer ld a, [de] and a ret z |