Clean up on Flash and fixed a typo in npc_abilities_custom