Moxie spread move fix

This commit is contained in:
kleeenexfeu 2021-12-04 17:38:26 +01:00 committed by GitHub
parent ae1d124a0c
commit e7321c22f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5245,7 +5245,7 @@ static void Cmd_moveend(void)
if (IsBattlerAlive(battlerId))
{
gBattlerTarget = battlerId;
gBattleStruct->moveTarget[gBattlerAttacker] = gBattlerTarget = battlerId; // Fix for moxie spread moves
gBattleScripting.moveendState = 0;
MoveValuesCleanUp();
gBattleScripting.moveEffect = gBattleScripting.savedMoveEffect;