pokecrystal-board/constants/script_constants.asm

55 lines
1.5 KiB
NASM
Raw Normal View History

2013-06-10 18:56:34 -07:00
; script vars
PLAYER EQU 0
LAST_TALKED EQU -2
; GetVarAction arguments (see engine/variables.asm)
const_def
2015-11-16 08:53:26 -08:00
const VAR_STRINGBUFFER2 ; 00
const VAR_PARTYCOUNT ; 01
const VAR_BATTLERESULT ; 02
const VAR_BATTLETYPE ; 03
const VAR_TIMEOFDAY ; 04
const VAR_DEXCAUGHT ; 05
const VAR_DEXSEEN ; 06
const VAR_BADGES ; 07
const VAR_MOVEMENT ; 08
const VAR_FACING ; 09
const VAR_HOUR ; 0a
const VAR_WEEKDAY ; 0b
const VAR_MAPGROUP ; 0c
const VAR_MAPNUMBER ; 0d
const VAR_UNOWNCOUNT ; 0e
const VAR_ROOFPALETTE ; 0f
const VAR_BOXSPACE ; 10
const VAR_CONTESTMINUTES ; 11
const VAR_XCOORD ; 12
const VAR_YCOORD ; 13
const VAR_SPECIALPHONECALL ; 14
const VAR_BT_WIN_STREAK ; 15
2015-11-16 08:53:26 -08:00
const VAR_KURT_APRICORNS ; 16
const VAR_CALLERID ; 17
const VAR_BLUECARDBALANCE ; 18
const VAR_BUENASPASSWORD ; 19
const VAR_KENJI_BREAK ; 1a
NUM_VARS EQU const_value ; 1b
2015-10-24 07:34:19 -07:00
; variable action types
2015-10-24 07:34:19 -07:00
RETVAR_STRBUF2 EQU (0 << 6)
RETVAR_ADDR_DE EQU (1 << 6)
RETVAR_EXECUTE EQU (2 << 6)
2015-11-05 12:08:00 -08:00
; PlayerEventScriptPointers indexes (see engine/events.asm)
2015-11-05 12:08:00 -08:00
const_value SET -1
const PLAYEREVENT_MAPSCRIPT
const PLAYEREVENT_NONE
const PLAYEREVENT_SEENBYTRAINER
const PLAYEREVENT_TALKTOTRAINER
const PLAYEREVENT_ITEMBALL
2015-11-11 20:38:57 -08:00
const PLAYEREVENT_CONNECTION
2015-11-05 12:08:00 -08:00
const PLAYEREVENT_WARP
const PLAYEREVENT_FALL
2015-11-11 13:11:08 -08:00
const PLAYEREVENT_WHITEOUT
2015-11-05 12:08:00 -08:00
const PLAYEREVENT_HATCH
2015-11-11 20:38:57 -08:00
const PLAYEREVENT_JOYCHANGEFACING
2015-11-05 12:08:00 -08:00
NUM_PLAYER_EVENTS EQU const_value