summaryrefslogtreecommitdiff
path: root/src/macros/scripts.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/macros/scripts.asm')
-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