Skip to content

Commit

Permalink
Fix no bulba reset
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguy11325 committed Jun 8, 2024
1 parent d1613ad commit 1ae70b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pokemonred_puffer/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ def step(self, action):
if not self.party_has_cut_capable_mon():
reset = True
self.first = True
new_reward = -self.progress_reward
new_reward = -self.total_reward * 0.5

return obs, new_reward, reset, False, info

Expand Down

0 comments on commit 1ae70b7

Please sign in to comment.