scoreboard players set .number_max dialog 17



execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Should be nearby...","text_color":"white","duration":30}
execute if score .number dialog matches 2.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Hey, Leo, can you drop me an energy core?","text_color":"white","duration":30}
execute if score .number dialog matches 3.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Diann, your mother will get worried.","text_color":"white","duration":45}
execute if score .number dialog matches 4.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"It`s fine, I can hold on my own, you know that.","text_color":"white","duration":40}
execute if score .number dialog matches 5.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"*sigh* That`s exactly the reason why she`s worried.","text_color":"white","duration":35}
execute if score .number dialog matches 6.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Last time you went on such an adventure - you managed to destroy half of the mountain Gevara.","text_color":"white","duration":50}
execute if score .number dialog matches 7.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Tell mom not to worry, I will be extremely careful.","text_color":"white","duration":40}
execute if score .number dialog matches 8.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"*sigh*","text_color":"white","duration":20}
execute if score .number dialog matches 9.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Anyway, what do you think about this?","text_color":"white","duration":40}
execute if score .number dialog matches 10.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"What do you mean?","text_color":"white","duration":30}
execute if score .number dialog matches 11.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"About the hidden lab in the middle of nowhere.","text_color":"white","duration":30}
execute if score .number dialog matches 12.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Seems perfectly normal, considering how you turned out to be.","text_color":"white","duration":30}
execute if score .number dialog matches 13.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Have I ever had a secret lab?","text_color":"white","duration":30}
execute if score .number dialog matches 13 run kill @e[type=item_display,tag=logo]
execute if score .number dialog matches 14.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Not that I know of, but maybe that`s the goal.","text_color":"white","duration":60}
execute if score .number dialog matches 15.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Bruh. Send me an Energy Core please.","text_color":"white","duration":30}
execute if score .number dialog matches 16.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Here you go.","text_color":"white","duration":30}
execute if score .number dialog matches 16 run function main:tutorial/part/1/2
execute if score .number dialog matches 17.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Alright, I need to open it first.","text_color":"white","duration":30}




# execute if score .number dialog matches 1.. run tellraw @a [{"bold":false,"color":"white","text":">>>>"},{"bold":true,"clickEvent":{"action":"run_command","value":"/function main:dialog/stop"},"color":"red","text":"DON`T SKIP"},{"bold":false,"color":"white","text":"<<<<"}]