More Retro Pokesav integration work

* Switched Pokemon ID determination from dict to database
* Fixed item logic