4#include "message_ids.h"
79 MSG_Menus_Merlee_IncreaseCoins,
80 MSG_Menus_Merlee_Exhausted,
131 popup->
data.icons = NULL;
143 if (popup->
data.icons != NULL) {
198 if (popup->
data.icons != NULL) {
200 popup->
data.icons = NULL;
223 s32 closeMessage = FALSE;
295 xPos = 160 - (width / 2);
307 xPos = 160 - (width / 2);
324 xPos = 160 - (width / 2);
361 if (icon->
flags == 0) {
588 s32 screenX, screenY, screenZ;
589 s32 isActiveDrawn, iconCounter;
606 gSPTexture(
gMainGfxPos++, -1, -1, 0, G_TX_RENDERTILE, G_ON);
609 if (icon->
flags == 0) {
640 if (isActiveDrawn == 0) {
663 if (iconCounter == 0) {
688 if (iconCounter == 0) {
691 if (isActiveDrawn == 0) {
714 if (iconCounter == 1) {
716 }
if (iconCounter == 0) {
740 if (iconCounter == 1) {
743 if (iconCounter == 0) {
746 if (isActiveDrawn == 0) {
769 if (iconCounter == 2) {
772 if (iconCounter == 1) {
775 if (iconCounter == 0) {
799 if (iconCounter == 2) {
802 if (iconCounter == 1) {
805 if (iconCounter == 0) {
808 if (isActiveDrawn == 0) {
962 if (icon->
flags == 0) {
1028 statusIcon->
flags = 0;
1050 statusIcon->
offsetY = offsetY;
1051 statusIcon->
offsetX = offsetX;
1057 statusIcon->
flags &= ~STATUS_ICON_FLAG_DEBUFF;
1087 statusIcon->
flags &= ~STATUS_ICON_FLAG_STATIC;
1117 statusIcon->
flags &= ~STATUS_ICON_FLAG_TRANSPARENT;
1147 statusIcon->
flags &= ~STATUS_ICON_FLAG_STATUS_CHILL_OUT;
1177 statusIcon->
flags &= ~STATUS_ICON_FLAG_BOOST_JUMP;
1209 statusIcon->
flags &= ~STATUS_ICON_FLAG_BOOST_HAMMER;
1241 statusIcon->
flags &= ~STATUS_ICON_FLAG_BOOST_PARTNER;
1270 statusIcon->
flags &= ~STATUS_ICON_FLAG_SURPRISE;
1299 statusIcon->
flags &= ~STATUS_ICON_FLAG_PERIL;
1328 statusIcon->
flags &= ~STATUS_ICON_FLAG_DANGER;
PopupMessageCallback updateFunc
PopupMessageCallback renderUIFunc
PopupMessageCallback renderWorldFunc
union PopupMessage::@39 data
#define general_heap_malloc
#define ASSERT(condition)
@ BTL_MSG_STATE_POPUP_DISPOSE
@ BTL_MSG_STATE_POPUP_POST_DELAY
@ BTL_MSG_STATE_POPUP_PRE_DELAY
@ BTL_MSG_STATE_POPUP_DELAY
s32 create_worker_world(WorldArgs, WorldArgs)
void get_screen_coords(s32 camID, f32 x, f32 y, f32 z, s32 *screenX, s32 *screenY, s32 *screenZ)
void set_window_update(s32 panelID, s32)
void set_window_properties(s32 panelID, s32 posX, s32 posY, s32 width, s32 height, u8, void *drawContents, void *drawContentsArg, s8 parent)
void add_vec2D_polar(f32 *x, f32 *y, f32 r, f32 theta)
s32 get_msg_lines(s32 messageID)
void hud_element_set_script(s32 id, HudScript *anim)
void hud_element_draw_next(s32 id)
void hud_element_set_render_pos(s32 id, s32 x, s32 y)
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_clear_flags(s32 id, s32 flags)
Turns off the given flags.
void hud_element_free(s32 id)
@ HUD_ELEMENT_FLAG_DISABLED
@ HUD_ELEMENT_FLAG_ANIMATION_FINISHED
void set_status_icons_offset(s32 iconID, s32 offsetY, s32 offsetX)
void draw_merlee_message(void *popup)
PopupMessage * get_current_merlee_message(void)
HudSimpleStatusIcon boostPartner
void remove_status_icon_surprise(s32 iconID)
HudComplexStatusIcon status2
void remove_status_debuff(s32 iconID)
HudSimpleStatusIcon boostJump
s32 is_merlee_message_done(void)
void draw_merlee_message_string(PopupMessage *popup, s32 posX, s32 posY)
void remove_status_icon_boost_jump(s32 iconID)
void remove_status_icon_boost_partner(s32 iconID)
void update_merlee_message(void *popup)
HudComplexStatusIcon status4
void remove_status_transparent(s32 iconID)
void create_status_transparent(s32 iconID, s32 statusID)
void enable_status_icon_boost_hammer(s32 iconID)
void enable_status_transparent(s32 iconID)
HudSimpleStatusIcon surprise
HudScript HES_WeakenedEnd
const f32 status_icons_rodata_alignment
void enable_status_debuff(s32 iconID)
s32 create_status_icon_set(void)
void create_status_static(s32 iconID, s32 statusID)
void update_all_status_icons(void *popup)
void remove_status_static(s32 iconID)
HudScript HES_WeakenedBegin
@ 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_BOOST_HAMMER
@ STATUS_ICON_FLAG_TRANSPARENT
@ STATUS_ICON_FLAG_DANGER
@ STATUS_ICON_FLAG_BOOST_JUMP
HudScript HES_TransparentEnd
HudScript HES_ElectrifiedBegin
HudScript HES_PoisonedEnd
HudScript HES_PoisonedBegin
BSS PopupMessage D_800A0BC0[32]
void remove_status_icon_peril(s32 iconID)
void create_status_icon_surprise(s32 iconID)
void enable_status_chill_out(s32 iconID)
void remove_status_chill_out(s32 iconID)
void enable_status_icon_boost_partner(s32 iconID)
void enable_status_icon_boost_jump(s32 iconID)
HudScript HES_BoostHammerBegin
HudScript HES_Item_KeyGift
void create_status_icon_boost_jump(s32 iconID)
void show_merlee_message(s16 messageIndex, s16 duration)
HudScript HES_ParalyzedEnd
void enable_status_static(s32 iconID)
HudScript HES_StoppedBegin
void remove_status_icon_boost_hammer(s32 iconID)
HudScript HES_ShrunkBegin
HudScript HES_BoostPartner
void draw_merlee_messages(void)
void create_status_debuff(s32 iconID, s32 statusID)
HudSimpleStatusIcon danger
void set_status_icons_properties(s32 iconID, f32 x, f32 y, f32 z, s32 arg, s32 arg2, s32 radius, s32 offsetY)
void draw_all_status_icons(void *popup)
HudSimpleStatusIcon peril
HudScript HES_ParalyzedBegin
void create_status_icon_boost_hammer(s32 iconID)
HudScript HES_AsleepBegin
void update_merlee_messages(void)
void enable_status_icon_peril(s32 iconID)
HudScript HES_BoostJumpEnd
HudScript HES_TransparentBegin
void enable_status_icon_surprise(s32 iconID)
BSS HudStatusIcon * D_800A0F44
HudSimpleStatusIcon boostHammer
HudComplexStatusIcon status1
HudScript HES_BoostJumpBegin
void remove_all_status_icons(s32 iconID)
void init_all_status_icons(void)
void create_status_icon_peril(s32 iconID)
HudScript HES_BoostHammerEnd
void create_status_icon_danger(s32 iconID)
void create_status_chill_out(s32 iconID)
void remove_status_icon_danger(s32 iconID)
void enable_status_icon_danger(s32 iconID)
HudComplexStatusIcon status3
HudScript HES_FrozenBegin
void dispose_merlee_message(PopupMessage *popup)
HudScript HES_WeakenedLoop
void create_status_icon_boost_partner(s32 iconID)
HudScript HES_ElectrifiedEnd
GameStatus * gGameStatusPtr