ERROR:SCRIPT: /pokedex/storage.lua:76: attempt to compare nil with number
stack traceback:
/pokedex/storage.lua:76: in function </pokedex/storage.lua:76>
[C]: in function 'sort'
/pokedex/storage.lua:41: in function 'list_of_ids_in_party'
/screens/storage/inventory.lua:38: in function 'setup'
/screens/storage/inventory.lua:28: in function 'redraw'
/screens/storage/storage.gui_script:147: in function </screens/storage/storage.gui_script:135>
ERROR:GAMESYS: Error when dispatching message to gui scene: -2. Message 'party_updated' sent from main:/collection12/go#gui to main:/collection7/go#gui.