pokeemerald/data/maps/LilycoveCity_House2/scripts.inc
2021-07-20 15:18:31 -04:00

31 lines
888 B
PHP

LilycoveCity_House2_MapScripts::
.byte 0
LilycoveCity_House2_EventScript_FatMan::
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM44, LilycoveCity_House2_EventScript_ReceivedRest
msgbox LilycoveCity_House2_Text_NotAwakeYetHaveThis, MSGBOX_DEFAULT
giveitem ITEM_TM44
compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_TM44
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 "Huh? What? What's that?\p"
.string "I'm not near awake yet…\n"
.string "You can have this…$"
LilycoveCity_House2_Text_SleepIsEssential:
.string "Yawn…\p"
.string "Sleep is essential for good health…\n"
.string "Sleep and regain health…$"