Tossing balls lag back to Crystal levels

This commit is contained in:
Thorn Avery 2025-09-01 12:52:11 +10:00
parent 2755b8e6c1
commit 95c17786bb
2 changed files with 8 additions and 2 deletions

4
.gitignore vendored
View file

@ -1,3 +1,7 @@
# BGB
bgb
# compiled objects
*.o

View file

@ -239,10 +239,12 @@ PokeBallEffect:
ld [wWildMon], a
ld a, [wBattleType]
cp BATTLETYPE_CONTEST ; Fixes the Park Ball corrupting graphics when used outside of a Contest
call nz, ReturnToBattle_UseBall
jp z, .skip_return_to_battle
cp BATTLETYPE_SAFARI
call nz, ReturnToBattle_UseBall
jp z, .skip_return_to_battle
call ReturnToBattle_UseBall
.skip_return_to_battle
ld hl, wOptions
res NO_TEXT_SCROLL, [hl]
ld hl, ItemUsedText