pokecrystal-board/macros/event.asm

1057 lines
16 KiB
NASM
Raw Normal View History

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