import from github
This commit is contained in:
75
data/maps/MtPyre_6F/map.json
Normal file
75
data/maps/MtPyre_6F/map.json
Normal file
@ -0,0 +1,75 @@
|
||||
{
|
||||
"id": "MAP_MT_PYRE_6F",
|
||||
"name": "MtPyre_6F",
|
||||
"layout": "LAYOUT_MT_PYRE_6F",
|
||||
"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_HEX_MANIAC",
|
||||
"x": 6,
|
||||
"y": 3,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_ROTATE_COUNTERCLOCKWISE",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "3",
|
||||
"script": "MtPyre_6F_EventScript_Valerie",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 6,
|
||||
"y": 9,
|
||||
"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_6F_EventScript_ItemTM30",
|
||||
"flag": "FLAG_ITEM_MT_PYRE_6F_TM_30"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_PSYCHIC_M",
|
||||
"x": 10,
|
||||
"y": 3,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_ROTATE_CLOCKWISE",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "3",
|
||||
"script": "MtPyre_6F_EventScript_Cedric",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 2,
|
||||
"y": 1,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_MT_PYRE_5F",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 1,
|
||||
"y": 10,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_MT_PYRE_5F",
|
||||
"dest_warp_id": 2
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
69
data/maps/MtPyre_6F/scripts.inc
Normal file
69
data/maps/MtPyre_6F/scripts.inc
Normal file
@ -0,0 +1,69 @@
|
||||
MtPyre_6F_MapScripts::
|
||||
.byte 0
|
||||
|
||||
MtPyre_6F_EventScript_Valerie::
|
||||
trainerbattle_single TRAINER_VALERIE_1, MtPyre_6F_Text_ValerieIntro, MtPyre_6F_Text_ValerieDefeat, MtPyre_6F_EventScript_RegisterValerie
|
||||
specialvar VAR_RESULT, ShouldTryRematchBattle
|
||||
goto_if_eq VAR_RESULT, TRUE, MtPyre_6F_EventScript_RematchValerie
|
||||
msgbox MtPyre_6F_Text_ValeriePostBattle, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
MtPyre_6F_EventScript_RegisterValerie::
|
||||
special PlayerFaceTrainerAfterBattle
|
||||
waitmovement 0
|
||||
msgbox MtPyre_6F_Text_ValerieRegister, MSGBOX_DEFAULT
|
||||
register_matchcall TRAINER_VALERIE_1
|
||||
release
|
||||
end
|
||||
|
||||
MtPyre_6F_EventScript_RematchValerie::
|
||||
trainerbattle_rematch TRAINER_VALERIE_1, MtPyre_6F_Text_ValerieRematchIntro, MtPyre_6F_Text_ValerieRematchDefeat
|
||||
msgbox MtPyre_6F_Text_ValeriePostRematch, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
MtPyre_6F_EventScript_Cedric::
|
||||
trainerbattle_single TRAINER_CEDRIC, MtPyre_6F_Text_CedricIntro, MtPyre_6F_Text_CedricDefeat
|
||||
msgbox MtPyre_6F_Text_CedricPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
MtPyre_6F_Text_ValerieIntro:
|
||||
.string "When I'm here…\n"
|
||||
.string "A curious power flows into me…$"
|
||||
|
||||
MtPyre_6F_Text_ValerieDefeat:
|
||||
.string "The power is ebbing away…$"
|
||||
|
||||
MtPyre_6F_Text_ValeriePostBattle:
|
||||
.string "Perhaps the power is from the spirits\n"
|
||||
.string "of POKéMON in fitful sleep here…$"
|
||||
|
||||
MtPyre_6F_Text_ValerieRegister:
|
||||
.string "Fufufu… I lost the match, but…\n"
|
||||
.string "I have this little ability…\p"
|
||||
.string "Without ever laying my hands on\n"
|
||||
.string "your POKéNAV… Hiyah!$"
|
||||
|
||||
MtPyre_6F_Text_ValerieRematchIntro:
|
||||
.string "Behind you…\n"
|
||||
.string "What is it…$"
|
||||
|
||||
MtPyre_6F_Text_ValerieRematchDefeat:
|
||||
.string "Something faded away…$"
|
||||
|
||||
MtPyre_6F_Text_ValeriePostRematch:
|
||||
.string "The POKéMON at rest here…\n"
|
||||
.string "Sometimes, they play…$"
|
||||
|
||||
MtPyre_6F_Text_CedricIntro:
|
||||
.string "Have you lost your bearings?\n"
|
||||
.string "Have no fear for I am here!$"
|
||||
|
||||
MtPyre_6F_Text_CedricDefeat:
|
||||
.string "Weren't you lost?$"
|
||||
|
||||
MtPyre_6F_Text_CedricPostBattle:
|
||||
.string "I had this feeling that a lost TRAINER\n"
|
||||
.string "would be panicked and easy to beat.\p"
|
||||
.string "It's dirty and I won't try it again…$"
|
||||
|
Reference in New Issue
Block a user