22 users online: Anas, DPBOX, Green, h.carrell, Humpty Dumpty Magazine,  icrawfish, isaix, Jakeapus, K3fka, Karisa, Koopster, kurb kid, MagikNinja, Odyssey K., racmellien, Red2010, redstoneblock,  Sayuri, SpaceGlam, VLSkoot, wye, yno14jax - Guests: 82 - Bots: 165
Users: 62,944 (2,663 active)
Latest user: racmellien

SMW Memory Map

Displaying 1 out of 1 addresses.

View: moderated | waiting (13)


  • Pages:
  • 1
RAM Address Length Type Description Details
$7E0055 1 byte Camera Direction of scrolling for Layer 1.
#$00 = left (or up); #$02 = right (or down).
Used to index the various camera tables at $7E0045 to $7E0048 and $7E004D to $7E0050.

When handling routine $00F70D, it is set to $00 if the player's on-screen X position is less than the value of $142A and $02 otherwise. This is used to determine which side to enable spawning sprites depending which side the player is on compared to $142A.

It is also temporarily set to #$01 during level load for loading onscreen sprites.
  • Pages:
  • 1