tag @e[type=zombie,tag=crystal_prison] add immune
execute if score @n[type=zombie,tag=crystal_prison] health matches ..0 run return run function main:game/start/stage/sky/end/ending

function main:game/condition/win/start