mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-28 21:30:45 +01:00
Merge pull request #1537 from DizzyEggg/intimidate_popup
Fix lag caused by ability pop-up while it's set to False
This commit is contained in:
commit
9d3f906fda
@ -6623,9 +6623,11 @@ BattleScript_DefiantActivates::
|
|||||||
return
|
return
|
||||||
|
|
||||||
BattleScript_AbilityPopUp:
|
BattleScript_AbilityPopUp:
|
||||||
|
.if B_ABILITY_POP_UP == TRUE
|
||||||
showabilitypopup BS_ABILITY_BATTLER
|
showabilitypopup BS_ABILITY_BATTLER
|
||||||
recordability BS_ABILITY_BATTLER
|
recordability BS_ABILITY_BATTLER
|
||||||
pause 40
|
pause 40
|
||||||
|
.endif
|
||||||
sethword sABILITY_OVERWRITE, 0
|
sethword sABILITY_OVERWRITE, 0
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user