Language…
12 users online: Alex No,  Atari2.0, Brian94, Danik2343, Darolac, DixyNL, Golden Yoshi, Jordan, masl, Pink Gold Peach, Shiki_Makiro, synthie_cat - Guests: 226 - Bots: 332
Users: 64,795 (2,377 active)
Latest user: mathew

SMW Memory Map

Displaying 2 out of 2 addresses.

View: moderated | waiting (13)

Filter

Link
  • Pages:
  • 1
ROM Address Length Type Description Details
$07F252 26 bytes Sprite subroutine (JSL) Routine that computes the number of bonus stars to give Mario when touching the goal tape.
It does so by using the difference between the tape's starting Y position and the current Y position, divided by 4, to index the table at $07F1AA, which is then stored to $1900. Since the tape normally moves 1 pixel per frame, and it changes direction every #$7C frames, the highest value in the table (#$50, treated as decimal 50 bonus stars, which is loaded when the index is #$7C/4 = #$1F) can only be gotten on the single frame the tape is at its highest point. Also the values of 30 and 40 can only be gotten in one of the two 4-frame windows preceding the peak.
If the value is #$50, the GivePoints routine is called to give the player a 3Up.
$07F266 1 byte Misc. Bonus for getting 50 bonus stars (3up)
  • Pages:
  • 1