Do not consider inactive players when bubbled

This commit is contained in:
MysterD 2020-10-17 23:27:34 -07:00
parent eea5ebb94b
commit 98cc31d6cb
1 changed files with 1 additions and 0 deletions

View File

@ -927,6 +927,7 @@ s32 act_bubbled(struct MarioState* m) {
if (m->playerIndex == 0) {
u8 allInBubble = TRUE;
for (int i = 0; i < MAX_PLAYERS; i++) {
if (!is_player_active(&gMarioStates[i])) { continue; }
if (gMarioStates[i].action != ACT_BUBBLED && gMarioStates[i].health >= 0x100) {
allInBubble = FALSE;
break;