diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-11-22 19:10:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-22 19:10:49 -0500 |
commit | e0fae879da1b773bf90fca145e047ccdb7613938 (patch) | |
tree | b1be0ec73e33fccf2fe2deac44d62aa10ae391e4 /data/scripts/questionnaire.inc | |
parent | 5cb875b6cb798cf890e156f54a150ff90735ddab (diff) | |
parent | 42a83ee50e3364f3f7361dacb3d3616053f4c5bf (diff) |
Merge pull request #1558 from GriffinRichards/update-macros
Update event macro comments
Diffstat (limited to 'data/scripts/questionnaire.inc')
-rw-r--r-- | data/scripts/questionnaire.inc | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/data/scripts/questionnaire.inc b/data/scripts/questionnaire.inc index 62e149bb7..849b25a46 100644 --- a/data/scripts/questionnaire.inc +++ b/data/scripts/questionnaire.inc @@ -1,21 +1,16 @@ EventScript_Questionnaire:: lockall msgbox Questionnaire_Text_FillOut, MSGBOX_YESNO - compare VAR_RESULT, NO - goto_if_eq Questionnaire_EventScript_Release + goto_if_eq VAR_RESULT, NO, Questionnaire_EventScript_Release setvar VAR_0x8004, EASY_CHAT_TYPE_QUESTIONNAIRE call Common_ShowEasyChatScreen lock faceplayer specialvar VAR_0x8008, GetMartEmployeeObjectEventId - compare VAR_0x8004, 1 - goto_if_eq Questionnaire_EventScript_PlayerInputMysteryEventPhrase - compare VAR_0x8004, 2 - goto_if_eq Questionnaire_EventScript_PlayerInputMysteryGiftPhrase - compare VAR_RESULT, 0 - goto_if_eq Questionnaire_EventScript_Release - compare VAR_RESULT, 1 - goto_if_eq Questionnaire_EventScript_ThankYou + goto_if_eq VAR_0x8004, 1, Questionnaire_EventScript_PlayerInputMysteryEventPhrase + goto_if_eq VAR_0x8004, 2, Questionnaire_EventScript_PlayerInputMysteryGiftPhrase + goto_if_eq VAR_RESULT, 0, Questionnaire_EventScript_Release + goto_if_eq VAR_RESULT, 1, Questionnaire_EventScript_ThankYou end Questionnaire_EventScript_PlayerInputMysteryEventPhrase:: |