mirror of https://github.com/pret/pokecrystal.git
add param_types to Signpost
This commit is contained in:
parent
1bba364ba6
commit
d09cf6d950
|
@ -2664,6 +2664,14 @@ class Signpost(Command):
|
||||||
macro_name = "signpost"
|
macro_name = "signpost"
|
||||||
override_byte_check = True
|
override_byte_check = True
|
||||||
|
|
||||||
|
#preprocessor uses this
|
||||||
|
param_types = {
|
||||||
|
0: {"name": "y", "class": DecimalParam},
|
||||||
|
1: {"name": "x", "class": DecimalParam},
|
||||||
|
2: {"name": "function", "class": HexByte},
|
||||||
|
3: {"name": "pointer", "class": PointerLabelParam},
|
||||||
|
}
|
||||||
|
|
||||||
def __init__(self, address, id, bank=None, map_group=None, map_id=None, debug=True, label=None):
|
def __init__(self, address, id, bank=None, map_group=None, map_id=None, debug=True, label=None):
|
||||||
self.address = address
|
self.address = address
|
||||||
self.id = id
|
self.id = id
|
||||||
|
|
Loading…
Reference in New Issue