List of locations by index number in Pokémon Sun, Moon, Ultra Sun, and Ultra Moon

Each location in the Generation VII games has its own identification number used internally by the game. They are enumerated here, in order. Locations with alternate names have their alternate names listed as an index number after the main location. Locations lacking an alternate name have the following index number blank.
Locations with index numbers up to 00193 appeared in ; those with index numbers between 00194 and 00232, as well as the individual index number 30017, are exclusive to . Index numbers between 00233 and 30000, 30018 and 40000, 40089 and 60000, and above 60004 are filled with null data. If a Pokémon references an index number for met location that does not exist in that game, it will be displayed in that game as Faraway place.
Pokémon Ultra Sun and Ultra Moon have all location headers programmed in that Pokémon Sun and Moon do; however, the Pokémon Sun and Moon location headers "Secluded Shore" and "Ultra Space" appear as "Ula'ula Beach" and "Ultra Deep Sea" in Pokémon Ultra Sun and Ultra Moon.
The locations "the Kalos region" and "the Hoenn region" are used for Pokémon whose game of origin is from Generation VI, while the other regions are set or kept by Poké Transporter. If a Pokémon from the Generation II Virtual Console is sent to Pokémon Sun or Moon (but not Pokémon Ultra Sun and Ultra Moon), its location will be read as "a distant land in the good old days".
{| class="roundy sortable" border="1" style="background-color: #fff; border: 1px solid #; border-collapse:collapse"	# 	Hex 	Location
00000	0x0000	—————— 	
00002	0x0002	Mystery Zone 	
00004	0x0004	Faraway Place 	
00006	0x0006	 	
00007	0x0007	 	
00008	0x0008	 	
00010	0x000A	 	
00012	0x000C	 	
00014	0x000E	Kala'e Bay 	
00016	0x0010	Melemele Sea 	
00018	0x0012	Hau'oli City 	
00019	0x0013	 	
00020	0x0014	Hau'oli City 	
00021	0x0015	 	
00022	0x0016	Hau'oli City 	
00023	0x0017	 	
00024	0x0018	Iki Town 	
00026	0x001A	Mahalo Trail 	
00028	0x001C	Mahalo Trail 	
00029	0x001D	 	
00030	0x001E	Ruins of Conflict 	
00032	0x0020	Ruins of Conflict 	
00034	0x0022	Ten Carat Hill 	
00036	0x0024	Ten Carat Hill 	
00037	0x0025	 	
00038	0x0026	Hau'oli Cemetery 	
00040	0x0028	Melemele Meadow 	
00042	0x002A	Seaward Cave 	
00044	0x002C	 	
00046	0x002E	Verdant Cavern 	
00047	0x002F	 	
00048	0x0030	Verdant Cavern 	
00049	0x0031	 	
00050	0x0032	 	
00052	0x0034	 	
00054	0x0036	 	
00056	0x0038	 	
00058	0x003A	 	
00060	0x003C	 	
00062	0x003E	Hano Grand Resort 	
00064	0x0040	Hano Beach 	
00066	0x0042	Akala Meadow 	
00068	0x0044	Paniola Town 	
00070	0x0046	Heahea City 	
00072	0x0048	Konikoni City 	
00074	0x004A	Royal Avenue 	
00076	0x004C	Memorial Hill 	
00078	0x004E	Paniola Ranch 	
00082	0x0052	Wela Volcano Park 	
00084	0x0054	Wela Volcano Park 	
00085	0x0055	 	
00086	0x0056	Brooklet Hill 	
00088	0x0058	Brooklet Hill 	
00089	0x0059	 	
00090	0x005A	Lush Jungle 	
00092	0x005C	Ruins of Life 	
00094	0x005E	Akala Outskirts 	
00100	0x0064	Diglett's Tunnel 	
00102	0x0066	Hano Grand Resort 	
00104	0x0068	Battle Royal Dome 	
00106	0x006A	 	
00108	0x006C	 	
00110	0x006E	Secluded Shore/Ula'ula Beach	
00112	0x0070	 	
00114	0x0072	Tapu Village 	
00116	0x0074	 	
00118	0x0076	 	
00120	0x0078	 	
00122	0x007A	 	
00124	0x007C	Haina Desert 	
00126	0x007E	 	
00128	0x0080	Ula'ula Meadow 	
00130	0x0082	Po Town 	
00132	0x0084	Malie City 	
00134	0x0086	Malie Garden 	
00136	0x0088	Mount Hokulani 	
00138	0x008A	Blush Mountain 	
00140	0x008C	Ruins of Abundance 	
00142	0x008E	Lake of the Sunne 	
00144	0x0090	Lake of the Moone 	
00146	0x0092	Mount Lanakila 	
00148	0x0094	Shady House 	
00150	0x0096	 	
00151	0x0097	Abandoned Site 	
00152	0x0098	Hokulani Observatory 	
00154	0x009A	 	
00156	0x009C	Poni Meadow 	
00158	0x009E	Poni Wilds 	
00160	0x00A0	Ancient Poni Path 	
00162	0x00A2	Poni Breaker Coast 	
00164	0x00A4	Poni Grove 	
00166	0x00A6	Poni Plains 	
00168	0x00A8	Poni Coast 	
00170	0x00AA	Poni Gauntlet 	
00172	0x00AC	Seafolk Village 	
00174	0x00AE	Vast Poni Canyon 	
00176	0x00B0	Altar of the Sunne 	
00178	0x00B2	Altar of the Moone 	
00180	0x00B4	Ruins of Hope 	
00182	0x00B6	Resolution Cave 	
00184	0x00B8	Exeggutor Island 	
00186	0x00BA	Battle Tree 	
00188	0x00BC	Aether Paradise 	
00190	0x00BE	Ultra Space/Ultra Deep Sea 	
00192	0x00C0	Malie City 	
00193	0x00C1	 	
00194	0x00C2	 	
00195	0x00C3	 	
00196	0x00C4	 	
00197	0x00C5	 	
00198	0x00C6	Big Wave Beach 	
00200	0x00C8	Sandy Cave 	
00202	0x00CA	Heahea Beach 	
00204	0x00CC	Poni Beach 	
00206	0x00CE	Ultra Megalopolis 	
00208	0x00D0	Megalo Tower 	
00210	0x00D2	Ultra Plant 	
00212	0x00D4	Ultra Crater 	
00214	0x00D6	Ultra Desert 	
00216	0x00D8	Ultra Forest 	
00218	0x00DA	Ultra Jungle 	
00220	0x00DC	Ultra Ruin 	
00222	0x00DE	Ultra Space Wilds 	
00224	0x00E0	Team Rocket's Castle 	
00226	0x00E2	Plains Grotto 	
00228	0x00E4	Pikachu Valley 	
00230	0x00E6	 	
00231	0x00E7	 	
00232	0x00E8	Dividing Peak Tunnel 	
30001	0x7531	a Link Trade 	
30002	0x7532	a Link Trade 	
30003	0x7533	the Kanto region 	
30004	0x7534	the Johto region 	
30005	0x7535	the Hoenn region 	
30006	0x7536	the Sinnoh region 	
30007	0x7537	a distant land 	
30008	0x7538	—————— 	
30009	0x7539	the Unova region 	
30010	0x753A	the Kalos region 	
30011	0x753B	Pokémon Link 	
30012	0x753C	Pokémon GO 	
30013	0x753D	the Kanto region 	
30014	0x753E	the Hoenn region 	
30015	0x753F	the Alola region 	
30016	0x7540	Poké Pelago 	
30017	0x7541	the Johto region 	
40001	0x9C41	a lovely place 	
40002	0x9C42	a faraway place 	
40003	0x9C43	a Pokémon movie 	
40004	0x9C44	2016 Pokémon Movie 	
40005	0x9C45	2017 Pokémon Movie 	
40006	0x9C46	2018 Pokémon Movie 	
40007	0x9C47	2019 Pokémon Movie 	
40008	0x9C48	2020 Pokémon Movie 	
40009	0x9C49	2021 Pokémon Movie 	
40010	0x9C4A	 	
40011	0x9C4B	the Pokémon animated show 	
40012	0x9C4C	 	
40013	0x9C4D	 	
40014	0x9C4E	 	
40015	0x9C4F	 	
40016	0x9C50	 	
40017	0x9C51	 	
40018	0x9C52	 	
40019	0x9C53	 	
40020	0x9C54	 	
40021	0x9C55	 	
40022	0x9C56	 	
40023	0x9C57	a Pokémon Store 	
40024	0x9C58	a WCS 	
40025	0x9C59	WCS 2016 	
40026	0x9C5A	WCS 2017 	
40027	0x9C5B	WCS 2018 	
40028	0x9C5C	WCS 2019 	
40029	0x9C5D	WCS 2020 	
40030	0x9C5E	WCS 2021 	
40031	0x9C5F	Worlds 	
40032	0x9C60	2016 Worlds 	
40033	0x9C61	2017 Worlds 	
40034	0x9C62	2018 Worlds 	
40035	0x9C63	2019 Worlds 	
40036	0x9C64	2020 Worlds 	
40037	0x9C65	2021 Worlds 	
40038	0x9C66	a VGE 	
40039	0x9C67	VGE 2016 	
40040	0x9C68	VGE 2017 	
40041	0x9C69	VGE 2018 	
40042	0x9C6A	VGE 2019 	
40043	0x9C6B	VGE 2020 	
40044	0x9C6C	VGE 2021 	
40045	0x9C6D	a Pokémon event 	
40046	0x9C6E	a Battle Competition 	
40047	0x9C6F	a game event 	
40048	0x9C70	the Pokémon Daisuki Club 	
40049	0x9C71	a Pokémon TV program 	
40050	0x9C72	a concert 	
40051	0x9C73	an online present 	
40052	0x9C74	the PGL 	
40053	0x9C75	a 2016 Pokémon event 	
40054	0x9C76	a 2017 Pokémon event 	
40055	0x9C77	a 2018 Pokémon event 	
40056	0x9C78	a 2019 Pokémon event 	
40057	0x9C79	a 2020 Pokémon event 	
40058	0x9C7A	a 2021 Pokémon event 	
40059	0x9C7B	a Pokémon event 	
40060	0x9C7C	a 2016 Pokémon event 	
40061	0x9C7D	a 2017 Pokémon event 	
40062	0x9C7E	a 2018 Pokémon event 	
40063	0x9C7F	a 2019 Pokémon event 	
40064	0x9C80	a 2020 Pokémon event 	
40065	0x9C81	a 2021 Pokémon event 	
40066	0x9C82	 	
40067	0x9C83	 	
40068	0x9C84	 	
40069	0x9C85	 	
40070	0x9C86	 	
40071	0x9C87	 	
40072	0x9C88	 	
40073	0x9C89	an event site 	
40074	0x9C8A	GAME FREAK 	
40075	0x9C8B	a stadium 	
40076	0x9C8C	VGC 	
40077	0x9C8D	the VGC 2016 	
40078	0x9C8E	the VGC 2017 	
40079	0x9C8F	the VGC 2018 	
40080	0x9C90	the VGC 2019 	
40081	0x9C91	the VGC 2020 	
40082	0x9C92	the VGC 2021 	
40083	0x9C93	a Virtual Console game 	
40084	0x9C94	Pokémon GO 	
40085	0x9C95	Pokémon Bank 	
40086	0x9C96	a Pokémon shop 	
40087	0x9C97	a demo version 	
40088	0x9C98	the Pokémon Trainer Club 	
60001	0xEA61	a stranger 	
60002	0xEA62	 	
60003	0xEA63	 	
60004	0xEA64	 	
ja:地名のインデックス番号一覧 (サン・ムーン・ウルトラサン・ウルトラムーン)