summaryrefslogtreecommitdiff
path: root/data/maps/SecretBase_YellowCave4
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-09-27 10:18:27 -0400
committerGitHub <noreply@github.com>2019-09-27 10:18:27 -0400
commit3d9bad5558c6ef8828be7a50e3e553d55ca877e0 (patch)
tree1ea4e595b35a0e248af16a09e1a0d7bd9a2afe6a /data/maps/SecretBase_YellowCave4
parent208e1c968959c781562f0b94c03368385ce7012c (diff)
parent0c1f1281dab28d481e717ff1343a213b4e0da2a8 (diff)
Merge pull request #778 from GriffinRichards/document-eventscripts
Document some of event_scripts.s
Diffstat (limited to 'data/maps/SecretBase_YellowCave4')
-rw-r--r--data/maps/SecretBase_YellowCave4/map.json3
-rw-r--r--data/maps/SecretBase_YellowCave4/scripts.inc24
2 files changed, 2 insertions, 25 deletions
diff --git a/data/maps/SecretBase_YellowCave4/map.json b/data/maps/SecretBase_YellowCave4/map.json
index 3dfa7cc08..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",
@@ -24,7 +25,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
- "script": "SecretBase_YellowCave4_EventScript_275D64",
+ "script": "SecretBase_EventScript_RecordMixTrainer",
"flag": "FLAG_DECORATION_0"
},
{
diff --git a/data/maps/SecretBase_YellowCave4/scripts.inc b/data/maps/SecretBase_YellowCave4/scripts.inc
deleted file mode 100644
index c05ea13c0..000000000
--- a/data/maps/SecretBase_YellowCave4/scripts.inc
+++ /dev/null
@@ -1,24 +0,0 @@
-SecretBase_YellowCave4_MapScripts:: @ 823B483
- map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, SecretBase_RedCave1_MapScript2_23B498
- map_script MAP_SCRIPT_ON_TRANSITION, SecretBase_RedCave1_OnTransition
- map_script MAP_SCRIPT_ON_FRAME_TABLE, SecretBase_RedCave1_MapScript2_23B4AE
- map_script MAP_SCRIPT_ON_RESUME, SecretBase_RedCave1_MapScript1_23B4B8
- .byte 0
-
-SecretBase_RedCave1_MapScript2_23B498: @ 823B498
- map_script_2 VAR_SECRET_BASE_INITIALIZED, 0, EventScript_275D0C
- .2byte 0
-
-SecretBase_RedCave1_OnTransition: @ 823B4A2
- call SecretBase_RedCave1_EventScript_275CE1
- special SetSecretBaseOwnerGfxId
- special sub_80EB1AC
- end
-
-SecretBase_RedCave1_MapScript2_23B4AE: @ 823B4AE
- map_script_2 VAR_INIT_SECRET_BASE, 0, SecretBase_RedCave1_EventScript_275B81
- .2byte 0
-
-SecretBase_RedCave1_MapScript1_23B4B8: @ 823B4B8
- setstepcallback 6
- end