Skip to content

Commit

Permalink
Pokemon Emerald: Fix tracker flags being reset in menus (#2511)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zunawe authored Nov 26, 2023
1 parent 7a46209 commit eec35ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions worlds/pokemon_emerald/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ async def game_watcher(self, ctx: "BizHawkClientContext") -> None:
"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

Expand All @@ -269,7 +269,7 @@ async def game_watcher(self, ctx: "BizHawkClientContext") -> None:
"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:
Expand Down

0 comments on commit eec35ab

Please sign in to comment.