mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
add DataByteWordMacro for the preprocessor
This commit is contained in:
parent
d09cf6d950
commit
8f2afd2f7c
@ -1602,6 +1602,23 @@ class GivePoke(Command):
|
||||
self.last_address = current_address
|
||||
return True
|
||||
|
||||
class DataByteWordMacro(Command):
|
||||
""" Only used by the preprocessor.
|
||||
"""
|
||||
|
||||
id = None
|
||||
macro_name = "dbw"
|
||||
size = 3
|
||||
override_byte_check = True
|
||||
|
||||
param_types = {
|
||||
0: {"name": "db value", "class": DecimalParam},
|
||||
1: {"name": "dw value", "class": PointerLabelParam},
|
||||
}
|
||||
|
||||
def __init__(self): pass
|
||||
def parse(self): pass
|
||||
def to_asm(self): pass
|
||||
|
||||
#byte: [name, [param1 name, param1 type], [param2 name, param2 type], ...]
|
||||
#0x9E: ["verbosegiveitem", ["item", ItemLabelByte], ["quantity", SingleByteParam]],
|
||||
|
Loading…
Reference in New Issue
Block a user