end
end
end
#--------------------------------------------------------------------------
# ● フレーム更新
#--------------------------------------------------------------------------
alias tmbsprex_sprite_battler_update update
def update
tmbsprex_sprite_battler_update
if @battler
if @use_sprite
self.zoom_y = self.zoom_x
self.z = 50 + self.y
if @zoom_max && @battler.movable?
@zoom_count += 1
@zoom_count = 0 if @zoom_count == @zoom_max
f = Math.sin(Math::PI * @zoom_count / (@zoom_max / 2))
self.zoom_y += f * 0.015 + 0.015
end
end
end
end
end