Battle Update

Further additions to the battle engine, including a refinement of the
type effectiveness calculation routine and the addition of almost the
entire command set for the main battle script.