- Joined
- Jan 4, 2021
- Messages
- 29
- Reaction score
- 2
- First Language
- English
- Primarily Uses
- RMVXA
To get the value of an array starting from the last index, you use -1 and so on
For example,
Code:array = [2, 1, 3, 5, 6, 7, 0, 8, 9, 10, 11] array[-1] # 11 array[-2] # 10 array[-3] # 9 array[-4] # 8 array[-5] # 0
Okay, I understand that. Now, how would you filter that through an array to only show the specified equip slots in the draw_item(index) on the Window_EquipSlot?