Add encounter.inBattle