2015-04-14 05:28:28 +00:00
|
|
|
enum_start
|
|
|
|
|
|
|
|
enum scall_command
|
2015-01-20 08:01:23 +00:00
|
|
|
scall: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db scall_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum farscall_command
|
2015-01-20 08:01:23 +00:00
|
|
|
farscall: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db farscall_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db BANK(\1)
|
|
|
|
dw \1
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum ptcall_command
|
2015-01-20 08:01:23 +00:00
|
|
|
ptcall: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db ptcall_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum jump_command
|
2015-01-20 08:01:23 +00:00
|
|
|
jump: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db jump_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum farjump_command
|
2015-01-20 08:01:23 +00:00
|
|
|
farjump: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db farjump_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db BANK(\1)
|
|
|
|
dw \1
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum ptjump_command
|
2015-01-20 08:01:23 +00:00
|
|
|
ptjump: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db ptjump_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum if_equal_command
|
2015-01-20 08:01:23 +00:00
|
|
|
if_equal: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db if_equal_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; byte
|
|
|
|
dw \2 ; pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum if_not_equal_command
|
2015-01-20 08:01:23 +00:00
|
|
|
if_not_equal: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db if_not_equal_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; byte
|
|
|
|
dw \2 ; pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum iffalse_command
|
2015-01-20 08:01:23 +00:00
|
|
|
iffalse: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db iffalse_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum iftrue_command
|
2015-01-20 08:01:23 +00:00
|
|
|
iftrue: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db iftrue_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum if_greater_than_command
|
2015-01-20 08:01:23 +00:00
|
|
|
if_greater_than: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db if_greater_than_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; byte
|
|
|
|
dw \2 ; pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum if_less_than_command
|
2015-01-20 08:01:23 +00:00
|
|
|
if_less_than: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db if_less_than_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; byte
|
|
|
|
dw \2 ; pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum jumpstd_command
|
2015-01-20 08:01:23 +00:00
|
|
|
jumpstd: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db jumpstd_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; predefined_script
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum callstd_command
|
2015-01-20 08:01:23 +00:00
|
|
|
callstd: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db callstd_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; predefined_script
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum callasm_command
|
2015-01-20 08:01:23 +00:00
|
|
|
callasm: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db callasm_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db BANK(\1)
|
|
|
|
dw \1
|
|
|
|
endm
|
|
|
|
|
2015-02-11 23:03:42 +00:00
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum special_command
|
2015-01-20 08:01:23 +00:00
|
|
|
special: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db special_command
|
2015-02-11 23:03:42 +00:00
|
|
|
dw (\1Special - SpecialsPointers) / 3
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-02-11 23:03:42 +00:00
|
|
|
add_special: MACRO
|
|
|
|
\1Special::
|
|
|
|
db BANK(\1)
|
|
|
|
dw \1
|
|
|
|
ENDM
|
|
|
|
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum ptcallasm_command
|
2015-01-20 08:01:23 +00:00
|
|
|
ptcallasm: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db ptcallasm_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; asm
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum checkmaptriggers_command
|
2015-01-20 08:01:23 +00:00
|
|
|
checkmaptriggers: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db checkmaptriggers_command
|
2015-07-23 16:59:19 +00:00
|
|
|
map \1 ; map
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum domaptrigger_command
|
2015-01-20 08:01:23 +00:00
|
|
|
domaptrigger: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db domaptrigger_command
|
2015-07-23 16:59:19 +00:00
|
|
|
map \1 ; map
|
|
|
|
db \2 ; trigger_id
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum checktriggers_command
|
2015-01-20 08:01:23 +00:00
|
|
|
checktriggers: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db checktriggers_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum dotrigger_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dotrigger: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db dotrigger_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; trigger_id
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum writebyte_command
|
2015-01-20 08:01:23 +00:00
|
|
|
writebyte: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db writebyte_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; value
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum addvar_command
|
2015-01-20 08:01:23 +00:00
|
|
|
addvar: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db addvar_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; value
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum random_command
|
2015-01-20 08:01:23 +00:00
|
|
|
random: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db random_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; input
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum checkver_command
|
2015-01-20 08:01:23 +00:00
|
|
|
checkver: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db checkver_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum copybytetovar_command
|
2015-01-20 08:01:23 +00:00
|
|
|
copybytetovar: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db copybytetovar_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; address
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum copyvartobyte_command
|
2015-01-20 08:01:23 +00:00
|
|
|
copyvartobyte: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db copyvartobyte_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; address
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum loadvar_command
|
2015-01-20 08:01:23 +00:00
|
|
|
loadvar: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db loadvar_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; address
|
|
|
|
db \2 ; value
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum checkcode_command
|
2015-01-20 08:01:23 +00:00
|
|
|
checkcode: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db checkcode_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; variable_id
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum writevarcode_command
|
2015-01-20 08:01:23 +00:00
|
|
|
writevarcode: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db writevarcode_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; variable_id
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum writecode_command
|
2015-01-20 08:01:23 +00:00
|
|
|
writecode: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db writecode_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; variable_id
|
|
|
|
db \2 ; value
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum giveitem_command
|
2015-01-20 08:01:23 +00:00
|
|
|
giveitem: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db giveitem_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; item
|
|
|
|
db \2 ; quantity
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum takeitem_command
|
2015-01-20 08:01:23 +00:00
|
|
|
takeitem: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db takeitem_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; item
|
|
|
|
db \2 ; quantity
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum checkitem_command
|
2015-01-20 08:01:23 +00:00
|
|
|
checkitem: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db checkitem_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; item
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum givemoney_command
|
2015-01-20 08:01:23 +00:00
|
|
|
givemoney: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db givemoney_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; account
|
|
|
|
dt \2 ; money
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum takemoney_command
|
2015-01-20 08:01:23 +00:00
|
|
|
takemoney: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db takemoney_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; account
|
|
|
|
dt \2 ; money
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum checkmoney_command
|
2015-01-20 08:01:23 +00:00
|
|
|
checkmoney: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db checkmoney_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; account
|
|
|
|
dt \2 ; money
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum givecoins_command
|
2015-01-20 08:01:23 +00:00
|
|
|
givecoins: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db givecoins_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; coins
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum takecoins_command
|
2015-01-20 08:01:23 +00:00
|
|
|
takecoins: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db takecoins_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; coins
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum checkcoins_command
|
2015-01-20 08:01:23 +00:00
|
|
|
checkcoins: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db checkcoins_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; coins
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum addcellnum_command
|
2015-01-20 08:01:23 +00:00
|
|
|
addcellnum: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db addcellnum_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; person
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum delcellnum_command
|
2015-01-20 08:01:23 +00:00
|
|
|
delcellnum: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db delcellnum_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; person
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum checkcellnum_command
|
2015-01-20 08:01:23 +00:00
|
|
|
checkcellnum: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db checkcellnum_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; person
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum checktime_command
|
2015-01-20 08:01:23 +00:00
|
|
|
checktime: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db checktime_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; time
|
|
|
|
endm
|
|
|
|
|
2015-06-23 18:28:48 +00:00
|
|
|
checkmorn EQUS "checktime 1"
|
|
|
|
checkday EQUS "checktime 2"
|
|
|
|
checknite EQUS "checktime 4"
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum checkpoke_command
|
2015-01-20 08:01:23 +00:00
|
|
|
checkpoke: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db checkpoke_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; pkmn
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum givepoke_command
|
2015-01-20 08:01:23 +00:00
|
|
|
givepoke: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db givepoke_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; pokemon
|
|
|
|
db \2 ; level
|
|
|
|
db \3 ; item
|
|
|
|
db \4 ; trainer
|
|
|
|
if \4
|
|
|
|
dw \5 ; trainer_name_pointer
|
|
|
|
dw \6 ; pkmn_nickname
|
|
|
|
endc
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum giveegg_command
|
2015-01-20 08:01:23 +00:00
|
|
|
giveegg: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db giveegg_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; pkmn
|
|
|
|
db \2 ; level
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum givepokeitem_command
|
2015-01-20 08:01:23 +00:00
|
|
|
givepokeitem: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db givepokeitem_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum checkpokeitem_command
|
2015-01-20 08:01:23 +00:00
|
|
|
checkpokeitem: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db checkpokeitem_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum checkevent_command
|
2015-01-20 08:01:23 +00:00
|
|
|
checkevent: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db checkevent_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; event_flag
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum clearevent_command
|
2015-01-20 08:01:23 +00:00
|
|
|
clearevent: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db clearevent_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; event_flag
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum setevent_command
|
2015-01-20 08:01:23 +00:00
|
|
|
setevent: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db setevent_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; event_flag
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum checkflag_command
|
2015-01-20 08:01:23 +00:00
|
|
|
checkflag: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db checkflag_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; engine_flag
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum clearflag_command
|
2015-01-20 08:01:23 +00:00
|
|
|
clearflag: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db clearflag_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; engine_flag
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum setflag_command
|
2015-01-20 08:01:23 +00:00
|
|
|
setflag: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db setflag_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; engine_flag
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum wildon_command
|
2015-01-20 08:01:23 +00:00
|
|
|
wildon: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db wildon_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum wildoff_command
|
2015-01-20 08:01:23 +00:00
|
|
|
wildoff: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db wildoff_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum xycompare_command
|
2015-01-20 08:01:23 +00:00
|
|
|
xycompare: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db xycompare_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum warpmod_command
|
2015-01-20 08:01:23 +00:00
|
|
|
warpmod: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db warpmod_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; warp_id
|
2015-07-23 16:59:19 +00:00
|
|
|
map \2 ; map
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum blackoutmod_command
|
2015-01-20 08:01:23 +00:00
|
|
|
blackoutmod: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db blackoutmod_command
|
2015-07-23 16:59:19 +00:00
|
|
|
map \1 ; map
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum warp_command
|
2015-01-20 08:01:23 +00:00
|
|
|
warp: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db warp_command
|
2015-07-23 16:59:19 +00:00
|
|
|
map \1 ; map
|
|
|
|
db \2 ; x
|
|
|
|
db \3 ; y
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum readmoney_command
|
2015-01-20 08:01:23 +00:00
|
|
|
readmoney: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db readmoney_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; account
|
|
|
|
db \2 ; memory
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum readcoins_command
|
2015-01-20 08:01:23 +00:00
|
|
|
readcoins: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db readcoins_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; memory
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum RAM2MEM_command
|
2015-01-20 08:01:23 +00:00
|
|
|
RAM2MEM: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db RAM2MEM_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; memory
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum pokenamemem_command
|
2015-01-20 08:01:23 +00:00
|
|
|
pokenamemem: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db pokenamemem_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; pokemon
|
|
|
|
db \2 ; memory
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum itemtotext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
itemtotext: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db itemtotext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; item
|
|
|
|
db \2 ; memory
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum mapnametotext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
mapnametotext: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db mapnametotext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; memory
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum trainertotext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
trainertotext: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db trainertotext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; trainer_id
|
|
|
|
db \2 ; trainer_group
|
|
|
|
db \3 ; memory
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum stringtotext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
stringtotext: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db stringtotext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; text_pointer
|
|
|
|
db \2 ; memory
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum itemnotify_command
|
2015-01-20 08:01:23 +00:00
|
|
|
itemnotify: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db itemnotify_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum pocketisfull_command
|
2015-01-20 08:01:23 +00:00
|
|
|
pocketisfull: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db pocketisfull_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum loadfont_command
|
2015-01-20 08:01:23 +00:00
|
|
|
loadfont: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db loadfont_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum refreshscreen_command
|
2015-01-20 08:01:23 +00:00
|
|
|
refreshscreen: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db refreshscreen_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; dummy
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum loadmovesprites_command
|
2015-01-20 08:01:23 +00:00
|
|
|
loadmovesprites: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db loadmovesprites_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum loadbytec1ce_command
|
2015-01-20 08:01:23 +00:00
|
|
|
loadbytec1ce: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db loadbytec1ce_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; byte
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum farwritetext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
farwritetext: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db farwritetext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db BANK(\1)
|
|
|
|
dw \1
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum writetext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db writetext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; text_pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum repeattext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
repeattext: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db repeattext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; byte
|
|
|
|
db \2 ; byte
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum yesorno_command
|
2015-01-20 08:01:23 +00:00
|
|
|
yesorno: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db yesorno_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum loadmenudata_command
|
2015-01-20 08:01:23 +00:00
|
|
|
loadmenudata: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db loadmenudata_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; data
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum writebackup_command
|
2015-01-20 08:01:23 +00:00
|
|
|
writebackup: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db writebackup_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum jumptextfaceplayer_command
|
2015-01-20 08:01:23 +00:00
|
|
|
jumptextfaceplayer: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db jumptextfaceplayer_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; text_pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum farjumptext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
farjumptext: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db farjumptext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db BANK(\1)
|
|
|
|
dw \1
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum jumptext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
jumptext: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db jumptext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; text_pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum closetext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
closetext: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db closetext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum keeptextopen_command
|
2015-01-20 08:01:23 +00:00
|
|
|
keeptextopen: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db keeptextopen_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum pokepic_command
|
2015-01-20 08:01:23 +00:00
|
|
|
pokepic: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db pokepic_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; pokemon
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum pokepicyesorno_command
|
2015-01-20 08:01:23 +00:00
|
|
|
pokepicyesorno: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db pokepicyesorno_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum interpretmenu_command
|
2015-01-20 08:01:23 +00:00
|
|
|
interpretmenu: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db interpretmenu_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum interpretmenu2_command
|
2015-01-20 08:01:23 +00:00
|
|
|
interpretmenu2: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db interpretmenu2_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum loadpikachudata_command
|
2015-01-20 08:01:23 +00:00
|
|
|
loadpikachudata: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db loadpikachudata_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum battlecheck_command
|
2015-01-20 08:01:23 +00:00
|
|
|
battlecheck: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db battlecheck_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum loadtrainerdata_command
|
2015-01-20 08:01:23 +00:00
|
|
|
loadtrainerdata: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db loadtrainerdata_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum loadpokedata_command
|
2015-01-20 08:01:23 +00:00
|
|
|
loadpokedata: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db loadpokedata_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; pokemon
|
|
|
|
db \2 ; level
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum loadtrainer_command
|
2015-01-20 08:01:23 +00:00
|
|
|
loadtrainer: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db loadtrainer_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; trainer_group
|
|
|
|
db \2 ; trainer_id
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum startbattle_command
|
2015-01-20 08:01:23 +00:00
|
|
|
startbattle: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db startbattle_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum returnafterbattle_command
|
2015-01-20 08:01:23 +00:00
|
|
|
returnafterbattle: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db returnafterbattle_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum catchtutorial_command
|
2015-01-20 08:01:23 +00:00
|
|
|
catchtutorial: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db catchtutorial_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; byte
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum trainertext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
trainertext: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db trainertext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; which_text
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum trainerstatus_command
|
2015-01-20 08:01:23 +00:00
|
|
|
trainerstatus: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db trainerstatus_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; action
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum winlosstext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
winlosstext: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db winlosstext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; win_text_pointer
|
|
|
|
dw \2 ; loss_text_pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum scripttalkafter_command
|
2015-01-20 08:01:23 +00:00
|
|
|
scripttalkafter: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db scripttalkafter_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum talkaftercancel_command
|
2015-01-20 08:01:23 +00:00
|
|
|
talkaftercancel: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db talkaftercancel_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum talkaftercheck_command
|
2015-01-20 08:01:23 +00:00
|
|
|
talkaftercheck: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db talkaftercheck_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum setlasttalked_command
|
2015-01-20 08:01:23 +00:00
|
|
|
setlasttalked: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db setlasttalked_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; person
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum applymovement_command
|
2015-01-20 08:01:23 +00:00
|
|
|
applymovement: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db applymovement_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; person
|
|
|
|
dw \2 ; data
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum applymovement2_command
|
2015-01-20 08:01:23 +00:00
|
|
|
applymovement2: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db applymovement2_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; data
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum faceplayer_command
|
2015-01-20 08:01:23 +00:00
|
|
|
faceplayer: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db faceplayer_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum faceperson_command
|
2015-01-20 08:01:23 +00:00
|
|
|
faceperson: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db faceperson_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; person1
|
|
|
|
db \2 ; person2
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum variablesprite_command
|
2015-01-20 08:01:23 +00:00
|
|
|
variablesprite: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db variablesprite_command
|
2015-07-13 06:23:48 +00:00
|
|
|
db \1 - SPRITE_VARS ; byte
|
2015-01-20 08:01:23 +00:00
|
|
|
db \2 ; sprite
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum disappear_command
|
2015-01-20 08:01:23 +00:00
|
|
|
disappear: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db disappear_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; person
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum appear_command
|
2015-01-20 08:01:23 +00:00
|
|
|
appear: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db appear_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; person
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum follow_command
|
2015-01-20 08:01:23 +00:00
|
|
|
follow: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db follow_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; person2
|
|
|
|
db \2 ; person1
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum stopfollow_command
|
2015-01-20 08:01:23 +00:00
|
|
|
stopfollow: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db stopfollow_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum moveperson_command
|
2015-01-20 08:01:23 +00:00
|
|
|
moveperson: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db moveperson_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; person
|
|
|
|
db \2 ; x
|
|
|
|
db \3 ; y
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum writepersonxy_command
|
2015-01-20 08:01:23 +00:00
|
|
|
writepersonxy: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db writepersonxy_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; person
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum loademote_command
|
2015-01-20 08:01:23 +00:00
|
|
|
loademote: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db loademote_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; bubble
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum showemote_command
|
2015-01-20 08:01:23 +00:00
|
|
|
showemote: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db showemote_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; bubble
|
|
|
|
db \2 ; person
|
|
|
|
db \3 ; time
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum spriteface_command
|
2015-01-20 08:01:23 +00:00
|
|
|
spriteface: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db spriteface_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; person
|
|
|
|
db \2 ; facing
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum follownotexact_command
|
2015-01-20 08:01:23 +00:00
|
|
|
follownotexact: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db follownotexact_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; person2
|
|
|
|
db \2 ; person1
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum earthquake_command
|
2015-01-20 08:01:23 +00:00
|
|
|
earthquake: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db earthquake_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; param
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum changemap_command
|
2015-01-20 08:01:23 +00:00
|
|
|
changemap: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db changemap_command
|
2015-06-09 03:52:51 +00:00
|
|
|
db \1 ; map_bank
|
|
|
|
dw \2 ; map_data_pointer
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum changeblock_command
|
2015-01-20 08:01:23 +00:00
|
|
|
changeblock: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db changeblock_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; x
|
|
|
|
db \2 ; y
|
|
|
|
db \3 ; block
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum reloadmap_command
|
2015-01-20 08:01:23 +00:00
|
|
|
reloadmap: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db reloadmap_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum reloadmappart_command
|
2015-01-20 08:01:23 +00:00
|
|
|
reloadmappart: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db reloadmappart_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum writecmdqueue_command
|
2015-01-20 08:01:23 +00:00
|
|
|
writecmdqueue: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db writecmdqueue_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; queue_pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum delcmdqueue_command
|
2015-01-20 08:01:23 +00:00
|
|
|
delcmdqueue: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db delcmdqueue_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; byte
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum playmusic_command
|
2015-01-20 08:01:23 +00:00
|
|
|
playmusic: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db playmusic_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; music_pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum playrammusic_command
|
2015-01-20 08:01:23 +00:00
|
|
|
playrammusic: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db playrammusic_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum musicfadeout_command
|
2015-01-20 08:01:23 +00:00
|
|
|
musicfadeout: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db musicfadeout_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; music
|
|
|
|
db \2 ; fadetime
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum playmapmusic_command
|
2015-01-20 08:01:23 +00:00
|
|
|
playmapmusic: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db playmapmusic_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum reloadmapmusic_command
|
2015-01-20 08:01:23 +00:00
|
|
|
reloadmapmusic: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db reloadmapmusic_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum cry_command
|
2015-01-20 08:01:23 +00:00
|
|
|
cry: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db cry_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; cry_id
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum playsound_command
|
2015-01-20 08:01:23 +00:00
|
|
|
playsound: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db playsound_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; sound_pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum waitbutton_command
|
2015-01-20 08:01:23 +00:00
|
|
|
waitbutton: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db waitbutton_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum warpsound_command
|
2015-01-20 08:01:23 +00:00
|
|
|
warpsound: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db warpsound_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum specialsound_command
|
2015-01-20 08:01:23 +00:00
|
|
|
specialsound: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db specialsound_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum passtoengine_command
|
2015-01-20 08:01:23 +00:00
|
|
|
passtoengine: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db passtoengine_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; data_pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum newloadmap_command
|
2015-01-20 08:01:23 +00:00
|
|
|
newloadmap: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db newloadmap_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; which_method
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum pause_command
|
2015-01-20 08:01:23 +00:00
|
|
|
pause: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db pause_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; length
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum deactivatefacing_command
|
2015-01-20 08:01:23 +00:00
|
|
|
deactivatefacing: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db deactivatefacing_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; time
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum priorityjump_command
|
2015-01-20 08:01:23 +00:00
|
|
|
priorityjump: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db priorityjump_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum warpcheck_command
|
2015-01-20 08:01:23 +00:00
|
|
|
warpcheck: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db warpcheck_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum ptpriorityjump_command
|
2015-01-20 08:01:23 +00:00
|
|
|
ptpriorityjump: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db ptpriorityjump_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum return_command
|
2015-01-20 08:01:23 +00:00
|
|
|
return: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db return_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum end_command
|
2015-01-20 08:01:23 +00:00
|
|
|
end: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db end_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum reloadandreturn_command
|
2015-01-20 08:01:23 +00:00
|
|
|
reloadandreturn: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db reloadandreturn_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; which_method
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum resetfuncs_command
|
2015-01-20 08:01:23 +00:00
|
|
|
resetfuncs: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db resetfuncs_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum pokemart_command
|
2015-01-20 08:01:23 +00:00
|
|
|
pokemart: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db pokemart_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; dialog_id
|
|
|
|
dw \2 ; mart_id
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum elevator_command
|
2015-01-20 08:01:23 +00:00
|
|
|
elevator: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db elevator_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; floor_list_pointer
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum trade_command
|
2015-01-20 08:01:23 +00:00
|
|
|
trade: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db trade_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; trade_id
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum askforphonenumber_command
|
2015-01-20 08:01:23 +00:00
|
|
|
askforphonenumber: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db askforphonenumber_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; number
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum phonecall_command
|
2015-01-20 08:01:23 +00:00
|
|
|
phonecall: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db phonecall_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; caller_name
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum hangup_command
|
2015-01-20 08:01:23 +00:00
|
|
|
hangup: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db hangup_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum describedecoration_command
|
2015-01-20 08:01:23 +00:00
|
|
|
describedecoration: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db describedecoration_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; byte
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum fruittree_command
|
2015-01-20 08:01:23 +00:00
|
|
|
fruittree: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db fruittree_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; tree_id
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum specialphonecall_command
|
2015-01-20 08:01:23 +00:00
|
|
|
specialphonecall: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db specialphonecall_command
|
2015-01-20 08:01:23 +00:00
|
|
|
dw \1 ; call_id
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum checkphonecall_command
|
2015-01-20 08:01:23 +00:00
|
|
|
checkphonecall: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db checkphonecall_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum verbosegiveitem_command
|
2015-01-20 08:01:23 +00:00
|
|
|
verbosegiveitem: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db verbosegiveitem_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; item
|
|
|
|
db \2 ; quantity
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum verbosegiveitem2_command
|
2015-01-20 08:01:23 +00:00
|
|
|
verbosegiveitem2: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db verbosegiveitem2_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; item
|
|
|
|
db \2 ; var
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum loadwilddata_command
|
2015-01-20 08:01:23 +00:00
|
|
|
loadwilddata: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db loadwilddata_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; flag
|
2015-07-23 16:59:19 +00:00
|
|
|
map \2 ; map
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum halloffame_command
|
2015-01-20 08:01:23 +00:00
|
|
|
halloffame: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db halloffame_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum credits_command
|
2015-01-20 08:01:23 +00:00
|
|
|
credits: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db credits_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum warpfacing_command
|
2015-01-20 08:01:23 +00:00
|
|
|
warpfacing: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db warpfacing_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; facing
|
2015-07-23 16:59:19 +00:00
|
|
|
map \2 ; map
|
|
|
|
db \3 ; x
|
|
|
|
db \4 ; y
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum storetext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
storetext: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db storetext_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; memory
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum displaylocation_command
|
2015-01-20 08:01:23 +00:00
|
|
|
displaylocation: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db displaylocation_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; id
|
|
|
|
db \2 ; memory
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum trainerclassname_command
|
2015-01-20 08:01:23 +00:00
|
|
|
trainerclassname: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db trainerclassname_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; id
|
|
|
|
db \2 ; memory
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum name_command
|
2015-01-20 08:01:23 +00:00
|
|
|
name: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db name_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; type
|
|
|
|
db \2 ; id
|
2015-09-09 21:05:19 +00:00
|
|
|
db \3 ; memory
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum wait_command
|
2015-01-20 08:01:23 +00:00
|
|
|
wait: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db wait_command
|
2015-01-20 08:01:23 +00:00
|
|
|
db \1 ; duration
|
|
|
|
endm
|
|
|
|
|
2015-04-14 05:28:28 +00:00
|
|
|
enum unknown0xa9_command
|
2015-01-20 08:01:23 +00:00
|
|
|
unknown0xa9: macro
|
2015-04-14 05:28:28 +00:00
|
|
|
db unknown0xa9_command
|
2015-01-20 08:01:23 +00:00
|
|
|
endm
|