21 0x40, 0x68, 0x90, 0xA4, 0xB8, 0xC0, 0xD0, 0xD8,
22 0xE0, 0xE8, 0xF0, 0xF8, 0xFF, 0x00, 0x00, 0x00
26 0x0A, 0x14, 0x1C, 0x23, 0x2A, 0x30, 0x35, 0x39,
27 0x3C, 0x3E, 0x3F, 0x40, 0x41, 0x00, 0x00, 0x00
31 0xFF, 0xFF, 0xC8, 0x82, 0x3C, 0x00, 0x00, 0x00,
32 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
33 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
34 0x00, 0x00, 0x00, 0x00
175 f32 temp_f32 = part->
unk_38 * 5.0f;
177 s32 temp_s32 = temp_f32;
185 s32 unk_34 = part->
unk_34;
186 s32 unk_00 = part->
unk_00;
206 envA = (temp_f32 - temp_s32) * 256.0f;
208 cond = (temp_s32 >= 4);
212 if (unk_34 - 1 < 13) {
218 primG = (part->
unk_3D * var_v1) >> 8;
219 primB = (part->
unk_3E * var_v1) >> 8;
220 envR = (part->
unk_3F * var_v1) >> 8;
221 envG = (part->
unk_40 * var_v1) >> 8;
222 engB = (part->
unk_41 * var_v1) >> 8;
225 if (unk_34 % 2 == 0) {
261 for (i = 1; i < effect->
numParts; i++, part++) {
279 gDPSetPrimColor(
gMainGfxPos++, 0, 0, primR, primG, primB, primA);
280 gDPSetEnvColor(
gMainGfxPos++, envR, envG, engB, envA);
283 guRotateF(sp20, 120.0f, 1.0f, 1.0f, 1.0f);
EffectInstance * firework_main(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5)