summaryrefslogtreecommitdiff
path: root/data/scripts/maps/SlateportCity_House1.inc
blob: 8ecc859f7932b80e623512775f4d4a3e5871973c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
SlateportCity_House1_MapScripts:: @ 8209AA4
	.byte 0

SlateportCity_House1_EventScript_209AA5:: @ 8209AA5
	lock
	faceplayer
	msgbox SlateportCity_House1_Text_209B8E, 5
	compare VAR_RESULT, 1
	goto_eq SlateportCity_House1_EventScript_209AC6
	compare VAR_RESULT, 0
	goto_eq SlateportCity_House1_EventScript_209AE9
	end

SlateportCity_House1_EventScript_209AC6:: @ 8209AC6
	msgbox SlateportCity_House1_Text_209BFF, 4
	special sub_81B94B0
	waitstate
	compare VAR_0x8004, 255
	goto_if 5, SlateportCity_House1_EventScript_209AF3
	compare VAR_0x8004, 255
	goto_eq SlateportCity_House1_EventScript_209AE9
	end

SlateportCity_House1_EventScript_209AE9:: @ 8209AE9
	msgbox SlateportCity_House1_Text_209D42, 4
	release
	end

SlateportCity_House1_EventScript_209AF3:: @ 8209AF3
	specialvar VAR_RESULT, ScriptGetPartyMonSpecies
	compare VAR_RESULT, 412
	goto_eq SlateportCity_House1_EventScript_209B46
	special TV_CopyNicknameToStringVar1AndEnsureTerminated
	special TV_CheckMonOTIDEqualsPlayerID
	compare VAR_RESULT, 1
	goto_eq SlateportCity_House1_EventScript_209B50
	specialvar VAR_RESULT, sub_8139770
	special TV_CopyNicknameToStringVar1AndEnsureTerminated
	compare VAR_RESULT, 1
	goto_eq SlateportCity_House1_EventScript_209B50
	msgbox SlateportCity_House1_Text_209C2B, 5
	compare VAR_RESULT, 1
	goto_eq SlateportCity_House1_EventScript_209B5A
	compare VAR_RESULT, 0
	goto_eq SlateportCity_House1_EventScript_209AE9
	end

SlateportCity_House1_EventScript_209B46:: @ 8209B46
	msgbox SlateportCity_House1_Text_209E74, 4
	release
	end

SlateportCity_House1_EventScript_209B50:: @ 8209B50
	msgbox SlateportCity_House1_Text_209DF0, 4
	release
	end

SlateportCity_House1_EventScript_209B5A:: @ 8209B5A
	msgbox SlateportCity_House1_Text_209CA4, 4
	call SlateportCity_House1_EventScript_2723DD
	specialvar VAR_RESULT, TV_PutNameRaterShowOnTheAirIfNicnkameChanged
	special TV_CopyNicknameToStringVar1AndEnsureTerminated
	compare VAR_RESULT, 1
	goto_eq SlateportCity_House1_EventScript_209B84
	msgbox SlateportCity_House1_Text_209D5E, 4
	release
	end

SlateportCity_House1_EventScript_209B84:: @ 8209B84
	msgbox SlateportCity_House1_Text_209CD4, 4
	release
	end

SlateportCity_House1_Text_209B8E: @ 8209B8E
	.string "Hi, hi! I’m the NAME RATER!\n"
	.string "I’m the fortune-teller of names!\p"
	.string "I shall be pleased to rate your\n"
	.string "POKéMON’s nickname.$"

SlateportCity_House1_Text_209BFF: @ 8209BFF
	.string "Which POKéMON’s nickname should\n"
	.string "I critique?$"

SlateportCity_House1_Text_209C2B: @ 8209C2B
	.string "Hmmm… {STR_VAR_1}, is it? That is\n"
	.string "quite a fine name you bestowed.\p"
	.string "But! What say you, if I were to\n"
	.string "suggest a slightly better name?$"

SlateportCity_House1_Text_209CA4: @ 8209CA4
	.string "Ah, good. Then, what shall the new\n"
	.string "nickname be?$"

SlateportCity_House1_Text_209CD4: @ 8209CD4
	.string "Done! From now on, this POKéMON\n"
	.string "shall be known as {STR_VAR_1}!\p"
	.string "It is a better name than before!\n"
	.string "How fortunate for you!$"

SlateportCity_House1_Text_209D42: @ 8209D42
	.string "I see.\n"
	.string "Do come visit again.$"

SlateportCity_House1_Text_209D5E: @ 8209D5E
	.string "Done! From now on, this POKéMON\n"
	.string "shall be known as {STR_VAR_1}!\p"
	.string "It looks no different from before,\n"
	.string "and yet, this is vastly superior!\p"
	.string "How fortunate for you!$"

SlateportCity_House1_Text_209DF0: @ 8209DF0
	.string "Hmmm… {STR_VAR_1} it is!\p"
	.string "This is a magnificent nickname!\n"
	.string "It is impeccably beyond reproach!\p"
	.string "You’ll do well to cherish your\n"
	.string "{STR_VAR_1} now and beyond.$"

SlateportCity_House1_Text_209E74: @ 8209E74
	.string "Now, now.\n"
	.string "That is merely an EGG!$"