Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

EarthBound/Map Data/Tileset Tile Arrangement Collision Pointer Tables

From Data Crystal
Jump to navigation Jump to search

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

Map Data: Tileset Tile Arrangement Collision Pointer Tables
Game EarthBound
Start Address 0x189150
End Address 0x18F25D
# of Entries 12423
Entry Length 2 bytes
Total Length 24846 bytes (0x610e)
Back to the ROM map

Series of pointer tables for each tileset that map from tile arrangement index to a collision entry in Tile Arrangement Collision Data. The start of each tileset's table is found using the Collision Tileset Pointer Table.

Format

Each 2-byte entry contains an absolute pointer to an entry in Tile Arrangement Collision Data (bank $D8). Different entries (including those from different tilesets) can contain the same pointer value to allow data reuse.

Tilesets

Table start Tileset name Tileset index Num pointers
0x189150 Lost Underworld 00 832
0x1897D0 Onett 01 845
0x189E6A Twoson 02 827
0x18A4E0 Threed 03 524
0x18A8F8 Fourside 04 935
0x18B046 Magicant 05 287
0x18B284 Outdoors 06 875
0x18B95A Summers 07 749
0x18BF34 Dusty Dunes Desert 08 628
0x18C41C Dalaam 09 933
0x18CB66 Indoors 1 10 871
0x18D234 Indoors 2 11 713
0x18D7C6 Stores 1 12 462
0x18DB62 Caves 1 13 882
0x18E246 Indoors 3 14 203
0x18E3DC Stores 2 15 143
0x18E4FA Indoors 4 16 390
0x18E806 Winters 17 343
0x18EAB4 Scaraba 18 445
0x18EE2E Caves 2 19 536

Note: All tileset tables are in order by tileset index, but because EarthBound always accesses the tables by pointer, there is no known reason why they would need to be in any particular order.