summaryrefslogtreecommitdiff
path: root/pokemontools/vba/battle.py
diff options
context:
space:
mode:
Diffstat (limited to 'pokemontools/vba/battle.py')
-rw-r--r--pokemontools/vba/battle.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/pokemontools/vba/battle.py b/pokemontools/vba/battle.py
index b1ede97..b1ac0fe 100644
--- a/pokemontools/vba/battle.py
+++ b/pokemontools/vba/battle.py
@@ -280,3 +280,15 @@ class BattleStrategy(Battle):
Take actions inside of a battle based on the game state.
"""
raise NotImplementedError
+
+class SpamBattleStrategy(BattleStrategy):
+ """
+ A really simple battle strategy that always picks the first move of the
+ first pokemon to attack the enemy.
+ """
+
+ def handle_turn(self):
+ """
+ Always picks the first move of the current pokemon.
+ """
+ pass