besteon / Ironmon-Tracker

A Lua script for the Bizhawk/mGBA emulator compatible with Pokemon Fire Red, Leaf Green, Ruby, Sapphire, and Emerald that tracks relevant data for the IronMon challenge.
MIT License
130 stars 45 forks source link

Backup last seed before loading the next one #283

Closed AndreVolpi closed 2 years ago

AndreVolpi commented 2 years ago

This PR intends to save the last seed played when the user requests a new one, so they can go back to it (for log review or when reset was unintended).

Fellshadow commented 2 years ago

Working at the moment so can't take a proper look at this until later (unless Zac looks it over before i do), just noting that i changed the base branch from main -> staging since main is usually kept in state of current release while staging is where we add new features to in preparation for future releases (bugfixes is the branch for small hotfixes).

Doesn't make a huge difference on the PR right now since we just had a release so main/staging are up to date but in future there would likely be the case where staging has quite a few commits ahead of the main branch so being up-to-date from there for dev-work would be ideal