HandleAction_UseMove minor cleanup (#8214)
This commit is contained in:
parent
16d80e9bb1
commit
30f6f1f8c1
@ -542,7 +542,7 @@ void HandleAction_UseMove(void)
|
||||
}
|
||||
else
|
||||
{
|
||||
gBattlerTarget = *(gBattleStruct->moveTarget + gBattlerAttacker);
|
||||
gBattlerTarget = gBattleStruct->moveTarget[gBattlerAttacker];
|
||||
if (!IsBattlerAlive(gBattlerTarget)
|
||||
&& moveTarget != MOVE_TARGET_OPPONENTS_FIELD
|
||||
&& (!IsBattlerAlly(gBattlerAttacker, gBattlerTarget)))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user