Views: 737,898,745
18 users online: AyGaAlPa, BeeKaaaay, chickaDEE Magazine, Dark Prince, ECS.98, Infinity,, kamekku14, MarioFanGamer, MasterBugCatcher, Mediocre Espurr, Nint3ndoleggend, PowerStrike, Rameau's Nephew, Romano338, Stiviboy, tchfunkta, WhiteYoshiEgg - Guests: 49 - Bots: 196Users: 38,822 (1,927 active)
Latest: DanielDonut
Tip: Before asking for help on the forums, make sure you've tried to figure out the problem on your own first.Not logged in.
Forum Index - SMW Hacking - Resource & Tool Releases - SMW Data Repository - OAM Map
Pages: « 1 »
Below is a list of what's stored at different parts of the OAM. The index is the actual OAM address of the sprite, which is the same thing as the slot number times 4 (as each sprite slot is four bytes large). It's also the index to SMW's RAM mirror of the OAM located at $7E:0200.

Note: When allocating space in the OAM, the game picks the last unused index. For instance, when creating a new sparkle, the game would first check index 31 then 30, 29, etc. until it finds a free slot.

02F0-02FC are used by the contact smoke sprite.

The initial slot is chosen at $0297B3 and it uses the next 3 OAM slots like Yoshi's tounge.

CODE_0297B2:        A0 F0         LDY.B #$F0

Also, it uses a different slot when the player is in a special level (i.e Bowser battle or boss rooms) it uses 0390-039C and the initial slot is chosen at $029839:

CODE_029838:        A0 90         LDY.B #$90
Overworld OAM Map (WIP)

| $0200 to $023C 	| Overworld border squares behind the player.
| $0240 to $0270	| Clouds
| $0274 to $027C	| Yoshi House smoke.
| $0280 to $028C	| Star effect used in the level icon reveal and the "press switch palace" effect.
| $029C to $02B8	| Current player in the map.
| $02BC to $02D8	| Idle player in the map.
| $02AC			| Mario in the "Live Exchange" window
| $02B0			| Luigi in the "Live Exchange" window
| $0340 to $03DC	| Switch palace blocks
| $0350 to $03DC	| Event fade effect
| $03E8 to $03EC	| Walking player in the border
| $03F0 to $03F4	| Unknown (probably unused)
| $03F8			| Cape of the walking player in the border
| $03FC			| Unknown (probably unused)

Notes in $029C and $02BC:
- When idle or standing in level icon or walking down he the first 4 slots are used by Yoshi and the last 4 slots are used by the current player.
- When the player is walking to left, right or up he uses the first 4 slots and yoshi uses the last 4 slots.

I still need to find some slots that are used by some other overworld sprites. I will edit this post when I found these (or someone else does it).
Originally posted by LX5
| $03F0 to $03F4	| Unknown (probably unused)

these are probably reserved for the player's 8x8 tiles (though they would look glitched)

same with $03FC (for one of the cape tiles, doubt it though)
0F0, 0F4, 0F8, and 0FC are used by the spinjump star effect (0F8 and 0FC are shared with mario's fireballs). not sure why it isnt on the map already...
I reported that almost a year ago.

Not sure how to add values to the table, but I'll try to add it.

e: tried to edit, failed to understand HTML.
i think i'm legally blind, welp

but yeah, tables arent very user-friendly, especially large complex ones
Pages: « 1 »
Forum Index - SMW Hacking - Resource & Tool Releases - SMW Data Repository - OAM Map

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2019 - SMW Central
Legal Information - Privacy Policy - Link To Us

Total queries: 25


Follow Us On

  • Facebook
  • Twitter
  • YouTube


  • Talkhaus
  • SMBX Community
  • GTx0
  • Super Luigi Bros
  • MFGG
  • Gaming Reinvented