From 4111725767baad2c43541331492b4514ae1870c2 Mon Sep 17 00:00:00 2001 From: Rangi Date: Sun, 7 Jun 2020 16:50:12 -0400 Subject: [PATCH] wPhoneList, like wItems et al, has a terminating 0 (see PokegearPhone_DeletePhoneNumber); also fix a comment --- macros/scripts/trade_anims.asm | 2 +- wram.asm | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/macros/scripts/trade_anims.asm b/macros/scripts/trade_anims.asm index 6227f2022..109f0752e 100644 --- a/macros/scripts/trade_anims.asm +++ b/macros/scripts/trade_anims.asm @@ -1,4 +1,4 @@ -; DoTradeAnimation.JumpTable indexes (see engine/trade/animation.asm) +; DoTradeAnimation.JumpTable indexes (see engine/movies/trade_animation.asm) enum_start enum tradeanim_next_command ; $00 diff --git a/wram.asm b/wram.asm index 6ba4d7d31..9c9bd5b33 100644 --- a/wram.asm +++ b/wram.asm @@ -2846,9 +2846,9 @@ wParkBallsRemaining:: wSafariBallsRemaining:: db ; dc79 wSafariTimeRemaining:: dw ; dc7a -wPhoneList:: ds CONTACT_LIST_SIZE ; dc7c -; dc86 - ds 23 +wPhoneList:: ds CONTACT_LIST_SIZE + 1 ; dc7c + + ds 22 wLuckyNumberShowFlag:: db ; dc9d ds 1