Skip to content

Commit 9efac07

Browse files
committed
Clear rainbow tunic bits
1 parent 2f9c1d7 commit 9efac07

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Cosmetics.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ def patch_tunic_colors(rom: Rom, settings: Settings, log: CosmeticsLog, symbols:
107107
tunic_color_list = Colors.get_tunic_colors()
108108
rainbow_error = None
109109

110+
# Clear all rainbow tunic bits so that it can be overridden.
111+
if 'CFG_RAINBOW_TUNIC_ENABLED' in symbols:
112+
rom.write_byte(symbols['CFG_RAINBOW_TUNIC_ENABLED'], 0)
113+
110114
for tunic, tunic_setting, address in tunics:
111115
tunic_option = getattr(settings, tunic_setting)
112116

0 commit comments

Comments
 (0)