diff --git a/src/game/level_update.c b/src/game/level_update.c index 35812c57..a9d01a38 100644 --- a/src/game/level_update.c +++ b/src/game/level_update.c @@ -1342,6 +1342,11 @@ void update_menu_level(void) { } } + // set sFirstCastleGroundsMenu to false to prevent wall hugging bug + if (curLevel != LEVEL_CASTLE_GROUNDS) { + sFirstCastleGroundsMenu = false; + } + // set mario/camera pos if (gCurrLevelNum == LEVEL_CASTLE_GROUNDS) { if (!sFirstCastleGroundsMenu) {