diff options
Diffstat (limited to 'extras/crystal.py')
-rw-r--r-- | extras/crystal.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extras/crystal.py b/extras/crystal.py index e26cf6dda..efe55b1bb 100644 --- a/extras/crystal.py +++ b/extras/crystal.py @@ -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]) |