Fix boolean logic error breaking Talon cutscene skip (#7211)

This commit is contained in:
Philip Dubé
2026-09-17 02:09:18 +00:00
committed by GitHub
parent 01a4f3693d
commit 02c7632a33
+1 -4
View File
@@ -461,13 +461,10 @@ void EnTa_RunAwayStart(EnTa* this, PlayState* play) {
void EnTa_TalkAwakeInCastle(EnTa* this, PlayState* play) {
if (Message_GetState(&play->msgCtx) == TEXT_STATE_EVENT) {
s16 csCamIdx = OnePointCutscene_Init(play, 4175, -99, &this->actor, CAM_ID_MAIN);
OnePointCutscene_Init(play, 4175, -99, &this->actor, CAM_ID_MAIN);
EnTa_SetupAction(this, EnTa_RunAwayStart, EnTa_AnimRepeatCurrent);
this->timer = 5;
Flags_SetEventChkInf(EVENTCHKINF_TALON_RETURNED_FROM_CASTLE);
if (GameInteractor_Should(VB_PLAY_ONEPOINT_ACTOR_CS, true, this)) {
OnePointCutscene_EndCutscene(play, csCamIdx);
}
Animation_PlayOnce(&this->skelAnime, &gTalonRunTransitionAnim);
this->currentAnimation = &gTalonRunAnim;
}