This is simple. Open the scripts editor and open Game_Actor. Now find the method def exp=(exp) and replace it with this one:
def exp=(exp)
@exp = [[exp, 9999999].min, 0].max
while @exp >= @exp_list[@level+1] and @exp_list[@level+1] > 0
@level += 1
for j in $data_classes[@class_id].learnings
for i in 1..@level
learn_skill(j.skill_id) if j.level == i
end
end
end
for j in $data_classes[@class_id].learnings
for i in 1..99
forget_skill(j.skill_id) if j.level < i
end
end
@hp = [@hp, self.maxhp].min
@sp = [@sp, self.maxsp].min
end
This should work.