setup rules for which trainer groups should use which naming scheme

This commit is contained in:
Bryan Bishop 2012-05-19 22:02:11 -05:00
parent 7098fccc22
commit 4aa953cc38

View File

@ -7,63 +7,65 @@ import re
trainer_group_pointer_table_address = 0x39999
trainer_group_pointer_table_address_gs = 0x3993E
# TODO: check if "é", ".", "♂", "♀" are okay in the output
# "uses_increasing_trainer_ids" means Grunt1, Grunt2, Grunt3
# "uses_numeric_trainer_ids" means never use a name for the trainer_id
trainer_group_names = {
0x01: {"name": "Falkner"},
0x02: {"name": "Whitney"},
0x03: {"name": "Bugsy"},
0x04: {"name": "Morty"},
0x05: {"name": "Pryce"},
0x06: {"name": "Jasmine"},
0x07: {"name": "Chuck"},
0x08: {"name": "Clair"},
0x01: {"name": "Falkner", "uses_numeric_trainer_ids": True},
0x02: {"name": "Whitney", "uses_numeric_trainer_ids": True},
0x03: {"name": "Bugsy", "uses_numeric_trainer_ids": True},
0x04: {"name": "Morty", "uses_numeric_trainer_ids": True},
0x05: {"name": "Pryce", "uses_numeric_trainer_ids": True},
0x06: {"name": "Jasmine", "uses_numeric_trainer_ids": True},
0x07: {"name": "Chuck", "uses_numeric_trainer_ids": True},
0x08: {"name": "Clair", "uses_numeric_trainer_ids": True},
0x09: {"name": "Rival1"},
#PokemonProf group is empty :/
0x0A: {"name": "Pokémon Prof."},
0x0B: {"name": "Elite Four Will"},
0x0C: {"name": "Special PKMN 1 [Cal]"},
0x0D: {"name": "Elite Four Bruno"},
0x0E: {"name": "Elite Four Karen"},
0x0F: {"name": "Elite Four Koga"},
0x0B: {"name": "Elite Four Will", "uses_numeric_trainer_ids": True},
0x0C: {"name": "Special PKMN 1 [Cal]", "uses_increasing_trainer_ids": True},
0x0D: {"name": "Elite Four Bruno", "uses_numeric_trainer_ids": True},
0x0E: {"name": "Elite Four Karen", "uses_numeric_trainer_ids": True},
0x0F: {"name": "Elite Four Koga", "uses_numeric_trainer_ids": True},
0x10: {"name": "Champion"},
0x11: {"name": "Brock"},
0x12: {"name": "Misty"},
0x13: {"name": "Lt.Surge"},
0x11: {"name": "Brock", "uses_numeric_trainer_ids": True},
0x12: {"name": "Misty", "uses_numeric_trainer_ids": True},
0x13: {"name": "Lt.Surge", "uses_numeric_trainer_ids": True},
0x14: {"name": "Scientist"},
0x15: {"name": "Erika"},
0x15: {"name": "Erika", "uses_numeric_trainer_ids": True},
0x16: {"name": "Youngster"},
0x17: {"name": "Schoolboy"},
0x18: {"name": "Bird Keeper"},
0x19: {"name": "Lass"},
0x1A: {"name": "Janine"},
0x1A: {"name": "Janine", "uses_numeric_trainer_ids": True},
0x1B: {"name": "CooltrainerM"},
0x1C: {"name": "CooltrainerF"},
0x1D: {"name": "Beauty"},
0x1E: {"name": "Pokémaniac"},
0x1F: {"name": "GruntM"},
0x1F: {"name": "RocketM", "uses_increasing_trainer_ids": True},
0x20: {"name": "Gentleman"},
0x21: {"name": "Skier"},
0x22: {"name": "Teacher"},
0x23: {"name": "Sabrina"},
0x23: {"name": "Sabrina", "uses_numeric_trainer_ids": True},
0x24: {"name": "Bug Catcher"},
0x25: {"name": "Fisher"},
0x26: {"name": "SwimmerM"},
0x27: {"name": "SwimmerF"},
0x28: {"name": "Sailor"},
0x29: {"name": "Super Nerd"},
0x2A: {"name": "Rival2"},
0x2A: {"name": "Rival2", "uses_numeric_trainer_ids": True},
0x2B: {"name": "Guitarist"},
0x2C: {"name": "Hiker"},
0x2D: {"name": "Biker"},
0x2E: {"name": "Blaine"},
0x2E: {"name": "Blaine", "uses_numeric_trainer_ids": True},
0x2F: {"name": "Burglar"},
0x30: {"name": "Firebreather"},
0x31: {"name": "Juggler"},
0x32: {"name": "Blackbelt"},
0x33: {"name": "ExecutiveM"},
0x33: {"name": "ExecutiveM", "uses_numeric_trainer_ids": True},
0x34: {"name": "Psychic"},
0x35: {"name": "Picnicker"},
0x36: {"name": "Camper"},
0x37: {"name": "ExecutiveF"},
0x37: {"name": "ExecutiveF", "uses_numeric_trainer_ids": True},
0x38: {"name": "Sage"},
0x39: {"name": "Medium"},
0x3A: {"name": "Boarder"},
@ -71,10 +73,10 @@ trainer_group_names = {
0x3C: {"name": "Kimono Girl"},
0x3D: {"name": "Twins"},
0x3E: {"name": "PokéfanF"},
0x3F: {"name": "Special PKMN 2 [Red]"},
0x40: {"name": "Blue"},
0x3F: {"name": "Red", "uses_numeric_trainer_ids": True},
0x40: {"name": "Blue", "uses_numeric_trainer_ids": True},
0x41: {"name": "Officer"},
0x42: {"name": "RocketF"},
0x42: {"name": "RocketF", "uses_increasing_trainer_ids": True},
0x43: {"name": "Mysticalman [Eusine]"}, # crystal only
}