You should consider joining our Discord to ask for support.

We created a support channel using the new Discord Forum feature!

You can also visit our new website, it has a help section in English and French

0 like 0 dislike
459 views
in Bug by (540 points)

Wasn't really sure how to word this but I'm trying to make it where when you press up or down in the summary screen for skills it will no longer skip 2. My summary screen only has the 4 moves going in one direction and skipping a move when pressing up and down instead of moving to the next/previous move isn't ideal. Currently pressing left and right will make it go up/down one, but pressing down/up will make it skip one. I modified fix_index(index) to no longer call fix_index_minus or fix_index_plus since I thought that was what caused it to skip a move, but it still seems to be doing it.

def fix_index(index)

      max_index = (@data&.skills_set&.size || 1) - 1

      return 0 if max_index == 0

      if index < 0

        return max_index

      elsif index > max_index

        return 0

      end

      return index

    end

1 Answer

2 like 0 dislike
by (28.0k points)
selected by
 
Best answer

This function only fixes the index when it's being set.
You need to change the function update_inputs_move_index from 01400 GamePlay\00200 Party\00201 Summary_update.rb

...