mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Allow players to enter the 70 star door early
This commit is contained in:
parent
c5888aff50
commit
54cd42608d
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue