mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
Oopsie. Wind Power doesn't boost Attack lol
This commit is contained in:
parent
d943f891c5
commit
31cd076f9d
@ -2884,8 +2884,8 @@ BattleScript_TryTailwindAbilitiesLoop:
|
|||||||
setbyte gBattlerTarget, 0
|
setbyte gBattlerTarget, 0
|
||||||
BattleScript_TryTailwindAbilitiesLoop_Iter:
|
BattleScript_TryTailwindAbilitiesLoop_Iter:
|
||||||
trywindriderpower BS_TARGET, BattleScript_TryTailwindAbilitiesLoop_Increment
|
trywindriderpower BS_TARGET, BattleScript_TryTailwindAbilitiesLoop_Increment
|
||||||
call BattleScript_AbilityPopUp
|
jumpifability BS_TARGET, ABILITY_WIND_RIDER, BattleScript_TryTailwindAbilitiesLoop_WindRider
|
||||||
modifybattlerstatstage BS_TARGET, STAT_ATK, INCREASE, 1, BattleScript_TryTailwindAbilitiesLoop_Increment, ANIM_ON
|
jumpifability BS_TARGET, ABILITY_WIND_POWER, BattleScript_TryTailwindAbilitiesLoop_WindPower
|
||||||
BattleScript_TryTailwindAbilitiesLoop_Increment:
|
BattleScript_TryTailwindAbilitiesLoop_Increment:
|
||||||
addbyte gBattlerTarget, 0x1
|
addbyte gBattlerTarget, 0x1
|
||||||
jumpifbytenotequal gBattlerTarget, gBattlersCount, BattleScript_TryTailwindAbilitiesLoop_Iter
|
jumpifbytenotequal gBattlerTarget, gBattlersCount, BattleScript_TryTailwindAbilitiesLoop_Iter
|
||||||
@ -2893,6 +2893,21 @@ BattleScript_TryTailwindAbilitiesLoop_Ret:
|
|||||||
restoretarget
|
restoretarget
|
||||||
return
|
return
|
||||||
|
|
||||||
|
BattleScript_TryTailwindAbilitiesLoop_WindRider:
|
||||||
|
call BattleScript_AbilityPopUp
|
||||||
|
modifybattlerstatstage BS_TARGET, STAT_ATK, INCREASE, 1, BattleScript_TryTailwindAbilitiesLoop_Increment, ANIM_ON
|
||||||
|
goto BattleScript_TryTailwindAbilitiesLoop_Increment
|
||||||
|
|
||||||
|
BattleScript_TryTailwindAbilitiesLoop_WindPower:
|
||||||
|
call BattleScript_AbilityPopUp
|
||||||
|
copybyte sSAVED_BATTLER, gBattlerAttacker
|
||||||
|
copybyte gBattlerAttacker, gBattlerTarget
|
||||||
|
setcharge
|
||||||
|
printstring STRINGID_BEINGHITCHARGEDPKMNWITHPOWER
|
||||||
|
waitmessage B_WAIT_TIME_LONG
|
||||||
|
copybyte gBattlerAttacker, sSAVED_BATTLER
|
||||||
|
goto BattleScript_TryTailwindAbilitiesLoop_Increment
|
||||||
|
|
||||||
BattleScript_EffectMircleEye:
|
BattleScript_EffectMircleEye:
|
||||||
attackcanceler
|
attackcanceler
|
||||||
accuracycheck BattleScript_PrintMoveMissed, ACC_CURR_MOVE
|
accuracycheck BattleScript_PrintMoveMissed, ACC_CURR_MOVE
|
||||||
|
Loading…
Reference in New Issue
Block a user