Skip to content

Commit

Permalink
Fixes ability pop up config (rh-hideout#4339)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexOn1ine authored and Pawkkie committed May 16, 2024
1 parent a310b96 commit 086f191
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions data/battle_scripts_1.s
Original file line number Diff line number Diff line change
Expand Up @@ -8032,9 +8032,7 @@ BattleScript_IllusionOff::

BattleScript_CottonDownActivates::
copybyte sSAVED_BATTLER, gBattlerAttacker
showabilitypopup BS_TARGET
pause B_WAIT_TIME_LONG
destroyabilitypopup
call BattleScript_AbilityPopUpTarget
copybyte gEffectBattler, gBattlerTarget
swapattackerwithtarget
setbyte gBattlerTarget, 0
Expand Down Expand Up @@ -8686,10 +8684,12 @@ BattleScript_TryAdrenalineOrbRet:
return

BattleScript_IntimidateActivates::
showabilitypopup BS_ATTACKER
copybyte sSAVED_BATTLER, gBattlerTarget
.if B_ABILITY_POP_UP == TRUE
showabilitypopup BS_ATTACKER
pause B_WAIT_TIME_LONG
destroyabilitypopup
.endif
setbyte gBattlerTarget, 0
BattleScript_IntimidateLoop:
jumpifbyteequal gBattlerTarget, gBattlerAttacker, BattleScript_IntimidateLoopIncrement
Expand Down Expand Up @@ -10388,7 +10388,7 @@ BattleScript_WellBakedBodyActivates::
attackstring
ppreduce
pause B_WAIT_TIME_SHORT
showabilitypopup BS_TARGET
call BattleScript_AbilityPopUpTarget
orhalfword gMoveResultFlags, MOVE_RESULT_NO_EFFECT
modifybattlerstatstage BS_TARGET, STAT_DEF, INCREASE, 1, BattleScript_WellBakedBodyEnd, ANIM_ON
BattleScript_WellBakedBodyEnd:
Expand All @@ -10398,7 +10398,7 @@ BattleScript_WindRiderActivatesMoveEnd::
attackstring
ppreduce
pause B_WAIT_TIME_SHORT
showabilitypopup BS_TARGET
call BattleScript_AbilityPopUpTarget
orhalfword gMoveResultFlags, MOVE_RESULT_NO_EFFECT
modifybattlerstatstage BS_TARGET, STAT_ATK, INCREASE, 1, BattleScript_WindRiderActivatesMoveEnd_End, ANIM_ON
BattleScript_WindRiderActivatesMoveEnd_End:
Expand All @@ -10407,7 +10407,7 @@ BattleScript_WindRiderActivatesMoveEnd_End:
BattleScript_GoodAsGoldActivates::
attackstring
ppreduce
showabilitypopup BS_TARGET
call BattleScript_AbilityPopUpTarget
pause B_WAIT_TIME_SHORT
printstring STRINGID_ITDOESNTAFFECT
waitmessage B_WAIT_TIME_MED
Expand Down

0 comments on commit 086f191

Please sign in to comment.