Many func's in 20ec0_len_5040.c (#554)

* Start working matching 20ec0_len_5040.c

* Update 20ec0_len_5040.c

* Delete enable_status_1.s

* Delete enable_status_2.s

* Delete enable_status_3.s

* Delete enable_status_4.s

* Delete enable_status_icon_boost_hammer.s

* Delete enable_status_icon_boost_jump.s

* Delete enable_status_icon_boost_partner.s

* Delete enable_status_icon_danger.s

* Delete enable_status_icon_peril.s

* Delete enable_status_icon_surprise.s

* Match remove_status_ func's (#9)

* Fix build (#10)

* Match 6 more (#11)

* create_status_icon_boost_hammer

* Comments

* StatusIconFlag
This commit is contained in:
JoshDuMan 2021-12-17 23:09:33 -05:00 committed by GitHub
parent 2b6323a6b2
commit 0b4d9252c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
29 changed files with 323 additions and 745 deletions

View File

@ -434,7 +434,16 @@ void reset_all_actor_sounds(Actor*);
void decrement_status_menu_disabled(void);
void increment_status_menu_disabled(void);
void btl_delete_actor(Actor* actor);
void remove_status_debuff(s16);
void remove_status_4(s32);
void remove_status_debuff(s32);
void remove_status_icon_boost_hammer(s32);
void remove_status_icon_boost_jump(s32);
void remove_status_icon_boost_partner(s32);
void remove_status_icon_danger(s32);
void remove_status_icon_peril(s32);
void remove_status_icon_surprise(s32);
void remove_status_static(s32);
void remove_status_transparent(s32);
s32 find_item(s32);
void enable_background_wave(void);

View File

@ -1,5 +1,73 @@
#include "common.h"
#include "npc.h"
#include "hud_element.h"
enum StatusIconFlag {
STATUS_ICON_FLAG_DEBUFF = 0x004,
STATUS_ICON_FLAG_STATIC = 0x008,
STATUS_ICON_FLAG_TRANSPARENT = 0x010,
STATUS_ICON_FLAG_STATUS_4 = 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,
};
typedef struct HudComplexStatusIcon {
/* 0x0 */ s8 active;
/* 0x1 */ s8 removing;
/* 0x2 */ s8 unk_02;
/* 0x3 */ s8 unk_03;
/* 0x4 */ s8 unk_04;
/* 0x5 */ s8 unk_05;
/* 0x8 */ s32 hudElemIndex;
/* 0xC */ s32 unk_0C;
} HudComplexStatusIcon; // size = 0x10
typedef struct HudSimpleStatusIcon {
/* 0x0 */ s8 active;
/* 0x1 */ s8 removing;
/* 0x4 */ s32 hudElemIndex;
} HudSimpleStatusIcon; // size = 0x8
typedef struct HudStatusIcon {
/* 0x00 */ s32 flags;
/* 0x04 */ Vec3f worldPos;
/* 0x10 */ f32 status1Radius;
/* 0x14 */ f32 status1OffsetY;
/* 0x18 */ f32 status2Radius;
/* 0x1C */ f32 status2OffsetY;
/* 0x20 */ f32 status3Radius;
/* 0x24 */ f32 status3OffsetY;
/* 0x28 */ f32 status4Radius;
/* 0x2C */ f32 status4OffsetY;
/* 0x30 */ f32 offsetY;
/* 0x34 */ f32 unk_34;
/* 0x38 */ HudComplexStatusIcon status1;
/* 0x48 */ HudComplexStatusIcon status2;
/* 0x58 */ HudComplexStatusIcon status3;
/* 0x68 */ HudComplexStatusIcon status4;
/* 0x78 */ HudSimpleStatusIcon boostJump;
/* 0x80 */ s32 prevIndexBoostJump;
/* 0x84 */ HudSimpleStatusIcon boostHammer;
/* 0x8C */ s32 prevIndexBoostHammer;
/* 0x90 */ HudSimpleStatusIcon boostPartner;
/* 0x98 */ HudSimpleStatusIcon surprise;
/* 0xA0 */ HudSimpleStatusIcon peril;
/* 0xA8 */ HudSimpleStatusIcon danger;
} HudStatusIcon; // size = 0xB0
extern HudStatusIcon *D_800A0F44;
extern HudElementAnim D_80108A14[];
extern HudElementAnim D_801089C4[];
extern HudElementAnim D_8010760C[];
extern HudElementAnim D_801075E0[];
extern HudElementAnim D_80107314[];
extern HudElementAnim D_8010701C[];
extern HudElementAnim* D_8010717C[];
extern HudElementAnim* D_80107474[];
extern s32 D_800A0F40;
extern PopupMessage D_800A0BC0[32];
@ -176,7 +244,21 @@ INCLUDE_ASM(s32, "20ec0_len_5040", draw_all_status_icons);
INCLUDE_ASM(s32, "20ec0_len_5040", create_status_icon_set);
INCLUDE_ASM(s32, "20ec0_len_5040", remove_all_status_icons);
void remove_all_status_icons(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
remove_status_debuff(iconID);
remove_status_static(iconID);
remove_status_transparent(iconID);
remove_status_4(iconID);
remove_status_icon_boost_jump(iconID);
remove_status_icon_boost_hammer(iconID);
remove_status_icon_boost_partner(iconID);
remove_status_icon_surprise(iconID);
remove_status_icon_peril(iconID);
remove_status_icon_danger(iconID);
statusIcon->flags = 0;
}
INCLUDE_ASM(s32, "20ec0_len_5040", set_status_icons_properties);
@ -184,60 +266,264 @@ INCLUDE_ASM(s32, "20ec0_len_5040", func_800477F4);
INCLUDE_ASM(s32, "20ec0_len_5040", func_80047820);
INCLUDE_ASM(s32, "20ec0_len_5040", remove_status_debuff);
void remove_status_debuff(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
INCLUDE_ASM(s32, "20ec0_len_5040", enable_status_1);
if (statusIcon->status1.active && !statusIcon->status1.removing) {
statusIcon->status1.removing = statusIcon->status1.active;
statusIcon->status1.unk_03 = TRUE;
statusIcon->status1.active = FALSE;
statusIcon->status1.unk_02 = FALSE;
statusIcon->status1.unk_05 = 10;
statusIcon->status1.unk_0C = statusIcon->status1.hudElemIndex;
}
}
void enable_status_1(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
statusIcon->flags |= STATUS_ICON_FLAG_DEBUFF;
}
INCLUDE_ASM(s32, "20ec0_len_5040", func_80047928);
INCLUDE_ASM(s32, "20ec0_len_5040", remove_status_static);
void remove_status_static(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
INCLUDE_ASM(s32, "20ec0_len_5040", enable_status_2);
if (statusIcon->status2.active && !statusIcon->status2.removing) {
statusIcon->status2.removing = statusIcon->status2.active;
statusIcon->status2.unk_03 = TRUE;
statusIcon->status2.active = FALSE;
statusIcon->status2.unk_02 = FALSE;
statusIcon->status2.unk_05 = 10;
statusIcon->status2.unk_0C = statusIcon->status2.hudElemIndex;
}
}
void enable_status_2(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
statusIcon->flags |= STATUS_ICON_FLAG_STATIC;
}
INCLUDE_ASM(s32, "20ec0_len_5040", func_80047A30);
INCLUDE_ASM(s32, "20ec0_len_5040", remove_status_transparent);
void remove_status_transparent(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
INCLUDE_ASM(s32, "20ec0_len_5040", enable_status_3);
if (statusIcon->status3.active && !statusIcon->status3.removing) {
statusIcon->status3.removing = statusIcon->status3.active;
statusIcon->status3.unk_03 = TRUE;
statusIcon->status3.active = FALSE;
statusIcon->status3.unk_02 = FALSE;
statusIcon->status3.unk_05 = 10;
statusIcon->status3.unk_0C = statusIcon->status3.hudElemIndex;
}
}
void enable_status_3(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
statusIcon->flags |= STATUS_ICON_FLAG_TRANSPARENT;
}
INCLUDE_ASM(s32, "20ec0_len_5040", func_80047B38);
INCLUDE_ASM(s32, "20ec0_len_5040", remove_status_4);
void remove_status_4(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
INCLUDE_ASM(s32, "20ec0_len_5040", enable_status_4);
if (statusIcon->status4.active && !statusIcon->status4.removing) {
statusIcon->status4.removing = statusIcon->status4.active;
statusIcon->status4.unk_03 = TRUE;
statusIcon->status4.active = FALSE;
statusIcon->status4.unk_02 = FALSE;
statusIcon->status4.unk_05 = 10;
statusIcon->status4.unk_0C = statusIcon->status4.hudElemIndex;
}
}
INCLUDE_ASM(s32, "20ec0_len_5040", create_status_icon_boost_jump);
void enable_status_4(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
INCLUDE_ASM(s32, "20ec0_len_5040", remove_status_icon_boost_jump);
statusIcon->flags |= STATUS_ICON_FLAG_STATUS_4;
}
INCLUDE_ASM(s32, "20ec0_len_5040", enable_status_icon_boost_jump);
void create_status_icon_boost_jump(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
s32 hudElement;
INCLUDE_ASM(s32, "20ec0_len_5040", create_status_icon_boost_hammer);
statusIcon->flags &= ~STATUS_ICON_FLAG_BOOST_JUMP;
if (!statusIcon->boostJump.active) {
statusIcon->boostJump.active = TRUE;
hudElement = create_hud_element(D_8010701C);
set_hud_element_flags(hudElement, 2);
set_hud_element_flags(hudElement, 0x80);
statusIcon->boostJump.hudElemIndex = hudElement;
}
}
INCLUDE_ASM(s32, "20ec0_len_5040", remove_status_icon_boost_hammer);
void remove_status_icon_boost_jump(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
INCLUDE_ASM(s32, "20ec0_len_5040", enable_status_icon_boost_hammer);
if (statusIcon->boostJump.active) {
s32 hudElemIndex = statusIcon->boostJump.hudElemIndex;
statusIcon->boostJump.active = FALSE;
statusIcon->boostJump.removing = TRUE;
statusIcon->prevIndexBoostJump = hudElemIndex;
set_hud_element_anim(hudElemIndex, &D_8010717C[0]);
}
}
INCLUDE_ASM(s32, "20ec0_len_5040", create_status_icon_boost_partner);
void enable_status_icon_boost_jump(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
INCLUDE_ASM(s32, "20ec0_len_5040", remove_status_icon_boost_partner);
statusIcon->flags |= STATUS_ICON_FLAG_BOOST_JUMP;
}
INCLUDE_ASM(s32, "20ec0_len_5040", enable_status_icon_boost_partner);
void create_status_icon_boost_hammer(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
s32 hudElement;
INCLUDE_ASM(s32, "20ec0_len_5040", create_status_icon_surprise);
statusIcon->flags &= ~STATUS_ICON_FLAG_BOOST_HAMMER;
if (!statusIcon->boostHammer.active) {
statusIcon->boostHammer.active = TRUE;
hudElement = create_hud_element(D_80107314);
set_hud_element_flags(hudElement, 2);
set_hud_element_flags(hudElement, 0x80);
statusIcon->boostHammer.hudElemIndex = hudElement;
}
}
INCLUDE_ASM(s32, "20ec0_len_5040", remove_status_icon_surprise);
void remove_status_icon_boost_hammer(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
INCLUDE_ASM(s32, "20ec0_len_5040", enable_status_icon_surprise);
if (statusIcon->boostHammer.active) {
s32 hudElemIndex = statusIcon->boostHammer.hudElemIndex;
statusIcon->boostHammer.active = FALSE;
statusIcon->boostHammer.removing = FALSE;
statusIcon->prevIndexBoostHammer = hudElemIndex;
set_hud_element_anim(hudElemIndex, &D_80107474[0]);
}
}
INCLUDE_ASM(s32, "20ec0_len_5040", create_status_icon_peril);
void enable_status_icon_boost_hammer(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
INCLUDE_ASM(s32, "20ec0_len_5040", remove_status_icon_peril);
statusIcon->flags |= STATUS_ICON_FLAG_BOOST_HAMMER;
}
INCLUDE_ASM(s32, "20ec0_len_5040", enable_status_icon_peril);
void create_status_icon_boost_partner(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
s32 hudElement;
INCLUDE_ASM(s32, "20ec0_len_5040", create_status_icon_danger);
statusIcon->flags &= ~STATUS_ICON_FLAG_BOOST_PARTNER;
if (!statusIcon->boostPartner.active) {
statusIcon->boostPartner.active = TRUE;
hudElement = create_hud_element(D_801075E0);
set_hud_element_flags(hudElement, 2);
set_hud_element_flags(hudElement, 0x80);
statusIcon->boostPartner.hudElemIndex = hudElement;
}
}
INCLUDE_ASM(s32, "20ec0_len_5040", remove_status_icon_danger);
void remove_status_icon_boost_partner(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
INCLUDE_ASM(s32, "20ec0_len_5040", enable_status_icon_danger);
if (statusIcon->boostPartner.active) {
statusIcon->boostPartner.active = FALSE;
free_hud_element(statusIcon->boostPartner.hudElemIndex);
}
}
void enable_status_icon_boost_partner(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
statusIcon->flags |= STATUS_ICON_FLAG_BOOST_PARTNER;
}
void create_status_icon_surprise(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
s32 hudElement;
statusIcon->flags &= ~STATUS_ICON_FLAG_SURPRISE;
if (!statusIcon->surprise.active) {
statusIcon->surprise.active = TRUE;
hudElement = create_hud_element(D_8010760C);
set_hud_element_flags(hudElement, 2);
set_hud_element_flags(hudElement, 0x80);
statusIcon->surprise.hudElemIndex = hudElement;
}
}
void remove_status_icon_surprise(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
if (statusIcon->surprise.active) {
statusIcon->surprise.active = FALSE;
free_hud_element(statusIcon->surprise.hudElemIndex);
}
}
void enable_status_icon_surprise(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
statusIcon->flags |= STATUS_ICON_FLAG_SURPRISE;
}
void create_status_icon_peril(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
s32 hudElement;
statusIcon->flags &= ~STATUS_ICON_FLAG_PERIL;
if (!statusIcon->peril.active) {
statusIcon->peril.active = TRUE;
hudElement = create_hud_element(D_801089C4);
set_hud_element_flags(hudElement, 2);
set_hud_element_flags(hudElement, 0x80);
statusIcon->peril.hudElemIndex = hudElement;
}
}
void remove_status_icon_peril(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
if (statusIcon->peril.active) {
statusIcon->peril.active = FALSE;
free_hud_element(statusIcon->peril.hudElemIndex);
}
}
void enable_status_icon_peril(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
statusIcon->flags |= STATUS_ICON_FLAG_PERIL;
}
void create_status_icon_danger(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
s32 hudElement;
statusIcon->flags &= ~STATUS_ICON_FLAG_DANGER;
if (!statusIcon->danger.active) {
statusIcon->danger.active = TRUE;
hudElement = create_hud_element(D_80108A14);
set_hud_element_flags(hudElement, 2);
set_hud_element_flags(hudElement, 0x80);
statusIcon->danger.hudElemIndex = hudElement;
}
}
void remove_status_icon_danger(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
if (statusIcon->danger.active) {
statusIcon->danger.active = FALSE;
free_hud_element(statusIcon->danger.hudElemIndex);
}
}
void enable_status_icon_danger(s32 iconID) {
HudStatusIcon* statusIcon = &D_800A0F44[iconID];
statusIcon->flags |= STATUS_ICON_FLAG_DANGER;
}

View File

@ -1,41 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel create_status_icon_boost_hammer
/* 23130 80047D30 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 23134 80047D34 00041040 */ sll $v0, $a0, 1
/* 23138 80047D38 00441021 */ addu $v0, $v0, $a0
/* 2313C 80047D3C 00021080 */ sll $v0, $v0, 2
/* 23140 80047D40 00441023 */ subu $v0, $v0, $a0
/* 23144 80047D44 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 23148 80047D48 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 2314C 80047D4C 00021100 */ sll $v0, $v0, 4
/* 23150 80047D50 AFBF0018 */ sw $ra, 0x18($sp)
/* 23154 80047D54 AFB10014 */ sw $s1, 0x14($sp)
/* 23158 80047D58 AFB00010 */ sw $s0, 0x10($sp)
/* 2315C 80047D5C 00628821 */ addu $s1, $v1, $v0
/* 23160 80047D60 2403FF7F */ addiu $v1, $zero, -0x81
/* 23164 80047D64 8E220000 */ lw $v0, ($s1)
/* 23168 80047D68 82240084 */ lb $a0, 0x84($s1)
/* 2316C 80047D6C 00431024 */ and $v0, $v0, $v1
/* 23170 80047D70 1480000E */ bnez $a0, .L80047DAC
/* 23174 80047D74 AE220000 */ sw $v0, ($s1)
/* 23178 80047D78 3C048010 */ lui $a0, %hi(D_80107314)
/* 2317C 80047D7C 24847314 */ addiu $a0, $a0, %lo(D_80107314)
/* 23180 80047D80 24020001 */ addiu $v0, $zero, 1
/* 23184 80047D84 0C050529 */ jal create_hud_element
/* 23188 80047D88 A2220084 */ sb $v0, 0x84($s1)
/* 2318C 80047D8C 0040802D */ daddu $s0, $v0, $zero
/* 23190 80047D90 0200202D */ daddu $a0, $s0, $zero
/* 23194 80047D94 0C051280 */ jal set_hud_element_flags
/* 23198 80047D98 24050002 */ addiu $a1, $zero, 2
/* 2319C 80047D9C 0200202D */ daddu $a0, $s0, $zero
/* 231A0 80047DA0 0C051280 */ jal set_hud_element_flags
/* 231A4 80047DA4 24050080 */ addiu $a1, $zero, 0x80
/* 231A8 80047DA8 AE300088 */ sw $s0, 0x88($s1)
.L80047DAC:
/* 231AC 80047DAC 8FBF0018 */ lw $ra, 0x18($sp)
/* 231B0 80047DB0 8FB10014 */ lw $s1, 0x14($sp)
/* 231B4 80047DB4 8FB00010 */ lw $s0, 0x10($sp)
/* 231B8 80047DB8 03E00008 */ jr $ra
/* 231BC 80047DBC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,41 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel create_status_icon_boost_jump
/* 23014 80047C14 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 23018 80047C18 00041040 */ sll $v0, $a0, 1
/* 2301C 80047C1C 00441021 */ addu $v0, $v0, $a0
/* 23020 80047C20 00021080 */ sll $v0, $v0, 2
/* 23024 80047C24 00441023 */ subu $v0, $v0, $a0
/* 23028 80047C28 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 2302C 80047C2C 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 23030 80047C30 00021100 */ sll $v0, $v0, 4
/* 23034 80047C34 AFBF0018 */ sw $ra, 0x18($sp)
/* 23038 80047C38 AFB10014 */ sw $s1, 0x14($sp)
/* 2303C 80047C3C AFB00010 */ sw $s0, 0x10($sp)
/* 23040 80047C40 00628821 */ addu $s1, $v1, $v0
/* 23044 80047C44 2403FFBF */ addiu $v1, $zero, -0x41
/* 23048 80047C48 8E220000 */ lw $v0, ($s1)
/* 2304C 80047C4C 82240078 */ lb $a0, 0x78($s1)
/* 23050 80047C50 00431024 */ and $v0, $v0, $v1
/* 23054 80047C54 1480000E */ bnez $a0, .L80047C90
/* 23058 80047C58 AE220000 */ sw $v0, ($s1)
/* 2305C 80047C5C 3C048010 */ lui $a0, %hi(D_8010701C)
/* 23060 80047C60 2484701C */ addiu $a0, $a0, %lo(D_8010701C)
/* 23064 80047C64 24020001 */ addiu $v0, $zero, 1
/* 23068 80047C68 0C050529 */ jal create_hud_element
/* 2306C 80047C6C A2220078 */ sb $v0, 0x78($s1)
/* 23070 80047C70 0040802D */ daddu $s0, $v0, $zero
/* 23074 80047C74 0200202D */ daddu $a0, $s0, $zero
/* 23078 80047C78 0C051280 */ jal set_hud_element_flags
/* 2307C 80047C7C 24050002 */ addiu $a1, $zero, 2
/* 23080 80047C80 0200202D */ daddu $a0, $s0, $zero
/* 23084 80047C84 0C051280 */ jal set_hud_element_flags
/* 23088 80047C88 24050080 */ addiu $a1, $zero, 0x80
/* 2308C 80047C8C AE30007C */ sw $s0, 0x7c($s1)
.L80047C90:
/* 23090 80047C90 8FBF0018 */ lw $ra, 0x18($sp)
/* 23094 80047C94 8FB10014 */ lw $s1, 0x14($sp)
/* 23098 80047C98 8FB00010 */ lw $s0, 0x10($sp)
/* 2309C 80047C9C 03E00008 */ jr $ra
/* 230A0 80047CA0 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,41 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel create_status_icon_boost_partner
/* 2324C 80047E4C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 23250 80047E50 00041040 */ sll $v0, $a0, 1
/* 23254 80047E54 00441021 */ addu $v0, $v0, $a0
/* 23258 80047E58 00021080 */ sll $v0, $v0, 2
/* 2325C 80047E5C 00441023 */ subu $v0, $v0, $a0
/* 23260 80047E60 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 23264 80047E64 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 23268 80047E68 00021100 */ sll $v0, $v0, 4
/* 2326C 80047E6C AFBF0018 */ sw $ra, 0x18($sp)
/* 23270 80047E70 AFB10014 */ sw $s1, 0x14($sp)
/* 23274 80047E74 AFB00010 */ sw $s0, 0x10($sp)
/* 23278 80047E78 00628821 */ addu $s1, $v1, $v0
/* 2327C 80047E7C 2403FEFF */ addiu $v1, $zero, -0x101
/* 23280 80047E80 8E220000 */ lw $v0, ($s1)
/* 23284 80047E84 82240090 */ lb $a0, 0x90($s1)
/* 23288 80047E88 00431024 */ and $v0, $v0, $v1
/* 2328C 80047E8C 1480000E */ bnez $a0, .L80047EC8
/* 23290 80047E90 AE220000 */ sw $v0, ($s1)
/* 23294 80047E94 3C048010 */ lui $a0, %hi(D_801075E0)
/* 23298 80047E98 248475E0 */ addiu $a0, $a0, %lo(D_801075E0)
/* 2329C 80047E9C 24020001 */ addiu $v0, $zero, 1
/* 232A0 80047EA0 0C050529 */ jal create_hud_element
/* 232A4 80047EA4 A2220090 */ sb $v0, 0x90($s1)
/* 232A8 80047EA8 0040802D */ daddu $s0, $v0, $zero
/* 232AC 80047EAC 0200202D */ daddu $a0, $s0, $zero
/* 232B0 80047EB0 0C051280 */ jal set_hud_element_flags
/* 232B4 80047EB4 24050002 */ addiu $a1, $zero, 2
/* 232B8 80047EB8 0200202D */ daddu $a0, $s0, $zero
/* 232BC 80047EBC 0C051280 */ jal set_hud_element_flags
/* 232C0 80047EC0 24050080 */ addiu $a1, $zero, 0x80
/* 232C4 80047EC4 AE300094 */ sw $s0, 0x94($s1)
.L80047EC8:
/* 232C8 80047EC8 8FBF0018 */ lw $ra, 0x18($sp)
/* 232CC 80047ECC 8FB10014 */ lw $s1, 0x14($sp)
/* 232D0 80047ED0 8FB00010 */ lw $s0, 0x10($sp)
/* 232D4 80047ED4 03E00008 */ jr $ra
/* 232D8 80047ED8 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,41 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel create_status_icon_danger
/* 23570 80048170 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 23574 80048174 00041040 */ sll $v0, $a0, 1
/* 23578 80048178 00441021 */ addu $v0, $v0, $a0
/* 2357C 8004817C 00021080 */ sll $v0, $v0, 2
/* 23580 80048180 00441023 */ subu $v0, $v0, $a0
/* 23584 80048184 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 23588 80048188 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 2358C 8004818C 00021100 */ sll $v0, $v0, 4
/* 23590 80048190 AFBF0018 */ sw $ra, 0x18($sp)
/* 23594 80048194 AFB10014 */ sw $s1, 0x14($sp)
/* 23598 80048198 AFB00010 */ sw $s0, 0x10($sp)
/* 2359C 8004819C 00628821 */ addu $s1, $v1, $v0
/* 235A0 800481A0 2403F7FF */ addiu $v1, $zero, -0x801
/* 235A4 800481A4 8E220000 */ lw $v0, ($s1)
/* 235A8 800481A8 822400A8 */ lb $a0, 0xa8($s1)
/* 235AC 800481AC 00431024 */ and $v0, $v0, $v1
/* 235B0 800481B0 1480000E */ bnez $a0, .L800481EC
/* 235B4 800481B4 AE220000 */ sw $v0, ($s1)
/* 235B8 800481B8 3C048011 */ lui $a0, %hi(D_80108A14)
/* 235BC 800481BC 24848A14 */ addiu $a0, $a0, %lo(D_80108A14)
/* 235C0 800481C0 24020001 */ addiu $v0, $zero, 1
/* 235C4 800481C4 0C050529 */ jal create_hud_element
/* 235C8 800481C8 A22200A8 */ sb $v0, 0xa8($s1)
/* 235CC 800481CC 0040802D */ daddu $s0, $v0, $zero
/* 235D0 800481D0 0200202D */ daddu $a0, $s0, $zero
/* 235D4 800481D4 0C051280 */ jal set_hud_element_flags
/* 235D8 800481D8 24050002 */ addiu $a1, $zero, 2
/* 235DC 800481DC 0200202D */ daddu $a0, $s0, $zero
/* 235E0 800481E0 0C051280 */ jal set_hud_element_flags
/* 235E4 800481E4 24050080 */ addiu $a1, $zero, 0x80
/* 235E8 800481E8 AE3000AC */ sw $s0, 0xac($s1)
.L800481EC:
/* 235EC 800481EC 8FBF0018 */ lw $ra, 0x18($sp)
/* 235F0 800481F0 8FB10014 */ lw $s1, 0x14($sp)
/* 235F4 800481F4 8FB00010 */ lw $s0, 0x10($sp)
/* 235F8 800481F8 03E00008 */ jr $ra
/* 235FC 800481FC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,41 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel create_status_icon_peril
/* 23464 80048064 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 23468 80048068 00041040 */ sll $v0, $a0, 1
/* 2346C 8004806C 00441021 */ addu $v0, $v0, $a0
/* 23470 80048070 00021080 */ sll $v0, $v0, 2
/* 23474 80048074 00441023 */ subu $v0, $v0, $a0
/* 23478 80048078 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 2347C 8004807C 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 23480 80048080 00021100 */ sll $v0, $v0, 4
/* 23484 80048084 AFBF0018 */ sw $ra, 0x18($sp)
/* 23488 80048088 AFB10014 */ sw $s1, 0x14($sp)
/* 2348C 8004808C AFB00010 */ sw $s0, 0x10($sp)
/* 23490 80048090 00628821 */ addu $s1, $v1, $v0
/* 23494 80048094 2403FBFF */ addiu $v1, $zero, -0x401
/* 23498 80048098 8E220000 */ lw $v0, ($s1)
/* 2349C 8004809C 822400A0 */ lb $a0, 0xa0($s1)
/* 234A0 800480A0 00431024 */ and $v0, $v0, $v1
/* 234A4 800480A4 1480000E */ bnez $a0, .L800480E0
/* 234A8 800480A8 AE220000 */ sw $v0, ($s1)
/* 234AC 800480AC 3C048011 */ lui $a0, %hi(D_801089C4)
/* 234B0 800480B0 248489C4 */ addiu $a0, $a0, %lo(D_801089C4)
/* 234B4 800480B4 24020001 */ addiu $v0, $zero, 1
/* 234B8 800480B8 0C050529 */ jal create_hud_element
/* 234BC 800480BC A22200A0 */ sb $v0, 0xa0($s1)
/* 234C0 800480C0 0040802D */ daddu $s0, $v0, $zero
/* 234C4 800480C4 0200202D */ daddu $a0, $s0, $zero
/* 234C8 800480C8 0C051280 */ jal set_hud_element_flags
/* 234CC 800480CC 24050002 */ addiu $a1, $zero, 2
/* 234D0 800480D0 0200202D */ daddu $a0, $s0, $zero
/* 234D4 800480D4 0C051280 */ jal set_hud_element_flags
/* 234D8 800480D8 24050080 */ addiu $a1, $zero, 0x80
/* 234DC 800480DC AE3000A4 */ sw $s0, 0xa4($s1)
.L800480E0:
/* 234E0 800480E0 8FBF0018 */ lw $ra, 0x18($sp)
/* 234E4 800480E4 8FB10014 */ lw $s1, 0x14($sp)
/* 234E8 800480E8 8FB00010 */ lw $s0, 0x10($sp)
/* 234EC 800480EC 03E00008 */ jr $ra
/* 234F0 800480F0 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,41 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel create_status_icon_surprise
/* 23358 80047F58 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 2335C 80047F5C 00041040 */ sll $v0, $a0, 1
/* 23360 80047F60 00441021 */ addu $v0, $v0, $a0
/* 23364 80047F64 00021080 */ sll $v0, $v0, 2
/* 23368 80047F68 00441023 */ subu $v0, $v0, $a0
/* 2336C 80047F6C 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 23370 80047F70 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 23374 80047F74 00021100 */ sll $v0, $v0, 4
/* 23378 80047F78 AFBF0018 */ sw $ra, 0x18($sp)
/* 2337C 80047F7C AFB10014 */ sw $s1, 0x14($sp)
/* 23380 80047F80 AFB00010 */ sw $s0, 0x10($sp)
/* 23384 80047F84 00628821 */ addu $s1, $v1, $v0
/* 23388 80047F88 2403FDFF */ addiu $v1, $zero, -0x201
/* 2338C 80047F8C 8E220000 */ lw $v0, ($s1)
/* 23390 80047F90 82240098 */ lb $a0, 0x98($s1)
/* 23394 80047F94 00431024 */ and $v0, $v0, $v1
/* 23398 80047F98 1480000E */ bnez $a0, .L80047FD4
/* 2339C 80047F9C AE220000 */ sw $v0, ($s1)
/* 233A0 80047FA0 3C048010 */ lui $a0, %hi(D_8010760C)
/* 233A4 80047FA4 2484760C */ addiu $a0, $a0, %lo(D_8010760C)
/* 233A8 80047FA8 24020001 */ addiu $v0, $zero, 1
/* 233AC 80047FAC 0C050529 */ jal create_hud_element
/* 233B0 80047FB0 A2220098 */ sb $v0, 0x98($s1)
/* 233B4 80047FB4 0040802D */ daddu $s0, $v0, $zero
/* 233B8 80047FB8 0200202D */ daddu $a0, $s0, $zero
/* 233BC 80047FBC 0C051280 */ jal set_hud_element_flags
/* 233C0 80047FC0 24050002 */ addiu $a1, $zero, 2
/* 233C4 80047FC4 0200202D */ daddu $a0, $s0, $zero
/* 233C8 80047FC8 0C051280 */ jal set_hud_element_flags
/* 233CC 80047FCC 24050080 */ addiu $a1, $zero, 0x80
/* 233D0 80047FD0 AE30009C */ sw $s0, 0x9c($s1)
.L80047FD4:
/* 233D4 80047FD4 8FBF0018 */ lw $ra, 0x18($sp)
/* 233D8 80047FD8 8FB10014 */ lw $s1, 0x14($sp)
/* 233DC 80047FDC 8FB00010 */ lw $s0, 0x10($sp)
/* 233E0 80047FE0 03E00008 */ jr $ra
/* 233E4 80047FE4 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,16 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel enable_status_1
/* 22CF8 800478F8 00041040 */ sll $v0, $a0, 1
/* 22CFC 800478FC 00441021 */ addu $v0, $v0, $a0
/* 22D00 80047900 00021080 */ sll $v0, $v0, 2
/* 22D04 80047904 00441023 */ subu $v0, $v0, $a0
/* 22D08 80047908 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 22D0C 8004790C 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 22D10 80047910 00021100 */ sll $v0, $v0, 4
/* 22D14 80047914 00621821 */ addu $v1, $v1, $v0
/* 22D18 80047918 8C620000 */ lw $v0, ($v1)
/* 22D1C 8004791C 34420004 */ ori $v0, $v0, 4
/* 22D20 80047920 03E00008 */ jr $ra
/* 22D24 80047924 AC620000 */ sw $v0, ($v1)

View File

@ -1,16 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel enable_status_2
/* 22E00 80047A00 00041040 */ sll $v0, $a0, 1
/* 22E04 80047A04 00441021 */ addu $v0, $v0, $a0
/* 22E08 80047A08 00021080 */ sll $v0, $v0, 2
/* 22E0C 80047A0C 00441023 */ subu $v0, $v0, $a0
/* 22E10 80047A10 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 22E14 80047A14 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 22E18 80047A18 00021100 */ sll $v0, $v0, 4
/* 22E1C 80047A1C 00621821 */ addu $v1, $v1, $v0
/* 22E20 80047A20 8C620000 */ lw $v0, ($v1)
/* 22E24 80047A24 34420008 */ ori $v0, $v0, 8
/* 22E28 80047A28 03E00008 */ jr $ra
/* 22E2C 80047A2C AC620000 */ sw $v0, ($v1)

View File

@ -1,16 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel enable_status_3
/* 22F08 80047B08 00041040 */ sll $v0, $a0, 1
/* 22F0C 80047B0C 00441021 */ addu $v0, $v0, $a0
/* 22F10 80047B10 00021080 */ sll $v0, $v0, 2
/* 22F14 80047B14 00441023 */ subu $v0, $v0, $a0
/* 22F18 80047B18 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 22F1C 80047B1C 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 22F20 80047B20 00021100 */ sll $v0, $v0, 4
/* 22F24 80047B24 00621821 */ addu $v1, $v1, $v0
/* 22F28 80047B28 8C620000 */ lw $v0, ($v1)
/* 22F2C 80047B2C 34420010 */ ori $v0, $v0, 0x10
/* 22F30 80047B30 03E00008 */ jr $ra
/* 22F34 80047B34 AC620000 */ sw $v0, ($v1)

View File

@ -1,16 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel enable_status_4
/* 22FE4 80047BE4 00041040 */ sll $v0, $a0, 1
/* 22FE8 80047BE8 00441021 */ addu $v0, $v0, $a0
/* 22FEC 80047BEC 00021080 */ sll $v0, $v0, 2
/* 22FF0 80047BF0 00441023 */ subu $v0, $v0, $a0
/* 22FF4 80047BF4 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 22FF8 80047BF8 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 22FFC 80047BFC 00021100 */ sll $v0, $v0, 4
/* 23000 80047C00 00621821 */ addu $v1, $v1, $v0
/* 23004 80047C04 8C620000 */ lw $v0, ($v1)
/* 23008 80047C08 34420020 */ ori $v0, $v0, 0x20
/* 2300C 80047C0C 03E00008 */ jr $ra
/* 23010 80047C10 AC620000 */ sw $v0, ($v1)

View File

@ -1,16 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel enable_status_icon_boost_hammer
/* 2321C 80047E1C 00041040 */ sll $v0, $a0, 1
/* 23220 80047E20 00441021 */ addu $v0, $v0, $a0
/* 23224 80047E24 00021080 */ sll $v0, $v0, 2
/* 23228 80047E28 00441023 */ subu $v0, $v0, $a0
/* 2322C 80047E2C 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 23230 80047E30 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 23234 80047E34 00021100 */ sll $v0, $v0, 4
/* 23238 80047E38 00621821 */ addu $v1, $v1, $v0
/* 2323C 80047E3C 8C620000 */ lw $v0, ($v1)
/* 23240 80047E40 34420080 */ ori $v0, $v0, 0x80
/* 23244 80047E44 03E00008 */ jr $ra
/* 23248 80047E48 AC620000 */ sw $v0, ($v1)

View File

@ -1,16 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel enable_status_icon_boost_jump
/* 23100 80047D00 00041040 */ sll $v0, $a0, 1
/* 23104 80047D04 00441021 */ addu $v0, $v0, $a0
/* 23108 80047D08 00021080 */ sll $v0, $v0, 2
/* 2310C 80047D0C 00441023 */ subu $v0, $v0, $a0
/* 23110 80047D10 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 23114 80047D14 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 23118 80047D18 00021100 */ sll $v0, $v0, 4
/* 2311C 80047D1C 00621821 */ addu $v1, $v1, $v0
/* 23120 80047D20 8C620000 */ lw $v0, ($v1)
/* 23124 80047D24 34420040 */ ori $v0, $v0, 0x40
/* 23128 80047D28 03E00008 */ jr $ra
/* 2312C 80047D2C AC620000 */ sw $v0, ($v1)

View File

@ -1,16 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel enable_status_icon_boost_partner
/* 23328 80047F28 00041040 */ sll $v0, $a0, 1
/* 2332C 80047F2C 00441021 */ addu $v0, $v0, $a0
/* 23330 80047F30 00021080 */ sll $v0, $v0, 2
/* 23334 80047F34 00441023 */ subu $v0, $v0, $a0
/* 23338 80047F38 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 2333C 80047F3C 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 23340 80047F40 00021100 */ sll $v0, $v0, 4
/* 23344 80047F44 00621821 */ addu $v1, $v1, $v0
/* 23348 80047F48 8C620000 */ lw $v0, ($v1)
/* 2334C 80047F4C 34420100 */ ori $v0, $v0, 0x100
/* 23350 80047F50 03E00008 */ jr $ra
/* 23354 80047F54 AC620000 */ sw $v0, ($v1)

View File

@ -1,17 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel enable_status_icon_danger
/* 2364C 8004824C 00041040 */ sll $v0, $a0, 1
/* 23650 80048250 00441021 */ addu $v0, $v0, $a0
/* 23654 80048254 00021080 */ sll $v0, $v0, 2
/* 23658 80048258 00441023 */ subu $v0, $v0, $a0
/* 2365C 8004825C 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 23660 80048260 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 23664 80048264 00021100 */ sll $v0, $v0, 4
/* 23668 80048268 00621821 */ addu $v1, $v1, $v0
/* 2366C 8004826C 8C620000 */ lw $v0, ($v1)
/* 23670 80048270 34420800 */ ori $v0, $v0, 0x800
/* 23674 80048274 03E00008 */ jr $ra
/* 23678 80048278 AC620000 */ sw $v0, ($v1)
/* 2367C 8004827C 00000000 */ nop

View File

@ -1,16 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel enable_status_icon_peril
/* 23540 80048140 00041040 */ sll $v0, $a0, 1
/* 23544 80048144 00441021 */ addu $v0, $v0, $a0
/* 23548 80048148 00021080 */ sll $v0, $v0, 2
/* 2354C 8004814C 00441023 */ subu $v0, $v0, $a0
/* 23550 80048150 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 23554 80048154 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 23558 80048158 00021100 */ sll $v0, $v0, 4
/* 2355C 8004815C 00621821 */ addu $v1, $v1, $v0
/* 23560 80048160 8C620000 */ lw $v0, ($v1)
/* 23564 80048164 34420400 */ ori $v0, $v0, 0x400
/* 23568 80048168 03E00008 */ jr $ra
/* 2356C 8004816C AC620000 */ sw $v0, ($v1)

View File

@ -1,16 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel enable_status_icon_surprise
/* 23434 80048034 00041040 */ sll $v0, $a0, 1
/* 23438 80048038 00441021 */ addu $v0, $v0, $a0
/* 2343C 8004803C 00021080 */ sll $v0, $v0, 2
/* 23440 80048040 00441023 */ subu $v0, $v0, $a0
/* 23444 80048044 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 23448 80048048 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 2344C 8004804C 00021100 */ sll $v0, $v0, 4
/* 23450 80048050 00621821 */ addu $v1, $v1, $v0
/* 23454 80048054 8C620000 */ lw $v0, ($v1)
/* 23458 80048058 34420200 */ ori $v0, $v0, 0x200
/* 2345C 8004805C 03E00008 */ jr $ra
/* 23460 80048060 AC620000 */ sw $v0, ($v1)

View File

@ -1,42 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel remove_all_status_icons
/* 22AF4 800476F4 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 22AF8 800476F8 AFB00010 */ sw $s0, 0x10($sp)
/* 22AFC 800476FC 0080802D */ daddu $s0, $a0, $zero
/* 22B00 80047700 00101040 */ sll $v0, $s0, 1
/* 22B04 80047704 00501021 */ addu $v0, $v0, $s0
/* 22B08 80047708 00021080 */ sll $v0, $v0, 2
/* 22B0C 8004770C 00501023 */ subu $v0, $v0, $s0
/* 22B10 80047710 AFB10014 */ sw $s1, 0x14($sp)
/* 22B14 80047714 3C11800A */ lui $s1, %hi(D_800A0F44)
/* 22B18 80047718 8E310F44 */ lw $s1, %lo(D_800A0F44)($s1)
/* 22B1C 8004771C 00021100 */ sll $v0, $v0, 4
/* 22B20 80047720 AFBF0018 */ sw $ra, 0x18($sp)
/* 22B24 80047724 0C011E26 */ jal remove_status_debuff
/* 22B28 80047728 02228821 */ addu $s1, $s1, $v0
/* 22B2C 8004772C 0C011E68 */ jal remove_status_static
/* 22B30 80047730 0200202D */ daddu $a0, $s0, $zero
/* 22B34 80047734 0C011EAA */ jal remove_status_transparent
/* 22B38 80047738 0200202D */ daddu $a0, $s0, $zero
/* 22B3C 8004773C 0C011EE1 */ jal remove_status_4
/* 22B40 80047740 0200202D */ daddu $a0, $s0, $zero
/* 22B44 80047744 0C011F29 */ jal remove_status_icon_boost_jump
/* 22B48 80047748 0200202D */ daddu $a0, $s0, $zero
/* 22B4C 8004774C 0C011F70 */ jal remove_status_icon_boost_hammer
/* 22B50 80047750 0200202D */ daddu $a0, $s0, $zero
/* 22B54 80047754 0C011FB7 */ jal remove_status_icon_boost_partner
/* 22B58 80047758 0200202D */ daddu $a0, $s0, $zero
/* 22B5C 8004775C 0C011FFA */ jal remove_status_icon_surprise
/* 22B60 80047760 0200202D */ daddu $a0, $s0, $zero
/* 22B64 80047764 0C01203D */ jal remove_status_icon_peril
/* 22B68 80047768 0200202D */ daddu $a0, $s0, $zero
/* 22B6C 8004776C 0C012080 */ jal remove_status_icon_danger
/* 22B70 80047770 0200202D */ daddu $a0, $s0, $zero
/* 22B74 80047774 AE200000 */ sw $zero, ($s1)
/* 22B78 80047778 8FBF0018 */ lw $ra, 0x18($sp)
/* 22B7C 8004777C 8FB10014 */ lw $s1, 0x14($sp)
/* 22B80 80047780 8FB00010 */ lw $s0, 0x10($sp)
/* 22B84 80047784 03E00008 */ jr $ra
/* 22B88 80047788 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,29 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel remove_status_4
/* 22F84 80047B84 00041040 */ sll $v0, $a0, 1
/* 22F88 80047B88 00441021 */ addu $v0, $v0, $a0
/* 22F8C 80047B8C 00021080 */ sll $v0, $v0, 2
/* 22F90 80047B90 00441023 */ subu $v0, $v0, $a0
/* 22F94 80047B94 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 22F98 80047B98 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 22F9C 80047B9C 00021100 */ sll $v0, $v0, 4
/* 22FA0 80047BA0 00622021 */ addu $a0, $v1, $v0
/* 22FA4 80047BA4 80820068 */ lb $v0, 0x68($a0)
/* 22FA8 80047BA8 1040000C */ beqz $v0, .L80047BDC
/* 22FAC 80047BAC 90830068 */ lbu $v1, 0x68($a0)
/* 22FB0 80047BB0 80820069 */ lb $v0, 0x69($a0)
/* 22FB4 80047BB4 14400009 */ bnez $v0, .L80047BDC
/* 22FB8 80047BB8 24020001 */ addiu $v0, $zero, 1
/* 22FBC 80047BBC A0830069 */ sb $v1, 0x69($a0)
/* 22FC0 80047BC0 8C830070 */ lw $v1, 0x70($a0)
/* 22FC4 80047BC4 A082006B */ sb $v0, 0x6b($a0)
/* 22FC8 80047BC8 2402000A */ addiu $v0, $zero, 0xa
/* 22FCC 80047BCC A0800068 */ sb $zero, 0x68($a0)
/* 22FD0 80047BD0 A080006A */ sb $zero, 0x6a($a0)
/* 22FD4 80047BD4 A082006D */ sb $v0, 0x6d($a0)
/* 22FD8 80047BD8 AC830074 */ sw $v1, 0x74($a0)
.L80047BDC:
/* 22FDC 80047BDC 03E00008 */ jr $ra
/* 22FE0 80047BE0 00000000 */ nop

View File

@ -1,29 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel remove_status_debuff
/* 22C98 80047898 00041040 */ sll $v0, $a0, 1
/* 22C9C 8004789C 00441021 */ addu $v0, $v0, $a0
/* 22CA0 800478A0 00021080 */ sll $v0, $v0, 2
/* 22CA4 800478A4 00441023 */ subu $v0, $v0, $a0
/* 22CA8 800478A8 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 22CAC 800478AC 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 22CB0 800478B0 00021100 */ sll $v0, $v0, 4
/* 22CB4 800478B4 00622021 */ addu $a0, $v1, $v0
/* 22CB8 800478B8 80820038 */ lb $v0, 0x38($a0)
/* 22CBC 800478BC 1040000C */ beqz $v0, .L800478F0
/* 22CC0 800478C0 90830038 */ lbu $v1, 0x38($a0)
/* 22CC4 800478C4 80820039 */ lb $v0, 0x39($a0)
/* 22CC8 800478C8 14400009 */ bnez $v0, .L800478F0
/* 22CCC 800478CC 24020001 */ addiu $v0, $zero, 1
/* 22CD0 800478D0 A0830039 */ sb $v1, 0x39($a0)
/* 22CD4 800478D4 8C830040 */ lw $v1, 0x40($a0)
/* 22CD8 800478D8 A082003B */ sb $v0, 0x3b($a0)
/* 22CDC 800478DC 2402000A */ addiu $v0, $zero, 0xa
/* 22CE0 800478E0 A0800038 */ sb $zero, 0x38($a0)
/* 22CE4 800478E4 A080003A */ sb $zero, 0x3a($a0)
/* 22CE8 800478E8 A082003D */ sb $v0, 0x3d($a0)
/* 22CEC 800478EC AC830044 */ sw $v1, 0x44($a0)
.L800478F0:
/* 22CF0 800478F0 03E00008 */ jr $ra
/* 22CF4 800478F4 00000000 */ nop

View File

@ -1,28 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel remove_status_icon_boost_hammer
/* 231C0 80047DC0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 231C4 80047DC4 00041040 */ sll $v0, $a0, 1
/* 231C8 80047DC8 00441021 */ addu $v0, $v0, $a0
/* 231CC 80047DCC 00021080 */ sll $v0, $v0, 2
/* 231D0 80047DD0 00441023 */ subu $v0, $v0, $a0
/* 231D4 80047DD4 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 231D8 80047DD8 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 231DC 80047DDC 00021100 */ sll $v0, $v0, 4
/* 231E0 80047DE0 AFBF0010 */ sw $ra, 0x10($sp)
/* 231E4 80047DE4 00621821 */ addu $v1, $v1, $v0
/* 231E8 80047DE8 80620084 */ lb $v0, 0x84($v1)
/* 231EC 80047DEC 10400008 */ beqz $v0, .L80047E10
/* 231F0 80047DF0 00000000 */ nop
/* 231F4 80047DF4 8C640088 */ lw $a0, 0x88($v1)
/* 231F8 80047DF8 3C058010 */ lui $a1, %hi(D_80107474)
/* 231FC 80047DFC 24A57474 */ addiu $a1, $a1, %lo(D_80107474)
/* 23200 80047E00 A0600084 */ sb $zero, 0x84($v1)
/* 23204 80047E04 A0600085 */ sb $zero, 0x85($v1)
/* 23208 80047E08 0C0511FF */ jal set_hud_element_anim
/* 2320C 80047E0C AC64008C */ sw $a0, 0x8c($v1)
.L80047E10:
/* 23210 80047E10 8FBF0010 */ lw $ra, 0x10($sp)
/* 23214 80047E14 03E00008 */ jr $ra
/* 23218 80047E18 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,28 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel remove_status_icon_boost_jump
/* 230A4 80047CA4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 230A8 80047CA8 00041040 */ sll $v0, $a0, 1
/* 230AC 80047CAC 00441021 */ addu $v0, $v0, $a0
/* 230B0 80047CB0 00021080 */ sll $v0, $v0, 2
/* 230B4 80047CB4 00441023 */ subu $v0, $v0, $a0
/* 230B8 80047CB8 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 230BC 80047CBC 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 230C0 80047CC0 00021100 */ sll $v0, $v0, 4
/* 230C4 80047CC4 AFBF0010 */ sw $ra, 0x10($sp)
/* 230C8 80047CC8 00621821 */ addu $v1, $v1, $v0
/* 230CC 80047CCC 80620078 */ lb $v0, 0x78($v1)
/* 230D0 80047CD0 10400008 */ beqz $v0, .L80047CF4
/* 230D4 80047CD4 24020001 */ addiu $v0, $zero, 1
/* 230D8 80047CD8 8C64007C */ lw $a0, 0x7c($v1)
/* 230DC 80047CDC 3C058010 */ lui $a1, %hi(D_8010717C)
/* 230E0 80047CE0 24A5717C */ addiu $a1, $a1, %lo(D_8010717C)
/* 230E4 80047CE4 A0600078 */ sb $zero, 0x78($v1)
/* 230E8 80047CE8 A0620079 */ sb $v0, 0x79($v1)
/* 230EC 80047CEC 0C0511FF */ jal set_hud_element_anim
/* 230F0 80047CF0 AC640080 */ sw $a0, 0x80($v1)
.L80047CF4:
/* 230F4 80047CF4 8FBF0010 */ lw $ra, 0x10($sp)
/* 230F8 80047CF8 03E00008 */ jr $ra
/* 230FC 80047CFC 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,24 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel remove_status_icon_boost_partner
/* 232DC 80047EDC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 232E0 80047EE0 00041040 */ sll $v0, $a0, 1
/* 232E4 80047EE4 00441021 */ addu $v0, $v0, $a0
/* 232E8 80047EE8 00021080 */ sll $v0, $v0, 2
/* 232EC 80047EEC 00441023 */ subu $v0, $v0, $a0
/* 232F0 80047EF0 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 232F4 80047EF4 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 232F8 80047EF8 00021100 */ sll $v0, $v0, 4
/* 232FC 80047EFC AFBF0010 */ sw $ra, 0x10($sp)
/* 23300 80047F00 00621821 */ addu $v1, $v1, $v0
/* 23304 80047F04 80620090 */ lb $v0, 0x90($v1)
/* 23308 80047F08 10400004 */ beqz $v0, .L80047F1C
/* 2330C 80047F0C 00000000 */ nop
/* 23310 80047F10 8C640094 */ lw $a0, 0x94($v1)
/* 23314 80047F14 0C05123D */ jal free_hud_element
/* 23318 80047F18 A0600090 */ sb $zero, 0x90($v1)
.L80047F1C:
/* 2331C 80047F1C 8FBF0010 */ lw $ra, 0x10($sp)
/* 23320 80047F20 03E00008 */ jr $ra
/* 23324 80047F24 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,24 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel remove_status_icon_danger
/* 23600 80048200 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 23604 80048204 00041040 */ sll $v0, $a0, 1
/* 23608 80048208 00441021 */ addu $v0, $v0, $a0
/* 2360C 8004820C 00021080 */ sll $v0, $v0, 2
/* 23610 80048210 00441023 */ subu $v0, $v0, $a0
/* 23614 80048214 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 23618 80048218 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 2361C 8004821C 00021100 */ sll $v0, $v0, 4
/* 23620 80048220 AFBF0010 */ sw $ra, 0x10($sp)
/* 23624 80048224 00621821 */ addu $v1, $v1, $v0
/* 23628 80048228 806200A8 */ lb $v0, 0xa8($v1)
/* 2362C 8004822C 10400004 */ beqz $v0, .L80048240
/* 23630 80048230 00000000 */ nop
/* 23634 80048234 8C6400AC */ lw $a0, 0xac($v1)
/* 23638 80048238 0C05123D */ jal free_hud_element
/* 2363C 8004823C A06000A8 */ sb $zero, 0xa8($v1)
.L80048240:
/* 23640 80048240 8FBF0010 */ lw $ra, 0x10($sp)
/* 23644 80048244 03E00008 */ jr $ra
/* 23648 80048248 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,24 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel remove_status_icon_peril
/* 234F4 800480F4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 234F8 800480F8 00041040 */ sll $v0, $a0, 1
/* 234FC 800480FC 00441021 */ addu $v0, $v0, $a0
/* 23500 80048100 00021080 */ sll $v0, $v0, 2
/* 23504 80048104 00441023 */ subu $v0, $v0, $a0
/* 23508 80048108 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 2350C 8004810C 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 23510 80048110 00021100 */ sll $v0, $v0, 4
/* 23514 80048114 AFBF0010 */ sw $ra, 0x10($sp)
/* 23518 80048118 00621821 */ addu $v1, $v1, $v0
/* 2351C 8004811C 806200A0 */ lb $v0, 0xa0($v1)
/* 23520 80048120 10400004 */ beqz $v0, .L80048134
/* 23524 80048124 00000000 */ nop
/* 23528 80048128 8C6400A4 */ lw $a0, 0xa4($v1)
/* 2352C 8004812C 0C05123D */ jal free_hud_element
/* 23530 80048130 A06000A0 */ sb $zero, 0xa0($v1)
.L80048134:
/* 23534 80048134 8FBF0010 */ lw $ra, 0x10($sp)
/* 23538 80048138 03E00008 */ jr $ra
/* 2353C 8004813C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,24 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel remove_status_icon_surprise
/* 233E8 80047FE8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 233EC 80047FEC 00041040 */ sll $v0, $a0, 1
/* 233F0 80047FF0 00441021 */ addu $v0, $v0, $a0
/* 233F4 80047FF4 00021080 */ sll $v0, $v0, 2
/* 233F8 80047FF8 00441023 */ subu $v0, $v0, $a0
/* 233FC 80047FFC 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 23400 80048000 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 23404 80048004 00021100 */ sll $v0, $v0, 4
/* 23408 80048008 AFBF0010 */ sw $ra, 0x10($sp)
/* 2340C 8004800C 00621821 */ addu $v1, $v1, $v0
/* 23410 80048010 80620098 */ lb $v0, 0x98($v1)
/* 23414 80048014 10400004 */ beqz $v0, .L80048028
/* 23418 80048018 00000000 */ nop
/* 2341C 8004801C 8C64009C */ lw $a0, 0x9c($v1)
/* 23420 80048020 0C05123D */ jal free_hud_element
/* 23424 80048024 A0600098 */ sb $zero, 0x98($v1)
.L80048028:
/* 23428 80048028 8FBF0010 */ lw $ra, 0x10($sp)
/* 2342C 8004802C 03E00008 */ jr $ra
/* 23430 80048030 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,29 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel remove_status_static
/* 22DA0 800479A0 00041040 */ sll $v0, $a0, 1
/* 22DA4 800479A4 00441021 */ addu $v0, $v0, $a0
/* 22DA8 800479A8 00021080 */ sll $v0, $v0, 2
/* 22DAC 800479AC 00441023 */ subu $v0, $v0, $a0
/* 22DB0 800479B0 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 22DB4 800479B4 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 22DB8 800479B8 00021100 */ sll $v0, $v0, 4
/* 22DBC 800479BC 00622021 */ addu $a0, $v1, $v0
/* 22DC0 800479C0 80820048 */ lb $v0, 0x48($a0)
/* 22DC4 800479C4 1040000C */ beqz $v0, .L800479F8
/* 22DC8 800479C8 90830048 */ lbu $v1, 0x48($a0)
/* 22DCC 800479CC 80820049 */ lb $v0, 0x49($a0)
/* 22DD0 800479D0 14400009 */ bnez $v0, .L800479F8
/* 22DD4 800479D4 24020001 */ addiu $v0, $zero, 1
/* 22DD8 800479D8 A0830049 */ sb $v1, 0x49($a0)
/* 22DDC 800479DC 8C830050 */ lw $v1, 0x50($a0)
/* 22DE0 800479E0 A082004B */ sb $v0, 0x4b($a0)
/* 22DE4 800479E4 2402000A */ addiu $v0, $zero, 0xa
/* 22DE8 800479E8 A0800048 */ sb $zero, 0x48($a0)
/* 22DEC 800479EC A080004A */ sb $zero, 0x4a($a0)
/* 22DF0 800479F0 A082004D */ sb $v0, 0x4d($a0)
/* 22DF4 800479F4 AC830054 */ sw $v1, 0x54($a0)
.L800479F8:
/* 22DF8 800479F8 03E00008 */ jr $ra
/* 22DFC 800479FC 00000000 */ nop

View File

@ -1,29 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel remove_status_transparent
/* 22EA8 80047AA8 00041040 */ sll $v0, $a0, 1
/* 22EAC 80047AAC 00441021 */ addu $v0, $v0, $a0
/* 22EB0 80047AB0 00021080 */ sll $v0, $v0, 2
/* 22EB4 80047AB4 00441023 */ subu $v0, $v0, $a0
/* 22EB8 80047AB8 3C03800A */ lui $v1, %hi(D_800A0F44)
/* 22EBC 80047ABC 8C630F44 */ lw $v1, %lo(D_800A0F44)($v1)
/* 22EC0 80047AC0 00021100 */ sll $v0, $v0, 4
/* 22EC4 80047AC4 00622021 */ addu $a0, $v1, $v0
/* 22EC8 80047AC8 80820058 */ lb $v0, 0x58($a0)
/* 22ECC 80047ACC 1040000C */ beqz $v0, .L80047B00
/* 22ED0 80047AD0 90830058 */ lbu $v1, 0x58($a0)
/* 22ED4 80047AD4 80820059 */ lb $v0, 0x59($a0)
/* 22ED8 80047AD8 14400009 */ bnez $v0, .L80047B00
/* 22EDC 80047ADC 24020001 */ addiu $v0, $zero, 1
/* 22EE0 80047AE0 A0830059 */ sb $v1, 0x59($a0)
/* 22EE4 80047AE4 8C830060 */ lw $v1, 0x60($a0)
/* 22EE8 80047AE8 A082005B */ sb $v0, 0x5b($a0)
/* 22EEC 80047AEC 2402000A */ addiu $v0, $zero, 0xa
/* 22EF0 80047AF0 A0800058 */ sb $zero, 0x58($a0)
/* 22EF4 80047AF4 A080005A */ sb $zero, 0x5a($a0)
/* 22EF8 80047AF8 A082005D */ sb $v0, 0x5d($a0)
/* 22EFC 80047AFC AC830064 */ sw $v1, 0x64($a0)
.L80047B00:
/* 22F00 80047B00 03E00008 */ jr $ra
/* 22F04 80047B04 00000000 */ nop