shithub: pokecrystal

Download patch

ref: 4111725767baad2c43541331492b4514ae1870c2
parent: f9c0df811bb275e2a745f5552ff884a6427212ae
author: Rangi <[email protected]>
date: Sun Jun 7 12:50:12 EDT 2020

wPhoneList, like wItems et al, has a terminating 0 (see PokegearPhone_DeletePhoneNumber); also fix a comment

--- 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
--- a/wram.asm
+++ b/wram.asm
@@ -2846,9 +2846,9 @@
 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