PWhiddy / PokemonRedExperiments

Playing Pokemon Red with Reinforcement Learning
MIT License
6.99k stars 644 forks source link

Clean up memory addresses #152

Closed taylora-mitre closed 10 months ago

taylora-mitre commented 11 months ago

Certain functions call specific memory addresses to look for things (agent position / pokemon HP / money / etc).

It looks odd to have these in the main code, so I moved these to a separate file called memory_addresses.py with a copy of the reference for their origin.

PWhiddy commented 10 months ago

Looks good, thanks!