Modify enemy AI to allow easier overload of functions for custom scenario AI.