summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-12-25 06:52:55 -0500
committeryenatch <yenatch@gmail.com>2013-12-25 06:52:55 -0500
commitd983b8a02ad046ee9a671f2a5b7c330b4084b8ec (patch)
tree6cdfa8a974265c081f6e5cde74d7252071d7b45e
parent906472a8f1758743a04beb1727f7d05b72174596 (diff)
battle_animations: docstring for battle_anim_label
-rw-r--r--pokemontools/battle_animations.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pokemontools/battle_animations.py b/pokemontools/battle_animations.py
index 678e9ce..ffc89e4 100644
--- a/pokemontools/battle_animations.py
+++ b/pokemontools/battle_animations.py
@@ -254,6 +254,9 @@ class BattleAnim:
def battle_anim_label(i):
+ """
+ Return a label matching the name of a battle animation by id.
+ """
if i in anims.keys():
base_label = 'BattleAnim_%s' % anims[i].title().replace('_','')
else: