summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/maps/SecretBase_BlueCave1/map.json1
-rw-r--r--data/maps/SecretBase_BlueCave2/map.json1
-rw-r--r--data/maps/SecretBase_BlueCave3/map.json1
-rw-r--r--data/maps/SecretBase_BlueCave4/map.json1
-rw-r--r--data/maps/SecretBase_BrownCave1/map.json1
-rw-r--r--data/maps/SecretBase_BrownCave2/map.json1
-rw-r--r--data/maps/SecretBase_BrownCave3/map.json1
-rw-r--r--data/maps/SecretBase_BrownCave4/map.json1
-rw-r--r--data/maps/SecretBase_RedCave1/map.json1
-rw-r--r--data/maps/SecretBase_RedCave2/map.json1
-rw-r--r--data/maps/SecretBase_RedCave3/map.json1
-rw-r--r--data/maps/SecretBase_RedCave4/map.json1
-rw-r--r--data/maps/SecretBase_Shrub1/map.json1
-rw-r--r--data/maps/SecretBase_Shrub2/map.json1
-rw-r--r--data/maps/SecretBase_Shrub3/map.json1
-rw-r--r--data/maps/SecretBase_Shrub4/map.json1
-rw-r--r--data/maps/SecretBase_Tree1/map.json1
-rw-r--r--data/maps/SecretBase_Tree2/map.json1
-rw-r--r--data/maps/SecretBase_Tree3/map.json1
-rw-r--r--data/maps/SecretBase_Tree4/map.json1
-rw-r--r--data/maps/SecretBase_YellowCave1/map.json1
-rw-r--r--data/maps/SecretBase_YellowCave2/map.json1
-rw-r--r--data/maps/SecretBase_YellowCave3/map.json1
-rw-r--r--data/maps/SecretBase_YellowCave4/map.json1
-rw-r--r--data/scripts/shared_secret_base.inc25
25 files changed, 25 insertions, 24 deletions
diff --git a/data/maps/SecretBase_BlueCave1/map.json b/data/maps/SecretBase_BlueCave1/map.json
index ecd5c0d83..8ac45a147 100644
--- a/data/maps/SecretBase_BlueCave1/map.json
+++ b/data/maps/SecretBase_BlueCave1/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_BLUE_CAVE1",
"name": "SecretBase_BlueCave1",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_BLUE_CAVE1",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_BlueCave2/map.json b/data/maps/SecretBase_BlueCave2/map.json
index 1b6acbcbf..1e8cf98fd 100644
--- a/data/maps/SecretBase_BlueCave2/map.json
+++ b/data/maps/SecretBase_BlueCave2/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_BLUE_CAVE2",
"name": "SecretBase_BlueCave2",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_BLUE_CAVE2",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_BlueCave3/map.json b/data/maps/SecretBase_BlueCave3/map.json
index 9889b7005..d057ade30 100644
--- a/data/maps/SecretBase_BlueCave3/map.json
+++ b/data/maps/SecretBase_BlueCave3/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_BLUE_CAVE3",
"name": "SecretBase_BlueCave3",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_BLUE_CAVE3",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_BlueCave4/map.json b/data/maps/SecretBase_BlueCave4/map.json
index 23a8f6579..4cdb8de60 100644
--- a/data/maps/SecretBase_BlueCave4/map.json
+++ b/data/maps/SecretBase_BlueCave4/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_BLUE_CAVE4",
"name": "SecretBase_BlueCave4",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_BLUE_CAVE4",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_BrownCave1/map.json b/data/maps/SecretBase_BrownCave1/map.json
index 2a6d2662c..39d7d3d92 100644
--- a/data/maps/SecretBase_BrownCave1/map.json
+++ b/data/maps/SecretBase_BrownCave1/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_BROWN_CAVE1",
"name": "SecretBase_BrownCave1",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_BROWN_CAVE1",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_BrownCave2/map.json b/data/maps/SecretBase_BrownCave2/map.json
index 5f5c365fc..d268e604a 100644
--- a/data/maps/SecretBase_BrownCave2/map.json
+++ b/data/maps/SecretBase_BrownCave2/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_BROWN_CAVE2",
"name": "SecretBase_BrownCave2",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_BROWN_CAVE2",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_BrownCave3/map.json b/data/maps/SecretBase_BrownCave3/map.json
index cd8af903e..f1a4f656c 100644
--- a/data/maps/SecretBase_BrownCave3/map.json
+++ b/data/maps/SecretBase_BrownCave3/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_BROWN_CAVE3",
"name": "SecretBase_BrownCave3",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_BROWN_CAVE3",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_BrownCave4/map.json b/data/maps/SecretBase_BrownCave4/map.json
index 406d27698..80199de73 100644
--- a/data/maps/SecretBase_BrownCave4/map.json
+++ b/data/maps/SecretBase_BrownCave4/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_BROWN_CAVE4",
"name": "SecretBase_BrownCave4",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_BROWN_CAVE4",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_RedCave1/map.json b/data/maps/SecretBase_RedCave1/map.json
index 342bc4dfc..b485575b3 100644
--- a/data/maps/SecretBase_RedCave1/map.json
+++ b/data/maps/SecretBase_RedCave1/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_RED_CAVE1",
"name": "SecretBase_RedCave1",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_RED_CAVE1",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_RedCave2/map.json b/data/maps/SecretBase_RedCave2/map.json
index 51a60e6bc..fb2dd3da3 100644
--- a/data/maps/SecretBase_RedCave2/map.json
+++ b/data/maps/SecretBase_RedCave2/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_RED_CAVE2",
"name": "SecretBase_RedCave2",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_RED_CAVE2",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_RedCave3/map.json b/data/maps/SecretBase_RedCave3/map.json
index 7617560d5..ac1b8c103 100644
--- a/data/maps/SecretBase_RedCave3/map.json
+++ b/data/maps/SecretBase_RedCave3/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_RED_CAVE3",
"name": "SecretBase_RedCave3",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_RED_CAVE3",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_RedCave4/map.json b/data/maps/SecretBase_RedCave4/map.json
index 2b8d31f3e..b3f5998f2 100644
--- a/data/maps/SecretBase_RedCave4/map.json
+++ b/data/maps/SecretBase_RedCave4/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_RED_CAVE4",
"name": "SecretBase_RedCave4",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_RED_CAVE4",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_Shrub1/map.json b/data/maps/SecretBase_Shrub1/map.json
index 6991ef41b..b43accd3c 100644
--- a/data/maps/SecretBase_Shrub1/map.json
+++ b/data/maps/SecretBase_Shrub1/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_SHRUB1",
"name": "SecretBase_Shrub1",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_SHRUB1",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_Shrub2/map.json b/data/maps/SecretBase_Shrub2/map.json
index 2b1b003d8..86590e0c3 100644
--- a/data/maps/SecretBase_Shrub2/map.json
+++ b/data/maps/SecretBase_Shrub2/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_SHRUB2",
"name": "SecretBase_Shrub2",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_SHRUB2",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_Shrub3/map.json b/data/maps/SecretBase_Shrub3/map.json
index 394d04e82..ac14a8e45 100644
--- a/data/maps/SecretBase_Shrub3/map.json
+++ b/data/maps/SecretBase_Shrub3/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_SHRUB3",
"name": "SecretBase_Shrub3",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_SHRUB3",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_Shrub4/map.json b/data/maps/SecretBase_Shrub4/map.json
index 14bdece7a..c8b86decb 100644
--- a/data/maps/SecretBase_Shrub4/map.json
+++ b/data/maps/SecretBase_Shrub4/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_SHRUB4",
"name": "SecretBase_Shrub4",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_SHRUB4",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_Tree1/map.json b/data/maps/SecretBase_Tree1/map.json
index 8876749b0..93f119a92 100644
--- a/data/maps/SecretBase_Tree1/map.json
+++ b/data/maps/SecretBase_Tree1/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_TREE1",
"name": "SecretBase_Tree1",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_TREE1",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_Tree2/map.json b/data/maps/SecretBase_Tree2/map.json
index 3ae3ccd50..96a4fc7f7 100644
--- a/data/maps/SecretBase_Tree2/map.json
+++ b/data/maps/SecretBase_Tree2/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_TREE2",
"name": "SecretBase_Tree2",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_TREE2",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_Tree3/map.json b/data/maps/SecretBase_Tree3/map.json
index 03e41eb83..89fd3cf49 100644
--- a/data/maps/SecretBase_Tree3/map.json
+++ b/data/maps/SecretBase_Tree3/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_TREE3",
"name": "SecretBase_Tree3",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_TREE3",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_Tree4/map.json b/data/maps/SecretBase_Tree4/map.json
index cae1ff238..da6c9e727 100644
--- a/data/maps/SecretBase_Tree4/map.json
+++ b/data/maps/SecretBase_Tree4/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_TREE4",
"name": "SecretBase_Tree4",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_TREE4",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_YellowCave1/map.json b/data/maps/SecretBase_YellowCave1/map.json
index 30759724c..e8ebdd91a 100644
--- a/data/maps/SecretBase_YellowCave1/map.json
+++ b/data/maps/SecretBase_YellowCave1/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_YELLOW_CAVE1",
"name": "SecretBase_YellowCave1",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_YELLOW_CAVE1",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_YellowCave2/map.json b/data/maps/SecretBase_YellowCave2/map.json
index 73dd09931..9eb60caab 100644
--- a/data/maps/SecretBase_YellowCave2/map.json
+++ b/data/maps/SecretBase_YellowCave2/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_YELLOW_CAVE2",
"name": "SecretBase_YellowCave2",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_YELLOW_CAVE2",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_YellowCave3/map.json b/data/maps/SecretBase_YellowCave3/map.json
index be526fc95..567255385 100644
--- a/data/maps/SecretBase_YellowCave3/map.json
+++ b/data/maps/SecretBase_YellowCave3/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_YELLOW_CAVE3",
"name": "SecretBase_YellowCave3",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_YELLOW_CAVE3",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/maps/SecretBase_YellowCave4/map.json b/data/maps/SecretBase_YellowCave4/map.json
index 1a45ea4f5..26a3873fc 100644
--- a/data/maps/SecretBase_YellowCave4/map.json
+++ b/data/maps/SecretBase_YellowCave4/map.json
@@ -1,6 +1,7 @@
{
"id": "MAP_SECRET_BASE_YELLOW_CAVE4",
"name": "SecretBase_YellowCave4",
+ "shared_scripts_map": "SecretBase",
"layout": "LAYOUT_SECRET_BASE_YELLOW_CAVE4",
"music": "MUS_MACHI_S3",
"region_map_section": "MAPSEC_SECRET_BASE",
diff --git a/data/scripts/shared_secret_base.inc b/data/scripts/shared_secret_base.inc
index f2a0f8523..7a993948b 100644
--- a/data/scripts/shared_secret_base.inc
+++ b/data/scripts/shared_secret_base.inc
@@ -1,27 +1,4 @@
-SecretBase_RedCave1_MapScripts:: @ 823B483
-SecretBase_RedCave2_MapScripts:: @ 823B483
-SecretBase_RedCave3_MapScripts:: @ 823B483
-SecretBase_RedCave4_MapScripts:: @ 823B483
-SecretBase_BrownCave1_MapScripts:: @ 823B483
-SecretBase_BrownCave2_MapScripts:: @ 823B483
-SecretBase_BrownCave3_MapScripts:: @ 823B483
-SecretBase_BrownCave4_MapScripts:: @ 823B483
-SecretBase_BlueCave1_MapScripts:: @ 823B483
-SecretBase_BlueCave2_MapScripts:: @ 823B483
-SecretBase_BlueCave3_MapScripts:: @ 823B483
-SecretBase_BlueCave4_MapScripts:: @ 823B483
-SecretBase_YellowCave1_MapScripts:: @ 823B483
-SecretBase_YellowCave2_MapScripts:: @ 823B483
-SecretBase_YellowCave3_MapScripts:: @ 823B483
-SecretBase_YellowCave4_MapScripts:: @ 823B483
-SecretBase_Tree1_MapScripts:: @ 823B483
-SecretBase_Tree2_MapScripts:: @ 823B483
-SecretBase_Tree3_MapScripts:: @ 823B483
-SecretBase_Tree4_MapScripts:: @ 823B483
-SecretBase_Shrub1_MapScripts:: @ 823B483
-SecretBase_Shrub2_MapScripts:: @ 823B483
-SecretBase_Shrub3_MapScripts:: @ 823B483
-SecretBase_Shrub4_MapScripts:: @ 823B483
+SecretBase_MapScripts::
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, SecretBase_MapScript2_OnWarp
map_script MAP_SCRIPT_ON_TRANSITION, SecretBase_MapScript1_OnTransition
map_script MAP_SCRIPT_ON_FRAME_TABLE, SecretBase_MapScript2_OnFrame