Decompile dead functions (#432)

* decompile several dead functions

* .

* resolve issues and deduplicate StarSpiritEffect structs

* .

* resolve the requested change
This commit is contained in:
Alexander Faßbender 2021-09-26 22:52:25 +02:00 committed by GitHub
parent 560f5a873e
commit 205103bf2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
122 changed files with 598 additions and 5404 deletions

View File

@ -2318,6 +2318,62 @@ typedef struct unkPartnerStruct {
/* 0x018 */ f32 unk_18;
} unkPartnerStruct; // size = 0x1C
typedef struct EffectStruct {
char unk_00[0x4];
f32 unk_04;
f32 unk_08;
f32 unk_0C;
f32 unk_10;
char unk_14[0x4];
s32 unk_18;
s32 unk_1C;
s32 unk_20;
X32 unk_24;
s32 unk_28;
s32 unk_2C;
s32 unk_30;
u8 unk_34;
s32 unk_38;
char unk_3C[0xC];
EffectUnkStruct1* unk_48;
char unk_4C[0x24];
s32 unk_70;
s32 unk_74;
} EffectStruct;
typedef struct StarSpiritEffectUnkStruct {
char unk_00[0xC];
EffectStruct* unk_0C;
} StarSpiritEffectUnkStruct;
typedef struct StarSpiritEffect {
/* 0x00 */ f32 unk_00;
/* 0x04 */ f32 unk_04;
/* 0x08 */ f32 unk_08;
/* 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 */ f32 unk_24;
/* 0x28 */ f32 unk_28;
/* 0x2C */ f32 unk_2C;
/* 0x30 */ f32 unk_30;
/* 0x34 */ f32 unk_34;
/* 0x38 */ s32 unk_38;
/* 0x3C */ s32 unk_3C;
/* 0x40 */ Shadow* unk_40;
/* 0x44 */ s16 unk_44;
/* 0x46 */ s16 unk_46;
/* 0x48 */ s16 unk_48;
/* 0x4A */ s16 unk_4A;
/* 0x4C */ s16 unk_4C;
/* 0x4E */ s16 unk_4E;
/* 0x50 */ struct StarSpiritEffectUnkStruct* unk_50;
/* 0x54 */ struct StarSpiritEffectUnkStruct* unk_54;
} StarSpiritEffect; // size = 0x58
typedef struct struct8015A578 {
/* 0x00 */ u8 unk_00;
/* 0x01 */ u8 unk_01;

View File

@ -1,3 +1,5 @@
#include "ultra64.h"
#ifndef _DEAD_H_
#define _DEAD_H_
@ -45,5 +47,14 @@
#define gCurrentCamID dead_gCurrentCamID
#define gPartnerActionStatus dead_gPartnerActionStatus
#define get_npc_safe dead_get_npc_safe
#define sfx_adjust_env_sound_pos dead_sfx_adjust_env_sound_pos
#define playFX_83 dead_playFX_83
#define heap_malloc dead_heap_malloc
#define update_lerp dead_update_lerp
#define create_shadow_type dead_create_shadow_type
#define playFX_7B dead_playFX_7B
#define dist3D dead_dist3D
#define subtract_hp dead_subtract_hp
//#define sqrtf dead_sqrtf // <- This somehow breaks things
#endif

View File

@ -503,6 +503,8 @@ enum SoundIDs {
SOUND_JR_TROOPA_SPLASH = 69,
SOUND_JR_TROOPA_SWIM,
SOUND_BOO_SPOOK,
SOUND_UNKNOWN_52 = 82,
SOUND_UNKNOWN_A2 = 162,
SOUND_UNKNOWN_B4 = 180,
SOUND_BOO_VANISH = 193,
SOUND_BOO_APPEAR = 195,

View File

@ -130,7 +130,7 @@ ApiStatus func_80242A4C_EA334C(Evt* script, s32 isInitialCall) {
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "EA0C10", func_80242AE8_EA33E8);
#include "world/common/SetManyVars.inc.c"
#include "world/common/UnkYawFunc.inc.c"

View File

@ -1,18 +1,57 @@
#include "dead.h"
#include "common.h"
INCLUDE_ASM(s32, "EA36E0", func_80242DE0_EA36E0);
#define NAMESPACE EA36E0
// Copy of kzn_17?
#define UNK_FUNC_50_VAR1 -583.0
#define UNK_FUNC_50_VAR2 165.0
ApiStatus N(SpinyTrompHit)(Evt* script, s32 isInitialCall) {
subtract_hp(1);
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "EA36E0", func_80242E00_EA3700);
INCLUDE_ASM(s32, "EA36E0", func_80242E2C_EA372C);
#include "world/common/UnkFunc46.inc.c"
// TODO: Linker magic
// Normally this would be #include "world/common/UnkFunc47.inc.c"
// Due to sqrtf being an inline/instrinsic func, we can't use dead.h
#ifdef NON_MATCHING
ApiStatus func_80242EC4_EA37C4(Evt* script, s32 isInitialCall) {
f32 var1 = script->varTable[0] - gPlayerStatus.position.x;
f32 var2 = script->varTable[2] - gPlayerStatus.position.y;
f32 var3 = 0.0f - gPlayerStatus.position.z;
script->varTable[4] = sqrtf((var1 * var1) + (var2 * var2) + (var3 * var3));
return ApiStatus_DONE2;
}
#else
INCLUDE_ASM(s32, "EA36E0", func_80242EC4_EA37C4);
#endif
INCLUDE_ASM(s32, "EA36E0", func_80242F64_EA3864);
#include "world/common/UnkFunc48.inc.c"
INCLUDE_ASM(s32, "EA36E0", func_80242F9C_EA389C);
#include "world/common/UnkFunc49.inc.c"
// TODO: Linker magic
// Normally this would be #include "world/common/UnkFunc50.inc.c"
// Due to sqrtf being an inline/instrinsic func, we can't use dead.h
#ifdef NON_MATCHING
ApiStatus func_80243054_EA3954(Evt* script, s32 isInitialCall) {
f32 temp_f2 = UNK_FUNC_50_VAR1 - script->varTable[0]; //-469.0
f32 temp_f0 = UNK_FUNC_50_VAR2 - script->varTable[2]; //46.0
script->varTable[3] = -sqrtf((temp_f2 * temp_f2) + (temp_f0 * temp_f0));
return ApiStatus_DONE2;
}
#else
INCLUDE_ASM(s32, "EA36E0", func_80243054_EA3954);
#endif
INCLUDE_ASM(s32, "EA36E0", func_802430E4_EA39E4);
#include "world/common/UnkFunc51.inc.c"

View File

@ -3,6 +3,8 @@
#define NAMESPACE EA7320
extern s16 D_80169B12;
ApiStatus func_80240350_EA7320(Evt* script, s32 isInitialCall) {
Camera* camera = &gCameras[0];
@ -10,6 +12,12 @@ ApiStatus func_80240350_EA7320(Evt* script, s32 isInitialCall) {
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "EA7320", func_8024036C_EA733C);
ApiStatus func_8024036C_EA733C(Evt* script, s32 isInitialCall) {
gCameras->flags &= ~0x1000;
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "EA7320", func_80240388_EA7358);
ApiStatus func_80240388_EA7358(Evt* script, s32 isInitialCall) {
evt_set_variable(script, *script->ptrReadPos, D_80169B12);
return ApiStatus_DONE2;
}

View File

@ -1,30 +1,24 @@
#include "dead.h"
#include "common.h"
#include "effects.h"
// Copy of kzn_19?
#define NAMESPACE EA8AE0
extern s32 D_80248388[];
extern s32 D_80248380;
#include "world/common/DeadUnkTexturePanFunc.inc.c"
#include "world/common/DeadUnkTexturePanFunc2.inc.c"
INCLUDE_ASM(s32, "EA8AE0", func_8024030C_EA8DEC);
INCLUDE_ASM(s32, "EA8AE0", func_80240358_EA8E38);
INCLUDE_ASM(s32, "EA8AE0", func_802404B8_EA8F98);
#include "world/common/StarSpiritEffectFunc.inc.c"
static char* N(exit_str_0) = "kmr_23";
static char* N(exit_str_1) = "kzn_18";
static char* N(exit_str_2) = "kzn_20";
INCLUDE_ASM(s32, "EA8AE0", func_802408C8_EA93A8);
INCLUDE_ASM(s32, "EA8AE0", func_80240908_EA93E8);
INCLUDE_ASM(s32, "EA8AE0", func_80240A14_EA94F4);
INCLUDE_ASM(s32, "EA8AE0", func_80240B00_EA95E0);
INCLUDE_ASM(s32, "EA8AE0", func_80240BD4_EA96B4);
@ -37,7 +31,11 @@ INCLUDE_ASM(s32, "EA8AE0", func_80240E2C_EA990C);
INCLUDE_ASM(s32, "EA8AE0", func_802413C0_EA9EA0);
INCLUDE_ASM(s32, "EA8AE0", func_802413FC_EA9EDC);
ApiStatus func_802413FC_EA9EDC(Evt* script, s32 isInitialCall) {
D_80248380 = 0;
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "EA8AE0", func_8024140C_EA9EEC);
@ -72,9 +70,8 @@ ApiStatus func_80241838_EAA318(Evt* script, s32 isInitialCall) {
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "EA8AE0", func_802418D4_EAA3B4);
#include "world/common/SetManyVars.inc.c"
//INCLUDE_ASM(s32, "EA8AE0", func_802419C4_EAA4A4);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "EA8AE0", func_80241B50_EAA630);

View File

@ -36,9 +36,8 @@ ApiStatus func_802406E0_EB1540(Evt* script, s32 isInitialCall) {
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "EB1170", func_8024077C_EB15DC);
#include "world/common/SetManyVars.inc.c"
//INCLUDE_ASM(s32, "EB1170", func_8024086C_EB16CC);
#include "world/common/UnkYawFunc.inc.c"
INCLUDE_ASM(s32, "EB1170", func_802409F8_EB1858);

View File

@ -3,217 +3,7 @@
#include "sprite/npc/world_tubba.h"
#include "sprite/npc/tubbas_heart.h"
typedef struct N(temp) {
char unk_00[0xC];
EffectInstanceDataThing* unk_0C;
} N(temp);
typedef struct {
/* 0x00 */ f32 unk_00;
/* 0x04 */ f32 unk_04;
/* 0x08 */ f32 unk_08;
/* 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 */ f32 unk_24;
/* 0x28 */ f32 unk_28;
/* 0x2C */ f32 unk_2C;
/* 0x30 */ f32 unk_30;
/* 0x34 */ f32 unk_34;
/* 0x38 */ s32 unk_38;
/* 0x3C */ s32 unk_3C;
/* 0x40 */ Shadow* unk_40;
/* 0x44 */ s16 unk_44;
/* 0x46 */ s16 unk_46;
/* 0x48 */ s16 unk_48;
/* 0x4A */ s16 unk_4A;
/* 0x4C */ s16 unk_4C;
/* 0x4E */ s16 unk_4E;
/* 0x50 */ struct N(temp)* unk_50;
/* 0x54 */ struct N(temp)* unk_54;
} arn_07_struct; // size = 0x58
ApiStatus N(func_80240000_BECDF0)(Evt* script, s32 isInitialCall) {
arn_07_struct* ptr = script->varTable[0];
sfx_adjust_env_sound_pos(0xA2, 0, ptr->unk_00, ptr->unk_04, ptr->unk_08);
return ((ptr->unk_44 < 2) == 0) * ApiStatus_DONE2;
}
ApiStatus N(func_8024004C_BECE3C)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
if (isInitialCall) {
arn_07_struct* ptr = heap_malloc(sizeof(arn_07_struct));
script->varTable[0] = ptr;
evt_set_variable(NULL, EVT_MAP_VAR(1), ptr);
ptr->unk_38 = evt_get_variable(script, *args++);
ptr->unk_3C = evt_get_variable(script, *args++);
ptr->unk_0C = evt_get_float_variable(script, *args++);
ptr->unk_10 = evt_get_float_variable(script, *args++);
ptr->unk_14 = evt_get_float_variable(script, *args++);
ptr->unk_18 = evt_get_float_variable(script, *args++);
ptr->unk_1C = evt_get_float_variable(script, *args++);
ptr->unk_20 = evt_get_float_variable(script, *args++);
ptr->unk_24 = evt_get_float_variable(script, *args++);
ptr->unk_28 = evt_get_float_variable(script, *args++);
ptr->unk_50 = (struct N(temp)*)playFX_83(2, ptr->unk_0C, ptr->unk_10, ptr->unk_14, 1.0f, 0);
ptr->unk_4E = 0;
ptr->unk_48 = 0;
ptr->unk_4A = 0;
ptr->unk_44 = 0;
ptr->unk_46 = 0;
}
return ApiStatus_DONE2;
}
ApiStatus N(func_802401AC_BECF9C)(Evt* script, s32 isInitialCall) {
PlayerStatus* playerStatus = &gPlayerStatus;
arn_07_struct* ptr = script->varTable[0];
switch (ptr->unk_44) {
case 0:
ptr->unk_04 = update_lerp(5, ptr->unk_10, ptr->unk_1C, ptr->unk_46, ptr->unk_3C);
ptr->unk_00 = update_lerp(0, ptr->unk_0C, ptr->unk_18, ptr->unk_46, ptr->unk_3C);
ptr->unk_08 = update_lerp(0, ptr->unk_14, ptr->unk_20, ptr->unk_46, ptr->unk_3C);
ptr->unk_50->unk_0C->unk_08 = ptr->unk_00;
ptr->unk_50->unk_0C->unk_0C = ptr->unk_04;
ptr->unk_50->unk_0C->unk_10 = ptr->unk_08;
ptr->unk_46++;
if (ptr->unk_46 >= ptr->unk_3C) {
ptr->unk_44 = 1;
ptr->unk_46 = 0;
}
break;
case 1:
ptr->unk_46++;
if (ptr->unk_46 >= 60) {
ptr->unk_44 = 2;
ptr->unk_46 = 0;
ptr->unk_50->unk_0C->unk_70 = 1;
ptr->unk_50->unk_0C->unk_74 = 0;
}
break;
case 2:
ptr->unk_46++;
if (ptr->unk_46 >= 60) {
ptr->unk_54 = playFX_7B(1, ptr->unk_18, ptr->unk_1C, ptr->unk_20, 1.0f, 0);
*((s8*)ptr->unk_54->unk_0C + 0x34) = ptr->unk_38;
ptr->unk_54->unk_0C->unk_20 = 0;
ptr->unk_40 = create_shadow_type(0, ptr->unk_18, ptr->unk_28, ptr->unk_20);
ptr->unk_44 = 3;
ptr->unk_46 = 0;
ptr->unk_2C = 0.0f;
ptr->unk_48 = 1;
ptr->unk_30 = 36.0f;
}
break;
case 3:
ptr->unk_30 = update_lerp(0, 36.0f, 19.0f, ptr->unk_46, 120);
ptr->unk_46++;
if (ptr->unk_46 >= 120) {
ptr->unk_4C = 0;
ptr->unk_4A = 1;
ptr->unk_48 = 2;
ptr->unk_4E = 1;
ptr->unk_44 = 4;
ptr->unk_46 = 0;
ptr->unk_34 = ptr->unk_2C;
}
break;
case 4:
break;
}
switch (ptr->unk_4A) {
case 1:
ptr->unk_2C = update_lerp(4, ptr->unk_34, 1440.0f, ptr->unk_4C, 120);
ptr->unk_04 = update_lerp(0xA, ptr->unk_1C, ptr->unk_24, ptr->unk_4C, 120);
ptr->unk_4C++;
if (ptr->unk_4C >= 120) {
ptr->unk_4C = 0x10E;
ptr->unk_4A = 2;
ptr->unk_4E = 2;
}
break;
case 2:
ptr->unk_04 = ptr->unk_24 + (2.0f * (sin_deg(ptr->unk_4C) + 1.0f));
ptr->unk_4C = clamp_angle(ptr->unk_4C + 8);
if (!(dist3D(playerStatus->position.x, playerStatus->position.y + 20.0f, playerStatus->position.z,
ptr->unk_00, ptr->unk_04, ptr->unk_08) > 30.0f)) {
ptr->unk_4E = 3;
}
break;
}
switch (ptr->unk_48) {
case 1:
ptr->unk_2C = clamp_angle(ptr->unk_2C + ptr->unk_30);
case 2:
ptr->unk_54->unk_0C->unk_24.f = ptr->unk_2C;
ptr->unk_54->unk_0C->unk_04 = ptr->unk_18;
ptr->unk_54->unk_0C->unk_08 = ptr->unk_04;
ptr->unk_54->unk_0C->unk_0C = ptr->unk_20;
break;
}
return ApiStatus_BLOCK;
}
ApiStatus N(func_802405BC_BED3AC)(Evt* script, s32 isInitialCall) {
s32 var = evt_get_variable(script, *script->ptrReadPos);
arn_07_struct* ptr = script->varTable[0];
return (ptr->unk_4E == var) * ApiStatus_DONE2;
}
ApiStatus N(func_802405FC_BED3EC)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
if (isInitialCall) {
arn_07_struct* ptr = heap_malloc(sizeof(arn_07_struct));
script->varTable[0] = ptr;
ptr->unk_38 = evt_get_variable(script, *args++);
ptr->unk_18 = evt_get_float_variable(script, *args++);
ptr->unk_24 = evt_get_float_variable(script, *args++);
ptr->unk_20 = evt_get_float_variable(script, *args++);
ptr->unk_28 = evt_get_float_variable(script, *args++);
ptr->unk_54 = playFX_7B(1, ptr->unk_18, ptr->unk_24, ptr->unk_20, 1.0f, 0);
*((s8*)ptr->unk_54->unk_0C + 0x34) = ptr->unk_38;
ptr->unk_54->unk_0C->unk_20 = 0;
ptr->unk_40 = create_shadow_type(0, ptr->unk_18, ptr->unk_28, ptr->unk_20);
ptr->unk_4C = 0x10E;
}
return ApiStatus_DONE2;
}
ApiStatus N(func_80240708_BED4F8)(Evt* script, s32 isInitialCall) {
PlayerStatus* playerStatus = &gPlayerStatus;
arn_07_struct* ptr = script->varTable[0];
ptr->unk_04 = ptr->unk_24 + (2.0f * (sin_deg(ptr->unk_4C) + 1.0f));
ptr->unk_4C = clamp_angle(ptr->unk_4C + 8);
if (dist2D(playerStatus->position.x, playerStatus->position.z,
ptr->unk_18, ptr->unk_20) <= 30.0f) {
ptr->unk_4E = 3;
}
ptr->unk_54->unk_0C->unk_04 = ptr->unk_18;
ptr->unk_54->unk_0C->unk_08 = ptr->unk_04;
ptr->unk_54->unk_0C->unk_0C = ptr->unk_20;
return ApiStatus_BLOCK;
}
#include "world/common/StarSpiritEffectFunc.inc.c"
s32 N(itemList_80242040)[] = {
ITEM_MYSTICAL_KEY,
@ -236,14 +26,14 @@ EvtSource N(80242048) = SCRIPT({
SetCamPitch(0, EVT_VAR(2), 10000);
}
PanToTarget(0, 0, 1);
N(func_8024004C_BECE3C)(2, 50, 100, 31, -6, 145, 65, 0, 30, 0);
N(StarSpiritEffectFunc2)(2, 50, 100, 31, -6, 145, 65, 0, 30, 0);
spawn {
N(func_802401AC_BECF9C)();
N(StarSpiritEffectFunc3)();
}
spawn {
sleep 1;
PlaySound(0x80000067);
N(func_80240000_BECDF0)();
N(StarSpiritEffectFunc1)();
StopSound(0x80000067);
PlaySoundAt(0xB2, 0, 145, 65, 0);
}
@ -256,7 +46,7 @@ EvtSource N(80242048) = SCRIPT({
sleep 115;
PlaySoundAt(0x137, 0, 145, 65, 0);
}
N(func_802405BC_BED3AC)(1);
N(StarSpiritEffectFunc4)(1);
spawn {
sleep 80;
SetPlayerAnimation(ANIM_10002);
@ -264,7 +54,7 @@ EvtSource N(80242048) = SCRIPT({
EVT_VAR(1) += 100;
SetCamDistance(0, EVT_VAR(1));
SetPanTarget(0, 145, 0, 0);
N(func_802405BC_BED3AC)(2);
N(StarSpiritEffectFunc4)(2);
GetPlayerPos(EVT_VAR(2), EVT_VAR(3), EVT_VAR(4));
UseSettingsFrom(0, EVT_VAR(2), EVT_VAR(3), EVT_VAR(4));
SetCamSpeed(0, 1.0);
@ -273,13 +63,13 @@ EvtSource N(80242048) = SCRIPT({
PanToTarget(0, 0, 0);
DisablePlayerInput(FALSE);
} else {
N(func_802405FC_BED3EC)(2, 145, 30, 0, 0);
N(StarSpiritEffectFunc5)(2, 145, 30, 0, 0);
spawn {
N(func_80240708_BED4F8)();
N(StarSpiritEffectFunc6)();
}
sleep 1;
}
N(func_802405BC_BED3AC)(3);
N(StarSpiritEffectFunc4)(3);
PlaySoundAtPlayer(312, 0);
DisablePlayerInput(TRUE);
EVT_STORY_PROGRESS = STORY_CH3_STAR_SPIRIT_RESCUED;
@ -302,14 +92,14 @@ EvtSource N(80242498) = SCRIPT({
SetCamPitch(0, EVT_VAR(2), 10000);
}
PanToTarget(0, 0, 1);
N(func_8024004C_BECE3C)(2, 50, 100, 31, -6, 145, 65, 0, 30, 0);
N(StarSpiritEffectFunc2)(2, 50, 100, 31, -6, 145, 65, 0, 30, 0);
spawn {
N(func_802401AC_BECF9C)();
N(StarSpiritEffectFunc3)();
}
spawn {
sleep 1;
PlaySound(0x80000067);
N(func_80240000_BECDF0)();
N(StarSpiritEffectFunc1)();
StopSound(0x80000067);
PlaySoundAt(0xB2, 0, 145, 65, 0);
}
@ -322,7 +112,7 @@ EvtSource N(80242498) = SCRIPT({
sleep 115;
PlaySoundAt(0x137, 0, 145, 65, 0);
}
N(func_802405BC_BED3AC)(1);
N(StarSpiritEffectFunc4)(1);
spawn {
sleep 80;
SetPlayerAnimation(ANIM_10002);
@ -330,7 +120,7 @@ EvtSource N(80242498) = SCRIPT({
EVT_VAR(1) += 100;
SetCamDistance(0, EVT_VAR(1));
SetPanTarget(0, 145, 0, 0);
N(func_802405BC_BED3AC)(2);
N(StarSpiritEffectFunc4)(2);
GetPlayerPos(EVT_VAR(2), EVT_VAR(3), EVT_VAR(4));
UseSettingsFrom(0, EVT_VAR(2), EVT_VAR(3), EVT_VAR(4));
SetCamSpeed(0, 1.0);
@ -339,13 +129,13 @@ EvtSource N(80242498) = SCRIPT({
PanToTarget(0, 0, 0);
DisablePlayerInput(FALSE);
} else {
N(func_802405FC_BED3EC)(2, 145, 30, 0, 0);
N(StarSpiritEffectFunc5)(2, 145, 30, 0, 0);
spawn {
N(func_80240708_BED4F8)();
N(StarSpiritEffectFunc6)();
}
sleep 1;
}
N(func_802405BC_BED3AC)(3);
N(StarSpiritEffectFunc4)(3);
PlaySoundAtPlayer(312, 0);
DisablePlayerInput(TRUE);
EVT_STORY_PROGRESS = STORY_CH3_STAR_SPIRIT_RESCUED;

View File

@ -21,12 +21,12 @@ enum {
NPC_WORLD_SKOLAR,
};
ApiStatus N(func_80240000_BECDF0)(Evt* script, s32 isInitialCall);
ApiStatus N(func_8024004C_BECE3C)(Evt* script, s32 isInitialCall);
ApiStatus N(func_802401AC_BECF9C)(Evt* script, s32 isInitialCall);
ApiStatus N(func_802405BC_BED3AC)(Evt* script, s32 isInitialCall);
ApiStatus N(func_802405FC_BED3EC)(Evt* script, s32 isInitialCall);
ApiStatus N(func_80240708_BED4F8)(Evt* script, s32 isInitialCall);
ApiStatus N(arn_07_StarSpiritEffectFunc1)(Evt* script, s32 isInitialCall);
ApiStatus N(arn_07_StarSpiritEffectFunc2)(Evt* script, s32 isInitialCall);
ApiStatus N(arn_07_StarSpiritEffectFunc3)(Evt* script, s32 isInitialCall);
ApiStatus N(arn_07_StarSpiritEffectFunc4)(Evt* script, s32 isInitialCall);
ApiStatus N(arn_07_StarSpiritEffectFunc5)(Evt* script, s32 isInitialCall);
ApiStatus N(arn_07_StarSpiritEffectFunc6)(Evt* script, s32 isInitialCall);
ApiStatus N(func_80240800_BED5F0)(Evt* script, s32 isInitialCall);
ApiStatus N(func_80241C5C_BEEA4C)(Evt* script, s32 isInitialCall);
ApiStatus N(SetEntityFlags100000)(Evt* script, s32 isInitialCall);

View File

@ -4,62 +4,6 @@
#include "sprite/npc/huff_n_puff.h"
#include "sprite/npc/tuff_puff.h"
typedef struct {
char unk_00[0x4];
f32 unk_04;
f32 unk_08;
f32 unk_0C;
f32 unk_10;
char unk_14[0x4];
s32 unk_18;
s32 unk_1C;
s32 unk_20;
X32 unk_24;
s32 unk_28;
s32 unk_2C;
s32 unk_30;
u8 unk_34;
s32 unk_38;
char unk_3C[0xC];
EffectUnkStruct1* unk_48;
char unk_4C[0x24];
s32 unk_70;
s32 unk_74;
} N(EffectStruct);
typedef struct N(temp) {
char unk_00[0xC];
N(EffectStruct)* unk_0C;
} N(temp);
typedef struct {
/* 0x00 */ f32 unk_00;
/* 0x04 */ f32 unk_04;
/* 0x08 */ f32 unk_08;
/* 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 */ f32 unk_24;
/* 0x28 */ f32 unk_28;
/* 0x2C */ f32 unk_2C;
/* 0x30 */ f32 unk_30;
/* 0x34 */ f32 unk_34;
/* 0x38 */ s32 unk_38;
/* 0x3C */ s32 unk_3C;
/* 0x40 */ Shadow* unk_40;
/* 0x44 */ s16 unk_44;
/* 0x46 */ s16 unk_46;
/* 0x48 */ s16 unk_48;
/* 0x4A */ s16 unk_4A;
/* 0x4C */ s16 unk_4C;
/* 0x4E */ s16 unk_4E;
/* 0x50 */ struct N(temp)* unk_50;
/* 0x54 */ struct N(temp)* unk_54;
} N(Unk_effect_struct); // size = 0x58
enum {
NPC_HUFF_N_PUFF0,
NPC_HUFF_N_PUFF1,
@ -101,184 +45,7 @@ EvtSource N(80240D40) = SCRIPT({
}
});
ApiStatus N(func_80240000_CE6700)(Evt* script, s32 isInitialCall) {
N(Unk_effect_struct)* ptr = (N(Unk_effect_struct)*)script->varTable[0];
sfx_adjust_env_sound_pos(0xA2, 0, ptr->unk_00, ptr->unk_04, ptr->unk_08);
return ((ptr->unk_44 < 2) == 0) * ApiStatus_DONE2;
}
ApiStatus N(func_8024004C_CE674C)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
if (isInitialCall) {
N(Unk_effect_struct)* ptr = (N(Unk_effect_struct)*)heap_malloc(sizeof(N(Unk_effect_struct)));
script->varTable[0] = ptr;
evt_set_variable(NULL, EVT_MAP_VAR(1), ptr);
ptr->unk_38 = evt_get_variable(script, *args++);
ptr->unk_3C = evt_get_variable(script, *args++);
ptr->unk_0C = evt_get_float_variable(script, *args++);
ptr->unk_10 = evt_get_float_variable(script, *args++);
ptr->unk_14 = evt_get_float_variable(script, *args++);
ptr->unk_18 = evt_get_float_variable(script, *args++);
ptr->unk_1C = evt_get_float_variable(script, *args++);
ptr->unk_20 = evt_get_float_variable(script, *args++);
ptr->unk_24 = evt_get_float_variable(script, *args++);
ptr->unk_28 = evt_get_float_variable(script, *args++);
ptr->unk_50 = (struct N(temp)*)playFX_83(2, ptr->unk_0C, ptr->unk_10, ptr->unk_14, 1.0f, 0);
ptr->unk_4E = 0;
ptr->unk_48 = 0;
ptr->unk_4A = 0;
ptr->unk_44 = 0;
ptr->unk_46 = 0;
}
return ApiStatus_DONE2;
}
ApiStatus N(func_802401AC_CE68AC)(Evt* script, s32 isInitialCall) {
PlayerStatus* playerStatus = &gPlayerStatus;
N(Unk_effect_struct)* ptr = (N(Unk_effect_struct)*)script->varTable[0];
switch (ptr->unk_44) {
case 0:
ptr->unk_04 = update_lerp(5, ptr->unk_10, ptr->unk_1C, ptr->unk_46, ptr->unk_3C);
ptr->unk_00 = update_lerp(0, ptr->unk_0C, ptr->unk_18, ptr->unk_46, ptr->unk_3C);
ptr->unk_08 = update_lerp(0, ptr->unk_14, ptr->unk_20, ptr->unk_46, ptr->unk_3C);
ptr->unk_50->unk_0C->unk_08 = ptr->unk_00;
ptr->unk_50->unk_0C->unk_0C = ptr->unk_04;
ptr->unk_50->unk_0C->unk_10 = ptr->unk_08;
ptr->unk_46++;
if (ptr->unk_46 >= ptr->unk_3C) {
ptr->unk_44 = 1;
ptr->unk_46 = 0;
}
break;
case 1:
ptr->unk_46++;
if (ptr->unk_46 >= 60) {
ptr->unk_44 = 2;
ptr->unk_46 = 0;
ptr->unk_50->unk_0C->unk_70 = 1;
ptr->unk_50->unk_0C->unk_74 = 0;
}
break;
case 2:
ptr->unk_46++;
if (ptr->unk_46 >= 60) {
ptr->unk_54 = playFX_7B(1, ptr->unk_18, ptr->unk_1C, ptr->unk_20, 1.0f, 0);
*((s8*)ptr->unk_54->unk_0C + 0x34) = ptr->unk_38;
ptr->unk_54->unk_0C->unk_20 = 0;
ptr->unk_40 = create_shadow_type(0, ptr->unk_18, ptr->unk_28, ptr->unk_20);
ptr->unk_44 = 3;
ptr->unk_46 = 0;
ptr->unk_2C = 0.0f;
ptr->unk_48 = 1;
ptr->unk_30 = 36.0f;
}
break;
case 3:
ptr->unk_30 = update_lerp(0, 36.0f, 19.0f, ptr->unk_46, 120);
ptr->unk_46++;
if (ptr->unk_46 >= 120) {
ptr->unk_4C = 0;
ptr->unk_4A = 1;
ptr->unk_48 = 2;
ptr->unk_4E = 1;
ptr->unk_44 = 4;
ptr->unk_46 = 0;
ptr->unk_34 = ptr->unk_2C;
}
break;
case 4:
break;
}
switch (ptr->unk_4A) {
case 1:
ptr->unk_2C = update_lerp(4, ptr->unk_34, 1440.0f, ptr->unk_4C, 120);
ptr->unk_04 = update_lerp(0xA, ptr->unk_1C, ptr->unk_24, ptr->unk_4C, 120);
ptr->unk_4C++;
if (ptr->unk_4C >= 120) {
ptr->unk_4C = 0x10E;
ptr->unk_4A = 2;
ptr->unk_4E = 2;
}
break;
case 2:
ptr->unk_04 = ptr->unk_24 + (2.0f * (sin_deg(ptr->unk_4C) + 1.0f));
ptr->unk_4C = clamp_angle(ptr->unk_4C + 8);
if (!(dist3D(playerStatus->position.x, playerStatus->position.y + 20.0f, playerStatus->position.z,
ptr->unk_00, ptr->unk_04, ptr->unk_08) > 30.0f)) {
ptr->unk_4E = 3;
}
break;
}
switch (ptr->unk_48) {
case 1:
ptr->unk_2C = clamp_angle(ptr->unk_2C + ptr->unk_30);
case 2:
ptr->unk_54->unk_0C->unk_24.f = ptr->unk_2C;
ptr->unk_54->unk_0C->unk_04 = ptr->unk_18;
ptr->unk_54->unk_0C->unk_08 = ptr->unk_04;
ptr->unk_54->unk_0C->unk_0C = ptr->unk_20;
break;
}
return ApiStatus_BLOCK;
}
ApiStatus N(func_802405BC_CE6CBC)(Evt* script, s32 isInitialCall) {
s32 var = evt_get_variable(script, *script->ptrReadPos);
N(Unk_effect_struct)* ptr = (N(Unk_effect_struct)*)script->varTable[0];
return (ptr->unk_4E == var) * ApiStatus_DONE2;
}
ApiStatus N(func_802405FC_CE6CFC)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
if (isInitialCall) {
N(Unk_effect_struct)* ptr = (N(Unk_effect_struct)*)heap_malloc(sizeof(N(Unk_effect_struct)));
script->varTable[0] = ptr;
ptr->unk_38 = evt_get_variable(script, *args++);
ptr->unk_18 = evt_get_float_variable(script, *args++);
ptr->unk_24 = evt_get_float_variable(script, *args++);
ptr->unk_20 = evt_get_float_variable(script, *args++);
ptr->unk_28 = evt_get_float_variable(script, *args++);
ptr->unk_54 = playFX_7B(1, ptr->unk_18, ptr->unk_24, ptr->unk_20, 1.0f, 0);
ptr->unk_54->unk_0C->unk_34 = ptr->unk_38;
ptr->unk_54->unk_0C->unk_20 = 0;
ptr->unk_40 = create_shadow_type(0, ptr->unk_18, ptr->unk_28, ptr->unk_20);
ptr->unk_4C = 0x10E;
}
return ApiStatus_DONE2;
}
ApiStatus N(func_80240708_CE6E08)(Evt* script, s32 isInitialCall) {
PlayerStatus* playerStatus = &gPlayerStatus;
N(Unk_effect_struct)* ptr = (N(Unk_effect_struct)*)script->varTable[0];
ptr->unk_04 = ptr->unk_24 + (2.0f * (sin_deg(ptr->unk_4C) + 1.0f));
ptr->unk_4C = clamp_angle(ptr->unk_4C + 8);
if (dist2D(playerStatus->position.x, playerStatus->position.z,
ptr->unk_18, ptr->unk_20) <= 30.0f) {
ptr->unk_4E = 3;
}
ptr->unk_54->unk_0C->unk_04 = ptr->unk_18;
ptr->unk_54->unk_0C->unk_08 = ptr->unk_04;
ptr->unk_54->unk_0C->unk_0C = ptr->unk_20;
return ApiStatus_BLOCK;
}
#include "world/common/StarSpiritEffectFunc.inc.c"
EvtSource N(80240DA0) = SCRIPT({
group 0;
@ -323,14 +90,14 @@ EvtSource N(80240E3C) = SCRIPT({
SetCamPitch(0, EVT_VAR(2), -5.5);
}
PanToTarget(0, 0, 1);
N(func_8024004C_CE674C)(5, 180, 650, 170, 0, 650, 205, 0, 150, 120);
N(StarSpiritEffectFunc2)(5, 180, 650, 170, 0, 650, 205, 0, 150, 120);
spawn {
N(func_802401AC_CE68AC)();
N(StarSpiritEffectFunc3)();
}
spawn {
sleep 1;
PlaySound(0x80000067);
N(func_80240000_CE6700)();
N(StarSpiritEffectFunc1)();
StopSound(0x80000067);
PlaySoundAt(0xB2, 0, 650, 205, 0);
}
@ -343,7 +110,7 @@ EvtSource N(80240E3C) = SCRIPT({
sleep 115;
PlaySoundAt(0x137, 0, 650, 205, 0);
}
N(func_802405BC_CE6CBC)(1);
N(StarSpiritEffectFunc4)(1);
spawn {
sleep 80;
SetPlayerAnimation(ANIM_10002);
@ -351,7 +118,7 @@ EvtSource N(80240E3C) = SCRIPT({
EVT_VAR(1) += 100;
SetCamDistance(0, EVT_VAR(1));
SetPanTarget(0, 650, 120, 0);
N(func_802405BC_CE6CBC)(2);
N(StarSpiritEffectFunc4)(2);
GetPlayerPos(EVT_VAR(2), EVT_VAR(3), EVT_VAR(4));
UseSettingsFrom(0, EVT_VAR(2), EVT_VAR(3), EVT_VAR(4));
SetCamSpeed(0, 1.0);
@ -360,13 +127,13 @@ EvtSource N(80240E3C) = SCRIPT({
PanToTarget(0, 0, 0);
DisablePlayerInput(FALSE);
} else {
N(func_802405FC_CE6CFC)(5, 650, 150, 0, 120);
N(StarSpiritEffectFunc5)(5, 650, 150, 0, 120);
spawn {
N(func_80240708_CE6E08)();
N(StarSpiritEffectFunc6)();
}
sleep 1;
}
N(func_802405BC_CE6CBC)(3);
N(StarSpiritEffectFunc4)(3);
PlaySoundAtPlayer(312, 0);
DisablePlayerInput(TRUE);
EVT_STORY_PROGRESS = STORY_CH6_STAR_SPIRIT_RESCUED;

View File

@ -6,12 +6,12 @@
ApiStatus N(UnkTexturePanFunc)(Evt* script, s32 isInitialCall);
ApiStatus N(UnkTexturePanFunc2)(Evt* script, s32 isInitialCall);
ApiStatus N(UnkFloatFunc)(Evt* script, s32 isInitialCall);
ApiStatus N(func_80240000_CE6700)(Evt* script, s32 isInitialCall);
ApiStatus N(func_8024004C_CE674C)(Evt* script, s32 isInitialCall);
ApiStatus N(func_802401AC_CE68AC)(Evt* script, s32 isInitialCall);
ApiStatus N(func_802405BC_CE6CBC)(Evt* script, s32 isInitialCall);
ApiStatus N(func_802405FC_CE6CFC)(Evt* script, s32 isInitialCall);
ApiStatus N(func_80240708_CE6E08)(Evt* script, s32 isInitialCall);
ApiStatus N(flo_21_StarSpiritEffectFunc1)(Evt* script, s32 isInitialCall);
ApiStatus N(flo_21_StarSpiritEffectFunc2)(Evt* script, s32 isInitialCall);
ApiStatus N(flo_21_StarSpiritEffectFunc3)(Evt* script, s32 isInitialCall);
ApiStatus N(flo_21_StarSpiritEffectFunc4)(Evt* script, s32 isInitialCall);
ApiStatus N(flo_21_StarSpiritEffectFunc5)(Evt* script, s32 isInitialCall);
ApiStatus N(flo_21_StarSpiritEffectFunc6)(Evt* script, s32 isInitialCall);
ApiStatus N(func_80240B00_CE7200)(Evt* script, s32 isInitialCall);
extern NpcGroupList N(npcGroupList_80245AEC);

View File

@ -1,83 +1,6 @@
#include "isk_16.h"
INCLUDE_ASM(s32, "world/area_isk/isk_16/9951F0", func_80240000_9951F0);
/*
ApiStatus N(func_80240000_9951F0)(Evt* script, s32 isInitialCall) {
arn_07_struct* ptr = script->varTable[0];
sfx_adjust_env_sound_pos(0xA2, 0, ptr->unk_00, ptr->unk_04, ptr->unk_08);
return ((ptr->unk_44 < 2) == 0) * ApiStatus_DONE2;
}
*/
INCLUDE_ASM(s32, "world/area_isk/isk_16/9951F0", func_8024004C_99523C);
/*
ApiStatus N(func_8024004C_99523C)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
if (isInitialCall) {
arn_07_struct* ptr = heap_malloc(sizeof(arn_07_struct));
script->varTable[0] = ptr;
evt_set_variable(NULL, EVT_MAP_VAR(1), ptr);
ptr->unk_38 = evt_get_variable(script, *args++);
ptr->unk_3C = evt_get_variable(script, *args++);
ptr->unk_0C = evt_get_float_variable(script, *args++);
ptr->unk_10 = evt_get_float_variable(script, *args++);
ptr->unk_14 = evt_get_float_variable(script, *args++);
ptr->unk_18 = evt_get_float_variable(script, *args++);
ptr->unk_1C = evt_get_float_variable(script, *args++);
ptr->unk_20 = evt_get_float_variable(script, *args++);
ptr->unk_24 = evt_get_float_variable(script, *args++);
ptr->unk_28 = evt_get_float_variable(script, *args++);
ptr->unk_50 = (struct N(temp)*)playFX_83(2, ptr->unk_0C, ptr->unk_10, ptr->unk_14, 1.0f, 0);
ptr->unk_4E = 0;
ptr->unk_48 = 0;
ptr->unk_4A = 0;
ptr->unk_44 = 0;
ptr->unk_46 = 0;
}
return ApiStatus_DONE2;
}
*/
INCLUDE_ASM(s32, "world/area_isk/isk_16/9951F0", func_802401AC_99539C);
#include "world/common/StarSpiritEffectFunc.inc.c"
static char* N(exit_str_0) = "kmr_23";
static char* N(exit_str_1) = "isk_19";
INCLUDE_ASM(s32, "world/area_isk/isk_16/9951F0", func_802405BC_9957AC);
/*
ApiStatus N(func_802405BC_9957AC)(Evt* script, s32 isInitialCall) {
s32 var = evt_get_variable(script, *script->ptrReadPos);
arn_07_struct* ptr = script->varTable[0];
return (ptr->unk_4E == var) * ApiStatus_DONE2;
}
*/
INCLUDE_ASM(s32, "world/area_isk/isk_16/9951F0", func_802405FC_9957EC);
/*
ApiStatus N(func_802405FC_9957EC)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
if (isInitialCall) {
arn_07_struct* ptr = heap_malloc(sizeof(arn_07_struct));
script->varTable[0] = ptr;
ptr->unk_38 = evt_get_variable(script, *args++);
ptr->unk_18 = evt_get_float_variable(script, *args++);
ptr->unk_24 = evt_get_float_variable(script, *args++);
ptr->unk_20 = evt_get_float_variable(script, *args++);
ptr->unk_28 = evt_get_float_variable(script, *args++);
ptr->unk_54 = playFX_7B(1, ptr->unk_18, ptr->unk_24, ptr->unk_20, 1.0f, 0);
ptr->unk_54->unk_0C->unk_34 = ptr->unk_38;
ptr->unk_54->unk_0C->unk_20 = 0;
ptr->unk_40 = create_shadow_type(0, ptr->unk_18, ptr->unk_28, ptr->unk_20);
ptr->unk_4C = 0x10E;
}
return ApiStatus_DONE2;
}
*/
INCLUDE_ASM(s32, "world/area_isk/isk_16/9951F0", func_80240708_9958F8);

View File

@ -1,28 +1,23 @@
#include "kzn_10.h"
INCLUDE_ASM(s32, "world/area_kzn/kzn_10/C7E4B0", func_80240330_C7E4B0);
#define UNK_FUNC_50_VAR1 -469.0
#define UNK_FUNC_50_VAR2 46.0
ApiStatus N(SpinyTrompHit)(Evt* script, s32 isInitialCall) {
subtract_hp(1);
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "world/area_kzn/kzn_10/C7E4B0", func_80240350_C7E4D0);
INCLUDE_ASM(s32, "world/area_kzn/kzn_10/C7E4B0", func_8024037C_C7E4FC);
#include "world/common/UnkFunc46.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_10/C7E4B0", func_80240414_C7E594);
#include "world/common/UnkFunc47.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_10/C7E4B0", func_802404B4_C7E634);
#include "world/common/UnkFunc48.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_10/C7E4B0", func_802404EC_C7E66C);
#include "world/common/UnkFunc49.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_10/C7E4B0", func_802405A4_C7E724);
#include "world/common/UnkFunc50.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_10/C7E4B0", func_80240638_C7E7B8);
/*
ApiStatus N(func_80240638_C7E7B8)(Evt *script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
script->functionTemp[0] = evt_get_variable(script, *args++);
script->functionTemp[1] = evt_get_variable(script, *args++);
script->functionTemp[2] = evt_get_variable(script, *args++);
sfx_adjust_env_sound_pos(0x194, 0, script->functionTemp[0], script->functionTemp[1], script->functionTemp[2]);
return ApiStatus_DONE2;
}
*/
#include "world/common/UnkFunc51.inc.c"

View File

@ -1,28 +1,24 @@
#include "kzn_17.h"
INCLUDE_ASM(s32, "world/area_kzn/kzn_17/C887B0", func_80242D00_C887B0);
#define UNK_FUNC_50_VAR1 -583.0
#define UNK_FUNC_50_VAR2 165.0
//func_80242D00_C887B0
ApiStatus N(SpinyTrompHit)(Evt* script, s32 isInitialCall) {
subtract_hp(1);
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "world/area_kzn/kzn_17/C887B0", func_80242D20_C887D0);
INCLUDE_ASM(s32, "world/area_kzn/kzn_17/C887B0", func_80242D4C_C887FC);
#include "world/common/UnkFunc46.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_17/C887B0", func_80242DE4_C88894);
#include "world/common/UnkFunc47.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_17/C887B0", func_80242E84_C88934);
#include "world/common/UnkFunc48.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_17/C887B0", func_80242EBC_C8896C);
#include "world/common/UnkFunc49.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_17/C887B0", func_80242F74_C88A24);
#include "world/common/UnkFunc50.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_17/C887B0", func_80243004_C88AB4);
/*
ApiStatus N(func_80243004_C88AB4)(Evt *script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
script->functionTemp[0] = evt_get_variable(script, *args++);
script->functionTemp[1] = evt_get_variable(script, *args++);
script->functionTemp[2] = evt_get_variable(script, *args++);
sfx_adjust_env_sound_pos(0x194, 0, script->functionTemp[0], script->functionTemp[1], script->functionTemp[2]);
return ApiStatus_DONE2;
}
*/
#include "world/common/UnkFunc51.inc.c"

View File

@ -4,107 +4,12 @@
#include "world/common/UnkTexturePanFunc2.inc.c"
INCLUDE_ASM(s32, "world/area_kzn/kzn_19/C8DBB0", func_8024030C_C8DEBC);
/*
ApiStatus N(func_8024030C_C8DEBC)(Evt* script, s32 isInitialCall) {
arn_07_struct* ptr = script->varTable[0];
sfx_adjust_env_sound_pos(0xA2, 0, ptr->unk_00, ptr->unk_04, ptr->unk_08);
return ((ptr->unk_44 < 2) == 0) * ApiStatus_DONE2;
}
*/
INCLUDE_ASM(s32, "world/area_kzn/kzn_19/C8DBB0", func_80240358_C8DF08);
/*
ApiStatus N(func_80240358_C8DF08)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
if (isInitialCall) {
arn_07_struct* ptr = heap_malloc(sizeof(arn_07_struct));
script->varTable[0] = ptr;
evt_set_variable(NULL, EVT_MAP_VAR(1), ptr);
ptr->unk_38 = evt_get_variable(script, *args++);
ptr->unk_3C = evt_get_variable(script, *args++);
ptr->unk_0C = evt_get_float_variable(script, *args++);
ptr->unk_10 = evt_get_float_variable(script, *args++);
ptr->unk_14 = evt_get_float_variable(script, *args++);
ptr->unk_18 = evt_get_float_variable(script, *args++);
ptr->unk_1C = evt_get_float_variable(script, *args++);
ptr->unk_20 = evt_get_float_variable(script, *args++);
ptr->unk_24 = evt_get_float_variable(script, *args++);
ptr->unk_28 = evt_get_float_variable(script, *args++);
ptr->unk_50 = (struct N(temp)*)playFX_83(2, ptr->unk_0C, ptr->unk_10, ptr->unk_14, 1.0f, 0);
ptr->unk_4E = 0;
ptr->unk_48 = 0;
ptr->unk_4A = 0;
ptr->unk_44 = 0;
ptr->unk_46 = 0;
}
return ApiStatus_DONE2;
}
*/
INCLUDE_ASM(s32, "world/area_kzn/kzn_19/C8DBB0", func_802404B8_C8E068);
#include "world/common/StarSpiritEffectFunc.inc.c"
static char* N(exit_str_0) = "kmr_23";
static char* N(exit_str_1) = "kzn_18";
static char* N(exit_str_2) = "kzn_20";
INCLUDE_ASM(s32, "world/area_kzn/kzn_19/C8DBB0", func_802408C8_C8E478);
/*
ApiStatus N(func_802408C8_C8E478)(Evt* script, s32 isInitialCall) {
s32 var = evt_get_variable(script, *script->ptrReadPos);
arn_07_struct* ptr = script->varTable[0];
return (ptr->unk_4E == var) * ApiStatus_DONE2;
}
*/
INCLUDE_ASM(s32, "world/area_kzn/kzn_19/C8DBB0", func_80240908_C8E4B8);
/*
ApiStatus N(func_80240908_C8E4B8)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
if (isInitialCall) {
arn_07_struct* ptr = heap_malloc(sizeof(arn_07_struct));
script->varTable[0] = ptr;
ptr->unk_38 = evt_get_variable(script, *args++);
ptr->unk_18 = evt_get_float_variable(script, *args++);
ptr->unk_24 = evt_get_float_variable(script, *args++);
ptr->unk_20 = evt_get_float_variable(script, *args++);
ptr->unk_28 = evt_get_float_variable(script, *args++);
ptr->unk_54 = playFX_7B(1, ptr->unk_18, ptr->unk_24, ptr->unk_20, 1.0f, 0);
ptr->unk_54->unk_0C->unk_34 = ptr->unk_38;
ptr->unk_54->unk_0C->unk_20 = 0;
ptr->unk_40 = create_shadow_type(0, ptr->unk_18, ptr->unk_28, ptr->unk_20);
ptr->unk_4C = 0x10E;
}
return ApiStatus_DONE2;
}
*/
INCLUDE_ASM(s32, "world/area_kzn/kzn_19/C8DBB0", func_80240A14_C8E5C4);
/*
ApiStatus N(func_80240A14_C8E5C4)(Evt* script, s32 isInitialCall) {
PlayerStatus* playerStatus = &gPlayerStatus;
arn_07_struct* ptr = script->varTable[0];
ptr->unk_04 = ptr->unk_24 + (2.0f * (sin_deg(ptr->unk_4C) + 1.0f));
ptr->unk_4C = clamp_angle(ptr->unk_4C + 8);
if (dist2D(playerStatus->position.x, playerStatus->position.z,
ptr->unk_18, ptr->unk_20) <= 30.0f) {
ptr->unk_4E = 3;
}
ptr->unk_54->unk_0C->unk_04 = ptr->unk_18;
ptr->unk_54->unk_0C->unk_08 = ptr->unk_04;
ptr->unk_54->unk_0C->unk_0C = ptr->unk_20;
return ApiStatus_BLOCK;
}
*/
INCLUDE_ASM(s32, "world/area_kzn/kzn_19/C8DBB0", func_80240B00_C8E6B0);
INCLUDE_ASM(s32, "world/area_kzn/kzn_19/C8DBB0", func_80240BD4_C8E784);

View File

@ -1,83 +1,6 @@
#include "omo_15.h"
INCLUDE_ASM(s32, "world/area_omo/omo_15/DE8770", func_80240000_DE8770);
/*
ApiStatus N(func_80240000_DE8770)(Evt* script, s32 isInitialCall) {
arn_07_struct* ptr = script->varTable[0];
sfx_adjust_env_sound_pos(0xA2, 0, ptr->unk_00, ptr->unk_04, ptr->unk_08);
return ((ptr->unk_44 < 2) == 0) * ApiStatus_DONE2;
}
*/
INCLUDE_ASM(s32, "world/area_omo/omo_15/DE8770", func_8024004C_DE87BC);
/*
ApiStatus N(func_8024004C_DE87BC)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
if (isInitialCall) {
arn_07_struct* ptr = heap_malloc(sizeof(arn_07_struct));
script->varTable[0] = ptr;
evt_set_variable(NULL, EVT_MAP_VAR(1), ptr);
ptr->unk_38 = evt_get_variable(script, *args++);
ptr->unk_3C = evt_get_variable(script, *args++);
ptr->unk_0C = evt_get_float_variable(script, *args++);
ptr->unk_10 = evt_get_float_variable(script, *args++);
ptr->unk_14 = evt_get_float_variable(script, *args++);
ptr->unk_18 = evt_get_float_variable(script, *args++);
ptr->unk_1C = evt_get_float_variable(script, *args++);
ptr->unk_20 = evt_get_float_variable(script, *args++);
ptr->unk_24 = evt_get_float_variable(script, *args++);
ptr->unk_28 = evt_get_float_variable(script, *args++);
ptr->unk_50 = (struct N(temp)*)playFX_83(2, ptr->unk_0C, ptr->unk_10, ptr->unk_14, 1.0f, 0);
ptr->unk_4E = 0;
ptr->unk_48 = 0;
ptr->unk_4A = 0;
ptr->unk_44 = 0;
ptr->unk_46 = 0;
}
return ApiStatus_DONE2;
}
*/
INCLUDE_ASM(s32, "world/area_omo/omo_15/DE8770", func_802401AC_DE891C);
#include "world/common/StarSpiritEffectFunc.inc.c"
static char* N(exit_str_0) = "kmr_23";
static char* N(exit_str_1) = "omo_14";
INCLUDE_ASM(s32, "world/area_omo/omo_15/DE8770", func_802405BC_DE8D2C);
/*
ApiStatus N(func_802405BC_DE8D2C)(Evt* script, s32 isInitialCall) {
s32 var = evt_get_variable(script, *script->ptrReadPos);
arn_07_struct* ptr = script->varTable[0];
return (ptr->unk_4E == var) * ApiStatus_DONE2;
}
*/
INCLUDE_ASM(s32, "world/area_omo/omo_15/DE8770", func_802405FC_DE8D6C);
/*
ApiStatus N(func_802405FC_DE8D6C)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
if (isInitialCall) {
arn_07_struct* ptr = heap_malloc(sizeof(arn_07_struct));
script->varTable[0] = ptr;
ptr->unk_38 = evt_get_variable(script, *args++);
ptr->unk_18 = evt_get_float_variable(script, *args++);
ptr->unk_24 = evt_get_float_variable(script, *args++);
ptr->unk_20 = evt_get_float_variable(script, *args++);
ptr->unk_28 = evt_get_float_variable(script, *args++);
ptr->unk_54 = playFX_7B(1, ptr->unk_18, ptr->unk_24, ptr->unk_20, 1.0f, 0);
ptr->unk_54->unk_0C->unk_34 = ptr->unk_38;
ptr->unk_54->unk_0C->unk_20 = 0;
ptr->unk_40 = create_shadow_type(0, ptr->unk_18, ptr->unk_28, ptr->unk_20);
ptr->unk_4C = 0x10E;
}
return ApiStatus_DONE2;
}
*/
INCLUDE_ASM(s32, "world/area_omo/omo_15/DE8770", func_80240708_DE8E78);

View File

@ -1,103 +1,8 @@
#include "pra_32.h"
INCLUDE_ASM(s32, "world/area_pra/pra_32/D86A20", func_80240020_D86A20);
/*
ApiStatus N(func_80240020_D86A20)(Evt* script, s32 isInitialCall) {
arn_07_struct* ptr = script->varTable[0];
sfx_adjust_env_sound_pos(0xA2, 0, ptr->unk_00, ptr->unk_04, ptr->unk_08);
return ((ptr->unk_44 < 2) == 0) * ApiStatus_DONE2;
}
*/
INCLUDE_ASM(s32, "world/area_pra/pra_32/D86A20", func_8024006C_D86A6C);
/*
ApiStatus N(func_8024006C_D86A6C)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
if (isInitialCall) {
arn_07_struct* ptr = heap_malloc(sizeof(arn_07_struct));
script->varTable[0] = ptr;
evt_set_variable(NULL, EVT_MAP_VAR(1), ptr);
ptr->unk_38 = evt_get_variable(script, *args++);
ptr->unk_3C = evt_get_variable(script, *args++);
ptr->unk_0C = evt_get_float_variable(script, *args++);
ptr->unk_10 = evt_get_float_variable(script, *args++);
ptr->unk_14 = evt_get_float_variable(script, *args++);
ptr->unk_18 = evt_get_float_variable(script, *args++);
ptr->unk_1C = evt_get_float_variable(script, *args++);
ptr->unk_20 = evt_get_float_variable(script, *args++);
ptr->unk_24 = evt_get_float_variable(script, *args++);
ptr->unk_28 = evt_get_float_variable(script, *args++);
ptr->unk_50 = (struct N(temp)*)playFX_83(2, ptr->unk_0C, ptr->unk_10, ptr->unk_14, 1.0f, 0);
ptr->unk_4E = 0;
ptr->unk_48 = 0;
ptr->unk_4A = 0;
ptr->unk_44 = 0;
ptr->unk_46 = 0;
}
return ApiStatus_DONE2;
}
*/
INCLUDE_ASM(s32, "world/area_pra/pra_32/D86A20", func_802401CC_D86BCC);
#include "world/common/StarSpiritEffectFunc.inc.c"
static char* N(exit_str_0) = "kmr_23";
static char* N(exit_str_1) = "pra_40";
INCLUDE_ASM(s32, "world/area_pra/pra_32/D86A20", func_802405DC_D86FDC);
/*
ApiStatus N(func_802405DC_D86FDC)(Evt* script, s32 isInitialCall) {
s32 var = evt_get_variable(script, *script->ptrReadPos);
arn_07_struct* ptr = script->varTable[0];
return (ptr->unk_4E == var) * ApiStatus_DONE2;
}
*/
INCLUDE_ASM(s32, "world/area_pra/pra_32/D86A20", func_8024061C_D8701C);
/*
ApiStatus N(func_8024061C_D8701C)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
if (isInitialCall) {
arn_07_struct* ptr = heap_malloc(sizeof(arn_07_struct));
script->varTable[0] = ptr;
ptr->unk_38 = evt_get_variable(script, *args++);
ptr->unk_18 = evt_get_float_variable(script, *args++);
ptr->unk_24 = evt_get_float_variable(script, *args++);
ptr->unk_20 = evt_get_float_variable(script, *args++);
ptr->unk_28 = evt_get_float_variable(script, *args++);
ptr->unk_54 = playFX_7B(1, ptr->unk_18, ptr->unk_24, ptr->unk_20, 1.0f, 0);
ptr->unk_54->unk_0C->unk_34 = ptr->unk_38;
ptr->unk_54->unk_0C->unk_20 = 0;
ptr->unk_40 = create_shadow_type(0, ptr->unk_18, ptr->unk_28, ptr->unk_20);
ptr->unk_4C = 0x10E;
}
return ApiStatus_DONE2;
}
*/
INCLUDE_ASM(s32, "world/area_pra/pra_32/D86A20", func_80240728_D87128);
/*
ApiStatus N(func_80240728_D87128)(Evt* script, s32 isInitialCall) {
PlayerStatus* playerStatus = &gPlayerStatus;
arn_07_struct* ptr = script->varTable[0];
ptr->unk_04 = ptr->unk_24 + (2.0f * (sin_deg(ptr->unk_4C) + 1.0f));
ptr->unk_4C = clamp_angle(ptr->unk_4C + 8);
if (dist2D(playerStatus->position.x, playerStatus->position.z,
ptr->unk_18, ptr->unk_20) <= 30.0f) {
ptr->unk_4E = 3;
}
ptr->unk_54->unk_0C->unk_04 = ptr->unk_18;
ptr->unk_54->unk_0C->unk_08 = ptr->unk_04;
ptr->unk_54->unk_0C->unk_0C = ptr->unk_20;
return ApiStatus_BLOCK;
}
*/
INCLUDE_ASM(s32, "world/area_pra/pra_32/D86A20", func_80240814_D87214);

View File

@ -1,104 +1,9 @@
#include "trd_10.h"
INCLUDE_ASM(s32, "world/area_trd/trd_10/9C2910", func_80240000_9C2910);
/*
ApiStatus N(func_80240000_9C2910)(Evt* script, s32 isInitialCall) {
arn_07_struct* ptr = script->varTable[0];
sfx_adjust_env_sound_pos(0xA2, 0, ptr->unk_00, ptr->unk_04, ptr->unk_08);
return ((ptr->unk_44 < 2) == 0) * ApiStatus_DONE2;
}
*/
INCLUDE_ASM(s32, "world/area_trd/trd_10/9C2910", func_8024004C_9C295C);
/*
ApiStatus N(func_8024004C_9C295C)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
if (isInitialCall) {
arn_07_struct* ptr = heap_malloc(sizeof(arn_07_struct));
script->varTable[0] = ptr;
evt_set_variable(NULL, EVT_MAP_VAR(1), ptr);
ptr->unk_38 = evt_get_variable(script, *args++);
ptr->unk_3C = evt_get_variable(script, *args++);
ptr->unk_0C = evt_get_float_variable(script, *args++);
ptr->unk_10 = evt_get_float_variable(script, *args++);
ptr->unk_14 = evt_get_float_variable(script, *args++);
ptr->unk_18 = evt_get_float_variable(script, *args++);
ptr->unk_1C = evt_get_float_variable(script, *args++);
ptr->unk_20 = evt_get_float_variable(script, *args++);
ptr->unk_24 = evt_get_float_variable(script, *args++);
ptr->unk_28 = evt_get_float_variable(script, *args++);
ptr->unk_50 = (struct N(temp)*)playFX_83(2, ptr->unk_0C, ptr->unk_10, ptr->unk_14, 1.0f, 0);
ptr->unk_4E = 0;
ptr->unk_48 = 0;
ptr->unk_4A = 0;
ptr->unk_44 = 0;
ptr->unk_46 = 0;
}
return ApiStatus_DONE2;
}
*/
INCLUDE_ASM(s32, "world/area_trd/trd_10/9C2910", func_802401AC_9C2ABC);
#include "world/common/StarSpiritEffectFunc.inc.c"
static char* N(exit_str_0) = "kmr_23";
static char* N(exit_str_1) = "trd_06";
static char* N(exit_str_2) = "trd_09";
INCLUDE_ASM(s32, "world/area_trd/trd_10/9C2910", func_802405BC_9C2ECC);
/*
ApiStatus N(func_802405BC_9C2ECC)(Evt* script, s32 isInitialCall) {
s32 var = evt_get_variable(script, *script->ptrReadPos);
arn_07_struct* ptr = script->varTable[0];
return (ptr->unk_4E == var) * ApiStatus_DONE2;
}
*/
INCLUDE_ASM(s32, "world/area_trd/trd_10/9C2910", func_802405FC_9C2F0C);
/*
ApiStatus N(func_802405FC_9C2F0C)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
if (isInitialCall) {
arn_07_struct* ptr = heap_malloc(sizeof(arn_07_struct));
script->varTable[0] = ptr;
ptr->unk_38 = evt_get_variable(script, *args++);
ptr->unk_18 = evt_get_float_variable(script, *args++);
ptr->unk_24 = evt_get_float_variable(script, *args++);
ptr->unk_20 = evt_get_float_variable(script, *args++);
ptr->unk_28 = evt_get_float_variable(script, *args++);
ptr->unk_54 = playFX_7B(1, ptr->unk_18, ptr->unk_24, ptr->unk_20, 1.0f, 0);
ptr->unk_54->unk_0C->unk_34 = ptr->unk_38;
ptr->unk_54->unk_0C->unk_20 = 0;
ptr->unk_40 = create_shadow_type(0, ptr->unk_18, ptr->unk_28, ptr->unk_20);
ptr->unk_4C = 0x10E;
}
return ApiStatus_DONE2;
}
*/
INCLUDE_ASM(s32, "world/area_trd/trd_10/9C2910", func_80240708_9C3018);
/*
ApiStatus N(func_80240708_9C3018)(Evt* script, s32 isInitialCall) {
PlayerStatus* playerStatus = &gPlayerStatus;
arn_07_struct* ptr = script->varTable[0];
ptr->unk_04 = ptr->unk_24 + (2.0f * (sin_deg(ptr->unk_4C) + 1.0f));
ptr->unk_4C = clamp_angle(ptr->unk_4C + 8);
if (dist2D(playerStatus->position.x, playerStatus->position.z,
ptr->unk_18, ptr->unk_20) <= 30.0f) {
ptr->unk_4E = 3;
}
ptr->unk_54->unk_0C->unk_04 = ptr->unk_18;
ptr->unk_54->unk_0C->unk_08 = ptr->unk_04;
ptr->unk_54->unk_0C->unk_0C = ptr->unk_20;
return ApiStatus_BLOCK;
}
*/
INCLUDE_ASM(s32, "world/area_trd/trd_10/9C2910", func_802407F4_9C3104);

View File

@ -0,0 +1,187 @@
#include "common.h"
#include "map.h"
#include "effects.h"
ApiStatus N(StarSpiritEffectFunc1)(Evt* script, s32 isInitialCall) {
StarSpiritEffect* ptr = script->varTable[0];
sfx_adjust_env_sound_pos(SOUND_UNKNOWN_A2, 0, ptr->unk_00, ptr->unk_04, ptr->unk_08);
if (ptr->unk_44 < 2) {
return ApiStatus_BLOCK;
} else {
return ApiStatus_DONE2;
}
}
ApiStatus N(StarSpiritEffectFunc2)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
if (isInitialCall) {
StarSpiritEffect* ptr = heap_malloc(sizeof(StarSpiritEffect));
script->varTable[0] = ptr;
evt_set_variable(NULL, EVT_MAP_VAR(1), ptr);
ptr->unk_38 = evt_get_variable(script, *args++);
ptr->unk_3C = evt_get_variable(script, *args++);
ptr->unk_0C = evt_get_float_variable(script, *args++);
ptr->unk_10 = evt_get_float_variable(script, *args++);
ptr->unk_14 = evt_get_float_variable(script, *args++);
ptr->unk_18 = evt_get_float_variable(script, *args++);
ptr->unk_1C = evt_get_float_variable(script, *args++);
ptr->unk_20 = evt_get_float_variable(script, *args++);
ptr->unk_24 = evt_get_float_variable(script, *args++);
ptr->unk_28 = evt_get_float_variable(script, *args++);
ptr->unk_50 = (struct StarSpiritEffectUnkStruct*) playFX_83(2, ptr->unk_0C, ptr->unk_10, ptr->unk_14, 1.0f, 0);
ptr->unk_4E = 0;
ptr->unk_48 = 0;
ptr->unk_4A = 0;
ptr->unk_44 = 0;
ptr->unk_46 = 0;
}
return ApiStatus_DONE2;
}
ApiStatus N(StarSpiritEffectFunc3)(Evt* script, s32 isInitialCall) {
PlayerStatus* playerStatus = &gPlayerStatus;
StarSpiritEffect* ptr = (StarSpiritEffect*)script->varTable[0];
switch (ptr->unk_44) {
case 0:
ptr->unk_04 = update_lerp(5, ptr->unk_10, ptr->unk_1C, ptr->unk_46, ptr->unk_3C);
ptr->unk_00 = update_lerp(0, ptr->unk_0C, ptr->unk_18, ptr->unk_46, ptr->unk_3C);
ptr->unk_08 = update_lerp(0, ptr->unk_14, ptr->unk_20, ptr->unk_46, ptr->unk_3C);
ptr->unk_50->unk_0C->unk_08 = ptr->unk_00;
ptr->unk_50->unk_0C->unk_0C = ptr->unk_04;
ptr->unk_50->unk_0C->unk_10 = ptr->unk_08;
ptr->unk_46++;
if (ptr->unk_46 >= ptr->unk_3C) {
ptr->unk_44 = 1;
ptr->unk_46 = 0;
}
break;
case 1:
ptr->unk_46++;
if (ptr->unk_46 >= 60) {
ptr->unk_44 = 2;
ptr->unk_46 = 0;
ptr->unk_50->unk_0C->unk_70 = 1;
ptr->unk_50->unk_0C->unk_74 = 0;
}
break;
case 2:
ptr->unk_46++;
if (ptr->unk_46 >= 60) {
ptr->unk_54 = playFX_7B(1, ptr->unk_18, ptr->unk_1C, ptr->unk_20, 1.0f, 0);
*((s8*)ptr->unk_54->unk_0C + 0x34) = ptr->unk_38;
ptr->unk_54->unk_0C->unk_20 = 0;
ptr->unk_40 = create_shadow_type(0, ptr->unk_18, ptr->unk_28, ptr->unk_20);
ptr->unk_44 = 3;
ptr->unk_46 = 0;
ptr->unk_2C = 0.0f;
ptr->unk_48 = 1;
ptr->unk_30 = 36.0f;
}
break;
case 3:
ptr->unk_30 = update_lerp(0, 36.0f, 19.0f, ptr->unk_46, 120);
ptr->unk_46++;
if (ptr->unk_46 >= 120) {
ptr->unk_4C = 0;
ptr->unk_4A = 1;
ptr->unk_48 = 2;
ptr->unk_4E = 1;
ptr->unk_44 = 4;
ptr->unk_46 = 0;
ptr->unk_34 = ptr->unk_2C;
}
break;
case 4:
break;
}
switch (ptr->unk_4A) {
case 1:
ptr->unk_2C = update_lerp(4, ptr->unk_34, 1440.0f, ptr->unk_4C, 120);
ptr->unk_04 = update_lerp(0xA, ptr->unk_1C, ptr->unk_24, ptr->unk_4C, 120);
ptr->unk_4C++;
if (ptr->unk_4C >= 120) {
ptr->unk_4C = 0x10E;
ptr->unk_4A = 2;
ptr->unk_4E = 2;
}
break;
case 2:
ptr->unk_04 = ptr->unk_24 + (2.0f * (sin_deg(ptr->unk_4C) + 1.0f));
ptr->unk_4C = clamp_angle(ptr->unk_4C + 8);
if (!(dist3D(playerStatus->position.x, playerStatus->position.y + 20.0f, playerStatus->position.z,
ptr->unk_00, ptr->unk_04, ptr->unk_08) > 30.0f)) {
ptr->unk_4E = 3;
}
break;
}
switch (ptr->unk_48) {
case 1:
ptr->unk_2C = clamp_angle(ptr->unk_2C + ptr->unk_30);
case 2:
ptr->unk_54->unk_0C->unk_24.f = ptr->unk_2C;
ptr->unk_54->unk_0C->unk_04 = ptr->unk_18;
ptr->unk_54->unk_0C->unk_08 = ptr->unk_04;
ptr->unk_54->unk_0C->unk_0C = ptr->unk_20;
break;
}
return ApiStatus_BLOCK;
}
ApiStatus N(StarSpiritEffectFunc4)(Evt* script, s32 isInitialCall) {
s32 var = evt_get_variable(script, *script->ptrReadPos);
StarSpiritEffect* ptr = (StarSpiritEffect*) script->varTable[0];
return (ptr->unk_4E == var) * ApiStatus_DONE2;
}
ApiStatus N(StarSpiritEffectFunc5)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
if (isInitialCall) {
StarSpiritEffect* ptr = (StarSpiritEffect*) heap_malloc(sizeof(StarSpiritEffect));
script->varTable[0] = ptr;
ptr->unk_38 = evt_get_variable(script, *args++);
ptr->unk_18 = evt_get_float_variable(script, *args++);
ptr->unk_24 = evt_get_float_variable(script, *args++);
ptr->unk_20 = evt_get_float_variable(script, *args++);
ptr->unk_28 = evt_get_float_variable(script, *args++);
ptr->unk_54 = playFX_7B(1, ptr->unk_18, ptr->unk_24, ptr->unk_20, 1.0f, 0);
ptr->unk_54->unk_0C->unk_34 = ptr->unk_38;
ptr->unk_54->unk_0C->unk_20 = 0;
ptr->unk_40 = create_shadow_type(0, ptr->unk_18, ptr->unk_28, ptr->unk_20);
ptr->unk_4C = 0x10E;
}
return ApiStatus_DONE2;
}
ApiStatus N(StarSpiritEffectFunc6)(Evt* script, s32 isInitialCall) {
PlayerStatus* playerStatus = &gPlayerStatus;
StarSpiritEffect* ptr = (StarSpiritEffect*) script->varTable[0];
ptr->unk_04 = ptr->unk_24 + (2.0f * (sin_deg(ptr->unk_4C) + 1.0f));
ptr->unk_4C = clamp_angle(ptr->unk_4C + 8);
if (dist2D(playerStatus->position.x, playerStatus->position.z,
ptr->unk_18, ptr->unk_20) <= 30.0f) {
ptr->unk_4E = 3;
}
ptr->unk_54->unk_0C->unk_04 = ptr->unk_18;
ptr->unk_54->unk_0C->unk_08 = ptr->unk_04;
ptr->unk_54->unk_0C->unk_0C = ptr->unk_20;
return ApiStatus_BLOCK;
}

View File

@ -0,0 +1,16 @@
#include "common.h"
#include "map.h"
ApiStatus N(UnkFunc46)(Evt* script, s32 isInitialCall) {
f32 var1 = script->varTable[0];
f32 var2 = script->varTable[2];
f32 var3 = 0.0f;
f32 var4 = 2000.0f;
if (npc_raycast_down_sides(0x10000, &var1, &var2, &var3, &var4)) {
script->varTable[0] = var1;
script->varTable[2] = var2 + 55.0f;
}
return ApiStatus_DONE2;
}

View File

@ -0,0 +1,12 @@
#include "common.h"
#include "map.h"
ApiStatus N(UnkFunc47)(Evt* script, s32 isInitialCall) {
f32 x = script->varTable[0] - gPlayerStatus.position.x;
f32 y = script->varTable[2] - gPlayerStatus.position.y;
f32 z = 0.0f - gPlayerStatus.position.z;
script->varTable[4] = sqrtf(SQ(x) + SQ(y) + SQ(z));
return ApiStatus_DONE2;
}

View File

@ -0,0 +1,7 @@
#include "common.h"
#include "map.h"
ApiStatus N(UnkFunc48)(Evt* script, s32 isInitialCall) {
gPlayerStatus.unk_8C = evt_get_variable(script, *script->ptrReadPos);
return ApiStatus_DONE2;
}

View File

@ -0,0 +1,9 @@
#include "common.h"
#include "map.h"
ApiStatus N(UnkFunc49)(Evt* script, s32 isInitialCall) {
script->varTable[5] = (cos_deg(-(f32) script->varTable[3] - 35.0) * 3.0) - 2.3;
script->varTable[6] = sin_deg(-(f32) script->varTable[3] - 35.0) * 5.0;
return ApiStatus_DONE2;
}

View File

@ -0,0 +1,11 @@
#include "common.h"
#include "map.h"
ApiStatus N(UnkFunc50)(Evt* script, s32 isInitialCall) {
f32 x = UNK_FUNC_50_VAR1 - script->varTable[0];
f32 z = UNK_FUNC_50_VAR2 - script->varTable[2];
script->varTable[3] = -sqrtf(SQ(x) + SQ(z));
return ApiStatus_DONE2;
}

View File

@ -0,0 +1,13 @@
#include "common.h"
#include "map.h"
ApiStatus N(UnkFunc51)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
script->functionTemp[0] = evt_get_variable(script, *args++);
script->functionTemp[1] = evt_get_variable(script, *args++);
script->functionTemp[2] = evt_get_variable(script, *args++);
sfx_adjust_env_sound_pos(SOUND_UNKNOWN_52, 0, script->functionTemp[0], script->functionTemp[1], script->functionTemp[2]);
return ApiStatus_DONE2;
}

View File

@ -24,26 +24,26 @@ func_8004E808 = 0x8004E808;
func_8004EB8C = 0x8004EB8C;
func_8004D1A4 = 0x8004D1A4;
dead_npc_move_heading = 0x8003E424;
func_80067040 = 0x80067040;
dead_sqrtf = 0x80067040;
dead_npc_test_move_simple_with_slipping = 0x800E5304;
dead_npc_raycast_down_sides = 0x800E423C;
dead_is_point_within_region = 0x8004D0C4;
func_8004D8E0 = 0x8004D8E0;
dead_rand_int = 0x8002ACEC;
dead_get_npc_safe = 0x8003E534; // get_npc_safe
func_8002BFD4 = 0x8002BFD4;
dead_heap_malloc = 0x8002BFD4;
func_8002C01C = 0x8002C01C;
dead_evt_set_variable = 0x802D5468;
dead_sin_deg = 0x8002B5DC;
dead_cos_deg = 0x8002B640;
func_800F1EF8 = 0x800F1EF8;
func_8015704C = 0x8015704C;
dead_subtract_hp = 0x800F1EF8;
dead_sfx_adjust_env_sound_pos = 0x8015704C;
dead_evt_get_float_variable = 0x802D57FC;
func_80077C30 = 0x80077C30;
func_8002B6A4 = 0x8002B6A4;
func_80077930 = 0x80077930;
func_8011AAB4 = 0x8011AAB4;
func_8002B21C = 0x8002B21C;
dead_playFX_83 = 0x80077C30;
dead_update_lerp = 0x8002B6A4;
dead_playFX_7B = 0x80077930;
dead_create_shadow_type = 0x8011AAB4;
dead_dist3D = 0x8002B21C;
func_802E2A80 = 0x802E2A80;
func_802E2B74 = 0x802E2B74;
func_80128510 = 0x80128510;

File diff suppressed because one or more lines are too long

View File

@ -18,7 +18,7 @@ glabel D_80242048_EAAB28
.word 0x0000004D, 0x00000001, 0x00000000, 0x00000043, 0x00000003, 0x802D6480, 0xFE363C80, 0x00000004, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000004, 0x00000024, 0x00000002, 0xFE363C81, 0x000001F4, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000024, 0x00000002, 0xFE363C83, 0x00000000, 0x00000024, 0x00000002, 0xFE363C84, 0xFFFFFE70, 0x00000024, 0x00000002, 0xFE363C85, 0x00000001, 0x00000024, 0x00000002, 0xFE363C86, 0x00000000, 0x00000024, 0x00000002, 0xFE363C87, 0x00000000, 0x00000024, 0x00000002, 0xFE363C88, 0x00000001, 0x00000024, 0x00000002, 0xFE363C89, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8B, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000044, 0x00000001, D_80241E90_EAA970, 0x00000057, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_80242164_EAAC44
.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000016, 0x00000001, 0x00000022, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x0000000A, 0x00000002, 0xFD050F8A, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0180, 0x00000023, 0x00000016, 0x00000001, 0x00000023, 0x00000043, 0x00000002, 0x802D790C, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000003, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x0000001C, 0x00000000, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, 0x802DE448, 0x00000001, 0x00000043, 0x00000005, 0x802D8D40, 0x00000000, 0x000000B9, 0x0000006E, 0xFFFFFFE2, 0x00000043, 0x00000003, 0x802D93E4, 0x00000000, 0xF24A7C43, 0x00000043, 0x00000005, 0x802D9320, 0x00000000, 0x000000B9, 0x00000037, 0xFFFFFFE2, 0x00000043, 0x00000003, 0x802D9578, 0x00000000, 0xFE363C81, 0x00000028, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, 0x802D90D8, 0x00000000, 0xFE363C81, 0x0000000B, 0x00000002, 0x00002710, 0x00002710, 0x00000043, 0x00000004, 0x802D94E8, 0x00000000, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000004, 0x802D903C, 0x00000000, 0xFE363C82, 0x00002710, 0x00000013, 0x00000000, 0x00000043, 0x00000004, 0x802D8C7C, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x0000000B, func_80240358_EA8E38, 0x00000004, 0x000000B4, 0x00000130, 0x0000000F, 0xFFFFFFCA, 0x000000B9, 0x0000006E, 0xFFFFFFE2, 0x00000037, 0x00000019, 0x00000056, 0x00000000, 0x00000043, 0x00000001, func_802404B8_EA8F98, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, 0x802E37A0, 0x80000067, 0x00000043, 0x00000001, func_8024030C_EA8DEC, 0x00000043, 0x00000002, 0x802E3908, 0x80000067, 0x00000043, 0x00000006, 0x802E382C, 0x000000B2, 0x00000000, 0x000000B9, 0x0000006E, 0xFFFFFFE2, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000002D, 0x00000043, 0x00000002, 0x802DE6A4, 0x0001002A, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x000000B4, 0x00000008, 0x00000001, 0x00000073, 0x00000043, 0x00000006, 0x802E382C, 0x00000137, 0x00000000, 0x000000B9, 0x0000006E, 0xFFFFFFE2, 0x00000057, 0x00000000, 0x00000043, 0x00000002, func_802408C8_EA93A8, 0x00000001, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000050, 0x00000043, 0x00000002, 0x802DE6A4, 0x00010002, 0x00000057, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, 0x802D90D8, 0x00000000, 0xFE363C81, 0x00000043, 0x00000005, 0x802D9320, 0x00000000, 0x000000B9, 0x00000019, 0xFFFFFFE2, 0x00000043, 0x00000002, func_802408C8_EA93A8, 0x00000002, 0x00000043, 0x00000004, 0x802DF41C, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000005, 0x802D8D40, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, 0x802D93E4, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000005, 0x802D9320, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, 0x802D9848, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000004, 0x802D8C7C, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, 0x802DE448, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000006, func_80240908_EA93E8, 0x00000004, 0x000000B9, 0x00000037, 0xFFFFFFE2, 0x00000019, 0x00000056, 0x00000000, 0x00000043, 0x00000001, func_80240A14_EA94F4, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000002, func_802408C8_EA93A8, 0x00000003, 0x00000043, 0x00000003, 0x802E0324, 0x00000138, 0x00000000, 0x00000043, 0x00000002, 0x802DE448, 0x00000001, 0x00000043, 0x00000004, 0x802D78CC, 0x80248354, 0x00000004, 0x0000000E, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000
.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000016, 0x00000001, 0x00000022, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x0000000A, 0x00000002, 0xFD050F8A, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0180, 0x00000023, 0x00000016, 0x00000001, 0x00000023, 0x00000043, 0x00000002, 0x802D790C, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000003, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x0000001C, 0x00000000, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, 0x802DE448, 0x00000001, 0x00000043, 0x00000005, 0x802D8D40, 0x00000000, 0x000000B9, 0x0000006E, 0xFFFFFFE2, 0x00000043, 0x00000003, 0x802D93E4, 0x00000000, 0xF24A7C43, 0x00000043, 0x00000005, 0x802D9320, 0x00000000, 0x000000B9, 0x00000037, 0xFFFFFFE2, 0x00000043, 0x00000003, 0x802D9578, 0x00000000, 0xFE363C81, 0x00000028, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, 0x802D90D8, 0x00000000, 0xFE363C81, 0x0000000B, 0x00000002, 0x00002710, 0x00002710, 0x00000043, 0x00000004, 0x802D94E8, 0x00000000, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000004, 0x802D903C, 0x00000000, 0xFE363C82, 0x00002710, 0x00000013, 0x00000000, 0x00000043, 0x00000004, 0x802D8C7C, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x0000000B, EA8AE0_StarSpiritEffectFunc2, 0x00000004, 0x000000B4, 0x00000130, 0x0000000F, 0xFFFFFFCA, 0x000000B9, 0x0000006E, 0xFFFFFFE2, 0x00000037, 0x00000019, 0x00000056, 0x00000000, 0x00000043, 0x00000001, EA8AE0_StarSpiritEffectFunc3, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, 0x802E37A0, 0x80000067, 0x00000043, 0x00000001, EA8AE0_StarSpiritEffectFunc1, 0x00000043, 0x00000002, 0x802E3908, 0x80000067, 0x00000043, 0x00000006, 0x802E382C, 0x000000B2, 0x00000000, 0x000000B9, 0x0000006E, 0xFFFFFFE2, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000002D, 0x00000043, 0x00000002, 0x802DE6A4, 0x0001002A, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x000000B4, 0x00000008, 0x00000001, 0x00000073, 0x00000043, 0x00000006, 0x802E382C, 0x00000137, 0x00000000, 0x000000B9, 0x0000006E, 0xFFFFFFE2, 0x00000057, 0x00000000, 0x00000043, 0x00000002, EA8AE0_StarSpiritEffectFunc4, 0x00000001, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000050, 0x00000043, 0x00000002, 0x802DE6A4, 0x00010002, 0x00000057, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, 0x802D90D8, 0x00000000, 0xFE363C81, 0x00000043, 0x00000005, 0x802D9320, 0x00000000, 0x000000B9, 0x00000019, 0xFFFFFFE2, 0x00000043, 0x00000002, EA8AE0_StarSpiritEffectFunc4, 0x00000002, 0x00000043, 0x00000004, 0x802DF41C, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000005, 0x802D8D40, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, 0x802D93E4, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000005, 0x802D9320, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, 0x802D9848, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000004, 0x802D8C7C, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, 0x802DE448, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000006, EA8AE0_StarSpiritEffectFunc5, 0x00000004, 0x000000B9, 0x00000037, 0xFFFFFFE2, 0x00000019, 0x00000056, 0x00000000, 0x00000043, 0x00000001, EA8AE0_StarSpiritEffectFunc6, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000002, EA8AE0_StarSpiritEffectFunc4, 0x00000003, 0x00000043, 0x00000003, 0x802E0324, 0x00000138, 0x00000000, 0x00000043, 0x00000002, 0x802DE448, 0x00000001, 0x00000043, 0x00000004, 0x802D78CC, 0x80248354, 0x00000004, 0x0000000E, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_8024263C_EAB11C
.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000003, 0x802DF78C, 0x0000003C, 0x00000000, 0x00000044, 0x00000001, 0x80286004, 0x00000043, 0x00000003, 0x802D78AC, 0x8024835C, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000
@ -174,7 +174,7 @@ glabel D_80244680_EAD160
.word 0x00000054, 0x00000000
glabel D_80244688_EAD168
.word 0x00000043, 0x0000000B, func_802418D4_EAA3B4, 0x00000000, 0x00B60008, 0x00B60001, 0x00000054, 0x00000000, 0x001000E4, 0x001000E5, 0x001000E6, 0x001000E7, D_80244680_EAD160, 0x00000046, 0x00000001, D_80244388_EACE68, 0x00000002, 0x00000000, 0x00000001, 0x00000000
.word 0x00000043, 0x0000000B, EA8AE0_SetManyVars, 0x00000000, 0x00B60008, 0x00B60001, 0x00000054, 0x00000000, 0x001000E4, 0x001000E5, 0x001000E6, 0x001000E7, D_80244680_EAD160, 0x00000046, 0x00000001, D_80244388_EACE68, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_802446D8_EAD1B8
.word 0x0000000A, 0x00000002, 0xFE363C8C, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x0000015C, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000046, 0x00000001, D_80243D78_EAC858, 0x00000043, 0x00000002, 0x802E4940, 0x00000001, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000

View File

@ -81,7 +81,7 @@ glabel D_8024208C_EB2EEC
.word 0x00000054, 0x00000000
glabel D_80242094_EB2EF4
.word 0x00000043, 0x0000000B, func_8024077C_EB15DC, 0x00000000, 0x00B60008, 0x00B60001, 0x00000054, 0x00000000, 0x001000E4, 0x001000E5, 0x001000E6, 0x001000E7, D_8024208C_EB2EEC, 0x00000046, 0x00000001, D_80241D94_EB2BF4, 0x00000002, 0x00000000, 0x00000001, 0x00000000
.word 0x00000043, 0x0000000B, EB1170_SetManyVars, 0x00000000, 0x00B60008, 0x00B60001, 0x00000054, 0x00000000, 0x001000E4, 0x001000E5, 0x001000E6, 0x001000E7, D_8024208C_EB2EEC, 0x00000046, 0x00000001, D_80241D94_EB2BF4, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_802420E4_EB2F44
.word 0x0000000A, 0x00000002, 0xFE363C8C, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x0000015C, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000046, 0x00000001, D_80241784_EB25E4, 0x00000043, 0x00000002, 0x802E4940, 0x00000001, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@ glabel D_80240D40_CE7440
.word 0x0000000A, 0x00000002, 0xF5DE0180, 0x00000038, 0x00000043, 0x00000003, FadeOutMusic, 0x00000000, 0x000001F4, 0x00000012, 0x00000000, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x00000032, 0x00000000, 0x00000008, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x0000004D, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C85, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C86, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C87, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C88, 0x00000001, 0x00000043, 0x00000001, flo_21_UnkTexturePanFunc, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000001, flo_21_UnkTexturePanFunc2, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_80240E3C_CE753C
.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000016, 0x00000001, 0x00000037, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x0000000A, 0x00000002, 0xFD050F8A, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0180, 0x00000038, 0x00000016, 0x00000001, 0x00000038, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x0000001C, 0x00000000, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0x0000028A, 0x000000CD, 0x00000000, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A7CE7, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0x0000028A, 0x00000096, 0x00000000, 0x00000043, 0x00000003, GetCamDistance, 0x00000000, 0xFE363C81, 0x00000028, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C81, 0x0000000B, 0x00000002, 0xF24A6480, 0x00002710, 0x00000043, 0x00000004, GetCamPitch, 0x00000000, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0xFE363C82, 0xF24A6480, 0x00000013, 0x00000000, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x0000000B, func_8024004C_CE674C, 0x00000005, 0x000000B4, 0x0000028A, 0x000000AA, 0x00000000, 0x0000028A, 0x000000CD, 0x00000000, 0x00000096, 0x00000078, 0x00000056, 0x00000000, 0x00000043, 0x00000001, func_802401AC_CE68AC, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, PlaySound, 0x80000067, 0x00000043, 0x00000001, func_80240000_CE6700, 0x00000043, 0x00000002, StopSound, 0x80000067, 0x00000043, 0x00000006, PlaySoundAt, 0x000000B2, 0x00000000, 0x0000028A, 0x000000CD, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000002D, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0001002A, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x000000B4, 0x00000008, 0x00000001, 0x00000073, 0x00000043, 0x00000006, PlaySoundAt, 0x00000137, 0x00000000, 0x0000028A, 0x000000CD, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, func_802405BC_CE6CBC, 0x00000001, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000050, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000057, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C81, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0x0000028A, 0x00000078, 0x00000000, 0x00000043, 0x00000002, func_802405BC_CE6CBC, 0x00000002, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000006, func_802405FC_CE6CFC, 0x00000005, 0x0000028A, 0x00000096, 0x00000000, 0x00000078, 0x00000056, 0x00000000, 0x00000043, 0x00000001, func_80240708_CE6E08, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000002, func_802405BC_CE6CBC, 0x00000003, 0x00000043, 0x00000003, PlaySoundAtPlayer, 0x00000138, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xF5DE0180, 0x00000039, 0x00000043, 0x00000004, GotoMapSpecial, 0x80245B24, 0x00000005, 0x0000000E, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000
.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000016, 0x00000001, 0x00000037, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x0000000A, 0x00000002, 0xFD050F8A, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0180, 0x00000038, 0x00000016, 0x00000001, 0x00000038, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x0000001C, 0x00000000, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0x0000028A, 0x000000CD, 0x00000000, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A7CE7, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0x0000028A, 0x00000096, 0x00000000, 0x00000043, 0x00000003, GetCamDistance, 0x00000000, 0xFE363C81, 0x00000028, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C81, 0x0000000B, 0x00000002, 0xF24A6480, 0x00002710, 0x00000043, 0x00000004, GetCamPitch, 0x00000000, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0xFE363C82, 0xF24A6480, 0x00000013, 0x00000000, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x0000000B, flo_21_StarSpiritEffectFunc2, 0x00000005, 0x000000B4, 0x0000028A, 0x000000AA, 0x00000000, 0x0000028A, 0x000000CD, 0x00000000, 0x00000096, 0x00000078, 0x00000056, 0x00000000, 0x00000043, 0x00000001, flo_21_StarSpiritEffectFunc3, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, PlaySound, 0x80000067, 0x00000043, 0x00000001, flo_21_StarSpiritEffectFunc1, 0x00000043, 0x00000002, StopSound, 0x80000067, 0x00000043, 0x00000006, PlaySoundAt, 0x000000B2, 0x00000000, 0x0000028A, 0x000000CD, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000002D, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0001002A, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x000000B4, 0x00000008, 0x00000001, 0x00000073, 0x00000043, 0x00000006, PlaySoundAt, 0x00000137, 0x00000000, 0x0000028A, 0x000000CD, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, flo_21_StarSpiritEffectFunc4, 0x00000001, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000050, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000057, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C81, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0x0000028A, 0x00000078, 0x00000000, 0x00000043, 0x00000002, flo_21_StarSpiritEffectFunc4, 0x00000002, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000006, flo_21_StarSpiritEffectFunc5, 0x00000005, 0x0000028A, 0x00000096, 0x00000000, 0x00000078, 0x00000056, 0x00000000, 0x00000043, 0x00000001, flo_21_StarSpiritEffectFunc6, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000002, flo_21_StarSpiritEffectFunc4, 0x00000003, 0x00000043, 0x00000003, PlaySoundAtPlayer, 0x00000138, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xF5DE0180, 0x00000039, 0x00000043, 0x00000004, GotoMapSpecial, 0x80245B24, 0x00000005, 0x0000000E, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_802412F4_CE79F4
.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000003, UseExitHeading, 0x0000003C, 0x00000000, 0x00000044, 0x00000001, ExitWalk, 0x00000043, 0x00000003, GotoMap, 0x80245B2C, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000

View File

@ -6,7 +6,7 @@ glabel D_80240B00_995CF0
.word 0x43998000, 0xC4638000, 0x43F60000, 0x42480000, 0x43F60000, 0xC4638000, 0x43998000, 0x435C0000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80241080_996270, D_80240B00_995CF0, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x001900A3
glabel D_80240B60_995D50
.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000016, 0x00000001, 0xFFFFFFC7, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0180, 0xFFFFFFC8, 0x00000016, 0x00000001, 0xFFFFFFC8, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x0000001C, 0x00000000, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0x00000198, 0xFFFFFCC7, 0x0000019E, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A7CE7, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0x00000198, 0xFFFFFC90, 0x0000019E, 0x00000043, 0x00000003, GetCamDistance, 0x00000000, 0xFE363C81, 0x00000028, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C81, 0x0000000B, 0x00000002, 0x00002710, 0x00002710, 0x00000043, 0x00000004, GetCamPitch, 0x00000000, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0xFE363C82, 0x00002710, 0x00000013, 0x00000000, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x0000000B, func_8024004C_99523C, 0x00000001, 0x000000B4, 0x00000198, 0xFFFFFC7C, 0x0000019E, 0x00000198, 0xFFFFFCC7, 0x0000019E, 0xFFFFFC90, 0xFFFFFC72, 0x00000056, 0x00000000, 0x00000043, 0x00000001, func_802401AC_99539C, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, PlaySound, 0x80000067, 0x00000043, 0x00000001, func_80240000_9951F0, 0x00000043, 0x00000002, StopSound, 0x80000067, 0x00000043, 0x00000006, PlaySoundAt, 0x000000B2, 0x00000000, 0x00000198, 0xFFFFFCC7, 0x0000019E, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000002D, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0001002A, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x000000B4, 0x00000008, 0x00000001, 0x00000073, 0x00000043, 0x00000006, PlaySoundAt, 0x00000137, 0x00000000, 0x00000198, 0xFFFFFCC7, 0x0000019E, 0x00000057, 0x00000000, 0x00000043, 0x00000002, func_802405BC_9957AC, 0x00000001, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000050, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000057, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C81, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0x00000198, 0xFFFFFC72, 0x0000019E, 0x00000043, 0x00000002, func_802405BC_9957AC, 0x00000002, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000006, func_802405FC_9957EC, 0x00000001, 0x00000198, 0xFFFFFC90, 0x0000019E, 0xFFFFFC72, 0x00000056, 0x00000000, 0x00000043, 0x00000001, func_80240708_9958F8, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000002, func_802405BC_9957AC, 0x00000003, 0x00000043, 0x00000003, PlaySoundAtPlayer, 0x00000138, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xF5DE0180, 0xFFFFFFC9, 0x00000043, 0x00000004, GotoMapSpecial, 0x80242D64, 0x00000001, 0x0000000E, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000
.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000016, 0x00000001, 0xFFFFFFC7, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0180, 0xFFFFFFC8, 0x00000016, 0x00000001, 0xFFFFFFC8, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x0000001C, 0x00000000, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0x00000198, 0xFFFFFCC7, 0x0000019E, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A7CE7, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0x00000198, 0xFFFFFC90, 0x0000019E, 0x00000043, 0x00000003, GetCamDistance, 0x00000000, 0xFE363C81, 0x00000028, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C81, 0x0000000B, 0x00000002, 0x00002710, 0x00002710, 0x00000043, 0x00000004, GetCamPitch, 0x00000000, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0xFE363C82, 0x00002710, 0x00000013, 0x00000000, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x0000000B, isk_16_StarSpiritEffectFunc2, 0x00000001, 0x000000B4, 0x00000198, 0xFFFFFC7C, 0x0000019E, 0x00000198, 0xFFFFFCC7, 0x0000019E, 0xFFFFFC90, 0xFFFFFC72, 0x00000056, 0x00000000, 0x00000043, 0x00000001, isk_16_StarSpiritEffectFunc3, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, PlaySound, 0x80000067, 0x00000043, 0x00000001, isk_16_StarSpiritEffectFunc1, 0x00000043, 0x00000002, StopSound, 0x80000067, 0x00000043, 0x00000006, PlaySoundAt, 0x000000B2, 0x00000000, 0x00000198, 0xFFFFFCC7, 0x0000019E, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000002D, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0001002A, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x000000B4, 0x00000008, 0x00000001, 0x00000073, 0x00000043, 0x00000006, PlaySoundAt, 0x00000137, 0x00000000, 0x00000198, 0xFFFFFCC7, 0x0000019E, 0x00000057, 0x00000000, 0x00000043, 0x00000002, isk_16_StarSpiritEffectFunc4, 0x00000001, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000050, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000057, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C81, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0x00000198, 0xFFFFFC72, 0x0000019E, 0x00000043, 0x00000002, isk_16_StarSpiritEffectFunc4, 0x00000002, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000006, isk_16_StarSpiritEffectFunc5, 0x00000001, 0x00000198, 0xFFFFFC90, 0x0000019E, 0xFFFFFC72, 0x00000056, 0x00000000, 0x00000043, 0x00000001, isk_16_StarSpiritEffectFunc6, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000002, isk_16_StarSpiritEffectFunc4, 0x00000003, 0x00000043, 0x00000003, PlaySoundAtPlayer, 0x00000138, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xF5DE0180, 0xFFFFFFC9, 0x00000043, 0x00000004, GotoMapSpecial, 0x80242D64, 0x00000001, 0x0000000E, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_80240FF8_9961E8
.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000003, UseExitHeading, 0x00000028, 0x00000000, 0x00000044, 0x00000001, ExitWalk, 0x00000043, 0x00000003, GotoMap, 0x80242D6C, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 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

View File

@ -12,7 +12,7 @@ glabel D_80242048_C8FBF8
.word 0x0000004D, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C80, 0x00000004, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000004, 0x00000024, 0x00000002, 0xFE363C81, 0x000001F4, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000024, 0x00000002, 0xFE363C83, 0x00000000, 0x00000024, 0x00000002, 0xFE363C84, 0xFFFFFE70, 0x00000024, 0x00000002, 0xFE363C85, 0x00000001, 0x00000024, 0x00000002, 0xFE363C86, 0x00000000, 0x00000024, 0x00000002, 0xFE363C87, 0x00000000, 0x00000024, 0x00000002, 0xFE363C88, 0x00000001, 0x00000024, 0x00000002, 0xFE363C89, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8B, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000044, 0x00000001, D_80241E90_C8FA40, 0x00000057, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_80242164_C8FD14
.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000016, 0x00000001, 0x00000022, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x0000000A, 0x00000002, 0xFD050F8A, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0180, 0x00000023, 0x00000016, 0x00000001, 0x00000023, 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000003, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x0000001C, 0x00000000, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0x000000B9, 0x0000006E, 0xFFFFFFE2, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A7C43, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0x000000B9, 0x00000037, 0xFFFFFFE2, 0x00000043, 0x00000003, GetCamDistance, 0x00000000, 0xFE363C81, 0x00000028, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C81, 0x0000000B, 0x00000002, 0x00002710, 0x00002710, 0x00000043, 0x00000004, GetCamPitch, 0x00000000, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0xFE363C82, 0x00002710, 0x00000013, 0x00000000, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x0000000B, func_80240358_C8DF08, 0x00000004, 0x000000B4, 0x00000130, 0x0000000F, 0xFFFFFFCA, 0x000000B9, 0x0000006E, 0xFFFFFFE2, 0x00000037, 0x00000019, 0x00000056, 0x00000000, 0x00000043, 0x00000001, func_802404B8_C8E068, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, PlaySound, 0x80000067, 0x00000043, 0x00000001, func_8024030C_C8DEBC, 0x00000043, 0x00000002, StopSound, 0x80000067, 0x00000043, 0x00000006, PlaySoundAt, 0x000000B2, 0x00000000, 0x000000B9, 0x0000006E, 0xFFFFFFE2, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000002D, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0001002A, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x000000B4, 0x00000008, 0x00000001, 0x00000073, 0x00000043, 0x00000006, PlaySoundAt, 0x00000137, 0x00000000, 0x000000B9, 0x0000006E, 0xFFFFFFE2, 0x00000057, 0x00000000, 0x00000043, 0x00000002, func_802408C8_C8E478, 0x00000001, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000050, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000057, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C81, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0x000000B9, 0x00000019, 0xFFFFFFE2, 0x00000043, 0x00000002, func_802408C8_C8E478, 0x00000002, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000006, func_80240908_C8E4B8, 0x00000004, 0x000000B9, 0x00000037, 0xFFFFFFE2, 0x00000019, 0x00000056, 0x00000000, 0x00000043, 0x00000001, func_80240A14_C8E5C4, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000002, func_802408C8_C8E478, 0x00000003, 0x00000043, 0x00000003, PlaySoundAtPlayer, 0x00000138, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000004, GotoMapSpecial, 0x80248354, 0x00000004, 0x0000000E, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000
.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000016, 0x00000001, 0x00000022, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x0000000A, 0x00000002, 0xFD050F8A, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0180, 0x00000023, 0x00000016, 0x00000001, 0x00000023, 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000003, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x0000001C, 0x00000000, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0x000000B9, 0x0000006E, 0xFFFFFFE2, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A7C43, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0x000000B9, 0x00000037, 0xFFFFFFE2, 0x00000043, 0x00000003, GetCamDistance, 0x00000000, 0xFE363C81, 0x00000028, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C81, 0x0000000B, 0x00000002, 0x00002710, 0x00002710, 0x00000043, 0x00000004, GetCamPitch, 0x00000000, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0xFE363C82, 0x00002710, 0x00000013, 0x00000000, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x0000000B, kzn_19_StarSpiritEffectFunc2, 0x00000004, 0x000000B4, 0x00000130, 0x0000000F, 0xFFFFFFCA, 0x000000B9, 0x0000006E, 0xFFFFFFE2, 0x00000037, 0x00000019, 0x00000056, 0x00000000, 0x00000043, 0x00000001, kzn_19_StarSpiritEffectFunc3, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, PlaySound, 0x80000067, 0x00000043, 0x00000001, kzn_19_StarSpiritEffectFunc1, 0x00000043, 0x00000002, StopSound, 0x80000067, 0x00000043, 0x00000006, PlaySoundAt, 0x000000B2, 0x00000000, 0x000000B9, 0x0000006E, 0xFFFFFFE2, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000002D, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0001002A, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x000000B4, 0x00000008, 0x00000001, 0x00000073, 0x00000043, 0x00000006, PlaySoundAt, 0x00000137, 0x00000000, 0x000000B9, 0x0000006E, 0xFFFFFFE2, 0x00000057, 0x00000000, 0x00000043, 0x00000002, kzn_19_StarSpiritEffectFunc4, 0x00000001, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000050, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000057, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C81, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0x000000B9, 0x00000019, 0xFFFFFFE2, 0x00000043, 0x00000002, kzn_19_StarSpiritEffectFunc4, 0x00000002, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000006, kzn_19_StarSpiritEffectFunc5, 0x00000004, 0x000000B9, 0x00000037, 0xFFFFFFE2, 0x00000019, 0x00000056, 0x00000000, 0x00000043, 0x00000001, kzn_19_StarSpiritEffectFunc6, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000002, kzn_19_StarSpiritEffectFunc4, 0x00000003, 0x00000043, 0x00000003, PlaySoundAtPlayer, 0x00000138, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000004, GotoMapSpecial, 0x80248354, 0x00000004, 0x0000000E, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_8024263C_C901EC
.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000003, UseExitHeading, 0x0000003C, 0x00000000, 0x00000044, 0x00000001, ExitWalk, 0x00000043, 0x00000003, GotoMap, 0x8024835C, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000

View File

@ -9,7 +9,7 @@ glabel D_80240850_DE8FC0
.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0x00000004, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000016, 0x00000001, 0x00000004, 0x00000043, 0x00000003, FadeOutMusic, 0x00000000, 0x000001F4, 0x0000001C, 0x00000000, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x00000020, 0x00000000, 0x00000008, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_802408E0_DE9050
.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0180, 0x00000004, 0x00000016, 0x00000001, 0x00000004, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x0000001C, 0x00000000, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFFFFFF9C, 0x00000055, 0x00000000, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A7C80, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFFFFFF9C, 0x0000001E, 0x00000000, 0x00000043, 0x00000003, GetCamDistance, 0x00000000, 0xFE363C81, 0x00000028, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C81, 0x0000000B, 0x00000002, 0x00002710, 0x00002710, 0x00000043, 0x00000004, GetCamPitch, 0x00000000, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0xFE363C82, 0x00002710, 0x00000013, 0x00000000, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x0000000B, func_8024004C_DE87BC, 0x00000003, 0x000000B4, 0x000000D7, 0x0000003C, 0x00000000, 0xFFFFFF9C, 0x00000055, 0x00000000, 0x0000001E, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000001, func_802401AC_DE891C, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, PlaySound, 0x80000067, 0x00000043, 0x00000001, func_80240000_DE8770, 0x00000043, 0x00000002, StopSound, 0x80000067, 0x00000043, 0x00000006, PlaySoundAt, 0x000000B2, 0x00000000, 0xFFFFFF9C, 0x00000055, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000002D, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0001002A, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x000000B4, 0x00000008, 0x00000001, 0x00000073, 0x00000043, 0x00000006, PlaySoundAt, 0x00000137, 0x00000000, 0xFFFFFF9C, 0x00000055, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, func_802405BC_DE8D2C, 0x00000001, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000050, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000057, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C81, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFFFFFF9C, 0x00000000, 0x00000000, 0x00000043, 0x00000002, func_802405BC_DE8D2C, 0x00000002, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A8A80, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000006, func_802405FC_DE8D6C, 0x00000003, 0xFFFFFF9C, 0x0000001E, 0x00000000, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000001, func_80240708_DE8E78, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000002, func_802405BC_DE8D2C, 0x00000003, 0x00000043, 0x00000003, PlaySoundAtPlayer, 0x00000138, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xF5DE0180, 0x00000005, 0x00000043, 0x00000004, GotoMapSpecial, 0x80243744, 0x00000003, 0x0000000E, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000
.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xF5DE0180, 0x00000004, 0x00000016, 0x00000001, 0x00000004, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x0000001C, 0x00000000, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFFFFFF9C, 0x00000055, 0x00000000, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A7C80, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFFFFFF9C, 0x0000001E, 0x00000000, 0x00000043, 0x00000003, GetCamDistance, 0x00000000, 0xFE363C81, 0x00000028, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C81, 0x0000000B, 0x00000002, 0x00002710, 0x00002710, 0x00000043, 0x00000004, GetCamPitch, 0x00000000, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0xFE363C82, 0x00002710, 0x00000013, 0x00000000, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x0000000B, omo_15_StarSpiritEffectFunc2, 0x00000003, 0x000000B4, 0x000000D7, 0x0000003C, 0x00000000, 0xFFFFFF9C, 0x00000055, 0x00000000, 0x0000001E, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000001, omo_15_StarSpiritEffectFunc3, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, PlaySound, 0x80000067, 0x00000043, 0x00000001, omo_15_StarSpiritEffectFunc1, 0x00000043, 0x00000002, StopSound, 0x80000067, 0x00000043, 0x00000006, PlaySoundAt, 0x000000B2, 0x00000000, 0xFFFFFF9C, 0x00000055, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000002D, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0001002A, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x000000B4, 0x00000008, 0x00000001, 0x00000073, 0x00000043, 0x00000006, PlaySoundAt, 0x00000137, 0x00000000, 0xFFFFFF9C, 0x00000055, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, omo_15_StarSpiritEffectFunc4, 0x00000001, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000050, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000057, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C81, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFFFFFF9C, 0x00000000, 0x00000000, 0x00000043, 0x00000002, omo_15_StarSpiritEffectFunc4, 0x00000002, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A8A80, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000006, omo_15_StarSpiritEffectFunc5, 0x00000003, 0xFFFFFF9C, 0x0000001E, 0x00000000, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000001, omo_15_StarSpiritEffectFunc6, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000002, omo_15_StarSpiritEffectFunc4, 0x00000003, 0x00000043, 0x00000003, PlaySoundAtPlayer, 0x00000138, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xF5DE0180, 0x00000005, 0x00000043, 0x00000004, GotoMapSpecial, 0x80243744, 0x00000003, 0x0000000E, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_80240D78_DE94E8
.word 0x0000004D, 0x00000001, 0x0000001B, 0x00000043, 0x00000003, UseExitHeading, 0x0000003C, 0x00000000, 0x00000044, 0x00000001, ExitWalk, 0x00000043, 0x00000003, GotoMap, 0x8024374C, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@ glabel D_802408B0_9C31C0
.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFFB2, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x00000052, 0x00000001, 0x00000008, 0x00000016, 0x00000001, 0xFFFFFFB2, 0x00000043, 0x00000003, FadeOutMusic, 0x00000000, 0x000001F4, 0x0000001C, 0x00000000, 0x00000043, 0x00000005, SetMusicTrack, 0x00000000, 0x00000014, 0x00000000, 0x00000008, 0x00000023, 0x00000000, 0x00000043, 0x00000002, UseDoorSounds, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_80240950_9C3260
.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000016, 0x00000001, 0xFFFFFFB1, 0x00000024, 0x00000002, 0xF5DE0180, 0xFFFFFFB2, 0x00000043, 0x00000003, GotoMap, 0x80242ABC, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0xFFFFFFB2, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000002, GetEntryID, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000013, 0x00000000, 0x0000001C, 0x00000000, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFFFFFF79, 0x00000055, 0x00000000, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A7CE7, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFFFFFF79, 0x0000001E, 0x00000000, 0x00000043, 0x00000003, GetCamDistance, 0x00000000, 0xFE363C81, 0x00000028, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C81, 0x0000000B, 0x00000002, 0x00002710, 0x00002710, 0x00000043, 0x00000004, GetCamPitch, 0x00000000, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0xFE363C82, 0x00002710, 0x00000013, 0x00000000, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x0000000B, func_8024004C_9C295C, 0x00000000, 0x000000B4, 0xFFFFFF79, 0x0000000A, 0x00000000, 0xFFFFFF79, 0x00000055, 0x00000000, 0x0000001E, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000001, func_802401AC_9C2ABC, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, PlaySound, 0x80000067, 0x00000043, 0x00000001, func_80240000_9C2910, 0x00000043, 0x00000002, StopSound, 0x80000067, 0x00000043, 0x00000006, PlaySoundAt, 0x000000B2, 0x00000000, 0xFFFFFF79, 0x00000055, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000002D, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0001002A, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x000000B4, 0x00000008, 0x00000001, 0x00000073, 0x00000043, 0x00000006, PlaySoundAt, 0x00000137, 0x00000000, 0xFFFFFF79, 0x00000055, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, func_802405BC_9C2ECC, 0x00000001, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000050, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000057, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C81, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFFFFFF79, 0x00000000, 0x00000000, 0x00000043, 0x00000002, func_802405BC_9C2ECC, 0x00000002, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000006, func_802405FC_9C2F0C, 0x00000000, 0xFFFFFF79, 0x0000001E, 0x00000000, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000001, func_80240708_9C3018, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000002, func_802405BC_9C2ECC, 0x00000003, 0x00000043, 0x00000003, PlaySoundAtPlayer, 0x00000138, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xF5DE0180, 0xFFFFFFB3, 0x00000043, 0x00000004, GotoMapSpecial, 0x80242AB4, 0x00000000, 0x0000000E, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000
.word 0x00000014, 0x00000001, 0xF5DE0180, 0x00000016, 0x00000001, 0xFFFFFFB1, 0x00000024, 0x00000002, 0xF5DE0180, 0xFFFFFFB2, 0x00000043, 0x00000003, GotoMap, 0x80242ABC, 0x00000002, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0xFFFFFFB2, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000002, GetEntryID, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000013, 0x00000000, 0x0000001C, 0x00000000, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFFFFFF79, 0x00000055, 0x00000000, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A7CE7, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFFFFFF79, 0x0000001E, 0x00000000, 0x00000043, 0x00000003, GetCamDistance, 0x00000000, 0xFE363C81, 0x00000028, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C81, 0x0000000B, 0x00000002, 0x00002710, 0x00002710, 0x00000043, 0x00000004, GetCamPitch, 0x00000000, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0xFE363C82, 0x00002710, 0x00000013, 0x00000000, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x0000000B, trd_10_StarSpiritEffectFunc2, 0x00000000, 0x000000B4, 0xFFFFFF79, 0x0000000A, 0x00000000, 0xFFFFFF79, 0x00000055, 0x00000000, 0x0000001E, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000001, trd_10_StarSpiritEffectFunc3, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, PlaySound, 0x80000067, 0x00000043, 0x00000001, trd_10_StarSpiritEffectFunc1, 0x00000043, 0x00000002, StopSound, 0x80000067, 0x00000043, 0x00000006, PlaySoundAt, 0x000000B2, 0x00000000, 0xFFFFFF79, 0x00000055, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000002D, 0x00000043, 0x00000002, SetPlayerAnimation, 0x0001002A, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x000000B4, 0x00000008, 0x00000001, 0x00000073, 0x00000043, 0x00000006, PlaySoundAt, 0x00000137, 0x00000000, 0xFFFFFF79, 0x00000055, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, trd_10_StarSpiritEffectFunc4, 0x00000001, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000050, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000057, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000064, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0xFE363C81, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFFFFFF79, 0x00000000, 0x00000000, 0x00000043, 0x00000002, trd_10_StarSpiritEffectFunc4, 0x00000002, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000006, trd_10_StarSpiritEffectFunc5, 0x00000000, 0xFFFFFF79, 0x0000001E, 0x00000000, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000001, trd_10_StarSpiritEffectFunc6, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000002, trd_10_StarSpiritEffectFunc4, 0x00000003, 0x00000043, 0x00000003, PlaySoundAtPlayer, 0x00000138, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000024, 0x00000002, 0xF5DE0180, 0xFFFFFFB3, 0x00000043, 0x00000004, GotoMapSpecial, 0x80242AB4, 0x00000000, 0x0000000E, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_80240E38_9C3748
.word 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0x00000029, 0x00000024, 0x00000002, 0xFE363C83, 0x00000027, 0x00000046, 0x00000001, EnterDoubleDoor, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFC, 0xFFFFFF03, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetNpcYaw, 0xFFFFFFFC, 0x0000005A, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000001, EnablePartnerAI, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000

View File

@ -238,7 +238,7 @@ glabel func_80240DC4_EA16C4
/* EA19E4 802410E4 00000000 */ nop
/* EA19E8 802410E8 45010003 */ bc1t .L802410F8
/* EA19EC 802410EC 00000000 */ nop
/* EA19F0 802410F0 0C019C10 */ jal func_80067040
/* EA19F0 802410F0 0C019C10 */ jal dead_sqrtf
/* EA19F4 802410F4 00000000 */ nop
.L802410F8:
/* EA19F8 802410F8 8E260038 */ lw $a2, 0x38($s1)

View File

@ -11,7 +11,7 @@ glabel func_8024267C_EA2F7C
/* EA2F94 80242694 8E020000 */ lw $v0, ($s0)
/* EA2F98 80242698 14400010 */ bnez $v0, .L802426DC
/* EA2F9C 8024269C 0080882D */ daddu $s1, $a0, $zero
/* EA2FA0 802426A0 0C00AFF5 */ jal func_8002BFD4
/* EA2FA0 802426A0 0C00AFF5 */ jal dead_heap_malloc
/* EA2FA4 802426A4 24040040 */ addiu $a0, $zero, 0x40
/* EA2FA8 802426A8 AE020000 */ sw $v0, ($s0)
/* EA2FAC 802426AC 0000182D */ daddu $v1, $zero, $zero

View File

@ -1,64 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242AE8_EA33E8
/* EA33E8 80242AE8 27BDFFE0 */ addiu $sp, $sp, -0x20
/* EA33EC 80242AEC AFB10014 */ sw $s1, 0x14($sp)
/* EA33F0 80242AF0 0080882D */ daddu $s1, $a0, $zero
/* EA33F4 80242AF4 AFBF0018 */ sw $ra, 0x18($sp)
/* EA33F8 80242AF8 AFB00010 */ sw $s0, 0x10($sp)
/* EA33FC 80242AFC 8E30000C */ lw $s0, 0xc($s1)
/* EA3400 80242B00 8E050000 */ lw $a1, ($s0)
/* EA3404 80242B04 0C0B53A3 */ jal dead_evt_get_variable
/* EA3408 80242B08 26100004 */ addiu $s0, $s0, 4
/* EA340C 80242B0C AE22008C */ sw $v0, 0x8c($s1)
/* EA3410 80242B10 8E050000 */ lw $a1, ($s0)
/* EA3414 80242B14 26100004 */ addiu $s0, $s0, 4
/* EA3418 80242B18 0C0B53A3 */ jal dead_evt_get_variable
/* EA341C 80242B1C 0220202D */ daddu $a0, $s1, $zero
/* EA3420 80242B20 AE220090 */ sw $v0, 0x90($s1)
/* EA3424 80242B24 8E050000 */ lw $a1, ($s0)
/* EA3428 80242B28 26100004 */ addiu $s0, $s0, 4
/* EA342C 80242B2C 0C0B53A3 */ jal dead_evt_get_variable
/* EA3430 80242B30 0220202D */ daddu $a0, $s1, $zero
/* EA3434 80242B34 AE220094 */ sw $v0, 0x94($s1)
/* EA3438 80242B38 8E050000 */ lw $a1, ($s0)
/* EA343C 80242B3C 26100004 */ addiu $s0, $s0, 4
/* EA3440 80242B40 0C0B53A3 */ jal dead_evt_get_variable
/* EA3444 80242B44 0220202D */ daddu $a0, $s1, $zero
/* EA3448 80242B48 AE220098 */ sw $v0, 0x98($s1)
/* EA344C 80242B4C 8E050000 */ lw $a1, ($s0)
/* EA3450 80242B50 26100004 */ addiu $s0, $s0, 4
/* EA3454 80242B54 0C0B53A3 */ jal dead_evt_get_variable
/* EA3458 80242B58 0220202D */ daddu $a0, $s1, $zero
/* EA345C 80242B5C AE22009C */ sw $v0, 0x9c($s1)
/* EA3460 80242B60 8E050000 */ lw $a1, ($s0)
/* EA3464 80242B64 26100004 */ addiu $s0, $s0, 4
/* EA3468 80242B68 0C0B53A3 */ jal dead_evt_get_variable
/* EA346C 80242B6C 0220202D */ daddu $a0, $s1, $zero
/* EA3470 80242B70 AE2200A0 */ sw $v0, 0xa0($s1)
/* EA3474 80242B74 8E050000 */ lw $a1, ($s0)
/* EA3478 80242B78 26100004 */ addiu $s0, $s0, 4
/* EA347C 80242B7C 0C0B53A3 */ jal dead_evt_get_variable
/* EA3480 80242B80 0220202D */ daddu $a0, $s1, $zero
/* EA3484 80242B84 AE2200A4 */ sw $v0, 0xa4($s1)
/* EA3488 80242B88 8E050000 */ lw $a1, ($s0)
/* EA348C 80242B8C 26100004 */ addiu $s0, $s0, 4
/* EA3490 80242B90 0C0B53A3 */ jal dead_evt_get_variable
/* EA3494 80242B94 0220202D */ daddu $a0, $s1, $zero
/* EA3498 80242B98 AE2200A8 */ sw $v0, 0xa8($s1)
/* EA349C 80242B9C 8E050000 */ lw $a1, ($s0)
/* EA34A0 80242BA0 26100004 */ addiu $s0, $s0, 4
/* EA34A4 80242BA4 0C0B53A3 */ jal dead_evt_get_variable
/* EA34A8 80242BA8 0220202D */ daddu $a0, $s1, $zero
/* EA34AC 80242BAC AE2200AC */ sw $v0, 0xac($s1)
/* EA34B0 80242BB0 8E050000 */ lw $a1, ($s0)
/* EA34B4 80242BB4 0C0B53A3 */ jal dead_evt_get_variable
/* EA34B8 80242BB8 0220202D */ daddu $a0, $s1, $zero
/* EA34BC 80242BBC AE2200B0 */ sw $v0, 0xb0($s1)
/* EA34C0 80242BC0 8FBF0018 */ lw $ra, 0x18($sp)
/* EA34C4 80242BC4 8FB10014 */ lw $s1, 0x14($sp)
/* EA34C8 80242BC8 8FB00010 */ lw $s0, 0x10($sp)
/* EA34CC 80242BCC 24020002 */ addiu $v0, $zero, 2
/* EA34D0 80242BD0 03E00008 */ jr $ra
/* EA34D4 80242BD4 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,12 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242DE0_EA36E0
/* EA36E0 80242DE0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* EA36E4 80242DE4 AFBF0010 */ sw $ra, 0x10($sp)
/* EA36E8 80242DE8 0C03C7BE */ jal func_800F1EF8
/* EA36EC 80242DEC 24040001 */ addiu $a0, $zero, 1
/* EA36F0 80242DF0 8FBF0010 */ lw $ra, 0x10($sp)
/* EA36F4 80242DF4 24020002 */ addiu $v0, $zero, 2
/* EA36F8 80242DF8 03E00008 */ jr $ra
/* EA36FC 80242DFC 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,43 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242E2C_EA372C
/* EA372C 80242E2C 27BDFFD0 */ addiu $sp, $sp, -0x30
/* EA3730 80242E30 AFB00028 */ sw $s0, 0x28($sp)
/* EA3734 80242E34 0080802D */ daddu $s0, $a0, $zero
/* EA3738 80242E38 AFBF002C */ sw $ra, 0x2c($sp)
/* EA373C 80242E3C C6000084 */ lwc1 $f0, 0x84($s0)
/* EA3740 80242E40 46800020 */ cvt.s.w $f0, $f0
/* EA3744 80242E44 E7A00018 */ swc1 $f0, 0x18($sp)
/* EA3748 80242E48 C600008C */ lwc1 $f0, 0x8c($s0)
/* EA374C 80242E4C 46800020 */ cvt.s.w $f0, $f0
/* EA3750 80242E50 27A20024 */ addiu $v0, $sp, 0x24
/* EA3754 80242E54 3C040001 */ lui $a0, 1
/* EA3758 80242E58 27A50018 */ addiu $a1, $sp, 0x18
/* EA375C 80242E5C 27A6001C */ addiu $a2, $sp, 0x1c
/* EA3760 80242E60 3C0144FA */ lui $at, 0x44fa
/* EA3764 80242E64 44811000 */ mtc1 $at, $f2
/* EA3768 80242E68 27A70020 */ addiu $a3, $sp, 0x20
/* EA376C 80242E6C E7A0001C */ swc1 $f0, 0x1c($sp)
/* EA3770 80242E70 AFA00020 */ sw $zero, 0x20($sp)
/* EA3774 80242E74 E7A20024 */ swc1 $f2, 0x24($sp)
/* EA3778 80242E78 0C03908F */ jal dead_npc_raycast_down_sides
/* EA377C 80242E7C AFA20010 */ sw $v0, 0x10($sp)
/* EA3780 80242E80 1040000B */ beqz $v0, .L80242EB0
/* EA3784 80242E84 00000000 */ nop
/* EA3788 80242E88 C7A2001C */ lwc1 $f2, 0x1c($sp)
/* EA378C 80242E8C 3C01425C */ lui $at, 0x425c
/* EA3790 80242E90 44810000 */ mtc1 $at, $f0
/* EA3794 80242E94 00000000 */ nop
/* EA3798 80242E98 46001080 */ add.s $f2, $f2, $f0
/* EA379C 80242E9C C7A00018 */ lwc1 $f0, 0x18($sp)
/* EA37A0 80242EA0 4600010D */ trunc.w.s $f4, $f0
/* EA37A4 80242EA4 E6040084 */ swc1 $f4, 0x84($s0)
/* EA37A8 80242EA8 4600110D */ trunc.w.s $f4, $f2
/* EA37AC 80242EAC E604008C */ swc1 $f4, 0x8c($s0)
.L80242EB0:
/* EA37B0 80242EB0 8FBF002C */ lw $ra, 0x2c($sp)
/* EA37B4 80242EB4 8FB00028 */ lw $s0, 0x28($sp)
/* EA37B8 80242EB8 24020002 */ addiu $v0, $zero, 2
/* EA37BC 80242EBC 03E00008 */ jr $ra
/* EA37C0 80242EC0 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -1,7 +1,7 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242EC4_EA37C4
glabel EA36E0_UnkFunc47
/* EA37C4 80242EC4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* EA37C8 80242EC8 AFB00010 */ sw $s0, 0x10($sp)
/* EA37CC 80242ECC 0080802D */ daddu $s0, $a0, $zero
@ -33,7 +33,7 @@ glabel func_80242EC4_EA37C4
/* EA3834 80242F34 00000000 */ nop
/* EA3838 80242F38 45010003 */ bc1t .L80242F48
/* EA383C 80242F3C 00000000 */ nop
/* EA3840 80242F40 0C019C10 */ jal func_80067040
/* EA3840 80242F40 0C019C10 */ jal dead_sqrtf
/* EA3844 80242F44 00000000 */ nop
.L80242F48:
/* EA3848 80242F48 4600020D */ trunc.w.s $f8, $f0

View File

@ -1,18 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242F64_EA3864
/* EA3864 80242F64 27BDFFE8 */ addiu $sp, $sp, -0x18
/* EA3868 80242F68 AFBF0010 */ sw $ra, 0x10($sp)
/* EA386C 80242F6C 8C82000C */ lw $v0, 0xc($a0)
/* EA3870 80242F70 0C0B53A3 */ jal dead_evt_get_variable
/* EA3874 80242F74 8C450000 */ lw $a1, ($v0)
/* EA3878 80242F78 44820000 */ mtc1 $v0, $f0
/* EA387C 80242F7C 00000000 */ nop
/* EA3880 80242F80 46800020 */ cvt.s.w $f0, $f0
/* EA3884 80242F84 8FBF0010 */ lw $ra, 0x10($sp)
/* EA3888 80242F88 24020002 */ addiu $v0, $zero, 2
/* EA388C 80242F8C 3C018011 */ lui $at, %hi(D_80117604)
/* EA3890 80242F90 E4207604 */ swc1 $f0, %lo(D_80117604)($at)
/* EA3894 80242F94 03E00008 */ jr $ra
/* EA3898 80242F98 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,60 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.section .rodata
glabel D_802466B0_EA6FB0
.double 35.0
glabel D_802466B8_EA6FB8
.double 2.3
.section .text
glabel func_80242F9C_EA389C
/* EA389C 80242F9C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* EA38A0 80242FA0 AFB00010 */ sw $s0, 0x10($sp)
/* EA38A4 80242FA4 0080802D */ daddu $s0, $a0, $zero
/* EA38A8 80242FA8 AFBF0014 */ sw $ra, 0x14($sp)
/* EA38AC 80242FAC F7B40018 */ sdc1 $f20, 0x18($sp)
/* EA38B0 80242FB0 C60C0090 */ lwc1 $f12, 0x90($s0)
/* EA38B4 80242FB4 46806320 */ cvt.s.w $f12, $f12
/* EA38B8 80242FB8 3C018024 */ lui $at, %hi(D_802466B0_EA6FB0)
/* EA38BC 80242FBC D43466B0 */ ldc1 $f20, %lo(D_802466B0_EA6FB0)($at)
/* EA38C0 80242FC0 46006307 */ neg.s $f12, $f12
/* EA38C4 80242FC4 46006321 */ cvt.d.s $f12, $f12
/* EA38C8 80242FC8 46346301 */ sub.d $f12, $f12, $f20
/* EA38CC 80242FCC 0C00AD90 */ jal dead_cos_deg
/* EA38D0 80242FD0 46206320 */ cvt.s.d $f12, $f12
/* EA38D4 80242FD4 3C014008 */ lui $at, 0x4008
/* EA38D8 80242FD8 44811800 */ mtc1 $at, $f3
/* EA38DC 80242FDC 44801000 */ mtc1 $zero, $f2
/* EA38E0 80242FE0 46000021 */ cvt.d.s $f0, $f0
/* EA38E4 80242FE4 46220002 */ mul.d $f0, $f0, $f2
/* EA38E8 80242FE8 00000000 */ nop
/* EA38EC 80242FEC C60C0090 */ lwc1 $f12, 0x90($s0)
/* EA38F0 80242FF0 46806320 */ cvt.s.w $f12, $f12
/* EA38F4 80242FF4 46006307 */ neg.s $f12, $f12
/* EA38F8 80242FF8 46006321 */ cvt.d.s $f12, $f12
/* EA38FC 80242FFC 46346301 */ sub.d $f12, $f12, $f20
/* EA3900 80243000 3C018024 */ lui $at, %hi(D_802466B8_EA6FB8)
/* EA3904 80243004 D42266B8 */ ldc1 $f2, %lo(D_802466B8_EA6FB8)($at)
/* EA3908 80243008 46220001 */ sub.d $f0, $f0, $f2
/* EA390C 8024300C 4620010D */ trunc.w.d $f4, $f0
/* EA3910 80243010 E6040098 */ swc1 $f4, 0x98($s0)
/* EA3914 80243014 0C00AD77 */ jal dead_sin_deg
/* EA3918 80243018 46206320 */ cvt.s.d $f12, $f12
/* EA391C 8024301C 3C014014 */ lui $at, 0x4014
/* EA3920 80243020 44811800 */ mtc1 $at, $f3
/* EA3924 80243024 44801000 */ mtc1 $zero, $f2
/* EA3928 80243028 46000021 */ cvt.d.s $f0, $f0
/* EA392C 8024302C 46220002 */ mul.d $f0, $f0, $f2
/* EA3930 80243030 00000000 */ nop
/* EA3934 80243034 4620010D */ trunc.w.d $f4, $f0
/* EA3938 80243038 E604009C */ swc1 $f4, 0x9c($s0)
/* EA393C 8024303C 8FBF0014 */ lw $ra, 0x14($sp)
/* EA3940 80243040 8FB00010 */ lw $s0, 0x10($sp)
/* EA3944 80243044 D7B40018 */ ldc1 $f20, 0x18($sp)
/* EA3948 80243048 24020002 */ addiu $v0, $zero, 2
/* EA394C 8024304C 03E00008 */ jr $ra
/* EA3950 80243050 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -38,7 +38,7 @@ glabel func_80243054_EA3954
/* EA39B0 802430B0 00000000 */ nop
/* EA39B4 802430B4 45030004 */ bc1tl .L802430C8
/* EA39B8 802430B8 46000007 */ neg.s $f0, $f0
/* EA39BC 802430BC 0C019C10 */ jal func_80067040
/* EA39BC 802430BC 0C019C10 */ jal dead_sqrtf
/* EA39C0 802430C0 00000000 */ nop
/* EA39C4 802430C4 46000007 */ neg.s $f0, $f0
.L802430C8:

View File

@ -1,43 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802430E4_EA39E4
/* EA39E4 802430E4 27BDFFD8 */ addiu $sp, $sp, -0x28
/* EA39E8 802430E8 AFB1001C */ sw $s1, 0x1c($sp)
/* EA39EC 802430EC 0080882D */ daddu $s1, $a0, $zero
/* EA39F0 802430F0 AFBF0020 */ sw $ra, 0x20($sp)
/* EA39F4 802430F4 AFB00018 */ sw $s0, 0x18($sp)
/* EA39F8 802430F8 8E30000C */ lw $s0, 0xc($s1)
/* EA39FC 802430FC 8E050000 */ lw $a1, ($s0)
/* EA3A00 80243100 0C0B53A3 */ jal dead_evt_get_variable
/* EA3A04 80243104 26100004 */ addiu $s0, $s0, 4
/* EA3A08 80243108 AE220070 */ sw $v0, 0x70($s1)
/* EA3A0C 8024310C 8E050000 */ lw $a1, ($s0)
/* EA3A10 80243110 26100004 */ addiu $s0, $s0, 4
/* EA3A14 80243114 0C0B53A3 */ jal dead_evt_get_variable
/* EA3A18 80243118 0220202D */ daddu $a0, $s1, $zero
/* EA3A1C 8024311C AE220074 */ sw $v0, 0x74($s1)
/* EA3A20 80243120 8E050000 */ lw $a1, ($s0)
/* EA3A24 80243124 0C0B53A3 */ jal dead_evt_get_variable
/* EA3A28 80243128 0220202D */ daddu $a0, $s1, $zero
/* EA3A2C 8024312C 24040052 */ addiu $a0, $zero, 0x52
/* EA3A30 80243130 0000282D */ daddu $a1, $zero, $zero
/* EA3A34 80243134 C6200070 */ lwc1 $f0, 0x70($s1)
/* EA3A38 80243138 46800020 */ cvt.s.w $f0, $f0
/* EA3A3C 8024313C C6220074 */ lwc1 $f2, 0x74($s1)
/* EA3A40 80243140 468010A0 */ cvt.s.w $f2, $f2
/* EA3A44 80243144 44060000 */ mfc1 $a2, $f0
/* EA3A48 80243148 44071000 */ mfc1 $a3, $f2
/* EA3A4C 8024314C 44820000 */ mtc1 $v0, $f0
/* EA3A50 80243150 00000000 */ nop
/* EA3A54 80243154 46800020 */ cvt.s.w $f0, $f0
/* EA3A58 80243158 AE220078 */ sw $v0, 0x78($s1)
/* EA3A5C 8024315C 0C055C13 */ jal func_8015704C
/* EA3A60 80243160 E7A00010 */ swc1 $f0, 0x10($sp)
/* EA3A64 80243164 8FBF0020 */ lw $ra, 0x20($sp)
/* EA3A68 80243168 8FB1001C */ lw $s1, 0x1c($sp)
/* EA3A6C 8024316C 8FB00018 */ lw $s0, 0x18($sp)
/* EA3A70 80243170 24020002 */ addiu $v0, $zero, 2
/* EA3A74 80243174 03E00008 */ jr $ra
/* EA3A78 80243178 27BD0028 */ addiu $sp, $sp, 0x28
/* EA3A7C 8024317C 00000000 */ nop

View File

@ -1,11 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024036C_EA733C
/* EA733C 8024036C 3C03800C */ lui $v1, %hi(dead_gCameras)
/* EA7340 80240370 24638D80 */ addiu $v1, $v1, %lo(dead_gCameras)
/* EA7344 80240374 94620000 */ lhu $v0, ($v1)
/* EA7348 80240378 3042EFFF */ andi $v0, $v0, 0xefff
/* EA734C 8024037C A4620000 */ sh $v0, ($v1)
/* EA7350 80240380 03E00008 */ jr $ra
/* EA7354 80240384 24020002 */ addiu $v0, $zero, 2

View File

@ -1,18 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240388_EA7358
/* EA7358 80240388 27BDFFE8 */ addiu $sp, $sp, -0x18
/* EA735C 8024038C AFBF0010 */ sw $ra, 0x10($sp)
/* EA7360 80240390 8C82000C */ lw $v0, 0xc($a0)
/* EA7364 80240394 3C068017 */ lui $a2, %hi(D_80169B12)
/* EA7368 80240398 84C69B12 */ lh $a2, %lo(D_80169B12)($a2)
/* EA736C 8024039C 0C0B551A */ jal dead_evt_set_variable
/* EA7370 802403A0 8C450000 */ lw $a1, ($v0)
/* EA7374 802403A4 8FBF0010 */ lw $ra, 0x10($sp)
/* EA7378 802403A8 24020002 */ addiu $v0, $zero, 2
/* EA737C 802403AC 03E00008 */ jr $ra
/* EA7380 802403B0 27BD0018 */ addiu $sp, $sp, 0x18
/* EA7384 802403B4 00000000 */ nop
/* EA7388 802403B8 00000000 */ nop
/* EA738C 802403BC 00000000 */ nop

View File

@ -1,23 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024030C_EA8DEC
/* EA8DEC 8024030C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* EA8DF0 80240310 AFBF001C */ sw $ra, 0x1c($sp)
/* EA8DF4 80240314 AFB00018 */ sw $s0, 0x18($sp)
/* EA8DF8 80240318 8C900084 */ lw $s0, 0x84($a0)
/* EA8DFC 8024031C C6000008 */ lwc1 $f0, 8($s0)
/* EA8E00 80240320 240400A2 */ addiu $a0, $zero, 0xa2
/* EA8E04 80240324 E7A00010 */ swc1 $f0, 0x10($sp)
/* EA8E08 80240328 8E060000 */ lw $a2, ($s0)
/* EA8E0C 8024032C 8E070004 */ lw $a3, 4($s0)
/* EA8E10 80240330 0C055C13 */ jal func_8015704C
/* EA8E14 80240334 0000282D */ daddu $a1, $zero, $zero
/* EA8E18 80240338 86020044 */ lh $v0, 0x44($s0)
/* EA8E1C 8024033C 8FBF001C */ lw $ra, 0x1c($sp)
/* EA8E20 80240340 8FB00018 */ lw $s0, 0x18($sp)
/* EA8E24 80240344 28420002 */ slti $v0, $v0, 2
/* EA8E28 80240348 38420001 */ xori $v0, $v0, 1
/* EA8E2C 8024034C 00021040 */ sll $v0, $v0, 1
/* EA8E30 80240350 03E00008 */ jr $ra
/* EA8E34 80240354 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,93 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240358_EA8E38
/* EA8E38 80240358 27BDFFD8 */ addiu $sp, $sp, -0x28
/* EA8E3C 8024035C AFB20020 */ sw $s2, 0x20($sp)
/* EA8E40 80240360 0080902D */ daddu $s2, $a0, $zero
/* EA8E44 80240364 AFBF0024 */ sw $ra, 0x24($sp)
/* EA8E48 80240368 AFB1001C */ sw $s1, 0x1c($sp)
/* EA8E4C 8024036C AFB00018 */ sw $s0, 0x18($sp)
/* EA8E50 80240370 10A0004A */ beqz $a1, .L8024049C
/* EA8E54 80240374 8E51000C */ lw $s1, 0xc($s2)
/* EA8E58 80240378 0C00AFF5 */ jal func_8002BFD4
/* EA8E5C 8024037C 24040058 */ addiu $a0, $zero, 0x58
/* EA8E60 80240380 0000202D */ daddu $a0, $zero, $zero
/* EA8E64 80240384 3C05FD05 */ lui $a1, 0xfd05
/* EA8E68 80240388 34A50F81 */ ori $a1, $a1, 0xf81
/* EA8E6C 8024038C 0040802D */ daddu $s0, $v0, $zero
/* EA8E70 80240390 0200302D */ daddu $a2, $s0, $zero
/* EA8E74 80240394 0C0B551A */ jal dead_evt_set_variable
/* EA8E78 80240398 AE500084 */ sw $s0, 0x84($s2)
/* EA8E7C 8024039C 8E250000 */ lw $a1, ($s1)
/* EA8E80 802403A0 26310004 */ addiu $s1, $s1, 4
/* EA8E84 802403A4 0C0B53A3 */ jal dead_evt_get_variable
/* EA8E88 802403A8 0240202D */ daddu $a0, $s2, $zero
/* EA8E8C 802403AC AE020038 */ sw $v0, 0x38($s0)
/* EA8E90 802403B0 8E250000 */ lw $a1, ($s1)
/* EA8E94 802403B4 26310004 */ addiu $s1, $s1, 4
/* EA8E98 802403B8 0C0B53A3 */ jal dead_evt_get_variable
/* EA8E9C 802403BC 0240202D */ daddu $a0, $s2, $zero
/* EA8EA0 802403C0 AE02003C */ sw $v0, 0x3c($s0)
/* EA8EA4 802403C4 8E250000 */ lw $a1, ($s1)
/* EA8EA8 802403C8 26310004 */ addiu $s1, $s1, 4
/* EA8EAC 802403CC 0C0B55FF */ jal dead_evt_get_float_variable
/* EA8EB0 802403D0 0240202D */ daddu $a0, $s2, $zero
/* EA8EB4 802403D4 E600000C */ swc1 $f0, 0xc($s0)
/* EA8EB8 802403D8 8E250000 */ lw $a1, ($s1)
/* EA8EBC 802403DC 26310004 */ addiu $s1, $s1, 4
/* EA8EC0 802403E0 0C0B55FF */ jal dead_evt_get_float_variable
/* EA8EC4 802403E4 0240202D */ daddu $a0, $s2, $zero
/* EA8EC8 802403E8 E6000010 */ swc1 $f0, 0x10($s0)
/* EA8ECC 802403EC 8E250000 */ lw $a1, ($s1)
/* EA8ED0 802403F0 26310004 */ addiu $s1, $s1, 4
/* EA8ED4 802403F4 0C0B55FF */ jal dead_evt_get_float_variable
/* EA8ED8 802403F8 0240202D */ daddu $a0, $s2, $zero
/* EA8EDC 802403FC E6000014 */ swc1 $f0, 0x14($s0)
/* EA8EE0 80240400 8E250000 */ lw $a1, ($s1)
/* EA8EE4 80240404 26310004 */ addiu $s1, $s1, 4
/* EA8EE8 80240408 0C0B55FF */ jal dead_evt_get_float_variable
/* EA8EEC 8024040C 0240202D */ daddu $a0, $s2, $zero
/* EA8EF0 80240410 E6000018 */ swc1 $f0, 0x18($s0)
/* EA8EF4 80240414 8E250000 */ lw $a1, ($s1)
/* EA8EF8 80240418 26310004 */ addiu $s1, $s1, 4
/* EA8EFC 8024041C 0C0B55FF */ jal dead_evt_get_float_variable
/* EA8F00 80240420 0240202D */ daddu $a0, $s2, $zero
/* EA8F04 80240424 E600001C */ swc1 $f0, 0x1c($s0)
/* EA8F08 80240428 8E250000 */ lw $a1, ($s1)
/* EA8F0C 8024042C 26310004 */ addiu $s1, $s1, 4
/* EA8F10 80240430 0C0B55FF */ jal dead_evt_get_float_variable
/* EA8F14 80240434 0240202D */ daddu $a0, $s2, $zero
/* EA8F18 80240438 E6000020 */ swc1 $f0, 0x20($s0)
/* EA8F1C 8024043C 8E250000 */ lw $a1, ($s1)
/* EA8F20 80240440 26310004 */ addiu $s1, $s1, 4
/* EA8F24 80240444 0C0B55FF */ jal dead_evt_get_float_variable
/* EA8F28 80240448 0240202D */ daddu $a0, $s2, $zero
/* EA8F2C 8024044C E6000024 */ swc1 $f0, 0x24($s0)
/* EA8F30 80240450 8E250000 */ lw $a1, ($s1)
/* EA8F34 80240454 0C0B55FF */ jal dead_evt_get_float_variable
/* EA8F38 80240458 0240202D */ daddu $a0, $s2, $zero
/* EA8F3C 8024045C 3C013F80 */ lui $at, 0x3f80
/* EA8F40 80240460 44811000 */ mtc1 $at, $f2
/* EA8F44 80240464 E6000028 */ swc1 $f0, 0x28($s0)
/* EA8F48 80240468 AFA00014 */ sw $zero, 0x14($sp)
/* EA8F4C 8024046C E7A20010 */ swc1 $f2, 0x10($sp)
/* EA8F50 80240470 8E05000C */ lw $a1, 0xc($s0)
/* EA8F54 80240474 8E060010 */ lw $a2, 0x10($s0)
/* EA8F58 80240478 8E070014 */ lw $a3, 0x14($s0)
/* EA8F5C 8024047C 0C01DF0C */ jal func_80077C30
/* EA8F60 80240480 24040002 */ addiu $a0, $zero, 2
/* EA8F64 80240484 AE020050 */ sw $v0, 0x50($s0)
/* EA8F68 80240488 A600004E */ sh $zero, 0x4e($s0)
/* EA8F6C 8024048C A6000048 */ sh $zero, 0x48($s0)
/* EA8F70 80240490 A600004A */ sh $zero, 0x4a($s0)
/* EA8F74 80240494 A6000044 */ sh $zero, 0x44($s0)
/* EA8F78 80240498 A6000046 */ sh $zero, 0x46($s0)
.L8024049C:
/* EA8F7C 8024049C 8FBF0024 */ lw $ra, 0x24($sp)
/* EA8F80 802404A0 8FB20020 */ lw $s2, 0x20($sp)
/* EA8F84 802404A4 8FB1001C */ lw $s1, 0x1c($sp)
/* EA8F88 802404A8 8FB00018 */ lw $s0, 0x18($sp)
/* EA8F8C 802404AC 24020002 */ addiu $v0, $zero, 2
/* EA8F90 802404B0 03E00008 */ jr $ra
/* EA8F94 802404B4 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,283 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.section .rodata
glabel jtbl_80248340_EB0E20
.word L802404F8_EA8FD8, L802405B8_EA9098, L80240600_EA90E0, L802406A0_EA9180, L80240708_EA91E8
.section .text
glabel func_802404B8_EA8F98
/* EA8F98 802404B8 27BDFFD8 */ addiu $sp, $sp, -0x28
/* EA8F9C 802404BC AFBF0020 */ sw $ra, 0x20($sp)
/* EA8FA0 802404C0 AFB1001C */ sw $s1, 0x1c($sp)
/* EA8FA4 802404C4 AFB00018 */ sw $s0, 0x18($sp)
/* EA8FA8 802404C8 8C910084 */ lw $s1, 0x84($a0)
/* EA8FAC 802404CC 86230044 */ lh $v1, 0x44($s1)
/* EA8FB0 802404D0 3C108011 */ lui $s0, %hi(dead_gPlayerStatus)
/* EA8FB4 802404D4 26107578 */ addiu $s0, $s0, %lo(dead_gPlayerStatus)
/* EA8FB8 802404D8 2C620005 */ sltiu $v0, $v1, 5
/* EA8FBC 802404DC 1040008A */ beqz $v0, L80240708_EA91E8
/* EA8FC0 802404E0 00031080 */ sll $v0, $v1, 2
/* EA8FC4 802404E4 3C018025 */ lui $at, %hi(jtbl_80248340_EB0E20)
/* EA8FC8 802404E8 00220821 */ addu $at, $at, $v0
/* EA8FCC 802404EC 8C228340 */ lw $v0, %lo(jtbl_80248340_EB0E20)($at)
/* EA8FD0 802404F0 00400008 */ jr $v0
/* EA8FD4 802404F4 00000000 */ nop
glabel L802404F8_EA8FD8
/* EA8FD8 802404F8 8E22003C */ lw $v0, 0x3c($s1)
/* EA8FDC 802404FC 86270046 */ lh $a3, 0x46($s1)
/* EA8FE0 80240500 AFA20010 */ sw $v0, 0x10($sp)
/* EA8FE4 80240504 8E250010 */ lw $a1, 0x10($s1)
/* EA8FE8 80240508 8E26001C */ lw $a2, 0x1c($s1)
/* EA8FEC 8024050C 0C00ADA9 */ jal func_8002B6A4
/* EA8FF0 80240510 24040005 */ addiu $a0, $zero, 5
/* EA8FF4 80240514 86270046 */ lh $a3, 0x46($s1)
/* EA8FF8 80240518 8E22003C */ lw $v0, 0x3c($s1)
/* EA8FFC 8024051C E6200004 */ swc1 $f0, 4($s1)
/* EA9000 80240520 AFA20010 */ sw $v0, 0x10($sp)
/* EA9004 80240524 8E25000C */ lw $a1, 0xc($s1)
/* EA9008 80240528 8E260018 */ lw $a2, 0x18($s1)
/* EA900C 8024052C 0C00ADA9 */ jal func_8002B6A4
/* EA9010 80240530 0000202D */ daddu $a0, $zero, $zero
/* EA9014 80240534 86270046 */ lh $a3, 0x46($s1)
/* EA9018 80240538 8E22003C */ lw $v0, 0x3c($s1)
/* EA901C 8024053C E6200000 */ swc1 $f0, ($s1)
/* EA9020 80240540 AFA20010 */ sw $v0, 0x10($sp)
/* EA9024 80240544 8E250014 */ lw $a1, 0x14($s1)
/* EA9028 80240548 8E260020 */ lw $a2, 0x20($s1)
/* EA902C 8024054C 0C00ADA9 */ jal func_8002B6A4
/* EA9030 80240550 0000202D */ daddu $a0, $zero, $zero
/* EA9034 80240554 8E220050 */ lw $v0, 0x50($s1)
/* EA9038 80240558 E6200008 */ swc1 $f0, 8($s1)
/* EA903C 8024055C C6200000 */ lwc1 $f0, ($s1)
/* EA9040 80240560 8C42000C */ lw $v0, 0xc($v0)
/* EA9044 80240564 E4400008 */ swc1 $f0, 8($v0)
/* EA9048 80240568 8E220050 */ lw $v0, 0x50($s1)
/* EA904C 8024056C C6200004 */ lwc1 $f0, 4($s1)
/* EA9050 80240570 8C42000C */ lw $v0, 0xc($v0)
/* EA9054 80240574 E440000C */ swc1 $f0, 0xc($v0)
/* EA9058 80240578 8E220050 */ lw $v0, 0x50($s1)
/* EA905C 8024057C C6200008 */ lwc1 $f0, 8($s1)
/* EA9060 80240580 8C42000C */ lw $v0, 0xc($v0)
/* EA9064 80240584 E4400010 */ swc1 $f0, 0x10($v0)
/* EA9068 80240588 96220046 */ lhu $v0, 0x46($s1)
/* EA906C 8024058C 8E23003C */ lw $v1, 0x3c($s1)
/* EA9070 80240590 24420001 */ addiu $v0, $v0, 1
/* EA9074 80240594 A6220046 */ sh $v0, 0x46($s1)
/* EA9078 80240598 00021400 */ sll $v0, $v0, 0x10
/* EA907C 8024059C 00021403 */ sra $v0, $v0, 0x10
/* EA9080 802405A0 0043102A */ slt $v0, $v0, $v1
/* EA9084 802405A4 14400058 */ bnez $v0, L80240708_EA91E8
/* EA9088 802405A8 24020001 */ addiu $v0, $zero, 1
/* EA908C 802405AC A6220044 */ sh $v0, 0x44($s1)
/* EA9090 802405B0 080901C2 */ j L80240708_EA91E8
/* EA9094 802405B4 A6200046 */ sh $zero, 0x46($s1)
glabel L802405B8_EA9098
/* EA9098 802405B8 96220046 */ lhu $v0, 0x46($s1)
/* EA909C 802405BC 24420001 */ addiu $v0, $v0, 1
/* EA90A0 802405C0 A6220046 */ sh $v0, 0x46($s1)
/* EA90A4 802405C4 00021400 */ sll $v0, $v0, 0x10
/* EA90A8 802405C8 00021403 */ sra $v0, $v0, 0x10
/* EA90AC 802405CC 2842003C */ slti $v0, $v0, 0x3c
/* EA90B0 802405D0 1440004D */ bnez $v0, L80240708_EA91E8
/* EA90B4 802405D4 24020002 */ addiu $v0, $zero, 2
/* EA90B8 802405D8 8E230050 */ lw $v1, 0x50($s1)
/* EA90BC 802405DC A6220044 */ sh $v0, 0x44($s1)
/* EA90C0 802405E0 A6200046 */ sh $zero, 0x46($s1)
/* EA90C4 802405E4 8C63000C */ lw $v1, 0xc($v1)
/* EA90C8 802405E8 24020001 */ addiu $v0, $zero, 1
/* EA90CC 802405EC AC620070 */ sw $v0, 0x70($v1)
/* EA90D0 802405F0 8E220050 */ lw $v0, 0x50($s1)
/* EA90D4 802405F4 8C42000C */ lw $v0, 0xc($v0)
/* EA90D8 802405F8 080901C2 */ j L80240708_EA91E8
/* EA90DC 802405FC AC400074 */ sw $zero, 0x74($v0)
glabel L80240600_EA90E0
/* EA90E0 80240600 96220046 */ lhu $v0, 0x46($s1)
/* EA90E4 80240604 24420001 */ addiu $v0, $v0, 1
/* EA90E8 80240608 A6220046 */ sh $v0, 0x46($s1)
/* EA90EC 8024060C 00021400 */ sll $v0, $v0, 0x10
/* EA90F0 80240610 00021403 */ sra $v0, $v0, 0x10
/* EA90F4 80240614 2842003C */ slti $v0, $v0, 0x3c
/* EA90F8 80240618 1440003B */ bnez $v0, L80240708_EA91E8
/* EA90FC 8024061C 00000000 */ nop
/* EA9100 80240620 3C013F80 */ lui $at, 0x3f80
/* EA9104 80240624 44810000 */ mtc1 $at, $f0
/* EA9108 80240628 AFA00014 */ sw $zero, 0x14($sp)
/* EA910C 8024062C E7A00010 */ swc1 $f0, 0x10($sp)
/* EA9110 80240630 8E250018 */ lw $a1, 0x18($s1)
/* EA9114 80240634 8E26001C */ lw $a2, 0x1c($s1)
/* EA9118 80240638 8E270020 */ lw $a3, 0x20($s1)
/* EA911C 8024063C 0C01DE4C */ jal func_80077930
/* EA9120 80240640 24040001 */ addiu $a0, $zero, 1
/* EA9124 80240644 AE220054 */ sw $v0, 0x54($s1)
/* EA9128 80240648 8C43000C */ lw $v1, 0xc($v0)
/* EA912C 8024064C 9222003B */ lbu $v0, 0x3b($s1)
/* EA9130 80240650 A0620034 */ sb $v0, 0x34($v1)
/* EA9134 80240654 8E220054 */ lw $v0, 0x54($s1)
/* EA9138 80240658 8C42000C */ lw $v0, 0xc($v0)
/* EA913C 8024065C AC400020 */ sw $zero, 0x20($v0)
/* EA9140 80240660 8E250018 */ lw $a1, 0x18($s1)
/* EA9144 80240664 8E260028 */ lw $a2, 0x28($s1)
/* EA9148 80240668 8E270020 */ lw $a3, 0x20($s1)
/* EA914C 8024066C 0C046AAD */ jal func_8011AAB4
/* EA9150 80240670 0000202D */ daddu $a0, $zero, $zero
/* EA9154 80240674 3C014210 */ lui $at, 0x4210
/* EA9158 80240678 44810000 */ mtc1 $at, $f0
/* EA915C 8024067C AE220040 */ sw $v0, 0x40($s1)
/* EA9160 80240680 24020003 */ addiu $v0, $zero, 3
/* EA9164 80240684 A6220044 */ sh $v0, 0x44($s1)
/* EA9168 80240688 24020001 */ addiu $v0, $zero, 1
/* EA916C 8024068C A6200046 */ sh $zero, 0x46($s1)
/* EA9170 80240690 AE20002C */ sw $zero, 0x2c($s1)
/* EA9174 80240694 A6220048 */ sh $v0, 0x48($s1)
/* EA9178 80240698 080901C2 */ j L80240708_EA91E8
/* EA917C 8024069C E6200030 */ swc1 $f0, 0x30($s1)
glabel L802406A0_EA9180
/* EA9180 802406A0 0000202D */ daddu $a0, $zero, $zero
/* EA9184 802406A4 3C054210 */ lui $a1, 0x4210
/* EA9188 802406A8 3C064198 */ lui $a2, 0x4198
/* EA918C 802406AC 86270046 */ lh $a3, 0x46($s1)
/* EA9190 802406B0 24020078 */ addiu $v0, $zero, 0x78
/* EA9194 802406B4 0C00ADA9 */ jal func_8002B6A4
/* EA9198 802406B8 AFA20010 */ sw $v0, 0x10($sp)
/* EA919C 802406BC 96220046 */ lhu $v0, 0x46($s1)
/* EA91A0 802406C0 E6200030 */ swc1 $f0, 0x30($s1)
/* EA91A4 802406C4 24420001 */ addiu $v0, $v0, 1
/* EA91A8 802406C8 A6220046 */ sh $v0, 0x46($s1)
/* EA91AC 802406CC 00021400 */ sll $v0, $v0, 0x10
/* EA91B0 802406D0 00021403 */ sra $v0, $v0, 0x10
/* EA91B4 802406D4 28420078 */ slti $v0, $v0, 0x78
/* EA91B8 802406D8 1440000B */ bnez $v0, L80240708_EA91E8
/* EA91BC 802406DC 24030001 */ addiu $v1, $zero, 1
/* EA91C0 802406E0 C620002C */ lwc1 $f0, 0x2c($s1)
/* EA91C4 802406E4 24020002 */ addiu $v0, $zero, 2
/* EA91C8 802406E8 A6220048 */ sh $v0, 0x48($s1)
/* EA91CC 802406EC 24020004 */ addiu $v0, $zero, 4
/* EA91D0 802406F0 A620004C */ sh $zero, 0x4c($s1)
/* EA91D4 802406F4 A623004A */ sh $v1, 0x4a($s1)
/* EA91D8 802406F8 A623004E */ sh $v1, 0x4e($s1)
/* EA91DC 802406FC A6220044 */ sh $v0, 0x44($s1)
/* EA91E0 80240700 A6200046 */ sh $zero, 0x46($s1)
/* EA91E4 80240704 E6200034 */ swc1 $f0, 0x34($s1)
glabel L80240708_EA91E8
/* EA91E8 80240708 8623004A */ lh $v1, 0x4a($s1)
/* EA91EC 8024070C 24020001 */ addiu $v0, $zero, 1
/* EA91F0 80240710 10620005 */ beq $v1, $v0, .L80240728
/* EA91F4 80240714 24020002 */ addiu $v0, $zero, 2
/* EA91F8 80240718 1062001E */ beq $v1, $v0, .L80240794
/* EA91FC 8024071C 00000000 */ nop
/* EA9200 80240720 0809020F */ j .L8024083C
/* EA9204 80240724 00000000 */ nop
.L80240728:
/* EA9208 80240728 8627004C */ lh $a3, 0x4c($s1)
/* EA920C 8024072C 24100078 */ addiu $s0, $zero, 0x78
/* EA9210 80240730 AFB00010 */ sw $s0, 0x10($sp)
/* EA9214 80240734 8E250034 */ lw $a1, 0x34($s1)
/* EA9218 80240738 3C0644B4 */ lui $a2, 0x44b4
/* EA921C 8024073C 0C00ADA9 */ jal func_8002B6A4
/* EA9220 80240740 24040004 */ addiu $a0, $zero, 4
/* EA9224 80240744 8627004C */ lh $a3, 0x4c($s1)
/* EA9228 80240748 E620002C */ swc1 $f0, 0x2c($s1)
/* EA922C 8024074C AFB00010 */ sw $s0, 0x10($sp)
/* EA9230 80240750 8E25001C */ lw $a1, 0x1c($s1)
/* EA9234 80240754 8E260024 */ lw $a2, 0x24($s1)
/* EA9238 80240758 0C00ADA9 */ jal func_8002B6A4
/* EA923C 8024075C 2404000A */ addiu $a0, $zero, 0xa
/* EA9240 80240760 9622004C */ lhu $v0, 0x4c($s1)
/* EA9244 80240764 E6200004 */ swc1 $f0, 4($s1)
/* EA9248 80240768 24420001 */ addiu $v0, $v0, 1
/* EA924C 8024076C A622004C */ sh $v0, 0x4c($s1)
/* EA9250 80240770 00021400 */ sll $v0, $v0, 0x10
/* EA9254 80240774 00021403 */ sra $v0, $v0, 0x10
/* EA9258 80240778 0050102A */ slt $v0, $v0, $s0
/* EA925C 8024077C 1440002F */ bnez $v0, .L8024083C
/* EA9260 80240780 2402010E */ addiu $v0, $zero, 0x10e
/* EA9264 80240784 A622004C */ sh $v0, 0x4c($s1)
/* EA9268 80240788 24020002 */ addiu $v0, $zero, 2
/* EA926C 8024078C 0809020E */ j .L80240838
/* EA9270 80240790 A622004A */ sh $v0, 0x4a($s1)
.L80240794:
/* EA9274 80240794 8622004C */ lh $v0, 0x4c($s1)
/* EA9278 80240798 44826000 */ mtc1 $v0, $f12
/* EA927C 8024079C 00000000 */ nop
/* EA9280 802407A0 0C00AD77 */ jal dead_sin_deg
/* EA9284 802407A4 46806320 */ cvt.s.w $f12, $f12
/* EA9288 802407A8 3C013F80 */ lui $at, 0x3f80
/* EA928C 802407AC 44811000 */ mtc1 $at, $f2
/* EA9290 802407B0 00000000 */ nop
/* EA9294 802407B4 46020000 */ add.s $f0, $f0, $f2
/* EA9298 802407B8 46000000 */ add.s $f0, $f0, $f0
/* EA929C 802407BC C6220024 */ lwc1 $f2, 0x24($s1)
/* EA92A0 802407C0 8622004C */ lh $v0, 0x4c($s1)
/* EA92A4 802407C4 46001080 */ add.s $f2, $f2, $f0
/* EA92A8 802407C8 24420008 */ addiu $v0, $v0, 8
/* EA92AC 802407CC 44826000 */ mtc1 $v0, $f12
/* EA92B0 802407D0 00000000 */ nop
/* EA92B4 802407D4 46806320 */ cvt.s.w $f12, $f12
/* EA92B8 802407D8 0C00AB85 */ jal dead_clamp_angle
/* EA92BC 802407DC E6220004 */ swc1 $f2, 4($s1)
/* EA92C0 802407E0 4600010D */ trunc.w.s $f4, $f0
/* EA92C4 802407E4 44022000 */ mfc1 $v0, $f4
/* EA92C8 802407E8 C6200004 */ lwc1 $f0, 4($s1)
/* EA92CC 802407EC A622004C */ sh $v0, 0x4c($s1)
/* EA92D0 802407F0 C60C0028 */ lwc1 $f12, 0x28($s0)
/* EA92D4 802407F4 8E060030 */ lw $a2, 0x30($s0)
/* EA92D8 802407F8 3C0141A0 */ lui $at, 0x41a0
/* EA92DC 802407FC 44817000 */ mtc1 $at, $f14
/* EA92E0 80240800 E7A00010 */ swc1 $f0, 0x10($sp)
/* EA92E4 80240804 C602002C */ lwc1 $f2, 0x2c($s0)
/* EA92E8 80240808 C6200008 */ lwc1 $f0, 8($s1)
/* EA92EC 8024080C E7A00014 */ swc1 $f0, 0x14($sp)
/* EA92F0 80240810 8E270000 */ lw $a3, ($s1)
/* EA92F4 80240814 0C00AC87 */ jal func_8002B21C
/* EA92F8 80240818 460E1380 */ add.s $f14, $f2, $f14
/* EA92FC 8024081C 3C0141F0 */ lui $at, 0x41f0
/* EA9300 80240820 44811000 */ mtc1 $at, $f2
/* EA9304 80240824 00000000 */ nop
/* EA9308 80240828 4600103C */ c.lt.s $f2, $f0
/* EA930C 8024082C 00000000 */ nop
/* EA9310 80240830 45010002 */ bc1t .L8024083C
/* EA9314 80240834 24020003 */ addiu $v0, $zero, 3
.L80240838:
/* EA9318 80240838 A622004E */ sh $v0, 0x4e($s1)
.L8024083C:
/* EA931C 8024083C 86230048 */ lh $v1, 0x48($s1)
/* EA9320 80240840 24020001 */ addiu $v0, $zero, 1
/* EA9324 80240844 10620005 */ beq $v1, $v0, .L8024085C
/* EA9328 80240848 24020002 */ addiu $v0, $zero, 2
/* EA932C 8024084C 10620008 */ beq $v1, $v0, .L80240870
/* EA9330 80240850 00000000 */ nop
/* EA9334 80240854 0809022C */ j .L802408B0
/* EA9338 80240858 00000000 */ nop
.L8024085C:
/* EA933C 8024085C C620002C */ lwc1 $f0, 0x2c($s1)
/* EA9340 80240860 C62C0030 */ lwc1 $f12, 0x30($s1)
/* EA9344 80240864 0C00AB85 */ jal dead_clamp_angle
/* EA9348 80240868 460C0300 */ add.s $f12, $f0, $f12
/* EA934C 8024086C E620002C */ swc1 $f0, 0x2c($s1)
.L80240870:
/* EA9350 80240870 8E220054 */ lw $v0, 0x54($s1)
/* EA9354 80240874 C620002C */ lwc1 $f0, 0x2c($s1)
/* EA9358 80240878 8C42000C */ lw $v0, 0xc($v0)
/* EA935C 8024087C E4400024 */ swc1 $f0, 0x24($v0)
/* EA9360 80240880 8E220054 */ lw $v0, 0x54($s1)
/* EA9364 80240884 C6200018 */ lwc1 $f0, 0x18($s1)
/* EA9368 80240888 8C42000C */ lw $v0, 0xc($v0)
/* EA936C 8024088C E4400004 */ swc1 $f0, 4($v0)
/* EA9370 80240890 8E220054 */ lw $v0, 0x54($s1)
/* EA9374 80240894 C6200004 */ lwc1 $f0, 4($s1)
/* EA9378 80240898 8C42000C */ lw $v0, 0xc($v0)
/* EA937C 8024089C E4400008 */ swc1 $f0, 8($v0)
/* EA9380 802408A0 8E220054 */ lw $v0, 0x54($s1)
/* EA9384 802408A4 C6200020 */ lwc1 $f0, 0x20($s1)
/* EA9388 802408A8 8C42000C */ lw $v0, 0xc($v0)
/* EA938C 802408AC E440000C */ swc1 $f0, 0xc($v0)
.L802408B0:
/* EA9390 802408B0 8FBF0020 */ lw $ra, 0x20($sp)
/* EA9394 802408B4 8FB1001C */ lw $s1, 0x1c($sp)
/* EA9398 802408B8 8FB00018 */ lw $s0, 0x18($sp)
/* EA939C 802408BC 0000102D */ daddu $v0, $zero, $zero
/* EA93A0 802408C0 03E00008 */ jr $ra
/* EA93A4 802408C4 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,20 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802408C8_EA93A8
/* EA93A8 802408C8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* EA93AC 802408CC AFB00010 */ sw $s0, 0x10($sp)
/* EA93B0 802408D0 0080802D */ daddu $s0, $a0, $zero
/* EA93B4 802408D4 AFBF0014 */ sw $ra, 0x14($sp)
/* EA93B8 802408D8 8E02000C */ lw $v0, 0xc($s0)
/* EA93BC 802408DC 0C0B53A3 */ jal dead_evt_get_variable
/* EA93C0 802408E0 8C450000 */ lw $a1, ($v0)
/* EA93C4 802408E4 8E030084 */ lw $v1, 0x84($s0)
/* EA93C8 802408E8 8FBF0014 */ lw $ra, 0x14($sp)
/* EA93CC 802408EC 8463004E */ lh $v1, 0x4e($v1)
/* EA93D0 802408F0 8FB00010 */ lw $s0, 0x10($sp)
/* EA93D4 802408F4 00621826 */ xor $v1, $v1, $v0
/* EA93D8 802408F8 2C630001 */ sltiu $v1, $v1, 1
/* EA93DC 802408FC 00031040 */ sll $v0, $v1, 1
/* EA93E0 80240900 03E00008 */ jr $ra
/* EA93E4 80240904 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,72 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240908_EA93E8
/* EA93E8 80240908 27BDFFD8 */ addiu $sp, $sp, -0x28
/* EA93EC 8024090C AFB20020 */ sw $s2, 0x20($sp)
/* EA93F0 80240910 0080902D */ daddu $s2, $a0, $zero
/* EA93F4 80240914 AFBF0024 */ sw $ra, 0x24($sp)
/* EA93F8 80240918 AFB1001C */ sw $s1, 0x1c($sp)
/* EA93FC 8024091C AFB00018 */ sw $s0, 0x18($sp)
/* EA9400 80240920 10A00035 */ beqz $a1, .L802409F8
/* EA9404 80240924 8E51000C */ lw $s1, 0xc($s2)
/* EA9408 80240928 0C00AFF5 */ jal func_8002BFD4
/* EA940C 8024092C 24040058 */ addiu $a0, $zero, 0x58
/* EA9410 80240930 0040802D */ daddu $s0, $v0, $zero
/* EA9414 80240934 AE500084 */ sw $s0, 0x84($s2)
/* EA9418 80240938 8E250000 */ lw $a1, ($s1)
/* EA941C 8024093C 26310004 */ addiu $s1, $s1, 4
/* EA9420 80240940 0C0B53A3 */ jal dead_evt_get_variable
/* EA9424 80240944 0240202D */ daddu $a0, $s2, $zero
/* EA9428 80240948 AE020038 */ sw $v0, 0x38($s0)
/* EA942C 8024094C 8E250000 */ lw $a1, ($s1)
/* EA9430 80240950 26310004 */ addiu $s1, $s1, 4
/* EA9434 80240954 0C0B55FF */ jal dead_evt_get_float_variable
/* EA9438 80240958 0240202D */ daddu $a0, $s2, $zero
/* EA943C 8024095C E6000018 */ swc1 $f0, 0x18($s0)
/* EA9440 80240960 8E250000 */ lw $a1, ($s1)
/* EA9444 80240964 26310004 */ addiu $s1, $s1, 4
/* EA9448 80240968 0C0B55FF */ jal dead_evt_get_float_variable
/* EA944C 8024096C 0240202D */ daddu $a0, $s2, $zero
/* EA9450 80240970 E6000024 */ swc1 $f0, 0x24($s0)
/* EA9454 80240974 8E250000 */ lw $a1, ($s1)
/* EA9458 80240978 26310004 */ addiu $s1, $s1, 4
/* EA945C 8024097C 0C0B55FF */ jal dead_evt_get_float_variable
/* EA9460 80240980 0240202D */ daddu $a0, $s2, $zero
/* EA9464 80240984 E6000020 */ swc1 $f0, 0x20($s0)
/* EA9468 80240988 8E250000 */ lw $a1, ($s1)
/* EA946C 8024098C 0C0B55FF */ jal dead_evt_get_float_variable
/* EA9470 80240990 0240202D */ daddu $a0, $s2, $zero
/* EA9474 80240994 3C013F80 */ lui $at, 0x3f80
/* EA9478 80240998 44811000 */ mtc1 $at, $f2
/* EA947C 8024099C E6000028 */ swc1 $f0, 0x28($s0)
/* EA9480 802409A0 AFA00014 */ sw $zero, 0x14($sp)
/* EA9484 802409A4 E7A20010 */ swc1 $f2, 0x10($sp)
/* EA9488 802409A8 8E050018 */ lw $a1, 0x18($s0)
/* EA948C 802409AC 8E060024 */ lw $a2, 0x24($s0)
/* EA9490 802409B0 8E070020 */ lw $a3, 0x20($s0)
/* EA9494 802409B4 0C01DE4C */ jal func_80077930
/* EA9498 802409B8 24040001 */ addiu $a0, $zero, 1
/* EA949C 802409BC AE020054 */ sw $v0, 0x54($s0)
/* EA94A0 802409C0 8C43000C */ lw $v1, 0xc($v0)
/* EA94A4 802409C4 9202003B */ lbu $v0, 0x3b($s0)
/* EA94A8 802409C8 A0620034 */ sb $v0, 0x34($v1)
/* EA94AC 802409CC 8E020054 */ lw $v0, 0x54($s0)
/* EA94B0 802409D0 8C42000C */ lw $v0, 0xc($v0)
/* EA94B4 802409D4 AC400020 */ sw $zero, 0x20($v0)
/* EA94B8 802409D8 8E050018 */ lw $a1, 0x18($s0)
/* EA94BC 802409DC 8E060028 */ lw $a2, 0x28($s0)
/* EA94C0 802409E0 8E070020 */ lw $a3, 0x20($s0)
/* EA94C4 802409E4 0C046AAD */ jal func_8011AAB4
/* EA94C8 802409E8 0000202D */ daddu $a0, $zero, $zero
/* EA94CC 802409EC AE020040 */ sw $v0, 0x40($s0)
/* EA94D0 802409F0 2402010E */ addiu $v0, $zero, 0x10e
/* EA94D4 802409F4 A602004C */ sh $v0, 0x4c($s0)
.L802409F8:
/* EA94D8 802409F8 8FBF0024 */ lw $ra, 0x24($sp)
/* EA94DC 802409FC 8FB20020 */ lw $s2, 0x20($sp)
/* EA94E0 80240A00 8FB1001C */ lw $s1, 0x1c($sp)
/* EA94E4 80240A04 8FB00018 */ lw $s0, 0x18($sp)
/* EA94E8 80240A08 24020002 */ addiu $v0, $zero, 2
/* EA94EC 80240A0C 03E00008 */ jr $ra
/* EA94F0 80240A10 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,64 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240A14_EA94F4
/* EA94F4 80240A14 27BDFFE8 */ addiu $sp, $sp, -0x18
/* EA94F8 80240A18 AFBF0014 */ sw $ra, 0x14($sp)
/* EA94FC 80240A1C AFB00010 */ sw $s0, 0x10($sp)
/* EA9500 80240A20 8C900084 */ lw $s0, 0x84($a0)
/* EA9504 80240A24 8602004C */ lh $v0, 0x4c($s0)
/* EA9508 80240A28 44826000 */ mtc1 $v0, $f12
/* EA950C 80240A2C 00000000 */ nop
/* EA9510 80240A30 0C00AD77 */ jal dead_sin_deg
/* EA9514 80240A34 46806320 */ cvt.s.w $f12, $f12
/* EA9518 80240A38 3C013F80 */ lui $at, 0x3f80
/* EA951C 80240A3C 44811000 */ mtc1 $at, $f2
/* EA9520 80240A40 00000000 */ nop
/* EA9524 80240A44 46020000 */ add.s $f0, $f0, $f2
/* EA9528 80240A48 46000000 */ add.s $f0, $f0, $f0
/* EA952C 80240A4C C6020024 */ lwc1 $f2, 0x24($s0)
/* EA9530 80240A50 8602004C */ lh $v0, 0x4c($s0)
/* EA9534 80240A54 46001080 */ add.s $f2, $f2, $f0
/* EA9538 80240A58 24420008 */ addiu $v0, $v0, 8
/* EA953C 80240A5C 44826000 */ mtc1 $v0, $f12
/* EA9540 80240A60 00000000 */ nop
/* EA9544 80240A64 46806320 */ cvt.s.w $f12, $f12
/* EA9548 80240A68 0C00AB85 */ jal dead_clamp_angle
/* EA954C 80240A6C E6020004 */ swc1 $f2, 4($s0)
/* EA9550 80240A70 4600010D */ trunc.w.s $f4, $f0
/* EA9554 80240A74 44022000 */ mfc1 $v0, $f4
/* EA9558 80240A78 00000000 */ nop
/* EA955C 80240A7C A602004C */ sh $v0, 0x4c($s0)
/* EA9560 80240A80 3C028011 */ lui $v0, %hi(dead_gPlayerStatus)
/* EA9564 80240A84 24427578 */ addiu $v0, $v0, %lo(dead_gPlayerStatus)
/* EA9568 80240A88 C44C0028 */ lwc1 $f12, 0x28($v0)
/* EA956C 80240A8C C44E0030 */ lwc1 $f14, 0x30($v0)
/* EA9570 80240A90 8E060018 */ lw $a2, 0x18($s0)
/* EA9574 80240A94 0C00AC71 */ jal dead_dist2D
/* EA9578 80240A98 8E070020 */ lw $a3, 0x20($s0)
/* EA957C 80240A9C 3C0141F0 */ lui $at, 0x41f0
/* EA9580 80240AA0 44811000 */ mtc1 $at, $f2
/* EA9584 80240AA4 00000000 */ nop
/* EA9588 80240AA8 4602003E */ c.le.s $f0, $f2
/* EA958C 80240AAC 00000000 */ nop
/* EA9590 80240AB0 45000002 */ bc1f .L80240ABC
/* EA9594 80240AB4 24020003 */ addiu $v0, $zero, 3
/* EA9598 80240AB8 A602004E */ sh $v0, 0x4e($s0)
.L80240ABC:
/* EA959C 80240ABC 8E020054 */ lw $v0, 0x54($s0)
/* EA95A0 80240AC0 C6000018 */ lwc1 $f0, 0x18($s0)
/* EA95A4 80240AC4 8C42000C */ lw $v0, 0xc($v0)
/* EA95A8 80240AC8 E4400004 */ swc1 $f0, 4($v0)
/* EA95AC 80240ACC 8E020054 */ lw $v0, 0x54($s0)
/* EA95B0 80240AD0 C6000004 */ lwc1 $f0, 4($s0)
/* EA95B4 80240AD4 8C42000C */ lw $v0, 0xc($v0)
/* EA95B8 80240AD8 E4400008 */ swc1 $f0, 8($v0)
/* EA95BC 80240ADC 8E020054 */ lw $v0, 0x54($s0)
/* EA95C0 80240AE0 C6000020 */ lwc1 $f0, 0x20($s0)
/* EA95C4 80240AE4 8C42000C */ lw $v0, 0xc($v0)
/* EA95C8 80240AE8 E440000C */ swc1 $f0, 0xc($v0)
/* EA95CC 80240AEC 8FBF0014 */ lw $ra, 0x14($sp)
/* EA95D0 80240AF0 8FB00010 */ lw $s0, 0x10($sp)
/* EA95D4 80240AF4 0000102D */ daddu $v0, $zero, $zero
/* EA95D8 80240AF8 03E00008 */ jr $ra
/* EA95DC 80240AFC 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,8 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802413FC_EA9EDC
/* EA9EDC 802413FC 3C018025 */ lui $at, %hi(D_80248380)
/* EA9EE0 80241400 AC208380 */ sw $zero, %lo(D_80248380)($at)
/* EA9EE4 80241404 03E00008 */ jr $ra
/* EA9EE8 80241408 24020002 */ addiu $v0, $zero, 2

View File

@ -6,7 +6,7 @@ glabel func_8024140C_EA9EEC
/* EA9EF0 80241410 AFB00010 */ sw $s0, 0x10($sp)
/* EA9EF4 80241414 0080802D */ daddu $s0, $a0, $zero
/* EA9EF8 80241418 AFBF0014 */ sw $ra, 0x14($sp)
/* EA9EFC 8024141C 0C00AFF5 */ jal func_8002BFD4
/* EA9EFC 8024141C 0C00AFF5 */ jal dead_heap_malloc
/* EA9F00 80241420 24040780 */ addiu $a0, $zero, 0x780
/* EA9F04 80241424 0200202D */ daddu $a0, $s0, $zero
/* EA9F08 80241428 3C05FD05 */ lui $a1, 0xfd05

View File

@ -11,7 +11,7 @@ glabel func_80241468_EA9F48
/* EA9F60 80241480 8E020000 */ lw $v0, ($s0)
/* EA9F64 80241484 14400010 */ bnez $v0, .L802414C8
/* EA9F68 80241488 0080882D */ daddu $s1, $a0, $zero
/* EA9F6C 8024148C 0C00AFF5 */ jal func_8002BFD4
/* EA9F6C 8024148C 0C00AFF5 */ jal dead_heap_malloc
/* EA9F70 80241490 24040040 */ addiu $a0, $zero, 0x40
/* EA9F74 80241494 AE020000 */ sw $v0, ($s0)
/* EA9F78 80241498 0000182D */ daddu $v1, $zero, $zero

View File

@ -1,64 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802418D4_EAA3B4
/* EAA3B4 802418D4 27BDFFE0 */ addiu $sp, $sp, -0x20
/* EAA3B8 802418D8 AFB10014 */ sw $s1, 0x14($sp)
/* EAA3BC 802418DC 0080882D */ daddu $s1, $a0, $zero
/* EAA3C0 802418E0 AFBF0018 */ sw $ra, 0x18($sp)
/* EAA3C4 802418E4 AFB00010 */ sw $s0, 0x10($sp)
/* EAA3C8 802418E8 8E30000C */ lw $s0, 0xc($s1)
/* EAA3CC 802418EC 8E050000 */ lw $a1, ($s0)
/* EAA3D0 802418F0 0C0B53A3 */ jal dead_evt_get_variable
/* EAA3D4 802418F4 26100004 */ addiu $s0, $s0, 4
/* EAA3D8 802418F8 AE22008C */ sw $v0, 0x8c($s1)
/* EAA3DC 802418FC 8E050000 */ lw $a1, ($s0)
/* EAA3E0 80241900 26100004 */ addiu $s0, $s0, 4
/* EAA3E4 80241904 0C0B53A3 */ jal dead_evt_get_variable
/* EAA3E8 80241908 0220202D */ daddu $a0, $s1, $zero
/* EAA3EC 8024190C AE220090 */ sw $v0, 0x90($s1)
/* EAA3F0 80241910 8E050000 */ lw $a1, ($s0)
/* EAA3F4 80241914 26100004 */ addiu $s0, $s0, 4
/* EAA3F8 80241918 0C0B53A3 */ jal dead_evt_get_variable
/* EAA3FC 8024191C 0220202D */ daddu $a0, $s1, $zero
/* EAA400 80241920 AE220094 */ sw $v0, 0x94($s1)
/* EAA404 80241924 8E050000 */ lw $a1, ($s0)
/* EAA408 80241928 26100004 */ addiu $s0, $s0, 4
/* EAA40C 8024192C 0C0B53A3 */ jal dead_evt_get_variable
/* EAA410 80241930 0220202D */ daddu $a0, $s1, $zero
/* EAA414 80241934 AE220098 */ sw $v0, 0x98($s1)
/* EAA418 80241938 8E050000 */ lw $a1, ($s0)
/* EAA41C 8024193C 26100004 */ addiu $s0, $s0, 4
/* EAA420 80241940 0C0B53A3 */ jal dead_evt_get_variable
/* EAA424 80241944 0220202D */ daddu $a0, $s1, $zero
/* EAA428 80241948 AE22009C */ sw $v0, 0x9c($s1)
/* EAA42C 8024194C 8E050000 */ lw $a1, ($s0)
/* EAA430 80241950 26100004 */ addiu $s0, $s0, 4
/* EAA434 80241954 0C0B53A3 */ jal dead_evt_get_variable
/* EAA438 80241958 0220202D */ daddu $a0, $s1, $zero
/* EAA43C 8024195C AE2200A0 */ sw $v0, 0xa0($s1)
/* EAA440 80241960 8E050000 */ lw $a1, ($s0)
/* EAA444 80241964 26100004 */ addiu $s0, $s0, 4
/* EAA448 80241968 0C0B53A3 */ jal dead_evt_get_variable
/* EAA44C 8024196C 0220202D */ daddu $a0, $s1, $zero
/* EAA450 80241970 AE2200A4 */ sw $v0, 0xa4($s1)
/* EAA454 80241974 8E050000 */ lw $a1, ($s0)
/* EAA458 80241978 26100004 */ addiu $s0, $s0, 4
/* EAA45C 8024197C 0C0B53A3 */ jal dead_evt_get_variable
/* EAA460 80241980 0220202D */ daddu $a0, $s1, $zero
/* EAA464 80241984 AE2200A8 */ sw $v0, 0xa8($s1)
/* EAA468 80241988 8E050000 */ lw $a1, ($s0)
/* EAA46C 8024198C 26100004 */ addiu $s0, $s0, 4
/* EAA470 80241990 0C0B53A3 */ jal dead_evt_get_variable
/* EAA474 80241994 0220202D */ daddu $a0, $s1, $zero
/* EAA478 80241998 AE2200AC */ sw $v0, 0xac($s1)
/* EAA47C 8024199C 8E050000 */ lw $a1, ($s0)
/* EAA480 802419A0 0C0B53A3 */ jal dead_evt_get_variable
/* EAA484 802419A4 0220202D */ daddu $a0, $s1, $zero
/* EAA488 802419A8 AE2200B0 */ sw $v0, 0xb0($s1)
/* EAA48C 802419AC 8FBF0018 */ lw $ra, 0x18($sp)
/* EAA490 802419B0 8FB10014 */ lw $s1, 0x14($sp)
/* EAA494 802419B4 8FB00010 */ lw $s0, 0x10($sp)
/* EAA498 802419B8 24020002 */ addiu $v0, $zero, 2
/* EAA49C 802419BC 03E00008 */ jr $ra
/* EAA4A0 802419C0 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -11,7 +11,7 @@ glabel func_80240310_EB1170
/* EB1188 80240328 8E020000 */ lw $v0, ($s0)
/* EB118C 8024032C 14400010 */ bnez $v0, .L80240370
/* EB1190 80240330 0080882D */ daddu $s1, $a0, $zero
/* EB1194 80240334 0C00AFF5 */ jal func_8002BFD4
/* EB1194 80240334 0C00AFF5 */ jal dead_heap_malloc
/* EB1198 80240338 24040040 */ addiu $a0, $zero, 0x40
/* EB119C 8024033C AE020000 */ sw $v0, ($s0)
/* EB11A0 80240340 0000182D */ daddu $v1, $zero, $zero

View File

@ -1,64 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024077C_EB15DC
/* EB15DC 8024077C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* EB15E0 80240780 AFB10014 */ sw $s1, 0x14($sp)
/* EB15E4 80240784 0080882D */ daddu $s1, $a0, $zero
/* EB15E8 80240788 AFBF0018 */ sw $ra, 0x18($sp)
/* EB15EC 8024078C AFB00010 */ sw $s0, 0x10($sp)
/* EB15F0 80240790 8E30000C */ lw $s0, 0xc($s1)
/* EB15F4 80240794 8E050000 */ lw $a1, ($s0)
/* EB15F8 80240798 0C0B53A3 */ jal dead_evt_get_variable
/* EB15FC 8024079C 26100004 */ addiu $s0, $s0, 4
/* EB1600 802407A0 AE22008C */ sw $v0, 0x8c($s1)
/* EB1604 802407A4 8E050000 */ lw $a1, ($s0)
/* EB1608 802407A8 26100004 */ addiu $s0, $s0, 4
/* EB160C 802407AC 0C0B53A3 */ jal dead_evt_get_variable
/* EB1610 802407B0 0220202D */ daddu $a0, $s1, $zero
/* EB1614 802407B4 AE220090 */ sw $v0, 0x90($s1)
/* EB1618 802407B8 8E050000 */ lw $a1, ($s0)
/* EB161C 802407BC 26100004 */ addiu $s0, $s0, 4
/* EB1620 802407C0 0C0B53A3 */ jal dead_evt_get_variable
/* EB1624 802407C4 0220202D */ daddu $a0, $s1, $zero
/* EB1628 802407C8 AE220094 */ sw $v0, 0x94($s1)
/* EB162C 802407CC 8E050000 */ lw $a1, ($s0)
/* EB1630 802407D0 26100004 */ addiu $s0, $s0, 4
/* EB1634 802407D4 0C0B53A3 */ jal dead_evt_get_variable
/* EB1638 802407D8 0220202D */ daddu $a0, $s1, $zero
/* EB163C 802407DC AE220098 */ sw $v0, 0x98($s1)
/* EB1640 802407E0 8E050000 */ lw $a1, ($s0)
/* EB1644 802407E4 26100004 */ addiu $s0, $s0, 4
/* EB1648 802407E8 0C0B53A3 */ jal dead_evt_get_variable
/* EB164C 802407EC 0220202D */ daddu $a0, $s1, $zero
/* EB1650 802407F0 AE22009C */ sw $v0, 0x9c($s1)
/* EB1654 802407F4 8E050000 */ lw $a1, ($s0)
/* EB1658 802407F8 26100004 */ addiu $s0, $s0, 4
/* EB165C 802407FC 0C0B53A3 */ jal dead_evt_get_variable
/* EB1660 80240800 0220202D */ daddu $a0, $s1, $zero
/* EB1664 80240804 AE2200A0 */ sw $v0, 0xa0($s1)
/* EB1668 80240808 8E050000 */ lw $a1, ($s0)
/* EB166C 8024080C 26100004 */ addiu $s0, $s0, 4
/* EB1670 80240810 0C0B53A3 */ jal dead_evt_get_variable
/* EB1674 80240814 0220202D */ daddu $a0, $s1, $zero
/* EB1678 80240818 AE2200A4 */ sw $v0, 0xa4($s1)
/* EB167C 8024081C 8E050000 */ lw $a1, ($s0)
/* EB1680 80240820 26100004 */ addiu $s0, $s0, 4
/* EB1684 80240824 0C0B53A3 */ jal dead_evt_get_variable
/* EB1688 80240828 0220202D */ daddu $a0, $s1, $zero
/* EB168C 8024082C AE2200A8 */ sw $v0, 0xa8($s1)
/* EB1690 80240830 8E050000 */ lw $a1, ($s0)
/* EB1694 80240834 26100004 */ addiu $s0, $s0, 4
/* EB1698 80240838 0C0B53A3 */ jal dead_evt_get_variable
/* EB169C 8024083C 0220202D */ daddu $a0, $s1, $zero
/* EB16A0 80240840 AE2200AC */ sw $v0, 0xac($s1)
/* EB16A4 80240844 8E050000 */ lw $a1, ($s0)
/* EB16A8 80240848 0C0B53A3 */ jal dead_evt_get_variable
/* EB16AC 8024084C 0220202D */ daddu $a0, $s1, $zero
/* EB16B0 80240850 AE2200B0 */ sw $v0, 0xb0($s1)
/* EB16B4 80240854 8FBF0018 */ lw $ra, 0x18($sp)
/* EB16B8 80240858 8FB10014 */ lw $s1, 0x14($sp)
/* EB16BC 8024085C 8FB00010 */ lw $s0, 0x10($sp)
/* EB16C0 80240860 24020002 */ addiu $v0, $zero, 2
/* EB16C4 80240864 03E00008 */ jr $ra
/* EB16C8 80240868 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -11,7 +11,7 @@ glabel func_80240040_EC2240
/* EC2258 80240058 8E020000 */ lw $v0, ($s0)
/* EC225C 8024005C 14400010 */ bnez $v0, .L802400A0
/* EC2260 80240060 0080882D */ daddu $s1, $a0, $zero
/* EC2264 80240064 0C00AFF5 */ jal func_8002BFD4
/* EC2264 80240064 0C00AFF5 */ jal dead_heap_malloc
/* EC2268 80240068 24040040 */ addiu $a0, $zero, 0x40
/* EC226C 8024006C AE020000 */ sw $v0, ($s0)
/* EC2270 80240070 0000182D */ daddu $v1, $zero, $zero

View File

@ -11,7 +11,7 @@ glabel func_8024061C_EC77CC
/* EC77E4 80240634 8E020000 */ lw $v0, ($s0)
/* EC77E8 80240638 14400010 */ bnez $v0, .L8024067C
/* EC77EC 8024063C 0080882D */ daddu $s1, $a0, $zero
/* EC77F0 80240640 0C00AFF5 */ jal func_8002BFD4
/* EC77F0 80240640 0C00AFF5 */ jal dead_heap_malloc
/* EC77F4 80240644 24040040 */ addiu $a0, $zero, 0x40
/* EC77F8 80240648 AE020000 */ sw $v0, ($s0)
/* EC77FC 8024064C 0000182D */ daddu $v1, $zero, $zero

View File

@ -17,7 +17,7 @@ glabel func_802401CC_EC9ECC
/* EC9EFC 802401FC AFB1001C */ sw $s1, 0x1c($sp)
/* EC9F00 80240200 10A0004F */ beqz $a1, .L80240340
/* EC9F04 80240204 AFB00018 */ sw $s0, 0x18($sp)
/* EC9F08 80240208 0C00AFF5 */ jal func_8002BFD4
/* EC9F08 80240208 0C00AFF5 */ jal dead_heap_malloc
/* EC9F0C 8024020C 24040330 */ addiu $a0, $zero, 0x330
/* EC9F10 80240210 0040982D */ daddu $s3, $v0, $zero
/* EC9F14 80240214 0000B02D */ daddu $s6, $zero, $zero

View File

@ -160,7 +160,7 @@ glabel func_80240600_ECA300
/* ECA558 80240858 44050000 */ mfc1 $a1, $f0
/* ECA55C 8024085C 8E470060 */ lw $a3, 0x60($s2)
/* ECA560 80240860 4485B000 */ mtc1 $a1, $f22
/* ECA564 80240864 0C00ADA9 */ jal func_8002B6A4
/* ECA564 80240864 0C00ADA9 */ jal dead_update_lerp
/* ECA568 80240868 0240802D */ daddu $s0, $s2, $zero
/* ECA56C 8024086C 46000506 */ mov.s $f20, $f0
.L80240870:
@ -282,7 +282,7 @@ glabel func_80240600_ECA300
/* ECA71C 80240A1C AFB30010 */ sw $s3, 0x10($sp)
/* ECA720 80240A20 8E060038 */ lw $a2, 0x38($s0)
/* ECA724 80240A24 8E470064 */ lw $a3, 0x64($s2)
/* ECA728 80240A28 0C00ADA9 */ jal func_8002B6A4
/* ECA728 80240A28 0C00ADA9 */ jal dead_update_lerp
/* ECA72C 80240A2C 24040001 */ addiu $a0, $zero, 1
/* ECA730 80240A30 C6020014 */ lwc1 $f2, 0x14($s0)
/* ECA734 80240A34 46001080 */ add.s $f2, $f2, $f0
@ -291,7 +291,7 @@ glabel func_80240600_ECA300
/* ECA740 80240A40 AFB30010 */ sw $s3, 0x10($sp)
/* ECA744 80240A44 8E060044 */ lw $a2, 0x44($s0)
/* ECA748 80240A48 8E470064 */ lw $a3, 0x64($s2)
/* ECA74C 80240A4C 0C00ADA9 */ jal func_8002B6A4
/* ECA74C 80240A4C 0C00ADA9 */ jal dead_update_lerp
/* ECA750 80240A50 24040001 */ addiu $a0, $zero, 1
/* ECA754 80240A54 C6020020 */ lwc1 $f2, 0x20($s0)
/* ECA758 80240A58 46001080 */ add.s $f2, $f2, $f0
@ -300,7 +300,7 @@ glabel func_80240600_ECA300
/* ECA764 80240A64 AFB30010 */ sw $s3, 0x10($sp)
/* ECA768 80240A68 8E060050 */ lw $a2, 0x50($s0)
/* ECA76C 80240A6C 8E470064 */ lw $a3, 0x64($s2)
/* ECA770 80240A70 0C00ADA9 */ jal func_8002B6A4
/* ECA770 80240A70 0C00ADA9 */ jal dead_update_lerp
/* ECA774 80240A74 24040001 */ addiu $a0, $zero, 1
/* ECA778 80240A78 C602002C */ lwc1 $f2, 0x2c($s0)
/* ECA77C 80240A7C 46001080 */ add.s $f2, $f2, $f0

View File

@ -11,7 +11,7 @@ glabel func_80240080_ED42A0
/* ED42B8 80240098 8E020000 */ lw $v0, ($s0)
/* ED42BC 8024009C 14400010 */ bnez $v0, .L802400E0
/* ED42C0 802400A0 0080882D */ daddu $s1, $a0, $zero
/* ED42C4 802400A4 0C00AFF5 */ jal func_8002BFD4
/* ED42C4 802400A4 0C00AFF5 */ jal dead_heap_malloc
/* ED42C8 802400A8 24040040 */ addiu $a0, $zero, 0x40
/* ED42CC 802400AC AE020000 */ sw $v0, ($s0)
/* ED42D0 802400B0 0000182D */ daddu $v1, $zero, $zero

View File

@ -11,7 +11,7 @@ glabel func_8024027C_EDC25C
/* EDC274 80240294 8E020000 */ lw $v0, ($s0)
/* EDC278 80240298 14400010 */ bnez $v0, .L802402DC
/* EDC27C 8024029C 0080882D */ daddu $s1, $a0, $zero
/* EDC280 802402A0 0C00AFF5 */ jal func_8002BFD4
/* EDC280 802402A0 0C00AFF5 */ jal dead_heap_malloc
/* EDC284 802402A4 24040040 */ addiu $a0, $zero, 0x40
/* EDC288 802402A8 AE020000 */ sw $v0, ($s0)
/* EDC28C 802402AC 0000182D */ daddu $v1, $zero, $zero

View File

@ -330,7 +330,7 @@ glabel func_80241DE4_EE07A4
/* EE0C58 80242298 8EC60018 */ lw $a2, 0x18($s6)
/* EE0C5C 8024229C 4600218D */ trunc.w.s $f6, $f4
/* EE0C60 802422A0 44073000 */ mfc1 $a3, $f6
/* EE0C64 802422A4 0C00ADA9 */ jal func_8002B6A4
/* EE0C64 802422A4 0C00ADA9 */ jal dead_update_lerp
/* EE0C68 802422A8 0000202D */ daddu $a0, $zero, $zero
/* EE0C6C 802422AC 44050000 */ mfc1 $a1, $f0
/* EE0C70 802422B0 8E46000C */ lw $a2, 0xc($s2)

View File

@ -48,7 +48,7 @@ glabel func_80243470_EE1E30
/* EE1ED8 80243518 0000202D */ daddu $a0, $zero, $zero
/* EE1EDC 8024351C AFA20010 */ sw $v0, 0x10($sp)
/* EE1EE0 80243520 8E670070 */ lw $a3, 0x70($s3)
/* EE1EE4 80243524 0C00ADA9 */ jal func_8002B6A4
/* EE1EE4 80243524 0C00ADA9 */ jal dead_update_lerp
/* EE1EE8 80243528 0000302D */ daddu $a2, $zero, $zero
/* EE1EEC 8024352C 24040295 */ addiu $a0, $zero, 0x295
/* EE1EF0 80243530 4600008D */ trunc.w.s $f2, $f0

View File

@ -42,7 +42,7 @@ glabel func_80243584_EE1F44
/* EE1FD4 80243614 24020050 */ addiu $v0, $zero, 0x50
/* EE1FD8 80243618 AFA20010 */ sw $v0, 0x10($sp)
/* EE1FDC 8024361C 8E470070 */ lw $a3, 0x70($s2)
/* EE1FE0 80243620 0C00ADA9 */ jal func_8002B6A4
/* EE1FE0 80243620 0C00ADA9 */ jal dead_update_lerp
/* EE1FE4 80243624 0000302D */ daddu $a2, $zero, $zero
/* EE1FE8 80243628 24040295 */ addiu $a0, $zero, 0x295
/* EE1FEC 8024362C 4600008D */ trunc.w.s $f2, $f0

View File

@ -32,7 +32,7 @@ glabel func_8024046C_EE6A1C
/* EE6A88 802404D8 00000000 */ nop
/* EE6A8C 802404DC 46800020 */ cvt.s.w $f0, $f0
/* EE6A90 802404E0 AE220078 */ sw $v0, 0x78($s1)
/* EE6A94 802404E4 0C055C13 */ jal func_8015704C
/* EE6A94 802404E4 0C055C13 */ jal dead_sfx_adjust_env_sound_pos
/* EE6A98 802404E8 E7A00010 */ swc1 $f0, 0x10($sp)
/* EE6A9C 802404EC 8FBF0020 */ lw $ra, 0x20($sp)
/* EE6AA0 802404F0 8FB1001C */ lw $s1, 0x1c($sp)

View File

@ -17,7 +17,7 @@ glabel func_802402AC_EED3AC
/* EED3DC 802402DC AFB1001C */ sw $s1, 0x1c($sp)
/* EED3E0 802402E0 10A0004F */ beqz $a1, .L80240420
/* EED3E4 802402E4 AFB00018 */ sw $s0, 0x18($sp)
/* EED3E8 802402E8 0C00AFF5 */ jal func_8002BFD4
/* EED3E8 802402E8 0C00AFF5 */ jal dead_heap_malloc
/* EED3EC 802402EC 24040330 */ addiu $a0, $zero, 0x330
/* EED3F0 802402F0 0040982D */ daddu $s3, $v0, $zero
/* EED3F4 802402F4 0000B02D */ daddu $s6, $zero, $zero

View File

@ -160,7 +160,7 @@ glabel func_802406E0_EED7E0
/* EEDA38 80240938 44050000 */ mfc1 $a1, $f0
/* EEDA3C 8024093C 8E470060 */ lw $a3, 0x60($s2)
/* EEDA40 80240940 4485B000 */ mtc1 $a1, $f22
/* EEDA44 80240944 0C00ADA9 */ jal func_8002B6A4
/* EEDA44 80240944 0C00ADA9 */ jal dead_update_lerp
/* EEDA48 80240948 0240802D */ daddu $s0, $s2, $zero
/* EEDA4C 8024094C 46000506 */ mov.s $f20, $f0
.L80240950:
@ -282,7 +282,7 @@ glabel func_802406E0_EED7E0
/* EEDBFC 80240AFC AFB30010 */ sw $s3, 0x10($sp)
/* EEDC00 80240B00 8E060038 */ lw $a2, 0x38($s0)
/* EEDC04 80240B04 8E470064 */ lw $a3, 0x64($s2)
/* EEDC08 80240B08 0C00ADA9 */ jal func_8002B6A4
/* EEDC08 80240B08 0C00ADA9 */ jal dead_update_lerp
/* EEDC0C 80240B0C 24040001 */ addiu $a0, $zero, 1
/* EEDC10 80240B10 C6020014 */ lwc1 $f2, 0x14($s0)
/* EEDC14 80240B14 46001080 */ add.s $f2, $f2, $f0
@ -291,7 +291,7 @@ glabel func_802406E0_EED7E0
/* EEDC20 80240B20 AFB30010 */ sw $s3, 0x10($sp)
/* EEDC24 80240B24 8E060044 */ lw $a2, 0x44($s0)
/* EEDC28 80240B28 8E470064 */ lw $a3, 0x64($s2)
/* EEDC2C 80240B2C 0C00ADA9 */ jal func_8002B6A4
/* EEDC2C 80240B2C 0C00ADA9 */ jal dead_update_lerp
/* EEDC30 80240B30 24040001 */ addiu $a0, $zero, 1
/* EEDC34 80240B34 C6020020 */ lwc1 $f2, 0x20($s0)
/* EEDC38 80240B38 46001080 */ add.s $f2, $f2, $f0
@ -300,7 +300,7 @@ glabel func_802406E0_EED7E0
/* EEDC44 80240B44 AFB30010 */ sw $s3, 0x10($sp)
/* EEDC48 80240B48 8E060050 */ lw $a2, 0x50($s0)
/* EEDC4C 80240B4C 8E470064 */ lw $a3, 0x64($s2)
/* EEDC50 80240B50 0C00ADA9 */ jal func_8002B6A4
/* EEDC50 80240B50 0C00ADA9 */ jal dead_update_lerp
/* EEDC54 80240B54 24040001 */ addiu $a0, $zero, 1
/* EEDC58 80240B58 C602002C */ lwc1 $f2, 0x2c($s0)
/* EEDC5C 80240B5C 46001080 */ add.s $f2, $f2, $f0

View File

@ -330,7 +330,7 @@ glabel func_80241C90_EF42A0
/* EF4754 80242144 8EC60018 */ lw $a2, 0x18($s6)
/* EF4758 80242148 4600218D */ trunc.w.s $f6, $f4
/* EF475C 8024214C 44073000 */ mfc1 $a3, $f6
/* EF4760 80242150 0C00ADA9 */ jal func_8002B6A4
/* EF4760 80242150 0C00ADA9 */ jal dead_update_lerp
/* EF4764 80242154 0000202D */ daddu $a0, $zero, $zero
/* EF4768 80242158 44050000 */ mfc1 $a1, $f0
/* EF476C 8024215C 8E46000C */ lw $a2, 0xc($s2)

View File

@ -1,23 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240000_9951F0
/* 9951F0 80240000 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 9951F4 80240004 AFBF001C */ sw $ra, 0x1c($sp)
/* 9951F8 80240008 AFB00018 */ sw $s0, 0x18($sp)
/* 9951FC 8024000C 8C900084 */ lw $s0, 0x84($a0)
/* 995200 80240010 C6000008 */ lwc1 $f0, 8($s0)
/* 995204 80240014 240400A2 */ addiu $a0, $zero, 0xa2
/* 995208 80240018 E7A00010 */ swc1 $f0, 0x10($sp)
/* 99520C 8024001C 8E060000 */ lw $a2, ($s0)
/* 995210 80240020 8E070004 */ lw $a3, 4($s0)
/* 995214 80240024 0C05267B */ jal sfx_adjust_env_sound_pos
/* 995218 80240028 0000282D */ daddu $a1, $zero, $zero
/* 99521C 8024002C 86020044 */ lh $v0, 0x44($s0)
/* 995220 80240030 8FBF001C */ lw $ra, 0x1c($sp)
/* 995224 80240034 8FB00018 */ lw $s0, 0x18($sp)
/* 995228 80240038 28420002 */ slti $v0, $v0, 2
/* 99522C 8024003C 38420001 */ xori $v0, $v0, 1
/* 995230 80240040 00021040 */ sll $v0, $v0, 1
/* 995234 80240044 03E00008 */ jr $ra
/* 995238 80240048 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,93 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024004C_99523C
/* 99523C 8024004C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 995240 80240050 AFB20020 */ sw $s2, 0x20($sp)
/* 995244 80240054 0080902D */ daddu $s2, $a0, $zero
/* 995248 80240058 AFBF0024 */ sw $ra, 0x24($sp)
/* 99524C 8024005C AFB1001C */ sw $s1, 0x1c($sp)
/* 995250 80240060 AFB00018 */ sw $s0, 0x18($sp)
/* 995254 80240064 10A0004A */ beqz $a1, .L80240190
/* 995258 80240068 8E51000C */ lw $s1, 0xc($s2)
/* 99525C 8024006C 0C00AB39 */ jal heap_malloc
/* 995260 80240070 24040058 */ addiu $a0, $zero, 0x58
/* 995264 80240074 0000202D */ daddu $a0, $zero, $zero
/* 995268 80240078 3C05FD05 */ lui $a1, 0xfd05
/* 99526C 8024007C 34A50F81 */ ori $a1, $a1, 0xf81
/* 995270 80240080 0040802D */ daddu $s0, $v0, $zero
/* 995274 80240084 0200302D */ daddu $a2, $s0, $zero
/* 995278 80240088 0C0B2026 */ jal evt_set_variable
/* 99527C 8024008C AE500084 */ sw $s0, 0x84($s2)
/* 995280 80240090 8E250000 */ lw $a1, ($s1)
/* 995284 80240094 26310004 */ addiu $s1, $s1, 4
/* 995288 80240098 0C0B1EAF */ jal evt_get_variable
/* 99528C 8024009C 0240202D */ daddu $a0, $s2, $zero
/* 995290 802400A0 AE020038 */ sw $v0, 0x38($s0)
/* 995294 802400A4 8E250000 */ lw $a1, ($s1)
/* 995298 802400A8 26310004 */ addiu $s1, $s1, 4
/* 99529C 802400AC 0C0B1EAF */ jal evt_get_variable
/* 9952A0 802400B0 0240202D */ daddu $a0, $s2, $zero
/* 9952A4 802400B4 AE02003C */ sw $v0, 0x3c($s0)
/* 9952A8 802400B8 8E250000 */ lw $a1, ($s1)
/* 9952AC 802400BC 26310004 */ addiu $s1, $s1, 4
/* 9952B0 802400C0 0C0B210B */ jal evt_get_float_variable
/* 9952B4 802400C4 0240202D */ daddu $a0, $s2, $zero
/* 9952B8 802400C8 E600000C */ swc1 $f0, 0xc($s0)
/* 9952BC 802400CC 8E250000 */ lw $a1, ($s1)
/* 9952C0 802400D0 26310004 */ addiu $s1, $s1, 4
/* 9952C4 802400D4 0C0B210B */ jal evt_get_float_variable
/* 9952C8 802400D8 0240202D */ daddu $a0, $s2, $zero
/* 9952CC 802400DC E6000010 */ swc1 $f0, 0x10($s0)
/* 9952D0 802400E0 8E250000 */ lw $a1, ($s1)
/* 9952D4 802400E4 26310004 */ addiu $s1, $s1, 4
/* 9952D8 802400E8 0C0B210B */ jal evt_get_float_variable
/* 9952DC 802400EC 0240202D */ daddu $a0, $s2, $zero
/* 9952E0 802400F0 E6000014 */ swc1 $f0, 0x14($s0)
/* 9952E4 802400F4 8E250000 */ lw $a1, ($s1)
/* 9952E8 802400F8 26310004 */ addiu $s1, $s1, 4
/* 9952EC 802400FC 0C0B210B */ jal evt_get_float_variable
/* 9952F0 80240100 0240202D */ daddu $a0, $s2, $zero
/* 9952F4 80240104 E6000018 */ swc1 $f0, 0x18($s0)
/* 9952F8 80240108 8E250000 */ lw $a1, ($s1)
/* 9952FC 8024010C 26310004 */ addiu $s1, $s1, 4
/* 995300 80240110 0C0B210B */ jal evt_get_float_variable
/* 995304 80240114 0240202D */ daddu $a0, $s2, $zero
/* 995308 80240118 E600001C */ swc1 $f0, 0x1c($s0)
/* 99530C 8024011C 8E250000 */ lw $a1, ($s1)
/* 995310 80240120 26310004 */ addiu $s1, $s1, 4
/* 995314 80240124 0C0B210B */ jal evt_get_float_variable
/* 995318 80240128 0240202D */ daddu $a0, $s2, $zero
/* 99531C 8024012C E6000020 */ swc1 $f0, 0x20($s0)
/* 995320 80240130 8E250000 */ lw $a1, ($s1)
/* 995324 80240134 26310004 */ addiu $s1, $s1, 4
/* 995328 80240138 0C0B210B */ jal evt_get_float_variable
/* 99532C 8024013C 0240202D */ daddu $a0, $s2, $zero
/* 995330 80240140 E6000024 */ swc1 $f0, 0x24($s0)
/* 995334 80240144 8E250000 */ lw $a1, ($s1)
/* 995338 80240148 0C0B210B */ jal evt_get_float_variable
/* 99533C 8024014C 0240202D */ daddu $a0, $s2, $zero
/* 995340 80240150 3C013F80 */ lui $at, 0x3f80
/* 995344 80240154 44811000 */ mtc1 $at, $f2
/* 995348 80240158 E6000028 */ swc1 $f0, 0x28($s0)
/* 99534C 8024015C AFA00014 */ sw $zero, 0x14($sp)
/* 995350 80240160 E7A20010 */ swc1 $f2, 0x10($sp)
/* 995354 80240164 8E05000C */ lw $a1, 0xc($s0)
/* 995358 80240168 8E060010 */ lw $a2, 0x10($s0)
/* 99535C 8024016C 8E070014 */ lw $a3, 0x14($s0)
/* 995360 80240170 0C01CA6C */ jal playFX_83
/* 995364 80240174 24040002 */ addiu $a0, $zero, 2
/* 995368 80240178 AE020050 */ sw $v0, 0x50($s0)
/* 99536C 8024017C A600004E */ sh $zero, 0x4e($s0)
/* 995370 80240180 A6000048 */ sh $zero, 0x48($s0)
/* 995374 80240184 A600004A */ sh $zero, 0x4a($s0)
/* 995378 80240188 A6000044 */ sh $zero, 0x44($s0)
/* 99537C 8024018C A6000046 */ sh $zero, 0x46($s0)
.L80240190:
/* 995380 80240190 8FBF0024 */ lw $ra, 0x24($sp)
/* 995384 80240194 8FB20020 */ lw $s2, 0x20($sp)
/* 995388 80240198 8FB1001C */ lw $s1, 0x1c($sp)
/* 99538C 8024019C 8FB00018 */ lw $s0, 0x18($sp)
/* 995390 802401A0 24020002 */ addiu $v0, $zero, 2
/* 995394 802401A4 03E00008 */ jr $ra
/* 995398 802401A8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,283 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.section .rodata
glabel jtbl_80242D50_997F40
.word L802401EC_9953DC, L802402AC_99549C, L802402F4_9954E4, L80240394_995584, L802403FC_9955EC
.section .text
glabel func_802401AC_99539C
/* 99539C 802401AC 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 9953A0 802401B0 AFBF0020 */ sw $ra, 0x20($sp)
/* 9953A4 802401B4 AFB1001C */ sw $s1, 0x1c($sp)
/* 9953A8 802401B8 AFB00018 */ sw $s0, 0x18($sp)
/* 9953AC 802401BC 8C910084 */ lw $s1, 0x84($a0)
/* 9953B0 802401C0 86230044 */ lh $v1, 0x44($s1)
/* 9953B4 802401C4 3C108011 */ lui $s0, %hi(gPlayerStatus)
/* 9953B8 802401C8 2610EFC8 */ addiu $s0, $s0, %lo(gPlayerStatus)
/* 9953BC 802401CC 2C620005 */ sltiu $v0, $v1, 5
/* 9953C0 802401D0 1040008A */ beqz $v0, L802403FC_9955EC
/* 9953C4 802401D4 00031080 */ sll $v0, $v1, 2
/* 9953C8 802401D8 3C018024 */ lui $at, %hi(jtbl_80242D50_997F40)
/* 9953CC 802401DC 00220821 */ addu $at, $at, $v0
/* 9953D0 802401E0 8C222D50 */ lw $v0, %lo(jtbl_80242D50_997F40)($at)
/* 9953D4 802401E4 00400008 */ jr $v0
/* 9953D8 802401E8 00000000 */ nop
glabel L802401EC_9953DC
/* 9953DC 802401EC 8E22003C */ lw $v0, 0x3c($s1)
/* 9953E0 802401F0 86270046 */ lh $a3, 0x46($s1)
/* 9953E4 802401F4 AFA20010 */ sw $v0, 0x10($sp)
/* 9953E8 802401F8 8E250010 */ lw $a1, 0x10($s1)
/* 9953EC 802401FC 8E26001C */ lw $a2, 0x1c($s1)
/* 9953F0 80240200 0C00A8ED */ jal update_lerp
/* 9953F4 80240204 24040005 */ addiu $a0, $zero, 5
/* 9953F8 80240208 86270046 */ lh $a3, 0x46($s1)
/* 9953FC 8024020C 8E22003C */ lw $v0, 0x3c($s1)
/* 995400 80240210 E6200004 */ swc1 $f0, 4($s1)
/* 995404 80240214 AFA20010 */ sw $v0, 0x10($sp)
/* 995408 80240218 8E25000C */ lw $a1, 0xc($s1)
/* 99540C 8024021C 8E260018 */ lw $a2, 0x18($s1)
/* 995410 80240220 0C00A8ED */ jal update_lerp
/* 995414 80240224 0000202D */ daddu $a0, $zero, $zero
/* 995418 80240228 86270046 */ lh $a3, 0x46($s1)
/* 99541C 8024022C 8E22003C */ lw $v0, 0x3c($s1)
/* 995420 80240230 E6200000 */ swc1 $f0, ($s1)
/* 995424 80240234 AFA20010 */ sw $v0, 0x10($sp)
/* 995428 80240238 8E250014 */ lw $a1, 0x14($s1)
/* 99542C 8024023C 8E260020 */ lw $a2, 0x20($s1)
/* 995430 80240240 0C00A8ED */ jal update_lerp
/* 995434 80240244 0000202D */ daddu $a0, $zero, $zero
/* 995438 80240248 8E220050 */ lw $v0, 0x50($s1)
/* 99543C 8024024C E6200008 */ swc1 $f0, 8($s1)
/* 995440 80240250 C6200000 */ lwc1 $f0, ($s1)
/* 995444 80240254 8C42000C */ lw $v0, 0xc($v0)
/* 995448 80240258 E4400008 */ swc1 $f0, 8($v0)
/* 99544C 8024025C 8E220050 */ lw $v0, 0x50($s1)
/* 995450 80240260 C6200004 */ lwc1 $f0, 4($s1)
/* 995454 80240264 8C42000C */ lw $v0, 0xc($v0)
/* 995458 80240268 E440000C */ swc1 $f0, 0xc($v0)
/* 99545C 8024026C 8E220050 */ lw $v0, 0x50($s1)
/* 995460 80240270 C6200008 */ lwc1 $f0, 8($s1)
/* 995464 80240274 8C42000C */ lw $v0, 0xc($v0)
/* 995468 80240278 E4400010 */ swc1 $f0, 0x10($v0)
/* 99546C 8024027C 96220046 */ lhu $v0, 0x46($s1)
/* 995470 80240280 8E23003C */ lw $v1, 0x3c($s1)
/* 995474 80240284 24420001 */ addiu $v0, $v0, 1
/* 995478 80240288 A6220046 */ sh $v0, 0x46($s1)
/* 99547C 8024028C 00021400 */ sll $v0, $v0, 0x10
/* 995480 80240290 00021403 */ sra $v0, $v0, 0x10
/* 995484 80240294 0043102A */ slt $v0, $v0, $v1
/* 995488 80240298 14400058 */ bnez $v0, L802403FC_9955EC
/* 99548C 8024029C 24020001 */ addiu $v0, $zero, 1
/* 995490 802402A0 A6220044 */ sh $v0, 0x44($s1)
/* 995494 802402A4 080900FF */ j L802403FC_9955EC
/* 995498 802402A8 A6200046 */ sh $zero, 0x46($s1)
glabel L802402AC_99549C
/* 99549C 802402AC 96220046 */ lhu $v0, 0x46($s1)
/* 9954A0 802402B0 24420001 */ addiu $v0, $v0, 1
/* 9954A4 802402B4 A6220046 */ sh $v0, 0x46($s1)
/* 9954A8 802402B8 00021400 */ sll $v0, $v0, 0x10
/* 9954AC 802402BC 00021403 */ sra $v0, $v0, 0x10
/* 9954B0 802402C0 2842003C */ slti $v0, $v0, 0x3c
/* 9954B4 802402C4 1440004D */ bnez $v0, L802403FC_9955EC
/* 9954B8 802402C8 24020002 */ addiu $v0, $zero, 2
/* 9954BC 802402CC 8E230050 */ lw $v1, 0x50($s1)
/* 9954C0 802402D0 A6220044 */ sh $v0, 0x44($s1)
/* 9954C4 802402D4 A6200046 */ sh $zero, 0x46($s1)
/* 9954C8 802402D8 8C63000C */ lw $v1, 0xc($v1)
/* 9954CC 802402DC 24020001 */ addiu $v0, $zero, 1
/* 9954D0 802402E0 AC620070 */ sw $v0, 0x70($v1)
/* 9954D4 802402E4 8E220050 */ lw $v0, 0x50($s1)
/* 9954D8 802402E8 8C42000C */ lw $v0, 0xc($v0)
/* 9954DC 802402EC 080900FF */ j L802403FC_9955EC
/* 9954E0 802402F0 AC400074 */ sw $zero, 0x74($v0)
glabel L802402F4_9954E4
/* 9954E4 802402F4 96220046 */ lhu $v0, 0x46($s1)
/* 9954E8 802402F8 24420001 */ addiu $v0, $v0, 1
/* 9954EC 802402FC A6220046 */ sh $v0, 0x46($s1)
/* 9954F0 80240300 00021400 */ sll $v0, $v0, 0x10
/* 9954F4 80240304 00021403 */ sra $v0, $v0, 0x10
/* 9954F8 80240308 2842003C */ slti $v0, $v0, 0x3c
/* 9954FC 8024030C 1440003B */ bnez $v0, L802403FC_9955EC
/* 995500 80240310 00000000 */ nop
/* 995504 80240314 3C013F80 */ lui $at, 0x3f80
/* 995508 80240318 44810000 */ mtc1 $at, $f0
/* 99550C 8024031C AFA00014 */ sw $zero, 0x14($sp)
/* 995510 80240320 E7A00010 */ swc1 $f0, 0x10($sp)
/* 995514 80240324 8E250018 */ lw $a1, 0x18($s1)
/* 995518 80240328 8E26001C */ lw $a2, 0x1c($s1)
/* 99551C 8024032C 8E270020 */ lw $a3, 0x20($s1)
/* 995520 80240330 0C01C9AC */ jal playFX_7B
/* 995524 80240334 24040001 */ addiu $a0, $zero, 1
/* 995528 80240338 AE220054 */ sw $v0, 0x54($s1)
/* 99552C 8024033C 8C43000C */ lw $v1, 0xc($v0)
/* 995530 80240340 9222003B */ lbu $v0, 0x3b($s1)
/* 995534 80240344 A0620034 */ sb $v0, 0x34($v1)
/* 995538 80240348 8E220054 */ lw $v0, 0x54($s1)
/* 99553C 8024034C 8C42000C */ lw $v0, 0xc($v0)
/* 995540 80240350 AC400020 */ sw $zero, 0x20($v0)
/* 995544 80240354 8E250018 */ lw $a1, 0x18($s1)
/* 995548 80240358 8E260028 */ lw $a2, 0x28($s1)
/* 99554C 8024035C 8E270020 */ lw $a3, 0x20($s1)
/* 995550 80240360 0C044898 */ jal create_shadow_type
/* 995554 80240364 0000202D */ daddu $a0, $zero, $zero
/* 995558 80240368 3C014210 */ lui $at, 0x4210
/* 99555C 8024036C 44810000 */ mtc1 $at, $f0
/* 995560 80240370 AE220040 */ sw $v0, 0x40($s1)
/* 995564 80240374 24020003 */ addiu $v0, $zero, 3
/* 995568 80240378 A6220044 */ sh $v0, 0x44($s1)
/* 99556C 8024037C 24020001 */ addiu $v0, $zero, 1
/* 995570 80240380 A6200046 */ sh $zero, 0x46($s1)
/* 995574 80240384 AE20002C */ sw $zero, 0x2c($s1)
/* 995578 80240388 A6220048 */ sh $v0, 0x48($s1)
/* 99557C 8024038C 080900FF */ j L802403FC_9955EC
/* 995580 80240390 E6200030 */ swc1 $f0, 0x30($s1)
glabel L80240394_995584
/* 995584 80240394 0000202D */ daddu $a0, $zero, $zero
/* 995588 80240398 3C054210 */ lui $a1, 0x4210
/* 99558C 8024039C 3C064198 */ lui $a2, 0x4198
/* 995590 802403A0 86270046 */ lh $a3, 0x46($s1)
/* 995594 802403A4 24020078 */ addiu $v0, $zero, 0x78
/* 995598 802403A8 0C00A8ED */ jal update_lerp
/* 99559C 802403AC AFA20010 */ sw $v0, 0x10($sp)
/* 9955A0 802403B0 96220046 */ lhu $v0, 0x46($s1)
/* 9955A4 802403B4 E6200030 */ swc1 $f0, 0x30($s1)
/* 9955A8 802403B8 24420001 */ addiu $v0, $v0, 1
/* 9955AC 802403BC A6220046 */ sh $v0, 0x46($s1)
/* 9955B0 802403C0 00021400 */ sll $v0, $v0, 0x10
/* 9955B4 802403C4 00021403 */ sra $v0, $v0, 0x10
/* 9955B8 802403C8 28420078 */ slti $v0, $v0, 0x78
/* 9955BC 802403CC 1440000B */ bnez $v0, L802403FC_9955EC
/* 9955C0 802403D0 24030001 */ addiu $v1, $zero, 1
/* 9955C4 802403D4 C620002C */ lwc1 $f0, 0x2c($s1)
/* 9955C8 802403D8 24020002 */ addiu $v0, $zero, 2
/* 9955CC 802403DC A6220048 */ sh $v0, 0x48($s1)
/* 9955D0 802403E0 24020004 */ addiu $v0, $zero, 4
/* 9955D4 802403E4 A620004C */ sh $zero, 0x4c($s1)
/* 9955D8 802403E8 A623004A */ sh $v1, 0x4a($s1)
/* 9955DC 802403EC A623004E */ sh $v1, 0x4e($s1)
/* 9955E0 802403F0 A6220044 */ sh $v0, 0x44($s1)
/* 9955E4 802403F4 A6200046 */ sh $zero, 0x46($s1)
/* 9955E8 802403F8 E6200034 */ swc1 $f0, 0x34($s1)
glabel L802403FC_9955EC
/* 9955EC 802403FC 8623004A */ lh $v1, 0x4a($s1)
/* 9955F0 80240400 24020001 */ addiu $v0, $zero, 1
/* 9955F4 80240404 10620005 */ beq $v1, $v0, .L8024041C
/* 9955F8 80240408 24020002 */ addiu $v0, $zero, 2
/* 9955FC 8024040C 1062001E */ beq $v1, $v0, .L80240488
/* 995600 80240410 00000000 */ nop
/* 995604 80240414 0809014C */ j .L80240530
/* 995608 80240418 00000000 */ nop
.L8024041C:
/* 99560C 8024041C 8627004C */ lh $a3, 0x4c($s1)
/* 995610 80240420 24100078 */ addiu $s0, $zero, 0x78
/* 995614 80240424 AFB00010 */ sw $s0, 0x10($sp)
/* 995618 80240428 8E250034 */ lw $a1, 0x34($s1)
/* 99561C 8024042C 3C0644B4 */ lui $a2, 0x44b4
/* 995620 80240430 0C00A8ED */ jal update_lerp
/* 995624 80240434 24040004 */ addiu $a0, $zero, 4
/* 995628 80240438 8627004C */ lh $a3, 0x4c($s1)
/* 99562C 8024043C E620002C */ swc1 $f0, 0x2c($s1)
/* 995630 80240440 AFB00010 */ sw $s0, 0x10($sp)
/* 995634 80240444 8E25001C */ lw $a1, 0x1c($s1)
/* 995638 80240448 8E260024 */ lw $a2, 0x24($s1)
/* 99563C 8024044C 0C00A8ED */ jal update_lerp
/* 995640 80240450 2404000A */ addiu $a0, $zero, 0xa
/* 995644 80240454 9622004C */ lhu $v0, 0x4c($s1)
/* 995648 80240458 E6200004 */ swc1 $f0, 4($s1)
/* 99564C 8024045C 24420001 */ addiu $v0, $v0, 1
/* 995650 80240460 A622004C */ sh $v0, 0x4c($s1)
/* 995654 80240464 00021400 */ sll $v0, $v0, 0x10
/* 995658 80240468 00021403 */ sra $v0, $v0, 0x10
/* 99565C 8024046C 0050102A */ slt $v0, $v0, $s0
/* 995660 80240470 1440002F */ bnez $v0, .L80240530
/* 995664 80240474 2402010E */ addiu $v0, $zero, 0x10e
/* 995668 80240478 A622004C */ sh $v0, 0x4c($s1)
/* 99566C 8024047C 24020002 */ addiu $v0, $zero, 2
/* 995670 80240480 0809014B */ j .L8024052C
/* 995674 80240484 A622004A */ sh $v0, 0x4a($s1)
.L80240488:
/* 995678 80240488 8622004C */ lh $v0, 0x4c($s1)
/* 99567C 8024048C 44826000 */ mtc1 $v0, $f12
/* 995680 80240490 00000000 */ nop
/* 995684 80240494 0C00A8BB */ jal sin_deg
/* 995688 80240498 46806320 */ cvt.s.w $f12, $f12
/* 99568C 8024049C 3C013F80 */ lui $at, 0x3f80
/* 995690 802404A0 44811000 */ mtc1 $at, $f2
/* 995694 802404A4 00000000 */ nop
/* 995698 802404A8 46020000 */ add.s $f0, $f0, $f2
/* 99569C 802404AC 46000000 */ add.s $f0, $f0, $f0
/* 9956A0 802404B0 C6220024 */ lwc1 $f2, 0x24($s1)
/* 9956A4 802404B4 8622004C */ lh $v0, 0x4c($s1)
/* 9956A8 802404B8 46001080 */ add.s $f2, $f2, $f0
/* 9956AC 802404BC 24420008 */ addiu $v0, $v0, 8
/* 9956B0 802404C0 44826000 */ mtc1 $v0, $f12
/* 9956B4 802404C4 00000000 */ nop
/* 9956B8 802404C8 46806320 */ cvt.s.w $f12, $f12
/* 9956BC 802404CC 0C00A6C9 */ jal clamp_angle
/* 9956C0 802404D0 E6220004 */ swc1 $f2, 4($s1)
/* 9956C4 802404D4 4600010D */ trunc.w.s $f4, $f0
/* 9956C8 802404D8 44022000 */ mfc1 $v0, $f4
/* 9956CC 802404DC C6200004 */ lwc1 $f0, 4($s1)
/* 9956D0 802404E0 A622004C */ sh $v0, 0x4c($s1)
/* 9956D4 802404E4 C60C0028 */ lwc1 $f12, 0x28($s0)
/* 9956D8 802404E8 8E060030 */ lw $a2, 0x30($s0)
/* 9956DC 802404EC 3C0141A0 */ lui $at, 0x41a0
/* 9956E0 802404F0 44817000 */ mtc1 $at, $f14
/* 9956E4 802404F4 E7A00010 */ swc1 $f0, 0x10($sp)
/* 9956E8 802404F8 C602002C */ lwc1 $f2, 0x2c($s0)
/* 9956EC 802404FC C6200008 */ lwc1 $f0, 8($s1)
/* 9956F0 80240500 E7A00014 */ swc1 $f0, 0x14($sp)
/* 9956F4 80240504 8E270000 */ lw $a3, ($s1)
/* 9956F8 80240508 0C00A7CB */ jal dist3D
/* 9956FC 8024050C 460E1380 */ add.s $f14, $f2, $f14
/* 995700 80240510 3C0141F0 */ lui $at, 0x41f0
/* 995704 80240514 44811000 */ mtc1 $at, $f2
/* 995708 80240518 00000000 */ nop
/* 99570C 8024051C 4600103C */ c.lt.s $f2, $f0
/* 995710 80240520 00000000 */ nop
/* 995714 80240524 45010002 */ bc1t .L80240530
/* 995718 80240528 24020003 */ addiu $v0, $zero, 3
.L8024052C:
/* 99571C 8024052C A622004E */ sh $v0, 0x4e($s1)
.L80240530:
/* 995720 80240530 86230048 */ lh $v1, 0x48($s1)
/* 995724 80240534 24020001 */ addiu $v0, $zero, 1
/* 995728 80240538 10620005 */ beq $v1, $v0, .L80240550
/* 99572C 8024053C 24020002 */ addiu $v0, $zero, 2
/* 995730 80240540 10620008 */ beq $v1, $v0, .L80240564
/* 995734 80240544 00000000 */ nop
/* 995738 80240548 08090169 */ j .L802405A4
/* 99573C 8024054C 00000000 */ nop
.L80240550:
/* 995740 80240550 C620002C */ lwc1 $f0, 0x2c($s1)
/* 995744 80240554 C62C0030 */ lwc1 $f12, 0x30($s1)
/* 995748 80240558 0C00A6C9 */ jal clamp_angle
/* 99574C 8024055C 460C0300 */ add.s $f12, $f0, $f12
/* 995750 80240560 E620002C */ swc1 $f0, 0x2c($s1)
.L80240564:
/* 995754 80240564 8E220054 */ lw $v0, 0x54($s1)
/* 995758 80240568 C620002C */ lwc1 $f0, 0x2c($s1)
/* 99575C 8024056C 8C42000C */ lw $v0, 0xc($v0)
/* 995760 80240570 E4400024 */ swc1 $f0, 0x24($v0)
/* 995764 80240574 8E220054 */ lw $v0, 0x54($s1)
/* 995768 80240578 C6200018 */ lwc1 $f0, 0x18($s1)
/* 99576C 8024057C 8C42000C */ lw $v0, 0xc($v0)
/* 995770 80240580 E4400004 */ swc1 $f0, 4($v0)
/* 995774 80240584 8E220054 */ lw $v0, 0x54($s1)
/* 995778 80240588 C6200004 */ lwc1 $f0, 4($s1)
/* 99577C 8024058C 8C42000C */ lw $v0, 0xc($v0)
/* 995780 80240590 E4400008 */ swc1 $f0, 8($v0)
/* 995784 80240594 8E220054 */ lw $v0, 0x54($s1)
/* 995788 80240598 C6200020 */ lwc1 $f0, 0x20($s1)
/* 99578C 8024059C 8C42000C */ lw $v0, 0xc($v0)
/* 995790 802405A0 E440000C */ swc1 $f0, 0xc($v0)
.L802405A4:
/* 995794 802405A4 8FBF0020 */ lw $ra, 0x20($sp)
/* 995798 802405A8 8FB1001C */ lw $s1, 0x1c($sp)
/* 99579C 802405AC 8FB00018 */ lw $s0, 0x18($sp)
/* 9957A0 802405B0 0000102D */ daddu $v0, $zero, $zero
/* 9957A4 802405B4 03E00008 */ jr $ra
/* 9957A8 802405B8 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,20 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802405BC_9957AC
/* 9957AC 802405BC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 9957B0 802405C0 AFB00010 */ sw $s0, 0x10($sp)
/* 9957B4 802405C4 0080802D */ daddu $s0, $a0, $zero
/* 9957B8 802405C8 AFBF0014 */ sw $ra, 0x14($sp)
/* 9957BC 802405CC 8E02000C */ lw $v0, 0xc($s0)
/* 9957C0 802405D0 0C0B1EAF */ jal evt_get_variable
/* 9957C4 802405D4 8C450000 */ lw $a1, ($v0)
/* 9957C8 802405D8 8E030084 */ lw $v1, 0x84($s0)
/* 9957CC 802405DC 8FBF0014 */ lw $ra, 0x14($sp)
/* 9957D0 802405E0 8463004E */ lh $v1, 0x4e($v1)
/* 9957D4 802405E4 8FB00010 */ lw $s0, 0x10($sp)
/* 9957D8 802405E8 00621826 */ xor $v1, $v1, $v0
/* 9957DC 802405EC 2C630001 */ sltiu $v1, $v1, 1
/* 9957E0 802405F0 00031040 */ sll $v0, $v1, 1
/* 9957E4 802405F4 03E00008 */ jr $ra
/* 9957E8 802405F8 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,72 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802405FC_9957EC
/* 9957EC 802405FC 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 9957F0 80240600 AFB20020 */ sw $s2, 0x20($sp)
/* 9957F4 80240604 0080902D */ daddu $s2, $a0, $zero
/* 9957F8 80240608 AFBF0024 */ sw $ra, 0x24($sp)
/* 9957FC 8024060C AFB1001C */ sw $s1, 0x1c($sp)
/* 995800 80240610 AFB00018 */ sw $s0, 0x18($sp)
/* 995804 80240614 10A00035 */ beqz $a1, .L802406EC
/* 995808 80240618 8E51000C */ lw $s1, 0xc($s2)
/* 99580C 8024061C 0C00AB39 */ jal heap_malloc
/* 995810 80240620 24040058 */ addiu $a0, $zero, 0x58
/* 995814 80240624 0040802D */ daddu $s0, $v0, $zero
/* 995818 80240628 AE500084 */ sw $s0, 0x84($s2)
/* 99581C 8024062C 8E250000 */ lw $a1, ($s1)
/* 995820 80240630 26310004 */ addiu $s1, $s1, 4
/* 995824 80240634 0C0B1EAF */ jal evt_get_variable
/* 995828 80240638 0240202D */ daddu $a0, $s2, $zero
/* 99582C 8024063C AE020038 */ sw $v0, 0x38($s0)
/* 995830 80240640 8E250000 */ lw $a1, ($s1)
/* 995834 80240644 26310004 */ addiu $s1, $s1, 4
/* 995838 80240648 0C0B210B */ jal evt_get_float_variable
/* 99583C 8024064C 0240202D */ daddu $a0, $s2, $zero
/* 995840 80240650 E6000018 */ swc1 $f0, 0x18($s0)
/* 995844 80240654 8E250000 */ lw $a1, ($s1)
/* 995848 80240658 26310004 */ addiu $s1, $s1, 4
/* 99584C 8024065C 0C0B210B */ jal evt_get_float_variable
/* 995850 80240660 0240202D */ daddu $a0, $s2, $zero
/* 995854 80240664 E6000024 */ swc1 $f0, 0x24($s0)
/* 995858 80240668 8E250000 */ lw $a1, ($s1)
/* 99585C 8024066C 26310004 */ addiu $s1, $s1, 4
/* 995860 80240670 0C0B210B */ jal evt_get_float_variable
/* 995864 80240674 0240202D */ daddu $a0, $s2, $zero
/* 995868 80240678 E6000020 */ swc1 $f0, 0x20($s0)
/* 99586C 8024067C 8E250000 */ lw $a1, ($s1)
/* 995870 80240680 0C0B210B */ jal evt_get_float_variable
/* 995874 80240684 0240202D */ daddu $a0, $s2, $zero
/* 995878 80240688 3C013F80 */ lui $at, 0x3f80
/* 99587C 8024068C 44811000 */ mtc1 $at, $f2
/* 995880 80240690 E6000028 */ swc1 $f0, 0x28($s0)
/* 995884 80240694 AFA00014 */ sw $zero, 0x14($sp)
/* 995888 80240698 E7A20010 */ swc1 $f2, 0x10($sp)
/* 99588C 8024069C 8E050018 */ lw $a1, 0x18($s0)
/* 995890 802406A0 8E060024 */ lw $a2, 0x24($s0)
/* 995894 802406A4 8E070020 */ lw $a3, 0x20($s0)
/* 995898 802406A8 0C01C9AC */ jal playFX_7B
/* 99589C 802406AC 24040001 */ addiu $a0, $zero, 1
/* 9958A0 802406B0 AE020054 */ sw $v0, 0x54($s0)
/* 9958A4 802406B4 8C43000C */ lw $v1, 0xc($v0)
/* 9958A8 802406B8 9202003B */ lbu $v0, 0x3b($s0)
/* 9958AC 802406BC A0620034 */ sb $v0, 0x34($v1)
/* 9958B0 802406C0 8E020054 */ lw $v0, 0x54($s0)
/* 9958B4 802406C4 8C42000C */ lw $v0, 0xc($v0)
/* 9958B8 802406C8 AC400020 */ sw $zero, 0x20($v0)
/* 9958BC 802406CC 8E050018 */ lw $a1, 0x18($s0)
/* 9958C0 802406D0 8E060028 */ lw $a2, 0x28($s0)
/* 9958C4 802406D4 8E070020 */ lw $a3, 0x20($s0)
/* 9958C8 802406D8 0C044898 */ jal create_shadow_type
/* 9958CC 802406DC 0000202D */ daddu $a0, $zero, $zero
/* 9958D0 802406E0 AE020040 */ sw $v0, 0x40($s0)
/* 9958D4 802406E4 2402010E */ addiu $v0, $zero, 0x10e
/* 9958D8 802406E8 A602004C */ sh $v0, 0x4c($s0)
.L802406EC:
/* 9958DC 802406EC 8FBF0024 */ lw $ra, 0x24($sp)
/* 9958E0 802406F0 8FB20020 */ lw $s2, 0x20($sp)
/* 9958E4 802406F4 8FB1001C */ lw $s1, 0x1c($sp)
/* 9958E8 802406F8 8FB00018 */ lw $s0, 0x18($sp)
/* 9958EC 802406FC 24020002 */ addiu $v0, $zero, 2
/* 9958F0 80240700 03E00008 */ jr $ra
/* 9958F4 80240704 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,67 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240708_9958F8
/* 9958F8 80240708 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 9958FC 8024070C AFBF0014 */ sw $ra, 0x14($sp)
/* 995900 80240710 AFB00010 */ sw $s0, 0x10($sp)
/* 995904 80240714 8C900084 */ lw $s0, 0x84($a0)
/* 995908 80240718 8602004C */ lh $v0, 0x4c($s0)
/* 99590C 8024071C 44826000 */ mtc1 $v0, $f12
/* 995910 80240720 00000000 */ nop
/* 995914 80240724 0C00A8BB */ jal sin_deg
/* 995918 80240728 46806320 */ cvt.s.w $f12, $f12
/* 99591C 8024072C 3C013F80 */ lui $at, 0x3f80
/* 995920 80240730 44811000 */ mtc1 $at, $f2
/* 995924 80240734 00000000 */ nop
/* 995928 80240738 46020000 */ add.s $f0, $f0, $f2
/* 99592C 8024073C 46000000 */ add.s $f0, $f0, $f0
/* 995930 80240740 C6020024 */ lwc1 $f2, 0x24($s0)
/* 995934 80240744 8602004C */ lh $v0, 0x4c($s0)
/* 995938 80240748 46001080 */ add.s $f2, $f2, $f0
/* 99593C 8024074C 24420008 */ addiu $v0, $v0, 8
/* 995940 80240750 44826000 */ mtc1 $v0, $f12
/* 995944 80240754 00000000 */ nop
/* 995948 80240758 46806320 */ cvt.s.w $f12, $f12
/* 99594C 8024075C 0C00A6C9 */ jal clamp_angle
/* 995950 80240760 E6020004 */ swc1 $f2, 4($s0)
/* 995954 80240764 4600010D */ trunc.w.s $f4, $f0
/* 995958 80240768 44022000 */ mfc1 $v0, $f4
/* 99595C 8024076C 00000000 */ nop
/* 995960 80240770 A602004C */ sh $v0, 0x4c($s0)
/* 995964 80240774 3C028011 */ lui $v0, %hi(gPlayerStatus)
/* 995968 80240778 2442EFC8 */ addiu $v0, $v0, %lo(gPlayerStatus)
/* 99596C 8024077C C44C0028 */ lwc1 $f12, 0x28($v0)
/* 995970 80240780 C44E0030 */ lwc1 $f14, 0x30($v0)
/* 995974 80240784 8E060018 */ lw $a2, 0x18($s0)
/* 995978 80240788 0C00A7B5 */ jal dist2D
/* 99597C 8024078C 8E070020 */ lw $a3, 0x20($s0)
/* 995980 80240790 3C0141F0 */ lui $at, 0x41f0
/* 995984 80240794 44811000 */ mtc1 $at, $f2
/* 995988 80240798 00000000 */ nop
/* 99598C 8024079C 4602003E */ c.le.s $f0, $f2
/* 995990 802407A0 00000000 */ nop
/* 995994 802407A4 45000002 */ bc1f .L802407B0
/* 995998 802407A8 24020003 */ addiu $v0, $zero, 3
/* 99599C 802407AC A602004E */ sh $v0, 0x4e($s0)
.L802407B0:
/* 9959A0 802407B0 8E020054 */ lw $v0, 0x54($s0)
/* 9959A4 802407B4 C6000018 */ lwc1 $f0, 0x18($s0)
/* 9959A8 802407B8 8C42000C */ lw $v0, 0xc($v0)
/* 9959AC 802407BC E4400004 */ swc1 $f0, 4($v0)
/* 9959B0 802407C0 8E020054 */ lw $v0, 0x54($s0)
/* 9959B4 802407C4 C6000004 */ lwc1 $f0, 4($s0)
/* 9959B8 802407C8 8C42000C */ lw $v0, 0xc($v0)
/* 9959BC 802407CC E4400008 */ swc1 $f0, 8($v0)
/* 9959C0 802407D0 8E020054 */ lw $v0, 0x54($s0)
/* 9959C4 802407D4 C6000020 */ lwc1 $f0, 0x20($s0)
/* 9959C8 802407D8 8C42000C */ lw $v0, 0xc($v0)
/* 9959CC 802407DC E440000C */ swc1 $f0, 0xc($v0)
/* 9959D0 802407E0 8FBF0014 */ lw $ra, 0x14($sp)
/* 9959D4 802407E4 8FB00010 */ lw $s0, 0x10($sp)
/* 9959D8 802407E8 0000102D */ daddu $v0, $zero, $zero
/* 9959DC 802407EC 03E00008 */ jr $ra
/* 9959E0 802407F0 27BD0018 */ addiu $sp, $sp, 0x18
/* 9959E4 802407F4 00000000 */ nop
/* 9959E8 802407F8 00000000 */ nop
/* 9959EC 802407FC 00000000 */ nop

View File

@ -1,12 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240330_C7E4B0
/* C7E4B0 80240330 27BDFFE8 */ addiu $sp, $sp, -0x18
/* C7E4B4 80240334 AFBF0010 */ sw $ra, 0x10($sp)
/* C7E4B8 80240338 0C03A8CD */ jal subtract_hp
/* C7E4BC 8024033C 24040001 */ addiu $a0, $zero, 1
/* C7E4C0 80240340 8FBF0010 */ lw $ra, 0x10($sp)
/* C7E4C4 80240344 24020002 */ addiu $v0, $zero, 2
/* C7E4C8 80240348 03E00008 */ jr $ra
/* C7E4CC 8024034C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,43 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024037C_C7E4FC
/* C7E4FC 8024037C 27BDFFD0 */ addiu $sp, $sp, -0x30
/* C7E500 80240380 AFB00028 */ sw $s0, 0x28($sp)
/* C7E504 80240384 0080802D */ daddu $s0, $a0, $zero
/* C7E508 80240388 AFBF002C */ sw $ra, 0x2c($sp)
/* C7E50C 8024038C C6000084 */ lwc1 $f0, 0x84($s0)
/* C7E510 80240390 46800020 */ cvt.s.w $f0, $f0
/* C7E514 80240394 E7A00018 */ swc1 $f0, 0x18($sp)
/* C7E518 80240398 C600008C */ lwc1 $f0, 0x8c($s0)
/* C7E51C 8024039C 46800020 */ cvt.s.w $f0, $f0
/* C7E520 802403A0 27A20024 */ addiu $v0, $sp, 0x24
/* C7E524 802403A4 3C040001 */ lui $a0, 1
/* C7E528 802403A8 27A50018 */ addiu $a1, $sp, 0x18
/* C7E52C 802403AC 27A6001C */ addiu $a2, $sp, 0x1c
/* C7E530 802403B0 3C0144FA */ lui $at, 0x44fa
/* C7E534 802403B4 44811000 */ mtc1 $at, $f2
/* C7E538 802403B8 27A70020 */ addiu $a3, $sp, 0x20
/* C7E53C 802403BC E7A0001C */ swc1 $f0, 0x1c($sp)
/* C7E540 802403C0 AFA00020 */ sw $zero, 0x20($sp)
/* C7E544 802403C4 E7A20024 */ swc1 $f2, 0x24($sp)
/* C7E548 802403C8 0C0372DF */ jal npc_raycast_down_sides
/* C7E54C 802403CC AFA20010 */ sw $v0, 0x10($sp)
/* C7E550 802403D0 1040000B */ beqz $v0, .L80240400
/* C7E554 802403D4 00000000 */ nop
/* C7E558 802403D8 C7A2001C */ lwc1 $f2, 0x1c($sp)
/* C7E55C 802403DC 3C01425C */ lui $at, 0x425c
/* C7E560 802403E0 44810000 */ mtc1 $at, $f0
/* C7E564 802403E4 00000000 */ nop
/* C7E568 802403E8 46001080 */ add.s $f2, $f2, $f0
/* C7E56C 802403EC C7A00018 */ lwc1 $f0, 0x18($sp)
/* C7E570 802403F0 4600010D */ trunc.w.s $f4, $f0
/* C7E574 802403F4 E6040084 */ swc1 $f4, 0x84($s0)
/* C7E578 802403F8 4600110D */ trunc.w.s $f4, $f2
/* C7E57C 802403FC E604008C */ swc1 $f4, 0x8c($s0)
.L80240400:
/* C7E580 80240400 8FBF002C */ lw $ra, 0x2c($sp)
/* C7E584 80240404 8FB00028 */ lw $s0, 0x28($sp)
/* C7E588 80240408 24020002 */ addiu $v0, $zero, 2
/* C7E58C 8024040C 03E00008 */ jr $ra
/* C7E590 80240410 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_80240414_C7E594
/* C7E594 80240414 27BDFFE8 */ addiu $sp, $sp, -0x18
/* C7E598 80240418 AFB00010 */ sw $s0, 0x10($sp)
/* C7E59C 8024041C 0080802D */ daddu $s0, $a0, $zero
/* C7E5A0 80240420 3C028011 */ lui $v0, %hi(gPlayerStatus)
/* C7E5A4 80240424 2442EFC8 */ addiu $v0, $v0, %lo(gPlayerStatus)
/* C7E5A8 80240428 AFBF0014 */ sw $ra, 0x14($sp)
/* C7E5AC 8024042C C4400028 */ lwc1 $f0, 0x28($v0)
/* C7E5B0 80240430 C6020084 */ lwc1 $f2, 0x84($s0)
/* C7E5B4 80240434 468010A0 */ cvt.s.w $f2, $f2
/* C7E5B8 80240438 46001081 */ sub.s $f2, $f2, $f0
/* C7E5BC 8024043C 46021082 */ mul.s $f2, $f2, $f2
/* C7E5C0 80240440 00000000 */ nop
/* C7E5C4 80240444 C440002C */ lwc1 $f0, 0x2c($v0)
/* C7E5C8 80240448 C604008C */ lwc1 $f4, 0x8c($s0)
/* C7E5CC 8024044C 46802120 */ cvt.s.w $f4, $f4
/* C7E5D0 80240450 46002101 */ sub.s $f4, $f4, $f0
/* C7E5D4 80240454 46042102 */ mul.s $f4, $f4, $f4
/* C7E5D8 80240458 00000000 */ nop
/* C7E5DC 8024045C C4460030 */ lwc1 $f6, 0x30($v0)
/* C7E5E0 80240460 44800000 */ mtc1 $zero, $f0
/* C7E5E4 80240464 00000000 */ nop
/* C7E5E8 80240468 46060001 */ sub.s $f0, $f0, $f6
/* C7E5EC 8024046C 46000002 */ mul.s $f0, $f0, $f0
/* C7E5F0 80240470 00000000 */ nop
/* C7E5F4 80240474 46041080 */ add.s $f2, $f2, $f4
/* C7E5F8 80240478 46001300 */ add.s $f12, $f2, $f0
/* C7E5FC 8024047C 46006004 */ sqrt.s $f0, $f12
/* C7E600 80240480 46000032 */ c.eq.s $f0, $f0
/* C7E604 80240484 00000000 */ nop
/* C7E608 80240488 45010003 */ bc1t .L80240498
/* C7E60C 8024048C 00000000 */ nop
/* C7E610 80240490 0C0187BC */ jal sqrtf
/* C7E614 80240494 00000000 */ nop
.L80240498:
/* C7E618 80240498 4600020D */ trunc.w.s $f8, $f0
/* C7E61C 8024049C E6080094 */ swc1 $f8, 0x94($s0)
/* C7E620 802404A0 8FBF0014 */ lw $ra, 0x14($sp)
/* C7E624 802404A4 8FB00010 */ lw $s0, 0x10($sp)
/* C7E628 802404A8 24020002 */ addiu $v0, $zero, 2
/* C7E62C 802404AC 03E00008 */ jr $ra
/* C7E630 802404B0 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,18 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802404B4_C7E634
/* C7E634 802404B4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* C7E638 802404B8 AFBF0010 */ sw $ra, 0x10($sp)
/* C7E63C 802404BC 8C82000C */ lw $v0, 0xc($a0)
/* C7E640 802404C0 0C0B1EAF */ jal evt_get_variable
/* C7E644 802404C4 8C450000 */ lw $a1, ($v0)
/* C7E648 802404C8 44820000 */ mtc1 $v0, $f0
/* C7E64C 802404CC 00000000 */ nop
/* C7E650 802404D0 46800020 */ cvt.s.w $f0, $f0
/* C7E654 802404D4 8FBF0010 */ lw $ra, 0x10($sp)
/* C7E658 802404D8 24020002 */ addiu $v0, $zero, 2
/* C7E65C 802404DC 3C018011 */ lui $at, %hi(gPlayerStatus+0x8C)
/* C7E660 802404E0 E420F054 */ swc1 $f0, %lo(gPlayerStatus+0x8C)($at)
/* C7E664 802404E4 03E00008 */ jr $ra
/* C7E668 802404E8 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,60 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.section .rodata
glabel D_80242000_C80180
.double 35.0
glabel D_80242008_C80188
.double 2.3
.section .text
glabel func_802404EC_C7E66C
/* C7E66C 802404EC 27BDFFE0 */ addiu $sp, $sp, -0x20
/* C7E670 802404F0 AFB00010 */ sw $s0, 0x10($sp)
/* C7E674 802404F4 0080802D */ daddu $s0, $a0, $zero
/* C7E678 802404F8 AFBF0014 */ sw $ra, 0x14($sp)
/* C7E67C 802404FC F7B40018 */ sdc1 $f20, 0x18($sp)
/* C7E680 80240500 C60C0090 */ lwc1 $f12, 0x90($s0)
/* C7E684 80240504 46806320 */ cvt.s.w $f12, $f12
/* C7E688 80240508 3C018024 */ lui $at, %hi(D_80242000_C80180)
/* C7E68C 8024050C D4342000 */ ldc1 $f20, %lo(D_80242000_C80180)($at)
/* C7E690 80240510 46006307 */ neg.s $f12, $f12
/* C7E694 80240514 46006321 */ cvt.d.s $f12, $f12
/* C7E698 80240518 46346301 */ sub.d $f12, $f12, $f20
/* C7E69C 8024051C 0C00A8D4 */ jal cos_deg
/* C7E6A0 80240520 46206320 */ cvt.s.d $f12, $f12
/* C7E6A4 80240524 3C014008 */ lui $at, 0x4008
/* C7E6A8 80240528 44811800 */ mtc1 $at, $f3
/* C7E6AC 8024052C 44801000 */ mtc1 $zero, $f2
/* C7E6B0 80240530 46000021 */ cvt.d.s $f0, $f0
/* C7E6B4 80240534 46220002 */ mul.d $f0, $f0, $f2
/* C7E6B8 80240538 00000000 */ nop
/* C7E6BC 8024053C C60C0090 */ lwc1 $f12, 0x90($s0)
/* C7E6C0 80240540 46806320 */ cvt.s.w $f12, $f12
/* C7E6C4 80240544 46006307 */ neg.s $f12, $f12
/* C7E6C8 80240548 46006321 */ cvt.d.s $f12, $f12
/* C7E6CC 8024054C 46346301 */ sub.d $f12, $f12, $f20
/* C7E6D0 80240550 3C018024 */ lui $at, %hi(D_80242008_C80188)
/* C7E6D4 80240554 D4222008 */ ldc1 $f2, %lo(D_80242008_C80188)($at)
/* C7E6D8 80240558 46220001 */ sub.d $f0, $f0, $f2
/* C7E6DC 8024055C 4620010D */ trunc.w.d $f4, $f0
/* C7E6E0 80240560 E6040098 */ swc1 $f4, 0x98($s0)
/* C7E6E4 80240564 0C00A8BB */ jal sin_deg
/* C7E6E8 80240568 46206320 */ cvt.s.d $f12, $f12
/* C7E6EC 8024056C 3C014014 */ lui $at, 0x4014
/* C7E6F0 80240570 44811800 */ mtc1 $at, $f3
/* C7E6F4 80240574 44801000 */ mtc1 $zero, $f2
/* C7E6F8 80240578 46000021 */ cvt.d.s $f0, $f0
/* C7E6FC 8024057C 46220002 */ mul.d $f0, $f0, $f2
/* C7E700 80240580 00000000 */ nop
/* C7E704 80240584 4620010D */ trunc.w.d $f4, $f0
/* C7E708 80240588 E604009C */ swc1 $f4, 0x9c($s0)
/* C7E70C 8024058C 8FBF0014 */ lw $ra, 0x14($sp)
/* C7E710 80240590 8FB00010 */ lw $s0, 0x10($sp)
/* C7E714 80240594 D7B40018 */ ldc1 $f20, 0x18($sp)
/* C7E718 80240598 24020002 */ addiu $v0, $zero, 2
/* C7E71C 8024059C 03E00008 */ jr $ra
/* C7E720 802405A0 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,49 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.section .rodata
glabel D_80242010_C80190
.double -469.0, 0.0
.section .text
glabel func_802405A4_C7E724
/* C7E724 802405A4 3C018024 */ lui $at, %hi(D_80242010_C80190)
/* C7E728 802405A8 D4222010 */ ldc1 $f2, %lo(D_80242010_C80190)($at)
/* C7E72C 802405AC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* C7E730 802405B0 AFB00010 */ sw $s0, 0x10($sp)
/* C7E734 802405B4 0080802D */ daddu $s0, $a0, $zero
/* C7E738 802405B8 AFBF0014 */ sw $ra, 0x14($sp)
/* C7E73C 802405BC C6000084 */ lwc1 $f0, 0x84($s0)
/* C7E740 802405C0 46800021 */ cvt.d.w $f0, $f0
/* C7E744 802405C4 46201081 */ sub.d $f2, $f2, $f0
/* C7E748 802405C8 462010A0 */ cvt.s.d $f2, $f2
/* C7E74C 802405CC 46021082 */ mul.s $f2, $f2, $f2
/* C7E750 802405D0 00000000 */ nop
/* C7E754 802405D4 3C014047 */ lui $at, 0x4047
/* C7E758 802405D8 44810800 */ mtc1 $at, $f1
/* C7E75C 802405DC 44800000 */ mtc1 $zero, $f0
/* C7E760 802405E0 C604008C */ lwc1 $f4, 0x8c($s0)
/* C7E764 802405E4 46802121 */ cvt.d.w $f4, $f4
/* C7E768 802405E8 46240001 */ sub.d $f0, $f0, $f4
/* C7E76C 802405EC 46200020 */ cvt.s.d $f0, $f0
/* C7E770 802405F0 46000002 */ mul.s $f0, $f0, $f0
/* C7E774 802405F4 00000000 */ nop
/* C7E778 802405F8 46001300 */ add.s $f12, $f2, $f0
/* C7E77C 802405FC 46006004 */ sqrt.s $f0, $f12
/* C7E780 80240600 46000032 */ c.eq.s $f0, $f0
/* C7E784 80240604 00000000 */ nop
/* C7E788 80240608 45030004 */ bc1tl .L8024061C
/* C7E78C 8024060C 46000007 */ neg.s $f0, $f0
/* C7E790 80240610 0C0187BC */ jal sqrtf
/* C7E794 80240614 00000000 */ nop
/* C7E798 80240618 46000007 */ neg.s $f0, $f0
.L8024061C:
/* C7E79C 8024061C 4600018D */ trunc.w.s $f6, $f0
/* C7E7A0 80240620 E6060090 */ swc1 $f6, 0x90($s0)
/* C7E7A4 80240624 8FBF0014 */ lw $ra, 0x14($sp)
/* C7E7A8 80240628 8FB00010 */ lw $s0, 0x10($sp)
/* C7E7AC 8024062C 24020002 */ addiu $v0, $zero, 2
/* C7E7B0 80240630 03E00008 */ jr $ra
/* C7E7B4 80240634 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,42 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240638_C7E7B8
/* C7E7B8 80240638 27BDFFD8 */ addiu $sp, $sp, -0x28
/* C7E7BC 8024063C AFB1001C */ sw $s1, 0x1c($sp)
/* C7E7C0 80240640 0080882D */ daddu $s1, $a0, $zero
/* C7E7C4 80240644 AFBF0020 */ sw $ra, 0x20($sp)
/* C7E7C8 80240648 AFB00018 */ sw $s0, 0x18($sp)
/* C7E7CC 8024064C 8E30000C */ lw $s0, 0xc($s1)
/* C7E7D0 80240650 8E050000 */ lw $a1, ($s0)
/* C7E7D4 80240654 0C0B1EAF */ jal evt_get_variable
/* C7E7D8 80240658 26100004 */ addiu $s0, $s0, 4
/* C7E7DC 8024065C AE220070 */ sw $v0, 0x70($s1)
/* C7E7E0 80240660 8E050000 */ lw $a1, ($s0)
/* C7E7E4 80240664 26100004 */ addiu $s0, $s0, 4
/* C7E7E8 80240668 0C0B1EAF */ jal evt_get_variable
/* C7E7EC 8024066C 0220202D */ daddu $a0, $s1, $zero
/* C7E7F0 80240670 AE220074 */ sw $v0, 0x74($s1)
/* C7E7F4 80240674 8E050000 */ lw $a1, ($s0)
/* C7E7F8 80240678 0C0B1EAF */ jal evt_get_variable
/* C7E7FC 8024067C 0220202D */ daddu $a0, $s1, $zero
/* C7E800 80240680 24040052 */ addiu $a0, $zero, 0x52
/* C7E804 80240684 0000282D */ daddu $a1, $zero, $zero
/* C7E808 80240688 C6200070 */ lwc1 $f0, 0x70($s1)
/* C7E80C 8024068C 46800020 */ cvt.s.w $f0, $f0
/* C7E810 80240690 C6220074 */ lwc1 $f2, 0x74($s1)
/* C7E814 80240694 468010A0 */ cvt.s.w $f2, $f2
/* C7E818 80240698 44060000 */ mfc1 $a2, $f0
/* C7E81C 8024069C 44071000 */ mfc1 $a3, $f2
/* C7E820 802406A0 44820000 */ mtc1 $v0, $f0
/* C7E824 802406A4 00000000 */ nop
/* C7E828 802406A8 46800020 */ cvt.s.w $f0, $f0
/* C7E82C 802406AC AE220078 */ sw $v0, 0x78($s1)
/* C7E830 802406B0 0C05267B */ jal sfx_adjust_env_sound_pos
/* C7E834 802406B4 E7A00010 */ swc1 $f0, 0x10($sp)
/* C7E838 802406B8 8FBF0020 */ lw $ra, 0x20($sp)
/* C7E83C 802406BC 8FB1001C */ lw $s1, 0x1c($sp)
/* C7E840 802406C0 8FB00018 */ lw $s0, 0x18($sp)
/* C7E844 802406C4 24020002 */ addiu $v0, $zero, 2
/* C7E848 802406C8 03E00008 */ jr $ra
/* C7E84C 802406CC 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,12 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242D00_C887B0
/* C887B0 80242D00 27BDFFE8 */ addiu $sp, $sp, -0x18
/* C887B4 80242D04 AFBF0010 */ sw $ra, 0x10($sp)
/* C887B8 80242D08 0C03A8CD */ jal subtract_hp
/* C887BC 80242D0C 24040001 */ addiu $a0, $zero, 1
/* C887C0 80242D10 8FBF0010 */ lw $ra, 0x10($sp)
/* C887C4 80242D14 24020002 */ addiu $v0, $zero, 2
/* C887C8 80242D18 03E00008 */ jr $ra
/* C887CC 80242D1C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,43 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242D4C_C887FC
/* C887FC 80242D4C 27BDFFD0 */ addiu $sp, $sp, -0x30
/* C88800 80242D50 AFB00028 */ sw $s0, 0x28($sp)
/* C88804 80242D54 0080802D */ daddu $s0, $a0, $zero
/* C88808 80242D58 AFBF002C */ sw $ra, 0x2c($sp)
/* C8880C 80242D5C C6000084 */ lwc1 $f0, 0x84($s0)
/* C88810 80242D60 46800020 */ cvt.s.w $f0, $f0
/* C88814 80242D64 E7A00018 */ swc1 $f0, 0x18($sp)
/* C88818 80242D68 C600008C */ lwc1 $f0, 0x8c($s0)
/* C8881C 80242D6C 46800020 */ cvt.s.w $f0, $f0
/* C88820 80242D70 27A20024 */ addiu $v0, $sp, 0x24
/* C88824 80242D74 3C040001 */ lui $a0, 1
/* C88828 80242D78 27A50018 */ addiu $a1, $sp, 0x18
/* C8882C 80242D7C 27A6001C */ addiu $a2, $sp, 0x1c
/* C88830 80242D80 3C0144FA */ lui $at, 0x44fa
/* C88834 80242D84 44811000 */ mtc1 $at, $f2
/* C88838 80242D88 27A70020 */ addiu $a3, $sp, 0x20
/* C8883C 80242D8C E7A0001C */ swc1 $f0, 0x1c($sp)
/* C88840 80242D90 AFA00020 */ sw $zero, 0x20($sp)
/* C88844 80242D94 E7A20024 */ swc1 $f2, 0x24($sp)
/* C88848 80242D98 0C0372DF */ jal npc_raycast_down_sides
/* C8884C 80242D9C AFA20010 */ sw $v0, 0x10($sp)
/* C88850 80242DA0 1040000B */ beqz $v0, .L80242DD0
/* C88854 80242DA4 00000000 */ nop
/* C88858 80242DA8 C7A2001C */ lwc1 $f2, 0x1c($sp)
/* C8885C 80242DAC 3C01425C */ lui $at, 0x425c
/* C88860 80242DB0 44810000 */ mtc1 $at, $f0
/* C88864 80242DB4 00000000 */ nop
/* C88868 80242DB8 46001080 */ add.s $f2, $f2, $f0
/* C8886C 80242DBC C7A00018 */ lwc1 $f0, 0x18($sp)
/* C88870 80242DC0 4600010D */ trunc.w.s $f4, $f0
/* C88874 80242DC4 E6040084 */ swc1 $f4, 0x84($s0)
/* C88878 80242DC8 4600110D */ trunc.w.s $f4, $f2
/* C8887C 80242DCC E604008C */ swc1 $f4, 0x8c($s0)
.L80242DD0:
/* C88880 80242DD0 8FBF002C */ lw $ra, 0x2c($sp)
/* C88884 80242DD4 8FB00028 */ lw $s0, 0x28($sp)
/* C88888 80242DD8 24020002 */ addiu $v0, $zero, 2
/* C8888C 80242DDC 03E00008 */ jr $ra
/* C88890 80242DE0 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_80242DE4_C88894
/* C88894 80242DE4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* C88898 80242DE8 AFB00010 */ sw $s0, 0x10($sp)
/* C8889C 80242DEC 0080802D */ daddu $s0, $a0, $zero
/* C888A0 80242DF0 3C028011 */ lui $v0, %hi(gPlayerStatus)
/* C888A4 80242DF4 2442EFC8 */ addiu $v0, $v0, %lo(gPlayerStatus)
/* C888A8 80242DF8 AFBF0014 */ sw $ra, 0x14($sp)
/* C888AC 80242DFC C4400028 */ lwc1 $f0, 0x28($v0)
/* C888B0 80242E00 C6020084 */ lwc1 $f2, 0x84($s0)
/* C888B4 80242E04 468010A0 */ cvt.s.w $f2, $f2
/* C888B8 80242E08 46001081 */ sub.s $f2, $f2, $f0
/* C888BC 80242E0C 46021082 */ mul.s $f2, $f2, $f2
/* C888C0 80242E10 00000000 */ nop
/* C888C4 80242E14 C440002C */ lwc1 $f0, 0x2c($v0)
/* C888C8 80242E18 C604008C */ lwc1 $f4, 0x8c($s0)
/* C888CC 80242E1C 46802120 */ cvt.s.w $f4, $f4
/* C888D0 80242E20 46002101 */ sub.s $f4, $f4, $f0
/* C888D4 80242E24 46042102 */ mul.s $f4, $f4, $f4
/* C888D8 80242E28 00000000 */ nop
/* C888DC 80242E2C C4460030 */ lwc1 $f6, 0x30($v0)
/* C888E0 80242E30 44800000 */ mtc1 $zero, $f0
/* C888E4 80242E34 00000000 */ nop
/* C888E8 80242E38 46060001 */ sub.s $f0, $f0, $f6
/* C888EC 80242E3C 46000002 */ mul.s $f0, $f0, $f0
/* C888F0 80242E40 00000000 */ nop
/* C888F4 80242E44 46041080 */ add.s $f2, $f2, $f4
/* C888F8 80242E48 46001300 */ add.s $f12, $f2, $f0
/* C888FC 80242E4C 46006004 */ sqrt.s $f0, $f12
/* C88900 80242E50 46000032 */ c.eq.s $f0, $f0
/* C88904 80242E54 00000000 */ nop
/* C88908 80242E58 45010003 */ bc1t .L80242E68
/* C8890C 80242E5C 00000000 */ nop
/* C88910 80242E60 0C0187BC */ jal sqrtf
/* C88914 80242E64 00000000 */ nop
.L80242E68:
/* C88918 80242E68 4600020D */ trunc.w.s $f8, $f0
/* C8891C 80242E6C E6080094 */ swc1 $f8, 0x94($s0)
/* C88920 80242E70 8FBF0014 */ lw $ra, 0x14($sp)
/* C88924 80242E74 8FB00010 */ lw $s0, 0x10($sp)
/* C88928 80242E78 24020002 */ addiu $v0, $zero, 2
/* C8892C 80242E7C 03E00008 */ jr $ra
/* C88930 80242E80 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,18 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242E84_C88934
/* C88934 80242E84 27BDFFE8 */ addiu $sp, $sp, -0x18
/* C88938 80242E88 AFBF0010 */ sw $ra, 0x10($sp)
/* C8893C 80242E8C 8C82000C */ lw $v0, 0xc($a0)
/* C88940 80242E90 0C0B1EAF */ jal evt_get_variable
/* C88944 80242E94 8C450000 */ lw $a1, ($v0)
/* C88948 80242E98 44820000 */ mtc1 $v0, $f0
/* C8894C 80242E9C 00000000 */ nop
/* C88950 80242EA0 46800020 */ cvt.s.w $f0, $f0
/* C88954 80242EA4 8FBF0010 */ lw $ra, 0x10($sp)
/* C88958 80242EA8 24020002 */ addiu $v0, $zero, 2
/* C8895C 80242EAC 3C018011 */ lui $at, %hi(gPlayerStatus+0x8C)
/* C88960 80242EB0 E420F054 */ swc1 $f0, %lo(gPlayerStatus+0x8C)($at)
/* C88964 80242EB4 03E00008 */ jr $ra
/* C88968 80242EB8 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,60 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.section .rodata
glabel D_802465D0_C8C080
.double 35.0
glabel D_802465D8_C8C088
.double 2.3
.section .text
glabel func_80242EBC_C8896C
/* C8896C 80242EBC 27BDFFE0 */ addiu $sp, $sp, -0x20
/* C88970 80242EC0 AFB00010 */ sw $s0, 0x10($sp)
/* C88974 80242EC4 0080802D */ daddu $s0, $a0, $zero
/* C88978 80242EC8 AFBF0014 */ sw $ra, 0x14($sp)
/* C8897C 80242ECC F7B40018 */ sdc1 $f20, 0x18($sp)
/* C88980 80242ED0 C60C0090 */ lwc1 $f12, 0x90($s0)
/* C88984 80242ED4 46806320 */ cvt.s.w $f12, $f12
/* C88988 80242ED8 3C018024 */ lui $at, %hi(D_802465D0_C8C080)
/* C8898C 80242EDC D43465D0 */ ldc1 $f20, %lo(D_802465D0_C8C080)($at)
/* C88990 80242EE0 46006307 */ neg.s $f12, $f12
/* C88994 80242EE4 46006321 */ cvt.d.s $f12, $f12
/* C88998 80242EE8 46346301 */ sub.d $f12, $f12, $f20
/* C8899C 80242EEC 0C00A8D4 */ jal cos_deg
/* C889A0 80242EF0 46206320 */ cvt.s.d $f12, $f12
/* C889A4 80242EF4 3C014008 */ lui $at, 0x4008
/* C889A8 80242EF8 44811800 */ mtc1 $at, $f3
/* C889AC 80242EFC 44801000 */ mtc1 $zero, $f2
/* C889B0 80242F00 46000021 */ cvt.d.s $f0, $f0
/* C889B4 80242F04 46220002 */ mul.d $f0, $f0, $f2
/* C889B8 80242F08 00000000 */ nop
/* C889BC 80242F0C C60C0090 */ lwc1 $f12, 0x90($s0)
/* C889C0 80242F10 46806320 */ cvt.s.w $f12, $f12
/* C889C4 80242F14 46006307 */ neg.s $f12, $f12
/* C889C8 80242F18 46006321 */ cvt.d.s $f12, $f12
/* C889CC 80242F1C 46346301 */ sub.d $f12, $f12, $f20
/* C889D0 80242F20 3C018024 */ lui $at, %hi(D_802465D8_C8C088)
/* C889D4 80242F24 D42265D8 */ ldc1 $f2, %lo(D_802465D8_C8C088)($at)
/* C889D8 80242F28 46220001 */ sub.d $f0, $f0, $f2
/* C889DC 80242F2C 4620010D */ trunc.w.d $f4, $f0
/* C889E0 80242F30 E6040098 */ swc1 $f4, 0x98($s0)
/* C889E4 80242F34 0C00A8BB */ jal sin_deg
/* C889E8 80242F38 46206320 */ cvt.s.d $f12, $f12
/* C889EC 80242F3C 3C014014 */ lui $at, 0x4014
/* C889F0 80242F40 44811800 */ mtc1 $at, $f3
/* C889F4 80242F44 44801000 */ mtc1 $zero, $f2
/* C889F8 80242F48 46000021 */ cvt.d.s $f0, $f0
/* C889FC 80242F4C 46220002 */ mul.d $f0, $f0, $f2
/* C88A00 80242F50 00000000 */ nop
/* C88A04 80242F54 4620010D */ trunc.w.d $f4, $f0
/* C88A08 80242F58 E604009C */ swc1 $f4, 0x9c($s0)
/* C88A0C 80242F5C 8FBF0014 */ lw $ra, 0x14($sp)
/* C88A10 80242F60 8FB00010 */ lw $s0, 0x10($sp)
/* C88A14 80242F64 D7B40018 */ ldc1 $f20, 0x18($sp)
/* C88A18 80242F68 24020002 */ addiu $v0, $zero, 2
/* C88A1C 80242F6C 03E00008 */ jr $ra
/* C88A20 80242F70 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,51 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.section .rodata
glabel D_802465E0_C8C090
.double -583.0
glabel D_802465E8_C8C098
.double 165.0
.section .text
glabel func_80242F74_C88A24
/* C88A24 80242F74 3C018024 */ lui $at, %hi(D_802465E0_C8C090)
/* C88A28 80242F78 D42265E0 */ ldc1 $f2, %lo(D_802465E0_C8C090)($at)
/* C88A2C 80242F7C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* C88A30 80242F80 AFB00010 */ sw $s0, 0x10($sp)
/* C88A34 80242F84 0080802D */ daddu $s0, $a0, $zero
/* C88A38 80242F88 AFBF0014 */ sw $ra, 0x14($sp)
/* C88A3C 80242F8C C6000084 */ lwc1 $f0, 0x84($s0)
/* C88A40 80242F90 46800021 */ cvt.d.w $f0, $f0
/* C88A44 80242F94 46201081 */ sub.d $f2, $f2, $f0
/* C88A48 80242F98 462010A0 */ cvt.s.d $f2, $f2
/* C88A4C 80242F9C 46021082 */ mul.s $f2, $f2, $f2
/* C88A50 80242FA0 00000000 */ nop
/* C88A54 80242FA4 3C018024 */ lui $at, %hi(D_802465E8_C8C098)
/* C88A58 80242FA8 D42065E8 */ ldc1 $f0, %lo(D_802465E8_C8C098)($at)
/* C88A5C 80242FAC C604008C */ lwc1 $f4, 0x8c($s0)
/* C88A60 80242FB0 46802121 */ cvt.d.w $f4, $f4
/* C88A64 80242FB4 46240001 */ sub.d $f0, $f0, $f4
/* C88A68 80242FB8 46200020 */ cvt.s.d $f0, $f0
/* C88A6C 80242FBC 46000002 */ mul.s $f0, $f0, $f0
/* C88A70 80242FC0 00000000 */ nop
/* C88A74 80242FC4 46001300 */ add.s $f12, $f2, $f0
/* C88A78 80242FC8 46006004 */ sqrt.s $f0, $f12
/* C88A7C 80242FCC 46000032 */ c.eq.s $f0, $f0
/* C88A80 80242FD0 00000000 */ nop
/* C88A84 80242FD4 45030004 */ bc1tl .L80242FE8
/* C88A88 80242FD8 46000007 */ neg.s $f0, $f0
/* C88A8C 80242FDC 0C0187BC */ jal sqrtf
/* C88A90 80242FE0 00000000 */ nop
/* C88A94 80242FE4 46000007 */ neg.s $f0, $f0
.L80242FE8:
/* C88A98 80242FE8 4600018D */ trunc.w.s $f6, $f0
/* C88A9C 80242FEC E6060090 */ swc1 $f6, 0x90($s0)
/* C88AA0 80242FF0 8FBF0014 */ lw $ra, 0x14($sp)
/* C88AA4 80242FF4 8FB00010 */ lw $s0, 0x10($sp)
/* C88AA8 80242FF8 24020002 */ addiu $v0, $zero, 2
/* C88AAC 80242FFC 03E00008 */ jr $ra
/* C88AB0 80243000 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,43 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80243004_C88AB4
/* C88AB4 80243004 27BDFFD8 */ addiu $sp, $sp, -0x28
/* C88AB8 80243008 AFB1001C */ sw $s1, 0x1c($sp)
/* C88ABC 8024300C 0080882D */ daddu $s1, $a0, $zero
/* C88AC0 80243010 AFBF0020 */ sw $ra, 0x20($sp)
/* C88AC4 80243014 AFB00018 */ sw $s0, 0x18($sp)
/* C88AC8 80243018 8E30000C */ lw $s0, 0xc($s1)
/* C88ACC 8024301C 8E050000 */ lw $a1, ($s0)
/* C88AD0 80243020 0C0B1EAF */ jal evt_get_variable
/* C88AD4 80243024 26100004 */ addiu $s0, $s0, 4
/* C88AD8 80243028 AE220070 */ sw $v0, 0x70($s1)
/* C88ADC 8024302C 8E050000 */ lw $a1, ($s0)
/* C88AE0 80243030 26100004 */ addiu $s0, $s0, 4
/* C88AE4 80243034 0C0B1EAF */ jal evt_get_variable
/* C88AE8 80243038 0220202D */ daddu $a0, $s1, $zero
/* C88AEC 8024303C AE220074 */ sw $v0, 0x74($s1)
/* C88AF0 80243040 8E050000 */ lw $a1, ($s0)
/* C88AF4 80243044 0C0B1EAF */ jal evt_get_variable
/* C88AF8 80243048 0220202D */ daddu $a0, $s1, $zero
/* C88AFC 8024304C 24040052 */ addiu $a0, $zero, 0x52
/* C88B00 80243050 0000282D */ daddu $a1, $zero, $zero
/* C88B04 80243054 C6200070 */ lwc1 $f0, 0x70($s1)
/* C88B08 80243058 46800020 */ cvt.s.w $f0, $f0
/* C88B0C 8024305C C6220074 */ lwc1 $f2, 0x74($s1)
/* C88B10 80243060 468010A0 */ cvt.s.w $f2, $f2
/* C88B14 80243064 44060000 */ mfc1 $a2, $f0
/* C88B18 80243068 44071000 */ mfc1 $a3, $f2
/* C88B1C 8024306C 44820000 */ mtc1 $v0, $f0
/* C88B20 80243070 00000000 */ nop
/* C88B24 80243074 46800020 */ cvt.s.w $f0, $f0
/* C88B28 80243078 AE220078 */ sw $v0, 0x78($s1)
/* C88B2C 8024307C 0C05267B */ jal sfx_adjust_env_sound_pos
/* C88B30 80243080 E7A00010 */ swc1 $f0, 0x10($sp)
/* C88B34 80243084 8FBF0020 */ lw $ra, 0x20($sp)
/* C88B38 80243088 8FB1001C */ lw $s1, 0x1c($sp)
/* C88B3C 8024308C 8FB00018 */ lw $s0, 0x18($sp)
/* C88B40 80243090 24020002 */ addiu $v0, $zero, 2
/* C88B44 80243094 03E00008 */ jr $ra
/* C88B48 80243098 27BD0028 */ addiu $sp, $sp, 0x28
/* C88B4C 8024309C 00000000 */ nop

View File

@ -1,23 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024030C_C8DEBC
/* C8DEBC 8024030C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* C8DEC0 80240310 AFBF001C */ sw $ra, 0x1c($sp)
/* C8DEC4 80240314 AFB00018 */ sw $s0, 0x18($sp)
/* C8DEC8 80240318 8C900084 */ lw $s0, 0x84($a0)
/* C8DECC 8024031C C6000008 */ lwc1 $f0, 8($s0)
/* C8DED0 80240320 240400A2 */ addiu $a0, $zero, 0xa2
/* C8DED4 80240324 E7A00010 */ swc1 $f0, 0x10($sp)
/* C8DED8 80240328 8E060000 */ lw $a2, ($s0)
/* C8DEDC 8024032C 8E070004 */ lw $a3, 4($s0)
/* C8DEE0 80240330 0C05267B */ jal sfx_adjust_env_sound_pos
/* C8DEE4 80240334 0000282D */ daddu $a1, $zero, $zero
/* C8DEE8 80240338 86020044 */ lh $v0, 0x44($s0)
/* C8DEEC 8024033C 8FBF001C */ lw $ra, 0x1c($sp)
/* C8DEF0 80240340 8FB00018 */ lw $s0, 0x18($sp)
/* C8DEF4 80240344 28420002 */ slti $v0, $v0, 2
/* C8DEF8 80240348 38420001 */ xori $v0, $v0, 1
/* C8DEFC 8024034C 00021040 */ sll $v0, $v0, 1
/* C8DF00 80240350 03E00008 */ jr $ra
/* C8DF04 80240354 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,93 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240358_C8DF08
/* C8DF08 80240358 27BDFFD8 */ addiu $sp, $sp, -0x28
/* C8DF0C 8024035C AFB20020 */ sw $s2, 0x20($sp)
/* C8DF10 80240360 0080902D */ daddu $s2, $a0, $zero
/* C8DF14 80240364 AFBF0024 */ sw $ra, 0x24($sp)
/* C8DF18 80240368 AFB1001C */ sw $s1, 0x1c($sp)
/* C8DF1C 8024036C AFB00018 */ sw $s0, 0x18($sp)
/* C8DF20 80240370 10A0004A */ beqz $a1, .L8024049C
/* C8DF24 80240374 8E51000C */ lw $s1, 0xc($s2)
/* C8DF28 80240378 0C00AB39 */ jal heap_malloc
/* C8DF2C 8024037C 24040058 */ addiu $a0, $zero, 0x58
/* C8DF30 80240380 0000202D */ daddu $a0, $zero, $zero
/* C8DF34 80240384 3C05FD05 */ lui $a1, 0xfd05
/* C8DF38 80240388 34A50F81 */ ori $a1, $a1, 0xf81
/* C8DF3C 8024038C 0040802D */ daddu $s0, $v0, $zero
/* C8DF40 80240390 0200302D */ daddu $a2, $s0, $zero
/* C8DF44 80240394 0C0B2026 */ jal evt_set_variable
/* C8DF48 80240398 AE500084 */ sw $s0, 0x84($s2)
/* C8DF4C 8024039C 8E250000 */ lw $a1, ($s1)
/* C8DF50 802403A0 26310004 */ addiu $s1, $s1, 4
/* C8DF54 802403A4 0C0B1EAF */ jal evt_get_variable
/* C8DF58 802403A8 0240202D */ daddu $a0, $s2, $zero
/* C8DF5C 802403AC AE020038 */ sw $v0, 0x38($s0)
/* C8DF60 802403B0 8E250000 */ lw $a1, ($s1)
/* C8DF64 802403B4 26310004 */ addiu $s1, $s1, 4
/* C8DF68 802403B8 0C0B1EAF */ jal evt_get_variable
/* C8DF6C 802403BC 0240202D */ daddu $a0, $s2, $zero
/* C8DF70 802403C0 AE02003C */ sw $v0, 0x3c($s0)
/* C8DF74 802403C4 8E250000 */ lw $a1, ($s1)
/* C8DF78 802403C8 26310004 */ addiu $s1, $s1, 4
/* C8DF7C 802403CC 0C0B210B */ jal evt_get_float_variable
/* C8DF80 802403D0 0240202D */ daddu $a0, $s2, $zero
/* C8DF84 802403D4 E600000C */ swc1 $f0, 0xc($s0)
/* C8DF88 802403D8 8E250000 */ lw $a1, ($s1)
/* C8DF8C 802403DC 26310004 */ addiu $s1, $s1, 4
/* C8DF90 802403E0 0C0B210B */ jal evt_get_float_variable
/* C8DF94 802403E4 0240202D */ daddu $a0, $s2, $zero
/* C8DF98 802403E8 E6000010 */ swc1 $f0, 0x10($s0)
/* C8DF9C 802403EC 8E250000 */ lw $a1, ($s1)
/* C8DFA0 802403F0 26310004 */ addiu $s1, $s1, 4
/* C8DFA4 802403F4 0C0B210B */ jal evt_get_float_variable
/* C8DFA8 802403F8 0240202D */ daddu $a0, $s2, $zero
/* C8DFAC 802403FC E6000014 */ swc1 $f0, 0x14($s0)
/* C8DFB0 80240400 8E250000 */ lw $a1, ($s1)
/* C8DFB4 80240404 26310004 */ addiu $s1, $s1, 4
/* C8DFB8 80240408 0C0B210B */ jal evt_get_float_variable
/* C8DFBC 8024040C 0240202D */ daddu $a0, $s2, $zero
/* C8DFC0 80240410 E6000018 */ swc1 $f0, 0x18($s0)
/* C8DFC4 80240414 8E250000 */ lw $a1, ($s1)
/* C8DFC8 80240418 26310004 */ addiu $s1, $s1, 4
/* C8DFCC 8024041C 0C0B210B */ jal evt_get_float_variable
/* C8DFD0 80240420 0240202D */ daddu $a0, $s2, $zero
/* C8DFD4 80240424 E600001C */ swc1 $f0, 0x1c($s0)
/* C8DFD8 80240428 8E250000 */ lw $a1, ($s1)
/* C8DFDC 8024042C 26310004 */ addiu $s1, $s1, 4
/* C8DFE0 80240430 0C0B210B */ jal evt_get_float_variable
/* C8DFE4 80240434 0240202D */ daddu $a0, $s2, $zero
/* C8DFE8 80240438 E6000020 */ swc1 $f0, 0x20($s0)
/* C8DFEC 8024043C 8E250000 */ lw $a1, ($s1)
/* C8DFF0 80240440 26310004 */ addiu $s1, $s1, 4
/* C8DFF4 80240444 0C0B210B */ jal evt_get_float_variable
/* C8DFF8 80240448 0240202D */ daddu $a0, $s2, $zero
/* C8DFFC 8024044C E6000024 */ swc1 $f0, 0x24($s0)
/* C8E000 80240450 8E250000 */ lw $a1, ($s1)
/* C8E004 80240454 0C0B210B */ jal evt_get_float_variable
/* C8E008 80240458 0240202D */ daddu $a0, $s2, $zero
/* C8E00C 8024045C 3C013F80 */ lui $at, 0x3f80
/* C8E010 80240460 44811000 */ mtc1 $at, $f2
/* C8E014 80240464 E6000028 */ swc1 $f0, 0x28($s0)
/* C8E018 80240468 AFA00014 */ sw $zero, 0x14($sp)
/* C8E01C 8024046C E7A20010 */ swc1 $f2, 0x10($sp)
/* C8E020 80240470 8E05000C */ lw $a1, 0xc($s0)
/* C8E024 80240474 8E060010 */ lw $a2, 0x10($s0)
/* C8E028 80240478 8E070014 */ lw $a3, 0x14($s0)
/* C8E02C 8024047C 0C01CA6C */ jal playFX_83
/* C8E030 80240480 24040002 */ addiu $a0, $zero, 2
/* C8E034 80240484 AE020050 */ sw $v0, 0x50($s0)
/* C8E038 80240488 A600004E */ sh $zero, 0x4e($s0)
/* C8E03C 8024048C A6000048 */ sh $zero, 0x48($s0)
/* C8E040 80240490 A600004A */ sh $zero, 0x4a($s0)
/* C8E044 80240494 A6000044 */ sh $zero, 0x44($s0)
/* C8E048 80240498 A6000046 */ sh $zero, 0x46($s0)
.L8024049C:
/* C8E04C 8024049C 8FBF0024 */ lw $ra, 0x24($sp)
/* C8E050 802404A0 8FB20020 */ lw $s2, 0x20($sp)
/* C8E054 802404A4 8FB1001C */ lw $s1, 0x1c($sp)
/* C8E058 802404A8 8FB00018 */ lw $s0, 0x18($sp)
/* C8E05C 802404AC 24020002 */ addiu $v0, $zero, 2
/* C8E060 802404B0 03E00008 */ jr $ra
/* C8E064 802404B4 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,283 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.section .rodata
glabel jtbl_80248340_C95EF0
.word L802404F8_C8E0A8, L802405B8_C8E168, L80240600_C8E1B0, L802406A0_C8E250, L80240708_C8E2B8
.section .text
glabel func_802404B8_C8E068
/* C8E068 802404B8 27BDFFD8 */ addiu $sp, $sp, -0x28
/* C8E06C 802404BC AFBF0020 */ sw $ra, 0x20($sp)
/* C8E070 802404C0 AFB1001C */ sw $s1, 0x1c($sp)
/* C8E074 802404C4 AFB00018 */ sw $s0, 0x18($sp)
/* C8E078 802404C8 8C910084 */ lw $s1, 0x84($a0)
/* C8E07C 802404CC 86230044 */ lh $v1, 0x44($s1)
/* C8E080 802404D0 3C108011 */ lui $s0, %hi(gPlayerStatus)
/* C8E084 802404D4 2610EFC8 */ addiu $s0, $s0, %lo(gPlayerStatus)
/* C8E088 802404D8 2C620005 */ sltiu $v0, $v1, 5
/* C8E08C 802404DC 1040008A */ beqz $v0, L80240708_C8E2B8
/* C8E090 802404E0 00031080 */ sll $v0, $v1, 2
/* C8E094 802404E4 3C018025 */ lui $at, %hi(jtbl_80248340_C95EF0)
/* C8E098 802404E8 00220821 */ addu $at, $at, $v0
/* C8E09C 802404EC 8C228340 */ lw $v0, %lo(jtbl_80248340_C95EF0)($at)
/* C8E0A0 802404F0 00400008 */ jr $v0
/* C8E0A4 802404F4 00000000 */ nop
glabel L802404F8_C8E0A8
/* C8E0A8 802404F8 8E22003C */ lw $v0, 0x3c($s1)
/* C8E0AC 802404FC 86270046 */ lh $a3, 0x46($s1)
/* C8E0B0 80240500 AFA20010 */ sw $v0, 0x10($sp)
/* C8E0B4 80240504 8E250010 */ lw $a1, 0x10($s1)
/* C8E0B8 80240508 8E26001C */ lw $a2, 0x1c($s1)
/* C8E0BC 8024050C 0C00A8ED */ jal update_lerp
/* C8E0C0 80240510 24040005 */ addiu $a0, $zero, 5
/* C8E0C4 80240514 86270046 */ lh $a3, 0x46($s1)
/* C8E0C8 80240518 8E22003C */ lw $v0, 0x3c($s1)
/* C8E0CC 8024051C E6200004 */ swc1 $f0, 4($s1)
/* C8E0D0 80240520 AFA20010 */ sw $v0, 0x10($sp)
/* C8E0D4 80240524 8E25000C */ lw $a1, 0xc($s1)
/* C8E0D8 80240528 8E260018 */ lw $a2, 0x18($s1)
/* C8E0DC 8024052C 0C00A8ED */ jal update_lerp
/* C8E0E0 80240530 0000202D */ daddu $a0, $zero, $zero
/* C8E0E4 80240534 86270046 */ lh $a3, 0x46($s1)
/* C8E0E8 80240538 8E22003C */ lw $v0, 0x3c($s1)
/* C8E0EC 8024053C E6200000 */ swc1 $f0, ($s1)
/* C8E0F0 80240540 AFA20010 */ sw $v0, 0x10($sp)
/* C8E0F4 80240544 8E250014 */ lw $a1, 0x14($s1)
/* C8E0F8 80240548 8E260020 */ lw $a2, 0x20($s1)
/* C8E0FC 8024054C 0C00A8ED */ jal update_lerp
/* C8E100 80240550 0000202D */ daddu $a0, $zero, $zero
/* C8E104 80240554 8E220050 */ lw $v0, 0x50($s1)
/* C8E108 80240558 E6200008 */ swc1 $f0, 8($s1)
/* C8E10C 8024055C C6200000 */ lwc1 $f0, ($s1)
/* C8E110 80240560 8C42000C */ lw $v0, 0xc($v0)
/* C8E114 80240564 E4400008 */ swc1 $f0, 8($v0)
/* C8E118 80240568 8E220050 */ lw $v0, 0x50($s1)
/* C8E11C 8024056C C6200004 */ lwc1 $f0, 4($s1)
/* C8E120 80240570 8C42000C */ lw $v0, 0xc($v0)
/* C8E124 80240574 E440000C */ swc1 $f0, 0xc($v0)
/* C8E128 80240578 8E220050 */ lw $v0, 0x50($s1)
/* C8E12C 8024057C C6200008 */ lwc1 $f0, 8($s1)
/* C8E130 80240580 8C42000C */ lw $v0, 0xc($v0)
/* C8E134 80240584 E4400010 */ swc1 $f0, 0x10($v0)
/* C8E138 80240588 96220046 */ lhu $v0, 0x46($s1)
/* C8E13C 8024058C 8E23003C */ lw $v1, 0x3c($s1)
/* C8E140 80240590 24420001 */ addiu $v0, $v0, 1
/* C8E144 80240594 A6220046 */ sh $v0, 0x46($s1)
/* C8E148 80240598 00021400 */ sll $v0, $v0, 0x10
/* C8E14C 8024059C 00021403 */ sra $v0, $v0, 0x10
/* C8E150 802405A0 0043102A */ slt $v0, $v0, $v1
/* C8E154 802405A4 14400058 */ bnez $v0, L80240708_C8E2B8
/* C8E158 802405A8 24020001 */ addiu $v0, $zero, 1
/* C8E15C 802405AC A6220044 */ sh $v0, 0x44($s1)
/* C8E160 802405B0 080901C2 */ j L80240708_C8E2B8
/* C8E164 802405B4 A6200046 */ sh $zero, 0x46($s1)
glabel L802405B8_C8E168
/* C8E168 802405B8 96220046 */ lhu $v0, 0x46($s1)
/* C8E16C 802405BC 24420001 */ addiu $v0, $v0, 1
/* C8E170 802405C0 A6220046 */ sh $v0, 0x46($s1)
/* C8E174 802405C4 00021400 */ sll $v0, $v0, 0x10
/* C8E178 802405C8 00021403 */ sra $v0, $v0, 0x10
/* C8E17C 802405CC 2842003C */ slti $v0, $v0, 0x3c
/* C8E180 802405D0 1440004D */ bnez $v0, L80240708_C8E2B8
/* C8E184 802405D4 24020002 */ addiu $v0, $zero, 2
/* C8E188 802405D8 8E230050 */ lw $v1, 0x50($s1)
/* C8E18C 802405DC A6220044 */ sh $v0, 0x44($s1)
/* C8E190 802405E0 A6200046 */ sh $zero, 0x46($s1)
/* C8E194 802405E4 8C63000C */ lw $v1, 0xc($v1)
/* C8E198 802405E8 24020001 */ addiu $v0, $zero, 1
/* C8E19C 802405EC AC620070 */ sw $v0, 0x70($v1)
/* C8E1A0 802405F0 8E220050 */ lw $v0, 0x50($s1)
/* C8E1A4 802405F4 8C42000C */ lw $v0, 0xc($v0)
/* C8E1A8 802405F8 080901C2 */ j L80240708_C8E2B8
/* C8E1AC 802405FC AC400074 */ sw $zero, 0x74($v0)
glabel L80240600_C8E1B0
/* C8E1B0 80240600 96220046 */ lhu $v0, 0x46($s1)
/* C8E1B4 80240604 24420001 */ addiu $v0, $v0, 1
/* C8E1B8 80240608 A6220046 */ sh $v0, 0x46($s1)
/* C8E1BC 8024060C 00021400 */ sll $v0, $v0, 0x10
/* C8E1C0 80240610 00021403 */ sra $v0, $v0, 0x10
/* C8E1C4 80240614 2842003C */ slti $v0, $v0, 0x3c
/* C8E1C8 80240618 1440003B */ bnez $v0, L80240708_C8E2B8
/* C8E1CC 8024061C 00000000 */ nop
/* C8E1D0 80240620 3C013F80 */ lui $at, 0x3f80
/* C8E1D4 80240624 44810000 */ mtc1 $at, $f0
/* C8E1D8 80240628 AFA00014 */ sw $zero, 0x14($sp)
/* C8E1DC 8024062C E7A00010 */ swc1 $f0, 0x10($sp)
/* C8E1E0 80240630 8E250018 */ lw $a1, 0x18($s1)
/* C8E1E4 80240634 8E26001C */ lw $a2, 0x1c($s1)
/* C8E1E8 80240638 8E270020 */ lw $a3, 0x20($s1)
/* C8E1EC 8024063C 0C01C9AC */ jal playFX_7B
/* C8E1F0 80240640 24040001 */ addiu $a0, $zero, 1
/* C8E1F4 80240644 AE220054 */ sw $v0, 0x54($s1)
/* C8E1F8 80240648 8C43000C */ lw $v1, 0xc($v0)
/* C8E1FC 8024064C 9222003B */ lbu $v0, 0x3b($s1)
/* C8E200 80240650 A0620034 */ sb $v0, 0x34($v1)
/* C8E204 80240654 8E220054 */ lw $v0, 0x54($s1)
/* C8E208 80240658 8C42000C */ lw $v0, 0xc($v0)
/* C8E20C 8024065C AC400020 */ sw $zero, 0x20($v0)
/* C8E210 80240660 8E250018 */ lw $a1, 0x18($s1)
/* C8E214 80240664 8E260028 */ lw $a2, 0x28($s1)
/* C8E218 80240668 8E270020 */ lw $a3, 0x20($s1)
/* C8E21C 8024066C 0C044898 */ jal create_shadow_type
/* C8E220 80240670 0000202D */ daddu $a0, $zero, $zero
/* C8E224 80240674 3C014210 */ lui $at, 0x4210
/* C8E228 80240678 44810000 */ mtc1 $at, $f0
/* C8E22C 8024067C AE220040 */ sw $v0, 0x40($s1)
/* C8E230 80240680 24020003 */ addiu $v0, $zero, 3
/* C8E234 80240684 A6220044 */ sh $v0, 0x44($s1)
/* C8E238 80240688 24020001 */ addiu $v0, $zero, 1
/* C8E23C 8024068C A6200046 */ sh $zero, 0x46($s1)
/* C8E240 80240690 AE20002C */ sw $zero, 0x2c($s1)
/* C8E244 80240694 A6220048 */ sh $v0, 0x48($s1)
/* C8E248 80240698 080901C2 */ j L80240708_C8E2B8
/* C8E24C 8024069C E6200030 */ swc1 $f0, 0x30($s1)
glabel L802406A0_C8E250
/* C8E250 802406A0 0000202D */ daddu $a0, $zero, $zero
/* C8E254 802406A4 3C054210 */ lui $a1, 0x4210
/* C8E258 802406A8 3C064198 */ lui $a2, 0x4198
/* C8E25C 802406AC 86270046 */ lh $a3, 0x46($s1)
/* C8E260 802406B0 24020078 */ addiu $v0, $zero, 0x78
/* C8E264 802406B4 0C00A8ED */ jal update_lerp
/* C8E268 802406B8 AFA20010 */ sw $v0, 0x10($sp)
/* C8E26C 802406BC 96220046 */ lhu $v0, 0x46($s1)
/* C8E270 802406C0 E6200030 */ swc1 $f0, 0x30($s1)
/* C8E274 802406C4 24420001 */ addiu $v0, $v0, 1
/* C8E278 802406C8 A6220046 */ sh $v0, 0x46($s1)
/* C8E27C 802406CC 00021400 */ sll $v0, $v0, 0x10
/* C8E280 802406D0 00021403 */ sra $v0, $v0, 0x10
/* C8E284 802406D4 28420078 */ slti $v0, $v0, 0x78
/* C8E288 802406D8 1440000B */ bnez $v0, L80240708_C8E2B8
/* C8E28C 802406DC 24030001 */ addiu $v1, $zero, 1
/* C8E290 802406E0 C620002C */ lwc1 $f0, 0x2c($s1)
/* C8E294 802406E4 24020002 */ addiu $v0, $zero, 2
/* C8E298 802406E8 A6220048 */ sh $v0, 0x48($s1)
/* C8E29C 802406EC 24020004 */ addiu $v0, $zero, 4
/* C8E2A0 802406F0 A620004C */ sh $zero, 0x4c($s1)
/* C8E2A4 802406F4 A623004A */ sh $v1, 0x4a($s1)
/* C8E2A8 802406F8 A623004E */ sh $v1, 0x4e($s1)
/* C8E2AC 802406FC A6220044 */ sh $v0, 0x44($s1)
/* C8E2B0 80240700 A6200046 */ sh $zero, 0x46($s1)
/* C8E2B4 80240704 E6200034 */ swc1 $f0, 0x34($s1)
glabel L80240708_C8E2B8
/* C8E2B8 80240708 8623004A */ lh $v1, 0x4a($s1)
/* C8E2BC 8024070C 24020001 */ addiu $v0, $zero, 1
/* C8E2C0 80240710 10620005 */ beq $v1, $v0, .L80240728
/* C8E2C4 80240714 24020002 */ addiu $v0, $zero, 2
/* C8E2C8 80240718 1062001E */ beq $v1, $v0, .L80240794
/* C8E2CC 8024071C 00000000 */ nop
/* C8E2D0 80240720 0809020F */ j .L8024083C
/* C8E2D4 80240724 00000000 */ nop
.L80240728:
/* C8E2D8 80240728 8627004C */ lh $a3, 0x4c($s1)
/* C8E2DC 8024072C 24100078 */ addiu $s0, $zero, 0x78
/* C8E2E0 80240730 AFB00010 */ sw $s0, 0x10($sp)
/* C8E2E4 80240734 8E250034 */ lw $a1, 0x34($s1)
/* C8E2E8 80240738 3C0644B4 */ lui $a2, 0x44b4
/* C8E2EC 8024073C 0C00A8ED */ jal update_lerp
/* C8E2F0 80240740 24040004 */ addiu $a0, $zero, 4
/* C8E2F4 80240744 8627004C */ lh $a3, 0x4c($s1)
/* C8E2F8 80240748 E620002C */ swc1 $f0, 0x2c($s1)
/* C8E2FC 8024074C AFB00010 */ sw $s0, 0x10($sp)
/* C8E300 80240750 8E25001C */ lw $a1, 0x1c($s1)
/* C8E304 80240754 8E260024 */ lw $a2, 0x24($s1)
/* C8E308 80240758 0C00A8ED */ jal update_lerp
/* C8E30C 8024075C 2404000A */ addiu $a0, $zero, 0xa
/* C8E310 80240760 9622004C */ lhu $v0, 0x4c($s1)
/* C8E314 80240764 E6200004 */ swc1 $f0, 4($s1)
/* C8E318 80240768 24420001 */ addiu $v0, $v0, 1
/* C8E31C 8024076C A622004C */ sh $v0, 0x4c($s1)
/* C8E320 80240770 00021400 */ sll $v0, $v0, 0x10
/* C8E324 80240774 00021403 */ sra $v0, $v0, 0x10
/* C8E328 80240778 0050102A */ slt $v0, $v0, $s0
/* C8E32C 8024077C 1440002F */ bnez $v0, .L8024083C
/* C8E330 80240780 2402010E */ addiu $v0, $zero, 0x10e
/* C8E334 80240784 A622004C */ sh $v0, 0x4c($s1)
/* C8E338 80240788 24020002 */ addiu $v0, $zero, 2
/* C8E33C 8024078C 0809020E */ j .L80240838
/* C8E340 80240790 A622004A */ sh $v0, 0x4a($s1)
.L80240794:
/* C8E344 80240794 8622004C */ lh $v0, 0x4c($s1)
/* C8E348 80240798 44826000 */ mtc1 $v0, $f12
/* C8E34C 8024079C 00000000 */ nop
/* C8E350 802407A0 0C00A8BB */ jal sin_deg
/* C8E354 802407A4 46806320 */ cvt.s.w $f12, $f12
/* C8E358 802407A8 3C013F80 */ lui $at, 0x3f80
/* C8E35C 802407AC 44811000 */ mtc1 $at, $f2
/* C8E360 802407B0 00000000 */ nop
/* C8E364 802407B4 46020000 */ add.s $f0, $f0, $f2
/* C8E368 802407B8 46000000 */ add.s $f0, $f0, $f0
/* C8E36C 802407BC C6220024 */ lwc1 $f2, 0x24($s1)
/* C8E370 802407C0 8622004C */ lh $v0, 0x4c($s1)
/* C8E374 802407C4 46001080 */ add.s $f2, $f2, $f0
/* C8E378 802407C8 24420008 */ addiu $v0, $v0, 8
/* C8E37C 802407CC 44826000 */ mtc1 $v0, $f12
/* C8E380 802407D0 00000000 */ nop
/* C8E384 802407D4 46806320 */ cvt.s.w $f12, $f12
/* C8E388 802407D8 0C00A6C9 */ jal clamp_angle
/* C8E38C 802407DC E6220004 */ swc1 $f2, 4($s1)
/* C8E390 802407E0 4600010D */ trunc.w.s $f4, $f0
/* C8E394 802407E4 44022000 */ mfc1 $v0, $f4
/* C8E398 802407E8 C6200004 */ lwc1 $f0, 4($s1)
/* C8E39C 802407EC A622004C */ sh $v0, 0x4c($s1)
/* C8E3A0 802407F0 C60C0028 */ lwc1 $f12, 0x28($s0)
/* C8E3A4 802407F4 8E060030 */ lw $a2, 0x30($s0)
/* C8E3A8 802407F8 3C0141A0 */ lui $at, 0x41a0
/* C8E3AC 802407FC 44817000 */ mtc1 $at, $f14
/* C8E3B0 80240800 E7A00010 */ swc1 $f0, 0x10($sp)
/* C8E3B4 80240804 C602002C */ lwc1 $f2, 0x2c($s0)
/* C8E3B8 80240808 C6200008 */ lwc1 $f0, 8($s1)
/* C8E3BC 8024080C E7A00014 */ swc1 $f0, 0x14($sp)
/* C8E3C0 80240810 8E270000 */ lw $a3, ($s1)
/* C8E3C4 80240814 0C00A7CB */ jal dist3D
/* C8E3C8 80240818 460E1380 */ add.s $f14, $f2, $f14
/* C8E3CC 8024081C 3C0141F0 */ lui $at, 0x41f0
/* C8E3D0 80240820 44811000 */ mtc1 $at, $f2
/* C8E3D4 80240824 00000000 */ nop
/* C8E3D8 80240828 4600103C */ c.lt.s $f2, $f0
/* C8E3DC 8024082C 00000000 */ nop
/* C8E3E0 80240830 45010002 */ bc1t .L8024083C
/* C8E3E4 80240834 24020003 */ addiu $v0, $zero, 3
.L80240838:
/* C8E3E8 80240838 A622004E */ sh $v0, 0x4e($s1)
.L8024083C:
/* C8E3EC 8024083C 86230048 */ lh $v1, 0x48($s1)
/* C8E3F0 80240840 24020001 */ addiu $v0, $zero, 1
/* C8E3F4 80240844 10620005 */ beq $v1, $v0, .L8024085C
/* C8E3F8 80240848 24020002 */ addiu $v0, $zero, 2
/* C8E3FC 8024084C 10620008 */ beq $v1, $v0, .L80240870
/* C8E400 80240850 00000000 */ nop
/* C8E404 80240854 0809022C */ j .L802408B0
/* C8E408 80240858 00000000 */ nop
.L8024085C:
/* C8E40C 8024085C C620002C */ lwc1 $f0, 0x2c($s1)
/* C8E410 80240860 C62C0030 */ lwc1 $f12, 0x30($s1)
/* C8E414 80240864 0C00A6C9 */ jal clamp_angle
/* C8E418 80240868 460C0300 */ add.s $f12, $f0, $f12
/* C8E41C 8024086C E620002C */ swc1 $f0, 0x2c($s1)
.L80240870:
/* C8E420 80240870 8E220054 */ lw $v0, 0x54($s1)
/* C8E424 80240874 C620002C */ lwc1 $f0, 0x2c($s1)
/* C8E428 80240878 8C42000C */ lw $v0, 0xc($v0)
/* C8E42C 8024087C E4400024 */ swc1 $f0, 0x24($v0)
/* C8E430 80240880 8E220054 */ lw $v0, 0x54($s1)
/* C8E434 80240884 C6200018 */ lwc1 $f0, 0x18($s1)
/* C8E438 80240888 8C42000C */ lw $v0, 0xc($v0)
/* C8E43C 8024088C E4400004 */ swc1 $f0, 4($v0)
/* C8E440 80240890 8E220054 */ lw $v0, 0x54($s1)
/* C8E444 80240894 C6200004 */ lwc1 $f0, 4($s1)
/* C8E448 80240898 8C42000C */ lw $v0, 0xc($v0)
/* C8E44C 8024089C E4400008 */ swc1 $f0, 8($v0)
/* C8E450 802408A0 8E220054 */ lw $v0, 0x54($s1)
/* C8E454 802408A4 C6200020 */ lwc1 $f0, 0x20($s1)
/* C8E458 802408A8 8C42000C */ lw $v0, 0xc($v0)
/* C8E45C 802408AC E440000C */ swc1 $f0, 0xc($v0)
.L802408B0:
/* C8E460 802408B0 8FBF0020 */ lw $ra, 0x20($sp)
/* C8E464 802408B4 8FB1001C */ lw $s1, 0x1c($sp)
/* C8E468 802408B8 8FB00018 */ lw $s0, 0x18($sp)
/* C8E46C 802408BC 0000102D */ daddu $v0, $zero, $zero
/* C8E470 802408C0 03E00008 */ jr $ra
/* C8E474 802408C4 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,20 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802408C8_C8E478
/* C8E478 802408C8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* C8E47C 802408CC AFB00010 */ sw $s0, 0x10($sp)
/* C8E480 802408D0 0080802D */ daddu $s0, $a0, $zero
/* C8E484 802408D4 AFBF0014 */ sw $ra, 0x14($sp)
/* C8E488 802408D8 8E02000C */ lw $v0, 0xc($s0)
/* C8E48C 802408DC 0C0B1EAF */ jal evt_get_variable
/* C8E490 802408E0 8C450000 */ lw $a1, ($v0)
/* C8E494 802408E4 8E030084 */ lw $v1, 0x84($s0)
/* C8E498 802408E8 8FBF0014 */ lw $ra, 0x14($sp)
/* C8E49C 802408EC 8463004E */ lh $v1, 0x4e($v1)
/* C8E4A0 802408F0 8FB00010 */ lw $s0, 0x10($sp)
/* C8E4A4 802408F4 00621826 */ xor $v1, $v1, $v0
/* C8E4A8 802408F8 2C630001 */ sltiu $v1, $v1, 1
/* C8E4AC 802408FC 00031040 */ sll $v0, $v1, 1
/* C8E4B0 80240900 03E00008 */ jr $ra
/* C8E4B4 80240904 27BD0018 */ addiu $sp, $sp, 0x18

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