import from github
This commit is contained in:
116
data/maps/MtPyre_3F/map.json
Normal file
116
data/maps/MtPyre_3F/map.json
Normal file
@ -0,0 +1,116 @@
|
||||
{
|
||||
"id": "MAP_MT_PYRE_3F",
|
||||
"name": "MtPyre_3F",
|
||||
"layout": "LAYOUT_MT_PYRE_3F",
|
||||
"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_PSYCHIC_M",
|
||||
"x": 1,
|
||||
"y": 4,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_RIGHT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "4",
|
||||
"script": "MtPyre_3F_EventScript_William",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_LASS",
|
||||
"x": 11,
|
||||
"y": 4,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_LEFT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "4",
|
||||
"script": "MtPyre_3F_EventScript_Kayla",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 0,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MtPyre_3F_EventScript_ItemSuperRepel",
|
||||
"flag": "FLAG_ITEM_MT_PYRE_3F_SUPER_REPEL"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_WOMAN_2",
|
||||
"x": 6,
|
||||
"y": 4,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT_AND_RIGHT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "4",
|
||||
"script": "MtPyre_3F_EventScript_Gabrielle",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 10,
|
||||
"y": 1,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_MT_PYRE_2F",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 2,
|
||||
"y": 1,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_MT_PYRE_4F",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 9,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_MT_PYRE_4F",
|
||||
"dest_warp_id": 4
|
||||
},
|
||||
{
|
||||
"x": 1,
|
||||
"y": 12,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_MT_PYRE_4F",
|
||||
"dest_warp_id": 5
|
||||
},
|
||||
{
|
||||
"x": 10,
|
||||
"y": 12,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_MT_PYRE_2F",
|
||||
"dest_warp_id": 2
|
||||
},
|
||||
{
|
||||
"x": 6,
|
||||
"y": 12,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_MT_PYRE_2F",
|
||||
"dest_warp_id": 3
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
99
data/maps/MtPyre_3F/scripts.inc
Normal file
99
data/maps/MtPyre_3F/scripts.inc
Normal file
@ -0,0 +1,99 @@
|
||||
MtPyre_3F_MapScripts::
|
||||
.byte 0
|
||||
|
||||
MtPyre_3F_EventScript_William::
|
||||
trainerbattle_single TRAINER_WILLIAM, MtPyre_3F_Text_WilliamIntro, MtPyre_3F_Text_WilliamDefeat
|
||||
msgbox MtPyre_3F_Text_WilliamPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
MtPyre_3F_EventScript_Kayla::
|
||||
trainerbattle_single TRAINER_KAYLA, MtPyre_3F_Text_KaylaIntro MtPyre_3F_Text_KaylaDefeat
|
||||
msgbox MtPyre_3F_Text_KaylaPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
MtPyre_3F_EventScript_Gabrielle::
|
||||
trainerbattle_single TRAINER_GABRIELLE_1, MtPyre_3F_Text_GabrielleIntro, MtPyre_3F_Text_GabrielleDefeat, MtPyre_3F_EventScript_RegisterGabrielle
|
||||
specialvar VAR_RESULT, ShouldTryRematchBattle
|
||||
goto_if_eq VAR_RESULT, TRUE, MtPyre_3F_EventScript_RematchGabrielle
|
||||
msgbox MtPyre_3F_Text_GabriellePostBattle, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
MtPyre_3F_EventScript_RegisterGabrielle::
|
||||
special PlayerFaceTrainerAfterBattle
|
||||
waitmovement 0
|
||||
msgbox MtPyre_3F_Text_GabrielleRegister, MSGBOX_DEFAULT
|
||||
register_matchcall TRAINER_GABRIELLE_1
|
||||
release
|
||||
end
|
||||
|
||||
MtPyre_3F_EventScript_RematchGabrielle::
|
||||
trainerbattle_rematch TRAINER_GABRIELLE_1, MtPyre_3F_Text_GabrielleRematchIntro, MtPyre_3F_Text_GabrielleRematchDefeat
|
||||
msgbox MtPyre_3F_Text_GabriellePostRematch, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
MtPyre_3F_Text_WilliamIntro:
|
||||
.string "The rich atmosphere of the mountain\n"
|
||||
.string "has elevated my psychic power!\p"
|
||||
.string "A mere child like you…\n"
|
||||
.string "You dream of winning?$"
|
||||
|
||||
MtPyre_3F_Text_WilliamDefeat:
|
||||
.string "I drown in self-pity…$"
|
||||
|
||||
MtPyre_3F_Text_WilliamPostBattle:
|
||||
.string "My psychic powers have surely\n"
|
||||
.string "grown several times, but…$"
|
||||
|
||||
MtPyre_3F_Text_KaylaIntro:
|
||||
.string "Ahahahaha!\p"
|
||||
.string "This is no place for children, least\n"
|
||||
.string "of all you!$"
|
||||
|
||||
MtPyre_3F_Text_KaylaDefeat:
|
||||
.string "I lost that cleanly…$"
|
||||
|
||||
MtPyre_3F_Text_KaylaPostBattle:
|
||||
.string "This means my training is still not\n"
|
||||
.string "enough…\p"
|
||||
.string "I've got to keep working toward the\n"
|
||||
.string "summit…\p"
|
||||
.string "Go, me!$"
|
||||
|
||||
MtPyre_3F_Text_GabrielleIntro:
|
||||
.string "Why have you come here?$"
|
||||
|
||||
MtPyre_3F_Text_GabrielleDefeat:
|
||||
.string "That was amazing!\n"
|
||||
.string "You're a very special TRAINER.$"
|
||||
|
||||
MtPyre_3F_Text_GabriellePostBattle:
|
||||
.string "POKéMON no longer of this world.\n"
|
||||
.string "POKéMON that are with you now.\p"
|
||||
.string "And the POKéMON that you will meet\n"
|
||||
.string "in the future…\p"
|
||||
.string "They are all to be equally cherished.\n"
|
||||
.string "Please remember that.$"
|
||||
|
||||
MtPyre_3F_Text_GabrielleRegister:
|
||||
.string "I would like to see your POKéMON\n"
|
||||
.string "when they grow up some more…\p"
|
||||
.string "Please, I need to see your POKéNAV.$"
|
||||
|
||||
MtPyre_3F_Text_GabrielleRematchIntro:
|
||||
.string "Oh, it's you…\p"
|
||||
.string "Have you come to show me your grown\n"
|
||||
.string "POKéMON?$"
|
||||
|
||||
MtPyre_3F_Text_GabrielleRematchDefeat:
|
||||
.string "How amazing!\n"
|
||||
.string "You are a special person.$"
|
||||
|
||||
MtPyre_3F_Text_GabriellePostRematch:
|
||||
.string "POKéMON no longer of this world.\n"
|
||||
.string "POKéMON that are with you now.\p"
|
||||
.string "And the POKéMON that you will meet\n"
|
||||
.string "in the future…\p"
|
||||
.string "They are all to be equally cherished.\n"
|
||||
.string "I see that you've remembered that.$"
|
||||
|
Reference in New Issue
Block a user