added features to battle and fixed textures bugs