summaryrefslogtreecommitdiff
path: root/engine/items
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-03 11:51:00 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-03 11:51:00 -0400
commitb29e5ee203b6fa4592180ef6cca732462cca9af6 (patch)
tree7634ed34bcc174f6df004a473b277d1cc3f8f218 /engine/items
parentc85050497c1bd062e9cd40bf5b32fa3beca366cc (diff)
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/.
Diffstat (limited to 'engine/items')
-rwxr-xr-xengine/items/item_effects.asm8
-rwxr-xr-xengine/items/tm_prices.asm2
-rwxr-xr-xengine/items/tms.asm2
-rwxr-xr-xengine/items/town_map.asm6
4 files changed, 9 insertions, 9 deletions
diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm
index 6e7bed1e..e1723118 100755
--- a/engine/items/item_effects.asm
+++ b/engine/items/item_effects.asm
@@ -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
diff --git a/engine/items/tm_prices.asm b/engine/items/tm_prices.asm
index c359dc1d..85531bab 100755
--- a/engine/items/tm_prices.asm
+++ b/engine/items/tm_prices.asm
@@ -22,4 +22,4 @@ GetMachinePrice::
ld [hItemPrice + 2], a
ret
-INCLUDE "data/tm_prices.asm"
+INCLUDE "data/items/tm_prices.asm"
diff --git a/engine/items/tms.asm b/engine/items/tms.asm
index da1b5e72..ea7fbcad 100755
--- a/engine/items/tms.asm
+++ b/engine/items/tms.asm
@@ -33,4 +33,4 @@ TMToMove:
ld [wd11e], a
ret
-INCLUDE "data/tms.asm"
+INCLUDE "data/moves/tmhm_moves.asm"
diff --git a/engine/items/town_map.asm b/engine/items/town_map.asm
index 84a92994..285dbfa5 100755
--- a/engine/items/town_map.asm
+++ b/engine/items/town_map.asm
@@ -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"