Admiral-Fish / CitraRNG

GNU General Public License v3.0
4 stars 7 forks source link

tuple index plz help #21

Open Traimner opened 1 year ago

Traimner commented 1 year ago

I get this whenever I try to update "main Pokémon" I have no clue how to fix anything cause I'm not smart enough for this shiz. ORAS BTW Traceback (most recent call last): File "/Applications/Citra2/canary/scripting/main_window.py", line 318, in updateMainPokemon6 self.mainPokemon6.updateInformation(pkm) File "/Applications/Citra2/canary/scripting/pokemon_display.py", line 16, in updateInformation self.labelNatureValue.setText(pkm.nature()) ^^^^^^^^^^^^ File "/Applications/Citra2/canary/scripting/pokemon.py", line 45, in nature return lookup.natures[convertByte(self.data, 0x1C)]


IndexError: tuple index out of range

Then if I try to update "Main RNG" I get

Traceback (most recent call last):
  File "/Applications/Citra2/canary/scripting/main_window.py", line 318, in updateMainPokemon6
    self.mainPokemon6.updateInformation(pkm)
  File "/Applications/Citra2/canary/scripting/pokemon_display.py", line 16, in updateInformation
    self.labelNatureValue.setText(pkm.nature())
                                  ^^^^^^^^^^^^
  File "/Applications/Citra2/canary/scripting/pokemon.py", line 45, in nature
    return lookup.natures[convertByte(self.data, 0x1C)]
           ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IndexError: tuple index out of range

I believe that I followed the instructions as best as I could. :/