Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguy11325 committed Oct 18, 2024
1 parent e6aae42 commit 236b225
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pokemonred_puffer/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,9 @@ def reset(self, seed: Optional[int] = None, options: Optional[dict[str, Any]] =
with open(self.init_state_path, "rb") as f:
self.pyboy.load_state(f)

self.events = EventFlags(self.pyboy)
self.missables = MissableFlags(self.pyboy)
self.missables = MissableFlags(self.pyboy)
self.required_events = self.get_required_events()
self.required_items = self.get_required_items()
self.base_event_flags = sum(
Expand Down

0 comments on commit 236b225

Please sign in to comment.