From 5eff6691488cdd396ded25bb2eeccdfe93f45969 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Fri, 8 Jan 2016 04:45:40 -0800 Subject: [PATCH] add Epona to oneshot.lua for OoT --- Lua/oneshot.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Lua/oneshot.lua b/Lua/oneshot.lua index f2783d3..da98fa9 100755 --- a/Lua/oneshot.lua +++ b/Lua/oneshot.lua @@ -46,6 +46,13 @@ if oot then a.tunic_boots (0xFF) -- normally 0x77 a.sword_shield (0xF7) -- normally 0x77? + -- get epona + local addr = a.event_chk_inf.addr + 2 + if bit then + W2(addr, bit.bor(R2(addr), 0x0100)) + else + --FIXME + end else a.sword_shield (0x23) a.owls_hit (0xFFFF)