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,98 @@
{
"id": "MAP_METEOR_FALLS_1F_2R",
"name": "MeteorFalls_1F_2R",
"layout": "LAYOUT_METEOR_FALLS_1F_2R",
"music": "MUS_CAVE_OF_ORIGIN",
"region_map_section": "MAPSEC_METEOR_FALLS",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_UNDERGROUND",
"allow_cycling": true,
"allow_escaping": true,
"allow_running": true,
"show_map_name": true,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"graphics_id": "OBJ_EVENT_GFX_MAN_3",
"x": 13,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "MeteorFalls_1F_2R_EventScript_Nicolas",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_EXPERT_M",
"x": 6,
"y": 12,
"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": "MeteorFalls_1F_2R_EventScript_John",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_EXPERT_F",
"x": 7,
"y": 12,
"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": "MeteorFalls_1F_2R_EventScript_Jay",
"flag": "0"
}
],
"warp_events": [
{
"x": 10,
"y": 29,
"elevation": 3,
"dest_map": "MAP_METEOR_FALLS_1F_1R",
"dest_warp_id": 2
},
{
"x": 4,
"y": 14,
"elevation": 3,
"dest_map": "MAP_METEOR_FALLS_B1F_1R",
"dest_warp_id": 0
},
{
"x": 7,
"y": 20,
"elevation": 3,
"dest_map": "MAP_METEOR_FALLS_B1F_1R",
"dest_warp_id": 1
},
{
"x": 21,
"y": 23,
"elevation": 3,
"dest_map": "MAP_METEOR_FALLS_B1F_1R",
"dest_warp_id": 2
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 9,
"y": 58,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "0x0"
}
]
}

View File

@ -0,0 +1,183 @@
MeteorFalls_1F_2R_MapScripts::
.byte 0
MeteorFalls_1F_2R_EventScript_Nicolas::
trainerbattle_single TRAINER_NICOLAS_1, MeteorFalls_1F_2R_Text_NicolasIntro, MeteorFalls_1F_2R_Text_NicolasDefeat, MeteorFalls_1F_2R_EventScript_RegisterNicolas
specialvar VAR_RESULT, ShouldTryRematchBattle
goto_if_eq VAR_RESULT, TRUE, MeteorFalls_1F_2R_EventScript_RematchNicolas
msgbox MeteorFalls_1F_2R_Text_NicolasPostBattle, MSGBOX_DEFAULT
release
end
MeteorFalls_1F_2R_EventScript_RegisterNicolas::
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox MeteorFalls_1F_2R_Text_NicolasRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_NICOLAS_1
release
end
MeteorFalls_1F_2R_EventScript_RematchNicolas::
trainerbattle_rematch TRAINER_NICOLAS_1, MeteorFalls_1F_2R_Text_NicolasRematchIntro, MeteorFalls_1F_2R_Text_NicolasRematchDefeat
msgbox MeteorFalls_1F_2R_Text_NicolasPostRematch, MSGBOX_AUTOCLOSE
end
MeteorFalls_1F_2R_EventScript_John::
trainerbattle_double TRAINER_JOHN_AND_JAY_1, MeteorFalls_1F_2R_Text_JohnIntro, MeteorFalls_1F_2R_Text_JohnDefeat, MeteorFalls_1F_2R_Text_JohnNotEnoughMons, MeteorFalls_1F_2R_EventScript_RegisterJohn
specialvar VAR_RESULT, ShouldTryRematchBattle
goto_if_eq VAR_RESULT, TRUE, MeteorFalls_1F_2R_EventScript_RematchJohn
msgbox MeteorFalls_1F_2R_Text_JohnPostBattle, MSGBOX_DEFAULT
release
end
MeteorFalls_1F_2R_EventScript_RegisterJohn::
msgbox MeteorFalls_1F_2R_Text_JohnRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_JOHN_AND_JAY_1
release
end
MeteorFalls_1F_2R_EventScript_RematchJohn::
trainerbattle_rematch_double TRAINER_JOHN_AND_JAY_1, MeteorFalls_1F_2R_Text_JohnRematchIntro, MeteorFalls_1F_2R_Text_JohnRematchDefeat, MeteorFalls_1F_2R_Text_JohnRematchNotEnoughMons
msgbox MeteorFalls_1F_2R_Text_JohnPostRematch, MSGBOX_AUTOCLOSE
end
MeteorFalls_1F_2R_EventScript_Jay::
trainerbattle_double TRAINER_JOHN_AND_JAY_1, MeteorFalls_1F_2R_Text_JayIntro, MeteorFalls_1F_2R_Text_JayDefeat, MeteorFalls_1F_2R_Text_JayNotEnoughMons, MeteorFalls_1F_2R_EventScript_RegisterJay
specialvar VAR_RESULT, ShouldTryRematchBattle
goto_if_eq VAR_RESULT, TRUE, MeteorFalls_1F_2R_EventScript_RematchJay
msgbox MeteorFalls_1F_2R_Text_JayPostBattle, MSGBOX_DEFAULT
release
end
MeteorFalls_1F_2R_EventScript_RegisterJay::
msgbox MeteorFalls_1F_2R_Text_JohnRegister, MSGBOX_DEFAULT @ John speaks for both during register
register_matchcall TRAINER_JOHN_AND_JAY_1
release
end
MeteorFalls_1F_2R_EventScript_RematchJay::
trainerbattle_rematch_double TRAINER_JOHN_AND_JAY_1, MeteorFalls_1F_2R_Text_JayRematchIntro, MeteorFalls_1F_2R_Text_JayRematchDefeat, MeteorFalls_1F_2R_Text_JayRematchNotEnoughMons
msgbox MeteorFalls_1F_2R_Text_JayPostRematch, MSGBOX_AUTOCLOSE
end
MeteorFalls_1F_2R_Text_NicolasIntro:
.string "This is where we DRAGON users do our\n"
.string "training.\p"
.string "The CHAMPION even visits.\n"
.string "Now do you see how special it is here?$"
MeteorFalls_1F_2R_Text_NicolasDefeat:
.string "Urgh!\n"
.string "I didn't expect you to be so strong!$"
MeteorFalls_1F_2R_Text_NicolasPostBattle:
.string "The road ahead remains long and harsh.\p"
.string "When will my POKéMON and I become\n"
.string "the best?$"
MeteorFalls_1F_2R_Text_NicolasRegister:
.string "I want to know more about your power.\n"
.string "Let me register you in my POKéNAV.$"
MeteorFalls_1F_2R_Text_NicolasRematchIntro:
.string "Since we met, we have trained hard\n"
.string "with our sights on number one.\p"
.string "Help us see how much stronger we've\n"
.string "become!$"
MeteorFalls_1F_2R_Text_NicolasRematchDefeat:
.string "Urgh!\n"
.string "I didn't expect you to be so strong!$"
MeteorFalls_1F_2R_Text_NicolasPostRematch:
.string "You've obviously kept up your\n"
.string "POKéMON training.\p"
.string "So long as you remain strong, I, too,\n"
.string "can become stronger!$"
MeteorFalls_1F_2R_Text_JohnIntro:
.string "JOHN: We've always battled POKéMON\n"
.string "together as a twosome.\l"
.string "We've confidence in ourselves.$"
MeteorFalls_1F_2R_Text_JohnDefeat:
.string "JOHN: Oh, my.\n"
.string "We've lost, dear wife.$"
MeteorFalls_1F_2R_Text_JohnPostBattle:
.string "JOHN: We've been married for\n"
.string "fifty years.\p"
.string "Come to think of it, I've yet to beat\n"
.string "my dear wife in a battle.$"
MeteorFalls_1F_2R_Text_JohnNotEnoughMons:
.string "JOHN: Well, well, what a young TRAINER!\p"
.string "Will you battle with us? If so, you'll\n"
.string "have to return with more POKéMON.$"
MeteorFalls_1F_2R_Text_JohnRegister:
.string "JOHN: Young TRAINER, if the chance\n"
.string "arises, will you battle with us again?$"
MeteorFalls_1F_2R_Text_JayIntro:
.string "JAY: We've been married for\n"
.string "fifty years.\p"
.string "The bond we share as a couple could\n"
.string "never be broken.$"
MeteorFalls_1F_2R_Text_JayDefeat:
.string "JAY: Oh, dear.\n"
.string "We've lost, my dear husband.$"
MeteorFalls_1F_2R_Text_JayPostBattle:
.string "JAY: Fifty years of marriage…\p"
.string "If we ever argued, we always settled\n"
.string "it with a POKéMON battle…$"
MeteorFalls_1F_2R_Text_JayNotEnoughMons:
.string "JAY: Well, well, aren't you a young\n"
.string "TRAINER?\p"
.string "If you'd care to battle with us, you'll\n"
.string "have to come back with more POKéMON.$"
MeteorFalls_1F_2R_Text_JohnRematchIntro:
.string "JOHN: We've always battled POKéMON\n"
.string "together as a twosome.\l"
.string "We've confidence in ourselves.$"
MeteorFalls_1F_2R_Text_JohnRematchDefeat:
.string "JOHN: Oh, my.\n"
.string "We've lost, dear wife.$"
MeteorFalls_1F_2R_Text_JohnPostRematch:
.string "JOHN: Married for fifty years…\p"
.string "On reflection, the dear wife and I,\n"
.string "we battled day in and day out…$"
MeteorFalls_1F_2R_Text_JohnRematchNotEnoughMons:
.string "JOHN: Well, well, what a young TRAINER!\p"
.string "Will you battle with us? If so, you'll\n"
.string "have to return with more POKéMON.$"
MeteorFalls_1F_2R_Text_JayRematchIntro:
.string "JAY: We've been married for\n"
.string "fifty years.\p"
.string "We've supported each other all that\n"
.string "time. We've made ourselves strong.$"
MeteorFalls_1F_2R_Text_JayRematchDefeat:
.string "JAY: Oh, dear.\n"
.string "We've lost, my dear husband.$"
MeteorFalls_1F_2R_Text_JayPostRematch:
.string "JAY: Fifty years of marriage…\n"
.string "Many things have happened.\p"
.string "I hope that we will continue to make\n"
.string "happy memories together.$"
MeteorFalls_1F_2R_Text_JayRematchNotEnoughMons:
.string "JAY: Well, well, aren't you a young\n"
.string "TRAINER?\p"
.string "If you'd care to battle with us, you'll\n"
.string "have to come back with more POKéMON.$"