delete some redundant code since it was already in Battle/UI