scoreboard players add .slime_queen_encounters progression 1

#first encounter
execute if score .slime_queen_encounters progression matches 1 if entity @a[advancements={main:dialogs/boss/slime_queen/specific/first_encounter=false}] run return run function main:dialog/start {"folder":"boss/slime_queen/specific/","allow_skip":"1","id":first_encounter}

#died on slime queen for the first time
execute if score .death_from_sq progression matches 1 if entity @a[advancements={main:dialogs/boss/slime_queen/specific/first_death_to=false}] run return run function main:dialog/start {"folder":"boss/slime_queen/specific/","allow_skip":"1","id":"first_death_to"}

#using sniper
execute if entity @a[tag=sniper,advancements={main:dialogs/boss/slime_queen/specific/using_sniper=false}] run return run function main:dialog/start {"folder":"boss/slime_queen/specific/","allow_skip":"1","id":"using_sniper"}

#second encounter
execute if score .slime_queen_encounters progression matches 2.. if entity @a[advancements={main:dialogs/boss/slime_queen/specific/second_encounter=false}] run return run function main:dialog/start {"folder":"boss/slime_queen/specific/","allow_skip":"1","id":second_encounter}

#other shit
function main:dialog/choose/choose {"storage":slime_queen,"folder":"boss/slime_queen/regular/"}