function onBegin()
	waitUntilOnGround()
	disableMovement()
	setFlag("teleporting",true)
	playMusic("event:/none")
	disableRetry()
	wait(1.5)
	playSound("event:/new_content/game/10_farewell/pico8_flag")
	wait(1.5)
	setFlag("teleporting",false)
	enableMovement()
	enableRetry()
	teleportTo(88,272,"02","WalkInRight")
end

function onEnd()
	enableMovement()
	enableRetry()
end