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,75 @@
{
"id": "MAP_MOSSDEEP_CITY_HOUSE4",
"name": "MossdeepCity_House4",
"layout": "LAYOUT_HOUSE_WITH_BED",
"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_WOMAN_2",
"x": 3,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_House4_EventScript_Woman",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_NINJA_BOY",
"x": 6,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "MossdeepCity_House4_EventScript_NinjaBoy",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_SKITTY",
"x": 2,
"y": 4,
"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": "MossdeepCity_House4_EventScript_Skitty",
"flag": "0"
}
],
"warp_events": [
{
"x": 4,
"y": 7,
"elevation": 0,
"dest_map": "MAP_MOSSDEEP_CITY",
"dest_warp_id": 7
},
{
"x": 3,
"y": 7,
"elevation": 0,
"dest_map": "MAP_MOSSDEEP_CITY",
"dest_warp_id": 7
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -0,0 +1,61 @@
MossdeepCity_House4_MapScripts::
.byte 0
MossdeepCity_House4_EventScript_Woman::
lock
faceplayer
goto_if_set FLAG_SYS_GAME_CLEAR, MossdeepCity_House4_EventScript_CanBattleAtSecretBases
msgbox MossdeepCity_House4_Text_BrotherLikesToFindBases, MSGBOX_DEFAULT
release
end
MossdeepCity_House4_EventScript_CanBattleAtSecretBases::
msgbox MossdeepCity_House4_Text_BrotherLikesToVisitBasesAndBattle, MSGBOX_DEFAULT
release
end
MossdeepCity_House4_EventScript_NinjaBoy::
lock
faceplayer
special CheckPlayerHasSecretBase
goto_if_eq VAR_RESULT, FALSE, MossdeepCity_House4_EventScript_NoSecretBase
special GetSecretBaseNearbyMapName
msgbox MossdeepCity_House4_Text_YouMadeSecretBaseNearX, MSGBOX_DEFAULT
release
end
MossdeepCity_House4_EventScript_NoSecretBase::
msgbox MossdeepCity_House4_Text_MakeSecretBase, MSGBOX_DEFAULT
release
end
MossdeepCity_House4_EventScript_Skitty::
lock
faceplayer
waitse
playmoncry SPECIES_SKITTY, CRY_MODE_NORMAL
msgbox MossdeepCity_House4_Text_Skitty, MSGBOX_DEFAULT
waitmoncry
release
end
MossdeepCity_House4_Text_BrotherLikesToFindBases:
.string "My little brother says he likes to go\n"
.string "find people's SECRET BASES.$"
MossdeepCity_House4_Text_BrotherLikesToVisitBasesAndBattle:
.string "My little brother says he likes to\n"
.string "visit people's SECRET BASES and have\l"
.string "POKéMON battles.$"
MossdeepCity_House4_Text_YouMadeSecretBaseNearX:
.string "Was it you who made a SECRET BASE\n"
.string "near {STR_VAR_1}?$"
MossdeepCity_House4_Text_MakeSecretBase:
.string "You should make a SECRET BASE\n"
.string "somewhere. I'll go find it!$"
MossdeepCity_House4_Text_Skitty:
.string "SKITTY: Miyaan?$"