1
0
Fork 0
mirror of https://github.com/notwa/mm synced 2024-11-04 22:39:02 -08:00
This commit is contained in:
Connor Olding 2015-11-14 10:31:10 -08:00
parent 2bab9c7d27
commit f45745d8b8
3 changed files with 3 additions and 8 deletions

View file

@ -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(""),

View file

@ -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()

View file

@ -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