adding case for main character and NPC