2019-09-27 18:20:51 +00:00
|
|
|
EventScript_Questionnaire:: @ 827381B
|
2019-10-05 14:52:48 +00:00
|
|
|
lockall
|
2019-10-07 14:34:12 +00:00
|
|
|
msgbox Mevent_Text_FillOutQuestionnaire, MSGBOX_YESNO
|
2019-11-02 16:34:53 +00:00
|
|
|
compare VAR_RESULT, NO
|
2019-10-07 14:34:12 +00:00
|
|
|
goto_if_eq Mevent_EventScript_Release
|
2019-10-05 14:52:48 +00:00
|
|
|
setvar VAR_0x8004, EASY_CHAT_TYPE_QUESTIONNAIRE
|
|
|
|
call Common_ShowEasyChatScreen
|
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
specialvar VAR_0x8008, GetMartEmployeeObjectEventId
|
|
|
|
compare VAR_0x8004, 1
|
2019-10-07 14:34:12 +00:00
|
|
|
goto_if_eq Mevent_EventScript_PlayerInputMysteryEventPhrase
|
2019-10-05 14:52:48 +00:00
|
|
|
compare VAR_0x8004, 2
|
2019-10-07 14:34:12 +00:00
|
|
|
goto_if_eq Mevent_EventScript_PlayerInputMysteryGiftPhrase
|
2019-10-05 14:52:48 +00:00
|
|
|
compare VAR_RESULT, 0
|
2019-10-07 14:34:12 +00:00
|
|
|
goto_if_eq Mevent_EventScript_Release
|
2019-10-05 14:52:48 +00:00
|
|
|
compare VAR_RESULT, 1
|
2019-10-07 14:34:12 +00:00
|
|
|
goto_if_eq Mevent_EventScript_QuestionnaireThankYou
|
2019-10-05 14:52:48 +00:00
|
|
|
end
|
2019-09-27 18:20:51 +00:00
|
|
|
|
2019-10-07 14:34:12 +00:00
|
|
|
Mevent_EventScript_PlayerInputMysteryEventPhrase:: @ 827386D
|
|
|
|
goto_if_unset FLAG_SYS_POKEDEX_GET, Mevent_EventScript_QuestionnaireThankYou
|
|
|
|
goto_if_set FLAG_SYS_MYSTERY_EVENT_ENABLE, Mevent_EventScript_QuestionnaireThankYou
|
2019-10-05 14:52:48 +00:00
|
|
|
applymovement VAR_0x8008, Common_Movement_FaceDown
|
|
|
|
waitmovement 0
|
|
|
|
playse SE_PIN
|
|
|
|
applymovement VAR_0x8008, Common_Movement_ExclamationMark
|
|
|
|
waitmovement 0
|
|
|
|
applymovement VAR_0x8008, Common_Movement_Delay48
|
|
|
|
waitmovement 0
|
2019-10-07 14:34:12 +00:00
|
|
|
msgbox Mevent_Text_YouKnowThoseWordsEvent, MSGBOX_DEFAULT
|
2019-10-05 14:52:48 +00:00
|
|
|
setflag FLAG_SYS_MYSTERY_EVENT_ENABLE
|
2019-10-07 14:34:12 +00:00
|
|
|
msgbox Mevent_Text_YouCanAccessMysteryEvent, MSGBOX_DEFAULT
|
2019-10-05 14:52:48 +00:00
|
|
|
releaseall
|
|
|
|
end
|
2019-09-27 18:20:51 +00:00
|
|
|
|
2019-10-07 14:34:12 +00:00
|
|
|
Mevent_EventScript_PlayerInputMysteryGiftPhrase:: @ 82738B5
|
|
|
|
goto_if_unset FLAG_SYS_POKEDEX_GET, Mevent_EventScript_QuestionnaireThankYou
|
|
|
|
goto_if_set FLAG_SYS_MYSTERY_GIFT_ENABLE, Mevent_EventScript_QuestionnaireThankYou
|
2019-10-05 14:52:48 +00:00
|
|
|
applymovement VAR_0x8008, Common_Movement_FaceDown
|
|
|
|
waitmovement 0
|
|
|
|
playse SE_PIN
|
|
|
|
applymovement VAR_0x8008, Common_Movement_ExclamationMark
|
|
|
|
waitmovement 0
|
|
|
|
applymovement VAR_0x8008, Common_Movement_Delay48
|
|
|
|
waitmovement 0
|
2019-10-07 14:34:12 +00:00
|
|
|
msgbox Mevent_Text_YouKnowThoseWordsGift, MSGBOX_DEFAULT
|
2019-10-05 14:52:48 +00:00
|
|
|
setflag FLAG_SYS_MYSTERY_GIFT_ENABLE
|
2019-10-07 14:34:12 +00:00
|
|
|
msgbox Mevent_Text_YouCanAccessMysteryGift, MSGBOX_DEFAULT
|
2019-10-05 14:52:48 +00:00
|
|
|
releaseall
|
|
|
|
end
|
2019-09-27 18:20:51 +00:00
|
|
|
|
2019-10-07 14:34:12 +00:00
|
|
|
Mevent_EventScript_Release:: @ 82738FD
|
2019-10-05 14:52:48 +00:00
|
|
|
releaseall
|
|
|
|
end
|
2019-09-27 18:20:51 +00:00
|
|
|
|
2019-10-07 14:34:12 +00:00
|
|
|
Mevent_EventScript_QuestionnaireThankYou:: @ 82738FF
|
2019-10-05 14:52:48 +00:00
|
|
|
applymovement VAR_0x8008, Common_Movement_FaceDown
|
|
|
|
waitmovement 0
|
2019-10-07 14:34:12 +00:00
|
|
|
msgbox Mevent_Text_QuestionnaireThankYou, MSGBOX_DEFAULT
|
2019-10-05 14:52:48 +00:00
|
|
|
releaseall
|
|
|
|
end
|