function onBegin()
    if not getFlag("LinjDownComf") then
	makeUnskippable()
	disableRetry()
		getLevel().SaveQuitDisabled = true
		disableMovement()
		waitUntilOnGround ()
		player.DummyAutoAnimate = false
		player.Sprite:Play("duck", true, false)
        say("SJ2021_Linj_DownComf")
		player.DummyAutoAnimate = true
    end
end

function onEnd()
    enableMovement()
    setFlag("LinjDownComf", true)
end