pokecrystal/macros/scripts/trade_anims.asm

255 lines
5.6 KiB
NASM
Raw Normal View History

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