Updated for battle_functions.js
OnDeath Trigger now works correctly
Text Area now correctly assigns color to each input