import from github
This commit is contained in:
101
data/maps/SealedChamber_InnerRoom/map.json
Normal file
101
data/maps/SealedChamber_InnerRoom/map.json
Normal file
@ -0,0 +1,101 @@
|
||||
{
|
||||
"id": "MAP_SEALED_CHAMBER_INNER_ROOM",
|
||||
"name": "SealedChamber_InnerRoom",
|
||||
"layout": "LAYOUT_SEALED_CHAMBER_INNER_ROOM",
|
||||
"music": "MUS_SEALED_CHAMBER",
|
||||
"region_map_section": "MAPSEC_SEALED_CHAMBER",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
"map_type": "MAP_TYPE_UNDERGROUND",
|
||||
"allow_cycling": true,
|
||||
"allow_escaping": true,
|
||||
"allow_running": true,
|
||||
"show_map_name": true,
|
||||
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
|
||||
"connections": null,
|
||||
"object_events": [],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 10,
|
||||
"y": 19,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SEALED_CHAMBER_OUTER_ROOM",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 10,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SealedChamber_InnerRoom_EventScript_BrailleBackWall"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 6,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SealedChamber_InnerRoom_EventScript_BrailleStoryPart1"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 14,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SealedChamber_InnerRoom_EventScript_BrailleStoryPart2"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 4,
|
||||
"y": 13,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SealedChamber_InnerRoom_EventScript_BrailleStoryPart3"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 16,
|
||||
"y": 13,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SealedChamber_InnerRoom_EventScript_BrailleStoryPart4"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 6,
|
||||
"y": 18,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SealedChamber_InnerRoom_EventScript_BrailleStoryPart5"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 14,
|
||||
"y": 18,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SealedChamber_InnerRoom_EventScript_BrailleStoryPart6"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 9,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SealedChamber_InnerRoom_EventScript_BrailleBackWall"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 11,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SealedChamber_InnerRoom_EventScript_BrailleBackWall"
|
||||
}
|
||||
]
|
||||
}
|
73
data/maps/SealedChamber_InnerRoom/scripts.inc
Normal file
73
data/maps/SealedChamber_InnerRoom/scripts.inc
Normal file
@ -0,0 +1,73 @@
|
||||
SealedChamber_InnerRoom_MapScripts::
|
||||
.byte 0
|
||||
|
||||
SealedChamber_InnerRoom_EventScript_BrailleBackWall::
|
||||
lockall
|
||||
braillemsgbox SealedChamber_InnerRoom_Braille_FirstWailordLastRelicanth
|
||||
goto_if_set FLAG_REGI_DOORS_OPENED, SealedChamber_InnerRoom_EventScript_NoEffect
|
||||
specialvar VAR_RESULT, CheckRelicanthWailord
|
||||
goto_if_eq VAR_RESULT, FALSE, SealedChamber_InnerRoom_EventScript_NoEffect
|
||||
fadeoutbgm 0
|
||||
playse SE_TRUCK_MOVE
|
||||
special DoSealedChamberShakingEffect_Long
|
||||
waitstate
|
||||
delay 40
|
||||
special DoSealedChamberShakingEffect_Short
|
||||
waitstate
|
||||
playse SE_DOOR
|
||||
delay 40
|
||||
special DoSealedChamberShakingEffect_Short
|
||||
waitstate
|
||||
playse SE_DOOR
|
||||
delay 40
|
||||
special DoSealedChamberShakingEffect_Short
|
||||
waitstate
|
||||
playse SE_DOOR
|
||||
delay 40
|
||||
msgbox gText_DoorOpenedFarAway, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
fadeinbgm 0
|
||||
setflag FLAG_REGI_DOORS_OPENED
|
||||
releaseall
|
||||
end
|
||||
|
||||
SealedChamber_InnerRoom_EventScript_NoEffect::
|
||||
releaseall
|
||||
end
|
||||
|
||||
SealedChamber_InnerRoom_EventScript_BrailleStoryPart1::
|
||||
lockall
|
||||
braillemsgbox SealedChamber_InnerRoom_Braille_InThisCaveWeHaveLived
|
||||
releaseall
|
||||
end
|
||||
|
||||
SealedChamber_InnerRoom_EventScript_BrailleStoryPart2::
|
||||
lockall
|
||||
braillemsgbox SealedChamber_InnerRoom_Braille_WeOweAllToThePokemon
|
||||
releaseall
|
||||
end
|
||||
|
||||
SealedChamber_InnerRoom_EventScript_BrailleStoryPart3::
|
||||
lockall
|
||||
braillemsgbox SealedChamber_InnerRoom_Braille_ButWeSealedThePokemonAway
|
||||
releaseall
|
||||
end
|
||||
|
||||
SealedChamber_InnerRoom_EventScript_BrailleStoryPart4::
|
||||
lockall
|
||||
braillemsgbox SealedChamber_InnerRoom_Braille_WeFearedIt
|
||||
releaseall
|
||||
end
|
||||
|
||||
SealedChamber_InnerRoom_EventScript_BrailleStoryPart5::
|
||||
lockall
|
||||
braillemsgbox SealedChamber_InnerRoom_Braille_ThoseWithCourageHope
|
||||
releaseall
|
||||
end
|
||||
|
||||
SealedChamber_InnerRoom_EventScript_BrailleStoryPart6::
|
||||
lockall
|
||||
braillemsgbox SealedChamber_InnerRoom_Braille_OpenDoorEternalPokemonWaits
|
||||
releaseall
|
||||
end
|
||||
|
Reference in New Issue
Block a user