import from github

This commit is contained in:
2022-05-19 17:14:13 +00:00
parent 5247c34f50
commit ab32b30591
12612 changed files with 1905035 additions and 83 deletions

View File

@ -0,0 +1,88 @@
{
"id": "MAP_BATTLE_FRONTIER_MART",
"name": "BattleFrontier_Mart",
"layout": "LAYOUT_MART",
"music": "MUS_POKE_MART",
"region_map_section": "MAPSEC_BATTLE_FRONTIER",
"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": "BattleFrontier_Mart_EventScript_Clerk",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_OLD_WOMAN",
"x": 5,
"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": "BattleFrontier_Mart_EventScript_OldWoman",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_OLD_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": "BattleFrontier_Mart_EventScript_OldMan",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_BOY_2",
"x": 8,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Mart_EventScript_Boy",
"flag": "0"
}
],
"warp_events": [
{
"x": 3,
"y": 7,
"elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 4
},
{
"x": 4,
"y": 7,
"elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 4
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -0,0 +1,50 @@
.set LOCALID_OLD_WOMAN, 2
BattleFrontier_Mart_MapScripts::
.byte 0
BattleFrontier_Mart_EventScript_Clerk::
lock
faceplayer
message gText_HowMayIServeYou
waitmessage
pokemart 0
msgbox gText_PleaseComeAgain, MSGBOX_DEFAULT
release
end
BattleFrontier_Mart_EventScript_OldMan::
msgbox BattleFrontier_Mart_Text_ChaperonGrandson, MSGBOX_NPC
end
BattleFrontier_Mart_EventScript_OldWoman::
lock
applymovement LOCALID_OLD_WOMAN, Common_Movement_FaceDown
waitmovement 0
msgbox BattleFrontier_Mart_Text_ProteinMakeNiceGift, MSGBOX_DEFAULT
release
end
BattleFrontier_Mart_EventScript_Boy::
msgbox BattleFrontier_Mart_Text_FacilitiesDontAllowItems, MSGBOX_NPC
end
BattleFrontier_Mart_Text_ChaperonGrandson:
.string "We came here to chaperon our\n"
.string "grandson.\p"
.string "But since we're here, we thought\n"
.string "we should get some souvenirs.$"
BattleFrontier_Mart_Text_ProteinMakeNiceGift:
.string "Dear, what do you think of this?\n"
.string "Wouldn't this make a nice gift?\p"
.string "It's…PRO…TE…IN?\n"
.string "It sounds delicious, doesn't it?$"
BattleFrontier_Mart_Text_FacilitiesDontAllowItems:
.string "A lot of the BATTLE FRONTIER's\n"
.string "facilities don't allow the use of items\l"
.string "during battles.\p"
.string "That rule makes things tougher than\n"
.string "they already are!$"