
#==============================================================================
# ** Sprite_Picture
#------------------------------------------------------------------------------
# This sprite is used to display the picture.It observes the Game_Character
# class and automatically changes sprite conditions.
#==============================================================================
class Sprite_Picture < Sprite
#--------------------------------------------------------------------------
# * Alias Methods
#--------------------------------------------------------------------------
alias glitch_anchor_pic_sprite_picture_update update
#--------------------------------------------------------------------------
# * Frame Update
#--------------------------------------------------------------------------
def update
glitch_anchor_pic_sprite_picture_update
if @picture_name.include?("$")
self.ox = $game_map.display_x / 4
self.oy = $game_map.display_y / 4
end
end
end