summaryrefslogtreecommitdiff
path: root/data/scripts/mystery_event_club.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/scripts/mystery_event_club.inc')
-rw-r--r--data/scripts/mystery_event_club.inc134
1 files changed, 68 insertions, 66 deletions
diff --git a/data/scripts/mystery_event_club.inc b/data/scripts/mystery_event_club.inc
index 6a7ed3d2d..b409a8af9 100644
--- a/data/scripts/mystery_event_club.inc
+++ b/data/scripts/mystery_event_club.inc
@@ -1,116 +1,118 @@
-PewterCity_PokemonCenter_1F_EventScript_1BEE16:: @ 81BEE16
+.equ GAVE_PROFILE, VAR_TEMP_1
+
+MysteryEventClub_EventScript_Man:: @ 81BEE16
lock
faceplayer
- compare VAR_TEMP_1, 1
- goto_if_eq EventScript_1BEE3A
- goto_if_set FLAG_SYS_SET_TRAINER_CARD_PROFILE, EventScript_1BEECD
- msgbox Text_1BEF88
- goto EventScript_1BEE44
+ compare GAVE_PROFILE, TRUE
+ goto_if_eq EventScript_AlreadyGaveProfile
+ goto_if_set FLAG_SYS_SET_TRAINER_CARD_PROFILE, EventScript_GivenProfileBefore
+ msgbox Text_IdLoveToHearYourProfile
+ goto EventScript_AskForProfile
end
-EventScript_1BEE3A:: @ 81BEE3A
- msgbox gUnknown_81BF36A
+EventScript_AlreadyGaveProfile: @ 81BEE3A
+ msgbox Text_TellMoreNextTime
release
end
-EventScript_1BEE44:: @ 81BEE44
- message Text_1BF017
+EventScript_AskForProfile: @ 81BEE44
+ message Text_TellMeWhatsYourProfile
waitmessage
multichoice 18, 6, MULTICHOICE_YES_NO_INFO_2, FALSE
switch VAR_RESULT
- case 0, EventScript_1BEE8F
- case 1, EventScript_1BEEC3
- case 2, EventScript_1BEE81
- case SCR_MENU_CANCEL, EventScript_1BEEC3
+ case 0, EventScript_AcceptGiveProfile
+ case 1, EventScript_DeclineGiveProfile
+ case 2, EventScript_ProfileInfo
+ case SCR_MENU_CANCEL, EventScript_DeclineGiveProfile
end
-EventScript_1BEE81:: @ 81BEE81
- msgbox gUnknown_81BF053
- goto EventScript_1BEE44
+EventScript_ProfileInfo: @ 81BEE81
+ msgbox Text_ExplainProfile
+ goto EventScript_AskForProfile
end
-EventScript_1BEE8F:: @ 81BEE8F
- msgbox gUnknown_81BF166
+EventScript_AcceptGiveProfile: @ 81BEE8F
+ msgbox Text_WhatsYourProfile
closemessage
- goto EventScript_1BEF5A
+ goto EventScript_GiveProfile
end
-EventScript_1BEE9E:: @ 81BEE9E
- msgbox gUnknown_81BF1B2
+EventScript_CancelGiveProfile: @ 81BEE9E
+ msgbox Text_DecidedNotTo
release
end
-EventScript_1BEEA8:: @ 81BEEA8
- setvar VAR_TEMP_1, 1
+EventScript_GaveProfile: @ 81BEEA8
+ setvar GAVE_PROFILE, TRUE
setvar VAR_0x8004, 0
special Special_BufferEasyChatMessage
waitmessage
delay 80
- msgbox gUnknown_81BF28E
+ msgbox Text_ProfileSaysSomethingAboutYou
release
end
-EventScript_1BEEC3:: @ 81BEEC3
- msgbox gUnknown_81BF17B
+EventScript_DeclineGiveProfile: @ 81BEEC3
+ msgbox Text_DontBeLikeThat
release
end
-EventScript_1BEECD:: @ 81BEECD
- msgbox gUnknown_81BF1E8
- goto EventScript_1BEEDB
+EventScript_GivenProfileBefore: @ 81BEECD
+ msgbox Text_HiWeMeetAgain
+ goto EventScript_AskForNewProfile
end
-EventScript_1BEEDB:: @ 81BEEDB
- message Text_1BF1FB
+EventScript_AskForNewProfile: @ 81BEEDB
+ message Text_ChangeYourProfile
waitmessage
multichoice 18, 6, MULTICHOICE_YES_NO_INFO_2, FALSE
switch VAR_RESULT
- case 0, EventScript_1BEF26
- case 1, EventScript_1BEF35
- case 2, EventScript_1BEF18
- case SCR_MENU_CANCEL, EventScript_1BEF35
+ case 0, EventScript_AcceptGiveNewProfile
+ case 1, EventScript_DeclineGiveNewProfile
+ case 2, EventScript_ProfileInfo2
+ case SCR_MENU_CANCEL, EventScript_DeclineGiveNewProfile
end
-EventScript_1BEF18:: @ 81BEF18
- msgbox gUnknown_81BF053
- goto EventScript_1BEEDB
+EventScript_ProfileInfo2: @ 81BEF18
+ msgbox Text_ExplainProfile
+ goto EventScript_AskForNewProfile
end
-EventScript_1BEF26:: @ 81BEF26
- msgbox gUnknown_81BF222
+EventScript_AcceptGiveNewProfile: @ 81BEF26
+ msgbox Text_WhatAreYouLikeNow
closemessage
- goto EventScript_1BEF5A
+ goto EventScript_GiveProfile
end
-EventScript_1BEF35:: @ 81BEF35
- msgbox gUnknown_81BF252
+EventScript_DeclineGiveNewProfile: @ 81BEF35
+ msgbox Text_LikeProfileWayItIs
release
end
-EventScript_1BEF3F:: @ 81BEF3F
- setvar VAR_TEMP_1, 1
+EventScript_GaveSpecialProfile: @ 81BEF3F
+ setvar GAVE_PROFILE, TRUE
setvar VAR_0x8004, 0
special Special_BufferEasyChatMessage
waitmessage
delay 80
- msgbox gUnknown_81BF30D
+ msgbox Text_HeardThatBefore
release
end
-EventScript_1BEF5A:: @ 81BEF5A
+EventScript_GiveProfile: @ 81BEF5A
setvar VAR_0x8004, 0
call EventScript_1A6AC0
lock
faceplayer
compare VAR_0x8004, 0
- goto_if_eq EventScript_1BEF3F
- compare VAR_RESULT, 0
- goto_if_eq EventScript_1BEE9E
- compare VAR_RESULT, 1
- goto_if_eq EventScript_1BEEA8
+ goto_if_eq EventScript_GaveSpecialProfile
+ compare VAR_RESULT, FALSE
+ goto_if_eq EventScript_CancelGiveProfile
+ compare VAR_RESULT, TRUE
+ goto_if_eq EventScript_GaveProfile
end
-Text_1BEF88:: @ 81BEF88
+Text_IdLoveToHearYourProfile: @ 81BEF88
.string "Hi, glad to meet you!\p"
.string "…That's unfriendly of you.\n"
.string "How about saying hi back?\p"
@@ -118,11 +120,11 @@ Text_1BEF88:: @ 81BEF88
.string "yourself.\p"
.string "I'd love to hear your profile!$"
-Text_1BF017:: @ 81BF017
+Text_TellMeWhatsYourProfile: @ 81BF017
.string "Tell me something good about\n"
.string "yourself. What's your profile?$"
-gUnknown_81BF053:: @ 81BF053
+Text_ExplainProfile: @ 81BF053
.string "A profile is written using four\n"
.string "words or phrases.\p"
.string "There're plenty of words to choose\n"
@@ -134,46 +136,46 @@ gUnknown_81BF053:: @ 81BF053
.string "…It's easier than it sounds.\n"
.string "Why don't you try it?$"
-gUnknown_81BF166:: @ 81BF166
+Text_WhatsYourProfile: @ 81BF166
.string "What's your profile?$"
-gUnknown_81BF17B:: @ 81BF17B
+Text_DontBeLikeThat: @ 81BF17B
.string "Aww… Don't be like that.\n"
.string "You can tell me your profile.$"
-gUnknown_81BF1B2:: @ 81BF1B2
+Text_DecidedNotTo: @ 81BF1B2
.string "Oh, you've decided not to?\n"
.string "You're fickle, aren't you?$"
-gUnknown_81BF1E8:: @ 81BF1E8
+Text_HiWeMeetAgain: @ 81BF1E8
.string "Hi!\n"
.string "We meet again!$"
-Text_1BF1FB:: @ 81BF1FB
+Text_ChangeYourProfile: @ 81BF1FB
.string "Would you like to change your\n"
.string "profile?$"
-gUnknown_81BF222:: @ 81BF222
+Text_WhatAreYouLikeNow: @ 81BF222
.string "What are you like now?\n"
.string "I'd really like to know.$"
-gUnknown_81BF252:: @ 81BF252
+Text_LikeProfileWayItIs: @ 81BF252
.string "Okay, you like your profile the\n"
.string "way it is.\p"
.string "I think so, too.$"
-gUnknown_81BF28E:: @ 81BF28E
+Text_ProfileSaysSomethingAboutYou: @ 81BF28E
.string "Hmhm…\p"
.string "Your profile really says something\n"
.string "about who you are.\p"
.string "Now that I know you better, it \n"
.string "makes us better friends than ever!$"
-gUnknown_81BF30D:: @ 81BF30D
+Text_HeardThatBefore: @ 81BF30D
.string "Oh, I've heard that before…\p"
.string "My cousin, who lives far away,\n"
.string "always used to say that, I think.$"
-gUnknown_81BF36A:: @ 81BF36A
+Text_TellMoreNextTime: @ 81BF36A
.string "Please tell me more about\n"
.string "yourself next time!$"