2015-01-20 22:10:55 +00:00
|
|
|
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.
|
|
|
|
|
|
|
|
|
2015-07-25 18:25:37 +00:00
|
|
|
TX_RAM EQU $01
|
2015-07-22 19:57:02 +00:00
|
|
|
TX_FAR EQU $16
|
2015-01-20 22:10:55 +00:00
|
|
|
|
2015-07-22 19:57:02 +00:00
|
|
|
text_jump: MACRO
|
|
|
|
db TX_FAR
|
2015-01-20 22:10:55 +00:00
|
|
|
dw \1
|
|
|
|
db BANK(\1)
|
|
|
|
ENDM
|
|
|
|
|
2015-07-22 19:57:02 +00:00
|
|
|
text_from_ram: MACRO
|
|
|
|
db TX_RAM
|
|
|
|
dw \1
|
|
|
|
ENDM
|
2015-01-20 08:01:23 +00:00
|
|
|
|
|
|
|
text_dunno1: macro
|
|
|
|
db 5
|
|
|
|
endm
|
|
|
|
|
|
|
|
text_waitbutton: macro
|
|
|
|
db 6
|
|
|
|
endm
|
|
|
|
|
|
|
|
text_dunno2: macro
|
|
|
|
db 7
|
|
|
|
endm
|
|
|
|
|
|
|
|
start_asm: macro
|
|
|
|
db 8
|
|
|
|
endm
|
|
|
|
|
|
|
|
deciram: macro
|
|
|
|
db 9
|
|
|
|
dw \1
|
|
|
|
db \2
|
|
|
|
endm
|
|
|
|
|
|
|
|
interpret_data: macro
|
|
|
|
db 10
|
|
|
|
endm
|
|
|
|
|
|
|
|
sound0: macro
|
|
|
|
db 11
|
|
|
|
endm
|
|
|
|
|
|
|
|
limited_interpret_data: macro
|
|
|
|
db 12
|
|
|
|
db \1
|
|
|
|
endm
|
|
|
|
|
|
|
|
sound0x0F: macro
|
|
|
|
db $f
|
|
|
|
endm
|
|
|
|
|
|
|
|
sound0x02: macro
|
|
|
|
db $10
|
|
|
|
endm
|
|
|
|
|
|
|
|
sound0x0A: macro
|
|
|
|
db $11
|
|
|
|
endm
|
|
|
|
|
|
|
|
sound0x2C: macro
|
|
|
|
db $13
|
|
|
|
endm
|
|
|
|
|
|
|
|
current_day: macro
|
|
|
|
db $15
|
|
|
|
endm
|
|
|
|
|