initialize unused vars to 0
simplify battlestatus (remove struct & use bitfield)
cleanup structs / use bitfield
cleanup & add assert