changed init code (Battle and INIT event)