mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-13 23:23:43 +01:00
MOVE_EFFECT_MEAN_LOOK now fails on ghost types.
This commit is contained in:
parent
8bdcbb856d
commit
f4ff76c8ae
@ -3977,6 +3977,9 @@ BattleScript_EffectMeanLook::
|
||||
accuracycheck BattleScript_ButItFailed, NO_ACC_CALC_CHECK_LOCK_ON
|
||||
jumpifstatus2 BS_TARGET, STATUS2_ESCAPE_PREVENTION, BattleScript_ButItFailed
|
||||
jumpifsubstituteblocks BattleScript_ButItFailed
|
||||
.if B_GHOSTS_ESCAPE >= GEN_6
|
||||
jumpiftype BS_TARGET, TYPE_GHOST, BattleScript_ButItFailed
|
||||
.endif
|
||||
attackanimation
|
||||
waitanimation
|
||||
setmoveeffect MOVE_EFFECT_PREVENT_ESCAPE
|
||||
|
Loading…
x
Reference in New Issue
Block a user