Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

Secret of Mana (SNES)/RAM map

From Data Crystal
Jump to navigation Jump to search

Chip tiny.png The following article is a RAM map for Secret of Mana (SNES).

Location NPC/Enemies

7EC800 - 16 bytes each, number of objects loaded is dependant on location

    *Byte 1 - Spawn type?
    *Byte 2 - Unknown
    *Byte 3 - Unknown
    *Byte 4 - Unknown
    *Byte 5 - Unknown
    *Byte 6 - Unknown
    *Byte 7 - Unknown
    *Byte 8 - Unknown
    *Byte 9 - Unknown
    *Byte 10 - Unknown
    *Byte 11 - Starting X coord
    *Byte 12 - Starting Y coord
    *Byte 13 - Palette - zplane?
    *Byte 14 - Sprite
    *Byte 15 - Reaction to button press
    *Byte 16 - Reaction to button press


Location related addresses

7E0030 - Layer 2 transparency toggle
7E00DC - 7E00DD - Exit Destiniation (0F = Debug room?)
7E00DE - Exit Destination X coord
7E00DF - Exit Destination Y coord
7E00E1 - Exit Destination entrance style (running in, walking in, walk over a few feet upon entrance, etc...)
7E00E2 - Exit Destination screen effects (camera centering, pixelation effects, color flashing, etc...)
7E00E4 - Screen Fade Wait Timer
7E00E5 - Screen Fade Timer (higher numbers = longer fade time)
7E00E6 - Screen Brightness
7E00E8 - Entrance Style (flammie drops you off or picks you up)
7E00ED - Can you use your sword in this location? (80 = yes, 00 = no)

enemy related addresses


7EE600 - base address of enemy 1 on screen
7EE800 - base address of enemy 2 on screen
7EEA00 - base address of enemy 3 on screen

enemies are assigned in first fit fashion.

7EE602 = y coordinate
7EE604 = x coordinate
7EE645 = z coordinate
7EE781 = level
7EE782 = current HP
7EE784 = maximum HP
7EE786 = current MP
7EE787 = maximum MP
7EE788 = strength
7EE789 = speed
7EE78D = experience
7EE7C8 = GP
7EE7CE = probability of enemy to drop a chest
7EE7ED = niceness factor, set to 99 for rabites and counted down each frame, if it reaches zero the enemy attacks.