import from github
This commit is contained in:
28
data/maps/Underwater_MarineCave/map.json
Normal file
28
data/maps/Underwater_MarineCave/map.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"id": "MAP_UNDERWATER_MARINE_CAVE",
|
||||
"name": "Underwater_MarineCave",
|
||||
"layout": "LAYOUT_UNDERWATER_MARINE_CAVE",
|
||||
"music": "MUS_PETALBURG_WOODS",
|
||||
"region_map_section": "MAPSEC_UNDERWATER_MARINE_CAVE",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_UNDERWATER_BUBBLES",
|
||||
"map_type": "MAP_TYPE_UNDERWATER",
|
||||
"allow_cycling": true,
|
||||
"allow_escaping": false,
|
||||
"allow_running": true,
|
||||
"show_map_name": true,
|
||||
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
|
||||
"connections": null,
|
||||
"object_events": [],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 9,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_NONE",
|
||||
"dest_warp_id": 127
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
13
data/maps/Underwater_MarineCave/scripts.inc
Normal file
13
data/maps/Underwater_MarineCave/scripts.inc
Normal file
@ -0,0 +1,13 @@
|
||||
Underwater_MarineCave_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_RESUME, Underwater_MarineCave_OnResume
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, Underwater_MarineCave_OnTransition
|
||||
.byte 0
|
||||
|
||||
Underwater_MarineCave_OnTransition:
|
||||
setflag FLAG_ARRIVED_AT_MARINE_CAVE_EMERGE_SPOT
|
||||
end
|
||||
|
||||
Underwater_MarineCave_OnResume:
|
||||
setdivewarp MAP_MARINE_CAVE_ENTRANCE, 10, 17
|
||||
end
|
||||
|
Reference in New Issue
Block a user