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:
ghoulslash 2021-09-09 09:34:50 -06:00 committed by GitHub
commit 9d3f906fda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6623,9 +6623,11 @@ BattleScript_DefiantActivates::
return
BattleScript_AbilityPopUp:
.if B_ABILITY_POP_UP == TRUE
showabilitypopup BS_ABILITY_BATTLER
recordability BS_ABILITY_BATTLER
pause 40
.endif
sethword sABILITY_OVERWRITE, 0
return