scoreboard players set .number_max dialog 22


execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Diann! Are you okay!?","text_color":"white","duration":30}
execute if score .number dialog matches 2.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Y..yeah, I`m fine..","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":"What happened? Did you manage to destroy the crystal?","text_color":"white","duration":30}
execute if score .number dialog matches 4.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Yeah.. I did.","text_color":"white","duration":20}
execute if score .number dialog matches 5.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"It had my father inside.","text_color":"white","duration":20}
execute if score .number dialog matches 6.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Great! Where is he?","text_color":"white","duration":50}
execute if score .number dialog matches 7.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"...","text_color":"white","duration":20}
execute if score .number dialog matches 8.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"He had to stay.","text_color":"white","duration":30}
execute if score .number dialog matches 9.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Wait, why?","text_color":"white","duration":50}
execute if score .number dialog matches 10.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"He wished for mom`s resurrection and has to pay with his lifeforse for it.","text_color":"white","duration":50}
execute if score .number dialog matches 11.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"He said I can visit though, so that`s nice.","text_color":"white","duration":40}
execute if score .number dialog matches 12.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Oh...","text_color":"white","duration":30}
execute if score .number dialog matches 13.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"So you gonna go on your travel again?","text_color":"white","duration":30}
execute if score .number dialog matches 14.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Here are a lot of things I haven`t spoken with him yet, so... yeah.","text_color":"white","duration":50}
execute if score .number dialog matches 15.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"You need to rest first.","text_color":"white","duration":30}
execute if score .number dialog matches 16.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Yeah, I agree with you on that.","text_color":"white","duration":30}
execute if score .number dialog matches 17.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Don`t tell your mom about this whole Eden deal, okay?","text_color":"white","duration":30}
execute if score .number dialog matches 18.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"She won`t handle it.","text_color":"white","duration":30}
execute if score .number dialog matches 19.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Yeah, of course. I will just mention that I met dad.","text_color":"white","duration":40}
execute if score .number dialog matches 20.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"That he can`t get back, but I can visit him anyways.","text_color":"white","duration":40}
execute if score .number dialog matches 21.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"That works, yeah.","text_color":"white","duration":30}
execute if score .number dialog matches 22.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Alright, time to rest.","text_color":"white","duration":30}