kill @e[type=marker,tag=id14_mob]
execute as @e[type=item_display,tag=aj.penguineer.root] run function animated_java:penguineer/remove/this
function main:game/mobs/ai/death

scoreboard players add .penguineer_kills progression 1

summon item ~ ~1 ~ {Motion:[0.0,0.5,0.0],CustomNameVisible:1b,Tags:["no","boss_key"],CustomName:'{"bold":true,"color":"aqua","text":"Boss Key"}',Item:{id:"minecraft:coal",count:1,components:{"minecraft:item_model":"minecraft:keys/penguineer_key"}}}

advancement grant @a only main:progression/boss/penguineer/root

playsound entity.wither.death master @a ~ ~ ~ 10 2 1
particle dust_pillar{block_state:"light_blue_concrete"} ~ ~ ~ 0.5 2 0.5 0 150 force

summon firework_rocket ~ ~ ~ {Life:0,LifeTime:0,FireworksItem:{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{explosions:[{shape:"burst",has_twinkle:true,has_trail:true,colors:[I;63487],fade_colors:[I;26997]}]}}}}

scoreboard players set @a impact_frames 10
scoreboard players set .penguineer hud 80
scoreboard players set .boss_slayed hud 80

function main:dialog/id/boss/penguineer/on_death/check