mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-18 01:14:19 +01:00
syntax
This commit is contained in:
parent
da20dae9c3
commit
62b31aec55
@ -4707,8 +4707,8 @@ static void TryChangeTurnOrder(void)
|
|||||||
{
|
{
|
||||||
u8 battler1 = gBattlerByTurnOrder[i];
|
u8 battler1 = gBattlerByTurnOrder[i];
|
||||||
u8 battler2 = gBattlerByTurnOrder[j];
|
u8 battler2 = gBattlerByTurnOrder[j];
|
||||||
if (gActionsByTurnOrder[i] = B_ACTION_USE_MOVE
|
if (gActionsByTurnOrder[i] == B_ACTION_USE_MOVE
|
||||||
&& gActionsByTurnOrder[j] = B_ACTION_USE_MOVE)
|
&& gActionsByTurnOrder[j] == B_ACTION_USE_MOVE)
|
||||||
{
|
{
|
||||||
if (GetWhoStrikesFirst(battler1, battler2, FALSE))
|
if (GetWhoStrikesFirst(battler1, battler2, FALSE))
|
||||||
SwapTurnOrder(i, j);
|
SwapTurnOrder(i, j);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user