Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
wstag920.c
Go to the documentation of this file.
1/*
2 * WSTAG920: Amaterasu City, Central Sector: the streets by the bridge, in the
3 * extra chapter. The European version's: in its extra chapter (STORY_EXTRA),
4 * mode 624 starts it instead of WSTAG201.
5 */
6
7#include "common.h"
8#include "field/stage.h"
9
11#define STAGE_CHILDREN_SIZE 4
13
14const CVECTOR stageColor = { 0x54, 0x67, 0x96, 0x00 };
15#if VERSION_EU
16#define STAGE_TEXT TEXT_FILE(TEXT_TALKS_08)
17#define STAGE_FILE 0x8AA
18#define STAGE_FILE_8 0x196
19#elif VERSION_JP
20#define STAGE_TEXT 0x89A
21#define STAGE_FILE 0xC3
22#define STAGE_FILE_8 0x188
23#endif
24/* Sets the stage up: its map, actors and events, playing ASKA_BGM */
44
46 { 0x200, 0x100, 0x21C, 0x1A6, 0x70, 0xA6, 0x230, 0x1FE },
47 { 0x200, 0x100, 0x200, 0x100, 0, 0, 0x220, 0x1FE },
48 { 0x200, 0x100, 0x216, 0x138, 0x58, 0x38, 0x200, 0x1FD },
49 { 0x200, 0x100, 0x208, 0x1BC, 0x20, 0xBC, 0x210, 0x1FD },
50 { 0x200, 0x100, 0x210, 0x1BC, 0x40, 0xBC, 0x220, 0x1FD },
51 { 0x200, 0x100, 0x200, 0x1BC, 0, 0xBC, 0x230, 0x1FD },
52 { 0x1C0, 0x100, 0x1F6, 0x154, 0x2D8, 0x54, 0x170, 0x1F2 },
53 { 0x1C0, 0x100, 0x1F6, 0x17C, 0x2D8, 0x7C, 0x170, 0x1F1 },
54 { 0x1C0, 0x100, 0x1C0, 0x185, 0x200, 0x85, 0x170, 0x1F0 },
55 { 0x1C0, 0x100, 0x1D4, 0x185, 0x250, 0x85, 0x170, 0x1EF },
56 { 0x1C0, 0x100, 0x1DC, 0x185, 0x270, 0x85, 0x170, 0x1EE },
57 { 0x1C0, 0x100, 0x1E4, 0x18C, 0x290, 0x8C, 0x170, 0x1ED },
58};
73 { NULL, NULL, 0xC },
74 { NULL, NULL, 0 },
75};
84 { NULL, NULL, 4 },
85 { NULL, NULL, 0 },
86};
88 { NULL, NULL, 0xB },
89 { NULL, NULL, 0 },
90};
92 { NULL, NULL, 8 },
93 { NULL, NULL, 0 },
94};
96 { NULL, NULL, 0xA },
97 { NULL, NULL, 0 },
98};
100 { NULL, NULL, 9 },
101 { NULL, NULL, 0 },
102};
103u16 actor1Conditions[] = { ITEM(0, 0x192), 1, CODES_END };
104u16 actor2Conditions[] = { ITEM(0, 0x192), 0, CODES_END };
105FieldActorEntry actor0 = { NULL, actor0Talks, 0x37, 4, 225, 720, 5 };
108FieldActorEntry actor3 = { NULL, actor3Talks, 0xB2, 6, 555, 474, 7 };
109FieldActorEntry actor4 = { NULL, actor4Talks, 0x16D, 7, 257, 704, 1 };
110FieldActorEntry actor5 = { NULL, actor5Talks, 0x16F, 8, 564, 558, 5 };
111FieldActorEntry actor6 = { NULL, actor6Talks, 0x171, 9, 595, 542, 1 };
113 &actor0,
114 &actor1,
115 &actor2,
116 &actor3,
117 &actor4,
118 &actor5,
119 &actor6,
120 NULL,
121};
123 { 1, 0, 0x40, 2, 0x47, 2, 0, 3, 6, 0, 1048, 211, 0, 0 },
124 { 1, 0, 0x40, 2, 0x48, 2, 0, 3, 6, 0, 437, 437, 0, 0 },
125 { 1, 0, 0x40, 2, 0x48, 2, 0, 3, 6, 0, 533, 389, 0, 0 },
126 { 1, 0, 0x40, 2, 0x49, 2, 0, 3, 6, 0, 1231, 344, 0, 0 },
127 { 1, 0, 0x40, 2, 0x4A, 2, 0, 3, 6, 0, 623, 331, 0, 0 },
128 { 1, 0, 0x40, 2, 0x10, 0, 0, 0, 0, 0, 268, 384, 0, 0 },
129 { 1, 0, 0x48, 2, 0x11, 0, 0, 0, 0, 0, 274, 440, 0, 0 },
130 { 1, 0, 0x40, 2, 0x12, 0, 0, 0, 0, 0, 1044, 416, 0, 0 },
131 { 1, 0, 0x40, 2, 0x13, 0, 0, 0, 0, 0, 1088, 384, 0, 0 },
132 { 1, 0, 0x40, 2, 0xA, 1, 0xA, 0xF, 8, 0, 123, 518, 0, 0 },
133 { 1, 0, 0x40, 2, 0xA, 1, 0xA, 0xF, 8, 0, 355, 626, 0, 0 },
134 { 1, 0, 0x40, 6, 0x47, 2, 0, 3, 6, 0, 430, 722, 0, 0 },
135 { 1, 0, 0x40, 6, 0x47, 2, 0, 3, 6, 0, 501, 687, 0, 0 },
136 { 1, 0, 0x40, 6, 0x47, 2, 0, 3, 6, 0, 945, 160, 0, 0 },
137 { 1, 0, 0x40, 6, 0x47, 2, 0, 3, 6, 0, 1096, 700, 0, 0 },
138 { 1, 0, 0x40, 6, 0x47, 2, 0, 3, 6, 0, 1142, 723, 0, 0 },
139 { 1, 0, 0x40, 6, 0x48, 2, 0, 3, 6, 0, 483, 414, 0, 0 },
140 { 1, 0, 0x40, 6, 0x48, 2, 0, 3, 6, 0, 597, 695, 0, 0 },
141 { 1, 0, 0x40, 6, 0x48, 2, 0, 3, 6, 0, 642, 672, 0, 0 },
142 { 1, 0, 0x40, 6, 0x48, 2, 0, 3, 6, 0, 754, 617, 0, 0 },
143 { 1, 0, 0x40, 6, 0x49, 2, 0, 3, 6, 0, 1023, 463, 0, 0 },
144 { 1, 0, 0x40, 6, 0x4A, 2, 0, 3, 6, 0, 669, 308, 0, 0 },
145 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 379, 807, 0, 0 },
146 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 503, 863, 0, 0 },
147 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 888, 683, 0, 0 },
148 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 940, 652, 0, 0 },
149 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 982, 613, 0, 0 },
150 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 1028, 842, 0, 0 },
151 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 1049, 728, 0, 0 },
152 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 1205, 438, 0, 0 },
153 { 1, 0, 0x40, 6, 0x32, 1, 0x32, 0x34, 0xA, 0, 1250, 795, 0, 0 },
154 { 1, 0, 0x40, 6, 0x35, 1, 0x35, 0x37, 0xA, 0, 252, 805, 0, 0 },
155 { 1, 0, 0x40, 6, 0x35, 1, 0x35, 0x37, 0xA, 0, 962, 641, 0, 0 },
156 { 1, 0, 0x40, 6, 0x35, 1, 0x35, 0x37, 0xA, 0, 997, 616, 0, 0 },
157 { 1, 0, 0x40, 6, 0x35, 1, 0x35, 0x37, 0xA, 0, 1013, 582, 0, 0 },
158 { 1, 0, 0x40, 6, 0x35, 1, 0x35, 0x37, 0xA, 0, 1055, 570, 0, 0 },
159 { 1, 0, 0x40, 6, 0x35, 1, 0x35, 0x37, 0xA, 0, 1111, 806, 0, 0 },
160 { 1, 0, 0x40, 6, 0x35, 1, 0x35, 0x37, 0xA, 0, 1117, 352, 0, 0 },
161 { 1, 0, 0x40, 6, 0x35, 1, 0x35, 0x37, 0xA, 0, 1168, 791, 0, 0 },
162 { 1, 0, 0x40, 6, 0x38, 1, 0x38, 0x3A, 0xA, 0, 207, 510, 0, 0 },
163 { 1, 0, 0x40, 6, 0x38, 1, 0x38, 0x3A, 0xA, 0, 277, 265, 0, 0 },
164 { 1, 0, 0x40, 6, 0x38, 1, 0x38, 0x3A, 0xA, 0, 375, 819, 0, 0 },
165 { 1, 0, 0x40, 6, 0x38, 1, 0x38, 0x3A, 0xA, 0, 473, 878, 0, 0 },
166 { 1, 0, 0x40, 6, 0x38, 1, 0x38, 0x3A, 0xA, 0, 539, 844, 0, 0 },
167 { 1, 0, 0x40, 6, 0x38, 1, 0x38, 0x3A, 0xA, 0, 903, 771, 0, 0 },
168 { 1, 0, 0x40, 6, 0x38, 1, 0x38, 0x3A, 0xA, 0, 982, 769, 0, 0 },
169 { 1, 0, 0x40, 6, 0x38, 1, 0x38, 0x3A, 0xA, 0, 1027, 745, 0, 0 },
170 { 1, 0, 0x40, 6, 0x38, 1, 0x38, 0x3A, 0xA, 0, 1054, 560, 0, 0 },
171 { 1, 0, 0x40, 6, 0x38, 1, 0x38, 0x3A, 0xA, 0, 1066, 878, 0, 0 },
172 { 1, 0, 0x40, 6, 0x38, 1, 0x38, 0x3A, 0xA, 0, 1075, 817, 0, 0 },
173 { 1, 0, 0x40, 6, 0x38, 1, 0x38, 0x3A, 0xA, 0, 1151, 788, 0, 0 },
174 { 1, 0, 0x40, 6, 0x38, 1, 0x38, 0x3A, 0xA, 0, 1197, 422, 0, 0 },
175 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 99, 649, 0, 0 },
176 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 340, 734, 0, 0 },
177 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 372, 865, 0, 0 },
178 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 562, 848, 0, 0 },
179 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 866, 606, 0, 0 },
180 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 929, 659, 0, 0 },
181 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 1025, 722, 0, 0 },
182 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 1032, 734, 0, 0 },
183 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 1058, 835, 0, 0 },
184 { 1, 0, 0x40, 6, 0x3B, 1, 0x3B, 0x3D, 0xA, 0, 1240, 804, 0, 0 },
185 { 1, 0, 0x40, 6, 0x3E, 1, 0x3E, 0x40, 0xA, 0, 210, 645, 0, 0 },
186 { 1, 0, 0x40, 6, 0x3E, 1, 0x3E, 0x40, 0xA, 0, 455, 793, 0, 0 },
187 { 1, 0, 0x40, 6, 0x3E, 1, 0x3E, 0x40, 0xA, 0, 845, 597, 0, 0 },
188 { 1, 0, 0x40, 6, 0x3E, 1, 0x3E, 0x40, 0xA, 0, 915, 647, 0, 0 },
189 { 1, 0, 0x40, 6, 0x3E, 1, 0x3E, 0x40, 0xA, 0, 1005, 702, 0, 0 },
190 { 1, 0, 0x40, 6, 0x3E, 1, 0x3E, 0x40, 0xA, 0, 1183, 406, 0, 0 },
191 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 225, 814, 0, 0 },
192 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 235, 656, 0, 0 },
193 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 322, 260, 0, 0 },
194 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 353, 809, 0, 0 },
195 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 399, 780, 0, 0 },
196 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 425, 874, 0, 0 },
197 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 887, 617, 0, 0 },
198 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 1004, 681, 0, 0 },
199 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 1014, 762, 0, 0 },
200 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 1059, 824, 0, 0 },
201 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 1076, 720, 0, 0 },
202 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 1077, 565, 0, 0 },
203 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 1161, 394, 0, 0 },
204 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 1217, 795, 0, 0 },
205 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 43, 657, 0, 0 },
206 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 124, 617, 0, 0 },
207 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 182, 805, 0, 0 },
208 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 192, 797, 0, 0 },
209 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 212, 468, 0, 0 },
210 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 217, 460, 0, 0 },
211 { 1, 0, 0x40, 6, 0x41, 1, 0x41, 0x43, 0xA, 0, 298, 247, 0, 0 },
212 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 396, 858, 0, 0 },
213 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 656, 802, 0, 0 },
214 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 678, 794, 0, 0 },
215 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 835, 638, 0, 0 },
216 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 850, 713, 0, 0 },
217 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 852, 699, 0, 0 },
218 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 866, 656, 0, 0 },
219 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 867, 705, 0, 0 },
220 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 876, 648, 0, 0 },
221 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 895, 628, 0, 0 },
222 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 925, 783, 0, 0 },
223 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 955, 784, 0, 0 },
224 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1012, 665, 0, 0 },
225 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1027, 656, 0, 0 },
226 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1040, 832, 0, 0 },
227 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1051, 411, 0, 0 },
228 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1061, 414, 0, 0 },
229 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1064, 754, 0, 0 },
230 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1075, 725, 0, 0 },
231 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1119, 793, 0, 0 },
232 { 1, 0, 0x40, 6, 0x44, 1, 0x44, 0x46, 0xA, 0, 1279, 782, 0, 0 },
233 { 1, 0x64, 0x40, 6, 0x18, 0, 0, 0, 0, 0, 1045, 458, 0, 0 },
234 { 1, 0x65, 0x40, 6, 0x17, 0, 0, 0, 0, 0, 638, 321, 0, 0 },
235 { 1, 0x66, 0x40, 6, 0x14, 0, 0, 0, 0, 0, 277, 489, 0, 0 },
236 { 1, 0x67, 0x40, 6, 0x15, 0, 0, 0, 0, 0, 446, 416, 0, 0 },
237 { 1, 0x68, 0x40, 6, 0x16, 0, 0, 0, 0, 0, 542, 367, 0, 0 },
238 { 1, 0, 0x68, 6, 6, 1, 6, 8, 4, 0, 879, 428, 0, 0 },
239 { 1, 0, 0x40, 0xA, 0x4B, 1, 0x4B, 0x4E, 6, 0, 241, 396, 0, 0 },
240 { 1, 0, 0x40, 0xA, 0x4F, 1, 0x4F, 0x52, 6, 0, 226, 450, 0, 0 },
241 { 1, 0, 0x40, 0xA, 0x53, 1, 0x53, 0x56, 6, 0, 1091, 316, 0, 0 },
242 { 1, 0, 0x40, 0xA, 0x57, 1, 0x57, 0x5A, 6, 0, 1103, 338, 0, 0 },
243 { 1, 0, 0x40, 4, 0, 0, 0, 0, 0, 0, 303, 495, 544, 0 },
244 { 1, 0, 0x40, 4, 1, 0, 0, 0, 0, 0, 409, 416, 472, 0 },
245 { 1, 0, 0x40, 4, 2, 0, 0, 0, 0, 0, 510, 375, 423, 0 },
246 { 1, 0, 0x40, 4, 3, 0, 0, 0, 0, 0, 609, 327, 375, 0 },
247 { 1, 0, 0x40, 4, 4, 0, 0, 0, 0, 0, 1051, 192, 246, 0 },
248 { 1, 0, 0x40, 4, 5, 0, 0, 0, 0, 0, 1073, 463, 512, 0 },
249 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
250};
252 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x272, 0x308, 0xE0, 1, 0, 0, 0 },
253 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x27E, 0xE0, 0x14E, 5, 0x66, 0, 0 },
254 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x27C, 0x178, 0x19C, 3, 0x67, 0, 0 },
255 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x27C, 0x218, 0x14C, 3, 0x68, 0, 0 },
256 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x279, 0x116, 0xDA, 3, 0x65, 0, 0 },
257 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x273, 0x60, 0x190, 5, 0, 0, 0 },
258 { { { CODES_END, 0 }, { CODES_END, 0 } }, SLOT_EXIT, 0x275, 0xD8, 0x178, 5, 0x64, 0, 0 },
259 { { { CODES_END, 0 }, { CODES_END, 0 } }, 0, 0, 0, 0, 0, 0, 0, 0 },
260};
261void (*stageFuncs[])(void) = {
263};
265 { -1, NULL, 0, NULL, NULL },
266};
#define NULL
Definition common.h:17
unsigned short u16
Definition common.h:10
The stage overlays (AAA/PRO/WSTAG###.PRO), loaded at 0x800A4CA4 on top of FIELDSTG.
#define FIELD_MAP_FLOOR0
Some of FieldMap's maps (files): those of the floors the player walks on come first,...
Definition field_map.h:85
#define SLOT_EXIT
The kinds of StageSlot (type).
Definition field_map.h:255
#define FIELD_MAP_TRIGGERS
a cell's value: a direction (3 bits) and a StageSlot (5)
Definition field_map.h:88
FieldMap FIELDSTG_map
Definition fieldstg.c:3660
FieldState FIELDSTG_state
Definition fieldstg.c:2641
#define CODES_END
Definition game_state.h:83
#define ITEM(kind, id)
an item, in the bag or equipped; kind (bits 9-11) isn't read, and the scripts set it after the item's...
Definition game_state.h:80
#define FLAG(group, id)
The codes of the (code, value) pairs that FLAGS_00 checks as conditions and applies as actions (event...
Definition game_state.h:68
#define CARD_BATTLE(opponent, kind)
action: startCardBattle
Definition game_state.h:73
#define MUSIC_ASUKA_CITY
ASKA_BGM: the Central Sector's streets and bridges, the Underground Path.
Definition sound.h:78
#define MUSIC_BANK(music)
The sound bank of a music, which a stage loads for it (FieldState.soundBank)
Definition sound.h:148
FIELDSTG's start of the stage (StageEntry.init in FIELDSTG_stages): the stage's task,...
#define FLAG_CARD_BATTLE_WON
set by updateModeFlags on the way back from a card battle: 1 if the player won it (FLAGS_00....
Definition story.h:166
#define FLAG_CARD_BATTLE_ENDED
set by updateModeFlags on the way back from a card battle; the talks that follow one test it and clea...
Definition story.h:169
Where an actor's frames go in VRAM: one of the records after the FieldImage (Actor....
Definition field_map.h:114
A character of the field (FieldState.actors, a list of pointers up to NULL), which FIELDSTG_updateFie...
Definition field_map.h:194
An event of the table FieldState.events, up to the first id -1, which FIELDSTG_startEvent starts.
Definition field_map.h:141
void(* setFile)(s32 index, s32 file)
FIELDSTG_setMapFile.
Definition field_map.h:100
void(* setFirstMap)(s32 index)
FIELDSTG_setFirstMap: the map the player starts on (GAME.mapIndex), when the mode is new.
Definition field_map.h:104
s32 sheetEntry
the stage's sprite sheet, loaded before the field starts, or 0
Definition field_map.h:445
FieldEvent * events
up to the first id -1
Definition field_map.h:451
s32 soundBank
SOUND.loadBank's, or 0.
Definition field_map.h:459
StageTile * objects
the map objects, up to the first margin 0
Definition field_map.h:446
s32 imageFile
or an image archive file, or 0
Definition field_map.h:449
Vec2 start
where the player starts
Definition field_map.h:456
StageSlot * slots
up to the first type 0
Definition field_map.h:447
ActorImage * actors
then the actors', from actors[2]
Definition field_map.h:454
s32 mapFile
the file of the map's tiles (FIELDSTG_createMapStreamer)
Definition field_map.h:444
s32 startDir
and its direction
Definition field_map.h:457
CVECTOR spriteColor
the field's sprites' color, unless cd is 0
Definition field_map.h:458
s32 textFile
the stage's text file, for the talks
Definition field_map.h:461
union FieldState::@12 images
s32 music
SOUND.playSound's, or 0.
Definition field_map.h:460
What a character says (FIELDSTG_runActorAction): the first whose conditions hold, or the last,...
Definition field_map.h:176
What the player can trigger on a map (FIELDSTG_updateTriggers): a record of the table at FieldState....
Definition field_map.h:276
An object of a map, which FIELDSTG draws: a record of the table at FieldState.objects,...
Definition field_map.h:208
Definition gfx.h:352
u16 actor1Conditions[]
Definition wstag920.c:103
FieldActorEntry actor0
Definition wstag920.c:105
void(* stageFuncs[])(void)
The stage's functions (common/start_stage.inc.c calls the first): a StageFuncs in the stages with a t...
Definition wstag920.c:261
FieldActorEntry actor6
Definition wstag920.c:111
FieldTalk actor2Talks[]
Definition wstag920.c:83
FieldTalk actor5Talks[]
Definition wstag920.c:95
u16 actor1Talk3Actions[]
Definition wstag920.c:71
FieldActorEntry actor5
Definition wstag920.c:110
u16 actor1Talk2Actions[]
Definition wstag920.c:69
u16 actor1Talk1Conditions[]
Definition wstag920.c:66
FieldActorEntry actor2
Definition wstag920.c:107
const CVECTOR stageColor
the color the setup copies to FIELDSTG_state.spriteColor
Definition wstag920.c:14
#define STAGE_FILE_8
Definition wstag920.c:18
FieldActorEntry * stageActors[]
Definition wstag920.c:112
FieldTalk actor1Talks[]
Definition wstag920.c:76
u16 actor1Talk0Conditions[]
Definition wstag920.c:59
FieldTalk actor0Talks[]
Definition wstag920.c:72
FieldTalk actor4Talks[]
Definition wstag920.c:91
FieldActorEntry actor4
Definition wstag920.c:109
ActorImage stageImages[]
Definition wstag920.c:45
u16 actor1Talk1Actions[]
Definition wstag920.c:67
FieldTalk actor6Talks[]
Definition wstag920.c:99
void setupStage(void)
Sets the stage up: its map, actors and events, playing ASKA_BGM.
Definition wstag920.c:25
StageTile stageObjects[]
The tables and color setupStage gives FIELDSTG_state (FieldState)
Definition wstag920.c:122
FieldTalk actor3Talks[]
Definition wstag920.c:87
StageSlot stageSlots[]
Definition wstag920.c:251
u16 actor1Talk0Actions[]
Definition wstag920.c:60
u16 actor1Talk2Conditions[]
Definition wstag920.c:68
FieldActorEntry actor1
Definition wstag920.c:106
#define STAGE_FILE
Definition wstag920.c:17
u16 actor2Conditions[]
Definition wstag920.c:104
#define STAGE_TEXT
Definition wstag920.c:16
FieldActorEntry actor3
Definition wstag920.c:108
FieldEvent stageEvents[]
Definition wstag920.c:264
u16 actor1Talk3Conditions[]
Definition wstag920.c:70