import from github
This commit is contained in:
62
data/maps/SootopolisCity_House1/map.json
Normal file
62
data/maps/SootopolisCity_House1/map.json
Normal file
@ -0,0 +1,62 @@
|
||||
{
|
||||
"id": "MAP_SOOTOPOLIS_CITY_HOUSE1",
|
||||
"name": "SootopolisCity_House1",
|
||||
"layout": "LAYOUT_SOOTOPOLIS_CITY_HOUSE1",
|
||||
"music": "MUS_SOOTOPOLIS",
|
||||
"region_map_section": "MAPSEC_SOOTOPOLIS_CITY",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
"map_type": "MAP_TYPE_INDOOR",
|
||||
"allow_cycling": false,
|
||||
"allow_escaping": false,
|
||||
"allow_running": false,
|
||||
"show_map_name": false,
|
||||
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BLACK_BELT",
|
||||
"x": 2,
|
||||
"y": 4,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "SootopolisCity_House1_EventScript_BrickBreakBlackBelt",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_KECLEON",
|
||||
"x": 2,
|
||||
"y": 3,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "SootopolisCity_House1_EventScript_Kecleon",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 3,
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SOOTOPOLIS_CITY",
|
||||
"dest_warp_id": 4
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SOOTOPOLIS_CITY",
|
||||
"dest_warp_id": 4
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
43
data/maps/SootopolisCity_House1/scripts.inc
Normal file
43
data/maps/SootopolisCity_House1/scripts.inc
Normal file
@ -0,0 +1,43 @@
|
||||
SootopolisCity_House1_MapScripts::
|
||||
.byte 0
|
||||
|
||||
SootopolisCity_House1_EventScript_BrickBreakBlackBelt::
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_RECEIVED_TM31, SootopolisCity_House1_EventScript_ReceivedBrickBreak
|
||||
msgbox SootopolisCity_House1_Text_DevelopedThisTM, MSGBOX_DEFAULT
|
||||
giveitem ITEM_TM31
|
||||
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_TM31
|
||||
msgbox SootopolisCity_House1_Text_ExplainBrickBreak, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SootopolisCity_House1_EventScript_ReceivedBrickBreak::
|
||||
msgbox SootopolisCity_House1_Text_ExplainBrickBreak, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SootopolisCity_House1_EventScript_Kecleon::
|
||||
lock
|
||||
faceplayer
|
||||
waitse
|
||||
playmoncry SPECIES_KECLEON, CRY_MODE_NORMAL
|
||||
msgbox SootopolisCity_House1_Text_Kecleon, MSGBOX_DEFAULT
|
||||
waitmoncry
|
||||
release
|
||||
end
|
||||
|
||||
SootopolisCity_House1_Text_DevelopedThisTM:
|
||||
.string "For thirty years I've remained in\n"
|
||||
.string "SOOTOPOLIS honing my skills.\p"
|
||||
.string "I developed a shattering TM.\n"
|
||||
.string "I bequeath it to you!$"
|
||||
|
||||
SootopolisCity_House1_Text_ExplainBrickBreak:
|
||||
.string "TM31 contains BRICK BREAK! It's a move\n"
|
||||
.string "so horrible that I can't describe it.$"
|
||||
|
||||
SootopolisCity_House1_Text_Kecleon:
|
||||
.string "KECLEON: Puu puhyaah.$"
|
||||
|
Reference in New Issue
Block a user