diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index fcac02894..b2bd75d53 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -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;