summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crystal.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/crystal.py b/crystal.py
index e26cf6d..efe55b1 100644
--- a/crystal.py
+++ b/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])