mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-06 19:50:01 +01:00
Merge pull request #2389 from AsparagusEduardo/RHH/pr/FixZMove
Fixed Z-Move not being cleared if Pokémon faints
This commit is contained in:
commit
e3f37ad825
@ -3303,6 +3303,11 @@ void FaintClearSetData(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Clear Z-Move data
|
||||||
|
gBattleStruct->zmove.active = FALSE;
|
||||||
|
gBattleStruct->zmove.toBeUsed[gActiveBattler] = MOVE_NONE;
|
||||||
|
gBattleStruct->zmove.effect = EFFECT_HIT;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void DoBattleIntro(void)
|
static void DoBattleIntro(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user