summaryrefslogtreecommitdiff
path: root/src/macros/scripts.asm
diff options
context:
space:
mode:
authorAndrew Martinek <andrewrmartinek@gmail.com>2020-12-18 03:35:38 -0500
committerAndrew Martinek <andrewrmartinek@gmail.com>2020-12-18 03:35:38 -0500
commit4f85f94a0eb08cdbf719a2d96d5b69537d0a72e8 (patch)
treeefcfde7a44be2ab6acdeeaa46f9fddcdfb2a4263 /src/macros/scripts.asm
parentcab6cfc5f29617416baaa4cb6d96932f4b50078a (diff)
Created macros for a few more script commands
Diffstat (limited to 'src/macros/scripts.asm')
-rw-r--r--src/macros/scripts.asm28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/macros/scripts.asm b/src/macros/scripts.asm
index cb3c8a8..a9bd3a9 100644
--- a/src/macros/scripts.asm
+++ b/src/macros/scripts.asm
@@ -114,6 +114,34 @@ ENDM
end_script_loop: MACRO
run_command ScriptCommand_EndScriptLoop1
ENDM
+close_advanced_text_box: MACRO
+ run_command ScriptCommand_CloseAdvancedTextBox
+ENDM
+print_text_string: MACRO
+ run_command ScriptCommand_PrintTextString
+ tx \1
+ENDM
+
+ask_question_jump: MACRO
+ run_command ScriptCommand_AskQuestionJump
+ tx \1
+ dw \2
+ENDM
+start_battle: MACRO
+ run_command ScriptCommand_StartBattle
+ db \1
+ db \2
+ db \3
+ENDM
+print_variable_text: MACRO
+ run_command ScriptCommand_PrintVariableText
+ tx \1
+ tx \2
+ENDM
+
+close_text_box: MACRO
+ run_command ScriptCommand_CloseTextBox
+ENDM
move_player: MACRO
run_command ScriptCommand_MovePlayer