2025-04-22 16:50:58 +08:00

26 lines
847 B
PHP

LilycoveCity_House2_MapScripts::
.byte 0
LilycoveCity_House2_EventScript_FatMan::
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM_REST, LilycoveCity_House2_EventScript_ReceivedRest
msgbox LilycoveCity_House2_Text_NotAwakeYetHaveThis, MSGBOX_DEFAULT
giveitem ITEM_TM_REST
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_TM_REST
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 "嗯?什么?那是什么?\p我还想睡……\n这个给你吧……$"
LilycoveCity_House2_Text_SleepIsEssential:
.string "呵欠……\p睡得好才会身体好……\n睡觉让身体恢复……$"