shithub: pokecrystal

Download patch

ref: a711b4540474f310e90277cab9dde299e452fc5d
parent: f6546ad53542714fb03d93821e308fbcf0abdd7f
author: IIMarckus <iimarckus@gmail.com>
date: Thu Jul 9 23:03:08 EDT 2015

checkcode $1a is Kenji's break schedule.

--- a/constants/script_constants.asm
+++ b/constants/script_constants.asm
@@ -27,5 +27,5 @@
 	const VAR_CALLERID
 	const VAR_BLUECARDBALANCE
 	const VAR_19
-	const VAR_1A
-NUM_VARS EQU const_value
\ No newline at end of file
+	const VAR_KENJI_BREAK
+NUM_VARS EQU const_value
--- a/engine/more_phone_scripts.asm
+++ b/engine/more_phone_scripts.asm
@@ -1459,7 +1459,7 @@
 	jump UnknownScript_0xa0484
 
 UnknownScript_0xa09ee:
-	checkcode VAR_1A
+	checkcode VAR_KENJI_BREAK
 	if_equal $2, UnknownScript_0xa0a00
 	if_equal $1, UnknownScript_0xa0a08
 	farwritetext UnknownText_0x66e17
--- a/maps/Route45.asm
+++ b/maps/Route45.asm
@@ -50,7 +50,7 @@
 	jump UnknownScript_0x19e127
 
 UnknownScript_0x19e0e4:
-	checkcode VAR_1A
+	checkcode VAR_KENJI_BREAK
 	if_not_equal $1, UnknownScript_0x19e127
 	checkmorn
 	iftrue UnknownScript_0x19e10c