NF. shortened code by adding a function

added the delete character method in the enterplayAnime() state since
ghosts are now added to the list of characters. shortened code by adding
init_nodepath.
error is at setTag.