Parting Shot v3

This commit is contained in:
Papa Cancer 2019-02-09 17:40:04 +00:00 committed by GitHub
parent a1be618c47
commit dd34272620
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -364,9 +364,10 @@ BattleScript_EffectPartingShotTryAtk:
BattleScript_EffectPartingShotTrySpAtk:
playstatchangeanimation BS_TARGET, BIT_SPATK, ATK48_STAT_NEGATIVE
setstatchanger STAT_SPATK, 1, TRUE
statbuffchange 0x1, BattleScript_MoveEnd
statbuffchange 0x1, BattleScript_EffectPartingShotSwitch
printfromtable gStatDownStringIds
waitmessage 0x40
BattleScript_EffectPartingShotSwitch:
setbyte sMOVEEND_STATE, 0x0
moveend 0x0, 0x0
jumpifcantswitch ATK4F_DONT_CHECK_STATUSES | BS_ATTACKER, BattleScript_PartingShotEnd