import from github
This commit is contained in:
88
data/maps/MossdeepCity_Mart/map.json
Normal file
88
data/maps/MossdeepCity_Mart/map.json
Normal file
@ -0,0 +1,88 @@
|
||||
{
|
||||
"id": "MAP_MOSSDEEP_CITY_MART",
|
||||
"name": "MossdeepCity_Mart",
|
||||
"layout": "LAYOUT_MART",
|
||||
"music": "MUS_POKE_MART",
|
||||
"region_map_section": "MAPSEC_MOSSDEEP_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": "MossdeepCity_Mart_EventScript_Clerk",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_WOMAN_5",
|
||||
"x": 1,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MossdeepCity_Mart_EventScript_Woman",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BOY_2",
|
||||
"x": 8,
|
||||
"y": 3,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MossdeepCity_Mart_EventScript_Boy",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_SAILOR",
|
||||
"x": 5,
|
||||
"y": 3,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MossdeepCity_Mart_EventScript_Sailor",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 3,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MOSSDEEP_CITY",
|
||||
"dest_warp_id": 4
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_MOSSDEEP_CITY",
|
||||
"dest_warp_id": 4
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
45
data/maps/MossdeepCity_Mart/scripts.inc
Normal file
45
data/maps/MossdeepCity_Mart/scripts.inc
Normal file
@ -0,0 +1,45 @@
|
||||
MossdeepCity_Mart_MapScripts::
|
||||
.byte 0
|
||||
|
||||
MossdeepCity_Mart_EventScript_Clerk::
|
||||
lock
|
||||
faceplayer
|
||||
message gText_HowMayIServeYou
|
||||
waitmessage
|
||||
pokemart 0
|
||||
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
MossdeepCity_Mart_EventScript_Woman::
|
||||
msgbox MossdeepCity_Mart_Text_ReviveIsFantastic, MSGBOX_NPC
|
||||
end
|
||||
|
||||
MossdeepCity_Mart_EventScript_Boy::
|
||||
msgbox MossdeepCity_Mart_Text_MaxRepelLastsLongest, MSGBOX_NPC
|
||||
end
|
||||
|
||||
MossdeepCity_Mart_EventScript_Sailor::
|
||||
msgbox MossdeepCity_Mart_Text_NetAndDiveBallsRare, MSGBOX_NPC
|
||||
end
|
||||
|
||||
MossdeepCity_Mart_Text_ReviveIsFantastic:
|
||||
.string "REVIVE is fantastic!\p"
|
||||
.string "Give it to a fainted POKéMON,\n"
|
||||
.string "and the POKéMON will arise.\p"
|
||||
.string "But be careful, REVIVE doesn't restore\n"
|
||||
.string "the used-up PP of moves.$"
|
||||
|
||||
MossdeepCity_Mart_Text_MaxRepelLastsLongest:
|
||||
.string "MAX REPEL keeps all weak POKéMON away.\p"
|
||||
.string "Out of all the REPEL sprays, it lasts\n"
|
||||
.string "the longest.$"
|
||||
|
||||
MossdeepCity_Mart_Text_NetAndDiveBallsRare:
|
||||
.string "The NET and DIVE BALLS are rare POKé\n"
|
||||
.string "BALLS that are only made in MOSSDEEP.\p"
|
||||
.string "A NET BALL is effective against\n"
|
||||
.string "BUG-type and WATER-type POKéMON.\p"
|
||||
.string "A DIVE BALL works best on POKéMON\n"
|
||||
.string "at the bottom of the sea.$"
|
||||
|
Reference in New Issue
Block a user