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_SOOTOPOLIS_CITY_HOUSE6",
"name": "SootopolisCity_House6",
"layout": "LAYOUT_SOOTOPOLIS_CITY_HOUSE3",
"music": "MUS_SOOTOPOLIS",
"region_map_section": "MAPSEC_SOOTOPOLIS_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": 4,
"y": 3,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "SootopolisCity_House6_EventScript_Woman",
"flag": "0"
}
],
"warp_events": [
{
"x": 3,
"y": 6,
"elevation": 0,
"dest_map": "MAP_SOOTOPOLIS_CITY",
"dest_warp_id": 9
},
{
"x": 4,
"y": 6,
"elevation": 0,
"dest_map": "MAP_SOOTOPOLIS_CITY",
"dest_warp_id": 9
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -0,0 +1,53 @@
SootopolisCity_House6_MapScripts::
.byte 0
SootopolisCity_House6_EventScript_Woman::
lock
faceplayer
goto_if_set FLAG_RECEIVED_WAILMER_DOLL, SootopolisCity_House6_EventScript_ReceivedWailmerDoll
msgbox SootopolisCity_House6_Text_FirstGuestInWhileTakeDoll, MSGBOX_YESNO
call_if_eq VAR_RESULT, NO, SootopolisCity_House6_EventScript_DeclineWailmerDoll
msgbox SootopolisCity_House6_Text_TakeGoodCareOfIt, MSGBOX_DEFAULT
givedecoration DECOR_WAILMER_DOLL
goto_if_eq VAR_RESULT, FALSE, SootopolisCity_House6_EventScript_NoRoomForWailmerDoll
setflag FLAG_RECEIVED_WAILMER_DOLL
release
end
SootopolisCity_House6_EventScript_DeclineWailmerDoll::
msgbox SootopolisCity_House6_Text_DontWantThisDoll, MSGBOX_DEFAULT
release
end
SootopolisCity_House6_EventScript_ReceivedWailmerDoll::
msgbox SootopolisCity_House6_Text_LovePlushDolls, MSGBOX_DEFAULT
release
end
SootopolisCity_House6_EventScript_NoRoomForWailmerDoll::
bufferdecorationname STR_VAR_2, DECOR_WAILMER_DOLL
msgbox gText_NoRoomLeftForAnother, MSGBOX_DEFAULT
msgbox SootopolisCity_House6_Text_IllHoldItForYou, MSGBOX_DEFAULT
release
end
SootopolisCity_House6_Text_FirstGuestInWhileTakeDoll:
.string "Hello! You're our first guest in\n"
.string "a good while.\p"
.string "You've brightened up my day, so I'll\n"
.string "give you a big WAILMER DOLL.$"
SootopolisCity_House6_Text_TakeGoodCareOfIt:
.string "Take good care of it!$"
SootopolisCity_House6_Text_IllHoldItForYou:
.string "Oh, you want it, but not right now?\n"
.string "Okay, then I'll hold it for you.$"
SootopolisCity_House6_Text_DontWantThisDoll:
.string "Are you sure?\n"
.string "You don't want this DOLL?$"
SootopolisCity_House6_Text_LovePlushDolls:
.string "I love plush DOLLS!$"