sovereignx/data/maps/LilycoveCity_House2/scripts.inc
Melody c557ac61ae adds constants, cleans up callstd and msgbox code
* adds some constants for standard script names and messagebox types
* replaces some callstd calls with msgbox calls where equivalent
* replaces msgbox and callstd calls using raw digits with versions that use the constants
2018-12-02 03:37:46 -05:00

32 lines
868 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

LilycoveCity_House2_MapScripts:: @ 821ED74
.byte 0
LilycoveCity_House2_EventScript_21ED75:: @ 821ED75
lock
faceplayer
checkflag FLAG_0x0EA
goto_eq LilycoveCity_House2_EventScript_21EDAC
msgbox LilycoveCity_House2_Text_21EDB6, MSGBOX_DEFAULT
giveitem_std ITEM_TM44
compare VAR_RESULT, 0
goto_eq LilycoveCity_House2_EventScript_272054
setflag FLAG_0x0EA
msgbox LilycoveCity_House2_Text_21EDF9, MSGBOX_DEFAULT
release
end
LilycoveCity_House2_EventScript_21EDAC:: @ 821EDAC
msgbox LilycoveCity_House2_Text_21EDF9, MSGBOX_DEFAULT
release
end
LilycoveCity_House2_Text_21EDB6: @ 821EDB6
.string "Huh? What? Whats that?\p"
.string "Im not near awake yet…\n"
.string "You can have this…$"
LilycoveCity_House2_Text_21EDF9: @ 821EDF9
.string "Yawn…\p"
.string "Sleep is essential for good health…\n"
.string "Sleep and regain health…$"