fix: return enum value so mido moves away properly (#2376)

when pulling in documentation i missed a couple returns
this was causing mido to never stop blocking the path to the deku tree
after searchign the codebase, i found two instances of this mistake
this pr fixes them

Co-authored-by: briaguya <briaguya@alice>
This commit is contained in:
briaguya 2023-01-21 06:31:33 -05:00 committed by GitHub
parent 33539be458
commit 2a9d93dd65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -469,12 +469,12 @@ s16 func_80AAAF04(PlayState* play, Actor* thisx) {
break; break;
case 0x1033: case 0x1033:
case 0x1067: case 0x1067:
NPC_TALK_STATE_ACTION; return NPC_TALK_STATE_ACTION;
} }
return NPC_TALK_STATE_IDLE; return NPC_TALK_STATE_IDLE;
case TEXT_STATE_EVENT: case TEXT_STATE_EVENT:
if (Message_ShouldAdvance(play)) { if (Message_ShouldAdvance(play)) {
NPC_TALK_STATE_ACTION; return NPC_TALK_STATE_ACTION;
} }
default: default:
return NPC_TALK_STATE_TALKING; return NPC_TALK_STATE_TALKING;