From 10f25fff5f87881f8e3b59e42b321afd50105b12 Mon Sep 17 00:00:00 2001 From: thatguy11325 <148832074+thatguy11325@users.noreply.github.com> Date: Wed, 28 Aug 2024 09:29:00 -0400 Subject: [PATCH] fix --- pokemonred_puffer/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,