diff options
author | Bryan Bishop <kanzure@gmail.com> | 2012-05-19 18:28:23 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2012-05-19 18:28:23 -0500 |
commit | 6008b1a96c4079b6ca164f814cdd5fb26d568969 (patch) | |
tree | fae11e908caefb47a6fea09c8d44822cb472cfb3 /extras/crystal.py | |
parent | e52d1e9415fd66e00f9867c0b7d93f963e563774 (diff) |
pick up the third CAL trainer header
Diffstat (limited to 'extras/crystal.py')
-rw-r--r-- | extras/crystal.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extras/crystal.py b/extras/crystal.py index 03fa4ba82..6f9fe9978 100644 --- a/extras/crystal.py +++ b/extras/crystal.py @@ -3545,6 +3545,10 @@ class TrainerGroupHeader: min_id = min(trainer_group_maximums[self.group_id]) max_id = max(trainer_group_maximums[self.group_id]) + if self.group_id == 0x0C: + # CAL appears a third time with third-stage evos (meganium, typhlosion, feraligatr) + max_id += 1 + for trainer_id in range(min_id, max_id+1): trainer_header = TrainerHeader(address=current_address, trainer_group_id=self.group_id, trainer_id=trainer_id, parent=self) self.individual_trainer_headers.append(trainer_header) |