persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
demo_dialogue.cpp
Go to the documentation of this file.
1#include "demo_dialogue.hpp"
2
3// dialogue content
6{
7 DialogueSelection demo_dialogue_sel_6_0 = {"Vouch for Yukari", false, &demo_dialogue_lines[7]};
8 DialogueSelection demo_dialogue_sel_6_1 = {"Side with Aigis", false, &demo_dialogue_lines[12]};
9 DialogueSelection demo_dialogue_sel_6_2 = {"Ask what's outside", false, &demo_dialogue_lines[15]};
10
11 DialogueSelection demo_dialogue_sel_19_0 = {"Offer to walk her", false, &demo_dialogue_lines[20]};
12 DialogueSelection demo_dialogue_sel_19_1 = {"Tell her it can wait", false, &demo_dialogue_lines[23]};
13 DialogueSelection demo_dialogue_sel_19_2 = {"Follow the rule", false, &demo_dialogue_lines[26]};
14
15 demo_dialogue_lines[0] = {"Aigis",
16 "Yukari, the\xFF\x01\x07 east path\xFF\x01\xFF is closed after sundown. "
17 "It's the second time I have stated this.",
19 NULL,
21 {}};
22 demo_dialogue_lines[1] = {"Yukari",
23 "I know, I know - I just left my bag on the bench. Thirty seconds, tops.",
27 {}};
28
29 demo_dialogue_lines[2] = {"Aigis",
30 "I am not authorized to make exceptions. Please retrieve it after sunrise.",
34 {}};
36 "Akihiko", "What's the holdup?", BustAkihiko::spNeutral, &demo_dialogue_lines[2], &demo_dialogue_lines[4], {}};
37 demo_dialogue_lines[4] = {"Yukari",
38 "Aigis has decided my bag is a security threat.",
42 {}};
43 demo_dialogue_lines[5] = {"Aigis",
44 "That is not accurate. The bag itself is not the concern. The curfew is.",
48 {}};
49 demo_dialogue_lines[6] = {"Akihiko",
50 "Nobody's arguing. Let's just sort this out.",
53 NULL,
54 {demo_dialogue_sel_6_0, demo_dialogue_sel_6_1, demo_dialogue_sel_6_2}};
55
56 // Branch: Vouch for Yukari
57 demo_dialogue_lines[7] = {"Akihiko",
58 "Come on, it's a bag, not a break-in. Let her grab it.",
62 {}};
64 "Aigis", "...Processing.", BustAigis::spNeutral, &demo_dialogue_lines[7], &demo_dialogue_lines[9], {}};
65 demo_dialogue_lines[9] = {"Aigis",
66 "Acceptable. Two minutes. Sanada, you will accompany her, since you vouched for this.",
70 {}};
71 demo_dialogue_lines[10] = {"Yukari",
72 "Fine by me. Thanks, Aigis.",
76 {}};
78 "Akihiko", "...Guess I'm coming along, then.", BustAkihiko::spNeutral, &demo_dialogue_lines[10], NULL, {}};
79
80 // Branch: Side with Aigis
81 demo_dialogue_lines[12] = {"Akihiko",
82 "She's right. It can wait till morning, Yukari.",
86 {}};
87 demo_dialogue_lines[13] = {"Yukari",
88 "Unbelievable. Both of you, actually.",
92 {}};
93 demo_dialogue_lines[14] = {"Yukari",
94 "Don't expect me to remember this favorably.",
97 NULL,
98 {}};
99
100 // Branch: Ask what's actually out there
101 demo_dialogue_lines[15] = {"Akihiko",
102 "Out of curiosity - what's actually out there after dark?",
106 {}};
107 demo_dialogue_lines[16] = {"Aigis",
108 "That information is outside the scope of what I am permitted to disclose.",
112 {}};
113 demo_dialogue_lines[17] = {
114 "Aigis",
115 "What I can say is this: my directive is to ensure no one is on that path after sundown.",
119 {}};
120 demo_dialogue_lines[18] = {"Yukari",
121 "I-it's not like it's haunted or anything. It's just a rule.",
125 {}};
126 demo_dialogue_lines[19] = {"Akihiko",
127 "Alright. So what do we do about the bag.",
130 NULL,
131 {demo_dialogue_sel_19_0, demo_dialogue_sel_19_1, demo_dialogue_sel_19_2}};
132
133 // Sub-branch: Offer to walk her there yourself
134 demo_dialogue_lines[20] = {
135 "Aigis",
136 "...Acceptable. I will permit this. Return within five minutes, or I will come retrieve you both.",
140 {}};
141 demo_dialogue_lines[21] = {"Yukari",
142 "Thanks, Akihiko. Didn't expect that from you.",
146 {}};
147 demo_dialogue_lines[22] = {"Akihiko",
148 "Don't mention it. Let's move before she changes her mind.",
151 NULL,
152 {}};
153
154 // Sub-branch: Tell her it can wait until morning
155 demo_dialogue_lines[23] = {"Yukari",
156 "...Fine. It's just a bag.",
160 {}};
161 demo_dialogue_lines[24] = {"Aigis",
162 "A reasonable decision. Sanada's judgment is noted favorably.",
166 {}};
167 demo_dialogue_lines[25] = {
168 "Yukari", "Don't get used to it.", BustYukari::spNeutral, &demo_dialogue_lines[24], NULL, {}};
169
170 // Sub-branch: Agree the rule's there for a reason
171 demo_dialogue_lines[26] = {"Yukari",
172 "Oh, come on. Not you too.",
176 {}};
177 demo_dialogue_lines[27] = {"Aigis",
178 "Agreement noted. My assessment of Sanada has improved.",
182 {}};
183 demo_dialogue_lines[28] = {
184 "Yukari", "I'm going to bed. Alone. On purpose.", BustYukari::spNeutral, &demo_dialogue_lines[27], NULL, {}};
185
186 // return the first dialogue line
187 return &demo_dialogue_lines[0];
188}
Dialogue * demo_dialogue_init()
Dialogue demo_dialogue_lines[29]
etl::array< SpritePayload, 6 > spNeutral
etl::array< SpritePayload, 7 > spNeutral
etl::array< SpritePayload, 8 > spNeutral
Holds dialogue selection choice data.
Holds dialogue content and branching data.