import from github
This commit is contained in:
75
data/maps/SootopolisCity_Mart/map.json
Normal file
75
data/maps/SootopolisCity_Mart/map.json
Normal file
@ -0,0 +1,75 @@
|
||||
{
|
||||
"id": "MAP_SOOTOPOLIS_CITY_MART",
|
||||
"name": "SootopolisCity_Mart",
|
||||
"layout": "LAYOUT_MART",
|
||||
"music": "MUS_POKE_MART",
|
||||
"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_MART_EMPLOYEE",
|
||||
"x": 1,
|
||||
"y": 3,
|
||||
"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_Mart_EventScript_Clerk",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_FAT_MAN",
|
||||
"x": 5,
|
||||
"y": 5,
|
||||
"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_Mart_EventScript_FatMan",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_GENTLEMAN",
|
||||
"x": 9,
|
||||
"y": 5,
|
||||
"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_Mart_EventScript_Gentleman",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 3,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SOOTOPOLIS_CITY",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SOOTOPOLIS_CITY",
|
||||
"dest_warp_id": 1
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
62
data/maps/SootopolisCity_Mart/scripts.inc
Normal file
62
data/maps/SootopolisCity_Mart/scripts.inc
Normal file
@ -0,0 +1,62 @@
|
||||
SootopolisCity_Mart_MapScripts::
|
||||
.byte 0
|
||||
|
||||
SootopolisCity_Mart_EventScript_Clerk::
|
||||
lock
|
||||
faceplayer
|
||||
message gText_HowMayIServeYou
|
||||
waitmessage
|
||||
pokemart 0
|
||||
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SootopolisCity_Mart_EventScript_FatMan::
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_ge VAR_SKY_PILLAR_STATE, 2, SootopolisCity_Mart_EventScript_FatManNoLegendaries
|
||||
goto_if_unset FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_Mart_EventScript_FatManNoLegendaries
|
||||
msgbox SootopolisCity_Mart_Text_TooScaryOutside, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SootopolisCity_Mart_EventScript_FatManNoLegendaries::
|
||||
msgbox SootopolisCity_Mart_Text_PPUpIsGreat, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SootopolisCity_Mart_EventScript_Gentleman::
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_ge VAR_SKY_PILLAR_STATE, 2, SootopolisCity_Mart_EventScript_GentlemanNoLegendaries
|
||||
goto_if_unset FLAG_KYOGRE_ESCAPED_SEAFLOOR_CAVERN, SootopolisCity_Mart_EventScript_GentlemanNoLegendaries
|
||||
msgbox SootopolisCity_Mart_Text_DidSomethingAwaken, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SootopolisCity_Mart_EventScript_GentlemanNoLegendaries::
|
||||
msgbox SootopolisCity_Mart_Text_FullRestoreItemOfDreams, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SootopolisCity_Mart_Text_PPUpIsGreat:
|
||||
.string "PP UP is great!\p"
|
||||
.string "It raises the POWER POINTS, the PP,\n"
|
||||
.string "of a POKéMON move.$"
|
||||
|
||||
SootopolisCity_Mart_Text_TooScaryOutside:
|
||||
.string "What…\n"
|
||||
.string "What is happening?\p"
|
||||
.string "I really want to know, but it's too\n"
|
||||
.string "scary to go outside.$"
|
||||
|
||||
SootopolisCity_Mart_Text_FullRestoreItemOfDreams:
|
||||
.string "Do you know FULL RESTORE?\p"
|
||||
.string "Full restoration of HP!\n"
|
||||
.string "Eradication of all status problems!\p"
|
||||
.string "It's truly an item of your dreams!$"
|
||||
|
||||
SootopolisCity_Mart_Text_DidSomethingAwaken:
|
||||
.string "This weather…\n"
|
||||
.string "Did something awaken?$"
|
||||
|
Reference in New Issue
Block a user