diff --git a/pokemonred_puffer/environment.py b/pokemonred_puffer/environment.py index dd038c6..b0091c3 100644 --- a/pokemonred_puffer/environment.py +++ b/pokemonred_puffer/environment.py @@ -1261,7 +1261,7 @@ def next_elevator_floor(self): self.pyboy.tick(self.action_freq, render=self.animate_scripts) def insert_guard_drinks(self): - if not self.wd728.get_bit("GAVE_SAFFRON_GUARD_DRINK") and self.wd728.MapIds( + if not self.wd728.get_bit("GAVE_SAFFRON_GUARD_DRINK") and MapIds( self.read_m("wCurMap") ) in [ MapIds.CELADON_MART_1F,