Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
battle_ui_gfx.c
Go to the documentation of this file.
1#include "common.h"
2#include "hud_element.h"
3#include "include_asset.h"
4
5INCLUDE_IMG("ui/battle/menu/unused.png", ui_battle_menu_unused_png);
6INCLUDE_PAL("ui/battle/menu/unused.pal", ui_battle_menu_unused_pal);
7#define ui_battle_menu_unused_disabled_png ui_battle_menu_unused_png
8INCLUDE_PAL("ui/battle/menu/unused.disabled.pal", ui_battle_menu_unused_disabled_pal);
9
10INCLUDE_IMG("ui/battle/menu/flee.png", ui_battle_menu_flee_png);
11INCLUDE_PAL("ui/battle/menu/flee.pal", ui_battle_menu_flee_pal);
12#define ui_battle_menu_flee_disabled_png ui_battle_menu_flee_png
13INCLUDE_PAL("ui/battle/menu/flee.disabled.pal", ui_battle_menu_flee_disabled_pal);
14
15INCLUDE_IMG("ui/battle/menu/defend.png", ui_battle_menu_defend_png);
16INCLUDE_PAL("ui/battle/menu/defend.pal", ui_battle_menu_defend_pal);
17#define ui_battle_menu_defend_disabled_png ui_battle_menu_defend_png
18INCLUDE_PAL("ui/battle/menu/defend.disabled.pal", ui_battle_menu_defend_disabled_pal);
19
20INCLUDE_IMG("ui/battle/menu/strategies.png", ui_battle_menu_strategies_png);
21INCLUDE_PAL("ui/battle/menu/strategies.pal", ui_battle_menu_strategies_pal);
22#define ui_battle_menu_strategies_disabled_png ui_battle_menu_strategies_png
23INCLUDE_PAL("ui/battle/menu/strategies.disabled.pal", ui_battle_menu_strategies_disabled_pal);
24
25INCLUDE_IMG("ui/battle/menu/nothing.png", ui_battle_menu_nothing_png);
26INCLUDE_PAL("ui/battle/menu/nothing.pal", ui_battle_menu_nothing_pal);
27#define ui_battle_menu_nothing_disabled_png ui_battle_menu_nothing_png
28INCLUDE_PAL("ui/battle/menu/nothing.disabled.pal", ui_battle_menu_nothing_disabled_pal);
29
30INCLUDE_IMG("ui/battle/menu/pouch.png", ui_battle_menu_pouch_png);
31INCLUDE_PAL("ui/battle/menu/pouch.pal", ui_battle_menu_pouch_pal);
32#define ui_battle_menu_pouch_disabled_png ui_battle_menu_pouch_png
33INCLUDE_PAL("ui/battle/menu/pouch.disabled.pal", ui_battle_menu_pouch_disabled_pal);
34
35INCLUDE_IMG("ui/battle/swap_Z.png", ui_battle_swap_Z_png);
36INCLUDE_PAL("ui/battle/swap_Z.pal", ui_battle_swap_Z_pal);
37
38INCLUDE_IMG("ui/battle/swap_arrow_left.png", ui_battle_swap_arrow_left_png);
39INCLUDE_PAL("ui/battle/swap_arrow_left.pal", ui_battle_swap_arrow_left_pal);
40
41INCLUDE_IMG("ui/battle/swap_arrow_right.png", ui_battle_swap_arrow_right_png);
42INCLUDE_PAL("ui/battle/swap_arrow_right.pal", ui_battle_swap_arrow_right_pal);
43
44INCLUDE_IMG("ui/battle/menu/spirits.png", ui_battle_menu_spirits_png);
45INCLUDE_PAL("ui/battle/menu/spirits.pal", ui_battle_menu_spirits_pal);
46
47INCLUDE_IMG("ui/battle/yellow_arrow.png", ui_battle_yellow_arrow_png);
48INCLUDE_PAL("ui/battle/yellow_arrow.pal", ui_battle_yellow_arrow_pal);
49
50INCLUDE_IMG("ui/battle/hp_bar.png", ui_battle_hp_bar_png);
51INCLUDE_PAL("ui/battle/hp_bar.pal", ui_battle_hp_bar_pal);
52
53INCLUDE_IMG("ui/battle/hp_0.png", ui_battle_hp_0_png);
54INCLUDE_PAL("ui/battle/hp_0.pal", ui_battle_hp_0_pal);
55
56INCLUDE_IMG("ui/battle/hp_1.png", ui_battle_hp_1_png);
57INCLUDE_PAL("ui/battle/hp_1.pal", ui_battle_hp_1_pal);
58
59INCLUDE_IMG("ui/battle/hp_2.png", ui_battle_hp_2_png);
60INCLUDE_PAL("ui/battle/hp_2.pal", ui_battle_hp_2_pal);
61
62INCLUDE_IMG("ui/battle/hp_3.png", ui_battle_hp_3_png);
63INCLUDE_PAL("ui/battle/hp_3.pal", ui_battle_hp_3_pal);
64
65INCLUDE_IMG("ui/battle/hp_4.png", ui_battle_hp_4_png);
66INCLUDE_PAL("ui/battle/hp_4.pal", ui_battle_hp_4_pal);
67
68INCLUDE_IMG("ui/battle/hp_5.png", ui_battle_hp_5_png);
69INCLUDE_PAL("ui/battle/hp_5.pal", ui_battle_hp_5_pal);
70
71INCLUDE_IMG("ui/battle/hp_6.png", ui_battle_hp_6_png);
72INCLUDE_PAL("ui/battle/hp_6.pal", ui_battle_hp_6_pal);
73
74INCLUDE_IMG("ui/battle/hp_7.png", ui_battle_hp_7_png);
75INCLUDE_PAL("ui/battle/hp_7.pal", ui_battle_hp_7_pal);
76
77INCLUDE_IMG("ui/battle/hp_8.png", ui_battle_hp_8_png);
78INCLUDE_PAL("ui/battle/hp_8.pal", ui_battle_hp_8_pal);
79
80INCLUDE_IMG("ui/battle/hp_9.png", ui_battle_hp_9_png);
81INCLUDE_PAL("ui/battle/hp_9.pal", ui_battle_hp_9_pal);
82
83INCLUDE_IMG("ui/battle/cont/b_up.png", ui_battle_cont_b_up_png);
84INCLUDE_PAL("ui/battle/cont/b_up.pal", ui_battle_cont_b_up_pal);
85
86INCLUDE_IMG("ui/battle/cont/b_down.png", ui_battle_cont_b_down_png);
87INCLUDE_PAL("ui/battle/cont/b_down.pal", ui_battle_cont_b_down_pal);
88
89INCLUDE_IMG("ui/battle/cont/c_left_up.png", ui_battle_cont_c_left_up_png);
90INCLUDE_PAL("ui/battle/cont/c_left_up.pal", ui_battle_cont_c_left_up_pal);
91
92INCLUDE_IMG("ui/battle/cont/c_left_down.png", ui_battle_cont_c_left_down_png);
93INCLUDE_PAL("ui/battle/cont/c_left_down.pal", ui_battle_cont_c_left_down_pal);
94
95INCLUDE_IMG("ui/battle/cont/c_right_up.png", ui_battle_cont_c_right_up_png);
96INCLUDE_PAL("ui/battle/cont/c_right_up.pal", ui_battle_cont_c_right_up_pal);
97
98INCLUDE_IMG("ui/battle/cont/c_right_down.png", ui_battle_cont_c_right_down_png);
99INCLUDE_PAL("ui/battle/cont/c_right_down.pal", ui_battle_cont_c_right_down_pal);
100
101INCLUDE_IMG("ui/battle/cont/c_up_up.png", ui_battle_cont_c_up_up_png);
102INCLUDE_PAL("ui/battle/cont/c_up_up.pal", ui_battle_cont_c_up_up_pal);
103
104INCLUDE_IMG("ui/battle/cont/c_up_down.png", ui_battle_cont_c_up_down_png);
105INCLUDE_PAL("ui/battle/cont/c_up_down.pal", ui_battle_cont_c_up_down_pal);
106
107INCLUDE_IMG("ui/battle/cont/c_down_up.png", ui_battle_cont_c_down_up_png);
108INCLUDE_PAL("ui/battle/cont/c_down_up.pal", ui_battle_cont_c_down_up_pal);
109
110INCLUDE_IMG("ui/battle/cont/c_down_down.png", ui_battle_cont_c_down_down_png);
111INCLUDE_PAL("ui/battle/cont/c_down_down.pal", ui_battle_cont_c_down_down_pal);
112
113INCLUDE_IMG("ui/battle/cmd/timing_1_chance.png", ui_battle_cmd_timing_1_chance_png);
114INCLUDE_PAL("ui/battle/cmd/timing_1_chance.pal", ui_battle_cmd_timing_1_chance_pal);
115
116INCLUDE_IMG("ui/battle/cmd/timing_ready.png", ui_battle_cmd_timing_ready_png);
117INCLUDE_PAL("ui/battle/cmd/timing_ready.pal", ui_battle_cmd_timing_ready_pal);
118
119INCLUDE_IMG("ui/battle/cmd/timing_wait.png", ui_battle_cmd_timing_wait_png);
120INCLUDE_PAL("ui/battle/cmd/timing_wait.pal", ui_battle_cmd_timing_wait_pal);
121
122INCLUDE_IMG("ui/battle/cmd/charge_1.png", ui_battle_cmd_charge_1_png);
123INCLUDE_PAL("ui/battle/cmd/charge_1.pal", ui_battle_cmd_charge_1_pal);
124
125INCLUDE_IMG("ui/battle/cmd/charge_2.png", ui_battle_cmd_charge_2_png);
126INCLUDE_PAL("ui/battle/cmd/charge_2.pal", ui_battle_cmd_charge_2_pal);
127
128INCLUDE_IMG("ui/battle/cmd/charge_3.png", ui_battle_cmd_charge_3_png);
129INCLUDE_PAL("ui/battle/cmd/charge_3.pal", ui_battle_cmd_charge_3_pal);
130
131INCLUDE_IMG("ui/battle/cmd/charge_4.png", ui_battle_cmd_charge_4_png);
132INCLUDE_PAL("ui/battle/cmd/charge_4.pal", ui_battle_cmd_charge_4_pal);
133
134INCLUDE_IMG("ui/battle/cmd/timing_3_chances.png", ui_battle_cmd_timing_3_chances_png);
135INCLUDE_PAL("ui/battle/cmd/timing_3_chances.pal", ui_battle_cmd_timing_3_chances_pal);
136
137INCLUDE_IMG("ui/battle/cmd/gauge_result.png", ui_battle_cmd_gauge_result_png);
138INCLUDE_PAL("ui/battle/cmd/gauge_result.pal", ui_battle_cmd_gauge_result_pal);
139
140INCLUDE_IMG("ui/battle/cmd/timing_ok.png", ui_battle_cmd_timing_ok_png);
141INCLUDE_PAL("ui/battle/cmd/timing_ok.pal", ui_battle_cmd_timing_ok_pal);
142
143INCLUDE_IMG("ui/battle/cmd/timing_miss.png", ui_battle_cmd_timing_miss_png);
144INCLUDE_PAL("ui/battle/cmd/timing_miss.pal", ui_battle_cmd_timing_miss_pal);
145
146INCLUDE_IMG("ui/battle/cmd/flee_0.png", ui_battle_cmd_flee_0_png);
147INCLUDE_PAL("ui/battle/cmd/flee_0.pal", ui_battle_cmd_flee_0_pal);
148
149INCLUDE_IMG("ui/battle/cmd/flee_1.png", ui_battle_cmd_flee_1_png);
150INCLUDE_PAL("ui/battle/cmd/flee_1.pal", ui_battle_cmd_flee_1_pal);
151
152INCLUDE_IMG("ui/battle/cmd/flee_2.png", ui_battle_cmd_flee_2_png);
153INCLUDE_PAL("ui/battle/cmd/flee_2.pal", ui_battle_cmd_flee_2_pal);
154
155INCLUDE_IMG("ui/battle/cmd/100pct.png", ui_battle_cmd_100pct_png);
156INCLUDE_PAL("ui/battle/cmd/100pct.pal", ui_battle_cmd_100pct_pal);
157
158INCLUDE_IMG("ui/battle/cmd/right_on.png", ui_battle_cmd_right_on_png);
159INCLUDE_PAL("ui/battle/cmd/right_on.pal", ui_battle_cmd_right_on_pal);
160
161INCLUDE_IMG("ui/battle/cmd/fill_result.png", ui_battle_cmd_fill_result_png);
162INCLUDE_PAL("ui/battle/cmd/fill_result.pal", ui_battle_cmd_fill_result_pal);
163
164INCLUDE_IMG("ui/battle/cmd/aim/marker_0.png", ui_battle_cmd_aim_marker_0_png);
165INCLUDE_PAL("ui/battle/cmd/aim/marker_0.pal", ui_battle_cmd_aim_marker_0_pal);
166
167INCLUDE_IMG("ui/battle/cmd/aim/marker_1.png", ui_battle_cmd_aim_marker_1_png);
168INCLUDE_PAL("ui/battle/cmd/aim/marker_1.pal", ui_battle_cmd_aim_marker_1_pal);
169
170INCLUDE_IMG("ui/battle/cmd/aim/marker_2.png", ui_battle_cmd_aim_marker_2_png);
171INCLUDE_PAL("ui/battle/cmd/aim/marker_2.pal", ui_battle_cmd_aim_marker_2_pal);
172
173INCLUDE_IMG("ui/battle/cmd/aim/marker_3.png", ui_battle_cmd_aim_marker_3_png);
174INCLUDE_PAL("ui/battle/cmd/aim/marker_3.pal", ui_battle_cmd_aim_marker_3_pal);
175
176INCLUDE_IMG("ui/battle/cmd/aim/marker_4.png", ui_battle_cmd_aim_marker_4_png);
177INCLUDE_PAL("ui/battle/cmd/aim/marker_4.pal", ui_battle_cmd_aim_marker_4_pal);
178
179INCLUDE_IMG("ui/battle/cmd/aim/marker_5.png", ui_battle_cmd_aim_marker_5_png);
180INCLUDE_PAL("ui/battle/cmd/aim/marker_5.pal", ui_battle_cmd_aim_marker_5_pal);
181
182INCLUDE_IMG("ui/battle/cmd/aim/marker_6.png", ui_battle_cmd_aim_marker_6_png);
183INCLUDE_PAL("ui/battle/cmd/aim/marker_6.pal", ui_battle_cmd_aim_marker_6_pal);
184
185INCLUDE_IMG("ui/battle/cmd/aim/marker_7.png", ui_battle_cmd_aim_marker_7_png);
186INCLUDE_PAL("ui/battle/cmd/aim/marker_7.pal", ui_battle_cmd_aim_marker_7_pal);
187
188INCLUDE_IMG("ui/battle/cmd/aim/shimmer_0.png", ui_battle_cmd_aim_shimmer_0_png);
189INCLUDE_PAL("ui/battle/cmd/aim/shimmer_0.pal", ui_battle_cmd_aim_shimmer_0_pal);
190
191INCLUDE_IMG("ui/battle/cmd/aim/shimmer_1.png", ui_battle_cmd_aim_shimmer_1_png);
192INCLUDE_PAL("ui/battle/cmd/aim/shimmer_1.pal", ui_battle_cmd_aim_shimmer_1_pal);
193
194INCLUDE_IMG("ui/battle/cmd/aim/shimmer_2.png", ui_battle_cmd_aim_shimmer_2_png);
195INCLUDE_PAL("ui/battle/cmd/aim/shimmer_2.pal", ui_battle_cmd_aim_shimmer_2_pal);
196
197INCLUDE_IMG("ui/battle/cmd/aim/shimmer_3.png", ui_battle_cmd_aim_shimmer_3_png);
198INCLUDE_PAL("ui/battle/cmd/aim/shimmer_3.pal", ui_battle_cmd_aim_shimmer_3_pal);
199
200INCLUDE_IMG("ui/battle/cmd/aim/shimmer_4.png", ui_battle_cmd_aim_shimmer_4_png);
201INCLUDE_PAL("ui/battle/cmd/aim/shimmer_4.pal", ui_battle_cmd_aim_shimmer_4_pal);
202
203INCLUDE_IMG("ui/battle/cmd/aim/shimmer_5.png", ui_battle_cmd_aim_shimmer_5_png);
204INCLUDE_PAL("ui/battle/cmd/aim/shimmer_5.pal", ui_battle_cmd_aim_shimmer_5_pal);
205
206INCLUDE_IMG("ui/battle/cmd/aim/shimmer_6.png", ui_battle_cmd_aim_shimmer_6_png);
207INCLUDE_PAL("ui/battle/cmd/aim/shimmer_6.pal", ui_battle_cmd_aim_shimmer_6_pal);
208
209INCLUDE_IMG("ui/battle/cmd/aim/shimmer_7.png", ui_battle_cmd_aim_shimmer_7_png);
210INCLUDE_PAL("ui/battle/cmd/aim/shimmer_7.pal", ui_battle_cmd_aim_shimmer_7_pal);
211
212INCLUDE_IMG("ui/battle/cmd/aim/reticle_0.png", ui_battle_cmd_aim_reticle_0_png);
213INCLUDE_PAL("ui/battle/cmd/aim/reticle_0.pal", ui_battle_cmd_aim_reticle_0_pal);
214
215INCLUDE_IMG("ui/battle/cmd/aim/reticle_1.png", ui_battle_cmd_aim_reticle_1_png);
216INCLUDE_PAL("ui/battle/cmd/aim/reticle_1.pal", ui_battle_cmd_aim_reticle_1_pal);
217
218INCLUDE_IMG("ui/battle/cmd/aim/target_0.png", ui_battle_cmd_aim_target_0_png);
219INCLUDE_PAL("ui/battle/cmd/aim/target_0.pal", ui_battle_cmd_aim_target_0_pal);
220
221INCLUDE_IMG("ui/battle/cmd/aim/target_1.png", ui_battle_cmd_aim_target_1_png);
222INCLUDE_PAL("ui/battle/cmd/aim/target_1.pal", ui_battle_cmd_aim_target_1_pal);
223
224INCLUDE_IMG("ui/battle/solid_star.png", ui_battle_solid_star_png);
225INCLUDE_PAL("ui/battle/solid_star.pal", ui_battle_solid_star_pal);
226
227Gfx D_8028F860[] = {
228 gsSPEndDisplayList(),
229};
230
231INCLUDE_IMG("ui/battle/projector_spot.png", ui_battle_projector_spot_png);
232
233Gfx D_8028FC68[] = {
234 gsSPEndDisplayList(),
235};
236
237INCLUDE_IMG("ui/battle/projector_beam.png", ui_battle_projector_beam_png);
238
239Gfx D_80290C70[] = {
240 gsSPEndDisplayList(),
241};
242
243INCLUDE_IMG("ui/battle/projector_reel.png", ui_battle_projector_reel_png);
244
245Gfx D_80291C78[] = {
246 gsSPEndDisplayList(),
247};
248
249INCLUDE_IMG("ui/battle/swap_background.png", ui_battle_swap_background_png);
250
252
254
256
258
260
262
264
266
268
270
272
273HudScript HES_YellowArrow = HES_TEMPLATE_CI_ENUM_SIZE(ui_battle_yellow_arrow, 16, 16);
274
275HudScript HES_MenuFlee = HES_TEMPLATE_CI_ENUM_SIZE(ui_battle_menu_flee, 32, 32);
276
277HudScript HES_MenuFleeDisabled = HES_TEMPLATE_CI_ENUM_SIZE(ui_battle_menu_flee_disabled, 32, 32);
278
279HudScript HES_MenuDefend = HES_TEMPLATE_CI_ENUM_SIZE(ui_battle_menu_defend, 32, 32);
280
281HudScript HES_MenuDefendDisabled = HES_TEMPLATE_CI_ENUM_SIZE(ui_battle_menu_defend_disabled, 32, 32);
282
283HudScript HES_MenuStrategies = HES_TEMPLATE_CI_ENUM_SIZE(ui_battle_menu_strategies, 32, 32);
284
285HudScript HES_MenuStrategiesDisabled = HES_TEMPLATE_CI_ENUM_SIZE(ui_battle_menu_strategies_disabled, 32, 32);
286
287HudScript HES_MenuPouch = HES_TEMPLATE_CI_ENUM_SIZE(ui_battle_menu_pouch, 32, 32);
288
289HudScript HES_MenuPouchDisabled = HES_TEMPLATE_CI_ENUM_SIZE(ui_battle_menu_pouch_disabled, 32, 32);
290
291HudScript HES_MenuDoNothing = HES_TEMPLATE_CI_ENUM_SIZE(ui_battle_menu_nothing, 32, 32);
292
293HudScript HES_MenuDoNothingDisabled = HES_TEMPLATE_CI_ENUM_SIZE(ui_battle_menu_nothing_disabled, 32, 32);
294
295HudScript HES_TimingBar1Chance = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_battle_cmd_timing_1_chance, 72, 24);
296
297HudScript HES_BButton = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_battle_cont_b_up, 48, 40);
298
300
303 hs_SetCustomSize(48, 40)
304 hs_Loop
305 hs_SetCI(2, ui_battle_cont_b_up)
306 hs_SetCI(2, ui_battle_cont_b_down)
308 hs_End
309};
310
313 hs_SetCustomSize(48, 40)
314 hs_Loop
315 hs_SetCI(3, ui_battle_cont_b_down)
316 hs_SetCI(10, ui_battle_cont_b_up)
317 hs_SetCI(7, ui_battle_cont_b_down)
319 hs_End
320};
321
324 hs_SetCustomSize(48, 40)
325 hs_Loop
326 hs_SetCI(2, ui_battle_cont_b_down)
327 hs_SetCI(2, ui_battle_cont_b_up)
329 hs_End
330};
331
332HudScript HES_CLeftButton = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_battle_cont_c_left_up, 40, 34);
333
334HudScript HES_CLeftButtonHeld = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_battle_cont_c_left_down, 40, 34);
335
338 hs_SetCustomSize(40, 34)
339 hs_Loop
340 hs_SetCI(2, ui_battle_cont_c_left_up)
341 hs_SetCI(2, ui_battle_cont_c_left_down)
343 hs_End
344};
345
346HudScript HES_CRightButton = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_battle_cont_c_right_up, 40, 34);
347
348HudScript HES_CRightButtonHeld = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_battle_cont_c_right_down, 40, 34);
349
352 hs_SetCustomSize(40, 34)
353 hs_Loop
354 hs_SetCI(2, ui_battle_cont_c_right_up)
355 hs_SetCI(2, ui_battle_cont_c_right_down)
357 hs_End
358};
359
362 hs_SetCustomSize(40, 34)
363 hs_Loop
364 hs_SetCI(2, ui_battle_cont_c_right_down)
365 hs_SetCI(2, ui_battle_cont_c_right_up)
367 hs_End
368};
369
370HudScript HES_CUpButton = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_battle_cont_c_up_up, 40, 34);
371
372HudScript HES_CUpButtonHeld = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_battle_cont_c_up_down, 40, 34);
373
376 hs_SetCustomSize(40, 34)
377 hs_Loop
378 hs_SetCI(2, ui_battle_cont_c_up_up)
379 hs_SetCI(2, ui_battle_cont_c_up_down)
381 hs_End
382};
383
384HudScript HES_CDownButton = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_battle_cont_c_down_up, 40, 34);
385
386HudScript HES_CDownButtonHeld = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_battle_cont_c_down_down, 40, 34);
387
390 hs_SetCustomSize(40, 34)
391 hs_Loop
392 hs_SetCI(2, ui_battle_cont_c_down_up)
393 hs_SetCI(2, ui_battle_cont_c_down_down)
395 hs_End
396};
397
400 hs_SetCustomSize(40, 34)
401 hs_Loop
402 hs_SetCI(6, ui_battle_cont_c_down_down)
403 hs_SetCI(10, ui_battle_cont_c_down_up)
404 hs_SetCI(4, ui_battle_cont_c_down_down)
406 hs_End
407};
408
411 hs_SetCustomSize(40, 34)
412 hs_Loop
413 hs_SetCI(1, ui_battle_cont_c_down_up)
414 hs_SetCI(2, ui_battle_cont_c_down_down)
415 hs_SetCI(1, ui_battle_cont_c_down_up)
417 hs_End
418};
419
420HudScript HES_TimingWait = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_battle_cmd_timing_wait, 16, 16);
421
422HudScript HES_TimingReady = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_battle_cmd_timing_ready, 16, 16);
423
426 hs_SetCustomSize(16, 16)
427 hs_Loop
428 hs_SetCI(10, ui_battle_cmd_timing_ready)
429 hs_SetCI(6, ui_battle_cmd_timing_wait)
431 hs_End
432};
433
435
437
439
441
443
445
448 hs_Loop
449 hs_SetCustomSize(16, 24)
450 hs_SetCI(1, ui_battle_cmd_flee_0)
451 hs_SetCI(1, ui_battle_cmd_flee_1)
452 hs_SetCI(1, ui_battle_cmd_flee_2)
453 hs_SetCI(1, ui_battle_cmd_flee_0)
454 hs_SetCI(1, ui_battle_cmd_flee_2)
455 hs_SetCI(1, ui_battle_cmd_flee_1)
457 hs_End
458};
459
462 hs_SetCustomSize(64, 48)
463 hs_Loop
464 hs_SetTexelOffset(0, -16)
465 hs_SetScale(1.00)
466 hs_SetCI(1, ui_battle_cmd_100pct)
467 hs_SetScale(1.20)
468 hs_SetCI(1, ui_battle_cmd_100pct)
469 hs_SetScale(1.30)
470 hs_SetCI(1, ui_battle_cmd_100pct)
471 hs_SetScale(1.27)
472 hs_SetCI(1, ui_battle_cmd_100pct)
473 hs_SetScale(1.15)
474 hs_SetCI(1, ui_battle_cmd_100pct)
475 hs_SetScale(1.05)
476 hs_SetCI(1, ui_battle_cmd_100pct)
478 hs_End
479};
480
483 hs_SetCustomSize(56, 24)
484 hs_Loop
485 hs_SetTexelOffset(0, -16)
486 hs_SetScale(1.00)
487 hs_SetCI(1, ui_battle_cmd_right_on)
488 hs_SetScale(1.10)
489 hs_SetCI(1, ui_battle_cmd_right_on)
490 hs_SetScale(1.20)
491 hs_SetCI(1, ui_battle_cmd_right_on)
492 hs_SetScale(1.30)
493 hs_SetCI(2, ui_battle_cmd_right_on)
494 hs_SetScale(1.27)
495 hs_SetCI(2, ui_battle_cmd_right_on)
496 hs_SetScale(1.15)
497 hs_SetCI(2, ui_battle_cmd_right_on)
498 hs_SetScale(1.05)
499 hs_SetCI(2, ui_battle_cmd_right_on)
501 hs_End
502};
503
504HudScript HES_TimingBar3Chances = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_battle_cmd_timing_3_chances, 96, 24);
505
506HudScript HES_TimingGaugeResult = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_battle_cmd_gauge_result, 32, 24);
507
508HudScript HES_TimingOK = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_battle_cmd_timing_ok, 24, 24);
509
510HudScript HES_TimingMiss = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_battle_cmd_timing_miss, 24, 24);
511
512HudScript HES_FillGaugeResult = HES_TEMPLATE_CI_CUSTOM_SIZE(ui_battle_cmd_fill_result, 32, 24);
513
516 hs_SetCustomSize(64, 64)
517 hs_Loop
518 hs_SetRGBA(60, ui_battle_projector_reel_png)
520 hs_End
521};
522
525 hs_SetCustomSize(32, 32)
526 hs_Loop
527 hs_SetRGBA(60, ui_battle_projector_spot_png)
529 hs_End
530};
531
534 hs_SetCustomSize(64, 64)
535 hs_Loop
536 hs_SetRGBA(60, ui_battle_projector_beam_png)
538 hs_End
539};
540
542
545 hs_SetCustomSize(8, 16)
546 hs_Loop
547 hs_SetCI(12, ui_battle_swap_arrow_left)
548 hs_SetCI(8, ui_battle_swap_arrow_left)
550 hs_End
551};
552
555 hs_SetCustomSize(8, 16)
556 hs_Loop
557 hs_SetCI(10, ui_battle_swap_arrow_right)
558 hs_SetCI(10, ui_battle_swap_arrow_right)
560 hs_End
561};
562
565 hs_SetCustomSize(48, 16)
566 hs_Loop
567 hs_SetRGBA(60, ui_battle_swap_background_png)
569 hs_End
570};
571
575 hs_Loop
576 hs_SetCI(3, ui_battle_cmd_aim_marker_0)
577 hs_SetCI(3, ui_battle_cmd_aim_marker_1)
578 hs_SetCI(3, ui_battle_cmd_aim_marker_2)
579 hs_SetCI(3, ui_battle_cmd_aim_marker_3)
580 hs_SetCI(3, ui_battle_cmd_aim_marker_4)
581 hs_SetCI(3, ui_battle_cmd_aim_marker_5)
582 hs_SetCI(3, ui_battle_cmd_aim_marker_6)
583 hs_SetCI(3, ui_battle_cmd_aim_marker_7)
585 hs_End
586};
587
591 hs_Loop
592 hs_SetCI(3, ui_battle_cmd_aim_marker_1)
593 hs_SetCI(3, ui_battle_cmd_aim_marker_2)
594 hs_SetCI(3, ui_battle_cmd_aim_marker_3)
595 hs_SetCI(3, ui_battle_cmd_aim_marker_4)
596 hs_SetCI(3, ui_battle_cmd_aim_marker_5)
597 hs_SetCI(3, ui_battle_cmd_aim_marker_6)
598 hs_SetCI(3, ui_battle_cmd_aim_marker_7)
599 hs_SetCI(3, ui_battle_cmd_aim_marker_0)
601 hs_End
602};
603
607 hs_Loop
608 hs_SetCI(3, ui_battle_cmd_aim_marker_2)
609 hs_SetCI(3, ui_battle_cmd_aim_marker_3)
610 hs_SetCI(3, ui_battle_cmd_aim_marker_4)
611 hs_SetCI(3, ui_battle_cmd_aim_marker_5)
612 hs_SetCI(3, ui_battle_cmd_aim_marker_6)
613 hs_SetCI(3, ui_battle_cmd_aim_marker_7)
614 hs_SetCI(3, ui_battle_cmd_aim_marker_0)
615 hs_SetCI(3, ui_battle_cmd_aim_marker_1)
617 hs_End
618};
619
623 hs_Loop
624 hs_SetCI(3, ui_battle_cmd_aim_marker_3)
625 hs_SetCI(3, ui_battle_cmd_aim_marker_4)
626 hs_SetCI(3, ui_battle_cmd_aim_marker_5)
627 hs_SetCI(3, ui_battle_cmd_aim_marker_6)
628 hs_SetCI(3, ui_battle_cmd_aim_marker_7)
629 hs_SetCI(3, ui_battle_cmd_aim_marker_0)
630 hs_SetCI(3, ui_battle_cmd_aim_marker_1)
631 hs_SetCI(3, ui_battle_cmd_aim_marker_2)
633 hs_End
634};
635
639 hs_Loop
640 hs_SetCI(3, ui_battle_cmd_aim_marker_4)
641 hs_SetCI(3, ui_battle_cmd_aim_marker_5)
642 hs_SetCI(3, ui_battle_cmd_aim_marker_6)
643 hs_SetCI(3, ui_battle_cmd_aim_marker_7)
644 hs_SetCI(3, ui_battle_cmd_aim_marker_0)
645 hs_SetCI(3, ui_battle_cmd_aim_marker_1)
646 hs_SetCI(3, ui_battle_cmd_aim_marker_2)
647 hs_SetCI(3, ui_battle_cmd_aim_marker_3)
649 hs_End
650};
651
655 hs_Loop
656 hs_SetCI(3, ui_battle_cmd_aim_marker_5)
657 hs_SetCI(3, ui_battle_cmd_aim_marker_6)
658 hs_SetCI(3, ui_battle_cmd_aim_marker_7)
659 hs_SetCI(3, ui_battle_cmd_aim_marker_0)
660 hs_SetCI(3, ui_battle_cmd_aim_marker_1)
661 hs_SetCI(3, ui_battle_cmd_aim_marker_2)
662 hs_SetCI(3, ui_battle_cmd_aim_marker_3)
663 hs_SetCI(3, ui_battle_cmd_aim_marker_4)
665 hs_End
666};
667
671 hs_Loop
672 hs_SetCI(3, ui_battle_cmd_aim_marker_6)
673 hs_SetCI(3, ui_battle_cmd_aim_marker_7)
674 hs_SetCI(3, ui_battle_cmd_aim_marker_0)
675 hs_SetCI(3, ui_battle_cmd_aim_marker_1)
676 hs_SetCI(3, ui_battle_cmd_aim_marker_2)
677 hs_SetCI(3, ui_battle_cmd_aim_marker_3)
678 hs_SetCI(3, ui_battle_cmd_aim_marker_4)
679 hs_SetCI(3, ui_battle_cmd_aim_marker_5)
681 hs_End
682};
683
687 hs_Loop
688 hs_SetCI(3, ui_battle_cmd_aim_marker_7)
689 hs_SetCI(3, ui_battle_cmd_aim_marker_0)
690 hs_SetCI(3, ui_battle_cmd_aim_marker_1)
691 hs_SetCI(3, ui_battle_cmd_aim_marker_2)
692 hs_SetCI(3, ui_battle_cmd_aim_marker_3)
693 hs_SetCI(3, ui_battle_cmd_aim_marker_4)
694 hs_SetCI(3, ui_battle_cmd_aim_marker_5)
695 hs_SetCI(3, ui_battle_cmd_aim_marker_6)
697 hs_End
698};
699
703 hs_Loop
704 hs_SetCI(3, ui_battle_cmd_aim_shimmer_0)
705 hs_SetCI(3, ui_battle_cmd_aim_shimmer_1)
706 hs_SetCI(3, ui_battle_cmd_aim_shimmer_2)
707 hs_SetCI(3, ui_battle_cmd_aim_shimmer_3)
708 hs_SetCI(3, ui_battle_cmd_aim_shimmer_4)
709 hs_SetCI(3, ui_battle_cmd_aim_shimmer_5)
710 hs_SetCI(3, ui_battle_cmd_aim_shimmer_6)
711 hs_SetCI(3, ui_battle_cmd_aim_shimmer_7)
713 hs_End
714};
715
719 hs_Loop
720 hs_SetCI(3, ui_battle_cmd_aim_shimmer_1)
721 hs_SetCI(3, ui_battle_cmd_aim_shimmer_2)
722 hs_SetCI(3, ui_battle_cmd_aim_shimmer_3)
723 hs_SetCI(3, ui_battle_cmd_aim_shimmer_4)
724 hs_SetCI(3, ui_battle_cmd_aim_shimmer_5)
725 hs_SetCI(3, ui_battle_cmd_aim_shimmer_6)
726 hs_SetCI(3, ui_battle_cmd_aim_shimmer_7)
727 hs_SetCI(3, ui_battle_cmd_aim_shimmer_0)
729 hs_End
730};
731
735 hs_Loop
736 hs_SetCI(3, ui_battle_cmd_aim_shimmer_2)
737 hs_SetCI(3, ui_battle_cmd_aim_shimmer_3)
738 hs_SetCI(3, ui_battle_cmd_aim_shimmer_4)
739 hs_SetCI(3, ui_battle_cmd_aim_shimmer_5)
740 hs_SetCI(3, ui_battle_cmd_aim_shimmer_6)
741 hs_SetCI(3, ui_battle_cmd_aim_shimmer_7)
742 hs_SetCI(3, ui_battle_cmd_aim_shimmer_0)
743 hs_SetCI(3, ui_battle_cmd_aim_shimmer_1)
745 hs_End
746};
747
751 hs_Loop
752 hs_SetCI(3, ui_battle_cmd_aim_shimmer_3)
753 hs_SetCI(3, ui_battle_cmd_aim_shimmer_4)
754 hs_SetCI(3, ui_battle_cmd_aim_shimmer_5)
755 hs_SetCI(3, ui_battle_cmd_aim_shimmer_6)
756 hs_SetCI(3, ui_battle_cmd_aim_shimmer_7)
757 hs_SetCI(3, ui_battle_cmd_aim_shimmer_0)
758 hs_SetCI(3, ui_battle_cmd_aim_shimmer_1)
759 hs_SetCI(3, ui_battle_cmd_aim_shimmer_2)
761 hs_End
762};
763
767 hs_Loop
768 hs_SetCI(3, ui_battle_cmd_aim_shimmer_4)
769 hs_SetCI(3, ui_battle_cmd_aim_shimmer_5)
770 hs_SetCI(3, ui_battle_cmd_aim_shimmer_6)
771 hs_SetCI(3, ui_battle_cmd_aim_shimmer_7)
772 hs_SetCI(3, ui_battle_cmd_aim_shimmer_0)
773 hs_SetCI(3, ui_battle_cmd_aim_shimmer_1)
774 hs_SetCI(3, ui_battle_cmd_aim_shimmer_2)
775 hs_SetCI(3, ui_battle_cmd_aim_shimmer_3)
777 hs_End
778};
779
783 hs_Loop
784 hs_SetCI(3, ui_battle_cmd_aim_shimmer_5)
785 hs_SetCI(3, ui_battle_cmd_aim_shimmer_6)
786 hs_SetCI(3, ui_battle_cmd_aim_shimmer_7)
787 hs_SetCI(3, ui_battle_cmd_aim_shimmer_0)
788 hs_SetCI(3, ui_battle_cmd_aim_shimmer_1)
789 hs_SetCI(3, ui_battle_cmd_aim_shimmer_2)
790 hs_SetCI(3, ui_battle_cmd_aim_shimmer_3)
791 hs_SetCI(3, ui_battle_cmd_aim_shimmer_4)
793 hs_End
794};
795
799 hs_Loop
800 hs_SetCI(3, ui_battle_cmd_aim_shimmer_6)
801 hs_SetCI(3, ui_battle_cmd_aim_shimmer_7)
802 hs_SetCI(3, ui_battle_cmd_aim_shimmer_0)
803 hs_SetCI(3, ui_battle_cmd_aim_shimmer_1)
804 hs_SetCI(3, ui_battle_cmd_aim_shimmer_2)
805 hs_SetCI(3, ui_battle_cmd_aim_shimmer_3)
806 hs_SetCI(3, ui_battle_cmd_aim_shimmer_4)
807 hs_SetCI(3, ui_battle_cmd_aim_shimmer_5)
809 hs_End
810};
811
815 hs_Loop
816 hs_SetCI(3, ui_battle_cmd_aim_shimmer_7)
817 hs_SetCI(3, ui_battle_cmd_aim_shimmer_0)
818 hs_SetCI(3, ui_battle_cmd_aim_shimmer_1)
819 hs_SetCI(3, ui_battle_cmd_aim_shimmer_2)
820 hs_SetCI(3, ui_battle_cmd_aim_shimmer_3)
821 hs_SetCI(3, ui_battle_cmd_aim_shimmer_4)
822 hs_SetCI(3, ui_battle_cmd_aim_shimmer_5)
823 hs_SetCI(3, ui_battle_cmd_aim_shimmer_6)
825 hs_End
826};
827
831 hs_Loop
832 hs_SetCI(8, ui_battle_cmd_aim_reticle_0)
833 hs_SetCI(5, ui_battle_cmd_aim_reticle_1)
835 hs_End
836};
837
841 hs_Loop
842 hs_SetCI(2, ui_battle_cmd_aim_target_0)
843 hs_SetCI(2, ui_battle_cmd_aim_target_1)
845 hs_End
846};
847
851 hs_Loop
853 hs_SetCI(3, ui_battle_cmd_aim_marker_0)
855 hs_SetCI(3, ui_battle_cmd_aim_marker_0)
856 hs_SetCI(3, ui_battle_cmd_aim_marker_0)
858 hs_End
859};
860
864 hs_Loop
866 hs_SetCI(3, ui_battle_cmd_aim_marker_0)
868 hs_SetCI(3, ui_battle_cmd_aim_marker_0)
870 hs_SetCI(3, ui_battle_cmd_aim_marker_0)
872 hs_End
873};
874
878 hs_Loop
880 hs_SetCI(3, ui_battle_cmd_aim_marker_0)
881 hs_SetCI(3, ui_battle_cmd_aim_marker_0)
883 hs_SetCI(3, ui_battle_cmd_aim_marker_0)
885 hs_End
886};
HudScript HES_AimShimmerH
HudScript HES_TimingCharge3
HudScript HES_AimShimmerD
Gfx D_8028F860[]
HudScript HES_MashBButton1
HudScript HES_HPDigit0
HudScript HES_BButton
HudScript HES_HPDigit2
HudScript HES_AimBlinkC
HudScript HES_MenuDefendDisabled
HudScript HES_TimingReady
HudScript HES_TimingOK
HudScript HES_AimShimmerE
HudScript HES_AimMarkerE
HudScript HES_CUpButtonHeld
HudScript HES_HPDigit3
HudScript HES_AimBlinkA
HudScript HES_HPDigit9
HudScript HES_HPDigit4
HudScript HES_CDownButtonHeld
HudScript HES_SwapArrowRight
HudScript HES_ProjectorBeam
HudScript HES_TimingBlink
HudScript HES_TimingCharge4b
Gfx D_8028FC68[]
HudScript HES_CLeftButtonHeld
HudScript HES_MenuStrategiesDisabled
HudScript HES_SwapArrowLeft
HudScript HES_MashCRightButton2
HudScript HES_ProjectorReel
HudScript HES_TimingBar3Chances
HudScript HES_MashCDownButton1
HudScript HES_MenuDoNothing
HudScript HES_MenuFlee
HudScript HES_HPDigit8
HudScript HES_MenuPouch
HudScript HES_TimingWait
HudScript HES_TimingCharge4a
HudScript HES_CDownButton
HudScript HES_HPBar
HudScript HES_HPDigit7
HudScript HES_TimingCharge4c
HudScript HES_MenuStrategies
HudScript HES_AimMarkerA
Gfx D_80291C78[]
HudScript HES_MashCLeftButton
HudScript HES_BButtonHeld
HudScript HES_MashCRightButton1
Gfx D_80290C70[]
HudScript HES_MashCDownButton2
HudScript HES_SwapBackground
HudScript HES_MenuDefend
HudScript HES_RightOn
HudScript HES_ProjectorSpot
HudScript HES_SwapZ
HudScript HES_CRightButton
HudScript HES_AimMarkerG
HudScript HES_HPDigit5
HudScript HES_AimBlinkB
HudScript HES_AimMarkerD
HudScript HES_AimShimmerG
HudScript HES_AimMarkerB
HudScript HES_MenuPouchDisabled
HudScript HES_CRightButtonHeld
HudScript HES_HPDigit6
HudScript HES_AimMarkerF
HudScript HES_TimingGaugeResult
HudScript HES_AimMarkerH
HudScript HES_YellowArrow
HudScript HES_100pct
HudScript HES_AimMarkerC
HudScript HES_FillGaugeResult
HudScript HES_TimingMiss
HudScript HES_AimShimmerF
HudScript HES_AimShimmerA
HudScript HES_AimShimmerB
HudScript HES_AimShimmerC
HudScript HES_TimingCharge2
HudScript HES_MashBButton2
HudScript HES_MenuFleeDisabled
HudScript HES_AimTarget
HudScript HES_CLeftButton
HudScript HES_TimingCharge1
HudScript HES_HPDigit1
HudScript HES_PressBButton
HudScript HES_RunningAway
HudScript HES_MashCUpButton
HudScript HES_MenuDoNothingDisabled
HudScript HES_CUpButton
HudScript HES_PressCDownButton
HudScript HES_TimingBar1Chance
HudScript HES_AimReticle
PAL_BIN ui_battle_solid_star_pal[]
IMG_BIN ui_battle_menu_spirits_png[]
PAL_BIN ui_battle_menu_spirits_pal[]
IMG_BIN ui_battle_solid_star_png[]
#define hs_SetTileSize(size)
#define hs_SetRGBA(time, image)
#define hs_SetCustomSize(arg0, arg1)
#define hs_SetVisible
#define hs_End
@ HUD_ELEMENT_FLAG_200000
Definition hud_element.h:94
#define hs_Restart
#define HES_TEMPLATE_CI_CUSTOM_SIZE(name, sizeX, sizeY)
Basic HudScript used for static CI images, setting size with hs_SetCustomSize.
#define hs_Loop
#define hs_SetCI(time, name)
#define HES_TEMPLATE_CI_ENUM_SIZE(name, sizeX, sizeY)
Basic HudScript used for static CI images, setting size with hs_SetTileSize.
#define hs_SetScale(scale)
#define hs_ClearFlags(arg0)
#define hs_SetTexelOffset(x, y)
#define hs_UseIA8
@ HUD_ELEMENT_SIZE_24x24
Definition hud_element.h:47
@ HUD_ELEMENT_SIZE_16x16
Definition hud_element.h:46
@ HUD_ELEMENT_SIZE_32x32
Definition hud_element.h:48
s32 HudScript[]
Definition hud_element.h:9
#define hs_SetFlags(arg0)
#define INCLUDE_PAL(FILENAME, SYMBOLNAME)
#define INCLUDE_IMG(FILENAME, SYMBOLNAME)