execute if score world WaveCounter matches 20 if score world BossRoll matches 1 run function kiwi2:waves/boss_waves/undead_knight
execute if score world WaveCounter matches 20 if score world BossRoll matches 2 run function kiwi2:waves/boss_waves/ravager_beast

execute if score world WaveCounter matches 40 if score world BossRoll matches 1 run function kiwi2:waves/boss_waves/spider_matron_wave
execute if score world WaveCounter matches 40 if score world BossRoll matches 2 run function kiwi2:waves/boss_waves/spider_matron_wave

execute if score world WaveCounter matches 60 if score world BossRoll matches 1 run function kiwi2:waves/boss_waves/cinderstorm_wave
execute if score world WaveCounter matches 60 if score world BossRoll matches 2 run function kiwi2:waves/boss_waves/cinderstorm_wave

execute if score world WaveCounter matches 80 if score world BossRoll matches 1 run function kiwi2:waves/boss_waves/small_forsaken_lich_wave
execute if score world WaveCounter matches 80 if score world BossRoll matches 2 run function kiwi2:waves/boss_waves/small_forsaken_lich_wave

execute if score world WaveCounter matches 100 if score world BossRoll matches 1 run function kiwi2:waves/boss_waves/phantom_sovereign_wave
execute if score world WaveCounter matches 100 if score world BossRoll matches 2 run function kiwi2:waves/boss_waves/phantom_sovereign_wave

function kiwi2:run_dimension/revive_all_players