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

From Data Crystal
Jump to navigation Jump to search
mNo edit summary
 
(39 intermediate revisions by one other user not shown)
Line 11: Line 11:
}}
}}


Global tileset data. Each byte represents a tileset/palette entry for a sector of 8x4 tiles, starting at the top-left corner of the map.
Primary listing of what locations on the global map use what tilesets and palettes.
 
==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.


  TTTT TPPP
  TTTT TPPP


The first five bits of each entry is the tileset, and the last three is the palette, so you have 32 global tilesets, and 8 palettes.
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>.
 
Note that the global map is 32 sectors wide by 80 sectors tall for a total of 2560 entries.
 
==Values==
 
===Tileset <code>00000xxx</code> (<tt>00</tt>): Lost Underworld<span class="anchor" id="LostUnderworld"></span>===
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.
 
''Note: The Cave of the Past does not share a tileset with the similar-looking [https://earthbound.fandom.com/wiki/The_Cliff_that_Time_Forgot Cliff that Time Forgot] area.''
 
Usable palettes:
* <code>00000000</code> (<tt>0</tt>): Pyramid interior palette. Also typically assigned to unused map sectors
* <code>00000001</code> (<tt>1</tt>): Lost Underworld palette
* <code>00000010</code> (<tt>2</tt>): Cave of the Past palette
* <code>00000011</code> (<tt>3</tt>): Devil's Machine palette
 
===Tileset <code>00001xxx</code> (<tt>01</tt>): Onett<span class="anchor" id="Onett"></span>===
Tileset used for the [https://earthbound.fandom.com/wiki/Onett Onett] area of the game.
 
Usable palettes:
* <code>00001000</code> (<tt>0</tt>): Normal daytime palette.
* <code>00001001</code> (<tt>1</tt>): Nighttime palette.
* <code>00001010</code> (<tt>2</tt>): Color-muted palette. Used for exteriors in Ness' dream flashback after completing the Sound Stone
 
===Tileset <code>00010xxx</code> (<tt>02</tt>): Twoson<span class="anchor" id="Twoson"></span>===
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:
* <code>00010000</code> (<tt>0</tt>): Normal Twoson palette
* <code>00010001</code> (<tt>1</tt>): Happy Happy Village blue palette
* <code>00010010</code> (<tt>2</tt>): Happy Happy Village returned-to-normal palette
* <code>00010011</code> (<tt>3</tt>): Threed to Dusty Dunes roadway
 
===Tileset <code>00011xxx</code> (<tt>03</tt>): Threed<span class="anchor" id="Threed"></span>===
Tileset used for the [https://earthbound.fandom.com/wiki/Threed Threed] area of the game.
 
Usable palettes:
* <code>00011000</code> (<tt>0</tt>): Initial zombie-infested palette
* <code>00011001</code> (<tt>1</tt>): Daytime palette (after defeating [https://earthbound.fandom.com/wiki/Master_Belch Master Belch])
 
===Tileset <code>00100xxx</code> (<tt>04</tt>): Fourside<span class="anchor" id="Fourside"></span>===
Tileset used for the [https://earthbound.fandom.com/wiki/Fourside Fourside] and [https://earthbound.fandom.com/wiki/Moonside Moonside] areas of the game.
 
Usable palettes:
* <code>00100000</code> (<tt>0</tt>): Fourside palette
* <code>00100001</code> (<tt>1</tt>): Moonside palette (animated palette)
 
===Tileset <code>00101xxx</code> (<tt>05</tt>): Magicant<span class="anchor" id="Magicant"></span>===
Tileset used for the [https://earthbound.fandom.com/wiki/Magicant_(EarthBound) 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:
* <code>00101000</code> (<tt>0</tt>): Magicant exterior palette
* <code>00101001</code> (<tt>1</tt>): Tunnel palette
* <code>00101010</code> (<tt>2</tt>): Magicant interior palette
* <code>00101011</code> (<tt>3</tt>): Tent interior palette
 
===Tileset <code>00110xxx</code> (<tt>06</tt>): Outdoors<span class="anchor" id="Outdoors"></span>===
Tileset used for miscellaneous outdoor areas, including [https://earthbound.fandom.com/wiki/Peaceful_Rest_Valley Peaceful Rest Valley], [https://earthbound.fandom.com/wiki/Grapefruit_Falls Grapefruit Falls], [https://earthbound.fandom.com/wiki/Saturn_Valley_(EarthBound) Saturn Valley], [https://earthbound.fandom.com/wiki/Deep_Darkness Deep Darkness], [https://earthbound.fandom.com/wiki/Lilliput_Steps Lilliput Steps], and [https://earthbound.fandom.com/wiki/Milky_Well Milky Well].
 
Usable palettes:
* <code>00110000</code> (<tt>0</tt>): Peaceful Rest Valley palette
* <code>00110001</code> (<tt>1</tt>): Grapefruit Falls palette
* <code>00110010</code> (<tt>2</tt>): Saturn Valley palette
* <code>00110011</code> (<tt>3</tt>): Deep Darkness palette
* <code>00110100</code> (<tt>4</tt>): Lilliput Steps palette
* <code>00110101</code> (<tt>5</tt>): Milky Well palette
* <code>00110110</code> (<tt>6</tt>): Deep Darkness blackness palette
 
===Tileset <code>00111xxx</code> (<tt>07</tt>): Summers<span class="anchor" id="Summers"></span>===
Tileset used for the [https://earthbound.fandom.com/wiki/Summers Summers] area of the game.
 
Usable palettes:
* <code>00111000</code> (<tt>0</tt>): Only usable palette
 
===Tileset <code>01000xxx</code> (<tt>08</tt>): Dusty Dunes Desert<span class="anchor" id="DustyDunes"></span>===
Tileset used for the [https://earthbound.fandom.com/wiki/Dusty_Dunes_Desert Dusty Dunes Desert] area of the game. Also used for the transitional bridge area between Dusty Dunes and [https://earthbound.fandom.com/wiki/Fourside Fourside] and also for the cloud background used for [https://earthbound.fandom.com/wiki/Sky_Runner Sky Runner] cutscenes.
 
Usable palettes:
* <code>01000000</code> (<tt>0</tt>): Normal Dusty Dunes and bridge palette
* <code>01000001</code> (<tt>1</tt>): Clouds palette
 
===Tileset <code>01001xxx</code> (<tt>09</tt>): Dalaam<span class="anchor" id="Dalaam"></span>===
Tileset used for the [https://earthbound.fandom.com/wiki/Dalaam Dalaam] area of the game. Also used for [https://earthbound.fandom.com/wiki/The_Cliff_that_Time_Forgot The Cliff that Time Forgot], the [https://earthbound.fandom.com/wiki/Pink_Cloud Pink Cloud] area, and the sea voyage from [https://earthbound.fandom.com/wiki/Summers Summers]
 
''Note: The Cliff that Time Forgot does not share a tileset with the similar-looking [https://earthbound.fandom.com/wiki/The_Cave_of_the_Past Cave of the Past] area.''
 
Usable palettes:
* <code>01001000</code> (<tt>0</tt>): Dalaam exterior palette
* <code>01001001</code> (<tt>1</tt>): Dalaam palace interior palette
* <code>01001010</code> (<tt>2</tt>): Cliff that Time Forgot palette
* <code>01001011</code> (<tt>3</tt>): Pink Cloud palette
* <code>01001100</code> (<tt>4</tt>): Sea voyage palette
* <code>01001101</code> (<tt>5</tt>): Sea voyage dark palette
 
===Tileset <code>01010xxx</code> (<tt>10</tt>): Indoors 1<span class="anchor" id="Indoors1"></span>===
Tileset used for various indoor areas of the game.
 
Usable palettes:
* <code>01010000</code> (<tt>0</tt>): [https://earthbound.fandom.com/wiki/Monotoli_Building Monotoli Building] 48th floor palette
* <code>01010001</code> (<tt>1</tt>): [https://earthbound.fandom.com/wiki/Onett Onett] hotel lobby and hallway palette
* <code>01010010</code> (<tt>2</tt>): [https://earthbound.fandom.com/wiki/Threed Threed] "helpful con man" house interior palette
* <code>01010011</code> (<tt>3</tt>): Monotoli Building 48th floor, [https://earthbound.fandom.com/wiki/Electra Electra's] room palette
* <code>01010100</code> (<tt>4</tt>): Threed Belch rumor lady house interior palette
* <code>01010101</code> (<tt>5</tt>): Additional Threed houses interiors palette
* <code>01010110</code> (<tt>6</tt>): [https://earthbound.fandom.com/wiki/Pokey_Minch Pokey's] Onett house interior palette
* <code>01010111</code> (<tt>7</tt>): [https://earthbound.fandom.com/wiki/Moonside Moonside] hospital interior palette
 
===Tileset <code>01011xxx</code> (<tt>11</tt>): Indoors 1a===
Tileset used for various indoor areas of the game.
 
''Note: This tileset uses the same tileset data as [[#Indoors1|Indoors 1]]. Assumably, it is a separate table entry for the purpose of having more than 8 palettes for the tileset.''
 
Usable palettes:
* <code>01011000</code> (<tt>0</tt>): [https://earthbound.fandom.com/wiki/Onett Onett] "sun rises" man house interior palette
* <code>01011001</code> (<tt>1</tt>): Onett house with girl from [https://earthbound.fandom.com/wiki/Twoson Twoson] interior palette
* <code>01011010</code> (<tt>2</tt>): Onett hospital-adjacent empty house interior palette
* <code>01011011</code> (<tt>3</tt>): Onett house with man directing to neighboring hint house interior palette
* <code>01011100</code> (<tt>4</tt>): Onett "short message" man house interior palette
* <code>01011101</code> (<tt>5</tt>): Onett EarthBound-playing girl house interior palette
* <code>01011110</code> (<tt>6</tt>): Onett exit mouse house interior palette
* <code>01011111</code> (<tt>7</tt>): Color-muted palette. Used for interiors in Ness' dream flashback after completing the Sound Stone
 
===Tileset <code>01100xxx</code> (<tt>12</tt>): Indoors 1b<span class="anchor" id="Indoors_1b"></span>===
Tileset used for various indoor areas of the game.
 
''Note: This tileset uses the same tileset data as [[#Indoors1|Indoors 1]]. Assumably, it is a separate table entry for the purpose of having more than 8 palettes for the tileset.''
 
Usable palettes:
* <code>01100000</code> (<tt>0</tt>): Hospitals interior hallways palette
* <code>01100001</code> (<tt>1</tt>): [https://earthbound.fandom.com/wiki/Apple_Kid Apple Kid] house interior palette
* <code>01100010</code> (<tt>2</tt>): [https://earthbound.fandom.com/wiki/Tracy Tracy's] room palette
* <code>01100011</code> (<tt>3</tt>): [https://earthbound.fandom.com/wiki/Orange_Kid Orange Kid] house interior palette
* <code>01100100</code> (<tt>4</tt>): [https://earthbound.fandom.com/wiki/Everdred Everdred's] house interior palette
* <code>01100101</code> (<tt>5</tt>): [https://earthbound.fandom.com/wiki/Penetella_Giovanni Penetella Giovanni's] room and house across street from Apple Kid interior palette
* <code>01100110</code> (<tt>6</tt>): [https://earthbound.fandom.com/wiki/Ness Ness's] room palette
* <code>01100111</code> (<tt>7</tt>): [https://earthbound.fandom.com/wiki/Onett_Police_Station Onett Police Station] back room palette
 
===Tileset <code>01101xxx</code> (<tt>13</tt>): Winters<span class="anchor" id="Winters"></span>===
Tileset used for the [https://earthbound.fandom.com/wiki/Winters Winters] area of the game.
 
Usable palettes:
* <code>01101000</code> (<tt>0</tt>): Normal daytime 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>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> and [[#Indoors_1b|tileset <tt>12</tt> (Indoors 1b)]], palette 6.
 
===Tileset <code>01110xxx</code> (<tt>14</tt>): Indoors 1c===
Tileset used for various indoor areas of the game.
 
''Note: This tileset uses the same tileset data as [[#Indoors1|Indoors 1]]. Assumably, it is a separate table entry for the purpose of having more than 8 palettes for the tileset.''
 
Usable palettes:
* <code>01110000</code> (<tt>0</tt>): Hospitals interior offices and rooms palette
* <code>01110001</code> (<tt>1</tt>): [https://earthbound.fandom.com/wiki/Twoson Twoson] Happy-Happy family house interior palette
* <code>01110010</code> (<tt>2</tt>): Twoson aspiring inventor girl house interior palette
* <code>01110011</code> (<tt>3</tt>): [https://earthbound.fandom.com/wiki/Venus Venus's] mom's house interior palette
* <code>01110100</code> (<tt>4</tt>): [https://earthbound.fandom.com/wiki/Monotoli_Building Monotoli Building] fancy office palette
* <code>01110101</code> (<tt>5</tt>): [https://earthbound.fandom.com/wiki/Happy_Happy_Village Happy Happy Village] counseling office interior blue palette
* <code>01110110</code> (<tt>6</tt>): Happy Happy Village doctor's office interior blue palette
* <code>01110111</code> (<tt>7</tt>): Happy Happy Village doctor's office interior returned-to-normal palette
 
===Tileset <code>01111xxx</code> (<tt>15</tt>): Indoors 1d===
Tileset used for various indoor areas of the game.
 
''Note: This tileset uses the same tileset data as [[#Indoors1|Indoors 1]]. Assumably, it is a separate table entry for the purpose of having more than 8 palettes for the tileset.''
 
Usable palettes:
* <code>01111000</code> (<tt>0</tt>): [https://earthbound.fandom.com/wiki/Onett_City_Hall Onett City Hall] interior palette
* <code>01111001</code> (<tt>1</tt>): [https://earthbound.fandom.com/wiki/Onett Onett] hotel rooms palette
* <code>01111010</code> (<tt>2</tt>): [https://earthbound.fandom.com/wiki/Fourside Fourside] hotel rooms palette
* <code>01111011</code> (<tt>3</tt>): [https://earthbound.fandom.com/wiki/Happy_Happy_Village Happy Happy Village] [https://earthbound.fandom.com/wiki/Mr._Saturn Mr. Saturn] house interior palette
* <code>01111100</code> (<tt>4</tt>): Happy Happy Village inn interior blue palette
* <code>01111101</code> (<tt>5</tt>): [https://earthbound.fandom.com/wiki/Twoson Twoson] hotel rooms palette
* <code>01111110</code> (<tt>6</tt>): [https://earthbound.fandom.com/wiki/Threed_Sunset_Hotel Threed Sunset Hotel] rooms palette
* <code>01111111</code> (<tt>7</tt>): Happy Happy Village inn interior returned-to-normal palette
 
===Tileset <code>10000xxx</code> (<tt>16</tt>): Indoors 1e<span class="anchor" id="Indoors_1e"></span>===
Tileset used for various indoor areas of the game.
 
''Note: This tileset uses the same tileset data as [[#Indoors1|Indoors 1]]. Assumably, it is a separate table entry for the purpose of having more than 8 palettes for the tileset.''
 
Usable palettes:
* <code>10000000</code> (<tt>0</tt>): [https://earthbound.fandom.com/wiki/Monotoli_Building Monotoli Building] lobbies and hallways palette
* <code>10000001</code> (<tt>1</tt>): [https://earthbound.fandom.com/wiki/Polestar_Preschool Polestar Preschool] main room palette
* <code>10000010</code> (<tt>2</tt>): [https://earthbound.fandom.com/wiki/Paula Paula's] room palette
* <code>10000011</code> (<tt>3</tt>): [https://earthbound.fandom.com/wiki/Ness Ness's] house interior palette
 
===Tileset <code>10001xxx</code> (<tt>17</tt>): Indoors 1f===
Tileset used for various indoor areas of the game.
 
''Note: This tileset uses the same tileset data as [[#Indoors1|Indoors 1]]. Assumably, it is a separate table entry for the purpose of having more than 8 palettes for the tileset.''
 
Usable palettes:
* <code>10001000</code> (<tt>0</tt>): [https://earthbound.fandom.com/wiki/Twoson Twoson] hotel lobby and hallway palette
* <code>10001001</code> (<tt>1</tt>): [https://earthbound.fandom.com/wiki/Threed Threed] hotel lobby and hallway palette
* <code>10001010</code> (<tt>2</tt>): [https://earthbound.fandom.com/wiki/Fourside Fourside] hotel lobby and hallway palette
* <code>10001011</code> (<tt>3</tt>): [https://earthbound.fandom.com/wiki/Monotoli_Building Monotoli Building] elevators palette
* <code>10001100</code> (<tt>4</tt>): [https://earthbound.fandom.com/wiki/Fourside_Department_Store Fourside Department Store] manager's office palette
* <code>10001101</code> (<tt>5</tt>): [https://earthbound.fandom.com/wiki/Onett_Library Onett Library] interior palette
* <code>10001110</code> (<tt>6</tt>): [https://earthbound.fandom.com/wiki/Polestar_Preschool Polestar Preschool] family rooms palette
* <code>10001111</code> (<tt>7</tt>): [https://earthbound.fandom.com/wiki/Onett_Police_Station Onett Police Station] lobby and hallway palette
 
===Tileset <code>10010xxx</code> (<tt>18</tt>): Scaraba<span class="anchor" id="Scaraba"></span>===
Tileset used for the [https://earthbound.fandom.com/wiki/Scaraba Scaraba] area of the game.
 
Usable palettes:
* <code>10010000</code> (<tt>0</tt>): Normal palette
 
===Tileset <code>10011xxx</code> (<tt>19</tt>): Indoors 4<span class="anchor" id="Indoors4"></span>===
Tileset used for various indoor areas of the game.
 
Usable palettes:
* <code>10011000</code> (<tt>0</tt>): [https://earthbound.fandom.com/wiki/Dalaam Dalaam] miscellaneous buildings interior palette
* <code>10011001</code> (<tt>1</tt>): [https://earthbound.fandom.com/wiki/Scaraba Scaraba] miscellaneous buildings interior palette
* <code>10011010</code> (<tt>2</tt>): Happy Happy Cult headquarters interior palette
* <code>10011011</code> (<tt>3</tt>): [https://earthbound.fandom.com/wiki/Jackie's_Caf%C3%A9 Jakie's Café] interior and basement palette
* <code>10011100</code> (<tt>4</tt>): Jakie's Café [https://earthbound.fandom.com/wiki/Moonside Moonside] interior palette
* <code>10011101</code> (<tt>5</tt>): Scaraba hotel interior palette
* <code>10011110</code> (<tt>6</tt>): Scaraba store interior palette
 
===Tileset <code>10100xxx</code> (<tt>20</tt>): Stores 1<span class="anchor" id="Stores1"></span>===
Tileset used for various shop areas of the game.
 
Usable palettes:
* <code>10100000</code> (<tt>0</tt>): [https://earthbound.fandom.com/wiki/Twoson Twoson] department store interior palette
* <code>10100001</code> (<tt>1</tt>): [https://earthbound.fandom.com/wiki/Fourside_Department_Store Fourside Department Store] interior palette
* <code>10100010</code> (<tt>2</tt>): Bakeries interior palette
* <code>10100011</code> (<tt>3</tt>): [https://earthbound.fandom.com/wiki/Mach_Pizza Mach Pizza] interior palette
* <code>10100100</code> (<tt>4</tt>): [https://earthbound.fandom.com/wiki/Onett Onett] burger restaurant interior palette
* <code>10100101</code> (<tt>5</tt>): Onett and [https://earthbound.fandom.com/wiki/Happy_Happy_Village Happy Happy Village] drug stores interior palette
* <code>10100110</code> (<tt>6</tt>): [https://earthbound.fandom.com/wiki/Threed Threed] drug store interior palette
* <code>10100111</code> (<tt>7</tt>): [https://earthbound.fandom.com/wiki/Winters Winters] drug store interior palette
 
===Tileset <code>10101xxx</code> (<tt>21</tt>): Indoors 2<span class="anchor" id="Indoors2"></span>===
Tileset used for various indoor areas of the game.
 
Usable palettes:
* <code>10101000</code> (<tt>0</tt>): [https://earthbound.fandom.com/wiki/Chaos_Theater Chaos Theater] lobby, office, and back room palette
* <code>10101001</code> (<tt>1</tt>): [https://earthbound.fandom.com/wiki/Fourside_Dinosaur_Museum Fourside Dinosaur Museum] interior palette
* <code>10101010</code> (<tt>2</tt>): [https://earthbound.fandom.com/wiki/Summers Summers] hotel interior palette
* <code>10101011</code> (<tt>3</tt>): Summers shop interior palette
* <code>10101100</code> (<tt>4</tt>): [https://earthbound.fandom.com/wiki/Topolla_Theater Topolla Theater] theater palette
 
===Tileset <code>10110xxx</code> (<tt>22</tt>): Indoors 2a<span class="anchor" id="Indoors2a"></span>===
Tileset used for various indoor areas of the game.
 
''Note: This tileset uses the same tileset data as [[#Indoors2|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:
* <code>10110000</code> (<tt>0</tt>): [https://earthbound.fandom.com/wiki/Snow_Wood_Boarding_School Snow Wood Boarding School] interior palette
* <code>10110001</code> (<tt>1</tt>): [https://earthbound.fandom.com/wiki/Chaos_Theater Chaos Theater] theater palette (animated palette)
* <code>10110010</code> (<tt>2</tt>): [https://earthbound.fandom.com/wiki/Toto Toto] buildings interior palette
* <code>10110011</code> (<tt>3</tt>): [https://earthbound.fandom.com/wiki/Summers Summers] restaurant interior palette
* <code>10110100</code> (<tt>4</tt>): [https://earthbound.fandom.com/wiki/Moonside Moonside] museum and hotel interior palette
 
===Tileset <code>10111xxx</code> (<tt>23</tt>): Indoors 2b===
Tileset used for various indoor areas of the game.
 
''Note: This tileset uses the same tileset data as [[#Indoors2|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:
* <code>10111000</code> (<tt>0</tt>): [https://earthbound.fandom.com/wiki/Stoic_Club Stoic Club] club room palette
* <code>10111001</code> (<tt>1</tt>): [https://earthbound.fandom.com/wiki/Dr._Andonuts Dr. Andonuts'] lab interior palette
* <code>10111010</code> (<tt>2</tt>): [https://earthbound.fandom.com/wiki/Topolla_Theater Topolla Theater] lobby, office, and back room palette
* <code>10111011</code> (<tt>3</tt>): [https://earthbound.fandom.com/wiki/Scaraba_Cultural_Museum Scaraba Cultural Museum] (in [https://earthbound.fandom.com/wiki/Summers Summers]) interior palette
 
===Tileset <code>11000xxx</code> (<tt>24</tt>): Stores 2<span class="anchor" id="Stores2"></span>===
Tileset used for various shop and commercial areas of the game.
 
Usable palettes:
* <code>11000000</code> (<tt>0</tt>): [https://earthbound.fandom.com/wiki/Onett_Arcade Onett Arcade] interior palette
* <code>11000001</code> (<tt>1</tt>): [https://earthbound.fandom.com/wiki/Twoson_Bus_Station Twoson Bus Station] interior palette
* <code>11000010</code> (<tt>2</tt>): [https://earthbound.fandom.com/wiki/Punk-Sure Twoson Bike Shop] interior palette
* <code>11000011</code> (<tt>3</tt>): [https://earthbound.fandom.com/wiki/Hint_booth Hint Booth] houses interior palette
* <code>11000100</code> (<tt>4</tt>): [https://earthbound.fandom.com/wiki/Fourside_Department_Store Fourside Department Store] stock rooms palette
 
===Tileset <code>11001xxx</code> (<tt>25</tt>): Indoors 3<span class="anchor" id="Indoors3"></span>===
Tileset used for various indoor areas of the game.
 
Usable palettes:
* <code>11001000</code> (<tt>0</tt>): [https://earthbound.fandom.com/wiki/Saturn_Valley_(EarthBound) Saturn Valley] building interior and [https://earthbound.fandom.com/wiki/Zombie_Relief_Corps Threed Zombie Relief Corp] tent interior palette
* <code>11001001</code> (<tt>1</tt>): [https://earthbound.fandom.com/wiki/Treehouse Onett Treehouse] interior palette
* <code>11001010</code> (<tt>2</tt>): [https://earthbound.fandom.com/wiki/Lier_X._Agerate Lier X. Agerate] house interior palette
* <code>11001011</code> (<tt>3</tt>): [https://earthbound.fandom.com/wiki/Vacant_House Onett Vacant House] interior palette
* <code>11001100</code> (<tt>4</tt>): [https://earthbound.fandom.com/wiki/Peaceful_Rest_Valley Peaceful Rest Valley] shack ([https://earthbound.fandom.com/wiki/Paula Paula's] prison) interior palette
* <code>11001101</code> (<tt>5</tt>): [https://earthbound.fandom.com/wiki/Dusty_Dunes_Desert Dusty Dunes Desert] drug store interior palette
* <code>11001110</code> (<tt>6</tt>): [https://earthbound.fandom.com/wiki/Desert_Gold_Mine Desert Gold Mine] shack interior palette
* <code>11001111</code> (<tt>7</tt>): [https://earthbound.fandom.com/wiki/Traveling_Entertainer%27s_Shack Traveling Entertainer's Shack] interior palette
 
===Tileset <code>11010xxx</code> (<tt>26</tt>): Caves 2<span class="anchor" id="Caves2"></span>===
Tileset used for various cave and dungeon areas of the game.
 
Usable palettes:
* <code>11010000</code> (<tt>0</tt>): [https://earthbound.fandom.com/wiki/Lumine_Hall Lumine Hall] dungeon area palette
* <code>11010001</code> (<tt>1</tt>): Miscellaneous transition cave areas palette
* <code>11010010</code> (<tt>2</tt>): Lumine Hall sanctuary palette (animated palette)
* <code>11010011</code> (<tt>3</tt>): [https://earthbound.fandom.com/wiki/Fire_Spring Fire Spring] area (dungeon and sanctuary) palette (animated palette)
* <code>11010100</code> (<tt>4</tt>): [https://earthbound.fandom.com/wiki/Sea_of_Eden Sea of Eden] area palette (animated palette)
* <code>11010101</code> (<tt>5</tt>): [https://earthbound.fandom.com/wiki/Monkey_Cave Monkey Cave] rooms palette
 
===Tileset <code>11011xxx</code> (<tt>27</tt>): Caves 1<span class="anchor" id="Caves1"></span>===
Tileset used for various cave and dungeon areas of the game.
 
Usable palettes:
* <code>11011000</code> (<tt>0</tt>): [https://earthbound.fandom.com/wiki/Brick_Road Dungeon Man] interior palette
* <code>11011001</code> (<tt>1</tt>): Caves under [https://earthbound.fandom.com/wiki/Threed Threed] graveyard palette
* <code>11011010</code> (<tt>2</tt>): Caves under [https://earthbound.fandom.com/wiki/Lier_X._Agerate Lier X. Agerate's] house palette
* <code>11011011</code> (<tt>3</tt>): [https://earthbound.fandom.com/wiki/Stonehenge_Base Stonehenge Base] areas 2 and 4 palette (animated palette)
* <code>11011100</code> (<tt>4</tt>): Shut-down Stonehenge Base areas 2 and 4 palette
 
===Tileset <code>11100xxx</code> (<tt>28</tt>): Caves 1a===
Tileset used for various cave and dungeon areas of the game.
 
''Note: This tileset uses the same tileset data as [[#Caves1|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:
* <code>11100000</code> (<tt>0</tt>): [https://earthbound.fandom.com/wiki/Brick_Road Brick Road] dungeon (in [https://earthbound.fandom.com/wiki/Winters Winters]) palette
* <code>11100001</code> (<tt>1</tt>): Winters caves palette. [https://earthbound.fandom.com/wiki/Rainy_Circle Rainy Circle] adjoining cave and [https://earthbound.fandom.com/wiki/Stonehenge_Base Stonehenge Base] entrance
* <code>11100010</code> (<tt>2</tt>): [https://earthbound.fandom.com/wiki/Belch%27s_Factory Belch's Factory] palette
* <code>11100011</code> (<tt>3</tt>): [https://earthbound.fandom.com/wiki/Milky_Well Milky Well] and Belch's Factory adjoining caves palette
* <code>11100100</code> (<tt>4</tt>): [https://earthbound.fandom.com/wiki/Lilliput_Steps Lilliput Steps] adjoining cave palette
* <code>11100101</code> (<tt>5</tt>): [https://earthbound.fandom.com/wiki/Monkey_Cave Monkey Cave] hallways palette
 
===Tileset <code>11101xxx</code> (<tt>29</tt>): Caves 1b<span class="anchor" id="Caves1b"></span>===
Tileset used for various cave and dungeon areas of the game.
 
''Note: This tileset uses the same tileset data as [[#Caves1|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:
* <code>11101000</code> (<tt>0</tt>): [https://earthbound.fandom.com/wiki/Giant_Step Giant Step] adjoining cave palette
* <code>11101001</code> (<tt>1</tt>): [https://earthbound.fandom.com/wiki/Cave_of_the_Pink_Cloud Cave of the Pink Cloud] palette
* <code>11101010</code> (<tt>2</tt>): [https://earthbound.fandom.com/wiki/Saturn_Valley_(EarthBound) Saturn Valley] caves palette
* <code>11101011</code> (<tt>3</tt>): [https://earthbound.fandom.com/wiki/Stonehenge_Base Stonehenge Base] area 1 palette (animated palette)
* <code>11101100</code> (<tt>4</tt>): Stonehenge Base area 3 palette (animated palette)
* <code>11101101</code> (<tt>5</tt>): ??
 
===Tileset <code>11110xxx</code> (<tt>30</tt>): Caves 1c===
Tileset used for various cave and dungeon areas of the game.
 
''Note: This tileset uses the same tileset data as [[#Caves1|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:
* <code>11110000</code> (<tt>0</tt>): [https://earthbound.fandom.com/wiki/Desert_Gold_Mine Desert Gold Mine] palette
* <code>11110001</code> (<tt>1</tt>): [https://earthbound.fandom.com/wiki/Fourside_Sewers Fourside Sewers] palette
* <code>11110010</code> (<tt>2</tt>): [https://earthbound.fandom.com/wiki/Tenda_Village Tenda Village] and [https://earthbound.fandom.com/wiki/Lumine_Hall Lumine Hall] entrance palette
 
===Tileset <code>11111xxx</code> (<tt>31</tt>): 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 [https://earthbound.fandom.com/wiki/Magicant_(EarthBound) Magicant] palette swapping.
 
This tileset is assigned the same tileset data as [[#LostUnderworld|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:
* <code>11111000</code> (<tt>0</tt>)
* <code>11111001</code> (<tt>1</tt>)
* <code>11111010</code> (<tt>2</tt>)
* <code>11111011</code> (<tt>3</tt>)
* <code>11111100</code> (<tt>4</tt>)
* <code>11111101</code> (<tt>5</tt>)
* <code>11111110</code> (<tt>6</tt>)
* <code>11111111</code> (<tt>7</tt>)


Note that the "global map" is 32 sectors wide by 80 sectors tall (8192 x 10240 px!).


{{stub}}
[[Category:EarthBound:Map_Data|Global Tileset/Palette Table]]

Latest revision as of 02:41, 24 January 2024

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 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 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 (animated 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

Tileset 01010xxx (10): Indoors 1

Tileset used for various indoor areas of the game.

Usable palettes:

  • 01010000 (0): Monotoli Building 48th floor palette
  • 01010001 (1): Onett hotel lobby and hallway palette
  • 01010010 (2): Threed "helpful con man" house interior palette
  • 01010011 (3): Monotoli Building 48th floor, Electra's room palette
  • 01010100 (4): Threed Belch rumor lady house interior palette
  • 01010101 (5): Additional Threed houses interiors palette
  • 01010110 (6): Pokey's Onett house interior palette
  • 01010111 (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 palette
  • 01011001 (1): Onett house with girl from Twoson interior palette
  • 01011010 (2): Onett hospital-adjacent empty house interior palette
  • 01011011 (3): Onett house with man directing to neighboring hint house interior palette
  • 01011100 (4): Onett "short message" man house interior palette
  • 01011101 (5): Onett EarthBound-playing girl house interior palette
  • 01011110 (6): Onett exit mouse house interior palette
  • 01011111 (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 palette
  • 01100001 (1): Apple Kid house interior palette
  • 01100010 (2): Tracy's room palette
  • 01100011 (3): Orange Kid house interior palette
  • 01100100 (4): Everdred's house interior palette
  • 01100101 (5): Penetella Giovanni's room and house across street from Apple Kid interior palette
  • 01100110 (6): Ness's room palette
  • 01100111 (7): Onett Police Station back room palette

Tileset 01101xxx (13): Winters

Tileset used for the Winters area of the game.

Usable palettes:

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 palette
  • 01110001 (1): Twoson Happy-Happy family house interior palette
  • 01110010 (2): Twoson aspiring inventor girl house interior palette
  • 01110011 (3): Venus's mom's house interior palette
  • 01110100 (4): Monotoli Building fancy office palette
  • 01110101 (5): Happy Happy Village counseling office interior blue palette
  • 01110110 (6): Happy Happy Village doctor's office interior blue palette
  • 01110111 (7): Happy Happy Village doctor's office interior returned-to-normal palette

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 palette
  • 01111001 (1): Onett hotel rooms palette
  • 01111010 (2): Fourside hotel rooms palette
  • 01111011 (3): Happy Happy Village Mr. Saturn house interior palette
  • 01111100 (4): Happy Happy Village inn interior blue palette
  • 01111101 (5): Twoson hotel rooms palette
  • 01111110 (6): Threed Sunset Hotel rooms palette
  • 01111111 (7): Happy Happy Village inn interior returned-to-normal palette

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:

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:

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 palette
  • 10011001 (1): Scaraba miscellaneous buildings interior palette
  • 10011010 (2): Happy Happy Cult headquarters interior palette
  • 10011011 (3): Jakie's Café interior and basement palette
  • 10011100 (4): Jakie's Café Moonside interior palette
  • 10011101 (5): Scaraba hotel interior palette
  • 10011110 (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 palette
  • 10100001 (1): Fourside Department Store interior palette
  • 10100010 (2): Bakeries interior palette
  • 10100011 (3): Mach Pizza interior palette
  • 10100100 (4): Onett burger restaurant interior palette
  • 10100101 (5): Onett and Happy Happy Village drug stores interior palette
  • 10100110 (6): Threed drug store interior palette
  • 10100111 (7): Winters drug store interior palette

Tileset 10101xxx (21): Indoors 2

Tileset used for various indoor areas of the game.

Usable palettes:

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:

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:

Tileset 11000xxx (24): Stores 2

Tileset used for various shop and commercial areas of the game.

Usable palettes:

Tileset 11001xxx (25): Indoors 3

Tileset used for various indoor areas of the game.

Usable palettes:

Tileset 11010xxx (26): Caves 2

Tileset used for various cave and dungeon areas of the game.

Usable palettes:

  • 11010000 (0): Lumine Hall dungeon area palette
  • 11010001 (1): Miscellaneous transition cave areas palette
  • 11010010 (2): Lumine Hall sanctuary palette (animated palette)
  • 11010011 (3): Fire Spring area (dungeon and sanctuary) palette (animated palette)
  • 11010100 (4): Sea of Eden area palette (animated palette)
  • 11010101 (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 palette
  • 11011001 (1): Caves under Threed graveyard palette
  • 11011010 (2): Caves under Lier X. Agerate's house palette
  • 11011011 (3): Stonehenge Base areas 2 and 4 palette (animated palette)
  • 11011100 (4): Shut-down Stonehenge Base areas 2 and 4 palette

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:

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:

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:

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)