Allow players to enter the 70 star door early

This commit is contained in:
MysterD 2020-09-20 17:54:25 -07:00
parent 836fef0608
commit 0897889ba7
1 changed files with 5 additions and 0 deletions

View File

@ -1131,6 +1131,11 @@ u32 interact_door(struct MarioState *m, UNUSED u32 interactType, struct Object *
text += requiredNumStars - numStars;
if (display_door_dialog(m, text)) {
if (requiredNumStars == 70) {
m->interactObj = o;
m->usedObj = o;
set_mario_action(m, ACT_ENTERING_STAR_DOOR, should_push_or_pull_door(m, o));
}
sDisplayingDoorText = TRUE;
return TRUE;
}