diff options
author | Pokeglitch <pokeglitchx@gmail.com> | 2018-06-15 08:41:58 -0400 |
---|---|---|
committer | Pokeglitch <pokeglitchx@gmail.com> | 2018-06-15 08:41:58 -0400 |
commit | 3c8aef07353f90298aab7f40a92903b050d36a1b (patch) | |
tree | 69246f026465a6c63947898b323fce5ecc0e9643 /macros | |
parent | f6561411a1dfc401cb250da1c74161a9de1dddc0 (diff) |
Updated removed para_done and made para a macro
Diffstat (limited to 'macros')
-rw-r--r-- | macros/text.asm | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/macros/text.asm b/macros/text.asm index bde79dc..fd88918 100644 --- a/macros/text.asm +++ b/macros/text.asm @@ -1,14 +1,20 @@ text EQUS "db $00," ; Start writing text. next EQUS "db \"<NEXT>\"," ; Move a line down. line EQUS "db \"<LINE>\"," ; Start writing at the bottom line. -para EQUS "db \"<PARA>\"," ; Start a new paragraph. cont EQUS "db \"<CONT>\"," ; Scroll to the next line. done EQUS "db \"<DONE>\"" ; End a text box. prompt EQUS "db \"<PROMPT>\"" ; Prompt the player to end a text box (initiating some other event). text_end EQUS "db $50" ; End control code for text processor ; different from @ - -para_done EQUS "db \"<PARA>\",\"<DONE>\"" ;Start a new paragraph and End a text box + +; Start a new paragraph +para: MACRO + if _NARG == 0 + db "<PARA>" + else + db "<PARA>", \1 ; Rest of text + endc +ENDM ; TODO: determine if these are in ; Pokedex text commands are only used with pokered. |