summaryrefslogtreecommitdiff
path: root/engine/pokemon/mail.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/pokemon/mail.asm')
-rw-r--r--engine/pokemon/mail.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/pokemon/mail.asm b/engine/pokemon/mail.asm
index 940061461..e3b881465 100644
--- a/engine/pokemon/mail.asm
+++ b/engine/pokemon/mail.asm
@@ -322,7 +322,8 @@ InitMail:
; initialize wMailboxCount from sMailboxCount
ld hl, wMailboxCount
- ld [hli], a ; now hl = wMailboxItems
+ ld [hli], a
+ assert wMailboxCount + 1 == wMailboxItems
and a
jr z, .done ; if no mail, we're done