#------------------------------------------------------------------------------
# This window displays actor parameter changes on the equipment screen.
#==============================================================================
class Window_EquipLeft < Window_Base
#----------------------------------------------------------------------------
# * Refresh
#----------------------------------------------------------------------------
def refresh
self.contents.clear
draw_actor_name(@actor, 4, 0)
draw_actor_level(@actor, 4, 32)
draw_actor_parameter(@actor, 4, 64, 0)
draw_actor_parameter(@actor, 4, 96, 1)
draw_actor_parameter(@actor, 4, 128, 2)
if @new_atk != nil
self.contents.font.color = system_color
self.contents.draw_text(160, 64, 40, 32, "->", 1)
if @new_atk < @actor.atk
self.contents.font.color = Color.new(255, 0, 0)
else
self.contents.font.color = Color.new(0, 255, 0)
end
self.contents.draw_text(200, 64, 36, 32, @new_atk.to_s, 2)
end
if @new_pdef != nil
self.contents.font.color = system_color
self.contents.draw_text(160, 96, 40, 32, "->", 1)
if @new_pdef < @actor.pdef
self.contents.font.color = Color.new(255, 0, 0)
else
self.contents.font.color = Color.new(0, 255, 0)
end
self.contents.draw_text(200, 96, 36, 32, @new_pdef.to_s, 2)
end
if @new_mdef != nil
self.contents.font.color = system_color
self.contents.draw_text(160, 128, 40, 32, "->", 1)
if @new_mdef < @actor.mdef
self.contents.font.color = Color.new(255, 0, 0)
else
self.contents.font.color = Color.new(0, 255, 0)
end
self.contents.draw_text(200,128, 36, 32, @new_mdef.to_s, 2)
end
end
end
place it above main and below other scripts, as for the second part im not sure what you are asking for, try to be a bit more descriptive on what you want.