The current URL is datacrystal.tcrf.net.
EarthBound/Map Data/Global Tileset/Palette Table: Difference between revisions
(Fix up format and start adding value descriptions) |
(Document more values) |
||
Line 18: | Line 18: | ||
TTTT TPPP | TTTT TPPP | ||
The first five bits (<code>T</code>) of each entry is the tileset, so there are 32 global tilesets. The last three (<code>P</code>) is the map palette and is specific to the tileset, so there are up to 8 palettes per tileset. | The first five bits (<code>T</code>) of each entry is the tileset, so there are 32 global tilesets. The last three (<code>P</code>) is the map palette and is specific to the tileset, so there are up to 8 palettes per tileset. The actual usable number of palettes varies per tileset and can be determined by analyzing the distance between pointer values in the [[EarthBound:Map_Data:Palette_Pointer_Table|map palette pointer table]]. | ||
Entries are arranged by sector rows, so given that the global map is 32 sectors wide, a table index can be generated from a sector x,y coordinate (starting from the top left sector as 0,0), using the formula <code>table_index = x + y * 32</code>. A table index can be generated from a tile x,y coordinate using the formula <code>table_index = x / 8 + y / 4 * 32</code>. | Entries are arranged by sector rows, so given that the global map is 32 sectors wide, a table index can be generated from a sector x,y coordinate (starting from the top left sector as 0,0), using the formula <code>table_index = x + y * 32</code>. A table index can be generated from a tile x,y coordinate using the formula <code>table_index = x / 8 + y / 4 * 32</code>. | ||
Line 26: | Line 26: | ||
==Values== | ==Values== | ||
===Tileset <tt>00</tt>: Lost Underworld=== | ===Tileset <tt>00000</tt> (<tt>00</tt>): Lost Underworld=== | ||
Tileset used for the [https://earthbound.fandom.com/wiki/Lost_Underworld Lost Underworld] area of the game. | Tileset used for the [https://earthbound.fandom.com/wiki/Lost_Underworld Lost Underworld] area of the game. Also used for the [https://earthbound.fandom.com/wiki/Pyramid pyramid] interior, [https://earthbound.fandom.com/wiki/The_Cave_of_the_Past Cave of the Past], and [https://earthbound.fandom.com/wiki/Devil%27s_Machine Devil's Machine] areas. | ||
Usable palettes: | Usable palettes: | ||
* <tt>0</tt>: | * <tt>000</tt> (<tt>0</tt>): Pyramid interior palette. Also typically assigned to unused map sectors | ||
* <tt>1</tt>: | * <tt>001</tt> (<tt>1</tt>): Lost Underworld palette | ||
* <tt>2</tt>: | * <tt>010</tt> (<tt>2</tt>): Cave of the Past palette | ||
* <tt>3</tt>: | * <tt>011</tt> (<tt>3</tt>): Devil's Machine palette | ||
===Tileset <tt>01</tt>: Onett=== | ===Tileset <tt>00001</tt> (<tt>01</tt>): Onett=== | ||
Tileset used for the [https://earthbound.fandom.com/wiki/Onett Onett] area of the game. | Tileset used for the [https://earthbound.fandom.com/wiki/Onett Onett] area of the game. | ||
Usable palettes: | Usable palettes: | ||
* <tt>0</tt>: Normal daytime palette. | * <tt>000</tt> (<tt>0</tt>): Normal daytime palette. | ||
* <tt>1</tt>: Nighttime palette. | * <tt>001</tt> (<tt>1</tt>): Nighttime palette. | ||
* <tt>2</tt>: Color-muted palette. Used for flashback scenes? | * <tt>010</tt> (<tt>2</tt>): Color-muted palette. Used for flashback scenes? | ||
===Tileset <tt>00010</tt> (<tt>02</tt>): Twoson=== | |||
Tileset used for the [https://earthbound.fandom.com/wiki/Twoson Twoson] and [https://earthbound.fandom.com/wiki/Happy_Happy_Village Happy Happy Village] areas of the game as well as a transitional roadway area between [https://earthbound.fandom.com/wiki/Threed Threed] and [https://earthbound.fandom.com/wiki/Dusty_Dunes_Desert Dusty Dunes Desert]. | |||
Usable palettes: | |||
* <tt>000</tt> (<tt>0</tt>): Normal Twoson palette | |||
* <tt>001</tt> (<tt>1</tt>): Happy Happy Village blue palette | |||
* <tt>010</tt> (<tt>2</tt>): Happy Happy Village returned-to-normal palette | |||
* <tt>011</tt> (<tt>3</tt>): Threed to Dusty Dunes roadway | |||
===Tileset <tt>00011</tt> (<tt>03</tt>): Threed=== | |||
Tileset used for the [https://earthbound.fandom.com/wiki/Threed Threed] area of the game. | |||
Usable palettes: | |||
* <tt>000</tt> (<tt>0</tt>): Initial zombie-infested palette | |||
* <tt>001</tt> (<tt>1</tt>): Daytime palette (after defeating [https://earthbound.fandom.com/wiki/Master_Belch Master Belch]) | |||
[[Category:EarthBound:Map_Data|Global Tileset/Palette Table]] | [[Category:EarthBound:Map_Data|Global Tileset/Palette Table]] | ||
{{stub}} | {{stub}} |
Revision as of 00:00, 16 June 2023
This is a sub-page of EarthBound/Map Data/Global Tileset.
Global Tileset/Palette Table | |
Game | EarthBound |
Start Address | 0x17AA00 |
End Address | 0x17B3FF |
# of Entries | 2560 |
Entry Length | 1 byte (0x1) |
Total Length | 2560 bytes (0xA00) |
Back to the ROM map |
Primary listing of what locations on the global map use what tilesets and palettes.
Format
Each byte represents a tileset/palette entry for a sector of 8x4 tiles, starting at the top-left corner of the map.
TTTT TPPP
The first five bits (T
) of each entry is the tileset, so there are 32 global tilesets. The last three (P
) is the map palette and is specific to the tileset, so there are up to 8 palettes per tileset. The actual usable number of palettes varies per tileset and can be determined by analyzing the distance between pointer values in the map palette pointer table.
Entries are arranged by sector rows, so given that the global map is 32 sectors wide, a table index can be generated from a sector x,y coordinate (starting from the top left sector as 0,0), using the formula table_index = x + y * 32
. A table index can be generated from a tile x,y coordinate using the formula table_index = x / 8 + y / 4 * 32
.
Note that the global map is 32 sectors wide by 80 sectors tall for a total of 2560 entries.
Values
Tileset 00000 (00): Lost Underworld
Tileset used for the Lost Underworld area of the game. Also used for the pyramid interior, Cave of the Past, and Devil's Machine areas.
Usable palettes:
- 000 (0): Pyramid interior palette. Also typically assigned to unused map sectors
- 001 (1): Lost Underworld palette
- 010 (2): Cave of the Past palette
- 011 (3): Devil's Machine palette
Tileset 00001 (01): Onett
Tileset used for the Onett area of the game.
Usable palettes:
- 000 (0): Normal daytime palette.
- 001 (1): Nighttime palette.
- 010 (2): Color-muted palette. Used for flashback scenes?
Tileset 00010 (02): Twoson
Tileset used for the Twoson and Happy Happy Village areas of the game as well as a transitional roadway area between Threed and Dusty Dunes Desert.
Usable palettes:
- 000 (0): Normal Twoson palette
- 001 (1): Happy Happy Village blue palette
- 010 (2): Happy Happy Village returned-to-normal palette
- 011 (3): Threed to Dusty Dunes roadway
Tileset 00011 (03): Threed
Tileset used for the Threed area of the game.
Usable palettes:
- 000 (0): Initial zombie-infested palette
- 001 (1): Daytime palette (after defeating Master Belch)
This page is rather stubbly and could use some expansion. Are you a bad enough dude to rescue this article? |