scoreboard players add dialogue.answer_current temp 1
execute store result storage lbdm:main dialogue.current_answer int 1 run scoreboard players get dialogue.answer_current temp
function lbdm:main/dialogue/display/answers/get with storage lbdm:main dialogue
execute if score dialogue.answer_current temp < dialogue.answers_total temp run function lbdm:main/dialogue/display/answers/loop