Fix capitalization issue with hints

This commit is contained in:
codemann8
2022-02-21 04:40:13 -06:00
parent c5ab2b8853
commit a0d51327b8

4
Rom.py
View File

@@ -2304,7 +2304,7 @@ def write_strings(rom, world, player, team):
this_location = world.find_items_not_key_only(flute_item, player)
if this_location:
this_hint = this_location[0].item.hint_text + ' can be found ' + hint_text(this_location[0]) + '.'
this_hint = this_hint.capitalize()
this_hint = this_hint[0].upper() + this_hint[1:]
tt[hint_locations.pop(0)] = this_hint
items_to_hint.remove(flute_item)
if world.keyshuffle[player]:
@@ -2321,7 +2321,7 @@ def write_strings(rom, world, player, team):
random.shuffle(this_location)
if this_location:
this_hint = this_location[0].item.hint_text + ' can be found ' + hint_text(this_location[0]) + '.'
this_hint = this_hint.capitalize()
this_hint = this_hint[0].upper() + this_hint[1:]
tt[hint_locations.pop(0)] = this_hint
hint_count -= 1