diff --git a/pokemonred_puffer/environment.py b/pokemonred_puffer/environment.py index c580cdd..0d65f8b 100644 --- a/pokemonred_puffer/environment.py +++ b/pokemonred_puffer/environment.py @@ -1249,8 +1249,7 @@ def sign_hook(self, *args, **kwargs): def hidden_object_hook(self, *args, **kwargs): hidden_object_id = self.pyboy.memory[self.pyboy.symbol_lookup("wHiddenObjectIndex")[1]] map_id = self.pyboy.memory[self.pyboy.symbol_lookup("wCurMap")[1]] - if map_id != MapIds.GAME_CORNER.value: - self.seen_hidden_objs[(map_id, hidden_object_id)] = 1.0 + self.seen_hidden_objs[(map_id, hidden_object_id)] = 1.0 def sprite_hook(self, *args, **kwargs): sprite_id = self.pyboy.memory[self.pyboy.symbol_lookup("hSpriteIndexOrTextID")[1]]