pokeemerald/data/maps/LilycoveCity_House2/scripts.inc

30 lines
880 B
PHP
Raw Normal View History

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