Skip to content

Commit

Permalink
Small logic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguy11325 committed Sep 25, 2024
1 parent 3b6abad commit 6c88c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pokemonred_puffer/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -1294,7 +1294,7 @@ def blackout_hook(self, *args, **kwargs):

def blackout_update_hook(self, *args, **kwargs):
self.blackout_check = self.read_m("wLastBlackoutMap")
if MapIds(self.blackout_check) in self.disable_wild_encounters:
if MapIds(self.blackout_check).name in self.disable_wild_encounters:
self.pyboy.memory[self.pyboy.symbol_lookup("wRepelRemainingSteps")[1]] = 0x01

def pokecenter_heal_hook(self, *args, **kwargs):
Expand Down

0 comments on commit 6c88c18

Please sign in to comment.