mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
Text macros.
UnknownText_0x1aa0dc: ; 0x1aa0dc db $0, "Nihihi! This GYM", $4f db "is great! Only", $51 db "girls are allowed", $4f db "here!", $57 ; 0x1aa115 is now UnknownText_0x1aa0dc: ; 0x1aa0dc text "Nihihi! This GYM" line "is great! Only" para "girls are allowed" line "here!" done ; 0x1aa115
This commit is contained in:
parent
1fe2560a36
commit
34d7cbb8b7
14
macros.asm
14
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
|
; macros require rst vectors to be defined
|
||||||
|
Loading…
Reference in New Issue
Block a user