Implement talker events [commit 3] (#30)

This commit is contained in:
xCrystal
2023-11-28 21:36:51 +01:00
parent 933fca3b4b
commit 6f4fcf580a
10 changed files with 56 additions and 32 deletions

View File

@@ -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

View File

@@ -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