Is there a way for the game's cursor to skip invalid options in the menu (including items and weapon scenes)?
Just like the options in gray(In the red box)
Just like the options in gray(In the red box)
It seems like It need a script, but I am illiterate in this area
class Window_Selectable < Window_Base
alias :tlb_skipdisabled_select :select
def select(index)
if (@list != nil && @list[index] != nil && !@list[index][:enabled]) || (@data != nil && !enabled?(@data[index]))
if index == self.index
Sound.play_cursor
else
if index < self.index
select(index - 1)
else
select(index + 1)
end
end
else
tlb_skipdisabled_select(index)
end
end
end
Original thread: https://forums.rpgmakerweb.com/threads/skip-invalid-options.160445/