From 3171d2a164d204f65951664a6c6ae2f6b6468e63 Mon Sep 17 00:00:00 2001 From: thatguy11325 <148832074+thatguy11325@users.noreply.github.com> Date: Fri, 31 May 2024 23:35:25 -0400 Subject: [PATCH] neater --- pokemonred_puffer/environment.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pokemonred_puffer/environment.py b/pokemonred_puffer/environment.py index 9f34f68..88202f1 100644 --- a/pokemonred_puffer/environment.py +++ b/pokemonred_puffer/environment.py @@ -588,9 +588,7 @@ def run_action_on_emulator(self, action): if self.read_bit(0xD803, 0): if not self.check_if_party_has_cut(): self.teach_cut_to_bulba() - self.cut_if_next() - else: - self.cut_if_next() + self.cut_if_next() def teach_cut_to_bulba(self): # find bulba and replace tackle (first skill) with cut