diff options
Diffstat (limited to 'macros/text.asm')
-rw-r--r-- | macros/text.asm | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/macros/text.asm b/macros/text.asm index ae49d8fbb..8174c5200 100644 --- a/macros/text.asm +++ b/macros/text.asm @@ -1,7 +1,30 @@ -text_from_ram: macro +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. + + +TX_RAM: MACRO db 1 dw \1 - endm + ENDM + +TX_FAR: MACRO + db $16 + dw \1 + db BANK(\1) + ENDM + + +text_from_ram EQUS "TX_RAM" text_dunno1: macro db 5 @@ -58,8 +81,4 @@ current_day: macro db $15 endm -text_jump: macro - db $16 - dw \1 - db BANK(\1) - endm +text_jump EQUS "TX_FAR" |