diff --git a/GuiUtils.py b/GuiUtils.py index f987a408..78e5121f 100644 --- a/GuiUtils.py +++ b/GuiUtils.py @@ -51,7 +51,10 @@ class BackgroundTaskProgress(BackgroundTask): self.window['padx'] = 5 self.window['pady'] = 5 - self.window.attributes("-toolwindow", 1) + try: + self.window.attributes("-toolwindow", 1) + except tk.TclError: + pass self.window.wm_title(title) self.label_var = tk.StringVar() diff --git a/Rom.py b/Rom.py index ffe1b593..b42b4154 100644 --- a/Rom.py +++ b/Rom.py @@ -472,8 +472,6 @@ def patch_rom(world, rom, hashtable, beep='normal', sprite=None): else: rom.write_bytes(0x180090, [0x04, 0x47, 0x03, 0x47, 0x02, 0x47, 0x04, 0x47]) - # TODO: FIXME: need to set capcity upgrade fills (2,3,0,0) for easy, (0,0,0,0) otherwise - # set up game internal RNG seed for i in range(1024): rom.write_byte(0x178000 + i, random.randint(0, 255))