tumbledemerald-legacy/data/maps/LilycoveCity_CoveLilyMotel_1F/scripts.inc
2022-05-19 17:14:13 +00:00

132 lines
4.5 KiB
PHP

.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!$"