Start moving relevant macros into macros/text.asm.

This commit is contained in:
yenatch
2015-01-20 14:10:55 -08:00
parent 0fa7b553bd
commit 9303752e3f
2 changed files with 93 additions and 94 deletions

View File

@@ -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"