Mother 3/Enemy memo placement: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
mNo edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{subpage|game=MOTHER 3:ROM map}}
{{subpage|game=Mother 3}}
{{Infobox table|name=Enemy heigt placement
{{Infobox table|name=Enemy height placement
|game=MOTHER 3
|game=Mother 3
|loc=ROM
|loc=ROM
|start=0xC6D62
|start=0xC6D62
Line 14: Line 14:
To see the height of the enemies in Battle, go to [[MOTHER_3:Enemy_data|Enemy data]].
To see the height of the enemies in Battle, go to [[MOTHER_3:Enemy_data|Enemy data]].
This table has 255 entries.
This table has 255 entries.
Some enemies have these values hard-coded.


==Format==
==Format==


Each entry is 2 bytes long, the first ones tells the game where on the Y axis to put the enemy sprite.
Each entry is 2 bytes long, the first one tells the game where on the Y axis to put the enemy sprite.
The second one is unknown what it does.
The second one is unknown what it does.


The game adds different values based on enemies when loading it.
The game adds different values based on enemies when loading it.


Here are the modifiers applied by the game to the various entries.
These values are from the [[Mother 3/Enemy data|Enemy data]] table.
The value 0 was set as the height modifier that the Mole Cricket uses.
 
*+C = 22
*+6 = 0F, 15, 46
*+4 = 89, 8E
*+3 = 10, 5E
*+2 = 0A, 16, 18, 24, 25, 26, 27, 30, 31, 32, 35, 3C, 40, 41, 44, 47, 4C, 4E, 52, 59, 5C, 61, 65, 67, 69, 6A, 6C, 6D, 77, 7C, 7D, 96, 97, 99, 9A, A7, AF, B0, B1
*+1 = 19, 2D, 36, 3F, 42, 5A, 5F, 66
*-1 = 49
*-2 = 03, 07, 14, 2A, 2F, 37, 48, 4B, 4F, 57, 60, 71, 7B, 7F, 84, 8A, 8B, 9B, 9C, A0, A4, A5, B3
*-3 = 0C
*-4 = 06, 0B, 4D, 6F, 82
*-6 = 51, B8, B9
*-8 = 1F
*-A = 11, 3B
*-10= 05


[[Category:MOTHER 3|Enemy height placement]]
[[Category:Mother 3|Enemy height placement]]

Latest revision as of 02:24, 20 May 2024

This is a sub-page of Mother 3.

Enemy height placement
Game Mother 3
Start Address 0xC6D62
End Address 0xC6F5F
# of Entries 255 (0xFF)
Entry Length 2
Total Length 510 bytes (0x1FE)
Back to the ROM map

Overview

This table sets the height of the enemies in the Battle Memory menu. To see the height of the enemies in Battle, go to Enemy data. This table has 255 entries.

Format

Each entry is 2 bytes long, the first one tells the game where on the Y axis to put the enemy sprite. The second one is unknown what it does.

The game adds different values based on enemies when loading it.

These values are from the Enemy data table.