Go to the source code of this file.
◆ spiky_white_aura_init()
◆ spiky_white_aura_update()
Definition at line 125 of file spiky_white_aura.c.
125 {
127 s32 unk_28;
128 s32 unk_2C;
129 s32 i;
130
133
134 if (
part->unk_28 < 0) {
136 return;
137 }
138
139 unk_28 =
part->unk_28;
140 unk_2C =
part->unk_2C;
141
143 if (unk_28 >= 6) {
147 part->unk_24 += (255 -
part->unk_24) * 0.4;
149 }
150
151 if (unk_28 < 5) {
157 }
158
162 }
163}
BSS s32 PopupMenu_SelectedIndex
struct SpikyWhiteAuraFXData * spikyWhiteAura
EffectInstanceDataPtr data
Referenced by spiky_white_aura_main().
◆ spiky_white_aura_render()
Definition at line 165 of file spiky_white_aura.c.
165 {
168
173
176}
#define queue_render_task
@ RENDER_TASK_FLAG_REFLECT_FLOOR
@ RENDER_MODE_CLOUD_NO_ZCMP
void spiky_white_aura_appendGfx(void *effect)
void(* appendGfx)(void *)
Referenced by spiky_white_aura_main().
◆ spiky_white_aura_appendGfx()
void spiky_white_aura_appendGfx |
( |
void * | effect | ) |
|
Definition at line 178 of file spiky_white_aura.c.
178 {
182 s32 i;
183
187
197
202 }
203}
#define VIRTUAL_TO_PHYSICAL(addr)
Gfx * D_09000440_34EBB0[]
Gfx * D_090004E8_34EC58[]
DisplayContext * gDisplayContext
Referenced by spiky_white_aura_render().
◆ spiky_white_aura_main()
void spiky_white_aura_main |
( |
s32 | arg0, |
|
|
f32 | arg1, |
|
|
f32 | arg2, |
|
|
f32 | arg3, |
|
|
s32 | arg4 ) |
Definition at line 28 of file spiky_white_aura.c.
28 {
33 s32 numParts = 5;
45 s32 i;
46
50
54
59 }
else if (
fs2 != 0.0f) {
63 } else {
67 }
68
72
76
83
88
89 for (i = 0; i < numParts; i++,
part++) {
92
97
100
101 if (numParts != 1) {
102 rotateA = (i * 100) / (numParts - 1) - 50;
103 } else {
105 }
106
108
112 part->unk_1C = 50 - (i * 100) / (numParts - 1);
117 }
118 }
119 }
120}
#define general_heap_malloc
#define create_effect_instance
#define ASSERT(condition)
void spiky_white_aura_init(EffectInstance *effect)
void spiky_white_aura_update(EffectInstance *effect)
void spiky_white_aura_render(EffectInstance *effect)
◆ D_09000440_34EBB0
◆ D_090004E8_34EC58
◆ D_E00389F0
Initial value:= {
254, 172, 172,
254, 172, 213,
254, 180, 154,
213, 180, 254,
180, 180, 254,
180, 221, 254,
180, 254, 254,
180, 254, 213,
180, 254, 180,
213, 254, 180,
254, 254, 180,
254, 213, 172,
}
Definition at line 8 of file spiky_white_aura.c.
8 {
9 254, 172, 172,
10 254, 172, 213,
11 254, 180, 154,
12 213, 180, 254,
13 180, 180, 254,
14 180, 221, 254,
15 180, 254, 254,
16 180, 254, 213,
17 180, 254, 180,
18 213, 254, 180,
19 254, 254, 180,
20 254, 213, 172,
21};