mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-14 07:33:44 +01:00
Updated Cmd_jumpifsideaffecting
This commit is contained in:
parent
cd51471c96
commit
0bace94dc7
@ -4183,11 +4183,7 @@ static void Cmd_jumpifsideaffecting(void)
|
|||||||
u32 flags;
|
u32 flags;
|
||||||
const u8 *jumpInstr;
|
const u8 *jumpInstr;
|
||||||
|
|
||||||
if (cmd->battler == BS_ATTACKER)
|
side = GET_BATTLER_SIDE(GetBattlerForBattleScript(cmd->battler));
|
||||||
side = GET_BATTLER_SIDE(gBattlerAttacker);
|
|
||||||
else
|
|
||||||
side = GET_BATTLER_SIDE(gBattlerTarget);
|
|
||||||
|
|
||||||
flags = cmd->flags;
|
flags = cmd->flags;
|
||||||
jumpInstr = cmd->jumpInstr;
|
jumpInstr = cmd->jumpInstr;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user