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 1] (#30)
This commit is contained in:
@@ -89,6 +89,7 @@ DEF RETVAR_EXECUTE EQU 2 << 6
|
||||
const PLAYEREVENT_WHITEOUT
|
||||
const PLAYEREVENT_HATCH
|
||||
const PLAYEREVENT_JOYCHANGEFACING
|
||||
const PLAYEREVENT_SEENBYTALKER
|
||||
DEF NUM_PLAYER_EVENTS EQU const_value
|
||||
|
||||
; PlayerMovementPointers indexes (see engine/overworld/events.asm)
|
||||
@@ -137,7 +138,7 @@ DEF NUM_BGEVENTS EQU const_value
|
||||
const OBJECTTYPE_SCRIPT
|
||||
const OBJECTTYPE_ITEMBALL
|
||||
const OBJECTTYPE_TRAINER
|
||||
const OBJECTTYPE_3
|
||||
const OBJECTTYPE_TALKER
|
||||
const OBJECTTYPE_4
|
||||
const OBJECTTYPE_5
|
||||
const OBJECTTYPE_6
|
||||
@@ -188,6 +189,7 @@ DEF NUM_FLOORS EQU const_value
|
||||
; Emotes indexes (see data/sprites/emotes.asm)
|
||||
const_def
|
||||
const EMOTE_SHOCK
|
||||
const EMOTE_TALK
|
||||
const EMOTE_QUESTION
|
||||
const EMOTE_HAPPY
|
||||
const EMOTE_SAD
|
||||
|
@@ -45,3 +45,13 @@ DEF CONTEXT_USE EQU 1 << CONTEXT_USE_F
|
||||
const TRAINERTYPE_MOVES
|
||||
const TRAINERTYPE_ITEM
|
||||
const TRAINERTYPE_ITEM_MOVES
|
||||
|
||||
; talker events (from talker macro and high bit of wTempTalkerType)
|
||||
DEF TALKER_OPTIONAL EQU %0
|
||||
DEF TALKER_MANDATORY EQU %1
|
||||
|
||||
; talker types (from talker macro and low seven bits of wTempTalkerType)
|
||||
const_def
|
||||
const TALKERTYPE_TEXT
|
||||
const TALKERTYPE_MODAL_TEXT
|
||||
const TALKERTYPE_SCRIPT
|
||||
|
Reference in New Issue
Block a user