Skip to content

Commit 94bbfe2

Browse files
committed
Move map-related "metadata" files into data/maps/
1 parent 01ba6be commit 94bbfe2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+65
-65
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ crystal_obj := \
2020
audio.o \
2121
home.o \
2222
main.o \
23-
maps.o \
2423
wram.o \
2524
data/common_text/common_text.o \
25+
data/maps/maps.o \
2626
data/pokemon/dex_entries.o \
2727
data/pokemon/egg_moves.o \
2828
data/pokemon/evos_attacks.o \

constants/map_constants.asm

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ ENDM
1515

1616
; map group ids
1717
; `newgroup` indexes are for:
18-
; - MapGroupPointers (see maps/map_headers.asm)
18+
; - MapGroupPointers (see data/maps/map_headers.asm)
1919
; - MapGroupRoofs (see data/maps/roofs.asm)
2020
; - OutdoorSprites (see data/maps/outdoor_sprites.asm)
2121
; - RoofPals (see gfx/tilesets/roofs.pal)
22-
; `mapgroup` indexes are for the sub-tables of MapGroupPointers (see maps/map_headers.asm)
22+
; `mapgroup` indexes are for the sub-tables of MapGroupPointers (see data/maps/map_headers.asm)
2323
const_def
2424

2525
newgroup ; 1

constants/map_data_constants.asm

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ MAP_N_A EQU -1
33
GROUP_NONE EQU 0
44
MAP_NONE EQU 0
55

6-
; map header struct members (see maps/map_headers.asm)
6+
; map header struct members (see data/maps/map_headers.asm)
77
const_def
88
const MAPHEADER_MAPHEADER2_BANK ; 0
99
const MAPHEADER_TILESET ; 1
@@ -52,7 +52,7 @@ const_value set 1
5252
const FISHGROUP_QWILFISH_NO_SWARM
5353

5454

55-
; connection directions
55+
; connection directions (see data/maps/map_headers_2.asm)
5656
const_def
5757
const EAST_F
5858
const WEST_F

maps/blockdata.asm data/maps/blocks.asm

+48-48
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Route28_BlockData:
1616
INCBIN "maps/Route28.blk"
1717

1818
BetaHerosHouse_BlockData:
19-
INCBIN "maps/BetaHerosHouse.blk"
19+
INCBIN "maps/unused/BetaHerosHouse.blk"
2020

2121
CeladonCity_BlockData:
2222
INCBIN "maps/CeladonCity.blk"
@@ -31,25 +31,25 @@ ElmsHouse_BlockData:
3131
INCBIN "maps/ElmsHouse.blk"
3232

3333
BetaSproutTower1_BlockData:
34-
INCBIN "maps/BetaSproutTower1.blk"
34+
INCBIN "maps/unused/BetaSproutTower1.blk"
3535

3636
Route11_BlockData:
3737
INCBIN "maps/Route11.blk"
3838

3939
BetaSproutTower5_BlockData:
40-
INCBIN "maps/BetaSproutTower5.blk"
40+
INCBIN "maps/unused/BetaSproutTower5.blk"
4141

4242
Route15_BlockData:
4343
INCBIN "maps/Route15.blk"
4444

4545
BetaSproutTower9_BlockData:
46-
INCBIN "maps/BetaSproutTower9.blk"
46+
INCBIN "maps/unused/BetaSproutTower9.blk"
4747

4848
Route19_BlockData:
4949
INCBIN "maps/Route19.blk"
5050

5151
BetaBlackthornCity_BlockData:
52-
INCBIN "maps/BetaBlackthornCity.blk"
52+
INCBIN "maps/unused/BetaBlackthornCity.blk"
5353

5454
Route10South_BlockData:
5555
INCBIN "maps/Route10South.blk"
@@ -95,7 +95,7 @@ Route24_BlockData:
9595
INCBIN "maps/Route24.blk"
9696

9797
BetaVioletCity_BlockData:
98-
INCBIN "maps/BetaVioletCity.blk"
98+
INCBIN "maps/unused/BetaVioletCity.blk"
9999

100100
Route3_BlockData:
101101
INCBIN "maps/Route3.blk"
@@ -104,25 +104,25 @@ PewterCity_BlockData:
104104
INCBIN "maps/PewterCity.blk"
105105

106106
BetaIlexForest_BlockData:
107-
INCBIN "maps/BetaIlexForest.blk"
107+
INCBIN "maps/unused/BetaIlexForest.blk"
108108

109109
BetaSproutTower2_BlockData:
110-
INCBIN "maps/BetaSproutTower2.blk"
110+
INCBIN "maps/unused/BetaSproutTower2.blk"
111111

112112
Route12_BlockData:
113113
INCBIN "maps/Route12.blk"
114114

115115
BetaGoldenrodCity_BlockData:
116-
INCBIN "maps/BetaGoldenrodCity.blk"
116+
INCBIN "maps/unused/BetaGoldenrodCity.blk"
117117

118118
Route20_BlockData:
119119
INCBIN "maps/Route20.blk"
120120

121121
BetaSproutTower6_BlockData:
122-
INCBIN "maps/BetaSproutTower6.blk"
122+
INCBIN "maps/unused/BetaSproutTower6.blk"
123123

124124
BetaPokecenterMainHouse_BlockData:
125-
INCBIN "maps/BetaPokecenterMainHouse.blk"
125+
INCBIN "maps/unused/BetaPokecenterMainHouse.blk"
126126

127127
Route30_BlockData:
128128
INCBIN "maps/Route30.blk"
@@ -146,7 +146,7 @@ Route38_BlockData:
146146
INCBIN "maps/Route38.blk"
147147

148148
BetaCianwoodCity_BlockData:
149-
INCBIN "maps/BetaCianwoodCity.blk"
149+
INCBIN "maps/unused/BetaCianwoodCity.blk"
150150

151151
OlivineTimsHouse_BlockData:
152152
OlivineHouseBeta_BlockData:
@@ -215,10 +215,10 @@ Route5SaffronGate_BlockData:
215215
INCBIN "maps/NorthSouthGate.blk"
216216

217217
BetaEcruteakCity_BlockData:
218-
INCBIN "maps/BetaEcruteakCity.blk"
218+
INCBIN "maps/unused/BetaEcruteakCity.blk"
219219

220220
BetaCherrygroveCity_BlockData:
221-
INCBIN "maps/BetaCherrygroveCity.blk"
221+
INCBIN "maps/unused/BetaCherrygroveCity.blk"
222222

223223
CinnabarIsland_BlockData:
224224
INCBIN "maps/CinnabarIsland.blk"
@@ -230,7 +230,7 @@ Route8_BlockData:
230230
INCBIN "maps/Route8.blk"
231231

232232
BetaSproutTower3_BlockData:
233-
INCBIN "maps/BetaSproutTower3.blk"
233+
INCBIN "maps/unused/BetaSproutTower3.blk"
234234

235235
ViridianCity_BlockData:
236236
INCBIN "maps/ViridianCity.blk"
@@ -242,13 +242,13 @@ Route21_BlockData:
242242
INCBIN "maps/Route21.blk"
243243

244244
BetaSproutTower7_BlockData:
245-
INCBIN "maps/BetaSproutTower7.blk"
245+
INCBIN "maps/unused/BetaSproutTower7.blk"
246246

247247
Route17_BlockData:
248248
INCBIN "maps/Route17.blk"
249249

250250
BetaMahoganyTown_BlockData:
251-
INCBIN "maps/BetaMahoganyTown.blk"
251+
INCBIN "maps/unused/BetaMahoganyTown.blk"
252252

253253
Route31_BlockData:
254254
INCBIN "maps/Route31.blk"
@@ -281,16 +281,16 @@ Route31VioletGate_BlockData:
281281
INCBIN "maps/EastWestGate.blk"
282282

283283
BetaAzaleaTown_BlockData:
284-
INCBIN "maps/BetaAzaleaTown.blk"
284+
INCBIN "maps/unused/BetaAzaleaTown.blk"
285285

286286
VermilionCity_BlockData:
287287
INCBIN "maps/VermilionCity.blk"
288288

289289
BetaOlivineCity_BlockData:
290-
INCBIN "maps/BetaOlivineCity.blk"
290+
INCBIN "maps/unused/BetaOlivineCity.blk"
291291

292292
BetaNewBarkTown_BlockData:
293-
INCBIN "maps/BetaNewBarkTown.blk"
293+
INCBIN "maps/unused/BetaNewBarkTown.blk"
294294

295295
ElmsLab_BlockData:
296296
INCBIN "maps/ElmsLab.blk"
@@ -317,7 +317,7 @@ Route14_BlockData:
317317
INCBIN "maps/Route14.blk"
318318

319319
BetaSproutTower8_BlockData:
320-
INCBIN "maps/BetaSproutTower8.blk"
320+
INCBIN "maps/unused/BetaSproutTower8.blk"
321321

322322
OlivineMart_BlockData:
323323
EcruteakMart_BlockData:
@@ -338,7 +338,7 @@ Route10North_BlockData:
338338
INCBIN "maps/Route10North.blk"
339339

340340
BetaLakeOfRage_BlockData:
341-
INCBIN "maps/BetaLakeOfRage.blk"
341+
INCBIN "maps/unused/BetaLakeOfRage.blk"
342342

343343
OlivinePokecenter1F_BlockData:
344344
MahoganyPokecenter1F_BlockData:
@@ -364,25 +364,25 @@ CherrygrovePokecenter1F_BlockData:
364364
INCBIN "maps/Pokecenter1F.blk"
365365

366366
BetaPewterMuseumOfScience1F_BlockData:
367-
INCBIN "maps/BetaPewterMuseumOfScience1F.blk"
367+
INCBIN "maps/unused/BetaPewterMuseumOfScience1F.blk"
368368

369369
BetaPewterMuseumOfScience2F_BlockData:
370-
INCBIN "maps/BetaPewterMuseumOfScience2F.blk"
370+
INCBIN "maps/unused/BetaPewterMuseumOfScience2F.blk"
371371

372372
EarlsPokemonAcademy_BlockData:
373373
INCBIN "maps/EarlsPokemonAcademy.blk"
374374

375375
BetaCinnabarPokemonLabHallway_BlockData:
376-
INCBIN "maps/BetaCinnabarPokemonLabHallway.blk"
376+
INCBIN "maps/unused/BetaCinnabarPokemonLabHallway.blk"
377377

378378
BetaCinnabarPokemonLabRoom1_BlockData:
379-
INCBIN "maps/BetaCinnabarPokemonLabRoom1.blk"
379+
INCBIN "maps/unused/BetaCinnabarPokemonLabRoom1.blk"
380380

381381
BetaCinnabarPokemonLabRoom2_BlockData:
382-
INCBIN "maps/BetaCinnabarPokemonLabRoom2.blk"
382+
INCBIN "maps/unused/BetaCinnabarPokemonLabRoom2.blk"
383383

384384
BetaCinnabarPokemonLabRoom3_BlockData:
385-
INCBIN "maps/BetaCinnabarPokemonLabRoom3.blk"
385+
INCBIN "maps/unused/BetaCinnabarPokemonLabRoom3.blk"
386386

387387
GoldenrodDeptStore1F_BlockData:
388388
CeladonDeptStore1F_BlockData:
@@ -425,7 +425,7 @@ CeladonMansionRoof_BlockData:
425425
INCBIN "maps/CeladonMansionRoof.blk"
426426

427427
BetaHouse_BlockData:
428-
INCBIN "maps/BetaHouse.blk"
428+
INCBIN "maps/unused/BetaHouse.blk"
429429

430430
CeladonGameCorner_BlockData:
431431
INCBIN "maps/CeladonGameCorner.blk"
@@ -447,7 +447,7 @@ VioletKylesHouse_BlockData:
447447
INCBIN "maps/House2.blk"
448448

449449
BetaCave_BlockData:
450-
INCBIN "maps/BetaCave.blk"
450+
INCBIN "maps/unused/BetaCave.blk"
451451

452452
UnionCaveB1F_BlockData:
453453
INCBIN "maps/UnionCaveB1F.blk"
@@ -467,7 +467,7 @@ Route6UndergroundPathEntrance_BlockData:
467467
INCBIN "maps/UndergroundPathEntrance.blk"
468468

469469
BetaPokecenterTradeStation_BlockData:
470-
INCBIN "maps/BetaPokecenterTradeStation.blk"
470+
INCBIN "maps/unused/BetaPokecenterTradeStation.blk"
471471

472472
KurtsHouse_BlockData:
473473
INCBIN "maps/KurtsHouse.blk"
@@ -479,7 +479,7 @@ RuinsOfAlphOutside_BlockData:
479479
INCBIN "maps/RuinsOfAlphOutside.blk"
480480

481481
BetaRuinsOfAlphUnsolvedPuzzleRoom_BlockData:
482-
INCBIN "maps/BetaRuinsOfAlphUnsolvedPuzzleRoom.blk"
482+
INCBIN "maps/unused/BetaRuinsOfAlphUnsolvedPuzzleRoom.blk"
483483

484484
RuinsOfAlphInnerChamber_BlockData:
485485
INCBIN "maps/RuinsOfAlphInnerChamber.blk"
@@ -494,19 +494,19 @@ SproutTower1F_BlockData:
494494
INCBIN "maps/SproutTower1F.blk"
495495

496496
BetaSproutTowerCutOut1_BlockData:
497-
INCBIN "maps/BetaSproutTowerCutOut1.blk"
497+
INCBIN "maps/unused/BetaSproutTowerCutOut1.blk"
498498

499499
SproutTower2F_BlockData:
500500
INCBIN "maps/SproutTower2F.blk"
501501

502502
BetaSproutTowerCutOut2_BlockData:
503-
INCBIN "maps/BetaSproutTowerCutOut2.blk"
503+
INCBIN "maps/unused/BetaSproutTowerCutOut2.blk"
504504

505505
SproutTower3F_BlockData:
506506
INCBIN "maps/SproutTower3F.blk"
507507

508508
BetaSproutTowerCutOut3_BlockData:
509-
INCBIN "maps/BetaSproutTowerCutOut3.blk"
509+
INCBIN "maps/unused/BetaSproutTowerCutOut3.blk"
510510

511511
RadioTower1F_BlockData:
512512
INCBIN "maps/RadioTower1F.blk"
@@ -584,7 +584,7 @@ GoldenrodUndergroundWarehouse_BlockData:
584584
INCBIN "maps/GoldenrodUndergroundWarehouse.blk"
585585

586586
BetaElevator_BlockData:
587-
INCBIN "maps/BetaElevator.blk"
587+
INCBIN "maps/unused/BetaElevator.blk"
588588

589589
TinTower1F_BlockData:
590590
INCBIN "maps/TinTower1F.blk"
@@ -623,7 +623,7 @@ BurnedTowerB1F_BlockData:
623623
INCBIN "maps/BurnedTowerB1F.blk"
624624

625625
BetaCaveTestMap_BlockData:
626-
INCBIN "maps/BetaCaveTestMap.blk"
626+
INCBIN "maps/unused/BetaCaveTestMap.blk"
627627

628628
MountMortar1FOutside_BlockData:
629629
INCBIN "maps/MountMortar1FOutside.blk"
@@ -686,16 +686,16 @@ SilverCaveRoom3_BlockData:
686686
INCBIN "maps/SilverCaveRoom3.blk"
687687

688688
BetaRocketHideout1_BlockData:
689-
INCBIN "maps/BetaRocketHideout1.blk"
689+
INCBIN "maps/unused/BetaRocketHideout1.blk"
690690

691691
BetaRocketHideout2_BlockData:
692-
INCBIN "maps/BetaRocketHideout2.blk"
692+
INCBIN "maps/unused/BetaRocketHideout2.blk"
693693

694694
BetaEmptyHouse_BlockData:
695-
INCBIN "maps/BetaEmptyHouse.blk"
695+
INCBIN "maps/unused/BetaEmptyHouse.blk"
696696

697697
BetaRocketHideout3_BlockData:
698-
INCBIN "maps/BetaRocketHideout3.blk"
698+
INCBIN "maps/unused/BetaRocketHideout3.blk"
699699

700700
MahoganyMart1F_BlockData:
701701
MountMoonGiftShop_BlockData:
@@ -711,7 +711,7 @@ TeamRocketBaseB3F_BlockData:
711711
INCBIN "maps/TeamRocketBaseB3F.blk"
712712

713713
BetaRoute23EarlyVersion_BlockData:
714-
INCBIN "maps/BetaRoute23EarlyVersion.blk"
714+
INCBIN "maps/unused/BetaRoute23EarlyVersion.blk"
715715

716716
IndigoPlateauPokecenter1F_BlockData:
717717
INCBIN "maps/IndigoPlateauPokecenter1F.blk"
@@ -747,7 +747,7 @@ OlivineGym_BlockData:
747747
INCBIN "maps/OlivineGym.blk"
748748

749749
BetaUnknown_BlockData:
750-
INCBIN "maps/BetaUnknown.blk"
750+
INCBIN "maps/unused/BetaUnknown.blk"
751751

752752
CianwoodGym_BlockData:
753753
INCBIN "maps/CianwoodGym.blk"
@@ -780,7 +780,7 @@ OlivineLighthouse6F_BlockData:
780780
SECTION "Map Blockdata 3", ROMX
781781

782782
BetaCave2_BlockData:
783-
INCBIN "maps/BetaCave2.blk"
783+
INCBIN "maps/unused/BetaCave2.blk"
784784

785785
SlowpokeWellB1F_BlockData:
786786
INCBIN "maps/SlowpokeWellB1F.blk"
@@ -825,7 +825,7 @@ FastShipB1F_BlockData:
825825
INCBIN "maps/FastShipB1F.blk"
826826

827827
BetaFastShipInsideCutOut_BlockData:
828-
INCBIN "maps/BetaFastShipInsideCutOut.blk"
828+
INCBIN "maps/unused/BetaFastShipInsideCutOut.blk"
829829

830830
FastShipCabins_NNW_NNE_NE_BlockData:
831831
INCBIN "maps/FastShipCabins_NNW_NNE_NE.blk"
@@ -914,13 +914,13 @@ CeladonGym_BlockData:
914914
INCBIN "maps/CeladonGym.blk"
915915

916916
BetaHouse2_BlockData:
917-
INCBIN "maps/BetaHouse2.blk"
917+
INCBIN "maps/unused/BetaHouse2.blk"
918918

919919
CeladonCafe_BlockData:
920920
INCBIN "maps/CeladonCafe.blk"
921921

922922
BetaCeladonMansion_BlockData:
923-
INCBIN "maps/BetaCeladonMansion.blk"
923+
INCBIN "maps/unused/BetaCeladonMansion.blk"
924924

925925
RockTunnel1F_BlockData:
926926
INCBIN "maps/RockTunnel1F.blk"
@@ -1041,7 +1041,7 @@ BattleTowerOutside_BlockData:
10411041
INCBIN "maps/BattleTowerOutside.blk"
10421042

10431043
BetaBlank_BlockData:
1044-
INCBIN "maps/BetaBlank.blk"
1044+
INCBIN "maps/unused/BetaBlank.blk"
10451045

10461046
GoldenrodDeptStoreRoof_BlockData:
10471047
INCBIN "maps/GoldenrodDeptStoreRoof.blk"
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)