diff options
author | Bryan Bishop <kanzure@gmail.com> | 2014-03-08 08:21:26 -0600 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2014-03-08 08:21:26 -0600 |
commit | d7166960f80dd1e80411f0100812c8d7897455a5 (patch) | |
tree | 56d386badb1b4d6c696cebe75ee495647e6ced7f /macros.asm | |
parent | 69b20fa83e6d1f36f57e876b30c51d14277f78ee (diff) | |
parent | 4517ed2e30ecc626471a972f6189dc28a6143040 (diff) |
Merge pull request #240 from yenatch/text
text macros
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 |