mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 20:24:18 +01:00
56 lines
1.7 KiB
PHP
56 lines
1.7 KiB
PHP
SootopolisCity_House6_MapScripts::
|
|
.byte 0
|
|
|
|
SootopolisCity_House6_EventScript_Woman::
|
|
lock
|
|
faceplayer
|
|
goto_if_set FLAG_RECEIVED_WAILMER_DOLL, SootopolisCity_House6_EventScript_ReceivedWailmerDoll
|
|
msgbox SootopolisCity_House6_Text_FirstGuestInWhileTakeDoll, MSGBOX_YESNO
|
|
compare VAR_RESULT, NO
|
|
call_if_eq SootopolisCity_House6_EventScript_DeclineWailmerDoll
|
|
msgbox SootopolisCity_House6_Text_TakeGoodCareOfIt, MSGBOX_DEFAULT
|
|
givedecoration DECOR_WAILMER_DOLL
|
|
compare VAR_RESULT, FALSE
|
|
goto_if_eq SootopolisCity_House6_EventScript_NoRoomForWailmerDoll
|
|
setflag FLAG_RECEIVED_WAILMER_DOLL
|
|
release
|
|
end
|
|
|
|
SootopolisCity_House6_EventScript_DeclineWailmerDoll::
|
|
msgbox SootopolisCity_House6_Text_DontWantThisDoll, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
SootopolisCity_House6_EventScript_ReceivedWailmerDoll::
|
|
msgbox SootopolisCity_House6_Text_LovePlushDolls, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
SootopolisCity_House6_EventScript_NoRoomForWailmerDoll::
|
|
bufferdecorationname 1, DECOR_WAILMER_DOLL
|
|
msgbox gText_NoRoomLeftForAnother, MSGBOX_DEFAULT
|
|
msgbox SootopolisCity_House6_Text_IllHoldItForYou, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
SootopolisCity_House6_Text_FirstGuestInWhileTakeDoll:
|
|
.string "Hello! You're our first guest in\n"
|
|
.string "a good while.\p"
|
|
.string "You've brightened up my day, so I'll\n"
|
|
.string "give you a big WAILMER DOLL.$"
|
|
|
|
SootopolisCity_House6_Text_TakeGoodCareOfIt:
|
|
.string "Take good care of it!$"
|
|
|
|
SootopolisCity_House6_Text_IllHoldItForYou:
|
|
.string "Oh, you want it, but not right now?\n"
|
|
.string "Okay, then I'll hold it for you.$"
|
|
|
|
SootopolisCity_House6_Text_DontWantThisDoll:
|
|
.string "Are you sure?\n"
|
|
.string "You don't want this DOLL?$"
|
|
|
|
SootopolisCity_House6_Text_LovePlushDolls:
|
|
.string "I love plush DOLLS!$"
|
|
|