execute if score global undoStackHead matches 11 run function bd:game/record_undo/11
execute if score global undoStackHead matches 12 run function bd:game/record_undo/12
execute if score global undoStackHead matches 13 run function bd:game/record_undo/13
execute if score global undoStackHead matches 14 run function bd:game/record_undo/14
execute if score global undoStackHead matches 15 run function bd:game/record_undo/15
execute if score global undoStackHead matches 16 run function bd:game/record_undo/16
execute if score global undoStackHead matches 17 run function bd:game/record_undo/17
execute if score global undoStackHead matches 18 run function bd:game/record_undo/18
execute if score global undoStackHead matches 19 run function bd:game/record_undo/19
execute if score global undoStackHead matches 20 run function bd:game/record_undo/20