I was trying to access the item category window (Window_ItemCategory) index and it seems not to work. I am making a new function where when I select a button, it handles a function that has this block:
this._categoryWindow._index = 1;
It should work, but I don't know why it doesn't return the index to 1 when it's on somewhere. For example, we have Items, Weapons, Armors and Key Items. We know they are 0, 1, 2 and 3. When I click the button and the selection is on Key items, and click the button that says the index should be on 1, it doesn't return it to Weapons. It just doesn't set the index.