MonsterDeath function triggers inside monster again, there's now attackfunctions.
Cleaning up some code