rearranged battle screen ui and started in on tick function
added a new field for type to use as a flag