add ActionCommandStatus, random decomp (#358)

This commit is contained in:
JaThePlayer 2021-08-06 13:00:15 +02:00 committed by GitHub
parent 18f0888e91
commit 18a2781cf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
145 changed files with 518 additions and 1037 deletions

View File

@ -692,9 +692,9 @@ typedef struct BattleStatus {
/* 0x0A8 */ s32 cloudNineEffect;
/* 0x0AC */ char unk_AC;
/* 0x0AD */ s8 unk_AD;
/* 0x0AE */ u8 hammerLossTurns;
/* 0x0AF */ u8 jumpLossTurns;
/* 0x0B0 */ u8 itemLossTurns;
/* 0x0AE */ s8 hammerLossTurns;
/* 0x0AF */ s8 jumpLossTurns;
/* 0x0B0 */ s8 itemLossTurns;
/* 0x0B1 */ char unk_B1[3];
/* 0x0B4 */ UNK_FUN_PTR(preUpdateCallback);
/* 0x0B8 */ UNK_FUN_PTR(unk_B8);
@ -2231,4 +2231,34 @@ typedef struct RenderTaskEntry {
/* 0x0C */ void (*appendGfx)(void*);
} RenderTaskEntry; // size = 0x10
typedef struct ActionCommandStatus {
/* 0x00 */ s32 unk_00;
/* 0x04 */ HudElement* hudElements[7];
/* 0x20 */ char unk_20[0x2A];
/* 0x4A */ s16 actionCommandID; // current action command id?
/* 0x4C */ s16 unk_4C;
/* 0x4E */ s16 unk_4E;
/* 0x50 */ s16 unk_50;
/* 0x52 */ s16 unk_52;
/* 0x54 */ s16 unk_54;
/* 0x56 */ s16 hudElementX;
/* 0x58 */ s16 hudElementY;
/* 0x59 */ char unk_59[4];
/* 0x5E */ s8 autoSucceed;
/* 0x5F */ s8 unk_5F;
/* 0x60 */ s8 unk_60;
/* 0x61 */ s8 unk_61;
/* 0x62 */ s8 unk_62;
/* 0x63 */ s8 unk_63;
/* 0x64 */ s16 unk_64;
/* 0x66 */ s16 unk_66;
/* 0x68 */ s16 unk_68;
/* 0x6A */ s16 unk_6A;
/* 0x6C */ s16 unk_6C;
/* 0x6E */ s16 hitsTakenIsMax;
/* 0x70 */ char unk_70[4];
/* 0x74 */ s16 unk_74;
/* 0x76 */ s16 mashMeterCutoffs[5]; // upper bounds for each interval
/* 0x80 */ s8 mashMeterIntervals;
} ActionCommandStatus; // size unknown
#endif

View File

@ -37,6 +37,8 @@ extern s32 D_800DC4F4;
extern s32 D_800DC4F8;
extern s32 gBattleDmaDest;
extern ActionCommandStatus gActionCommandStatus;
extern ScriptList gWorldScriptList;
extern ScriptList gBattleScriptList;
extern ScriptList* gCurrentScriptListPtr;

View File

@ -28,34 +28,6 @@ enum ActionCommand {
ACTION_COMMAND_TIDAL_WAVE,
};
// action command state
extern struct D_8029FBE0 {
/* 0x00 */ char unk_00[0x4A];
/* 0x4A */ s16 unk_4A; // current action command id?
/* 0x4C */ s16 unk_4C;
/* 0x4E */ char unk_4E[0x10];
/* 0x5E */ s8 unk_5E;
/* 0x5F */ s8 unk_5F;
/* 0x60 */ s8 unk_60;
/* 0x61 */ s8 unk_61;
/* 0x62 */ s16 unk_62;
/* 0x64 */ s16 unk_64;
/* 0x66 */ s16 unk_66;
/* 0x68 */ s16 unk_68;
/* 0x6A */ s16 unk_6A;
/* 0x6C */ s16 unk_6C;
/* 0x6E */ s16 hitsTakenIsMax;
/* 0x70 */ char unk_70[2];
/* 0x72 */ char unk_72[2];
/* 0x74 */ s16 unk_74;
/* 0x76 */ s16 unk_76;
/* 0x78 */ s16 unk_78;
/* 0x7A */ s16 unk_7A;
/* 0x7C */ s16 unk_7C;
/* 0x7E */ s16 unk_7E;
/* 0x80 */ s8 unk_80;
} D_8029FBE0; // size unknown
extern void* actionCommandDmaTable[23];
extern s32 D_8029FBC0;
@ -114,33 +86,33 @@ void func_80268834(s32 arg0, s32 arg1, s32 arg2, s32 arg3) {
}
void func_80268858(void) {
struct D_8029FBE0* d8029FBE0 = &D_8029FBE0;
ActionCommandStatus* actionCommandStatus = &gActionCommandStatus;
d8029FBE0->unk_5E = FALSE;
d8029FBE0->unk_6A = FALSE;
actionCommandStatus->autoSucceed = FALSE;
actionCommandStatus->unk_6A = FALSE;
if (!(gBattleStatus.flags1 & 0x80000)) {
if (is_ability_active(ABILITY_RIGHT_ON)) {
d8029FBE0->unk_5E = TRUE;
actionCommandStatus->autoSucceed = TRUE;
}
if (!(gBattleStatus.flags1 & 0x80000) && is_ability_active(ABILITY_BERSERKER)) {
d8029FBE0->unk_61 = FALSE;
d8029FBE0->unk_6A = TRUE;
actionCommandStatus->unk_61 = FALSE;
actionCommandStatus->unk_6A = TRUE;
if (rand_int(100) < 25) {
d8029FBE0->unk_5E = TRUE;
actionCommandStatus->autoSucceed = TRUE;
}
}
}
if (gGameStatusPtr->demoFlags & 1) {
d8029FBE0->unk_5E = TRUE;
actionCommandStatus->autoSucceed = TRUE;
}
if (gBattleStatus.flags1 & 0x1000) {
d8029FBE0->unk_5E = TRUE;
d8029FBE0->unk_61 = FALSE;
actionCommandStatus->autoSucceed = TRUE;
actionCommandStatus->unk_61 = FALSE;
}
}
@ -153,7 +125,7 @@ void func_80268938(void) {
func_80268C9C();
}
ac = D_8029FBE0.unk_4A;
ac = gActionCommandStatus.unk_4A;
switch (ac) {
case ACTION_COMMAND_JUMP:
@ -240,7 +212,7 @@ INCLUDE_ASM(s32, "196AA0", func_80268E88);
s32 check_block_input(s32 buttonMask) {
BattleStatus* battleStatus = &gBattleStatus;
PlayerData* playerData = &gPlayerData;
struct D_8029FBE0* d8029FBE0 = &D_8029FBE0;
ActionCommandStatus* actionCommandStatus = &gActionCommandStatus;
s32 mashWindow;
s32 blockWindow;
s32 block;
@ -262,9 +234,9 @@ s32 check_block_input(s32 buttonMask) {
if (playerData->hitsTaken < 9999) {
playerData->hitsTaken += 1;
d8029FBE0->hitsTakenIsMax = FALSE;
actionCommandStatus->hitsTakenIsMax = FALSE;
} else {
d8029FBE0->hitsTakenIsMax = TRUE;
actionCommandStatus->hitsTakenIsMax = TRUE;
}
block = FALSE;
@ -334,7 +306,7 @@ s32 check_block_input(s32 buttonMask) {
bufferPos++;
}
}
if (block && !d8029FBE0->hitsTakenIsMax) {
if (block && !actionCommandStatus->hitsTakenIsMax) {
playerData->hitsBlocked += 1;
}
@ -352,13 +324,13 @@ ApiStatus func_8026919C(ScriptInstance* script, s32 isInitialCall) {
ApiStatus SetupMashMeter(ScriptInstance* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
D_8029FBE0.unk_80 = get_variable(script, *args++);
D_8029FBE0.unk_76 = get_variable(script, *args++);
D_8029FBE0.unk_78 = get_variable(script, *args++);
D_8029FBE0.unk_7A = get_variable(script, *args++);
D_8029FBE0.unk_7C = get_variable(script, *args++);
D_8029FBE0.unk_7E = get_variable(script, *args++);
D_8029FBE0.unk_74 = D_8029FBE0.unk_76 / 2;
gActionCommandStatus.mashMeterIntervals = get_variable(script, *args++);
gActionCommandStatus.mashMeterCutoffs[0] = get_variable(script, *args++);
gActionCommandStatus.mashMeterCutoffs[1] = get_variable(script, *args++);
gActionCommandStatus.mashMeterCutoffs[2] = get_variable(script, *args++);
gActionCommandStatus.mashMeterCutoffs[3] = get_variable(script, *args++);
gActionCommandStatus.mashMeterCutoffs[4] = get_variable(script, *args++);
gActionCommandStatus.unk_74 = gActionCommandStatus.mashMeterCutoffs[0] / 2;
return ApiStatus_DONE2;
}

View File

@ -2,12 +2,137 @@
#define NAMESPACE action_command_hammer
INCLUDE_ASM(s32, "battle/action_cmd/hammer", func_802A9000_422000);
extern s32 D_80108E48;
// icon indexes for hud elements
extern s32 D_802922F0;
extern s32 D_8029275C;
extern s32 D_802927F0;
extern s32 D_80292848;
extern s32 D_802928A0;
extern s32 D_80292A2C;
INCLUDE_ASM(s32, "battle/action_cmd/hammer", func_802A9258_422258);
extern s32 D_802941E0;
ApiStatus N(CreateHudElements)(void) {
HudElement* hudElement;
ActionCommandStatus* actionCommandStatus = &gActionCommandStatus;
BattleStatus* battleStatus = &gBattleStatus;
battleStatus->unk_82 = 1;
battleStatus->unk_434 = &D_802941E0;
battleStatus->unk_86 = 0;
if (battleStatus->unk_83 == 0) {
battleStatus->actionSuccess = 0;
battleStatus->unk_84 = 0;
return ApiStatus_DONE2;
}
func_80268858();
actionCommandStatus->actionCommandID = 2;
actionCommandStatus->hudElementX = -0x30;
actionCommandStatus->unk_4C = 0;
actionCommandStatus->unk_60 = 0;
actionCommandStatus->hudElementY = 0x60;
hudElement = create_hud_element(&D_802922F0);
actionCommandStatus->hudElements[0] = hudElement;
set_hud_element_flags(hudElement, 0x82);
set_hud_element_render_pos(hudElement, actionCommandStatus->hudElementX, actionCommandStatus->hudElementY);
set_hud_element_render_depth(hudElement, 0xA);
hudElement = create_hud_element(&D_8029275C);
actionCommandStatus->hudElements[1] = hudElement;
set_hud_element_flags(hudElement, 0x82);
set_hud_element_render_pos(hudElement, actionCommandStatus->hudElementX, actionCommandStatus->hudElementY);
set_hud_element_render_depth(hudElement, 0);
hudElement = create_hud_element(&D_802927F0);
actionCommandStatus->hudElements[2] = hudElement;
set_hud_element_flags(hudElement, 0x82);
set_hud_element_render_pos(hudElement, actionCommandStatus->hudElementX, actionCommandStatus->hudElementY);
set_hud_element_render_depth(hudElement, 0);
hudElement = create_hud_element(&D_80292848);
actionCommandStatus->hudElements[3] = hudElement;
set_hud_element_flags(hudElement, 0x82);
set_hud_element_render_pos(hudElement, actionCommandStatus->hudElementX, actionCommandStatus->hudElementY);
set_hud_element_render_depth(hudElement, 0);
hudElement = create_hud_element(&D_802928A0);
actionCommandStatus->hudElements[4] = hudElement;
set_hud_element_flags(hudElement, 0x82);
set_hud_element_render_pos(hudElement, actionCommandStatus->hudElementX, actionCommandStatus->hudElementY);
set_hud_element_render_depth(hudElement, 0);
hudElement = create_hud_element(&D_80108E48);
actionCommandStatus->hudElements[5] = hudElement;
set_hud_element_flags(hudElement, 0x82);
set_hud_element_render_pos(hudElement, actionCommandStatus->hudElementX, actionCommandStatus->hudElementY);
set_hud_element_render_depth(hudElement, 0);
hudElement = create_hud_element(&D_80292A2C);
actionCommandStatus->hudElements[6] = hudElement;
set_hud_element_flags(hudElement, 0x82);
set_hud_element_render_pos(hudElement, actionCommandStatus->hudElementX, actionCommandStatus->hudElementY);
set_hud_element_render_depth(hudElement, 0);
set_hud_element_alpha(hudElement, 0xFF);
return ApiStatus_DONE2;
}
ApiStatus func_802A9258_422258(ScriptInstance* script, s32 isInitialCall) {
ActionCommandStatus* actionCommandStatus = &gActionCommandStatus;
BattleStatus* battleStatus = &gBattleStatus;
Bytecode* args = script->ptrReadPos;
if (battleStatus->unk_83 == 0) {
battleStatus->actionSuccess = 0;
battleStatus->unk_84 = 0;
return ApiStatus_DONE2;
}
func_80268858();
actionCommandStatus->unk_4E = get_variable(script, *args++);
actionCommandStatus->unk_52 = get_variable(script, *args++);
actionCommandStatus->unk_50 = get_variable(script, *args);
actionCommandStatus->unk_50 = func_80268224(actionCommandStatus->unk_50);
actionCommandStatus->unk_60 = 0;
actionCommandStatus->unk_62 = 1;
if (actionCommandStatus->unk_4E < 0) {
actionCommandStatus->unk_4E = 0;
actionCommandStatus->unk_62 = 0;
}
actionCommandStatus->unk_5F = 0;
battleStatus->actionSuccess = 0;
battleStatus->unk_84 = 0;
battleStatus->unk_86 = 0;
actionCommandStatus->unk_4C = 0xA;
battleStatus->flags1 &= ~0x8000;
func_80269118();
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "battle/action_cmd/hammer", func_802A936C_42236C);
INCLUDE_ASM(s32, "battle/action_cmd/hammer", func_802A99D4_4229D4);
void N(DrawHudElements)(void) {
draw_hud_element_clipped(gActionCommandStatus.hudElements[0]);
draw_hud_element_clipped(gActionCommandStatus.hudElements[1]);
draw_hud_element_clipped(gActionCommandStatus.hudElements[2]);
draw_hud_element_clipped(gActionCommandStatus.hudElements[3]);
draw_hud_element_clipped(gActionCommandStatus.hudElements[4]);
draw_hud_element_clipped(gActionCommandStatus.hudElements[5]);
draw_hud_element_clipped(gActionCommandStatus.hudElements[6]);
}
INCLUDE_ASM(s32, "battle/action_cmd/hammer", func_802A9A30_422A30);
void N(FreeHudElements)(void) {
free_hud_element(gActionCommandStatus.hudElements[0]);
free_hud_element(gActionCommandStatus.hudElements[1]);
free_hud_element(gActionCommandStatus.hudElements[2]);
free_hud_element(gActionCommandStatus.hudElements[3]);
free_hud_element(gActionCommandStatus.hudElements[4]);
free_hud_element(gActionCommandStatus.hudElements[5]);
free_hud_element(gActionCommandStatus.hudElements[6]);
}

View File

@ -4,4 +4,17 @@
#include "common/UnkBattleFunc1.inc.c"
INCLUDE_ASM(s32, "battle/area_flo/5B14B0", func_802180CC_5B157C);
ApiStatus func_802180CC_5B157C(ScriptInstance* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
s32 prevX = get_variable(script, *args++);
s32 prevZ = get_variable(script, *args++);
s32 length = get_variable(script, *args++);
s32 angle = get_variable(script, *args++);
f32 outX = prevX + (length * cos_deg(angle));
f32 outZ = prevZ - (length * sin_deg(angle));
set_float_variable(script, *args++, outX);
set_float_variable(script, *args++, outZ);
return ApiStatus_DONE2;
}

View File

@ -8,4 +8,4 @@
#include "common/UnkBattleFunc1.inc.c"
#define NAMESPACE b_area_flo
INCLUDE_ASM(s32, "battle/area_flo/5B16A0", func_8021844C_5B18FC);
#include "common/MediGuySpriteRotationFunc.inc.c"

View File

@ -1,7 +1,19 @@
#include "common.h"
#include "battle/battle.h"
#define NAMESPACE b_area_iwa
INCLUDE_ASM(s32, "battle/area_iwa/4D01F0", func_80218000_4D01F0);
ApiStatus N(SetSpinSmashable)(ScriptInstance* script, s32 isInitialCall) {
s32 canSpinSmash = get_variable(script, *script->ptrReadPos);
Actor* actor = get_actor(script->owner1.actorID);
if (canSpinSmash == FALSE) {
actor->staticActorData->spinSmashReq = 4;
} else {
actor->staticActorData->spinSmashReq = 0;
}
return ApiStatus_DONE2;
}
#include "common/StartRumbleWithParams.inc.c"

View File

@ -4,4 +4,4 @@
#include "common/UnkBattleFunc1.inc.c"
INCLUDE_ASM(s32, "battle/area_jan/573C30", func_802183DC_573CFC);
#include "common/MediGuySpriteRotationFunc.inc.c"

View File

@ -6,4 +6,4 @@
#include "common/UnkBattleFunc1.inc.c"
#define NAMESPACE b_area_omo
INCLUDE_ASM(s32, "battle/area_omo/512AB0", func_802185AC_512B7C);
#include "common/MediGuySpriteRotationFunc.inc.c"

View File

@ -8,6 +8,22 @@ INCLUDE_ASM(s32, "battle/area_omo/512E50", func_80218880_512E50);
INCLUDE_ASM(s32, "battle/area_omo/512E50", func_80218B38_513108);
INCLUDE_ASM(s32, "battle/area_omo/512E50", func_80218CF4_5132C4);
/// checks if all actions are available.
/// used by Spy Guys.
ApiStatus func_80218CF4_5132C4(ScriptInstance* script, s32 isInitialCall) {
BattleStatus* status = &gBattleStatus;
Bytecode* args = script->ptrReadPos;
if (status->hammerLossTurns == -1 ||
status->jumpLossTurns == -1 ||
status->itemLossTurns == -1
) {
set_variable(script, *args++, 0);
} else {
set_variable(script, *args++, -1);
}
return ApiStatus_DONE2;
}
#include "common/StartRumbleWithParams.inc.c"

View File

@ -2,7 +2,13 @@
#define NAMESPACE b_area_omo3
INCLUDE_ASM(s32, "battle/area_omo3/5573E0", func_80218000_5573E0);
ApiStatus func_80218000_5573E0(ScriptInstance* script, s32 isInitialCall) {
get_actor(script->owner1.actorID);
set_screen_overlay_params_back(13, 220.0f);
set_screen_overlay_alpha(1, 200.0f);
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "battle/area_omo3/5573E0", func_80218038_557418);

View File

@ -1,15 +1,8 @@
#include "common.h"
extern struct D_8029FBE0 {
/* 0x00 */ s32 unk_00;
/* 0x04 */ s32 unk_04;
/* 0x08 */ s32 unk_08;
/* 0x0C */ s32 unk_0C;
} D_8029FBE0; // size = 0x10
void N(FreeHudElements)(void) {
free_hud_element(D_8029FBE0.unk_04);
free_hud_element(D_8029FBE0.unk_08);
free_hud_element(D_8029FBE0.unk_0C);
free_hud_element(gActionCommandStatus.hudElements[0]);
free_hud_element(gActionCommandStatus.hudElements[1]);
free_hud_element(gActionCommandStatus.hudElements[2]);
}

View File

@ -0,0 +1,13 @@
// outputs z sprite rotation
ApiStatus N(MediGuySpriteRotationFunc)(ScriptInstance* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
s32 angle = get_variable(script, *args++);
s32 outPos = *(args++);
s32 temp_s3 = get_variable(script, *args++);
s32 temp_s0_5 = get_variable(script, *args++);
f32 temp_f20 = get_float_variable(script, *args++) * (1.0f - (angle / (f32) temp_s0_5));
set_variable(script, outPos, temp_f20 * cos_rad((angle * 6.283184f) / temp_s3));
return ApiStatus_DONE2;
}

View File

@ -66,6 +66,27 @@ ApiStatus func_802427D8_DF91D8(ScriptInstance* script, s32 isInitialCall) {
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "world/area_end/end_00/DF6A20", func_80242830_DF9230);
ApiStatus N(SetNpcShadowScale)(ScriptInstance* script, s32 isInitialCall) {
s32 npcID;
f32 newShadowScale;
INCLUDE_ASM(s32, "world/area_end/end_00/DF6A20", func_80242898_DF9298);
Bytecode* args = script->ptrReadPos;
npcID = get_variable(script, *args++);
newShadowScale = get_float_variable(script, *args++);
resolve_npc(script, npcID)->shadowScale = newShadowScale;
return ApiStatus_DONE2;
}
ApiStatus func_80242898_DF9298(ScriptInstance* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
Npc** npc = &script->functionTemp[1];
if (isInitialCall) {
*npc = get_npc_unsafe(get_variable(script, *args++));
}
(*npc)->pos.x += 0.6666667f;
return ApiStatus_BLOCK;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5,8 +5,8 @@ glabel CloseActionCommandInfo
/* 197CF0 80269410 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 197CF4 80269414 10A0000D */ beqz $a1, .L8026944C
/* 197CF8 80269418 AFBF0010 */ sw $ra, 0x10($sp)
/* 197CFC 8026941C 3C02802A */ lui $v0, %hi(D_8029FBE0)
/* 197D00 80269420 2442FBE0 */ addiu $v0, $v0, %lo(D_8029FBE0)
/* 197CFC 8026941C 3C02802A */ lui $v0, %hi(gActionCommandStatus)
/* 197D00 80269420 2442FBE0 */ addiu $v0, $v0, %lo(gActionCommandStatus)
/* 197D04 80269424 8443004A */ lh $v1, 0x4a($v0)
/* 197D08 80269428 28620007 */ slti $v0, $v1, 7
/* 197D0C 8026942C 10400003 */ beqz $v0, .L8026943C

View File

@ -7,8 +7,8 @@ glabel GetCommandAutoSuccess
/* 197C84 802693A4 AFB10014 */ sw $s1, 0x14($sp)
/* 197C88 802693A8 AFB00010 */ sw $s0, 0x10($sp)
/* 197C8C 802693AC 8C82000C */ lw $v0, 0xc($a0)
/* 197C90 802693B0 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 197C94 802693B4 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 197C90 802693B0 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 197C94 802693B4 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 197C98 802693B8 8C450000 */ lw $a1, ($v0)
/* 197C9C 802693BC 0C0B1EAF */ jal get_variable
/* 197CA0 802693C0 0220802D */ daddu $s0, $s1, $zero

View File

@ -3,8 +3,8 @@
glabel func_80268284
/* 196B64 80268284 27BDFF98 */ addiu $sp, $sp, -0x68
/* 196B68 80268288 3C0B802A */ lui $t3, %hi(D_8029FBE0)
/* 196B6C 8026828C 256BFBE0 */ addiu $t3, $t3, %lo(D_8029FBE0)
/* 196B68 80268288 3C0B802A */ lui $t3, %hi(gActionCommandStatus)
/* 196B6C 8026828C 256BFBE0 */ addiu $t3, $t3, %lo(gActionCommandStatus)
/* 196B70 80268290 AFBF0064 */ sw $ra, 0x64($sp)
/* 196B74 80268294 AFBE0060 */ sw $fp, 0x60($sp)
/* 196B78 80268298 AFB7005C */ sw $s7, 0x5c($sp)

View File

@ -18,8 +18,8 @@ glabel func_80268938
/* 197230 80268950 0C09A327 */ jal func_80268C9C
/* 197234 80268954 00000000 */ nop
.L80268958:
/* 197238 80268958 3C02802A */ lui $v0, %hi(D_8029FBE0)
/* 19723C 8026895C 2442FBE0 */ addiu $v0, $v0, %lo(D_8029FBE0)
/* 197238 80268958 3C02802A */ lui $v0, %hi(gActionCommandStatus)
/* 19723C 8026895C 2442FBE0 */ addiu $v0, $v0, %lo(gActionCommandStatus)
/* 197240 80268960 8443004A */ lh $v1, 0x4a($v0)
/* 197244 80268964 2C620018 */ sltiu $v0, $v1, 0x18
/* 197248 80268968 10400060 */ beqz $v0, L80268AEC_1973CC

View File

@ -27,7 +27,7 @@ glabel L80268B28_197408
/* 197410 80268B30 0809A324 */ j L80268C90_197570
/* 197414 80268B34 00000000 */ nop
glabel L80268B38_197418
/* 197418 80268B38 0C0AA675 */ jal func_802A99D4_4229D4
/* 197418 80268B38 0C0AA675 */ jal action_command_hammer_DrawHudElements
/* 19741C 80268B3C 00000000 */ nop
/* 197420 80268B40 0809A324 */ j L80268C90_197570
/* 197424 80268B44 00000000 */ nop

View File

@ -11,8 +11,8 @@ glabel jtbl_8029D760
glabel func_80268C9C
/* 19757C 80268C9C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 197580 80268CA0 AFB00010 */ sw $s0, 0x10($sp)
/* 197584 80268CA4 3C10802A */ lui $s0, %hi(D_8029FBE0)
/* 197588 80268CA8 2610FBE0 */ addiu $s0, $s0, %lo(D_8029FBE0)
/* 197584 80268CA4 3C10802A */ lui $s0, %hi(gActionCommandStatus)
/* 197588 80268CA8 2610FBE0 */ addiu $s0, $s0, %lo(gActionCommandStatus)
/* 19758C 80268CAC AFBF0014 */ sw $ra, 0x14($sp)
/* 197590 80268CB0 8603004A */ lh $v1, 0x4a($s0)
/* 197594 80268CB4 2C620018 */ sltiu $v0, $v1, 0x18
@ -29,7 +29,7 @@ glabel L80268CD4_1975B4
/* 1975BC 80268CDC 0809A390 */ j .L80268E40
/* 1975C0 80268CE0 3C05FFFF */ lui $a1, 0xffff
glabel L80268CE4_1975C4
/* 1975C4 80268CE4 0C0AA68C */ jal func_802A9A30_422A30
/* 1975C4 80268CE4 0C0AA68C */ jal action_command_hammer_FreeHudElements
/* 1975C8 80268CE8 00000000 */ nop
/* 1975CC 80268CEC 0809A390 */ j .L80268E40
/* 1975D0 80268CF0 3C05FFFF */ lui $a1, 0xffff

View File

@ -4,8 +4,8 @@
glabel func_80268E88
/* 197768 80268E88 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 19776C 80268E8C AFB00010 */ sw $s0, 0x10($sp)
/* 197770 80268E90 3C10802A */ lui $s0, %hi(D_8029FBE0)
/* 197774 80268E94 2610FBE0 */ addiu $s0, $s0, %lo(D_8029FBE0)
/* 197770 80268E90 3C10802A */ lui $s0, %hi(gActionCommandStatus)
/* 197774 80268E94 2610FBE0 */ addiu $s0, $s0, %lo(gActionCommandStatus)
/* 197778 80268E98 3C048027 */ lui $a0, %hi(func_80268938)
/* 19777C 80268E9C 24848938 */ addiu $a0, $a0, %lo(func_80268938)
/* 197780 80268EA0 3C058027 */ lui $a1, %hi(func_80268AF8)

View File

@ -4,8 +4,8 @@
glabel func_80269118
/* 1979F8 80269118 3C058011 */ lui $a1, %hi(gPlayerData)
/* 1979FC 8026911C 24A5F290 */ addiu $a1, $a1, %lo(gPlayerData)
/* 197A00 80269120 3C04802A */ lui $a0, %hi(D_8029FBE0)
/* 197A04 80269124 2484FBE0 */ addiu $a0, $a0, %lo(D_8029FBE0)
/* 197A00 80269120 3C04802A */ lui $a0, %hi(gActionCommandStatus)
/* 197A04 80269124 2484FBE0 */ addiu $a0, $a0, %lo(gActionCommandStatus)
/* 197A08 80269128 8082005E */ lb $v0, 0x5e($a0)
/* 197A0C 8026912C 1440000A */ bnez $v0, .L80269158
/* 197A10 80269130 0080302D */ daddu $a2, $a0, $zero

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80269160
/* 197A40 80269160 3C03802A */ lui $v1, %hi(D_8029FBE0)
/* 197A44 80269164 2463FBE0 */ addiu $v1, $v1, %lo(D_8029FBE0)
/* 197A40 80269160 3C03802A */ lui $v1, %hi(gActionCommandStatus)
/* 197A44 80269164 2463FBE0 */ addiu $v1, $v1, %lo(gActionCommandStatus)
/* 197A48 80269168 8062005E */ lb $v0, 0x5e($v1)
/* 197A4C 8026916C 3C048011 */ lui $a0, %hi(gPlayerData)
/* 197A50 80269170 2484F290 */ addiu $a0, $a0, %lo(gPlayerData)

View File

@ -7,8 +7,8 @@ glabel func_802694A4
/* 197D8C 802694AC AFB10014 */ sw $s1, 0x14($sp)
/* 197D90 802694B0 AFB00010 */ sw $s0, 0x10($sp)
/* 197D94 802694B4 8C82000C */ lw $v0, 0xc($a0)
/* 197D98 802694B8 3C10802A */ lui $s0, %hi(D_8029FBE0)
/* 197D9C 802694BC 2610FBE0 */ addiu $s0, $s0, %lo(D_8029FBE0)
/* 197D98 802694B8 3C10802A */ lui $s0, %hi(gActionCommandStatus)
/* 197D9C 802694BC 2610FBE0 */ addiu $s0, $s0, %lo(gActionCommandStatus)
/* 197DA0 802694C0 8C450000 */ lw $a1, ($v0)
/* 197DA4 802694C4 0C0B1EAF */ jal get_variable
/* 197DA8 802694C8 0200882D */ daddu $s1, $s0, $zero

View File

@ -14,8 +14,8 @@ glabel func_802A9000_425B50
/* 425B74 802A9024 A2420082 */ sb $v0, 0x82($s2)
/* 425B78 802A9028 3C028029 */ lui $v0, %hi(D_80294280)
/* 425B7C 802A902C 24424280 */ addiu $v0, $v0, %lo(D_80294280)
/* 425B80 802A9030 3C10802A */ lui $s0, %hi(D_8029FBE0)
/* 425B84 802A9034 2610FBE0 */ addiu $s0, $s0, %lo(D_8029FBE0)
/* 425B80 802A9030 3C10802A */ lui $s0, %hi(gActionCommandStatus)
/* 425B84 802A9034 2610FBE0 */ addiu $s0, $s0, %lo(gActionCommandStatus)
/* 425B88 802A9038 AE420434 */ sw $v0, 0x434($s2)
/* 425B8C 802A903C 24020007 */ addiu $v0, $zero, 7
/* 425B90 802A9040 A200005E */ sb $zero, 0x5e($s0)

View File

@ -9,8 +9,8 @@ glabel func_802A916C_425CBC
/* 425CCC 802A917C AFB10014 */ sw $s1, 0x14($sp)
/* 425CD0 802A9180 AFB00010 */ sw $s0, 0x10($sp)
/* 425CD4 802A9184 8E50000C */ lw $s0, 0xc($s2)
/* 425CD8 802A9188 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 425CDC 802A918C 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 425CD8 802A9188 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 425CDC 802A918C 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 425CE0 802A9190 A220005E */ sb $zero, 0x5e($s1)
/* 425CE4 802A9194 8E050000 */ lw $a1, ($s0)
/* 425CE8 802A9198 0C0B1EAF */ jal get_variable

View File

@ -4,8 +4,8 @@
glabel func_802A9228_425D78
/* 425D78 802A9228 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 425D7C 802A922C AFB10014 */ sw $s1, 0x14($sp)
/* 425D80 802A9230 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 425D84 802A9234 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 425D80 802A9230 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 425D84 802A9234 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 425D88 802A9238 AFBF0018 */ sw $ra, 0x18($sp)
/* 425D8C 802A923C AFB00010 */ sw $s0, 0x10($sp)
/* 425D90 802A9240 8623004C */ lh $v1, 0x4c($s1)

View File

@ -4,8 +4,8 @@
glabel func_802A94D8_426028
/* 426028 802A94D8 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 42602C 802A94DC AFB1001C */ sw $s1, 0x1c($sp)
/* 426030 802A94E0 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 426034 802A94E4 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 426030 802A94E0 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 426034 802A94E4 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 426038 802A94E8 AFBF0020 */ sw $ra, 0x20($sp)
/* 42603C 802A94EC AFB00018 */ sw $s0, 0x18($sp)
/* 426040 802A94F0 0C0511EA */ jal draw_hud_element_clipped

View File

@ -14,8 +14,8 @@ glabel func_802A9000_4273B0
/* 4273D4 802A9024 244242E0 */ addiu $v0, $v0, %lo(D_802942E0)
/* 4273D8 802A9028 AE020434 */ sw $v0, 0x434($s0)
/* 4273DC 802A902C 2402007F */ addiu $v0, $zero, 0x7f
/* 4273E0 802A9030 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 4273E4 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 4273E0 802A9030 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 4273E4 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 4273E8 802A9038 A2020086 */ sb $v0, 0x86($s0)
/* 4273EC 802A903C 82020083 */ lb $v0, 0x83($s0)
/* 4273F0 802A9040 10400044 */ beqz $v0, .L802A9154

View File

@ -6,8 +6,8 @@ glabel func_802A9170_427520
/* 427524 802A9174 AFB3001C */ sw $s3, 0x1c($sp)
/* 427528 802A9178 0080982D */ daddu $s3, $a0, $zero
/* 42752C 802A917C AFB10014 */ sw $s1, 0x14($sp)
/* 427530 802A9180 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 427534 802A9184 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 427530 802A9180 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 427534 802A9184 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 427538 802A9188 AFB20018 */ sw $s2, 0x18($sp)
/* 42753C 802A918C 3C12800E */ lui $s2, %hi(gBattleStatus)
/* 427540 802A9190 2652C070 */ addiu $s2, $s2, %lo(gBattleStatus)

View File

@ -4,8 +4,8 @@
glabel func_802A928C_42763C
/* 42763C 802A928C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 427640 802A9290 AFB10014 */ sw $s1, 0x14($sp)
/* 427644 802A9294 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 427648 802A9298 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 427644 802A9294 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 427648 802A9298 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 42764C 802A929C AFBF001C */ sw $ra, 0x1c($sp)
/* 427650 802A92A0 AFB20018 */ sw $s2, 0x18($sp)
/* 427654 802A92A4 AFB00010 */ sw $s0, 0x10($sp)

View File

@ -4,8 +4,8 @@
glabel func_802A955C_42790C
/* 42790C 802A955C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 427910 802A9560 AFB1001C */ sw $s1, 0x1c($sp)
/* 427914 802A9564 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 427918 802A9568 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 427914 802A9564 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 427918 802A9568 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 42791C 802A956C AFBF0020 */ sw $ra, 0x20($sp)
/* 427920 802A9570 AFB00018 */ sw $s0, 0x18($sp)
/* 427924 802A9574 0C0511EA */ jal draw_hud_element_clipped

View File

@ -23,8 +23,8 @@ glabel func_802A9000_428A70
/* 428AB8 802A9048 0200202D */ daddu $a0, $s0, $zero
/* 428ABC 802A904C 3C048011 */ lui $a0, %hi(D_80108B28)
/* 428AC0 802A9050 24848B28 */ addiu $a0, $a0, %lo(D_80108B28)
/* 428AC4 802A9054 3C10802A */ lui $s0, %hi(D_8029FBE0)
/* 428AC8 802A9058 2610FBE0 */ addiu $s0, $s0, %lo(D_8029FBE0)
/* 428AC4 802A9054 3C10802A */ lui $s0, %hi(gActionCommandStatus)
/* 428AC8 802A9058 2610FBE0 */ addiu $s0, $s0, %lo(gActionCommandStatus)
/* 428ACC 802A905C A602005A */ sh $v0, 0x5a($s0)
/* 428AD0 802A9060 2402000D */ addiu $v0, $zero, 0xd
/* 428AD4 802A9064 A602004A */ sh $v0, 0x4a($s0)

View File

@ -14,8 +14,8 @@ glabel func_802A9184_428BF4
/* 428C18 802A91A8 8E050000 */ lw $a1, ($s0)
/* 428C1C 802A91AC 0C0B1EAF */ jal get_variable
/* 428C20 802A91B0 26100004 */ addiu $s0, $s0, 4
/* 428C24 802A91B4 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 428C28 802A91B8 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 428C24 802A91B4 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 428C28 802A91B8 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 428C2C 802A91BC A622004E */ sh $v0, 0x4e($s1)
/* 428C30 802A91C0 8E050000 */ lw $a1, ($s0)
/* 428C34 802A91C4 26100004 */ addiu $s0, $s0, 4

View File

@ -4,8 +4,8 @@
glabel func_802A9278_428CE8
/* 428CE8 802A9278 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 428CEC 802A927C AFB10014 */ sw $s1, 0x14($sp)
/* 428CF0 802A9280 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 428CF4 802A9284 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 428CF0 802A9280 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 428CF4 802A9284 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 428CF8 802A9288 AFBF001C */ sw $ra, 0x1c($sp)
/* 428CFC 802A928C AFB20018 */ sw $s2, 0x18($sp)
/* 428D00 802A9290 AFB00010 */ sw $s0, 0x10($sp)

View File

@ -6,8 +6,8 @@ glabel func_802A96EC_42915C
/* 429160 802A96F0 8042C0F3 */ lb $v0, %lo(gBattleStatus+0x83)($v0)
/* 429164 802A96F4 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 429168 802A96F8 AFB1001C */ sw $s1, 0x1c($sp)
/* 42916C 802A96FC 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 429170 802A9700 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 42916C 802A96FC 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 429170 802A9700 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 429174 802A9704 AFBF0020 */ sw $ra, 0x20($sp)
/* 429178 802A9708 10400004 */ beqz $v0, .L802A971C
/* 42917C 802A970C AFB00018 */ sw $s0, 0x18($sp)

View File

@ -14,8 +14,8 @@ glabel func_802A9000_429320
/* 429344 802A9024 24424360 */ addiu $v0, $v0, %lo(D_80294360)
/* 429348 802A9028 AE020434 */ sw $v0, 0x434($s0)
/* 42934C 802A902C 2402007F */ addiu $v0, $zero, 0x7f
/* 429350 802A9030 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 429354 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 429350 802A9030 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 429354 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 429358 802A9038 A2020086 */ sb $v0, 0x86($s0)
/* 42935C 802A903C 82020083 */ lb $v0, 0x83($s0)
/* 429360 802A9040 10400046 */ beqz $v0, .L802A915C

View File

@ -6,8 +6,8 @@ glabel func_802A9178_429498
/* 42949C 802A917C AFB3001C */ sw $s3, 0x1c($sp)
/* 4294A0 802A9180 0080982D */ daddu $s3, $a0, $zero
/* 4294A4 802A9184 AFB10014 */ sw $s1, 0x14($sp)
/* 4294A8 802A9188 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 4294AC 802A918C 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 4294A8 802A9188 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 4294AC 802A918C 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 4294B0 802A9190 AFB20018 */ sw $s2, 0x18($sp)
/* 4294B4 802A9194 3C12800E */ lui $s2, %hi(gBattleStatus)
/* 4294B8 802A9198 2652C070 */ addiu $s2, $s2, %lo(gBattleStatus)

View File

@ -4,8 +4,8 @@
glabel func_802A9294_4295B4
/* 4295B4 802A9294 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 4295B8 802A9298 AFB10014 */ sw $s1, 0x14($sp)
/* 4295BC 802A929C 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 4295C0 802A92A0 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 4295BC 802A929C 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 4295C0 802A92A0 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 4295C4 802A92A4 AFB20018 */ sw $s2, 0x18($sp)
/* 4295C8 802A92A8 3C12800E */ lui $s2, %hi(gBattleStatus)
/* 4295CC 802A92AC 2652C070 */ addiu $s2, $s2, %lo(gBattleStatus)

View File

@ -4,8 +4,8 @@
glabel func_802A984C_429B6C
/* 429B6C 802A984C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 429B70 802A9850 AFB1001C */ sw $s1, 0x1c($sp)
/* 429B74 802A9854 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 429B78 802A9858 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 429B74 802A9854 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 429B78 802A9858 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 429B7C 802A985C AFBF0020 */ sw $ra, 0x20($sp)
/* 429B80 802A9860 AFB00018 */ sw $s0, 0x18($sp)
/* 429B84 802A9864 0C0511EA */ jal draw_hud_element_clipped

View File

@ -14,8 +14,8 @@ glabel func_802A9000_4282E0
/* 428304 802A9024 24424320 */ addiu $v0, $v0, %lo(D_80294320)
/* 428308 802A9028 AE020434 */ sw $v0, 0x434($s0)
/* 42830C 802A902C 2402007F */ addiu $v0, $zero, 0x7f
/* 428310 802A9030 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 428314 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 428310 802A9030 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 428314 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 428318 802A9038 A2020086 */ sb $v0, 0x86($s0)
/* 42831C 802A903C 82020083 */ lb $v0, 0x83($s0)
/* 428320 802A9040 10400056 */ beqz $v0, .L802A919C

View File

@ -6,8 +6,8 @@ glabel func_802A91B8_428498
/* 42849C 802A91BC AFB3001C */ sw $s3, 0x1c($sp)
/* 4284A0 802A91C0 0080982D */ daddu $s3, $a0, $zero
/* 4284A4 802A91C4 AFB10014 */ sw $s1, 0x14($sp)
/* 4284A8 802A91C8 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 4284AC 802A91CC 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 4284A8 802A91C8 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 4284AC 802A91CC 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 4284B0 802A91D0 AFB20018 */ sw $s2, 0x18($sp)
/* 4284B4 802A91D4 3C12800E */ lui $s2, %hi(gBattleStatus)
/* 4284B8 802A91D8 2652C070 */ addiu $s2, $s2, %lo(gBattleStatus)

View File

@ -4,8 +4,8 @@
glabel func_802A92D4_4285B4
/* 4285B4 802A92D4 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 4285B8 802A92D8 AFB10014 */ sw $s1, 0x14($sp)
/* 4285BC 802A92DC 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 4285C0 802A92E0 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 4285BC 802A92DC 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 4285C0 802A92E0 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 4285C4 802A92E4 AFBF0018 */ sw $ra, 0x18($sp)
/* 4285C8 802A92E8 AFB00010 */ sw $s0, 0x10($sp)
/* 4285CC 802A92EC 8623004C */ lh $v1, 0x4c($s1)

View File

@ -4,8 +4,8 @@
glabel func_802A9664_428944
/* 428944 802A9664 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 428948 802A9668 AFB1001C */ sw $s1, 0x1c($sp)
/* 42894C 802A966C 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 428950 802A9670 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 42894C 802A966C 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 428950 802A9670 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 428954 802A9674 AFBF0020 */ sw $ra, 0x20($sp)
/* 428958 802A9678 AFB00018 */ sw $s0, 0x18($sp)
/* 42895C 802A967C 0C0511EA */ jal draw_hud_element_clipped

View File

@ -4,8 +4,8 @@
glabel func_802A9708_4289E8
/* 4289E8 802A9708 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 4289EC 802A970C AFB00010 */ sw $s0, 0x10($sp)
/* 4289F0 802A9710 3C10802A */ lui $s0, %hi(D_8029FBE0)
/* 4289F4 802A9714 2610FBE0 */ addiu $s0, $s0, %lo(D_8029FBE0)
/* 4289F0 802A9710 3C10802A */ lui $s0, %hi(gActionCommandStatus)
/* 4289F4 802A9714 2610FBE0 */ addiu $s0, $s0, %lo(gActionCommandStatus)
/* 4289F8 802A9718 AFBF0014 */ sw $ra, 0x14($sp)
/* 4289FC 802A971C 0C05123D */ jal free_hud_element
/* 428A00 802A9720 8E040004 */ lw $a0, 4($s0)

View File

@ -14,8 +14,8 @@ glabel func_802A9000_427A70
/* 427A94 802A9024 24424300 */ addiu $v0, $v0, %lo(D_80294300)
/* 427A98 802A9028 AE020434 */ sw $v0, 0x434($s0)
/* 427A9C 802A902C 2402007F */ addiu $v0, $zero, 0x7f
/* 427AA0 802A9030 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 427AA4 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 427AA0 802A9030 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 427AA4 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 427AA8 802A9038 A2020086 */ sb $v0, 0x86($s0)
/* 427AAC 802A903C 82020083 */ lb $v0, 0x83($s0)
/* 427AB0 802A9040 10400044 */ beqz $v0, .L802A9154

View File

@ -6,8 +6,8 @@ glabel func_802A9170_427BE0
/* 427BE4 802A9174 AFB3001C */ sw $s3, 0x1c($sp)
/* 427BE8 802A9178 0080982D */ daddu $s3, $a0, $zero
/* 427BEC 802A917C AFB10014 */ sw $s1, 0x14($sp)
/* 427BF0 802A9180 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 427BF4 802A9184 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 427BF0 802A9180 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 427BF4 802A9184 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 427BF8 802A9188 AFB20018 */ sw $s2, 0x18($sp)
/* 427BFC 802A918C 3C12800E */ lui $s2, %hi(gBattleStatus)
/* 427C00 802A9190 2652C070 */ addiu $s2, $s2, %lo(gBattleStatus)

View File

@ -4,8 +4,8 @@
glabel func_802A928C_427CFC
/* 427CFC 802A928C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 427D00 802A9290 AFB10014 */ sw $s1, 0x14($sp)
/* 427D04 802A9294 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 427D08 802A9298 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 427D04 802A9294 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 427D08 802A9298 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 427D0C 802A929C AFBF001C */ sw $ra, 0x1c($sp)
/* 427D10 802A92A0 AFB20018 */ sw $s2, 0x18($sp)
/* 427D14 802A92A4 AFB00010 */ sw $s0, 0x10($sp)

View File

@ -4,8 +4,8 @@
glabel func_802A96EC_42815C
/* 42815C 802A96EC 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 428160 802A96F0 AFB1001C */ sw $s1, 0x1c($sp)
/* 428164 802A96F4 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 428168 802A96F8 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 428164 802A96F4 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 428168 802A96F8 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 42816C 802A96FC AFBF0020 */ sw $ra, 0x20($sp)
/* 428170 802A9700 AFB00018 */ sw $s0, 0x18($sp)
/* 428174 802A9704 0C0511EA */ jal draw_hud_element_clipped

View File

@ -12,8 +12,8 @@ glabel func_802A9000_4233F0
/* 42340C 802A901C AFB10014 */ sw $s1, 0x14($sp)
/* 423410 802A9020 AE020434 */ sw $v0, 0x434($s0)
/* 423414 802A9024 2402007F */ addiu $v0, $zero, 0x7f
/* 423418 802A9028 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 42341C 802A902C 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 423418 802A9028 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 42341C 802A902C 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 423420 802A9030 A2020086 */ sb $v0, 0x86($s0)
/* 423424 802A9034 82020083 */ lb $v0, 0x83($s0)
/* 423428 802A9038 0200182D */ daddu $v1, $s0, $zero

View File

@ -6,8 +6,8 @@ glabel func_802A91B0_4235A0
/* 4235A4 802A91B4 AFB20018 */ sw $s2, 0x18($sp)
/* 4235A8 802A91B8 0080902D */ daddu $s2, $a0, $zero
/* 4235AC 802A91BC AFB10014 */ sw $s1, 0x14($sp)
/* 4235B0 802A91C0 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 4235B4 802A91C4 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 4235B0 802A91C0 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 4235B4 802A91C4 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 4235B8 802A91C8 AFB3001C */ sw $s3, 0x1c($sp)
/* 4235BC 802A91CC 3C13800E */ lui $s3, %hi(gBattleStatus)
/* 4235C0 802A91D0 2673C070 */ addiu $s3, $s3, %lo(gBattleStatus)

View File

@ -4,8 +4,8 @@
glabel func_802A92DC_4236CC
/* 4236CC 802A92DC 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 4236D0 802A92E0 AFB10014 */ sw $s1, 0x14($sp)
/* 4236D4 802A92E4 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 4236D8 802A92E8 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 4236D4 802A92E4 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 4236D8 802A92E8 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 4236DC 802A92EC AFBF0018 */ sw $ra, 0x18($sp)
/* 4236E0 802A92F0 AFB00010 */ sw $s0, 0x10($sp)
/* 4236E4 802A92F4 8623004C */ lh $v1, 0x4c($s1)

View File

@ -4,8 +4,8 @@
glabel func_802A96B8_423AA8
/* 423AA8 802A96B8 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 423AAC 802A96BC AFB00018 */ sw $s0, 0x18($sp)
/* 423AB0 802A96C0 3C10802A */ lui $s0, %hi(D_8029FBE0)
/* 423AB4 802A96C4 2610FBE0 */ addiu $s0, $s0, %lo(D_8029FBE0)
/* 423AB0 802A96C0 3C10802A */ lui $s0, %hi(gActionCommandStatus)
/* 423AB4 802A96C4 2610FBE0 */ addiu $s0, $s0, %lo(gActionCommandStatus)
/* 423AB8 802A96C8 AFBF0020 */ sw $ra, 0x20($sp)
/* 423ABC 802A96CC AFB1001C */ sw $s1, 0x1c($sp)
/* 423AC0 802A96D0 82020080 */ lb $v0, 0x80($s0)

View File

@ -4,8 +4,8 @@
glabel func_802A97FC_423BEC
/* 423BEC 802A97FC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 423BF0 802A9800 AFB00010 */ sw $s0, 0x10($sp)
/* 423BF4 802A9804 3C10802A */ lui $s0, %hi(D_8029FBE0)
/* 423BF8 802A9808 2610FBE0 */ addiu $s0, $s0, %lo(D_8029FBE0)
/* 423BF4 802A9804 3C10802A */ lui $s0, %hi(gActionCommandStatus)
/* 423BF8 802A9808 2610FBE0 */ addiu $s0, $s0, %lo(gActionCommandStatus)
/* 423BFC 802A980C AFBF0014 */ sw $ra, 0x14($sp)
/* 423C00 802A9810 0C05123D */ jal free_hud_element
/* 423C04 802A9814 8E040004 */ lw $a0, 4($s0)

View File

@ -14,8 +14,8 @@ glabel func_802A9000_426170
/* 426194 802A9024 244242A0 */ addiu $v0, $v0, %lo(D_802942A0)
/* 426198 802A9028 AE020434 */ sw $v0, 0x434($s0)
/* 42619C 802A902C 2402007F */ addiu $v0, $zero, 0x7f
/* 4261A0 802A9030 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 4261A4 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 4261A0 802A9030 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 4261A4 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 4261A8 802A9038 A2020086 */ sb $v0, 0x86($s0)
/* 4261AC 802A903C 82020083 */ lb $v0, 0x83($s0)
/* 4261B0 802A9040 10400044 */ beqz $v0, .L802A9154

View File

@ -6,8 +6,8 @@ glabel func_802A9170_4262E0
/* 4262E4 802A9174 AFB3001C */ sw $s3, 0x1c($sp)
/* 4262E8 802A9178 0080982D */ daddu $s3, $a0, $zero
/* 4262EC 802A917C AFB10014 */ sw $s1, 0x14($sp)
/* 4262F0 802A9180 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 4262F4 802A9184 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 4262F0 802A9180 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 4262F4 802A9184 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 4262F8 802A9188 AFB20018 */ sw $s2, 0x18($sp)
/* 4262FC 802A918C 3C12800E */ lui $s2, %hi(gBattleStatus)
/* 426300 802A9190 2652C070 */ addiu $s2, $s2, %lo(gBattleStatus)

View File

@ -4,8 +4,8 @@
glabel func_802A928C_4263FC
/* 4263FC 802A928C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 426400 802A9290 AFB10014 */ sw $s1, 0x14($sp)
/* 426404 802A9294 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 426408 802A9298 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 426404 802A9294 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 426408 802A9298 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 42640C 802A929C AFBF001C */ sw $ra, 0x1c($sp)
/* 426410 802A92A0 AFB20018 */ sw $s2, 0x18($sp)
/* 426414 802A92A4 AFB00010 */ sw $s0, 0x10($sp)

View File

@ -4,8 +4,8 @@
glabel func_802A96DC_42684C
/* 42684C 802A96DC 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 426850 802A96E0 AFB1001C */ sw $s1, 0x1c($sp)
/* 426854 802A96E4 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 426858 802A96E8 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 426854 802A96E4 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 426858 802A96E8 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 42685C 802A96EC AFBF0020 */ sw $ra, 0x20($sp)
/* 426860 802A96F0 AFB00018 */ sw $s0, 0x18($sp)
/* 426864 802A96F4 0C0511EA */ jal draw_hud_element_clipped

View File

@ -14,8 +14,8 @@ glabel func_802A9000_4269D0
/* 4269F4 802A9024 244242C0 */ addiu $v0, $v0, %lo(D_802942C0)
/* 4269F8 802A9028 AE020434 */ sw $v0, 0x434($s0)
/* 4269FC 802A902C 2402007F */ addiu $v0, $zero, 0x7f
/* 426A00 802A9030 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 426A04 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 426A00 802A9030 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 426A04 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 426A08 802A9038 A2020086 */ sb $v0, 0x86($s0)
/* 426A0C 802A903C 82020083 */ lb $v0, 0x83($s0)
/* 426A10 802A9040 10400046 */ beqz $v0, .L802A915C

View File

@ -6,8 +6,8 @@ glabel func_802A9178_426B48
/* 426B4C 802A917C AFB3001C */ sw $s3, 0x1c($sp)
/* 426B50 802A9180 0080982D */ daddu $s3, $a0, $zero
/* 426B54 802A9184 AFB10014 */ sw $s1, 0x14($sp)
/* 426B58 802A9188 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 426B5C 802A918C 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 426B58 802A9188 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 426B5C 802A918C 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 426B60 802A9190 AFB20018 */ sw $s2, 0x18($sp)
/* 426B64 802A9194 3C12800E */ lui $s2, %hi(gBattleStatus)
/* 426B68 802A9198 2652C070 */ addiu $s2, $s2, %lo(gBattleStatus)

View File

@ -4,8 +4,8 @@
glabel func_802A9294_426C64
/* 426C64 802A9294 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 426C68 802A9298 AFB10014 */ sw $s1, 0x14($sp)
/* 426C6C 802A929C 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 426C70 802A92A0 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 426C6C 802A929C 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 426C70 802A92A0 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 426C74 802A92A4 AFB20018 */ sw $s2, 0x18($sp)
/* 426C78 802A92A8 3C12800E */ lui $s2, %hi(gBattleStatus)
/* 426C7C 802A92AC 2652C070 */ addiu $s2, $s2, %lo(gBattleStatus)

View File

@ -4,8 +4,8 @@
glabel func_802A9834_427204
/* 427204 802A9834 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 427208 802A9838 AFB1001C */ sw $s1, 0x1c($sp)
/* 42720C 802A983C 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 427210 802A9840 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 42720C 802A983C 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 427210 802A9840 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 427214 802A9844 AFBF0020 */ sw $ra, 0x20($sp)
/* 427218 802A9848 AFB00018 */ sw $s0, 0x18($sp)
/* 42721C 802A984C 0C0511EA */ jal draw_hud_element_clipped

View File

@ -22,8 +22,8 @@ glabel func_802A9000_422AD0
/* 422B14 802A9044 0C0B1EAF */ jal get_variable
/* 422B18 802A9048 0200202D */ daddu $a0, $s0, $zero
/* 422B1C 802A904C 24040032 */ addiu $a0, $zero, 0x32
/* 422B20 802A9050 3C10802A */ lui $s0, %hi(D_8029FBE0)
/* 422B24 802A9054 2610FBE0 */ addiu $s0, $s0, %lo(D_8029FBE0)
/* 422B20 802A9050 3C10802A */ lui $s0, %hi(gActionCommandStatus)
/* 422B24 802A9054 2610FBE0 */ addiu $s0, $s0, %lo(gActionCommandStatus)
/* 422B28 802A9058 24030003 */ addiu $v1, $zero, 3
/* 422B2C 802A905C A602005A */ sh $v0, 0x5a($s0)
/* 422B30 802A9060 00021400 */ sll $v0, $v0, 0x10

View File

@ -14,8 +14,8 @@ glabel func_802A92A0_422D70
/* 422D94 802A92C4 8E050000 */ lw $a1, ($s0)
/* 422D98 802A92C8 0C0B1EAF */ jal get_variable
/* 422D9C 802A92CC 26100004 */ addiu $s0, $s0, 4
/* 422DA0 802A92D0 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 422DA4 802A92D4 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 422DA0 802A92D0 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 422DA4 802A92D4 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 422DA8 802A92D8 A622004E */ sh $v0, 0x4e($s1)
/* 422DAC 802A92DC 8E050000 */ lw $a1, ($s0)
/* 422DB0 802A92E0 26100004 */ addiu $s0, $s0, 4

View File

@ -4,8 +4,8 @@
glabel func_802A9378_422E48
/* 422E48 802A9378 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 422E4C 802A937C AFB10014 */ sw $s1, 0x14($sp)
/* 422E50 802A9380 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 422E54 802A9384 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 422E50 802A9380 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 422E54 802A9384 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 422E58 802A9388 AFBF001C */ sw $ra, 0x1c($sp)
/* 422E5C 802A938C AFB20018 */ sw $s2, 0x18($sp)
/* 422E60 802A9390 AFB00010 */ sw $s0, 0x10($sp)

View File

@ -7,8 +7,8 @@ glabel func_802A96F4_4231C4
/* 4231CC 802A96FC 3C1251EB */ lui $s2, 0x51eb
/* 4231D0 802A9700 3652851F */ ori $s2, $s2, 0x851f
/* 4231D4 802A9704 AFB1001C */ sw $s1, 0x1c($sp)
/* 4231D8 802A9708 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 4231DC 802A970C 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 4231D8 802A9708 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 4231DC 802A970C 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 4231E0 802A9710 AFBF0024 */ sw $ra, 0x24($sp)
/* 4231E4 802A9714 AFB00018 */ sw $s0, 0x18($sp)
/* 4231E8 802A9718 86230046 */ lh $v1, 0x46($s1)

View File

@ -4,8 +4,8 @@
glabel func_802A9894_423364
/* 423364 802A9894 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 423368 802A9898 AFB00010 */ sw $s0, 0x10($sp)
/* 42336C 802A989C 3C10802A */ lui $s0, %hi(D_8029FBE0)
/* 423370 802A98A0 2610FBE0 */ addiu $s0, $s0, %lo(D_8029FBE0)
/* 42336C 802A989C 3C10802A */ lui $s0, %hi(gActionCommandStatus)
/* 423370 802A98A0 2610FBE0 */ addiu $s0, $s0, %lo(gActionCommandStatus)
/* 423374 802A98A4 AFBF0014 */ sw $ra, 0x14($sp)
/* 423378 802A98A8 0C05123D */ jal free_hud_element
/* 42337C 802A98AC 8E040004 */ lw $a0, 4($s0)

View File

@ -1,156 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A9000_422000
/* 422000 802A9000 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 422004 802A9004 3C03800E */ lui $v1, %hi(gBattleStatus)
/* 422008 802A9008 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
/* 42200C 802A900C 24020001 */ addiu $v0, $zero, 1
/* 422010 802A9010 AFBF0018 */ sw $ra, 0x18($sp)
/* 422014 802A9014 AFB10014 */ sw $s1, 0x14($sp)
/* 422018 802A9018 AFB00010 */ sw $s0, 0x10($sp)
/* 42201C 802A901C A0620082 */ sb $v0, 0x82($v1)
/* 422020 802A9020 3C028029 */ lui $v0, %hi(D_802941E0)
/* 422024 802A9024 244241E0 */ addiu $v0, $v0, %lo(D_802941E0)
/* 422028 802A9028 AC620434 */ sw $v0, 0x434($v1)
/* 42202C 802A902C 80620083 */ lb $v0, 0x83($v1)
/* 422030 802A9030 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 422034 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 422038 802A9038 1040007F */ beqz $v0, .L802A9238
/* 42203C 802A903C A0600086 */ sb $zero, 0x86($v1)
/* 422040 802A9040 0C09A216 */ jal func_80268858
/* 422044 802A9044 00000000 */ nop
/* 422048 802A9048 3C048029 */ lui $a0, %hi(D_802922F0)
/* 42204C 802A904C 248422F0 */ addiu $a0, $a0, %lo(D_802922F0)
/* 422050 802A9050 24020002 */ addiu $v0, $zero, 2
/* 422054 802A9054 A622004A */ sh $v0, 0x4a($s1)
/* 422058 802A9058 2402FFD0 */ addiu $v0, $zero, -0x30
/* 42205C 802A905C A6220056 */ sh $v0, 0x56($s1)
/* 422060 802A9060 24020060 */ addiu $v0, $zero, 0x60
/* 422064 802A9064 A620004C */ sh $zero, 0x4c($s1)
/* 422068 802A9068 A2200060 */ sb $zero, 0x60($s1)
/* 42206C 802A906C 0C050529 */ jal create_hud_element
/* 422070 802A9070 A6220058 */ sh $v0, 0x58($s1)
/* 422074 802A9074 0040802D */ daddu $s0, $v0, $zero
/* 422078 802A9078 0200202D */ daddu $a0, $s0, $zero
/* 42207C 802A907C 24050082 */ addiu $a1, $zero, 0x82
/* 422080 802A9080 0C051280 */ jal set_hud_element_flags
/* 422084 802A9084 AE300004 */ sw $s0, 4($s1)
/* 422088 802A9088 86250056 */ lh $a1, 0x56($s1)
/* 42208C 802A908C 86260058 */ lh $a2, 0x58($s1)
/* 422090 802A9090 0C051261 */ jal set_hud_element_render_pos
/* 422094 802A9094 0200202D */ daddu $a0, $s0, $zero
/* 422098 802A9098 0200202D */ daddu $a0, $s0, $zero
/* 42209C 802A909C 0C051277 */ jal set_hud_element_render_depth
/* 4220A0 802A90A0 2405000A */ addiu $a1, $zero, 0xa
/* 4220A4 802A90A4 3C048029 */ lui $a0, %hi(D_8029275C)
/* 4220A8 802A90A8 2484275C */ addiu $a0, $a0, %lo(D_8029275C)
/* 4220AC 802A90AC 0C050529 */ jal create_hud_element
/* 4220B0 802A90B0 00000000 */ nop
/* 4220B4 802A90B4 0040802D */ daddu $s0, $v0, $zero
/* 4220B8 802A90B8 0200202D */ daddu $a0, $s0, $zero
/* 4220BC 802A90BC 24050082 */ addiu $a1, $zero, 0x82
/* 4220C0 802A90C0 0C051280 */ jal set_hud_element_flags
/* 4220C4 802A90C4 AE300008 */ sw $s0, 8($s1)
/* 4220C8 802A90C8 86250056 */ lh $a1, 0x56($s1)
/* 4220CC 802A90CC 86260058 */ lh $a2, 0x58($s1)
/* 4220D0 802A90D0 0C051261 */ jal set_hud_element_render_pos
/* 4220D4 802A90D4 0200202D */ daddu $a0, $s0, $zero
/* 4220D8 802A90D8 0200202D */ daddu $a0, $s0, $zero
/* 4220DC 802A90DC 0C051277 */ jal set_hud_element_render_depth
/* 4220E0 802A90E0 0000282D */ daddu $a1, $zero, $zero
/* 4220E4 802A90E4 3C048029 */ lui $a0, %hi(D_802927F0)
/* 4220E8 802A90E8 248427F0 */ addiu $a0, $a0, %lo(D_802927F0)
/* 4220EC 802A90EC 0C050529 */ jal create_hud_element
/* 4220F0 802A90F0 00000000 */ nop
/* 4220F4 802A90F4 0040802D */ daddu $s0, $v0, $zero
/* 4220F8 802A90F8 0200202D */ daddu $a0, $s0, $zero
/* 4220FC 802A90FC 24050082 */ addiu $a1, $zero, 0x82
/* 422100 802A9100 0C051280 */ jal set_hud_element_flags
/* 422104 802A9104 AE30000C */ sw $s0, 0xc($s1)
/* 422108 802A9108 86250056 */ lh $a1, 0x56($s1)
/* 42210C 802A910C 86260058 */ lh $a2, 0x58($s1)
/* 422110 802A9110 0C051261 */ jal set_hud_element_render_pos
/* 422114 802A9114 0200202D */ daddu $a0, $s0, $zero
/* 422118 802A9118 0200202D */ daddu $a0, $s0, $zero
/* 42211C 802A911C 0C051277 */ jal set_hud_element_render_depth
/* 422120 802A9120 0000282D */ daddu $a1, $zero, $zero
/* 422124 802A9124 3C048029 */ lui $a0, %hi(D_80292848)
/* 422128 802A9128 24842848 */ addiu $a0, $a0, %lo(D_80292848)
/* 42212C 802A912C 0C050529 */ jal create_hud_element
/* 422130 802A9130 00000000 */ nop
/* 422134 802A9134 0040802D */ daddu $s0, $v0, $zero
/* 422138 802A9138 0200202D */ daddu $a0, $s0, $zero
/* 42213C 802A913C 24050082 */ addiu $a1, $zero, 0x82
/* 422140 802A9140 0C051280 */ jal set_hud_element_flags
/* 422144 802A9144 AE300010 */ sw $s0, 0x10($s1)
/* 422148 802A9148 86250056 */ lh $a1, 0x56($s1)
/* 42214C 802A914C 86260058 */ lh $a2, 0x58($s1)
/* 422150 802A9150 0C051261 */ jal set_hud_element_render_pos
/* 422154 802A9154 0200202D */ daddu $a0, $s0, $zero
/* 422158 802A9158 0200202D */ daddu $a0, $s0, $zero
/* 42215C 802A915C 0C051277 */ jal set_hud_element_render_depth
/* 422160 802A9160 0000282D */ daddu $a1, $zero, $zero
/* 422164 802A9164 3C048029 */ lui $a0, %hi(D_802928A0)
/* 422168 802A9168 248428A0 */ addiu $a0, $a0, %lo(D_802928A0)
/* 42216C 802A916C 0C050529 */ jal create_hud_element
/* 422170 802A9170 00000000 */ nop
/* 422174 802A9174 0040802D */ daddu $s0, $v0, $zero
/* 422178 802A9178 0200202D */ daddu $a0, $s0, $zero
/* 42217C 802A917C 24050082 */ addiu $a1, $zero, 0x82
/* 422180 802A9180 0C051280 */ jal set_hud_element_flags
/* 422184 802A9184 AE300014 */ sw $s0, 0x14($s1)
/* 422188 802A9188 86250056 */ lh $a1, 0x56($s1)
/* 42218C 802A918C 86260058 */ lh $a2, 0x58($s1)
/* 422190 802A9190 0C051261 */ jal set_hud_element_render_pos
/* 422194 802A9194 0200202D */ daddu $a0, $s0, $zero
/* 422198 802A9198 0200202D */ daddu $a0, $s0, $zero
/* 42219C 802A919C 0C051277 */ jal set_hud_element_render_depth
/* 4221A0 802A91A0 0000282D */ daddu $a1, $zero, $zero
/* 4221A4 802A91A4 3C048011 */ lui $a0, %hi(D_80108E48)
/* 4221A8 802A91A8 24848E48 */ addiu $a0, $a0, %lo(D_80108E48)
/* 4221AC 802A91AC 0C050529 */ jal create_hud_element
/* 4221B0 802A91B0 00000000 */ nop
/* 4221B4 802A91B4 0040802D */ daddu $s0, $v0, $zero
/* 4221B8 802A91B8 0200202D */ daddu $a0, $s0, $zero
/* 4221BC 802A91BC 24050082 */ addiu $a1, $zero, 0x82
/* 4221C0 802A91C0 0C051280 */ jal set_hud_element_flags
/* 4221C4 802A91C4 AE300018 */ sw $s0, 0x18($s1)
/* 4221C8 802A91C8 86250056 */ lh $a1, 0x56($s1)
/* 4221CC 802A91CC 86260058 */ lh $a2, 0x58($s1)
/* 4221D0 802A91D0 0C051261 */ jal set_hud_element_render_pos
/* 4221D4 802A91D4 0200202D */ daddu $a0, $s0, $zero
/* 4221D8 802A91D8 0200202D */ daddu $a0, $s0, $zero
/* 4221DC 802A91DC 0C051277 */ jal set_hud_element_render_depth
/* 4221E0 802A91E0 0000282D */ daddu $a1, $zero, $zero
/* 4221E4 802A91E4 3C048029 */ lui $a0, %hi(D_80292A2C)
/* 4221E8 802A91E8 24842A2C */ addiu $a0, $a0, %lo(D_80292A2C)
/* 4221EC 802A91EC 0C050529 */ jal create_hud_element
/* 4221F0 802A91F0 00000000 */ nop
/* 4221F4 802A91F4 0040802D */ daddu $s0, $v0, $zero
/* 4221F8 802A91F8 0200202D */ daddu $a0, $s0, $zero
/* 4221FC 802A91FC 24050082 */ addiu $a1, $zero, 0x82
/* 422200 802A9200 0C051280 */ jal set_hud_element_flags
/* 422204 802A9204 AE30001C */ sw $s0, 0x1c($s1)
/* 422208 802A9208 86250056 */ lh $a1, 0x56($s1)
/* 42220C 802A920C 86260058 */ lh $a2, 0x58($s1)
/* 422210 802A9210 0C051261 */ jal set_hud_element_render_pos
/* 422214 802A9214 0200202D */ daddu $a0, $s0, $zero
/* 422218 802A9218 0200202D */ daddu $a0, $s0, $zero
/* 42221C 802A921C 0C051277 */ jal set_hud_element_render_depth
/* 422220 802A9220 0000282D */ daddu $a1, $zero, $zero
/* 422224 802A9224 0200202D */ daddu $a0, $s0, $zero
/* 422228 802A9228 0C0513AC */ jal set_hud_element_alpha
/* 42222C 802A922C 240500FF */ addiu $a1, $zero, 0xff
/* 422230 802A9230 080AA491 */ j .L802A9244
/* 422234 802A9234 24020002 */ addiu $v0, $zero, 2
.L802A9238:
/* 422238 802A9238 24020002 */ addiu $v0, $zero, 2
/* 42223C 802A923C A0600081 */ sb $zero, 0x81($v1)
/* 422240 802A9240 A0600084 */ sb $zero, 0x84($v1)
.L802A9244:
/* 422244 802A9244 8FBF0018 */ lw $ra, 0x18($sp)
/* 422248 802A9248 8FB10014 */ lw $s1, 0x14($sp)
/* 42224C 802A924C 8FB00010 */ lw $s0, 0x10($sp)
/* 422250 802A9250 03E00008 */ jr $ra
/* 422254 802A9254 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,76 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A9258_422258
/* 422258 802A9258 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 42225C 802A925C AFB20018 */ sw $s2, 0x18($sp)
/* 422260 802A9260 0080902D */ daddu $s2, $a0, $zero
/* 422264 802A9264 AFB10014 */ sw $s1, 0x14($sp)
/* 422268 802A9268 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 42226C 802A926C 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 422270 802A9270 AFB40020 */ sw $s4, 0x20($sp)
/* 422274 802A9274 0220A02D */ daddu $s4, $s1, $zero
/* 422278 802A9278 3C03800E */ lui $v1, %hi(gBattleStatus)
/* 42227C 802A927C 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
/* 422280 802A9280 AFB3001C */ sw $s3, 0x1c($sp)
/* 422284 802A9284 AFBF0024 */ sw $ra, 0x24($sp)
/* 422288 802A9288 AFB00010 */ sw $s0, 0x10($sp)
/* 42228C 802A928C 80620083 */ lb $v0, 0x83($v1)
/* 422290 802A9290 8E50000C */ lw $s0, 0xc($s2)
/* 422294 802A9294 14400005 */ bnez $v0, .L802A92AC
/* 422298 802A9298 0060982D */ daddu $s3, $v1, $zero
/* 42229C 802A929C 24020002 */ addiu $v0, $zero, 2
/* 4222A0 802A92A0 A0600081 */ sb $zero, 0x81($v1)
/* 4222A4 802A92A4 080AA4D3 */ j .L802A934C
/* 4222A8 802A92A8 A0600084 */ sb $zero, 0x84($v1)
.L802A92AC:
/* 4222AC 802A92AC 0C09A216 */ jal func_80268858
/* 4222B0 802A92B0 00000000 */ nop
/* 4222B4 802A92B4 8E050000 */ lw $a1, ($s0)
/* 4222B8 802A92B8 26100004 */ addiu $s0, $s0, 4
/* 4222BC 802A92BC 0C0B1EAF */ jal get_variable
/* 4222C0 802A92C0 0240202D */ daddu $a0, $s2, $zero
/* 4222C4 802A92C4 A622004E */ sh $v0, 0x4e($s1)
/* 4222C8 802A92C8 8E050000 */ lw $a1, ($s0)
/* 4222CC 802A92CC 26100004 */ addiu $s0, $s0, 4
/* 4222D0 802A92D0 0C0B1EAF */ jal get_variable
/* 4222D4 802A92D4 0240202D */ daddu $a0, $s2, $zero
/* 4222D8 802A92D8 A6220052 */ sh $v0, 0x52($s1)
/* 4222DC 802A92DC 8E050000 */ lw $a1, ($s0)
/* 4222E0 802A92E0 0C0B1EAF */ jal get_variable
/* 4222E4 802A92E4 0240202D */ daddu $a0, $s2, $zero
/* 4222E8 802A92E8 00022400 */ sll $a0, $v0, 0x10
/* 4222EC 802A92EC 00042403 */ sra $a0, $a0, 0x10
/* 4222F0 802A92F0 0C09A089 */ jal func_80268224
/* 4222F4 802A92F4 A6220050 */ sh $v0, 0x50($s1)
/* 4222F8 802A92F8 8623004E */ lh $v1, 0x4e($s1)
/* 4222FC 802A92FC A6220050 */ sh $v0, 0x50($s1)
/* 422300 802A9300 24020001 */ addiu $v0, $zero, 1
/* 422304 802A9304 A2200060 */ sb $zero, 0x60($s1)
/* 422308 802A9308 04610003 */ bgez $v1, .L802A9318
/* 42230C 802A930C A2220062 */ sb $v0, 0x62($s1)
/* 422310 802A9310 A620004E */ sh $zero, 0x4e($s1)
/* 422314 802A9314 A2200062 */ sb $zero, 0x62($s1)
.L802A9318:
/* 422318 802A9318 3C02FFFF */ lui $v0, 0xffff
/* 42231C 802A931C 34427FFF */ ori $v0, $v0, 0x7fff
/* 422320 802A9320 A280005F */ sb $zero, 0x5f($s4)
/* 422324 802A9324 8E630000 */ lw $v1, ($s3)
/* 422328 802A9328 2404000A */ addiu $a0, $zero, 0xa
/* 42232C 802A932C A2600081 */ sb $zero, 0x81($s3)
/* 422330 802A9330 A2600084 */ sb $zero, 0x84($s3)
/* 422334 802A9334 A2600086 */ sb $zero, 0x86($s3)
/* 422338 802A9338 A684004C */ sh $a0, 0x4c($s4)
/* 42233C 802A933C 00621824 */ and $v1, $v1, $v0
/* 422340 802A9340 0C09A446 */ jal func_80269118
/* 422344 802A9344 AE630000 */ sw $v1, ($s3)
/* 422348 802A9348 24020002 */ addiu $v0, $zero, 2
.L802A934C:
/* 42234C 802A934C 8FBF0024 */ lw $ra, 0x24($sp)
/* 422350 802A9350 8FB40020 */ lw $s4, 0x20($sp)
/* 422354 802A9354 8FB3001C */ lw $s3, 0x1c($sp)
/* 422358 802A9358 8FB20018 */ lw $s2, 0x18($sp)
/* 42235C 802A935C 8FB10014 */ lw $s1, 0x14($sp)
/* 422360 802A9360 8FB00010 */ lw $s0, 0x10($sp)
/* 422364 802A9364 03E00008 */ jr $ra
/* 422368 802A9368 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -4,8 +4,8 @@
glabel func_802A936C_42236C
/* 42236C 802A936C 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 422370 802A9370 AFB10014 */ sw $s1, 0x14($sp)
/* 422374 802A9374 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 422378 802A9378 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 422374 802A9374 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 422378 802A9378 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 42237C 802A937C AFBF001C */ sw $ra, 0x1c($sp)
/* 422380 802A9380 AFB20018 */ sw $s2, 0x18($sp)
/* 422384 802A9384 AFB00010 */ sw $s0, 0x10($sp)

View File

@ -1,27 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A99D4_4229D4
/* 4229D4 802A99D4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 4229D8 802A99D8 AFB00010 */ sw $s0, 0x10($sp)
/* 4229DC 802A99DC 3C10802A */ lui $s0, %hi(D_8029FBE0)
/* 4229E0 802A99E0 2610FBE0 */ addiu $s0, $s0, %lo(D_8029FBE0)
/* 4229E4 802A99E4 AFBF0014 */ sw $ra, 0x14($sp)
/* 4229E8 802A99E8 0C0511EA */ jal draw_hud_element_clipped
/* 4229EC 802A99EC 8E040004 */ lw $a0, 4($s0)
/* 4229F0 802A99F0 0C0511EA */ jal draw_hud_element_clipped
/* 4229F4 802A99F4 8E040008 */ lw $a0, 8($s0)
/* 4229F8 802A99F8 0C0511EA */ jal draw_hud_element_clipped
/* 4229FC 802A99FC 8E04000C */ lw $a0, 0xc($s0)
/* 422A00 802A9A00 0C0511EA */ jal draw_hud_element_clipped
/* 422A04 802A9A04 8E040010 */ lw $a0, 0x10($s0)
/* 422A08 802A9A08 0C0511EA */ jal draw_hud_element_clipped
/* 422A0C 802A9A0C 8E040014 */ lw $a0, 0x14($s0)
/* 422A10 802A9A10 0C0511EA */ jal draw_hud_element_clipped
/* 422A14 802A9A14 8E040018 */ lw $a0, 0x18($s0)
/* 422A18 802A9A18 0C0511EA */ jal draw_hud_element_clipped
/* 422A1C 802A9A1C 8E04001C */ lw $a0, 0x1c($s0)
/* 422A20 802A9A20 8FBF0014 */ lw $ra, 0x14($sp)
/* 422A24 802A9A24 8FB00010 */ lw $s0, 0x10($sp)
/* 422A28 802A9A28 03E00008 */ jr $ra
/* 422A2C 802A9A2C 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 func_802A9A30_422A30
/* 422A30 802A9A30 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 422A34 802A9A34 AFB00010 */ sw $s0, 0x10($sp)
/* 422A38 802A9A38 3C10802A */ lui $s0, %hi(D_8029FBE0)
/* 422A3C 802A9A3C 2610FBE0 */ addiu $s0, $s0, %lo(D_8029FBE0)
/* 422A40 802A9A40 AFBF0014 */ sw $ra, 0x14($sp)
/* 422A44 802A9A44 0C05123D */ jal free_hud_element
/* 422A48 802A9A48 8E040004 */ lw $a0, 4($s0)
/* 422A4C 802A9A4C 0C05123D */ jal free_hud_element
/* 422A50 802A9A50 8E040008 */ lw $a0, 8($s0)
/* 422A54 802A9A54 0C05123D */ jal free_hud_element
/* 422A58 802A9A58 8E04000C */ lw $a0, 0xc($s0)
/* 422A5C 802A9A5C 0C05123D */ jal free_hud_element
/* 422A60 802A9A60 8E040010 */ lw $a0, 0x10($s0)
/* 422A64 802A9A64 0C05123D */ jal free_hud_element
/* 422A68 802A9A68 8E040014 */ lw $a0, 0x14($s0)
/* 422A6C 802A9A6C 0C05123D */ jal free_hud_element
/* 422A70 802A9A70 8E040018 */ lw $a0, 0x18($s0)
/* 422A74 802A9A74 0C05123D */ jal free_hud_element
/* 422A78 802A9A78 8E04001C */ lw $a0, 0x1c($s0)
/* 422A7C 802A9A7C 8FBF0014 */ lw $ra, 0x14($sp)
/* 422A80 802A9A80 8FB00010 */ lw $s0, 0x10($sp)
/* 422A84 802A9A84 03E00008 */ jr $ra
/* 422A88 802A9A88 27BD0018 */ addiu $sp, $sp, 0x18
/* 422A8C 802A9A8C 00000000 */ nop

View File

@ -14,8 +14,8 @@ glabel func_802A9000_42F6E0
/* 42F704 802A9024 24424420 */ addiu $v0, $v0, %lo(D_80294420)
/* 42F708 802A9028 AC620434 */ sw $v0, 0x434($v1)
/* 42F70C 802A902C 80620083 */ lb $v0, 0x83($v1)
/* 42F710 802A9030 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 42F714 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 42F710 802A9030 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 42F714 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 42F718 802A9038 50400053 */ beql $v0, $zero, .L802A9188
/* 42F71C 802A903C A0600081 */ sb $zero, 0x81($v1)
/* 42F720 802A9040 0C09A216 */ jal func_80268858

View File

@ -6,8 +6,8 @@ glabel func_802A91A0_42F880
/* 42F884 802A91A4 AFB20018 */ sw $s2, 0x18($sp)
/* 42F888 802A91A8 0080902D */ daddu $s2, $a0, $zero
/* 42F88C 802A91AC AFB10014 */ sw $s1, 0x14($sp)
/* 42F890 802A91B0 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 42F894 802A91B4 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 42F890 802A91B0 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 42F894 802A91B4 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 42F898 802A91B8 AFB3001C */ sw $s3, 0x1c($sp)
/* 42F89C 802A91BC 3C13800E */ lui $s3, %hi(gBattleStatus)
/* 42F8A0 802A91C0 2673C070 */ addiu $s3, $s3, %lo(gBattleStatus)

View File

@ -4,8 +4,8 @@
glabel func_802A92A0_42F980
/* 42F980 802A92A0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 42F984 802A92A4 AFB10014 */ sw $s1, 0x14($sp)
/* 42F988 802A92A8 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 42F98C 802A92AC 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 42F988 802A92A8 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 42F98C 802A92AC 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 42F990 802A92B0 AFBF001C */ sw $ra, 0x1c($sp)
/* 42F994 802A92B4 AFB20018 */ sw $s2, 0x18($sp)
/* 42F998 802A92B8 AFB00010 */ sw $s0, 0x10($sp)

View File

@ -4,8 +4,8 @@
glabel func_802A97AC_42FE8C
/* 42FE8C 802A97AC 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 42FE90 802A97B0 AFB1001C */ sw $s1, 0x1c($sp)
/* 42FE94 802A97B4 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 42FE98 802A97B8 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 42FE94 802A97B4 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 42FE98 802A97B8 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 42FE9C 802A97BC AFBF0020 */ sw $ra, 0x20($sp)
/* 42FEA0 802A97C0 AFB00018 */ sw $s0, 0x18($sp)
/* 42FEA4 802A97C4 0C0511EA */ jal draw_hud_element_clipped

View File

@ -4,8 +4,8 @@
glabel func_802A9894_42FF74
/* 42FF74 802A9894 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 42FF78 802A9898 AFB00010 */ sw $s0, 0x10($sp)
/* 42FF7C 802A989C 3C10802A */ lui $s0, %hi(D_8029FBE0)
/* 42FF80 802A98A0 2610FBE0 */ addiu $s0, $s0, %lo(D_8029FBE0)
/* 42FF7C 802A989C 3C10802A */ lui $s0, %hi(gActionCommandStatus)
/* 42FF80 802A98A0 2610FBE0 */ addiu $s0, $s0, %lo(gActionCommandStatus)
/* 42FF84 802A98A4 AFBF0014 */ sw $ra, 0x14($sp)
/* 42FF88 802A98A8 0C05123D */ jal free_hud_element
/* 42FF8C 802A98AC 8E040004 */ lw $a0, 4($s0)

View File

@ -14,8 +14,8 @@ glabel func_802A9000_4219F0
/* 421A14 802A9024 244241C0 */ addiu $v0, $v0, %lo(D_802941C0)
/* 421A18 802A9028 AC620434 */ sw $v0, 0x434($v1)
/* 421A1C 802A902C 80620083 */ lb $v0, 0x83($v1)
/* 421A20 802A9030 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 421A24 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 421A20 802A9030 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 421A24 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 421A28 802A9038 10400032 */ beqz $v0, .L802A9104
/* 421A2C 802A903C A0600086 */ sb $zero, 0x86($v1)
/* 421A30 802A9040 0C09A216 */ jal func_80268858

View File

@ -6,8 +6,8 @@ glabel func_802A9120_421B10
/* 421B14 802A9124 AFB20018 */ sw $s2, 0x18($sp)
/* 421B18 802A9128 0080902D */ daddu $s2, $a0, $zero
/* 421B1C 802A912C AFB10014 */ sw $s1, 0x14($sp)
/* 421B20 802A9130 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 421B24 802A9134 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 421B20 802A9130 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 421B24 802A9134 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 421B28 802A9138 AFB40020 */ sw $s4, 0x20($sp)
/* 421B2C 802A913C 0220A02D */ daddu $s4, $s1, $zero
/* 421B30 802A9140 3C03800E */ lui $v1, %hi(gBattleStatus)

View File

@ -11,8 +11,8 @@ glabel jtbl_802A95D0_421FC0
glabel func_802A9234_421C24
/* 421C24 802A9234 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 421C28 802A9238 AFB10014 */ sw $s1, 0x14($sp)
/* 421C2C 802A923C 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 421C30 802A9240 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 421C2C 802A923C 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 421C30 802A9240 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 421C34 802A9244 AFBF001C */ sw $ra, 0x1c($sp)
/* 421C38 802A9248 AFB20018 */ sw $s2, 0x18($sp)
/* 421C3C 802A924C AFB00010 */ sw $s0, 0x10($sp)

View File

@ -4,8 +4,8 @@
glabel func_802A9544_421F34
/* 421F34 802A9544 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 421F38 802A9548 AFB00010 */ sw $s0, 0x10($sp)
/* 421F3C 802A954C 3C10802A */ lui $s0, %hi(D_8029FBE0)
/* 421F40 802A9550 2610FBE0 */ addiu $s0, $s0, %lo(D_8029FBE0)
/* 421F3C 802A954C 3C10802A */ lui $s0, %hi(gActionCommandStatus)
/* 421F40 802A9550 2610FBE0 */ addiu $s0, $s0, %lo(gActionCommandStatus)
/* 421F44 802A9554 AFBF0014 */ sw $ra, 0x14($sp)
/* 421F48 802A9558 0C0511EA */ jal draw_hud_element_clipped
/* 421F4C 802A955C 8E040004 */ lw $a0, 4($s0)

View File

@ -4,8 +4,8 @@
glabel func_802A9590_421F80
/* 421F80 802A9590 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 421F84 802A9594 AFB00010 */ sw $s0, 0x10($sp)
/* 421F88 802A9598 3C10802A */ lui $s0, %hi(D_8029FBE0)
/* 421F8C 802A959C 2610FBE0 */ addiu $s0, $s0, %lo(D_8029FBE0)
/* 421F88 802A9598 3C10802A */ lui $s0, %hi(gActionCommandStatus)
/* 421F8C 802A959C 2610FBE0 */ addiu $s0, $s0, %lo(gActionCommandStatus)
/* 421F90 802A95A0 AFBF0014 */ sw $ra, 0x14($sp)
/* 421F94 802A95A4 0C05123D */ jal free_hud_element
/* 421F98 802A95A8 8E040004 */ lw $a0, 4($s0)

View File

@ -14,8 +14,8 @@ glabel func_802A9000_42DA10
/* 42DA34 802A9024 244243C0 */ addiu $v0, $v0, %lo(D_802943C0)
/* 42DA38 802A9028 AC620434 */ sw $v0, 0x434($v1)
/* 42DA3C 802A902C 80620083 */ lb $v0, 0x83($v1)
/* 42DA40 802A9030 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 42DA44 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 42DA40 802A9030 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 42DA44 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 42DA48 802A9038 50400053 */ beql $v0, $zero, .L802A9188
/* 42DA4C 802A903C A0600081 */ sb $zero, 0x81($v1)
/* 42DA50 802A9040 0C09A216 */ jal func_80268858

View File

@ -6,8 +6,8 @@ glabel func_802A91A0_42DBB0
/* 42DBB4 802A91A4 AFB20018 */ sw $s2, 0x18($sp)
/* 42DBB8 802A91A8 0080902D */ daddu $s2, $a0, $zero
/* 42DBBC 802A91AC AFB10014 */ sw $s1, 0x14($sp)
/* 42DBC0 802A91B0 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 42DBC4 802A91B4 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 42DBC0 802A91B0 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 42DBC4 802A91B4 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 42DBC8 802A91B8 AFB3001C */ sw $s3, 0x1c($sp)
/* 42DBCC 802A91BC 3C13800E */ lui $s3, %hi(gBattleStatus)
/* 42DBD0 802A91C0 2673C070 */ addiu $s3, $s3, %lo(gBattleStatus)

View File

@ -4,8 +4,8 @@
glabel func_802A92A0_42DCB0
/* 42DCB0 802A92A0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 42DCB4 802A92A4 AFB10014 */ sw $s1, 0x14($sp)
/* 42DCB8 802A92A8 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 42DCBC 802A92AC 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 42DCB8 802A92A8 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 42DCBC 802A92AC 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 42DCC0 802A92B0 AFBF001C */ sw $ra, 0x1c($sp)
/* 42DCC4 802A92B4 AFB20018 */ sw $s2, 0x18($sp)
/* 42DCC8 802A92B8 AFB00010 */ sw $s0, 0x10($sp)

View File

@ -4,8 +4,8 @@
glabel func_802A97F8_42E208
/* 42E208 802A97F8 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 42E20C 802A97FC AFB1001C */ sw $s1, 0x1c($sp)
/* 42E210 802A9800 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 42E214 802A9804 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 42E210 802A9800 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 42E214 802A9804 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 42E218 802A9808 AFBF0020 */ sw $ra, 0x20($sp)
/* 42E21C 802A980C AFB00018 */ sw $s0, 0x18($sp)
/* 42E220 802A9810 0C0511EA */ jal draw_hud_element_clipped

View File

@ -4,8 +4,8 @@
glabel func_802A98E0_42E2F0
/* 42E2F0 802A98E0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 42E2F4 802A98E4 AFB00010 */ sw $s0, 0x10($sp)
/* 42E2F8 802A98E8 3C10802A */ lui $s0, %hi(D_8029FBE0)
/* 42E2FC 802A98EC 2610FBE0 */ addiu $s0, $s0, %lo(D_8029FBE0)
/* 42E2F8 802A98E8 3C10802A */ lui $s0, %hi(gActionCommandStatus)
/* 42E2FC 802A98EC 2610FBE0 */ addiu $s0, $s0, %lo(gActionCommandStatus)
/* 42E300 802A98F0 AFBF0014 */ sw $ra, 0x14($sp)
/* 42E304 802A98F4 0C05123D */ jal free_hud_element
/* 42E308 802A98F8 8E040004 */ lw $a0, 4($s0)

View File

@ -14,8 +14,8 @@ glabel func_802A9000_42CF10
/* 42CF34 802A9024 244243A0 */ addiu $v0, $v0, %lo(D_802943A0)
/* 42CF38 802A9028 AC620434 */ sw $v0, 0x434($v1)
/* 42CF3C 802A902C 80620083 */ lb $v0, 0x83($v1)
/* 42CF40 802A9030 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 42CF44 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 42CF40 802A9030 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 42CF44 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 42CF48 802A9038 5040006F */ beql $v0, $zero, .L802A91F8
/* 42CF4C 802A903C A0600081 */ sb $zero, 0x81($v1)
/* 42CF50 802A9040 0C09A216 */ jal func_80268858

View File

@ -6,8 +6,8 @@ glabel func_802A9210_42D120
/* 42D124 802A9214 AFB20018 */ sw $s2, 0x18($sp)
/* 42D128 802A9218 0080902D */ daddu $s2, $a0, $zero
/* 42D12C 802A921C AFB10014 */ sw $s1, 0x14($sp)
/* 42D130 802A9220 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 42D134 802A9224 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 42D130 802A9220 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 42D134 802A9224 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 42D138 802A9228 AFB3001C */ sw $s3, 0x1c($sp)
/* 42D13C 802A922C 3C13800E */ lui $s3, %hi(gBattleStatus)
/* 42D140 802A9230 2673C070 */ addiu $s3, $s3, %lo(gBattleStatus)

View File

@ -4,8 +4,8 @@
glabel func_802A9310_42D220
/* 42D220 802A9310 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 42D224 802A9314 AFB10014 */ sw $s1, 0x14($sp)
/* 42D228 802A9318 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 42D22C 802A931C 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 42D228 802A9318 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 42D22C 802A931C 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 42D230 802A9320 AFBF001C */ sw $ra, 0x1c($sp)
/* 42D234 802A9324 AFB20018 */ sw $s2, 0x18($sp)
/* 42D238 802A9328 AFB00010 */ sw $s0, 0x10($sp)

View File

@ -6,8 +6,8 @@ glabel func_802A98D0_42D7E0
/* 42D7E4 802A98D4 AFB40028 */ sw $s4, 0x28($sp)
/* 42D7E8 802A98D8 3C1451EB */ lui $s4, 0x51eb
/* 42D7EC 802A98DC AFB30024 */ sw $s3, 0x24($sp)
/* 42D7F0 802A98E0 3C13802A */ lui $s3, %hi(D_8029FBE0)
/* 42D7F4 802A98E4 2673FBE0 */ addiu $s3, $s3, %lo(D_8029FBE0)
/* 42D7F0 802A98E0 3C13802A */ lui $s3, %hi(gActionCommandStatus)
/* 42D7F4 802A98E4 2673FBE0 */ addiu $s3, $s3, %lo(gActionCommandStatus)
/* 42D7F8 802A98E8 AFBF002C */ sw $ra, 0x2c($sp)
/* 42D7FC 802A98EC AFB20020 */ sw $s2, 0x20($sp)
/* 42D800 802A98F0 AFB1001C */ sw $s1, 0x1c($sp)

View File

@ -4,8 +4,8 @@
glabel func_802A9A54_42D964
/* 42D964 802A9A54 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 42D968 802A9A58 AFB00010 */ sw $s0, 0x10($sp)
/* 42D96C 802A9A5C 3C10802A */ lui $s0, %hi(D_8029FBE0)
/* 42D970 802A9A60 2610FBE0 */ addiu $s0, $s0, %lo(D_8029FBE0)
/* 42D96C 802A9A5C 3C10802A */ lui $s0, %hi(gActionCommandStatus)
/* 42D970 802A9A60 2610FBE0 */ addiu $s0, $s0, %lo(gActionCommandStatus)
/* 42D974 802A9A64 AFBF0014 */ sw $ra, 0x14($sp)
/* 42D978 802A9A68 0C05123D */ jal free_hud_element
/* 42D97C 802A9A6C 8E040004 */ lw $a0, 4($s0)

View File

@ -14,8 +14,8 @@ glabel func_802A9000_42E3A0
/* 42E3C4 802A9024 244243E0 */ addiu $v0, $v0, %lo(D_802943E0)
/* 42E3C8 802A9028 AE020434 */ sw $v0, 0x434($s0)
/* 42E3CC 802A902C 2402007F */ addiu $v0, $zero, 0x7f
/* 42E3D0 802A9030 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 42E3D4 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 42E3D0 802A9030 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 42E3D4 802A9034 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 42E3D8 802A9038 A2020086 */ sb $v0, 0x86($s0)
/* 42E3DC 802A903C 82020083 */ lb $v0, 0x83($s0)
/* 42E3E0 802A9040 10400047 */ beqz $v0, .L802A9160

View File

@ -6,8 +6,8 @@ glabel func_802A917C_42E51C
/* 42E520 802A9180 AFB3001C */ sw $s3, 0x1c($sp)
/* 42E524 802A9184 0080982D */ daddu $s3, $a0, $zero
/* 42E528 802A9188 AFB10014 */ sw $s1, 0x14($sp)
/* 42E52C 802A918C 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 42E530 802A9190 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 42E52C 802A918C 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 42E530 802A9190 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 42E534 802A9194 AFB20018 */ sw $s2, 0x18($sp)
/* 42E538 802A9198 3C12800E */ lui $s2, %hi(gBattleStatus)
/* 42E53C 802A919C 2652C070 */ addiu $s2, $s2, %lo(gBattleStatus)

View File

@ -4,8 +4,8 @@
glabel func_802A9298_42E638
/* 42E638 802A9298 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 42E63C 802A929C AFB10014 */ sw $s1, 0x14($sp)
/* 42E640 802A92A0 3C11802A */ lui $s1, %hi(D_8029FBE0)
/* 42E644 802A92A4 2631FBE0 */ addiu $s1, $s1, %lo(D_8029FBE0)
/* 42E640 802A92A0 3C11802A */ lui $s1, %hi(gActionCommandStatus)
/* 42E644 802A92A4 2631FBE0 */ addiu $s1, $s1, %lo(gActionCommandStatus)
/* 42E648 802A92A8 AFB20018 */ sw $s2, 0x18($sp)
/* 42E64C 802A92AC 3C12800E */ lui $s2, %hi(gBattleStatus)
/* 42E650 802A92B0 2652C070 */ addiu $s2, $s2, %lo(gBattleStatus)

Some files were not shown because too many files have changed in this diff Show More