summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-10-12 16:33:52 -0500
committerBryan Bishop <kanzure@gmail.com>2013-10-12 16:33:52 -0500
commite13cdeab1104260e2dcfd04aa9dbaa5688f357d0 (patch)
tree9759ada83266ba02116d666cf76229fb4bd84867
parent49c51e03d059bb5a93b4dcd494bd145f5f96428a (diff)
another minor docstring
-rw-r--r--pokemontools/vba/vba.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pokemontools/vba/vba.py b/pokemontools/vba/vba.py
index e30616f..81b27a3 100644
--- a/pokemontools/vba/vba.py
+++ b/pokemontools/vba/vba.py
@@ -29,6 +29,10 @@ button_masks = vba_wrapper.core.VBA.button_masks
button_combiner = vba_wrapper.core.VBA.button_combine
def translate_chars(charz):
+ """
+ Translate a string from the in-game format to readable form. This is
+ accomplished through the same lookup table that the preprocessors use.
+ """
result = ""
for each in charz:
result += chars[each]