scoreboard players set .number_max dialog 8



execute if score .number dialog matches 1.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Oh this one seems inactive.","text_color":"white","duration":30}
execute if score .number dialog matches 2.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Looks like your memory loader.","text_color":"white","duration":40}
execute if score .number dialog matches 3.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Hm true. I wonder if I can repurpose it to be one.","text_color":"white","duration":40}
execute if score .number dialog matches 3.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"Should I bring the components?","text_color":"white","duration":25}
execute if score .number dialog matches 4.. run function main:dialog/text/text {"name":"Diann","name_color":"aqua","text":"Yeah, it would be pretty useful, thanks.","text_color":"white","duration":30}
execute if score .number dialog matches 5.. run function main:dialog/text/text {"name":"L-30","name_color":"blue","text":"You`ll have to fix my back after this...","text_color":"white","duration":30}

execute if score .number dialog matches 6.. run function main:dialog/text/text_custom {text:'{"color":"aqua","text":"MEMORY LOADER ","bold":true},{"color":"white","text":"once it`s active, will be used to change the","bold":false},{"color":"red","text":" Memory Chip ","bold":false},{"color":"white","text":"that Diann uses.","bold":false}',"duration":50}
execute if score .number dialog matches 7.. run function main:dialog/text/text_custom {text:'{"color":"white","text":"Each","bold":false},{"color":"red","text":" Memory Chip ","bold":true},{"color":"white","text":"grants different abilities and skills that Diann can use during the run.","bold":false}',"duration":50}
execute if score .number dialog matches 8.. run function main:dialog/text/text_custom {text:'{"color":"white","text":"To unlock new","bold":false},{"color":"red","text":" Memory Chips, ","bold":true},{"color":"white","text":"one must extract memories from special items found during runs.","bold":false}',"duration":50}


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