Mother 3/Town map size table: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Created page with "{{Infobox table|name=Gift Box Table |game=MOTHER 3 |loc=ROM |start=0x00C2AF8 |end=0x00C2BE7 |numentries=20 (0x14) |entrylength=12 bytes |totallength=240 bytes }} ==Table overv...")
 
m (Lelegofrog moved page MOTHER 3/Town map size table to Mother 3/Town map size table: title consistency with TCRF)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Infobox table|name=Gift Box Table
{{subpage|game=MOTHER 3:ROM map}}
{{Infobox table|name=Town map size Table
|game=MOTHER 3
|game=MOTHER 3
|loc=ROM
|loc=ROM
Line 10: Line 11:
==Table overview==
==Table overview==
This table contains 12 bytes entries for every town map in the game.<br>
This table contains 12 bytes entries for every town map in the game.<br>
It has 2 unused bytes.<br>
It determines how a map will be in size and how much it will be scaled.


===Table Structure===
===Table Structure===
*[00]-[02]= Map's X coordinate from the graphic.
*[00]-[02]= Map's X coordinate from the graphic.
*[03]-[04]= Unused bytes. Maybe 03 has to do with maps having multiple floors.
*[03]-[04]= How much walking one step will change the character's position on the map.
*[05]-[07]= Map's Y coordinate from the graphic.
*[05]-[07]= Map's Y coordinate from the graphic.
*[08]-[09]= Map's X scrollable lenght, it's in pixels, if values are 08=02 and 09=01, map will be scrollable 0x0102 pixels over the default lenght of a screen.
*[08]-[09]= Map's X scrollable lenght, it's in pixels, if values are 08=02 and 09=01, map will be scrollable 0x0102 pixels over the default lenght of a screen.
*[0A]-[0B]= Map's Y scrollable height, it's in pixels, if values are 08=0F and 09=02, map will be scrollable 0x020F pixels over the default height of a screen.
*[0A]-[0B]= Map's Y scrollable height, it's in pixels, if values are 08=0F and 09=02, map will be scrollable 0x020F pixels over the default height of a screen.

Latest revision as of 02:03, 20 May 2024

This is a sub-page of Mother 3.

Town map size Table
Game MOTHER 3
Start Address 0x00C2AF8
End Address 0x00C2BE7
# of Entries 20 (0x14)
Entry Length 12 bytes
Total Length 240 bytes
Back to the ROM map

Table overview

This table contains 12 bytes entries for every town map in the game.
It determines how a map will be in size and how much it will be scaled.

Table Structure

  • [00]-[02]= Map's X coordinate from the graphic.
  • [03]-[04]= How much walking one step will change the character's position on the map.
  • [05]-[07]= Map's Y coordinate from the graphic.
  • [08]-[09]= Map's X scrollable lenght, it's in pixels, if values are 08=02 and 09=01, map will be scrollable 0x0102 pixels over the default lenght of a screen.
  • [0A]-[0B]= Map's Y scrollable height, it's in pixels, if values are 08=0F and 09=02, map will be scrollable 0x020F pixels over the default height of a screen.