mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-13 07:03:40 +01:00
Spaces
This commit is contained in:
parent
d540eccbb1
commit
028536e2d3
@ -373,13 +373,12 @@ static void PlayerPartnerHandleChooseMove(u32 battler)
|
|||||||
// If partner can mega evolve, do it.
|
// If partner can mega evolve, do it.
|
||||||
if (CanMegaEvolve(battler))
|
if (CanMegaEvolve(battler))
|
||||||
BtlController_EmitTwoReturnValues(BUFFER_B, 10, (chosenMoveId) | (RET_MEGA_EVOLUTION) | (gBattlerTarget << 8));
|
BtlController_EmitTwoReturnValues(BUFFER_B, 10, (chosenMoveId) | (RET_MEGA_EVOLUTION) | (gBattlerTarget << 8));
|
||||||
else if (CanUltraBurst(battler))
|
else if (CanUltraBurst(battler))
|
||||||
BtlController_EmitTwoReturnValues(BUFFER_B, 10, (chosenMoveId) | (RET_ULTRA_BURST) | (gBattlerTarget << 8));
|
BtlController_EmitTwoReturnValues(BUFFER_B, 10, (chosenMoveId) | (RET_ULTRA_BURST) | (gBattlerTarget << 8));
|
||||||
else
|
else
|
||||||
BtlController_EmitTwoReturnValues(BUFFER_B, 10, (chosenMoveId) | (gBattlerTarget << 8));
|
BtlController_EmitTwoReturnValues(BUFFER_B, 10, (chosenMoveId) | (gBattlerTarget << 8));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
PlayerPartnerBufferExecCompleted(battler);
|
PlayerPartnerBufferExecCompleted(battler);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user