summaryrefslogtreecommitdiff
path: root/wram.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-11-18 13:29:30 -0500
committerPikalaxALT <PikalaxALT@gmail.com>2015-11-18 13:29:30 -0500
commit1ff37608b6b71f831608c1319d71eec3ac0583a9 (patch)
tree7f3faab48d2d1800133ee974ea2d8639cc7e75b6 /wram.asm
parent3f4044cd4628c156e975971ce0655d3d51917b87 (diff)
Update mail struct labels
Diffstat (limited to 'wram.asm')
-rw-r--r--wram.asm13
1 files changed, 13 insertions, 0 deletions
diff --git a/wram.asm b/wram.asm
index e90af9843..cc16e9527 100644
--- a/wram.asm
+++ b/wram.asm
@@ -145,6 +145,15 @@ battle_tower_struct: MACRO
\1TrainerEnd::
endm
+mailmsg: MACRO
+\1Message:: ds MAIL_MSG_LENGTH
+\1MessageEnd:: ds 1
+\1Author:: ds NAME_LENGTH +- 1
+\1AuthorID:: ds 2
+\1Species:: ds 1
+\1MailType:: ds 1
+endm
+
INCLUDE "vram.asm"
SECTION "Stack", WRAM0
@@ -1462,6 +1471,10 @@ SECTION "WRAM 1", WRAMX, BANK [1]
wd000:: ds 1
DefaultSpawnpoint::
wd001:: ds 1
+
+wTempMail:: mailmsg wTempMail
+ ds wTempMail - @
+
wd002::
PhoneScriptBank::
LuckyNumberDigit1Buffer::