Parting Shot v2
With DizzyEgg's amendment
This commit is contained in:
parent
62fd90caa0
commit
a1be618c47
1 changed files with 7 additions and 6 deletions
|
@ -367,14 +367,14 @@ BattleScript_EffectPartingShotTrySpAtk:
|
|||
statbuffchange 0x1, BattleScript_MoveEnd
|
||||
printfromtable gStatDownStringIds
|
||||
waitmessage 0x40
|
||||
jumpifcantswitch ATK4F_DONT_CHECK_STATUSES | BS_ATTACKER, BattleScript_MoveEnd
|
||||
openpartyscreen BS_ATTACKER, BattleScript_ButItFailed
|
||||
printstring STRINGID_PKMNWENTBACK
|
||||
setbyte sMOVEEND_STATE, 0x0
|
||||
moveend 0x0, 0x0
|
||||
jumpifcantswitch ATK4F_DONT_CHECK_STATUSES | BS_ATTACKER, BattleScript_PartingShotEnd
|
||||
openpartyscreen 0x1, BattleScript_PartingShotEnd
|
||||
switchoutabilities BS_ATTACKER
|
||||
waitstate
|
||||
switchhandleorder BS_ATTACKER, 0x2
|
||||
returnatktoball
|
||||
waitstate
|
||||
returntoball BS_ATTACKER
|
||||
getswitchedmondata BS_ATTACKER
|
||||
switchindataupdate BS_ATTACKER
|
||||
hpthresholds BS_ATTACKER
|
||||
|
@ -382,7 +382,8 @@ BattleScript_EffectPartingShotTrySpAtk:
|
|||
switchinanim BS_ATTACKER, TRUE
|
||||
waitstate
|
||||
switchineffects BS_ATTACKER
|
||||
goto BattleScript_MoveEnd
|
||||
BattleScript_PartingShotEnd:
|
||||
end
|
||||
|
||||
BattleScript_EffectSpAtkUpHit:
|
||||
setmoveeffect MOVE_EFFECT_SP_ATK_PLUS_1 | MOVE_EFFECT_AFFECTS_USER
|
||||
|
|
Loading…
Reference in a new issue