Hold Hands fix
Better check for valid ally. If there isn't one, the target defaults to the attacker, causing the move to fail.
This commit is contained in:
parent
f8713f9c15
commit
fd6dc98045
1 changed files with 1 additions and 1 deletions
|
@ -2851,7 +2851,7 @@ BattleScript_EffectDoNothing::
|
|||
goto BattleScript_MoveEnd
|
||||
BattleScript_EffectHoldHands:
|
||||
jumpifsideaffecting BS_TARGET, SIDE_STATUS_CRAFTY_SHIELD, BattleScript_ButItFailed
|
||||
jumpifnotbattletype BATTLE_TYPE_TWO_OPPONENTS | BATTLE_TYPE_DOUBLE, BattleScript_ButItFailed
|
||||
jumpifbyteequal gBattlerTarget, gBattlerAttacker, BattleScript_ButItFailed
|
||||
attackanimation
|
||||
waitanimation
|
||||
goto BattleScript_MoveEnd
|
||||
|
|
Loading…
Reference in a new issue