Fixed wall hugging issue (#149)

This commit is contained in:
Emerald Lockdown 2022-08-11 03:22:04 -05:00 committed by GitHub
parent ac7b872304
commit 466b0066a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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) {