I can't figure what do you mean, show us the error shown in the debugger.
(take a SS of your godot window if you can)
Also, as a suggestion, change your _process()
content to the next code to be more readeable:
func _process(delta):
var animations = [PlayerAnim,EnemyAnim]
var anim_states = ["Hurt","Attack","Dead"]
var choice_nodes_to_disable = [$Choice1,$Choice2,$Choice3,$Choice4]
for anim in animations:
if anim.current_animation in anim_states:
for choice in choice_nodes_to_disable:
choice.disabled = true