Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kywch committed Mar 12, 2024
1 parent dfb5b44 commit 8917275
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 @@ -507,7 +507,7 @@ def check_if_in_bag_menu(self) -> bool:
)

def check_if_action_in_bag_menu(self, action) -> bool:
return action == WindowEvent.PRESS_BUTTON_A and self.check_if_in_back_menu()
return action == WindowEvent.PRESS_BUTTON_A and self.check_if_in_bag_menu()

def check_if_in_overworld(self) -> bool:
return self.read_m(0xD057) == 0 and self.read_m(0xCF13) == 0 and self.read_m(0xFF8C) == 0
Expand Down

0 comments on commit 8917275

Please sign in to comment.