execute if score global undoStackHead matches 41 run function bd:game/record_undo/41
execute if score global undoStackHead matches 42 run function bd:game/record_undo/42
execute if score global undoStackHead matches 43 run function bd:game/record_undo/43
execute if score global undoStackHead matches 44 run function bd:game/record_undo/44
execute if score global undoStackHead matches 45 run function bd:game/record_undo/45
execute if score global undoStackHead matches 46 run function bd:game/record_undo/46
execute if score global undoStackHead matches 47 run function bd:game/record_undo/47
execute if score global undoStackHead matches 48 run function bd:game/record_undo/48
execute if score global undoStackHead matches 49 run function bd:game/record_undo/49
execute if score global undoStackHead matches 50 run function bd:game/record_undo/50