class Window_A
alias initialize0 initialize
def initialize(*args)
initialize0(*args)
@battler = [@actor.battler_name, @actor.battler_hue]
end
def update
super
if @battler != [@actor.battler_name, @actor.battler_hue]
@battler = [@actor.battler_name, @actor.battler_hue]
refresh
end
end
alias refresh0 refresh
def refresh
contents.clear
refresh0
end
end
class Window_A
alias initialize0 initialize
def initialize(*args)
initialize0(*args)
@battler = [@actor.battler_name, @actor.battler_hue]
end
def update
super
if @battler != [@actor.battler_name, @actor.battler_hue]
@battler = [@actor.battler_name, @actor.battler_hue]
refresh
end
end
alias refresh0 refresh
def refresh
contents.clear
refresh0
end
end