import from github
This commit is contained in:
161
data/maps/MtPyre_2F/map.json
Normal file
161
data/maps/MtPyre_2F/map.json
Normal file
@ -0,0 +1,161 @@
|
||||
{
|
||||
"id": "MAP_MT_PYRE_2F",
|
||||
"name": "MtPyre_2F",
|
||||
"layout": "LAYOUT_MT_PYRE_2F",
|
||||
"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_MANIAC",
|
||||
"x": 3,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "2",
|
||||
"script": "MtPyre_2F_EventScript_Mark",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 0,
|
||||
"y": 10,
|
||||
"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_2F_EventScript_ItemUltraBall",
|
||||
"flag": "FLAG_ITEM_MT_PYRE_2F_ULTRA_BALL"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_WOMAN_1",
|
||||
"x": 9,
|
||||
"y": 3,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "MtPyre_2F_EventScript_Woman",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_POKEFAN_M",
|
||||
"x": 12,
|
||||
"y": 10,
|
||||
"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_2F_EventScript_PokefanM",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_WOMAN_4",
|
||||
"x": 2,
|
||||
"y": 9,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "1",
|
||||
"script": "MtPyre_2F_EventScript_Dez",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAN_4",
|
||||
"x": 3,
|
||||
"y": 9,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "1",
|
||||
"script": "MtPyre_2F_EventScript_Luke",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BLACK_BELT",
|
||||
"x": 6,
|
||||
"y": 9,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "2",
|
||||
"script": "MtPyre_2F_EventScript_Zander",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_HEX_MANIAC",
|
||||
"x": 6,
|
||||
"y": 6,
|
||||
"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": "2",
|
||||
"script": "MtPyre_2F_EventScript_Leah",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 2,
|
||||
"y": 1,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_MT_PYRE_1F",
|
||||
"dest_warp_id": 4
|
||||
},
|
||||
{
|
||||
"x": 10,
|
||||
"y": 1,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_MT_PYRE_3F",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 10,
|
||||
"y": 12,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_MT_PYRE_3F",
|
||||
"dest_warp_id": 4
|
||||
},
|
||||
{
|
||||
"x": 6,
|
||||
"y": 12,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_MT_PYRE_3F",
|
||||
"dest_warp_id": 5
|
||||
},
|
||||
{
|
||||
"x": 11,
|
||||
"y": 9,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_MT_PYRE_1F",
|
||||
"dest_warp_id": 5
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": []
|
||||
}
|
135
data/maps/MtPyre_2F/scripts.inc
Normal file
135
data/maps/MtPyre_2F/scripts.inc
Normal file
@ -0,0 +1,135 @@
|
||||
MtPyre_2F_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, CaveHole_CheckFallDownHole
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, CaveHole_FixCrackedGround
|
||||
map_script MAP_SCRIPT_ON_RESUME, MtPyre_2F_SetHoleWarp
|
||||
.byte 0
|
||||
|
||||
MtPyre_2F_SetHoleWarp:
|
||||
setstepcallback STEP_CB_CRACKED_FLOOR
|
||||
setholewarp MAP_MT_PYRE_1F
|
||||
end
|
||||
|
||||
MtPyre_2F_EventScript_Woman::
|
||||
msgbox MtPyre_2F_Text_MemoriesOfSkitty, MSGBOX_NPC
|
||||
end
|
||||
|
||||
MtPyre_2F_EventScript_PokefanM::
|
||||
msgbox MtPyre_2F_Text_TumbledFromFloorAbove, MSGBOX_NPC
|
||||
end
|
||||
|
||||
MtPyre_2F_EventScript_Mark::
|
||||
trainerbattle_single TRAINER_MARK, MtPyre_2F_Text_MarkIntro, MtPyre_2F_Text_MarkDefeat
|
||||
msgbox MtPyre_2F_Text_MarkPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
MtPyre_2F_EventScript_Luke::
|
||||
trainerbattle_double TRAINER_DEZ_AND_LUKE, MtPyre_2F_Text_LukeIntro, MtPyre_2F_Text_LukeDefeat, MtPyre_2F_Text_LukeNotEnoughMons
|
||||
msgbox MtPyre_2F_Text_LukePostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
MtPyre_2F_EventScript_Dez::
|
||||
trainerbattle_double TRAINER_DEZ_AND_LUKE, MtPyre_2F_Text_DezIntro, MtPyre_2F_Text_DezDefeat, MtPyre_2F_Text_DezNotEnoughMons
|
||||
msgbox MtPyre_2F_Text_DezPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
MtPyre_2F_EventScript_Leah::
|
||||
trainerbattle_single TRAINER_LEAH, MtPyre_2F_Text_LeahIntro, MtPyre_2F_Text_LeahDefeat
|
||||
msgbox MtPyre_2F_Text_LeahPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
MtPyre_2F_EventScript_Zander::
|
||||
trainerbattle_single TRAINER_ZANDER, MtPyre_2F_Text_ZanderIntro, MtPyre_2F_Text_ZanderDefeat
|
||||
msgbox MtPyre_2F_Text_ZanderPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
MtPyre_2F_Text_MemoriesOfSkitty:
|
||||
.string "Memories of my darling SKITTY…\n"
|
||||
.string "My eyes overflow thinking about it.$"
|
||||
|
||||
MtPyre_2F_Text_TumbledFromFloorAbove:
|
||||
.string "Ooch, ouch… There are holes in the\n"
|
||||
.string "ground here and there.\p"
|
||||
.string "I didn't notice and took a tumble from\n"
|
||||
.string "the floor above.$"
|
||||
|
||||
MtPyre_2F_Text_MarkIntro:
|
||||
.string "Hey! Are you searching for POKéMON?\n"
|
||||
.string "You came along after me! You're rude!$"
|
||||
|
||||
MtPyre_2F_Text_MarkDefeat:
|
||||
.string "Ayieeeeh!\n"
|
||||
.string "I'm sorry, forgive me, please!$"
|
||||
|
||||
MtPyre_2F_Text_MarkPostBattle:
|
||||
.string "People don't come here often, so\n"
|
||||
.string "I thought there'd be rare POKéMON.$"
|
||||
|
||||
MtPyre_2F_Text_LukeIntro:
|
||||
.string "LUKE: We're here on a dare.\p"
|
||||
.string "Heheh, if I show her how cool I am,\n"
|
||||
.string "she'll fall for me. I know it!\p"
|
||||
.string "I know! I'll cream you and show her\n"
|
||||
.string "how cool I am!$"
|
||||
|
||||
MtPyre_2F_Text_LukeDefeat:
|
||||
.string "LUKE: Whoopsie!$"
|
||||
|
||||
MtPyre_2F_Text_LukePostBattle:
|
||||
.string "LUKE: Well, we lost but that's okay!\n"
|
||||
.string "I'm right here by your side.\l"
|
||||
.string "We'll make it through this dare!$"
|
||||
|
||||
MtPyre_2F_Text_LukeNotEnoughMons:
|
||||
.string "LUKE: If you want to take me on,\n"
|
||||
.string "bring some more POKéMON.\p"
|
||||
.string "If you don't, I won't be able to show\n"
|
||||
.string "off to my girl how cool I am!$"
|
||||
|
||||
MtPyre_2F_Text_DezIntro:
|
||||
.string "DEZ: I came here on a dare with my\n"
|
||||
.string "boyfriend.\p"
|
||||
.string "It's really scary, but I'm with my\n"
|
||||
.string "boyfriend. It's okay.\p"
|
||||
.string "I know! I'll get my boyfriend to look\n"
|
||||
.string "cool by beating you!$"
|
||||
|
||||
MtPyre_2F_Text_DezDefeat:
|
||||
.string "DEZ: Waaaah! I'm scared!$"
|
||||
|
||||
MtPyre_2F_Text_DezPostBattle:
|
||||
.string "DEZ: We're lovey-dovey, so we don't\n"
|
||||
.string "care if we lose!$"
|
||||
|
||||
MtPyre_2F_Text_DezNotEnoughMons:
|
||||
.string "DEZ: If you want to challenge us, you\n"
|
||||
.string "should bring at least two POKéMON.\p"
|
||||
.string "My boyfriend's strong.\n"
|
||||
.string "Just one POKéMON won't do at all.$"
|
||||
|
||||
MtPyre_2F_Text_LeahIntro:
|
||||
.string "You are an unfamiliar sight…\n"
|
||||
.string "Depart before anything befalls you!$"
|
||||
|
||||
MtPyre_2F_Text_LeahDefeat:
|
||||
.string "Hmm…\n"
|
||||
.string "You're durable.$"
|
||||
|
||||
MtPyre_2F_Text_LeahPostBattle:
|
||||
.string "Our family has been TRAINERS here\n"
|
||||
.string "since my great-grandmother's time…\p"
|
||||
.string "It is my duty to protect this\n"
|
||||
.string "mountain…$"
|
||||
|
||||
MtPyre_2F_Text_ZanderIntro:
|
||||
.string "Kiyaaaaah!\n"
|
||||
.string "I'm terrified!$"
|
||||
|
||||
MtPyre_2F_Text_ZanderDefeat:
|
||||
.string "Nooooooo!\n"
|
||||
.string "I lost my wits!$"
|
||||
|
||||
MtPyre_2F_Text_ZanderPostBattle:
|
||||
.string "I get freaked out every time I see\n"
|
||||
.string "anything move…\p"
|
||||
.string "I shouldn't have come here to train…$"
|
||||
|
Reference in New Issue
Block a user