scoreboard players set .number_max dialog 21



execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Wow!","text_color":"white","duration":30}
execute if score .number dialog matches 2.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Leo, do you see this?!","text_color":"white","duration":30}
execute if score .number dialog matches 3.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"...","text_color":"white","duration":40}
execute if score .number dialog matches 4.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Leo?","text_color":"white","duration":30}
execute if score .number dialog matches 5.. run function main:dialog/text/text {"name":"???","name_color":"light_purple","text":"Hello, traveler.","text_color":"white","duration":30}
execute if score .number dialog matches 6.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Huh!? What the!?","text_color":"white","duration":30}
execute if score .number dialog matches 7.. run function main:dialog/text/text {"name":"???","name_color":"light_purple","text":"Welcome to the place known as ``Eden``. We found your achievements quite impressive.","text_color":"white","duration":60}
execute if score .number dialog matches 8.. run function main:dialog/text/text {"name":"???","name_color":"light_purple","text":"As a reward for your commitment, we would like to you a reward fit for the challenge you`ve faced.","text_color":"white","duration":60}
execute if score .number dialog matches 9.. run function main:dialog/text/text {"name":"???","name_color":"light_purple","text":"Tell me, what is your wish?","text_color":"white","duration":40}
execute if score .number dialog matches 10.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"My wish is to find my father and return him home. His name is Carek.","text_color":"white","duration":45}
execute if score .number dialog matches 11.. run function main:dialog/text/text {"name":"???","name_color":"light_purple","text":"...","text_color":"white","duration":30}
execute if score .number dialog matches 11.. run function main:dialog/text/text {"name":"???","name_color":"light_purple","text":"Oh.","text_color":"white","duration":30}
execute if score .number dialog matches 13.. run function main:dialog/text/text {"name":"???","name_color":"light_purple","text":"Well that sucks...","text_color":"white","duration":30}
execute if score .number dialog matches 14.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Huh?","text_color":"white","duration":30}
execute if score .number dialog matches 15.. run function main:dialog/text/text {"name":"???","name_color":"light_purple","text":"I-I mean, that`s unfortunate, but I must ask you to leave.","text_color":"white","duration":40}
execute if score .number dialog matches 16.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Wait what?","text_color":"white","duration":30}
execute if score .number dialog matches 17.. run function main:dialog/text/text {"name":"???","name_color":"light_purple","text":"We are touched by your commitment, and we acknowledge your desires.","text_color":"white","duration":50}
execute if score .number dialog matches 18.. run function main:dialog/text/text {"name":"???","name_color":"light_purple","text":"But you have to leave now. I can`t disclose anything else.","text_color":"white","duration":40}
execute if score .number dialog matches 19.. run function main:dialog/text/text {"name":"Diann (thoughts)","name_color":"aqua","text":"No, I am not leaving before I get my answers.","text_color":"white","duration":30}
execute if score .number dialog matches 20 run schedule function main:game/start/stage/sky/schedule 10t
execute if score .number dialog matches 21 run function main:dialog/text/text_custom {text:'{"color":"white","text":"I have to ","bold":false},{"color":"light_purple","text":"move forward!","bold":false}',"duration":2000}

# 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":"<<<<"}]