The current URL is datacrystal.tcrf.net.
EarthBound/Map Data/Global Tileset/Palette Table: Difference between revisions
m (→Tileset 10000xxx (16): Indoors 1e: Add anchor) |
(→Tileset 01101xxx (13): Winters: Identify palette 3) |
||
Line 167: | Line 167: | ||
* <code>01101001</code> (<tt>1</tt>): [https://earthbound.fandom.com/wiki/Rainy_Circle Rainy Circle] palette | * <code>01101001</code> (<tt>1</tt>): [https://earthbound.fandom.com/wiki/Rainy_Circle Rainy Circle] palette | ||
* <code>01101010</code> (<tt>2</tt>): Nighttime palette | * <code>01101010</code> (<tt>2</tt>): Nighttime palette | ||
* <code>01101011</code> (<tt>3</tt>): | * <code>01101011</code> (<tt>3</tt>): [https://earthbound.fandom.com/wiki/Ness Ness's] house interior lights-off palette. Not used with tileset <tt>13</tt>. Only used as a flag-based alternate palette for [[#Indoors_1e|tileset <tt>16</tt> (Indoors 1e)]], palette <tt>3</tt> | ||
===Tileset <code>01110xxx</code> (<tt>14</tt>): Indoors 1c=== | ===Tileset <code>01110xxx</code> (<tt>14</tt>): Indoors 1c=== |
Revision as of 02:46, 29 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 sectors00000001
(1): Lost Underworld palette00000010
(2): Cave of the Past palette00000011
(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 exteriors in Ness' dream flashback after completing the Sound Stone
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 palette00010001
(1): Happy Happy Village blue palette00010010
(2): Happy Happy Village returned-to-normal palette00010011
(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 palette00011001
(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 palette00100001
(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 palette00101001
(1): Tunnel palette00101010
(2): Magicant interior palette00101011
(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 palette00110001
(1): Grapefruit Falls palette00110010
(2): Saturn Valley palette00110011
(3): Deep Darkness palette00110100
(4): Lilliput Steps palette00110101
(5): Milky Well palette00110110
(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 palette01000001
(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 palette01001001
(1): Dalaam palace interior palette01001010
(2): Cliff that Time Forgot palette01001011
(3): Pink Cloud palette01001100
(4): Sea voyage palette01001101
(5): Sea voyage dark palette
Tileset 01010xxx
(10): Indoors 1
Tileset used for various indoor areas of the game.
Usable palettes:
01010000
(0): Monotoli Building 48th floor palette01010001
(1): Onett hotel lobby and hallway palette01010010
(2): Threed "helpful con man" house interior palette01010011
(3): Monotoli Building 48th floor, Electra's room palette01010100
(4): Threed Belch rumor lady house interior palette01010101
(5): Additional Threed houses interiors palette01010110
(6): Pokey's Onett house interior palette01010111
(7): Moonside hospital interior palette
Tileset 01011xxx
(11): Indoors 1a
Tileset used for various indoor areas of the game.
Note: This tileset uses the same tileset data as Indoors 1. Assumably, it is a separate table entry for the purpose of having more than 8 palettes for the tileset.
Usable palettes:
01011000
(0): Onett "sun rises" man house interior palette01011001
(1): Onett house with girl from Twoson interior palette01011010
(2): Onett hospital-adjacent empty house interior palette01011011
(3): Onett house with man directing to neighboring hint house interior palette01011100
(4): Onett "short message" man house interior palette01011101
(5): Onett EarthBound-playing girl house interior palette01011110
(6): Onett exit mouse house interior palette01011111
(7): Color-muted palette. Used for interiors in Ness' dream flashback after completing the Sound Stone
Tileset 01100xxx
(12): Indoors 1b
Tileset used for various indoor areas of the game.
Note: This tileset uses the same tileset data as Indoors 1. Assumably, it is a separate table entry for the purpose of having more than 8 palettes for the tileset.
Usable palettes:
01100000
(0): Hospitals interior hallways palette01100001
(1): Apple Kid house interior palette01100010
(2): Tracy's room palette01100011
(3): Orange Kid house interior palette01100100
(4): Everdred's house interior palette01100101
(5): Penetella Giovanni's room and house across street from Apple Kid interior palette01100110
(6): Ness's room palette01100111
(7): Onett Police Station back room palette
Tileset 01101xxx
(13): Winters
Tileset used for the Winters area of the game.
Usable palettes:
01101000
(0): Normal daytime palette01101001
(1): Rainy Circle palette01101010
(2): Nighttime palette01101011
(3): Ness's house interior lights-off palette. Not used with tileset 13. Only used as a flag-based alternate palette for tileset 16 (Indoors 1e), palette 3
Tileset 01110xxx
(14): Indoors 1c
Tileset used for various indoor areas of the game.
Note: This tileset uses the same tileset data as Indoors 1. Assumably, it is a separate table entry for the purpose of having more than 8 palettes for the tileset.
Usable palettes:
01110000
(0): Hospitals interior offices and rooms palette01110001
(1): Twoson Happy-Happy family house interior palette01110010
(2): Twoson aspiring inventor girl house interior palette01110011
(3): Venus's mom's house interior palette01110100
(4): Monotoli Building fancy office palette01110101
(5): Happy Happy Village counseling office interior blue palette01110110
(6): Happy Happy Village doctor's office interior blue palette01110111
(7): ??
Tileset 01111xxx
(15): Indoors 1d
Tileset used for various indoor areas of the game.
Note: This tileset uses the same tileset data as Indoors 1. Assumably, it is a separate table entry for the purpose of having more than 8 palettes for the tileset.
Usable palettes:
01111000
(0): Onett City Hall interior palette01111001
(1): Onett hotel rooms palette01111010
(2): Fourside hotel rooms palette01111011
(3): Happy Happy Village Mr. Saturn house interior palette01111100
(4): Happy Happy Village inn interior blue palette01111101
(5): Twoson hotel rooms palette01111110
(6): Threed Sunset Hotel rooms palette01111111
(7): ??
Tileset 10000xxx
(16): Indoors 1e
Tileset used for various indoor areas of the game.
Note: This tileset uses the same tileset data as Indoors 1. Assumably, it is a separate table entry for the purpose of having more than 8 palettes for the tileset.
Usable palettes:
10000000
(0): Monotoli Building lobbies and hallways palette10000001
(1): Polestar Preschool main room palette10000010
(2): Paula's room palette10000011
(3): Ness's house interior palette
Tileset 10001xxx
(17): Indoors 1f
Tileset used for various indoor areas of the game.
Note: This tileset uses the same tileset data as Indoors 1. Assumably, it is a separate table entry for the purpose of having more than 8 palettes for the tileset.
Usable palettes:
10001000
(0): Twoson hotel lobby and hallway palette10001001
(1): Threed hotel lobby and hallway palette10001010
(2): Fourside hotel lobby and hallway palette10001011
(3): Monotoli Building elevators palette10001100
(4): Fourside Department Store manager's office palette10001101
(5): Onett Library interior palette10001110
(6): Polestar Preschool family rooms palette10001111
(7): Onett Police Station lobby and hallway palette
Tileset 10010xxx
(18): Scaraba
Tileset used for the Scaraba area of the game.
Usable palettes:
10010000
(0): Normal palette
Tileset 10011xxx
(19): Indoors 4
Tileset used for various indoor areas of the game.
Usable palettes:
10011000
(0): Dalaam miscellaneous buildings interior palette10011001
(1): Scaraba miscellaneous buildings interior palette10011010
(2): Happy Happy Cult headquarters interior palette10011011
(3): Jakie's Café interior and basement palette10011100
(4): Jakie's Café Moonside interior palette10011101
(5): Scaraba hotel interior palette10011110
(6): Scaraba store interior palette
Tileset 10100xxx
(20): Stores 1
Tileset used for various shop areas of the game.
Usable palettes:
10100000
(0): Twoson department store interior palette10100001
(1): Fourside Department Store interior palette10100010
(2): Bakeries interior palette10100011
(3): Mach Pizza interior palette10100100
(4): Onett burger restaurant interior palette10100101
(5): Onett and Happy Happy Village drug stores interior palette10100110
(6): Threed drug store interior palette10100111
(7): Winters drug store interior palette
Tileset 10101xxx
(21): Indoors 2
Tileset used for various indoor areas of the game.
Usable palettes:
10101000
(0): Chaos Theater lobby, office, and back room palette10101001
(1): Fourside Dinosaur Museum interior palette10101010
(2): Summers hotel interior palette10101011
(3): Summers shop interior palette10101100
(4): Topolla Theater theater palette
Tileset 10110xxx
(22): Indoors 2a
Tileset used for various indoor areas of the game.
Note: This tileset uses the same tileset data as Indoors 2. Assumably, it is a separate table entry for the purpose of having more than 8 palettes for the tileset, although it is questionable why it would be split across 3 tilesets when there are few enough palettes to fit into 2 tilesets.
Usable palettes:
10110000
(0): Snow Wood Boarding School interior palette10110001
(1): Chaos Theater theater palette10110010
(2): Toto buildings interior palette10110011
(3): Summers restaurant interior palette10110100
(4): Moonside museum and hotel interior palette
Tileset 10111xxx
(23): Indoors 2b
Tileset used for various indoor areas of the game.
Note: This tileset uses the same tileset data as Indoors 2. Assumably, it is a separate table entry for the purpose of having more than 8 palettes for the tileset, although it is questionable why it would be split across 3 tilesets when there are few enough palettes to fit into 2 tilesets.
Usable palettes:
10111000
(0): Stoic Club club room palette10111001
(1): Dr. Andonuts' lab interior palette10111010
(2): Topolla Theater lobby, office, and back room palette10111011
(3): Scaraba Cultural Museum (in Summers) interior palette
Tileset 11000xxx
(24): Stores 2
Tileset used for various shop and commercial areas of the game.
Usable palettes:
11000000
(0): Onett Arcade interior palette11000001
(1): Twoson Bus Station interior palette11000010
(2): Twoson Bike Shop interior palette11000011
(3): Hint Booth houses interior palette11000100
(4): Fourside Department Store stock rooms palette
Tileset 11001xxx
(25): Indoors 3
Tileset used for various indoor areas of the game.
Usable palettes:
11001000
(0): Saturn Valley building interior and Threed Zombie Relief Corp tent interior palette11001001
(1): Onett Treehouse interior palette11001010
(2): Lier X. Agerate house interior palette11001011
(3): Onett Vacant House interior palette11001100
(4): Peaceful Rest Valley shack (Paula's prison) interior palette11001101
(5): Dusty Dunes Desert drug store interior palette11001110
(6): Desert Gold Mine shack interior palette11001111
(7): Traveling Entertainer's Shack interior palette
Tileset 11010xxx
(26): Caves 2
Tileset used for various cave and dungeon areas of the game.
Usable palettes:
11010000
(0): Lumine Hall dungeon area palette11010001
(1): Miscellaneous transition cave areas palette11010010
(2): Lumine Hall sanctuary palette11010011
(3): Fire Spring area (dungeon and sanctuary) palette11010100
(4): Sea of Eden area palette11010101
(5): Monkey Cave rooms palette
Tileset 11011xxx
(27): Caves 1
Tileset used for various cave and dungeon areas of the game.
Usable palettes:
11011000
(0): Dungeon Man interior palette11011001
(1): Caves under Threed graveyard palette11011010
(2): Caves under Lier X. Agerate's house palette11011011
(3): Stonehenge Base areas 2 and 4 palette11011100
(4): ??
Tileset 11100xxx
(28): Caves 1a
Tileset used for various cave and dungeon areas of the game.
Note: This tileset uses the same tileset data as Caves 1. Assumably, it is a separate table entry for the purpose of having more than 8 palettes for the tileset, although it is questionable why it would be split across 4 tilesets when there are few enough palettes to fit into 3 tilesets.
Usable palettes:
11100000
(0): Brick Road dungeon (in Winters) palette11100001
(1): Winters caves palette. Rainy Circle adjoining cave and Stonehenge Base entrance11100010
(2): Belch's Factory palette11100011
(3): Milky Well and Belch's Factory adjoining caves palette11100100
(4): Lilliput Steps adjoining cave palette11100101
(5): Monkey Cave hallways palette
Tileset 11101xxx
(29): Caves 1b
Tileset used for various cave and dungeon areas of the game.
Note: This tileset uses the same tileset data as Caves 1. Assumably, it is a separate table entry for the purpose of having more than 8 palettes for the tileset, although it is questionable why it would be split across 4 tilesets when there are few enough palettes to fit into 3 tilesets.
Usable palettes:
11101000
(0): Giant Step adjoining cave palette11101001
(1): Cave of the Pink Cloud palette11101010
(2): Saturn Valley caves palette11101011
(3): Stonehenge Base area 1 palette11101100
(4): Stonehenge Base area 3 palette11101101
(5): ??
Tileset 11110xxx
(30): Caves 1c
Tileset used for various cave and dungeon areas of the game.
Note: This tileset uses the same tileset data as Caves 1. Assumably, it is a separate table entry for the purpose of having more than 8 palettes for the tileset, although it is questionable why it would be split across 4 tilesets when there are few enough palettes to fit into 3 tilesets.
Usable palettes:
11110000
(0): Desert Gold Mine palette11110001
(1): Fourside Sewers palette11110010
(2): Tenda Village and Lumine Hall entrance palette
Tileset 11111xxx
(31): Extra Palettes
An extra "tileset" that appears to only be used as an additional set of palettes to apply to other tilesets, possibly only for Magicant palette swapping.
This tileset is assigned the same tileset data as Lost Underworld, however this tileset data assignment will go unused because this tileset is never actually assigned to any sectors. It is only used to apply the palettes to sectors already using other tilesets.
Usable palettes:
11111000
(0)11111001
(1)11111010
(2)11111011
(3)11111100
(4)11111101
(5)11111110
(6)11111111
(7)