class Scene_Equip < Scene_Base
def update_status_window
if @equip_window.active
@status_window.set_new_parameters(nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil)
elsif @item_window.active
temp_actor = Marshal.load(Marshal.dump(@actor)) #@actor.clone #
temp_actor.change_equip(@equip_window.index, @item_window.item, true)
new_atk = temp_actor.atk
new_def = temp_actor.def
new_spi = temp_actor.spi
new_agi = temp_actor.agi
new_hit = temp_actor.hit
new_eva = temp_actor.eva
new_cri = temp_actor.cri
new_maxhp = temp_actor.maxhp
new_maxmp = temp_actor.maxmp
new_sx9 = temp_actor.sx9
new_sx10 = temp_actor.sx10
new_sx11 = temp_actor.sx11
new_sx12 = temp_actor.sx12
new_sx13 = temp_actor.sx13
new_sx14 = temp_actor.sx14
new_sx15 = temp_actor.sx15
new_sx16 = temp_actor.sx16
new_sx17 = temp_actor.sx17
new_sx18 = temp_actor.sx18
new_sx19 = temp_actor.sx19
new_sx20 = temp_actor.sx20
new_sx21 = temp_actor.sx21
new_sx22 = temp_actor.sx22
new_sx23 = temp_actor.sx23
new_sx24 = temp_actor.sx24
new_sx25 = temp_actor.sx25
new_sx26 = temp_actor.sx26
new_sx27 = temp_actor.sx27
new_sx28 = temp_actor.sx28
new_sx29 = temp_actor.sx29
new_sx30 = temp_actor.sx30
@status_window.set_new_parameters(new_atk, new_def, new_spi, new_agi, new_maxhp, new_maxmp, new_hit, new_eva, new_cri, new_sx9,new_sx10, new_sx11, new_sx12, new_sx13, new_sx14, new_sx15, new_sx16, new_sx17, new_sx18, new_sx19, new_sx20, new_sx21, new_sx22, new_sx23, new_sx24, new_sx25, new_sx26, new_sx27, new_sx28, new_sx29, new_sx30)
end
@status_window.update
end
end
class Scene_Equip < Scene_Base
def update_status_window
if @equip_window.active
@status_window.set_new_parameters(nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil)
elsif @item_window.active
temp_actor = Marshal.load(Marshal.dump(@actor)) #@actor.clone #
temp_actor.change_equip(@equip_window.index, @item_window.item, true)
new_atk = temp_actor.atk
new_def = temp_actor.def
new_spi = temp_actor.spi
new_agi = temp_actor.agi
new_hit = temp_actor.hit
new_eva = temp_actor.eva
new_cri = temp_actor.cri
new_maxhp = temp_actor.maxhp
new_maxmp = temp_actor.maxmp
new_sx9 = temp_actor.sx9
new_sx10 = temp_actor.sx10
new_sx11 = temp_actor.sx11
new_sx12 = temp_actor.sx12
new_sx13 = temp_actor.sx13
new_sx14 = temp_actor.sx14
new_sx15 = temp_actor.sx15
new_sx16 = temp_actor.sx16
new_sx17 = temp_actor.sx17
new_sx18 = temp_actor.sx18
new_sx19 = temp_actor.sx19
new_sx20 = temp_actor.sx20
new_sx21 = temp_actor.sx21
new_sx22 = temp_actor.sx22
new_sx23 = temp_actor.sx23
new_sx24 = temp_actor.sx24
new_sx25 = temp_actor.sx25
new_sx26 = temp_actor.sx26
new_sx27 = temp_actor.sx27
new_sx28 = temp_actor.sx28
new_sx29 = temp_actor.sx29
new_sx30 = temp_actor.sx30
@status_window.set_new_parameters(new_atk, new_def, new_spi, new_agi, new_maxhp, new_maxmp, new_hit, new_eva, new_cri, new_sx9,new_sx10, new_sx11, new_sx12, new_sx13, new_sx14, new_sx15, new_sx16, new_sx17, new_sx18, new_sx19, new_sx20, new_sx21, new_sx22, new_sx23, new_sx24, new_sx25, new_sx26, new_sx27, new_sx28, new_sx29, new_sx30)
end
@status_window.update
end
end