From 3c8aef07353f90298aab7f40a92903b050d36a1b Mon Sep 17 00:00:00 2001 From: Pokeglitch Date: Fri, 15 Jun 2018 08:41:58 -0400 Subject: Updated removed para_done and made para a macro --- macros/text.asm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'macros') 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 \"\"," ; Move a line down. line EQUS "db \"\"," ; Start writing at the bottom line. -para EQUS "db \"\"," ; Start a new paragraph. cont EQUS "db \"\"," ; Scroll to the next line. done EQUS "db \"\"" ; End a text box. prompt EQUS "db \"\"" ; 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 \"\",\"\"" ;Start a new paragraph and End a text box + +; Start a new paragraph +para: MACRO + if _NARG == 0 + db "" + else + db "", \1 ; Rest of text + endc +ENDM ; TODO: determine if these are in ; Pokedex text commands are only used with pokered. -- cgit v1.2.3