Skip to content

Commit

Permalink
More remvoe obs
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguy11325 committed Mar 21, 2024
1 parent 5dbf8fd commit 972f177
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pokemonred_puffer/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,13 +444,13 @@ def _get_obs(self):
"direction": np.array(
self.read_m("wSpritePlayerStateData1FacingDirection") // 4, dtype=np.uint8
),
"reset_map_id": np.array(self.read_m("wLastBlackoutMap"), dtype=np.uint8),
# "reset_map_id": np.array(self.read_m("wLastBlackoutMap"), dtype=np.uint8),
"battle_type": np.array(self.read_m("wIsInBattle") + 1, dtype=np.uint8),
"cut_in_party": np.array(self.check_if_party_has_cut(), dtype=np.uint8),
"x": np.array(player_x, dtype=np.uint8),
"y": np.array(player_y, dtype=np.uint8),
"map_id": np.array(map_n, dtype=np.uint8),
"badges": np.array(self.get_badges(), dtype=np.uint8),
# "cut_in_party": np.array(self.check_if_party_has_cut(), dtype=np.uint8),
# "x": np.array(player_x, dtype=np.uint8),
# "y": np.array(player_y, dtype=np.uint8),
# "map_id": np.array(map_n, dtype=np.uint8),
# "badges": np.array(self.get_badges(), dtype=np.uint8),
}

def set_perfect_iv_dvs(self):
Expand Down

0 comments on commit 972f177

Please sign in to comment.