Improve first person cam bowser check

This commit is contained in:
Agent X 2023-12-05 19:36:55 -05:00
parent 7368270986
commit 7cf5bce67b

View file

@ -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;
}