pokecrystal-board/macros/scripts/trade_anim.asm

256 lines
5.6 KiB
NASM
Raw Normal View History

; DoTradeAnimation.JumpTable indexes (see engine/trade/animation.asm)
2015-11-22 21:21:21 -08:00
enum_start
2017-12-14 21:38:52 -08:00
enum tradeanim_next_command ; $00
2015-11-22 21:21:21 -08:00
tradeanim_next: macro
2017-12-14 21:38:52 -08:00
db tradeanim_next_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_show_givemon_data_command ; $01
2015-11-22 23:08:08 -08:00
tradeanim_show_givemon_data: macro
2017-12-14 21:38:52 -08:00
db tradeanim_show_givemon_data_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_show_getmon_data_command ; $02
2015-11-22 23:08:08 -08:00
tradeanim_show_getmon_data: macro
2017-12-14 21:38:52 -08:00
db tradeanim_show_getmon_data_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_enter_link_tube_command ; $03
2015-11-22 23:08:08 -08:00
tradeanim_enter_link_tube: macro
2017-12-14 21:38:52 -08:00
db tradeanim_enter_link_tube_command
2015-11-22 21:21:21 -08:00
endm
2015-11-22 23:08:08 -08:00
__enum__ set $5
2015-11-22 21:21:21 -08:00
2017-12-14 21:38:52 -08:00
enum tradeanim_exit_link_tube_command ; $05
2015-11-22 23:08:08 -08:00
tradeanim_exit_link_tube: macro
2017-12-14 21:38:52 -08:00
db tradeanim_exit_link_tube_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_tube_to_ot_command ; $06
2015-11-22 23:08:08 -08:00
tradeanim_tube_to_ot: macro
2017-12-14 21:38:52 -08:00
db tradeanim_tube_to_ot_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
__enum__ set $0e
2015-11-22 21:21:21 -08:00
2017-12-14 21:38:52 -08:00
enum tradeanim_tube_to_player_command ; $0e
2015-11-22 23:08:08 -08:00
tradeanim_tube_to_player: macro
2017-12-14 21:38:52 -08:00
db tradeanim_tube_to_player_command
2015-11-22 21:21:21 -08:00
endm
__enum__ set $16
2017-12-14 21:38:52 -08:00
enum tradeanim_sent_to_ot_text_command ; $16
2015-11-22 23:08:08 -08:00
tradeanim_sent_to_ot_text: macro
2017-12-14 21:38:52 -08:00
db tradeanim_sent_to_ot_text_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_ot_bids_farewell_command ; $17
2015-11-22 23:08:08 -08:00
tradeanim_ot_bids_farewell: macro
2017-12-14 21:38:52 -08:00
db tradeanim_ot_bids_farewell_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_take_care_of_text_command ; $18
2015-11-22 23:08:08 -08:00
tradeanim_take_care_of_text: macro
2017-12-14 21:38:52 -08:00
db tradeanim_take_care_of_text_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_ot_sends_text_1_command ; $19
2015-11-22 23:08:08 -08:00
tradeanim_ot_sends_text_1: macro
2017-12-14 21:38:52 -08:00
db tradeanim_ot_sends_text_1_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_ot_sends_text_2_command ; $1a
2015-11-22 23:08:08 -08:00
tradeanim_ot_sends_text_2: macro
2017-12-14 21:38:52 -08:00
db tradeanim_ot_sends_text_2_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_setup_givemon_scroll_command ; $1b
2015-11-22 23:08:08 -08:00
tradeanim_setup_givemon_scroll: macro
2017-12-14 21:38:52 -08:00
db tradeanim_setup_givemon_scroll_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_do_givemon_scroll_command ; $1c
2015-11-22 23:08:08 -08:00
tradeanim_do_givemon_scroll: macro
2017-12-14 21:38:52 -08:00
db tradeanim_do_givemon_scroll_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_frontpic_scroll_command ; $1d
tradeanim_frontpic_scroll: macro
2017-12-14 21:38:52 -08:00
db tradeanim_frontpic_scroll_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_textbox_scroll_command ; $1e
tradeanim_textbox_scroll: macro
2017-12-14 21:38:52 -08:00
db tradeanim_textbox_scroll_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_scroll_out_right_command ; $1f
2015-11-22 23:08:08 -08:00
tradeanim_scroll_out_right: macro
2017-12-14 21:38:52 -08:00
db tradeanim_scroll_out_right_command
2015-11-22 21:21:21 -08:00
endm
2015-11-22 23:08:08 -08:00
__enum__ set $21
2015-11-22 21:21:21 -08:00
2017-12-14 21:38:52 -08:00
enum tradeanim_wait_80_command ; $21
2015-11-22 23:08:08 -08:00
tradeanim_wait_80: macro
2017-12-14 21:38:52 -08:00
db tradeanim_wait_80_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_wait_40_command ; $22
2015-11-22 23:08:08 -08:00
tradeanim_wait_40: macro
2017-12-14 21:38:52 -08:00
db tradeanim_wait_40_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_rocking_ball_command ; $23
2015-11-22 23:08:08 -08:00
tradeanim_rocking_ball: macro
2017-12-14 21:38:52 -08:00
db tradeanim_rocking_ball_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_drop_ball_command ; $24
2015-11-22 23:08:08 -08:00
tradeanim_drop_ball: macro
2017-12-14 21:38:52 -08:00
db tradeanim_drop_ball_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_wait_anim_command ; $25
2015-11-22 23:08:08 -08:00
tradeanim_wait_anim: macro
2017-12-14 21:38:52 -08:00
db tradeanim_wait_anim_command
2015-11-22 21:21:21 -08:00
endm
2015-11-22 23:08:08 -08:00
__enum__ set $27
2015-11-22 21:21:21 -08:00
2017-12-14 21:38:52 -08:00
enum tradeanim_poof_command ; $27
2015-11-22 23:08:08 -08:00
tradeanim_poof: macro
2017-12-14 21:38:52 -08:00
db tradeanim_poof_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_bulge_through_tube_command ; $28
2015-11-22 23:08:08 -08:00
tradeanim_bulge_through_tube: macro
2017-12-14 21:38:52 -08:00
db tradeanim_bulge_through_tube_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_give_trademon_sfx_command ; $29
2015-11-22 23:08:08 -08:00
tradeanim_give_trademon_sfx: macro
2017-12-14 21:38:52 -08:00
db tradeanim_give_trademon_sfx_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_get_trademon_sfx_command ; $2a
2015-11-22 23:08:08 -08:00
tradeanim_get_trademon_sfx: macro
2017-12-14 21:38:52 -08:00
db tradeanim_get_trademon_sfx_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_end_command ; $2b
2015-11-22 21:21:21 -08:00
tradeanim_end: macro
2017-12-14 21:38:52 -08:00
db tradeanim_end_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_animate_frontpic_command ; $2c
2015-11-22 23:08:08 -08:00
tradeanim_animate_frontpic: macro
2017-12-14 21:38:52 -08:00
db tradeanim_animate_frontpic_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_wait_96_command ; $2d
2015-11-22 23:08:08 -08:00
tradeanim_wait_96: macro
2017-12-14 21:38:52 -08:00
db tradeanim_wait_96_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_wait_80_if_ot_egg_command ; $2e
2015-11-22 23:08:08 -08:00
tradeanim_wait_80_if_ot_egg: macro
2017-12-14 21:38:52 -08:00
db tradeanim_wait_80_if_ot_egg_command
2015-11-22 21:21:21 -08:00
endm
2017-12-14 21:38:52 -08:00
enum tradeanim_wait_180_if_ot_egg_command ; $2f
2015-11-22 23:08:08 -08:00
tradeanim_wait_180_if_ot_egg: macro
2017-12-14 21:38:52 -08:00
db tradeanim_wait_180_if_ot_egg_command
2015-11-22 21:21:21 -08:00
endm
; Mobile
2017-12-14 21:38:52 -08:00
enum_start $01
2017-12-14 21:38:52 -08:00
enum mobiletradeanim_showgivemon_command ; $01
mobiletradeanim_showgivemon: macro
2017-12-14 21:38:52 -08:00
db mobiletradeanim_showgivemon_command
endm
2017-12-14 21:38:52 -08:00
enum mobiletradeanim_02_command ; $02
mobiletradeanim_02: macro
2017-12-14 21:38:52 -08:00
db mobiletradeanim_02_command
endm
2017-12-14 21:38:52 -08:00
enum mobiletradeanim_sendmon_command ; $03
mobiletradeanim_sendmon: macro
2017-12-14 21:38:52 -08:00
db mobiletradeanim_sendmon_command
endm
__enum__ set $05
2017-12-14 21:38:52 -08:00
enum mobiletradeanim_05_command ; $05
mobiletradeanim_05: macro
2017-12-14 21:38:52 -08:00
db mobiletradeanim_05_command
endm
2017-12-14 21:38:52 -08:00
enum mobiletradeanim_06_command ; $06
mobiletradeanim_06: macro
2017-12-14 21:38:52 -08:00
db mobiletradeanim_06_command
endm
2017-12-14 21:38:52 -08:00
enum mobiletradeanim_07_command ; $07
mobiletradeanim_07: macro
2017-12-14 21:38:52 -08:00
db mobiletradeanim_07_command
endm
2017-12-14 21:38:52 -08:00
enum mobiletradeanim_receivemon_command ; $08
mobiletradeanim_receivemon: macro
2017-12-14 21:38:52 -08:00
db mobiletradeanim_receivemon_command
endm
__enum__ set $0b
2017-12-14 21:38:52 -08:00
enum mobiletradeanim_showgetmon_command ; $0b
mobiletradeanim_showgetmon: macro
2017-12-14 21:38:52 -08:00
db mobiletradeanim_showgetmon_command
endm
2017-12-14 21:38:52 -08:00
enum mobiletradeanim_end_command ; $0c
mobiletradeanim_end: macro
2017-12-14 21:38:52 -08:00
db mobiletradeanim_end_command
endm
2017-12-14 21:38:52 -08:00
enum mobiletradeanim_showgtsgivemon_command ; $0d
2015-12-25 20:34:33 -08:00
mobiletradeanim_showgtsgivemon: macro
2017-12-14 21:38:52 -08:00
db mobiletradeanim_showgtsgivemon_command
endm
2017-12-14 21:38:52 -08:00
enum mobiletradeanim_showgtsgetmon_command ; $0e
2015-12-25 20:34:33 -08:00
mobiletradeanim_showgtsgetmon: macro
2017-12-14 21:38:52 -08:00
db mobiletradeanim_showgtsgetmon_command
endm
2017-12-14 21:38:52 -08:00
enum mobiletradeanim_0f_command ; $0f
mobiletradeanim_0f: macro
2017-12-14 21:38:52 -08:00
db mobiletradeanim_0f_command
endm
2017-12-14 21:38:52 -08:00
enum mobiletradeanim_10_command ; $10
mobiletradeanim_10: macro
2017-12-14 21:38:52 -08:00
db mobiletradeanim_10_command
endm
2017-12-14 21:38:52 -08:00
enum mobiletradeanim_11_command ; $11
mobiletradeanim_11: macro
2017-12-14 21:38:52 -08:00
db mobiletradeanim_11_command
endm
2017-12-14 21:38:52 -08:00
enum mobiletradeanim_12_command ; $12
mobiletradeanim_12: macro
2017-12-14 21:38:52 -08:00
db mobiletradeanim_12_command
endm
2017-12-14 21:38:52 -08:00
enum mobiletradeanim_showoddegg_command ; $13
mobiletradeanim_showoddegg: macro
2017-12-14 21:38:52 -08:00
db mobiletradeanim_showoddegg_command
endm