A Link to the Past

SQ-Reset Data

When the file select interface initializes, part of its routine clears 3 contiguous pages of sprite variables, or 768 bytes. Specifically, the memory addresses $7E0D00 to $7E0FFF (both ends inclusive), are set to 0.

Variables of note

The vast majority of the values cleared are sprite properties, and of those, most are initialized as the sprite spawns or before it needs them. Instead, the reset values to point out all lie at the end of the range:

Important to know

  • PRIZEXN at $7E0FC7–$7E0FCD — Prize pack indices. In other words, SQ resets all prize packs.
  • HOMESLOT at $7E0FDE — This is the address the Old Man uses to find coordinates to walk to when returning him. This is important to know in glitched categories that return the Old Man in rain state. In practice properly loaded position target overlords are always in slot 0, making this a safely reset value.

Less important but still interesting

  • RNG at $7E0FA1 — The pRNG accumulator that is, in part, used to determine the next output. This doesn't help manipulate RNG in real time, but it is interesting to point out.
  • OWPROX at $7E0FB7 — This is a separate, overworld-specific frame counter that controls sprite loading. Even frames load on horizontal triggers and odd frames on vertical.

SQ-Preserved

130,304 bytes are not specifically cleared here, making it impractical to list them exhaustively; however, a handful of variables are commonly asked about and thus worth calling out as preserved across Save-and-Quit.

  • BUSHPACK at $7E0FC7 — The bush pack counter is never explicitly set to 0.
  • DROPLUCK at $7E0FC9 and LUCKKILL at $7E0FCA — The Pond of Happiness luck mechanic variables are never set to 0 outside of their mechanic.
  • PULLKILL at $7E0FCB and PULLHITS at $7E0FCC — The rupee pull variables are never set to 0 outside of their mechanic.

Last updated November 20, 2026 by kan