Fix missable Malon check (#6299)

Added a case for the VB_MALON_RETURN_FROM_CASTLE vanilla behavior flag.
This lets Malon stay until you both get the egg and wake up Talon making the egg flag unmissable.
This commit is contained in:
Jerom Venneker
2026-02-28 15:57:27 +01:00
committed by GitHub
parent 00ac1d566d
commit a393f48c7c
6 changed files with 41 additions and 1 deletions
@@ -329,7 +329,9 @@ void func_80AA0D88(EnMa1* this, PlayState* play) {
}
if ((play->sceneNum == SCENE_HYRULE_CASTLE) && malonReturnedFromCastle) {
Actor_Kill(&this->actor);
if (GameInteractor_Should(VB_SEND_MALON_HOME, true)) {
Actor_Kill(&this->actor);
}
} else if (!malonReturnedFromCastle || malonTaughtEponasSong) {
if (this->interactInfo.talkState == NPC_TALK_STATE_ACTION) {
this->actionFunc = func_80AA0EA0;