import from github
This commit is contained in:
75
data/maps/SlateportCity_Mart/map.json
Normal file
75
data/maps/SlateportCity_Mart/map.json
Normal file
@ -0,0 +1,75 @@
|
||||
{
|
||||
"id": "MAP_SLATEPORT_CITY_MART",
|
||||
"name": "SlateportCity_Mart",
|
||||
"layout": "LAYOUT_MART",
|
||||
"music": "MUS_POKE_MART",
|
||||
"region_map_section": "MAPSEC_SLATEPORT_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": "SlateportCity_Mart_EventScript_Clerk",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BLACK_BELT",
|
||||
"x": 4,
|
||||
"y": 2,
|
||||
"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": "SlateportCity_Mart_EventScript_BlackBelt",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAN_3",
|
||||
"x": 5,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "SlateportCity_Mart_EventScript_Man",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 3,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SLATEPORT_CITY",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SLATEPORT_CITY",
|
||||
"dest_warp_id": 1
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
33
data/maps/SlateportCity_Mart/scripts.inc
Normal file
33
data/maps/SlateportCity_Mart/scripts.inc
Normal file
@ -0,0 +1,33 @@
|
||||
SlateportCity_Mart_MapScripts::
|
||||
.byte 0
|
||||
|
||||
SlateportCity_Mart_EventScript_Clerk::
|
||||
lock
|
||||
faceplayer
|
||||
message gText_HowMayIServeYou
|
||||
waitmessage
|
||||
pokemart 0
|
||||
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SlateportCity_Mart_EventScript_BlackBelt::
|
||||
msgbox SlateportCity_Mart_Text_SomeItemsOnlyAtMart, MSGBOX_NPC
|
||||
end
|
||||
|
||||
SlateportCity_Mart_EventScript_Man::
|
||||
msgbox SlateportCity_Mart_Text_GreatBallIsBetter, MSGBOX_NPC
|
||||
end
|
||||
|
||||
SlateportCity_Mart_Text_SomeItemsOnlyAtMart:
|
||||
.string "The MARKET does have some interesting\n"
|
||||
.string "merchandise.\p"
|
||||
.string "But there are some items you can only\n"
|
||||
.string "get at a POKéMON MART.$"
|
||||
|
||||
SlateportCity_Mart_Text_GreatBallIsBetter:
|
||||
.string "A GREAT BALL is better than a POKé BALL\n"
|
||||
.string "at catching POKéMON.\p"
|
||||
.string "With this, I should be able to get that\n"
|
||||
.string "elusive POKéMON…$"
|
||||
|
Reference in New Issue
Block a user