mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
pick up the third CAL trainer header
This commit is contained in:
parent
e52d1e9415
commit
6008b1a96c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user