local function doFadeWipe(state)
  fadeWipe = celeste.FadeWipe(engine.Scene, state, nil)
  engine.Scene:Add(fadeWipe)
  fadeWipe.duration = 1.5
  fadeWipe.EndTimer = 0
end


function onBegin()

  if getFlag("dw_03c_to_03c_sub1a") then

    doFadeWipe(true)
    wait(0.6)
    enableMovement()
    enablePause()
    setFlag("dw_03c_to_03c_sub1a", false)

  end

end