execute if score @s checkpoint_between_40 matches 0 run function koncept:return_stage/stage/stage/40

execute if score @s checkpoint_between_40 matches 1 run function koncept:return_stage/stage/stage_1/40
execute if score @s checkpoint_between_40 matches 2 run function koncept:return_stage/stage/stage_2/40
execute if score @s checkpoint_between_40 matches 3 run function koncept:return_stage/stage/stage_3/40
execute if score @s checkpoint_between_40 matches 4 run function koncept:return_stage/stage/stage_4/40
execute if score @s checkpoint_between_40 matches 5 run function koncept:return_stage/stage/stage_5/40
execute if score @s checkpoint_between_40 matches 6 run function koncept:return_stage/stage/stage_6/40
execute if score @s checkpoint_between_40 matches 7 run function koncept:return_stage/stage/stage_7/40
execute if score @s checkpoint_between_40 matches 8 run function koncept:return_stage/stage/stage_8/40