summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-01-21 19:15:48 -0500
committeryenatch <yenatch@gmail.com>2014-01-21 21:09:22 -0500
commit795decd080dceed76c99bc16f044d50a696992be (patch)
treeaae074a2d5fccb21f1741a548d33dd7a58ce6292
parent93e1316e3db579cdbe95c86af09a97a9d7508308 (diff)
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
-rw-r--r--macros.asm8
1 files changed, 8 insertions, 0 deletions
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