pokeemerald/data/maps/LilycoveCity_House2/scripts.inc

30 lines
889 B
PHP
Raw Permalink 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
goto_if_set FLAG_RECEIVED_TM_REST, LilycoveCity_House2_EventScript_ReceivedRest
2019-11-10 16:56:35 +01:00
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
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…$"