Files
2024-07-05 07:31:42 -04:00

47 lines
1.4 KiB
ObjectPascal

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
call_if_eq VAR_RESULT, NO, SootopolisCity_House6_EventScript_DeclineWailmerDoll
msgbox SootopolisCity_House6_Text_TakeGoodCareOfIt, MSGBOX_DEFAULT
givedecoration DECOR_WAILMER_DOLL
goto_if_eq VAR_RESULT, FALSE, 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 STR_VAR_2, DECOR_WAILMER_DOLL
msgbox gText_NoRoomLeftForAnother, MSGBOX_DEFAULT
msgbox SootopolisCity_House6_Text_IllHoldItForYou, MSGBOX_DEFAULT
release
end
.ifdef FRENCH
.include "data/maps/SootopolisCity_House6/text_fr.inc"
.else
.ifdef ITALIAN
.include "data/maps/SootopolisCity_House6/text_it.inc"
.else
.ifdef SPANISH
.include "data/maps/SootopolisCity_House6/text_es.inc"
.else
.include "data/maps/SootopolisCity_House6/text.inc"
.endif
.endif
.endif