mirror of
https://github.com/pret/pokeemerald.git
synced 2026-05-09 12:23:20 -05:00
Updated Cmd_jumpifsideaffecting (#3200)
This commit is contained in:
commit
dc1d44eefd
|
|
@ -4183,11 +4183,7 @@ static void Cmd_jumpifsideaffecting(void)
|
|||
u32 flags;
|
||||
const u8 *jumpInstr;
|
||||
|
||||
if (cmd->battler == BS_ATTACKER)
|
||||
side = GET_BATTLER_SIDE(gBattlerAttacker);
|
||||
else
|
||||
side = GET_BATTLER_SIDE(gBattlerTarget);
|
||||
|
||||
side = GET_BATTLER_SIDE(GetBattlerForBattleScript(cmd->battler));
|
||||
flags = cmd->flags;
|
||||
jumpInstr = cmd->jumpInstr;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user