diff options
author | YamaArashi <shadow962@live.com> | 2016-08-19 00:06:15 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-08-19 00:06:15 -0700 |
commit | ae8f46b87eb3c096bdf36ec978f2c971fa8de01e (patch) | |
tree | 31d8bedb928e764818496b0426ef8e1c7a23f962 /asm/macros/contest_ai_script.s | |
parent | 9cd8ced73a54c2cf481a7b1a03bbe1504f51a866 (diff) |
name more macros
Diffstat (limited to 'asm/macros/contest_ai_script.s')
-rwxr-xr-x | asm/macros/contest_ai_script.s | 46 |
1 files changed, 36 insertions, 10 deletions
diff --git a/asm/macros/contest_ai_script.s b/asm/macros/contest_ai_script.s index f32d7f500..c35b61239 100755 --- a/asm/macros/contest_ai_script.s +++ b/asm/macros/contest_ai_script.s @@ -6,44 +6,68 @@ .byte \score .endm -@ 01 -@ 02 -@ 03 +@ turn (AKA "Appeal No.") - .macro contest_04 param addr + .macro get_turn + .byte 0x01 + .endm + + .macro if_turn_less_than param, addr + .byte 0x02 + .byte \param + .4byte \addr + .endm + + .macro if_turn_more_than param, addr + .byte 0x03 + .byte \param + .4byte \addr + .endm + + .macro if_turn_eq param, addr .byte 0x04 .byte \param .4byte \addr .endm - .macro contest_05 param addr + .macro if_turn_not_eq param, addr .byte 0x05 .byte \param .4byte \addr .endm -@ 06 +@ audience excitement + + .macro get_excitement + .byte 0x06 + .endm - .macro contest_07 param addr + .macro if_excitement_less_than param, addr .byte 0x07 .byte \param .4byte \addr .endm -@ 08 + .macro if_excitement_more_than param, addr + .byte 0x08 + .byte \param + .4byte \addr + .endm - .macro contest_09 param addr + .macro if_excitement_eq param, addr .byte 0x09 .byte \param .4byte \addr .endm - .macro contest_0A param addr + .macro if_excitement_not_eq param, addr .byte 0x0A .byte \param .4byte \addr .endm +@ the order that the user goes in the current turn + .macro get_user_order .byte 0x0B .endm @@ -72,6 +96,8 @@ .4byte \addr .endm +@ user condition + .macro get_user_condition .byte 0x10 .endm |