class Sprite_Battler
alias mf240916update update
def update
mf240916update
@zoom_rand ||= [0,true]
if @battler && @battler.is_a?(Game_Enemy) && @battler_visible && @battler.alive?
if @zoom_rand[0] < 30 && @zoom_rand[1]
self.zoom_x += 0.01
self.zoom_y += 0.01
@zoom_rand[0] += 1
@zoom_rand[1] = false if @zoom_rand[0] >= 30
elsif @zoom_rand[0] > -30 && !@zoom_rand[1]
self.zoom_x -= 0.01
self.zoom_y -= 0.01
@zoom_rand[0] -= 1
@zoom_rand[1] = true if @zoom_rand[0] <= -30
end
end
end
end
class Sprite_Battler
alias mf240916update update
def update
mf240916update
@zoom_rand ||= [0,true]
if @battler && @battler.is_a?(Game_Enemy) && @battler_visible && @battler.alive?
if @zoom_rand[0] < 30 && @zoom_rand[1]
self.zoom_x += 0.01
self.zoom_y += 0.01
@zoom_rand[0] += 1
@zoom_rand[1] = false if @zoom_rand[0] >= 30
elsif @zoom_rand[0] > -30 && !@zoom_rand[1]
self.zoom_x -= 0.01
self.zoom_y -= 0.01
@zoom_rand[0] -= 1
@zoom_rand[1] = true if @zoom_rand[0] <= -30
end
end
end
end