Hey Fenix, its me: from
http://forums.rpgmakerweb.com/index.php?/topic/19146-sort-menu-option/#entry186201
I wanted to point out a minor oversight in your code that I managed to find and "fix". Items automatically de-select after you swap them but skills did not. It doesn't de-select a skill after using it either, so if you're not paying attention, it will auto swap with the next skill you try to use, This happens in both battles and from the menu,
The section marked with #'s is your original script. The other part is what I changed it to, simply copying and pasting the snippet under the "class Window_ItemList"
---------------------------------------
class Window_SkillList
# def process_ok
# if (@bypass_switch_ids && (item.id == @bypass_index))
# super
# elsif (@bypass_switch_ids && (item.id != @bypass_index))
# process_switch_order
# elsif !@bypass_switch_ids
# Sound.play_ok
# @bypass_switch_ids = true
# @bypass_index = item.id
# refresh
# end
# end
def process_ok
if (@bypass_switch_ids && (item.id == @bypass_index))
@bypass_switch_ids = @bypass_index = nil
super
elsif (@bypass_switch_ids && (item.id != @bypass_index))
process_switch_order
elsif !@bypass_switch_ids
if item
Sound.play_ok
@bypass_switch_ids = true
@bypass_index = item ? item.id : 0
refresh
else
@bypass_switch_ids = @bypass_index = nil
super
end
end
end
------------------------------------
I dont know how to make posts in Spoilers so they're hidden
On a side note thank you again for the script.
