You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
remove a special case for MoneyByteParam
The preprocessor should ideally have no special cases for macros at all in the first place. But it does. This one doesn't seem to be necessary.
This commit is contained in:
@@ -498,8 +498,6 @@ def macro_translator(macro, token, line):
|
||||
elif param_klass.byte_type == "dw":
|
||||
if param_klass.size == 2:
|
||||
allowed_length += 1 # just label
|
||||
elif param_klass == MoneyByteParam:
|
||||
allowed_length += 1
|
||||
elif param_klass.size == 3:
|
||||
allowed_length += 2 # bank and label
|
||||
else:
|
||||
|
Reference in New Issue
Block a user