EarthBound/Map Data/Global Tileset/Palette Table: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(→‎Values: Adjust display formatting of all the tileset/palette values)
m (→‎Format: Add anchor)
Line 13: Line 13:
Primary listing of what locations on the global map use what tilesets and palettes.
Primary listing of what locations on the global map use what tilesets and palettes.


==Format==
==Format<span class="anchor" id="Format"></span>==
Each byte represents a tileset/palette entry for a sector of 8x4 tiles, starting at the top-left corner of the map.
Each byte represents a tileset/palette entry for a sector of 8x4 tiles, starting at the top-left corner of the map.



Revision as of 20:15, 19 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 00000xxx (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.

Note: The Cave of the Past does not share a tileset with the similar-looking Cliff that Time Forgot area.

Usable palettes:

  • 00000000 (0): Pyramid interior palette. Also typically assigned to unused map sectors
  • 00000001 (1): Lost Underworld palette
  • 00000010 (2): Cave of the Past palette
  • 00000011 (3): Devil's Machine palette

Tileset 00001xxx (01): Onett

Tileset used for the Onett area of the game.

Usable palettes:

  • 00001000 (0): Normal daytime palette.
  • 00001001 (1): Nighttime palette.
  • 00001010 (2): Color-muted palette. Used for flashback scenes?

Tileset 00010xxx (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:

  • 00010000 (0): Normal Twoson palette
  • 00010001 (1): Happy Happy Village blue palette
  • 00010010 (2): Happy Happy Village returned-to-normal palette
  • 00010011 (3): Threed to Dusty Dunes roadway

Tileset 00011xxx (03): Threed

Tileset used for the Threed area of the game.

Usable palettes:

  • 00011000 (0): Initial zombie-infested palette
  • 00011001 (1): Daytime palette (after defeating Master Belch)

Tileset 00100xxx (04): Fourside

Tileset used for the Fourside and Moonside areas of the game.

Usable palettes:

  • 00100000 (0): Fourside palette
  • 00100001 (1): Moonside palette

Tileset 00101xxx (05): Magicant

Tileset used for the Magicant area of the game. Also used for tunnels, tent interiors, and Magicant interiors.

Note that the Magicant palette is often altered by NPC dialog scripts to palettes not otherwise associated with the Magicant tileset.

Usable palettes:

  • 00101000 (0): Magicant exterior palette
  • 00101001 (1): Tunnel palette
  • 00101010 (2): Magicant interior palette
  • 00101011 (3): Tent interior palette

Tileset 00110xxx (06): Outdoors

Tileset used for miscellaneous outdoor areas, including Peaceful Rest Valley, Grapefruit Falls, Saturn Valley, Deep Darkness, Lilliput Steps, and Milky Well.

Usable palettes:

  • 00110000 (0): Peaceful Rest Valley palette
  • 00110001 (1): Grapefruit Falls palette
  • 00110010 (2): Saturn Valley palette
  • 00110011 (3): Deep Darkness palette
  • 00110100 (4): Lilliput Steps palette
  • 00110101 (5): Milky Well palette
  • 00110110 (6): Deep Darkness blackness palette

Tileset 00111xxx (07): Summers

Tileset used for the Summers area of the game.

Usable palettes:

  • 00111000 (0): Only usable palette

Tileset 01000xxx (08): Dusty Dunes Desert

Tileset used for the Dusty Dunes Desert area of the game. Also used for the transitional bridge area between Dusty Dunes and Fourside and also for the cloud background used for Sky Runner cutscenes.

Usable palettes:

  • 01000000 (0): Normal Dusty Dunes and bridge palette
  • 01000001 (1): Clouds palette

Tileset 01001xxx (09): Dalaam

Tileset used for the Dalaam area of the game. Also used for The Cliff that Time Forgot, the Pink Cloud area, and the sea voyage from Summers

Note: The Cliff that Time Forgot does not share a tileset with the similar-looking Cave of the Past area.

Usable palettes:

  • 01001000 (0): Dalaam exterior palette
  • 01001001 (1): Dalaam palace interior palette
  • 01001010 (2): Cliff that Time Forgot palette
  • 01001011 (3): Pink Cloud palette
  • 01001100 (4): Sea voyage palette
  • 01001101 (5): Sea voyage dark palette
So very stubbly.
This page is rather stubbly and could use some expansion.
Are you a bad enough dude to rescue this article?