Skip to content

Commit

Permalink
Fixup: Don't overengineer the Ranni fix for no reason. (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
inuNorii authored Jan 1, 2025
2 parents 3c35e43 + f3e0515 commit aa19e0c
Showing 1 changed file with 4 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local flagsBaseOn = {
-- Choosing to enter Ranni's service
1034509410,
1034509412,
1034500738,
-- 1034500738, (needs to be disabled)
1034500732,
1034500736,
1034505015,
Expand Down Expand Up @@ -49,17 +49,9 @@ local flagsBaseOn = {

local flagsOn = {flagsBaseOn}
local flagsOff = 1034500738 -- Toggled on when choosing to enter, and off when exhausting dialogue
ef.setFlag(flagsOff, 0)
ef.batchSetFlags(flagsOn, 1, "RanniFlagsThread")
disableMemrec(memrec, function() return not ef.RanniFlagsThread end)

local t = createTimer(nil)
t.interval = 100
t.onTimer = function (t)
if function() return not ef.RanniFlagsThread end then
ef.setFlag(flagsOff, 0)
-- lua_warp(1034502950) -- [Liurnia of the Lakes] Ranni's Rise. Not necessary, works instantly without it
disableMemrec(memrec)
end
end
[DISABLE]
ef.RanniFlagsThread = false
t.destroy()
ef.RanniFlagsThread = false

0 comments on commit aa19e0c

Please sign in to comment.