add location checks to hint command

This commit is contained in:
Fabian Dill
2020-02-17 08:16:17 +01:00
parent 5c803e911c
commit e2ef84d6c9
3 changed files with 31 additions and 9 deletions

View File

@@ -616,4 +616,5 @@ location_table = {'Mushroom': (0x180013, 0x186338, False, 'in the woods'),
'Misery Mire - Prize': ([0x120A2, 0x53F48, 0x53F49, 0x180057, 0x180075, 0xC703], None, True, 'Misery Mire'),
'Turtle Rock - Prize': ([0x120A7, 0x53F24, 0x53F25, 0x18005C, 0x180079, 0xC708], None, True, 'Turtle Rock')}
lookup_id_to_name = {data[0] : name for name, data in location_table.items() if type(data[0]) == int}
lookup_id_to_name = {data[0] : name for name, data in location_table.items() if type(data[0]) == int}
lookup_lower_name_to_name = {name.lower() : name for name in location_table}