Prevent dialog from showing in main menu (#162)

* Prevent dialog from showing in main menu

* Scuttlebug fix
This commit is contained in:
Agent X 2022-08-25 20:34:27 -04:00 committed by GitHub
parent 01035c895a
commit 101d6f6e8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -1408,6 +1408,12 @@ void update_menu_level(void) {
vec3f_set(gMarioState->pos, 666, -204, 5303);
vec3f_set(gLakituState.curPos, 666, -204, 6803);
gMarioState->faceAngle[1] = 0;
// delete all scuttlebugs as they interfere with the main menu
o = find_object_with_behavior(bhvScuttlebug);
if (o != NULL) {
obj_mark_for_deletion(o);
}
break;
case LEVEL_LLL:
vec3f_set(gMarioState->pos, -2376, 638, 956);