You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
add 'trainer_names' key to each trainer header in trainer_group_names
This commit is contained in:
@@ -3901,7 +3901,7 @@ def make_trainer_group_name_trainer_ids(debug=True):
|
|||||||
if debug:
|
if debug:
|
||||||
print "starting to make trainer names and give ids to repeated trainer names"
|
print "starting to make trainer names and give ids to repeated trainer names"
|
||||||
|
|
||||||
i = 1
|
i = 1
|
||||||
for header in trainer_group_table.headers:
|
for header in trainer_group_table.headers:
|
||||||
trainer_names = [] # (name, trainer_header)
|
trainer_names = [] # (name, trainer_header)
|
||||||
dupes = set()
|
dupes = set()
|
||||||
@@ -3923,6 +3923,8 @@ def make_trainer_group_name_trainer_ids(debug=True):
|
|||||||
# now add the trainer names to trainer_group_names
|
# now add the trainer names to trainer_group_names
|
||||||
trainer_group_names[i]["trainer_names"] = [theader.make_constant_name() for theader in header.individual_trainer_headers]
|
trainer_group_names[i]["trainer_names"] = [theader.make_constant_name() for theader in header.individual_trainer_headers]
|
||||||
|
|
||||||
|
i += 1
|
||||||
|
|
||||||
if debug:
|
if debug:
|
||||||
print "done improving trainer names"
|
print "done improving trainer names"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user