mirror of
https://github.com/notwa/mm
synced 2024-11-05 00:19:02 -08:00
cleanup
This commit is contained in:
parent
2bab9c7d27
commit
f45745d8b8
3 changed files with 3 additions and 8 deletions
|
@ -8,14 +8,14 @@ require "flag manager"
|
||||||
|
|
||||||
-- TODO: make OoT versions for most of these menus
|
-- TODO: make OoT versions for most of these menus
|
||||||
|
|
||||||
dummy = Callbacks()
|
|
||||||
|
|
||||||
local fn = 'cheat menu.save.lua'
|
local fn = 'cheat menu.save.lua'
|
||||||
local saved = deserialize('cheat menu.save.lua') or {}
|
local saved = deserialize('cheat menu.save.lua') or {}
|
||||||
local function save()
|
local function save()
|
||||||
serialize(fn, saved)
|
serialize(fn, saved)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
dummy = Callbacks()
|
||||||
|
|
||||||
function Setter(t)
|
function Setter(t)
|
||||||
local cb = Callbacks()
|
local cb = Callbacks()
|
||||||
function cb:on()
|
function cb:on()
|
||||||
|
@ -218,7 +218,6 @@ local progress_menu = require "menus.progress"
|
||||||
local playas_menu = require "menus.playas"
|
local playas_menu = require "menus.playas"
|
||||||
|
|
||||||
local main_menu = Menu{
|
local main_menu = Menu{
|
||||||
-- TODO: seperator item that's just a few underscores with half height
|
|
||||||
Screen{
|
Screen{
|
||||||
Text("Main Menu #1/2"),
|
Text("Main Menu #1/2"),
|
||||||
--Toggle("L to Levitate", levitate),
|
--Toggle("L to Levitate", levitate),
|
||||||
|
@ -241,7 +240,6 @@ local main_menu = Menu{
|
||||||
LinkTo("Warp to...", warp_menu),
|
LinkTo("Warp to...", warp_menu),
|
||||||
LinkTo("Set Day/Time...", time_menu),
|
LinkTo("Set Day/Time...", time_menu),
|
||||||
Text(""),
|
Text(""),
|
||||||
--Flags("some flags"),
|
|
||||||
Oneshot("Store Position", save_pos),
|
Oneshot("Store Position", save_pos),
|
||||||
Oneshot("Restore Position", load_pos),
|
Oneshot("Restore Position", load_pos),
|
||||||
Text(""),
|
Text(""),
|
||||||
|
|
|
@ -13,7 +13,6 @@ Toggle = Class(Active)
|
||||||
Radio = Class(Active)
|
Radio = Class(Active)
|
||||||
Hold = Class(Active)
|
Hold = Class(Active)
|
||||||
Oneshot = Class(Active)
|
Oneshot = Class(Active)
|
||||||
Flags = Class(Active)
|
|
||||||
|
|
||||||
Screen = Class()
|
Screen = Class()
|
||||||
Menu = Class()
|
Menu = Class()
|
||||||
|
@ -165,8 +164,6 @@ function Hold:release()
|
||||||
self.callbacks:release()
|
self.callbacks:release()
|
||||||
end
|
end
|
||||||
|
|
||||||
--function Flags:init
|
|
||||||
|
|
||||||
function Screen:init(items)
|
function Screen:init(items)
|
||||||
self.items = items
|
self.items = items
|
||||||
self.item_sel = 1
|
self.item_sel = 1
|
||||||
|
@ -207,7 +204,6 @@ function Screen:navigate(ctrl, pressed)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
if item ~= old then
|
if item ~= old then
|
||||||
old:unfocus()
|
old:unfocus()
|
||||||
old:release()
|
old:release()
|
||||||
|
|
|
@ -19,6 +19,7 @@ function first_cycle:on()
|
||||||
scene_flag_reset(0x63, 1, 0)
|
scene_flag_reset(0x63, 1, 0)
|
||||||
-- bombers ladder balloon
|
-- bombers ladder balloon
|
||||||
scene_flag_reset(0x29, 1, 1)
|
scene_flag_reset(0x29, 1, 1)
|
||||||
|
|
||||||
-- other things to consider resetting:
|
-- other things to consider resetting:
|
||||||
-- skull kid stuff
|
-- skull kid stuff
|
||||||
-- deed trading quest entirely
|
-- deed trading quest entirely
|
||||||
|
|
Loading…
Reference in a new issue