Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
PinkFlower_anim.c
Go to the documentation of this file.
1#include "common.h"
2#include "animation_script.h"
3
8
11 .pos = { 0.0f, -30.0f, 0.0f },
12 .sibling = ENTITY_ANIM_NULL,
13 .child = ENTITY_ANIM_NULL,
14};
15
18 .pos = { 0.0f, 30.0f, 0.0f },
19 .sibling = ENTITY_ANIM_NULL,
21};
22
28
34
40
49
52 as_SetRotation(1, 0.0, 0.0, 0.0)
53 as_SetPos(1, 0, 0, 0)
54 as_SetScale(1, 1.0, 1.0, 1.0)
55 as_SetRotation(2, 0.0, 0.0, 0.0)
56 as_SetPos(2, 0, 0, 0)
57 as_SetScale(2, 1.0, 1.0, 1.0)
58 as_SetRotation(3, 0.0, 0.0, 0.0)
59 as_SetPos(3, 0, 0, 0)
60 as_SetScale(3, 1.0, 1.0, 1.0)
61 as_SetRotation(4, 0.0, 0.0, 0.0)
62 as_SetPos(4, 0, 30, 0)
63 as_SetScale(4, 1.0, 1.0, 1.0)
64 as_SetRotation(5, 0.0, 0.0, 0.0)
65 as_SetPos(5, 0, -30, 0)
66 as_SetScale(5, 1.2, 1.2, 1.2)
67 as_Wait(1)
68 as_SetRotation(1, 0.0, 0.0, -14.995)
69 as_SetRotation(2, 0.0, 0.0, -30.0)
70 as_SetRotation(3, 0.0, 0.0, 30.0)
71 as_SetRotation(4, 0.0, 0.0, -30.0)
72 as_SetScale(4, 1.245, 1.245, 1.245)
73 as_Wait(1)
74 as_SetRotation(1, 0.0, 0.0, -15.3)
75 as_SetRotation(2, 0.0, 0.0, -23.75)
76 as_SetRotation(3, 0.0, 0.0, 23.75)
77 as_SetRotation(4, 0.0, 0.0, -40.495)
78 as_SetScale(4, 0.98, 0.98, 0.98)
79 as_Wait(1)
80 as_SetRotation(1, 0.0, 0.0, -15.355)
81 as_SetRotation(2, 0.0, 0.0, -14.995)
82 as_SetRotation(3, 0.0, 0.0, 14.995)
83 as_SetRotation(4, 0.0, 0.0, -44.995)
84 as_SetScale(4, 0.745, 0.745, 0.745)
85 as_Wait(1)
86 as_SetRotation(1, 0.0, 0.0, -15.19)
87 as_SetRotation(2, 0.0, 0.0, -18.725)
88 as_SetRotation(3, 0.0, 0.0, 18.725)
89 as_SetRotation(4, 0.0, 0.0, -46.33)
90 as_SetScale(4, 0.875, 0.875, 0.875)
91 as_Wait(1)
92 as_SetRotation(1, 0.0, 0.0, -14.825)
93 as_SetRotation(2, 0.0, 0.0, -25.79)
94 as_SetRotation(3, 0.0, 0.0, 25.79)
95 as_SetRotation(4, 0.0, 0.0, -45.665)
96 as_SetScale(4, 1.11, 1.11, 1.11)
97 as_Wait(1)
98 as_SetRotation(1, 0.0, 0.0, -14.285)
99 as_SetRotation(2, 0.0, 0.0, -30.0)
100 as_SetRotation(3, 0.0, 0.0, 30.0)
101 as_SetRotation(4, 0.0, 0.0, -44.995)
102 as_SetScale(4, 1.245, 1.245, 1.245)
103 as_Wait(1)
104 as_SetRotation(1, 0.0, 0.0, -13.585)
105 as_SetRotation(2, 0.0, 0.0, -30.675)
106 as_SetRotation(3, 0.0, 0.0, 30.675)
107 as_SetRotation(4, 0.0, 0.0, -45.13)
108 as_SetScale(4, 1.25, 1.25, 1.25)
109 as_Wait(1)
110 as_SetRotation(1, 0.0, 0.0, -12.745)
111 as_SetRotation(2, 0.0, 0.0, -31.285)
112 as_SetRotation(3, 0.0, 0.0, 31.285)
113 as_SetRotation(4, 0.0, 0.0, -45.44)
114 as_SetScale(4, 1.235, 1.235, 1.235)
115 as_Wait(1)
116 as_SetRotation(1, 0.0, 0.0, -11.79)
117 as_SetRotation(2, 0.0, 0.0, -31.81)
118 as_SetRotation(3, 0.0, 0.0, 31.81)
119 as_SetRotation(4, 0.0, 0.0, -45.83)
120 as_SetScale(4, 1.2, 1.2, 1.2)
121 as_Wait(1)
122 as_SetRotation(1, 0.0, 0.0, -10.74)
123 as_SetRotation(2, 0.0, 0.0, -32.275)
124 as_SetRotation(3, 0.0, 0.0, 32.275)
125 as_SetRotation(4, 0.0, 0.0, -46.18)
126 as_SetScale(4, 1.155, 1.155, 1.155)
127 as_Wait(1)
128 as_SetRotation(1, 0.0, 0.0, -9.62)
129 as_SetRotation(2, 0.0, 0.0, -32.65)
130 as_SetRotation(3, 0.0, 0.0, 32.65)
131 as_SetRotation(4, 0.0, 0.0, -46.385)
132 as_SetScale(4, 1.1, 1.1, 1.1)
133 as_Wait(1)
134 as_SetRotation(1, 0.0, 0.0, -8.45)
135 as_SetRotation(2, 0.0, 0.0, -32.955)
136 as_SetRotation(3, 0.0, 0.0, 32.955)
137 as_SetRotation(4, 0.0, 0.0, -46.33)
138 as_SetScale(4, 1.055, 1.055, 1.055)
139 as_Wait(1)
140 as_SetRotation(1, 0.0, 0.0, -7.24)
141 as_SetRotation(2, 0.0, 0.0, -33.18)
142 as_SetRotation(3, 0.0, 0.0, 33.18)
143 as_SetRotation(4, 0.0, 0.0, -45.9)
144 as_SetScale(4, 1.015, 1.015, 1.015)
145 as_Wait(1)
146 as_SetRotation(1, 0.0, 0.0, -6.025)
147 as_SetRotation(2, 0.0, 0.0, -33.325)
148 as_SetRotation(3, 0.0, 0.0, 33.325)
149 as_SetRotation(4, 0.0, 0.0, -44.995)
150 as_SetScale(4, 1.0, 1.0, 1.0)
151 as_Wait(1)
152 as_SetRotation(1, 0.0, 0.0, -4.825)
153 as_SetRotation(2, 0.0, 0.0, -33.385)
154 as_SetRotation(3, 0.0, 0.0, 33.385)
155 as_SetRotation(4, 0.0, 0.0, -43.745)
156 as_SetScale(4, 0.99, 0.99, 0.99)
157 as_Wait(1)
158 as_SetRotation(1, 0.0, 0.0, -3.655)
159 as_SetRotation(2, 0.0, 0.0, -33.355)
160 as_SetRotation(3, 0.0, 0.0, 33.355)
161 as_SetRotation(4, 0.0, 0.0, -42.36)
162 as_SetScale(4, 0.985, 0.985, 0.985)
163 as_Wait(1)
164 as_SetRotation(1, 0.0, 0.0, -2.53)
165 as_SetRotation(2, 0.0, 0.0, -33.25)
166 as_SetRotation(3, 0.0, 0.0, 33.25)
167 as_SetRotation(4, 0.0, 0.0, -40.86)
168 as_Wait(1)
169 as_SetRotation(1, 0.0, 0.0, -1.495)
170 as_SetRotation(2, 0.0, 0.0, -33.055)
171 as_SetRotation(3, 0.0, 0.0, 33.055)
172 as_SetRotation(4, 0.0, 0.0, -39.255)
173 as_SetScale(4, 0.98, 0.98, 0.98)
174 as_Wait(1)
175 as_SetRotation(1, 0.0, 0.0, -0.545)
176 as_SetRotation(2, 0.0, 0.0, -32.775)
177 as_SetRotation(3, 0.0, 0.0, 32.775)
178 as_SetRotation(4, 0.0, 0.0, -37.55)
179 as_SetScale(4, 0.97, 0.97, 0.97)
180 as_Wait(1)
181 as_SetRotation(1, 0.0, 0.0, 0.275)
182 as_SetRotation(2, 0.0, 0.0, -32.4)
183 as_SetRotation(3, 0.0, 0.0, 32.4)
184 as_SetRotation(4, 0.0, 0.0, -35.775)
185 as_Wait(1)
186 as_SetRotation(1, 0.0, 0.0, 0.965)
187 as_SetRotation(2, 0.0, 0.0, -31.94)
188 as_SetRotation(3, 0.0, 0.0, 31.94)
189 as_SetRotation(4, 0.0, 0.0, -33.915)
190 as_Wait(1)
191 as_SetRotation(1, 0.0, 0.0, 1.5)
192 as_SetRotation(2, 0.0, 0.0, -31.385)
193 as_SetRotation(3, 0.0, 0.0, 31.385)
194 as_SetRotation(4, 0.0, 0.0, -32.01)
195 as_SetScale(4, 0.965, 0.965, 0.965)
196 as_Wait(1)
197 as_SetRotation(1, 0.0, 0.0, 1.85)
198 as_SetRotation(2, 0.0, 0.0, -30.74)
199 as_SetRotation(3, 0.0, 0.0, 30.74)
200 as_SetRotation(4, 0.0, 0.0, -30.055)
201 as_Wait(1)
202 as_SetRotation(1, 0.0, 0.0, 2.0)
203 as_SetRotation(2, 0.0, 0.0, -30.0)
204 as_SetRotation(3, 0.0, 0.0, 30.0)
205 as_SetRotation(4, 0.0, 0.0, -28.065)
206 as_Wait(1)
207 as_SetRotation(1, 0.0, 0.0, 2.02)
208 as_SetRotation(2, 0.0, 0.0, -29.065)
209 as_SetRotation(3, 0.0, 0.0, 29.065)
210 as_SetRotation(4, 0.0, 0.0, -26.06)
211 as_Wait(1)
212 as_SetRotation(1, 0.0, 0.0, 2.005)
213 as_SetRotation(2, 0.0, 0.0, -27.88)
214 as_SetRotation(3, 0.0, 0.0, 27.88)
215 as_SetRotation(4, 0.0, 0.0, -24.04)
216 as_Wait(1)
217 as_SetRotation(1, 0.0, 0.0, 1.96)
218 as_SetRotation(2, 0.0, 0.0, -26.46)
219 as_SetRotation(3, 0.0, 0.0, 26.46)
220 as_SetRotation(4, 0.0, 0.0, -22.03)
221 as_SetScale(4, 0.965, 0.97, 0.97)
222 as_Wait(1)
223 as_SetRotation(1, 0.0, 0.0, 1.895)
224 as_SetRotation(2, 0.0, 0.0, -24.855)
225 as_SetRotation(3, 0.0, 0.0, 24.855)
226 as_SetRotation(4, 0.0, 0.0, -20.03)
227 as_SetScale(4, 0.97, 0.97, 0.97)
228 as_Wait(1)
229 as_SetRotation(1, 0.0, 0.0, 1.795)
230 as_SetRotation(2, 0.0, 0.0, -23.09)
231 as_SetRotation(3, 0.0, 0.0, 23.09)
232 as_SetRotation(4, 0.0, 0.0, -18.055)
233 as_Wait(1)
234 as_SetRotation(1, 0.0, 0.0, 1.685)
235 as_SetRotation(2, 0.0, 0.0, -21.2)
236 as_SetRotation(3, 0.0, 0.0, 21.2)
237 as_SetRotation(4, 0.0, 0.0, -16.125)
238 as_Wait(1)
239 as_SetRotation(1, 0.0, 0.0, 1.555)
240 as_SetRotation(2, 0.0, 0.0, -19.21)
241 as_SetRotation(3, 0.0, 0.0, 19.21)
242 as_SetRotation(4, 0.0, 0.0, -14.245)
243 as_SetScale(4, 0.98, 0.98, 0.98)
244 as_Wait(1)
245 as_SetRotation(1, 0.0, 0.0, 1.41)
246 as_SetRotation(2, 0.0, 0.0, -17.16)
247 as_SetRotation(3, 0.0, 0.0, 17.16)
248 as_SetRotation(4, 0.0, 0.0, -12.425)
249 as_Wait(1)
250 as_SetRotation(1, 0.0, 0.0, 1.26)
251 as_SetRotation(2, 0.0, 0.0, -15.09)
252 as_SetRotation(3, 0.0, 0.0, 15.09)
253 as_SetRotation(4, 0.0, 0.0, -10.685)
254 as_Wait(1)
255 as_SetRotation(1, 0.0, 0.0, 1.1)
256 as_SetRotation(2, 0.0, 0.0, -13.025)
257 as_SetRotation(3, 0.0, 0.0, 13.025)
258 as_SetRotation(4, 0.0, 0.0, -9.03)
259 as_SetScale(4, 0.985, 0.985, 0.985)
260 as_Wait(1)
261 as_SetRotation(1, 0.0, 0.0, 0.94)
262 as_SetRotation(2, 0.0, 0.0, -11.0)
263 as_SetRotation(3, 0.0, 0.0, 11.0)
264 as_SetRotation(4, 0.0, 0.0, -7.475)
265 as_Wait(1)
266 as_SetRotation(1, 0.0, 0.0, 0.78)
267 as_SetRotation(2, 0.0, 0.0, -9.04)
268 as_SetRotation(3, 0.0, 0.0, 9.04)
269 as_SetRotation(4, 0.0, 0.0, -6.035)
270 as_SetScale(4, 0.99, 0.99, 0.99)
271 as_Wait(1)
272 as_SetRotation(1, 0.0, 0.0, 0.625)
273 as_SetRotation(2, 0.0, 0.0, -7.19)
274 as_SetRotation(3, 0.0, 0.0, 7.19)
275 as_SetRotation(4, 0.0, 0.0, -4.72)
276 as_Wait(1)
277 as_SetRotation(1, 0.0, 0.0, 0.48)
278 as_SetRotation(2, 0.0, 0.0, -5.48)
279 as_SetRotation(3, 0.0, 0.0, 5.48)
280 as_SetRotation(4, 0.0, 0.0, -3.54)
281 as_Wait(1)
282 as_SetRotation(1, 0.0, 0.0, 0.345)
283 as_SetRotation(2, 0.0, 0.0, -3.945)
284 as_SetRotation(3, 0.0, 0.0, 3.945)
285 as_SetRotation(4, 0.0, 0.0, -2.51)
286 as_SetScale(4, 0.995, 0.995, 0.995)
287 as_Wait(1)
288 as_SetRotation(1, 0.0, 0.0, 0.23)
289 as_SetRotation(2, 0.0, 0.0, -2.61)
290 as_SetRotation(3, 0.0, 0.0, 2.61)
291 as_SetRotation(4, 0.0, 0.0, -1.635)
292 as_Wait(1)
293 as_SetRotation(1, 0.0, 0.0, 0.13)
294 as_SetRotation(2, 0.0, 0.0, -1.515)
295 as_SetRotation(3, 0.0, 0.0, 1.515)
296 as_SetRotation(4, 0.0, 0.0, -0.94)
297 as_Wait(1)
298 as_SetRotation(1, 0.0, 0.0, 0.06)
299 as_SetRotation(2, 0.0, 0.0, -0.7)
300 as_SetRotation(3, 0.0, 0.0, 0.7)
301 as_SetRotation(4, 0.0, 0.0, -0.425)
302 as_Wait(1)
303 as_SetRotation(1, 0.0, 0.0, 0.01)
304 as_SetRotation(2, 0.0, 0.0, -0.175)
305 as_SetRotation(3, 0.0, 0.0, 0.175)
306 as_SetRotation(4, 0.0, 0.0, -0.105)
307 as_SetScale(4, 0.995, 1.0, 1.0)
308 as_Wait(1)
309 as_SetRotation(1, 0.0, 0.0, 0.0)
310 as_SetRotation(2, 0.0, 0.0, 0.0)
311 as_SetRotation(3, 0.0, 0.0, 0.0)
312 as_SetRotation(4, 0.0, 0.0, 0.0)
313 as_SetScale(4, 1.0, 1.0, 1.0)
314 as_Wait(1)
315 as_Loop
316 as_SetRotation(1, 0.0, 0.0, 0.0)
317 as_SetPos(1, 0, 0, 0)
318 as_SetScale(1, 1.0, 1.0, 1.0)
319 as_SetRotation(2, 0.0, 0.0, 0.0)
320 as_SetPos(2, 0, 0, 0)
321 as_SetScale(2, 1.0, 1.0, 1.0)
322 as_SetRotation(3, 0.0, 0.0, 0.0)
323 as_SetPos(3, 0, 0, 0)
324 as_SetScale(3, 1.0, 1.0, 1.0)
325 as_SetRotation(4, 0.0, 0.0, 0.0)
326 as_SetPos(4, 0, 30, 0)
327 as_SetScale(4, 1.0, 1.0, 1.0)
328 as_SetRotation(5, 0.0, 0.0, 0.0)
329 as_SetPos(5, 0, -30, 0)
330 as_SetScale(5, 1.2, 1.2, 1.2)
331 as_Wait(1)
333 as_End
334};
335
338 as_SetRotation(1, 0.0, 0.0, 0.0)
339 as_SetPos(1, 0, 0, 0)
340 as_SetScale(1, 1.0, 1.0, 1.0)
341 as_SetRotation(2, 0.0, 0.0, 0.0)
342 as_SetPos(2, 0, 0, 0)
343 as_SetScale(2, 1.0, 1.0, 1.0)
344 as_SetRotation(3, 0.0, 0.0, 0.0)
345 as_SetPos(3, 0, 0, 0)
346 as_SetScale(3, 1.0, 1.0, 1.0)
347 as_SetRotation(4, 0.0, 0.0, 0.0)
348 as_SetPos(4, 0, 30, 0)
349 as_SetScale(4, 1.0, 1.0, 1.0)
350 as_SetRotation(5, 0.0, 0.0, 0.0)
351 as_SetPos(5, 0, -30, 0)
352 as_SetScale(5, 1.2, 1.2, 1.2)
353 as_Wait(1)
355 as_End
356};
StaticAnimatorNode Entity_PinkFlower_Node4
AnimScript Entity_PinkFlower_AnimationLightUp
Gfx Entity_PinkFlower_RenderNode3[]
StaticAnimatorNode * Entity_PinkFlower_Mesh[]
Gfx Entity_PinkFlower_RenderNode2[]
Gfx Entity_PinkFlower_RenderNode5[]
StaticAnimatorNode Entity_PinkFlower_Node3
StaticAnimatorNode Entity_PinkFlower_Node2
Gfx Entity_PinkFlower_RenderNode1[]
StaticAnimatorNode Entity_PinkFlower_Node1
StaticAnimatorNode Entity_PinkFlower_Node5
AnimScript Entity_PinkFlower_AnimationIdle
#define as_Wait(time)
#define as_DisableMirroring
s16 AnimScript[]
#define as_SetPos(node, x, y, z)
#define as_SetRotation(node, x, y, z)
#define as_SetScale(node, x, y, z)
#define as_End
#define as_Loop
#define ENTITY_ANIM_NULL
#define as_Restart
struct StaticAnimatorNode * child