From 55d19b6dca382bc2f0dae9bef3ce95aa3907bc6a Mon Sep 17 00:00:00 2001 From: Remy Oukaour Date: Sat, 9 Dec 2017 12:57:42 -0500 Subject: [PATCH] Separate file for mobile constants --- constants.asm | 1 + constants/misc_constants.asm | 23 ----------------------- constants/mobile_constants.asm | 21 +++++++++++++++++++++ 3 files changed, 22 insertions(+), 23 deletions(-) create mode 100644 constants/mobile_constants.asm diff --git a/constants.asm b/constants.asm index 782950e40..5c7288d87 100644 --- a/constants.asm +++ b/constants.asm @@ -22,6 +22,7 @@ INCLUDE "constants/animation_constants.asm" 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" diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm index 2e77b795c..6ae41e989 100644 --- a/constants/misc_constants.asm +++ b/constants/misc_constants.asm @@ -156,26 +156,3 @@ SERIAL_BATTLE EQU $80 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 diff --git a/constants/mobile_constants.asm b/constants/mobile_constants.asm new file mode 100644 index 000000000..0ac28c94b --- /dev/null +++ b/constants/mobile_constants.asm @@ -0,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