execute if score Krampus BossTimer matches 1..20 run particle large_smoke ~ 0 ~ 0.5 0.5 0.5 0.25 20
execute if score Krampus BossTimer matches 1 run playsound entity.wither.ambient hostile @a ~ 0 ~ 1 0

execute if score Krampus BossTimer matches 40 run playsound entity.firework_rocket.launch hostile @a ~ -1 ~ 1 0.5
execute if score Krampus BossTimer matches 30 run playsound entity.ravager.roar hostile @a ~ -1 ~ 1 1.5
execute if score Krampus BossTimer matches 40 run playsound entity.generic.explode hostile @a ~ 11 ~ 5 0.9
execute if score Krampus BossTimer matches 41 run tp @s ~ -1 ~ 0 45
execute if score Krampus BossTimer matches 41 run particle firework ~ ~0.5 ~ 1 0 1 1 20
execute if score Krampus BossTimer matches 42 run particle explosion_emitter ~ ~0.5 ~ 1 0 1 0 4
execute if score Krampus BossTimer matches 40 run scoreboard players set @p[distance=..3] AttackType 15
execute if score Krampus BossTimer matches 42 run scoreboard players set @p[distance=..3] Hurt 80
execute if score Krampus BossTimer matches 42 as @p[distance=..3] at @s run function map:player_damage/take_damage
execute if score Krampus BossTimer matches 42 run summon marker ~ ~ ~1 {Tags:[EnemyProjectile,KrampusJump,Room],Rotation:[0.0f,0.0f]}
execute if score Krampus BossTimer matches 42 run summon marker ~ ~ ~-1 {Tags:[EnemyProjectile,KrampusJump,Room],Rotation:[-180.0f,0.0f]}
execute if score Krampus BossTimer matches 42 run summon marker ~1 ~ ~ {Tags:[EnemyProjectile,KrampusJump,Room],Rotation:[-90.0f,0.0f]}
execute if score Krampus BossTimer matches 42 run summon marker ~-1 ~ ~ {Tags:[EnemyProjectile,KrampusJump,Room],Rotation:[90.0f,0.0f]}
execute if score Krampus BossTimer matches 42 run summon marker ~ ~ ~1 {Tags:[EnemyProjectile,KrampusJump,Room],Rotation:[45.0f,0.0f]}
execute if score Krampus BossTimer matches 42 run summon marker ~ ~ ~-1 {Tags:[EnemyProjectile,KrampusJump,Room],Rotation:[-45.0f,0.0f]}
execute if score Krampus BossTimer matches 42 run summon marker ~1 ~ ~ {Tags:[EnemyProjectile,KrampusJump,Room],Rotation:[-135.0f,0.0f]}
execute if score Krampus BossTimer matches 42 run summon marker ~-1 ~ ~ {Tags:[EnemyProjectile,KrampusJump,Room],Rotation:[135.0f,0.0f]}
execute if score Krampus BossTimer matches 60 run data merge entity @s {NoAI:false}

execute if score Krampus BossTimer matches 60 run scoreboard players set Krampus BossPhase 0
execute if score Krampus BossTimer matches 60 run scoreboard players set Krampus BossTimer 0