fix cotton down overwriting gBattlerAttacker (#3783)
Co-authored-by: ghoulslash <pokevoyager0@gmail.com> Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
This commit is contained in:
parent
37f19ed39e
commit
5cc54f5c96
1 changed files with 2 additions and 0 deletions
|
@ -8016,6 +8016,7 @@ BattleScript_IllusionOff::
|
||||||
return
|
return
|
||||||
|
|
||||||
BattleScript_CottonDownActivates::
|
BattleScript_CottonDownActivates::
|
||||||
|
copybyte sSAVED_BATTLER, gBattlerAttacker
|
||||||
showabilitypopup BS_TARGET
|
showabilitypopup BS_TARGET
|
||||||
pause B_WAIT_TIME_LONG
|
pause B_WAIT_TIME_LONG
|
||||||
destroyabilitypopup
|
destroyabilitypopup
|
||||||
|
@ -8040,6 +8041,7 @@ BattleScript_CottonDownLoopIncrement:
|
||||||
jumpifbytenotequal gBattlerTarget, gBattlersCount, BattleScript_CottonDownLoop
|
jumpifbytenotequal gBattlerTarget, gBattlersCount, BattleScript_CottonDownLoop
|
||||||
BattleScript_CottonDownReturn:
|
BattleScript_CottonDownReturn:
|
||||||
swapattackerwithtarget
|
swapattackerwithtarget
|
||||||
|
copybyte gBattlerAttacker, sSAVED_BATTLER
|
||||||
return
|
return
|
||||||
|
|
||||||
BattleScript_AnticipationActivates::
|
BattleScript_AnticipationActivates::
|
||||||
|
|
Loading…
Reference in a new issue