Allow bubbled players to go through elevators
This commit is contained in:
parent
196ac547ef
commit
c50794773c
|
@ -155,4 +155,11 @@ struct SpawnParticlesInfo D_8032F3FC = { 0, 5, MODEL_WHITE_PARTICLE_DL, 0,
|
|||
|
||||
void bhv_elevator_loop(void) {
|
||||
cur_obj_call_action_function(sElevatorActions);
|
||||
|
||||
// allow bubbled players to pass through
|
||||
if (gMarioStates[0].action == ACT_BUBBLED) {
|
||||
cur_obj_become_intangible();
|
||||
} else {
|
||||
cur_obj_become_tangible();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue