Decompile several battle map functions (#500)

* add information about dead maps

* link the names of dead maps to their alive counterparts

* decompile several battle maps related functions

* add information about dead maps

* link the names of dead maps to their alive counterparts

* decompile several battle maps related functions

* .

* resolve issues

* .

* rename of chainchomp related structs and functions
This commit is contained in:
Alexander Faßbender 2021-10-28 16:51:46 +02:00 committed by GitHub
parent b9bc4b8af8
commit 1f57f7ed09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
91 changed files with 559 additions and 1985 deletions

View File

@ -1569,6 +1569,17 @@ typedef struct ActorMovement {
/* 0x4C */ f32 distance;
} ActorMovement; // size = 0x50;
typedef struct ChompChainAnimationState {
/* 0x00 */ Vec3f currentPos;
/* 0x0C */ f32 unk_0C;
/* 0x10 */ f32 unk_10;
/* 0x14 */ f32 unk_14;
/* 0x18 */ f32 unk_18;
/* 0x1C */ f32 unk_1C;
/* 0x20 */ f32 unk_20;
/* 0x24 */ Vec3f scale;
} ChompChainAnimationState; // size = 0x30
typedef struct ActorState { // TODO: Make the first field of this an ActorMovement
/* 0x00 */ Vec3f currentPos;
/* 0x0C */ Vec3f goalPos;
@ -1586,9 +1597,10 @@ typedef struct ActorState { // TODO: Make the first field of this an ActorMoveme
/* 0x60 */ s32 animJumpLand;
/* 0x64 */ s16 moveTime;
/* 0x66 */ s16 moveArcAmplitude;
/* 0x68 */ char unk_74[3];
/* 0x68 */ char unk_68[3];
/* 0x6B */ u8 jumpPartIndex;
/* 0x6C */ char unk_78[16];
/* 0x6C */ ChompChainAnimationState* unk_6C;
/* 0x70 */ char unk_70[12];
/* 0x7C */ s32 varTable[16];
} ActorState; // size = 0xBC;

View File

@ -104,7 +104,8 @@ typedef struct EffectInstanceData {
/* 0x28 */ f32 unk_28;
/* 0x2C */ s32 unk_2C;
/* 0x30 */ f32 unk_30;
/* 0x34 */ char unk_34[8];
/* 0x34 */ f32 unk_34;
/* 0x38 */ f32 unk_38;
/* 0x3C */ s32 unk_3C;
/* 0x40 */ char unk_40[0x24];
/* 0x64 */ f32 unk_64;
@ -184,7 +185,7 @@ EffectInstance* playFX_1C(s32, f32, f32, f32, s32);
void playFX_1D(s32, f32, f32, f32, f32, s32, f32, s32);
EffectInstance* playFX_1E(s32, f32, f32, f32, f32, f32, s32, s32*);
EffectInstance* playFX_1F(s32, f32, f32, f32, f32, f32, f32, f32);
EffectInstance* playFX_20(s32, f32, f32, f32, f32, s32*);
EffectInstance* playFX_20(s32, f32, f32, f32, f32, EffectInstance*);
EffectInstance* playFX_21(s32, f32, f32, f32, f32, f32, s32);
void playFX_22(s32, f32, f32, f32, f32, f32, s32, s32);
EffectInstance* playFX_23(u32, f32, f32, f32, f32);

View File

@ -2,8 +2,6 @@
#define NAMESPACE E20110
extern s32 D_8010C958;
#include "common/UnkAngleFunc1.inc.c"
INCLUDE_ASM(s32, "E20110", func_802B70B4_E201C4);

View File

@ -4,4 +4,3 @@
#define NAMESPACE EF8010
#include "world/common/foliage.inc.c"

View File

@ -6,15 +6,4 @@
#include "common/StartRumbleWithParams.inc.c"
#define NAMESPACE b_area_arn
ApiStatus func_80218618_4FF068(Evt* script, s32 isInitialCall) {
s32 temp_s0 = evt_get_variable(script, *script->ptrReadPos);
Actor* actor = get_actor(script->owner1.actorID);
if (temp_s0 == 0) {
actor->staticActorData->spinSmashReq = 4;
} else {
actor->staticActorData->spinSmashReq = 0;
}
return ApiStatus_DONE2;
}
#include "common/SetSpinSmashable.inc.c"

View File

@ -2,42 +2,6 @@
#define NAMESPACE b_area_dig
ApiStatus func_80218430_6DE1F0(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
f32 x;
f32 y;
f32 float3;
f32 angle;
s32 destBytecode1;
s32 destBytecode2;
s32 destBytecode3;
// Seems to be necessary to get the stack allocations to line up.
s8 unused[0x40];
angle = (f64)evt_get_variable(script, *args++) / 10.0f;
angle = angle * TAU;
angle = angle / 360.0f;
destBytecode1 = *args++;
destBytecode2 = *args++;
destBytecode3 = *args++;
x = sin_rad(angle) * 150.0f + 0.0f;
y = cos_rad(angle) * 150.0f + 0.0f;
float3 = -252.0f;
x -= script->varTable[11];
y -= script->varTable[12];
float3 -= script->varTable[13];
evt_set_float_variable(script, destBytecode1, x);
evt_set_float_variable(script, destBytecode2, y);
evt_set_float_variable(script, destBytecode3, float3);
return ApiStatus_DONE2;
}
#include "common/UnkFloatFunc3.inc.c"
#include "common/GetModelPos.inc.c"

View File

@ -4,17 +4,4 @@
#include "common/UnkBattleFunc1.inc.c"
ApiStatus func_802180CC_5B157C(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
s32 prevX = evt_get_variable(script, *args++);
s32 prevZ = evt_get_variable(script, *args++);
s32 length = evt_get_variable(script, *args++);
s32 angle = evt_get_variable(script, *args++);
f32 outX = prevX + (length * cos_deg(angle));
f32 outZ = prevZ - (length * sin_deg(angle));
evt_set_float_variable(script, *args++, outX);
evt_set_float_variable(script, *args++, outZ);
return ApiStatus_DONE2;
}
#include "common/UnkFloatFunc4.inc.c"

View File

@ -14,7 +14,6 @@ extern char* D_80233564_5CCA14[11];
extern char* D_80233870_5CCD20[11];
extern char* D_80233950_5CCE00[11];
ApiStatus func_80219420_5B28D0(Evt* script, s32 isInitialCall) {
s32 var1 = 0;
u32 i;

View File

@ -1,31 +1,157 @@
#include "common.h"
#include "effects.h"
#define NAMESPACE b_area_flo2
typedef struct Flo02Struct {
/* 0x00 */ Vec3f actorPos;
/* 0x0C */ f32 unk_0C;
/* 0x10 */ f32 unk_10;
/* 0x14 */ f32 unk_14;
/* 0x18 */ Vec3f enemyPos;
} Flo02Struct; // size = 0x24
typedef struct Flo02Struct3 {
/* 0x00 */ char unk_00[4];
/* 0x04 */ Vec3f pos;
} Flo02Struct3; // size = 0x10
typedef struct Flo02Struct2 {
/* 0x00 */ char unk_00[12];
/* 0x0C */ Flo02Struct3* unk_0C;
} Flo02Struct2; // size = 0x10
extern s32 D_8021A35C_5D09EC;
extern s32 D_8021A378_5D0A08;
extern Flo02Struct D_80235E00[];
#include "common/StartRumbleWithParams.inc.c"
INCLUDE_ASM(s32, "battle/area_flo2/5CE690", func_80218058_5CE6E8);
ApiStatus func_80218058_5CE6E8(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
Actor* actor = get_actor(ACTOR_ENEMY0);
actor->healthBarPosition.x = actor->homePos.x + evt_get_variable(script, *args++);
actor->healthBarPosition.y = actor->homePos.y + evt_get_variable(script, *args++);
actor->healthBarPosition.z = actor->homePos.z;
return ApiStatus_DONE2;
}
#include "common/UnkFloatFunc.inc.c"
INCLUDE_ASM(s32, "battle/area_flo2/5CE690", func_802182A4_5CE934);
ApiStatus func_802182A4_5CE934(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
void* outVar1 = *args++;
f32 x = evt_get_float_variable(script, outVar1);
void* outVar2 = *args++;
f32 y = evt_get_float_variable(script, outVar2);
void* outVar3 = *args++;
f32 z = evt_get_float_variable(script, outVar3);
f32 temp_f26 = evt_get_float_variable(script, *args++);
f32 temp_f24 = evt_get_float_variable(script, *args++);
f32 factor = evt_get_float_variable(script, *args++);
temp_f24 -= 15.0f;
x += factor * cos_deg(temp_f26) * cos_deg(temp_f24);
y += factor * sin_deg(temp_f26);
z -= factor * cos_deg(temp_f26) * sin_deg(temp_f24);
evt_set_float_variable(script, outVar1, x);
evt_set_float_variable(script, outVar2, y);
evt_set_float_variable(script, outVar3, z);
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "battle/area_flo2/5CE690", func_80218440_5CEAD0);
INCLUDE_ASM(s32, "battle/area_flo2/5CE690", func_802185D4_5CEC64);
ApiStatus func_802185D4_5CEC64(Evt* script, s32 isInitialCall) {
s32* actorID = &script->owner1.actorID;
D_8021A35C_5D09EC = (s8) get_actor(*actorID)->turnPriority;
D_8021A378_5D0A08 = (s8) get_actor(*actorID)->turnPriority;
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "battle/area_flo2/5CE690", func_80218620_5CECB0);
ApiStatus func_80218620_5CECB0(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
Flo02Struct* temp_s1 = &D_80235E00[evt_get_variable(script, *args++)];
INCLUDE_ASM(s32, "battle/area_flo2/5CE690", func_80218774_5CEE04);
temp_s1->actorPos.x = evt_get_variable(script, *args++);
temp_s1->actorPos.y = evt_get_variable(script, *args++);
temp_s1->actorPos.z = evt_get_variable(script, *args++);
temp_s1->unk_0C = -rand_int(20);
temp_s1->unk_10 = rand_int(40) + 60;
temp_s1->unk_14 = 0;
temp_s1->enemyPos.x = evt_get_variable(script, *args++);
temp_s1->enemyPos.y = evt_get_variable(script, *args++);
temp_s1->enemyPos.z = evt_get_variable(script, *args++);
return ApiStatus_DONE2;
}
ApiStatus func_80218774_5CEE04(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
s32 var1 = evt_get_variable(script, *args++);
f32 var2 = evt_get_float_variable(script, *args++);
f32 var3 = evt_get_float_variable(script, *args++);
f32 var4 = evt_get_float_variable(script, *args++);
f32 var5 = evt_get_float_variable(script, *args++);
f32 var6 = evt_get_float_variable(script, *args++);
f32 var7 = evt_get_float_variable(script, *args++);
s32 var8 = evt_get_variable(script, *args++);
EffectInstance* effect = playFX_6E(var1, var2, var3, var4, var5, var6, var7, var8);
evt_set_variable(script, *args++, effect);
return ApiStatus_DONE2;
}
#include "common/UnkBackgroundFunc3.inc.c"
#include "common/SetBackgroundAlpha.inc.c"
INCLUDE_ASM(s32, "battle/area_flo2/5CE690", func_80218924_5CEFB4);
ApiStatus func_80218924_5CEFB4(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
s32 var1 = evt_get_variable(script, *args++);
s32 var2 = evt_get_variable(script, *args++);
s32 var3 = evt_get_variable(script, *args++);
f32 var4 = evt_get_float_variable(script, *args++);
INCLUDE_ASM(s32, "battle/area_flo2/5CE690", func_802189FC_5CF08C);
script->varTable[0] = playFX_57(0, var1, var2, var3, var4 * 2.5f, 0);
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "battle/area_flo2/5CE690", func_80218AA0_5CF130);
ApiStatus func_802189FC_5CF08C(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
Flo02Struct2* temp_s2 = evt_get_variable(script, *args++);
f32 posX = evt_get_float_variable(script, *args++);
f32 posY = evt_get_float_variable(script, *args++);
f32 posZ = evt_get_float_variable(script, *args++);
INCLUDE_ASM(s32, "battle/area_flo2/5CE690", func_80218B60_5CF1F0);
temp_s2->unk_0C->pos.x = posX;
temp_s2->unk_0C->pos.y = posY;
temp_s2->unk_0C->pos.z = posZ;
return ApiStatus_DONE2;
}
ApiStatus func_80218AA0_5CF130(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
s32* var1 = *args++;
f32 var2 = evt_get_float_variable(script, *args++);
f32 var3 = evt_get_float_variable(script, *args++);
f32 var4 = evt_get_float_variable(script, *args++);
f32 var5 = evt_get_float_variable(script, *args++);
evt_set_float_variable(script, var1, atan2(var2, var3, var4, var5));
return ApiStatus_DONE2;
}
ApiStatus func_80218B60_5CF1F0(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
s32 temp_s3 = evt_get_variable(script, *args++);
f32 temp_f22 = evt_get_float_variable(script, *args++);
f32 temp_f20 = evt_get_float_variable(script, *args++);
s32 temp_s2 = evt_get_variable(script, *args++);
s32 temp_s4 = evt_get_variable(script, *args++);
evt_set_float_variable(script, *args++, update_lerp(temp_s3, temp_f22, temp_f20, temp_s2, temp_s4));
return ApiStatus_DONE2;
}

View File

@ -1,15 +1,34 @@
#include "common.h"
#include "effects.h"
#define NAMESPACE b_area_isk_part_1
INCLUDE_ASM(s32, "battle/area_isk_part_1/4E29B0", func_80218270_4E29B0);
extern EffectInstance* D_80224D60;
extern EffectInstance* D_80224D64;
extern s32 D_80224920_4EF060;
INCLUDE_ASM(s32, "battle/area_isk_part_1/4E29B0", func_802183C0_4E2B00);
#include "common/ChompChainInit.inc.c"
INCLUDE_ASM(s32, "battle/area_isk_part_1/4E29B0", func_80218458_4E2B98);
#include "common/ChompChainUpdateHelperFunc.inc.c"
INCLUDE_ASM(s32, "battle/area_isk_part_1/4E29B0", func_802184CC_4E2C0C);
#include "common/ChompChainUpdateHelperFunc2.inc.c"
INCLUDE_ASM(s32, "battle/area_isk_part_1/4E29B0", func_802188B0_4E2FF0);
INCLUDE_ASM(s32, "battle/area_isk_part_1/4E29B0", b_area_isk_part_1_ChompChainUpdate);
INCLUDE_ASM(s32, "battle/area_isk_part_1/4E29B0", func_80218944_4E3084);
// Clover's suggestion: isk_bt04_CreateTorchFX
// Reason: this sort of additional namespacing is required because the isk battle source includes the data for each of the stages
// if these were regular maps, theyd have their own source files
ApiStatus func_802188B0_4E2FF0(Evt* script, s32 isInitialCall) {
playFX_20(1, -133.0f, 72.0f, -143.0f, 0.3f, &D_80224D60);
playFX_20(1, 129.0f, 72.0f, -143.0f, 0.3f, &D_80224D64);
return ApiStatus_DONE2;
}
// Clover's suggestion: isk_bt04_DeleteTorchFX
// Reason: this sort of additional namespacing is required because the isk battle source includes the data for each of the stages
// if these were regular maps, theyd have their own source files
ApiStatus func_80218944_4E3084(Evt* script, s32 isInitialCall) {
remove_effect(D_80224D60);
remove_effect(D_80224D64);
return ApiStatus_DONE2;
}

View File

@ -1,7 +1,19 @@
#include "common.h"
#include "effects.h"
#define NAMESPACE b_area_isk_part_1
INCLUDE_ASM(s32, "battle/area_isk_part_1/4E30C0", func_80218980_4E30C0);
extern EffectInstance* D_80224D70;
extern EffectInstance* D_80224D74;
INCLUDE_ASM(s32, "battle/area_isk_part_1/4E30C0", func_80218A10_4E3150);
ApiStatus func_80218980_4E30C0(Evt* script, s32 isInitialCall) {
playFX_20(1, -90.0f, 45.0f, -146.0f, 0.25f, &D_80224D70);
playFX_20(1, 80.0f, 45.0f, -146.0f, 0.25f, &D_80224D74);
return ApiStatus_DONE2;
}
ApiStatus func_80218A10_4E3150(Evt* script, s32 isInitialCall) {
remove_effect(D_80224D70);
remove_effect(D_80224D74);
return ApiStatus_DONE2;
}

View File

@ -1,19 +1,49 @@
#include "common.h"
#include "effects.h"
#define NAMESPACE b_area_isk_part_1
INCLUDE_ASM(s32, "battle/area_isk_part_1/4E3190", func_80218A50_4E3190);
extern EffectInstance* D_80224D80;
extern EffectInstance* D_80224D90;
extern EffectInstance* D_80224DA0;
extern EffectInstance* D_80224DB0;
INCLUDE_ASM(s32, "battle/area_isk_part_1/4E3190", func_80218A98_4E31D8);
ApiStatus func_80218A50_4E3190(Evt* script, s32 isInitialCall) {
playFX_20(1, -110.0f, 80.0f, -146.0f, 0.3f, &D_80224D80);
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "battle/area_isk_part_1/4E3190", func_80218AC0_4E3200);
ApiStatus func_80218A98_4E31D8(Evt* script, s32 isInitialCall) {
remove_effect(D_80224D80);
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "battle/area_isk_part_1/4E3190", func_80218B08_4E3248);
ApiStatus func_80218AC0_4E3200(Evt* script, s32 isInitialCall) {
playFX_20(1, 110.0f, 80.0f, -146.0f, 0.3f, &D_80224D90);
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "battle/area_isk_part_1/4E3190", func_80218B30_4E3270);
ApiStatus func_80218B08_4E3248(Evt* script, s32 isInitialCall) {
remove_effect(D_80224D90);
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "battle/area_isk_part_1/4E3190", func_80218B78_4E32B8);
ApiStatus func_80218B30_4E3270(Evt* script, s32 isInitialCall) {
playFX_20(1, -110.0f, 80.0f, -146.0, 0.3f, &D_80224DA0);
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "battle/area_isk_part_1/4E3190", func_80218BA0_4E32E0);
ApiStatus func_80218B78_4E32B8(Evt* script, s32 isInitialCall) {
remove_effect(D_80224DA0);
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "battle/area_isk_part_1/4E3190", func_80218BE8_4E3328);
ApiStatus func_80218BA0_4E32E0(Evt* script, s32 isInitialCall) {
playFX_20(1, 0, 72.0f, -146.0, 0.3f, &D_80224DB0);
return ApiStatus_DONE2;
}
ApiStatus func_80218BE8_4E3328(Evt* script, s32 isInitialCall) {
remove_effect(D_80224DB0);
return ApiStatus_DONE2;
}

View File

@ -1,17 +1,35 @@
#include "common.h"
#include "effects.h"
#define NAMESPACE b_area_isk_part_2
INCLUDE_ASM(s32, "battle/area_isk_part_2/4EF4A0", func_80218000_4EF4A0);
#include "common/ChompChainInit.inc.c"
INCLUDE_ASM(s32, "battle/area_isk_part_2/4EF4A0", func_80218150_4EF5F0);
#include "common/ChompChainUpdateHelperFunc.inc.c"
INCLUDE_ASM(s32, "battle/area_isk_part_2/4EF4A0", func_802181E8_4EF688);
#include "common/ChompChainUpdateHelperFunc2.inc.c"
INCLUDE_ASM(s32, "battle/area_isk_part_2/4EF4A0", func_8021825C_4EF6FC);
INCLUDE_ASM(s32, "battle/area_isk_part_2/4EF4A0", b_area_isk_part_2_ChompChainUpdate);
INCLUDE_ASM(s32, "battle/area_isk_part_2/4EF4A0", func_8021866C_4EFB0C);
ApiStatus func_8021866C_4EFB0C(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
s32 var1 = *args++;
evt_get_variable(script, *args++);
return ApiStatus_DONE2;
}
#include "common/UnkBattleFunc1.inc.c"
INCLUDE_ASM(s32, "battle/area_isk_part_2/4EF4A0", func_8021875C_4EFBFC);
ApiStatus func_8021875C_4EFBFC(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
s32 var1 = evt_get_variable(script, *args++);
s32 var2 = evt_get_variable(script, *args++);
s32 var3 = evt_get_variable(script, *args++);
EffectInstance* effect = playFX_4C(2, var1, 150.0f, var3, var2, -0.5f, -0.9f, 0.5f, 60);
effect->data->unk_30 = 0;
effect->data->unk_38 = 0;
effect->data->unk_34 = 0;
return ApiStatus_DONE2;
}

View File

@ -1,7 +1,19 @@
#include "common.h"
#include "effects.h"
#define NAMESPACE b_area_isk_part_2
INCLUDE_ASM(s32, "battle/area_isk_part_2/4EFCF0", func_80218850_4EFCF0);
extern EffectInstance* D_80220740;
extern EffectInstance* D_80220744;
INCLUDE_ASM(s32, "battle/area_isk_part_2/4EFCF0", func_802188E4_4EFD84);
ApiStatus func_80218850_4EFCF0(Evt* script, s32 isInitialCall) {
playFX_20(1, -133.0f, 72.0f, -143.0f, 0.3f, &D_80220740);
playFX_20(1, 129.0f, 72.0f, -143.0f, 0.3f, &D_80220744);
return ApiStatus_DONE2;
}
ApiStatus func_802188E4_4EFD84(Evt* script, s32 isInitialCall) {
remove_effect(D_80220740);
remove_effect(D_80220744);
return ApiStatus_DONE2;
}

View File

@ -1,7 +1,19 @@
#include "common.h"
#include "effects.h"
#define NAMESPACE b_area_isk_part_2
INCLUDE_ASM(s32, "battle/area_isk_part_2/4EFDC0", func_80218920_4EFDC0);
extern EffectInstance* D_80220750;
extern EffectInstance* D_80220754;
INCLUDE_ASM(s32, "battle/area_isk_part_2/4EFDC0", func_802189B0_4EFE50);
ApiStatus func_80218920_4EFDC0(Evt* script, s32 isInitialCall) {
playFX_20(1, -90.0f, 45.0f, -146.0f, 0.25f, &D_80220750);
playFX_20(1, 80.0f, 45.0f, -146.0f, 0.25f, &D_80220754);
return ApiStatus_DONE2;
}
ApiStatus func_802189B0_4EFE50(Evt* script, s32 isInitialCall) {
remove_effect(D_80220750);
remove_effect(D_80220754);
return ApiStatus_DONE2;
}

View File

@ -1,15 +1,38 @@
#include "common.h"
#include "effects.h"
#define NAMESPACE b_area_isk_part_2
INCLUDE_ASM(s32, "battle/area_isk_part_2/4EFE90", func_802189F0_4EFE90);
extern EffectInstance* D_80220760;
extern EffectInstance* D_80220770;
extern EffectInstance* D_80220780;
INCLUDE_ASM(s32, "battle/area_isk_part_2/4EFE90", func_80218A38_4EFED8);
ApiStatus func_802189F0_4EFE90(Evt* script, s32 isInitialCall) {
playFX_20(1, -110.0f, 80.0f, -146.0f, 0.3f, &D_80220760);
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "battle/area_isk_part_2/4EFE90", func_80218A60_4EFF00);
ApiStatus func_80218A38_4EFED8(Evt* script, s32 isInitialCall) {
remove_effect(D_80220760);
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "battle/area_isk_part_2/4EFE90", func_80218AA8_4EFF48);
ApiStatus func_80218A60_4EFF00(Evt* script, s32 isInitialCall) {
playFX_20(1, -110.0f, 80.0f, -146.0f, 0.3f, &D_80220770);
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "battle/area_isk_part_2/4EFE90", func_80218AD0_4EFF70);
ApiStatus func_80218AA8_4EFF48(Evt* script, s32 isInitialCall) {
remove_effect(D_80220770);
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "battle/area_isk_part_2/4EFE90", func_80218B18_4EFFB8);
ApiStatus func_80218AD0_4EFF70(Evt* script, s32 isInitialCall) {
playFX_20(1, 110.0f, 80.0f, -146.0f, 0.3f, &D_80220780);
return ApiStatus_DONE2;
}
ApiStatus func_80218B18_4EFFB8(Evt* script, s32 isInitialCall) {
remove_effect(D_80220780);
return ApiStatus_DONE2;
}

View File

@ -3,17 +3,6 @@
#define NAMESPACE b_area_iwa
ApiStatus N(SetSpinSmashable)(Evt* script, s32 isInitialCall) {
s32 canSpinSmash = evt_get_variable(script, *script->ptrReadPos);
Actor* actor = get_actor(script->owner1.actorID);
if (canSpinSmash == FALSE) {
actor->staticActorData->spinSmashReq = 4;
} else {
actor->staticActorData->spinSmashReq = 0;
}
return ApiStatus_DONE2;
}
#include "common/SetSpinSmashable.inc.c"
#include "common/StartRumbleWithParams.inc.c"

View File

@ -1,4 +1,25 @@
#include "common.h"
#include "effects.h"
typedef struct Effect6FData {
/* 0x00 */ EffectInstanceDataThing* unk_00;
/* 0x04 */ Vec3f pos;
/* 0x10 */ Vec3i rotation;
/* 0x1C */ Vec3i scale;
/* 0x28 */ Vec3i color;
/* 0x34 */ f32 unk_34;
/* 0x38 */ f32 unk_38;
/* 0x3C */ s32 unk_3C;
/* 0x40 */ char unk_40[0x4];
} Effect6FData; // size = 0x4
typedef struct Effect6FInstance {
/* 0x00 */ s32 flags;
/* 0x04 */ s32 effectIndex;
/* 0x08 */ s32 numParts;
/* 0x0C */ Effect6FData* data;
/* 0x10 */ struct EffectGraphics* effect;
} Effect6FInstance;
#define NAMESPACE b_area_jan2
@ -6,4 +27,33 @@
#include "common/UnkBattleFunc1.inc.c"
#define NAMESPACE b_area_jan2
INCLUDE_ASM(s32, "battle/area_jan2/584940", func_802180CC_584A0C);
ApiStatus func_802180CC_584A0C(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
Effect6FInstance* effect;
f32 temp_f20;
s32 temp_s0_9;
s32 temp_s1;
s32 temp_s2;
s32 temp_s3;
s32 temp_s4;
s32 temp_s5;
s32 temp_s6;
evt_get_variable(script, *args++);
temp_s6 = evt_get_variable(script, *args++);
temp_s5 = evt_get_variable(script, *args++);
temp_s4 = evt_get_variable(script, *args++);
temp_f20 = evt_get_float_variable(script, *args++);
temp_s2 = evt_get_variable(script, *args++);
temp_s3 = evt_get_variable(script, *args++);
temp_s1 = evt_get_variable(script, *args++);
temp_s0_9 = evt_get_variable(script, *args++);
effect = playFX_6F(1, temp_s6, temp_s5, temp_s4, temp_f20, temp_s2);
effect->data->rotation.z = temp_s3;
effect->data->scale.x = temp_s1;
effect->data->scale.y = temp_s0_9;
effect->data->color.x = 255; // red
effect->data->color.y = 255; // green
effect->data->color.z = 255; // blue
return ApiStatus_DONE2;
}

View File

@ -10,4 +10,4 @@ INCLUDE_ASM(s32, "battle/area_kgr/56E2A0", func_802182E4_56E584);
#include "common/StartRumbleWithParams.inc.c"
INCLUDE_ASM(s32, "battle/area_kgr/56E2A0", func_802184F8_56E798);
#include "common/SpyGuyActionFunc.inc.c"

View File

@ -4,4 +4,4 @@
#include "common/UnkBattleFunc1.inc.c"
INCLUDE_ASM(s32, "battle/area_mim/4F7D50", func_8021823C_4F7E1C);
#include "common/UnkFloatFunc4.inc.c"

View File

@ -12,4 +12,9 @@
INCLUDE_ASM(s32, "battle/area_nok/48DCF0", func_80218C74_48DE14);
INCLUDE_ASM(s32, "battle/area_nok/48DCF0", func_80218DF8_48DF98);
ApiStatus func_80218DF8_48DF98(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
evt_get_variable(script, args[1]);
return ApiStatus_DONE2;
}

View File

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

View File

@ -2,4 +2,9 @@
#define NAMESPACE b_area_omo2_3
INCLUDE_ASM(s32, "battle/area_omo2_3/54CC70", func_80231000_54CC70);
ApiStatus func_80231000_54CC70(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
evt_get_variable(script, args[1]);
return ApiStatus_DONE2;
}

View File

@ -2,6 +2,6 @@
#define NAMESPACE b_area_sbk
INCLUDE_ASM(s32, "battle/area_sbk/4DA6B0", func_802180D0_4DA6B0);
#include "common/UnkFloatFunc3.inc.c"
#include "common/GetModelPos.inc.c"

View File

@ -0,0 +1,35 @@
#include "common.h"
ApiStatus N(ChompChainInit)(Evt* script, s32 isInitialCall) {
Actor* actor = get_actor(script->owner1.actor);
ActorPart* actorPart;
ChompChainAnimationState* it;
s32 partOffset = 3;
f32 x, y, z;
s32 i;
it = heap_malloc(8 * sizeof(ChompChainAnimationState));
actor->state.unk_6C = it;
x = actor->currentPos.x + 12.0;
y = actor->currentPos.y + 5.0;
z = actor->currentPos.z;
for (i = 0; i < 8; i++, it++) {
it->scale.x = 7.0f;
it->scale.z = 7.0f;
it->scale.y = 7.0f;
it->currentPos.x = x;
it->currentPos.y = y;
it->currentPos.z = z;
it->unk_1C = 0;
it->unk_20 = 0.6f;
it->unk_14 = 3.0f;
it->unk_18 = 0;
actorPart = get_actor_part(actor, partOffset + i);
actorPart->absolutePosition.x = it->currentPos.x;
actorPart->absolutePosition.y = it->currentPos.y;
actorPart->absolutePosition.z = it->currentPos.z;
}
return ApiStatus_DONE2;
}

View File

@ -0,0 +1,10 @@
#include "common.h"
ApiStatus N(ChompChainUpdateHelperFunc)(ChompChainAnimationState* script, f32 magnitude, f32 angleDeg) {
f32 angle = (angleDeg * TAU) / 360.0f;
f32 dirX = sin_rad(angle);
f32 dirY = cos_rad(angle);
script->currentPos.x += -magnitude * dirX;
script->currentPos.y += magnitude * dirY;
}

View File

@ -0,0 +1,9 @@
#include "common.h"
ApiStatus N(ChompChainUpdateHelperFunc2)(ChompChainAnimationState* script, f32 magnitude, f32 angleDeg) {
f32 angle = (angleDeg * TAU) / 360.0f;
f32 dirX = sin_rad(angle);
f32 dirY = cos_rad(angle);
script->currentPos.x = magnitude * dirY;
}

View File

@ -0,0 +1,15 @@
#include "common.h"
#include "battle/battle.h"
ApiStatus N(SetSpinSmashable)(Evt* script, s32 isInitialCall) {
s32 canSpinSmash = evt_get_variable(script, *script->ptrReadPos);
Actor* actor = get_actor(script->owner1.actorID);
if (!canSpinSmash) {
actor->staticActorData->spinSmashReq = 4;
} else {
actor->staticActorData->spinSmashReq = 0;
}
return ApiStatus_DONE2;
}

View File

@ -0,0 +1,14 @@
#include "common.h"
ApiStatus N(SpyGuyActionFunc)(Evt* script, s32 isInitialCall) {
BattleStatus* status = &gBattleStatus;
Bytecode* args = script->ptrReadPos;
if (status->hammerLossTurns == -1 || status->jumpLossTurns == -1 || status->itemLossTurns == -1) {
evt_set_variable(script, *args++, 0);
} else {
evt_set_variable(script, *args++, -1);
}
return ApiStatus_DONE2;
}

View File

@ -0,0 +1,37 @@
#include "common.h"
#include "battle/battle.h"
ApiStatus N(UnkFloatFunc3)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
s32 destBytecode1;
s32 destBytecode2;
s32 destBytecode3;
f32 x;
f32 y;
f32 float3;
f32 angle;
// Seems to be necessary to get the stack allocations to line up.
s8 unused[0x40];
angle = evt_get_variable(script, *args++) / 10.0;
angle = angle * TAU;
angle = angle / 360.0f;
destBytecode1 = *args++;
destBytecode2 = *args++;
destBytecode3 = *args++;
x = sin_rad(angle) * 150.0f + 0.0f;
y = cos_rad(angle) * 150.0f + 0.0f;
float3 = -252.0f;
x -= script->varTable[11];
y -= script->varTable[12];
float3 -= script->varTable[13];
evt_set_float_variable(script, destBytecode1, x);
evt_set_float_variable(script, destBytecode2, y);
evt_set_float_variable(script, destBytecode3, float3);
return ApiStatus_DONE2;
}

View File

@ -0,0 +1,17 @@
#include "common.h"
#include "battle/battle.h"
ApiStatus N(UnkFloatFunc4)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
s32 prevX = evt_get_variable(script, *args++);
s32 prevZ = evt_get_variable(script, *args++);
s32 length = evt_get_variable(script, *args++);
s32 angle = evt_get_variable(script, *args++);
f32 outX = prevX + (length * cos_deg(angle));
f32 outZ = prevZ - (length * sin_deg(angle));
evt_set_float_variable(script, *args++, outX);
evt_set_float_variable(script, *args++, outZ);
return ApiStatus_DONE2;
}

View File

@ -23,7 +23,12 @@ ApiStatus N(func_802407F0_A0C4E0)(Evt* script, s32 isInitialCall) {
#include "world/common/GetItemName.inc.c"
INCLUDE_ASM(s32, "world/area_hos/hos_00/A0C4E0", func_80240908_A0C5F8);
ApiStatus N(EnableActionCommands)(Evt* script, s32 isInitialCall) {
PlayerData* playerData = &gPlayerData;
playerData->hasActionCommands = TRUE;
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "world/area_hos/hos_00/A0C4E0", func_8024091C_A0C60C);

File diff suppressed because one or more lines are too long

View File

@ -384,7 +384,7 @@ glabel D_80228BD0_6EE990
.word D_8022AC48_6F0A08, D_8022AC38_6F09F8, D_8022AC28_6F09E8, D_80228B80_6EE940, D_80228BB4_6EE974, D_8022AC20_6F09E0, D_80228BC4_6EE984, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
glabel D_80228C00_6EE9C0
.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C87, 0xFE363C81, 0x00000029, 0x00000002, 0xFE363C87, 0x0000000A, 0x00000043, 0x00000001, b_area_dig_GetModelPos, 0x00000003, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C87, 0x00000001, 0x0000000D, 0x00000002, 0xFE363C87, 0x00000E0F, 0x00000028, 0x00000002, 0xFE363C87, 0x00000E10, 0x00000013, 0x00000000, 0x00000043, 0x00000005, func_80218430_6DE1F0, 0xFE363C87, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, TranslateModel, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C87, 0xFE363C81, 0x00000029, 0x00000002, 0xFE363C87, 0x0000000A, 0x00000043, 0x00000001, b_area_dig_GetModelPos, 0x00000003, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C87, 0x00000001, 0x0000000D, 0x00000002, 0xFE363C87, 0x00000E0F, 0x00000028, 0x00000002, 0xFE363C87, 0x00000E10, 0x00000013, 0x00000000, 0x00000043, 0x00000005, b_area_dig_UnkFloatFunc3, 0xFE363C87, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, TranslateModel, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_80228CE0_6EEAA0
.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000044, 0x00000001, D_80228C00_6EE9C0, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C81, 0x00000078, 0x00000044, 0x00000001, D_80228C00_6EE9C0, 0x00000024, 0x00000002, 0xFE363C80, 0x00000005, 0x00000024, 0x00000002, 0xFE363C81, 0x000000F0, 0x00000044, 0x00000001, D_80228C00_6EE9C0, 0x00000043, 0x0000000F, PlayEffect, 0x00000082, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,51 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218058_5CE6E8
/* 5CE6E8 80218058 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 5CE6EC 8021805C AFB20018 */ sw $s2, 0x18($sp)
/* 5CE6F0 80218060 0080902D */ daddu $s2, $a0, $zero
/* 5CE6F4 80218064 AFBF001C */ sw $ra, 0x1c($sp)
/* 5CE6F8 80218068 AFB10014 */ sw $s1, 0x14($sp)
/* 5CE6FC 8021806C AFB00010 */ sw $s0, 0x10($sp)
/* 5CE700 80218070 8E50000C */ lw $s0, 0xc($s2)
/* 5CE704 80218074 0C09A75B */ jal get_actor
/* 5CE708 80218078 24040200 */ addiu $a0, $zero, 0x200
/* 5CE70C 8021807C 0240202D */ daddu $a0, $s2, $zero
/* 5CE710 80218080 8E050000 */ lw $a1, ($s0)
/* 5CE714 80218084 0C0B1EAF */ jal evt_get_variable
/* 5CE718 80218088 0040882D */ daddu $s1, $v0, $zero
/* 5CE71C 8021808C C6200138 */ lwc1 $f0, 0x138($s1)
/* 5CE720 80218090 44821000 */ mtc1 $v0, $f2
/* 5CE724 80218094 00000000 */ nop
/* 5CE728 80218098 468010A0 */ cvt.s.w $f2, $f2
/* 5CE72C 8021809C 46020000 */ add.s $f0, $f0, $f2
/* 5CE730 802180A0 26100004 */ addiu $s0, $s0, 4
/* 5CE734 802180A4 4600018D */ trunc.w.s $f6, $f0
/* 5CE738 802180A8 44023000 */ mfc1 $v0, $f6
/* 5CE73C 802180AC 00000000 */ nop
/* 5CE740 802180B0 A6220156 */ sh $v0, 0x156($s1)
/* 5CE744 802180B4 8E050000 */ lw $a1, ($s0)
/* 5CE748 802180B8 0C0B1EAF */ jal evt_get_variable
/* 5CE74C 802180BC 0240202D */ daddu $a0, $s2, $zero
/* 5CE750 802180C0 44822000 */ mtc1 $v0, $f4
/* 5CE754 802180C4 00000000 */ nop
/* 5CE758 802180C8 46802120 */ cvt.s.w $f4, $f4
/* 5CE75C 802180CC C620013C */ lwc1 $f0, 0x13c($s1)
/* 5CE760 802180D0 C6220140 */ lwc1 $f2, 0x140($s1)
/* 5CE764 802180D4 46040000 */ add.s $f0, $f0, $f4
/* 5CE768 802180D8 4600118D */ trunc.w.s $f6, $f2
/* 5CE76C 802180DC 44033000 */ mfc1 $v1, $f6
/* 5CE770 802180E0 00000000 */ nop
/* 5CE774 802180E4 A623015A */ sh $v1, 0x15a($s1)
/* 5CE778 802180E8 4600018D */ trunc.w.s $f6, $f0
/* 5CE77C 802180EC 44033000 */ mfc1 $v1, $f6
/* 5CE780 802180F0 00000000 */ nop
/* 5CE784 802180F4 A6230158 */ sh $v1, 0x158($s1)
/* 5CE788 802180F8 8FBF001C */ lw $ra, 0x1c($sp)
/* 5CE78C 802180FC 8FB20018 */ lw $s2, 0x18($sp)
/* 5CE790 80218100 8FB10014 */ lw $s1, 0x14($sp)
/* 5CE794 80218104 8FB00010 */ lw $s0, 0x10($sp)
/* 5CE798 80218108 24020002 */ addiu $v0, $zero, 2
/* 5CE79C 8021810C 03E00008 */ jr $ra
/* 5CE7A0 80218110 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,107 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802182A4_5CE934
/* 5CE934 802182A4 27BDFFA0 */ addiu $sp, $sp, -0x60
/* 5CE938 802182A8 AFB1001C */ sw $s1, 0x1c($sp)
/* 5CE93C 802182AC 0080882D */ daddu $s1, $a0, $zero
/* 5CE940 802182B0 AFBF002C */ sw $ra, 0x2c($sp)
/* 5CE944 802182B4 AFB40028 */ sw $s4, 0x28($sp)
/* 5CE948 802182B8 AFB30024 */ sw $s3, 0x24($sp)
/* 5CE94C 802182BC AFB20020 */ sw $s2, 0x20($sp)
/* 5CE950 802182C0 AFB00018 */ sw $s0, 0x18($sp)
/* 5CE954 802182C4 F7BE0058 */ sdc1 $f30, 0x58($sp)
/* 5CE958 802182C8 F7BC0050 */ sdc1 $f28, 0x50($sp)
/* 5CE95C 802182CC F7BA0048 */ sdc1 $f26, 0x48($sp)
/* 5CE960 802182D0 F7B80040 */ sdc1 $f24, 0x40($sp)
/* 5CE964 802182D4 F7B60038 */ sdc1 $f22, 0x38($sp)
/* 5CE968 802182D8 F7B40030 */ sdc1 $f20, 0x30($sp)
/* 5CE96C 802182DC 8E30000C */ lw $s0, 0xc($s1)
/* 5CE970 802182E0 8E130000 */ lw $s3, ($s0)
/* 5CE974 802182E4 26100004 */ addiu $s0, $s0, 4
/* 5CE978 802182E8 0C0B210B */ jal evt_get_float_variable
/* 5CE97C 802182EC 0260282D */ daddu $a1, $s3, $zero
/* 5CE980 802182F0 E7A00010 */ swc1 $f0, 0x10($sp)
/* 5CE984 802182F4 8E140000 */ lw $s4, ($s0)
/* 5CE988 802182F8 26100004 */ addiu $s0, $s0, 4
/* 5CE98C 802182FC 0220202D */ daddu $a0, $s1, $zero
/* 5CE990 80218300 0C0B210B */ jal evt_get_float_variable
/* 5CE994 80218304 0280282D */ daddu $a1, $s4, $zero
/* 5CE998 80218308 46000786 */ mov.s $f30, $f0
/* 5CE99C 8021830C 8E120000 */ lw $s2, ($s0)
/* 5CE9A0 80218310 26100004 */ addiu $s0, $s0, 4
/* 5CE9A4 80218314 0220202D */ daddu $a0, $s1, $zero
/* 5CE9A8 80218318 0C0B210B */ jal evt_get_float_variable
/* 5CE9AC 8021831C 0240282D */ daddu $a1, $s2, $zero
/* 5CE9B0 80218320 46000706 */ mov.s $f28, $f0
/* 5CE9B4 80218324 8E050000 */ lw $a1, ($s0)
/* 5CE9B8 80218328 26100004 */ addiu $s0, $s0, 4
/* 5CE9BC 8021832C 0C0B210B */ jal evt_get_float_variable
/* 5CE9C0 80218330 0220202D */ daddu $a0, $s1, $zero
/* 5CE9C4 80218334 8E050000 */ lw $a1, ($s0)
/* 5CE9C8 80218338 26100004 */ addiu $s0, $s0, 4
/* 5CE9CC 8021833C 0220202D */ daddu $a0, $s1, $zero
/* 5CE9D0 80218340 0C0B210B */ jal evt_get_float_variable
/* 5CE9D4 80218344 46000686 */ mov.s $f26, $f0
/* 5CE9D8 80218348 46000606 */ mov.s $f24, $f0
/* 5CE9DC 8021834C 8E050000 */ lw $a1, ($s0)
/* 5CE9E0 80218350 0C0B210B */ jal evt_get_float_variable
/* 5CE9E4 80218354 0220202D */ daddu $a0, $s1, $zero
/* 5CE9E8 80218358 4600D306 */ mov.s $f12, $f26
/* 5CE9EC 8021835C 3C014170 */ lui $at, 0x4170
/* 5CE9F0 80218360 44811000 */ mtc1 $at, $f2
/* 5CE9F4 80218364 46000586 */ mov.s $f22, $f0
/* 5CE9F8 80218368 0C00A8D4 */ jal cos_deg
/* 5CE9FC 8021836C 4602C601 */ sub.s $f24, $f24, $f2
/* 5CEA00 80218370 46000506 */ mov.s $f20, $f0
/* 5CEA04 80218374 0C00A8D4 */ jal cos_deg
/* 5CEA08 80218378 4600C306 */ mov.s $f12, $f24
/* 5CEA0C 8021837C 4614B502 */ mul.s $f20, $f22, $f20
/* 5CEA10 80218380 00000000 */ nop
/* 5CEA14 80218384 4600A502 */ mul.s $f20, $f20, $f0
/* 5CEA18 80218388 00000000 */ nop
/* 5CEA1C 8021838C C7A40010 */ lwc1 $f4, 0x10($sp)
/* 5CEA20 80218390 46142100 */ add.s $f4, $f4, $f20
/* 5CEA24 80218394 4600D306 */ mov.s $f12, $f26
/* 5CEA28 80218398 0C00A8BB */ jal sin_deg
/* 5CEA2C 8021839C E7A40010 */ swc1 $f4, 0x10($sp)
/* 5CEA30 802183A0 4600B002 */ mul.s $f0, $f22, $f0
/* 5CEA34 802183A4 00000000 */ nop
/* 5CEA38 802183A8 4600D306 */ mov.s $f12, $f26
/* 5CEA3C 802183AC 0C00A8D4 */ jal cos_deg
/* 5CEA40 802183B0 4600F780 */ add.s $f30, $f30, $f0
/* 5CEA44 802183B4 4600C306 */ mov.s $f12, $f24
/* 5CEA48 802183B8 0C00A8BB */ jal sin_deg
/* 5CEA4C 802183BC 46000506 */ mov.s $f20, $f0
/* 5CEA50 802183C0 4614B582 */ mul.s $f22, $f22, $f20
/* 5CEA54 802183C4 00000000 */ nop
/* 5CEA58 802183C8 4600B582 */ mul.s $f22, $f22, $f0
/* 5CEA5C 802183CC 00000000 */ nop
/* 5CEA60 802183D0 0220202D */ daddu $a0, $s1, $zero
/* 5CEA64 802183D4 0260282D */ daddu $a1, $s3, $zero
/* 5CEA68 802183D8 8FA60010 */ lw $a2, 0x10($sp)
/* 5CEA6C 802183DC 0C0B2190 */ jal evt_set_float_variable
/* 5CEA70 802183E0 4616E701 */ sub.s $f28, $f28, $f22
/* 5CEA74 802183E4 0220202D */ daddu $a0, $s1, $zero
/* 5CEA78 802183E8 4406F000 */ mfc1 $a2, $f30
/* 5CEA7C 802183EC 0C0B2190 */ jal evt_set_float_variable
/* 5CEA80 802183F0 0280282D */ daddu $a1, $s4, $zero
/* 5CEA84 802183F4 0220202D */ daddu $a0, $s1, $zero
/* 5CEA88 802183F8 4406E000 */ mfc1 $a2, $f28
/* 5CEA8C 802183FC 0C0B2190 */ jal evt_set_float_variable
/* 5CEA90 80218400 0240282D */ daddu $a1, $s2, $zero
/* 5CEA94 80218404 8FBF002C */ lw $ra, 0x2c($sp)
/* 5CEA98 80218408 8FB40028 */ lw $s4, 0x28($sp)
/* 5CEA9C 8021840C 8FB30024 */ lw $s3, 0x24($sp)
/* 5CEAA0 80218410 8FB20020 */ lw $s2, 0x20($sp)
/* 5CEAA4 80218414 8FB1001C */ lw $s1, 0x1c($sp)
/* 5CEAA8 80218418 8FB00018 */ lw $s0, 0x18($sp)
/* 5CEAAC 8021841C D7BE0058 */ ldc1 $f30, 0x58($sp)
/* 5CEAB0 80218420 D7BC0050 */ ldc1 $f28, 0x50($sp)
/* 5CEAB4 80218424 D7BA0048 */ ldc1 $f26, 0x48($sp)
/* 5CEAB8 80218428 D7B80040 */ ldc1 $f24, 0x40($sp)
/* 5CEABC 8021842C D7B60038 */ ldc1 $f22, 0x38($sp)
/* 5CEAC0 80218430 D7B40030 */ ldc1 $f20, 0x30($sp)
/* 5CEAC4 80218434 24020002 */ addiu $v0, $zero, 2
/* 5CEAC8 80218438 03E00008 */ jr $ra
/* 5CEACC 8021843C 27BD0060 */ addiu $sp, $sp, 0x60

View File

@ -1,23 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802185D4_5CEC64
/* 5CEC64 802185D4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 5CEC68 802185D8 AFB00010 */ sw $s0, 0x10($sp)
/* 5CEC6C 802185DC 0080802D */ daddu $s0, $a0, $zero
/* 5CEC70 802185E0 AFBF0014 */ sw $ra, 0x14($sp)
/* 5CEC74 802185E4 0C09A75B */ jal get_actor
/* 5CEC78 802185E8 8E040148 */ lw $a0, 0x148($s0)
/* 5CEC7C 802185EC 804201F1 */ lb $v0, 0x1f1($v0)
/* 5CEC80 802185F0 3C018022 */ lui $at, %hi(D_8021A35C_5D09EC)
/* 5CEC84 802185F4 AC22A35C */ sw $v0, %lo(D_8021A35C_5D09EC)($at)
/* 5CEC88 802185F8 0C09A75B */ jal get_actor
/* 5CEC8C 802185FC 8E040148 */ lw $a0, 0x148($s0)
/* 5CEC90 80218600 804301F1 */ lb $v1, 0x1f1($v0)
/* 5CEC94 80218604 8FBF0014 */ lw $ra, 0x14($sp)
/* 5CEC98 80218608 8FB00010 */ lw $s0, 0x10($sp)
/* 5CEC9C 8021860C 24020002 */ addiu $v0, $zero, 2
/* 5CECA0 80218610 3C018022 */ lui $at, %hi(D_8021A378_5D0A08)
/* 5CECA4 80218614 AC23A378 */ sw $v1, %lo(D_8021A378_5D0A08)($at)
/* 5CECA8 80218618 03E00008 */ jr $ra
/* 5CECAC 8021861C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,89 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218620_5CECB0
/* 5CECB0 80218620 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 5CECB4 80218624 AFB20018 */ sw $s2, 0x18($sp)
/* 5CECB8 80218628 0080902D */ daddu $s2, $a0, $zero
/* 5CECBC 8021862C AFBF001C */ sw $ra, 0x1c($sp)
/* 5CECC0 80218630 AFB10014 */ sw $s1, 0x14($sp)
/* 5CECC4 80218634 AFB00010 */ sw $s0, 0x10($sp)
/* 5CECC8 80218638 8E50000C */ lw $s0, 0xc($s2)
/* 5CECCC 8021863C 8E050000 */ lw $a1, ($s0)
/* 5CECD0 80218640 0C0B1EAF */ jal evt_get_variable
/* 5CECD4 80218644 26100004 */ addiu $s0, $s0, 4
/* 5CECD8 80218648 8E050000 */ lw $a1, ($s0)
/* 5CECDC 8021864C 26100004 */ addiu $s0, $s0, 4
/* 5CECE0 80218650 0240202D */ daddu $a0, $s2, $zero
/* 5CECE4 80218654 3C038023 */ lui $v1, %hi(D_80235E00)
/* 5CECE8 80218658 24635E00 */ addiu $v1, $v1, %lo(D_80235E00)
/* 5CECEC 8021865C 000288C0 */ sll $s1, $v0, 3
/* 5CECF0 80218660 02228821 */ addu $s1, $s1, $v0
/* 5CECF4 80218664 00118880 */ sll $s1, $s1, 2
/* 5CECF8 80218668 0C0B1EAF */ jal evt_get_variable
/* 5CECFC 8021866C 02238821 */ addu $s1, $s1, $v1
/* 5CED00 80218670 44820000 */ mtc1 $v0, $f0
/* 5CED04 80218674 00000000 */ nop
/* 5CED08 80218678 46800020 */ cvt.s.w $f0, $f0
/* 5CED0C 8021867C E6200000 */ swc1 $f0, ($s1)
/* 5CED10 80218680 8E050000 */ lw $a1, ($s0)
/* 5CED14 80218684 26100004 */ addiu $s0, $s0, 4
/* 5CED18 80218688 0C0B1EAF */ jal evt_get_variable
/* 5CED1C 8021868C 0240202D */ daddu $a0, $s2, $zero
/* 5CED20 80218690 44820000 */ mtc1 $v0, $f0
/* 5CED24 80218694 00000000 */ nop
/* 5CED28 80218698 46800020 */ cvt.s.w $f0, $f0
/* 5CED2C 8021869C E6200004 */ swc1 $f0, 4($s1)
/* 5CED30 802186A0 8E050000 */ lw $a1, ($s0)
/* 5CED34 802186A4 26100004 */ addiu $s0, $s0, 4
/* 5CED38 802186A8 0C0B1EAF */ jal evt_get_variable
/* 5CED3C 802186AC 0240202D */ daddu $a0, $s2, $zero
/* 5CED40 802186B0 24040014 */ addiu $a0, $zero, 0x14
/* 5CED44 802186B4 44820000 */ mtc1 $v0, $f0
/* 5CED48 802186B8 00000000 */ nop
/* 5CED4C 802186BC 46800020 */ cvt.s.w $f0, $f0
/* 5CED50 802186C0 0C00A67F */ jal rand_int
/* 5CED54 802186C4 E6200008 */ swc1 $f0, 8($s1)
/* 5CED58 802186C8 24040028 */ addiu $a0, $zero, 0x28
/* 5CED5C 802186CC 00021023 */ negu $v0, $v0
/* 5CED60 802186D0 44820000 */ mtc1 $v0, $f0
/* 5CED64 802186D4 00000000 */ nop
/* 5CED68 802186D8 46800020 */ cvt.s.w $f0, $f0
/* 5CED6C 802186DC 0C00A67F */ jal rand_int
/* 5CED70 802186E0 E620000C */ swc1 $f0, 0xc($s1)
/* 5CED74 802186E4 2442003C */ addiu $v0, $v0, 0x3c
/* 5CED78 802186E8 44820000 */ mtc1 $v0, $f0
/* 5CED7C 802186EC 00000000 */ nop
/* 5CED80 802186F0 46800020 */ cvt.s.w $f0, $f0
/* 5CED84 802186F4 E6200010 */ swc1 $f0, 0x10($s1)
/* 5CED88 802186F8 AE200014 */ sw $zero, 0x14($s1)
/* 5CED8C 802186FC 8E050000 */ lw $a1, ($s0)
/* 5CED90 80218700 26100004 */ addiu $s0, $s0, 4
/* 5CED94 80218704 0C0B1EAF */ jal evt_get_variable
/* 5CED98 80218708 0240202D */ daddu $a0, $s2, $zero
/* 5CED9C 8021870C 44820000 */ mtc1 $v0, $f0
/* 5CEDA0 80218710 00000000 */ nop
/* 5CEDA4 80218714 46800020 */ cvt.s.w $f0, $f0
/* 5CEDA8 80218718 E6200018 */ swc1 $f0, 0x18($s1)
/* 5CEDAC 8021871C 8E050000 */ lw $a1, ($s0)
/* 5CEDB0 80218720 26100004 */ addiu $s0, $s0, 4
/* 5CEDB4 80218724 0C0B1EAF */ jal evt_get_variable
/* 5CEDB8 80218728 0240202D */ daddu $a0, $s2, $zero
/* 5CEDBC 8021872C 44820000 */ mtc1 $v0, $f0
/* 5CEDC0 80218730 00000000 */ nop
/* 5CEDC4 80218734 46800020 */ cvt.s.w $f0, $f0
/* 5CEDC8 80218738 E620001C */ swc1 $f0, 0x1c($s1)
/* 5CEDCC 8021873C 8E050000 */ lw $a1, ($s0)
/* 5CEDD0 80218740 0C0B1EAF */ jal evt_get_variable
/* 5CEDD4 80218744 0240202D */ daddu $a0, $s2, $zero
/* 5CEDD8 80218748 44820000 */ mtc1 $v0, $f0
/* 5CEDDC 8021874C 00000000 */ nop
/* 5CEDE0 80218750 46800020 */ cvt.s.w $f0, $f0
/* 5CEDE4 80218754 E6200020 */ swc1 $f0, 0x20($s1)
/* 5CEDE8 80218758 8FBF001C */ lw $ra, 0x1c($sp)
/* 5CEDEC 8021875C 8FB20018 */ lw $s2, 0x18($sp)
/* 5CEDF0 80218760 8FB10014 */ lw $s1, 0x14($sp)
/* 5CEDF4 80218764 8FB00010 */ lw $s0, 0x10($sp)
/* 5CEDF8 80218768 24020002 */ addiu $v0, $zero, 2
/* 5CEDFC 8021876C 03E00008 */ jr $ra
/* 5CEE00 80218770 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,81 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218774_5CEE04
/* 5CEE04 80218774 27BDFFA0 */ addiu $sp, $sp, -0x60
/* 5CEE08 80218778 AFB10024 */ sw $s1, 0x24($sp)
/* 5CEE0C 8021877C 0080882D */ daddu $s1, $a0, $zero
/* 5CEE10 80218780 AFBF002C */ sw $ra, 0x2c($sp)
/* 5CEE14 80218784 AFB20028 */ sw $s2, 0x28($sp)
/* 5CEE18 80218788 AFB00020 */ sw $s0, 0x20($sp)
/* 5CEE1C 8021878C F7BE0058 */ sdc1 $f30, 0x58($sp)
/* 5CEE20 80218790 F7BC0050 */ sdc1 $f28, 0x50($sp)
/* 5CEE24 80218794 F7BA0048 */ sdc1 $f26, 0x48($sp)
/* 5CEE28 80218798 F7B80040 */ sdc1 $f24, 0x40($sp)
/* 5CEE2C 8021879C F7B60038 */ sdc1 $f22, 0x38($sp)
/* 5CEE30 802187A0 F7B40030 */ sdc1 $f20, 0x30($sp)
/* 5CEE34 802187A4 8E30000C */ lw $s0, 0xc($s1)
/* 5CEE38 802187A8 8E050000 */ lw $a1, ($s0)
/* 5CEE3C 802187AC 0C0B1EAF */ jal evt_get_variable
/* 5CEE40 802187B0 26100004 */ addiu $s0, $s0, 4
/* 5CEE44 802187B4 8E050000 */ lw $a1, ($s0)
/* 5CEE48 802187B8 26100004 */ addiu $s0, $s0, 4
/* 5CEE4C 802187BC 0220202D */ daddu $a0, $s1, $zero
/* 5CEE50 802187C0 0C0B210B */ jal evt_get_float_variable
/* 5CEE54 802187C4 0040902D */ daddu $s2, $v0, $zero
/* 5CEE58 802187C8 8E050000 */ lw $a1, ($s0)
/* 5CEE5C 802187CC 26100004 */ addiu $s0, $s0, 4
/* 5CEE60 802187D0 0220202D */ daddu $a0, $s1, $zero
/* 5CEE64 802187D4 0C0B210B */ jal evt_get_float_variable
/* 5CEE68 802187D8 46000786 */ mov.s $f30, $f0
/* 5CEE6C 802187DC 8E050000 */ lw $a1, ($s0)
/* 5CEE70 802187E0 26100004 */ addiu $s0, $s0, 4
/* 5CEE74 802187E4 0220202D */ daddu $a0, $s1, $zero
/* 5CEE78 802187E8 0C0B210B */ jal evt_get_float_variable
/* 5CEE7C 802187EC 46000706 */ mov.s $f28, $f0
/* 5CEE80 802187F0 8E050000 */ lw $a1, ($s0)
/* 5CEE84 802187F4 26100004 */ addiu $s0, $s0, 4
/* 5CEE88 802187F8 0220202D */ daddu $a0, $s1, $zero
/* 5CEE8C 802187FC 0C0B210B */ jal evt_get_float_variable
/* 5CEE90 80218800 46000686 */ mov.s $f26, $f0
/* 5CEE94 80218804 8E050000 */ lw $a1, ($s0)
/* 5CEE98 80218808 26100004 */ addiu $s0, $s0, 4
/* 5CEE9C 8021880C 0220202D */ daddu $a0, $s1, $zero
/* 5CEEA0 80218810 0C0B210B */ jal evt_get_float_variable
/* 5CEEA4 80218814 46000606 */ mov.s $f24, $f0
/* 5CEEA8 80218818 8E050000 */ lw $a1, ($s0)
/* 5CEEAC 8021881C 26100004 */ addiu $s0, $s0, 4
/* 5CEEB0 80218820 0220202D */ daddu $a0, $s1, $zero
/* 5CEEB4 80218824 0C0B210B */ jal evt_get_float_variable
/* 5CEEB8 80218828 46000586 */ mov.s $f22, $f0
/* 5CEEBC 8021882C 8E050000 */ lw $a1, ($s0)
/* 5CEEC0 80218830 26100004 */ addiu $s0, $s0, 4
/* 5CEEC4 80218834 0220202D */ daddu $a0, $s1, $zero
/* 5CEEC8 80218838 0C0B1EAF */ jal evt_get_variable
/* 5CEECC 8021883C 46000506 */ mov.s $f20, $f0
/* 5CEED0 80218840 4405F000 */ mfc1 $a1, $f30
/* 5CEED4 80218844 4406E000 */ mfc1 $a2, $f28
/* 5CEED8 80218848 4407D000 */ mfc1 $a3, $f26
/* 5CEEDC 8021884C 0240202D */ daddu $a0, $s2, $zero
/* 5CEEE0 80218850 E7B80010 */ swc1 $f24, 0x10($sp)
/* 5CEEE4 80218854 E7B60014 */ swc1 $f22, 0x14($sp)
/* 5CEEE8 80218858 E7B40018 */ swc1 $f20, 0x18($sp)
/* 5CEEEC 8021885C 0C01C874 */ jal playFX_6E
/* 5CEEF0 80218860 AFA2001C */ sw $v0, 0x1c($sp)
/* 5CEEF4 80218864 0220202D */ daddu $a0, $s1, $zero
/* 5CEEF8 80218868 8E050000 */ lw $a1, ($s0)
/* 5CEEFC 8021886C 0C0B2026 */ jal evt_set_variable
/* 5CEF00 80218870 0040302D */ daddu $a2, $v0, $zero
/* 5CEF04 80218874 8FBF002C */ lw $ra, 0x2c($sp)
/* 5CEF08 80218878 8FB20028 */ lw $s2, 0x28($sp)
/* 5CEF0C 8021887C 8FB10024 */ lw $s1, 0x24($sp)
/* 5CEF10 80218880 8FB00020 */ lw $s0, 0x20($sp)
/* 5CEF14 80218884 D7BE0058 */ ldc1 $f30, 0x58($sp)
/* 5CEF18 80218888 D7BC0050 */ ldc1 $f28, 0x50($sp)
/* 5CEF1C 8021888C D7BA0048 */ ldc1 $f26, 0x48($sp)
/* 5CEF20 80218890 D7B80040 */ ldc1 $f24, 0x40($sp)
/* 5CEF24 80218894 D7B60038 */ ldc1 $f22, 0x38($sp)
/* 5CEF28 80218898 D7B40030 */ ldc1 $f20, 0x30($sp)
/* 5CEF2C 8021889C 24020002 */ addiu $v0, $zero, 2
/* 5CEF30 802188A0 03E00008 */ jr $ra
/* 5CEF34 802188A4 27BD0060 */ addiu $sp, $sp, 0x60

View File

@ -1,58 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218924_5CEFB4
/* 5CEFB4 80218924 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 5CEFB8 80218928 AFB1001C */ sw $s1, 0x1c($sp)
/* 5CEFBC 8021892C 0080882D */ daddu $s1, $a0, $zero
/* 5CEFC0 80218930 AFBF0028 */ sw $ra, 0x28($sp)
/* 5CEFC4 80218934 AFB30024 */ sw $s3, 0x24($sp)
/* 5CEFC8 80218938 AFB20020 */ sw $s2, 0x20($sp)
/* 5CEFCC 8021893C AFB00018 */ sw $s0, 0x18($sp)
/* 5CEFD0 80218940 8E30000C */ lw $s0, 0xc($s1)
/* 5CEFD4 80218944 8E050000 */ lw $a1, ($s0)
/* 5CEFD8 80218948 0C0B1EAF */ jal evt_get_variable
/* 5CEFDC 8021894C 26100004 */ addiu $s0, $s0, 4
/* 5CEFE0 80218950 8E050000 */ lw $a1, ($s0)
/* 5CEFE4 80218954 26100004 */ addiu $s0, $s0, 4
/* 5CEFE8 80218958 0220202D */ daddu $a0, $s1, $zero
/* 5CEFEC 8021895C 0C0B1EAF */ jal evt_get_variable
/* 5CEFF0 80218960 0040982D */ daddu $s3, $v0, $zero
/* 5CEFF4 80218964 8E050000 */ lw $a1, ($s0)
/* 5CEFF8 80218968 26100004 */ addiu $s0, $s0, 4
/* 5CEFFC 8021896C 0220202D */ daddu $a0, $s1, $zero
/* 5CF000 80218970 0C0B1EAF */ jal evt_get_variable
/* 5CF004 80218974 0040902D */ daddu $s2, $v0, $zero
/* 5CF008 80218978 0220202D */ daddu $a0, $s1, $zero
/* 5CF00C 8021897C 8E050000 */ lw $a1, ($s0)
/* 5CF010 80218980 0C0B210B */ jal evt_get_float_variable
/* 5CF014 80218984 0040802D */ daddu $s0, $v0, $zero
/* 5CF018 80218988 44932000 */ mtc1 $s3, $f4
/* 5CF01C 8021898C 00000000 */ nop
/* 5CF020 80218990 46802120 */ cvt.s.w $f4, $f4
/* 5CF024 80218994 44052000 */ mfc1 $a1, $f4
/* 5CF028 80218998 44922000 */ mtc1 $s2, $f4
/* 5CF02C 8021899C 00000000 */ nop
/* 5CF030 802189A0 46802120 */ cvt.s.w $f4, $f4
/* 5CF034 802189A4 3C014020 */ lui $at, 0x4020
/* 5CF038 802189A8 44811000 */ mtc1 $at, $f2
/* 5CF03C 802189AC 44062000 */ mfc1 $a2, $f4
/* 5CF040 802189B0 46020002 */ mul.s $f0, $f0, $f2
/* 5CF044 802189B4 00000000 */ nop
/* 5CF048 802189B8 44902000 */ mtc1 $s0, $f4
/* 5CF04C 802189BC 00000000 */ nop
/* 5CF050 802189C0 46802120 */ cvt.s.w $f4, $f4
/* 5CF054 802189C4 44072000 */ mfc1 $a3, $f4
/* 5CF058 802189C8 0000202D */ daddu $a0, $zero, $zero
/* 5CF05C 802189CC AFA00014 */ sw $zero, 0x14($sp)
/* 5CF060 802189D0 0C01C64C */ jal playFX_57
/* 5CF064 802189D4 E7A00010 */ swc1 $f0, 0x10($sp)
/* 5CF068 802189D8 AE220084 */ sw $v0, 0x84($s1)
/* 5CF06C 802189DC 8FBF0028 */ lw $ra, 0x28($sp)
/* 5CF070 802189E0 8FB30024 */ lw $s3, 0x24($sp)
/* 5CF074 802189E4 8FB20020 */ lw $s2, 0x20($sp)
/* 5CF078 802189E8 8FB1001C */ lw $s1, 0x1c($sp)
/* 5CF07C 802189EC 8FB00018 */ lw $s0, 0x18($sp)
/* 5CF080 802189F0 24020002 */ addiu $v0, $zero, 2
/* 5CF084 802189F4 03E00008 */ jr $ra
/* 5CF088 802189F8 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -1,45 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802189FC_5CF08C
/* 5CF08C 802189FC 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 5CF090 80218A00 AFB10014 */ sw $s1, 0x14($sp)
/* 5CF094 80218A04 0080882D */ daddu $s1, $a0, $zero
/* 5CF098 80218A08 AFBF001C */ sw $ra, 0x1c($sp)
/* 5CF09C 80218A0C AFB20018 */ sw $s2, 0x18($sp)
/* 5CF0A0 80218A10 AFB00010 */ sw $s0, 0x10($sp)
/* 5CF0A4 80218A14 F7B60028 */ sdc1 $f22, 0x28($sp)
/* 5CF0A8 80218A18 F7B40020 */ sdc1 $f20, 0x20($sp)
/* 5CF0AC 80218A1C 8E30000C */ lw $s0, 0xc($s1)
/* 5CF0B0 80218A20 8E050000 */ lw $a1, ($s0)
/* 5CF0B4 80218A24 0C0B1EAF */ jal evt_get_variable
/* 5CF0B8 80218A28 26100004 */ addiu $s0, $s0, 4
/* 5CF0BC 80218A2C 8E050000 */ lw $a1, ($s0)
/* 5CF0C0 80218A30 26100004 */ addiu $s0, $s0, 4
/* 5CF0C4 80218A34 0220202D */ daddu $a0, $s1, $zero
/* 5CF0C8 80218A38 0C0B210B */ jal evt_get_float_variable
/* 5CF0CC 80218A3C 0040902D */ daddu $s2, $v0, $zero
/* 5CF0D0 80218A40 8E050000 */ lw $a1, ($s0)
/* 5CF0D4 80218A44 26100004 */ addiu $s0, $s0, 4
/* 5CF0D8 80218A48 0220202D */ daddu $a0, $s1, $zero
/* 5CF0DC 80218A4C 0C0B210B */ jal evt_get_float_variable
/* 5CF0E0 80218A50 46000586 */ mov.s $f22, $f0
/* 5CF0E4 80218A54 0220202D */ daddu $a0, $s1, $zero
/* 5CF0E8 80218A58 8E050000 */ lw $a1, ($s0)
/* 5CF0EC 80218A5C 0C0B210B */ jal evt_get_float_variable
/* 5CF0F0 80218A60 46000506 */ mov.s $f20, $f0
/* 5CF0F4 80218A64 8E42000C */ lw $v0, 0xc($s2)
/* 5CF0F8 80218A68 E4560004 */ swc1 $f22, 4($v0)
/* 5CF0FC 80218A6C 8E42000C */ lw $v0, 0xc($s2)
/* 5CF100 80218A70 E4540008 */ swc1 $f20, 8($v0)
/* 5CF104 80218A74 8E43000C */ lw $v1, 0xc($s2)
/* 5CF108 80218A78 E460000C */ swc1 $f0, 0xc($v1)
/* 5CF10C 80218A7C 8FBF001C */ lw $ra, 0x1c($sp)
/* 5CF110 80218A80 8FB20018 */ lw $s2, 0x18($sp)
/* 5CF114 80218A84 8FB10014 */ lw $s1, 0x14($sp)
/* 5CF118 80218A88 8FB00010 */ lw $s0, 0x10($sp)
/* 5CF11C 80218A8C D7B60028 */ ldc1 $f22, 0x28($sp)
/* 5CF120 80218A90 D7B40020 */ ldc1 $f20, 0x20($sp)
/* 5CF124 80218A94 24020002 */ addiu $v0, $zero, 2
/* 5CF128 80218A98 03E00008 */ jr $ra
/* 5CF12C 80218A9C 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -1,52 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218AA0_5CF130
/* 5CF130 80218AA0 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 5CF134 80218AA4 AFB10014 */ sw $s1, 0x14($sp)
/* 5CF138 80218AA8 0080882D */ daddu $s1, $a0, $zero
/* 5CF13C 80218AAC AFBF001C */ sw $ra, 0x1c($sp)
/* 5CF140 80218AB0 AFB20018 */ sw $s2, 0x18($sp)
/* 5CF144 80218AB4 AFB00010 */ sw $s0, 0x10($sp)
/* 5CF148 80218AB8 F7B80030 */ sdc1 $f24, 0x30($sp)
/* 5CF14C 80218ABC F7B60028 */ sdc1 $f22, 0x28($sp)
/* 5CF150 80218AC0 F7B40020 */ sdc1 $f20, 0x20($sp)
/* 5CF154 80218AC4 8E30000C */ lw $s0, 0xc($s1)
/* 5CF158 80218AC8 8E120000 */ lw $s2, ($s0)
/* 5CF15C 80218ACC 26100004 */ addiu $s0, $s0, 4
/* 5CF160 80218AD0 8E050000 */ lw $a1, ($s0)
/* 5CF164 80218AD4 0C0B210B */ jal evt_get_float_variable
/* 5CF168 80218AD8 26100004 */ addiu $s0, $s0, 4
/* 5CF16C 80218ADC 8E050000 */ lw $a1, ($s0)
/* 5CF170 80218AE0 26100004 */ addiu $s0, $s0, 4
/* 5CF174 80218AE4 0220202D */ daddu $a0, $s1, $zero
/* 5CF178 80218AE8 0C0B210B */ jal evt_get_float_variable
/* 5CF17C 80218AEC 46000606 */ mov.s $f24, $f0
/* 5CF180 80218AF0 8E050000 */ lw $a1, ($s0)
/* 5CF184 80218AF4 26100004 */ addiu $s0, $s0, 4
/* 5CF188 80218AF8 0220202D */ daddu $a0, $s1, $zero
/* 5CF18C 80218AFC 0C0B210B */ jal evt_get_float_variable
/* 5CF190 80218B00 46000586 */ mov.s $f22, $f0
/* 5CF194 80218B04 0220202D */ daddu $a0, $s1, $zero
/* 5CF198 80218B08 8E050000 */ lw $a1, ($s0)
/* 5CF19C 80218B0C 0C0B210B */ jal evt_get_float_variable
/* 5CF1A0 80218B10 46000506 */ mov.s $f20, $f0
/* 5CF1A4 80218B14 4600C306 */ mov.s $f12, $f24
/* 5CF1A8 80218B18 4406A000 */ mfc1 $a2, $f20
/* 5CF1AC 80218B1C 44070000 */ mfc1 $a3, $f0
/* 5CF1B0 80218B20 0C00A720 */ jal atan2
/* 5CF1B4 80218B24 4600B386 */ mov.s $f14, $f22
/* 5CF1B8 80218B28 0220202D */ daddu $a0, $s1, $zero
/* 5CF1BC 80218B2C 44060000 */ mfc1 $a2, $f0
/* 5CF1C0 80218B30 0C0B2190 */ jal evt_set_float_variable
/* 5CF1C4 80218B34 0240282D */ daddu $a1, $s2, $zero
/* 5CF1C8 80218B38 8FBF001C */ lw $ra, 0x1c($sp)
/* 5CF1CC 80218B3C 8FB20018 */ lw $s2, 0x18($sp)
/* 5CF1D0 80218B40 8FB10014 */ lw $s1, 0x14($sp)
/* 5CF1D4 80218B44 8FB00010 */ lw $s0, 0x10($sp)
/* 5CF1D8 80218B48 D7B80030 */ ldc1 $f24, 0x30($sp)
/* 5CF1DC 80218B4C D7B60028 */ ldc1 $f22, 0x28($sp)
/* 5CF1E0 80218B50 D7B40020 */ ldc1 $f20, 0x20($sp)
/* 5CF1E4 80218B54 24020002 */ addiu $v0, $zero, 2
/* 5CF1E8 80218B58 03E00008 */ jr $ra
/* 5CF1EC 80218B5C 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -1,60 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218B60_5CF1F0
/* 5CF1F0 80218B60 27BDFFC0 */ addiu $sp, $sp, -0x40
/* 5CF1F4 80218B64 AFB1001C */ sw $s1, 0x1c($sp)
/* 5CF1F8 80218B68 0080882D */ daddu $s1, $a0, $zero
/* 5CF1FC 80218B6C AFBF0028 */ sw $ra, 0x28($sp)
/* 5CF200 80218B70 AFB30024 */ sw $s3, 0x24($sp)
/* 5CF204 80218B74 AFB20020 */ sw $s2, 0x20($sp)
/* 5CF208 80218B78 AFB00018 */ sw $s0, 0x18($sp)
/* 5CF20C 80218B7C F7B60038 */ sdc1 $f22, 0x38($sp)
/* 5CF210 80218B80 F7B40030 */ sdc1 $f20, 0x30($sp)
/* 5CF214 80218B84 8E30000C */ lw $s0, 0xc($s1)
/* 5CF218 80218B88 8E050000 */ lw $a1, ($s0)
/* 5CF21C 80218B8C 0C0B1EAF */ jal evt_get_variable
/* 5CF220 80218B90 26100004 */ addiu $s0, $s0, 4
/* 5CF224 80218B94 8E050000 */ lw $a1, ($s0)
/* 5CF228 80218B98 26100004 */ addiu $s0, $s0, 4
/* 5CF22C 80218B9C 0220202D */ daddu $a0, $s1, $zero
/* 5CF230 80218BA0 0C0B210B */ jal evt_get_float_variable
/* 5CF234 80218BA4 0040982D */ daddu $s3, $v0, $zero
/* 5CF238 80218BA8 8E050000 */ lw $a1, ($s0)
/* 5CF23C 80218BAC 26100004 */ addiu $s0, $s0, 4
/* 5CF240 80218BB0 0220202D */ daddu $a0, $s1, $zero
/* 5CF244 80218BB4 0C0B210B */ jal evt_get_float_variable
/* 5CF248 80218BB8 46000586 */ mov.s $f22, $f0
/* 5CF24C 80218BBC 8E050000 */ lw $a1, ($s0)
/* 5CF250 80218BC0 26100004 */ addiu $s0, $s0, 4
/* 5CF254 80218BC4 0220202D */ daddu $a0, $s1, $zero
/* 5CF258 80218BC8 0C0B1EAF */ jal evt_get_variable
/* 5CF25C 80218BCC 46000506 */ mov.s $f20, $f0
/* 5CF260 80218BD0 8E050000 */ lw $a1, ($s0)
/* 5CF264 80218BD4 26100004 */ addiu $s0, $s0, 4
/* 5CF268 80218BD8 0220202D */ daddu $a0, $s1, $zero
/* 5CF26C 80218BDC 0C0B1EAF */ jal evt_get_variable
/* 5CF270 80218BE0 0040902D */ daddu $s2, $v0, $zero
/* 5CF274 80218BE4 0260202D */ daddu $a0, $s3, $zero
/* 5CF278 80218BE8 4405B000 */ mfc1 $a1, $f22
/* 5CF27C 80218BEC 4406A000 */ mfc1 $a2, $f20
/* 5CF280 80218BF0 0240382D */ daddu $a3, $s2, $zero
/* 5CF284 80218BF4 0C00A8ED */ jal update_lerp
/* 5CF288 80218BF8 AFA20010 */ sw $v0, 0x10($sp)
/* 5CF28C 80218BFC 8E050000 */ lw $a1, ($s0)
/* 5CF290 80218C00 44060000 */ mfc1 $a2, $f0
/* 5CF294 80218C04 0C0B2190 */ jal evt_set_float_variable
/* 5CF298 80218C08 0220202D */ daddu $a0, $s1, $zero
/* 5CF29C 80218C0C 8FBF0028 */ lw $ra, 0x28($sp)
/* 5CF2A0 80218C10 8FB30024 */ lw $s3, 0x24($sp)
/* 5CF2A4 80218C14 8FB20020 */ lw $s2, 0x20($sp)
/* 5CF2A8 80218C18 8FB1001C */ lw $s1, 0x1c($sp)
/* 5CF2AC 80218C1C 8FB00018 */ lw $s0, 0x18($sp)
/* 5CF2B0 80218C20 D7B60038 */ ldc1 $f22, 0x38($sp)
/* 5CF2B4 80218C24 D7B40030 */ ldc1 $f20, 0x30($sp)
/* 5CF2B8 80218C28 24020002 */ addiu $v0, $zero, 2
/* 5CF2BC 80218C2C 03E00008 */ jr $ra
/* 5CF2C0 80218C30 27BD0040 */ addiu $sp, $sp, 0x40
/* 5CF2C4 80218C34 00000000 */ nop
/* 5CF2C8 80218C38 00000000 */ nop
/* 5CF2CC 80218C3C 00000000 */ nop

View File

@ -1,7 +1,7 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802184CC_4E2C0C
glabel b_area_isk_part_1_ChompChainUpdate
/* 4E2C0C 802184CC 27BDFF98 */ addiu $sp, $sp, -0x68
/* 4E2C10 802184D0 AFBF0038 */ sw $ra, 0x38($sp)
/* 4E2C14 802184D4 AFB50034 */ sw $s5, 0x34($sp)
@ -151,7 +151,7 @@ glabel func_802184CC_4E2C0C
/* 4E2E2C 802186EC 4602A081 */ sub.s $f2, $f20, $f2
/* 4E2E30 802186F0 4406B000 */ mfc1 $a2, $f22
/* 4E2E34 802186F4 44051000 */ mfc1 $a1, $f2
/* 4E2E38 802186F8 0C086116 */ jal func_80218458_4E2B98
/* 4E2E38 802186F8 0C086116 */ jal b_area_isk_part_1_ChompChainUpdateHelperFunc2
/* 4E2E3C 802186FC 27A40018 */ addiu $a0, $sp, 0x18
/* 4E2E40 80218700 C7A00018 */ lwc1 $f0, 0x18($sp)
/* 4E2E44 80218704 3C013FE0 */ lui $at, 0x3fe0
@ -210,7 +210,7 @@ glabel func_802184CC_4E2C0C
/* 4E2F04 802187C4 8E050018 */ lw $a1, 0x18($s0)
.L802187C8:
/* 4E2F08 802187C8 4406B000 */ mfc1 $a2, $f22
/* 4E2F0C 802187CC 0C0860F0 */ jal func_802183C0_4E2B00
/* 4E2F0C 802187CC 0C0860F0 */ jal b_area_isk_part_1_ChompChainUpdateHelperFunc
/* 4E2F10 802187D0 0240202D */ daddu $a0, $s2, $zero
/* 4E2F14 802187D4 C6000018 */ lwc1 $f0, 0x18($s0)
/* 4E2F18 802187D8 3C014010 */ lui $at, 0x4010

View File

@ -1,89 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218270_4E29B0
/* 4E29B0 80218270 27BDFFA8 */ addiu $sp, $sp, -0x58
/* 4E29B4 80218274 AFB40020 */ sw $s4, 0x20($sp)
/* 4E29B8 80218278 24140003 */ addiu $s4, $zero, 3
/* 4E29BC 8021827C AFB20018 */ sw $s2, 0x18($sp)
/* 4E29C0 80218280 AFBF0024 */ sw $ra, 0x24($sp)
/* 4E29C4 80218284 AFB3001C */ sw $s3, 0x1c($sp)
/* 4E29C8 80218288 AFB10014 */ sw $s1, 0x14($sp)
/* 4E29CC 8021828C AFB00010 */ sw $s0, 0x10($sp)
/* 4E29D0 80218290 F7BE0050 */ sdc1 $f30, 0x50($sp)
/* 4E29D4 80218294 F7BC0048 */ sdc1 $f28, 0x48($sp)
/* 4E29D8 80218298 F7BA0040 */ sdc1 $f26, 0x40($sp)
/* 4E29DC 8021829C F7B80038 */ sdc1 $f24, 0x38($sp)
/* 4E29E0 802182A0 F7B60030 */ sdc1 $f22, 0x30($sp)
/* 4E29E4 802182A4 F7B40028 */ sdc1 $f20, 0x28($sp)
/* 4E29E8 802182A8 8C840148 */ lw $a0, 0x148($a0)
/* 4E29EC 802182AC 3C0140E0 */ lui $at, 0x40e0
/* 4E29F0 802182B0 4481A000 */ mtc1 $at, $f20
/* 4E29F4 802182B4 3C013F19 */ lui $at, 0x3f19
/* 4E29F8 802182B8 3421999A */ ori $at, $at, 0x999a
/* 4E29FC 802182BC 4481F000 */ mtc1 $at, $f30
/* 4E2A00 802182C0 3C014040 */ lui $at, 0x4040
/* 4E2A04 802182C4 4481E000 */ mtc1 $at, $f28
/* 4E2A08 802182C8 0C09A75B */ jal get_actor
/* 4E2A0C 802182CC 0000902D */ daddu $s2, $zero, $zero
/* 4E2A10 802182D0 24040180 */ addiu $a0, $zero, 0x180
/* 4E2A14 802182D4 0C00AB39 */ jal heap_malloc
/* 4E2A18 802182D8 0040982D */ daddu $s3, $v0, $zero
/* 4E2A1C 802182DC 0040882D */ daddu $s1, $v0, $zero
/* 4E2A20 802182E0 26300008 */ addiu $s0, $s1, 8
/* 4E2A24 802182E4 C67A014C */ lwc1 $f26, 0x14c($s3)
/* 4E2A28 802182E8 C6620144 */ lwc1 $f2, 0x144($s3)
/* 4E2A2C 802182EC 3C014028 */ lui $at, 0x4028
/* 4E2A30 802182F0 44810800 */ mtc1 $at, $f1
/* 4E2A34 802182F4 44800000 */ mtc1 $zero, $f0
/* 4E2A38 802182F8 460010A1 */ cvt.d.s $f2, $f2
/* 4E2A3C 802182FC 46201080 */ add.d $f2, $f2, $f0
/* 4E2A40 80218300 C6600148 */ lwc1 $f0, 0x148($s3)
/* 4E2A44 80218304 3C014014 */ lui $at, 0x4014
/* 4E2A48 80218308 44812800 */ mtc1 $at, $f5
/* 4E2A4C 8021830C 44802000 */ mtc1 $zero, $f4
/* 4E2A50 80218310 46000021 */ cvt.d.s $f0, $f0
/* 4E2A54 80218314 46240000 */ add.d $f0, $f0, $f4
/* 4E2A58 80218318 AE710078 */ sw $s1, 0x78($s3)
/* 4E2A5C 8021831C 46201620 */ cvt.s.d $f24, $f2
/* 4E2A60 80218320 462005A0 */ cvt.s.d $f22, $f0
.L80218324:
/* 4E2A64 80218324 0260202D */ daddu $a0, $s3, $zero
/* 4E2A68 80218328 02922821 */ addu $a1, $s4, $s2
/* 4E2A6C 8021832C E614001C */ swc1 $f20, 0x1c($s0)
/* 4E2A70 80218330 E6140024 */ swc1 $f20, 0x24($s0)
/* 4E2A74 80218334 E6140020 */ swc1 $f20, 0x20($s0)
/* 4E2A78 80218338 E6380000 */ swc1 $f24, ($s1)
/* 4E2A7C 8021833C E616FFFC */ swc1 $f22, -4($s0)
/* 4E2A80 80218340 E61A0000 */ swc1 $f26, ($s0)
/* 4E2A84 80218344 AE000014 */ sw $zero, 0x14($s0)
/* 4E2A88 80218348 E61E0018 */ swc1 $f30, 0x18($s0)
/* 4E2A8C 8021834C E61C000C */ swc1 $f28, 0xc($s0)
/* 4E2A90 80218350 0C099117 */ jal get_actor_part
/* 4E2A94 80218354 AE000010 */ sw $zero, 0x10($s0)
/* 4E2A98 80218358 C6200000 */ lwc1 $f0, ($s1)
/* 4E2A9C 8021835C 26520001 */ addiu $s2, $s2, 1
/* 4E2AA0 80218360 E440002C */ swc1 $f0, 0x2c($v0)
/* 4E2AA4 80218364 C600FFFC */ lwc1 $f0, -4($s0)
/* 4E2AA8 80218368 26310030 */ addiu $s1, $s1, 0x30
/* 4E2AAC 8021836C E4400030 */ swc1 $f0, 0x30($v0)
/* 4E2AB0 80218370 C6000000 */ lwc1 $f0, ($s0)
/* 4E2AB4 80218374 E4400034 */ swc1 $f0, 0x34($v0)
/* 4E2AB8 80218378 2A420008 */ slti $v0, $s2, 8
/* 4E2ABC 8021837C 1440FFE9 */ bnez $v0, .L80218324
/* 4E2AC0 80218380 26100030 */ addiu $s0, $s0, 0x30
/* 4E2AC4 80218384 8FBF0024 */ lw $ra, 0x24($sp)
/* 4E2AC8 80218388 8FB40020 */ lw $s4, 0x20($sp)
/* 4E2ACC 8021838C 8FB3001C */ lw $s3, 0x1c($sp)
/* 4E2AD0 80218390 8FB20018 */ lw $s2, 0x18($sp)
/* 4E2AD4 80218394 8FB10014 */ lw $s1, 0x14($sp)
/* 4E2AD8 80218398 8FB00010 */ lw $s0, 0x10($sp)
/* 4E2ADC 8021839C D7BE0050 */ ldc1 $f30, 0x50($sp)
/* 4E2AE0 802183A0 D7BC0048 */ ldc1 $f28, 0x48($sp)
/* 4E2AE4 802183A4 D7BA0040 */ ldc1 $f26, 0x40($sp)
/* 4E2AE8 802183A8 D7B80038 */ ldc1 $f24, 0x38($sp)
/* 4E2AEC 802183AC D7B60030 */ ldc1 $f22, 0x30($sp)
/* 4E2AF0 802183B0 D7B40028 */ ldc1 $f20, 0x28($sp)
/* 4E2AF4 802183B4 24020002 */ addiu $v0, $zero, 2
/* 4E2AF8 802183B8 03E00008 */ jr $ra
/* 4E2AFC 802183BC 27BD0058 */ addiu $sp, $sp, 0x58

View File

@ -1,42 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802183C0_4E2B00
/* 4E2B00 802183C0 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 4E2B04 802183C4 F7B60020 */ sdc1 $f22, 0x20($sp)
/* 4E2B08 802183C8 4485B000 */ mtc1 $a1, $f22
/* 4E2B0C 802183CC 3C0140C9 */ lui $at, 0x40c9
/* 4E2B10 802183D0 34210FD0 */ ori $at, $at, 0xfd0
/* 4E2B14 802183D4 44810000 */ mtc1 $at, $f0
/* 4E2B18 802183D8 44863000 */ mtc1 $a2, $f6
/* 4E2B1C 802183DC F7B40018 */ sdc1 $f20, 0x18($sp)
/* 4E2B20 802183E0 46003502 */ mul.s $f20, $f6, $f0
/* 4E2B24 802183E4 00000000 */ nop
/* 4E2B28 802183E8 AFB00010 */ sw $s0, 0x10($sp)
/* 4E2B2C 802183EC 3C0143B4 */ lui $at, 0x43b4
/* 4E2B30 802183F0 44810000 */ mtc1 $at, $f0
/* 4E2B34 802183F4 0080802D */ daddu $s0, $a0, $zero
/* 4E2B38 802183F8 AFBF0014 */ sw $ra, 0x14($sp)
/* 4E2B3C 802183FC 4600A503 */ div.s $f20, $f20, $f0
/* 4E2B40 80218400 0C00A85B */ jal sin_rad
/* 4E2B44 80218404 4600A306 */ mov.s $f12, $f20
/* 4E2B48 80218408 4600A306 */ mov.s $f12, $f20
/* 4E2B4C 8021840C 0C00A874 */ jal cos_rad
/* 4E2B50 80218410 46000506 */ mov.s $f20, $f0
/* 4E2B54 80218414 4600B087 */ neg.s $f2, $f22
/* 4E2B58 80218418 46141082 */ mul.s $f2, $f2, $f20
/* 4E2B5C 8021841C 00000000 */ nop
/* 4E2B60 80218420 4600B582 */ mul.s $f22, $f22, $f0
/* 4E2B64 80218424 00000000 */ nop
/* 4E2B68 80218428 C6040000 */ lwc1 $f4, ($s0)
/* 4E2B6C 8021842C 46022100 */ add.s $f4, $f4, $f2
/* 4E2B70 80218430 C6000004 */ lwc1 $f0, 4($s0)
/* 4E2B74 80218434 46160000 */ add.s $f0, $f0, $f22
/* 4E2B78 80218438 E6040000 */ swc1 $f4, ($s0)
/* 4E2B7C 8021843C E6000004 */ swc1 $f0, 4($s0)
/* 4E2B80 80218440 8FBF0014 */ lw $ra, 0x14($sp)
/* 4E2B84 80218444 8FB00010 */ lw $s0, 0x10($sp)
/* 4E2B88 80218448 D7B60020 */ ldc1 $f22, 0x20($sp)
/* 4E2B8C 8021844C D7B40018 */ ldc1 $f20, 0x18($sp)
/* 4E2B90 80218450 03E00008 */ jr $ra
/* 4E2B94 80218454 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218458_4E2B98
/* 4E2B98 80218458 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 4E2B9C 8021845C F7B60020 */ sdc1 $f22, 0x20($sp)
/* 4E2BA0 80218460 4485B000 */ mtc1 $a1, $f22
/* 4E2BA4 80218464 3C0140C9 */ lui $at, 0x40c9
/* 4E2BA8 80218468 34210FD0 */ ori $at, $at, 0xfd0
/* 4E2BAC 8021846C 44810000 */ mtc1 $at, $f0
/* 4E2BB0 80218470 44861000 */ mtc1 $a2, $f2
/* 4E2BB4 80218474 F7B40018 */ sdc1 $f20, 0x18($sp)
/* 4E2BB8 80218478 46001502 */ mul.s $f20, $f2, $f0
/* 4E2BBC 8021847C 00000000 */ nop
/* 4E2BC0 80218480 AFB00010 */ sw $s0, 0x10($sp)
/* 4E2BC4 80218484 3C0143B4 */ lui $at, 0x43b4
/* 4E2BC8 80218488 44810000 */ mtc1 $at, $f0
/* 4E2BCC 8021848C 0080802D */ daddu $s0, $a0, $zero
/* 4E2BD0 80218490 AFBF0014 */ sw $ra, 0x14($sp)
/* 4E2BD4 80218494 4600A503 */ div.s $f20, $f20, $f0
/* 4E2BD8 80218498 0C00A85B */ jal sin_rad
/* 4E2BDC 8021849C 4600A306 */ mov.s $f12, $f20
/* 4E2BE0 802184A0 0C00A874 */ jal cos_rad
/* 4E2BE4 802184A4 4600A306 */ mov.s $f12, $f20
/* 4E2BE8 802184A8 4600B582 */ mul.s $f22, $f22, $f0
/* 4E2BEC 802184AC 00000000 */ nop
/* 4E2BF0 802184B0 E6160000 */ swc1 $f22, ($s0)
/* 4E2BF4 802184B4 8FBF0014 */ lw $ra, 0x14($sp)
/* 4E2BF8 802184B8 8FB00010 */ lw $s0, 0x10($sp)
/* 4E2BFC 802184BC D7B60020 */ ldc1 $f22, 0x20($sp)
/* 4E2C00 802184C0 D7B40018 */ ldc1 $f20, 0x18($sp)
/* 4E2C04 802184C4 03E00008 */ jr $ra
/* 4E2C08 802184C8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,41 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802188B0_4E2FF0
/* 4E2FF0 802188B0 3C05C305 */ lui $a1, 0xc305
/* 4E2FF4 802188B4 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 4E2FF8 802188B8 F7B60028 */ sdc1 $f22, 0x28($sp)
/* 4E2FFC 802188BC 3C014290 */ lui $at, 0x4290
/* 4E3000 802188C0 4481B000 */ mtc1 $at, $f22
/* 4E3004 802188C4 F7B80030 */ sdc1 $f24, 0x30($sp)
/* 4E3008 802188C8 3C01C30F */ lui $at, 0xc30f
/* 4E300C 802188CC 4481C000 */ mtc1 $at, $f24
/* 4E3010 802188D0 24040001 */ addiu $a0, $zero, 1
/* 4E3014 802188D4 F7B40020 */ sdc1 $f20, 0x20($sp)
/* 4E3018 802188D8 3C013E99 */ lui $at, 0x3e99
/* 4E301C 802188DC 3421999A */ ori $at, $at, 0x999a
/* 4E3020 802188E0 4481A000 */ mtc1 $at, $f20
/* 4E3024 802188E4 4406B000 */ mfc1 $a2, $f22
/* 4E3028 802188E8 4407C000 */ mfc1 $a3, $f24
/* 4E302C 802188EC 3C028022 */ lui $v0, %hi(D_80224D60)
/* 4E3030 802188F0 24424D60 */ addiu $v0, $v0, %lo(D_80224D60)
/* 4E3034 802188F4 AFBF0018 */ sw $ra, 0x18($sp)
/* 4E3038 802188F8 AFA20014 */ sw $v0, 0x14($sp)
/* 4E303C 802188FC 0C01C124 */ jal playFX_20
/* 4E3040 80218900 E7B40010 */ swc1 $f20, 0x10($sp)
/* 4E3044 80218904 24040001 */ addiu $a0, $zero, 1
/* 4E3048 80218908 3C054301 */ lui $a1, 0x4301
/* 4E304C 8021890C 4406B000 */ mfc1 $a2, $f22
/* 4E3050 80218910 4407C000 */ mfc1 $a3, $f24
/* 4E3054 80218914 3C028022 */ lui $v0, %hi(D_80224D64)
/* 4E3058 80218918 24424D64 */ addiu $v0, $v0, %lo(D_80224D64)
/* 4E305C 8021891C E7B40010 */ swc1 $f20, 0x10($sp)
/* 4E3060 80218920 0C01C124 */ jal playFX_20
/* 4E3064 80218924 AFA20014 */ sw $v0, 0x14($sp)
/* 4E3068 80218928 8FBF0018 */ lw $ra, 0x18($sp)
/* 4E306C 8021892C D7B80030 */ ldc1 $f24, 0x30($sp)
/* 4E3070 80218930 D7B60028 */ ldc1 $f22, 0x28($sp)
/* 4E3074 80218934 D7B40020 */ ldc1 $f20, 0x20($sp)
/* 4E3078 80218938 24020002 */ addiu $v0, $zero, 2
/* 4E307C 8021893C 03E00008 */ jr $ra
/* 4E3080 80218940 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -1,19 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218944_4E3084
/* 4E3084 80218944 3C048022 */ lui $a0, %hi(D_80224D60)
/* 4E3088 80218948 8C844D60 */ lw $a0, %lo(D_80224D60)($a0)
/* 4E308C 8021894C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 4E3090 80218950 AFBF0010 */ sw $ra, 0x10($sp)
/* 4E3094 80218954 0C016914 */ jal remove_effect
/* 4E3098 80218958 00000000 */ nop
/* 4E309C 8021895C 3C048022 */ lui $a0, %hi(D_80224D64)
/* 4E30A0 80218960 8C844D64 */ lw $a0, %lo(D_80224D64)($a0)
/* 4E30A4 80218964 0C016914 */ jal remove_effect
/* 4E30A8 80218968 00000000 */ nop
/* 4E30AC 8021896C 8FBF0010 */ lw $ra, 0x10($sp)
/* 4E30B0 80218970 24020002 */ addiu $v0, $zero, 2
/* 4E30B4 80218974 03E00008 */ jr $ra
/* 4E30B8 80218978 27BD0018 */ addiu $sp, $sp, 0x18
/* 4E30BC 8021897C 00000000 */ nop

View File

@ -1,40 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218980_4E30C0
/* 4E30C0 80218980 3C05C2B4 */ lui $a1, 0xc2b4
/* 4E30C4 80218984 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 4E30C8 80218988 F7B60028 */ sdc1 $f22, 0x28($sp)
/* 4E30CC 8021898C 3C014234 */ lui $at, 0x4234
/* 4E30D0 80218990 4481B000 */ mtc1 $at, $f22
/* 4E30D4 80218994 F7B80030 */ sdc1 $f24, 0x30($sp)
/* 4E30D8 80218998 3C01C312 */ lui $at, 0xc312
/* 4E30DC 8021899C 4481C000 */ mtc1 $at, $f24
/* 4E30E0 802189A0 24040001 */ addiu $a0, $zero, 1
/* 4E30E4 802189A4 F7B40020 */ sdc1 $f20, 0x20($sp)
/* 4E30E8 802189A8 3C013E80 */ lui $at, 0x3e80
/* 4E30EC 802189AC 4481A000 */ mtc1 $at, $f20
/* 4E30F0 802189B0 4406B000 */ mfc1 $a2, $f22
/* 4E30F4 802189B4 4407C000 */ mfc1 $a3, $f24
/* 4E30F8 802189B8 3C028022 */ lui $v0, %hi(D_80224D70)
/* 4E30FC 802189BC 24424D70 */ addiu $v0, $v0, %lo(D_80224D70)
/* 4E3100 802189C0 AFBF0018 */ sw $ra, 0x18($sp)
/* 4E3104 802189C4 AFA20014 */ sw $v0, 0x14($sp)
/* 4E3108 802189C8 0C01C124 */ jal playFX_20
/* 4E310C 802189CC E7B40010 */ swc1 $f20, 0x10($sp)
/* 4E3110 802189D0 24040001 */ addiu $a0, $zero, 1
/* 4E3114 802189D4 3C0542A0 */ lui $a1, 0x42a0
/* 4E3118 802189D8 4406B000 */ mfc1 $a2, $f22
/* 4E311C 802189DC 4407C000 */ mfc1 $a3, $f24
/* 4E3120 802189E0 3C028022 */ lui $v0, %hi(D_80224D74)
/* 4E3124 802189E4 24424D74 */ addiu $v0, $v0, %lo(D_80224D74)
/* 4E3128 802189E8 E7B40010 */ swc1 $f20, 0x10($sp)
/* 4E312C 802189EC 0C01C124 */ jal playFX_20
/* 4E3130 802189F0 AFA20014 */ sw $v0, 0x14($sp)
/* 4E3134 802189F4 8FBF0018 */ lw $ra, 0x18($sp)
/* 4E3138 802189F8 D7B80030 */ ldc1 $f24, 0x30($sp)
/* 4E313C 802189FC D7B60028 */ ldc1 $f22, 0x28($sp)
/* 4E3140 80218A00 D7B40020 */ ldc1 $f20, 0x20($sp)
/* 4E3144 80218A04 24020002 */ addiu $v0, $zero, 2
/* 4E3148 80218A08 03E00008 */ jr $ra
/* 4E314C 80218A0C 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -1,20 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218A10_4E3150
/* 4E3150 80218A10 3C048022 */ lui $a0, %hi(D_80224D70)
/* 4E3154 80218A14 8C844D70 */ lw $a0, %lo(D_80224D70)($a0)
/* 4E3158 80218A18 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 4E315C 80218A1C AFBF0010 */ sw $ra, 0x10($sp)
/* 4E3160 80218A20 0C016914 */ jal remove_effect
/* 4E3164 80218A24 00000000 */ nop
/* 4E3168 80218A28 3C048022 */ lui $a0, %hi(D_80224D74)
/* 4E316C 80218A2C 8C844D74 */ lw $a0, %lo(D_80224D74)($a0)
/* 4E3170 80218A30 0C016914 */ jal remove_effect
/* 4E3174 80218A34 00000000 */ nop
/* 4E3178 80218A38 8FBF0010 */ lw $ra, 0x10($sp)
/* 4E317C 80218A3C 24020002 */ addiu $v0, $zero, 2
/* 4E3180 80218A40 03E00008 */ jr $ra
/* 4E3184 80218A44 27BD0018 */ addiu $sp, $sp, 0x18
/* 4E3188 80218A48 00000000 */ nop
/* 4E318C 80218A4C 00000000 */ nop

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218A50_4E3190
/* 4E3190 80218A50 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 4E3194 80218A54 3C028022 */ lui $v0, %hi(D_80224D80)
/* 4E3198 80218A58 24424D80 */ addiu $v0, $v0, %lo(D_80224D80)
/* 4E319C 80218A5C 3C013E99 */ lui $at, 0x3e99
/* 4E31A0 80218A60 3421999A */ ori $at, $at, 0x999a
/* 4E31A4 80218A64 44810000 */ mtc1 $at, $f0
/* 4E31A8 80218A68 3C05C2DC */ lui $a1, 0xc2dc
/* 4E31AC 80218A6C 3C0642A0 */ lui $a2, 0x42a0
/* 4E31B0 80218A70 3C07C312 */ lui $a3, 0xc312
/* 4E31B4 80218A74 24040001 */ addiu $a0, $zero, 1
/* 4E31B8 80218A78 AFBF0018 */ sw $ra, 0x18($sp)
/* 4E31BC 80218A7C AFA20014 */ sw $v0, 0x14($sp)
/* 4E31C0 80218A80 0C01C124 */ jal playFX_20
/* 4E31C4 80218A84 E7A00010 */ swc1 $f0, 0x10($sp)
/* 4E31C8 80218A88 8FBF0018 */ lw $ra, 0x18($sp)
/* 4E31CC 80218A8C 24020002 */ addiu $v0, $zero, 2
/* 4E31D0 80218A90 03E00008 */ jr $ra
/* 4E31D4 80218A94 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,14 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218A98_4E31D8
/* 4E31D8 80218A98 3C048022 */ lui $a0, %hi(D_80224D80)
/* 4E31DC 80218A9C 8C844D80 */ lw $a0, %lo(D_80224D80)($a0)
/* 4E31E0 80218AA0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 4E31E4 80218AA4 AFBF0010 */ sw $ra, 0x10($sp)
/* 4E31E8 80218AA8 0C016914 */ jal remove_effect
/* 4E31EC 80218AAC 00000000 */ nop
/* 4E31F0 80218AB0 8FBF0010 */ lw $ra, 0x10($sp)
/* 4E31F4 80218AB4 24020002 */ addiu $v0, $zero, 2
/* 4E31F8 80218AB8 03E00008 */ jr $ra
/* 4E31FC 80218ABC 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218AC0_4E3200
/* 4E3200 80218AC0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 4E3204 80218AC4 3C028022 */ lui $v0, %hi(D_80224D90)
/* 4E3208 80218AC8 24424D90 */ addiu $v0, $v0, %lo(D_80224D90)
/* 4E320C 80218ACC 3C013E99 */ lui $at, 0x3e99
/* 4E3210 80218AD0 3421999A */ ori $at, $at, 0x999a
/* 4E3214 80218AD4 44810000 */ mtc1 $at, $f0
/* 4E3218 80218AD8 3C0542DC */ lui $a1, 0x42dc
/* 4E321C 80218ADC 3C0642A0 */ lui $a2, 0x42a0
/* 4E3220 80218AE0 3C07C312 */ lui $a3, 0xc312
/* 4E3224 80218AE4 24040001 */ addiu $a0, $zero, 1
/* 4E3228 80218AE8 AFBF0018 */ sw $ra, 0x18($sp)
/* 4E322C 80218AEC AFA20014 */ sw $v0, 0x14($sp)
/* 4E3230 80218AF0 0C01C124 */ jal playFX_20
/* 4E3234 80218AF4 E7A00010 */ swc1 $f0, 0x10($sp)
/* 4E3238 80218AF8 8FBF0018 */ lw $ra, 0x18($sp)
/* 4E323C 80218AFC 24020002 */ addiu $v0, $zero, 2
/* 4E3240 80218B00 03E00008 */ jr $ra
/* 4E3244 80218B04 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,14 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218B08_4E3248
/* 4E3248 80218B08 3C048022 */ lui $a0, %hi(D_80224D90)
/* 4E324C 80218B0C 8C844D90 */ lw $a0, %lo(D_80224D90)($a0)
/* 4E3250 80218B10 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 4E3254 80218B14 AFBF0010 */ sw $ra, 0x10($sp)
/* 4E3258 80218B18 0C016914 */ jal remove_effect
/* 4E325C 80218B1C 00000000 */ nop
/* 4E3260 80218B20 8FBF0010 */ lw $ra, 0x10($sp)
/* 4E3264 80218B24 24020002 */ addiu $v0, $zero, 2
/* 4E3268 80218B28 03E00008 */ jr $ra
/* 4E326C 80218B2C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218B30_4E3270
/* 4E3270 80218B30 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 4E3274 80218B34 3C028022 */ lui $v0, %hi(D_80224DA0)
/* 4E3278 80218B38 24424DA0 */ addiu $v0, $v0, %lo(D_80224DA0)
/* 4E327C 80218B3C 3C013E99 */ lui $at, 0x3e99
/* 4E3280 80218B40 3421999A */ ori $at, $at, 0x999a
/* 4E3284 80218B44 44810000 */ mtc1 $at, $f0
/* 4E3288 80218B48 3C05C2DC */ lui $a1, 0xc2dc
/* 4E328C 80218B4C 3C0642A0 */ lui $a2, 0x42a0
/* 4E3290 80218B50 3C07C312 */ lui $a3, 0xc312
/* 4E3294 80218B54 24040001 */ addiu $a0, $zero, 1
/* 4E3298 80218B58 AFBF0018 */ sw $ra, 0x18($sp)
/* 4E329C 80218B5C AFA20014 */ sw $v0, 0x14($sp)
/* 4E32A0 80218B60 0C01C124 */ jal playFX_20
/* 4E32A4 80218B64 E7A00010 */ swc1 $f0, 0x10($sp)
/* 4E32A8 80218B68 8FBF0018 */ lw $ra, 0x18($sp)
/* 4E32AC 80218B6C 24020002 */ addiu $v0, $zero, 2
/* 4E32B0 80218B70 03E00008 */ jr $ra
/* 4E32B4 80218B74 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,14 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218B78_4E32B8
/* 4E32B8 80218B78 3C048022 */ lui $a0, %hi(D_80224DA0)
/* 4E32BC 80218B7C 8C844DA0 */ lw $a0, %lo(D_80224DA0)($a0)
/* 4E32C0 80218B80 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 4E32C4 80218B84 AFBF0010 */ sw $ra, 0x10($sp)
/* 4E32C8 80218B88 0C016914 */ jal remove_effect
/* 4E32CC 80218B8C 00000000 */ nop
/* 4E32D0 80218B90 8FBF0010 */ lw $ra, 0x10($sp)
/* 4E32D4 80218B94 24020002 */ addiu $v0, $zero, 2
/* 4E32D8 80218B98 03E00008 */ jr $ra
/* 4E32DC 80218B9C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218BA0_4E32E0
/* 4E32E0 80218BA0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 4E32E4 80218BA4 3C028022 */ lui $v0, %hi(D_80224DB0)
/* 4E32E8 80218BA8 24424DB0 */ addiu $v0, $v0, %lo(D_80224DB0)
/* 4E32EC 80218BAC 24040001 */ addiu $a0, $zero, 1
/* 4E32F0 80218BB0 3C013E99 */ lui $at, 0x3e99
/* 4E32F4 80218BB4 3421999A */ ori $at, $at, 0x999a
/* 4E32F8 80218BB8 44810000 */ mtc1 $at, $f0
/* 4E32FC 80218BBC 3C064290 */ lui $a2, 0x4290
/* 4E3300 80218BC0 3C07C312 */ lui $a3, 0xc312
/* 4E3304 80218BC4 0000282D */ daddu $a1, $zero, $zero
/* 4E3308 80218BC8 AFBF0018 */ sw $ra, 0x18($sp)
/* 4E330C 80218BCC AFA20014 */ sw $v0, 0x14($sp)
/* 4E3310 80218BD0 0C01C124 */ jal playFX_20
/* 4E3314 80218BD4 E7A00010 */ swc1 $f0, 0x10($sp)
/* 4E3318 80218BD8 8FBF0018 */ lw $ra, 0x18($sp)
/* 4E331C 80218BDC 24020002 */ addiu $v0, $zero, 2
/* 4E3320 80218BE0 03E00008 */ jr $ra
/* 4E3324 80218BE4 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,14 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218BE8_4E3328
/* 4E3328 80218BE8 3C048022 */ lui $a0, %hi(D_80224DB0)
/* 4E332C 80218BEC 8C844DB0 */ lw $a0, %lo(D_80224DB0)($a0)
/* 4E3330 80218BF0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 4E3334 80218BF4 AFBF0010 */ sw $ra, 0x10($sp)
/* 4E3338 80218BF8 0C016914 */ jal remove_effect
/* 4E333C 80218BFC 00000000 */ nop
/* 4E3340 80218C00 8FBF0010 */ lw $ra, 0x10($sp)
/* 4E3344 80218C04 24020002 */ addiu $v0, $zero, 2
/* 4E3348 80218C08 03E00008 */ jr $ra
/* 4E334C 80218C0C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,7 +1,7 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8021825C_4EF6FC
glabel b_area_isk_part_2_ChompChainUpdate
/* 4EF6FC 8021825C 27BDFFA0 */ addiu $sp, $sp, -0x60
/* 4EF700 80218260 AFB00020 */ sw $s0, 0x20($sp)
/* 4EF704 80218264 0080802D */ daddu $s0, $a0, $zero
@ -157,7 +157,7 @@ glabel func_8021825C_4EF6FC
/* 4EF938 80218498 4602A081 */ sub.s $f2, $f20, $f2
/* 4EF93C 8021849C 4406B000 */ mfc1 $a2, $f22
/* 4EF940 802184A0 44051000 */ mfc1 $a1, $f2
/* 4EF944 802184A4 0C08607A */ jal func_802181E8_4EF688
/* 4EF944 802184A4 0C08607A */ jal b_area_isk_part_2_ChompChainUpdateHelperFunc2
/* 4EF948 802184A8 27A40018 */ addiu $a0, $sp, 0x18
/* 4EF94C 802184AC C7A00018 */ lwc1 $f0, 0x18($sp)
/* 4EF950 802184B0 3C013FE0 */ lui $at, 0x3fe0
@ -216,7 +216,7 @@ glabel func_8021825C_4EF6FC
/* 4EFA10 80218570 8E050018 */ lw $a1, 0x18($s0)
.L80218574:
/* 4EFA14 80218574 4406B000 */ mfc1 $a2, $f22
/* 4EFA18 80218578 0C086054 */ jal func_80218150_4EF5F0
/* 4EFA18 80218578 0C086054 */ jal b_area_isk_part_2_ChompChainUpdateHelperFunc
/* 4EFA1C 8021857C 0240202D */ daddu $a0, $s2, $zero
/* 4EFA20 80218580 C6000018 */ lwc1 $f0, 0x18($s0)
/* 4EFA24 80218584 3C014010 */ lui $at, 0x4010

View File

@ -1,89 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218000_4EF4A0
/* 4EF4A0 80218000 27BDFFA8 */ addiu $sp, $sp, -0x58
/* 4EF4A4 80218004 AFB40020 */ sw $s4, 0x20($sp)
/* 4EF4A8 80218008 24140003 */ addiu $s4, $zero, 3
/* 4EF4AC 8021800C AFB20018 */ sw $s2, 0x18($sp)
/* 4EF4B0 80218010 AFBF0024 */ sw $ra, 0x24($sp)
/* 4EF4B4 80218014 AFB3001C */ sw $s3, 0x1c($sp)
/* 4EF4B8 80218018 AFB10014 */ sw $s1, 0x14($sp)
/* 4EF4BC 8021801C AFB00010 */ sw $s0, 0x10($sp)
/* 4EF4C0 80218020 F7BE0050 */ sdc1 $f30, 0x50($sp)
/* 4EF4C4 80218024 F7BC0048 */ sdc1 $f28, 0x48($sp)
/* 4EF4C8 80218028 F7BA0040 */ sdc1 $f26, 0x40($sp)
/* 4EF4CC 8021802C F7B80038 */ sdc1 $f24, 0x38($sp)
/* 4EF4D0 80218030 F7B60030 */ sdc1 $f22, 0x30($sp)
/* 4EF4D4 80218034 F7B40028 */ sdc1 $f20, 0x28($sp)
/* 4EF4D8 80218038 8C840148 */ lw $a0, 0x148($a0)
/* 4EF4DC 8021803C 3C0140E0 */ lui $at, 0x40e0
/* 4EF4E0 80218040 4481A000 */ mtc1 $at, $f20
/* 4EF4E4 80218044 3C013F19 */ lui $at, 0x3f19
/* 4EF4E8 80218048 3421999A */ ori $at, $at, 0x999a
/* 4EF4EC 8021804C 4481F000 */ mtc1 $at, $f30
/* 4EF4F0 80218050 3C014040 */ lui $at, 0x4040
/* 4EF4F4 80218054 4481E000 */ mtc1 $at, $f28
/* 4EF4F8 80218058 0C09A75B */ jal get_actor
/* 4EF4FC 8021805C 0000902D */ daddu $s2, $zero, $zero
/* 4EF500 80218060 24040180 */ addiu $a0, $zero, 0x180
/* 4EF504 80218064 0C00AB39 */ jal heap_malloc
/* 4EF508 80218068 0040982D */ daddu $s3, $v0, $zero
/* 4EF50C 8021806C 0040882D */ daddu $s1, $v0, $zero
/* 4EF510 80218070 26300008 */ addiu $s0, $s1, 8
/* 4EF514 80218074 C67A014C */ lwc1 $f26, 0x14c($s3)
/* 4EF518 80218078 C6620144 */ lwc1 $f2, 0x144($s3)
/* 4EF51C 8021807C 3C014028 */ lui $at, 0x4028
/* 4EF520 80218080 44810800 */ mtc1 $at, $f1
/* 4EF524 80218084 44800000 */ mtc1 $zero, $f0
/* 4EF528 80218088 460010A1 */ cvt.d.s $f2, $f2
/* 4EF52C 8021808C 46201080 */ add.d $f2, $f2, $f0
/* 4EF530 80218090 C6600148 */ lwc1 $f0, 0x148($s3)
/* 4EF534 80218094 3C014014 */ lui $at, 0x4014
/* 4EF538 80218098 44812800 */ mtc1 $at, $f5
/* 4EF53C 8021809C 44802000 */ mtc1 $zero, $f4
/* 4EF540 802180A0 46000021 */ cvt.d.s $f0, $f0
/* 4EF544 802180A4 46240000 */ add.d $f0, $f0, $f4
/* 4EF548 802180A8 AE710078 */ sw $s1, 0x78($s3)
/* 4EF54C 802180AC 46201620 */ cvt.s.d $f24, $f2
/* 4EF550 802180B0 462005A0 */ cvt.s.d $f22, $f0
.L802180B4:
/* 4EF554 802180B4 0260202D */ daddu $a0, $s3, $zero
/* 4EF558 802180B8 02922821 */ addu $a1, $s4, $s2
/* 4EF55C 802180BC E614001C */ swc1 $f20, 0x1c($s0)
/* 4EF560 802180C0 E6140024 */ swc1 $f20, 0x24($s0)
/* 4EF564 802180C4 E6140020 */ swc1 $f20, 0x20($s0)
/* 4EF568 802180C8 E6380000 */ swc1 $f24, ($s1)
/* 4EF56C 802180CC E616FFFC */ swc1 $f22, -4($s0)
/* 4EF570 802180D0 E61A0000 */ swc1 $f26, ($s0)
/* 4EF574 802180D4 AE000014 */ sw $zero, 0x14($s0)
/* 4EF578 802180D8 E61E0018 */ swc1 $f30, 0x18($s0)
/* 4EF57C 802180DC E61C000C */ swc1 $f28, 0xc($s0)
/* 4EF580 802180E0 0C099117 */ jal get_actor_part
/* 4EF584 802180E4 AE000010 */ sw $zero, 0x10($s0)
/* 4EF588 802180E8 C6200000 */ lwc1 $f0, ($s1)
/* 4EF58C 802180EC 26520001 */ addiu $s2, $s2, 1
/* 4EF590 802180F0 E440002C */ swc1 $f0, 0x2c($v0)
/* 4EF594 802180F4 C600FFFC */ lwc1 $f0, -4($s0)
/* 4EF598 802180F8 26310030 */ addiu $s1, $s1, 0x30
/* 4EF59C 802180FC E4400030 */ swc1 $f0, 0x30($v0)
/* 4EF5A0 80218100 C6000000 */ lwc1 $f0, ($s0)
/* 4EF5A4 80218104 E4400034 */ swc1 $f0, 0x34($v0)
/* 4EF5A8 80218108 2A420008 */ slti $v0, $s2, 8
/* 4EF5AC 8021810C 1440FFE9 */ bnez $v0, .L802180B4
/* 4EF5B0 80218110 26100030 */ addiu $s0, $s0, 0x30
/* 4EF5B4 80218114 8FBF0024 */ lw $ra, 0x24($sp)
/* 4EF5B8 80218118 8FB40020 */ lw $s4, 0x20($sp)
/* 4EF5BC 8021811C 8FB3001C */ lw $s3, 0x1c($sp)
/* 4EF5C0 80218120 8FB20018 */ lw $s2, 0x18($sp)
/* 4EF5C4 80218124 8FB10014 */ lw $s1, 0x14($sp)
/* 4EF5C8 80218128 8FB00010 */ lw $s0, 0x10($sp)
/* 4EF5CC 8021812C D7BE0050 */ ldc1 $f30, 0x50($sp)
/* 4EF5D0 80218130 D7BC0048 */ ldc1 $f28, 0x48($sp)
/* 4EF5D4 80218134 D7BA0040 */ ldc1 $f26, 0x40($sp)
/* 4EF5D8 80218138 D7B80038 */ ldc1 $f24, 0x38($sp)
/* 4EF5DC 8021813C D7B60030 */ ldc1 $f22, 0x30($sp)
/* 4EF5E0 80218140 D7B40028 */ ldc1 $f20, 0x28($sp)
/* 4EF5E4 80218144 24020002 */ addiu $v0, $zero, 2
/* 4EF5E8 80218148 03E00008 */ jr $ra
/* 4EF5EC 8021814C 27BD0058 */ addiu $sp, $sp, 0x58

View File

@ -1,42 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218150_4EF5F0
/* 4EF5F0 80218150 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 4EF5F4 80218154 F7B60020 */ sdc1 $f22, 0x20($sp)
/* 4EF5F8 80218158 4485B000 */ mtc1 $a1, $f22
/* 4EF5FC 8021815C 3C0140C9 */ lui $at, 0x40c9
/* 4EF600 80218160 34210FD0 */ ori $at, $at, 0xfd0
/* 4EF604 80218164 44810000 */ mtc1 $at, $f0
/* 4EF608 80218168 44863000 */ mtc1 $a2, $f6
/* 4EF60C 8021816C F7B40018 */ sdc1 $f20, 0x18($sp)
/* 4EF610 80218170 46003502 */ mul.s $f20, $f6, $f0
/* 4EF614 80218174 00000000 */ nop
/* 4EF618 80218178 AFB00010 */ sw $s0, 0x10($sp)
/* 4EF61C 8021817C 3C0143B4 */ lui $at, 0x43b4
/* 4EF620 80218180 44810000 */ mtc1 $at, $f0
/* 4EF624 80218184 0080802D */ daddu $s0, $a0, $zero
/* 4EF628 80218188 AFBF0014 */ sw $ra, 0x14($sp)
/* 4EF62C 8021818C 4600A503 */ div.s $f20, $f20, $f0
/* 4EF630 80218190 0C00A85B */ jal sin_rad
/* 4EF634 80218194 4600A306 */ mov.s $f12, $f20
/* 4EF638 80218198 4600A306 */ mov.s $f12, $f20
/* 4EF63C 8021819C 0C00A874 */ jal cos_rad
/* 4EF640 802181A0 46000506 */ mov.s $f20, $f0
/* 4EF644 802181A4 4600B087 */ neg.s $f2, $f22
/* 4EF648 802181A8 46141082 */ mul.s $f2, $f2, $f20
/* 4EF64C 802181AC 00000000 */ nop
/* 4EF650 802181B0 4600B582 */ mul.s $f22, $f22, $f0
/* 4EF654 802181B4 00000000 */ nop
/* 4EF658 802181B8 C6040000 */ lwc1 $f4, ($s0)
/* 4EF65C 802181BC 46022100 */ add.s $f4, $f4, $f2
/* 4EF660 802181C0 C6000004 */ lwc1 $f0, 4($s0)
/* 4EF664 802181C4 46160000 */ add.s $f0, $f0, $f22
/* 4EF668 802181C8 E6040000 */ swc1 $f4, ($s0)
/* 4EF66C 802181CC E6000004 */ swc1 $f0, 4($s0)
/* 4EF670 802181D0 8FBF0014 */ lw $ra, 0x14($sp)
/* 4EF674 802181D4 8FB00010 */ lw $s0, 0x10($sp)
/* 4EF678 802181D8 D7B60020 */ ldc1 $f22, 0x20($sp)
/* 4EF67C 802181DC D7B40018 */ ldc1 $f20, 0x18($sp)
/* 4EF680 802181E0 03E00008 */ jr $ra
/* 4EF684 802181E4 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802181E8_4EF688
/* 4EF688 802181E8 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 4EF68C 802181EC F7B60020 */ sdc1 $f22, 0x20($sp)
/* 4EF690 802181F0 4485B000 */ mtc1 $a1, $f22
/* 4EF694 802181F4 3C0140C9 */ lui $at, 0x40c9
/* 4EF698 802181F8 34210FD0 */ ori $at, $at, 0xfd0
/* 4EF69C 802181FC 44810000 */ mtc1 $at, $f0
/* 4EF6A0 80218200 44861000 */ mtc1 $a2, $f2
/* 4EF6A4 80218204 F7B40018 */ sdc1 $f20, 0x18($sp)
/* 4EF6A8 80218208 46001502 */ mul.s $f20, $f2, $f0
/* 4EF6AC 8021820C 00000000 */ nop
/* 4EF6B0 80218210 AFB00010 */ sw $s0, 0x10($sp)
/* 4EF6B4 80218214 3C0143B4 */ lui $at, 0x43b4
/* 4EF6B8 80218218 44810000 */ mtc1 $at, $f0
/* 4EF6BC 8021821C 0080802D */ daddu $s0, $a0, $zero
/* 4EF6C0 80218220 AFBF0014 */ sw $ra, 0x14($sp)
/* 4EF6C4 80218224 4600A503 */ div.s $f20, $f20, $f0
/* 4EF6C8 80218228 0C00A85B */ jal sin_rad
/* 4EF6CC 8021822C 4600A306 */ mov.s $f12, $f20
/* 4EF6D0 80218230 0C00A874 */ jal cos_rad
/* 4EF6D4 80218234 4600A306 */ mov.s $f12, $f20
/* 4EF6D8 80218238 4600B582 */ mul.s $f22, $f22, $f0
/* 4EF6DC 8021823C 00000000 */ nop
/* 4EF6E0 80218240 E6160000 */ swc1 $f22, ($s0)
/* 4EF6E4 80218244 8FBF0014 */ lw $ra, 0x14($sp)
/* 4EF6E8 80218248 8FB00010 */ lw $s0, 0x10($sp)
/* 4EF6EC 8021824C D7B60020 */ ldc1 $f22, 0x20($sp)
/* 4EF6F0 80218250 D7B40018 */ ldc1 $f20, 0x18($sp)
/* 4EF6F4 80218254 03E00008 */ jr $ra
/* 4EF6F8 80218258 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,13 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8021866C_4EFB0C
/* 4EFB0C 8021866C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 4EFB10 80218670 AFBF0010 */ sw $ra, 0x10($sp)
/* 4EFB14 80218674 8C82000C */ lw $v0, 0xc($a0)
/* 4EFB18 80218678 0C0B1EAF */ jal evt_get_variable
/* 4EFB1C 8021867C 8C450004 */ lw $a1, 4($v0)
/* 4EFB20 80218680 8FBF0010 */ lw $ra, 0x10($sp)
/* 4EFB24 80218684 24020002 */ addiu $v0, $zero, 2
/* 4EFB28 80218688 03E00008 */ jr $ra
/* 4EFB2C 8021868C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,65 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8021875C_4EFBFC
/* 4EFBFC 8021875C 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 4EFC00 80218760 AFB1002C */ sw $s1, 0x2c($sp)
/* 4EFC04 80218764 0080882D */ daddu $s1, $a0, $zero
/* 4EFC08 80218768 AFBF0034 */ sw $ra, 0x34($sp)
/* 4EFC0C 8021876C AFB20030 */ sw $s2, 0x30($sp)
/* 4EFC10 80218770 AFB00028 */ sw $s0, 0x28($sp)
/* 4EFC14 80218774 8E30000C */ lw $s0, 0xc($s1)
/* 4EFC18 80218778 8E050000 */ lw $a1, ($s0)
/* 4EFC1C 8021877C 0C0B1EAF */ jal evt_get_variable
/* 4EFC20 80218780 26100004 */ addiu $s0, $s0, 4
/* 4EFC24 80218784 8E050000 */ lw $a1, ($s0)
/* 4EFC28 80218788 26100004 */ addiu $s0, $s0, 4
/* 4EFC2C 8021878C 0220202D */ daddu $a0, $s1, $zero
/* 4EFC30 80218790 0C0B1EAF */ jal evt_get_variable
/* 4EFC34 80218794 0040902D */ daddu $s2, $v0, $zero
/* 4EFC38 80218798 0220202D */ daddu $a0, $s1, $zero
/* 4EFC3C 8021879C 8E050000 */ lw $a1, ($s0)
/* 4EFC40 802187A0 0C0B1EAF */ jal evt_get_variable
/* 4EFC44 802187A4 0040802D */ daddu $s0, $v0, $zero
/* 4EFC48 802187A8 24040002 */ addiu $a0, $zero, 2
/* 4EFC4C 802187AC 44923000 */ mtc1 $s2, $f6
/* 4EFC50 802187B0 00000000 */ nop
/* 4EFC54 802187B4 468031A0 */ cvt.s.w $f6, $f6
/* 4EFC58 802187B8 44900000 */ mtc1 $s0, $f0
/* 4EFC5C 802187BC 00000000 */ nop
/* 4EFC60 802187C0 46800020 */ cvt.s.w $f0, $f0
/* 4EFC64 802187C4 44053000 */ mfc1 $a1, $f6
/* 4EFC68 802187C8 44823000 */ mtc1 $v0, $f6
/* 4EFC6C 802187CC 00000000 */ nop
/* 4EFC70 802187D0 468031A0 */ cvt.s.w $f6, $f6
/* 4EFC74 802187D4 E7A00010 */ swc1 $f0, 0x10($sp)
/* 4EFC78 802187D8 3C01BF00 */ lui $at, 0xbf00
/* 4EFC7C 802187DC 44810000 */ mtc1 $at, $f0
/* 4EFC80 802187E0 3C01BF66 */ lui $at, 0xbf66
/* 4EFC84 802187E4 34216666 */ ori $at, $at, 0x6666
/* 4EFC88 802187E8 44811000 */ mtc1 $at, $f2
/* 4EFC8C 802187EC 3C013F00 */ lui $at, 0x3f00
/* 4EFC90 802187F0 44812000 */ mtc1 $at, $f4
/* 4EFC94 802187F4 3C064316 */ lui $a2, 0x4316
/* 4EFC98 802187F8 44073000 */ mfc1 $a3, $f6
/* 4EFC9C 802187FC 2403003C */ addiu $v1, $zero, 0x3c
/* 4EFCA0 80218800 AFA30020 */ sw $v1, 0x20($sp)
/* 4EFCA4 80218804 E7A00014 */ swc1 $f0, 0x14($sp)
/* 4EFCA8 80218808 E7A20018 */ swc1 $f2, 0x18($sp)
/* 4EFCAC 8021880C 0C01C544 */ jal playFX_4C
/* 4EFCB0 80218810 E7A4001C */ swc1 $f4, 0x1c($sp)
/* 4EFCB4 80218814 8C43000C */ lw $v1, 0xc($v0)
/* 4EFCB8 80218818 AC600030 */ sw $zero, 0x30($v1)
/* 4EFCBC 8021881C 8C43000C */ lw $v1, 0xc($v0)
/* 4EFCC0 80218820 AC600038 */ sw $zero, 0x38($v1)
/* 4EFCC4 80218824 8C43000C */ lw $v1, 0xc($v0)
/* 4EFCC8 80218828 AC600034 */ sw $zero, 0x34($v1)
/* 4EFCCC 8021882C 8FBF0034 */ lw $ra, 0x34($sp)
/* 4EFCD0 80218830 8FB20030 */ lw $s2, 0x30($sp)
/* 4EFCD4 80218834 8FB1002C */ lw $s1, 0x2c($sp)
/* 4EFCD8 80218838 8FB00028 */ lw $s0, 0x28($sp)
/* 4EFCDC 8021883C 24020002 */ addiu $v0, $zero, 2
/* 4EFCE0 80218840 03E00008 */ jr $ra
/* 4EFCE4 80218844 27BD0038 */ addiu $sp, $sp, 0x38
/* 4EFCE8 80218848 00000000 */ nop
/* 4EFCEC 8021884C 00000000 */ nop

View File

@ -1,41 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218850_4EFCF0
/* 4EFCF0 80218850 3C05C305 */ lui $a1, 0xc305
/* 4EFCF4 80218854 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 4EFCF8 80218858 F7B60028 */ sdc1 $f22, 0x28($sp)
/* 4EFCFC 8021885C 3C014290 */ lui $at, 0x4290
/* 4EFD00 80218860 4481B000 */ mtc1 $at, $f22
/* 4EFD04 80218864 F7B80030 */ sdc1 $f24, 0x30($sp)
/* 4EFD08 80218868 3C01C30F */ lui $at, 0xc30f
/* 4EFD0C 8021886C 4481C000 */ mtc1 $at, $f24
/* 4EFD10 80218870 24040001 */ addiu $a0, $zero, 1
/* 4EFD14 80218874 F7B40020 */ sdc1 $f20, 0x20($sp)
/* 4EFD18 80218878 3C013E99 */ lui $at, 0x3e99
/* 4EFD1C 8021887C 3421999A */ ori $at, $at, 0x999a
/* 4EFD20 80218880 4481A000 */ mtc1 $at, $f20
/* 4EFD24 80218884 4406B000 */ mfc1 $a2, $f22
/* 4EFD28 80218888 4407C000 */ mfc1 $a3, $f24
/* 4EFD2C 8021888C 3C028022 */ lui $v0, %hi(D_80220740)
/* 4EFD30 80218890 24420740 */ addiu $v0, $v0, %lo(D_80220740)
/* 4EFD34 80218894 AFBF0018 */ sw $ra, 0x18($sp)
/* 4EFD38 80218898 AFA20014 */ sw $v0, 0x14($sp)
/* 4EFD3C 8021889C 0C01C124 */ jal playFX_20
/* 4EFD40 802188A0 E7B40010 */ swc1 $f20, 0x10($sp)
/* 4EFD44 802188A4 24040001 */ addiu $a0, $zero, 1
/* 4EFD48 802188A8 3C054301 */ lui $a1, 0x4301
/* 4EFD4C 802188AC 4406B000 */ mfc1 $a2, $f22
/* 4EFD50 802188B0 4407C000 */ mfc1 $a3, $f24
/* 4EFD54 802188B4 3C028022 */ lui $v0, %hi(D_80220744)
/* 4EFD58 802188B8 24420744 */ addiu $v0, $v0, %lo(D_80220744)
/* 4EFD5C 802188BC E7B40010 */ swc1 $f20, 0x10($sp)
/* 4EFD60 802188C0 0C01C124 */ jal playFX_20
/* 4EFD64 802188C4 AFA20014 */ sw $v0, 0x14($sp)
/* 4EFD68 802188C8 8FBF0018 */ lw $ra, 0x18($sp)
/* 4EFD6C 802188CC D7B80030 */ ldc1 $f24, 0x30($sp)
/* 4EFD70 802188D0 D7B60028 */ ldc1 $f22, 0x28($sp)
/* 4EFD74 802188D4 D7B40020 */ ldc1 $f20, 0x20($sp)
/* 4EFD78 802188D8 24020002 */ addiu $v0, $zero, 2
/* 4EFD7C 802188DC 03E00008 */ jr $ra
/* 4EFD80 802188E0 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -1,19 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802188E4_4EFD84
/* 4EFD84 802188E4 3C048022 */ lui $a0, %hi(D_80220740)
/* 4EFD88 802188E8 8C840740 */ lw $a0, %lo(D_80220740)($a0)
/* 4EFD8C 802188EC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 4EFD90 802188F0 AFBF0010 */ sw $ra, 0x10($sp)
/* 4EFD94 802188F4 0C016914 */ jal remove_effect
/* 4EFD98 802188F8 00000000 */ nop
/* 4EFD9C 802188FC 3C048022 */ lui $a0, %hi(D_80220744)
/* 4EFDA0 80218900 8C840744 */ lw $a0, %lo(D_80220744)($a0)
/* 4EFDA4 80218904 0C016914 */ jal remove_effect
/* 4EFDA8 80218908 00000000 */ nop
/* 4EFDAC 8021890C 8FBF0010 */ lw $ra, 0x10($sp)
/* 4EFDB0 80218910 24020002 */ addiu $v0, $zero, 2
/* 4EFDB4 80218914 03E00008 */ jr $ra
/* 4EFDB8 80218918 27BD0018 */ addiu $sp, $sp, 0x18
/* 4EFDBC 8021891C 00000000 */ nop

View File

@ -1,40 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218920_4EFDC0
/* 4EFDC0 80218920 3C05C2B4 */ lui $a1, 0xc2b4
/* 4EFDC4 80218924 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 4EFDC8 80218928 F7B60028 */ sdc1 $f22, 0x28($sp)
/* 4EFDCC 8021892C 3C014234 */ lui $at, 0x4234
/* 4EFDD0 80218930 4481B000 */ mtc1 $at, $f22
/* 4EFDD4 80218934 F7B80030 */ sdc1 $f24, 0x30($sp)
/* 4EFDD8 80218938 3C01C312 */ lui $at, 0xc312
/* 4EFDDC 8021893C 4481C000 */ mtc1 $at, $f24
/* 4EFDE0 80218940 24040001 */ addiu $a0, $zero, 1
/* 4EFDE4 80218944 F7B40020 */ sdc1 $f20, 0x20($sp)
/* 4EFDE8 80218948 3C013E80 */ lui $at, 0x3e80
/* 4EFDEC 8021894C 4481A000 */ mtc1 $at, $f20
/* 4EFDF0 80218950 4406B000 */ mfc1 $a2, $f22
/* 4EFDF4 80218954 4407C000 */ mfc1 $a3, $f24
/* 4EFDF8 80218958 3C028022 */ lui $v0, %hi(D_80220750)
/* 4EFDFC 8021895C 24420750 */ addiu $v0, $v0, %lo(D_80220750)
/* 4EFE00 80218960 AFBF0018 */ sw $ra, 0x18($sp)
/* 4EFE04 80218964 AFA20014 */ sw $v0, 0x14($sp)
/* 4EFE08 80218968 0C01C124 */ jal playFX_20
/* 4EFE0C 8021896C E7B40010 */ swc1 $f20, 0x10($sp)
/* 4EFE10 80218970 24040001 */ addiu $a0, $zero, 1
/* 4EFE14 80218974 3C0542A0 */ lui $a1, 0x42a0
/* 4EFE18 80218978 4406B000 */ mfc1 $a2, $f22
/* 4EFE1C 8021897C 4407C000 */ mfc1 $a3, $f24
/* 4EFE20 80218980 3C028022 */ lui $v0, %hi(D_80220754)
/* 4EFE24 80218984 24420754 */ addiu $v0, $v0, %lo(D_80220754)
/* 4EFE28 80218988 E7B40010 */ swc1 $f20, 0x10($sp)
/* 4EFE2C 8021898C 0C01C124 */ jal playFX_20
/* 4EFE30 80218990 AFA20014 */ sw $v0, 0x14($sp)
/* 4EFE34 80218994 8FBF0018 */ lw $ra, 0x18($sp)
/* 4EFE38 80218998 D7B80030 */ ldc1 $f24, 0x30($sp)
/* 4EFE3C 8021899C D7B60028 */ ldc1 $f22, 0x28($sp)
/* 4EFE40 802189A0 D7B40020 */ ldc1 $f20, 0x20($sp)
/* 4EFE44 802189A4 24020002 */ addiu $v0, $zero, 2
/* 4EFE48 802189A8 03E00008 */ jr $ra
/* 4EFE4C 802189AC 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -1,20 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802189B0_4EFE50
/* 4EFE50 802189B0 3C048022 */ lui $a0, %hi(D_80220750)
/* 4EFE54 802189B4 8C840750 */ lw $a0, %lo(D_80220750)($a0)
/* 4EFE58 802189B8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 4EFE5C 802189BC AFBF0010 */ sw $ra, 0x10($sp)
/* 4EFE60 802189C0 0C016914 */ jal remove_effect
/* 4EFE64 802189C4 00000000 */ nop
/* 4EFE68 802189C8 3C048022 */ lui $a0, %hi(D_80220754)
/* 4EFE6C 802189CC 8C840754 */ lw $a0, %lo(D_80220754)($a0)
/* 4EFE70 802189D0 0C016914 */ jal remove_effect
/* 4EFE74 802189D4 00000000 */ nop
/* 4EFE78 802189D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 4EFE7C 802189DC 24020002 */ addiu $v0, $zero, 2
/* 4EFE80 802189E0 03E00008 */ jr $ra
/* 4EFE84 802189E4 27BD0018 */ addiu $sp, $sp, 0x18
/* 4EFE88 802189E8 00000000 */ nop
/* 4EFE8C 802189EC 00000000 */ nop

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802189F0_4EFE90
/* 4EFE90 802189F0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 4EFE94 802189F4 3C028022 */ lui $v0, %hi(D_80220760)
/* 4EFE98 802189F8 24420760 */ addiu $v0, $v0, %lo(D_80220760)
/* 4EFE9C 802189FC 3C013E99 */ lui $at, 0x3e99
/* 4EFEA0 80218A00 3421999A */ ori $at, $at, 0x999a
/* 4EFEA4 80218A04 44810000 */ mtc1 $at, $f0
/* 4EFEA8 80218A08 3C05C2DC */ lui $a1, 0xc2dc
/* 4EFEAC 80218A0C 3C0642A0 */ lui $a2, 0x42a0
/* 4EFEB0 80218A10 3C07C312 */ lui $a3, 0xc312
/* 4EFEB4 80218A14 24040001 */ addiu $a0, $zero, 1
/* 4EFEB8 80218A18 AFBF0018 */ sw $ra, 0x18($sp)
/* 4EFEBC 80218A1C AFA20014 */ sw $v0, 0x14($sp)
/* 4EFEC0 80218A20 0C01C124 */ jal playFX_20
/* 4EFEC4 80218A24 E7A00010 */ swc1 $f0, 0x10($sp)
/* 4EFEC8 80218A28 8FBF0018 */ lw $ra, 0x18($sp)
/* 4EFECC 80218A2C 24020002 */ addiu $v0, $zero, 2
/* 4EFED0 80218A30 03E00008 */ jr $ra
/* 4EFED4 80218A34 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,14 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218A38_4EFED8
/* 4EFED8 80218A38 3C048022 */ lui $a0, %hi(D_80220760)
/* 4EFEDC 80218A3C 8C840760 */ lw $a0, %lo(D_80220760)($a0)
/* 4EFEE0 80218A40 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 4EFEE4 80218A44 AFBF0010 */ sw $ra, 0x10($sp)
/* 4EFEE8 80218A48 0C016914 */ jal remove_effect
/* 4EFEEC 80218A4C 00000000 */ nop
/* 4EFEF0 80218A50 8FBF0010 */ lw $ra, 0x10($sp)
/* 4EFEF4 80218A54 24020002 */ addiu $v0, $zero, 2
/* 4EFEF8 80218A58 03E00008 */ jr $ra
/* 4EFEFC 80218A5C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218A60_4EFF00
/* 4EFF00 80218A60 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 4EFF04 80218A64 3C028022 */ lui $v0, %hi(D_80220770)
/* 4EFF08 80218A68 24420770 */ addiu $v0, $v0, %lo(D_80220770)
/* 4EFF0C 80218A6C 3C013E99 */ lui $at, 0x3e99
/* 4EFF10 80218A70 3421999A */ ori $at, $at, 0x999a
/* 4EFF14 80218A74 44810000 */ mtc1 $at, $f0
/* 4EFF18 80218A78 3C05C2DC */ lui $a1, 0xc2dc
/* 4EFF1C 80218A7C 3C0642A0 */ lui $a2, 0x42a0
/* 4EFF20 80218A80 3C07C312 */ lui $a3, 0xc312
/* 4EFF24 80218A84 24040001 */ addiu $a0, $zero, 1
/* 4EFF28 80218A88 AFBF0018 */ sw $ra, 0x18($sp)
/* 4EFF2C 80218A8C AFA20014 */ sw $v0, 0x14($sp)
/* 4EFF30 80218A90 0C01C124 */ jal playFX_20
/* 4EFF34 80218A94 E7A00010 */ swc1 $f0, 0x10($sp)
/* 4EFF38 80218A98 8FBF0018 */ lw $ra, 0x18($sp)
/* 4EFF3C 80218A9C 24020002 */ addiu $v0, $zero, 2
/* 4EFF40 80218AA0 03E00008 */ jr $ra
/* 4EFF44 80218AA4 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,14 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218AA8_4EFF48
/* 4EFF48 80218AA8 3C048022 */ lui $a0, %hi(D_80220770)
/* 4EFF4C 80218AAC 8C840770 */ lw $a0, %lo(D_80220770)($a0)
/* 4EFF50 80218AB0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 4EFF54 80218AB4 AFBF0010 */ sw $ra, 0x10($sp)
/* 4EFF58 80218AB8 0C016914 */ jal remove_effect
/* 4EFF5C 80218ABC 00000000 */ nop
/* 4EFF60 80218AC0 8FBF0010 */ lw $ra, 0x10($sp)
/* 4EFF64 80218AC4 24020002 */ addiu $v0, $zero, 2
/* 4EFF68 80218AC8 03E00008 */ jr $ra
/* 4EFF6C 80218ACC 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218AD0_4EFF70
/* 4EFF70 80218AD0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 4EFF74 80218AD4 3C028022 */ lui $v0, %hi(D_80220780)
/* 4EFF78 80218AD8 24420780 */ addiu $v0, $v0, %lo(D_80220780)
/* 4EFF7C 80218ADC 3C013E99 */ lui $at, 0x3e99
/* 4EFF80 80218AE0 3421999A */ ori $at, $at, 0x999a
/* 4EFF84 80218AE4 44810000 */ mtc1 $at, $f0
/* 4EFF88 80218AE8 3C0542DC */ lui $a1, 0x42dc
/* 4EFF8C 80218AEC 3C0642A0 */ lui $a2, 0x42a0
/* 4EFF90 80218AF0 3C07C312 */ lui $a3, 0xc312
/* 4EFF94 80218AF4 24040001 */ addiu $a0, $zero, 1
/* 4EFF98 80218AF8 AFBF0018 */ sw $ra, 0x18($sp)
/* 4EFF9C 80218AFC AFA20014 */ sw $v0, 0x14($sp)
/* 4EFFA0 80218B00 0C01C124 */ jal playFX_20
/* 4EFFA4 80218B04 E7A00010 */ swc1 $f0, 0x10($sp)
/* 4EFFA8 80218B08 8FBF0018 */ lw $ra, 0x18($sp)
/* 4EFFAC 80218B0C 24020002 */ addiu $v0, $zero, 2
/* 4EFFB0 80218B10 03E00008 */ jr $ra
/* 4EFFB4 80218B14 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,14 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218B18_4EFFB8
/* 4EFFB8 80218B18 3C048022 */ lui $a0, %hi(D_80220780)
/* 4EFFBC 80218B1C 8C840780 */ lw $a0, %lo(D_80220780)($a0)
/* 4EFFC0 80218B20 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 4EFFC4 80218B24 AFBF0010 */ sw $ra, 0x10($sp)
/* 4EFFC8 80218B28 0C016914 */ jal remove_effect
/* 4EFFCC 80218B2C 00000000 */ nop
/* 4EFFD0 80218B30 8FBF0010 */ lw $ra, 0x10($sp)
/* 4EFFD4 80218B34 24020002 */ addiu $v0, $zero, 2
/* 4EFFD8 80218B38 03E00008 */ jr $ra
/* 4EFFDC 80218B3C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,101 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802180CC_584A0C
/* 584A0C 802180CC 27BDFFC0 */ addiu $sp, $sp, -0x40
/* 584A10 802180D0 AFB1001C */ sw $s1, 0x1c($sp)
/* 584A14 802180D4 0080882D */ daddu $s1, $a0, $zero
/* 584A18 802180D8 AFBF0034 */ sw $ra, 0x34($sp)
/* 584A1C 802180DC AFB60030 */ sw $s6, 0x30($sp)
/* 584A20 802180E0 AFB5002C */ sw $s5, 0x2c($sp)
/* 584A24 802180E4 AFB40028 */ sw $s4, 0x28($sp)
/* 584A28 802180E8 AFB30024 */ sw $s3, 0x24($sp)
/* 584A2C 802180EC AFB20020 */ sw $s2, 0x20($sp)
/* 584A30 802180F0 AFB00018 */ sw $s0, 0x18($sp)
/* 584A34 802180F4 F7B40038 */ sdc1 $f20, 0x38($sp)
/* 584A38 802180F8 8E30000C */ lw $s0, 0xc($s1)
/* 584A3C 802180FC 8E050000 */ lw $a1, ($s0)
/* 584A40 80218100 0C0B1EAF */ jal evt_get_variable
/* 584A44 80218104 26100004 */ addiu $s0, $s0, 4
/* 584A48 80218108 8E050000 */ lw $a1, ($s0)
/* 584A4C 8021810C 26100004 */ addiu $s0, $s0, 4
/* 584A50 80218110 0C0B1EAF */ jal evt_get_variable
/* 584A54 80218114 0220202D */ daddu $a0, $s1, $zero
/* 584A58 80218118 8E050000 */ lw $a1, ($s0)
/* 584A5C 8021811C 26100004 */ addiu $s0, $s0, 4
/* 584A60 80218120 0220202D */ daddu $a0, $s1, $zero
/* 584A64 80218124 0C0B1EAF */ jal evt_get_variable
/* 584A68 80218128 0040B02D */ daddu $s6, $v0, $zero
/* 584A6C 8021812C 8E050000 */ lw $a1, ($s0)
/* 584A70 80218130 26100004 */ addiu $s0, $s0, 4
/* 584A74 80218134 0220202D */ daddu $a0, $s1, $zero
/* 584A78 80218138 0C0B1EAF */ jal evt_get_variable
/* 584A7C 8021813C 0040A82D */ daddu $s5, $v0, $zero
/* 584A80 80218140 8E050000 */ lw $a1, ($s0)
/* 584A84 80218144 26100004 */ addiu $s0, $s0, 4
/* 584A88 80218148 0220202D */ daddu $a0, $s1, $zero
/* 584A8C 8021814C 0C0B210B */ jal evt_get_float_variable
/* 584A90 80218150 0040A02D */ daddu $s4, $v0, $zero
/* 584A94 80218154 8E050000 */ lw $a1, ($s0)
/* 584A98 80218158 26100004 */ addiu $s0, $s0, 4
/* 584A9C 8021815C 0220202D */ daddu $a0, $s1, $zero
/* 584AA0 80218160 0C0B1EAF */ jal evt_get_variable
/* 584AA4 80218164 46000506 */ mov.s $f20, $f0
/* 584AA8 80218168 8E050000 */ lw $a1, ($s0)
/* 584AAC 8021816C 26100004 */ addiu $s0, $s0, 4
/* 584AB0 80218170 0220202D */ daddu $a0, $s1, $zero
/* 584AB4 80218174 0C0B1EAF */ jal evt_get_variable
/* 584AB8 80218178 0040902D */ daddu $s2, $v0, $zero
/* 584ABC 8021817C 8E050000 */ lw $a1, ($s0)
/* 584AC0 80218180 26100004 */ addiu $s0, $s0, 4
/* 584AC4 80218184 0220202D */ daddu $a0, $s1, $zero
/* 584AC8 80218188 0C0B1EAF */ jal evt_get_variable
/* 584ACC 8021818C 0040982D */ daddu $s3, $v0, $zero
/* 584AD0 80218190 0220202D */ daddu $a0, $s1, $zero
/* 584AD4 80218194 8E050000 */ lw $a1, ($s0)
/* 584AD8 80218198 0C0B1EAF */ jal evt_get_variable
/* 584ADC 8021819C 0040882D */ daddu $s1, $v0, $zero
/* 584AE0 802181A0 24040001 */ addiu $a0, $zero, 1
/* 584AE4 802181A4 44961000 */ mtc1 $s6, $f2
/* 584AE8 802181A8 00000000 */ nop
/* 584AEC 802181AC 468010A0 */ cvt.s.w $f2, $f2
/* 584AF0 802181B0 44051000 */ mfc1 $a1, $f2
/* 584AF4 802181B4 44951000 */ mtc1 $s5, $f2
/* 584AF8 802181B8 00000000 */ nop
/* 584AFC 802181BC 468010A0 */ cvt.s.w $f2, $f2
/* 584B00 802181C0 44061000 */ mfc1 $a2, $f2
/* 584B04 802181C4 44941000 */ mtc1 $s4, $f2
/* 584B08 802181C8 00000000 */ nop
/* 584B0C 802181CC 468010A0 */ cvt.s.w $f2, $f2
/* 584B10 802181D0 44071000 */ mfc1 $a3, $f2
/* 584B14 802181D4 0040802D */ daddu $s0, $v0, $zero
/* 584B18 802181D8 E7B40010 */ swc1 $f20, 0x10($sp)
/* 584B1C 802181DC 0C01C88C */ jal playFX_6F
/* 584B20 802181E0 AFB20014 */ sw $s2, 0x14($sp)
/* 584B24 802181E4 8C43000C */ lw $v1, 0xc($v0)
/* 584B28 802181E8 AC730018 */ sw $s3, 0x18($v1)
/* 584B2C 802181EC 8C43000C */ lw $v1, 0xc($v0)
/* 584B30 802181F0 AC71001C */ sw $s1, 0x1c($v1)
/* 584B34 802181F4 8C43000C */ lw $v1, 0xc($v0)
/* 584B38 802181F8 AC700020 */ sw $s0, 0x20($v1)
/* 584B3C 802181FC 8C43000C */ lw $v1, 0xc($v0)
/* 584B40 80218200 240400FF */ addiu $a0, $zero, 0xff
/* 584B44 80218204 AC640028 */ sw $a0, 0x28($v1)
/* 584B48 80218208 8C43000C */ lw $v1, 0xc($v0)
/* 584B4C 8021820C AC64002C */ sw $a0, 0x2c($v1)
/* 584B50 80218210 8C43000C */ lw $v1, 0xc($v0)
/* 584B54 80218214 AC640030 */ sw $a0, 0x30($v1)
/* 584B58 80218218 8FBF0034 */ lw $ra, 0x34($sp)
/* 584B5C 8021821C 8FB60030 */ lw $s6, 0x30($sp)
/* 584B60 80218220 8FB5002C */ lw $s5, 0x2c($sp)
/* 584B64 80218224 8FB40028 */ lw $s4, 0x28($sp)
/* 584B68 80218228 8FB30024 */ lw $s3, 0x24($sp)
/* 584B6C 8021822C 8FB20020 */ lw $s2, 0x20($sp)
/* 584B70 80218230 8FB1001C */ lw $s1, 0x1c($sp)
/* 584B74 80218234 8FB00018 */ lw $s0, 0x18($sp)
/* 584B78 80218238 D7B40038 */ ldc1 $f20, 0x38($sp)
/* 584B7C 8021823C 24020002 */ addiu $v0, $zero, 2
/* 584B80 80218240 03E00008 */ jr $ra
/* 584B84 80218244 27BD0040 */ addiu $sp, $sp, 0x40
/* 584B88 80218248 00000000 */ nop
/* 584B8C 8021824C 00000000 */ nop

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802184F8_56E798
/* 56E798 802184F8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 56E79C 802184FC 3C03800E */ lui $v1, %hi(gBattleStatus)
/* 56E7A0 80218500 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
/* 56E7A4 80218504 2406FFFF */ addiu $a2, $zero, -1
/* 56E7A8 80218508 AFBF0010 */ sw $ra, 0x10($sp)
/* 56E7AC 8021850C 806200AE */ lb $v0, 0xae($v1)
/* 56E7B0 80218510 10460007 */ beq $v0, $a2, .L80218530
/* 56E7B4 80218514 8C85000C */ lw $a1, 0xc($a0)
/* 56E7B8 80218518 806200AF */ lb $v0, 0xaf($v1)
/* 56E7BC 8021851C 10460004 */ beq $v0, $a2, .L80218530
/* 56E7C0 80218520 00000000 */ nop
/* 56E7C4 80218524 806200B0 */ lb $v0, 0xb0($v1)
/* 56E7C8 80218528 14460004 */ bne $v0, $a2, .L8021853C
/* 56E7CC 8021852C 00000000 */ nop
.L80218530:
/* 56E7D0 80218530 8CA50000 */ lw $a1, ($a1)
/* 56E7D4 80218534 08086150 */ j .L80218540
/* 56E7D8 80218538 0000302D */ daddu $a2, $zero, $zero
.L8021853C:
/* 56E7DC 8021853C 8CA50000 */ lw $a1, ($a1)
.L80218540:
/* 56E7E0 80218540 0C0B2026 */ jal evt_set_variable
/* 56E7E4 80218544 00000000 */ nop
/* 56E7E8 80218548 8FBF0010 */ lw $ra, 0x10($sp)
/* 56E7EC 8021854C 24020002 */ addiu $v0, $zero, 2
/* 56E7F0 80218550 03E00008 */ jr $ra
/* 56E7F4 80218554 27BD0018 */ addiu $sp, $sp, 0x18
/* 56E7F8 80218558 00000000 */ nop
/* 56E7FC 8021855C 00000000 */ nop

View File

@ -1,77 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8021823C_4F7E1C
/* 4F7E1C 8021823C 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 4F7E20 80218240 AFB10014 */ sw $s1, 0x14($sp)
/* 4F7E24 80218244 0080882D */ daddu $s1, $a0, $zero
/* 4F7E28 80218248 AFBF0024 */ sw $ra, 0x24($sp)
/* 4F7E2C 8021824C AFB40020 */ sw $s4, 0x20($sp)
/* 4F7E30 80218250 AFB3001C */ sw $s3, 0x1c($sp)
/* 4F7E34 80218254 AFB20018 */ sw $s2, 0x18($sp)
/* 4F7E38 80218258 AFB00010 */ sw $s0, 0x10($sp)
/* 4F7E3C 8021825C F7B60030 */ sdc1 $f22, 0x30($sp)
/* 4F7E40 80218260 F7B40028 */ sdc1 $f20, 0x28($sp)
/* 4F7E44 80218264 8E30000C */ lw $s0, 0xc($s1)
/* 4F7E48 80218268 8E050000 */ lw $a1, ($s0)
/* 4F7E4C 8021826C 0C0B1EAF */ jal evt_get_variable
/* 4F7E50 80218270 26100004 */ addiu $s0, $s0, 4
/* 4F7E54 80218274 8E050000 */ lw $a1, ($s0)
/* 4F7E58 80218278 26100004 */ addiu $s0, $s0, 4
/* 4F7E5C 8021827C 0220202D */ daddu $a0, $s1, $zero
/* 4F7E60 80218280 0C0B1EAF */ jal evt_get_variable
/* 4F7E64 80218284 0040982D */ daddu $s3, $v0, $zero
/* 4F7E68 80218288 8E050000 */ lw $a1, ($s0)
/* 4F7E6C 8021828C 26100004 */ addiu $s0, $s0, 4
/* 4F7E70 80218290 0220202D */ daddu $a0, $s1, $zero
/* 4F7E74 80218294 0C0B1EAF */ jal evt_get_variable
/* 4F7E78 80218298 0040A02D */ daddu $s4, $v0, $zero
/* 4F7E7C 8021829C 0220202D */ daddu $a0, $s1, $zero
/* 4F7E80 802182A0 8E050000 */ lw $a1, ($s0)
/* 4F7E84 802182A4 0C0B1EAF */ jal evt_get_variable
/* 4F7E88 802182A8 0040902D */ daddu $s2, $v0, $zero
/* 4F7E8C 802182AC 4482A000 */ mtc1 $v0, $f20
/* 4F7E90 802182B0 00000000 */ nop
/* 4F7E94 802182B4 4680A520 */ cvt.s.w $f20, $f20
/* 4F7E98 802182B8 0C00A8D4 */ jal cos_deg
/* 4F7E9C 802182BC 4600A306 */ mov.s $f12, $f20
/* 4F7EA0 802182C0 4492B000 */ mtc1 $s2, $f22
/* 4F7EA4 802182C4 00000000 */ nop
/* 4F7EA8 802182C8 4680B5A0 */ cvt.s.w $f22, $f22
/* 4F7EAC 802182CC 4600B002 */ mul.s $f0, $f22, $f0
/* 4F7EB0 802182D0 00000000 */ nop
/* 4F7EB4 802182D4 4600A306 */ mov.s $f12, $f20
/* 4F7EB8 802182D8 4493A000 */ mtc1 $s3, $f20
/* 4F7EBC 802182DC 00000000 */ nop
/* 4F7EC0 802182E0 4680A520 */ cvt.s.w $f20, $f20
/* 4F7EC4 802182E4 4600A500 */ add.s $f20, $f20, $f0
/* 4F7EC8 802182E8 0C00A8BB */ jal sin_deg
/* 4F7ECC 802182EC 26100004 */ addiu $s0, $s0, 4
/* 4F7ED0 802182F0 4600B582 */ mul.s $f22, $f22, $f0
/* 4F7ED4 802182F4 00000000 */ nop
/* 4F7ED8 802182F8 8E050000 */ lw $a1, ($s0)
/* 4F7EDC 802182FC 26100004 */ addiu $s0, $s0, 4
/* 4F7EE0 80218300 0220202D */ daddu $a0, $s1, $zero
/* 4F7EE4 80218304 4406A000 */ mfc1 $a2, $f20
/* 4F7EE8 80218308 4494A000 */ mtc1 $s4, $f20
/* 4F7EEC 8021830C 00000000 */ nop
/* 4F7EF0 80218310 4680A520 */ cvt.s.w $f20, $f20
/* 4F7EF4 80218314 0C0B2190 */ jal evt_set_float_variable
/* 4F7EF8 80218318 4616A501 */ sub.s $f20, $f20, $f22
/* 4F7EFC 8021831C 8E050000 */ lw $a1, ($s0)
/* 4F7F00 80218320 4406A000 */ mfc1 $a2, $f20
/* 4F7F04 80218324 0C0B2190 */ jal evt_set_float_variable
/* 4F7F08 80218328 0220202D */ daddu $a0, $s1, $zero
/* 4F7F0C 8021832C 8FBF0024 */ lw $ra, 0x24($sp)
/* 4F7F10 80218330 8FB40020 */ lw $s4, 0x20($sp)
/* 4F7F14 80218334 8FB3001C */ lw $s3, 0x1c($sp)
/* 4F7F18 80218338 8FB20018 */ lw $s2, 0x18($sp)
/* 4F7F1C 8021833C 8FB10014 */ lw $s1, 0x14($sp)
/* 4F7F20 80218340 8FB00010 */ lw $s0, 0x10($sp)
/* 4F7F24 80218344 D7B60030 */ ldc1 $f22, 0x30($sp)
/* 4F7F28 80218348 D7B40028 */ ldc1 $f20, 0x28($sp)
/* 4F7F2C 8021834C 24020002 */ addiu $v0, $zero, 2
/* 4F7F30 80218350 03E00008 */ jr $ra
/* 4F7F34 80218354 27BD0038 */ addiu $sp, $sp, 0x38
/* 4F7F38 80218358 00000000 */ nop
/* 4F7F3C 8021835C 00000000 */ nop

View File

@ -1,14 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218DF8_48DF98
/* 48DF98 80218DF8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 48DF9C 80218DFC AFBF0010 */ sw $ra, 0x10($sp)
/* 48DFA0 80218E00 8C82000C */ lw $v0, 0xc($a0)
/* 48DFA4 80218E04 0C0B1EAF */ jal evt_get_variable
/* 48DFA8 80218E08 8C450004 */ lw $a1, 4($v0)
/* 48DFAC 80218E0C 8FBF0010 */ lw $ra, 0x10($sp)
/* 48DFB0 80218E10 24020002 */ addiu $v0, $zero, 2
/* 48DFB4 80218E14 03E00008 */ jr $ra
/* 48DFB8 80218E18 27BD0018 */ addiu $sp, $sp, 0x18
/* 48DFBC 80218E1C 00000000 */ nop

View File

@ -1,16 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80231000_54CC70
/* 54CC70 80231000 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 54CC74 80231004 AFBF0010 */ sw $ra, 0x10($sp)
/* 54CC78 80231008 8C82000C */ lw $v0, 0xc($a0)
/* 54CC7C 8023100C 0C0B1EAF */ jal evt_get_variable
/* 54CC80 80231010 8C450004 */ lw $a1, 4($v0)
/* 54CC84 80231014 8FBF0010 */ lw $ra, 0x10($sp)
/* 54CC88 80231018 24020002 */ addiu $v0, $zero, 2
/* 54CC8C 8023101C 03E00008 */ jr $ra
/* 54CC90 80231020 27BD0018 */ addiu $sp, $sp, 0x18
/* 54CC94 80231024 00000000 */ nop
/* 54CC98 80231028 00000000 */ nop
/* 54CC9C 8023102C 00000000 */ nop

View File

@ -1,88 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802180D0_4DA6B0
/* 4DA6B0 802180D0 27BDFF78 */ addiu $sp, $sp, -0x88
/* 4DA6B4 802180D4 AFB10054 */ sw $s1, 0x54($sp)
/* 4DA6B8 802180D8 0080882D */ daddu $s1, $a0, $zero
/* 4DA6BC 802180DC AFBF0060 */ sw $ra, 0x60($sp)
/* 4DA6C0 802180E0 AFB3005C */ sw $s3, 0x5c($sp)
/* 4DA6C4 802180E4 AFB20058 */ sw $s2, 0x58($sp)
/* 4DA6C8 802180E8 AFB00050 */ sw $s0, 0x50($sp)
/* 4DA6CC 802180EC F7BA0080 */ sdc1 $f26, 0x80($sp)
/* 4DA6D0 802180F0 F7B80078 */ sdc1 $f24, 0x78($sp)
/* 4DA6D4 802180F4 F7B60070 */ sdc1 $f22, 0x70($sp)
/* 4DA6D8 802180F8 F7B40068 */ sdc1 $f20, 0x68($sp)
/* 4DA6DC 802180FC 8E30000C */ lw $s0, 0xc($s1)
/* 4DA6E0 80218100 8E050000 */ lw $a1, ($s0)
/* 4DA6E4 80218104 0C0B1EAF */ jal evt_get_variable
/* 4DA6E8 80218108 26100004 */ addiu $s0, $s0, 4
/* 4DA6EC 8021810C 4482A000 */ mtc1 $v0, $f20
/* 4DA6F0 80218110 00000000 */ nop
/* 4DA6F4 80218114 4680A521 */ cvt.d.w $f20, $f20
/* 4DA6F8 80218118 3C014024 */ lui $at, 0x4024
/* 4DA6FC 8021811C 44810800 */ mtc1 $at, $f1
/* 4DA700 80218120 44800000 */ mtc1 $zero, $f0
/* 4DA704 80218124 8E120000 */ lw $s2, ($s0)
/* 4DA708 80218128 26100004 */ addiu $s0, $s0, 4
/* 4DA70C 8021812C 4620A503 */ div.d $f20, $f20, $f0
/* 4DA710 80218130 3C0140C9 */ lui $at, 0x40c9
/* 4DA714 80218134 34210FD0 */ ori $at, $at, 0xfd0
/* 4DA718 80218138 44810000 */ mtc1 $at, $f0
/* 4DA71C 8021813C 4620A520 */ cvt.s.d $f20, $f20
/* 4DA720 80218140 4600A502 */ mul.s $f20, $f20, $f0
/* 4DA724 80218144 00000000 */ nop
/* 4DA728 80218148 8E130000 */ lw $s3, ($s0)
/* 4DA72C 8021814C 8E100004 */ lw $s0, 4($s0)
/* 4DA730 80218150 3C0143B4 */ lui $at, 0x43b4
/* 4DA734 80218154 44810000 */ mtc1 $at, $f0
/* 4DA738 80218158 3C014316 */ lui $at, 0x4316
/* 4DA73C 8021815C 4481C000 */ mtc1 $at, $f24
/* 4DA740 80218160 4600A503 */ div.s $f20, $f20, $f0
/* 4DA744 80218164 0C00A85B */ jal sin_rad
/* 4DA748 80218168 4600A306 */ mov.s $f12, $f20
/* 4DA74C 8021816C 46180582 */ mul.s $f22, $f0, $f24
/* 4DA750 80218170 00000000 */ nop
/* 4DA754 80218174 4480D000 */ mtc1 $zero, $f26
/* 4DA758 80218178 00000000 */ nop
/* 4DA75C 8021817C 461AB580 */ add.s $f22, $f22, $f26
/* 4DA760 80218180 0C00A874 */ jal cos_rad
/* 4DA764 80218184 4600A306 */ mov.s $f12, $f20
/* 4DA768 80218188 46180502 */ mul.s $f20, $f0, $f24
/* 4DA76C 8021818C 00000000 */ nop
/* 4DA770 80218190 3C01C37C */ lui $at, 0xc37c
/* 4DA774 80218194 4481C000 */ mtc1 $at, $f24
/* 4DA778 80218198 C62000B8 */ lwc1 $f0, 0xb8($s1)
/* 4DA77C 8021819C 46800020 */ cvt.s.w $f0, $f0
/* 4DA780 802181A0 4600C601 */ sub.s $f24, $f24, $f0
/* 4DA784 802181A4 C62000B0 */ lwc1 $f0, 0xb0($s1)
/* 4DA788 802181A8 46800020 */ cvt.s.w $f0, $f0
/* 4DA78C 802181AC 4600B581 */ sub.s $f22, $f22, $f0
/* 4DA790 802181B0 0220202D */ daddu $a0, $s1, $zero
/* 4DA794 802181B4 0240282D */ daddu $a1, $s2, $zero
/* 4DA798 802181B8 461AA500 */ add.s $f20, $f20, $f26
/* 4DA79C 802181BC C62000B4 */ lwc1 $f0, 0xb4($s1)
/* 4DA7A0 802181C0 46800020 */ cvt.s.w $f0, $f0
/* 4DA7A4 802181C4 4406B000 */ mfc1 $a2, $f22
/* 4DA7A8 802181C8 0C0B2190 */ jal evt_set_float_variable
/* 4DA7AC 802181CC 4600A501 */ sub.s $f20, $f20, $f0
/* 4DA7B0 802181D0 0220202D */ daddu $a0, $s1, $zero
/* 4DA7B4 802181D4 4406A000 */ mfc1 $a2, $f20
/* 4DA7B8 802181D8 0C0B2190 */ jal evt_set_float_variable
/* 4DA7BC 802181DC 0260282D */ daddu $a1, $s3, $zero
/* 4DA7C0 802181E0 0220202D */ daddu $a0, $s1, $zero
/* 4DA7C4 802181E4 4406C000 */ mfc1 $a2, $f24
/* 4DA7C8 802181E8 0C0B2190 */ jal evt_set_float_variable
/* 4DA7CC 802181EC 0200282D */ daddu $a1, $s0, $zero
/* 4DA7D0 802181F0 8FBF0060 */ lw $ra, 0x60($sp)
/* 4DA7D4 802181F4 8FB3005C */ lw $s3, 0x5c($sp)
/* 4DA7D8 802181F8 8FB20058 */ lw $s2, 0x58($sp)
/* 4DA7DC 802181FC 8FB10054 */ lw $s1, 0x54($sp)
/* 4DA7E0 80218200 8FB00050 */ lw $s0, 0x50($sp)
/* 4DA7E4 80218204 D7BA0080 */ ldc1 $f26, 0x80($sp)
/* 4DA7E8 80218208 D7B80078 */ ldc1 $f24, 0x78($sp)
/* 4DA7EC 8021820C D7B60070 */ ldc1 $f22, 0x70($sp)
/* 4DA7F0 80218210 D7B40068 */ ldc1 $f20, 0x68($sp)
/* 4DA7F4 80218214 24020002 */ addiu $v0, $zero, 2
/* 4DA7F8 80218218 03E00008 */ jr $ra
/* 4DA7FC 8021821C 27BD0088 */ addiu $sp, $sp, 0x88

View File

@ -1,9 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240908_A0C5F8
/* A0C5F8 80240908 24020001 */ addiu $v0, $zero, 1
/* A0C5FC 8024090C 3C018011 */ lui $at, %hi(gPlayerData+0xA)
/* A0C600 80240910 A022F29A */ sb $v0, %lo(gPlayerData+0xA)($at)
/* A0C604 80240914 03E00008 */ jr $ra
/* A0C608 80240918 24020002 */ addiu $v0, $zero, 2

View File

@ -6187,15 +6187,15 @@ dup_b_area_iwa_IsSaveVar123 = 0x80218120; // type:func rom:0x4D0310
dup2_b_area_iwa_IsSaveVar123 = 0x80218170; // type:func rom:0x4D0360
b_area_iwa_IsSaveVar123 = 0x802181C0; // type:func rom:0x4D03B0
b_area_sbk_UnkBattleFunc1 = 0x80218000; // type:func rom:0x4DA5E0
func_802180D0_4DA6B0 = 0x802180D0; // type:func rom:0x4DA6B0
b_area_sbk_UnkFloatFunc3 = 0x802180D0; // type:func rom:0x4DA6B0
b_area_sbk_GetModelPos = 0x80218220; // type:func rom:0x4DA800
b_area_isk_part_1_UnkBattleFunc1 = 0x80218000; // type:func rom:0x4E2740
dup_b_area_isk_part_1_UnkBattleFunc1 = 0x802180D0; // type:func rom:0x4E2810
dup2_b_area_isk_part_1_UnkBattleFunc1 = 0x802181A0; // type:func rom:0x4E28E0
func_80218270_4E29B0 = 0x80218270; // type:func rom:0x4E29B0
func_802183C0_4E2B00 = 0x802183C0; // type:func rom:0x4E2B00
func_80218458_4E2B98 = 0x80218458; // type:func rom:0x4E2B98
func_802184CC_4E2C0C = 0x802184CC; // type:func rom:0x4E2C0C
b_area_isk_part_1_ChompChainInit = 0x80218270; // type:func rom:0x4E29B0
b_area_isk_part_1_ChompChainUpdateHelperFunc = 0x802183C0; // type:func rom:0x4E2B00
b_area_isk_part_1_ChompChainUpdateHelperFunc2 = 0x80218458; // type:func rom:0x4E2B98
b_area_isk_part_1_ChompChainUpdate = 0x802184CC; // type:func rom:0x4E2C0C
func_802188B0_4E2FF0 = 0x802188B0; // type:func rom:0x4E2FF0
func_80218944_4E3084 = 0x80218944; // type:func rom:0x4E3084
func_80218980_4E30C0 = 0x80218980; // type:func rom:0x4E30C0
@ -6209,10 +6209,10 @@ func_80218B78_4E32B8 = 0x80218B78; // type:func rom:0x4E32B8
func_80218BA0_4E32E0 = 0x80218BA0; // type:func rom:0x4E32E0
func_80218BE8_4E3328 = 0x80218BE8; // type:func rom:0x4E3328
D_80224920_4EF060 = 0x80224920; // type:data rom:0x4EF060
func_80218000_4EF4A0 = 0x80218000; // type:func rom:0x4EF4A0
func_80218150_4EF5F0 = 0x80218150; // type:func rom:0x4EF5F0
func_802181E8_4EF688 = 0x802181E8; // type:func rom:0x4EF688
func_8021825C_4EF6FC = 0x8021825C; // type:func rom:0x4EF6FC
b_area_isk_part_2_ChompChainInit = 0x80218000; // type:func rom:0x4EF4A0
b_area_isk_part_2_ChompChainUpdateHelperFunc = 0x80218150; // type:func rom:0x4EF5F0
b_area_isk_part_2_ChompChainUpdateHelperFunc2 = 0x802181E8; // type:func rom:0x4EF688
b_area_isk_part_2_ChompChainUpdate = 0x8021825C; // type:func rom:0x4EF6FC
func_8021866C_4EFB0C = 0x8021866C; // type:func rom:0x4EFB0C
b_area_isk_part_2_UnkBattleFunc1 = 0x80218690; // type:func rom:0x4EFB30
func_8021875C_4EFBFC = 0x8021875C; // type:func rom:0x4EFBFC
@ -6230,7 +6230,7 @@ D_802204E0_4F7980 = 0x802204E0; // type:data rom:0x4F7980
b_area_mim_UnkBattleFunc2 = 0x80218000; // type:func rom:0x4F7BE0
b_area_mim_UnkBattleFunc2_2 = 0x802180B4; // type:func rom:0x4F7C94
b_area_mim_UnkBattleFunc1 = 0x80218170; // type:func rom:0x4F7D50
func_8021823C_4F7E1C = 0x8021823C; // type:func rom:0x4F7E1C
b_area_mim_UnkFloatFunc4 = 0x8021823C; // type:func rom:0x4F7E1C
b_area_mim_UnkFogFunc2 = 0x80218360; // type:func rom:0x4F7F40
b_area_arn_StartRumbleWithParams = 0x80218000; // type:func rom:0x4FEA50
b_area_arn_BattleAreaAngleStuff1 = 0x80218058; // type:func rom:0x4FEAA8
@ -6239,7 +6239,7 @@ dup_b_area_arn_StartRumbleWithParams = 0x802182E0; // type:func rom:0x4FED30
dup_b_area_arn_BattleAreaAngleStuff1 = 0x80218338; // type:func rom:0x4FED88
dup_b_area_arn_BattleAreaAngleStuff2 = 0x802184C4; // type:func rom:0x4FEF14
dup2_b_area_arn_StartRumbleWithParams = 0x802185C0; // type:func rom:0x4FF010
func_80218618_4FF068 = 0x80218618; // type:func rom:0x4FF068
b_area_arn_SetSpinSmashable = 0x80218618; // type:func rom:0x4FF068
func_80218680_4FF0D0 = 0x80218680; // type:func rom:0x4FF0D0
b_area_arn_floatTable = 0x8021A4BC; // type:data rom:0x500F0C
dup_b_area_arn_floatTable = 0x8021FD00; // type:data rom:0x506750
@ -6256,7 +6256,7 @@ func_8021878C_512D5C = 0x8021878C; // type:func rom:0x512D5C
func_80218880_512E50 = 0x80218880; // type:func rom:0x512E50
b_area_omo_GetItemEntityPosition = 0x80218A98; // type:func rom:0x513068
func_80218B38_513108 = 0x80218B38; // type:func rom:0x513108
func_80218CF4_5132C4 = 0x80218CF4; // type:func rom:0x5132C4
b_area_omo_SpyGuyActionFunc = 0x80218CF4; // type:func rom:0x5132C4
b_area_omo_StartRumbleWithParams = 0x80218D54; // type:func rom:0x513324
dup_b_area_omo_StartRumbleWithParams = 0x80218DB0; // type:func rom:0x513380
dup9_b_area_omo_UnkBattleFunc1 = 0x80218E08; // type:func rom:0x5133D8
@ -6304,7 +6304,7 @@ b_area_kgr_UnkBattleFunc1 = 0x80218000; // type:func rom:0x56E2A0
func_802180CC_56E36C = 0x802180CC; // type:func rom:0x56E36C
func_802182E4_56E584 = 0x802182E4; // type:func rom:0x56E584
b_area_kgr_StartRumbleWithParams = 0x802184A0; // type:func rom:0x56E740
func_802184F8_56E798 = 0x802184F8; // type:func rom:0x56E798
b_area_kgr_SpyGuyActionFunc = 0x802184F8; // type:func rom:0x56E798
func_80218560_56E800 = 0x80218560; // type:func rom:0x56E800
D_8021AFD8_571278 = 0x8021AFD8; // type:data rom:0x571278
D_8021AFE4_571284 = 0x8021AFE4; // type:data rom:0x571284
@ -6367,7 +6367,7 @@ D_80222D48_5A9428 = 0x80222D48; // type:data rom:0x5A9428
D_80222E20_5A9500 = 0x80222E20; // type:data rom:0x5A9500
D_8022AC40_5B1320 = 0x8022AC40; // type:data rom:0x5B1320
b_area_flo_UnkBattleFunc1 = 0x80218000; // type:func rom:0x5B14B0
func_802180CC_5B157C = 0x802180CC; // type:func rom:0x5B157C
b_area_flo_UnkFloatFunc4 = 0x802180CC; // type:func rom:0x5B157C
b_area_flo_UnkFloatFunc = 0x802181F0; // type:func rom:0x5B16A0
dup_b_area_flo_UnkBattleFunc1 = 0x80218380; // type:func rom:0x5B1830
b_area_flo_MediGuySpriteRotationFunc = 0x8021844C; // type:func rom:0x5B18FC
@ -6883,7 +6883,7 @@ b_area_dig_UnkBattleFunc2_2 = 0x80218184; // type:func rom:0x6DDF44
dup_b_area_dig_UnkBattleFunc1 = 0x80218240; // type:func rom:0x6DE000
dup2_b_area_dig_UnkBattleFunc1 = 0x80218310; // type:func rom:0x6DE0D0
b_area_dig_IsSaveVar123 = 0x802183E0; // type:func rom:0x6DE1A0
func_80218430_6DE1F0 = 0x80218430; // type:func rom:0x6DE1F0
b_area_dig_UnkFloatFunc3 = 0x80218430; // type:func rom:0x6DE1F0
b_area_dig_GetModelPos = 0x80218580; // type:func rom:0x6DE340
b_area_dig_IsGameStatusUnkAA_1 = 0x802185E0; // type:func rom:0x6DE3A0
b_area_dig_Add1Coin = 0x80218608; // type:func rom:0x6DE3C8
@ -10643,7 +10643,7 @@ func_80240584_A0C274 = 0x80240584; // type:func rom:0xA0C274
func_802407C0_A0C4B0 = 0x802407C0; // type:func rom:0xA0C4B0
func_802407F0_A0C4E0 = 0x802407F0; // type:func rom:0xA0C4E0
hos_00_GetItemName = 0x802408A4; // type:func rom:0xA0C594
func_80240908_A0C5F8 = 0x80240908; // type:func rom:0xA0C5F8
hos_00_EnableActionCommands = 0x80240908; // type:func rom:0xA0C5F8
func_8024091C_A0C60C = 0x8024091C; // type:func rom:0xA0C60C
func_80240994_A0C684 = 0x80240994; // type:func rom:0xA0C684
func_80240A54_A0C744 = 0x80240A54; // type:func rom:0xA0C744