diff options
author | yenatch <yenatch@gmail.com> | 2014-03-05 22:49:09 -0500 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2014-03-05 22:49:09 -0500 |
commit | 34d7cbb8b7c55f1a1b09f83d74a8c427592674b6 (patch) | |
tree | 13f9006613dc4d0923102338636330776d581a23 /macros.asm | |
parent | 1fe2560a368d4a18de7cf95c536b05dc729c4b23 (diff) |
Text macros.
UnknownText_0x1aa0dc: ; 0x1aa0dc
db $0, "Nihihi! This GYM", $4f
db "is great! Only", $51
db "girls are allowed", $4f
db "here!", $57
; 0x1aa115
is now
UnknownText_0x1aa0dc: ; 0x1aa0dc
text "Nihihi! This GYM"
line "is great! Only"
para "girls are allowed"
line "here!"
done
; 0x1aa115
Diffstat (limited to 'macros.asm')
-rw-r--r-- | macros.asm | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/macros.asm b/macros.asm index 531ead5b5..a35b833df 100644 --- a/macros.asm +++ b/macros.asm @@ -1,4 +1,16 @@ -; rgbds macros + +text EQUS "db $00," ; Start writing text. +next EQUS "db $4e," ; Move a line down. +line EQUS "db $4f," ; Start writing at the bottom line. +para EQUS "db $51," ; Start a new paragraph. +cont 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). + +; Pokedex text commands are only used with pokered. +; They are included for compatibility. +page EQUS "db $50," ; Start a new Pokedex page. +dex EQUS "db $e8, $50" ; End a Pokedex entry. ; macros require rst vectors to be defined |