Pokedex5E
Pokedex5E copied to clipboard
screens/change_pokemon/change_pokemon.lua:232: attempt to index a nil value
1.11.2 - lua - screens/change_pokemon/change_pokemon.lua:232: attempt to index a nil value -
stack traceback:
screens/change_pokemon/change_pokemon.lua:232: in function 'redraw_moves'
screens/change_pokemon/change_pokemon.lua:283: in function 'redraw'
screens/change_pokemon/change_pokemon.lua:352: in function 'redraw'
screens/change_pokemon/edit/edit.gui_script:58: in function <screens/change_pokemon/edit/edit.gui_script:49>
[C]: in function 'resume'
monarch/monarch.lua:893: in function 'on_message'
monarch/screen_factory.script:43: in function <monarch/screen_factory.script:35>
Hard to diagnose this error. There are two table index look ups on the same line
local move_node = move_buttons_list[data.index].text Hard to understand without more context if it where data or move_buttons_list that where the culprit.