From 795decd080dceed76c99bc16f044d50a696992be Mon Sep 17 00:00:00 2001 From: yenatch Date: Tue, 21 Jan 2014 19:15:48 -0500 Subject: [PATCH] Add text macros Before text looked like: _CeladonCityText2: ; a5a4b (29:5a4b) db $0, "Heheh! This GYM", $4f db "is great! It's", $55 db "full of women!", $57 Now it looks like: _CeladonCityText2: ; a5a4b (29:5a4b) text "Heheh! This GYM" line "is great! It's" next "full of women!" done --- macros.asm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/macros.asm b/macros.asm index be1879b7..e07e0404 100644 --- a/macros.asm +++ b/macros.asm @@ -1,4 +1,12 @@ +text EQUS "db $00," ; Start writing text. +line EQUS "db $4f," ; Start writing at the bottom line. +page EQUS "db $51," ; Start a new page. +next EQUS "db $55," ; Scroll to the next line. +done EQUS "db $57" ; End a text box. +prompt EQUS "db $58" ; Prompt the player to end a text box (initiating some other event). + + ;\1 = X ;\2 = Y FuncCoord: MACRO