mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-02 15:50:45 +01:00
Moxie spread move fix
This commit is contained in:
parent
ae1d124a0c
commit
e7321c22f2
@ -5245,7 +5245,7 @@ static void Cmd_moveend(void)
|
|||||||
|
|
||||||
if (IsBattlerAlive(battlerId))
|
if (IsBattlerAlive(battlerId))
|
||||||
{
|
{
|
||||||
gBattlerTarget = battlerId;
|
gBattleStruct->moveTarget[gBattlerAttacker] = gBattlerTarget = battlerId; // Fix for moxie spread moves
|
||||||
gBattleScripting.moveendState = 0;
|
gBattleScripting.moveendState = 0;
|
||||||
MoveValuesCleanUp();
|
MoveValuesCleanUp();
|
||||||
gBattleScripting.moveEffect = gBattleScripting.savedMoveEffect;
|
gBattleScripting.moveEffect = gBattleScripting.savedMoveEffect;
|
||||||
|
Loading…
Reference in New Issue
Block a user