Go to the source code of this file.
◆ disable_x_init()
◆ disable_x_update()
Definition at line 102 of file disable_x.c.
102 {
103 static const f32 D_E0082D30[12] = { 5.0f, 4.0f, 4.0f, 3.0f, 2.0f, 1.0f, 0.7f, 1.2f, 1.0f, 0.0f, 0.0f, 0.0f };
104
106 s32 unk_28;
107 s32 unk_2C;
109 s32 unk_3C;
110 s32 unk_38;
112 s32 i;
113
117 }
118
121 }
122
125 return;
126 }
127
129 if (data->
unk_2C > 324000) {
131 }
132
137 unk_34 = data->
scale;
139
140 if (type == 0) {
143 } else {
146 unk_3C = 0;
147 }
148 if (unk_38 < unk_3C) {
153 if (data->
pos.
y > -500.0f) {
155 }
156 } else if (unk_3C < unk_38) {
160 }
162 }
163 }
164 }
165
166 data++;
167 for (i = 1; i < effect->
numParts; i++, data++) {
168 if (data->
unk_28 < 9 && type != 10) {
170 } else {
172 }
173
175 if (type < 2) {
177 } else {
179 }
180
184
185 if (unk_28 == 20) {
188 }
189 if (unk_28 < 20) {
193 }
194 if (unk_28 < 10) {
195 data->
alpha = unk_28 * 25;
196 }
198 }
199}
BSS s32 PopupMenu_SelectedIndex
EffectInstance * disable_x_main(s32 type, f32 x, f32 y, f32 z, s32 arg4)
#define sfx_play_sound_at_position
struct DisableXFXData * disableX
EffectInstanceDataPtr data
@ FX_INSTANCE_FLAG_DISMISS
Referenced by disable_x_main().
◆ disable_x_render()
◆ func_E0082528()
Definition at line 204 of file disable_x.c.
204 {
206
209 if (data->
type != 1) {
211 }
212 }
213}
void func_E00828B4(EffectInstance *effect)
void func_E0082A84(EffectInstance *effect)
Referenced by disable_x_main().
◆ func_E00828B4()
Definition at line 255 of file disable_x.c.
255 {
257 s32 type;
258 s32 unk_38;
259 s32 i;
260
266
267 data++;
268 for (i = 1; i < effect->
numParts; i++, data++) {
269 if (unk_38 > 0 || type == 10) {
270 if (type == 1) {
272 } else {
274 }
278 }
279 }
282}
void func_E0082580(DisableXFXData *data)
void func_E00826C4(DisableXFXData *data)
struct EffectSharedData * shared
#define VIRTUAL_TO_PHYSICAL(addr)
Referenced by func_E0082528().
◆ func_E0082A84()
Definition at line 284 of file disable_x.c.
284 {
286 s32 unk_38;
287 s32 i;
288
293
294 data++;
295 for (i = 1; i < effect->
numParts; i++, data++) {
297 if (unk_38 > 0) {
299 if (unk_38 < 10) {
302 } else {
303 s32
ones = unk_38 % 10;
304 s32
tens = unk_38 / 10;
305
311 }
312 }
314 }
317}
Referenced by func_E0082528().
◆ disable_x_main()
Definition at line 36 of file disable_x.c.
36 {
40 s32 numParts = 2;
41 s32 i;
42
49
55
58 if (type == 1) {
61 } else {
64 }
65
69
70 switch (type) {
71 case 0:
73 break;
74 case 1:
76 break;
77 case 10:
79 break;
80 }
81
85
86 data++;
87 for (i = 1; i < numParts; i++, data++) {
94 }
95
96 return effect;
97}
void func_E0082528(EffectInstance *effect)
void disable_x_init(EffectInstance *effect)
void disable_x_update(EffectInstance *effect)
void disable_x_render(EffectInstance *effect)
#define general_heap_malloc
#define create_effect_instance
#define ASSERT(condition)
Referenced by disable_x_update().
◆ func_E0082580()
◆ func_E00826C4()
◆ D_09002100_3884B0
◆ D_09002198_388548
◆ D_09002230_3885E0
◆ D_09002250_388600
◆ D_09002270_388620
◆ D_09002290_388640
◆ D_090022B0_388660
◆ D_09002320_3886D0
◆ D_09002360_388710
◆ D_090023A0_388750
◆ D_090023E0_388790
◆ D_09002420_3887D0
◆ D_09002460_388810
◆ D_090024A0_388850
◆ D_090024E0_388890
◆ D_09002520_3888D0
◆ D_09002560_388910
◆ D_090025A0_388950
◆ D_090025E0_388990
◆ D_E0082D00