You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
fix preprocessor/givepoke for variable-number-of-parameter macros
This commit is contained in:
@@ -1871,6 +1871,8 @@ class GivePoke(Command):
|
||||
4: {"name": "trainer_name_pointer", "class": MultiByteParam}, #should probably use TextLabelParam
|
||||
5: {"name": "pkmn_nickname", "class": MultiByteParam}, #XXX TextLabelParam ?
|
||||
}
|
||||
allowed_lengths = [4, 6]
|
||||
|
||||
def parse(self):
|
||||
self.params = {}
|
||||
byte = ord(rom[self.address])
|
||||
|
||||
Reference in New Issue
Block a user