Add subdirectories to data/ similar to pokecrystal

Top level text/ is now solely for the former text/maps/ files, and other files are in their respective subdirectories in data/.
This commit is contained in:
Rangi 2020-07-03 11:51:00 -04:00
parent c85050497c
commit b29e5ee203
564 changed files with 3511 additions and 3505 deletions

View file

@ -1901,7 +1901,7 @@ ItemUseGoodRod:
xor 1
jr RodResponse
INCLUDE "data/good_rod.asm"
INCLUDE "data/wild/good_rod.asm"
ItemUseSuperRod:
call FishingInit
@ -2686,7 +2686,7 @@ IsKeyItem_::
ld [wIsKeyItem], a
ret
INCLUDE "data/key_items.asm"
INCLUDE "data/items/key_items.asm"
SendNewMonToBox:
ld de, wNumInBox
@ -2881,7 +2881,7 @@ IsNextTileShoreOrWater:
and a
ret
INCLUDE "data/water_tilesets.asm"
INCLUDE "data/tilesets/water_tilesets.asm"
ReadSuperRodData:
; return e = 2 if no fish on this map
@ -2928,7 +2928,7 @@ ReadSuperRodData:
ld e, $1 ; $1 if there's a bite
ret
INCLUDE "data/super_rod.asm"
INCLUDE "data/wild/super_rod.asm"
; reloads map view and processes sprite data
; for items that cause the overworld to be displayed

View file

@ -22,4 +22,4 @@ GetMachinePrice::
ld [hItemPrice + 2], a
ret
INCLUDE "data/tm_prices.asm"
INCLUDE "data/items/tm_prices.asm"

View file

@ -33,4 +33,4 @@ TMToMove:
ld [wd11e], a
ret
INCLUDE "data/tms.asm"
INCLUDE "data/moves/tmhm_moves.asm"

View file

@ -103,7 +103,7 @@ DisplayTownMap:
ld [wWhichTownMapLocation], a
jp .townMapLoop
INCLUDE "data/town_map_order.asm"
INCLUDE "data/maps/town_map_order.asm"
TownMapCursor:
INCBIN "gfx/town_map/town_map_cursor.1bpp"
@ -581,9 +581,9 @@ LoadTownMapEntry:
ld l, a
ret
INCLUDE "data/town_map_entries.asm"
INCLUDE "data/maps/town_map_entries.asm"
INCLUDE "text/map_names.asm"
INCLUDE "data/maps/names.asm"
MonNestIcon:
INCBIN "gfx/town_map/mon_nest_icon.1bpp"