mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 14:31:17 +00:00
Introduce Face Reaction Enum (#1586)
* face reactions * cleanup * cleanup fake match * PR Review * while I'm here * mask reaction * small fix * Small cleanup * oops
This commit is contained in:
parent
c1a499c3ae
commit
e146d7bc26
37 changed files with 302 additions and 125 deletions
|
@ -100,10 +100,10 @@ void EnMu_Interact(EnMu* this, PlayState* play) {
|
|||
|
||||
u16 EnMu_GetTextId(PlayState* play, Actor* thisx) {
|
||||
EnMu* this = (EnMu*)thisx;
|
||||
u16 faceReaction = Text_GetFaceReaction(play, this->actor.params + 0x3A);
|
||||
u16 textId = MaskReaction_GetTextId(play, MASK_REACTION_SET_HAGGLING_TOWNSPEOPLE_1 + this->actor.params);
|
||||
|
||||
if (faceReaction != 0) {
|
||||
return faceReaction;
|
||||
if (textId != 0) {
|
||||
return textId;
|
||||
}
|
||||
return this->defaultTextId;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue