pokeemerald/data/maps/SootopolisCity_House6/scripts.inc

56 lines
1.8 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
SootopolisCity_House6_MapScripts:: @ 8226F5B
.byte 0
2019-11-10 02:40:41 +01:00
SootopolisCity_House6_EventScript_Woman:: @ 8226F5C
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-11-10 02:40:41 +01:00
goto_if_set FLAG_RECEIVED_WAILMER_DOLL, SootopolisCity_House6_EventScript_ReceivedWailmerDoll
msgbox SootopolisCity_House6_Text_FirstGuestInWhileTakeDoll, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-11-10 02:40:41 +01:00
call_if_eq SootopolisCity_House6_EventScript_DeclineWailmerDoll
msgbox SootopolisCity_House6_Text_TakeGoodCareOfIt, MSGBOX_DEFAULT
2019-09-16 05:47:07 +02:00
givedecoration_std DECOR_WAILMER_DOLL
2019-11-10 02:40:41 +01:00
compare VAR_RESULT, FALSE
goto_if_eq SootopolisCity_House6_EventScript_NoRoomForWailmerDoll
2019-01-02 22:12:43 +01:00
setflag FLAG_RECEIVED_WAILMER_DOLL
2017-11-10 02:21:31 +01:00
release
end
2019-11-10 02:40:41 +01:00
SootopolisCity_House6_EventScript_DeclineWailmerDoll:: @ 8226F99
msgbox SootopolisCity_House6_Text_DontWantThisDoll, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-10 02:40:41 +01:00
SootopolisCity_House6_EventScript_ReceivedWailmerDoll:: @ 8226FA3
msgbox SootopolisCity_House6_Text_LovePlushDolls, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-10 02:40:41 +01:00
SootopolisCity_House6_EventScript_NoRoomForWailmerDoll:: @ 8226FAD
2019-09-16 05:47:07 +02:00
bufferdecorationname 1, DECOR_WAILMER_DOLL
msgbox gText_NoRoomLeftForAnother, MSGBOX_DEFAULT
2019-11-10 02:40:41 +01:00
msgbox SootopolisCity_House6_Text_IllHoldItForYou, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-10 02:40:41 +01:00
SootopolisCity_House6_Text_FirstGuestInWhileTakeDoll: @ 8226FC3
2018-12-07 16:41:08 +01:00
.string "Hello! You're our first guest in\n"
2017-11-10 02:21:31 +01:00
.string "a good while.\p"
2018-12-07 16:41:08 +01:00
.string "You've brightened up my day, so I'll\n"
2017-11-10 02:21:31 +01:00
.string "give you a big WAILMER DOLL.$"
2019-11-10 02:40:41 +01:00
SootopolisCity_House6_Text_TakeGoodCareOfIt: @ 8227034
2017-11-10 02:21:31 +01:00
.string "Take good care of it!$"
2019-11-10 02:40:41 +01:00
SootopolisCity_House6_Text_IllHoldItForYou: @ 822704A
2017-11-10 02:21:31 +01:00
.string "Oh, you want it, but not right now?\n"
2018-12-07 16:41:08 +01:00
.string "Okay, then I'll hold it for you.$"
2017-11-10 02:21:31 +01:00
2019-11-10 02:40:41 +01:00
SootopolisCity_House6_Text_DontWantThisDoll: @ 822708F
2017-11-10 02:21:31 +01:00
.string "Are you sure?\n"
2018-12-07 16:41:08 +01:00
.string "You don't want this DOLL?$"
2017-11-10 02:21:31 +01:00
2019-11-10 02:40:41 +01:00
SootopolisCity_House6_Text_LovePlushDolls: @ 82270B7
2017-11-10 02:21:31 +01:00
.string "I love plush DOLLS!$"