Go to the source code of this file.
◆ ACTOR_TYPE_LIST_END
#define ACTOR_TYPE_LIST_END 0xFF |
◆ is_actor_health_bar_visible()
s32 is_actor_health_bar_visible |
( |
Actor * | actor | ) |
|
Definition at line 503 of file 181810.c.
503 {
506
509 }
510
514 }
515
517}
BSS s32 PopupMenu_SelectedIndex
@ ACTOR_FLAG_TYPE_CHANGED
Indicates actors type has changed, triggers recheck for if HP bar should be shown based on tattle sta...
s32 is_ability_active(s32 arg0)
#define EVT_INDEX_OF_GAME_BYTE(v)
BattleStatus gBattleStatus
s32 get_global_byte(s32 index)
Get value of saved game byte.
Referenced by btl_draw_enemy_health_bars().
◆ is_actortype_health_bar_visible()
s32 is_actortype_health_bar_visible |
( |
s32 | actorType | ) |
|
Definition at line 519 of file 181810.c.
519 {
523 s32 flagIdx;
524
527 }
528
531
532 return (
flags >> (actorType % 8)) & 1;
533}
◆ save_tattle_flags()
void save_tattle_flags |
( |
s32 | actorType | ) |
|
Definition at line 535 of file 181810.c.
535 {
539 s32 i = 0;
542
546 break;
547 }
548
550 if (actorType ==
types[
j]) {
553
555 gb |= 1 << (actorType % 8);
558 }
559 return;
560 }
561 }
562 i++;
563 }
564
566 gb |= 1 << (actorType % 8);
569}
#define ACTOR_TYPE_LIST_END
s8 set_global_byte(s32 index, s32 value)
Set value of saved game byte.
◆ load_tattle_flags()
void load_tattle_flags |
( |
s32 | actorType | ) |
|
Definition at line 571 of file 181810.c.
571 {
575 s32 i = 0;
578
582 break;
583 }
584
586 if (actorType ==
types[
j]) {
589
591 gb |= 1 << (actorType % 8);
593 }
594 return;
595 }
596 }
597 i++;
598 }
599
601 gb |= 1 << (actorType % 8);
603}
◆ D_8029F660
◆ gSpeakingActorPrintCtx
◆ D_8029FA64
◆ gSpeakingActorPrintIsDone
BSS s32 gSpeakingActorPrintIsDone |
◆ gSpeakingActorTalkAnim
BSS s32 gSpeakingActorTalkAnim |
◆ gSpeakingActorIdleAnim
BSS s32 gSpeakingActorIdleAnim |
◆ gSpeakingActor
◆ gSpeakingActorPart
◆ gBattleDmaDest
◆ ActorTypesGhost
Initial value:
Definition at line 18 of file 181810.c.
◆ ActorTypesLee
Initial value:
Definition at line 31 of file 181810.c.
◆ ActorTypesCrystalKing
u8 ActorTypesCrystalKing[] |
Initial value:
Definition at line 44 of file 181810.c.
◆ ActorTypesShyGuyBoss
u8 ActorTypesShyGuyBoss[] |
Initial value:
Definition at line 50 of file 181810.c.
◆ ActorTypesBowser
Initial value:
Definition at line 56 of file 181810.c.
◆ ActorTypesMagikoopa
Initial value:
Definition at line 62 of file 181810.c.
◆ ActorTypesRedMagikoopa
u8 ActorTypesRedMagikoopa[] |
Initial value:
Definition at line 70 of file 181810.c.
◆ ActorTypesGreenMagikoopa
u8 ActorTypesGreenMagikoopa[] |
Initial value:
Definition at line 76 of file 181810.c.
◆ ActorTypesGrayMagikoopa
u8 ActorTypesGrayMagikoopa[] |
Initial value:
Definition at line 82 of file 181810.c.
◆ ActorTypesYellowMagikoopa
u8 ActorTypesYellowMagikoopa[] |
Initial value:
Definition at line 88 of file 181810.c.
◆ ActorTypesWhiteMagikoopa
u8 ActorTypesWhiteMagikoopa[] |
Initial value:
Definition at line 94 of file 181810.c.
◆ ActorTypesLists
Initial value:= {
}
u8 ActorTypesGreenMagikoopa[]
u8 ActorTypesYellowMagikoopa[]
u8 ActorTypesGrayMagikoopa[]
u8 ActorTypesCrystalKing[]
u8 ActorTypesShyGuyBoss[]
u8 ActorTypesWhiteMagikoopa[]
u8 ActorTypesRedMagikoopa[]
Definition at line 100 of file 181810.c.
Referenced by load_tattle_flags(), and save_tattle_flags().