diff options
author | yenatch <yenatch@gmail.com> | 2014-01-21 19:15:48 -0500 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2014-01-21 21:09:22 -0500 |
commit | 795decd080dceed76c99bc16f044d50a696992be (patch) | |
tree | aae074a2d5fccb21f1741a548d33dd7a58ce6292 /macros.asm | |
parent | 93e1316e3db579cdbe95c86af09a97a9d7508308 (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
Diffstat (limited to 'macros.asm')
-rw-r--r-- | macros.asm | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |