Merge pull request #1996 from Jaizu/fix_pokeblocks

Fix Pokeblock script missing a releaseall
This commit is contained in:
GriffinR 2024-05-21 11:58:08 -04:00 committed by GitHub
commit 999731fbf1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -53,6 +53,9 @@ SafariZone_EventScript_ChoosePokeblock::
special OpenPokeblockCaseOnFeeder special OpenPokeblockCaseOnFeeder
waitstate waitstate
goto_if_ne VAR_RESULT, 0xFFFF, SafariZone_EventScript_PokeblockPlaced goto_if_ne VAR_RESULT, 0xFFFF, SafariZone_EventScript_PokeblockPlaced
#ifdef BUGFIX
releaseall @ Only gets called from EventScript_PokeBlockFeeder which uses lockall.
#endif
end end
SafariZone_EventScript_PokeblockPlaced:: SafariZone_EventScript_PokeblockPlaced::