Skip to content

Prior Values

A Prior value is the previous value at an address. It is similar to Delta, except it's only updated when the current values changes, whereas Delta is updated every frame. Note: when you use Prior it is implicit that you are referring to an address and not a value.

Examples of how it can be used:

  • Ensures a player visited the previous level instead of using a password to get there: prior level = 6 would only be true if the player isn't currently on level 6, but hasn't been anywhere except the current level since being on level 6. If they came straight from the menu prior level would likely be 0.

Comparison of memory types across several frames:


Delta is always one frame behind Mem. Prior is only updated when Mem changes.

Released under the GPL-3 License. There are no copyright-protected ROMs available for download on RetroAchievements.