summaryrefslogtreecommitdiff
path: root/src/macros
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2021-01-09 23:57:21 -0600
committerdannye <33dannye@gmail.com>2021-01-10 18:24:08 -0600
commitc8c78a2213f23ca6425feea875be596c8019e8eb (patch)
treebb207af77274a45bbcf3b7cebae98b0638e505fc /src/macros
parent62de45a387eb955c730aa08400cd1895e35ce2d7 (diff)
Add Script_Sam
Diffstat (limited to 'src/macros')
-rw-r--r--src/macros/scripts.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/macros/scripts.asm b/src/macros/scripts.asm
index 54f78e9..5884ffc 100644
--- a/src/macros/scripts.asm
+++ b/src/macros/scripts.asm
@@ -477,22 +477,22 @@ zero_out_flag_value: MACRO
db \1 ; flag (ex EVENT_FLAG_11)
ENDM
-; Jumps to a script position if a flag is zero
-jump_if_flag_zero_2: MACRO
- run_command ScriptCommand_JumpIfFlagZero2
+; Jumps to a script position if a flag is nonzero
+jump_if_flag_nonzero_2: MACRO
+ run_command ScriptCommand_JumpIfFlagNonzero2
db \1 ; flag (ex EVENT_FLAG_11)
dw \2 ; Script Label
ENDM
-; Jumps to a script position if a flag is nonzero
-jump_if_flag_nonzero_2: MACRO
- run_command ScriptCommand_JumpIfFlagNonzero2
+; Jumps to a script position if a flag is zero
+jump_if_flag_zero_2: MACRO
+ run_command ScriptCommand_JumpIfFlagZero2
db \1 ; flag (ex EVENT_FLAG_11)
dw \2 ; Script Label
ENDM
; Increments given flags value (truncates the new value)
-script_increment_flag_value: MACRO
+increment_flag_value: MACRO
run_command ScriptCommand_IncrementFlagValue
db \1 ; flag (ex EVENT_FLAG_11)
ENDM