revert state_battle