Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
status_icons.c File Reference

Go to the source code of this file.

Data Structures

struct  HudComplexStatusIcon
 
struct  HudSimpleStatusIcon
 
struct  HudStatusIcon
 

Macros

#define MAX_ICONS   (64)
 

Enumerations

enum  StatusIconFlag {
  STATUS_ICON_FLAG_USED = 0x001 , STATUS_ICON_FLAG_BATTLE = 0x002 , STATUS_ICON_FLAG_DEBUFF = 0x004 , STATUS_ICON_FLAG_STATIC = 0x008 ,
  STATUS_ICON_FLAG_TRANSPARENT = 0x010 , STATUS_ICON_FLAG_STATUS_CHILL_OUT = 0x020 , STATUS_ICON_FLAG_BOOST_JUMP = 0x040 , STATUS_ICON_FLAG_BOOST_HAMMER = 0x080 ,
  STATUS_ICON_FLAG_BOOST_PARTNER = 0x100 , STATUS_ICON_FLAG_SURPRISE = 0x200 , STATUS_ICON_FLAG_PERIL = 0x400 , STATUS_ICON_FLAG_DANGER = 0x800
}
 
enum  StatusIconTask { STATUS_ICON_TASK_NONE = 0 , STATUS_ICON_TASK_LOAD = 1 , STATUS_ICON_TASK_DRAW = 2 }
 

Functions

void update_merlee_message (void *popup)
 
void draw_merlee_message (void *popup)
 
void func_80045BC8 (void)
 
void init_all_status_icons (void)
 
void update_all_status_icons (void *popup)
 
void draw_all_status_icons (void *popup)
 
void func_80045AC0 (void)
 
void func_80045B10 (void)
 
void update_merlee_messages (void)
 
void draw_merlee_messages (void)
 
PopupMessageget_current_merlee_message (void)
 
void dispose_merlee_message (PopupMessage *popup)
 
void show_merlee_message (s16 messageIndex, s16 duration)
 
void draw_merlee_message_string (PopupMessage *popup, s32 posX, s32 posY)
 
s32 is_merlee_message_done (void)
 
s32 create_status_icon_set (void)
 
void remove_all_status_icons (s32 iconID)
 
void set_status_icons_properties (s32 iconID, f32 x, f32 y, f32 z, s32 arg, s32 arg2, s32 radius, s32 offsetY)
 
void set_status_icons_offset (s32 iconID, s32 offsetY, s32 offsetX)
 
void create_status_debuff (s32 iconID, s32 statusID)
 
void remove_status_debuff (s32 iconID)
 
void enable_status_debuff (s32 iconID)
 
void create_status_static (s32 iconID, s32 statusID)
 
void remove_status_static (s32 iconID)
 
void enable_status_static (s32 iconID)
 
void create_status_transparent (s32 iconID, s32 statusID)
 
void remove_status_transparent (s32 iconID)
 
void enable_status_transparent (s32 iconID)
 
void create_status_chill_out (s32 iconID)
 
void remove_status_chill_out (s32 iconID)
 
void enable_status_chill_out (s32 iconID)
 
void create_status_icon_boost_jump (s32 iconID)
 
void remove_status_icon_boost_jump (s32 iconID)
 
void enable_status_icon_boost_jump (s32 iconID)
 
void create_status_icon_boost_hammer (s32 iconID)
 
void remove_status_icon_boost_hammer (s32 iconID)
 
void enable_status_icon_boost_hammer (s32 iconID)
 
void create_status_icon_boost_partner (s32 iconID)
 
void remove_status_icon_boost_partner (s32 iconID)
 
void enable_status_icon_boost_partner (s32 iconID)
 
void create_status_icon_surprise (s32 iconID)
 
void remove_status_icon_surprise (s32 iconID)
 
void enable_status_icon_surprise (s32 iconID)
 
void create_status_icon_peril (s32 iconID)
 
void remove_status_icon_peril (s32 iconID)
 
void enable_status_icon_peril (s32 iconID)
 
void create_status_icon_danger (s32 iconID)
 
void remove_status_icon_danger (s32 iconID)
 
void enable_status_icon_danger (s32 iconID)
 

Variables

s16 D_80078160 [] = { 28, 40 }
 
s16 D_80078164 [] = { 0, -2 }
 
s32 D_80078168 []
 
BSS PopupMessage D_800A0BC0 [32]
 
BSS s32 D_800A0F40
 
BSS HudStatusIconD_800A0F44
 
HudScript HES_Item_KeyGift
 
HudScript HES_AsleepBegin
 
HudScript HES_AsleepEnd
 
HudScript HES_ElectrifiedBegin
 
HudScript HES_ElectrifiedEnd
 
HudScript HES_ParalyzedBegin
 
HudScript HES_ParalyzedEnd
 
HudScript HES_DizzyEnd
 
HudScript HES_PoisonedBegin
 
HudScript HES_PoisonedEnd
 
HudScript HES_DizzyBegin
 
HudScript HES_FrozenBegin
 
HudScript HES_FrozenEnd
 
HudScript HES_WeakenedLoop
 
HudScript HES_WeakenedBegin
 
HudScript HES_WeakenedEnd
 
HudScript HES_StoppedBegin
 
HudScript HES_StoppedEnd
 
HudScript HES_ShrunkBegin
 
HudScript HES_ShrunkEnd
 
HudScript HES_TransparentBegin
 
HudScript HES_TransparentEnd
 
HudScript HES_BoostJumpBegin
 
HudScript HES_BoostJumpEnd
 
HudScript HES_BoostHammerBegin
 
HudScript HES_BoostHammerEnd
 
HudScript HES_BoostPartner
 
HudScript HES_Surprise
 
HudScript HES_Peril
 
HudScript HES_Danger
 
const f32 status_icons_rodata_alignment = 0.0f
 

Data Structure Documentation

◆ HudComplexStatusIcon

struct HudComplexStatusIcon
Data Fields
s8 active
s8 removing
s8 activeTask
s8 removingTask
s8 unk_04
s8 frameCounter
s32 activeElementID
s32 removingElementID

◆ HudSimpleStatusIcon

struct HudSimpleStatusIcon
Data Fields
s8 active
s8 removing
s32 activeElementID

◆ HudStatusIcon

struct HudStatusIcon
Data Fields
s32 flags
Vec3f worldPos
s32 status1Radius
s32 status1OffsetY
s32 status2Radius
s32 status2OffsetY
s32 status3Radius
s32 status3OffsetY
s32 status4Radius
s32 status4OffsetY
s32 offsetY
s32 offsetX
HudComplexStatusIcon status1
HudComplexStatusIcon status2
HudComplexStatusIcon status3
HudComplexStatusIcon status4
HudSimpleStatusIcon boostJump
s32 prevIndexBoostJump
HudSimpleStatusIcon boostHammer
s32 prevIndexBoostHammer
HudSimpleStatusIcon boostPartner
HudSimpleStatusIcon surprise
HudSimpleStatusIcon peril
HudSimpleStatusIcon danger

Macro Definition Documentation

◆ MAX_ICONS

#define MAX_ICONS   (64)

Enumeration Type Documentation

◆ StatusIconFlag

Enumerator
STATUS_ICON_FLAG_USED 
STATUS_ICON_FLAG_BATTLE 
STATUS_ICON_FLAG_DEBUFF 
STATUS_ICON_FLAG_STATIC 
STATUS_ICON_FLAG_TRANSPARENT 
STATUS_ICON_FLAG_STATUS_CHILL_OUT 
STATUS_ICON_FLAG_BOOST_JUMP 
STATUS_ICON_FLAG_BOOST_HAMMER 
STATUS_ICON_FLAG_BOOST_PARTNER 
STATUS_ICON_FLAG_SURPRISE 
STATUS_ICON_FLAG_PERIL 
STATUS_ICON_FLAG_DANGER 

Definition at line 8 of file status_icons.c.

8 {
21};
@ STATUS_ICON_FLAG_SURPRISE
@ STATUS_ICON_FLAG_STATIC
@ STATUS_ICON_FLAG_STATUS_CHILL_OUT
@ STATUS_ICON_FLAG_BOOST_PARTNER
@ STATUS_ICON_FLAG_DEBUFF
@ STATUS_ICON_FLAG_BATTLE
@ STATUS_ICON_FLAG_USED
Definition status_icons.c:9
@ STATUS_ICON_FLAG_BOOST_HAMMER
@ STATUS_ICON_FLAG_TRANSPARENT
@ STATUS_ICON_FLAG_DANGER
@ STATUS_ICON_FLAG_BOOST_JUMP
@ STATUS_ICON_FLAG_PERIL

◆ StatusIconTask

Enumerator
STATUS_ICON_TASK_NONE 
STATUS_ICON_TASK_LOAD 
STATUS_ICON_TASK_DRAW 

Definition at line 23 of file status_icons.c.

23 {
27};
@ STATUS_ICON_TASK_DRAW
@ STATUS_ICON_TASK_LOAD
@ STATUS_ICON_TASK_NONE

Function Documentation

◆ update_merlee_message()

void update_merlee_message ( void * popup)

Definition at line 221 of file status_icons.c.

221 {
222 PopupMessage* popup = data;
223 s32 closeMessage = FALSE;
224
225 switch (popup->showMsgState) {
228 break;
231 break;
234 popup->duration = 0;
235 }
236 if (popup->duration != 0) {
237 popup->duration--;
238 } else {
240 }
241 break;
244 break;
246 closeMessage = TRUE;
247 break;
248 }
249
250 if (closeMessage) {
252 D_800A0F40 = 0;
254 }
255}
u32 pressedButtons[4]
@ BTL_MSG_STATE_POPUP_DISPOSE
Definition enums.h:4155
@ BTL_MSG_STATE_POPUP_POST_DELAY
Definition enums.h:4154
@ BTL_MSG_STATE_INIT
Definition enums.h:4150
@ BTL_MSG_STATE_POPUP_PRE_DELAY
Definition enums.h:4152
@ BTL_MSG_STATE_POPUP_DELAY
Definition enums.h:4153
@ BUTTON_A
Definition enums.h:2790
@ BUTTON_B
Definition enums.h:2789
@ WINDOW_UPDATE_HIDE
Definition enums.h:5312
@ WIN_BTL_POPUP
Definition enums.h:5250
void set_window_update(s32 panelID, s32)
Definition windows.c:434
BSS s32 D_800A0F40
void dispose_merlee_message(PopupMessage *popup)
GameStatus * gGameStatusPtr
Definition main_loop.c:32

Referenced by show_merlee_message().

◆ draw_merlee_message()

void draw_merlee_message ( void * popup)

Definition at line 281 of file status_icons.c.

281 {
282#if VERSION_JP
283 PopupMessage* popup = data;
284 s32 width;
285 s32 height;
286 s32 messageID;
287 s32 xPos;
288
289 switch (popup->messageIndex) {
290 case 0:
291 if (popup->needsInit) {
292 popup->needsInit = FALSE;
293 messageID = D_80078168[popup->messageIndex];
294 width = get_msg_width(messageID, 0) + 23;
295 xPos = 160 - (width / 2);
296 height = 45;
299 }
300 break;
301
302 case 1:
303 if (popup->needsInit) {
304 popup->needsInit = FALSE;
305 messageID = D_80078168[popup->messageIndex];
306 width = get_msg_width(messageID, 0) + 23;
307 xPos = 160 - (width / 2);
308 height = 28;
311 }
312 break;
313 }
314#else
315 PopupMessage* popup = data;
316 s32 messageID;
317 s32 xPos;
318 s32 width;
319
320 if (popup->needsInit) {
321 popup->needsInit = FALSE;
322 messageID = D_80078168[popup->messageIndex];
323 width = get_msg_width(messageID, 0) + 30;
324 xPos = 160 - (width / 2);
325 set_window_properties(WIN_BTL_POPUP, xPos, 80, width, D_80078160[get_msg_lines(messageID) - 1], 0, draw_merlee_message_string, popup, -1);
327 }
328#endif
329}
#define get_msg_width
@ WINDOW_PRIORITY_0
Definition enums.h:3182
@ WINDOW_UPDATE_SHOW
Definition enums.h:5311
void set_window_properties(s32 panelID, s32 posX, s32 posY, s32 width, s32 height, u8, void *drawContents, void *drawContentsArg, s8 parent)
Definition windows.c:373
s32 get_msg_lines(s32 messageID)
Definition msg.c:1979
s32 D_80078168[]
void draw_merlee_message_string(PopupMessage *popup, s32 posX, s32 posY)
s16 D_80078160[]

Referenced by show_merlee_message().

◆ func_80045BC8()

void func_80045BC8 ( void )

Definition at line 161 of file status_icons.c.

161 {
162 s32 i;
163
164 for (i = 0; i < ARRAY_COUNT(D_800A0BC0); i++) {
165 PopupMessage* popup = &D_800A0BC0[i];
166 if (popup->active && popup->renderWorldFunc != NULL) {
167 popup->renderWorldFunc(popup);
168 }
169 }
170}
PopupMessageCallback renderWorldFunc
#define ARRAY_COUNT(arr)
Definition macros.h:40
BSS PopupMessage D_800A0BC0[32]

Referenced by func_80045AC0().

◆ init_all_status_icons()

void init_all_status_icons ( void )

Definition at line 335 of file status_icons.c.

335 {
336 int i;
337 HudStatusIcon* icons;
339
340 if (popup != NULL) {
342 popup->unk_00 = 0;
343 popup->renderWorldFunc = NULL;
345 popup->data.icons = general_heap_malloc(MAX_ICONS * sizeof(HudStatusIcon));
346 icons = D_800A0F44 = popup->data.icons;
347 ASSERT(icons != NULL);
348
349 for (i = 0; i < MAX_ICONS; i++, icons++)
350 icons->flags = 0;
351 }
352}
PopupMessageCallback updateFunc
PopupMessageCallback renderUIFunc
union PopupMessage::@39 data
#define general_heap_malloc
#define ASSERT(condition)
PopupMessage * get_current_merlee_message(void)
#define MAX_ICONS
Definition status_icons.c:6
void update_all_status_icons(void *popup)
void draw_all_status_icons(void *popup)
BSS HudStatusIcon * D_800A0F44

Referenced by func_80045AC0().

◆ update_all_status_icons()

void update_all_status_icons ( void * popup)

Definition at line 354 of file status_icons.c.

354 {
355 PopupMessage* popup = data;
356 HudStatusIcon* icon;
357 int i;
358 s32 elementID;
359
360 for (i = 0, icon = D_800A0F44; i < MAX_ICONS; i++, icon++) {
361 if (icon->flags == 0) {
362 continue;
363 }
364
366 switch (icon->status1.active) {
367 case STATUS_KEY_SLEEP:
369 break;
372 break;
373 case STATUS_KEY_DIZZY:
375 break;
376 case STATUS_KEY_FEAR:
378 break;
379 case STATUS_KEY_STOP:
381 break;
384 break;
387 break;
390 break;
391 default:
393 break;
394 }
398 }
399
400 switch (icon->status1.removingTask) {
402 break;
404 switch (icon->status1.removing) {
405 case STATUS_KEY_SLEEP:
407 break;
410 break;
411 case STATUS_KEY_DIZZY:
413 break;
414 case STATUS_KEY_FEAR:
416 break;
417 case STATUS_KEY_STOP:
419 break;
422 break;
425 break;
428 break;
429 default:
431 break;
432 }
433
434 icon->status1.frameCounter = 10;
436 break;
437
439 if (icon->status1.frameCounter != 0) {
440 icon->status1.frameCounter--;
441 } else {
442 icon->status1.removing = 0;
445 }
446 break;
447 }
448
450 switch (icon->status2.active) {
453 break;
454 default:
456 break;
457 }
458
462 }
463
464 switch (icon->status2.removingTask) {
466 break;
468 switch (icon->status2.removing) {
471 break;
472 default:
474 break;
475 }
476
477 icon->status2.frameCounter = 20;
479 break;
481 if (icon->status2.frameCounter != 0) {
482 icon->status2.frameCounter--;
483 } else {
484 icon->status2.removing = 0;
487 }
488 break;
489 }
490
492 switch (icon->status3.active) {
495 break;
496 default:
498 break;
499 }
500
504 }
505
506 switch (icon->status3.removingTask) {
508 break;
510 switch (icon->status3.removing) {
513 break;
514 default:
516 break;
517 }
518
519 icon->status3.frameCounter = 20;
521 break;
523 if (icon->status3.frameCounter != 0) {
524 icon->status3.frameCounter--;
525 } else {
526 icon->status3.removing = 0;
529 }
530 break;
531 }
532
538 }
539
540 switch (icon->status4.removingTask) {
542 break;
545 icon->status4.frameCounter = 20;
547 break;
549 if (icon->status4.frameCounter != 0) {
550 icon->status4.frameCounter--;
551 } else {
552 icon->status4.removing = 0;
555 }
556 break;
557 }
558
559 if (icon->boostJump.removing) {
560 if (icon->boostJump.removing == 1) {
561 s32 index = icon->prevIndexBoostJump;
562
564 hud_element_free(index);
565 icon->boostJump.removing = 0;
566 }
567 }
568 }
569
570 if (icon->boostHammer.removing) {
571 if (icon->boostHammer.removing == 1) {
572 s32 index = icon->prevIndexBoostHammer;
573
575 hud_element_free(index);
576 icon->boostHammer.removing = 0;
577 }
578 }
579 }
580 }
581}
s8 flags
Definition demo_api.c:15
@ STATUS_KEY_PARALYZE
Definition enums.h:2201
@ STATUS_KEY_FROZEN
Definition enums.h:2203
@ STATUS_KEY_TRANSPARENT
Definition enums.h:2210
@ STATUS_KEY_STATIC
Definition enums.h:2207
@ STATUS_KEY_FEAR
Definition enums.h:2199
@ STATUS_KEY_SLEEP
Definition enums.h:2202
@ STATUS_KEY_STOP
Definition enums.h:2204
@ STATUS_KEY_SHRINK
Definition enums.h:2206
@ STATUS_KEY_DIZZY
Definition enums.h:2200
@ STATUS_KEY_POISON
Definition enums.h:2205
void hud_element_set_script(s32 id, HudScript *anim)
s32 hud_element_create(HudScript *anim)
Creates a new HUD element and returns its ID.
HudElement * get_hud_element(s32 id)
void hud_element_set_flags(s32 id, s32 flags)
Turns on the given flags.
void hud_element_free(s32 id)
@ HUD_ELEMENT_FLAG_DISABLED
Definition hud_element.h:74
@ HUD_ELEMENT_FLAG_80
Definition hud_element.h:80
@ HUD_ELEMENT_FLAG_ANIMATION_FINISHED
Definition hud_element.h:75
HudComplexStatusIcon status2
HudSimpleStatusIcon boostJump
HudComplexStatusIcon status4
s32 prevIndexBoostHammer
HudScript HES_WeakenedEnd
HudScript HES_StoppedEnd
HudScript HES_DizzyBegin
HudScript HES_WeakenedBegin
HudScript HES_TransparentEnd
HudScript HES_ElectrifiedBegin
HudScript HES_PoisonedEnd
HudScript HES_PoisonedBegin
HudScript HES_DizzyEnd
HudScript HES_AsleepEnd
HudScript HES_Item_KeyGift
HudScript HES_ParalyzedEnd
HudScript HES_StoppedBegin
HudScript HES_ShrunkEnd
HudScript HES_ShrunkBegin
HudScript HES_ParalyzedBegin
HudScript HES_AsleepBegin
HudScript HES_TransparentBegin
HudSimpleStatusIcon boostHammer
HudScript HES_FrozenEnd
HudComplexStatusIcon status1
HudComplexStatusIcon status3
HudScript HES_FrozenBegin
HudScript HES_WeakenedLoop
HudScript HES_ElectrifiedEnd

Referenced by init_all_status_icons().

◆ draw_all_status_icons()

void draw_all_status_icons ( void * popup)

Definition at line 583 of file status_icons.c.

583 {
584 PopupMessage* popup = data;
585 HudStatusIcon* icon;
586 s32 elementId;
587 f32 x, y, z;
588 s32 screenX, screenY, screenZ;
589 s32 isActiveDrawn, iconCounter;
590 s32 offsetY;
591 Camera* camera = &gCameras[gCurrentCameraID];
592 int i;
593
594 gDPSetScissor(gMainGfxPos++, G_SC_NON_INTERLACE, 12, 20, SCREEN_WIDTH - 12, SCREEN_HEIGHT - 20);
595 gDPPipeSync(gMainGfxPos++);
596 gDPSetCycleType(gMainGfxPos++, G_CYC_1CYCLE);
597 gDPSetTexturePersp(gMainGfxPos++, G_TP_NONE);
598 gDPSetTextureLOD(gMainGfxPos++, G_TL_TILE);
599 gDPSetTextureDetail(gMainGfxPos++, G_TD_CLAMP);
600 gDPSetTextureConvert(gMainGfxPos++, G_TC_FILT);
601 gDPSetCombineKey(gMainGfxPos++, G_CK_NONE);
602 gDPSetAlphaCompare(gMainGfxPos++, G_AC_NONE);
603 gDPNoOp(gMainGfxPos++);
604 gDPSetColorDither(gMainGfxPos++, G_CD_DISABLE);
605 gDPSetAlphaDither(gMainGfxPos++, G_AD_DISABLE);
606 gSPTexture(gMainGfxPos++, -1, -1, 0, G_TX_RENDERTILE, G_ON);
607
608 for (i = 0, icon = D_800A0F44; i < MAX_ICONS; i++, icon++) {
609 if (icon->flags == 0) {
610 continue;
611 }
612
613 iconCounter = 0;
614 isActiveDrawn = 0;
616 if (icon->flags & STATUS_ICON_FLAG_DEBUFF) {
620
621 x = icon->worldPos.x;
622 y = icon->worldPos.y + icon->status1OffsetY;
623 z = icon->worldPos.z;
624
625 add_vec2D_polar(&x, &z, icon->status1Radius, clamp_angle(camera->curYaw + 90));
626 get_screen_coords(gCurrentCameraID, x, y, z, &screenX, &screenY, &screenZ);
627 elementId = icon->status1.activeElementID;
628 hud_element_set_render_pos(elementId, screenX - 8, screenY - 8);
629 hud_element_draw_next(elementId);
630 iconCounter = 1;
631 isActiveDrawn = 1;
632 }
633 }
634
637 ) {
639
640 if (isActiveDrawn == 0) {
641 iconCounter++;
642 }
643
644 x = icon->worldPos.x;
645 y = icon->worldPos.y + icon->status1OffsetY;
646 z = icon->worldPos.z;
647
648 add_vec2D_polar(&x, &z, icon->status1Radius, clamp_angle(camera->curYaw + 90));
649 get_screen_coords(gCurrentCameraID, x, y, z, &screenX, &screenY, &screenZ);
650 elementId = icon->status1.removingElementID;
651 hud_element_set_render_pos(elementId, screenX - 8, screenY - 8);
652 hud_element_draw_next(elementId);
653 }
654
655 isActiveDrawn = 0;
657 if (icon->flags & STATUS_ICON_FLAG_STATIC) {
661
662 offsetY = 0;
663 if (iconCounter == 0) {
664 offsetY = -17;
665 }
666
667 x = icon->worldPos.x;
668 y = icon->worldPos.y + icon->status2OffsetY + offsetY;
669 z = icon->worldPos.z;
670
671 add_vec2D_polar(&x, &z, icon->status2Radius, clamp_angle(camera->curYaw + 90));
672 get_screen_coords(gCurrentCameraID, x, y, z, &screenX, &screenY, &screenZ);
673 elementId = icon->status2.activeElementID;
674 hud_element_set_render_pos(elementId, screenX - 8, screenY - 8);
675 hud_element_draw_next(elementId);
676
677 iconCounter++;
678 isActiveDrawn = 1;
679 }
680 }
681
684 ) {
686
687 offsetY = 0;
688 if (iconCounter == 0) {
689 offsetY = -17;
690 }
691 if (isActiveDrawn == 0) {
692 iconCounter++;
693 }
694
695 x = icon->worldPos.x;
696 y = icon->worldPos.y + icon->status2OffsetY + offsetY;
697 z = icon->worldPos.z;
698
699 add_vec2D_polar(&x, &z, icon->status2Radius, clamp_angle(camera->curYaw + 90));
700 get_screen_coords(gCurrentCameraID, x, y, z, &screenX, &screenY, &screenZ);
701 elementId = icon->status2.removingElementID;
702 hud_element_set_render_pos(elementId, screenX - 8, screenY - 8);
703 hud_element_draw_next(elementId);
704 }
705
706 isActiveDrawn = 0;
712
713 offsetY = 0;
714 if (iconCounter == 1) {
715 offsetY = -17;
716 } if (iconCounter == 0) {
717 offsetY = -34;
718 }
719
720 x = icon->worldPos.x;
721 y = icon->worldPos.y + icon->status3OffsetY + offsetY;
722 z = icon->worldPos.z;
723
724 add_vec2D_polar(&x, &z, icon->status3Radius, clamp_angle(camera->curYaw + 90));
725 get_screen_coords(gCurrentCameraID, x, y, z, &screenX, &screenY, &screenZ);
726 elementId = icon->status3.activeElementID;
727 hud_element_set_render_pos(elementId, screenX - 8, screenY - 8);
728 hud_element_draw_next(elementId);
729 iconCounter++;
730 isActiveDrawn = 1;
731 }
732 }
733
736 ) {
738
739 offsetY = 0;
740 if (iconCounter == 1) {
741 offsetY = -17;
742 }
743 if (iconCounter == 0) {
744 offsetY = -34;
745 }
746 if (isActiveDrawn == 0) {
747 iconCounter++;
748 }
749
750 x = icon->worldPos.x;
751 y = icon->worldPos.y + icon->status3OffsetY + offsetY;
752 z = icon->worldPos.z;
753
754 add_vec2D_polar(&x, &z, icon->status3Radius, clamp_angle(camera->curYaw + 90));
755 get_screen_coords(gCurrentCameraID, x, y, z, &screenX, &screenY, &screenZ);
756 elementId = icon->status3.removingElementID;
757 hud_element_set_render_pos(elementId, screenX - 8, screenY - 8);
758 hud_element_draw_next(elementId);
759 }
760
761 isActiveDrawn = 0;
767
768 offsetY = 0;
769 if (iconCounter == 2) {
770 offsetY = -17;
771 }
772 if (iconCounter == 1) {
773 offsetY = -34;
774 }
775 if (iconCounter == 0) {
776 offsetY = -51;
777 }
778
779 x = icon->worldPos.x;
780 y = icon->worldPos.y + icon->status4OffsetY + offsetY;
781 z = icon->worldPos.z;
782
783 add_vec2D_polar(&x, &z, icon->status4Radius, clamp_angle(camera->curYaw + 90));
784 get_screen_coords(gCurrentCameraID, x, y, z, &screenX, &screenY, &screenZ);
785 elementId = icon->status4.activeElementID;
786 hud_element_set_render_pos(elementId, screenX - 8, screenY - 8);
787 hud_element_draw_next(elementId);
788 iconCounter++;
789 isActiveDrawn = 1;
790 }
791 }
792
795 ) {
797
798 offsetY = 0;
799 if (iconCounter == 2) {
800 offsetY = -17;
801 }
802 if (iconCounter == 1) {
803 offsetY = -34;
804 }
805 if (iconCounter == 0) {
806 offsetY = -51;
807 }
808 if (isActiveDrawn == 0) {
809 iconCounter++;
810 }
811
812 x = icon->worldPos.x;
813 y = icon->worldPos.y + icon->status4OffsetY + offsetY;
814 z = icon->worldPos.z;
815
816 add_vec2D_polar(&x, &z, icon->status4Radius, clamp_angle(camera->curYaw + 90));
817 get_screen_coords(gCurrentCameraID, x, y, z, &screenX, &screenY, &screenZ);
818 elementId = icon->status4.removingElementID;
819 hud_element_set_render_pos(elementId, screenX - 8, screenY - 8);
820 hud_element_draw_next(elementId);
821 }
822
823 do {
824 if (icon->boostJump.active) {
829
830 x = icon->worldPos.x;
831 z = icon->worldPos.z;
832
833 get_screen_coords(gCurrentCameraID, x, icon->worldPos.y + icon->offsetY, z, &screenX, &screenY, &screenZ);
834 elementId = icon->boostJump.activeElementID;
835 hud_element_set_render_pos(elementId, screenX + 2, screenY - 12);
836 hud_element_draw_next(elementId);
837 }
838 }
839 } while (0);
840
841 if (icon->boostJump.removing) {
843
844 x = icon->worldPos.x;
845 z = icon->worldPos.z;
846
847 get_screen_coords(gCurrentCameraID, x, icon->worldPos.y + icon->offsetY, z, &screenX, &screenY, &screenZ);
848 elementId = icon->prevIndexBoostJump;
849 hud_element_set_render_pos(elementId, screenX + 2, screenY - 12);
850 hud_element_draw_next(elementId);
851 }
852
853 do {
854 if (icon->boostHammer.active) {
859
860 x = icon->worldPos.x;
861 z = icon->worldPos.z;
862
863 get_screen_coords(gCurrentCameraID, x, icon->worldPos.y + icon->offsetY, z, &screenX, &screenY, &screenZ);
864 elementId = icon->boostHammer.activeElementID;
865 hud_element_set_render_pos(elementId, screenX + 2, screenY - 12);
866 hud_element_draw_next(elementId);
867 }
868 }
869 } while (0);
870
871 if (icon->boostHammer.removing) {
873
874 x = icon->worldPos.x;
875 z = icon->worldPos.z;
876
877 get_screen_coords(gCurrentCameraID, x, icon->worldPos.y + icon->offsetY, z, &screenX, &screenY, &screenZ);
878 elementId = icon->prevIndexBoostHammer;
879 hud_element_set_render_pos(elementId, screenX + 2, screenY - 12);
880 hud_element_draw_next(elementId);
881 }
882
883 do {
884 if (icon->boostPartner.active) {
889
890 x = icon->worldPos.x;
891 z = icon->worldPos.z;
892
893 get_screen_coords(gCurrentCameraID, x, icon->worldPos.y + icon->offsetY, z, &screenX, &screenY, &screenZ);
894 elementId = icon->boostPartner.activeElementID;
895 hud_element_set_render_pos(elementId, screenX + 2, screenY - 12);
896 hud_element_draw_next(elementId);
897 }
898 }
899 } while (0);
900
901 do {
902 if (icon->surprise.active) {
903 if (icon->flags & STATUS_ICON_FLAG_SURPRISE) {
907
908 x = icon->worldPos.x;
909 z = icon->worldPos.z;
910
911 get_screen_coords(gCurrentCameraID, x, icon->worldPos.y + icon->offsetY, z, &screenX, &screenY, &screenZ);
912 elementId = icon->surprise.activeElementID;
913 hud_element_set_render_pos(elementId, screenX + 2, screenY - 15);
914 hud_element_draw_next(elementId);
915 }
916 }
917 } while (0);
918
919 do {
920 if (icon->peril.active) {
921 if (icon->flags & STATUS_ICON_FLAG_PERIL) {
925
926 x = icon->worldPos.x;
927 z = icon->worldPos.z;
928
929 get_screen_coords(gCurrentCameraID, x, icon->worldPos.y + icon->offsetY, z, &screenX, &screenY, &screenZ);
930 elementId = icon->peril.activeElementID;
931 hud_element_set_render_pos(elementId, screenX + 2, screenY - 16);
932 hud_element_draw_next(elementId);
933 }
934 }
935 } while (0);
936
937 do {
938 if (icon->danger.active) {
939 if (icon->flags & STATUS_ICON_FLAG_DANGER) {
943
944 x = icon->worldPos.x;
945 z = icon->worldPos.z;
946
947 get_screen_coords(gCurrentCameraID, x, icon->worldPos.y + icon->offsetY, z, &screenX, &screenY, &screenZ);
948 elementId = icon->danger.activeElementID;
949 hud_element_set_render_pos(elementId, screenX + 2, screenY - 16);
950 hud_element_draw_next(elementId);
951 }
952 }
953 } while (0);
954 }
955}
#define clamp_angle
@ CONTEXT_BATTLE
Definition enums.h:3530
void get_screen_coords(s32 camID, f32 x, f32 y, f32 z, s32 *screenX, s32 *screenY, s32 *screenZ)
Definition cam_main.c:410
void add_vec2D_polar(f32 *x, f32 *y, f32 r, f32 theta)
Definition 43F0.c:685
void hud_element_draw_next(s32 id)
void hud_element_set_render_pos(s32 id, s32 x, s32 y)
void hud_element_clear_flags(s32 id, s32 flags)
Turns off the given flags.
#define SCREEN_WIDTH
Definition macros.h:105
#define SCREEN_HEIGHT
Definition macros.h:106
HudSimpleStatusIcon boostPartner
HudSimpleStatusIcon surprise
HudSimpleStatusIcon danger
HudSimpleStatusIcon peril
Camera gCameras[4]
Definition cam_main.c:17
Gfx * gMainGfxPos
Definition cam_main.c:15
s32 gCurrentCameraID
Definition cam_math.c:4

Referenced by init_all_status_icons().

◆ func_80045AC0()

void func_80045AC0 ( void )

Definition at line 125 of file status_icons.c.

125 {
126 s32 i;
127
128 for (i = 0; i < ARRAY_COUNT(D_800A0BC0); i++) {
129 PopupMessage* popup = &D_800A0BC0[i];
130 popup->active = FALSE;
131 popup->data.icons = NULL;
132 }
133
136}
s32 create_worker_world(WorldArgs, WorldArgs)
void func_80045BC8(void)
void init_all_status_icons(void)

Referenced by clear_encounter_status(), and init_encounter_status().

◆ func_80045B10()

void func_80045B10 ( void )

Definition at line 138 of file status_icons.c.

138 {
139 s32 i;
140
141 for (i = 0; i < ARRAY_COUNT(D_800A0BC0); i++) {
142 PopupMessage* popup = &D_800A0BC0[i];
143 if (popup->data.icons != NULL) {
144 heap_free(popup->data.icons);
145 }
146 popup->active = FALSE;
147 }
148}
s32 heap_free(void *ptr)
Definition heap.c:42

◆ update_merlee_messages()

void update_merlee_messages ( void )

Definition at line 150 of file status_icons.c.

150 {
151 s32 i;
152
153 for (i = 0; i < ARRAY_COUNT(D_800A0BC0); i++) {
154 PopupMessage* popup = &D_800A0BC0[i];
155 if (popup->active && popup->updateFunc != NULL) {
156 popup->updateFunc(popup);
157 }
158 }
159}

Referenced by update_encounters().

◆ draw_merlee_messages()

void draw_merlee_messages ( void )

Definition at line 172 of file status_icons.c.

172 {
173 s32 i;
174
175 for (i = 0; i < ARRAY_COUNT(D_800A0BC0); i++) {
176 PopupMessage* popup = &D_800A0BC0[i];
177 if (popup->active && popup->renderUIFunc != NULL) {
178 popup->renderUIFunc(popup);
179 }
180 }
181}

Referenced by draw_encounter_ui().

◆ get_current_merlee_message()

PopupMessage * get_current_merlee_message ( void )

Definition at line 183 of file status_icons.c.

183 {
184 s32 i;
185
186 for (i = 0; i < ARRAY_COUNT(D_800A0BC0); i++) {
187 PopupMessage* popup = &D_800A0BC0[i];
188 if (!popup->active) {
189 popup->active = TRUE;
190 return popup;
191 }
192 }
193
194 return NULL;
195}

Referenced by init_all_status_icons(), and show_merlee_message().

◆ dispose_merlee_message()

void dispose_merlee_message ( PopupMessage * popup)

Definition at line 197 of file status_icons.c.

197 {
198 if (popup->data.icons != NULL) {
199 heap_free(popup->data.icons);
200 popup->data.icons = NULL;
201 }
202 popup->active = FALSE;
203}

Referenced by update_merlee_message().

◆ show_merlee_message()

void show_merlee_message ( s16 messageIndex,
s16 duration )

Definition at line 205 of file status_icons.c.

205 {
207
208 if (popup != NULL) {
211 popup->needsInit = TRUE;
212 popup->unk_00 = 0;
213 popup->renderWorldFunc = NULL;
214 popup->messageIndex = messageIndex;
215 popup->duration = duration;
217 D_800A0F40 = 1;
218 }
219}
void draw_merlee_message(void *popup)
void update_merlee_message(void *popup)

◆ draw_merlee_message_string()

void draw_merlee_message_string ( PopupMessage * popup,
s32 posX,
s32 posY )

Definition at line 257 of file status_icons.c.

257 {
258#if VERSION_JP
259 s32 messageID;
260
261 posX += 11;
262 posY += 6;
263
264 if (popup->messageIndex >= ARRAY_COUNT(D_80078168)) return;
265 if (popup->messageIndex < 0) return;
266
267 messageID = D_80078168[popup->messageIndex];
268 draw_msg(messageID, posX, posY, 255, MSG_PAL_0F, 0);
269#else
270 s32 messageID = D_80078168[popup->messageIndex];
271
272 posY += 6;
273 posX += 15;
274
275 posY += D_80078164[get_msg_lines(messageID) - 1];
276
277 draw_msg(messageID, posX, posY, 255, MSG_PAL_0F, 0);
278#endif
279}
#define draw_msg
@ MSG_PAL_0F
Definition enums.h:5420
s16 D_80078164[]

Referenced by draw_merlee_message().

◆ is_merlee_message_done()

s32 is_merlee_message_done ( void )

Definition at line 331 of file status_icons.c.

331 {
332 return D_800A0F40;
333}

◆ create_status_icon_set()

s32 create_status_icon_set ( void )

Definition at line 957 of file status_icons.c.

957 {
958 s32 i;
959 HudStatusIcon* icon;
960
961 for (icon = D_800A0F44, i = 0; i < MAX_ICONS; icon++, i++) {
962 if (icon->flags == 0) {
963 break;
964 }
965 }
966
967 ASSERT(i < MAX_ICONS);
968
970
973 }
974
975 icon->worldPos.x = 0;
976 icon->worldPos.y = 0;
977 icon->worldPos.z = 0;
978
979 icon->status1Radius = 0;
980 icon->status1OffsetY = 0;
981 icon->status2Radius = 0;
982 icon->status2OffsetY = 0;
983 icon->status3Radius = 0;
984 icon->status3OffsetY = 0;
985 icon->status4Radius = 0;
986 icon->status4OffsetY = 0;
987 icon->status1.active = 0;
988 icon->status1.removing = 0;
989 icon->status1.activeTask = 0;
990 icon->status1.removingTask = 0;
991 icon->status2.active = 0;
992 icon->status2.removing = 0;
993 icon->status2.activeTask = 0;
994 icon->status2.removingTask = 0;
995 icon->status3.active = 0;
996 icon->status3.removing = 0;
997 icon->status3.activeTask = 0;
998 icon->status3.removingTask = 0;
999 icon->status4.active = 0;
1000 icon->status4.removing = 0;
1001 icon->status4.activeTask = 0;
1002 icon->status4.removingTask = 0;
1003 icon->boostJump.active = 0;
1004 icon->boostJump.removing = 0;
1005 icon->boostHammer.active = 0;
1006 icon->boostHammer.removing = 0;
1007 icon->boostPartner.active = 0;
1008 icon->surprise.active = 0;
1009 icon->peril.active = 0;
1010 icon->danger.active = 0;
1011
1012 return i;
1013}
@ CONTEXT_WORLD
Definition enums.h:3529

Referenced by create_actor(), load_partner_actor(), and load_player_actor().

◆ remove_all_status_icons()

void remove_all_status_icons ( s32 iconID)

Definition at line 1015 of file status_icons.c.

1015 {
1016 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1017
1018 remove_status_debuff(iconID);
1019 remove_status_static(iconID);
1028 statusIcon->flags = 0;
1029}
void remove_status_icon_surprise(s32 iconID)
void remove_status_debuff(s32 iconID)
void remove_status_icon_boost_jump(s32 iconID)
void remove_status_icon_boost_partner(s32 iconID)
void remove_status_transparent(s32 iconID)
void remove_status_static(s32 iconID)
void remove_status_icon_peril(s32 iconID)
void remove_status_chill_out(s32 iconID)
void remove_status_icon_boost_hammer(s32 iconID)
void remove_status_icon_danger(s32 iconID)

Referenced by btl_delete_actor(), and btl_delete_player_actor().

◆ set_status_icons_properties()

void set_status_icons_properties ( s32 iconID,
f32 x,
f32 y,
f32 z,
s32 arg,
s32 arg2,
s32 radius,
s32 offsetY )

Definition at line 1031 of file status_icons.c.

1031 {
1032 HudStatusIcon* icon = &D_800A0F44[iconID];
1033
1034 icon->worldPos.x = x;
1035 icon->worldPos.y = y;
1036 icon->worldPos.z = z;
1037 icon->status1Radius = radius + 17;
1038 icon->status1OffsetY = offsetY;
1039 icon->status2Radius = radius + 17;
1040 icon->status2OffsetY = offsetY + 17;
1041 icon->status3Radius = radius + 17;
1042 icon->status3OffsetY = offsetY + 34;
1043 icon->status4Radius = radius + 17;
1044 icon->status4OffsetY = offsetY + 51;
1045}

Referenced by appendGfx_npc_actor(), and appendGfx_player_actor().

◆ set_status_icons_offset()

void set_status_icons_offset ( s32 iconID,
s32 offsetY,
s32 offsetX )

Definition at line 1047 of file status_icons.c.

1047 {
1048 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1049
1050 statusIcon->offsetY = offsetY;
1051 statusIcon->offsetX = offsetX;
1052}

Referenced by appendGfx_npc_actor(), and appendGfx_player_actor().

◆ create_status_debuff()

void create_status_debuff ( s32 iconID,
s32 statusID )

Definition at line 1054 of file status_icons.c.

1054 {
1055 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1056
1057 statusIcon->flags &= ~STATUS_ICON_FLAG_DEBUFF;
1058 if (statusIcon->status1.active != statusID) {
1059 remove_status_debuff(iconID);
1060 statusIcon->status1.active = statusID;
1062 }
1063}

Referenced by appendGfx_npc_actor(), appendGfx_player_actor(), and inflict_status().

◆ remove_status_debuff()

void remove_status_debuff ( s32 iconID)

Definition at line 1065 of file status_icons.c.

1065 {
1066 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1067
1068 if (statusIcon->status1.active && !statusIcon->status1.removing) {
1069 statusIcon->status1.removing = statusIcon->status1.active;
1071 statusIcon->status1.active = 0;
1073 statusIcon->status1.frameCounter = 10;
1074 statusIcon->status1.removingElementID = statusIcon->status1.activeElementID;
1075 }
1076}

Referenced by btl_state_update_9(), btl_state_update_begin_player_turn(), btl_state_update_defeat(), create_status_debuff(), and remove_all_status_icons().

◆ enable_status_debuff()

void enable_status_debuff ( s32 iconID)

Definition at line 1078 of file status_icons.c.

1078 {
1079 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1080
1081 statusIcon->flags |= STATUS_ICON_FLAG_DEBUFF;
1082}

◆ create_status_static()

void create_status_static ( s32 iconID,
s32 statusID )

Definition at line 1084 of file status_icons.c.

1084 {
1085 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1086
1087 statusIcon->flags &= ~STATUS_ICON_FLAG_STATIC;
1088 if (statusIcon->status2.active != statusID) {
1089 remove_status_static(iconID);
1090 statusIcon->status2.active = statusID;
1091 statusIcon->status2.activeTask = 1;
1092 }
1093}

Referenced by appendGfx_npc_actor(), appendGfx_player_actor(), and inflict_status().

◆ remove_status_static()

void remove_status_static ( s32 iconID)

Definition at line 1095 of file status_icons.c.

1095 {
1096 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1097
1098 if (statusIcon->status2.active && !statusIcon->status2.removing) {
1099 statusIcon->status2.removing = statusIcon->status2.active;
1100 statusIcon->status2.removingTask = TRUE;
1101 statusIcon->status2.active = FALSE;
1102 statusIcon->status2.activeTask = FALSE;
1103 statusIcon->status2.frameCounter = 10;
1104 statusIcon->status2.removingElementID = statusIcon->status2.activeElementID;
1105 }
1106}

Referenced by btl_state_update_9(), btl_state_update_begin_player_turn(), calc_item_damage_enemy(), create_status_static(), remove_all_status_icons(), and remove_player_buffs().

◆ enable_status_static()

void enable_status_static ( s32 iconID)

Definition at line 1108 of file status_icons.c.

1108 {
1109 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1110
1111 statusIcon->flags |= STATUS_ICON_FLAG_STATIC;
1112}

Referenced by appendGfx_npc_actor(), and appendGfx_player_actor().

◆ create_status_transparent()

void create_status_transparent ( s32 iconID,
s32 statusID )

Definition at line 1114 of file status_icons.c.

1114 {
1115 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1116
1117 statusIcon->flags &= ~STATUS_ICON_FLAG_TRANSPARENT;
1118 if (statusIcon->status3.active != statusID) {
1120 statusIcon->status3.active = statusID;
1121 statusIcon->status3.activeTask = 1;
1122 }
1123}

Referenced by appendGfx_npc_actor(), appendGfx_player_actor(), and inflict_status().

◆ remove_status_transparent()

void remove_status_transparent ( s32 iconID)

Definition at line 1125 of file status_icons.c.

1125 {
1126 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1127
1128 if (statusIcon->status3.active && !statusIcon->status3.removing) {
1129 statusIcon->status3.removing = statusIcon->status3.active;
1130 statusIcon->status3.removingTask = TRUE;
1131 statusIcon->status3.active = FALSE;
1132 statusIcon->status3.activeTask = FALSE;
1133 statusIcon->status3.frameCounter = 10;
1134 statusIcon->status3.removingElementID = statusIcon->status3.activeElementID;
1135 }
1136}

Referenced by btl_state_update_9(), btl_state_update_begin_player_turn(), calc_item_damage_enemy(), create_status_transparent(), remove_all_status_icons(), and remove_player_buffs().

◆ enable_status_transparent()

void enable_status_transparent ( s32 iconID)

Definition at line 1138 of file status_icons.c.

1138 {
1139 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1140
1141 statusIcon->flags |= STATUS_ICON_FLAG_TRANSPARENT;
1142}

◆ create_status_chill_out()

void create_status_chill_out ( s32 iconID)

Definition at line 1144 of file status_icons.c.

1144 {
1145 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1146
1147 statusIcon->flags &= ~STATUS_ICON_FLAG_STATUS_CHILL_OUT;
1148 if (!statusIcon->status4.active) {
1149 statusIcon->status4.active = TRUE;
1150 statusIcon->status4.activeTask = TRUE;
1151 }
1152}

Referenced by appendGfx_npc_actor().

◆ remove_status_chill_out()

void remove_status_chill_out ( s32 iconID)

Definition at line 1154 of file status_icons.c.

1154 {
1155 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1156
1157 if (statusIcon->status4.active && !statusIcon->status4.removing) {
1158 statusIcon->status4.removing = statusIcon->status4.active;
1159 statusIcon->status4.removingTask = TRUE;
1160 statusIcon->status4.active = FALSE;
1161 statusIcon->status4.activeTask = FALSE;
1162 statusIcon->status4.frameCounter = 10;
1163 statusIcon->status4.removingElementID = statusIcon->status4.activeElementID;
1164 }
1165}

Referenced by btl_state_update_begin_player_turn(), and remove_all_status_icons().

◆ enable_status_chill_out()

void enable_status_chill_out ( s32 iconID)

Definition at line 1167 of file status_icons.c.

1167 {
1168 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1169
1171}

Referenced by appendGfx_npc_actor(), and appendGfx_player_actor().

◆ create_status_icon_boost_jump()

void create_status_icon_boost_jump ( s32 iconID)

Definition at line 1173 of file status_icons.c.

1173 {
1174 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1175 s32 hudElement;
1176
1177 statusIcon->flags &= ~STATUS_ICON_FLAG_BOOST_JUMP;
1178 if (!statusIcon->boostJump.active) {
1179 statusIcon->boostJump.active = TRUE;
1183 statusIcon->boostJump.activeElementID = hudElement;
1184 }
1185}
HudScript HES_BoostJumpBegin

Referenced by appendGfx_player_actor().

◆ remove_status_icon_boost_jump()

void remove_status_icon_boost_jump ( s32 iconID)

Definition at line 1187 of file status_icons.c.

1187 {
1188 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1189
1190 if (statusIcon->boostJump.active) {
1191 s32 hudElemIndex = statusIcon->boostJump.activeElementID;
1192 statusIcon->boostJump.active = FALSE;
1193 statusIcon->boostJump.removing = TRUE;
1194 statusIcon->prevIndexBoostJump = hudElemIndex;
1196 }
1197}
HudScript HES_BoostJumpEnd

Referenced by appendGfx_player_actor(), and remove_all_status_icons().

◆ enable_status_icon_boost_jump()

void enable_status_icon_boost_jump ( s32 iconID)

Definition at line 1199 of file status_icons.c.

1199 {
1200 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1201
1202 statusIcon->flags |= STATUS_ICON_FLAG_BOOST_JUMP;
1203}

Referenced by appendGfx_player_actor().

◆ create_status_icon_boost_hammer()

void create_status_icon_boost_hammer ( s32 iconID)

Definition at line 1205 of file status_icons.c.

1205 {
1206 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1207 s32 hudElement;
1208
1209 statusIcon->flags &= ~STATUS_ICON_FLAG_BOOST_HAMMER;
1210 if (!statusIcon->boostHammer.active) {
1211 statusIcon->boostHammer.active = TRUE;
1215 statusIcon->boostHammer.activeElementID = hudElement;
1216 }
1217}
HudScript HES_BoostHammerBegin

Referenced by appendGfx_player_actor().

◆ remove_status_icon_boost_hammer()

void remove_status_icon_boost_hammer ( s32 iconID)

Definition at line 1219 of file status_icons.c.

1219 {
1220 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1221
1222 if (statusIcon->boostHammer.active) {
1223 s32 hudElemIndex = statusIcon->boostHammer.activeElementID;
1224 statusIcon->boostHammer.active = FALSE;
1225 statusIcon->boostHammer.removing = FALSE;
1226 statusIcon->prevIndexBoostHammer = hudElemIndex;
1228 }
1229}
HudScript HES_BoostHammerEnd

Referenced by appendGfx_player_actor(), and remove_all_status_icons().

◆ enable_status_icon_boost_hammer()

void enable_status_icon_boost_hammer ( s32 iconID)

Definition at line 1231 of file status_icons.c.

1231 {
1232 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1233
1234 statusIcon->flags |= STATUS_ICON_FLAG_BOOST_HAMMER;
1235}

Referenced by appendGfx_player_actor().

◆ create_status_icon_boost_partner()

void create_status_icon_boost_partner ( s32 iconID)

Definition at line 1237 of file status_icons.c.

1237 {
1238 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1239 s32 hudElement;
1240
1241 statusIcon->flags &= ~STATUS_ICON_FLAG_BOOST_PARTNER;
1242 if (!statusIcon->boostPartner.active) {
1243 statusIcon->boostPartner.active = TRUE;
1244 hudElement = hud_element_create(&HES_BoostPartner);
1247 statusIcon->boostPartner.activeElementID = hudElement;
1248 }
1249}
HudScript HES_BoostPartner

◆ remove_status_icon_boost_partner()

void remove_status_icon_boost_partner ( s32 iconID)

Definition at line 1251 of file status_icons.c.

1251 {
1252 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1253
1254 if (statusIcon->boostPartner.active) {
1255 statusIcon->boostPartner.active = FALSE;
1257 }
1258}

Referenced by remove_all_status_icons().

◆ enable_status_icon_boost_partner()

void enable_status_icon_boost_partner ( s32 iconID)

Definition at line 1260 of file status_icons.c.

1260 {
1261 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1262
1264}

◆ create_status_icon_surprise()

void create_status_icon_surprise ( s32 iconID)

Definition at line 1266 of file status_icons.c.

1266 {
1267 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1268 s32 hudElement;
1269
1270 statusIcon->flags &= ~STATUS_ICON_FLAG_SURPRISE;
1271 if (!statusIcon->surprise.active) {
1272 statusIcon->surprise.active = TRUE;
1273 hudElement = hud_element_create(&HES_Surprise);
1276 statusIcon->surprise.activeElementID = hudElement;
1277 }
1278}
HudScript HES_Surprise

◆ remove_status_icon_surprise()

void remove_status_icon_surprise ( s32 iconID)

Definition at line 1280 of file status_icons.c.

1280 {
1281 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1282
1283 if (statusIcon->surprise.active) {
1284 statusIcon->surprise.active = FALSE;
1286 }
1287}

Referenced by remove_all_status_icons().

◆ enable_status_icon_surprise()

void enable_status_icon_surprise ( s32 iconID)

Definition at line 1289 of file status_icons.c.

1289 {
1290 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1291
1292 statusIcon->flags |= STATUS_ICON_FLAG_SURPRISE;
1293}

◆ create_status_icon_peril()

void create_status_icon_peril ( s32 iconID)

Definition at line 1295 of file status_icons.c.

1295 {
1296 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1297 s32 hudElement;
1298
1299 statusIcon->flags &= ~STATUS_ICON_FLAG_PERIL;
1300 if (!statusIcon->peril.active) {
1301 statusIcon->peril.active = TRUE;
1302 hudElement = hud_element_create(&HES_Peril);
1305 statusIcon->peril.activeElementID = hudElement;
1306 }
1307}
HudScript HES_Peril

Referenced by appendGfx_player_actor().

◆ remove_status_icon_peril()

void remove_status_icon_peril ( s32 iconID)

Definition at line 1309 of file status_icons.c.

1309 {
1310 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1311
1312 if (statusIcon->peril.active) {
1313 statusIcon->peril.active = FALSE;
1315 }
1316}

Referenced by appendGfx_player_actor(), and remove_all_status_icons().

◆ enable_status_icon_peril()

void enable_status_icon_peril ( s32 iconID)

Definition at line 1318 of file status_icons.c.

1318 {
1319 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1320
1321 statusIcon->flags |= STATUS_ICON_FLAG_PERIL;
1322}

◆ create_status_icon_danger()

void create_status_icon_danger ( s32 iconID)

Definition at line 1324 of file status_icons.c.

1324 {
1325 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1326 s32 hudElement;
1327
1328 statusIcon->flags &= ~STATUS_ICON_FLAG_DANGER;
1329 if (!statusIcon->danger.active) {
1330 statusIcon->danger.active = TRUE;
1331 hudElement = hud_element_create(&HES_Danger);
1334 statusIcon->danger.activeElementID = hudElement;
1335 }
1336}
HudScript HES_Danger

Referenced by appendGfx_player_actor().

◆ remove_status_icon_danger()

void remove_status_icon_danger ( s32 iconID)

Definition at line 1338 of file status_icons.c.

1338 {
1339 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1340
1341 if (statusIcon->danger.active) {
1342 statusIcon->danger.active = FALSE;
1344 }
1345}

Referenced by appendGfx_player_actor(), and remove_all_status_icons().

◆ enable_status_icon_danger()

void enable_status_icon_danger ( s32 iconID)

Definition at line 1347 of file status_icons.c.

1347 {
1348 HudStatusIcon* statusIcon = &D_800A0F44[iconID];
1349
1350 statusIcon->flags |= STATUS_ICON_FLAG_DANGER;
1351}

Variable Documentation

◆ D_80078160

s16 D_80078160[] = { 28, 40 }

Definition at line 74 of file status_icons.c.

74{ 28, 40 };

Referenced by draw_merlee_message().

◆ D_80078164

s16 D_80078164[] = { 0, -2 }

Definition at line 75 of file status_icons.c.

75{ 0, -2 };

Referenced by draw_merlee_message_string().

◆ D_80078168

s32 D_80078168[]
Initial value:
= {
MSG_Menus_Merlee_IncreaseCoins,
MSG_Menus_Merlee_Exhausted,
}

Definition at line 78 of file status_icons.c.

78 {
79 MSG_Menus_Merlee_IncreaseCoins,
80 MSG_Menus_Merlee_Exhausted,
81};

Referenced by draw_merlee_message(), and draw_merlee_message_string().

◆ D_800A0BC0

◆ D_800A0F40

BSS s32 D_800A0F40

◆ D_800A0F44

◆ HES_Item_KeyGift

HudScript HES_Item_KeyGift
extern

Referenced by update_all_status_icons().

◆ HES_AsleepBegin

HudScript HES_AsleepBegin
extern

Definition at line 811 of file global_hud_scripts.c.

811 {
813 hs_SetCustomSize(16, 16)
814 hs_SetAlpha(30)
815 hs_SetTexelOffset(10, -10)
816 hs_SetCI(1, ui_battle_status_sleep_0)
817 hs_SetAlpha(50)
818 hs_SetTexelOffset(8, -8)
819 hs_SetCI(1, ui_battle_status_sleep_0)
820 hs_SetAlpha(80)
821 hs_SetTexelOffset(6, -6)
822 hs_SetCI(1, ui_battle_status_sleep_0)
823 hs_SetAlpha(120)
824 hs_SetTexelOffset(5, -5)
825 hs_SetCI(1, ui_battle_status_sleep_0)
826 hs_SetAlpha(170)
827 hs_SetTexelOffset(4, -4)
828 hs_SetCI(1, ui_battle_status_sleep_0)
829 hs_SetAlpha(200)
830 hs_SetTexelOffset(3, -3)
831 hs_SetCI(1, ui_battle_status_sleep_0)
832 hs_SetAlpha(220)
833 hs_SetTexelOffset(2, -2)
834 hs_SetCI(1, ui_battle_status_sleep_0)
835 hs_SetAlpha(240)
836 hs_SetTexelOffset(1, -1)
837 hs_SetCI(1, ui_battle_status_sleep_0)
838 hs_SetAlpha(255)
840 hs_SetCI(1, ui_battle_status_sleep_0)
841 hs_Loop
842 hs_SetCI(8, ui_battle_status_sleep_0)
843 hs_SetCI(4, ui_battle_status_sleep_1)
844 hs_SetCI(8, ui_battle_status_sleep_2)
845 hs_SetCI(4, ui_battle_status_sleep_1)
847 hs_End
848};
#define hs_SetCustomSize(arg0, arg1)
#define hs_SetVisible
#define hs_End
#define hs_Restart
#define hs_SetAlpha(alpha)
#define hs_Loop
#define hs_SetCI(time, name)
#define hs_SetTexelOffset(x, y)

Referenced by update_all_status_icons().

◆ HES_AsleepEnd

HudScript HES_AsleepEnd
extern

Definition at line 850 of file global_hud_scripts.c.

850 {
852 hs_SetCustomSize(16, 16)
853 hs_SetAlpha(255)
855 hs_SetCI(1, ui_battle_status_sleep_0)
856 hs_SetAlpha(240)
857 hs_SetTexelOffset(1, -1)
858 hs_SetCI(1, ui_battle_status_sleep_0)
859 hs_SetAlpha(220)
860 hs_SetTexelOffset(2, -2)
861 hs_SetCI(1, ui_battle_status_sleep_0)
862 hs_SetAlpha(200)
863 hs_SetTexelOffset(3, -3)
864 hs_SetCI(1, ui_battle_status_sleep_0)
865 hs_SetAlpha(170)
866 hs_SetTexelOffset(4, -4)
867 hs_SetCI(1, ui_battle_status_sleep_0)
868 hs_SetAlpha(120)
869 hs_SetTexelOffset(5, -5)
870 hs_SetCI(1, ui_battle_status_sleep_0)
871 hs_SetAlpha(80)
872 hs_SetTexelOffset(6, -6)
873 hs_SetCI(1, ui_battle_status_sleep_0)
874 hs_SetAlpha(50)
875 hs_SetTexelOffset(8, -8)
876 hs_SetCI(1, ui_battle_status_sleep_0)
877 hs_SetAlpha(30)
878 hs_SetTexelOffset(10, -10)
879 hs_SetCI(1, ui_battle_status_sleep_0)
880 hs_End
881};

Referenced by update_all_status_icons().

◆ HES_ElectrifiedBegin

HudScript HES_ElectrifiedBegin
extern

Definition at line 904 of file global_hud_scripts.c.

904 {
906 hs_SetCustomSize(16, 16)
907 hs_SetAlpha(30)
908 hs_SetTexelOffset(10, -10)
909 hs_SetCI(1, ui_battle_status_static_0)
910 hs_SetAlpha(50)
911 hs_SetTexelOffset(8, -8)
912 hs_SetCI(1, ui_battle_status_static_0)
913 hs_SetAlpha(80)
914 hs_SetTexelOffset(6, -6)
915 hs_SetCI(1, ui_battle_status_static_0)
916 hs_SetAlpha(120)
917 hs_SetTexelOffset(5, -5)
918 hs_SetCI(1, ui_battle_status_static_0)
919 hs_SetAlpha(170)
920 hs_SetTexelOffset(4, -4)
921 hs_SetCI(1, ui_battle_status_static_0)
922 hs_SetAlpha(200)
923 hs_SetTexelOffset(3, -3)
924 hs_SetCI(1, ui_battle_status_static_0)
925 hs_SetAlpha(220)
926 hs_SetTexelOffset(2, -2)
927 hs_SetCI(1, ui_battle_status_static_0)
928 hs_SetAlpha(240)
929 hs_SetTexelOffset(1, -1)
930 hs_SetCI(1, ui_battle_status_static_0)
931 hs_SetAlpha(255)
933 hs_SetCI(1, ui_battle_status_static_0)
934 hs_Loop
935 hs_SetCI(24,ui_battle_status_static_0)
936 hs_SetCI(1, ui_battle_status_static_1)
937 hs_SetCI(1, ui_battle_status_static_0)
938 hs_SetCI(1, ui_battle_status_static_1)
939 hs_SetCI(49,ui_battle_status_static_0)
940 hs_SetCI(1, ui_battle_status_static_1)
941 hs_SetCI(1, ui_battle_status_static_0)
942 hs_SetCI_Explicit(1, ui_battle_status_static_1, ui_battle_status_static_0)
943 hs_SetCI_Explicit(1, ui_battle_status_static_0, ui_battle_status_static_1)
944 hs_SetCI_Explicit(1, ui_battle_status_static_1, ui_battle_status_static_0)
945 hs_SetCI_Explicit(1, ui_battle_status_static_0, ui_battle_status_static_1)
946 hs_SetCI_Explicit(1, ui_battle_status_static_1, ui_battle_status_static_0)
947 hs_SetCI_Explicit(1, ui_battle_status_static_0, ui_battle_status_static_1)
949 hs_End
950};
#define hs_SetCI_Explicit(time, raster, palette)

Referenced by update_all_status_icons().

◆ HES_ElectrifiedEnd

HudScript HES_ElectrifiedEnd
extern

Definition at line 952 of file global_hud_scripts.c.

952 {
954 hs_SetCustomSize(16, 16)
955 hs_SetAlpha(255)
957 hs_SetCI(1, ui_battle_status_static_0)
958 hs_SetAlpha(240)
959 hs_SetTexelOffset(1, -1)
960 hs_SetCI(1, ui_battle_status_static_0)
961 hs_SetAlpha(220)
962 hs_SetTexelOffset(2, -2)
963 hs_SetCI(1, ui_battle_status_static_0)
964 hs_SetAlpha(200)
965 hs_SetTexelOffset(3, -3)
966 hs_SetCI(1, ui_battle_status_static_0)
967 hs_SetAlpha(170)
968 hs_SetTexelOffset(4, -4)
969 hs_SetCI(1, ui_battle_status_static_0)
970 hs_SetAlpha(120)
971 hs_SetTexelOffset(5, -5)
972 hs_SetCI(1, ui_battle_status_static_0)
973 hs_SetAlpha(80)
974 hs_SetTexelOffset(6, -6)
975 hs_SetCI(1, ui_battle_status_static_0)
976 hs_SetAlpha(50)
977 hs_SetTexelOffset(8, -8)
978 hs_SetCI(1, ui_battle_status_static_0)
979 hs_SetAlpha(30)
980 hs_SetTexelOffset(10, -10)
981 hs_SetCI(1, ui_battle_status_static_0)
982 hs_End
983};

Referenced by update_all_status_icons().

◆ HES_ParalyzedBegin

HudScript HES_ParalyzedBegin
extern

Definition at line 1006 of file global_hud_scripts.c.

1006 {
1008 hs_SetCustomSize(16, 16)
1009 hs_SetAlpha(30)
1010 hs_SetTexelOffset(10, -10)
1011 hs_SetCI(1, ui_battle_status_paralyze_0)
1012 hs_SetAlpha(50)
1013 hs_SetTexelOffset(8, -8)
1014 hs_SetCI(1, ui_battle_status_paralyze_0)
1015 hs_SetAlpha(80)
1016 hs_SetTexelOffset(6, -6)
1017 hs_SetCI(1, ui_battle_status_paralyze_0)
1018 hs_SetAlpha(120)
1019 hs_SetTexelOffset(5, -5)
1020 hs_SetCI(1, ui_battle_status_paralyze_0)
1021 hs_SetAlpha(170)
1022 hs_SetTexelOffset(4, -4)
1023 hs_SetCI(1, ui_battle_status_paralyze_0)
1024 hs_SetAlpha(200)
1025 hs_SetTexelOffset(3, -3)
1026 hs_SetCI(1, ui_battle_status_paralyze_0)
1027 hs_SetAlpha(220)
1028 hs_SetTexelOffset(2, -2)
1029 hs_SetCI(1, ui_battle_status_paralyze_0)
1030 hs_SetAlpha(240)
1031 hs_SetTexelOffset(1, -1)
1032 hs_SetCI(1, ui_battle_status_paralyze_0)
1033 hs_SetAlpha(255)
1034 hs_SetTexelOffset(0, 0)
1035 hs_SetCI(1, ui_battle_status_paralyze_0)
1036 hs_Loop
1037 hs_SetCI(24,ui_battle_status_paralyze_0)
1038 hs_SetCI(1, ui_battle_status_paralyze_1)
1039 hs_SetCI(1, ui_battle_status_paralyze_0)
1040 hs_SetCI(1, ui_battle_status_paralyze_1)
1041 hs_SetCI(49,ui_battle_status_paralyze_0)
1042 hs_SetCI(1, ui_battle_status_paralyze_1)
1043 hs_SetCI(1, ui_battle_status_paralyze_0)
1044 hs_SetCI_Explicit(1, ui_battle_status_paralyze_1, ui_battle_status_paralyze_0)
1045 hs_SetCI_Explicit(1, ui_battle_status_paralyze_0, ui_battle_status_paralyze_1)
1046 hs_SetCI_Explicit(1, ui_battle_status_paralyze_1, ui_battle_status_paralyze_0)
1047 hs_SetCI_Explicit(1, ui_battle_status_paralyze_0, ui_battle_status_paralyze_1)
1048 hs_SetCI_Explicit(1, ui_battle_status_paralyze_1, ui_battle_status_paralyze_0)
1049 hs_SetCI_Explicit(1, ui_battle_status_paralyze_0, ui_battle_status_paralyze_1)
1051 hs_End
1052};

Referenced by update_all_status_icons().

◆ HES_ParalyzedEnd

HudScript HES_ParalyzedEnd
extern

Definition at line 1054 of file global_hud_scripts.c.

1054 {
1056 hs_SetCustomSize(16, 16)
1057 hs_SetAlpha(255)
1058 hs_SetTexelOffset(0, 0)
1059 hs_SetCI(1, ui_battle_status_paralyze_0)
1060 hs_SetAlpha(240)
1061 hs_SetTexelOffset(1, -1)
1062 hs_SetCI(1, ui_battle_status_paralyze_0)
1063 hs_SetAlpha(220)
1064 hs_SetTexelOffset(2, -2)
1065 hs_SetCI(1, ui_battle_status_paralyze_0)
1066 hs_SetAlpha(200)
1067 hs_SetTexelOffset(3, -3)
1068 hs_SetCI(1, ui_battle_status_paralyze_0)
1069 hs_SetAlpha(170)
1070 hs_SetTexelOffset(4, -4)
1071 hs_SetCI(1, ui_battle_status_paralyze_0)
1072 hs_SetAlpha(120)
1073 hs_SetTexelOffset(5, -5)
1074 hs_SetCI(1, ui_battle_status_paralyze_0)
1075 hs_SetAlpha(80)
1076 hs_SetTexelOffset(6, -6)
1077 hs_SetCI(1, ui_battle_status_paralyze_0)
1078 hs_SetAlpha(50)
1079 hs_SetTexelOffset(8, -8)
1080 hs_SetCI(1, ui_battle_status_paralyze_0)
1081 hs_SetAlpha(30)
1082 hs_SetTexelOffset(10, -10)
1083 hs_SetCI(1, ui_battle_status_paralyze_0)
1084 hs_End
1085};

Referenced by update_all_status_icons().

◆ HES_DizzyEnd

HudScript HES_DizzyEnd
extern

Definition at line 1138 of file global_hud_scripts.c.

1138 {
1140 hs_SetCustomSize(16, 16)
1141 hs_SetAlpha(255)
1142 hs_SetTexelOffset(0, 0)
1143 hs_SetCI(1, ui_battle_status_dizzy_0)
1144 hs_SetAlpha(240)
1145 hs_SetTexelOffset(1, -1)
1146 hs_SetCI(1, ui_battle_status_dizzy_0)
1147 hs_SetAlpha(220)
1148 hs_SetTexelOffset(2, -2)
1149 hs_SetCI(1, ui_battle_status_dizzy_0)
1150 hs_SetAlpha(200)
1151 hs_SetTexelOffset(3, -3)
1152 hs_SetCI(1, ui_battle_status_dizzy_0)
1153 hs_SetAlpha(170)
1154 hs_SetTexelOffset(4, -4)
1155 hs_SetCI(1, ui_battle_status_dizzy_0)
1156 hs_SetAlpha(120)
1157 hs_SetTexelOffset(5, -5)
1158 hs_SetCI(1, ui_battle_status_dizzy_0)
1159 hs_SetAlpha(80)
1160 hs_SetTexelOffset(6, -6)
1161 hs_SetCI(1, ui_battle_status_dizzy_0)
1162 hs_SetAlpha(50)
1163 hs_SetTexelOffset(8, -8)
1164 hs_SetCI(1, ui_battle_status_dizzy_0)
1165 hs_SetAlpha(30)
1166 hs_SetTexelOffset(10, -10)
1167 hs_SetCI(1, ui_battle_status_dizzy_0)
1168 hs_End
1169};

Referenced by update_all_status_icons().

◆ HES_PoisonedBegin

HudScript HES_PoisonedBegin
extern

Definition at line 1183 of file global_hud_scripts.c.

1183 {
1185 hs_SetCustomSize(16, 16)
1186 hs_SetAlpha(30)
1187 hs_SetTexelOffset(10, -10)
1188 hs_SetCI(1, ui_battle_status_poison_0)
1189 hs_SetAlpha(50)
1190 hs_SetTexelOffset(8, -8)
1191 hs_SetCI(1, ui_battle_status_poison_0)
1192 hs_SetAlpha(80)
1193 hs_SetTexelOffset(6, -6)
1194 hs_SetCI(1, ui_battle_status_poison_0)
1195 hs_SetAlpha(120)
1196 hs_SetTexelOffset(5, -5)
1197 hs_SetCI(1, ui_battle_status_poison_0)
1198 hs_SetAlpha(170)
1199 hs_SetTexelOffset(4, -4)
1200 hs_SetCI(1, ui_battle_status_poison_0)
1201 hs_SetAlpha(200)
1202 hs_SetTexelOffset(3, -3)
1203 hs_SetCI(1, ui_battle_status_poison_0)
1204 hs_SetAlpha(220)
1205 hs_SetTexelOffset(2, -2)
1206 hs_SetCI(1, ui_battle_status_poison_0)
1207 hs_SetAlpha(240)
1208 hs_SetTexelOffset(1, -1)
1209 hs_SetCI(1, ui_battle_status_poison_0)
1210 hs_SetAlpha(255)
1211 hs_SetTexelOffset(0, 0)
1212 hs_SetCI(1, ui_battle_status_poison_0)
1213 hs_Loop
1214 hs_SetCI(27, ui_battle_status_poison_0)
1215 hs_SetCI(3, ui_battle_status_poison_1)
1216 hs_SetCI(3, ui_battle_status_poison_0)
1217 hs_SetCI(3, ui_battle_status_poison_1)
1219 hs_End
1220};

Referenced by update_all_status_icons().

◆ HES_PoisonedEnd

HudScript HES_PoisonedEnd
extern

Definition at line 1222 of file global_hud_scripts.c.

1222 {
1224 hs_SetCustomSize(16, 16)
1225 hs_SetAlpha(255)
1226 hs_SetTexelOffset(0, 0)
1227 hs_SetCI(1, ui_battle_status_poison_0)
1228 hs_SetAlpha(240)
1229 hs_SetTexelOffset(1, -1)
1230 hs_SetCI(1, ui_battle_status_poison_0)
1231 hs_SetAlpha(220)
1232 hs_SetTexelOffset(2, -2)
1233 hs_SetCI(1, ui_battle_status_poison_0)
1234 hs_SetAlpha(200)
1235 hs_SetTexelOffset(3, -3)
1236 hs_SetCI(1, ui_battle_status_poison_0)
1237 hs_SetAlpha(170)
1238 hs_SetTexelOffset(4, -4)
1239 hs_SetCI(1, ui_battle_status_poison_0)
1240 hs_SetAlpha(120)
1241 hs_SetTexelOffset(5, -5)
1242 hs_SetCI(1, ui_battle_status_poison_0)
1243 hs_SetAlpha(80)
1244 hs_SetTexelOffset(6, -6)
1245 hs_SetCI(1, ui_battle_status_poison_0)
1246 hs_SetAlpha(50)
1247 hs_SetTexelOffset(8, -8)
1248 hs_SetCI(1, ui_battle_status_poison_0)
1249 hs_SetAlpha(30)
1250 hs_SetTexelOffset(10, -10)
1251 hs_SetCI(1, ui_battle_status_poison_0)
1252 hs_End
1253};

Referenced by update_all_status_icons().

◆ HES_DizzyBegin

HudScript HES_DizzyBegin
extern

Definition at line 1099 of file global_hud_scripts.c.

1099 {
1101 hs_SetCustomSize(16, 16)
1102 hs_SetAlpha(30)
1103 hs_SetTexelOffset(10, -10)
1104 hs_SetCI(1, ui_battle_status_dizzy_0)
1105 hs_SetAlpha(50)
1106 hs_SetTexelOffset(8, -8)
1107 hs_SetCI(1, ui_battle_status_dizzy_0)
1108 hs_SetAlpha(80)
1109 hs_SetTexelOffset(6, -6)
1110 hs_SetCI(1, ui_battle_status_dizzy_0)
1111 hs_SetAlpha(120)
1112 hs_SetTexelOffset(5, -5)
1113 hs_SetCI(1, ui_battle_status_dizzy_0)
1114 hs_SetAlpha(170)
1115 hs_SetTexelOffset(4, -4)
1116 hs_SetCI(1, ui_battle_status_dizzy_0)
1117 hs_SetAlpha(200)
1118 hs_SetTexelOffset(3, -3)
1119 hs_SetCI(1, ui_battle_status_dizzy_0)
1120 hs_SetAlpha(220)
1121 hs_SetTexelOffset(2, -2)
1122 hs_SetCI(1, ui_battle_status_dizzy_0)
1123 hs_SetAlpha(240)
1124 hs_SetTexelOffset(1, -1)
1125 hs_SetCI(1, ui_battle_status_dizzy_0)
1126 hs_SetAlpha(255)
1127 hs_SetTexelOffset(0, 0)
1128 hs_SetCI(1, ui_battle_status_dizzy_0)
1129 hs_Loop
1130 hs_SetCI(4, ui_battle_status_dizzy_0)
1131 hs_SetCI(4, ui_battle_status_dizzy_1)
1132 hs_SetCI(4, ui_battle_status_dizzy_2)
1133 hs_SetCI(4, ui_battle_status_dizzy_3)
1135 hs_End
1136};

Referenced by update_all_status_icons().

◆ HES_FrozenBegin

HudScript HES_FrozenBegin
extern

Definition at line 1267 of file global_hud_scripts.c.

1267 {
1269 hs_SetCustomSize(16, 16)
1270 hs_SetAlpha(30)
1271 hs_SetTexelOffset(10, -10)
1272 hs_SetCI(1, ui_battle_status_frozen_0)
1273 hs_SetAlpha(50)
1274 hs_SetTexelOffset(8, -8)
1275 hs_SetCI(1, ui_battle_status_frozen_0)
1276 hs_SetAlpha(80)
1277 hs_SetTexelOffset(6, -6)
1278 hs_SetCI(1, ui_battle_status_frozen_0)
1279 hs_SetAlpha(120)
1280 hs_SetTexelOffset(5, -5)
1281 hs_SetCI(1, ui_battle_status_frozen_0)
1282 hs_SetAlpha(170)
1283 hs_SetTexelOffset(4, -4)
1284 hs_SetCI(1, ui_battle_status_frozen_0)
1285 hs_SetAlpha(200)
1286 hs_SetTexelOffset(3, -3)
1287 hs_SetCI(1, ui_battle_status_frozen_0)
1288 hs_SetAlpha(220)
1289 hs_SetTexelOffset(2, -2)
1290 hs_SetCI(1, ui_battle_status_frozen_0)
1291 hs_SetAlpha(240)
1292 hs_SetTexelOffset(1, -1)
1293 hs_SetCI(1, ui_battle_status_frozen_0)
1294 hs_SetAlpha(255)
1295 hs_SetTexelOffset(0, 0)
1296 hs_SetCI(1, ui_battle_status_frozen_0)
1297 hs_Loop
1298 hs_SetCI(24, ui_battle_status_frozen_0)
1299 hs_SetCI(3, ui_battle_status_frozen_1)
1300 hs_SetCI(4, ui_battle_status_frozen_2)
1301 hs_SetCI(3, ui_battle_status_frozen_3)
1303 hs_End
1304};

Referenced by update_all_status_icons().

◆ HES_FrozenEnd

HudScript HES_FrozenEnd
extern

Definition at line 1306 of file global_hud_scripts.c.

1306 {
1308 hs_SetCustomSize(16, 16)
1309 hs_SetAlpha(255)
1310 hs_SetTexelOffset(0, 0)
1311 hs_SetCI(1, ui_battle_status_frozen_0)
1312 hs_SetAlpha(240)
1313 hs_SetTexelOffset(1, -1)
1314 hs_SetCI(1, ui_battle_status_frozen_0)
1315 hs_SetAlpha(220)
1316 hs_SetTexelOffset(2, -2)
1317 hs_SetCI(1, ui_battle_status_frozen_0)
1318 hs_SetAlpha(200)
1319 hs_SetTexelOffset(3, -3)
1320 hs_SetCI(1, ui_battle_status_frozen_0)
1321 hs_SetAlpha(170)
1322 hs_SetTexelOffset(4, -4)
1323 hs_SetCI(1, ui_battle_status_frozen_0)
1324 hs_SetAlpha(120)
1325 hs_SetTexelOffset(5, -5)
1326 hs_SetCI(1, ui_battle_status_frozen_0)
1327 hs_SetAlpha(80)
1328 hs_SetTexelOffset(6, -6)
1329 hs_SetCI(1, ui_battle_status_frozen_0)
1330 hs_SetAlpha(50)
1331 hs_SetTexelOffset(8, -8)
1332 hs_SetCI(1, ui_battle_status_frozen_0)
1333 hs_SetAlpha(30)
1334 hs_SetTexelOffset(10, -10)
1335 hs_SetCI(1, ui_battle_status_frozen_0)
1336 hs_End
1337};

Referenced by update_all_status_icons().

◆ HES_WeakenedLoop

HudScript HES_WeakenedLoop
extern

Definition at line 1339 of file global_hud_scripts.c.

1339 {
1341 hs_SetCustomSize(16, 16)
1342 hs_Loop
1343 hs_SetCI(6, ui_battle_status_pdown_0)
1344 hs_SetCI(6, ui_battle_status_pdown_1)
1346 hs_End
1347};

Referenced by update_all_status_icons().

◆ HES_WeakenedBegin

HudScript HES_WeakenedBegin
extern

Definition at line 1349 of file global_hud_scripts.c.

1349 {
1351 hs_SetCustomSize(16, 16)
1352 hs_SetAlpha(30)
1353 hs_SetTexelOffset(10, -10)
1354 hs_SetCI(1, ui_battle_status_pdown_0)
1355 hs_SetAlpha(50)
1356 hs_SetTexelOffset(8, -8)
1357 hs_SetCI(1, ui_battle_status_pdown_0)
1358 hs_SetAlpha(80)
1359 hs_SetTexelOffset(6, -6)
1360 hs_SetCI(1, ui_battle_status_pdown_0)
1361 hs_SetAlpha(120)
1362 hs_SetTexelOffset(5, -5)
1363 hs_SetCI(1, ui_battle_status_pdown_0)
1364 hs_SetAlpha(170)
1365 hs_SetTexelOffset(4, -4)
1366 hs_SetCI(1, ui_battle_status_pdown_0)
1367 hs_SetAlpha(200)
1368 hs_SetTexelOffset(3, -3)
1369 hs_SetCI(1, ui_battle_status_pdown_0)
1370 hs_SetAlpha(220)
1371 hs_SetTexelOffset(2, -2)
1372 hs_SetCI(1, ui_battle_status_pdown_0)
1373 hs_SetAlpha(240)
1374 hs_SetTexelOffset(1, -1)
1375 hs_SetCI(1, ui_battle_status_pdown_0)
1376 hs_SetAlpha(255)
1377 hs_SetTexelOffset(0, 0)
1378 hs_SetCI(1, ui_battle_status_pdown_0)
1379 hs_Loop
1380 hs_SetCI(6, ui_battle_status_pdown_0)
1381 hs_SetCI(6, ui_battle_status_pdown_1)
1383 hs_End
1384};

Referenced by update_all_status_icons().

◆ HES_WeakenedEnd

HudScript HES_WeakenedEnd
extern

Definition at line 1386 of file global_hud_scripts.c.

1386 {
1388 hs_SetCustomSize(16, 16)
1389 hs_SetAlpha(255)
1390 hs_SetTexelOffset(0, 0)
1391 hs_SetCI(1, ui_battle_status_pdown_0)
1392 hs_SetAlpha(240)
1393 hs_SetTexelOffset(1, -1)
1394 hs_SetCI(1, ui_battle_status_pdown_0)
1395 hs_SetAlpha(220)
1396 hs_SetTexelOffset(2, -2)
1397 hs_SetCI(1, ui_battle_status_pdown_0)
1398 hs_SetAlpha(200)
1399 hs_SetTexelOffset(3, -3)
1400 hs_SetCI(1, ui_battle_status_pdown_0)
1401 hs_SetAlpha(170)
1402 hs_SetTexelOffset(4, -4)
1403 hs_SetCI(1, ui_battle_status_pdown_0)
1404 hs_SetAlpha(120)
1405 hs_SetTexelOffset(5, -5)
1406 hs_SetCI(1, ui_battle_status_pdown_0)
1407 hs_SetAlpha(80)
1408 hs_SetTexelOffset(6, -6)
1409 hs_SetCI(1, ui_battle_status_pdown_0)
1410 hs_SetAlpha(50)
1411 hs_SetTexelOffset(8, -8)
1412 hs_SetCI(1, ui_battle_status_pdown_0)
1413 hs_SetAlpha(30)
1414 hs_SetTexelOffset(10, -10)
1415 hs_SetCI(1, ui_battle_status_pdown_0)
1416 hs_End
1417};

Referenced by update_all_status_icons().

◆ HES_StoppedBegin

HudScript HES_StoppedBegin
extern

Definition at line 1431 of file global_hud_scripts.c.

1431 {
1433 hs_SetCustomSize(16, 16)
1434 hs_SetAlpha(30)
1435 hs_SetTexelOffset(10, -10)
1436 hs_SetCI(1, ui_battle_status_stop_0)
1437 hs_SetAlpha(50)
1438 hs_SetTexelOffset(8, -8)
1439 hs_SetCI(1, ui_battle_status_stop_0)
1440 hs_SetAlpha(80)
1441 hs_SetTexelOffset(6, -6)
1442 hs_SetCI(1, ui_battle_status_stop_0)
1443 hs_SetAlpha(120)
1444 hs_SetTexelOffset(5, -5)
1445 hs_SetCI(1, ui_battle_status_stop_0)
1446 hs_SetAlpha(170)
1447 hs_SetTexelOffset(4, -4)
1448 hs_SetCI(1, ui_battle_status_stop_0)
1449 hs_SetAlpha(200)
1450 hs_SetTexelOffset(3, -3)
1451 hs_SetCI(1, ui_battle_status_stop_0)
1452 hs_SetAlpha(220)
1453 hs_SetTexelOffset(2, -2)
1454 hs_SetCI(1, ui_battle_status_stop_0)
1455 hs_SetAlpha(240)
1456 hs_SetTexelOffset(1, -1)
1457 hs_SetCI(1, ui_battle_status_stop_0)
1458 hs_SetAlpha(255)
1459 hs_SetTexelOffset(0, 0)
1460 hs_SetCI(1, ui_battle_status_stop_0)
1461 hs_Loop
1462 hs_SetCI(5, ui_battle_status_stop_0)
1463 hs_SetCI(5, ui_battle_status_stop_1)
1464 hs_SetCI(5, ui_battle_status_stop_2)
1465 hs_SetCI(5, ui_battle_status_stop_3)
1467 hs_End
1468};

Referenced by update_all_status_icons().

◆ HES_StoppedEnd

HudScript HES_StoppedEnd
extern

Definition at line 1470 of file global_hud_scripts.c.

1470 {
1472 hs_SetCustomSize(16, 16)
1473 hs_SetAlpha(255)
1474 hs_SetTexelOffset(0, 0)
1475 hs_SetCI(1, ui_battle_status_stop_0)
1476 hs_SetAlpha(240)
1477 hs_SetTexelOffset(1, -1)
1478 hs_SetCI(1, ui_battle_status_stop_0)
1479 hs_SetAlpha(220)
1480 hs_SetTexelOffset(2, -2)
1481 hs_SetCI(1, ui_battle_status_stop_0)
1482 hs_SetAlpha(200)
1483 hs_SetTexelOffset(3, -3)
1484 hs_SetCI(1, ui_battle_status_stop_0)
1485 hs_SetAlpha(170)
1486 hs_SetTexelOffset(4, -4)
1487 hs_SetCI(1, ui_battle_status_stop_0)
1488 hs_SetAlpha(120)
1489 hs_SetTexelOffset(5, -5)
1490 hs_SetCI(1, ui_battle_status_stop_0)
1491 hs_SetAlpha(80)
1492 hs_SetTexelOffset(6, -6)
1493 hs_SetCI(1, ui_battle_status_stop_0)
1494 hs_SetAlpha(50)
1495 hs_SetTexelOffset(8, -8)
1496 hs_SetCI(1, ui_battle_status_stop_0)
1497 hs_SetAlpha(30)
1498 hs_SetTexelOffset(10, -10)
1499 hs_SetCI(1, ui_battle_status_stop_0)
1500 hs_End
1501};

Referenced by update_all_status_icons().

◆ HES_ShrunkBegin

HudScript HES_ShrunkBegin
extern

Definition at line 1515 of file global_hud_scripts.c.

1515 {
1517 hs_SetCustomSize(16, 16)
1518 hs_SetAlpha(30)
1519 hs_SetTexelOffset(10, -10)
1520 hs_SetCI(1, ui_battle_status_shrink_0)
1521 hs_SetAlpha(50)
1522 hs_SetTexelOffset(8, -8)
1523 hs_SetCI(1, ui_battle_status_shrink_0)
1524 hs_SetAlpha(80)
1525 hs_SetTexelOffset(6, -6)
1526 hs_SetCI(1, ui_battle_status_shrink_0)
1527 hs_SetAlpha(120)
1528 hs_SetTexelOffset(5, -5)
1529 hs_SetCI(1, ui_battle_status_shrink_0)
1530 hs_SetAlpha(170)
1531 hs_SetTexelOffset(4, -4)
1532 hs_SetCI(1, ui_battle_status_shrink_0)
1533 hs_SetAlpha(200)
1534 hs_SetTexelOffset(3, -3)
1535 hs_SetCI(1, ui_battle_status_shrink_0)
1536 hs_SetAlpha(220)
1537 hs_SetTexelOffset(2, -2)
1538 hs_SetCI(1, ui_battle_status_shrink_0)
1539 hs_SetAlpha(240)
1540 hs_SetTexelOffset(1, -1)
1541 hs_SetCI(1, ui_battle_status_shrink_0)
1542 hs_SetAlpha(255)
1543 hs_SetTexelOffset(0, 0)
1544 hs_SetCI(1, ui_battle_status_shrink_0)
1545 hs_Loop
1546 hs_SetCI(5, ui_battle_status_shrink_0)
1547 hs_SetCI(6, ui_battle_status_shrink_1)
1548 hs_SetCI(6, ui_battle_status_shrink_2)
1549 hs_SetCI(5, ui_battle_status_shrink_3)
1551 hs_End
1552};

Referenced by update_all_status_icons().

◆ HES_ShrunkEnd

HudScript HES_ShrunkEnd
extern

Definition at line 1554 of file global_hud_scripts.c.

1554 {
1556 hs_SetCustomSize(16, 16)
1557 hs_SetAlpha(255)
1558 hs_SetTexelOffset(0, 0)
1559 hs_SetCI(1, ui_battle_status_shrink_0)
1560 hs_SetAlpha(240)
1561 hs_SetTexelOffset(1, -1)
1562 hs_SetCI(1, ui_battle_status_shrink_0)
1563 hs_SetAlpha(220)
1564 hs_SetTexelOffset(2, -2)
1565 hs_SetCI(1, ui_battle_status_shrink_0)
1566 hs_SetAlpha(200)
1567 hs_SetTexelOffset(3, -3)
1568 hs_SetCI(1, ui_battle_status_shrink_0)
1569 hs_SetAlpha(170)
1570 hs_SetTexelOffset(4, -4)
1571 hs_SetCI(1, ui_battle_status_shrink_0)
1572 hs_SetAlpha(120)
1573 hs_SetTexelOffset(5, -5)
1574 hs_SetCI(1, ui_battle_status_shrink_0)
1575 hs_SetAlpha(80)
1576 hs_SetTexelOffset(6, -6)
1577 hs_SetCI(1, ui_battle_status_shrink_0)
1578 hs_SetAlpha(50)
1579 hs_SetTexelOffset(8, -8)
1580 hs_SetCI(1, ui_battle_status_shrink_0)
1581 hs_SetAlpha(30)
1582 hs_SetTexelOffset(10, -10)
1583 hs_SetCI(1, ui_battle_status_shrink_0)
1584 hs_End
1585};

Referenced by update_all_status_icons().

◆ HES_TransparentBegin

HudScript HES_TransparentBegin
extern

Definition at line 1601 of file global_hud_scripts.c.

1601 {
1603 hs_SetCustomSize(16, 16)
1604 hs_SetAlpha(30)
1605 hs_SetTexelOffset(10, -10)
1606 hs_SetCI(1, ui_battle_status_transparent_0)
1607 hs_SetAlpha(50)
1608 hs_SetTexelOffset(8, -8)
1609 hs_SetCI(1, ui_battle_status_transparent_0)
1610 hs_SetAlpha(80)
1611 hs_SetTexelOffset(6, -6)
1612 hs_SetCI(1, ui_battle_status_transparent_0)
1613 hs_SetAlpha(120)
1614 hs_SetTexelOffset(5, -5)
1615 hs_SetCI(1, ui_battle_status_transparent_0)
1616 hs_SetAlpha(170)
1617 hs_SetTexelOffset(4, -4)
1618 hs_SetCI(1, ui_battle_status_transparent_0)
1619 hs_SetAlpha(200)
1620 hs_SetTexelOffset(3, -3)
1621 hs_SetCI(1, ui_battle_status_transparent_0)
1622 hs_SetAlpha(220)
1623 hs_SetTexelOffset(2, -2)
1624 hs_SetCI(1, ui_battle_status_transparent_0)
1625 hs_SetAlpha(240)
1626 hs_SetTexelOffset(1, -1)
1627 hs_SetCI(1, ui_battle_status_transparent_0)
1628 hs_SetAlpha(255)
1629 hs_SetTexelOffset(0, 0)
1630 hs_SetCI(1, ui_battle_status_transparent_0)
1631 hs_Loop
1632 hs_SetCI(3, ui_battle_status_transparent_0)
1633 hs_SetCI(3, ui_battle_status_transparent_1)
1634 hs_SetCI(3, ui_battle_status_transparent_2)
1635 hs_SetCI(3, ui_battle_status_transparent_3)
1636 hs_SetCI(3, ui_battle_status_transparent_4)
1637 hs_SetCI(3, ui_battle_status_transparent_5)
1639 hs_End
1640};

Referenced by update_all_status_icons().

◆ HES_TransparentEnd

HudScript HES_TransparentEnd
extern

Definition at line 1642 of file global_hud_scripts.c.

1642 {
1644 hs_SetCustomSize(16, 16)
1645 hs_SetAlpha(255)
1646 hs_SetTexelOffset(0, 0)
1647 hs_SetCI(1, ui_battle_status_transparent_0)
1648 hs_SetAlpha(240)
1649 hs_SetTexelOffset(1, -1)
1650 hs_SetCI(1, ui_battle_status_transparent_0)
1651 hs_SetAlpha(220)
1652 hs_SetTexelOffset(2, -2)
1653 hs_SetCI(1, ui_battle_status_transparent_0)
1654 hs_SetAlpha(200)
1655 hs_SetTexelOffset(3, -3)
1656 hs_SetCI(1, ui_battle_status_transparent_0)
1657 hs_SetAlpha(170)
1658 hs_SetTexelOffset(4, -4)
1659 hs_SetCI(1, ui_battle_status_transparent_0)
1660 hs_SetAlpha(120)
1661 hs_SetTexelOffset(5, -5)
1662 hs_SetCI(1, ui_battle_status_transparent_0)
1663 hs_SetAlpha(80)
1664 hs_SetTexelOffset(6, -6)
1665 hs_SetCI(1, ui_battle_status_transparent_0)
1666 hs_SetAlpha(50)
1667 hs_SetTexelOffset(8, -8)
1668 hs_SetCI(1, ui_battle_status_transparent_0)
1669 hs_SetAlpha(30)
1670 hs_SetTexelOffset(10, -10)
1671 hs_SetCI(1, ui_battle_status_transparent_0)
1672 hs_End
1673};

Referenced by update_all_status_icons().

◆ HES_BoostJumpBegin

HudScript HES_BoostJumpBegin
extern

Definition at line 1677 of file global_hud_scripts.c.

1677 {
1679 hs_SetCustomSize(24, 24)
1680 hs_SetAlpha(30)
1681 hs_SetTexelOffset(0, -10)
1682 hs_SetCI(1, ui_battle_status_charge_jump)
1683 hs_SetAlpha(50)
1684 hs_SetTexelOffset(0, -8)
1685 hs_SetCI(1, ui_battle_status_charge_jump)
1686 hs_SetAlpha(80)
1687 hs_SetTexelOffset(0, -6)
1688 hs_SetCI(1, ui_battle_status_charge_jump)
1689 hs_SetAlpha(120)
1690 hs_SetTexelOffset(0, -5)
1691 hs_SetCI(1, ui_battle_status_charge_jump)
1692 hs_SetAlpha(170)
1693 hs_SetTexelOffset(0, -4)
1694 hs_SetCI(1, ui_battle_status_charge_jump)
1695 hs_SetAlpha(200)
1696 hs_SetTexelOffset(0, -3)
1697 hs_SetCI(1, ui_battle_status_charge_jump)
1698 hs_SetAlpha(220)
1699 hs_SetTexelOffset(0, -2)
1700 hs_SetCI(1, ui_battle_status_charge_jump)
1701 hs_SetAlpha(240)
1702 hs_SetTexelOffset(0, -1)
1703 hs_SetCI(1, ui_battle_status_charge_jump)
1704 hs_SetAlpha(255)
1705 hs_SetTexelOffset(0, 0)
1706 hs_Loop
1707 hs_SetCI(60, ui_battle_status_charge_jump)
1709 hs_End
1710};

Referenced by create_status_icon_boost_jump().

◆ HES_BoostJumpEnd

HudScript HES_BoostJumpEnd
extern

Definition at line 1712 of file global_hud_scripts.c.

1712 {
1714 hs_SetCustomSize(24, 24)
1715 hs_SetAlpha(240)
1716 hs_SetTexelOffset(0, -1)
1717 hs_SetCI(1, ui_battle_status_charge_jump)
1718 hs_SetAlpha(220)
1719 hs_SetTexelOffset(-3, -3)
1720 hs_SetCI(1, ui_battle_status_charge_jump)
1721 hs_SetAlpha(200)
1722 hs_SetTexelOffset(-6, -5)
1723 hs_SetCI(1, ui_battle_status_charge_jump)
1724 hs_SetAlpha(170)
1725 hs_SetTexelOffset(-8, -6)
1726 hs_SetCI(1, ui_battle_status_charge_jump)
1727 hs_SetAlpha(120)
1728 hs_SetTexelOffset(-10, -5)
1729 hs_SetCI(1, ui_battle_status_charge_jump)
1730 hs_SetAlpha(80)
1731 hs_SetTexelOffset(-12, -3)
1732 hs_SetCI(1, ui_battle_status_charge_jump)
1733 hs_SetAlpha(50)
1734 hs_SetTexelOffset(-13, 0)
1735 hs_SetCI(1, ui_battle_status_charge_jump)
1736 hs_SetAlpha(30)
1737 hs_SetTexelOffset(-14, 4)
1738 hs_SetCI(1, ui_battle_status_charge_jump)
1739 hs_SetTexelOffset(-15, 9)
1740 hs_SetCI(1, ui_battle_status_charge_jump)
1741 hs_SetTexelOffset(-15, 15)
1742 hs_SetCI(1, ui_battle_status_charge_jump)
1743 hs_End
1744};

Referenced by remove_status_icon_boost_jump().

◆ HES_BoostHammerBegin

HudScript HES_BoostHammerBegin
extern

Definition at line 1748 of file global_hud_scripts.c.

1748 {
1750 hs_SetCustomSize(24, 24)
1751 hs_SetAlpha(30)
1752 hs_SetTexelOffset(0, -10)
1753 hs_SetCI(1, ui_battle_status_charge_hammer)
1754 hs_SetAlpha(50)
1755 hs_SetTexelOffset(0, -8)
1756 hs_SetCI(1, ui_battle_status_charge_hammer)
1757 hs_SetAlpha(80)
1758 hs_SetTexelOffset(0, -6)
1759 hs_SetCI(1, ui_battle_status_charge_hammer)
1760 hs_SetAlpha(120)
1761 hs_SetTexelOffset(0, -5)
1762 hs_SetCI(1, ui_battle_status_charge_hammer)
1763 hs_SetAlpha(170)
1764 hs_SetTexelOffset(0, -4)
1765 hs_SetCI(1, ui_battle_status_charge_hammer)
1766 hs_SetAlpha(200)
1767 hs_SetTexelOffset(0, -3)
1768 hs_SetCI(1, ui_battle_status_charge_hammer)
1769 hs_SetAlpha(220)
1770 hs_SetTexelOffset(0, -2)
1771 hs_SetCI(1, ui_battle_status_charge_hammer)
1772 hs_SetAlpha(240)
1773 hs_SetTexelOffset(0, -1)
1774 hs_SetCI(1, ui_battle_status_charge_hammer)
1775 hs_SetAlpha(255)
1776 hs_SetTexelOffset(0, 0)
1777 hs_Loop
1778 hs_SetCI(60, ui_battle_status_charge_hammer)
1780 hs_End
1781};

Referenced by create_status_icon_boost_hammer().

◆ HES_BoostHammerEnd

HudScript HES_BoostHammerEnd
extern

Definition at line 1783 of file global_hud_scripts.c.

1783 {
1785 hs_SetCustomSize(24, 24)
1786 hs_SetAlpha(240)
1787 hs_SetTexelOffset(0, -1)
1788 hs_SetCI(1, ui_battle_status_charge_hammer)
1789 hs_SetAlpha(220)
1790 hs_SetTexelOffset(-3, -3)
1791 hs_SetCI(1, ui_battle_status_charge_hammer)
1792 hs_SetAlpha(200)
1793 hs_SetTexelOffset(-6, -5)
1794 hs_SetCI(1, ui_battle_status_charge_hammer)
1795 hs_SetAlpha(170)
1796 hs_SetTexelOffset(-8, -6)
1797 hs_SetCI(1, ui_battle_status_charge_hammer)
1798 hs_SetAlpha(120)
1799 hs_SetTexelOffset(-10, -5)
1800 hs_SetCI(1, ui_battle_status_charge_hammer)
1801 hs_SetAlpha(80)
1802 hs_SetTexelOffset(-12, -3)
1803 hs_SetCI(1, ui_battle_status_charge_hammer)
1804 hs_SetAlpha(50)
1805 hs_SetTexelOffset(-13, 0)
1806 hs_SetCI(1, ui_battle_status_charge_hammer)
1807 hs_SetAlpha(30)
1808 hs_SetTexelOffset(-14, 4)
1809 hs_SetCI(1, ui_battle_status_charge_hammer)
1810 hs_SetTexelOffset(-15, 9)
1811 hs_SetCI(1, ui_battle_status_charge_hammer)
1812 hs_SetTexelOffset(-15, 15)
1813 hs_SetCI(1, ui_battle_status_charge_hammer)
1814 hs_End
1815};

Referenced by remove_status_icon_boost_hammer().

◆ HES_BoostPartner

HudScript HES_BoostPartner
extern

Definition at line 1817 of file global_hud_scripts.c.

Referenced by create_status_icon_boost_partner().

◆ HES_Surprise

HudScript HES_Surprise
extern

Definition at line 1819 of file global_hud_scripts.c.

Referenced by create_status_icon_surprise().

◆ HES_Peril

HudScript HES_Peril
extern

Definition at line 2172 of file global_hud_scripts.c.

2172 {
2175 hs_Loop
2178 hs_SetCI(15, ui_battle_status_peril)
2180 hs_SetCI(10, ui_battle_status_peril)
2182 hs_End
2183};
@ SOUND_PERIL
Definition enums.h:1305
#define hs_PlaySound(arg0)
#define hs_SetTileSize(size)
@ HUD_ELEMENT_FLAG_200000
Definition hud_element.h:94
#define hs_ClearFlags(arg0)
@ HUD_ELEMENT_SIZE_40x16
Definition hud_element.h:67
#define hs_SetFlags(arg0)

Referenced by create_status_icon_peril().

◆ HES_Danger

HudScript HES_Danger
extern

Definition at line 2185 of file global_hud_scripts.c.

2185 {
2188 hs_Loop
2191 hs_SetCI(15, ui_battle_status_danger)
2193 hs_SetCI(10, ui_battle_status_danger)
2195 hs_End
2196};
@ SOUND_DANGER
Definition enums.h:1304

Referenced by create_status_icon_danger().

◆ status_icons_rodata_alignment

const f32 status_icons_rodata_alignment = 0.0f

Definition at line 1353 of file status_icons.c.