import from github

This commit is contained in:
2022-05-19 17:14:13 +00:00
parent 5247c34f50
commit ab32b30591
12612 changed files with 1905035 additions and 83 deletions

View File

@ -0,0 +1,37 @@
{
"id": "MAP_UNDERWATER_SEALED_CHAMBER",
"name": "Underwater_SealedChamber",
"layout": "LAYOUT_UNDERWATER_SEALED_CHAMBER",
"music": "MUS_UNDERWATER",
"region_map_section": "MAPSEC_UNDERWATER_SEALED_CHAMBER",
"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": 7,
"y": 1,
"elevation": 0,
"dest_map": "MAP_UNDERWATER_ROUTE134",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 12,
"y": 43,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Underwater_SealedChamber_EventScript_Braille"
}
]
}

View File

@ -0,0 +1,24 @@
Underwater_SealedChamber_MapScripts::
map_script MAP_SCRIPT_ON_DIVE_WARP, Underwater_SealedChamber_OnDive
.byte 0
Underwater_SealedChamber_OnDive:
getplayerxy VAR_0x8004, VAR_0x8005
goto_if_ne VAR_0x8004, 12, Underwater_SealedChamber_EventScript_SurfaceRoute134
goto_if_ne VAR_0x8005, 44, Underwater_SealedChamber_EventScript_SurfaceRoute134
goto Underwater_SealedChamber_EventScript_SurfaceSealedChamber
Underwater_SealedChamber_EventScript_SurfaceRoute134::
setdivewarp MAP_ROUTE134, 60, 31
end
Underwater_SealedChamber_EventScript_SurfaceSealedChamber::
setdivewarp MAP_SEALED_CHAMBER_OUTER_ROOM, 10, 19
end
Underwater_SealedChamber_EventScript_Braille::
lockall
braillemsgbox Underwater_SealedChamber_Braille_GoUpHere
releaseall
end