scoreboard players tag @a[tag=!TutorialEncounter] add TutorialEncounter
scoreboard players tag @e[name=Mordum,tag=!InCombat] add InCombat

execute @e[name=Mordum] ~ ~ ~ /playsound b_unknown_say_aggro voice @a[tag=TutorialEncounter] ~ ~ ~ 2 1 1

setblock 272.5 57.0 -251.5 repeating_command_block 1 replace {Command:"testfor @e[name=Mordum,score_GetEncounterIC_min=1]",auto:1}
setblock 272.5 57.0 -252.5 repeating_command_block 1 replace {Command:"testforblock 272.5 57.0 -251.5 repeating_command_block -1 {SuccessCount:0}",auto:1}
setblock 272.5 58.0 -252.5 chain_command_block 9 replace {Command:"function spire_of_souls:source/creature/tutorial/creature_defeat",auto:1}

entitydata @e[name=Mordum] {NoAI:0}