Pokemon Emerald: Fix tracker flags being reset in menus (#2511)

This commit is contained in:
Bryce Wilson 2023-11-25 20:13:08 -08:00 committed by GitHub
parent 7a46209259
commit eec35ab1c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -254,7 +254,7 @@ class PokemonEmeraldClient(BizHawkClient):
"key": f"pokemon_emerald_events_{ctx.team}_{ctx.slot}",
"default": 0,
"want_reply": False,
"operations": [{"operation": "replace", "value": event_bitfield}]
"operations": [{"operation": "or", "value": event_bitfield}]
}])
self.local_set_events = local_set_events
@ -269,7 +269,7 @@ class PokemonEmeraldClient(BizHawkClient):
"key": f"pokemon_emerald_keys_{ctx.team}_{ctx.slot}",
"default": 0,
"want_reply": False,
"operations": [{"operation": "replace", "value": key_bitfield}]
"operations": [{"operation": "or", "value": key_bitfield}]
}])
self.local_found_key_items = local_found_key_items
except bizhawk.RequestFailedError: