From 7cf5bce67b2a9ab04e59ebe2b7613903e97b4cf9 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+Agent-11@users.noreply.github.com> Date: Tue, 5 Dec 2023 19:36:55 -0500 Subject: [PATCH] Improve first person cam bowser check --- src/game/first_person_cam.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game/first_person_cam.c b/src/game/first_person_cam.c index aa091a400..4f3efd0e8 100644 --- a/src/game/first_person_cam.c +++ b/src/game/first_person_cam.c @@ -39,7 +39,9 @@ bool first_person_check_cancels(struct MarioState *m) { if (gLuaLoadingMod != NULL) { return false; } struct Object *bowser = find_object_with_behavior(bhvBowser); - if (bowser != NULL && (bowser->oAction == 5 || bowser->oAction == 6)) { + if ((gCurrLevelNum == LEVEL_BOWSER_1 || gCurrLevelNum == LEVEL_BOWSER_2 || gCurrLevelNum == LEVEL_BOWSER_3) && + bowser != NULL && + (bowser->oAction == 5 || bowser->oAction == 6)) { return true; }