import from github
This commit is contained in:
103
data/maps/MtPyre_1F/map.json
Normal file
103
data/maps/MtPyre_1F/map.json
Normal file
@ -0,0 +1,103 @@
|
||||
{
|
||||
"id": "MAP_MT_PYRE_1F",
|
||||
"name": "MtPyre_1F",
|
||||
"layout": "LAYOUT_MT_PYRE_1F",
|
||||
"music": "MUS_MT_PYRE",
|
||||
"region_map_section": "MAPSEC_MT_PYRE",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_NONE",
|
||||
"map_type": "MAP_TYPE_INDOOR",
|
||||
"allow_cycling": false,
|
||||
"allow_escaping": false,
|
||||
"allow_running": false,
|
||||
"show_map_name": true,
|
||||
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_OLD_WOMAN",
|
||||
"x": 21,
|
||||
"y": 2,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MtPyre_1F_EventScript_CleanseTagWoman",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_POKEFAN_F",
|
||||
"x": 17,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MtPyre_1F_EventScript_PokefanF",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAN_4",
|
||||
"x": 13,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MtPyre_1F_EventScript_Man",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 17,
|
||||
"y": 18,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_ROUTE122",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 3,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_MT_PYRE_EXTERIOR",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 18,
|
||||
"y": 18,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_ROUTE122",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_MT_PYRE_EXTERIOR",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 11,
|
||||
"y": 1,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_MT_PYRE_2F",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 20,
|
||||
"y": 9,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_MT_PYRE_2F",
|
||||
"dest_warp_id": 4
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
47
data/maps/MtPyre_1F/scripts.inc
Normal file
47
data/maps/MtPyre_1F/scripts.inc
Normal file
@ -0,0 +1,47 @@
|
||||
MtPyre_1F_MapScripts::
|
||||
.byte 0
|
||||
|
||||
MtPyre_1F_EventScript_CleanseTagWoman::
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_RECEIVED_CLEANSE_TAG, MtPyre_1F_EventScript_ReceivedCleanseTag
|
||||
msgbox MtPyre_1F_Text_TakeThisForYourOwnGood, MSGBOX_DEFAULT
|
||||
giveitem ITEM_CLEANSE_TAG
|
||||
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_CLEANSE_TAG
|
||||
release
|
||||
end
|
||||
|
||||
MtPyre_1F_EventScript_ReceivedCleanseTag::
|
||||
msgbox MtPyre_1F_Text_ExplainCleanseTag, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
MtPyre_1F_EventScript_PokefanF::
|
||||
msgbox MtPyre_1F_Text_ComeToPayRespects, MSGBOX_NPC
|
||||
end
|
||||
|
||||
MtPyre_1F_EventScript_Man::
|
||||
msgbox MtPyre_1F_Text_RestingPlaceOfZigzagoon, MSGBOX_NPC
|
||||
end
|
||||
|
||||
MtPyre_1F_Text_TakeThisForYourOwnGood:
|
||||
.string "All sorts of beings wander the slopes\n"
|
||||
.string "of MT. PYRE…\p"
|
||||
.string "There is no telling what may happen.\n"
|
||||
.string "Take this. It's for your own good.$"
|
||||
|
||||
MtPyre_1F_Text_ExplainCleanseTag:
|
||||
.string "Have a POKéMON hold that\n"
|
||||
.string "CLEANSE TAG.\p"
|
||||
.string "It will help ward off wild POKéMON.$"
|
||||
|
||||
MtPyre_1F_Text_ComeToPayRespects:
|
||||
.string "Did you come to pay your respect\n"
|
||||
.string "to the spirits of departed POKéMON?\p"
|
||||
.string "You must care for your POKéMON a lot.$"
|
||||
|
||||
MtPyre_1F_Text_RestingPlaceOfZigzagoon:
|
||||
.string "This is the final resting place of my\n"
|
||||
.string "ZIGZAGOON. I cherished it…$"
|
||||
|
Reference in New Issue
Block a user