diff options
author | yenatch <yenatch@gmail.com> | 2016-01-04 07:41:19 -0500 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2016-01-04 07:41:19 -0500 |
commit | 0add51451cda9d4221af137f83e2429d3577310c (patch) | |
tree | fd05f8f0ad49d88b032dc9e10af85a42dfa0e402 /gfx/mail.asm | |
parent | da87d2a929b1d58175efe063833c124d8ba702c9 (diff) | |
parent | 2a263629a40e201b1702e2f4e65f1c61360cc2b2 (diff) |
Merge pull request #330 from PikalaxALT/scriptmacrorenaming
Scriptmacrorenaming
Diffstat (limited to 'gfx/mail.asm')
-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 |