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,94 @@
{
"id": "MAP_MOSSDEEP_CITY_GAME_CORNER_1F",
"name": "MossdeepCity_GameCorner_1F",
"layout": "LAYOUT_MOSSDEEP_CITY_GAME_CORNER_1F",
"music": "MUS_RUSTBORO",
"region_map_section": "MAPSEC_MOSSDEEP_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"graphics_id": "OBJ_EVENT_GFX_EXPERT_M",
"x": 6,
"y": 2,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_GameCorner_1F_EventScript_OldMan",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_MAN_4",
"x": 4,
"y": 2,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_GameCorner_1F_EventScript_InfoMan",
"flag": "0"
}
],
"warp_events": [
{
"x": 5,
"y": 9,
"elevation": 0,
"dest_map": "MAP_MOSSDEEP_CITY",
"dest_warp_id": 9
},
{
"x": 6,
"y": 9,
"elevation": 0,
"dest_map": "MAP_MOSSDEEP_CITY",
"dest_warp_id": 9
},
{
"x": 2,
"y": 0,
"elevation": 0,
"dest_map": "MAP_MOSSDEEP_CITY_GAME_CORNER_B1F",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 3,
"y": 0,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "RS_MysteryEventsHouse_EventScript_Door"
},
{
"type": "sign",
"x": 0,
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "MossdeepCity_GameCorner_1F_EventScript_DodrioBerryPickingRecords"
},
{
"type": "sign",
"x": 1,
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "MossdeepCity_GameCorner_1F_EventScript_PokemonJumpRecords"
}
]
}

View File

@ -0,0 +1,87 @@
MossdeepCity_GameCorner_1F_MapScripts::
map_script MAP_SCRIPT_ON_FRAME_TABLE, MossdeepCity_GameCorner_1F_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, MossdeepCity_GameCorner_1F_OnWarp
map_script MAP_SCRIPT_ON_LOAD, CableClub_OnLoad
.byte 0
MossdeepCity_GameCorner_1F_OnWarp:
map_script_2 VAR_CABLE_CLUB_STATE, USING_MINIGAME, CableClub_EventScript_CheckTurnAttendant
.2byte 0
MossdeepCity_GameCorner_1F_OnFrame:
map_script_2 VAR_CABLE_CLUB_STATE, USING_MINIGAME, CableClub_EventScript_ExitMinigameRoom
.2byte 0
@ Script is redundant, the label in the goto also does lock and faceplayer
MossdeepCity_GameCorner_1F_EventScript_InfoMan::
lock
faceplayer
goto MossdeepCity_GameCorner_1F_EventScript_InfoMan2
release
end
@ Script is redundant, the label in the goto also does lock and faceplayer
MossdeepCity_GameCorner_1F_EventScript_OldMan::
lock
faceplayer
goto MossdeepCity_GameCorner_1F_EventScript_OldMan2
release
end
@ Everything below is leftover from RS
@ The house that was here in RS was moved to Sootopolis and replaced by the Game Corner
@ The text below is unused and duplicated in its replacement in Sootopolis City
@ And the BG Door event was moved inaccessibly into a wall
RS_MysteryEventsHouse_EventScript_Door::
msgbox RS_MysteryEventsHouse_Text_DoorIsLocked, MSGBOX_SIGN
end
RS_MysteryEventsHouse_Text_OldManGreeting:
.string "When I was young, I traveled the world\n"
.string "as a POKéMON TRAINER.\p"
.string "Now that I've become an old buzzard,\n"
.string "my only amusement is watching young\l"
.string "TRAINERS battle.$"
RS_MysteryEventsHouse_Text_DoorIsLocked:
.string "The door appears to be locked.$"
RS_MysteryEventsHouse_Text_ChallengeVisitingTrainer:
.string "A TRAINER named {STR_VAR_1} is\n"
.string "visiting my home.\p"
.string "Would you like to challenge\n"
.string "{STR_VAR_1}?$"
RS_MysteryEventsHouse_Text_YouWontBattle:
.string "You won't battle? I'm disappointed\n"
.string "that I can't see you battle…$"
RS_MysteryEventsHouse_Text_KeepItToA3On3:
.string "Oh, good, good!\p"
.string "But my house isn't all that sturdy.\p"
.string "Could I ask you to keep it down to\n"
.string "a 3-on-3 match?$"
RS_MysteryEventsHouse_Text_SaveYourProgress:
.string "Before you two battle, you should\n"
.string "save your progress.$"
RS_MysteryEventsHouse_Text_HopeToSeeAGoodMatch:
.string "I hope to see a good match!$"
RS_MysteryEventsHouse_Text_BattleTie:
.string "So, it became a standoff.\p"
.string "It was a brilliant match in which\n"
.string "neither side conceded a step!$"
RS_MysteryEventsHouse_Text_BattleWon:
.string "That was superlative!\p"
.string "Why, it was like seeing myself in\n"
.string "my youth again!$"
RS_MysteryEventsHouse_Text_BattleLost:
.string "Ah, too bad for you!\p"
.string "But it was a good match.\n"
.string "I hope you can win next time.$"