diff --git a/Lua/cheat menu.lua b/Lua/cheat menu.lua index d1a266c..8cb384d 100755 --- a/Lua/cheat menu.lua +++ b/Lua/cheat menu.lua @@ -8,14 +8,14 @@ require "flag manager" -- TODO: make OoT versions for most of these menus -dummy = Callbacks() - local fn = 'cheat menu.save.lua' local saved = deserialize('cheat menu.save.lua') or {} local function save() serialize(fn, saved) end +dummy = Callbacks() + function Setter(t) local cb = Callbacks() function cb:on() @@ -218,7 +218,6 @@ local progress_menu = require "menus.progress" local playas_menu = require "menus.playas" local main_menu = Menu{ - -- TODO: seperator item that's just a few underscores with half height Screen{ Text("Main Menu #1/2"), --Toggle("L to Levitate", levitate), @@ -241,7 +240,6 @@ local main_menu = Menu{ LinkTo("Warp to...", warp_menu), LinkTo("Set Day/Time...", time_menu), Text(""), - --Flags("some flags"), Oneshot("Store Position", save_pos), Oneshot("Restore Position", load_pos), Text(""), diff --git a/Lua/menu classes.lua b/Lua/menu classes.lua index c616dd8..a267d93 100644 --- a/Lua/menu classes.lua +++ b/Lua/menu classes.lua @@ -13,7 +13,6 @@ Toggle = Class(Active) Radio = Class(Active) Hold = Class(Active) Oneshot = Class(Active) -Flags = Class(Active) Screen = Class() Menu = Class() @@ -165,8 +164,6 @@ function Hold:release() self.callbacks:release() end ---function Flags:init - function Screen:init(items) self.items = items self.item_sel = 1 @@ -207,7 +204,6 @@ function Screen:navigate(ctrl, pressed) end end - if item ~= old then old:unfocus() old:release() diff --git a/Lua/menus/progress.lua b/Lua/menus/progress.lua index 1a2d333..2aa5cb3 100644 --- a/Lua/menus/progress.lua +++ b/Lua/menus/progress.lua @@ -19,6 +19,7 @@ function first_cycle:on() scene_flag_reset(0x63, 1, 0) -- bombers ladder balloon scene_flag_reset(0x29, 1, 1) + -- other things to consider resetting: -- skull kid stuff -- deed trading quest entirely