diff options
author | Bryan Bishop <kanzure@gmail.com> | 2012-04-26 14:37:09 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2012-04-26 14:37:09 -0500 |
commit | 386a688eca4098723e6e8460257433064cdd86ee (patch) | |
tree | dae3cd20e3b1f9410326ae4e1cc09af2342b3c3d /extras/crystal.py | |
parent | 3c8b381489f074b2223359bd0d11ea8644a35dc7 (diff) |
revert '_' prefix to some macro_names
Diffstat (limited to 'extras/crystal.py')
-rw-r--r-- | extras/crystal.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extras/crystal.py b/extras/crystal.py index 855547f9b..26b1d5dc4 100644 --- a/extras/crystal.py +++ b/extras/crystal.py @@ -1501,8 +1501,8 @@ class Command: def to_asm(self): #start with the rgbasm macro name for this command output = "" - if len(self.macro_name) > 0 and self.macro_name[0].isdigit(): - output += "_" + #if len(self.macro_name) > 0 and self.macro_name[0].isdigit(): + # output += "_" output += self.macro_name #return if there are no params if len(self.param_types.keys()) == 0: return output @@ -1835,8 +1835,8 @@ def generate_macros(filename="../script_macros.asm"): output = "; This file is generated by generate_macros.\n" for command in command_classes: output += "\n" - if command.macro_name[0].isdigit(): - output += "_" + #if command.macro_name[0].isdigit(): + # output += "_" output += command.macro_name + ": MACRO\n" output += spacing + "db $%.2x\n"%(command.id) current_param = 1 |