#==============================================================================# ** Game_CharacterBase#==============================================================================class Game_CharacterBase #-------------------------------------------------------------------------- # * Public Instance Variables #-------------------------------------------------------------------------- attr_accessor :bush_opacity # bush_opacity #-------------------------------------------------------------------------- # * ALIAS - Initialize Public Member Variables #-------------------------------------------------------------------------- unless method_defined?(:bush_HtCDOT4g_gcb_init_public_members) alias_method(:bush_HtCDOT4g_gcb_init_public_members, :init_public_members) end def init_public_members(*args, &block) bush_HtCDOT4g_gcb_init_public_members(*args, &block) # Default 'bush_opacity' is 128; Maximum is 255 @bush_opacity = 0 endend # Game_CharacterBase#==============================================================================# ** Sprite_Character#==============================================================================class Sprite_Character < Sprite_Base #-------------------------------------------------------------------------- # * ALIAS - Update Other #-------------------------------------------------------------------------- unless method_defined?(:bush_GOpkYjh1_sc_update_other) alias_method(:bush_GOpkYjh1_sc_update_other, :update_other) end def update_other(*args, &block) bush_GOpkYjh1_sc_update_other(*args, &block) self.bush_opacity = @character.bush_opacity end end # Sprite_Character