setting battle state on init