2022-01-16 14:50:50 -08:00
|
|
|
; MobileAPI calls (see lib/mobile/main.asm:_MobileAPI)
|
|
|
|
const_def 0, 2
|
|
|
|
const MOBILEAPI_00
|
|
|
|
const MOBILEAPI_01
|
|
|
|
const MOBILEAPI_02
|
|
|
|
const MOBILEAPI_03
|
|
|
|
const MOBILEAPI_04
|
|
|
|
const MOBILEAPI_05
|
|
|
|
const MOBILEAPI_06
|
|
|
|
const MOBILEAPI_07
|
|
|
|
const MOBILEAPI_08
|
|
|
|
const MOBILEAPI_09
|
|
|
|
const MOBILEAPI_0A
|
|
|
|
const MOBILEAPI_0B
|
|
|
|
const MOBILEAPI_0C
|
|
|
|
const MOBILEAPI_0D
|
|
|
|
const MOBILEAPI_0E
|
|
|
|
const MOBILEAPI_0F
|
|
|
|
const MOBILEAPI_10
|
|
|
|
const MOBILEAPI_11
|
|
|
|
const MOBILEAPI_12
|
|
|
|
const MOBILEAPI_13
|
|
|
|
const MOBILEAPI_14
|
|
|
|
const MOBILEAPI_15
|
|
|
|
const MOBILEAPI_16
|
|
|
|
const MOBILEAPI_17
|
|
|
|
const MOBILEAPI_SETTIMER
|
2022-09-14 17:49:58 -07:00
|
|
|
const MOBILEAPI_TELEPHONESTATUS
|
2022-01-16 14:50:50 -08:00
|
|
|
const MOBILEAPI_1A
|
|
|
|
const MOBILEAPI_1B
|
|
|
|
const MOBILEAPI_1C
|
|
|
|
const MOBILEAPI_1D
|
|
|
|
const MOBILEAPI_1E
|
|
|
|
const MOBILEAPI_1F
|
|
|
|
const MOBILEAPI_20
|
|
|
|
const MOBILEAPI_21
|
|
|
|
|
2017-12-15 09:53:33 -08:00
|
|
|
; MobileEZChatCategoryPointers indexes (see mobile/fixed_words.asm)
|
2017-12-09 09:57:42 -08:00
|
|
|
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
|
|
|
|
|
2022-06-06 14:25:42 -07:00
|
|
|
DEF NUM_KANA EQU 45 ; length of SortedPokemon table (see mobile/fixed_words.asm)
|
2017-12-09 09:57:42 -08:00
|
|
|
|
2022-06-06 14:25:42 -07:00
|
|
|
DEF MOBILE_LOGIN_PASSWORD_LENGTH EQU 17
|
|
|
|
DEF MOBILE_PHONE_NUMBER_LENGTH EQU 20
|
2019-10-20 15:27:34 -07:00
|
|
|
|
|
|
|
; Maximum amount of time allowed for mobile battles each day
|
2022-06-06 14:25:42 -07:00
|
|
|
DEF MOBILE_BATTLE_ALLOWED_SECONDS EQU 0
|
|
|
|
DEF MOBILE_BATTLE_ALLOWED_MINUTES EQU 10
|
2022-09-14 17:49:58 -07:00
|
|
|
|
|
|
|
; Trade corner request size
|
|
|
|
; DION addr $1e + request $8 + Name $5
|
|
|
|
; + party struct $30 + OT $5 + NICK $5
|
|
|
|
; + JP Mail struct $2a
|
|
|
|
DEF MOBILE_EMAIL_LENGTH EQU $1e
|
|
|
|
DEF TRADE_CORNER_REQUEST_LENGTH EQU $8f
|