You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Implement talker events [commit 3] (#30)
This commit is contained in:
@@ -626,9 +626,9 @@ MACRO catchtutorial
|
||||
db \1 ; byte
|
||||
ENDM
|
||||
|
||||
const trainertext_command ; $62
|
||||
MACRO trainertext
|
||||
db trainertext_command
|
||||
const trainerortalkertext_command ; $62
|
||||
MACRO trainerortalkertext
|
||||
db trainerortalkertext_command
|
||||
db \1 ; text_id
|
||||
ENDM
|
||||
|
||||
|
@@ -245,10 +245,10 @@ ENDM
|
||||
MACRO talker
|
||||
;\1: flag: an EVENT_* constant
|
||||
;\2: OPTIONAL or MANDATORY
|
||||
;\3: talker type: TEXT, MODAL_TEXT, SCRIPT
|
||||
;\4: pointer to talker data
|
||||
;\3: talker type: TEXT, SCRIPT
|
||||
;\4: pointer to talker text or script
|
||||
dw \1
|
||||
db \2 | \3
|
||||
db TALKEREVENTTYPE_\2 | TALKERTYPE_\3
|
||||
dw \4
|
||||
ENDM
|
||||
|
||||
|
Reference in New Issue
Block a user