EarthBound/Map Data/Tileset Table: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Create page)
 
m (→‎Values: Add anchor)
Line 16: Line 16:
Each 2-byte entry is a simple (little endian) number, representing the map tileset index.  Table is indexed by the tileset number from [[EarthBound:Map_Data:Global_Tileset/Palette_Table|Global Tileset/Palette Table]], using the formula <code>table_index = tileset_palette_table_value >> 3</code>.  Valid values (map tileset indices) are between 0 (<code>0x0000</code>) and 19 (<code>0x0013</code>) for a total of 20 different map tilesets.
Each 2-byte entry is a simple (little endian) number, representing the map tileset index.  Table is indexed by the tileset number from [[EarthBound:Map_Data:Global_Tileset/Palette_Table|Global Tileset/Palette Table]], using the formula <code>table_index = tileset_palette_table_value >> 3</code>.  Valid values (map tileset indices) are between 0 (<code>0x0000</code>) and 19 (<code>0x0013</code>) for a total of 20 different map tilesets.


==Values==
==Values<span class="anchor" id="Values"></span>==


{| border=1 cellspacing=0 cellpadding=3
{| border=1 cellspacing=0 cellpadding=3

Revision as of 20:33, 7 November 2023

This is a sub-page of EarthBound/Map Data.

Map Data: Tileset Table
Game EarthBound
Start Address 0x2F121B
End Address 0x2F125A
# of Entries 32
Entry Length 2 bytes (0x2)
Total Length 64 bytes (0x40)
Back to the ROM map

Table translating from the tileset number from the Global Tileset/Palette Table to the actual map tileset index, used to index into multiple data tables, e.g. the Tile Arrangement Pointer Table and the Tileset Pointer Table.

Format

Each 2-byte entry is a simple (little endian) number, representing the map tileset index. Table is indexed by the tileset number from Global Tileset/Palette Table, using the formula table_index = tileset_palette_table_value >> 3. Valid values (map tileset indices) are between 0 (0x0000) and 19 (0x0013) for a total of 20 different map tilesets.

Values

Tileset index Tileset name
00 Lost Underworld
01 Onett
02 Twoson
03 Threed
04 Fourside
05 Magicant
06 Outdoors
07 Summers
08 Dusty Dunes Desert
09 Dalaam
10 Indoors 1
11 Indoors 2
12 Stores 1
13 Caves 1
14 Indoors 3
15 Stores 2
16 Indoors 4
17 Winters
18 Scaraba
19 Caves 2