forked from danenders/pkedx
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct usage of MysteryEvent to MysteryGift
- Loading branch information
1 parent
d045548
commit ece7ef3
Showing
48 changed files
with
2,389 additions
and
2,389 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
data/scripts/mevent_altering_cave.inc → data/scripts/gift_altering_cave.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
data/scripts/mevent_aurora_ticket.inc → data/scripts/gift_aurora_ticket.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
data/scripts/mevent_mystic_ticket.inc → data/scripts/gift_mystic_ticket.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
data/scripts/mevent_old_sea_map.inc → data/scripts/gift_old_sea_map.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
data/scripts/mevent_stamp_card.inc → data/scripts/gift_stamp_card.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
EventScript_Questionnaire:: | ||
lockall | ||
msgbox Questionnaire_Text_FillOut, MSGBOX_YESNO | ||
compare VAR_RESULT, NO | ||
goto_if_eq 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 | ||
end | ||
|
||
Questionnaire_EventScript_PlayerInputMysteryEventPhrase:: | ||
goto_if_unset FLAG_SYS_POKEDEX_GET, Questionnaire_EventScript_ThankYou | ||
goto_if_set FLAG_SYS_MYSTERY_EVENT_ENABLE, Questionnaire_EventScript_ThankYou | ||
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 | ||
msgbox Questionnaire_Text_YouKnowThoseWordsEvent, MSGBOX_DEFAULT | ||
setflag FLAG_SYS_MYSTERY_EVENT_ENABLE | ||
msgbox Questionnaire_Text_YouCanAccessMysteryEvent, MSGBOX_DEFAULT | ||
releaseall | ||
end | ||
|
||
Questionnaire_EventScript_PlayerInputMysteryGiftPhrase:: | ||
goto_if_unset FLAG_SYS_POKEDEX_GET, Questionnaire_EventScript_ThankYou | ||
goto_if_set FLAG_SYS_MYSTERY_GIFT_ENABLE, Questionnaire_EventScript_ThankYou | ||
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 | ||
msgbox Questionnaire_Text_YouKnowThoseWordsGift, MSGBOX_DEFAULT | ||
setflag FLAG_SYS_MYSTERY_GIFT_ENABLE | ||
msgbox Questionnaire_Text_YouCanAccessMysteryGift, MSGBOX_DEFAULT | ||
releaseall | ||
end | ||
|
||
Questionnaire_EventScript_Release:: | ||
releaseall | ||
end | ||
|
||
Questionnaire_EventScript_ThankYou:: | ||
applymovement VAR_0x8008, Common_Movement_FaceDown | ||
waitmovement 0 | ||
msgbox Questionnaire_Text_ThankYou, MSGBOX_DEFAULT | ||
releaseall | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.