Pokemon Emerald: Temporary fix for missing items (#3162)

This commit is contained in:
Bryce Wilson 2024-04-20 18:56:08 -06:00 committed by GitHub
parent d4c8083be5
commit 5d8aca1b4e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 0 deletions

View File

@ -3,6 +3,8 @@
### Fixes
- Changed "Ho-oh" to "Ho-Oh" in options
- Temporary fix to alleviate problems with sometimes not receiving certain items just after connecting if `remote_items`
is `true`.
- Temporarily disable a possible location for Marine Cave to spawn, as its causes an overflow
# 2.0.0

View File

@ -199,6 +199,13 @@ class PokemonEmeraldClient(BizHawkClient):
"items_handling": ctx.items_handling
}]))
# Need to make sure items handling updates and we get the correct list of received items
# before continuing. Otherwise we might give some duplicate items and skip others.
# Should patch remote_items option value into the ROM in the future to guarantee we get the
# right item list before entering this part of the code
await asyncio.sleep(0.75)
return
try:
guards: Dict[str, Tuple[int, bytes, str]] = {}