mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
Several partner-related functions (#196)
* decompile bombette and bow related functions * decompile bombette and bow related functions * decompile bombette and bow related functions * decompile partner function - mainly bombette and bow * decompile Goombario functions * OK * resolve my comments on #190 * rename IsPartnerImmobile funcs * rm old asm Co-authored-by: brotenko@gmail.com <brotenko@gmail.com>
This commit is contained in:
parent
96af288878
commit
9e6cf181bd
@ -582,7 +582,7 @@ typedef struct BattleStatus {
|
||||
/* 0x097 */ s8 jumpCharge;
|
||||
/* 0x098 */ char unk_98;
|
||||
/* 0x099 */ u8 dangerFlags; /* 1 = danger, 2 = peril */
|
||||
/* 0x09A */ u8 outtaSightActive;
|
||||
/* 0x09A */ s8 outtaSightActive;
|
||||
/* 0x09B */ s8 turboChargeTurnsLeft;
|
||||
/* 0x09C */ u8 turboChargeAmount; /* unused? */
|
||||
/* 0x09D */ s8 waterBlockTurnsLeft;
|
||||
@ -1261,29 +1261,23 @@ typedef struct Zone {
|
||||
/* 0x28 */ s32 flag;
|
||||
} Zone; // size = 0x2C
|
||||
|
||||
typedef struct ActorMovePos {
|
||||
/* 0x00 */ Vec3f current;
|
||||
/* 0x0C */ Vec3f goal;
|
||||
/* 0x18 */ Vec3f end;
|
||||
} ActorMovePos; // size = 0x20;
|
||||
|
||||
typedef struct ActorFlyPos {
|
||||
/* 0x00 */ Vec3f current;
|
||||
/* 0x0C */ Vec3f goal;
|
||||
/* 0x18 */ Vec3f temp; /* used for start in fly functions, end in flyrun functions */
|
||||
} ActorFlyPos; // size = 0x20;
|
||||
typedef struct ActorMovement {
|
||||
/* 0x00 */ Vec3f currentPos;
|
||||
/* 0x0C */ Vec3f goalPos;
|
||||
/* 0x18 */ Vec3f unk_18;
|
||||
/* 0x24 */ char unk_24[24];
|
||||
/* 0x3C */ f32 acceleration;
|
||||
/* 0x40 */ f32 speed;
|
||||
/* 0x44 */ f32 velocity;
|
||||
/* 0x48 */ f32 angle;
|
||||
/* 0x4C */ f32 distance;
|
||||
} ActorMovement; // size = 0x50;
|
||||
|
||||
typedef struct Actor {
|
||||
/* 0x000 */ s32 flags;
|
||||
/* 0x004 */ char unk_04[4];
|
||||
/* 0x008 */ struct ActorDesc* staticActorData;
|
||||
/* 0x00C */ ActorMovePos movePos;
|
||||
/* 0x030 */ char unk_30[24];
|
||||
/* 0x048 */ f32 jumpAccel;
|
||||
/* 0x04C */ f32 moveSpeed;
|
||||
/* 0x050 */ f32 jumpVelocity;
|
||||
/* 0x054 */ f32 moveAngle;
|
||||
/* 0x058 */ f32 moveDistance; /* 2D projection, used for jump */
|
||||
/* 0x00C */ ActorMovement walk;
|
||||
/* 0x05C */ f32 bounceDivisor;
|
||||
/* 0x060 */ char unk_60[4];
|
||||
/* 0x064 */ s32 animJumpRise;
|
||||
@ -1295,13 +1289,7 @@ typedef struct Actor {
|
||||
/* 0x077 */ u8 jumpPartIndex;
|
||||
/* 0x078 */ char unk_78[16];
|
||||
/* 0x088 */ s32 varTable[16];
|
||||
/* 0x0C8 */ ActorFlyPos flyPos;
|
||||
/* 0x0EC */ char unk_EC[24];
|
||||
/* 0x104 */ f32 flyJumpAccel;
|
||||
/* 0x108 */ f32 flySpeed;
|
||||
/* 0x10C */ f32 flyJumpVelocity;
|
||||
/* 0x110 */ f32 flyAngleYaw;
|
||||
/* 0x114 */ f32 flyDistance;
|
||||
/* 0x0C8 */ ActorMovement fly;
|
||||
/* 0x118 */ f32 flyElapsed;
|
||||
/* 0x11C */ char unk_11C[4];
|
||||
/* 0x120 */ s16 flyTime;
|
||||
@ -1377,7 +1365,7 @@ typedef struct Actor {
|
||||
/* 0x21A */ char unk_21A[2];
|
||||
/* 0x21C */ u8 status;
|
||||
/* 0x21D */ char unk_21D[3];
|
||||
/* 0x220 */ u8 isGlowing;
|
||||
/* 0x220 */ s8 isGlowing;
|
||||
/* 0x221 */ u8 attackBoost;
|
||||
/* 0x222 */ s8 defenseBoost;
|
||||
/* 0x223 */ u8 chillOutAmount; /* attack reduction */
|
||||
|
@ -255,6 +255,13 @@ void show_damage_popup(f32 x, f32 y, f32 z, s32 damageAmount);
|
||||
void func_80070B50(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4);
|
||||
void func_800718D0(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5);
|
||||
void func_80070BB0(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5);
|
||||
void func_80071FF0(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5);
|
||||
void func_80070970(s32 arg0, f32 arg1, f32 arg2, f32 arg3, s32 arg4, s32 arg5);
|
||||
void func_800709D0(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5);
|
||||
void func_80070130(s32 arg0, f32 arg1, f32 arg2, f32 arg3);
|
||||
void func_800701F0(s32 arg0, f32 arg1, f32 arg2, f32 arg3);
|
||||
void add_xz_vec3f(Vec3f* vector, f32 speed, f32 angleDeg);
|
||||
void play_movement_dust_effects(s32 var0, f32 xPos, f32 yPos, f32 zPos, f32 angleDeg);
|
||||
|
||||
// Dead functions:
|
||||
f32 func_8002AF70(f32 startX, f32 startZ, f32 endX, f32 endZ); // atan2
|
||||
|
@ -6,5 +6,31 @@
|
||||
|
||||
#include "world/common/IsRightOnEquipped.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "battle/move/mega_quake_756780", func_802A10A4_756824);
|
||||
ApiStatus func_802A10A4_756824(ScriptInstance* script, s32 isInitialCall) {
|
||||
if (isInitialCall) {
|
||||
script->functionTemp[0].s = 0;
|
||||
}
|
||||
|
||||
if (script->functionTemp[0].s != 0) {
|
||||
if (script->functionTemp[0].s != 1) {
|
||||
return ApiStatus_BLOCK;
|
||||
}
|
||||
} else {
|
||||
script->functionTemp[1].s = 30;
|
||||
script->functionTemp[0].s = 1;
|
||||
}
|
||||
|
||||
set_transition_stencil_center(1, 0, 0, 0);
|
||||
set_transition_stencil_center(1, 1, 320, 240);
|
||||
set_transition_stencil_zoom_1(12, 160.0f);
|
||||
|
||||
if (script->functionTemp[1].s != 0) {
|
||||
script->functionTemp[1].s--;
|
||||
return ApiStatus_BLOCK;
|
||||
} else {
|
||||
set_transition_stencil_center(1, 0, 0, 0);
|
||||
set_transition_stencil_center(1, 1, 320, 240);
|
||||
set_transition_stencil_zoom_1(12, 0.0f);
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
}
|
||||
|
@ -1,10 +1,34 @@
|
||||
#include "common.h"
|
||||
#include "battle/battle.h"
|
||||
|
||||
#define NAMESPACE battle_move_power_bounce
|
||||
|
||||
extern s32* D_802A2730_745520;
|
||||
|
||||
#include "world/common/UnkMoveFunc1.inc.c"
|
||||
|
||||
#ifdef NON_MATCHING
|
||||
ApiStatus func_802A10E4_743ED4(ScriptInstance* script, s32 isInitialCall) {
|
||||
Actor* actor = get_actor(script->owner1.actorID);
|
||||
Actor* targetActor = get_actor(actor->targetActorID);
|
||||
u8 powerBounceChance;
|
||||
|
||||
script->varTable[0] = 99;
|
||||
powerBounceChance = targetActor->staticActorData->powerBounceChance;
|
||||
if (is_ability_active(Ability_DODGE_MASTER)) {
|
||||
powerBounceChance += 7;
|
||||
}
|
||||
|
||||
if ((*D_802A2730_745520 * powerBounceChance) / 100 < rand_int(100)) {
|
||||
script->varTable[0] = 0;
|
||||
}
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
#else
|
||||
INCLUDE_ASM(s32, "battle/move/power_bounce_743DF0", func_802A10E4_743ED4);
|
||||
#endif
|
||||
|
||||
|
||||
INCLUDE_ASM(s32, "battle/move/power_bounce_743DF0", func_802A1194_743F84);
|
||||
|
||||
|
@ -2,9 +2,29 @@
|
||||
|
||||
#define NAMESPACE battle_move_spin_smash
|
||||
|
||||
INCLUDE_ASM(s32, "battle/move/spin_smash_737890", func_802A1000_737890);
|
||||
ApiStatus func_802A1000_737890(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
Actor* playerActor = battleStatus->playerActor;
|
||||
f32 xPos = playerActor->currentPos.x + 20.0f;
|
||||
f32 yPos = playerActor->currentPos.y + 15.0f;
|
||||
f32 zPos = playerActor->currentPos.z + 5.0f;
|
||||
|
||||
INCLUDE_ASM(s32, "battle/move/spin_smash_737890", func_802A1074_737904);
|
||||
func_80070970(0, xPos, yPos, zPos, 6, 20);
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
ApiStatus func_802A1074_737904(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
Actor* playerActor = battleStatus->playerActor;
|
||||
f32 xPos = playerActor->currentPos.x + 20.0f;
|
||||
f32 yPos = playerActor->currentPos.y + 15.0f;
|
||||
f32 zPos = playerActor->currentPos.z + 5.0f;
|
||||
|
||||
func_800709D0(0, xPos, yPos, zPos, 1.0f, 20);
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
#include "world/common/IsBerserkerEquipped.inc.c"
|
||||
|
||||
|
@ -1,11 +1,227 @@
|
||||
#include "common.h"
|
||||
#include "battle/battle.h"
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/bombette_6FAD10", func_80238000_6FAD10);
|
||||
ApiStatus func_80238000_6FAD10(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
Bytecode* args = script->ptrReadPos;
|
||||
s32 x = get_variable(script, *args++);
|
||||
s32 y = get_variable(script, *args++);
|
||||
s32 z = get_variable(script, *args++);
|
||||
s16 selectedMoveID;
|
||||
s32 soundID;
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/bombette_6FAD10", func_80238244_6FAF54);
|
||||
func_80070130(0, x, y, z);
|
||||
selectedMoveID = battleStatus->selectedMoveID;
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/bombette_6FAD10", func_80238358_6FB068);
|
||||
switch (selectedMoveID) {
|
||||
case 146:
|
||||
if (script->varTable[10] > 0) {
|
||||
func_800701F0(1, x, y + 20, z);
|
||||
} else {
|
||||
func_800701F0(0, x, y + 20, z);
|
||||
}
|
||||
play_sound(8214);
|
||||
break;
|
||||
case 147:
|
||||
if (script->varTable[10] > 0) {
|
||||
func_800701F0(1, x, y + 20, z);
|
||||
} else {
|
||||
func_800701F0(0, x, y + 20, z);
|
||||
}
|
||||
play_sound(8215);
|
||||
break;
|
||||
case 148:
|
||||
if (script->varTable[10] > 0) {
|
||||
func_800701F0(2, x, y + 20, z);
|
||||
} else {
|
||||
func_800701F0(1, x, y + 20, z);
|
||||
}
|
||||
play_sound(8215);
|
||||
break;
|
||||
default:
|
||||
func_800701F0(0, x, y + 20, z);
|
||||
play_sound(8214);
|
||||
break;
|
||||
}
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/bombette_6FAD10", func_8023849C_6FB1AC);
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/bombette_6FAD10", func_80238590_6FB2A0);
|
||||
ApiStatus func_80238244_6FAF54(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
Actor* partnerActor = battleStatus->partnerActor;
|
||||
ActorMovement* partnerActorMovement = &partnerActor->walk;
|
||||
|
||||
if (isInitialCall) {
|
||||
partnerActor->walk.currentPos.x = partnerActor->currentPos.x;
|
||||
partnerActor->walk.currentPos.y = partnerActor->currentPos.y;
|
||||
partnerActor->walk.currentPos.z = partnerActor->currentPos.z;
|
||||
}
|
||||
|
||||
add_xz_vec3f(&partnerActorMovement->currentPos, partnerActor->walk.speed, partnerActor->walk.angle);
|
||||
|
||||
if (partnerActor->walk.speed < 4.0f) {
|
||||
play_movement_dust_effects(0, partnerActor->walk.currentPos.x, partnerActor->walk.currentPos.y, partnerActor->walk.currentPos.z, partnerActor->walk.angle);
|
||||
} else {
|
||||
play_movement_dust_effects(1, partnerActor->walk.currentPos.x, partnerActor->walk.currentPos.y, partnerActor->walk.currentPos.z, partnerActor->walk.angle);
|
||||
}
|
||||
|
||||
partnerActorMovement->speed /= 1.5;
|
||||
|
||||
partnerActor->currentPos.x = partnerActorMovement->currentPos.x;
|
||||
partnerActor->currentPos.y = partnerActorMovement->currentPos.y;
|
||||
partnerActor->currentPos.z = partnerActorMovement->currentPos.z;
|
||||
|
||||
if (partnerActorMovement->speed < 1.0) {
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
return ApiStatus_BLOCK;
|
||||
}
|
||||
|
||||
ApiStatus func_80238358_6FB068(ScriptInstance* script, s32 isInitialCall) {
|
||||
Bytecode* args = script->ptrReadPos;
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
Actor* partnerActor = battleStatus->partnerActor;
|
||||
s32 var0 = get_variable(script, *args++);
|
||||
s32 var1 = 0;
|
||||
|
||||
switch (partnerActor->staticActorData->level) {
|
||||
case 0:
|
||||
if (var0 < 36) {
|
||||
var1 = 1;
|
||||
} else if (var0 < 61) {
|
||||
var1 = 2;
|
||||
} else if (var0 < 81) {
|
||||
var1 = 3;
|
||||
} else if (var0 < 100) {
|
||||
var1 = 4;
|
||||
} else {
|
||||
var1 = 5;
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
if (var0 < 36) {
|
||||
var1 = 1;
|
||||
} else if (var0 < 61) {
|
||||
var1 = 3;
|
||||
} else if (var0 < 81) {
|
||||
var1 = 4;
|
||||
} else if (var0 < 100) {
|
||||
var1 = 5;
|
||||
} else {
|
||||
var1 = 6;
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
if (var0 < 36) {
|
||||
var1 = 1;
|
||||
} else if (var0 < 61) {
|
||||
var1 = 3;
|
||||
} else if (var0 < 81) {
|
||||
var1 = 5;
|
||||
} else if (var0 < 100) {
|
||||
var1 = 6;
|
||||
} else {
|
||||
var1 = 7;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
if (!(var0 < 100)) {
|
||||
script->varTable[0] = 1;
|
||||
} else {
|
||||
script->varTable[0] = 0;
|
||||
}
|
||||
|
||||
script->varTable[15] = var1;
|
||||
|
||||
return 2;
|
||||
}
|
||||
|
||||
ApiStatus func_8023849C_6FB1AC(ScriptInstance* script, s32 isInitialCall) {
|
||||
Bytecode* args = script->ptrReadPos;
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
Actor* partnerActor = battleStatus->partnerActor;
|
||||
s32 var0 = get_variable(script, *args++);
|
||||
s32 var1 = 0;
|
||||
|
||||
switch (partnerActor->staticActorData->level) {
|
||||
case 1:
|
||||
if (var0 < 36) {
|
||||
var1 = 1;
|
||||
} else if (var0 < 61) {
|
||||
var1 = 3;
|
||||
} else if (var0 < 81) {
|
||||
var1 = 4;
|
||||
} else if (var0 < 100) {
|
||||
var1 = 5;
|
||||
} else {
|
||||
var1 = 6;
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
if (var0 < 36) {
|
||||
var1 = 1;
|
||||
} else if (var0 < 61) {
|
||||
var1 = 3;
|
||||
} else if (var0 < 81) {
|
||||
var1 = 5;
|
||||
} else if (var0 < 100) {
|
||||
var1 = 6;
|
||||
} else {
|
||||
var1 = 7;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (!(var0 < 100)) {
|
||||
script->varTable[0] = 1;
|
||||
} else {
|
||||
script->varTable[0] = 0;
|
||||
}
|
||||
|
||||
script->varTable[15] = var1;
|
||||
|
||||
return 2;
|
||||
}
|
||||
|
||||
ApiStatus func_80238590_6FB2A0(ScriptInstance* script, s32 isInitialCall) {
|
||||
Bytecode* args = script->ptrReadPos;
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
Actor* partnerActor = battleStatus->partnerActor;
|
||||
s32 var0 = get_variable(script, *args++);
|
||||
s32 var1 = 0;
|
||||
|
||||
switch (partnerActor->staticActorData->level) {
|
||||
case 2:
|
||||
if (var0 < 36) {
|
||||
var1 = 1;
|
||||
}
|
||||
else if (var0 < 61) {
|
||||
var1 = 3;
|
||||
}
|
||||
else if (var0 < 81) {
|
||||
var1 = 5;
|
||||
}
|
||||
else if (var0 < 100) {
|
||||
var1 = 6;
|
||||
}
|
||||
else {
|
||||
var1 = 7;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
if (!(var0 < 100)) {
|
||||
script->varTable[0] = TRUE;
|
||||
} else {
|
||||
script->varTable[0] = FALSE;
|
||||
}
|
||||
|
||||
script->varTable[15] = var1;
|
||||
|
||||
return 2;
|
||||
}
|
||||
|
@ -1,15 +1,113 @@
|
||||
#define NAMESPACE battle_partner_bow
|
||||
|
||||
#include "common.h"
|
||||
#include "battle/battle.h"
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/bow_710EF0", func_80238000_710EF0);
|
||||
extern s32 bMarioIdleAnims[];
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/bow_710EF0", func_80238014_710F04);
|
||||
ApiStatus func_80238000_710EF0(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
script->varTable[0] = battleStatus->outtaSightActive;
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/bow_710EF0", func_8023808C_710F7C);
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/bow_710EF0", func_802380E4_710FD4);
|
||||
ApiStatus func_80238014_710F04(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
Actor* partnerActor = battleStatus->partnerActor;
|
||||
Actor* partnerTargetActor = get_actor(partnerActor->targetActorID);
|
||||
f32 partnerTargetActorSize = (partnerTargetActor->size.y + partnerTargetActor->size.x) / 2;
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/bow_710EF0", func_80238198_711088);
|
||||
partnerTargetActorSize = (partnerTargetActorSize * 150.0f) / 100.0f;
|
||||
script->varTable[0] = partnerTargetActorSize;
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/bow_710EF0", func_802381C8_7110B8);
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/bow_710EF0", func_802381E8_7110D8);
|
||||
INCLUDE_ASM(ApiStatus, "battle/partner/bow_710EF0", func_8023808C_710F7C, ScriptInstance* script, s32 isInitialCall);
|
||||
|
||||
ApiStatus func_802380E4_710FD4(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
Bytecode* args = script->ptrReadPos;
|
||||
Actor* playerActor = battleStatus->playerActor;
|
||||
f32 var0 = get_variable(script, *args++);
|
||||
f32 var1 = get_variable(script, *args++);
|
||||
f32 scalingFactor = playerActor->scalingFactor;
|
||||
|
||||
var0 *= scalingFactor;
|
||||
script->varTable[0] += var0;
|
||||
|
||||
var1 *= scalingFactor;
|
||||
script->varTable[1] += var1;
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
/// Duplicate of IsPartnerImmobile
|
||||
ApiStatus N(IsPartnerImmobile)(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
Actor* playerActor = battleStatus->playerActor;
|
||||
s32 isImmobile = playerActor->debuff == Debuff_FEAR
|
||||
|| playerActor->debuff == Debuff_DIZZY
|
||||
|| playerActor->debuff == Debuff_PARALYZE
|
||||
|| playerActor->debuff == Debuff_SLEEP
|
||||
|| playerActor->debuff == Debuff_FROZEN
|
||||
|| playerActor->debuff == Debuff_STOP;
|
||||
|
||||
if (playerActor->stoneStatus == 12) {
|
||||
isImmobile = TRUE;
|
||||
}
|
||||
|
||||
script->varTable[0] = isImmobile;
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
ApiStatus func_802381C8_7110B8(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
Actor* playerActor = battleStatus->playerActor;
|
||||
ActorPart* playerActorPartTable = battleStatus->playerActor->partsTable;
|
||||
playerActorPartTable->idleAnimations = &bMarioIdleAnims;
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
/// Averages the baseStatusChance of the hittable actors this partner is targeting.
|
||||
ApiStatus N(AverageTargetStatusChance)(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
Actor* partnerActor = battleStatus->partnerActor;
|
||||
Actor* targetActor;
|
||||
ActorDesc* targetActorDesc;
|
||||
ActorPart* targetActorPart;
|
||||
s32 targetActorDescBaseStatusChance;
|
||||
s32 chanceTotal = 0;
|
||||
s32 nTargets = 0;
|
||||
s32 i;
|
||||
|
||||
for (i = 0; i < partnerActor->targetListLength; i++) {
|
||||
targetActor = get_actor(partnerActor->targetData[i].actorID);
|
||||
targetActorPart = get_actor_part(targetActor, partnerActor->targetData[i].partID);
|
||||
targetActorDesc = targetActor->staticActorData;
|
||||
targetActorDescBaseStatusChance = targetActorDesc->baseStatusChance;
|
||||
|
||||
if (targetActor->transStatus == 14) {
|
||||
targetActorDescBaseStatusChance = 0;
|
||||
}
|
||||
|
||||
if (targetActorPart->eventFlags & 0x20) {
|
||||
targetActorDescBaseStatusChance = 0;
|
||||
}
|
||||
|
||||
if (targetActorDescBaseStatusChance > 0) {
|
||||
chanceTotal += targetActorDescBaseStatusChance;
|
||||
nTargets++;
|
||||
}
|
||||
}
|
||||
|
||||
if (nTargets > 0) {
|
||||
script->varTable[0] = chanceTotal / nTargets;
|
||||
} else {
|
||||
script->varTable[0] = 0;
|
||||
}
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
@ -1,8 +1,12 @@
|
||||
#define NAMESPACE battle_partner_goombario
|
||||
|
||||
#include "common.h"
|
||||
#include "battle/battle.h"
|
||||
|
||||
extern Actor D_8023CDA0;
|
||||
extern s32 D_8023CDA4;
|
||||
extern MessageID bActorTattles[ACTOR_TYPE_COUNT];
|
||||
|
||||
//INCLUDE_ASM(s32, "battle/partner/goombario_6F10E0", func_80238000_6F10E0);
|
||||
ApiStatus func_80238000_6F10E0(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
BattleStatus* secondBattleStatus = &gBattleStatus;
|
||||
@ -10,9 +14,9 @@ ApiStatus func_80238000_6F10E0(ScriptInstance* script, s32 isInitialCall) {
|
||||
f32 posX = partnerActor->currentPos.x;
|
||||
f32 posY = partnerActor->currentPos.y;
|
||||
f32 posZ = partnerActor->currentPos.z;
|
||||
f32 goalX = partnerActor->movePos.goal.x;
|
||||
f32 goalY = partnerActor->movePos.goal.y;
|
||||
f32 goalZ = partnerActor->movePos.goal.z;
|
||||
f32 goalX = partnerActor->walk.goalPos.x;
|
||||
f32 goalY = partnerActor->walk.goalPos.y;
|
||||
f32 goalZ = partnerActor->walk.goalPos.z;
|
||||
|
||||
script->varTable[0] = (dist3D(posX, posY, posZ, goalX, goalY, goalZ) * 15.0f) / 100.0f;
|
||||
|
||||
@ -35,9 +39,66 @@ INCLUDE_ASM(s32, "battle/partner/goombario_6F10E0", func_802380E4_6F11C4);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/goombario_6F10E0", func_8023817C_6F125C);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/goombario_6F10E0", func_80238A20_6F1B00);
|
||||
ApiStatus func_80238A20_6F1B00(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
Actor* partnerActor = battleStatus->partnerActor;
|
||||
Vec3f* pos = &partnerActor->walk.currentPos;
|
||||
|
||||
if (isInitialCall) {
|
||||
script->functionTemp[0].s = 0;
|
||||
}
|
||||
|
||||
if (script->functionTemp[0].s == 0) {
|
||||
partnerActor->walk.currentPos.x = partnerActor->currentPos.x;
|
||||
partnerActor->walk.currentPos.y = partnerActor->currentPos.y;
|
||||
partnerActor->walk.currentPos.z = partnerActor->currentPos.z;
|
||||
script->functionTemp[0].s = 1;
|
||||
}
|
||||
|
||||
if (partnerActor->walk.velocity > 0.0f) {
|
||||
set_animation(0x100, 0, partnerActor->animJumpRise);
|
||||
}
|
||||
|
||||
if (partnerActor->walk.velocity < 0.0f) {
|
||||
set_animation(0x100, 0, partnerActor->animJumpFall);
|
||||
}
|
||||
|
||||
partnerActor->walk.currentPos.y = (partnerActor->walk.currentPos.y + partnerActor->walk.velocity);
|
||||
partnerActor->walk.velocity = (partnerActor->walk.velocity - partnerActor->walk.acceleration);
|
||||
add_xz_vec3f(pos, partnerActor->walk.speed, partnerActor->walk.angle);
|
||||
partnerActor->currentPos.x = partnerActor->walk.currentPos.x;
|
||||
partnerActor->currentPos.y = partnerActor->walk.currentPos.y;
|
||||
partnerActor->currentPos.z = partnerActor->walk.currentPos.z;
|
||||
|
||||
if (partnerActor->currentPos.y < 10.0f) {
|
||||
partnerActor->currentPos.y = 10.0f;
|
||||
|
||||
play_movement_dust_effects(2, partnerActor->currentPos.x, partnerActor->currentPos.y, partnerActor->currentPos.z, partnerActor->yaw);
|
||||
play_sound(0x148);
|
||||
|
||||
return ApiStatus_DONE1;
|
||||
}
|
||||
|
||||
return ApiStatus_BLOCK;
|
||||
}
|
||||
|
||||
ApiStatus func_80238B60_6F1C40(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
Actor* partnerActor = battleStatus->partnerActor;
|
||||
Actor* targetActor = get_actor(partnerActor->targetActorID);
|
||||
MessageID* tattle = &bActorTattles[targetActor->actorType];
|
||||
|
||||
script->varTable[0] = *tattle;
|
||||
|
||||
if (script->varTable[0] == NULL) {
|
||||
script->varTable[0] = bActorTattles[0];
|
||||
}
|
||||
|
||||
save_tattle_flags(targetActor->actorType);
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/goombario_6F10E0", func_80238B60_6F1C40);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/goombario_6F10E0", func_80238BCC_6F1CAC);
|
||||
|
||||
@ -49,11 +110,37 @@ INCLUDE_ASM(s32, "battle/partner/goombario_6F10E0", func_80238E74_6F1F54);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/goombario_6F10E0", func_80238EDC_6F1FBC);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/goombario_6F10E0", func_8023903C_6F211C);
|
||||
ApiStatus func_8023903C_6F211C(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/goombario_6F10E0", func_80239068_6F2148);
|
||||
battleStatus->partnerActor->isGlowing = FALSE;
|
||||
battleStatus->flags1 &= ~0x40000000;
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/goombario_6F10E0", func_802390B0_6F2190);
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
ApiStatus func_80239068_6F2148(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
Actor* partnerActor = battleStatus->partnerActor;
|
||||
|
||||
if (!(battleStatus->flags1 & 0x40000000)) {
|
||||
partnerActor->isGlowing = FALSE;
|
||||
}
|
||||
|
||||
script->varTable[0] = partnerActor->isGlowing;
|
||||
partnerActor->isGlowing = FALSE;
|
||||
battleStatus->flags1 &= ~0x40000000;
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
ApiStatus func_802390B0_6F2190(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
|
||||
script->varTable[0] = battleStatus->partnerActor->isGlowing;
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/goombario_6F10E0", func_802390C8_6F21A8);
|
||||
|
||||
|
@ -1,9 +1,104 @@
|
||||
#include "common.h"
|
||||
#define NAMESPACE battle_partner_kooper
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/kooper_6F5E80", func_80238000_6F5E80);
|
||||
#include "common.h"
|
||||
#include "battle/battle.h"
|
||||
|
||||
ApiStatus func_80238000_6F5E80(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
Actor* partnerActor = battleStatus->partnerActor;
|
||||
ActorMovement* partnerActorMovement = &partnerActor->walk;
|
||||
|
||||
if (isInitialCall) {
|
||||
partnerActor->walk.currentPos.x = partnerActor->currentPos.x;
|
||||
partnerActor->walk.currentPos.y = partnerActor->currentPos.y;
|
||||
partnerActor->walk.currentPos.z = partnerActor->currentPos.z;
|
||||
}
|
||||
|
||||
add_xz_vec3f(&partnerActorMovement->currentPos, partnerActor->walk.speed, partnerActor->walk.angle);
|
||||
|
||||
if (partnerActor->walk.speed < 4.0f) {
|
||||
play_movement_dust_effects(0, partnerActor->walk.currentPos.x, partnerActor->walk.currentPos.y, partnerActor->walk.currentPos.z, partnerActor->walk.angle);
|
||||
} else {
|
||||
play_movement_dust_effects(1, partnerActor->walk.currentPos.x, partnerActor->walk.currentPos.y, partnerActor->walk.currentPos.z, partnerActor->walk.angle);
|
||||
}
|
||||
|
||||
partnerActorMovement->speed = partnerActorMovement->speed / 1.5;
|
||||
|
||||
partnerActor->currentPos.x = partnerActorMovement->currentPos.x;
|
||||
partnerActor->currentPos.y = partnerActorMovement->currentPos.y;
|
||||
partnerActor->currentPos.z = partnerActorMovement->currentPos.z;
|
||||
|
||||
if (partnerActorMovement->speed < 1.0) {
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
return ApiStatus_BLOCK;
|
||||
}
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/kooper_6F5E80", func_80238114_6F5F94);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/kooper_6F5E80", func_80238298_6F6118);
|
||||
ApiStatus N(AverageTargetDizzyChance)(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
Actor* partnerActor = battleStatus->partnerActor;
|
||||
Actor* targetActor;
|
||||
ActorPart* targetActorPart;
|
||||
s32 targetActorDescBaseStatusChance;
|
||||
s32 chanceTotal = 0;
|
||||
s32 nTargets = 0;
|
||||
s32 i;
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/kooper_6F5E80", func_802383C0_6F6240);
|
||||
for (i = 0; i < partnerActor->targetListLength; i++) {
|
||||
targetActor = get_actor(partnerActor->targetData[i].actorID);
|
||||
targetActorPart = get_actor_part(targetActor, partnerActor->targetData[i].partID);
|
||||
targetActorDescBaseStatusChance = lookup_status_chance(targetActor->statusTable, Debuff_DIZZY);
|
||||
|
||||
if (targetActor->transStatus == 14) {
|
||||
targetActorDescBaseStatusChance = 0;
|
||||
}
|
||||
|
||||
if (targetActorPart->eventFlags & 0x20) {
|
||||
targetActorDescBaseStatusChance = 0;
|
||||
}
|
||||
|
||||
if (targetActorDescBaseStatusChance > 0) {
|
||||
chanceTotal += targetActorDescBaseStatusChance;
|
||||
nTargets++;
|
||||
}
|
||||
}
|
||||
|
||||
if (nTargets > 0) {
|
||||
script->varTable[0] = chanceTotal / nTargets;
|
||||
} else {
|
||||
script->varTable[0] = 0;
|
||||
}
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
ApiStatus func_802383C0_6F6240(ScriptInstance* script, s32 isInitialCall) {
|
||||
s32 var0 = script->varTable[0];
|
||||
s32 var1;
|
||||
s32 var2;
|
||||
|
||||
if (var0 < 36) {
|
||||
var1 = 1;
|
||||
var2 = 0;
|
||||
} else if (var0 < 61) {
|
||||
var1 = 3;
|
||||
var2 = 1;
|
||||
} else if (var0 < 81) {
|
||||
var1 = 4;
|
||||
var2 = 2;
|
||||
} else if (var0 < 100) {
|
||||
var1 = 5;
|
||||
var2 = 3;
|
||||
} else {
|
||||
var1 = 6;
|
||||
var2 = 4;
|
||||
}
|
||||
|
||||
script->varTable[14] = var2;
|
||||
script->varTable[15] = var1;
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
@ -3,12 +3,69 @@
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/parakarry_6FFD80", func_80238000_6FFD80);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/parakarry_6FFD80", func_80238C88_700A08);
|
||||
ApiStatus func_80238C88_700A08(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
s32 var0 = 0;
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/parakarry_6FFD80", func_80238CE0_700A60);
|
||||
switch (battleStatus->partnerActor->staticActorData->level) {
|
||||
case 0:
|
||||
var0 = 5;
|
||||
break;
|
||||
case 1:
|
||||
var0 = 6;
|
||||
break;
|
||||
case 2:
|
||||
var0 = 7;
|
||||
break;
|
||||
}
|
||||
|
||||
script->varTable[15] = var0;
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
ApiStatus func_80238CE0_700A60(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
Actor* partnerActor = battleStatus->partnerActor;
|
||||
Actor* targetActor = get_actor(partnerActor->targetActorID);
|
||||
ActorPart* targetActorPart = get_actor_part(targetActor, partnerActor->targetPartIndex);
|
||||
s32 airLiftChance = targetActor->staticActorData->airLiftChance;
|
||||
s32 temp = 100 - (targetActor->currentHP * 100) / targetActor->maxHP;
|
||||
|
||||
if (targetActor->transStatus == 14) {
|
||||
airLiftChance = 0;
|
||||
}
|
||||
|
||||
if (targetActorPart->eventFlags & 0x20) {
|
||||
airLiftChance = 0;
|
||||
}
|
||||
|
||||
if (airLiftChance > 0) {
|
||||
airLiftChance = airLiftChance + ((airLiftChance * temp) / 100);
|
||||
|
||||
if (airLiftChance > 100) {
|
||||
airLiftChance = 100;
|
||||
}
|
||||
|
||||
if (targetActor->debuff != 0) {
|
||||
airLiftChance = (airLiftChance * 150) / 100;
|
||||
|
||||
if (airLiftChance > 150) {
|
||||
airLiftChance = 150;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
script->varTable[0] = airLiftChance;
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/parakarry_6FFD80", func_80238E24_700BA4);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/parakarry_6FFD80", func_802390B4_700E34);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/parakarry_6FFD80", func_802397C8_701548);
|
||||
ApiStatus func_802397C8_701548(ScriptInstance* script, s32 isInitialCall) {
|
||||
script->varTable[15] = ((script->varTable[0] * 100) / 2499) + 2;
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
@ -1,5 +1,7 @@
|
||||
#include "common.h"
|
||||
|
||||
extern s32* D_802382F8_714FE8[];
|
||||
|
||||
ApiStatus func_80238000_714CF0(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
|
||||
@ -12,4 +14,22 @@ ApiStatus func_80238000_714CF0(ScriptInstance* script, s32 isInitialCall) {
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
#ifdef NON_MATCHING
|
||||
ApiStatus func_80238028_714D18(ScriptInstance* script, s32 isInitialCall) {
|
||||
Actor* actor = get_actor(script->owner1.actorID);
|
||||
s32* var0 = &D_802382F8_714FE8[0];
|
||||
s32 var4 = *D_802382F8_714FE8[1];
|
||||
//s32* var4 = (*&var0);
|
||||
s32 var1 = *var0 + 18;
|
||||
f32 var2;
|
||||
|
||||
var1 = clamp_angle(var4 + 18);
|
||||
var2 = var1 * 6.28318f;
|
||||
|
||||
actor->unk_19A = 2.0f * sin_rad(var2 / 360.0f);
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
#else
|
||||
INCLUDE_ASM(s32, "battle/partner/twink_714CF0", func_80238028_714D18);
|
||||
#endif
|
||||
|
@ -1,3 +1,5 @@
|
||||
#define NAMESPACE battle_partner_watt
|
||||
|
||||
#include "common.h"
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/watt_703AF0", func_80238000_703AF0);
|
||||
@ -36,4 +38,40 @@ INCLUDE_ASM(s32, "battle/partner/watt_703AF0", func_80238C08_7046F8);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/watt_703AF0", func_80238C84_704774);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/partner/watt_703AF0", func_80238E5C_70494C);
|
||||
ApiStatus N(AverageTargetParalyzeChance)(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
Actor* partnerActor = battleStatus->partnerActor;
|
||||
Actor* targetActor;
|
||||
ActorPart* targetActorPart;
|
||||
s32 targetActorDescBaseStatusChance;
|
||||
s32 chanceTotal = 0;
|
||||
s32 nTargets = 0;
|
||||
s32 i;
|
||||
|
||||
for (i = 0; i < partnerActor->targetListLength; i++) {
|
||||
targetActor = get_actor(partnerActor->targetData[i].actorID);
|
||||
targetActorPart = get_actor_part(targetActor, partnerActor->targetData[i].partID);
|
||||
targetActorDescBaseStatusChance = lookup_status_chance(targetActor->statusTable, Debuff_PARALYZE);
|
||||
|
||||
if (targetActor->transStatus == 14) {
|
||||
targetActorDescBaseStatusChance = 0;
|
||||
}
|
||||
|
||||
if (targetActorPart->eventFlags & 0x20) {
|
||||
targetActorDescBaseStatusChance = 0;
|
||||
}
|
||||
|
||||
if (targetActorDescBaseStatusChance > 0) {
|
||||
chanceTotal += targetActorDescBaseStatusChance;
|
||||
nTargets++;
|
||||
}
|
||||
}
|
||||
|
||||
if (nTargets > 0) {
|
||||
script->varTable[0] = chanceTotal / nTargets;
|
||||
} else {
|
||||
script->varTable[0] = 0;
|
||||
}
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
HitResult calc_item_check_hit(void) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
ActorMovePos* movePos = &battleStatus->playerActor->movePos;
|
||||
ActorMovement* walk = &battleStatus->playerActor->walk;
|
||||
ActorID actorID = battleStatus->currentTargetID;
|
||||
s8 currentTargetPartS8;
|
||||
u32 currentTargetPart;
|
||||
@ -23,11 +23,11 @@ HitResult calc_item_check_hit(void) {
|
||||
return HitResult_MISS;
|
||||
}
|
||||
if (actor->stoneStatus == 0xC) {
|
||||
play_sound_at_position(0x10C, 0, movePos->goal.x, movePos->goal.y, movePos->goal.z);
|
||||
play_sound_at_position(0x10C, 0, walk->goalPos.x, walk->goalPos.y, walk->goalPos.z);
|
||||
return HitResult_IMMUNE;
|
||||
}
|
||||
if ((battleStatus->currentAttackElement & 0x80) && (actorPart->eventFlags & 0x10)) {
|
||||
play_sound_at_position(0xE9, 0, movePos->goal.x, movePos->goal.y, movePos->goal.z);
|
||||
play_sound_at_position(0xE9, 0, walk->goalPos.x, walk->goalPos.y, walk->goalPos.z);
|
||||
return HitResult_LANDED_ON_SPIKE;
|
||||
}
|
||||
} else {
|
||||
|
@ -2,7 +2,23 @@
|
||||
|
||||
INCLUDE_ASM(s32, "code_18F340", func_80260A60);
|
||||
|
||||
INCLUDE_ASM(s32, "code_18F340", func_80260AD4);
|
||||
ApiStatus IsPartnerImmobile(ScriptInstance* script, s32 isInitialCall) {
|
||||
BattleStatus* battleStatus = &gBattleStatus;
|
||||
Actor* playerActor = battleStatus->playerActor;
|
||||
s32 isImmobile = playerActor->debuff == Debuff_FEAR
|
||||
|| playerActor->debuff == Debuff_DIZZY
|
||||
|| playerActor->debuff == Debuff_PARALYZE
|
||||
|| playerActor->debuff == Debuff_SLEEP
|
||||
|| playerActor->debuff == Debuff_FROZEN
|
||||
|| playerActor->debuff == Debuff_STOP;
|
||||
|
||||
if (playerActor->stoneStatus == 12) {
|
||||
isImmobile = TRUE;
|
||||
}
|
||||
|
||||
script->varTable[0] = isImmobile;
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
INCLUDE_ASM(s32, "code_18F340", activate_defend_command);
|
||||
|
||||
|
@ -1103,13 +1103,13 @@ INCLUDE_ASM(s32, "code_190B20", func_80263FE8);
|
||||
|
||||
INCLUDE_ASM(s32, "code_190B20", func_80264084);
|
||||
|
||||
INCLUDE_ASM(s32, "code_190B20", add_xz_vec3f);
|
||||
INCLUDE_ASM(void, "code_190B20", add_xz_vec3f, Vec3f* vector, f32 speed, f32 angleDeg);
|
||||
|
||||
INCLUDE_ASM(s32, "code_190B20", add_xz_vec3f_copy1);
|
||||
INCLUDE_ASM(void, "code_190B20", add_xz_vec3f_copy1, Vec3f* vector, f32 speed, f32 angleDeg);
|
||||
|
||||
INCLUDE_ASM(s32, "code_190B20", add_xz_vec3f_copy2);
|
||||
INCLUDE_ASM(void, "code_190B20", add_xz_vec3f_copy2, Vec3f* vector, f32 speed, f32 angleDeg);
|
||||
|
||||
INCLUDE_ASM(s32, "code_190B20", play_movement_dust_effects);
|
||||
INCLUDE_ASM(void, "code_190B20", play_movement_dust_effects, s32 var0, f32 xPos, f32 yPos, f32 zPos, f32 angleDeg);
|
||||
|
||||
ActorPart* get_actor_part(Actor* actor, s32 partIndex) {
|
||||
ActorPart* part = &actor->partsTable[0];
|
||||
|
@ -132,9 +132,9 @@ ApiStatus SetGoalToHome(ScriptInstance* script, s32 isInitialCall) {
|
||||
}
|
||||
|
||||
actor = get_actor(actorID);
|
||||
actor->movePos.goal.x = actor->homePos.x;
|
||||
actor->movePos.goal.y = actor->homePos.y;
|
||||
actor->movePos.goal.z = actor->homePos.z;
|
||||
actor->walk.goalPos.x = actor->homePos.x;
|
||||
actor->walk.goalPos.y = actor->homePos.y;
|
||||
actor->walk.goalPos.z = actor->homePos.z;
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
@ -148,9 +148,9 @@ ApiStatus SetIdleGoalToHome(ScriptInstance* script, s32 isInitialCall) {
|
||||
}
|
||||
|
||||
actor = get_actor(actorID);
|
||||
actor->flyPos.goal.x = actor->homePos.x;
|
||||
actor->flyPos.goal.y = actor->homePos.y;
|
||||
actor->flyPos.goal.z = actor->homePos.z;
|
||||
actor->fly.goalPos.x = actor->homePos.x;
|
||||
actor->fly.goalPos.y = actor->homePos.y;
|
||||
actor->fly.goalPos.z = actor->homePos.z;
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
@ -264,7 +264,7 @@ ApiStatus SetGoalToTarget(ScriptInstance* script, s32 isInitialCall) {
|
||||
}
|
||||
actor = get_actor(actorID);
|
||||
|
||||
set_goal_pos_to_part(&actor->movePos, actor->targetActorID, actor->targetPartIndex);
|
||||
set_goal_pos_to_part(&actor->walk, actor->targetActorID, actor->targetPartIndex);
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
@ -297,7 +297,7 @@ ApiStatus SetGoalToFirstTarget(ScriptInstance* script, s32 isInitialCall) {
|
||||
actor = get_actor(actorID);
|
||||
|
||||
target = &actor->targetData[actor->targetIndexList[0]];
|
||||
set_goal_pos_to_part(&actor->movePos, target->actorID, target->partID);
|
||||
set_goal_pos_to_part(&actor->walk, target->actorID, target->partID);
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
@ -306,38 +306,38 @@ ApiStatus SetGoalPos(ScriptInstance* script, s32 isInitialCall) {
|
||||
Bytecode* args = script->ptrReadPos;
|
||||
ActorID actorID = get_variable(script, *args++);
|
||||
Actor* actor;
|
||||
ActorMovePos* movePos;
|
||||
ActorMovement* walk;
|
||||
f32 x, y, z;
|
||||
|
||||
if (actorID == ActorID_SELF) {
|
||||
actorID = script->owner1.actorID;
|
||||
}
|
||||
actor = get_actor(actorID);
|
||||
movePos = &actor->movePos;
|
||||
walk = &actor->walk;
|
||||
|
||||
if (*args == -12345678) {
|
||||
x = actor->movePos.goal.x;
|
||||
x = actor->walk.goalPos.x;
|
||||
} else {
|
||||
x = get_variable(script, *args);
|
||||
}
|
||||
|
||||
*args++;
|
||||
if (*args == -12345678) {
|
||||
y = movePos->goal.y;
|
||||
y = walk->goalPos.y;
|
||||
} else {
|
||||
y = get_variable(script, *args);
|
||||
}
|
||||
|
||||
*args++;
|
||||
if (*args == -12345678) {
|
||||
z = movePos->goal.z;
|
||||
z = walk->goalPos.z;
|
||||
} else {
|
||||
z = get_variable(script, *args);
|
||||
}
|
||||
|
||||
movePos->goal.x = x;
|
||||
movePos->goal.y = y;
|
||||
movePos->goal.z = z;
|
||||
walk->goalPos.x = x;
|
||||
walk->goalPos.y = y;
|
||||
walk->goalPos.z = z;
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
@ -346,38 +346,38 @@ ApiStatus SetIdleGoal(ScriptInstance* script, s32 isInitialCall) {
|
||||
Bytecode* args = script->ptrReadPos;
|
||||
ActorID actorID = get_variable(script, *args++);
|
||||
Actor* actor;
|
||||
ActorFlyPos* flyPos;
|
||||
ActorMovement* fly;
|
||||
f32 x, y, z;
|
||||
|
||||
if (actorID == ActorID_SELF) {
|
||||
actorID = script->owner1.actorID;
|
||||
}
|
||||
actor = get_actor(actorID);
|
||||
flyPos = &actor->flyPos;
|
||||
fly = &actor->fly;
|
||||
|
||||
if (*args == -12345678) {
|
||||
x = actor->flyPos.goal.x;
|
||||
x = actor->fly.goalPos.x;
|
||||
} else {
|
||||
x = get_variable(script, *args);
|
||||
}
|
||||
|
||||
*args++;
|
||||
if (*args == -12345678) {
|
||||
y = flyPos->goal.y;
|
||||
y = fly->goalPos.y;
|
||||
} else {
|
||||
y = get_variable(script, *args);
|
||||
}
|
||||
|
||||
*args++;
|
||||
if (*args == -12345678) {
|
||||
z = flyPos->goal.z;
|
||||
z = fly->goalPos.z;
|
||||
} else {
|
||||
z = get_variable(script, *args);
|
||||
}
|
||||
|
||||
flyPos->goal.x = x;
|
||||
flyPos->goal.y = y;
|
||||
flyPos->goal.z = z;
|
||||
fly->goalPos.x = x;
|
||||
fly->goalPos.y = y;
|
||||
fly->goalPos.z = z;
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
@ -396,9 +396,9 @@ ApiStatus AddGoalPos(ScriptInstance* script, s32 isInitialCall) {
|
||||
z = get_float_variable(script, *args++);
|
||||
|
||||
actor = get_actor(actorID);
|
||||
actor->movePos.goal.x += x;
|
||||
actor->movePos.goal.y += y;
|
||||
actor->movePos.goal.z += z;
|
||||
actor->walk.goalPos.x += x;
|
||||
actor->walk.goalPos.y += y;
|
||||
actor->walk.goalPos.z += z;
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
@ -420,9 +420,9 @@ ApiStatus GetGoalPos(ScriptInstance* script, s32 isInitialCall) {
|
||||
outY = *args++;
|
||||
outZ = *args++;
|
||||
|
||||
x = actor->movePos.goal.x;
|
||||
y = actor->movePos.goal.y;
|
||||
z = actor->movePos.goal.z;
|
||||
x = actor->walk.goalPos.x;
|
||||
y = actor->walk.goalPos.y;
|
||||
z = actor->walk.goalPos.z;
|
||||
|
||||
set_variable(script, outX, x);
|
||||
set_variable(script, outY, y);
|
||||
@ -449,9 +449,9 @@ ApiStatus GetIdleGoal(ScriptInstance* script, s32 isInitialCall) {
|
||||
outY = *args++;
|
||||
outZ = *args++;
|
||||
|
||||
x = actor->flyPos.goal.x;
|
||||
y = actor->flyPos.goal.y;
|
||||
z = actor->flyPos.goal.z;
|
||||
x = actor->fly.goalPos.x;
|
||||
y = actor->fly.goalPos.y;
|
||||
z = actor->fly.goalPos.z;
|
||||
|
||||
set_variable(script, outX, x);
|
||||
set_variable(script, outY, y);
|
||||
@ -826,7 +826,7 @@ ApiStatus SetActorJumpGravity(ScriptInstance* script, s32 isInitialCall) {
|
||||
}
|
||||
|
||||
jumpAccel = get_float_variable(script, *args++);
|
||||
get_actor(actorID)->jumpAccel = jumpAccel;
|
||||
get_actor(actorID)->walk.acceleration = jumpAccel;
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
@ -840,7 +840,7 @@ ApiStatus SetActorIdleJumpGravity(ScriptInstance* script, s32 isInitialCall) {
|
||||
}
|
||||
|
||||
flyJumpAccel = get_float_variable(script, *args++);
|
||||
get_actor(actorID)->flyJumpAccel = flyJumpAccel;
|
||||
get_actor(actorID)->fly.acceleration = flyJumpAccel;
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
@ -854,7 +854,7 @@ ApiStatus SetActorSpeed(ScriptInstance* script, s32 isInitialCall) {
|
||||
}
|
||||
|
||||
moveSpeed = get_float_variable(script, *args++);
|
||||
get_actor(actorID)->moveSpeed = moveSpeed;
|
||||
get_actor(actorID)->walk.speed = moveSpeed;
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
@ -869,7 +869,7 @@ ApiStatus SetActorIdleSpeed(ScriptInstance* script, s32 isInitialCall) {
|
||||
}
|
||||
|
||||
flySpeed = get_float_variable(script, *args++);
|
||||
get_actor(actorID)->flySpeed = flySpeed;
|
||||
get_actor(actorID)->fly.speed = flySpeed;
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
|
@ -110,7 +110,7 @@ ApiStatus func_8027FC90(ScriptInstance* script, s32 isInitialCall) {
|
||||
actor = get_actor(enemyID);
|
||||
battleStatus->flags1 |= 0x20;
|
||||
hitResult = calc_partner_damage_enemy();
|
||||
show_damage_popup(actor->movePos.goal.x, actor->movePos.goal.y, actor->movePos.goal.z, battleStatus->lastAttackDamage);
|
||||
show_damage_popup(actor->walk.goalPos.x, actor->walk.goalPos.y, actor->walk.goalPos.z, battleStatus->lastAttackDamage);
|
||||
set_variable(script, outVar, hitResult);
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
|
@ -6,6 +6,8 @@ extern s32 D_8010C940;
|
||||
extern s32 D_8010C950;
|
||||
extern s32 D_8010C958;
|
||||
|
||||
void func_800E0514(void);
|
||||
|
||||
INCLUDE_ASM(s32, "code_77480", test_below_player);
|
||||
|
||||
INCLUDE_ASM(s32, "code_77480", func_800DE46C);
|
||||
|
@ -49,12 +49,12 @@ INCLUDE_ASM(s32, "os/code_4ac90_len_3910", func_80070070);
|
||||
|
||||
INCLUDE_ASM(s32, "os/code_4ac90_len_3910", func_800700D0);
|
||||
|
||||
INCLUDE_ASM(s32, "os/code_4ac90_len_3910", func_80070130);
|
||||
INCLUDE_ASM(void, "os/code_4ac90_len_3910", func_80070130, s32 arg0, f32 arg1, f32 arg2, f32 arg3);
|
||||
|
||||
INCLUDE_ASM(void, "os/code_4ac90_len_3910", func_80070190, s32 arg0, f32 arg1, f32 arg2, f32 arg3, s32 arg4, f32 arg5,
|
||||
s32 arg6, s32 arg7);
|
||||
|
||||
INCLUDE_ASM(s32, "os/code_4ac90_len_3910", func_800701F0);
|
||||
INCLUDE_ASM(void, "os/code_4ac90_len_3910", func_800701F0, s32 arg0, f32 arg1, f32 arg2, f32 arg3);
|
||||
|
||||
INCLUDE_ASM(s32, "os/code_4ac90_len_3910", func_80070250);
|
||||
|
||||
@ -95,9 +95,9 @@ INCLUDE_ASM(s32, "os/code_4ac90_len_3910", func_800708B0);
|
||||
|
||||
INCLUDE_ASM(s32, "os/code_4ac90_len_3910", func_80070910);
|
||||
|
||||
INCLUDE_ASM(s32, "os/code_4ac90_len_3910", func_80070970);
|
||||
INCLUDE_ASM(void, "os/code_4ac90_len_3910", func_80070970, s32 arg0, f32 arg1, f32 arg2, f32 arg3, s32 arg4, s32 arg5);
|
||||
|
||||
INCLUDE_ASM(s32, "os/code_4ac90_len_3910", func_800709D0);
|
||||
INCLUDE_ASM(void, "os/code_4ac90_len_3910", func_800709D0, s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5);
|
||||
|
||||
INCLUDE_ASM(s32, "os/code_4ac90_len_3910", func_80070A30);
|
||||
|
||||
@ -215,7 +215,7 @@ INCLUDE_ASM(s32, "os/code_4ac90_len_3910", func_80071F30);
|
||||
|
||||
INCLUDE_ASM(s32, "os/code_4ac90_len_3910", func_80071F90);
|
||||
|
||||
INCLUDE_ASM(s32, "os/code_4ac90_len_3910", func_80071FF0);
|
||||
INCLUDE_ASM(void, "os/code_4ac90_len_3910", func_80071FF0, s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5);
|
||||
|
||||
INCLUDE_ASM(s32, "os/code_4ac90_len_3910", func_80072050);
|
||||
|
||||
|
@ -8,9 +8,9 @@ ApiStatus N(UnkMoveFunc1)(ScriptInstance* script, s32 isInitialCall) {
|
||||
f32 posX = playerActor->currentPos.x;
|
||||
f32 posY = playerActor->currentPos.y;
|
||||
f32 posZ = playerActor->currentPos.z;
|
||||
f32 goalX = playerActor->movePos.goal.x;
|
||||
f32 goalY = playerActor->movePos.goal.y;
|
||||
f32 goalZ = playerActor->movePos.goal.z;
|
||||
f32 goalX = playerActor->walk.goalPos.x;
|
||||
f32 goalY = playerActor->walk.goalPos.y;
|
||||
f32 goalZ = playerActor->walk.goalPos.z;
|
||||
|
||||
script->varTable[0] = (dist3D(posX, posY, posZ, goalX, goalY, goalZ) * 15.0f) / 100.0f;
|
||||
|
||||
|
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
@ -1,64 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A10A4_756824
|
||||
/* 756824 802A10A4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 756828 802A10A8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 75682C 802A10AC 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 756830 802A10B0 10A00002 */ beqz $a1, .L802A10BC
|
||||
/* 756834 802A10B4 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 756838 802A10B8 AE000070 */ sw $zero, 0x70($s0)
|
||||
.L802A10BC:
|
||||
/* 75683C 802A10BC 8E030070 */ lw $v1, 0x70($s0)
|
||||
/* 756840 802A10C0 10600005 */ beqz $v1, .L802A10D8
|
||||
/* 756844 802A10C4 24020001 */ addiu $v0, $zero, 1
|
||||
/* 756848 802A10C8 10620007 */ beq $v1, $v0, .L802A10E8
|
||||
/* 75684C 802A10CC 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 756850 802A10D0 080A845B */ j .L802A116C
|
||||
/* 756854 802A10D4 00000000 */ nop
|
||||
.L802A10D8:
|
||||
/* 756858 802A10D8 2402001E */ addiu $v0, $zero, 0x1e
|
||||
/* 75685C 802A10DC AE020074 */ sw $v0, 0x74($s0)
|
||||
/* 756860 802A10E0 24020001 */ addiu $v0, $zero, 1
|
||||
/* 756864 802A10E4 AE020070 */ sw $v0, 0x70($s0)
|
||||
.L802A10E8:
|
||||
/* 756868 802A10E8 24040001 */ addiu $a0, $zero, 1
|
||||
/* 75686C 802A10EC 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 756870 802A10F0 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 756874 802A10F4 0C04DF93 */ jal set_transition_stencil_center
|
||||
/* 756878 802A10F8 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 75687C 802A10FC 24040001 */ addiu $a0, $zero, 1
|
||||
/* 756880 802A1100 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 756884 802A1104 24060140 */ addiu $a2, $zero, 0x140
|
||||
/* 756888 802A1108 0C04DF93 */ jal set_transition_stencil_center
|
||||
/* 75688C 802A110C 240700F0 */ addiu $a3, $zero, 0xf0
|
||||
/* 756890 802A1110 3C054320 */ lui $a1, 0x4320
|
||||
/* 756894 802A1114 0C04DF69 */ jal set_transition_stencil_zoom_1
|
||||
/* 756898 802A1118 2404000C */ addiu $a0, $zero, 0xc
|
||||
/* 75689C 802A111C 8E020074 */ lw $v0, 0x74($s0)
|
||||
/* 7568A0 802A1120 14400010 */ bnez $v0, .L802A1164
|
||||
/* 7568A4 802A1124 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 7568A8 802A1128 24040001 */ addiu $a0, $zero, 1
|
||||
/* 7568AC 802A112C 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 7568B0 802A1130 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 7568B4 802A1134 0C04DF93 */ jal set_transition_stencil_center
|
||||
/* 7568B8 802A1138 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 7568BC 802A113C 24040001 */ addiu $a0, $zero, 1
|
||||
/* 7568C0 802A1140 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 7568C4 802A1144 24060140 */ addiu $a2, $zero, 0x140
|
||||
/* 7568C8 802A1148 0C04DF93 */ jal set_transition_stencil_center
|
||||
/* 7568CC 802A114C 240700F0 */ addiu $a3, $zero, 0xf0
|
||||
/* 7568D0 802A1150 2404000C */ addiu $a0, $zero, 0xc
|
||||
/* 7568D4 802A1154 0C04DF69 */ jal set_transition_stencil_zoom_1
|
||||
/* 7568D8 802A1158 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 7568DC 802A115C 080A845B */ j .L802A116C
|
||||
/* 7568E0 802A1160 24020002 */ addiu $v0, $zero, 2
|
||||
.L802A1164:
|
||||
/* 7568E4 802A1164 AE020074 */ sw $v0, 0x74($s0)
|
||||
/* 7568E8 802A1168 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802A116C:
|
||||
/* 7568EC 802A116C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 7568F0 802A1170 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7568F4 802A1174 03E00008 */ jr $ra
|
||||
/* 7568F8 802A1178 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
/* 7568FC 802A117C 00000000 */ nop
|
@ -1,33 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_737890
|
||||
/* 737890 802A1000 3C02800E */ lui $v0, %hi(gBattleStatus+0xD8)
|
||||
/* 737894 802A1004 8C42C148 */ lw $v0, %lo(gBattleStatus+0xD8)($v0)
|
||||
/* 737898 802A1008 3C0141A0 */ lui $at, 0x41a0
|
||||
/* 73789C 802A100C 44810000 */ mtc1 $at, $f0
|
||||
/* 7378A0 802A1010 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 7378A4 802A1014 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 7378A8 802A1018 C4420144 */ lwc1 $f2, 0x144($v0)
|
||||
/* 7378AC 802A101C 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 7378B0 802A1020 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 7378B4 802A1024 3C014170 */ lui $at, 0x4170
|
||||
/* 7378B8 802A1028 44810000 */ mtc1 $at, $f0
|
||||
/* 7378BC 802A102C 44051000 */ mfc1 $a1, $f2
|
||||
/* 7378C0 802A1030 C4420148 */ lwc1 $f2, 0x148($v0)
|
||||
/* 7378C4 802A1034 C444014C */ lwc1 $f4, 0x14c($v0)
|
||||
/* 7378C8 802A1038 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 7378CC 802A103C 3C0140A0 */ lui $at, 0x40a0
|
||||
/* 7378D0 802A1040 44810000 */ mtc1 $at, $f0
|
||||
/* 7378D4 802A1044 24020006 */ addiu $v0, $zero, 6
|
||||
/* 7378D8 802A1048 46002100 */ add.s $f4, $f4, $f0
|
||||
/* 7378DC 802A104C AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 7378E0 802A1050 44061000 */ mfc1 $a2, $f2
|
||||
/* 7378E4 802A1054 44072000 */ mfc1 $a3, $f4
|
||||
/* 7378E8 802A1058 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 7378EC 802A105C 0C01C25C */ jal func_80070970
|
||||
/* 7378F0 802A1060 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 7378F4 802A1064 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 7378F8 802A1068 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7378FC 802A106C 03E00008 */ jr $ra
|
||||
/* 737900 802A1070 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,34 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1074_737904
|
||||
/* 737904 802A1074 3C02800E */ lui $v0, %hi(gBattleStatus+0xD8)
|
||||
/* 737908 802A1078 8C42C148 */ lw $v0, %lo(gBattleStatus+0xD8)($v0)
|
||||
/* 73790C 802A107C 3C0141A0 */ lui $at, 0x41a0
|
||||
/* 737910 802A1080 44810000 */ mtc1 $at, $f0
|
||||
/* 737914 802A1084 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 737918 802A1088 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 73791C 802A108C C4420144 */ lwc1 $f2, 0x144($v0)
|
||||
/* 737920 802A1090 C4440148 */ lwc1 $f4, 0x148($v0)
|
||||
/* 737924 802A1094 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 737928 802A1098 3C014170 */ lui $at, 0x4170
|
||||
/* 73792C 802A109C 44810000 */ mtc1 $at, $f0
|
||||
/* 737930 802A10A0 C446014C */ lwc1 $f6, 0x14c($v0)
|
||||
/* 737934 802A10A4 46002100 */ add.s $f4, $f4, $f0
|
||||
/* 737938 802A10A8 3C0140A0 */ lui $at, 0x40a0
|
||||
/* 73793C 802A10AC 44810000 */ mtc1 $at, $f0
|
||||
/* 737940 802A10B0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 737944 802A10B4 46003180 */ add.s $f6, $f6, $f0
|
||||
/* 737948 802A10B8 44051000 */ mfc1 $a1, $f2
|
||||
/* 73794C 802A10BC 3C013F80 */ lui $at, 0x3f80
|
||||
/* 737950 802A10C0 44811000 */ mtc1 $at, $f2
|
||||
/* 737954 802A10C4 44062000 */ mfc1 $a2, $f4
|
||||
/* 737958 802A10C8 44073000 */ mfc1 $a3, $f6
|
||||
/* 73795C 802A10CC 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 737960 802A10D0 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 737964 802A10D4 0C01C274 */ jal func_800709D0
|
||||
/* 737968 802A10D8 E7A20010 */ swc1 $f2, 0x10($sp)
|
||||
/* 73796C 802A10DC 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 737970 802A10E0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 737974 802A10E4 03E00008 */ jr $ra
|
||||
/* 737978 802A10E8 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,161 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238000_6FAD10
|
||||
/* 6FAD10 80238000 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 6FAD14 80238004 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 6FAD18 80238008 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 6FAD1C 8023800C AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 6FAD20 80238010 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 6FAD24 80238014 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 6FAD28 80238018 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 6FAD2C 8023801C F7B60030 */ sdc1 $f22, 0x30($sp)
|
||||
/* 6FAD30 80238020 F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* 6FAD34 80238024 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 6FAD38 80238028 8E050000 */ lw $a1, ($s0)
|
||||
/* 6FAD3C 8023802C 0C0B1EAF */ jal get_variable
|
||||
/* 6FAD40 80238030 26100004 */ addiu $s0, $s0, 4
|
||||
/* 6FAD44 80238034 8E050000 */ lw $a1, ($s0)
|
||||
/* 6FAD48 80238038 26100004 */ addiu $s0, $s0, 4
|
||||
/* 6FAD4C 8023803C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 6FAD50 80238040 0C0B1EAF */ jal get_variable
|
||||
/* 6FAD54 80238044 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 6FAD58 80238048 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 6FAD5C 8023804C 8E050000 */ lw $a1, ($s0)
|
||||
/* 6FAD60 80238050 0C0B1EAF */ jal get_variable
|
||||
/* 6FAD64 80238054 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 6FAD68 80238058 4493A000 */ mtc1 $s3, $f20
|
||||
/* 6FAD6C 8023805C 00000000 */ nop
|
||||
/* 6FAD70 80238060 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 6FAD74 80238064 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 6FAD78 80238068 4492B000 */ mtc1 $s2, $f22
|
||||
/* 6FAD7C 8023806C 00000000 */ nop
|
||||
/* 6FAD80 80238070 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* 6FAD84 80238074 44900000 */ mtc1 $s0, $f0
|
||||
/* 6FAD88 80238078 00000000 */ nop
|
||||
/* 6FAD8C 8023807C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6FAD90 80238080 4405A000 */ mfc1 $a1, $f20
|
||||
/* 6FAD94 80238084 4407B000 */ mfc1 $a3, $f22
|
||||
/* 6FAD98 80238088 44060000 */ mfc1 $a2, $f0
|
||||
/* 6FAD9C 8023808C 0C01C04C */ jal func_80070130
|
||||
/* 6FADA0 80238090 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 6FADA4 80238094 3C03800E */ lui $v1, %hi(gBattleStatus+0x17C)
|
||||
/* 6FADA8 80238098 8463C1EC */ lh $v1, %lo(gBattleStatus+0x17C)($v1)
|
||||
/* 6FADAC 8023809C 24020093 */ addiu $v0, $zero, 0x93
|
||||
/* 6FADB0 802380A0 1062001F */ beq $v1, $v0, .L80238120
|
||||
/* 6FADB4 802380A4 28620094 */ slti $v0, $v1, 0x94
|
||||
/* 6FADB8 802380A8 10400005 */ beqz $v0, .L802380C0
|
||||
/* 6FADBC 802380AC 24020092 */ addiu $v0, $zero, 0x92
|
||||
/* 6FADC0 802380B0 10620008 */ beq $v1, $v0, .L802380D4
|
||||
/* 6FADC4 802380B4 00000000 */ nop
|
||||
/* 6FADC8 802380B8 0808E074 */ j .L802381D0
|
||||
/* 6FADCC 802380BC 00000000 */ nop
|
||||
.L802380C0:
|
||||
/* 6FADD0 802380C0 24020094 */ addiu $v0, $zero, 0x94
|
||||
/* 6FADD4 802380C4 1062002C */ beq $v1, $v0, .L80238178
|
||||
/* 6FADD8 802380C8 00000000 */ nop
|
||||
/* 6FADDC 802380CC 0808E074 */ j .L802381D0
|
||||
/* 6FADE0 802380D0 00000000 */ nop
|
||||
.L802380D4:
|
||||
/* 6FADE4 802380D4 8E2200AC */ lw $v0, 0xac($s1)
|
||||
/* 6FADE8 802380D8 18400009 */ blez $v0, .L80238100
|
||||
/* 6FADEC 802380DC 26020014 */ addiu $v0, $s0, 0x14
|
||||
/* 6FADF0 802380E0 44820000 */ mtc1 $v0, $f0
|
||||
/* 6FADF4 802380E4 00000000 */ nop
|
||||
/* 6FADF8 802380E8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6FADFC 802380EC 4405A000 */ mfc1 $a1, $f20
|
||||
/* 6FAE00 802380F0 4407B000 */ mfc1 $a3, $f22
|
||||
/* 6FAE04 802380F4 44060000 */ mfc1 $a2, $f0
|
||||
/* 6FAE08 802380F8 0808E082 */ j .L80238208
|
||||
/* 6FAE0C 802380FC 24040001 */ addiu $a0, $zero, 1
|
||||
.L80238100:
|
||||
/* 6FAE10 80238100 44820000 */ mtc1 $v0, $f0
|
||||
/* 6FAE14 80238104 00000000 */ nop
|
||||
/* 6FAE18 80238108 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6FAE1C 8023810C 4405A000 */ mfc1 $a1, $f20
|
||||
/* 6FAE20 80238110 4407B000 */ mfc1 $a3, $f22
|
||||
/* 6FAE24 80238114 44060000 */ mfc1 $a2, $f0
|
||||
/* 6FAE28 80238118 0808E082 */ j .L80238208
|
||||
/* 6FAE2C 8023811C 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80238120:
|
||||
/* 6FAE30 80238120 8E2200AC */ lw $v0, 0xac($s1)
|
||||
/* 6FAE34 80238124 18400009 */ blez $v0, .L8023814C
|
||||
/* 6FAE38 80238128 26020014 */ addiu $v0, $s0, 0x14
|
||||
/* 6FAE3C 8023812C 44820000 */ mtc1 $v0, $f0
|
||||
/* 6FAE40 80238130 00000000 */ nop
|
||||
/* 6FAE44 80238134 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6FAE48 80238138 4405A000 */ mfc1 $a1, $f20
|
||||
/* 6FAE4C 8023813C 4407B000 */ mfc1 $a3, $f22
|
||||
/* 6FAE50 80238140 44060000 */ mfc1 $a2, $f0
|
||||
/* 6FAE54 80238144 0808E05A */ j .L80238168
|
||||
/* 6FAE58 80238148 24040001 */ addiu $a0, $zero, 1
|
||||
.L8023814C:
|
||||
/* 6FAE5C 8023814C 44820000 */ mtc1 $v0, $f0
|
||||
/* 6FAE60 80238150 00000000 */ nop
|
||||
/* 6FAE64 80238154 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6FAE68 80238158 4405A000 */ mfc1 $a1, $f20
|
||||
/* 6FAE6C 8023815C 4407B000 */ mfc1 $a3, $f22
|
||||
/* 6FAE70 80238160 44060000 */ mfc1 $a2, $f0
|
||||
/* 6FAE74 80238164 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80238168:
|
||||
/* 6FAE78 80238168 0C01C07C */ jal func_800701F0
|
||||
/* 6FAE7C 8023816C 00000000 */ nop
|
||||
/* 6FAE80 80238170 0808E085 */ j .L80238214
|
||||
/* 6FAE84 80238174 24042017 */ addiu $a0, $zero, 0x2017
|
||||
.L80238178:
|
||||
/* 6FAE88 80238178 8E2200AC */ lw $v0, 0xac($s1)
|
||||
/* 6FAE8C 8023817C 18400009 */ blez $v0, .L802381A4
|
||||
/* 6FAE90 80238180 26020014 */ addiu $v0, $s0, 0x14
|
||||
/* 6FAE94 80238184 44820000 */ mtc1 $v0, $f0
|
||||
/* 6FAE98 80238188 00000000 */ nop
|
||||
/* 6FAE9C 8023818C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6FAEA0 80238190 4405A000 */ mfc1 $a1, $f20
|
||||
/* 6FAEA4 80238194 4407B000 */ mfc1 $a3, $f22
|
||||
/* 6FAEA8 80238198 44060000 */ mfc1 $a2, $f0
|
||||
/* 6FAEAC 8023819C 0808E070 */ j .L802381C0
|
||||
/* 6FAEB0 802381A0 24040002 */ addiu $a0, $zero, 2
|
||||
.L802381A4:
|
||||
/* 6FAEB4 802381A4 44820000 */ mtc1 $v0, $f0
|
||||
/* 6FAEB8 802381A8 00000000 */ nop
|
||||
/* 6FAEBC 802381AC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6FAEC0 802381B0 4405A000 */ mfc1 $a1, $f20
|
||||
/* 6FAEC4 802381B4 4407B000 */ mfc1 $a3, $f22
|
||||
/* 6FAEC8 802381B8 44060000 */ mfc1 $a2, $f0
|
||||
/* 6FAECC 802381BC 24040001 */ addiu $a0, $zero, 1
|
||||
.L802381C0:
|
||||
/* 6FAED0 802381C0 0C01C07C */ jal func_800701F0
|
||||
/* 6FAED4 802381C4 00000000 */ nop
|
||||
/* 6FAED8 802381C8 0808E085 */ j .L80238214
|
||||
/* 6FAEDC 802381CC 24042017 */ addiu $a0, $zero, 0x2017
|
||||
.L802381D0:
|
||||
/* 6FAEE0 802381D0 44930000 */ mtc1 $s3, $f0
|
||||
/* 6FAEE4 802381D4 00000000 */ nop
|
||||
/* 6FAEE8 802381D8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6FAEEC 802381DC 26020014 */ addiu $v0, $s0, 0x14
|
||||
/* 6FAEF0 802381E0 44050000 */ mfc1 $a1, $f0
|
||||
/* 6FAEF4 802381E4 44820000 */ mtc1 $v0, $f0
|
||||
/* 6FAEF8 802381E8 00000000 */ nop
|
||||
/* 6FAEFC 802381EC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6FAF00 802381F0 44060000 */ mfc1 $a2, $f0
|
||||
/* 6FAF04 802381F4 44920000 */ mtc1 $s2, $f0
|
||||
/* 6FAF08 802381F8 00000000 */ nop
|
||||
/* 6FAF0C 802381FC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6FAF10 80238200 44070000 */ mfc1 $a3, $f0
|
||||
/* 6FAF14 80238204 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80238208:
|
||||
/* 6FAF18 80238208 0C01C07C */ jal func_800701F0
|
||||
/* 6FAF1C 8023820C 00000000 */ nop
|
||||
/* 6FAF20 80238210 24042016 */ addiu $a0, $zero, 0x2016
|
||||
.L80238214:
|
||||
/* 6FAF24 80238214 0C05272D */ jal play_sound
|
||||
/* 6FAF28 80238218 00000000 */ nop
|
||||
/* 6FAF2C 8023821C 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 6FAF30 80238220 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 6FAF34 80238224 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 6FAF38 80238228 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 6FAF3C 8023822C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 6FAF40 80238230 D7B60030 */ ldc1 $f22, 0x30($sp)
|
||||
/* 6FAF44 80238234 D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* 6FAF48 80238238 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6FAF4C 8023823C 03E00008 */ jr $ra
|
||||
/* 6FAF50 80238240 27BD0038 */ addiu $sp, $sp, 0x38
|
@ -1,77 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238244_6FAF54
|
||||
/* 6FAF54 80238244 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 6FAF58 80238248 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 6FAF5C 8023824C 3C10800E */ lui $s0, %hi(gBattleStatus+0xDC)
|
||||
/* 6FAF60 80238250 8E10C14C */ lw $s0, %lo(gBattleStatus+0xDC)($s0)
|
||||
/* 6FAF64 80238254 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 6FAF68 80238258 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 6FAF6C 8023825C 10A00007 */ beqz $a1, .L8023827C
|
||||
/* 6FAF70 80238260 2611000C */ addiu $s1, $s0, 0xc
|
||||
/* 6FAF74 80238264 C6000144 */ lwc1 $f0, 0x144($s0)
|
||||
/* 6FAF78 80238268 C6020148 */ lwc1 $f2, 0x148($s0)
|
||||
/* 6FAF7C 8023826C C604014C */ lwc1 $f4, 0x14c($s0)
|
||||
/* 6FAF80 80238270 E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* 6FAF84 80238274 E6020010 */ swc1 $f2, 0x10($s0)
|
||||
/* 6FAF88 80238278 E6040014 */ swc1 $f4, 0x14($s0)
|
||||
.L8023827C:
|
||||
/* 6FAF8C 8023827C 8E05004C */ lw $a1, 0x4c($s0)
|
||||
/* 6FAF90 80238280 8E060054 */ lw $a2, 0x54($s0)
|
||||
/* 6FAF94 80238284 0C09904A */ jal add_xz_vec3f
|
||||
/* 6FAF98 80238288 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 6FAF9C 8023828C C602004C */ lwc1 $f2, 0x4c($s0)
|
||||
/* 6FAFA0 80238290 3C014080 */ lui $at, 0x4080
|
||||
/* 6FAFA4 80238294 44810000 */ mtc1 $at, $f0
|
||||
/* 6FAFA8 80238298 00000000 */ nop
|
||||
/* 6FAFAC 8023829C 4600103C */ c.lt.s $f2, $f0
|
||||
/* 6FAFB0 802382A0 00000000 */ nop
|
||||
/* 6FAFB4 802382A4 45000007 */ bc1f .L802382C4
|
||||
/* 6FAFB8 802382A8 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 6FAFBC 802382AC C6000054 */ lwc1 $f0, 0x54($s0)
|
||||
/* 6FAFC0 802382B0 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 6FAFC4 802382B4 8E05000C */ lw $a1, 0xc($s0)
|
||||
/* 6FAFC8 802382B8 8E060010 */ lw $a2, 0x10($s0)
|
||||
/* 6FAFCC 802382BC 0808E0B7 */ j .L802382DC
|
||||
/* 6FAFD0 802382C0 8E070014 */ lw $a3, 0x14($s0)
|
||||
.L802382C4:
|
||||
/* 6FAFD4 802382C4 C6000054 */ lwc1 $f0, 0x54($s0)
|
||||
/* 6FAFD8 802382C8 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 6FAFDC 802382CC 8E05000C */ lw $a1, 0xc($s0)
|
||||
/* 6FAFE0 802382D0 8E060010 */ lw $a2, 0x10($s0)
|
||||
/* 6FAFE4 802382D4 8E070014 */ lw $a3, 0x14($s0)
|
||||
/* 6FAFE8 802382D8 24040001 */ addiu $a0, $zero, 1
|
||||
.L802382DC:
|
||||
/* 6FAFEC 802382DC 0C0990BC */ jal play_movement_dust_effects
|
||||
/* 6FAFF0 802382E0 00000000 */ nop
|
||||
/* 6FAFF4 802382E4 C6200040 */ lwc1 $f0, 0x40($s1)
|
||||
/* 6FAFF8 802382E8 3C013FF8 */ lui $at, 0x3ff8
|
||||
/* 6FAFFC 802382EC 44811800 */ mtc1 $at, $f3
|
||||
/* 6FB000 802382F0 44801000 */ mtc1 $zero, $f2
|
||||
/* 6FB004 802382F4 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 6FB008 802382F8 46220003 */ div.d $f0, $f0, $f2
|
||||
/* 6FB00C 802382FC C6220000 */ lwc1 $f2, ($s1)
|
||||
/* 6FB010 80238300 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 6FB014 80238304 E6200040 */ swc1 $f0, 0x40($s1)
|
||||
/* 6FB018 80238308 E6020144 */ swc1 $f2, 0x144($s0)
|
||||
/* 6FB01C 8023830C C6200004 */ lwc1 $f0, 4($s1)
|
||||
/* 6FB020 80238310 E6000148 */ swc1 $f0, 0x148($s0)
|
||||
/* 6FB024 80238314 C6200008 */ lwc1 $f0, 8($s1)
|
||||
/* 6FB028 80238318 E600014C */ swc1 $f0, 0x14c($s0)
|
||||
/* 6FB02C 8023831C C6200040 */ lwc1 $f0, 0x40($s1)
|
||||
/* 6FB030 80238320 3C013FF0 */ lui $at, 0x3ff0
|
||||
/* 6FB034 80238324 44811800 */ mtc1 $at, $f3
|
||||
/* 6FB038 80238328 44801000 */ mtc1 $zero, $f2
|
||||
/* 6FB03C 8023832C 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 6FB040 80238330 4622003C */ c.lt.d $f0, $f2
|
||||
/* 6FB044 80238334 00000000 */ nop
|
||||
/* 6FB048 80238338 45010002 */ bc1t .L80238344
|
||||
/* 6FB04C 8023833C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6FB050 80238340 0000102D */ daddu $v0, $zero, $zero
|
||||
.L80238344:
|
||||
/* 6FB054 80238344 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 6FB058 80238348 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 6FB05C 8023834C 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 6FB060 80238350 03E00008 */ jr $ra
|
||||
/* 6FB064 80238354 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,92 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238358_6FB068
|
||||
/* 6FB068 80238358 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 6FB06C 8023835C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 6FB070 80238360 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 6FB074 80238364 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 6FB078 80238368 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 6FB07C 8023836C 8E22000C */ lw $v0, 0xc($s1)
|
||||
/* 6FB080 80238370 8C450000 */ lw $a1, ($v0)
|
||||
/* 6FB084 80238374 3C10800E */ lui $s0, %hi(gBattleStatus+0xDC)
|
||||
/* 6FB088 80238378 8E10C14C */ lw $s0, %lo(gBattleStatus+0xDC)($s0)
|
||||
/* 6FB08C 8023837C 0C0B1EAF */ jal get_variable
|
||||
/* 6FB090 80238380 00000000 */ nop
|
||||
/* 6FB094 80238384 8E030008 */ lw $v1, 8($s0)
|
||||
/* 6FB098 80238388 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 6FB09C 8023838C 90630006 */ lbu $v1, 6($v1)
|
||||
/* 6FB0A0 80238390 24020001 */ addiu $v0, $zero, 1
|
||||
/* 6FB0A4 80238394 1062001A */ beq $v1, $v0, .L80238400
|
||||
/* 6FB0A8 80238398 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 6FB0AC 8023839C 28620002 */ slti $v0, $v1, 2
|
||||
/* 6FB0B0 802383A0 10400005 */ beqz $v0, .L802383B8
|
||||
/* 6FB0B4 802383A4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6FB0B8 802383A8 10600007 */ beqz $v1, .L802383C8
|
||||
/* 6FB0BC 802383AC 28A20064 */ slti $v0, $a1, 0x64
|
||||
/* 6FB0C0 802383B0 0808E11C */ j .L80238470
|
||||
/* 6FB0C4 802383B4 00000000 */ nop
|
||||
.L802383B8:
|
||||
/* 6FB0C8 802383B8 1062001F */ beq $v1, $v0, .L80238438
|
||||
/* 6FB0CC 802383BC 28A20064 */ slti $v0, $a1, 0x64
|
||||
/* 6FB0D0 802383C0 0808E11C */ j .L80238470
|
||||
/* 6FB0D4 802383C4 00000000 */ nop
|
||||
.L802383C8:
|
||||
/* 6FB0D8 802383C8 28A20024 */ slti $v0, $a1, 0x24
|
||||
/* 6FB0DC 802383CC 14400027 */ bnez $v0, .L8023846C
|
||||
/* 6FB0E0 802383D0 24040001 */ addiu $a0, $zero, 1
|
||||
/* 6FB0E4 802383D4 28A2003D */ slti $v0, $a1, 0x3d
|
||||
/* 6FB0E8 802383D8 14400024 */ bnez $v0, .L8023846C
|
||||
/* 6FB0EC 802383DC 24040002 */ addiu $a0, $zero, 2
|
||||
/* 6FB0F0 802383E0 28A20051 */ slti $v0, $a1, 0x51
|
||||
/* 6FB0F4 802383E4 14400021 */ bnez $v0, .L8023846C
|
||||
/* 6FB0F8 802383E8 24040003 */ addiu $a0, $zero, 3
|
||||
/* 6FB0FC 802383EC 28A20064 */ slti $v0, $a1, 0x64
|
||||
/* 6FB100 802383F0 1040001F */ beqz $v0, .L80238470
|
||||
/* 6FB104 802383F4 24040005 */ addiu $a0, $zero, 5
|
||||
/* 6FB108 802383F8 0808E11C */ j .L80238470
|
||||
/* 6FB10C 802383FC 24040004 */ addiu $a0, $zero, 4
|
||||
.L80238400:
|
||||
/* 6FB110 80238400 28A20024 */ slti $v0, $a1, 0x24
|
||||
/* 6FB114 80238404 14400019 */ bnez $v0, .L8023846C
|
||||
/* 6FB118 80238408 24040001 */ addiu $a0, $zero, 1
|
||||
/* 6FB11C 8023840C 28A2003D */ slti $v0, $a1, 0x3d
|
||||
/* 6FB120 80238410 14400016 */ bnez $v0, .L8023846C
|
||||
/* 6FB124 80238414 24040003 */ addiu $a0, $zero, 3
|
||||
/* 6FB128 80238418 28A20051 */ slti $v0, $a1, 0x51
|
||||
/* 6FB12C 8023841C 14400013 */ bnez $v0, .L8023846C
|
||||
/* 6FB130 80238420 24040004 */ addiu $a0, $zero, 4
|
||||
/* 6FB134 80238424 28A20064 */ slti $v0, $a1, 0x64
|
||||
/* 6FB138 80238428 10400011 */ beqz $v0, .L80238470
|
||||
/* 6FB13C 8023842C 24040006 */ addiu $a0, $zero, 6
|
||||
/* 6FB140 80238430 0808E11C */ j .L80238470
|
||||
/* 6FB144 80238434 24040005 */ addiu $a0, $zero, 5
|
||||
.L80238438:
|
||||
/* 6FB148 80238438 28A20024 */ slti $v0, $a1, 0x24
|
||||
/* 6FB14C 8023843C 1440000B */ bnez $v0, .L8023846C
|
||||
/* 6FB150 80238440 24040001 */ addiu $a0, $zero, 1
|
||||
/* 6FB154 80238444 28A2003D */ slti $v0, $a1, 0x3d
|
||||
/* 6FB158 80238448 14400008 */ bnez $v0, .L8023846C
|
||||
/* 6FB15C 8023844C 24040003 */ addiu $a0, $zero, 3
|
||||
/* 6FB160 80238450 28A20051 */ slti $v0, $a1, 0x51
|
||||
/* 6FB164 80238454 14400005 */ bnez $v0, .L8023846C
|
||||
/* 6FB168 80238458 24040005 */ addiu $a0, $zero, 5
|
||||
/* 6FB16C 8023845C 28A20064 */ slti $v0, $a1, 0x64
|
||||
/* 6FB170 80238460 10400003 */ beqz $v0, .L80238470
|
||||
/* 6FB174 80238464 24040007 */ addiu $a0, $zero, 7
|
||||
/* 6FB178 80238468 24040006 */ addiu $a0, $zero, 6
|
||||
.L8023846C:
|
||||
/* 6FB17C 8023846C 28A20064 */ slti $v0, $a1, 0x64
|
||||
.L80238470:
|
||||
/* 6FB180 80238470 54400003 */ bnel $v0, $zero, .L80238480
|
||||
/* 6FB184 80238474 AE200084 */ sw $zero, 0x84($s1)
|
||||
/* 6FB188 80238478 24020001 */ addiu $v0, $zero, 1
|
||||
/* 6FB18C 8023847C AE220084 */ sw $v0, 0x84($s1)
|
||||
.L80238480:
|
||||
/* 6FB190 80238480 AE2400C0 */ sw $a0, 0xc0($s1)
|
||||
/* 6FB194 80238484 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 6FB198 80238488 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 6FB19C 8023848C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 6FB1A0 80238490 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6FB1A4 80238494 03E00008 */ jr $ra
|
||||
/* 6FB1A8 80238498 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,70 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8023849C_6FB1AC
|
||||
/* 6FB1AC 8023849C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 6FB1B0 802384A0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 6FB1B4 802384A4 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 6FB1B8 802384A8 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 6FB1BC 802384AC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 6FB1C0 802384B0 8E22000C */ lw $v0, 0xc($s1)
|
||||
/* 6FB1C4 802384B4 8C450000 */ lw $a1, ($v0)
|
||||
/* 6FB1C8 802384B8 3C10800E */ lui $s0, %hi(gBattleStatus+0xDC)
|
||||
/* 6FB1CC 802384BC 8E10C14C */ lw $s0, %lo(gBattleStatus+0xDC)($s0)
|
||||
/* 6FB1D0 802384C0 0C0B1EAF */ jal get_variable
|
||||
/* 6FB1D4 802384C4 00000000 */ nop
|
||||
/* 6FB1D8 802384C8 8E030008 */ lw $v1, 8($s0)
|
||||
/* 6FB1DC 802384CC 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 6FB1E0 802384D0 90630006 */ lbu $v1, 6($v1)
|
||||
/* 6FB1E4 802384D4 24020001 */ addiu $v0, $zero, 1
|
||||
/* 6FB1E8 802384D8 10620006 */ beq $v1, $v0, .L802384F4
|
||||
/* 6FB1EC 802384DC 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 6FB1F0 802384E0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6FB1F4 802384E4 10620011 */ beq $v1, $v0, .L8023852C
|
||||
/* 6FB1F8 802384E8 28A20064 */ slti $v0, $a1, 0x64
|
||||
/* 6FB1FC 802384EC 0808E159 */ j .L80238564
|
||||
/* 6FB200 802384F0 00000000 */ nop
|
||||
.L802384F4:
|
||||
/* 6FB204 802384F4 28A20024 */ slti $v0, $a1, 0x24
|
||||
/* 6FB208 802384F8 14400019 */ bnez $v0, .L80238560
|
||||
/* 6FB20C 802384FC 24040001 */ addiu $a0, $zero, 1
|
||||
/* 6FB210 80238500 28A2003D */ slti $v0, $a1, 0x3d
|
||||
/* 6FB214 80238504 14400016 */ bnez $v0, .L80238560
|
||||
/* 6FB218 80238508 24040003 */ addiu $a0, $zero, 3
|
||||
/* 6FB21C 8023850C 28A20051 */ slti $v0, $a1, 0x51
|
||||
/* 6FB220 80238510 14400013 */ bnez $v0, .L80238560
|
||||
/* 6FB224 80238514 24040004 */ addiu $a0, $zero, 4
|
||||
/* 6FB228 80238518 28A20064 */ slti $v0, $a1, 0x64
|
||||
/* 6FB22C 8023851C 10400011 */ beqz $v0, .L80238564
|
||||
/* 6FB230 80238520 24040006 */ addiu $a0, $zero, 6
|
||||
/* 6FB234 80238524 0808E159 */ j .L80238564
|
||||
/* 6FB238 80238528 24040005 */ addiu $a0, $zero, 5
|
||||
.L8023852C:
|
||||
/* 6FB23C 8023852C 28A20024 */ slti $v0, $a1, 0x24
|
||||
/* 6FB240 80238530 1440000B */ bnez $v0, .L80238560
|
||||
/* 6FB244 80238534 24040001 */ addiu $a0, $zero, 1
|
||||
/* 6FB248 80238538 28A2003D */ slti $v0, $a1, 0x3d
|
||||
/* 6FB24C 8023853C 14400008 */ bnez $v0, .L80238560
|
||||
/* 6FB250 80238540 24040003 */ addiu $a0, $zero, 3
|
||||
/* 6FB254 80238544 28A20051 */ slti $v0, $a1, 0x51
|
||||
/* 6FB258 80238548 14400005 */ bnez $v0, .L80238560
|
||||
/* 6FB25C 8023854C 24040005 */ addiu $a0, $zero, 5
|
||||
/* 6FB260 80238550 28A20064 */ slti $v0, $a1, 0x64
|
||||
/* 6FB264 80238554 10400003 */ beqz $v0, .L80238564
|
||||
/* 6FB268 80238558 24040007 */ addiu $a0, $zero, 7
|
||||
/* 6FB26C 8023855C 24040006 */ addiu $a0, $zero, 6
|
||||
.L80238560:
|
||||
/* 6FB270 80238560 28A20064 */ slti $v0, $a1, 0x64
|
||||
.L80238564:
|
||||
/* 6FB274 80238564 54400003 */ bnel $v0, $zero, .L80238574
|
||||
/* 6FB278 80238568 AE200084 */ sw $zero, 0x84($s1)
|
||||
/* 6FB27C 8023856C 24020001 */ addiu $v0, $zero, 1
|
||||
/* 6FB280 80238570 AE220084 */ sw $v0, 0x84($s1)
|
||||
.L80238574:
|
||||
/* 6FB284 80238574 AE2400C0 */ sw $a0, 0xc0($s1)
|
||||
/* 6FB288 80238578 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 6FB28C 8023857C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 6FB290 80238580 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 6FB294 80238584 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6FB298 80238588 03E00008 */ jr $ra
|
||||
/* 6FB29C 8023858C 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,51 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238590_6FB2A0
|
||||
/* 6FB2A0 80238590 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 6FB2A4 80238594 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 6FB2A8 80238598 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 6FB2AC 8023859C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 6FB2B0 802385A0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 6FB2B4 802385A4 8E22000C */ lw $v0, 0xc($s1)
|
||||
/* 6FB2B8 802385A8 8C450000 */ lw $a1, ($v0)
|
||||
/* 6FB2BC 802385AC 3C10800E */ lui $s0, %hi(gBattleStatus+0xDC)
|
||||
/* 6FB2C0 802385B0 8E10C14C */ lw $s0, %lo(gBattleStatus+0xDC)($s0)
|
||||
/* 6FB2C4 802385B4 0C0B1EAF */ jal get_variable
|
||||
/* 6FB2C8 802385B8 00000000 */ nop
|
||||
/* 6FB2CC 802385BC 8E030008 */ lw $v1, 8($s0)
|
||||
/* 6FB2D0 802385C0 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 6FB2D4 802385C4 90630006 */ lbu $v1, 6($v1)
|
||||
/* 6FB2D8 802385C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6FB2DC 802385CC 1462000E */ bne $v1, $v0, .L80238608
|
||||
/* 6FB2E0 802385D0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 6FB2E4 802385D4 28A20024 */ slti $v0, $a1, 0x24
|
||||
/* 6FB2E8 802385D8 1440000B */ bnez $v0, .L80238608
|
||||
/* 6FB2EC 802385DC 24040001 */ addiu $a0, $zero, 1
|
||||
/* 6FB2F0 802385E0 28A2003D */ slti $v0, $a1, 0x3d
|
||||
/* 6FB2F4 802385E4 14400008 */ bnez $v0, .L80238608
|
||||
/* 6FB2F8 802385E8 24040003 */ addiu $a0, $zero, 3
|
||||
/* 6FB2FC 802385EC 28A20051 */ slti $v0, $a1, 0x51
|
||||
/* 6FB300 802385F0 14400005 */ bnez $v0, .L80238608
|
||||
/* 6FB304 802385F4 24040005 */ addiu $a0, $zero, 5
|
||||
/* 6FB308 802385F8 28A20064 */ slti $v0, $a1, 0x64
|
||||
/* 6FB30C 802385FC 10400003 */ beqz $v0, .L8023860C
|
||||
/* 6FB310 80238600 24040007 */ addiu $a0, $zero, 7
|
||||
/* 6FB314 80238604 24040006 */ addiu $a0, $zero, 6
|
||||
.L80238608:
|
||||
/* 6FB318 80238608 28A20064 */ slti $v0, $a1, 0x64
|
||||
.L8023860C:
|
||||
/* 6FB31C 8023860C 54400003 */ bnel $v0, $zero, .L8023861C
|
||||
/* 6FB320 80238610 AE200084 */ sw $zero, 0x84($s1)
|
||||
/* 6FB324 80238614 24020001 */ addiu $v0, $zero, 1
|
||||
/* 6FB328 80238618 AE220084 */ sw $v0, 0x84($s1)
|
||||
.L8023861C:
|
||||
/* 6FB32C 8023861C AE2400C0 */ sw $a0, 0xc0($s1)
|
||||
/* 6FB330 80238620 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 6FB334 80238624 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 6FB338 80238628 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 6FB33C 8023862C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6FB340 80238630 03E00008 */ jr $ra
|
||||
/* 6FB344 80238634 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
/* 6FB348 80238638 00000000 */ nop
|
||||
/* 6FB34C 8023863C 00000000 */ nop
|
@ -1,9 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238000_710EF0
|
||||
/* 710EF0 80238000 3C02800E */ lui $v0, %hi(gBattleStatus+0x9A)
|
||||
/* 710EF4 80238004 8042C10A */ lb $v0, %lo(gBattleStatus+0x9A)($v0)
|
||||
/* 710EF8 80238008 AC820084 */ sw $v0, 0x84($a0)
|
||||
/* 710EFC 8023800C 03E00008 */ jr $ra
|
||||
/* 710F00 80238010 24020002 */ addiu $v0, $zero, 2
|
@ -1,34 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238014_710F04
|
||||
/* 710F04 80238014 3C02800E */ lui $v0, %hi(gBattleStatus+0xDC)
|
||||
/* 710F08 80238018 8C42C14C */ lw $v0, %lo(gBattleStatus+0xDC)($v0)
|
||||
/* 710F0C 8023801C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 710F10 80238020 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 710F14 80238024 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 710F18 80238028 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 710F1C 8023802C 0C09A75B */ jal get_actor
|
||||
/* 710F20 80238030 84440428 */ lh $a0, 0x428($v0)
|
||||
/* 710F24 80238034 90430191 */ lbu $v1, 0x191($v0)
|
||||
/* 710F28 80238038 90420190 */ lbu $v0, 0x190($v0)
|
||||
/* 710F2C 8023803C 3C014316 */ lui $at, 0x4316
|
||||
/* 710F30 80238040 44810000 */ mtc1 $at, $f0
|
||||
/* 710F34 80238044 00621821 */ addu $v1, $v1, $v0
|
||||
/* 710F38 80238048 00031843 */ sra $v1, $v1, 1
|
||||
/* 710F3C 8023804C 44831000 */ mtc1 $v1, $f2
|
||||
/* 710F40 80238050 00000000 */ nop
|
||||
/* 710F44 80238054 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 710F48 80238058 46001002 */ mul.s $f0, $f2, $f0
|
||||
/* 710F4C 8023805C 00000000 */ nop
|
||||
/* 710F50 80238060 3C0142C8 */ lui $at, 0x42c8
|
||||
/* 710F54 80238064 44811000 */ mtc1 $at, $f2
|
||||
/* 710F58 80238068 00000000 */ nop
|
||||
/* 710F5C 8023806C 46020083 */ div.s $f2, $f0, $f2
|
||||
/* 710F60 80238070 4600110D */ trunc.w.s $f4, $f2
|
||||
/* 710F64 80238074 E6040084 */ swc1 $f4, 0x84($s0)
|
||||
/* 710F68 80238078 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 710F6C 8023807C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 710F70 80238080 24020002 */ addiu $v0, $zero, 2
|
||||
/* 710F74 80238084 03E00008 */ jr $ra
|
||||
/* 710F78 80238088 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,49 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802380E4_710FD4
|
||||
/* 710FD4 802380E4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 710FD8 802380E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 710FDC 802380EC 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 710FE0 802380F0 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 710FE4 802380F4 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 710FE8 802380F8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 710FEC 802380FC F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 710FF0 80238100 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 710FF4 80238104 3C12800E */ lui $s2, %hi(gBattleStatus+0xD8)
|
||||
/* 710FF8 80238108 8E52C148 */ lw $s2, %lo(gBattleStatus+0xD8)($s2)
|
||||
/* 710FFC 8023810C 8E050000 */ lw $a1, ($s0)
|
||||
/* 711000 80238110 0C0B1EAF */ jal get_variable
|
||||
/* 711004 80238114 26100004 */ addiu $s0, $s0, 4
|
||||
/* 711008 80238118 4482A000 */ mtc1 $v0, $f20
|
||||
/* 71100C 8023811C 00000000 */ nop
|
||||
/* 711010 80238120 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 711014 80238124 8E050000 */ lw $a1, ($s0)
|
||||
/* 711018 80238128 0C0B1EAF */ jal get_variable
|
||||
/* 71101C 8023812C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 711020 80238130 C6400188 */ lwc1 $f0, 0x188($s2)
|
||||
/* 711024 80238134 4600A502 */ mul.s $f20, $f20, $f0
|
||||
/* 711028 80238138 00000000 */ nop
|
||||
/* 71102C 8023813C 44821000 */ mtc1 $v0, $f2
|
||||
/* 711030 80238140 00000000 */ nop
|
||||
/* 711034 80238144 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 711038 80238148 46001082 */ mul.s $f2, $f2, $f0
|
||||
/* 71103C 8023814C 00000000 */ nop
|
||||
/* 711040 80238150 C6240084 */ lwc1 $f4, 0x84($s1)
|
||||
/* 711044 80238154 46802120 */ cvt.s.w $f4, $f4
|
||||
/* 711048 80238158 46142100 */ add.s $f4, $f4, $f20
|
||||
/* 71104C 8023815C C6200088 */ lwc1 $f0, 0x88($s1)
|
||||
/* 711050 80238160 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 711054 80238164 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 711058 80238168 4600218D */ trunc.w.s $f6, $f4
|
||||
/* 71105C 8023816C E6260084 */ swc1 $f6, 0x84($s1)
|
||||
/* 711060 80238170 4600018D */ trunc.w.s $f6, $f0
|
||||
/* 711064 80238174 E6260088 */ swc1 $f6, 0x88($s1)
|
||||
/* 711068 80238178 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 71106C 8023817C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 711070 80238180 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 711074 80238184 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 711078 80238188 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 71107C 8023818C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 711080 80238190 03E00008 */ jr $ra
|
||||
/* 711084 80238194 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,17 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238198_711088
|
||||
/* 711088 80238198 3C03800E */ lui $v1, %hi(gBattleStatus+0xD8)
|
||||
/* 71108C 8023819C 8C63C148 */ lw $v1, %lo(gBattleStatus+0xD8)($v1)
|
||||
/* 711090 802381A0 90620210 */ lbu $v0, 0x210($v1)
|
||||
/* 711094 802381A4 80630214 */ lb $v1, 0x214($v1)
|
||||
/* 711098 802381A8 2442FFFD */ addiu $v0, $v0, -3
|
||||
/* 71109C 802381AC 2C450006 */ sltiu $a1, $v0, 6
|
||||
/* 7110A0 802381B0 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 7110A4 802381B4 50620001 */ beql $v1, $v0, .L802381BC
|
||||
/* 7110A8 802381B8 24050001 */ addiu $a1, $zero, 1
|
||||
.L802381BC:
|
||||
/* 7110AC 802381BC AC850084 */ sw $a1, 0x84($a0)
|
||||
/* 7110B0 802381C0 03E00008 */ jr $ra
|
||||
/* 7110B4 802381C4 24020002 */ addiu $v0, $zero, 2
|
@ -1,12 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802381C8_7110B8
|
||||
/* 7110B8 802381C8 3C02800E */ lui $v0, %hi(gBattleStatus+0xD8)
|
||||
/* 7110BC 802381CC 8C42C148 */ lw $v0, %lo(gBattleStatus+0xD8)($v0)
|
||||
/* 7110C0 802381D0 8C4301F4 */ lw $v1, 0x1f4($v0)
|
||||
/* 7110C4 802381D4 3C028028 */ lui $v0, %hi(bMarioIdleAnims)
|
||||
/* 7110C8 802381D8 24423238 */ addiu $v0, $v0, %lo(bMarioIdleAnims)
|
||||
/* 7110CC 802381DC AC620094 */ sw $v0, 0x94($v1)
|
||||
/* 7110D0 802381E0 03E00008 */ jr $ra
|
||||
/* 7110D4 802381E4 24020002 */ addiu $v0, $zero, 2
|
@ -1,82 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802381E8_7110D8
|
||||
/* 7110D8 802381E8 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 7110DC 802381EC AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* 7110E0 802381F0 3C15800E */ lui $s5, %hi(gBattleStatus+0xDC)
|
||||
/* 7110E4 802381F4 8EB5C14C */ lw $s5, %lo(gBattleStatus+0xDC)($s5)
|
||||
/* 7110E8 802381F8 AFB7002C */ sw $s7, 0x2c($sp)
|
||||
/* 7110EC 802381FC 0080B82D */ daddu $s7, $a0, $zero
|
||||
/* 7110F0 80238200 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 7110F4 80238204 0000982D */ daddu $s3, $zero, $zero
|
||||
/* 7110F8 80238208 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 7110FC 8023820C 0260A02D */ daddu $s4, $s3, $zero
|
||||
/* 711100 80238210 AFBF0030 */ sw $ra, 0x30($sp)
|
||||
/* 711104 80238214 AFB60028 */ sw $s6, 0x28($sp)
|
||||
/* 711108 80238218 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 71110C 8023821C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 711110 80238220 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 711114 80238224 82A2040C */ lb $v0, 0x40c($s5)
|
||||
/* 711118 80238228 1840001B */ blez $v0, .L80238298
|
||||
/* 71111C 8023822C 0260902D */ daddu $s2, $s3, $zero
|
||||
/* 711120 80238230 2416000E */ addiu $s6, $zero, 0xe
|
||||
/* 711124 80238234 02A0882D */ daddu $s1, $s5, $zero
|
||||
.L80238238:
|
||||
/* 711128 80238238 0C09A75B */ jal get_actor
|
||||
/* 71112C 8023823C 8624022C */ lh $a0, 0x22c($s1)
|
||||
/* 711130 80238240 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 711134 80238244 8625022E */ lh $a1, 0x22e($s1)
|
||||
/* 711138 80238248 0C099117 */ jal get_actor_part
|
||||
/* 71113C 8023824C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 711140 80238250 8E030008 */ lw $v1, 8($s0)
|
||||
/* 711144 80238254 9064001B */ lbu $a0, 0x1b($v1)
|
||||
/* 711148 80238258 82030218 */ lb $v1, 0x218($s0)
|
||||
/* 71114C 8023825C 50760001 */ beql $v1, $s6, .L80238264
|
||||
/* 711150 80238260 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80238264:
|
||||
/* 711154 80238264 8C42007C */ lw $v0, 0x7c($v0)
|
||||
/* 711158 80238268 30420020 */ andi $v0, $v0, 0x20
|
||||
/* 71115C 8023826C 54400001 */ bnel $v0, $zero, .L80238274
|
||||
/* 711160 80238270 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80238274:
|
||||
/* 711164 80238274 18800003 */ blez $a0, .L80238284
|
||||
/* 711168 80238278 00000000 */ nop
|
||||
/* 71116C 8023827C 02449021 */ addu $s2, $s2, $a0
|
||||
/* 711170 80238280 26730001 */ addiu $s3, $s3, 1
|
||||
.L80238284:
|
||||
/* 711174 80238284 82A2040C */ lb $v0, 0x40c($s5)
|
||||
/* 711178 80238288 26940001 */ addiu $s4, $s4, 1
|
||||
/* 71117C 8023828C 0282102A */ slt $v0, $s4, $v0
|
||||
/* 711180 80238290 1440FFE9 */ bnez $v0, .L80238238
|
||||
/* 711184 80238294 26310014 */ addiu $s1, $s1, 0x14
|
||||
.L80238298:
|
||||
/* 711188 80238298 5A60000C */ blezl $s3, .L802382CC
|
||||
/* 71118C 8023829C AEE00084 */ sw $zero, 0x84($s7)
|
||||
/* 711190 802382A0 16600002 */ bnez $s3, .L802382AC
|
||||
/* 711194 802382A4 0253001A */ div $zero, $s2, $s3
|
||||
/* 711198 802382A8 0007000D */ break 7
|
||||
.L802382AC:
|
||||
/* 71119C 802382AC 2401FFFF */ addiu $at, $zero, -1
|
||||
/* 7111A0 802382B0 16610004 */ bne $s3, $at, .L802382C4
|
||||
/* 7111A4 802382B4 3C018000 */ lui $at, 0x8000
|
||||
/* 7111A8 802382B8 16410002 */ bne $s2, $at, .L802382C4
|
||||
/* 7111AC 802382BC 00000000 */ nop
|
||||
/* 7111B0 802382C0 0006000D */ break 6
|
||||
.L802382C4:
|
||||
/* 7111B4 802382C4 00001012 */ mflo $v0
|
||||
/* 7111B8 802382C8 AEE20084 */ sw $v0, 0x84($s7)
|
||||
.L802382CC:
|
||||
/* 7111BC 802382CC 8FBF0030 */ lw $ra, 0x30($sp)
|
||||
/* 7111C0 802382D0 8FB7002C */ lw $s7, 0x2c($sp)
|
||||
/* 7111C4 802382D4 8FB60028 */ lw $s6, 0x28($sp)
|
||||
/* 7111C8 802382D8 8FB50024 */ lw $s5, 0x24($sp)
|
||||
/* 7111CC 802382DC 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 7111D0 802382E0 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 7111D4 802382E4 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 7111D8 802382E8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 7111DC 802382EC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7111E0 802382F0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7111E4 802382F4 03E00008 */ jr $ra
|
||||
/* 7111E8 802382F8 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
/* 7111EC 802382FC 00000000 */ nop
|
@ -1,90 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238A20_6F1B00
|
||||
/* 6F1B00 80238A20 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 6F1B04 80238A24 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 6F1B08 80238A28 3C10800E */ lui $s0, %hi(gBattleStatus+0xDC)
|
||||
/* 6F1B0C 80238A2C 8E10C14C */ lw $s0, %lo(gBattleStatus+0xDC)($s0)
|
||||
/* 6F1B10 80238A30 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 6F1B14 80238A34 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 6F1B18 80238A38 F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* 6F1B1C 80238A3C 10A00002 */ beqz $a1, .L80238A48
|
||||
/* 6F1B20 80238A40 2611000C */ addiu $s1, $s0, 0xc
|
||||
/* 6F1B24 80238A44 AC800070 */ sw $zero, 0x70($a0)
|
||||
.L80238A48:
|
||||
/* 6F1B28 80238A48 8C820070 */ lw $v0, 0x70($a0)
|
||||
/* 6F1B2C 80238A4C 14400008 */ bnez $v0, .L80238A70
|
||||
/* 6F1B30 80238A50 24020001 */ addiu $v0, $zero, 1
|
||||
/* 6F1B34 80238A54 C6000144 */ lwc1 $f0, 0x144($s0)
|
||||
/* 6F1B38 80238A58 C6020148 */ lwc1 $f2, 0x148($s0)
|
||||
/* 6F1B3C 80238A5C C604014C */ lwc1 $f4, 0x14c($s0)
|
||||
/* 6F1B40 80238A60 E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* 6F1B44 80238A64 E6020010 */ swc1 $f2, 0x10($s0)
|
||||
/* 6F1B48 80238A68 E6040014 */ swc1 $f4, 0x14($s0)
|
||||
/* 6F1B4C 80238A6C AC820070 */ sw $v0, 0x70($a0)
|
||||
.L80238A70:
|
||||
/* 6F1B50 80238A70 C6000050 */ lwc1 $f0, 0x50($s0)
|
||||
/* 6F1B54 80238A74 4480A000 */ mtc1 $zero, $f20
|
||||
/* 6F1B58 80238A78 00000000 */ nop
|
||||
/* 6F1B5C 80238A7C 4600A03C */ c.lt.s $f20, $f0
|
||||
/* 6F1B60 80238A80 00000000 */ nop
|
||||
/* 6F1B64 80238A84 45000005 */ bc1f .L80238A9C
|
||||
/* 6F1B68 80238A88 24040100 */ addiu $a0, $zero, 0x100
|
||||
/* 6F1B6C 80238A8C 8E060064 */ lw $a2, 0x64($s0)
|
||||
/* 6F1B70 80238A90 0C098F3F */ jal set_animation
|
||||
/* 6F1B74 80238A94 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 6F1B78 80238A98 C6000050 */ lwc1 $f0, 0x50($s0)
|
||||
.L80238A9C:
|
||||
/* 6F1B7C 80238A9C 4614003C */ c.lt.s $f0, $f20
|
||||
/* 6F1B80 80238AA0 00000000 */ nop
|
||||
/* 6F1B84 80238AA4 45000004 */ bc1f .L80238AB8
|
||||
/* 6F1B88 80238AA8 24040100 */ addiu $a0, $zero, 0x100
|
||||
/* 6F1B8C 80238AAC 8E060068 */ lw $a2, 0x68($s0)
|
||||
/* 6F1B90 80238AB0 0C098F3F */ jal set_animation
|
||||
/* 6F1B94 80238AB4 0000282D */ daddu $a1, $zero, $zero
|
||||
.L80238AB8:
|
||||
/* 6F1B98 80238AB8 C6040010 */ lwc1 $f4, 0x10($s0)
|
||||
/* 6F1B9C 80238ABC C6000050 */ lwc1 $f0, 0x50($s0)
|
||||
/* 6F1BA0 80238AC0 8E05004C */ lw $a1, 0x4c($s0)
|
||||
/* 6F1BA4 80238AC4 46002100 */ add.s $f4, $f4, $f0
|
||||
/* 6F1BA8 80238AC8 C6020048 */ lwc1 $f2, 0x48($s0)
|
||||
/* 6F1BAC 80238ACC 8E060054 */ lw $a2, 0x54($s0)
|
||||
/* 6F1BB0 80238AD0 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 6F1BB4 80238AD4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 6F1BB8 80238AD8 E6040010 */ swc1 $f4, 0x10($s0)
|
||||
/* 6F1BBC 80238ADC 0C09904A */ jal add_xz_vec3f
|
||||
/* 6F1BC0 80238AE0 E6000050 */ swc1 $f0, 0x50($s0)
|
||||
/* 6F1BC4 80238AE4 C6000010 */ lwc1 $f0, 0x10($s0)
|
||||
/* 6F1BC8 80238AE8 C6020014 */ lwc1 $f2, 0x14($s0)
|
||||
/* 6F1BCC 80238AEC 3C014120 */ lui $at, 0x4120
|
||||
/* 6F1BD0 80238AF0 44813000 */ mtc1 $at, $f6
|
||||
/* 6F1BD4 80238AF4 E6000148 */ swc1 $f0, 0x148($s0)
|
||||
/* 6F1BD8 80238AF8 C600000C */ lwc1 $f0, 0xc($s0)
|
||||
/* 6F1BDC 80238AFC C6040148 */ lwc1 $f4, 0x148($s0)
|
||||
/* 6F1BE0 80238B00 E602014C */ swc1 $f2, 0x14c($s0)
|
||||
/* 6F1BE4 80238B04 4606203C */ c.lt.s $f4, $f6
|
||||
/* 6F1BE8 80238B08 00000000 */ nop
|
||||
/* 6F1BEC 80238B0C 45010003 */ bc1t .L80238B1C
|
||||
/* 6F1BF0 80238B10 E6000144 */ swc1 $f0, 0x144($s0)
|
||||
/* 6F1BF4 80238B14 0808E2D2 */ j .L80238B48
|
||||
/* 6F1BF8 80238B18 0000102D */ daddu $v0, $zero, $zero
|
||||
.L80238B1C:
|
||||
/* 6F1BFC 80238B1C C600018C */ lwc1 $f0, 0x18c($s0)
|
||||
/* 6F1C00 80238B20 E6060148 */ swc1 $f6, 0x148($s0)
|
||||
/* 6F1C04 80238B24 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 6F1C08 80238B28 8E050144 */ lw $a1, 0x144($s0)
|
||||
/* 6F1C0C 80238B2C 8E060148 */ lw $a2, 0x148($s0)
|
||||
/* 6F1C10 80238B30 8E07014C */ lw $a3, 0x14c($s0)
|
||||
/* 6F1C14 80238B34 0C0990BC */ jal play_movement_dust_effects
|
||||
/* 6F1C18 80238B38 24040002 */ addiu $a0, $zero, 2
|
||||
/* 6F1C1C 80238B3C 0C05272D */ jal play_sound
|
||||
/* 6F1C20 80238B40 24040148 */ addiu $a0, $zero, 0x148
|
||||
/* 6F1C24 80238B44 24020001 */ addiu $v0, $zero, 1
|
||||
.L80238B48:
|
||||
/* 6F1C28 80238B48 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 6F1C2C 80238B4C 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 6F1C30 80238B50 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 6F1C34 80238B54 D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* 6F1C38 80238B58 03E00008 */ jr $ra
|
||||
/* 6F1C3C 80238B5C 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238B60_6F1C40
|
||||
/* 6F1C40 80238B60 3C02800E */ lui $v0, %hi(gBattleStatus+0xDC)
|
||||
/* 6F1C44 80238B64 8C42C14C */ lw $v0, %lo(gBattleStatus+0xDC)($v0)
|
||||
/* 6F1C48 80238B68 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 6F1C4C 80238B6C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 6F1C50 80238B70 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 6F1C54 80238B74 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 6F1C58 80238B78 0C09A75B */ jal get_actor
|
||||
/* 6F1C5C 80238B7C 84440428 */ lh $a0, 0x428($v0)
|
||||
/* 6F1C60 80238B80 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 6F1C64 80238B84 90820136 */ lbu $v0, 0x136($a0)
|
||||
/* 6F1C68 80238B88 00021080 */ sll $v0, $v0, 2
|
||||
/* 6F1C6C 80238B8C 3C018028 */ lui $at, %hi(bActorTattles)
|
||||
/* 6F1C70 80238B90 00220821 */ addu $at, $at, $v0
|
||||
/* 6F1C74 80238B94 8C222B98 */ lw $v0, %lo(bActorTattles)($at)
|
||||
/* 6F1C78 80238B98 3C038028 */ lui $v1, %hi(bActorTattles)
|
||||
/* 6F1C7C 80238B9C 24632B98 */ addiu $v1, $v1, %lo(bActorTattles)
|
||||
/* 6F1C80 80238BA0 14400003 */ bnez $v0, .L80238BB0
|
||||
/* 6F1C84 80238BA4 AE020084 */ sw $v0, 0x84($s0)
|
||||
/* 6F1C88 80238BA8 8C620000 */ lw $v0, ($v1)
|
||||
/* 6F1C8C 80238BAC AE020084 */ sw $v0, 0x84($s0)
|
||||
.L80238BB0:
|
||||
/* 6F1C90 80238BB0 0C094F44 */ jal save_tattle_flags
|
||||
/* 6F1C94 80238BB4 90840136 */ lbu $a0, 0x136($a0)
|
||||
/* 6F1C98 80238BB8 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 6F1C9C 80238BBC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 6F1CA0 80238BC0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6F1CA4 80238BC4 03E00008 */ jr $ra
|
||||
/* 6F1CA8 80238BC8 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8023903C_6F211C
|
||||
/* 6F211C 8023903C 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 6F2120 80239040 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 6F2124 80239044 8C6200DC */ lw $v0, 0xdc($v1)
|
||||
/* 6F2128 80239048 3C04BFFF */ lui $a0, 0xbfff
|
||||
/* 6F212C 8023904C A0400220 */ sb $zero, 0x220($v0)
|
||||
/* 6F2130 80239050 8C620000 */ lw $v0, ($v1)
|
||||
/* 6F2134 80239054 3484FFFF */ ori $a0, $a0, 0xffff
|
||||
/* 6F2138 80239058 00441024 */ and $v0, $v0, $a0
|
||||
/* 6F213C 8023905C AC620000 */ sw $v0, ($v1)
|
||||
/* 6F2140 80239060 03E00008 */ jr $ra
|
||||
/* 6F2144 80239064 24020002 */ addiu $v0, $zero, 2
|
@ -1,23 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80239068_6F2148
|
||||
/* 6F2148 80239068 3C06800E */ lui $a2, %hi(gBattleStatus)
|
||||
/* 6F214C 8023906C 24C6C070 */ addiu $a2, $a2, %lo(gBattleStatus)
|
||||
/* 6F2150 80239070 3C034000 */ lui $v1, 0x4000
|
||||
/* 6F2154 80239074 8CC20000 */ lw $v0, ($a2)
|
||||
/* 6F2158 80239078 8CC500DC */ lw $a1, 0xdc($a2)
|
||||
/* 6F215C 8023907C 00431024 */ and $v0, $v0, $v1
|
||||
/* 6F2160 80239080 50400001 */ beql $v0, $zero, .L80239088
|
||||
/* 6F2164 80239084 A0A00220 */ sb $zero, 0x220($a1)
|
||||
.L80239088:
|
||||
/* 6F2168 80239088 80A20220 */ lb $v0, 0x220($a1)
|
||||
/* 6F216C 8023908C 3C03BFFF */ lui $v1, 0xbfff
|
||||
/* 6F2170 80239090 AC820084 */ sw $v0, 0x84($a0)
|
||||
/* 6F2174 80239094 A0A00220 */ sb $zero, 0x220($a1)
|
||||
/* 6F2178 80239098 8CC20000 */ lw $v0, ($a2)
|
||||
/* 6F217C 8023909C 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* 6F2180 802390A0 00431024 */ and $v0, $v0, $v1
|
||||
/* 6F2184 802390A4 ACC20000 */ sw $v0, ($a2)
|
||||
/* 6F2188 802390A8 03E00008 */ jr $ra
|
||||
/* 6F218C 802390AC 24020002 */ addiu $v0, $zero, 2
|
@ -1,10 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802390B0_6F2190
|
||||
/* 6F2190 802390B0 3C02800E */ lui $v0, %hi(gBattleStatus+0xDC)
|
||||
/* 6F2194 802390B4 8C42C14C */ lw $v0, %lo(gBattleStatus+0xDC)($v0)
|
||||
/* 6F2198 802390B8 80420220 */ lb $v0, 0x220($v0)
|
||||
/* 6F219C 802390BC AC820084 */ sw $v0, 0x84($a0)
|
||||
/* 6F21A0 802390C0 03E00008 */ jr $ra
|
||||
/* 6F21A4 802390C4 24020002 */ addiu $v0, $zero, 2
|
@ -1,77 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238000_6F5E80
|
||||
/* 6F5E80 80238000 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 6F5E84 80238004 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 6F5E88 80238008 3C10800E */ lui $s0, %hi(gBattleStatus+0xDC)
|
||||
/* 6F5E8C 8023800C 8E10C14C */ lw $s0, %lo(gBattleStatus+0xDC)($s0)
|
||||
/* 6F5E90 80238010 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 6F5E94 80238014 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 6F5E98 80238018 10A00007 */ beqz $a1, .L80238038
|
||||
/* 6F5E9C 8023801C 2611000C */ addiu $s1, $s0, 0xc
|
||||
/* 6F5EA0 80238020 C6000144 */ lwc1 $f0, 0x144($s0)
|
||||
/* 6F5EA4 80238024 C6020148 */ lwc1 $f2, 0x148($s0)
|
||||
/* 6F5EA8 80238028 C604014C */ lwc1 $f4, 0x14c($s0)
|
||||
/* 6F5EAC 8023802C E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* 6F5EB0 80238030 E6020010 */ swc1 $f2, 0x10($s0)
|
||||
/* 6F5EB4 80238034 E6040014 */ swc1 $f4, 0x14($s0)
|
||||
.L80238038:
|
||||
/* 6F5EB8 80238038 8E05004C */ lw $a1, 0x4c($s0)
|
||||
/* 6F5EBC 8023803C 8E060054 */ lw $a2, 0x54($s0)
|
||||
/* 6F5EC0 80238040 0C09904A */ jal add_xz_vec3f
|
||||
/* 6F5EC4 80238044 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 6F5EC8 80238048 C602004C */ lwc1 $f2, 0x4c($s0)
|
||||
/* 6F5ECC 8023804C 3C014080 */ lui $at, 0x4080
|
||||
/* 6F5ED0 80238050 44810000 */ mtc1 $at, $f0
|
||||
/* 6F5ED4 80238054 00000000 */ nop
|
||||
/* 6F5ED8 80238058 4600103C */ c.lt.s $f2, $f0
|
||||
/* 6F5EDC 8023805C 00000000 */ nop
|
||||
/* 6F5EE0 80238060 45000007 */ bc1f .L80238080
|
||||
/* 6F5EE4 80238064 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 6F5EE8 80238068 C6000054 */ lwc1 $f0, 0x54($s0)
|
||||
/* 6F5EEC 8023806C E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 6F5EF0 80238070 8E05000C */ lw $a1, 0xc($s0)
|
||||
/* 6F5EF4 80238074 8E060010 */ lw $a2, 0x10($s0)
|
||||
/* 6F5EF8 80238078 0808E026 */ j .L80238098
|
||||
/* 6F5EFC 8023807C 8E070014 */ lw $a3, 0x14($s0)
|
||||
.L80238080:
|
||||
/* 6F5F00 80238080 C6000054 */ lwc1 $f0, 0x54($s0)
|
||||
/* 6F5F04 80238084 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 6F5F08 80238088 8E05000C */ lw $a1, 0xc($s0)
|
||||
/* 6F5F0C 8023808C 8E060010 */ lw $a2, 0x10($s0)
|
||||
/* 6F5F10 80238090 8E070014 */ lw $a3, 0x14($s0)
|
||||
/* 6F5F14 80238094 24040001 */ addiu $a0, $zero, 1
|
||||
.L80238098:
|
||||
/* 6F5F18 80238098 0C0990BC */ jal play_movement_dust_effects
|
||||
/* 6F5F1C 8023809C 00000000 */ nop
|
||||
/* 6F5F20 802380A0 C6200040 */ lwc1 $f0, 0x40($s1)
|
||||
/* 6F5F24 802380A4 3C013FF8 */ lui $at, 0x3ff8
|
||||
/* 6F5F28 802380A8 44811800 */ mtc1 $at, $f3
|
||||
/* 6F5F2C 802380AC 44801000 */ mtc1 $zero, $f2
|
||||
/* 6F5F30 802380B0 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 6F5F34 802380B4 46220003 */ div.d $f0, $f0, $f2
|
||||
/* 6F5F38 802380B8 C6220000 */ lwc1 $f2, ($s1)
|
||||
/* 6F5F3C 802380BC 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 6F5F40 802380C0 E6200040 */ swc1 $f0, 0x40($s1)
|
||||
/* 6F5F44 802380C4 E6020144 */ swc1 $f2, 0x144($s0)
|
||||
/* 6F5F48 802380C8 C6200004 */ lwc1 $f0, 4($s1)
|
||||
/* 6F5F4C 802380CC E6000148 */ swc1 $f0, 0x148($s0)
|
||||
/* 6F5F50 802380D0 C6200008 */ lwc1 $f0, 8($s1)
|
||||
/* 6F5F54 802380D4 E600014C */ swc1 $f0, 0x14c($s0)
|
||||
/* 6F5F58 802380D8 C6200040 */ lwc1 $f0, 0x40($s1)
|
||||
/* 6F5F5C 802380DC 3C013FF0 */ lui $at, 0x3ff0
|
||||
/* 6F5F60 802380E0 44811800 */ mtc1 $at, $f3
|
||||
/* 6F5F64 802380E4 44801000 */ mtc1 $zero, $f2
|
||||
/* 6F5F68 802380E8 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 6F5F6C 802380EC 4622003C */ c.lt.d $f0, $f2
|
||||
/* 6F5F70 802380F0 00000000 */ nop
|
||||
/* 6F5F74 802380F4 45010002 */ bc1t .L80238100
|
||||
/* 6F5F78 802380F8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6F5F7C 802380FC 0000102D */ daddu $v0, $zero, $zero
|
||||
.L80238100:
|
||||
/* 6F5F80 80238100 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 6F5F84 80238104 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 6F5F88 80238108 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 6F5F8C 8023810C 03E00008 */ jr $ra
|
||||
/* 6F5F90 80238110 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,86 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238298_6F6118
|
||||
/* 6F6118 80238298 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 6F611C 8023829C AFB60028 */ sw $s6, 0x28($sp)
|
||||
/* 6F6120 802382A0 3C16800E */ lui $s6, %hi(gBattleStatus+0xDC)
|
||||
/* 6F6124 802382A4 8ED6C14C */ lw $s6, %lo(gBattleStatus+0xDC)($s6)
|
||||
/* 6F6128 802382A8 AFBE0030 */ sw $fp, 0x30($sp)
|
||||
/* 6F612C 802382AC 0080F02D */ daddu $fp, $a0, $zero
|
||||
/* 6F6130 802382B0 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 6F6134 802382B4 0000A02D */ daddu $s4, $zero, $zero
|
||||
/* 6F6138 802382B8 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* 6F613C 802382BC 0280A82D */ daddu $s5, $s4, $zero
|
||||
/* 6F6140 802382C0 AFBF0034 */ sw $ra, 0x34($sp)
|
||||
/* 6F6144 802382C4 AFB7002C */ sw $s7, 0x2c($sp)
|
||||
/* 6F6148 802382C8 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 6F614C 802382CC AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 6F6150 802382D0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 6F6154 802382D4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 6F6158 802382D8 82C2040C */ lb $v0, 0x40c($s6)
|
||||
/* 6F615C 802382DC 1840001E */ blez $v0, .L80238358
|
||||
/* 6F6160 802382E0 0280982D */ daddu $s3, $s4, $zero
|
||||
/* 6F6164 802382E4 2417000E */ addiu $s7, $zero, 0xe
|
||||
/* 6F6168 802382E8 02C0902D */ daddu $s2, $s6, $zero
|
||||
.L802382EC:
|
||||
/* 6F616C 802382EC 0C09A75B */ jal get_actor
|
||||
/* 6F6170 802382F0 8644022C */ lh $a0, 0x22c($s2)
|
||||
/* 6F6174 802382F4 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 6F6178 802382F8 8645022E */ lh $a1, 0x22e($s2)
|
||||
/* 6F617C 802382FC 0C099117 */ jal get_actor_part
|
||||
/* 6F6180 80238300 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 6F6184 80238304 24050004 */ addiu $a1, $zero, 4
|
||||
/* 6F6188 80238308 8E04020C */ lw $a0, 0x20c($s0)
|
||||
/* 6F618C 8023830C 0C0997A6 */ jal lookup_status_chance
|
||||
/* 6F6190 80238310 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 6F6194 80238314 82030218 */ lb $v1, 0x218($s0)
|
||||
/* 6F6198 80238318 14770002 */ bne $v1, $s7, .L80238324
|
||||
/* 6F619C 8023831C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 6F61A0 80238320 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80238324:
|
||||
/* 6F61A4 80238324 8E22007C */ lw $v0, 0x7c($s1)
|
||||
/* 6F61A8 80238328 30420020 */ andi $v0, $v0, 0x20
|
||||
/* 6F61AC 8023832C 54400001 */ bnel $v0, $zero, .L80238334
|
||||
/* 6F61B0 80238330 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80238334:
|
||||
/* 6F61B4 80238334 18800003 */ blez $a0, .L80238344
|
||||
/* 6F61B8 80238338 00000000 */ nop
|
||||
/* 6F61BC 8023833C 02649821 */ addu $s3, $s3, $a0
|
||||
/* 6F61C0 80238340 26940001 */ addiu $s4, $s4, 1
|
||||
.L80238344:
|
||||
/* 6F61C4 80238344 82C2040C */ lb $v0, 0x40c($s6)
|
||||
/* 6F61C8 80238348 26B50001 */ addiu $s5, $s5, 1
|
||||
/* 6F61CC 8023834C 02A2102A */ slt $v0, $s5, $v0
|
||||
/* 6F61D0 80238350 1440FFE6 */ bnez $v0, .L802382EC
|
||||
/* 6F61D4 80238354 26520014 */ addiu $s2, $s2, 0x14
|
||||
.L80238358:
|
||||
/* 6F61D8 80238358 5A80000C */ blezl $s4, .L8023838C
|
||||
/* 6F61DC 8023835C AFC00084 */ sw $zero, 0x84($fp)
|
||||
/* 6F61E0 80238360 16800002 */ bnez $s4, .L8023836C
|
||||
/* 6F61E4 80238364 0274001A */ div $zero, $s3, $s4
|
||||
/* 6F61E8 80238368 0007000D */ break 7
|
||||
.L8023836C:
|
||||
/* 6F61EC 8023836C 2401FFFF */ addiu $at, $zero, -1
|
||||
/* 6F61F0 80238370 16810004 */ bne $s4, $at, .L80238384
|
||||
/* 6F61F4 80238374 3C018000 */ lui $at, 0x8000
|
||||
/* 6F61F8 80238378 16610002 */ bne $s3, $at, .L80238384
|
||||
/* 6F61FC 8023837C 00000000 */ nop
|
||||
/* 6F6200 80238380 0006000D */ break 6
|
||||
.L80238384:
|
||||
/* 6F6204 80238384 00001012 */ mflo $v0
|
||||
/* 6F6208 80238388 AFC20084 */ sw $v0, 0x84($fp)
|
||||
.L8023838C:
|
||||
/* 6F620C 8023838C 8FBF0034 */ lw $ra, 0x34($sp)
|
||||
/* 6F6210 80238390 8FBE0030 */ lw $fp, 0x30($sp)
|
||||
/* 6F6214 80238394 8FB7002C */ lw $s7, 0x2c($sp)
|
||||
/* 6F6218 80238398 8FB60028 */ lw $s6, 0x28($sp)
|
||||
/* 6F621C 8023839C 8FB50024 */ lw $s5, 0x24($sp)
|
||||
/* 6F6220 802383A0 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 6F6224 802383A4 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 6F6228 802383A8 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 6F622C 802383AC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 6F6230 802383B0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 6F6234 802383B4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6F6238 802383B8 03E00008 */ jr $ra
|
||||
/* 6F623C 802383BC 27BD0038 */ addiu $sp, $sp, 0x38
|
@ -1,37 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802383C0_6F6240
|
||||
/* 6F6240 802383C0 8C830084 */ lw $v1, 0x84($a0)
|
||||
/* 6F6244 802383C4 28620024 */ slti $v0, $v1, 0x24
|
||||
/* 6F6248 802383C8 10400003 */ beqz $v0, .L802383D8
|
||||
/* 6F624C 802383CC 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 6F6250 802383D0 0808E107 */ j .L8023841C
|
||||
/* 6F6254 802383D4 24030001 */ addiu $v1, $zero, 1
|
||||
.L802383D8:
|
||||
/* 6F6258 802383D8 2862003D */ slti $v0, $v1, 0x3d
|
||||
/* 6F625C 802383DC 10400003 */ beqz $v0, .L802383EC
|
||||
/* 6F6260 802383E0 24020001 */ addiu $v0, $zero, 1
|
||||
/* 6F6264 802383E4 0808E107 */ j .L8023841C
|
||||
/* 6F6268 802383E8 24030003 */ addiu $v1, $zero, 3
|
||||
.L802383EC:
|
||||
/* 6F626C 802383EC 28620051 */ slti $v0, $v1, 0x51
|
||||
/* 6F6270 802383F0 10400003 */ beqz $v0, .L80238400
|
||||
/* 6F6274 802383F4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6F6278 802383F8 0808E107 */ j .L8023841C
|
||||
/* 6F627C 802383FC 24030004 */ addiu $v1, $zero, 4
|
||||
.L80238400:
|
||||
/* 6F6280 80238400 28620064 */ slti $v0, $v1, 0x64
|
||||
/* 6F6284 80238404 10400003 */ beqz $v0, .L80238414
|
||||
/* 6F6288 80238408 24030005 */ addiu $v1, $zero, 5
|
||||
/* 6F628C 8023840C 0808E107 */ j .L8023841C
|
||||
/* 6F6290 80238410 24020003 */ addiu $v0, $zero, 3
|
||||
.L80238414:
|
||||
/* 6F6294 80238414 24030006 */ addiu $v1, $zero, 6
|
||||
/* 6F6298 80238418 24020004 */ addiu $v0, $zero, 4
|
||||
.L8023841C:
|
||||
/* 6F629C 8023841C AC8200BC */ sw $v0, 0xbc($a0)
|
||||
/* 6F62A0 80238420 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6F62A4 80238424 03E00008 */ jr $ra
|
||||
/* 6F62A8 80238428 AC8300C0 */ sw $v1, 0xc0($a0)
|
||||
/* 6F62AC 8023842C 00000000 */ nop
|
@ -1,29 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238C88_700A08
|
||||
/* 700A08 80238C88 3C02800E */ lui $v0, %hi(gBattleStatus+0xDC)
|
||||
/* 700A0C 80238C8C 8C42C14C */ lw $v0, %lo(gBattleStatus+0xDC)($v0)
|
||||
/* 700A10 80238C90 8C420008 */ lw $v0, 8($v0)
|
||||
/* 700A14 80238C94 90430006 */ lbu $v1, 6($v0)
|
||||
/* 700A18 80238C98 24020001 */ addiu $v0, $zero, 1
|
||||
/* 700A1C 80238C9C 1062000C */ beq $v1, $v0, .L80238CD0
|
||||
/* 700A20 80238CA0 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 700A24 80238CA4 28620002 */ slti $v0, $v1, 2
|
||||
/* 700A28 80238CA8 10400005 */ beqz $v0, .L80238CC0
|
||||
/* 700A2C 80238CAC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 700A30 80238CB0 50600008 */ beql $v1, $zero, .L80238CD4
|
||||
/* 700A34 80238CB4 24050005 */ addiu $a1, $zero, 5
|
||||
/* 700A38 80238CB8 03E00008 */ jr $ra
|
||||
/* 700A3C 80238CBC AC8500C0 */ sw $a1, 0xc0($a0)
|
||||
.L80238CC0:
|
||||
/* 700A40 80238CC0 50620004 */ beql $v1, $v0, .L80238CD4
|
||||
/* 700A44 80238CC4 24050007 */ addiu $a1, $zero, 7
|
||||
/* 700A48 80238CC8 03E00008 */ jr $ra
|
||||
/* 700A4C 80238CCC AC8500C0 */ sw $a1, 0xc0($a0)
|
||||
.L80238CD0:
|
||||
/* 700A50 80238CD0 24050006 */ addiu $a1, $zero, 6
|
||||
.L80238CD4:
|
||||
/* 700A54 80238CD4 AC8500C0 */ sw $a1, 0xc0($a0)
|
||||
/* 700A58 80238CD8 03E00008 */ jr $ra
|
||||
/* 700A5C 80238CDC 24020002 */ addiu $v0, $zero, 2
|
@ -1,91 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238CE0_700A60
|
||||
/* 700A60 80238CE0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 700A64 80238CE4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 700A68 80238CE8 3C10800E */ lui $s0, %hi(gBattleStatus+0xDC)
|
||||
/* 700A6C 80238CEC 8E10C14C */ lw $s0, %lo(gBattleStatus+0xDC)($s0)
|
||||
/* 700A70 80238CF0 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 700A74 80238CF4 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 700A78 80238CF8 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 700A7C 80238CFC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 700A80 80238D00 0C09A75B */ jal get_actor
|
||||
/* 700A84 80238D04 86040428 */ lh $a0, 0x428($s0)
|
||||
/* 700A88 80238D08 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 700A8C 80238D0C 82050426 */ lb $a1, 0x426($s0)
|
||||
/* 700A90 80238D10 0C099117 */ jal get_actor_part
|
||||
/* 700A94 80238D14 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 700A98 80238D18 822401B8 */ lb $a0, 0x1b8($s1)
|
||||
/* 700A9C 80238D1C 00041840 */ sll $v1, $a0, 1
|
||||
/* 700AA0 80238D20 00641821 */ addu $v1, $v1, $a0
|
||||
/* 700AA4 80238D24 000318C0 */ sll $v1, $v1, 3
|
||||
/* 700AA8 80238D28 00641821 */ addu $v1, $v1, $a0
|
||||
/* 700AAC 80238D2C 822401B9 */ lb $a0, 0x1b9($s1)
|
||||
/* 700AB0 80238D30 00031880 */ sll $v1, $v1, 2
|
||||
/* 700AB4 80238D34 14800002 */ bnez $a0, .L80238D40
|
||||
/* 700AB8 80238D38 0064001A */ div $zero, $v1, $a0
|
||||
/* 700ABC 80238D3C 0007000D */ break 7
|
||||
.L80238D40:
|
||||
/* 700AC0 80238D40 2401FFFF */ addiu $at, $zero, -1
|
||||
/* 700AC4 80238D44 14810004 */ bne $a0, $at, .L80238D58
|
||||
/* 700AC8 80238D48 3C018000 */ lui $at, 0x8000
|
||||
/* 700ACC 80238D4C 14610002 */ bne $v1, $at, .L80238D58
|
||||
/* 700AD0 80238D50 00000000 */ nop
|
||||
/* 700AD4 80238D54 0006000D */ break 6
|
||||
.L80238D58:
|
||||
/* 700AD8 80238D58 00001812 */ mflo $v1
|
||||
/* 700ADC 80238D5C 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 700AE0 80238D60 8E240008 */ lw $a0, 8($s1)
|
||||
/* 700AE4 80238D64 24020064 */ addiu $v0, $zero, 0x64
|
||||
/* 700AE8 80238D68 90840019 */ lbu $a0, 0x19($a0)
|
||||
/* 700AEC 80238D6C 00433023 */ subu $a2, $v0, $v1
|
||||
/* 700AF0 80238D70 82230218 */ lb $v1, 0x218($s1)
|
||||
/* 700AF4 80238D74 2402000E */ addiu $v0, $zero, 0xe
|
||||
/* 700AF8 80238D78 50620001 */ beql $v1, $v0, .L80238D80
|
||||
/* 700AFC 80238D7C 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80238D80:
|
||||
/* 700B00 80238D80 8CA2007C */ lw $v0, 0x7c($a1)
|
||||
/* 700B04 80238D84 30420020 */ andi $v0, $v0, 0x20
|
||||
/* 700B08 80238D88 54400001 */ bnel $v0, $zero, .L80238D90
|
||||
/* 700B0C 80238D8C 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80238D90:
|
||||
/* 700B10 80238D90 1880001C */ blez $a0, .L80238E04
|
||||
/* 700B14 80238D94 00860018 */ mult $a0, $a2
|
||||
/* 700B18 80238D98 00001812 */ mflo $v1
|
||||
/* 700B1C 80238D9C 3C0551EB */ lui $a1, 0x51eb
|
||||
/* 700B20 80238DA0 34A5851F */ ori $a1, $a1, 0x851f
|
||||
/* 700B24 80238DA4 00650018 */ mult $v1, $a1
|
||||
/* 700B28 80238DA8 00031FC3 */ sra $v1, $v1, 0x1f
|
||||
/* 700B2C 80238DAC 00003010 */ mfhi $a2
|
||||
/* 700B30 80238DB0 00061143 */ sra $v0, $a2, 5
|
||||
/* 700B34 80238DB4 00431023 */ subu $v0, $v0, $v1
|
||||
/* 700B38 80238DB8 00822021 */ addu $a0, $a0, $v0
|
||||
/* 700B3C 80238DBC 28820065 */ slti $v0, $a0, 0x65
|
||||
/* 700B40 80238DC0 50400001 */ beql $v0, $zero, .L80238DC8
|
||||
/* 700B44 80238DC4 24040064 */ addiu $a0, $zero, 0x64
|
||||
.L80238DC8:
|
||||
/* 700B48 80238DC8 82220210 */ lb $v0, 0x210($s1)
|
||||
/* 700B4C 80238DCC 1040000D */ beqz $v0, .L80238E04
|
||||
/* 700B50 80238DD0 00041880 */ sll $v1, $a0, 2
|
||||
/* 700B54 80238DD4 00641821 */ addu $v1, $v1, $a0
|
||||
/* 700B58 80238DD8 00031100 */ sll $v0, $v1, 4
|
||||
/* 700B5C 80238DDC 00431023 */ subu $v0, $v0, $v1
|
||||
/* 700B60 80238DE0 00021040 */ sll $v0, $v0, 1
|
||||
/* 700B64 80238DE4 00450018 */ mult $v0, $a1
|
||||
/* 700B68 80238DE8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 700B6C 80238DEC 00003810 */ mfhi $a3
|
||||
/* 700B70 80238DF0 00071943 */ sra $v1, $a3, 5
|
||||
/* 700B74 80238DF4 00622023 */ subu $a0, $v1, $v0
|
||||
/* 700B78 80238DF8 28820097 */ slti $v0, $a0, 0x97
|
||||
/* 700B7C 80238DFC 50400001 */ beql $v0, $zero, .L80238E04
|
||||
/* 700B80 80238E00 24040096 */ addiu $a0, $zero, 0x96
|
||||
.L80238E04:
|
||||
/* 700B84 80238E04 AE440084 */ sw $a0, 0x84($s2)
|
||||
/* 700B88 80238E08 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 700B8C 80238E0C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 700B90 80238E10 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 700B94 80238E14 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 700B98 80238E18 24020002 */ addiu $v0, $zero, 2
|
||||
/* 700B9C 80238E1C 03E00008 */ jr $ra
|
||||
/* 700BA0 80238E20 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,22 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802397C8_701548
|
||||
/* 701548 802397C8 3C053473 */ lui $a1, 0x3473
|
||||
/* 70154C 802397CC 8C830084 */ lw $v1, 0x84($a0)
|
||||
/* 701550 802397D0 34A524C7 */ ori $a1, $a1, 0x24c7
|
||||
/* 701554 802397D4 00031040 */ sll $v0, $v1, 1
|
||||
/* 701558 802397D8 00431021 */ addu $v0, $v0, $v1
|
||||
/* 70155C 802397DC 000210C0 */ sll $v0, $v0, 3
|
||||
/* 701560 802397E0 00431021 */ addu $v0, $v0, $v1
|
||||
/* 701564 802397E4 00021080 */ sll $v0, $v0, 2
|
||||
/* 701568 802397E8 00450018 */ mult $v0, $a1
|
||||
/* 70156C 802397EC 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 701570 802397F0 00003010 */ mfhi $a2
|
||||
/* 701574 802397F4 00061A43 */ sra $v1, $a2, 9
|
||||
/* 701578 802397F8 00621823 */ subu $v1, $v1, $v0
|
||||
/* 70157C 802397FC 24630002 */ addiu $v1, $v1, 2
|
||||
/* 701580 80239800 24020002 */ addiu $v0, $zero, 2
|
||||
/* 701584 80239804 03E00008 */ jr $ra
|
||||
/* 701588 80239808 AC8300C0 */ sw $v1, 0xc0($a0)
|
||||
/* 70158C 8023980C 00000000 */ nop
|
@ -1,89 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238E5C_70494C
|
||||
/* 70494C 80238E5C 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 704950 80238E60 AFB60028 */ sw $s6, 0x28($sp)
|
||||
/* 704954 80238E64 3C16800E */ lui $s6, %hi(gBattleStatus+0xDC)
|
||||
/* 704958 80238E68 8ED6C14C */ lw $s6, %lo(gBattleStatus+0xDC)($s6)
|
||||
/* 70495C 80238E6C AFBE0030 */ sw $fp, 0x30($sp)
|
||||
/* 704960 80238E70 0080F02D */ daddu $fp, $a0, $zero
|
||||
/* 704964 80238E74 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 704968 80238E78 0000A02D */ daddu $s4, $zero, $zero
|
||||
/* 70496C 80238E7C AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* 704970 80238E80 0280A82D */ daddu $s5, $s4, $zero
|
||||
/* 704974 80238E84 AFBF0034 */ sw $ra, 0x34($sp)
|
||||
/* 704978 80238E88 AFB7002C */ sw $s7, 0x2c($sp)
|
||||
/* 70497C 80238E8C AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 704980 80238E90 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 704984 80238E94 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 704988 80238E98 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 70498C 80238E9C 82C2040C */ lb $v0, 0x40c($s6)
|
||||
/* 704990 80238EA0 1840001E */ blez $v0, .L80238F1C
|
||||
/* 704994 80238EA4 0280982D */ daddu $s3, $s4, $zero
|
||||
/* 704998 80238EA8 2417000E */ addiu $s7, $zero, 0xe
|
||||
/* 70499C 80238EAC 02C0902D */ daddu $s2, $s6, $zero
|
||||
.L80238EB0:
|
||||
/* 7049A0 80238EB0 0C09A75B */ jal get_actor
|
||||
/* 7049A4 80238EB4 8644022C */ lh $a0, 0x22c($s2)
|
||||
/* 7049A8 80238EB8 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 7049AC 80238EBC 8645022E */ lh $a1, 0x22e($s2)
|
||||
/* 7049B0 80238EC0 0C099117 */ jal get_actor_part
|
||||
/* 7049B4 80238EC4 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 7049B8 80238EC8 24050005 */ addiu $a1, $zero, 5
|
||||
/* 7049BC 80238ECC 8E04020C */ lw $a0, 0x20c($s0)
|
||||
/* 7049C0 80238ED0 0C0997A6 */ jal lookup_status_chance
|
||||
/* 7049C4 80238ED4 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 7049C8 80238ED8 82030218 */ lb $v1, 0x218($s0)
|
||||
/* 7049CC 80238EDC 14770002 */ bne $v1, $s7, .L80238EE8
|
||||
/* 7049D0 80238EE0 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 7049D4 80238EE4 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80238EE8:
|
||||
/* 7049D8 80238EE8 8E22007C */ lw $v0, 0x7c($s1)
|
||||
/* 7049DC 80238EEC 30420020 */ andi $v0, $v0, 0x20
|
||||
/* 7049E0 80238EF0 54400001 */ bnel $v0, $zero, .L80238EF8
|
||||
/* 7049E4 80238EF4 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80238EF8:
|
||||
/* 7049E8 80238EF8 18800003 */ blez $a0, .L80238F08
|
||||
/* 7049EC 80238EFC 00000000 */ nop
|
||||
/* 7049F0 80238F00 02649821 */ addu $s3, $s3, $a0
|
||||
/* 7049F4 80238F04 26940001 */ addiu $s4, $s4, 1
|
||||
.L80238F08:
|
||||
/* 7049F8 80238F08 82C2040C */ lb $v0, 0x40c($s6)
|
||||
/* 7049FC 80238F0C 26B50001 */ addiu $s5, $s5, 1
|
||||
/* 704A00 80238F10 02A2102A */ slt $v0, $s5, $v0
|
||||
/* 704A04 80238F14 1440FFE6 */ bnez $v0, .L80238EB0
|
||||
/* 704A08 80238F18 26520014 */ addiu $s2, $s2, 0x14
|
||||
.L80238F1C:
|
||||
/* 704A0C 80238F1C 5A80000C */ blezl $s4, .L80238F50
|
||||
/* 704A10 80238F20 AFC00084 */ sw $zero, 0x84($fp)
|
||||
/* 704A14 80238F24 16800002 */ bnez $s4, .L80238F30
|
||||
/* 704A18 80238F28 0274001A */ div $zero, $s3, $s4
|
||||
/* 704A1C 80238F2C 0007000D */ break 7
|
||||
.L80238F30:
|
||||
/* 704A20 80238F30 2401FFFF */ addiu $at, $zero, -1
|
||||
/* 704A24 80238F34 16810004 */ bne $s4, $at, .L80238F48
|
||||
/* 704A28 80238F38 3C018000 */ lui $at, 0x8000
|
||||
/* 704A2C 80238F3C 16610002 */ bne $s3, $at, .L80238F48
|
||||
/* 704A30 80238F40 00000000 */ nop
|
||||
/* 704A34 80238F44 0006000D */ break 6
|
||||
.L80238F48:
|
||||
/* 704A38 80238F48 00001012 */ mflo $v0
|
||||
/* 704A3C 80238F4C AFC20084 */ sw $v0, 0x84($fp)
|
||||
.L80238F50:
|
||||
/* 704A40 80238F50 8FBF0034 */ lw $ra, 0x34($sp)
|
||||
/* 704A44 80238F54 8FBE0030 */ lw $fp, 0x30($sp)
|
||||
/* 704A48 80238F58 8FB7002C */ lw $s7, 0x2c($sp)
|
||||
/* 704A4C 80238F5C 8FB60028 */ lw $s6, 0x28($sp)
|
||||
/* 704A50 80238F60 8FB50024 */ lw $s5, 0x24($sp)
|
||||
/* 704A54 80238F64 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 704A58 80238F68 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 704A5C 80238F6C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 704A60 80238F70 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 704A64 80238F74 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 704A68 80238F78 24020002 */ addiu $v0, $zero, 2
|
||||
/* 704A6C 80238F7C 03E00008 */ jr $ra
|
||||
/* 704A70 80238F80 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
/* 704A74 80238F84 00000000 */ nop
|
||||
/* 704A78 80238F88 00000000 */ nop
|
||||
/* 704A7C 80238F8C 00000000 */ nop
|
@ -1,17 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80260AD4
|
||||
/* 18F3B4 80260AD4 3C03800E */ lui $v1, %hi(gBattleStatus+0xD8)
|
||||
/* 18F3B8 80260AD8 8C63C148 */ lw $v1, %lo(gBattleStatus+0xD8)($v1)
|
||||
/* 18F3BC 80260ADC 90620210 */ lbu $v0, 0x210($v1)
|
||||
/* 18F3C0 80260AE0 80630214 */ lb $v1, 0x214($v1)
|
||||
/* 18F3C4 80260AE4 2442FFFD */ addiu $v0, $v0, -3
|
||||
/* 18F3C8 80260AE8 2C450006 */ sltiu $a1, $v0, 6
|
||||
/* 18F3CC 80260AEC 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 18F3D0 80260AF0 50620001 */ beql $v1, $v0, .L80260AF8
|
||||
/* 18F3D4 80260AF4 24050001 */ addiu $a1, $zero, 1
|
||||
.L80260AF8:
|
||||
/* 18F3D8 80260AF8 AC850084 */ sw $a1, 0x84($a0)
|
||||
/* 18F3DC 80260AFC 03E00008 */ jr $ra
|
||||
/* 18F3E0 80260B00 24020002 */ addiu $v0, $zero, 2
|
@ -1,90 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238A20_6F1B00
|
||||
/* 6F1B00 80238A20 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 6F1B04 80238A24 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 6F1B08 80238A28 3C10800E */ lui $s0, %hi(gBattleStatus+0xDC)
|
||||
/* 6F1B0C 80238A2C 8E10C14C */ lw $s0, %lo(gBattleStatus+0xDC)($s0)
|
||||
/* 6F1B10 80238A30 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 6F1B14 80238A34 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 6F1B18 80238A38 F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* 6F1B1C 80238A3C 10A00002 */ beqz $a1, .L80238A48
|
||||
/* 6F1B20 80238A40 2611000C */ addiu $s1, $s0, 0xc
|
||||
/* 6F1B24 80238A44 AC800070 */ sw $zero, 0x70($a0)
|
||||
.L80238A48:
|
||||
/* 6F1B28 80238A48 8C820070 */ lw $v0, 0x70($a0)
|
||||
/* 6F1B2C 80238A4C 14400008 */ bnez $v0, .L80238A70
|
||||
/* 6F1B30 80238A50 24020001 */ addiu $v0, $zero, 1
|
||||
/* 6F1B34 80238A54 C6000144 */ lwc1 $f0, 0x144($s0)
|
||||
/* 6F1B38 80238A58 C6020148 */ lwc1 $f2, 0x148($s0)
|
||||
/* 6F1B3C 80238A5C C604014C */ lwc1 $f4, 0x14c($s0)
|
||||
/* 6F1B40 80238A60 E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* 6F1B44 80238A64 E6020010 */ swc1 $f2, 0x10($s0)
|
||||
/* 6F1B48 80238A68 E6040014 */ swc1 $f4, 0x14($s0)
|
||||
/* 6F1B4C 80238A6C AC820070 */ sw $v0, 0x70($a0)
|
||||
.L80238A70:
|
||||
/* 6F1B50 80238A70 C6000050 */ lwc1 $f0, 0x50($s0)
|
||||
/* 6F1B54 80238A74 4480A000 */ mtc1 $zero, $f20
|
||||
/* 6F1B58 80238A78 00000000 */ nop
|
||||
/* 6F1B5C 80238A7C 4600A03C */ c.lt.s $f20, $f0
|
||||
/* 6F1B60 80238A80 00000000 */ nop
|
||||
/* 6F1B64 80238A84 45000005 */ bc1f .L80238A9C
|
||||
/* 6F1B68 80238A88 24040100 */ addiu $a0, $zero, 0x100
|
||||
/* 6F1B6C 80238A8C 8E060064 */ lw $a2, 0x64($s0)
|
||||
/* 6F1B70 80238A90 0C098F3F */ jal set_animation
|
||||
/* 6F1B74 80238A94 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 6F1B78 80238A98 C6000050 */ lwc1 $f0, 0x50($s0)
|
||||
.L80238A9C:
|
||||
/* 6F1B7C 80238A9C 4614003C */ c.lt.s $f0, $f20
|
||||
/* 6F1B80 80238AA0 00000000 */ nop
|
||||
/* 6F1B84 80238AA4 45000004 */ bc1f .L80238AB8
|
||||
/* 6F1B88 80238AA8 24040100 */ addiu $a0, $zero, 0x100
|
||||
/* 6F1B8C 80238AAC 8E060068 */ lw $a2, 0x68($s0)
|
||||
/* 6F1B90 80238AB0 0C098F3F */ jal set_animation
|
||||
/* 6F1B94 80238AB4 0000282D */ daddu $a1, $zero, $zero
|
||||
.L80238AB8:
|
||||
/* 6F1B98 80238AB8 C6040010 */ lwc1 $f4, 0x10($s0)
|
||||
/* 6F1B9C 80238ABC C6000050 */ lwc1 $f0, 0x50($s0)
|
||||
/* 6F1BA0 80238AC0 8E05004C */ lw $a1, 0x4c($s0)
|
||||
/* 6F1BA4 80238AC4 46002100 */ add.s $f4, $f4, $f0
|
||||
/* 6F1BA8 80238AC8 C6020048 */ lwc1 $f2, 0x48($s0)
|
||||
/* 6F1BAC 80238ACC 8E060054 */ lw $a2, 0x54($s0)
|
||||
/* 6F1BB0 80238AD0 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 6F1BB4 80238AD4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 6F1BB8 80238AD8 E6040010 */ swc1 $f4, 0x10($s0)
|
||||
/* 6F1BBC 80238ADC 0C09904A */ jal add_xz_vec3f
|
||||
/* 6F1BC0 80238AE0 E6000050 */ swc1 $f0, 0x50($s0)
|
||||
/* 6F1BC4 80238AE4 C6000010 */ lwc1 $f0, 0x10($s0)
|
||||
/* 6F1BC8 80238AE8 C6020014 */ lwc1 $f2, 0x14($s0)
|
||||
/* 6F1BCC 80238AEC 3C014120 */ lui $at, 0x4120
|
||||
/* 6F1BD0 80238AF0 44813000 */ mtc1 $at, $f6
|
||||
/* 6F1BD4 80238AF4 E6000148 */ swc1 $f0, 0x148($s0)
|
||||
/* 6F1BD8 80238AF8 C600000C */ lwc1 $f0, 0xc($s0)
|
||||
/* 6F1BDC 80238AFC C6040148 */ lwc1 $f4, 0x148($s0)
|
||||
/* 6F1BE0 80238B00 E602014C */ swc1 $f2, 0x14c($s0)
|
||||
/* 6F1BE4 80238B04 4606203C */ c.lt.s $f4, $f6
|
||||
/* 6F1BE8 80238B08 00000000 */ nop
|
||||
/* 6F1BEC 80238B0C 45010003 */ bc1t .L80238B1C
|
||||
/* 6F1BF0 80238B10 E6000144 */ swc1 $f0, 0x144($s0)
|
||||
/* 6F1BF4 80238B14 0808E2D2 */ j .L80238B48
|
||||
/* 6F1BF8 80238B18 0000102D */ daddu $v0, $zero, $zero
|
||||
.L80238B1C:
|
||||
/* 6F1BFC 80238B1C C600018C */ lwc1 $f0, 0x18c($s0)
|
||||
/* 6F1C00 80238B20 E6060148 */ swc1 $f6, 0x148($s0)
|
||||
/* 6F1C04 80238B24 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 6F1C08 80238B28 8E050144 */ lw $a1, 0x144($s0)
|
||||
/* 6F1C0C 80238B2C 8E060148 */ lw $a2, 0x148($s0)
|
||||
/* 6F1C10 80238B30 8E07014C */ lw $a3, 0x14c($s0)
|
||||
/* 6F1C14 80238B34 0C0990BC */ jal play_movement_dust_effects
|
||||
/* 6F1C18 80238B38 24040002 */ addiu $a0, $zero, 2
|
||||
/* 6F1C1C 80238B3C 0C05272D */ jal play_sound
|
||||
/* 6F1C20 80238B40 24040148 */ addiu $a0, $zero, 0x148
|
||||
/* 6F1C24 80238B44 24020001 */ addiu $v0, $zero, 1
|
||||
.L80238B48:
|
||||
/* 6F1C28 80238B48 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 6F1C2C 80238B4C 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 6F1C30 80238B50 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 6F1C34 80238B54 D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* 6F1C38 80238B58 03E00008 */ jr $ra
|
||||
/* 6F1C3C 80238B5C 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238B60_6F1C40
|
||||
/* 6F1C40 80238B60 3C02800E */ lui $v0, %hi(gBattleStatus+0xDC)
|
||||
/* 6F1C44 80238B64 8C42C14C */ lw $v0, %lo(gBattleStatus+0xDC)($v0)
|
||||
/* 6F1C48 80238B68 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 6F1C4C 80238B6C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 6F1C50 80238B70 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 6F1C54 80238B74 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 6F1C58 80238B78 0C09A75B */ jal get_actor
|
||||
/* 6F1C5C 80238B7C 84440428 */ lh $a0, 0x428($v0)
|
||||
/* 6F1C60 80238B80 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 6F1C64 80238B84 90820136 */ lbu $v0, 0x136($a0)
|
||||
/* 6F1C68 80238B88 00021080 */ sll $v0, $v0, 2
|
||||
/* 6F1C6C 80238B8C 3C018028 */ lui $at, %hi(bActorTattles)
|
||||
/* 6F1C70 80238B90 00220821 */ addu $at, $at, $v0
|
||||
/* 6F1C74 80238B94 8C222B98 */ lw $v0, %lo(bActorTattles)($at)
|
||||
/* 6F1C78 80238B98 3C038028 */ lui $v1, %hi(bActorTattles)
|
||||
/* 6F1C7C 80238B9C 24632B98 */ addiu $v1, $v1, %lo(bActorTattles)
|
||||
/* 6F1C80 80238BA0 14400003 */ bnez $v0, .L80238BB0
|
||||
/* 6F1C84 80238BA4 AE020084 */ sw $v0, 0x84($s0)
|
||||
/* 6F1C88 80238BA8 8C620000 */ lw $v0, ($v1)
|
||||
/* 6F1C8C 80238BAC AE020084 */ sw $v0, 0x84($s0)
|
||||
.L80238BB0:
|
||||
/* 6F1C90 80238BB0 0C094F44 */ jal save_tattle_flags
|
||||
/* 6F1C94 80238BB4 90840136 */ lbu $a0, 0x136($a0)
|
||||
/* 6F1C98 80238BB8 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 6F1C9C 80238BBC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 6F1CA0 80238BC0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6F1CA4 80238BC4 03E00008 */ jr $ra
|
||||
/* 6F1CA8 80238BC8 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8023903C_6F211C
|
||||
/* 6F211C 8023903C 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 6F2120 80239040 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 6F2124 80239044 8C6200DC */ lw $v0, 0xdc($v1)
|
||||
/* 6F2128 80239048 3C04BFFF */ lui $a0, 0xbfff
|
||||
/* 6F212C 8023904C A0400220 */ sb $zero, 0x220($v0)
|
||||
/* 6F2130 80239050 8C620000 */ lw $v0, ($v1)
|
||||
/* 6F2134 80239054 3484FFFF */ ori $a0, $a0, 0xffff
|
||||
/* 6F2138 80239058 00441024 */ and $v0, $v0, $a0
|
||||
/* 6F213C 8023905C AC620000 */ sw $v0, ($v1)
|
||||
/* 6F2140 80239060 03E00008 */ jr $ra
|
||||
/* 6F2144 80239064 24020002 */ addiu $v0, $zero, 2
|
@ -1,23 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80239068_6F2148
|
||||
/* 6F2148 80239068 3C06800E */ lui $a2, %hi(gBattleStatus)
|
||||
/* 6F214C 8023906C 24C6C070 */ addiu $a2, $a2, %lo(gBattleStatus)
|
||||
/* 6F2150 80239070 3C034000 */ lui $v1, 0x4000
|
||||
/* 6F2154 80239074 8CC20000 */ lw $v0, ($a2)
|
||||
/* 6F2158 80239078 8CC500DC */ lw $a1, 0xdc($a2)
|
||||
/* 6F215C 8023907C 00431024 */ and $v0, $v0, $v1
|
||||
/* 6F2160 80239080 50400001 */ beql $v0, $zero, .L80239088
|
||||
/* 6F2164 80239084 A0A00220 */ sb $zero, 0x220($a1)
|
||||
.L80239088:
|
||||
/* 6F2168 80239088 80A20220 */ lb $v0, 0x220($a1)
|
||||
/* 6F216C 8023908C 3C03BFFF */ lui $v1, 0xbfff
|
||||
/* 6F2170 80239090 AC820084 */ sw $v0, 0x84($a0)
|
||||
/* 6F2174 80239094 A0A00220 */ sb $zero, 0x220($a1)
|
||||
/* 6F2178 80239098 8CC20000 */ lw $v0, ($a2)
|
||||
/* 6F217C 8023909C 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* 6F2180 802390A0 00431024 */ and $v0, $v0, $v1
|
||||
/* 6F2184 802390A4 ACC20000 */ sw $v0, ($a2)
|
||||
/* 6F2188 802390A8 03E00008 */ jr $ra
|
||||
/* 6F218C 802390AC 24020002 */ addiu $v0, $zero, 2
|
@ -1,10 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802390B0_6F2190
|
||||
/* 6F2190 802390B0 3C02800E */ lui $v0, %hi(gBattleStatus+0xDC)
|
||||
/* 6F2194 802390B4 8C42C14C */ lw $v0, %lo(gBattleStatus+0xDC)($v0)
|
||||
/* 6F2198 802390B8 80420220 */ lb $v0, 0x220($v0)
|
||||
/* 6F219C 802390BC AC820084 */ sw $v0, 0x84($a0)
|
||||
/* 6F21A0 802390C0 03E00008 */ jr $ra
|
||||
/* 6F21A4 802390C4 24020002 */ addiu $v0, $zero, 2
|
@ -1,77 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238000_6F5E80
|
||||
/* 6F5E80 80238000 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 6F5E84 80238004 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 6F5E88 80238008 3C10800E */ lui $s0, %hi(gBattleStatus+0xDC)
|
||||
/* 6F5E8C 8023800C 8E10C14C */ lw $s0, %lo(gBattleStatus+0xDC)($s0)
|
||||
/* 6F5E90 80238010 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 6F5E94 80238014 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 6F5E98 80238018 10A00007 */ beqz $a1, .L80238038
|
||||
/* 6F5E9C 8023801C 2611000C */ addiu $s1, $s0, 0xc
|
||||
/* 6F5EA0 80238020 C6000144 */ lwc1 $f0, 0x144($s0)
|
||||
/* 6F5EA4 80238024 C6020148 */ lwc1 $f2, 0x148($s0)
|
||||
/* 6F5EA8 80238028 C604014C */ lwc1 $f4, 0x14c($s0)
|
||||
/* 6F5EAC 8023802C E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* 6F5EB0 80238030 E6020010 */ swc1 $f2, 0x10($s0)
|
||||
/* 6F5EB4 80238034 E6040014 */ swc1 $f4, 0x14($s0)
|
||||
.L80238038:
|
||||
/* 6F5EB8 80238038 8E05004C */ lw $a1, 0x4c($s0)
|
||||
/* 6F5EBC 8023803C 8E060054 */ lw $a2, 0x54($s0)
|
||||
/* 6F5EC0 80238040 0C09904A */ jal add_xz_vec3f
|
||||
/* 6F5EC4 80238044 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 6F5EC8 80238048 C602004C */ lwc1 $f2, 0x4c($s0)
|
||||
/* 6F5ECC 8023804C 3C014080 */ lui $at, 0x4080
|
||||
/* 6F5ED0 80238050 44810000 */ mtc1 $at, $f0
|
||||
/* 6F5ED4 80238054 00000000 */ nop
|
||||
/* 6F5ED8 80238058 4600103C */ c.lt.s $f2, $f0
|
||||
/* 6F5EDC 8023805C 00000000 */ nop
|
||||
/* 6F5EE0 80238060 45000007 */ bc1f .L80238080
|
||||
/* 6F5EE4 80238064 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 6F5EE8 80238068 C6000054 */ lwc1 $f0, 0x54($s0)
|
||||
/* 6F5EEC 8023806C E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 6F5EF0 80238070 8E05000C */ lw $a1, 0xc($s0)
|
||||
/* 6F5EF4 80238074 8E060010 */ lw $a2, 0x10($s0)
|
||||
/* 6F5EF8 80238078 0808E026 */ j .L80238098
|
||||
/* 6F5EFC 8023807C 8E070014 */ lw $a3, 0x14($s0)
|
||||
.L80238080:
|
||||
/* 6F5F00 80238080 C6000054 */ lwc1 $f0, 0x54($s0)
|
||||
/* 6F5F04 80238084 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 6F5F08 80238088 8E05000C */ lw $a1, 0xc($s0)
|
||||
/* 6F5F0C 8023808C 8E060010 */ lw $a2, 0x10($s0)
|
||||
/* 6F5F10 80238090 8E070014 */ lw $a3, 0x14($s0)
|
||||
/* 6F5F14 80238094 24040001 */ addiu $a0, $zero, 1
|
||||
.L80238098:
|
||||
/* 6F5F18 80238098 0C0990BC */ jal play_movement_dust_effects
|
||||
/* 6F5F1C 8023809C 00000000 */ nop
|
||||
/* 6F5F20 802380A0 C6200040 */ lwc1 $f0, 0x40($s1)
|
||||
/* 6F5F24 802380A4 3C013FF8 */ lui $at, 0x3ff8
|
||||
/* 6F5F28 802380A8 44811800 */ mtc1 $at, $f3
|
||||
/* 6F5F2C 802380AC 44801000 */ mtc1 $zero, $f2
|
||||
/* 6F5F30 802380B0 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 6F5F34 802380B4 46220003 */ div.d $f0, $f0, $f2
|
||||
/* 6F5F38 802380B8 C6220000 */ lwc1 $f2, ($s1)
|
||||
/* 6F5F3C 802380BC 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 6F5F40 802380C0 E6200040 */ swc1 $f0, 0x40($s1)
|
||||
/* 6F5F44 802380C4 E6020144 */ swc1 $f2, 0x144($s0)
|
||||
/* 6F5F48 802380C8 C6200004 */ lwc1 $f0, 4($s1)
|
||||
/* 6F5F4C 802380CC E6000148 */ swc1 $f0, 0x148($s0)
|
||||
/* 6F5F50 802380D0 C6200008 */ lwc1 $f0, 8($s1)
|
||||
/* 6F5F54 802380D4 E600014C */ swc1 $f0, 0x14c($s0)
|
||||
/* 6F5F58 802380D8 C6200040 */ lwc1 $f0, 0x40($s1)
|
||||
/* 6F5F5C 802380DC 3C013FF0 */ lui $at, 0x3ff0
|
||||
/* 6F5F60 802380E0 44811800 */ mtc1 $at, $f3
|
||||
/* 6F5F64 802380E4 44801000 */ mtc1 $zero, $f2
|
||||
/* 6F5F68 802380E8 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 6F5F6C 802380EC 4622003C */ c.lt.d $f0, $f2
|
||||
/* 6F5F70 802380F0 00000000 */ nop
|
||||
/* 6F5F74 802380F4 45010002 */ bc1t .L80238100
|
||||
/* 6F5F78 802380F8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6F5F7C 802380FC 0000102D */ daddu $v0, $zero, $zero
|
||||
.L80238100:
|
||||
/* 6F5F80 80238100 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 6F5F84 80238104 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 6F5F88 80238108 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 6F5F8C 8023810C 03E00008 */ jr $ra
|
||||
/* 6F5F90 80238110 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,86 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238298_6F6118
|
||||
/* 6F6118 80238298 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 6F611C 8023829C AFB60028 */ sw $s6, 0x28($sp)
|
||||
/* 6F6120 802382A0 3C16800E */ lui $s6, %hi(gBattleStatus+0xDC)
|
||||
/* 6F6124 802382A4 8ED6C14C */ lw $s6, %lo(gBattleStatus+0xDC)($s6)
|
||||
/* 6F6128 802382A8 AFBE0030 */ sw $fp, 0x30($sp)
|
||||
/* 6F612C 802382AC 0080F02D */ daddu $fp, $a0, $zero
|
||||
/* 6F6130 802382B0 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 6F6134 802382B4 0000A02D */ daddu $s4, $zero, $zero
|
||||
/* 6F6138 802382B8 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* 6F613C 802382BC 0280A82D */ daddu $s5, $s4, $zero
|
||||
/* 6F6140 802382C0 AFBF0034 */ sw $ra, 0x34($sp)
|
||||
/* 6F6144 802382C4 AFB7002C */ sw $s7, 0x2c($sp)
|
||||
/* 6F6148 802382C8 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 6F614C 802382CC AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 6F6150 802382D0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 6F6154 802382D4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 6F6158 802382D8 82C2040C */ lb $v0, 0x40c($s6)
|
||||
/* 6F615C 802382DC 1840001E */ blez $v0, .L80238358
|
||||
/* 6F6160 802382E0 0280982D */ daddu $s3, $s4, $zero
|
||||
/* 6F6164 802382E4 2417000E */ addiu $s7, $zero, 0xe
|
||||
/* 6F6168 802382E8 02C0902D */ daddu $s2, $s6, $zero
|
||||
.L802382EC:
|
||||
/* 6F616C 802382EC 0C09A75B */ jal get_actor
|
||||
/* 6F6170 802382F0 8644022C */ lh $a0, 0x22c($s2)
|
||||
/* 6F6174 802382F4 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 6F6178 802382F8 8645022E */ lh $a1, 0x22e($s2)
|
||||
/* 6F617C 802382FC 0C099117 */ jal get_actor_part
|
||||
/* 6F6180 80238300 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 6F6184 80238304 24050004 */ addiu $a1, $zero, 4
|
||||
/* 6F6188 80238308 8E04020C */ lw $a0, 0x20c($s0)
|
||||
/* 6F618C 8023830C 0C0997A6 */ jal lookup_status_chance
|
||||
/* 6F6190 80238310 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 6F6194 80238314 82030218 */ lb $v1, 0x218($s0)
|
||||
/* 6F6198 80238318 14770002 */ bne $v1, $s7, .L80238324
|
||||
/* 6F619C 8023831C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 6F61A0 80238320 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80238324:
|
||||
/* 6F61A4 80238324 8E22007C */ lw $v0, 0x7c($s1)
|
||||
/* 6F61A8 80238328 30420020 */ andi $v0, $v0, 0x20
|
||||
/* 6F61AC 8023832C 54400001 */ bnel $v0, $zero, .L80238334
|
||||
/* 6F61B0 80238330 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80238334:
|
||||
/* 6F61B4 80238334 18800003 */ blez $a0, .L80238344
|
||||
/* 6F61B8 80238338 00000000 */ nop
|
||||
/* 6F61BC 8023833C 02649821 */ addu $s3, $s3, $a0
|
||||
/* 6F61C0 80238340 26940001 */ addiu $s4, $s4, 1
|
||||
.L80238344:
|
||||
/* 6F61C4 80238344 82C2040C */ lb $v0, 0x40c($s6)
|
||||
/* 6F61C8 80238348 26B50001 */ addiu $s5, $s5, 1
|
||||
/* 6F61CC 8023834C 02A2102A */ slt $v0, $s5, $v0
|
||||
/* 6F61D0 80238350 1440FFE6 */ bnez $v0, .L802382EC
|
||||
/* 6F61D4 80238354 26520014 */ addiu $s2, $s2, 0x14
|
||||
.L80238358:
|
||||
/* 6F61D8 80238358 5A80000C */ blezl $s4, .L8023838C
|
||||
/* 6F61DC 8023835C AFC00084 */ sw $zero, 0x84($fp)
|
||||
/* 6F61E0 80238360 16800002 */ bnez $s4, .L8023836C
|
||||
/* 6F61E4 80238364 0274001A */ div $zero, $s3, $s4
|
||||
/* 6F61E8 80238368 0007000D */ break 7
|
||||
.L8023836C:
|
||||
/* 6F61EC 8023836C 2401FFFF */ addiu $at, $zero, -1
|
||||
/* 6F61F0 80238370 16810004 */ bne $s4, $at, .L80238384
|
||||
/* 6F61F4 80238374 3C018000 */ lui $at, 0x8000
|
||||
/* 6F61F8 80238378 16610002 */ bne $s3, $at, .L80238384
|
||||
/* 6F61FC 8023837C 00000000 */ nop
|
||||
/* 6F6200 80238380 0006000D */ break 6
|
||||
.L80238384:
|
||||
/* 6F6204 80238384 00001012 */ mflo $v0
|
||||
/* 6F6208 80238388 AFC20084 */ sw $v0, 0x84($fp)
|
||||
.L8023838C:
|
||||
/* 6F620C 8023838C 8FBF0034 */ lw $ra, 0x34($sp)
|
||||
/* 6F6210 80238390 8FBE0030 */ lw $fp, 0x30($sp)
|
||||
/* 6F6214 80238394 8FB7002C */ lw $s7, 0x2c($sp)
|
||||
/* 6F6218 80238398 8FB60028 */ lw $s6, 0x28($sp)
|
||||
/* 6F621C 8023839C 8FB50024 */ lw $s5, 0x24($sp)
|
||||
/* 6F6220 802383A0 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 6F6224 802383A4 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 6F6228 802383A8 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 6F622C 802383AC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 6F6230 802383B0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 6F6234 802383B4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6F6238 802383B8 03E00008 */ jr $ra
|
||||
/* 6F623C 802383BC 27BD0038 */ addiu $sp, $sp, 0x38
|
@ -1,37 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802383C0_6F6240
|
||||
/* 6F6240 802383C0 8C830084 */ lw $v1, 0x84($a0)
|
||||
/* 6F6244 802383C4 28620024 */ slti $v0, $v1, 0x24
|
||||
/* 6F6248 802383C8 10400003 */ beqz $v0, .L802383D8
|
||||
/* 6F624C 802383CC 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 6F6250 802383D0 0808E107 */ j .L8023841C
|
||||
/* 6F6254 802383D4 24030001 */ addiu $v1, $zero, 1
|
||||
.L802383D8:
|
||||
/* 6F6258 802383D8 2862003D */ slti $v0, $v1, 0x3d
|
||||
/* 6F625C 802383DC 10400003 */ beqz $v0, .L802383EC
|
||||
/* 6F6260 802383E0 24020001 */ addiu $v0, $zero, 1
|
||||
/* 6F6264 802383E4 0808E107 */ j .L8023841C
|
||||
/* 6F6268 802383E8 24030003 */ addiu $v1, $zero, 3
|
||||
.L802383EC:
|
||||
/* 6F626C 802383EC 28620051 */ slti $v0, $v1, 0x51
|
||||
/* 6F6270 802383F0 10400003 */ beqz $v0, .L80238400
|
||||
/* 6F6274 802383F4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6F6278 802383F8 0808E107 */ j .L8023841C
|
||||
/* 6F627C 802383FC 24030004 */ addiu $v1, $zero, 4
|
||||
.L80238400:
|
||||
/* 6F6280 80238400 28620064 */ slti $v0, $v1, 0x64
|
||||
/* 6F6284 80238404 10400003 */ beqz $v0, .L80238414
|
||||
/* 6F6288 80238408 24030005 */ addiu $v1, $zero, 5
|
||||
/* 6F628C 8023840C 0808E107 */ j .L8023841C
|
||||
/* 6F6290 80238410 24020003 */ addiu $v0, $zero, 3
|
||||
.L80238414:
|
||||
/* 6F6294 80238414 24030006 */ addiu $v1, $zero, 6
|
||||
/* 6F6298 80238418 24020004 */ addiu $v0, $zero, 4
|
||||
.L8023841C:
|
||||
/* 6F629C 8023841C AC8200BC */ sw $v0, 0xbc($a0)
|
||||
/* 6F62A0 80238420 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6F62A4 80238424 03E00008 */ jr $ra
|
||||
/* 6F62A8 80238428 AC8300C0 */ sw $v1, 0xc0($a0)
|
||||
/* 6F62AC 8023842C 00000000 */ nop
|
@ -1,161 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238000_6FAD10
|
||||
/* 6FAD10 80238000 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 6FAD14 80238004 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 6FAD18 80238008 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 6FAD1C 8023800C AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 6FAD20 80238010 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 6FAD24 80238014 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 6FAD28 80238018 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 6FAD2C 8023801C F7B60030 */ sdc1 $f22, 0x30($sp)
|
||||
/* 6FAD30 80238020 F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* 6FAD34 80238024 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 6FAD38 80238028 8E050000 */ lw $a1, ($s0)
|
||||
/* 6FAD3C 8023802C 0C0B1EAF */ jal get_variable
|
||||
/* 6FAD40 80238030 26100004 */ addiu $s0, $s0, 4
|
||||
/* 6FAD44 80238034 8E050000 */ lw $a1, ($s0)
|
||||
/* 6FAD48 80238038 26100004 */ addiu $s0, $s0, 4
|
||||
/* 6FAD4C 8023803C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 6FAD50 80238040 0C0B1EAF */ jal get_variable
|
||||
/* 6FAD54 80238044 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 6FAD58 80238048 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 6FAD5C 8023804C 8E050000 */ lw $a1, ($s0)
|
||||
/* 6FAD60 80238050 0C0B1EAF */ jal get_variable
|
||||
/* 6FAD64 80238054 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 6FAD68 80238058 4493A000 */ mtc1 $s3, $f20
|
||||
/* 6FAD6C 8023805C 00000000 */ nop
|
||||
/* 6FAD70 80238060 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 6FAD74 80238064 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 6FAD78 80238068 4492B000 */ mtc1 $s2, $f22
|
||||
/* 6FAD7C 8023806C 00000000 */ nop
|
||||
/* 6FAD80 80238070 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* 6FAD84 80238074 44900000 */ mtc1 $s0, $f0
|
||||
/* 6FAD88 80238078 00000000 */ nop
|
||||
/* 6FAD8C 8023807C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6FAD90 80238080 4405A000 */ mfc1 $a1, $f20
|
||||
/* 6FAD94 80238084 4407B000 */ mfc1 $a3, $f22
|
||||
/* 6FAD98 80238088 44060000 */ mfc1 $a2, $f0
|
||||
/* 6FAD9C 8023808C 0C01C04C */ jal func_80070130
|
||||
/* 6FADA0 80238090 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 6FADA4 80238094 3C03800E */ lui $v1, %hi(gBattleStatus+0x17C)
|
||||
/* 6FADA8 80238098 8463C1EC */ lh $v1, %lo(gBattleStatus+0x17C)($v1)
|
||||
/* 6FADAC 8023809C 24020093 */ addiu $v0, $zero, 0x93
|
||||
/* 6FADB0 802380A0 1062001F */ beq $v1, $v0, .L80238120
|
||||
/* 6FADB4 802380A4 28620094 */ slti $v0, $v1, 0x94
|
||||
/* 6FADB8 802380A8 10400005 */ beqz $v0, .L802380C0
|
||||
/* 6FADBC 802380AC 24020092 */ addiu $v0, $zero, 0x92
|
||||
/* 6FADC0 802380B0 10620008 */ beq $v1, $v0, .L802380D4
|
||||
/* 6FADC4 802380B4 00000000 */ nop
|
||||
/* 6FADC8 802380B8 0808E074 */ j .L802381D0
|
||||
/* 6FADCC 802380BC 00000000 */ nop
|
||||
.L802380C0:
|
||||
/* 6FADD0 802380C0 24020094 */ addiu $v0, $zero, 0x94
|
||||
/* 6FADD4 802380C4 1062002C */ beq $v1, $v0, .L80238178
|
||||
/* 6FADD8 802380C8 00000000 */ nop
|
||||
/* 6FADDC 802380CC 0808E074 */ j .L802381D0
|
||||
/* 6FADE0 802380D0 00000000 */ nop
|
||||
.L802380D4:
|
||||
/* 6FADE4 802380D4 8E2200AC */ lw $v0, 0xac($s1)
|
||||
/* 6FADE8 802380D8 18400009 */ blez $v0, .L80238100
|
||||
/* 6FADEC 802380DC 26020014 */ addiu $v0, $s0, 0x14
|
||||
/* 6FADF0 802380E0 44820000 */ mtc1 $v0, $f0
|
||||
/* 6FADF4 802380E4 00000000 */ nop
|
||||
/* 6FADF8 802380E8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6FADFC 802380EC 4405A000 */ mfc1 $a1, $f20
|
||||
/* 6FAE00 802380F0 4407B000 */ mfc1 $a3, $f22
|
||||
/* 6FAE04 802380F4 44060000 */ mfc1 $a2, $f0
|
||||
/* 6FAE08 802380F8 0808E082 */ j .L80238208
|
||||
/* 6FAE0C 802380FC 24040001 */ addiu $a0, $zero, 1
|
||||
.L80238100:
|
||||
/* 6FAE10 80238100 44820000 */ mtc1 $v0, $f0
|
||||
/* 6FAE14 80238104 00000000 */ nop
|
||||
/* 6FAE18 80238108 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6FAE1C 8023810C 4405A000 */ mfc1 $a1, $f20
|
||||
/* 6FAE20 80238110 4407B000 */ mfc1 $a3, $f22
|
||||
/* 6FAE24 80238114 44060000 */ mfc1 $a2, $f0
|
||||
/* 6FAE28 80238118 0808E082 */ j .L80238208
|
||||
/* 6FAE2C 8023811C 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80238120:
|
||||
/* 6FAE30 80238120 8E2200AC */ lw $v0, 0xac($s1)
|
||||
/* 6FAE34 80238124 18400009 */ blez $v0, .L8023814C
|
||||
/* 6FAE38 80238128 26020014 */ addiu $v0, $s0, 0x14
|
||||
/* 6FAE3C 8023812C 44820000 */ mtc1 $v0, $f0
|
||||
/* 6FAE40 80238130 00000000 */ nop
|
||||
/* 6FAE44 80238134 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6FAE48 80238138 4405A000 */ mfc1 $a1, $f20
|
||||
/* 6FAE4C 8023813C 4407B000 */ mfc1 $a3, $f22
|
||||
/* 6FAE50 80238140 44060000 */ mfc1 $a2, $f0
|
||||
/* 6FAE54 80238144 0808E05A */ j .L80238168
|
||||
/* 6FAE58 80238148 24040001 */ addiu $a0, $zero, 1
|
||||
.L8023814C:
|
||||
/* 6FAE5C 8023814C 44820000 */ mtc1 $v0, $f0
|
||||
/* 6FAE60 80238150 00000000 */ nop
|
||||
/* 6FAE64 80238154 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6FAE68 80238158 4405A000 */ mfc1 $a1, $f20
|
||||
/* 6FAE6C 8023815C 4407B000 */ mfc1 $a3, $f22
|
||||
/* 6FAE70 80238160 44060000 */ mfc1 $a2, $f0
|
||||
/* 6FAE74 80238164 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80238168:
|
||||
/* 6FAE78 80238168 0C01C07C */ jal func_800701F0
|
||||
/* 6FAE7C 8023816C 00000000 */ nop
|
||||
/* 6FAE80 80238170 0808E085 */ j .L80238214
|
||||
/* 6FAE84 80238174 24042017 */ addiu $a0, $zero, 0x2017
|
||||
.L80238178:
|
||||
/* 6FAE88 80238178 8E2200AC */ lw $v0, 0xac($s1)
|
||||
/* 6FAE8C 8023817C 18400009 */ blez $v0, .L802381A4
|
||||
/* 6FAE90 80238180 26020014 */ addiu $v0, $s0, 0x14
|
||||
/* 6FAE94 80238184 44820000 */ mtc1 $v0, $f0
|
||||
/* 6FAE98 80238188 00000000 */ nop
|
||||
/* 6FAE9C 8023818C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6FAEA0 80238190 4405A000 */ mfc1 $a1, $f20
|
||||
/* 6FAEA4 80238194 4407B000 */ mfc1 $a3, $f22
|
||||
/* 6FAEA8 80238198 44060000 */ mfc1 $a2, $f0
|
||||
/* 6FAEAC 8023819C 0808E070 */ j .L802381C0
|
||||
/* 6FAEB0 802381A0 24040002 */ addiu $a0, $zero, 2
|
||||
.L802381A4:
|
||||
/* 6FAEB4 802381A4 44820000 */ mtc1 $v0, $f0
|
||||
/* 6FAEB8 802381A8 00000000 */ nop
|
||||
/* 6FAEBC 802381AC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6FAEC0 802381B0 4405A000 */ mfc1 $a1, $f20
|
||||
/* 6FAEC4 802381B4 4407B000 */ mfc1 $a3, $f22
|
||||
/* 6FAEC8 802381B8 44060000 */ mfc1 $a2, $f0
|
||||
/* 6FAECC 802381BC 24040001 */ addiu $a0, $zero, 1
|
||||
.L802381C0:
|
||||
/* 6FAED0 802381C0 0C01C07C */ jal func_800701F0
|
||||
/* 6FAED4 802381C4 00000000 */ nop
|
||||
/* 6FAED8 802381C8 0808E085 */ j .L80238214
|
||||
/* 6FAEDC 802381CC 24042017 */ addiu $a0, $zero, 0x2017
|
||||
.L802381D0:
|
||||
/* 6FAEE0 802381D0 44930000 */ mtc1 $s3, $f0
|
||||
/* 6FAEE4 802381D4 00000000 */ nop
|
||||
/* 6FAEE8 802381D8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6FAEEC 802381DC 26020014 */ addiu $v0, $s0, 0x14
|
||||
/* 6FAEF0 802381E0 44050000 */ mfc1 $a1, $f0
|
||||
/* 6FAEF4 802381E4 44820000 */ mtc1 $v0, $f0
|
||||
/* 6FAEF8 802381E8 00000000 */ nop
|
||||
/* 6FAEFC 802381EC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6FAF00 802381F0 44060000 */ mfc1 $a2, $f0
|
||||
/* 6FAF04 802381F4 44920000 */ mtc1 $s2, $f0
|
||||
/* 6FAF08 802381F8 00000000 */ nop
|
||||
/* 6FAF0C 802381FC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 6FAF10 80238200 44070000 */ mfc1 $a3, $f0
|
||||
/* 6FAF14 80238204 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80238208:
|
||||
/* 6FAF18 80238208 0C01C07C */ jal func_800701F0
|
||||
/* 6FAF1C 8023820C 00000000 */ nop
|
||||
/* 6FAF20 80238210 24042016 */ addiu $a0, $zero, 0x2016
|
||||
.L80238214:
|
||||
/* 6FAF24 80238214 0C05272D */ jal play_sound
|
||||
/* 6FAF28 80238218 00000000 */ nop
|
||||
/* 6FAF2C 8023821C 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 6FAF30 80238220 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 6FAF34 80238224 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 6FAF38 80238228 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 6FAF3C 8023822C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 6FAF40 80238230 D7B60030 */ ldc1 $f22, 0x30($sp)
|
||||
/* 6FAF44 80238234 D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* 6FAF48 80238238 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6FAF4C 8023823C 03E00008 */ jr $ra
|
||||
/* 6FAF50 80238240 27BD0038 */ addiu $sp, $sp, 0x38
|
@ -1,77 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238244_6FAF54
|
||||
/* 6FAF54 80238244 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 6FAF58 80238248 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 6FAF5C 8023824C 3C10800E */ lui $s0, %hi(gBattleStatus+0xDC)
|
||||
/* 6FAF60 80238250 8E10C14C */ lw $s0, %lo(gBattleStatus+0xDC)($s0)
|
||||
/* 6FAF64 80238254 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 6FAF68 80238258 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 6FAF6C 8023825C 10A00007 */ beqz $a1, .L8023827C
|
||||
/* 6FAF70 80238260 2611000C */ addiu $s1, $s0, 0xc
|
||||
/* 6FAF74 80238264 C6000144 */ lwc1 $f0, 0x144($s0)
|
||||
/* 6FAF78 80238268 C6020148 */ lwc1 $f2, 0x148($s0)
|
||||
/* 6FAF7C 8023826C C604014C */ lwc1 $f4, 0x14c($s0)
|
||||
/* 6FAF80 80238270 E600000C */ swc1 $f0, 0xc($s0)
|
||||
/* 6FAF84 80238274 E6020010 */ swc1 $f2, 0x10($s0)
|
||||
/* 6FAF88 80238278 E6040014 */ swc1 $f4, 0x14($s0)
|
||||
.L8023827C:
|
||||
/* 6FAF8C 8023827C 8E05004C */ lw $a1, 0x4c($s0)
|
||||
/* 6FAF90 80238280 8E060054 */ lw $a2, 0x54($s0)
|
||||
/* 6FAF94 80238284 0C09904A */ jal add_xz_vec3f
|
||||
/* 6FAF98 80238288 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 6FAF9C 8023828C C602004C */ lwc1 $f2, 0x4c($s0)
|
||||
/* 6FAFA0 80238290 3C014080 */ lui $at, 0x4080
|
||||
/* 6FAFA4 80238294 44810000 */ mtc1 $at, $f0
|
||||
/* 6FAFA8 80238298 00000000 */ nop
|
||||
/* 6FAFAC 8023829C 4600103C */ c.lt.s $f2, $f0
|
||||
/* 6FAFB0 802382A0 00000000 */ nop
|
||||
/* 6FAFB4 802382A4 45000007 */ bc1f .L802382C4
|
||||
/* 6FAFB8 802382A8 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 6FAFBC 802382AC C6000054 */ lwc1 $f0, 0x54($s0)
|
||||
/* 6FAFC0 802382B0 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 6FAFC4 802382B4 8E05000C */ lw $a1, 0xc($s0)
|
||||
/* 6FAFC8 802382B8 8E060010 */ lw $a2, 0x10($s0)
|
||||
/* 6FAFCC 802382BC 0808E0B7 */ j .L802382DC
|
||||
/* 6FAFD0 802382C0 8E070014 */ lw $a3, 0x14($s0)
|
||||
.L802382C4:
|
||||
/* 6FAFD4 802382C4 C6000054 */ lwc1 $f0, 0x54($s0)
|
||||
/* 6FAFD8 802382C8 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 6FAFDC 802382CC 8E05000C */ lw $a1, 0xc($s0)
|
||||
/* 6FAFE0 802382D0 8E060010 */ lw $a2, 0x10($s0)
|
||||
/* 6FAFE4 802382D4 8E070014 */ lw $a3, 0x14($s0)
|
||||
/* 6FAFE8 802382D8 24040001 */ addiu $a0, $zero, 1
|
||||
.L802382DC:
|
||||
/* 6FAFEC 802382DC 0C0990BC */ jal play_movement_dust_effects
|
||||
/* 6FAFF0 802382E0 00000000 */ nop
|
||||
/* 6FAFF4 802382E4 C6200040 */ lwc1 $f0, 0x40($s1)
|
||||
/* 6FAFF8 802382E8 3C013FF8 */ lui $at, 0x3ff8
|
||||
/* 6FAFFC 802382EC 44811800 */ mtc1 $at, $f3
|
||||
/* 6FB000 802382F0 44801000 */ mtc1 $zero, $f2
|
||||
/* 6FB004 802382F4 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 6FB008 802382F8 46220003 */ div.d $f0, $f0, $f2
|
||||
/* 6FB00C 802382FC C6220000 */ lwc1 $f2, ($s1)
|
||||
/* 6FB010 80238300 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 6FB014 80238304 E6200040 */ swc1 $f0, 0x40($s1)
|
||||
/* 6FB018 80238308 E6020144 */ swc1 $f2, 0x144($s0)
|
||||
/* 6FB01C 8023830C C6200004 */ lwc1 $f0, 4($s1)
|
||||
/* 6FB020 80238310 E6000148 */ swc1 $f0, 0x148($s0)
|
||||
/* 6FB024 80238314 C6200008 */ lwc1 $f0, 8($s1)
|
||||
/* 6FB028 80238318 E600014C */ swc1 $f0, 0x14c($s0)
|
||||
/* 6FB02C 8023831C C6200040 */ lwc1 $f0, 0x40($s1)
|
||||
/* 6FB030 80238320 3C013FF0 */ lui $at, 0x3ff0
|
||||
/* 6FB034 80238324 44811800 */ mtc1 $at, $f3
|
||||
/* 6FB038 80238328 44801000 */ mtc1 $zero, $f2
|
||||
/* 6FB03C 8023832C 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 6FB040 80238330 4622003C */ c.lt.d $f0, $f2
|
||||
/* 6FB044 80238334 00000000 */ nop
|
||||
/* 6FB048 80238338 45010002 */ bc1t .L80238344
|
||||
/* 6FB04C 8023833C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6FB050 80238340 0000102D */ daddu $v0, $zero, $zero
|
||||
.L80238344:
|
||||
/* 6FB054 80238344 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 6FB058 80238348 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 6FB05C 8023834C 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 6FB060 80238350 03E00008 */ jr $ra
|
||||
/* 6FB064 80238354 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,92 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238358_6FB068
|
||||
/* 6FB068 80238358 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 6FB06C 8023835C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 6FB070 80238360 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 6FB074 80238364 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 6FB078 80238368 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 6FB07C 8023836C 8E22000C */ lw $v0, 0xc($s1)
|
||||
/* 6FB080 80238370 8C450000 */ lw $a1, ($v0)
|
||||
/* 6FB084 80238374 3C10800E */ lui $s0, %hi(gBattleStatus+0xDC)
|
||||
/* 6FB088 80238378 8E10C14C */ lw $s0, %lo(gBattleStatus+0xDC)($s0)
|
||||
/* 6FB08C 8023837C 0C0B1EAF */ jal get_variable
|
||||
/* 6FB090 80238380 00000000 */ nop
|
||||
/* 6FB094 80238384 8E030008 */ lw $v1, 8($s0)
|
||||
/* 6FB098 80238388 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 6FB09C 8023838C 90630006 */ lbu $v1, 6($v1)
|
||||
/* 6FB0A0 80238390 24020001 */ addiu $v0, $zero, 1
|
||||
/* 6FB0A4 80238394 1062001A */ beq $v1, $v0, .L80238400
|
||||
/* 6FB0A8 80238398 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 6FB0AC 8023839C 28620002 */ slti $v0, $v1, 2
|
||||
/* 6FB0B0 802383A0 10400005 */ beqz $v0, .L802383B8
|
||||
/* 6FB0B4 802383A4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6FB0B8 802383A8 10600007 */ beqz $v1, .L802383C8
|
||||
/* 6FB0BC 802383AC 28A20064 */ slti $v0, $a1, 0x64
|
||||
/* 6FB0C0 802383B0 0808E11C */ j .L80238470
|
||||
/* 6FB0C4 802383B4 00000000 */ nop
|
||||
.L802383B8:
|
||||
/* 6FB0C8 802383B8 1062001F */ beq $v1, $v0, .L80238438
|
||||
/* 6FB0CC 802383BC 28A20064 */ slti $v0, $a1, 0x64
|
||||
/* 6FB0D0 802383C0 0808E11C */ j .L80238470
|
||||
/* 6FB0D4 802383C4 00000000 */ nop
|
||||
.L802383C8:
|
||||
/* 6FB0D8 802383C8 28A20024 */ slti $v0, $a1, 0x24
|
||||
/* 6FB0DC 802383CC 14400027 */ bnez $v0, .L8023846C
|
||||
/* 6FB0E0 802383D0 24040001 */ addiu $a0, $zero, 1
|
||||
/* 6FB0E4 802383D4 28A2003D */ slti $v0, $a1, 0x3d
|
||||
/* 6FB0E8 802383D8 14400024 */ bnez $v0, .L8023846C
|
||||
/* 6FB0EC 802383DC 24040002 */ addiu $a0, $zero, 2
|
||||
/* 6FB0F0 802383E0 28A20051 */ slti $v0, $a1, 0x51
|
||||
/* 6FB0F4 802383E4 14400021 */ bnez $v0, .L8023846C
|
||||
/* 6FB0F8 802383E8 24040003 */ addiu $a0, $zero, 3
|
||||
/* 6FB0FC 802383EC 28A20064 */ slti $v0, $a1, 0x64
|
||||
/* 6FB100 802383F0 1040001F */ beqz $v0, .L80238470
|
||||
/* 6FB104 802383F4 24040005 */ addiu $a0, $zero, 5
|
||||
/* 6FB108 802383F8 0808E11C */ j .L80238470
|
||||
/* 6FB10C 802383FC 24040004 */ addiu $a0, $zero, 4
|
||||
.L80238400:
|
||||
/* 6FB110 80238400 28A20024 */ slti $v0, $a1, 0x24
|
||||
/* 6FB114 80238404 14400019 */ bnez $v0, .L8023846C
|
||||
/* 6FB118 80238408 24040001 */ addiu $a0, $zero, 1
|
||||
/* 6FB11C 8023840C 28A2003D */ slti $v0, $a1, 0x3d
|
||||
/* 6FB120 80238410 14400016 */ bnez $v0, .L8023846C
|
||||
/* 6FB124 80238414 24040003 */ addiu $a0, $zero, 3
|
||||
/* 6FB128 80238418 28A20051 */ slti $v0, $a1, 0x51
|
||||
/* 6FB12C 8023841C 14400013 */ bnez $v0, .L8023846C
|
||||
/* 6FB130 80238420 24040004 */ addiu $a0, $zero, 4
|
||||
/* 6FB134 80238424 28A20064 */ slti $v0, $a1, 0x64
|
||||
/* 6FB138 80238428 10400011 */ beqz $v0, .L80238470
|
||||
/* 6FB13C 8023842C 24040006 */ addiu $a0, $zero, 6
|
||||
/* 6FB140 80238430 0808E11C */ j .L80238470
|
||||
/* 6FB144 80238434 24040005 */ addiu $a0, $zero, 5
|
||||
.L80238438:
|
||||
/* 6FB148 80238438 28A20024 */ slti $v0, $a1, 0x24
|
||||
/* 6FB14C 8023843C 1440000B */ bnez $v0, .L8023846C
|
||||
/* 6FB150 80238440 24040001 */ addiu $a0, $zero, 1
|
||||
/* 6FB154 80238444 28A2003D */ slti $v0, $a1, 0x3d
|
||||
/* 6FB158 80238448 14400008 */ bnez $v0, .L8023846C
|
||||
/* 6FB15C 8023844C 24040003 */ addiu $a0, $zero, 3
|
||||
/* 6FB160 80238450 28A20051 */ slti $v0, $a1, 0x51
|
||||
/* 6FB164 80238454 14400005 */ bnez $v0, .L8023846C
|
||||
/* 6FB168 80238458 24040005 */ addiu $a0, $zero, 5
|
||||
/* 6FB16C 8023845C 28A20064 */ slti $v0, $a1, 0x64
|
||||
/* 6FB170 80238460 10400003 */ beqz $v0, .L80238470
|
||||
/* 6FB174 80238464 24040007 */ addiu $a0, $zero, 7
|
||||
/* 6FB178 80238468 24040006 */ addiu $a0, $zero, 6
|
||||
.L8023846C:
|
||||
/* 6FB17C 8023846C 28A20064 */ slti $v0, $a1, 0x64
|
||||
.L80238470:
|
||||
/* 6FB180 80238470 54400003 */ bnel $v0, $zero, .L80238480
|
||||
/* 6FB184 80238474 AE200084 */ sw $zero, 0x84($s1)
|
||||
/* 6FB188 80238478 24020001 */ addiu $v0, $zero, 1
|
||||
/* 6FB18C 8023847C AE220084 */ sw $v0, 0x84($s1)
|
||||
.L80238480:
|
||||
/* 6FB190 80238480 AE2400C0 */ sw $a0, 0xc0($s1)
|
||||
/* 6FB194 80238484 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 6FB198 80238488 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 6FB19C 8023848C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 6FB1A0 80238490 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6FB1A4 80238494 03E00008 */ jr $ra
|
||||
/* 6FB1A8 80238498 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,70 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8023849C_6FB1AC
|
||||
/* 6FB1AC 8023849C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 6FB1B0 802384A0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 6FB1B4 802384A4 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 6FB1B8 802384A8 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 6FB1BC 802384AC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 6FB1C0 802384B0 8E22000C */ lw $v0, 0xc($s1)
|
||||
/* 6FB1C4 802384B4 8C450000 */ lw $a1, ($v0)
|
||||
/* 6FB1C8 802384B8 3C10800E */ lui $s0, %hi(gBattleStatus+0xDC)
|
||||
/* 6FB1CC 802384BC 8E10C14C */ lw $s0, %lo(gBattleStatus+0xDC)($s0)
|
||||
/* 6FB1D0 802384C0 0C0B1EAF */ jal get_variable
|
||||
/* 6FB1D4 802384C4 00000000 */ nop
|
||||
/* 6FB1D8 802384C8 8E030008 */ lw $v1, 8($s0)
|
||||
/* 6FB1DC 802384CC 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 6FB1E0 802384D0 90630006 */ lbu $v1, 6($v1)
|
||||
/* 6FB1E4 802384D4 24020001 */ addiu $v0, $zero, 1
|
||||
/* 6FB1E8 802384D8 10620006 */ beq $v1, $v0, .L802384F4
|
||||
/* 6FB1EC 802384DC 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 6FB1F0 802384E0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6FB1F4 802384E4 10620011 */ beq $v1, $v0, .L8023852C
|
||||
/* 6FB1F8 802384E8 28A20064 */ slti $v0, $a1, 0x64
|
||||
/* 6FB1FC 802384EC 0808E159 */ j .L80238564
|
||||
/* 6FB200 802384F0 00000000 */ nop
|
||||
.L802384F4:
|
||||
/* 6FB204 802384F4 28A20024 */ slti $v0, $a1, 0x24
|
||||
/* 6FB208 802384F8 14400019 */ bnez $v0, .L80238560
|
||||
/* 6FB20C 802384FC 24040001 */ addiu $a0, $zero, 1
|
||||
/* 6FB210 80238500 28A2003D */ slti $v0, $a1, 0x3d
|
||||
/* 6FB214 80238504 14400016 */ bnez $v0, .L80238560
|
||||
/* 6FB218 80238508 24040003 */ addiu $a0, $zero, 3
|
||||
/* 6FB21C 8023850C 28A20051 */ slti $v0, $a1, 0x51
|
||||
/* 6FB220 80238510 14400013 */ bnez $v0, .L80238560
|
||||
/* 6FB224 80238514 24040004 */ addiu $a0, $zero, 4
|
||||
/* 6FB228 80238518 28A20064 */ slti $v0, $a1, 0x64
|
||||
/* 6FB22C 8023851C 10400011 */ beqz $v0, .L80238564
|
||||
/* 6FB230 80238520 24040006 */ addiu $a0, $zero, 6
|
||||
/* 6FB234 80238524 0808E159 */ j .L80238564
|
||||
/* 6FB238 80238528 24040005 */ addiu $a0, $zero, 5
|
||||
.L8023852C:
|
||||
/* 6FB23C 8023852C 28A20024 */ slti $v0, $a1, 0x24
|
||||
/* 6FB240 80238530 1440000B */ bnez $v0, .L80238560
|
||||
/* 6FB244 80238534 24040001 */ addiu $a0, $zero, 1
|
||||
/* 6FB248 80238538 28A2003D */ slti $v0, $a1, 0x3d
|
||||
/* 6FB24C 8023853C 14400008 */ bnez $v0, .L80238560
|
||||
/* 6FB250 80238540 24040003 */ addiu $a0, $zero, 3
|
||||
/* 6FB254 80238544 28A20051 */ slti $v0, $a1, 0x51
|
||||
/* 6FB258 80238548 14400005 */ bnez $v0, .L80238560
|
||||
/* 6FB25C 8023854C 24040005 */ addiu $a0, $zero, 5
|
||||
/* 6FB260 80238550 28A20064 */ slti $v0, $a1, 0x64
|
||||
/* 6FB264 80238554 10400003 */ beqz $v0, .L80238564
|
||||
/* 6FB268 80238558 24040007 */ addiu $a0, $zero, 7
|
||||
/* 6FB26C 8023855C 24040006 */ addiu $a0, $zero, 6
|
||||
.L80238560:
|
||||
/* 6FB270 80238560 28A20064 */ slti $v0, $a1, 0x64
|
||||
.L80238564:
|
||||
/* 6FB274 80238564 54400003 */ bnel $v0, $zero, .L80238574
|
||||
/* 6FB278 80238568 AE200084 */ sw $zero, 0x84($s1)
|
||||
/* 6FB27C 8023856C 24020001 */ addiu $v0, $zero, 1
|
||||
/* 6FB280 80238570 AE220084 */ sw $v0, 0x84($s1)
|
||||
.L80238574:
|
||||
/* 6FB284 80238574 AE2400C0 */ sw $a0, 0xc0($s1)
|
||||
/* 6FB288 80238578 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 6FB28C 8023857C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 6FB290 80238580 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 6FB294 80238584 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6FB298 80238588 03E00008 */ jr $ra
|
||||
/* 6FB29C 8023858C 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,51 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238590_6FB2A0
|
||||
/* 6FB2A0 80238590 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 6FB2A4 80238594 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 6FB2A8 80238598 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 6FB2AC 8023859C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 6FB2B0 802385A0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 6FB2B4 802385A4 8E22000C */ lw $v0, 0xc($s1)
|
||||
/* 6FB2B8 802385A8 8C450000 */ lw $a1, ($v0)
|
||||
/* 6FB2BC 802385AC 3C10800E */ lui $s0, %hi(gBattleStatus+0xDC)
|
||||
/* 6FB2C0 802385B0 8E10C14C */ lw $s0, %lo(gBattleStatus+0xDC)($s0)
|
||||
/* 6FB2C4 802385B4 0C0B1EAF */ jal get_variable
|
||||
/* 6FB2C8 802385B8 00000000 */ nop
|
||||
/* 6FB2CC 802385BC 8E030008 */ lw $v1, 8($s0)
|
||||
/* 6FB2D0 802385C0 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 6FB2D4 802385C4 90630006 */ lbu $v1, 6($v1)
|
||||
/* 6FB2D8 802385C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6FB2DC 802385CC 1462000E */ bne $v1, $v0, .L80238608
|
||||
/* 6FB2E0 802385D0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 6FB2E4 802385D4 28A20024 */ slti $v0, $a1, 0x24
|
||||
/* 6FB2E8 802385D8 1440000B */ bnez $v0, .L80238608
|
||||
/* 6FB2EC 802385DC 24040001 */ addiu $a0, $zero, 1
|
||||
/* 6FB2F0 802385E0 28A2003D */ slti $v0, $a1, 0x3d
|
||||
/* 6FB2F4 802385E4 14400008 */ bnez $v0, .L80238608
|
||||
/* 6FB2F8 802385E8 24040003 */ addiu $a0, $zero, 3
|
||||
/* 6FB2FC 802385EC 28A20051 */ slti $v0, $a1, 0x51
|
||||
/* 6FB300 802385F0 14400005 */ bnez $v0, .L80238608
|
||||
/* 6FB304 802385F4 24040005 */ addiu $a0, $zero, 5
|
||||
/* 6FB308 802385F8 28A20064 */ slti $v0, $a1, 0x64
|
||||
/* 6FB30C 802385FC 10400003 */ beqz $v0, .L8023860C
|
||||
/* 6FB310 80238600 24040007 */ addiu $a0, $zero, 7
|
||||
/* 6FB314 80238604 24040006 */ addiu $a0, $zero, 6
|
||||
.L80238608:
|
||||
/* 6FB318 80238608 28A20064 */ slti $v0, $a1, 0x64
|
||||
.L8023860C:
|
||||
/* 6FB31C 8023860C 54400003 */ bnel $v0, $zero, .L8023861C
|
||||
/* 6FB320 80238610 AE200084 */ sw $zero, 0x84($s1)
|
||||
/* 6FB324 80238614 24020001 */ addiu $v0, $zero, 1
|
||||
/* 6FB328 80238618 AE220084 */ sw $v0, 0x84($s1)
|
||||
.L8023861C:
|
||||
/* 6FB32C 8023861C AE2400C0 */ sw $a0, 0xc0($s1)
|
||||
/* 6FB330 80238620 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 6FB334 80238624 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 6FB338 80238628 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 6FB33C 8023862C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6FB340 80238630 03E00008 */ jr $ra
|
||||
/* 6FB344 80238634 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
/* 6FB348 80238638 00000000 */ nop
|
||||
/* 6FB34C 8023863C 00000000 */ nop
|
@ -1,29 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238C88_700A08
|
||||
/* 700A08 80238C88 3C02800E */ lui $v0, %hi(gBattleStatus+0xDC)
|
||||
/* 700A0C 80238C8C 8C42C14C */ lw $v0, %lo(gBattleStatus+0xDC)($v0)
|
||||
/* 700A10 80238C90 8C420008 */ lw $v0, 8($v0)
|
||||
/* 700A14 80238C94 90430006 */ lbu $v1, 6($v0)
|
||||
/* 700A18 80238C98 24020001 */ addiu $v0, $zero, 1
|
||||
/* 700A1C 80238C9C 1062000C */ beq $v1, $v0, .L80238CD0
|
||||
/* 700A20 80238CA0 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 700A24 80238CA4 28620002 */ slti $v0, $v1, 2
|
||||
/* 700A28 80238CA8 10400005 */ beqz $v0, .L80238CC0
|
||||
/* 700A2C 80238CAC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 700A30 80238CB0 50600008 */ beql $v1, $zero, .L80238CD4
|
||||
/* 700A34 80238CB4 24050005 */ addiu $a1, $zero, 5
|
||||
/* 700A38 80238CB8 03E00008 */ jr $ra
|
||||
/* 700A3C 80238CBC AC8500C0 */ sw $a1, 0xc0($a0)
|
||||
.L80238CC0:
|
||||
/* 700A40 80238CC0 50620004 */ beql $v1, $v0, .L80238CD4
|
||||
/* 700A44 80238CC4 24050007 */ addiu $a1, $zero, 7
|
||||
/* 700A48 80238CC8 03E00008 */ jr $ra
|
||||
/* 700A4C 80238CCC AC8500C0 */ sw $a1, 0xc0($a0)
|
||||
.L80238CD0:
|
||||
/* 700A50 80238CD0 24050006 */ addiu $a1, $zero, 6
|
||||
.L80238CD4:
|
||||
/* 700A54 80238CD4 AC8500C0 */ sw $a1, 0xc0($a0)
|
||||
/* 700A58 80238CD8 03E00008 */ jr $ra
|
||||
/* 700A5C 80238CDC 24020002 */ addiu $v0, $zero, 2
|
@ -1,91 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238CE0_700A60
|
||||
/* 700A60 80238CE0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 700A64 80238CE4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 700A68 80238CE8 3C10800E */ lui $s0, %hi(gBattleStatus+0xDC)
|
||||
/* 700A6C 80238CEC 8E10C14C */ lw $s0, %lo(gBattleStatus+0xDC)($s0)
|
||||
/* 700A70 80238CF0 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 700A74 80238CF4 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 700A78 80238CF8 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 700A7C 80238CFC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 700A80 80238D00 0C09A75B */ jal get_actor
|
||||
/* 700A84 80238D04 86040428 */ lh $a0, 0x428($s0)
|
||||
/* 700A88 80238D08 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 700A8C 80238D0C 82050426 */ lb $a1, 0x426($s0)
|
||||
/* 700A90 80238D10 0C099117 */ jal get_actor_part
|
||||
/* 700A94 80238D14 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 700A98 80238D18 822401B8 */ lb $a0, 0x1b8($s1)
|
||||
/* 700A9C 80238D1C 00041840 */ sll $v1, $a0, 1
|
||||
/* 700AA0 80238D20 00641821 */ addu $v1, $v1, $a0
|
||||
/* 700AA4 80238D24 000318C0 */ sll $v1, $v1, 3
|
||||
/* 700AA8 80238D28 00641821 */ addu $v1, $v1, $a0
|
||||
/* 700AAC 80238D2C 822401B9 */ lb $a0, 0x1b9($s1)
|
||||
/* 700AB0 80238D30 00031880 */ sll $v1, $v1, 2
|
||||
/* 700AB4 80238D34 14800002 */ bnez $a0, .L80238D40
|
||||
/* 700AB8 80238D38 0064001A */ div $zero, $v1, $a0
|
||||
/* 700ABC 80238D3C 0007000D */ break 7
|
||||
.L80238D40:
|
||||
/* 700AC0 80238D40 2401FFFF */ addiu $at, $zero, -1
|
||||
/* 700AC4 80238D44 14810004 */ bne $a0, $at, .L80238D58
|
||||
/* 700AC8 80238D48 3C018000 */ lui $at, 0x8000
|
||||
/* 700ACC 80238D4C 14610002 */ bne $v1, $at, .L80238D58
|
||||
/* 700AD0 80238D50 00000000 */ nop
|
||||
/* 700AD4 80238D54 0006000D */ break 6
|
||||
.L80238D58:
|
||||
/* 700AD8 80238D58 00001812 */ mflo $v1
|
||||
/* 700ADC 80238D5C 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 700AE0 80238D60 8E240008 */ lw $a0, 8($s1)
|
||||
/* 700AE4 80238D64 24020064 */ addiu $v0, $zero, 0x64
|
||||
/* 700AE8 80238D68 90840019 */ lbu $a0, 0x19($a0)
|
||||
/* 700AEC 80238D6C 00433023 */ subu $a2, $v0, $v1
|
||||
/* 700AF0 80238D70 82230218 */ lb $v1, 0x218($s1)
|
||||
/* 700AF4 80238D74 2402000E */ addiu $v0, $zero, 0xe
|
||||
/* 700AF8 80238D78 50620001 */ beql $v1, $v0, .L80238D80
|
||||
/* 700AFC 80238D7C 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80238D80:
|
||||
/* 700B00 80238D80 8CA2007C */ lw $v0, 0x7c($a1)
|
||||
/* 700B04 80238D84 30420020 */ andi $v0, $v0, 0x20
|
||||
/* 700B08 80238D88 54400001 */ bnel $v0, $zero, .L80238D90
|
||||
/* 700B0C 80238D8C 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80238D90:
|
||||
/* 700B10 80238D90 1880001C */ blez $a0, .L80238E04
|
||||
/* 700B14 80238D94 00860018 */ mult $a0, $a2
|
||||
/* 700B18 80238D98 00001812 */ mflo $v1
|
||||
/* 700B1C 80238D9C 3C0551EB */ lui $a1, 0x51eb
|
||||
/* 700B20 80238DA0 34A5851F */ ori $a1, $a1, 0x851f
|
||||
/* 700B24 80238DA4 00650018 */ mult $v1, $a1
|
||||
/* 700B28 80238DA8 00031FC3 */ sra $v1, $v1, 0x1f
|
||||
/* 700B2C 80238DAC 00003010 */ mfhi $a2
|
||||
/* 700B30 80238DB0 00061143 */ sra $v0, $a2, 5
|
||||
/* 700B34 80238DB4 00431023 */ subu $v0, $v0, $v1
|
||||
/* 700B38 80238DB8 00822021 */ addu $a0, $a0, $v0
|
||||
/* 700B3C 80238DBC 28820065 */ slti $v0, $a0, 0x65
|
||||
/* 700B40 80238DC0 50400001 */ beql $v0, $zero, .L80238DC8
|
||||
/* 700B44 80238DC4 24040064 */ addiu $a0, $zero, 0x64
|
||||
.L80238DC8:
|
||||
/* 700B48 80238DC8 82220210 */ lb $v0, 0x210($s1)
|
||||
/* 700B4C 80238DCC 1040000D */ beqz $v0, .L80238E04
|
||||
/* 700B50 80238DD0 00041880 */ sll $v1, $a0, 2
|
||||
/* 700B54 80238DD4 00641821 */ addu $v1, $v1, $a0
|
||||
/* 700B58 80238DD8 00031100 */ sll $v0, $v1, 4
|
||||
/* 700B5C 80238DDC 00431023 */ subu $v0, $v0, $v1
|
||||
/* 700B60 80238DE0 00021040 */ sll $v0, $v0, 1
|
||||
/* 700B64 80238DE4 00450018 */ mult $v0, $a1
|
||||
/* 700B68 80238DE8 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 700B6C 80238DEC 00003810 */ mfhi $a3
|
||||
/* 700B70 80238DF0 00071943 */ sra $v1, $a3, 5
|
||||
/* 700B74 80238DF4 00622023 */ subu $a0, $v1, $v0
|
||||
/* 700B78 80238DF8 28820097 */ slti $v0, $a0, 0x97
|
||||
/* 700B7C 80238DFC 50400001 */ beql $v0, $zero, .L80238E04
|
||||
/* 700B80 80238E00 24040096 */ addiu $a0, $zero, 0x96
|
||||
.L80238E04:
|
||||
/* 700B84 80238E04 AE440084 */ sw $a0, 0x84($s2)
|
||||
/* 700B88 80238E08 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 700B8C 80238E0C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 700B90 80238E10 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 700B94 80238E14 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 700B98 80238E18 24020002 */ addiu $v0, $zero, 2
|
||||
/* 700B9C 80238E1C 03E00008 */ jr $ra
|
||||
/* 700BA0 80238E20 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,22 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802397C8_701548
|
||||
/* 701548 802397C8 3C053473 */ lui $a1, 0x3473
|
||||
/* 70154C 802397CC 8C830084 */ lw $v1, 0x84($a0)
|
||||
/* 701550 802397D0 34A524C7 */ ori $a1, $a1, 0x24c7
|
||||
/* 701554 802397D4 00031040 */ sll $v0, $v1, 1
|
||||
/* 701558 802397D8 00431021 */ addu $v0, $v0, $v1
|
||||
/* 70155C 802397DC 000210C0 */ sll $v0, $v0, 3
|
||||
/* 701560 802397E0 00431021 */ addu $v0, $v0, $v1
|
||||
/* 701564 802397E4 00021080 */ sll $v0, $v0, 2
|
||||
/* 701568 802397E8 00450018 */ mult $v0, $a1
|
||||
/* 70156C 802397EC 000217C3 */ sra $v0, $v0, 0x1f
|
||||
/* 701570 802397F0 00003010 */ mfhi $a2
|
||||
/* 701574 802397F4 00061A43 */ sra $v1, $a2, 9
|
||||
/* 701578 802397F8 00621823 */ subu $v1, $v1, $v0
|
||||
/* 70157C 802397FC 24630002 */ addiu $v1, $v1, 2
|
||||
/* 701580 80239800 24020002 */ addiu $v0, $zero, 2
|
||||
/* 701584 80239804 03E00008 */ jr $ra
|
||||
/* 701588 80239808 AC8300C0 */ sw $v1, 0xc0($a0)
|
||||
/* 70158C 8023980C 00000000 */ nop
|
@ -1,9 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238000_710EF0
|
||||
/* 710EF0 80238000 3C02800E */ lui $v0, %hi(gBattleStatus+0x9A)
|
||||
/* 710EF4 80238004 8042C10A */ lb $v0, %lo(gBattleStatus+0x9A)($v0)
|
||||
/* 710EF8 80238008 AC820084 */ sw $v0, 0x84($a0)
|
||||
/* 710EFC 8023800C 03E00008 */ jr $ra
|
||||
/* 710F00 80238010 24020002 */ addiu $v0, $zero, 2
|
@ -1,34 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238014_710F04
|
||||
/* 710F04 80238014 3C02800E */ lui $v0, %hi(gBattleStatus+0xDC)
|
||||
/* 710F08 80238018 8C42C14C */ lw $v0, %lo(gBattleStatus+0xDC)($v0)
|
||||
/* 710F0C 8023801C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 710F10 80238020 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 710F14 80238024 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 710F18 80238028 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 710F1C 8023802C 0C09A75B */ jal get_actor
|
||||
/* 710F20 80238030 84440428 */ lh $a0, 0x428($v0)
|
||||
/* 710F24 80238034 90430191 */ lbu $v1, 0x191($v0)
|
||||
/* 710F28 80238038 90420190 */ lbu $v0, 0x190($v0)
|
||||
/* 710F2C 8023803C 3C014316 */ lui $at, 0x4316
|
||||
/* 710F30 80238040 44810000 */ mtc1 $at, $f0
|
||||
/* 710F34 80238044 00621821 */ addu $v1, $v1, $v0
|
||||
/* 710F38 80238048 00031843 */ sra $v1, $v1, 1
|
||||
/* 710F3C 8023804C 44831000 */ mtc1 $v1, $f2
|
||||
/* 710F40 80238050 00000000 */ nop
|
||||
/* 710F44 80238054 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 710F48 80238058 46001002 */ mul.s $f0, $f2, $f0
|
||||
/* 710F4C 8023805C 00000000 */ nop
|
||||
/* 710F50 80238060 3C0142C8 */ lui $at, 0x42c8
|
||||
/* 710F54 80238064 44811000 */ mtc1 $at, $f2
|
||||
/* 710F58 80238068 00000000 */ nop
|
||||
/* 710F5C 8023806C 46020083 */ div.s $f2, $f0, $f2
|
||||
/* 710F60 80238070 4600110D */ trunc.w.s $f4, $f2
|
||||
/* 710F64 80238074 E6040084 */ swc1 $f4, 0x84($s0)
|
||||
/* 710F68 80238078 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 710F6C 8023807C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 710F70 80238080 24020002 */ addiu $v0, $zero, 2
|
||||
/* 710F74 80238084 03E00008 */ jr $ra
|
||||
/* 710F78 80238088 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,27 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8023808C_710F7C
|
||||
/* 710F7C 8023808C 3C04800E */ lui $a0, %hi(gBattleStatus)
|
||||
/* 710F80 80238090 2484C070 */ addiu $a0, $a0, %lo(gBattleStatus)
|
||||
/* 710F84 80238094 8C8200D8 */ lw $v0, 0xd8($a0)
|
||||
/* 710F88 80238098 8C4501F4 */ lw $a1, 0x1f4($v0)
|
||||
/* 710F8C 8023809C 8C820004 */ lw $v0, 4($a0)
|
||||
/* 710F90 802380A0 24030001 */ addiu $v1, $zero, 1
|
||||
/* 710F94 802380A4 30420002 */ andi $v0, $v0, 2
|
||||
/* 710F98 802380A8 14400003 */ bnez $v0, .L802380B8
|
||||
/* 710F9C 802380AC A083009A */ sb $v1, 0x9a($a0)
|
||||
/* 710FA0 802380B0 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 710FA4 802380B4 A082009A */ sb $v0, 0x9a($a0)
|
||||
.L802380B8:
|
||||
/* 710FA8 802380B8 3C02FBFF */ lui $v0, 0xfbff
|
||||
/* 710FAC 802380BC 3C038028 */ lui $v1, %hi(bMarioHideAnims)
|
||||
/* 710FB0 802380C0 24633370 */ addiu $v1, $v1, %lo(bMarioHideAnims)
|
||||
/* 710FB4 802380C4 ACA30094 */ sw $v1, 0x94($a1)
|
||||
/* 710FB8 802380C8 8C830000 */ lw $v1, ($a0)
|
||||
/* 710FBC 802380CC 3442FFFF */ ori $v0, $v0, 0xffff
|
||||
/* 710FC0 802380D0 A080008B */ sb $zero, 0x8b($a0)
|
||||
/* 710FC4 802380D4 00621824 */ and $v1, $v1, $v0
|
||||
/* 710FC8 802380D8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 710FCC 802380DC 03E00008 */ jr $ra
|
||||
/* 710FD0 802380E0 AC830000 */ sw $v1, ($a0)
|
@ -1,49 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802380E4_710FD4
|
||||
/* 710FD4 802380E4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 710FD8 802380E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 710FDC 802380EC 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 710FE0 802380F0 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 710FE4 802380F4 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 710FE8 802380F8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 710FEC 802380FC F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 710FF0 80238100 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 710FF4 80238104 3C12800E */ lui $s2, %hi(gBattleStatus+0xD8)
|
||||
/* 710FF8 80238108 8E52C148 */ lw $s2, %lo(gBattleStatus+0xD8)($s2)
|
||||
/* 710FFC 8023810C 8E050000 */ lw $a1, ($s0)
|
||||
/* 711000 80238110 0C0B1EAF */ jal get_variable
|
||||
/* 711004 80238114 26100004 */ addiu $s0, $s0, 4
|
||||
/* 711008 80238118 4482A000 */ mtc1 $v0, $f20
|
||||
/* 71100C 8023811C 00000000 */ nop
|
||||
/* 711010 80238120 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 711014 80238124 8E050000 */ lw $a1, ($s0)
|
||||
/* 711018 80238128 0C0B1EAF */ jal get_variable
|
||||
/* 71101C 8023812C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 711020 80238130 C6400188 */ lwc1 $f0, 0x188($s2)
|
||||
/* 711024 80238134 4600A502 */ mul.s $f20, $f20, $f0
|
||||
/* 711028 80238138 00000000 */ nop
|
||||
/* 71102C 8023813C 44821000 */ mtc1 $v0, $f2
|
||||
/* 711030 80238140 00000000 */ nop
|
||||
/* 711034 80238144 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 711038 80238148 46001082 */ mul.s $f2, $f2, $f0
|
||||
/* 71103C 8023814C 00000000 */ nop
|
||||
/* 711040 80238150 C6240084 */ lwc1 $f4, 0x84($s1)
|
||||
/* 711044 80238154 46802120 */ cvt.s.w $f4, $f4
|
||||
/* 711048 80238158 46142100 */ add.s $f4, $f4, $f20
|
||||
/* 71104C 8023815C C6200088 */ lwc1 $f0, 0x88($s1)
|
||||
/* 711050 80238160 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 711054 80238164 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 711058 80238168 4600218D */ trunc.w.s $f6, $f4
|
||||
/* 71105C 8023816C E6260084 */ swc1 $f6, 0x84($s1)
|
||||
/* 711060 80238170 4600018D */ trunc.w.s $f6, $f0
|
||||
/* 711064 80238174 E6260088 */ swc1 $f6, 0x88($s1)
|
||||
/* 711068 80238178 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 71106C 8023817C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 711070 80238180 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 711074 80238184 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 711078 80238188 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 71107C 8023818C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 711080 80238190 03E00008 */ jr $ra
|
||||
/* 711084 80238194 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,17 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80238198_711088
|
||||
/* 711088 80238198 3C03800E */ lui $v1, %hi(gBattleStatus+0xD8)
|
||||
/* 71108C 8023819C 8C63C148 */ lw $v1, %lo(gBattleStatus+0xD8)($v1)
|
||||
/* 711090 802381A0 90620210 */ lbu $v0, 0x210($v1)
|
||||
/* 711094 802381A4 80630214 */ lb $v1, 0x214($v1)
|
||||
/* 711098 802381A8 2442FFFD */ addiu $v0, $v0, -3
|
||||
/* 71109C 802381AC 2C450006 */ sltiu $a1, $v0, 6
|
||||
/* 7110A0 802381B0 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 7110A4 802381B4 50620001 */ beql $v1, $v0, .L802381BC
|
||||
/* 7110A8 802381B8 24050001 */ addiu $a1, $zero, 1
|
||||
.L802381BC:
|
||||
/* 7110AC 802381BC AC850084 */ sw $a1, 0x84($a0)
|
||||
/* 7110B0 802381C0 03E00008 */ jr $ra
|
||||
/* 7110B4 802381C4 24020002 */ addiu $v0, $zero, 2
|
@ -1,12 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802381C8_7110B8
|
||||
/* 7110B8 802381C8 3C02800E */ lui $v0, %hi(gBattleStatus+0xD8)
|
||||
/* 7110BC 802381CC 8C42C148 */ lw $v0, %lo(gBattleStatus+0xD8)($v0)
|
||||
/* 7110C0 802381D0 8C4301F4 */ lw $v1, 0x1f4($v0)
|
||||
/* 7110C4 802381D4 3C028028 */ lui $v0, %hi(bMarioIdleAnims)
|
||||
/* 7110C8 802381D8 24423238 */ addiu $v0, $v0, %lo(bMarioIdleAnims)
|
||||
/* 7110CC 802381DC AC620094 */ sw $v0, 0x94($v1)
|
||||
/* 7110D0 802381E0 03E00008 */ jr $ra
|
||||
/* 7110D4 802381E4 24020002 */ addiu $v0, $zero, 2
|
@ -1,82 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802381E8_7110D8
|
||||
/* 7110D8 802381E8 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 7110DC 802381EC AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* 7110E0 802381F0 3C15800E */ lui $s5, %hi(gBattleStatus+0xDC)
|
||||
/* 7110E4 802381F4 8EB5C14C */ lw $s5, %lo(gBattleStatus+0xDC)($s5)
|
||||
/* 7110E8 802381F8 AFB7002C */ sw $s7, 0x2c($sp)
|
||||
/* 7110EC 802381FC 0080B82D */ daddu $s7, $a0, $zero
|
||||
/* 7110F0 80238200 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 7110F4 80238204 0000982D */ daddu $s3, $zero, $zero
|
||||
/* 7110F8 80238208 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 7110FC 8023820C 0260A02D */ daddu $s4, $s3, $zero
|
||||
/* 711100 80238210 AFBF0030 */ sw $ra, 0x30($sp)
|
||||
/* 711104 80238214 AFB60028 */ sw $s6, 0x28($sp)
|
||||
/* 711108 80238218 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 71110C 8023821C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 711110 80238220 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 711114 80238224 82A2040C */ lb $v0, 0x40c($s5)
|
||||
/* 711118 80238228 1840001B */ blez $v0, .L80238298
|
||||
/* 71111C 8023822C 0260902D */ daddu $s2, $s3, $zero
|
||||
/* 711120 80238230 2416000E */ addiu $s6, $zero, 0xe
|
||||
/* 711124 80238234 02A0882D */ daddu $s1, $s5, $zero
|
||||
.L80238238:
|
||||
/* 711128 80238238 0C09A75B */ jal get_actor
|
||||
/* 71112C 8023823C 8624022C */ lh $a0, 0x22c($s1)
|
||||
/* 711130 80238240 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 711134 80238244 8625022E */ lh $a1, 0x22e($s1)
|
||||
/* 711138 80238248 0C099117 */ jal get_actor_part
|
||||
/* 71113C 8023824C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 711140 80238250 8E030008 */ lw $v1, 8($s0)
|
||||
/* 711144 80238254 9064001B */ lbu $a0, 0x1b($v1)
|
||||
/* 711148 80238258 82030218 */ lb $v1, 0x218($s0)
|
||||
/* 71114C 8023825C 50760001 */ beql $v1, $s6, .L80238264
|
||||
/* 711150 80238260 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80238264:
|
||||
/* 711154 80238264 8C42007C */ lw $v0, 0x7c($v0)
|
||||
/* 711158 80238268 30420020 */ andi $v0, $v0, 0x20
|
||||
/* 71115C 8023826C 54400001 */ bnel $v0, $zero, .L80238274
|
||||
/* 711160 80238270 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80238274:
|
||||
/* 711164 80238274 18800003 */ blez $a0, .L80238284
|
||||
/* 711168 80238278 00000000 */ nop
|
||||
/* 71116C 8023827C 02449021 */ addu $s2, $s2, $a0
|
||||
/* 711170 80238280 26730001 */ addiu $s3, $s3, 1
|
||||
.L80238284:
|
||||
/* 711174 80238284 82A2040C */ lb $v0, 0x40c($s5)
|
||||
/* 711178 80238288 26940001 */ addiu $s4, $s4, 1
|
||||
/* 71117C 8023828C 0282102A */ slt $v0, $s4, $v0
|
||||
/* 711180 80238290 1440FFE9 */ bnez $v0, .L80238238
|
||||
/* 711184 80238294 26310014 */ addiu $s1, $s1, 0x14
|
||||
.L80238298:
|
||||
/* 711188 80238298 5A60000C */ blezl $s3, .L802382CC
|
||||
/* 71118C 8023829C AEE00084 */ sw $zero, 0x84($s7)
|
||||
/* 711190 802382A0 16600002 */ bnez $s3, .L802382AC
|
||||
/* 711194 802382A4 0253001A */ div $zero, $s2, $s3
|
||||
/* 711198 802382A8 0007000D */ break 7
|
||||
.L802382AC:
|
||||
/* 71119C 802382AC 2401FFFF */ addiu $at, $zero, -1
|
||||
/* 7111A0 802382B0 16610004 */ bne $s3, $at, .L802382C4
|
||||
/* 7111A4 802382B4 3C018000 */ lui $at, 0x8000
|
||||
/* 7111A8 802382B8 16410002 */ bne $s2, $at, .L802382C4
|
||||
/* 7111AC 802382BC 00000000 */ nop
|
||||
/* 7111B0 802382C0 0006000D */ break 6
|
||||
.L802382C4:
|
||||
/* 7111B4 802382C4 00001012 */ mflo $v0
|
||||
/* 7111B8 802382C8 AEE20084 */ sw $v0, 0x84($s7)
|
||||
.L802382CC:
|
||||
/* 7111BC 802382CC 8FBF0030 */ lw $ra, 0x30($sp)
|
||||
/* 7111C0 802382D0 8FB7002C */ lw $s7, 0x2c($sp)
|
||||
/* 7111C4 802382D4 8FB60028 */ lw $s6, 0x28($sp)
|
||||
/* 7111C8 802382D8 8FB50024 */ lw $s5, 0x24($sp)
|
||||
/* 7111CC 802382DC 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 7111D0 802382E0 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 7111D4 802382E4 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 7111D8 802382E8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 7111DC 802382EC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7111E0 802382F0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7111E4 802382F4 03E00008 */ jr $ra
|
||||
/* 7111E8 802382F8 27BD0038 */ addiu $sp, $sp, 0x38
|
||||
/* 7111EC 802382FC 00000000 */ nop
|
@ -1,33 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_737890
|
||||
/* 737890 802A1000 3C02800E */ lui $v0, %hi(gBattleStatus+0xD8)
|
||||
/* 737894 802A1004 8C42C148 */ lw $v0, %lo(gBattleStatus+0xD8)($v0)
|
||||
/* 737898 802A1008 3C0141A0 */ lui $at, 0x41a0
|
||||
/* 73789C 802A100C 44810000 */ mtc1 $at, $f0
|
||||
/* 7378A0 802A1010 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 7378A4 802A1014 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 7378A8 802A1018 C4420144 */ lwc1 $f2, 0x144($v0)
|
||||
/* 7378AC 802A101C 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 7378B0 802A1020 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 7378B4 802A1024 3C014170 */ lui $at, 0x4170
|
||||
/* 7378B8 802A1028 44810000 */ mtc1 $at, $f0
|
||||
/* 7378BC 802A102C 44051000 */ mfc1 $a1, $f2
|
||||
/* 7378C0 802A1030 C4420148 */ lwc1 $f2, 0x148($v0)
|
||||
/* 7378C4 802A1034 C444014C */ lwc1 $f4, 0x14c($v0)
|
||||
/* 7378C8 802A1038 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 7378CC 802A103C 3C0140A0 */ lui $at, 0x40a0
|
||||
/* 7378D0 802A1040 44810000 */ mtc1 $at, $f0
|
||||
/* 7378D4 802A1044 24020006 */ addiu $v0, $zero, 6
|
||||
/* 7378D8 802A1048 46002100 */ add.s $f4, $f4, $f0
|
||||
/* 7378DC 802A104C AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 7378E0 802A1050 44061000 */ mfc1 $a2, $f2
|
||||
/* 7378E4 802A1054 44072000 */ mfc1 $a3, $f4
|
||||
/* 7378E8 802A1058 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 7378EC 802A105C 0C01C25C */ jal func_80070970
|
||||
/* 7378F0 802A1060 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 7378F4 802A1064 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 7378F8 802A1068 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7378FC 802A106C 03E00008 */ jr $ra
|
||||
/* 737900 802A1070 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,34 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1074_737904
|
||||
/* 737904 802A1074 3C02800E */ lui $v0, %hi(gBattleStatus+0xD8)
|
||||
/* 737908 802A1078 8C42C148 */ lw $v0, %lo(gBattleStatus+0xD8)($v0)
|
||||
/* 73790C 802A107C 3C0141A0 */ lui $at, 0x41a0
|
||||
/* 737910 802A1080 44810000 */ mtc1 $at, $f0
|
||||
/* 737914 802A1084 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 737918 802A1088 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 73791C 802A108C C4420144 */ lwc1 $f2, 0x144($v0)
|
||||
/* 737920 802A1090 C4440148 */ lwc1 $f4, 0x148($v0)
|
||||
/* 737924 802A1094 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 737928 802A1098 3C014170 */ lui $at, 0x4170
|
||||
/* 73792C 802A109C 44810000 */ mtc1 $at, $f0
|
||||
/* 737930 802A10A0 C446014C */ lwc1 $f6, 0x14c($v0)
|
||||
/* 737934 802A10A4 46002100 */ add.s $f4, $f4, $f0
|
||||
/* 737938 802A10A8 3C0140A0 */ lui $at, 0x40a0
|
||||
/* 73793C 802A10AC 44810000 */ mtc1 $at, $f0
|
||||
/* 737940 802A10B0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 737944 802A10B4 46003180 */ add.s $f6, $f6, $f0
|
||||
/* 737948 802A10B8 44051000 */ mfc1 $a1, $f2
|
||||
/* 73794C 802A10BC 3C013F80 */ lui $at, 0x3f80
|
||||
/* 737950 802A10C0 44811000 */ mtc1 $at, $f2
|
||||
/* 737954 802A10C4 44062000 */ mfc1 $a2, $f4
|
||||
/* 737958 802A10C8 44073000 */ mfc1 $a3, $f6
|
||||
/* 73795C 802A10CC 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 737960 802A10D0 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 737964 802A10D4 0C01C274 */ jal func_800709D0
|
||||
/* 737968 802A10D8 E7A20010 */ swc1 $f2, 0x10($sp)
|
||||
/* 73796C 802A10DC 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 737970 802A10E0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 737974 802A10E4 03E00008 */ jr $ra
|
||||
/* 737978 802A10E8 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,64 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A10A4_756824
|
||||
/* 756824 802A10A4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 756828 802A10A8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 75682C 802A10AC 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 756830 802A10B0 10A00002 */ beqz $a1, .L802A10BC
|
||||
/* 756834 802A10B4 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 756838 802A10B8 AE000070 */ sw $zero, 0x70($s0)
|
||||
.L802A10BC:
|
||||
/* 75683C 802A10BC 8E030070 */ lw $v1, 0x70($s0)
|
||||
/* 756840 802A10C0 10600005 */ beqz $v1, .L802A10D8
|
||||
/* 756844 802A10C4 24020001 */ addiu $v0, $zero, 1
|
||||
/* 756848 802A10C8 10620007 */ beq $v1, $v0, .L802A10E8
|
||||
/* 75684C 802A10CC 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 756850 802A10D0 080A845B */ j .L802A116C
|
||||
/* 756854 802A10D4 00000000 */ nop
|
||||
.L802A10D8:
|
||||
/* 756858 802A10D8 2402001E */ addiu $v0, $zero, 0x1e
|
||||
/* 75685C 802A10DC AE020074 */ sw $v0, 0x74($s0)
|
||||
/* 756860 802A10E0 24020001 */ addiu $v0, $zero, 1
|
||||
/* 756864 802A10E4 AE020070 */ sw $v0, 0x70($s0)
|
||||
.L802A10E8:
|
||||
/* 756868 802A10E8 24040001 */ addiu $a0, $zero, 1
|
||||
/* 75686C 802A10EC 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 756870 802A10F0 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 756874 802A10F4 0C04DF93 */ jal set_transition_stencil_center
|
||||
/* 756878 802A10F8 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 75687C 802A10FC 24040001 */ addiu $a0, $zero, 1
|
||||
/* 756880 802A1100 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 756884 802A1104 24060140 */ addiu $a2, $zero, 0x140
|
||||
/* 756888 802A1108 0C04DF93 */ jal set_transition_stencil_center
|
||||
/* 75688C 802A110C 240700F0 */ addiu $a3, $zero, 0xf0
|
||||
/* 756890 802A1110 3C054320 */ lui $a1, 0x4320
|
||||
/* 756894 802A1114 0C04DF69 */ jal set_transition_stencil_zoom_1
|
||||
/* 756898 802A1118 2404000C */ addiu $a0, $zero, 0xc
|
||||
/* 75689C 802A111C 8E020074 */ lw $v0, 0x74($s0)
|
||||
/* 7568A0 802A1120 14400010 */ bnez $v0, .L802A1164
|
||||
/* 7568A4 802A1124 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 7568A8 802A1128 24040001 */ addiu $a0, $zero, 1
|
||||
/* 7568AC 802A112C 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 7568B0 802A1130 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 7568B4 802A1134 0C04DF93 */ jal set_transition_stencil_center
|
||||
/* 7568B8 802A1138 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 7568BC 802A113C 24040001 */ addiu $a0, $zero, 1
|
||||
/* 7568C0 802A1140 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 7568C4 802A1144 24060140 */ addiu $a2, $zero, 0x140
|
||||
/* 7568C8 802A1148 0C04DF93 */ jal set_transition_stencil_center
|
||||
/* 7568CC 802A114C 240700F0 */ addiu $a3, $zero, 0xf0
|
||||
/* 7568D0 802A1150 2404000C */ addiu $a0, $zero, 0xc
|
||||
/* 7568D4 802A1154 0C04DF69 */ jal set_transition_stencil_zoom_1
|
||||
/* 7568D8 802A1158 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 7568DC 802A115C 080A845B */ j .L802A116C
|
||||
/* 7568E0 802A1160 24020002 */ addiu $v0, $zero, 2
|
||||
.L802A1164:
|
||||
/* 7568E4 802A1164 AE020074 */ sw $v0, 0x74($s0)
|
||||
/* 7568E8 802A1168 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802A116C:
|
||||
/* 7568EC 802A116C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 7568F0 802A1170 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7568F4 802A1174 03E00008 */ jr $ra
|
||||
/* 7568F8 802A1178 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
/* 7568FC 802A117C 00000000 */ nop
|
@ -3389,7 +3389,7 @@ func_802601BC = 0x802601BC; // type:func rom:0x18EA9C
|
||||
func_80260948 = 0x80260948; // type:func rom:0x18F228
|
||||
func_80260A20 = 0x80260A20; // type:func rom:0x18F300
|
||||
func_80260A60 = 0x80260A60; // type:func rom:0x18F340
|
||||
func_80260AD4 = 0x80260AD4; // type:func rom:0x18F3B4
|
||||
IsPartnerImmobile = 0x80260AD4; // type:func rom:0x18F3B4
|
||||
activate_defend_command = 0x80260B04; // type:func rom:0x18F3E4
|
||||
func_80260B70 = 0x80260B70; // type:func rom:0x18F450
|
||||
func_80260BF4 = 0x80260BF4; // type:func rom:0x18F4D4
|
||||
@ -5946,7 +5946,7 @@ func_802390C8_6F21A8 = 0x802390C8; // type:func rom:0x6F21A8
|
||||
func_80239190_6F2270 = 0x80239190; // type:func rom:0x6F2270
|
||||
func_80238000_6F5E80 = 0x80238000; // type:func rom:0x6F5E80
|
||||
func_80238114_6F5F94 = 0x80238114; // type:func rom:0x6F5F94
|
||||
func_80238298_6F6118 = 0x80238298; // type:func rom:0x6F6118
|
||||
battle_partner_kooper_AverageTargetDizzyChance = 0x80238298; // type:func rom:0x6F6118
|
||||
func_802383C0_6F6240 = 0x802383C0; // type:func rom:0x6F6240
|
||||
func_80238000_6FAD10 = 0x80238000; // type:func rom:0x6FAD10
|
||||
func_80238244_6FAF54 = 0x80238244; // type:func rom:0x6FAF54
|
||||
@ -5977,7 +5977,7 @@ func_80238810_704300 = 0x80238810; // type:func rom:0x704300
|
||||
func_80238B3C_70462C = 0x80238B3C; // type:func rom:0x70462C
|
||||
func_80238C08_7046F8 = 0x80238C08; // type:func rom:0x7046F8
|
||||
func_80238C84_704774 = 0x80238C84; // type:func rom:0x704774
|
||||
func_80238E5C_70494C = 0x80238E5C; // type:func rom:0x70494C
|
||||
battle_partner_watt_AverageTargetParalyzeChance = 0x80238E5C; // type:func rom:0x70494C
|
||||
func_80238000_707CA0 = 0x80238000; // type:func rom:0x707CA0
|
||||
func_80238114_707DB4 = 0x80238114; // type:func rom:0x707DB4
|
||||
func_802381EC_707E8C = 0x802381EC; // type:func rom:0x707E8C
|
||||
@ -6004,9 +6004,9 @@ func_80238000_710EF0 = 0x80238000; // type:func rom:0x710EF0
|
||||
func_80238014_710F04 = 0x80238014; // type:func rom:0x710F04
|
||||
func_8023808C_710F7C = 0x8023808C; // type:func rom:0x710F7C
|
||||
func_802380E4_710FD4 = 0x802380E4; // type:func rom:0x710FD4
|
||||
func_80238198_711088 = 0x80238198; // type:func rom:0x711088
|
||||
battle_partner_bow_IsPartnerImmobile = 0x80238198; // type:func rom:0x711088
|
||||
func_802381C8_7110B8 = 0x802381C8; // type:func rom:0x7110B8
|
||||
func_802381E8_7110D8 = 0x802381E8; // type:func rom:0x7110D8
|
||||
battle_partner_bow_AverageTargetStatusChance = 0x802381E8; // type:func rom:0x7110D8
|
||||
func_80238000_714CF0 = 0x80238000; // type:func rom:0x714CF0
|
||||
func_80238028_714D18 = 0x80238028; // type:func rom:0x714D18
|
||||
func_802A1000_715850 = 0x802A1000; // type:func rom:0x715850
|
||||
|
Loading…
Reference in New Issue
Block a user