From e84a5b2062ff5e9b010447e3a3c78dd67a653166 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sun, 1 Sep 2013 02:27:44 -0500 Subject: make extras/ a submodule Use pokemontools v1.3.0 and use the same preprocessor as the pokecrystal project. --- extras | 1 + extras/pretty_text.py | 21 --------------------- 2 files changed, 1 insertion(+), 21 deletions(-) create mode 160000 extras delete mode 100644 extras/pretty_text.py (limited to 'extras/pretty_text.py') diff --git a/extras b/extras new file mode 160000 index 00000000..795cd58a --- /dev/null +++ b/extras @@ -0,0 +1 @@ +Subproject commit 795cd58a70c80082003e40127241cfaefa0fae8b diff --git a/extras/pretty_text.py b/extras/pretty_text.py deleted file mode 100644 index 4933dca2..00000000 --- a/extras/pretty_text.py +++ /dev/null @@ -1,21 +0,0 @@ -#author: Bryan Bishop -#date: 2012-01-16 -from optparse import OptionParser -from analyze_texts import text_pretty_printer_at - -def main(): - usage = "usage: %prog address label" - parser = OptionParser(usage) - (options, args) = parser.parse_args() - if len(args) == 1: - print "usage: python pretty_text.py address label" - args.append("UnnamedText_" + (args[0].replace("0x", ""))) - elif len(args) != 2: - parser.error("we need both an address and a label") - address = int(args[0], 16) - label = args[1] - - text_pretty_printer_at(address, label) - -if __name__ == "__main__": - main() -- cgit v1.2.3