shithub: pokecrystal

Download patch

ref: 55d19b6dca382bc2f0dae9bef3ce95aa3907bc6a
parent: 6a41d4f63e8fb9f14e1c0a4a9ace062dac747432
author: Remy Oukaour <remy.oukaour@gmail.com>
date: Sat Dec 9 07:57:42 EST 2017

Separate file for mobile constants

--- a/constants.asm
+++ b/constants.asm
@@ -22,6 +22,7 @@
 INCLUDE "constants/phone_constants.asm"
 INCLUDE "constants/gfx_constants.asm"
 INCLUDE "constants/pokemon_data_constants.asm"
+INCLUDE "constants/mobile_constants.asm"
 INCLUDE "constants/misc_constants.asm"
 INCLUDE "constants/std_constants.asm"
 INCLUDE "constants/deco_constants.asm"
--- a/constants/misc_constants.asm
+++ b/constants/misc_constants.asm
@@ -156,26 +156,3 @@
 
 HMENURETURN_SCRIPT EQU %10000000
 HMENURETURN_ASM    EQU %11111111
-
-
-; MobileEZChatCategoryPointers indexes (see misc/fixed_words.asm)
-	const_def
-	const EZCHAT_POKEMON
-	const EZCHAT_TYPES
-	const EZCHAT_GREETINGS
-	const EZCHAT_PEOPLE
-	const EZCHAT_BATTLE
-	const EZCHAT_EXCLAMATIONS
-	const EZCHAT_CONVERSATION
-	const EZCHAT_FEELINGS
-	const EZCHAT_CONDITIONS
-	const EZCHAT_LIFE
-	const EZCHAT_HOBBIES
-	const EZCHAT_ACTIONS
-	const EZCHAT_TIME
-	const EZCHAT_FAREWELLS
-	const EZCHAT_THISANDTHAT
-
-NUM_KANA EQU 45 ; length of SortedPokemon table (see misc/fixed_words.asm)
-
-MOBILE_LOGIN_PASSWORD_LENGTH EQU 17
--- /dev/null
+++ b/constants/mobile_constants.asm
@@ -1,0 +1,21 @@
+; MobileEZChatCategoryPointers indexes (see misc/fixed_words.asm)
+	const_def
+	const EZCHAT_POKEMON
+	const EZCHAT_TYPES
+	const EZCHAT_GREETINGS
+	const EZCHAT_PEOPLE
+	const EZCHAT_BATTLE
+	const EZCHAT_EXCLAMATIONS
+	const EZCHAT_CONVERSATION
+	const EZCHAT_FEELINGS
+	const EZCHAT_CONDITIONS
+	const EZCHAT_LIFE
+	const EZCHAT_HOBBIES
+	const EZCHAT_ACTIONS
+	const EZCHAT_TIME
+	const EZCHAT_FAREWELLS
+	const EZCHAT_THISANDTHAT
+
+NUM_KANA EQU 45 ; length of SortedPokemon table (see misc/fixed_words.asm)
+
+MOBILE_LOGIN_PASSWORD_LENGTH EQU 17