mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-01-23 09:16:20 -08:00
Merge pull request #168 from kanzure/remove-preprocessor-special-case
Remove a special case for MoneyByteParam.
This commit is contained in:
commit
16f6619ac8
@ -498,8 +498,6 @@ def macro_translator(macro, token, line):
|
|||||||
elif param_klass.byte_type == "dw":
|
elif param_klass.byte_type == "dw":
|
||||||
if param_klass.size == 2:
|
if param_klass.size == 2:
|
||||||
allowed_length += 1 # just label
|
allowed_length += 1 # just label
|
||||||
elif param_klass == MoneyByteParam:
|
|
||||||
allowed_length += 1
|
|
||||||
elif param_klass.size == 3:
|
elif param_klass.size == 3:
|
||||||
allowed_length += 2 # bank and label
|
allowed_length += 2 # bank and label
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user