Skip to content

Commit

Permalink
revert a press on map id scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguy11325 committed Sep 13, 2024
1 parent 636ed7e commit bd3209a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pokemonred_puffer/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bd3209a

Please sign in to comment.