From 2bab9c7d27a5145c025c6612eda91b245133d2da Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sat, 14 Nov 2015 10:13:54 -0800 Subject: [PATCH] use triforce transition if they aren't killed --- Lua/cheat menu.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Lua/cheat menu.lua b/Lua/cheat menu.lua index 013d203..d1a266c 100755 --- a/Lua/cheat menu.lua +++ b/Lua/cheat menu.lua @@ -151,7 +151,8 @@ function load_scene_pos:on() if sp == nil then return end addrs.warp_begin(0x14) addrs.warp_destination(sp.scene) - addrs.fade_type(0x0B) -- this transition is basically instantaneous + local fade = fades_killed and 0x0B or 0x01 + addrs.fade_type(fade) -- TODO: add these to address list -- probably the same struct for both MM and OoT AL(0x3CB0, 4)(-4) -- void out type: reload area @@ -182,6 +183,8 @@ function kill_fades:on() W2(a+2, mode + fades) end end + + fades_killed = true end local time_menu = Menu{