2021-07-20 15:18:31 -04:00
|
|
|
LilycoveCity_House2_MapScripts::
|
2017-11-09 19:21:31 -06:00
|
|
|
.byte 0
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
LilycoveCity_House2_EventScript_FatMan::
|
2017-11-09 19:21:31 -06:00
|
|
|
lock
|
|
|
|
faceplayer
|
2019-11-10 10:56:35 -05:00
|
|
|
goto_if_set FLAG_RECEIVED_TM44, LilycoveCity_House2_EventScript_ReceivedRest
|
|
|
|
msgbox LilycoveCity_House2_Text_NotAwakeYetHaveThis, MSGBOX_DEFAULT
|
2020-01-11 12:02:58 -05:00
|
|
|
giveitem ITEM_TM44
|
2019-11-10 10:56:35 -05:00
|
|
|
compare VAR_RESULT, FALSE
|
2019-02-22 19:52:11 -05:00
|
|
|
goto_if_eq Common_EventScript_ShowBagIsFull
|
2019-01-02 21:12:43 +00:00
|
|
|
setflag FLAG_RECEIVED_TM44
|
2019-11-10 10:56:35 -05:00
|
|
|
msgbox LilycoveCity_House2_Text_SleepIsEssential, MSGBOX_DEFAULT
|
2017-11-09 19:21:31 -06:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
LilycoveCity_House2_EventScript_ReceivedRest::
|
2019-11-10 10:56:35 -05:00
|
|
|
msgbox LilycoveCity_House2_Text_SleepIsEssential, MSGBOX_DEFAULT
|
2017-11-09 19:21:31 -06:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
LilycoveCity_House2_Text_NotAwakeYetHaveThis:
|
2018-12-07 10:41:08 -05:00
|
|
|
.string "Huh? What? What's that?\p"
|
|
|
|
.string "I'm not near awake yet…\n"
|
2017-11-09 19:21:31 -06:00
|
|
|
.string "You can have this…$"
|
|
|
|
|
2021-07-20 15:18:31 -04:00
|
|
|
LilycoveCity_House2_Text_SleepIsEssential:
|
2017-11-09 19:21:31 -06:00
|
|
|
.string "Yawn…\p"
|
|
|
|
.string "Sleep is essential for good health…\n"
|
|
|
|
.string "Sleep and regain health…$"
|