87 for (i = 1; i < numParts; i++, data++) {
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 };
115 effect->
flags &= ~FX_INSTANCE_FLAG_DISMISS;
129 if (data->
unk_2C > 324000) {
137 unk_34 = data->
scale;
148 if (unk_38 < unk_3C) {
153 if (data->
pos.
y > -500.0f) {
156 }
else if (unk_3C < unk_38) {
167 for (i = 1; i < effect->
numParts; i++, data++) {
168 if (data->
unk_28 < 9 && type != 10) {
192 data->
unk_20 *= (f32) unk_28 * 0.05;
195 data->
alpha = unk_28 * 25;
209 if (data->
type != 1) {
224 G_MTX_PUSH | G_MTX_MUL | G_MTX_MODELVIEW);
240 G_MTX_PUSH | G_MTX_MUL | G_MTX_MODELVIEW);
243 if (data->
alpha == 255) {
244 gDPSetRenderMode(
gMainGfxPos++, AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA |
245 GBL_c1(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM),
246 AA_EN | CVG_DST_FULL | ZMODE_OPA | CVG_X_ALPHA |
247 GBL_c2(G_BL_CLR_IN, G_BL_A_IN, G_BL_CLR_MEM, G_BL_A_MEM));
248 gDPSetCombineMode(
gMainGfxPos++, G_CC_MODULATEIDECALA, G_CC_MODULATEIDECALA);
250 gDPSetRenderMode(
gMainGfxPos++, G_RM_CLD_SURF, G_RM_CLD_SURF2);
268 for (i = 1; i < effect->
numParts; i++, data++) {
269 if (unk_38 > 0 || type == 10) {
295 for (i = 1; i < effect->
numParts; i++, data++) {
303 s32 ones = unk_38 % 10;
304 s32 tens = unk_38 / 10;
void func_E00828B4(EffectInstance *effect)
void func_E0082580(DisableXFXData *data)
void func_E0082A84(EffectInstance *effect)
EffectInstance * disable_x_main(s32 type, f32 x, f32 y, f32 z, s32 arg4)
void func_E0082528(EffectInstance *effect)
void disable_x_init(EffectInstance *effect)
void func_E00826C4(DisableXFXData *data)
void disable_x_update(EffectInstance *effect)
void disable_x_render(EffectInstance *effect)
#define general_heap_malloc
#define sfx_play_sound_at_position
#define create_effect_instance
struct DisableXFXData * disableX
struct EffectGraphics * graphics
#define ASSERT(condition)
@ FX_INSTANCE_FLAG_DISMISS
#define VIRTUAL_TO_PHYSICAL(addr)
void(* renderUI)(EffectInstance *effectInst)
void(* init)(EffectInstance *effectInst)
void(* update)(EffectInstance *effectInst)
void(* renderWorld)(EffectInstance *effectInst)
DisplayContext * gDisplayContext