From bd3209af143ca2696e6d1e51dfc10d1d27276100 Mon Sep 17 00:00:00 2001 From: thatguy11325 <148832074+thatguy11325@users.noreply.github.com> Date: Fri, 13 Sep 2024 01:57:11 -0400 Subject: [PATCH] revert a press on map id scaling --- pokemonred_puffer/environment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pokemonred_puffer/environment.py b/pokemonred_puffer/environment.py index f4117d0..6ed7fcf 100644 --- a/pokemonred_puffer/environment.py +++ b/pokemonred_puffer/environment.py @@ -1508,8 +1508,8 @@ def update_a_press(self): x_pos -= 1 if direction == 0xC: x_pos += 1 - if self.scale_map_id(map_n): - self.a_press.add((x_pos, y_pos, map_n)) + # if self.scale_map_id(map_n): + self.a_press.add((x_pos, y_pos, map_n)) def get_explore_map(self): explore_map = np.zeros(GLOBAL_MAP_SHAPE)