From 1ae70b704c7be70180228707a442963f5a52bce1 Mon Sep 17 00:00:00 2001 From: thatguy11325 <148832074+thatguy11325@users.noreply.github.com> Date: Fri, 7 Jun 2024 23:37:21 -0400 Subject: [PATCH] Fix no bulba reset --- 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 d250d41..88e4fcc 100644 --- a/pokemonred_puffer/environment.py +++ b/pokemonred_puffer/environment.py @@ -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