Banner
C3 IS OVER! (buy Skyrim on Commodore 64)
Views: 598,887,823
Time: 2018-01-17 09:12:47 PM
19 users online: AgentExabyte, BTD6_maker, chickaDEE Magazine, gonzosmw, Hat Kid, o Heraga, IHATE.COM, JonKaruzu, MarioFanGamer, o Mathos, MaxodeX, Meirdent, Ninja Boy, pakkie, randomdude999, o Spy, telinc1, TheBiob, TheJullasicFox - Guests: 55 - Bots: 365Users: 33,609 (1,510 active)
Latest: Mapache
Not logged in.
OAM Map
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
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
CODE_029838:        A0 90         LDY.B #$90
Overworld OAM Map (WIP)

Code
| $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
Code
| $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 - 2018 - SMW Central
Legal Information - Privacy Policy - Link To Us


Total queries: 23

Menu

Follow Us On

  • Facebook
  • Twitter
  • YouTube

Affiliates

  • Talkhaus
  • SMBX Community
  • GTx0
  • Super Luigi Bros
  • ROMhacking.net
  • MFGG
  • Gaming Reinvented