2017-12-12 10:22:19 -08:00
|
|
|
; ScriptCommandTable indexes (see engine/scripting.asm)
|
2015-04-13 22:28:28 -07:00
|
|
|
enum_start
|
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum scall_command ; $00
|
2017-12-28 04:23:44 -08:00
|
|
|
scall: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db scall_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum farscall_command ; $01
|
2017-12-28 04:23:44 -08:00
|
|
|
farscall: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db farscall_command
|
2015-12-09 08:38:40 -08:00
|
|
|
dba \1
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum ptcall_command ; $02
|
2017-12-28 04:23:44 -08:00
|
|
|
ptcall: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db ptcall_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum jump_command ; $03
|
2017-12-28 04:23:44 -08:00
|
|
|
jump: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db jump_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum farjump_command ; $04
|
2017-12-28 04:23:44 -08:00
|
|
|
farjump: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db farjump_command
|
2015-12-09 08:38:40 -08:00
|
|
|
dba \1
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum ptjump_command ; $05
|
2017-12-28 04:23:44 -08:00
|
|
|
ptjump: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db ptjump_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum if_equal_command ; $06
|
2017-12-28 04:23:44 -08:00
|
|
|
if_equal: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db if_equal_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; byte
|
|
|
|
dw \2 ; pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum if_not_equal_command ; $07
|
2017-12-28 04:23:44 -08:00
|
|
|
if_not_equal: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db if_not_equal_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; byte
|
|
|
|
dw \2 ; pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum iffalse_command ; $08
|
2017-12-28 04:23:44 -08:00
|
|
|
iffalse: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db iffalse_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum iftrue_command ; $09
|
2017-12-28 04:23:44 -08:00
|
|
|
iftrue: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db iftrue_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum if_greater_than_command ; $0a
|
2017-12-28 04:23:44 -08:00
|
|
|
if_greater_than: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db if_greater_than_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; byte
|
|
|
|
dw \2 ; pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum if_less_than_command ; $0b
|
2017-12-28 04:23:44 -08:00
|
|
|
if_less_than: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db if_less_than_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; byte
|
|
|
|
dw \2 ; pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum jumpstd_command ; $0c
|
2017-12-28 04:23:44 -08:00
|
|
|
jumpstd: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db jumpstd_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; predefined_script
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum callstd_command ; $0d
|
2017-12-28 04:23:44 -08:00
|
|
|
callstd: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db callstd_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; predefined_script
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum callasm_command ; $0e
|
2017-12-28 04:23:44 -08:00
|
|
|
callasm: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db callasm_command
|
2015-12-09 08:38:40 -08:00
|
|
|
dba \1
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum special_command ; $0f
|
2017-12-28 04:23:44 -08:00
|
|
|
special: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db special_command
|
2015-02-11 15:03:42 -08:00
|
|
|
dw (\1Special - SpecialsPointers) / 3
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum ptcallasm_command ; $10
|
2017-12-28 04:23:44 -08:00
|
|
|
ptcallasm: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db ptcallasm_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; asm
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
enum checkmapscene_command ; $11
|
2017-12-28 04:23:44 -08:00
|
|
|
checkmapscene: MACRO
|
2017-12-24 10:46:34 -08:00
|
|
|
db checkmapscene_command
|
2015-07-23 09:59:19 -07:00
|
|
|
map \1 ; map
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
enum setmapscene_command ; $12
|
2017-12-28 04:23:44 -08:00
|
|
|
setmapscene: MACRO
|
2017-12-24 10:46:34 -08:00
|
|
|
db setmapscene_command
|
2015-07-23 09:59:19 -07:00
|
|
|
map \1 ; map
|
2017-12-24 10:46:34 -08:00
|
|
|
db \2 ; scene_id
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
enum checkscene_command ; $13
|
2017-12-28 04:23:44 -08:00
|
|
|
checkscene: MACRO
|
2017-12-24 10:46:34 -08:00
|
|
|
db checkscene_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
enum setscene_command ; $14
|
2017-12-28 04:23:44 -08:00
|
|
|
setscene: MACRO
|
2017-12-24 10:46:34 -08:00
|
|
|
db setscene_command
|
|
|
|
db \1 ; scene_id
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum writebyte_command ; $15
|
2017-12-28 04:23:44 -08:00
|
|
|
writebyte: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db writebyte_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; value
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum addvar_command ; $16
|
2017-12-28 04:23:44 -08:00
|
|
|
addvar: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db addvar_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; value
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum random_command ; $17
|
2017-12-28 04:23:44 -08:00
|
|
|
random: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db random_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; input
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum checkver_command ; $18
|
2017-12-28 04:23:44 -08:00
|
|
|
checkver: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db checkver_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum copybytetovar_command ; $19
|
2017-12-28 04:23:44 -08:00
|
|
|
copybytetovar: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db copybytetovar_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; address
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum copyvartobyte_command ; $1a
|
2017-12-28 04:23:44 -08:00
|
|
|
copyvartobyte: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db copyvartobyte_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; address
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum loadvar_command ; $1b
|
2017-12-28 04:23:44 -08:00
|
|
|
loadvar: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db loadvar_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; address
|
|
|
|
db \2 ; value
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum checkcode_command ; $1c
|
2017-12-28 04:23:44 -08:00
|
|
|
checkcode: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db checkcode_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; variable_id
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum writevarcode_command ; $1d
|
2017-12-28 04:23:44 -08:00
|
|
|
writevarcode: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db writevarcode_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; variable_id
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum writecode_command ; $1e
|
2017-12-28 04:23:44 -08:00
|
|
|
writecode: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db writecode_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; variable_id
|
|
|
|
db \2 ; value
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum giveitem_command ; $1f
|
2017-12-28 04:23:44 -08:00
|
|
|
giveitem: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db giveitem_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; item
|
2015-11-04 17:20:14 -08:00
|
|
|
if _NARG == 2
|
2015-01-20 00:01:23 -08:00
|
|
|
db \2 ; quantity
|
2015-11-04 17:20:14 -08:00
|
|
|
else
|
|
|
|
db 1
|
|
|
|
endc
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum takeitem_command ; $20
|
2017-12-28 04:23:44 -08:00
|
|
|
takeitem: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db takeitem_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; item
|
2015-11-04 17:20:14 -08:00
|
|
|
if _NARG == 2
|
2015-01-20 00:01:23 -08:00
|
|
|
db \2 ; quantity
|
2015-11-04 17:20:14 -08:00
|
|
|
else
|
|
|
|
db 1
|
|
|
|
endc
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum checkitem_command ; $21
|
2017-12-28 04:23:44 -08:00
|
|
|
checkitem: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db checkitem_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; item
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum givemoney_command ; $22
|
2017-12-28 04:23:44 -08:00
|
|
|
givemoney: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db givemoney_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; account
|
|
|
|
dt \2 ; money
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum takemoney_command ; $23
|
2017-12-28 04:23:44 -08:00
|
|
|
takemoney: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db takemoney_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; account
|
|
|
|
dt \2 ; money
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum checkmoney_command ; $24
|
2017-12-28 04:23:44 -08:00
|
|
|
checkmoney: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db checkmoney_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; account
|
|
|
|
dt \2 ; money
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum givecoins_command ; $25
|
2017-12-28 04:23:44 -08:00
|
|
|
givecoins: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db givecoins_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; coins
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum takecoins_command ; $26
|
2017-12-28 04:23:44 -08:00
|
|
|
takecoins: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db takecoins_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; coins
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum checkcoins_command ; $27
|
2017-12-28 04:23:44 -08:00
|
|
|
checkcoins: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db checkcoins_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; coins
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum addcellnum_command ; $28
|
2017-12-28 04:23:44 -08:00
|
|
|
addcellnum: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db addcellnum_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; person
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum delcellnum_command ; $29
|
2017-12-28 04:23:44 -08:00
|
|
|
delcellnum: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db delcellnum_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; person
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum checkcellnum_command ; $2a
|
2017-12-28 04:23:44 -08:00
|
|
|
checkcellnum: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db checkcellnum_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; person
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum checktime_command ; $2b
|
2017-12-28 04:23:44 -08:00
|
|
|
checktime: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db checktime_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; time
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-10 22:02:28 -08:00
|
|
|
checkmorn EQUS "checktime MORN"
|
|
|
|
checkday EQUS "checktime DAY"
|
|
|
|
checknite EQUS "checktime NITE"
|
2015-06-23 11:28:48 -07:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum checkpoke_command ; $2c
|
2017-12-28 04:23:44 -08:00
|
|
|
checkpoke: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db checkpoke_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; pkmn
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum givepoke_command ; $2d
|
2017-12-28 04:23:44 -08:00
|
|
|
givepoke: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db givepoke_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; pokemon
|
|
|
|
db \2 ; level
|
2015-10-04 11:14:51 -07:00
|
|
|
if _NARG >= 3
|
2015-01-20 00:01:23 -08:00
|
|
|
db \3 ; item
|
2015-10-04 11:14:51 -07:00
|
|
|
if _NARG >= 4
|
2015-01-20 00:01:23 -08:00
|
|
|
db \4 ; trainer
|
|
|
|
if \4
|
|
|
|
dw \5 ; trainer_name_pointer
|
|
|
|
dw \6 ; pkmn_nickname
|
|
|
|
endc
|
2015-10-04 11:14:51 -07:00
|
|
|
else
|
|
|
|
db 0
|
|
|
|
endc
|
|
|
|
else
|
|
|
|
db 0, 0
|
|
|
|
endc
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum giveegg_command ; $2e
|
2017-12-28 04:23:44 -08:00
|
|
|
giveegg: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db giveegg_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; pkmn
|
|
|
|
db \2 ; level
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum givepokeitem_command ; $2f
|
2017-12-28 04:23:44 -08:00
|
|
|
givepokeitem: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db givepokeitem_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum checkpokeitem_command ; $30
|
2017-12-28 04:23:44 -08:00
|
|
|
checkpokeitem: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db checkpokeitem_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum checkevent_command ; $31
|
2017-12-28 04:23:44 -08:00
|
|
|
checkevent: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db checkevent_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; event_flag
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum clearevent_command ; $32
|
2017-12-28 04:23:44 -08:00
|
|
|
clearevent: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db clearevent_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; event_flag
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum setevent_command ; $33
|
2017-12-28 04:23:44 -08:00
|
|
|
setevent: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db setevent_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; event_flag
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum checkflag_command ; $34
|
2017-12-28 04:23:44 -08:00
|
|
|
checkflag: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db checkflag_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; engine_flag
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum clearflag_command ; $35
|
2017-12-28 04:23:44 -08:00
|
|
|
clearflag: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db clearflag_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; engine_flag
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum setflag_command ; $36
|
2017-12-28 04:23:44 -08:00
|
|
|
setflag: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db setflag_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; engine_flag
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum wildon_command ; $37
|
2017-12-28 04:23:44 -08:00
|
|
|
wildon: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db wildon_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum wildoff_command ; $38
|
2017-12-28 04:23:44 -08:00
|
|
|
wildoff: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db wildoff_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum xycompare_command ; $39
|
2017-12-28 04:23:44 -08:00
|
|
|
xycompare: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db xycompare_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum warpmod_command ; $3a
|
2017-12-28 04:23:44 -08:00
|
|
|
warpmod: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db warpmod_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; warp_id
|
2015-07-23 09:59:19 -07:00
|
|
|
map \2 ; map
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum blackoutmod_command ; $3b
|
2017-12-28 04:23:44 -08:00
|
|
|
blackoutmod: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db blackoutmod_command
|
2015-07-23 09:59:19 -07:00
|
|
|
map \1 ; map
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum warp_command ; $3c
|
2017-12-28 04:23:44 -08:00
|
|
|
warp: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db warp_command
|
2015-07-23 09:59:19 -07:00
|
|
|
map \1 ; map
|
|
|
|
db \2 ; x
|
|
|
|
db \3 ; y
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum readmoney_command ; $3d
|
2017-12-28 04:23:44 -08:00
|
|
|
readmoney: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db readmoney_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; account
|
|
|
|
db \2 ; memory
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum readcoins_command ; $3e
|
2017-12-28 04:23:44 -08:00
|
|
|
readcoins: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db readcoins_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; memory
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2018-01-11 22:40:20 -08:00
|
|
|
enum vartomem_command ; $3f
|
|
|
|
vartomem: MACRO
|
|
|
|
db vartomem_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; memory
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum pokenamemem_command ; $40
|
2017-12-28 04:23:44 -08:00
|
|
|
pokenamemem: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db pokenamemem_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; pokemon
|
|
|
|
db \2 ; memory
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum itemtotext_command ; $41
|
2017-12-28 04:23:44 -08:00
|
|
|
itemtotext: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db itemtotext_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; item
|
|
|
|
db \2 ; memory
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum mapnametotext_command ; $42
|
2017-12-28 04:23:44 -08:00
|
|
|
mapnametotext: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db mapnametotext_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; memory
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum trainertotext_command ; $43
|
2017-12-28 04:23:44 -08:00
|
|
|
trainertotext: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db trainertotext_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; trainer_id
|
|
|
|
db \2 ; trainer_group
|
|
|
|
db \3 ; memory
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum stringtotext_command ; $44
|
2017-12-28 04:23:44 -08:00
|
|
|
stringtotext: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db stringtotext_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; text_pointer
|
|
|
|
db \2 ; memory
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum itemnotify_command ; $45
|
2017-12-28 04:23:44 -08:00
|
|
|
itemnotify: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db itemnotify_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum pocketisfull_command ; $46
|
2017-12-28 04:23:44 -08:00
|
|
|
pocketisfull: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db pocketisfull_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum opentext_command ; $47
|
2017-12-28 04:23:44 -08:00
|
|
|
opentext: MACRO
|
2015-12-09 15:25:44 -08:00
|
|
|
db opentext_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum refreshscreen_command ; $48
|
2017-12-28 04:23:44 -08:00
|
|
|
refreshscreen: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db refreshscreen_command
|
2018-01-11 22:40:20 -08:00
|
|
|
if _NARG == 1
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; dummy
|
2018-01-11 22:40:20 -08:00
|
|
|
else
|
|
|
|
db 0
|
|
|
|
endc
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum closetext_command ; $49
|
2017-12-28 04:23:44 -08:00
|
|
|
closetext: MACRO
|
2015-11-25 07:16:29 -08:00
|
|
|
db closetext_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum loadbytec2cf_command ; $4a
|
2017-12-28 04:23:44 -08:00
|
|
|
loadbytec2cf: MACRO
|
2015-11-16 09:49:42 -08:00
|
|
|
db loadbytec2cf_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; byte
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum farwritetext_command ; $4b
|
2017-12-28 04:23:44 -08:00
|
|
|
farwritetext: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db farwritetext_command
|
2015-12-09 08:38:40 -08:00
|
|
|
dba \1
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum writetext_command ; $4c
|
2017-12-28 04:23:44 -08:00
|
|
|
writetext: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db writetext_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; text_pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum repeattext_command ; $4d
|
2017-12-28 04:23:44 -08:00
|
|
|
repeattext: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db repeattext_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; byte
|
|
|
|
db \2 ; byte
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum yesorno_command ; $4e
|
2017-12-28 04:23:44 -08:00
|
|
|
yesorno: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db yesorno_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum loadmenudata_command ; $4f
|
2017-12-28 04:23:44 -08:00
|
|
|
loadmenudata: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db loadmenudata_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; data
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum closewindow_command ; $50
|
2017-12-28 04:23:44 -08:00
|
|
|
closewindow: MACRO
|
2015-12-24 19:58:42 -08:00
|
|
|
db closewindow_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum jumptextfaceplayer_command ; $51
|
2017-12-28 04:23:44 -08:00
|
|
|
jumptextfaceplayer: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db jumptextfaceplayer_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; text_pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-28 18:22:35 -08:00
|
|
|
; if _CRYSTAL
|
2017-12-14 21:38:52 -08:00
|
|
|
enum farjumptext_command ; $52
|
2017-12-28 04:23:44 -08:00
|
|
|
farjumptext: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db farjumptext_command
|
2015-12-09 08:38:40 -08:00
|
|
|
dba \1
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2017-12-28 18:22:35 -08:00
|
|
|
; endc
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum jumptext_command ; $53
|
2017-12-28 04:23:44 -08:00
|
|
|
jumptext: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db jumptext_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; text_pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum waitbutton_command ; $54
|
2017-12-28 04:23:44 -08:00
|
|
|
waitbutton: MACRO
|
2015-11-25 07:16:29 -08:00
|
|
|
db waitbutton_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum buttonsound_command ; $55
|
2017-12-28 04:23:44 -08:00
|
|
|
buttonsound: MACRO
|
2015-11-29 19:29:45 -08:00
|
|
|
db buttonsound_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum pokepic_command ; $56
|
2017-12-28 04:23:44 -08:00
|
|
|
pokepic: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db pokepic_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; pokemon
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum closepokepic_command ; $57
|
2017-12-28 04:23:44 -08:00
|
|
|
closepokepic: MACRO
|
2015-11-25 07:16:29 -08:00
|
|
|
db closepokepic_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum _2dmenu_command ; $58
|
2017-12-28 04:23:44 -08:00
|
|
|
_2dmenu: MACRO
|
2015-12-15 15:59:49 -08:00
|
|
|
db _2dmenu_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum verticalmenu_command ; $59
|
2017-12-28 04:23:44 -08:00
|
|
|
verticalmenu: MACRO
|
2015-12-15 15:59:49 -08:00
|
|
|
db verticalmenu_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum loadpikachudata_command ; $5a
|
2017-12-28 04:23:44 -08:00
|
|
|
loadpikachudata: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db loadpikachudata_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum randomwildmon_command ; $5b
|
2017-12-28 04:23:44 -08:00
|
|
|
randomwildmon: MACRO
|
2015-12-01 18:54:11 -08:00
|
|
|
db randomwildmon_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum loadmemtrainer_command ; $5c
|
2017-12-28 04:23:44 -08:00
|
|
|
loadmemtrainer: MACRO
|
2015-12-01 18:54:11 -08:00
|
|
|
db loadmemtrainer_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum loadwildmon_command ; $5d
|
2017-12-28 04:23:44 -08:00
|
|
|
loadwildmon: MACRO
|
2015-12-01 18:54:11 -08:00
|
|
|
db loadwildmon_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; pokemon
|
|
|
|
db \2 ; level
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum loadtrainer_command ; $5e
|
2017-12-28 04:23:44 -08:00
|
|
|
loadtrainer: MACRO
|
2015-12-01 18:54:11 -08:00
|
|
|
db loadtrainer_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; trainer_group
|
|
|
|
db \2 ; trainer_id
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum startbattle_command ; $5f
|
2017-12-28 04:23:44 -08:00
|
|
|
startbattle: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db startbattle_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum reloadmapafterbattle_command ; $60
|
2017-12-28 04:23:44 -08:00
|
|
|
reloadmapafterbattle: MACRO
|
2015-12-26 15:11:55 -08:00
|
|
|
db reloadmapafterbattle_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum catchtutorial_command ; $61
|
2017-12-28 04:23:44 -08:00
|
|
|
catchtutorial: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db catchtutorial_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; byte
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum trainertext_command ; $62
|
2017-12-28 04:23:44 -08:00
|
|
|
trainertext: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db trainertext_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; which_text
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum trainerflagaction_command ; $63
|
2017-12-28 04:23:44 -08:00
|
|
|
trainerflagaction: MACRO
|
2015-11-25 07:16:29 -08:00
|
|
|
db trainerflagaction_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; action
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum winlosstext_command ; $64
|
2017-12-28 04:23:44 -08:00
|
|
|
winlosstext: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db winlosstext_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; win_text_pointer
|
|
|
|
dw \2 ; loss_text_pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum scripttalkafter_command ; $65
|
2017-12-28 04:23:44 -08:00
|
|
|
scripttalkafter: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db scripttalkafter_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum end_if_just_battled_command ; $66
|
2017-12-28 04:23:44 -08:00
|
|
|
end_if_just_battled: MACRO
|
2015-11-25 07:16:29 -08:00
|
|
|
db end_if_just_battled_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum check_just_battled_command ; $67
|
2017-12-28 04:23:44 -08:00
|
|
|
check_just_battled: MACRO
|
2015-11-25 07:16:29 -08:00
|
|
|
db check_just_battled_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum setlasttalked_command ; $68
|
2017-12-28 04:23:44 -08:00
|
|
|
setlasttalked: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db setlasttalked_command
|
2017-12-24 10:46:34 -08:00
|
|
|
db \1 ; object id
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum applymovement_command ; $69
|
2017-12-28 04:23:44 -08:00
|
|
|
applymovement: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db applymovement_command
|
2017-12-24 10:46:34 -08:00
|
|
|
db \1 ; object id
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \2 ; data
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum applymovement2_command ; $6a
|
2017-12-28 04:23:44 -08:00
|
|
|
applymovement2: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db applymovement2_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; data
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum faceplayer_command ; $6b
|
2017-12-28 04:23:44 -08:00
|
|
|
faceplayer: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db faceplayer_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
enum faceobject_command ; $6c
|
2017-12-28 04:23:44 -08:00
|
|
|
faceobject: MACRO
|
2017-12-24 10:46:34 -08:00
|
|
|
db faceobject_command
|
|
|
|
db \1 ; object1
|
|
|
|
db \2 ; object2
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum variablesprite_command ; $6d
|
2017-12-28 04:23:44 -08:00
|
|
|
variablesprite: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db variablesprite_command
|
2015-07-12 23:23:48 -07:00
|
|
|
db \1 - SPRITE_VARS ; byte
|
2015-01-20 00:01:23 -08:00
|
|
|
db \2 ; sprite
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum disappear_command ; $6e
|
2017-12-28 04:23:44 -08:00
|
|
|
disappear: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db disappear_command
|
2017-12-24 10:46:34 -08:00
|
|
|
db \1 ; object id
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum appear_command ; $6f
|
2017-12-28 04:23:44 -08:00
|
|
|
appear: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db appear_command
|
2017-12-24 10:46:34 -08:00
|
|
|
db \1 ; object id
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum follow_command ; $70
|
2017-12-28 04:23:44 -08:00
|
|
|
follow: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db follow_command
|
2017-12-24 10:46:34 -08:00
|
|
|
db \1 ; object2
|
|
|
|
db \2 ; object1
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum stopfollow_command ; $71
|
2017-12-28 04:23:44 -08:00
|
|
|
stopfollow: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db stopfollow_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
enum moveobject_command ; $72
|
2017-12-28 04:23:44 -08:00
|
|
|
moveobject: MACRO
|
2017-12-24 10:46:34 -08:00
|
|
|
db moveobject_command
|
|
|
|
db \1 ; object id
|
2015-01-20 00:01:23 -08:00
|
|
|
db \2 ; x
|
|
|
|
db \3 ; y
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
enum writeobjectxy_command ; $73
|
2017-12-28 04:23:44 -08:00
|
|
|
writeobjectxy: MACRO
|
2017-12-24 10:46:34 -08:00
|
|
|
db writeobjectxy_command
|
|
|
|
db \1 ; object id
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum loademote_command ; $74
|
2017-12-28 04:23:44 -08:00
|
|
|
loademote: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db loademote_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; bubble
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum showemote_command ; $75
|
2017-12-28 04:23:44 -08:00
|
|
|
showemote: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db showemote_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; bubble
|
2017-12-24 10:46:34 -08:00
|
|
|
db \2 ; object id
|
2015-01-20 00:01:23 -08:00
|
|
|
db \3 ; time
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum spriteface_command ; $76
|
2017-12-28 04:23:44 -08:00
|
|
|
spriteface: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db spriteface_command
|
2017-12-24 10:46:34 -08:00
|
|
|
db \1 ; object id
|
2015-01-20 00:01:23 -08:00
|
|
|
db \2 ; facing
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum follownotexact_command ; $77
|
2017-12-28 04:23:44 -08:00
|
|
|
follownotexact: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db follownotexact_command
|
2017-12-24 10:46:34 -08:00
|
|
|
db \1 ; object2
|
|
|
|
db \2 ; object1
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum earthquake_command ; $78
|
2017-12-28 04:23:44 -08:00
|
|
|
earthquake: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db earthquake_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; param
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum changemap_command ; $79
|
2017-12-28 04:23:44 -08:00
|
|
|
changemap: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db changemap_command
|
2015-06-08 20:52:51 -07:00
|
|
|
db \1 ; map_bank
|
|
|
|
dw \2 ; map_data_pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum changeblock_command ; $7a
|
2017-12-28 04:23:44 -08:00
|
|
|
changeblock: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db changeblock_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; x
|
|
|
|
db \2 ; y
|
|
|
|
db \3 ; block
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum reloadmap_command ; $7b
|
2017-12-28 04:23:44 -08:00
|
|
|
reloadmap: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db reloadmap_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum reloadmappart_command ; $7c
|
2017-12-28 04:23:44 -08:00
|
|
|
reloadmappart: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db reloadmappart_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum writecmdqueue_command ; $7d
|
2017-12-28 04:23:44 -08:00
|
|
|
writecmdqueue: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db writecmdqueue_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; queue_pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum delcmdqueue_command ; $7e
|
2017-12-28 04:23:44 -08:00
|
|
|
delcmdqueue: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db delcmdqueue_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; byte
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum playmusic_command ; $7f
|
2017-12-28 04:23:44 -08:00
|
|
|
playmusic: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db playmusic_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; music_pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum encountermusic_command ; $80
|
2017-12-28 04:23:44 -08:00
|
|
|
encountermusic: MACRO
|
2015-11-25 07:16:29 -08:00
|
|
|
db encountermusic_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum musicfadeout_command ; $81
|
2017-12-28 04:23:44 -08:00
|
|
|
musicfadeout: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db musicfadeout_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; music
|
|
|
|
db \2 ; fadetime
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum playmapmusic_command ; $82
|
2017-12-28 04:23:44 -08:00
|
|
|
playmapmusic: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db playmapmusic_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum dontrestartmapmusic_command ; $83
|
2017-12-28 04:23:44 -08:00
|
|
|
dontrestartmapmusic: MACRO
|
2015-12-26 15:11:55 -08:00
|
|
|
db dontrestartmapmusic_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum cry_command ; $84
|
2017-12-28 04:23:44 -08:00
|
|
|
cry: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db cry_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; cry_id
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum playsound_command ; $85
|
2017-12-28 04:23:44 -08:00
|
|
|
playsound: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db playsound_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; sound_pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum waitsfx_command ; $86
|
2017-12-28 04:23:44 -08:00
|
|
|
waitsfx: MACRO
|
2015-11-25 07:16:29 -08:00
|
|
|
db waitsfx_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum warpsound_command ; $87
|
2017-12-28 04:23:44 -08:00
|
|
|
warpsound: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db warpsound_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum specialsound_command ; $88
|
2017-12-28 04:23:44 -08:00
|
|
|
specialsound: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db specialsound_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum passtoengine_command ; $89
|
2017-12-28 04:23:44 -08:00
|
|
|
passtoengine: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db passtoengine_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; data_pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum newloadmap_command ; $8a
|
2017-12-28 04:23:44 -08:00
|
|
|
newloadmap: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db newloadmap_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; which_method
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum pause_command ; $8b
|
2017-12-28 04:23:44 -08:00
|
|
|
pause: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db pause_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; length
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum deactivatefacing_command ; $8c
|
2017-12-28 04:23:44 -08:00
|
|
|
deactivatefacing: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db deactivatefacing_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; time
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum priorityjump_command ; $8d
|
2017-12-28 04:23:44 -08:00
|
|
|
priorityjump: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db priorityjump_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum warpcheck_command ; $8e
|
2017-12-28 04:23:44 -08:00
|
|
|
warpcheck: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db warpcheck_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum ptpriorityjump_command ; $8f
|
2017-12-28 04:23:44 -08:00
|
|
|
ptpriorityjump: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db ptpriorityjump_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum return_command ; $90
|
2017-12-28 04:23:44 -08:00
|
|
|
return: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db return_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum end_command ; $91
|
2017-12-28 04:23:44 -08:00
|
|
|
end: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db end_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum reloadandreturn_command ; $92
|
2017-12-28 04:23:44 -08:00
|
|
|
reloadandreturn: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db reloadandreturn_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; which_method
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum end_all_command ; $93
|
2017-12-28 04:23:44 -08:00
|
|
|
end_all: MACRO
|
2015-12-09 08:38:40 -08:00
|
|
|
db end_all_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum pokemart_command ; $94
|
2017-12-28 04:23:44 -08:00
|
|
|
pokemart: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db pokemart_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; dialog_id
|
|
|
|
dw \2 ; mart_id
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum elevator_command ; $95
|
2017-12-28 04:23:44 -08:00
|
|
|
elevator: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db elevator_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; floor_list_pointer
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum trade_command ; $96
|
2017-12-28 04:23:44 -08:00
|
|
|
trade: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db trade_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; trade_id
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum askforphonenumber_command ; $97
|
2017-12-28 04:23:44 -08:00
|
|
|
askforphonenumber: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db askforphonenumber_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; number
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum phonecall_command ; $98
|
2017-12-28 04:23:44 -08:00
|
|
|
phonecall: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db phonecall_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; caller_name
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum hangup_command ; $99
|
2017-12-28 04:23:44 -08:00
|
|
|
hangup: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db hangup_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum describedecoration_command ; $9a
|
2017-12-28 04:23:44 -08:00
|
|
|
describedecoration: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db describedecoration_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; byte
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum fruittree_command ; $9b
|
2017-12-28 04:23:44 -08:00
|
|
|
fruittree: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db fruittree_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; tree_id
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum specialphonecall_command ; $9c
|
2017-12-28 04:23:44 -08:00
|
|
|
specialphonecall: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db specialphonecall_command
|
2015-01-20 00:01:23 -08:00
|
|
|
dw \1 ; call_id
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum checkphonecall_command ; $9d
|
2017-12-28 04:23:44 -08:00
|
|
|
checkphonecall: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db checkphonecall_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum verbosegiveitem_command ; $9e
|
2017-12-28 04:23:44 -08:00
|
|
|
verbosegiveitem: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db verbosegiveitem_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; item
|
2015-11-04 17:20:14 -08:00
|
|
|
if _NARG == 2
|
2015-01-20 00:01:23 -08:00
|
|
|
db \2 ; quantity
|
2015-11-04 17:20:14 -08:00
|
|
|
else
|
|
|
|
db 1
|
|
|
|
endc
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum verbosegiveitem2_command ; $9f
|
2017-12-28 04:23:44 -08:00
|
|
|
verbosegiveitem2: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db verbosegiveitem2_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; item
|
|
|
|
db \2 ; var
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum swarm_command ; $a0
|
2017-12-28 04:23:44 -08:00
|
|
|
swarm: MACRO
|
2015-12-09 08:38:40 -08:00
|
|
|
db swarm_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; flag
|
2015-07-23 09:59:19 -07:00
|
|
|
map \2 ; map
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum halloffame_command ; $a1
|
2017-12-28 04:23:44 -08:00
|
|
|
halloffame: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db halloffame_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum credits_command ; $a2
|
2017-12-28 04:23:44 -08:00
|
|
|
credits: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db credits_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum warpfacing_command ; $a3
|
2017-12-28 04:23:44 -08:00
|
|
|
warpfacing: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db warpfacing_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; facing
|
2015-07-23 09:59:19 -07:00
|
|
|
map \2 ; map
|
|
|
|
db \3 ; x
|
|
|
|
db \4 ; y
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum battletowertext_command ; $a4
|
2017-12-28 04:23:44 -08:00
|
|
|
battletowertext: MACRO
|
2015-11-03 19:35:36 -08:00
|
|
|
db battletowertext_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; memory
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum landmarktotext_command ; $a5
|
2017-12-28 04:23:44 -08:00
|
|
|
landmarktotext: MACRO
|
2015-12-09 08:38:40 -08:00
|
|
|
db landmarktotext_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; id
|
|
|
|
db \2 ; memory
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum trainerclassname_command ; $a6
|
2017-12-28 04:23:44 -08:00
|
|
|
trainerclassname: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db trainerclassname_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; id
|
|
|
|
db \2 ; memory
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum name_command ; $a7
|
2017-12-28 04:23:44 -08:00
|
|
|
name: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db name_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; type
|
|
|
|
db \2 ; id
|
2015-09-09 14:05:19 -07:00
|
|
|
db \3 ; memory
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum wait_command ; $a8
|
2017-12-28 04:23:44 -08:00
|
|
|
wait: MACRO
|
2015-04-13 22:28:28 -07:00
|
|
|
db wait_command
|
2015-01-20 00:01:23 -08:00
|
|
|
db \1 ; duration
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2015-01-20 00:01:23 -08:00
|
|
|
|
2017-12-14 21:38:52 -08:00
|
|
|
enum check_save_command ; $a9
|
2017-12-28 04:23:44 -08:00
|
|
|
check_save: MACRO
|
2015-11-16 08:53:26 -08:00
|
|
|
db check_save_command
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|