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,49 @@
{
"id": "MAP_LILYCOVE_CITY_HOUSE2",
"name": "LilycoveCity_House2",
"layout": "LAYOUT_LILYCOVE_CITY_HOUSE2",
"music": "MUS_LILYCOVE",
"region_map_section": "MAPSEC_LILYCOVE_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_FAT_MAN",
"x": 0,
"y": 4,
"elevation": 3,
"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": "LilycoveCity_House2_EventScript_FatMan",
"flag": "0"
}
],
"warp_events": [
{
"x": 2,
"y": 7,
"elevation": 0,
"dest_map": "MAP_LILYCOVE_CITY",
"dest_warp_id": 9
},
{
"x": 3,
"y": 7,
"elevation": 0,
"dest_map": "MAP_LILYCOVE_CITY",
"dest_warp_id": 9
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -0,0 +1,29 @@
LilycoveCity_House2_MapScripts::
.byte 0
LilycoveCity_House2_EventScript_FatMan::
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM44, LilycoveCity_House2_EventScript_ReceivedRest
msgbox LilycoveCity_House2_Text_NotAwakeYetHaveThis, MSGBOX_DEFAULT
giveitem ITEM_TM44
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_TM44
msgbox LilycoveCity_House2_Text_SleepIsEssential, MSGBOX_DEFAULT
release
end
LilycoveCity_House2_EventScript_ReceivedRest::
msgbox LilycoveCity_House2_Text_SleepIsEssential, MSGBOX_DEFAULT
release
end
LilycoveCity_House2_Text_NotAwakeYetHaveThis:
.string "Huh? What? What's that?\p"
.string "I'm not near awake yet…\n"
.string "You can have this…$"
LilycoveCity_House2_Text_SleepIsEssential:
.string "Yawn…\p"
.string "Sleep is essential for good health…\n"
.string "Sleep and regain health…$"