Skip to Content
The Alchemy Project

include/field/emote.h

What an actor shows over it: the bubbles of fdActorShowEmoteById and the effects fdEffectSetAttached attaches.

Included by field_engine_walking.c, izumo.c and script.h.

Macros

NameDescription
#defineEMOTE_IN_FRONT 0x100fdActorShowEmoteById's emote flag: the bubble takes sprite priority 1 instead of its actor's.

Enumerations

NameDescription
enumEMOTE { EMOTE_EXCLAMATION, EMOTE_QUESTION, EMOTE_WINCE, EMOTE_ANGER_ … }The bubbles fdActorShowEmoteById can show, by the animation they pick in the bubble's sprite sheet.
enumATTACHED_EFFECT_FLAG { ATTACHED_EFFECT_REMOVE, ATTACHED_EFFECT_ATTACH, ATTACHED_EFF … }fdEffectSetAttached's flags: a mode in the low two bits, and ATTACHED_EFFECT_IN_FRONT.

Description

What an actor shows over it: the bubbles of fdActorShowEmoteById and the effects fdEffectSetAttached attaches.

Macros in detail

EMOTE_IN_FRONT

#define EMOTE_IN_FRONT 0x100

fdActorShowEmoteById's emote flag: the bubble takes sprite priority 1 instead of its actor's. The low four bits pick the bubble (EMOTE).

Referenced by dbPsynergyTestPracticeShout(), dbPsynergyTestStartleAfterBlaze(), dbPsynergyTestStartleAgain(), fdActorShowEmoteById(), fdDjinnRunBattleStartHop(), scAlhafraFindGoldCoins(), scAlhafraMadransArrive(), scAlhafraManorBriggsEscapes(), scAlhafraManorComplainAboutTheMayor(), scAlhafraManorDefendTheMayor(), scAlhafraManorTellOfTheEasternSea(), scAlhafranCaveChauchaAndEoleoVisit(), scAlhafraPirateSeesMadrasMayor(), scAlhafraRoomsGuestsAskForTea(), scAlhafraRoomsHostTellsOfRepairs(), scAlhafraRoomsOverhearCrossboneIsleTale(), scAlhafraRoomsTalkToHostess(), scAlhafraSailorToldToWork(), scAncientLemuriaMeetTheLemurians(), scAnkohlRuinsCarriedOffLedge(), scApojiiIslandsDouseAquaStone(), scApojiiIslandsFatherSeesTheStone(), scAquaRockInsideReadParchTablet(), scAttekaInletHammaShowsTheWings(), scAttekaInletHammetsMessengerArrives(), scAttekaInletShipwrightsStopTheParty(), scChampaCliffCavesAskIfBriggsLearned(), scChampaCliffCavesFightAvimander(), scChampaCliffCavesObabaAsksForSecondPiece(), scChampaCliffCavesObabaForgesTrident(), scChampaCliffCavesObabaMournsSalamander(), scChampaCliffCavesObabaSeesAWeapon(), scChampaFeizhiArrives(), scChampaMeetAlex(), scChampaSailorsSpotFelix(), scContigoBabyThinks(), scContigoReturnToNewHome(), scContigoShowWorkerPuzzled(), scContigoTheReunion(), scDailaMeetAlex(), scDailaRoomsPracticeShout(), scDailaRoomsStartleAtTheLeader(), scDehkanPlateauCannonCornered(), scDehkanPlateauCannonCracksLastPillar(), scDehkanPlateauCannonCracksPillars(), scDehkanPlateauCannonDropsPoundCube(), scDehkanPlateauCannonFleesEast(), scDehkanPlateauCannonFleesOverCracks(), scDehkanPlateauCannonLeapsAway(), scDehkanPlateauCannonPoundsLeaderThrough() and 171 more.

Definition at line 9 of file emote.h.

Enumerations in detail

EMOTE

enum EMOTE

The bubbles fdActorShowEmoteById can show, by the animation they pick in the bubble's sprite sheet.

EnumeratorValueDescription
EMOTE_EXCLAMATION0"!"
EMOTE_QUESTION1"?"
EMOTE_WINCE2a wincing face
EMOTE_ANGER_VEIN3the cross-shaped vein of anger
EMOTE_HEART4a red heart
EMOTE_ELLIPSIS5"..."
EMOTE_LIGHT_BULB6a lit bulb
EMOTE_SCOWL7a scowling face
EMOTE_SMILE8a smiling face
EMOTE_SWEAT_DROP9a sweat drop

Definition at line 13 of file emote.h.

ATTACHED_EFFECT_FLAG

enum ATTACHED_EFFECT_FLAG

fdEffectSetAttached's flags: a mode in the low two bits, and ATTACHED_EFFECT_IN_FRONT.

EnumeratorValueDescription
ATTACHED_EFFECT_REMOVE0removes the attached actor
ATTACHED_EFFECT_ATTACH1attaches one that stays until removed
ATTACHED_EFFECT_ONCE2shows a one-off one that ends by itself
ATTACHED_EFFECT_IN_FRONT0x100The attached actor takes sprite priority 1, not the actor's

Definition at line 29 of file emote.h.