diff options
author | YamaArashi <shadow962@live.com> | 2016-08-19 00:40:46 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-08-19 00:40:46 -0700 |
commit | 26e4104dbf5f37bb67c21dadd50351f77dcf6321 (patch) | |
tree | e41c72eeae4d08daaedf471c90a79b61f119d6fc /asm/macros/contest_ai_script.s | |
parent | 6cb1bbe3c971fcc4c612a3ab68c39edafb710cf7 (diff) |
effect type macros
Diffstat (limited to 'asm/macros/contest_ai_script.s')
-rwxr-xr-x | asm/macros/contest_ai_script.s | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/asm/macros/contest_ai_script.s b/asm/macros/contest_ai_script.s index c73b9a774..a5f2d7cc2 100755 --- a/asm/macros/contest_ai_script.s +++ b/asm/macros/contest_ai_script.s @@ -203,15 +203,19 @@ .4byte \addr .endm -@ 2A +@ move effect type - .macro contest_2B param addr + .macro get_effect_type + .byte 0x2A + .endm + + .macro if_effect_type_eq param, addr .byte 0x2B .byte \param .4byte \addr .endm - .macro contest_2C param addr + .macro if_effect_type_not_eq param, addr .byte 0x2C .byte \param .4byte \addr |