local coroutineEntity = monocle.Entity()

local vector2 = require("#microsoft.xna.framework.vector2")

function onTalk()
log("hi")
  log("hi")
  disableMovement()
  setFlag("lunarSecondPhase", true)
  wait(3)
  say("LunarSecondDia")
  wait(0.5)
  setFlag("lunarSecondPhase", false)
  setFlag("watchedCutsceneLunar2", true)
end

function onEnd(room, wasSkipped)
  player.DummyAutoAnimate = true
  player.ForceCameraUpdate = true
  getLevel():ResetZoom()
  setFlag("lunarSecondPhase", false)
  setFlag("watchedCutsceneLunar2", true)
  enableMovement()
    if wasSkipped then
    player.DummyAutoAnimate = true
    player.ForceCameraUpdate = true
    getLevel():ResetZoom()
    setFlag("lunarSecondPhase", false)
    enableMovement()
    setFlag("watchedCutsceneLunar2", true)
    end
end