mirror of
https://github.com/pret/pokeemerald.git
synced 2026-04-24 23:28:16 -05:00
Cotton down use jumpifabsent (#7318)
Co-authored-by: ghoulslash <pokevoyager0@gmail.com>
This commit is contained in:
parent
809379797e
commit
c7b2c771e1
|
|
@ -6913,7 +6913,7 @@ BattleScript_CottonDownActivates::
|
|||
swapattackerwithtarget
|
||||
setbyte gBattlerTarget, 0
|
||||
BattleScript_CottonDownLoop:
|
||||
jumpiffainted BS_TARGET, TRUE, BattleScript_CottonDownLoopIncrement
|
||||
jumpifabsent BS_TARGET, BattleScript_CottonDownLoopIncrement
|
||||
setstatchanger STAT_SPEED, 1, TRUE
|
||||
jumpifbyteequal gBattlerTarget, gEffectBattler, BattleScript_CottonDownLoopIncrement
|
||||
statbuffchange STAT_CHANGE_NOT_PROTECT_AFFECTED | STAT_CHANGE_ALLOW_PTR, BattleScript_CottonDownLoopIncrement
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user