You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Start moving relevant macros into macros/text.asm.
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user