summaryrefslogtreecommitdiff
path: root/pokemontools/vba/vba.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-11-11 21:56:34 -0600
committerBryan Bishop <kanzure@gmail.com>2013-11-11 21:56:34 -0600
commitd9bb01f2c0aef6d270bc4e2da93af94ea210e8db (patch)
tree9f577258684c029d2c9ca5b5d1a38d5038224546 /pokemontools/vba/vba.py
parent9f72be1a0f4186ca49e3bf9c6148afbe6477e391 (diff)
rename the switch prompt detector
Diffstat (limited to 'pokemontools/vba/vba.py')
-rw-r--r--pokemontools/vba/vba.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemontools/vba/vba.py b/pokemontools/vba/vba.py
index 58ed1bd..67d3cf1 100644
--- a/pokemontools/vba/vba.py
+++ b/pokemontools/vba/vba.py
@@ -599,7 +599,7 @@ class crystal(object):
def is_in_link_battle(self):
return self.vba.read_memory_at(0xc2dc) != 0
- def is_battle_switch_prompt(self):
+ def is_trainer_switch_prompt(self):
"""
Checks if the game is currently displaying the yes/no prompt for
whether or not to switch pokemon. This happens when the trainer is