tumbledemerald-legacy/data/maps/LilycoveCity_CoveLilyMotel_1F/scripts.inc

132 lines
4.5 KiB
PHP
Raw Normal View History

2022-05-19 19:14:13 +02:00
.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"
2022-05-19 19:14:13 +02:00
.string "Hm, well, maybe I should make a cute\n"
.string "Pokémon our inn's mascot.\p"
2022-05-19 19:14:13 +02:00
.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"
2022-05-19 19:14:13 +02:00
.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!$"
2022-05-19 19:14:13 +02:00
LilycoveCity_CoveLilyMotel_1F_Text_MonFoundLostItem:
.string "Amazing! You're telling me a Pokémon\n"
2022-05-19 19:14:13 +02:00
.string "found someone's lost item?\p"
.string "That's something. If we had some smart\n"
.string "Pokémon like that…\p"
2022-05-19 19:14:13 +02:00
.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"
2022-05-19 19:14:13 +02:00
.string "I heard that someone busted\n"
.string "the Team Aqua Hideout.\p"
2022-05-19 19:14:13 +02:00
.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…$"
2022-05-19 19:14:13 +02:00
LilycoveCity_CoveLilyMotel_1F_Text_HouseSittingMonCaughtBurglar:
.string "Amazing! A house-sitting Pokémon\n"
2022-05-19 19:14:13 +02:00
.string "caught a burglar?\p"
.string "That's something. If we had a tough\n"
.string "Pokémon as a security guard…\p"
2022-05-19 19:14:13 +02:00
.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"
2022-05-19 19:14:13 +02:00
.string "Oh, yes. A big group of guests arrived\n"
.string "a little while ago.\p"
.string "They booked in as Game Freak,\n"
2022-05-19 19:14:13 +02:00
.string "so I guess they must make games.\p"
.string "Uh-oh, I'd better get working on\n"
.string "their dinner!$"