mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
6c3000efd2
Updated map and mapgroup macros to get around an rgbds bug. Legendary beast locale handling annotated and relabeled. Added a new constant NUM_ENGINE_FLAGS for use in the EngineFlagAction function. This will make it easier for modders to add or remove engine flags.
84 lines
1.1 KiB
NASM
84 lines
1.1 KiB
NASM
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 EQU $01
|
|
TX_FAR EQU $16
|
|
|
|
text_jump: MACRO
|
|
db TX_FAR
|
|
dw \1
|
|
db BANK(\1)
|
|
ENDM
|
|
|
|
text_from_ram: MACRO
|
|
db TX_RAM
|
|
dw \1
|
|
ENDM
|
|
|
|
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
|
|
|