03-12-2010, 08:29 AM
Oh, sorry, I got two posts mixed up...
So, have you tried this:
put after all the scripts you have?
So, have you tried this:
Code:
class Window_Skill
#--------------------------------------------------------------------------
# * Refresh
#--------------------------------------------------------------------------
def refresh
if self.contents != nil
self.contents.dispose
self.contents = nil
end
@data = []
for i in 0...@actor.skills.size
skill = $data_skills[@actor.skills[i]]
if skill != nil
@data.push(skill) unless ((SKILL_COSTS[@actor.skills[i]] != nil) and (not @actor.active_skills.include?(@actor.skills[i]))) # Edited line
end
end
# If item count is not 0, make a bit map and draw all items
@item_max = @data.size
if @item_max > 0
self.contents = Bitmap.new(width - 32, row_max * 32)
for i in 0...@item_max
draw_item(i)
end
end
end
end
put after all the scripts you have?