binji / porklike.gb

Gameboy Port of LazyDevs' Porklike
MIT License
44 stars 3 forks source link

Keys carry over across playthroughs #11

Open etdv-thevoid opened 1 month ago

etdv-thevoid commented 1 month ago

The variable num_keys is never explicitly set to 0, so any keys collected in a given playthrough will carry over to the the subsequent run.

To reproduce, start a run, collect at least 1 key, and then die. On the second run, the UI will display zero keys, but upon collecting a new key, the UI will update to display 2 keys. Additionally, you can open the first door on floor 3 without having to find the mod with the key.

binji commented 1 month ago

Oh man, I can't believe I missed this. Thanks for reporting! I've pushed a fix, but haven't pushed a new release yet. Have you found any other issues?