import from github
This commit is contained in:
66
data/maps/LilycoveCity_CoveLilyMotel_1F/map.json
Normal file
66
data/maps/LilycoveCity_CoveLilyMotel_1F/map.json
Normal file
@ -0,0 +1,66 @@
|
||||
{
|
||||
"id": "MAP_LILYCOVE_CITY_COVE_LILY_MOTEL_1F",
|
||||
"name": "LilycoveCity_CoveLilyMotel_1F",
|
||||
"layout": "LAYOUT_LILYCOVE_CITY_COVE_LILY_MOTEL_1F",
|
||||
"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_MAN_1",
|
||||
"x": 10,
|
||||
"y": 3,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_UP",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "LilycoveCity_CoveLilyMotel_1F_EventScript_MotelOwner",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 5,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_LILYCOVE_CITY",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 6,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_LILYCOVE_CITY",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 2,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_LILYCOVE_CITY_COVE_LILY_MOTEL_2F",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 10,
|
||||
"y": 2,
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_1",
|
||||
"var_value": "0",
|
||||
"script": "LilycoveCity_CoveLilyMotel_1F_EventScript_BlockingTV"
|
||||
}
|
||||
],
|
||||
"bg_events": []
|
||||
}
|
131
data/maps/LilycoveCity_CoveLilyMotel_1F/scripts.inc
Normal file
131
data/maps/LilycoveCity_CoveLilyMotel_1F/scripts.inc
Normal file
@ -0,0 +1,131 @@
|
||||
.set LOCALID_OWNER, 1
|
||||
|
||||
LilycoveCity_CoveLilyMotel_1F_MapScripts::
|
||||
.byte 0
|
||||
|
||||
LilycoveCity_CoveLilyMotel_1F_EventScript_MotelOwner::
|
||||
lockall
|
||||
goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_CoveLilyMotel_1F_EventScript_GameClear
|
||||
goto_if_set FLAG_BADGE07_GET, LilycoveCity_CoveLilyMotel_1F_EventScript_AquaHideoutBusted
|
||||
msgbox LilycoveCity_CoveLilyMotel_1F_Text_GuestsDoubledByMascot, MSGBOX_DEFAULT
|
||||
applymovement LOCALID_OWNER, Common_Movement_FacePlayer
|
||||
waitmovement 0
|
||||
msgbox LilycoveCity_CoveLilyMotel_1F_Text_NoGuestsWithTeamAqua, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement LOCALID_OWNER, Common_Movement_FaceOriginalDirection
|
||||
waitmovement 0
|
||||
releaseall
|
||||
end
|
||||
|
||||
LilycoveCity_CoveLilyMotel_1F_EventScript_AquaHideoutBusted::
|
||||
msgbox LilycoveCity_CoveLilyMotel_1F_Text_MonFoundLostItem, MSGBOX_DEFAULT
|
||||
applymovement LOCALID_OWNER, Common_Movement_FacePlayer
|
||||
waitmovement 0
|
||||
msgbox LilycoveCity_CoveLilyMotel_1F_Text_HeardAquaHideoutBusted, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement LOCALID_OWNER, Common_Movement_FaceOriginalDirection
|
||||
waitmovement 0
|
||||
releaseall
|
||||
end
|
||||
|
||||
LilycoveCity_CoveLilyMotel_1F_EventScript_GameClear::
|
||||
msgbox LilycoveCity_CoveLilyMotel_1F_Text_HouseSittingMonCaughtBurglar, MSGBOX_DEFAULT
|
||||
applymovement LOCALID_OWNER, Common_Movement_FacePlayer
|
||||
waitmovement 0
|
||||
msgbox LilycoveCity_CoveLilyMotel_1F_Text_BetterGetWorkingOnGuestsDinner, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement LOCALID_OWNER, Common_Movement_FaceOriginalDirection
|
||||
waitmovement 0
|
||||
releaseall
|
||||
end
|
||||
|
||||
LilycoveCity_CoveLilyMotel_1F_EventScript_BlockingTV::
|
||||
lockall
|
||||
playse SE_PIN
|
||||
applymovement LOCALID_OWNER, Common_Movement_ExclamationMark
|
||||
waitmovement 0
|
||||
applymovement LOCALID_OWNER, Common_Movement_Delay48
|
||||
waitmovement 0
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFasterDown
|
||||
waitmovement 0
|
||||
msgbox LilycoveCity_CoveLilyMotel_1F_Text_CantSeeTheTV, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement OBJ_EVENT_ID_PLAYER, LilycoveCity_CoveLilyMotel_1F_Movement_PlayerPushFromTV
|
||||
applymovement LOCALID_OWNER, LilycoveCity_CoveLilyMotel_1F_Movement_OwnerPushPlayer
|
||||
waitmovement 0
|
||||
applymovement LOCALID_OWNER, LilycoveCity_CoveLilyMotel_1F_Movement_OwnerReturn
|
||||
waitmovement 0
|
||||
release
|
||||
end
|
||||
|
||||
LilycoveCity_CoveLilyMotel_1F_Movement_PlayerPushFromTV:
|
||||
face_right
|
||||
lock_facing_direction
|
||||
walk_left
|
||||
unlock_facing_direction
|
||||
step_end
|
||||
|
||||
LilycoveCity_CoveLilyMotel_1F_Movement_OwnerPushPlayer:
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
LilycoveCity_CoveLilyMotel_1F_Movement_OwnerReturn:
|
||||
face_down
|
||||
walk_down
|
||||
face_up
|
||||
step_end
|
||||
|
||||
LilycoveCity_CoveLilyMotel_1F_Text_GuestsDoubledByMascot:
|
||||
.string "Hm, so they doubled the guests by\n"
|
||||
.string "using POKéMON as attractions?\p"
|
||||
.string "Hm, well, maybe I should make a cute\n"
|
||||
.string "POKéMON our inn's mascot.\p"
|
||||
.string "I wonder if that will attract more\n"
|
||||
.string "guests to stay with us?$"
|
||||
|
||||
LilycoveCity_CoveLilyMotel_1F_Text_NoGuestsWithTeamAqua:
|
||||
.string "Oh, sorry, sorry!\n"
|
||||
.string "I was too involved in watching TV!\p"
|
||||
.string "Since that TEAM AQUA came to town,\n"
|
||||
.string "the tourists have been staying away.$"
|
||||
|
||||
LilycoveCity_CoveLilyMotel_1F_Text_CantSeeTheTV:
|
||||
.string "Hey, down in front!\n"
|
||||
.string "I can't see the TV!$"
|
||||
|
||||
LilycoveCity_CoveLilyMotel_1F_Text_MonFoundLostItem:
|
||||
.string "Amazing! You're telling me a POKéMON\n"
|
||||
.string "found someone's lost item?\p"
|
||||
.string "That's something. If we had some smart\n"
|
||||
.string "POKéMON like that…\p"
|
||||
.string "We could recover anything that our\n"
|
||||
.string "guests mislaid…$"
|
||||
|
||||
LilycoveCity_CoveLilyMotel_1F_Text_HeardAquaHideoutBusted:
|
||||
.string "Oh, sorry, sorry!\n"
|
||||
.string "I was too involved in watching TV!\p"
|
||||
.string "I heard that someone busted\n"
|
||||
.string "the TEAM AQUA HIDEOUT.\p"
|
||||
.string "Thanks to that, we just booked\n"
|
||||
.string "a reservation from a big group.\p"
|
||||
.string "It was a company called… Uh…\n"
|
||||
.string "GAME something…$"
|
||||
|
||||
LilycoveCity_CoveLilyMotel_1F_Text_HouseSittingMonCaughtBurglar:
|
||||
.string "Amazing! A house-sitting POKéMON\n"
|
||||
.string "caught a burglar?\p"
|
||||
.string "That's something. If we had a tough\n"
|
||||
.string "POKéMON as a security guard…\p"
|
||||
.string "We would be able to provide our guests\n"
|
||||
.string "with greater safety.$"
|
||||
|
||||
LilycoveCity_CoveLilyMotel_1F_Text_BetterGetWorkingOnGuestsDinner:
|
||||
.string "Oh, sorry, sorry!\n"
|
||||
.string "I was too involved in watching TV.\p"
|
||||
.string "Oh, yes. A big group of guests arrived\n"
|
||||
.string "a little while ago.\p"
|
||||
.string "They booked in as GAME FREAK,\n"
|
||||
.string "so I guess they must make games.\p"
|
||||
.string "Uh-oh, I'd better get working on\n"
|
||||
.string "their dinner!$"
|
||||
|
Reference in New Issue
Block a user