decompile several map and battle-map related functions (#504)

* decompile several map and battle-map related functions

* remove unnecessary folder

* resolve issue

* .

* .

* Update 52B6A0.c

* Update 6DBDA0.c
This commit is contained in:
Alexander Faßbender 2021-10-29 20:14:51 +02:00 committed by GitHub
parent 068b8a5b08
commit fbc901ac49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
103 changed files with 526 additions and 3118 deletions

View File

@ -521,7 +521,7 @@ enum SoundIDs {
SOUND_STEP1 = 321,
SOUND_STEP2,
SOUND_TORNADO_JUMP = 327,
SOUND_SOFT_LAND,
SOUND_SOFT_LAND = 328,
SOUND_LAND = 331,
SOUND_HIT_BLOCK = 334,
SOUND_SEARCH_BUSH = 339,
@ -569,6 +569,7 @@ enum SoundIDs {
SOUND_MOLE_DIG,
SOUND_MOLE_POP,
SOUND_UNKNOWN_32E = 814,
SOUND_UNKNOWN_359 = 857,
SOUND_UNKNOWN_361 = 865,
SOUND_UNKNOWN_362,
SOUND_UNKNOWN_363,
@ -593,6 +594,7 @@ enum SoundIDs {
SOUND_MOLE_THROW = 1000,
SOUND_UNKNOWN_3F3 = 1011,
SOUND_THROW = 1018,
SOUND_UNKNOWN_759 = 1881,
SOUND_UNKNOWN_2003 = 8195,
SOUND_UNKNOWN_200D = 8205,
SOUND_BOW_VANISH,
@ -1246,28 +1248,28 @@ enum HitSounds {
};
enum Statuses {
STATUS_END,
STATUS_NORMAL,
STATUS_DEFAULT,
STATUS_FEAR,
STATUS_DIZZY,
STATUS_PARALYZE,
STATUS_SLEEP,
STATUS_FROZEN,
STATUS_STOP,
STATUS_POISON,
STATUS_SHRINK,
STATUS_STATIC,
STATUS_STONE,
STATUS_DAZE,
STATUS_END = 0,
STATUS_NORMAL = 1,
STATUS_DEFAULT = 2,
STATUS_FEAR = 3,
STATUS_DIZZY = 4,
STATUS_PARALYZE = 5,
STATUS_SLEEP = 6,
STATUS_FROZEN = 7,
STATUS_STOP = 8,
STATUS_POISON = 9,
STATUS_SHRINK = 10,
STATUS_STATIC = 11,
STATUS_STONE = 12,
STATUS_DAZE = 13,
STATUS_E,
STATUS_KO,
STATUS_BERSERK = 16,
STATUS_TURN_DONE = 18,
STATUS_HUSTLE = 25,
STATUS_DANGER,
STATUS_DANGER = 26,
STATUS_THINKING = 28,
STATUS_WEARY,
STATUS_WEARY = 29,
STATUS_DEFAULT_TURN_MOD = 31,
STATUS_SLEEP_TURN_MOD,
STATUS_STATIC_TURN_MOD,

View File

@ -282,6 +282,7 @@ Evt* start_script_in_group(EvtSource* source, u8 priority, u8 initialState, u8 g
f32 get_player_normal_yaw(void);
void set_standard_shadow_scale(Shadow* shadow, f32 scale);
void set_peach_shadow_scale(Shadow* shadow, f32 scale);
void set_animation(s32 actorID, s32, s32 animationIndex);
void set_animation_rate(s32 actorID, s32 partIndex, f32 rate);
void func_8011B7C0(u16, s32, s32);
ModelAnimator* get_animator_by_index(s32 arg0);

View File

@ -5,7 +5,7 @@
#define NAMESPACE EB7540
INCLUDE_ASM(s32, "EB7540", func_80240310_EB7540);
#include "world/common/SetEntityPositionF.inc.c"
#include "world/common/GetEntityPosition.inc.c"

View File

@ -2,7 +2,7 @@
#define NAMESPACE b_area_hos
INCLUDE_ASM(s32, "battle/area_hos/47F0D0", func_80218020_47F0D0);
#include "common/UnkSfxFunc.inc.c"
#include "common/ShrinkActor.inc.c"

View File

@ -4,7 +4,7 @@
#include "common/UnkBattleFunc1.inc.c"
INCLUDE_ASM(s32, "battle/area_kgr/56E2A0", func_802180CC_56E36C);
#include "common/ItemEntityJumpToPos.inc.c"
INCLUDE_ASM(s32, "battle/area_kgr/56E2A0", func_802182E4_56E584);

View File

@ -2,16 +2,93 @@
#define NAMESPACE b_area_kkj
INCLUDE_ASM(s32, "battle/area_kkj/6DBDA0", func_80218000_6DBDA0);
extern s32 D_802187E4_6DC584;
INCLUDE_ASM(s32, "battle/area_kkj/6DBDA0", func_802180B8_6DBE58);
ApiStatus func_80218000_6DBDA0(Evt* script, s32 isInitialCall) {
Actor* actor = get_actor(script->owner1.actorID);
D_802187E4_6DC584 += 9;
D_802187E4_6DC584 = clamp_angle(D_802187E4_6DC584);
actor->unk_19A = sin_rad((D_802187E4_6DC584 * TAU) / 360.0f) * 3.0f;
return ApiStatus_DONE2;
}
#include "world/common/SetEntityPositionF.inc.c"
#include "world/common/GetEntityPosition.inc.c"
INCLUDE_ASM(s32, "battle/area_kkj/6DBDA0", func_80218220_6DBFC0);
ApiStatus func_80218220_6DBFC0(Evt* script, s32 isInitialCall) {
Entity* entity = get_entity_by_index(script->varTable[9]);
INCLUDE_ASM(s32, "battle/area_kkj/6DBDA0", func_8021833C_6DC0DC);
if (isInitialCall) {
script->functionTemp[0] = 0;
script->functionTemp[1] = 60;
}
INCLUDE_ASM(s32, "battle/area_kkj/6DBDA0", func_802183EC_6DC18C);
entity->scale.x = (60 - script->functionTemp[1]) / 60.0f;
entity->scale.y = (60 - script->functionTemp[1]) / 60.0f;
entity->scale.z = (60 - script->functionTemp[1]) / 60.0f;
entity->rotation.y = (1.0f - cos_rad(entity->scale.y * PI)) * 1080.0f * 0.5f;
script->functionTemp[1]--;
INCLUDE_ASM(s32, "battle/area_kkj/6DBDA0", func_8021849C_6DC23C);
if (script->functionTemp[1] == -1) {
return ApiStatus_DONE2;
}
return ApiStatus_BLOCK;
}
ApiStatus func_8021833C_6DC0DC(Evt* script, s32 isInitialCall) {
if (isInitialCall) {
script->functionTemp[0] = 20;
set_screen_overlay_center(1, 0, 0, 0);
set_screen_overlay_center(1, 1, 320, 240);
set_screen_overlay_params_back(12, 150);
}
if (script->functionTemp[0] != 0) {
script->functionTemp[0]--;
return ApiStatus_BLOCK;
}
set_screen_overlay_center(1, 0, 0, 0);
set_screen_overlay_center(1, 1, 320, 240);
set_screen_overlay_params_back(0xFF, -1);
return ApiStatus_DONE2;
}
ApiStatus func_802183EC_6DC18C(Evt* script, s32 isInitialCall) {
if (isInitialCall) {
script->functionTemp[0] = 30;
set_screen_overlay_center(1, 0, 0, 0);
set_screen_overlay_center(1, 1, 320, 240);
set_screen_overlay_params_back(12, 150);
}
if (script->functionTemp[0] != 0) {
script->functionTemp[0]--;
return ApiStatus_BLOCK;
}
set_screen_overlay_center(1, 0, 0, 0);
set_screen_overlay_center(1, 1, 320, 240);
set_screen_overlay_params_back(0xFF, -1);
return ApiStatus_DONE2;
}
ApiStatus func_8021849C_6DC23C(Evt* script, s32 isInitialCall) {
CollisionStatus* collisionStatus = &gCollisionStatus;
PlayerStatus* playerStatus = &gPlayerStatus;
s32 entityIndex = script->varTable[9];
Entity* entity = get_entity_by_index(entityIndex);
entity->unk_07 = 0;
collisionStatus->lastWallHammered = entityIndex | 0x4000;
playerStatus->flags |= 0x1000000;
entity->collisionFlags = 0x40;
playerStatus->actionState = ACTION_STATE_HAMMER;
entity->staticData->unk_data_ptr2(entity);
entity->unk_07 = 0xA;
entity->flags |= 0x10000;
collisionStatus->lastWallHammered = -1;
return ApiStatus_DONE2;
}

View File

@ -1,3 +1,5 @@
#include "common.h"
INCLUDE_ASM(s32, "battle/area_kpa/685130", func_80218700_685130);
#define NAMESPACE b_area_kpa
#include "common/UnkSfxFunc.inc.c"

View File

@ -6,4 +6,6 @@
#include "common/FadeBackgroundToBlack.inc.c"
#define NAMESPACE b_area_kpa2
INCLUDE_ASM(s32, "battle/area_kpa2/69F200", func_80218098_69F298);
#define NAMESPACE dup_b_area_kpa2
#include "common/UnfadeBackgroundToBlack.inc.c"
#define NAMESPACE b_area_kpa2

View File

@ -14,9 +14,13 @@ INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_802181E4_69F3E4);
#include "common/FadeBackgroundToBlack.inc.c"
#define NAMESPACE b_area_kpa2
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_80218620_69F820);
#define NAMESPACE dup2_b_area_kpa2
#include "common/UnfadeBackgroundToBlack.inc.c"
#define NAMESPACE b_area_kpa2
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_802186A0_69F8A0);
#define NAMESPACE dup2_b_area_kpa2
#include "common/RemoveChillOut.inc.c"
#define NAMESPACE b_area_kpa2
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_802186D0_69F8D0);
@ -32,9 +36,13 @@ INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_80218F58_6A0158);
#include "common/FadeBackgroundToBlack.inc.c"
#define NAMESPACE b_area_kpa2
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_80219394_6A0594);
#define NAMESPACE dup3_b_area_kpa2
#include "common/UnfadeBackgroundToBlack.inc.c"
#define NAMESPACE b_area_kpa2
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_80219414_6A0614);
#define NAMESPACE dup3_b_area_kpa2
#include "common/RemoveChillOut.inc.c"
#define NAMESPACE b_area_kpa2
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_80219444_6A0644);
@ -44,9 +52,13 @@ INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_80219818_6A0A18);
#include "common/GetJumpHammerCharge.inc.c"
#define NAMESPACE b_area_kpa2
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_80219CD4_6A0ED4);
#define NAMESPACE dup3_b_area_kpa2
#include "common/GetPlayerHpPercent.inc.c"
#define NAMESPACE b_area_kpa2
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_80219D44_6A0F44);
#define NAMESPACE dup3_b_area_kpa2
#include "common/ItemEntityJumpToPos.inc.c"
#define NAMESPACE b_area_kpa2
#define NAMESPACE dup_b_area_kpa2
#include "common/GetItemEntityPosition.inc.c"
@ -54,7 +66,9 @@ INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_80219D44_6A0F44);
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_80219FFC_6A11FC);
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021A1B8_6A13B8);
#define NAMESPACE dup_b_area_kpa2
#include "common/CanPlayerLoseAction.inc.c"
#define NAMESPACE b_area_kpa2
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021A254_6A1454);
@ -68,9 +82,13 @@ INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021A318_6A1518);
#include "common/FadeBackgroundToBlack.inc.c"
#define NAMESPACE b_area_kpa2
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021A754_6A1954);
#define NAMESPACE dup4_b_area_kpa2
#include "common/UnfadeBackgroundToBlack.inc.c"
#define NAMESPACE b_area_kpa2
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021A7D4_6A19D4);
#define NAMESPACE dup4_b_area_kpa2
#include "common/RemoveChillOut.inc.c"
#define NAMESPACE b_area_kpa2
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021A804_6A1A04);
@ -80,15 +98,21 @@ INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021ABD8_6A1DD8);
#include "common/GetJumpHammerCharge.inc.c"
#define NAMESPACE b_area_kpa2
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021B08C_6A228C);
#define NAMESPACE dup6_b_area_kpa2
#include "common/GetPlayerHpPercent.inc.c"
#define NAMESPACE b_area_kpa2
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021B0FC_6A22FC);
#define NAMESPACE dup6_b_area_kpa2
#include "common/ItemEntityJumpToPos.inc.c"
#define NAMESPACE b_area_kpa2
#include "common/GetItemEntityPosition.inc.c"
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021B3B4_6A25B4);
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021B570_6A2770);
#define NAMESPACE dup6_b_area_kpa2
#include "common/CanPlayerLoseAction.inc.c"
#define NAMESPACE b_area_kpa2
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021B60C_6A280C);

View File

@ -1,7 +1,20 @@
#include "common.h"
#include "effects.h"
#define NAMESPACE b_area_kpa2
typedef struct KpaStruct {
/* 0x00 */ s32 unk_00;
/* 0x04 */ s32 unk_04;
/* 0x08 */ s32 unk_08;
/* 0x0C */ s32 unk_0C;
/* 0x10 */ s32 unk_10;
/* 0x14 */ s32 unk_14;
} KpaStruct; // size = 0x14
extern f32 D_80234828_6BBA28; //f64?
extern KpaStruct D_80234810_6BBA10;
#include "common/StartRumbleWithParams.inc.c"
INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021B9A8_6A2BA8);
@ -10,9 +23,9 @@ INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021BC60_6A2E60);
#include "common/FadeBackgroundToBlack.inc.c"
INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021C09C_6A329C);
#include "common/UnfadeBackgroundToBlack.inc.c"
INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021C11C_6A331C);
#include "common/RemoveChillOut.inc.c"
INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021C14C_6A334C);
@ -20,15 +33,17 @@ INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021C520_6A3720);
#include "common/GetJumpHammerCharge.inc.c"
INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021C9D4_6A3BD4);
#include "common/GetPlayerHpPercent.inc.c"
INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021CA44_6A3C44);
#include "common/ItemEntityJumpToPos.inc.c"
INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021CC5C_6A3E5C);
#define NAMESPACE dup2_b_area_kpa2
#include "common/GetItemEntityPosition.inc.c"
#define NAMESPACE b_area_kpa2
INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021CCFC_6A3EFC);
INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021CEB8_6A40B8);
#include "common/CanPlayerLoseAction.inc.c"
INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021CF54_6A4154);

View File

@ -4,7 +4,7 @@
INCLUDE_ASM(s32, "battle/area_kpa3/6BBC60", func_802180D0_6BBC60);
INCLUDE_ASM(s32, "battle/area_kpa3/6BBC60", func_80218960_6BC4F0);
#include "common/ActorJumpToPos.inc.c"
INCLUDE_ASM(s32, "battle/area_kpa3/6BBC60", func_80218AB4_6BC644);

View File

@ -2,7 +2,7 @@
#define NAMESPACE b_area_kzn
INCLUDE_ASM(s32, "battle/area_kzn/58C2F0", func_80218000_58C2F0);
#include "common/UnkSfxFunc.inc.c"
#include "common/UnkBattleFunc1.inc.c"

View File

@ -8,7 +8,7 @@ INCLUDE_ASM(s32, "battle/area_mac/464560", func_80218100_464590);
INCLUDE_ASM(s32, "battle/area_mac/464560", func_80218300_464790);
INCLUDE_ASM(s32, "battle/area_mac/464560", func_80218B90_465020);
#include "common/ActorJumpToPos.inc.c"
INCLUDE_ASM(s32, "battle/area_mac/464560", func_80218CE4_465174);

View File

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

View File

@ -2,7 +2,7 @@
#define NAMESPACE b_area_omo
INCLUDE_ASM(s32, "battle/area_omo/512E50", func_80218880_512E50);
#include "common/ItemEntityJumpToPos.inc.c"
#include "common/GetItemEntityPosition.inc.c"

View File

@ -4,4 +4,4 @@
#include "common/FadeBackgroundToBlack.inc.c"
INCLUDE_ASM(s32, "battle/area_omo2/52B6A0", func_80218098_52B738);
#include "common/UnfadeBackgroundToBlack.inc.c"

View File

@ -4,7 +4,7 @@
INCLUDE_ASM(s32, "battle/area_pra3/669D80", func_80218000_669D80);
INCLUDE_ASM(s32, "battle/area_pra3/669D80", func_80218890_66A610);
#include "common/ActorJumpToPos.inc.c"
INCLUDE_ASM(s32, "battle/area_pra3/669D80", func_802189E4_66A764);

View File

@ -4,7 +4,7 @@
INCLUDE_ASM(s32, "battle/area_sam/623BA0", func_80218000_623BA0);
INCLUDE_ASM(s32, "battle/area_sam/623BA0", func_80218890_624430);
#include "common/ActorJumpToPos.inc.c"
INCLUDE_ASM(s32, "battle/area_sam/623BA0", func_802189E4_624584);

View File

@ -10,7 +10,7 @@ INCLUDE_ASM(s32, "battle/area_tik2/608CB0", func_80218258_608D08);
#include "common/FadeBackgroundToBlack.inc.c"
INCLUDE_ASM(s32, "battle/area_tik2/608CB0", func_80218384_608E34);
#include "common/UnfadeBackgroundToBlack.inc.c"
INCLUDE_ASM(s32, "battle/area_tik2/608CB0", func_80218404_608EB4);
@ -26,7 +26,9 @@ INCLUDE_ASM(s32, "battle/area_tik2/608CB0", func_802186D8_609188);
#include "common/FadeBackgroundToBlack.inc.c"
#define NAMESPACE b_area_tik2
INCLUDE_ASM(s32, "battle/area_tik2/608CB0", func_80218804_6092B4);
#define NAMESPACE dup_b_area_tik2
#include "common/UnfadeBackgroundToBlack.inc.c"
#define NAMESPACE b_area_tik2
INCLUDE_ASM(s32, "battle/area_tik2/608CB0", func_80218884_609334);

View File

@ -0,0 +1,39 @@
#include "common.h"
ApiStatus N(ActorJumpToPos)(Evt* script, s32 isInitialCall) {
Actor* actor = get_actor(script->owner1.actorID);
Vec3f* temp_f0 = &actor->state.currentPos;
if (isInitialCall) {
script->functionTemp[0] = 0;
}
if (script->functionTemp[0] == 0) {
actor->state.currentPos.x = actor->currentPos.x;
actor->state.currentPos.y = actor->currentPos.y;
actor->state.currentPos.z = actor->currentPos.z;
script->functionTemp[0] = 1;
}
if (actor->state.velocity > 0.0f) {
set_animation(ACTOR_SELF, 1, actor->state.animJumpRise);
}
if (actor->state.velocity < 0.0f) {
set_animation(ACTOR_SELF, 1, actor->state.animJumpFall);
}
actor->state.currentPos.y += actor->state.velocity;
actor->state.velocity = actor->state.velocity - actor->state.acceleration;
add_xz_vec3f(temp_f0, actor->state.speed, actor->state.angle);
actor->currentPos.x = actor->state.currentPos.x;
actor->currentPos.y = actor->state.currentPos.y;
actor->currentPos.z = actor->state.currentPos.z;
if (actor->currentPos.y < 0.0f) {
actor->currentPos.y = 0.0f;
play_movement_dust_effects(2, actor->currentPos.x, actor->currentPos.y, actor->currentPos.z, actor->yaw);
sfx_play_sound(SOUND_SOFT_LAND);
return ApiStatus_DONE1;
}
return ApiStatus_BLOCK;
}

View File

@ -0,0 +1,19 @@
#include "common.h"
ApiStatus N(CanPlayerLoseAction)(Evt* script, s32 isInitialCall) {
BattleStatus* battleStatus = &gBattleStatus;
Bytecode* args = script->ptrReadPos;
if (get_actor(script->owner1.actorID)->debuff != STATUS_SHRINK) {
if (gBattleStatus.hammerLossTurns == -1 || gBattleStatus.jumpLossTurns == -1 || gBattleStatus.itemLossTurns == -1) {
evt_set_variable(script, *args++, 0);
return ApiStatus_DONE2;
} else {
evt_set_variable(script, *args++, -1);
return ApiStatus_DONE2;
}
} else {
evt_set_variable(script, *args++, -1);
return ApiStatus_DONE2;
}
}

View File

@ -0,0 +1,7 @@
#include "common.h"
ApiStatus N(GetPlayerHpPercent)(Evt* script, s32 isInitialCall) {
evt_set_variable(script, *script->ptrReadPos, (gPlayerData.curHP * 100) / gPlayerData.curMaxHP);
return ApiStatus_DONE2;
}

View File

@ -0,0 +1,61 @@
#include "common.h"
ApiStatus N(ItemEntityJumpToPos)(Evt* script, s32 isInitialCall) {
struct {
/* 0x00 */ Vec3f pos;
/* 0x0C */ f32 moveAngle;
/* 0x10 */ f32 jumpAccel;
/* 0x14 */ f32 moveSpeed;
/* 0x18 */ f32 jumpVelocity;
/* 0x1C */ s32 moveTime;
/* 0x20 */ s32 itemEntityIndex;
}* jumpState;
Bytecode* args = script->ptrReadPos;
ItemEntity* item;
f32 moveDist;
f32 temp_f2;
if (isInitialCall) {
jumpState = heap_malloc(sizeof(*jumpState));
script->functionTemp[0] = (s32) jumpState;
jumpState->itemEntityIndex = evt_get_variable(script, *args++);
jumpState->pos.x = evt_get_float_variable(script, *args++);
jumpState->pos.y = evt_get_float_variable(script, *args++);
jumpState->pos.z = evt_get_float_variable(script, *args++);
jumpState->moveTime = evt_get_variable(script, *args++);
jumpState->jumpAccel = evt_get_float_variable(script, *args++);
item = get_item_entity(jumpState->itemEntityIndex);
moveDist = dist2D(item->position.x, item->position.z, jumpState->pos.x, jumpState->pos.z);
jumpState->moveAngle = atan2(item->position.x, item->position.z, jumpState->pos.x, jumpState->pos.z);
temp_f2 = item->position.y;
jumpState->jumpVelocity = (jumpState->jumpAccel * jumpState->moveTime * 0.5f)
+ ((jumpState->pos.y - temp_f2) / jumpState->moveTime);
temp_f2 = jumpState->moveTime;
jumpState->moveSpeed = moveDist / temp_f2;
}
jumpState = (void*) script->functionTemp[0];
item = get_item_entity(jumpState->itemEntityIndex);
if (!item) {
heap_free((void*) script->functionTemp[0]);
return ApiStatus_DONE2;
}
item->position.x += (jumpState->moveSpeed * sin_deg(jumpState->moveAngle));
item->position.z -= (jumpState->moveSpeed * cos_deg(jumpState->moveAngle));
item->position.y += jumpState->jumpVelocity;
jumpState->moveTime--;
jumpState->jumpVelocity = (jumpState->jumpVelocity - jumpState->jumpAccel);
if (jumpState->moveTime < 0) {
item->position.x = jumpState->pos.x;
item->position.y = jumpState->pos.y;
item->position.z = jumpState->pos.z;
jumpState->jumpVelocity = 0.0f;
heap_free((void*) script->functionTemp[0]);
return ApiStatus_DONE1;
}
return ApiStatus_BLOCK;
}

View File

@ -0,0 +1,13 @@
#include "common.h"
#include "map.h"
ApiStatus N(RemoveChillOut)(Evt* script, s32 isInitialCall) {
Actor* actor = get_actor(script->owner1.actorID);
s32 hudElementDataIndex = actor->hudElementDataIndex;
actor->chillOutTurns = 0;
actor->chillOutAmount = 0;
remove_status_4(hudElementDataIndex);
return ApiStatus_DONE2;
}

View File

@ -0,0 +1,18 @@
#include "common.h"
#include "map.h"
ApiStatus N(UnfadeBackgroundToBlack)(Evt* script, s32 isInitialCall) {
if (isInitialCall) {
script->functionTemp[0] = 20;
}
set_background_color_blend(0, 0, 0, (script->functionTemp[0] * 10) & 0xFE);
script->functionTemp[0] -= 1;
if (script->functionTemp[0] == 0) {
set_background_color_blend(0, 0, 0, 0);
return ApiStatus_DONE2;
} else {
return ApiStatus_BLOCK;
}
}

View File

@ -0,0 +1,23 @@
#include "common.h"
ApiStatus N(UnkSfxFunc)(Evt* script, s32 isInitialCall) {
Actor* actor = get_actor(script->owner1.actorID);
f32 distX;
f32 distY;
f32 distZ;
if (isInitialCall) {
distX = actor->state.goalPos.x - actor->currentPos.x;
distY = actor->state.goalPos.y - actor->currentPos.y;
distZ = actor->state.goalPos.z - actor->currentPos.z;
script->functionTemp[0] = ((sqrtf(SQ(distX) + SQ(distY) + SQ(distZ)) / actor->state.speed) * 0.5f) + 1.0f;
sfx_play_sound_at_position(SOUND_UNKNOWN_359, 0.0f, actor->currentPos.x, actor->currentPos.y, actor->currentPos.z);
}
if (script->functionTemp[0]-- > 0) {
return ApiStatus_BLOCK;
}
sfx_play_sound_at_position(SOUND_UNKNOWN_759, 0, actor->currentPos.x, actor->currentPos.y, actor->currentPos.z);
return ApiStatus_DONE2;
}

View File

@ -1,11 +1,34 @@
#include "jan_04.h"
INCLUDE_ASM(s32, "world/area_jan/jan_04/B451F0", func_80240A80_B451F0);
//static f64 D_802462E0_B4AA50[4] = {990.0, 2.732579860045591e+204, 2.732579860045591e+204, 0.0}; /* const */
#include "world/common/SetEntityPositionF.inc.c"
#include "world/common/GetEntityPosition.inc.c"
INCLUDE_ASM(s32, "world/area_jan/jan_04/B451F0", func_80240BE8_B45358);
// Can't get this to match because the const array above is in "discarded section .data"
/*
ApiStatus func_80240BE8_B45358(Evt* script, s32 isInitialCall) {
Entity* entity = get_entity_by_index(script->varTable[10]);
if (isInitialCall) {
script->functionTemp[0] = 0;
script->functionTemp[1] = 60;
}
entity->scale.x = (60 - script->functionTemp[1]) / 60.0f;
entity->scale.y = (60 - script->functionTemp[1]) / 60.0f;
entity->scale.z = (60 - script->functionTemp[1]) / 60.0f;
entity->rotation.y = (1.0f - cos_rad(entity->scale.y * PI)) * D_802462E0_B4AA50[0] * 0.25f;
script->functionTemp[1]--;
if (script->functionTemp[1] == -1) {
return ApiStatus_DONE2;
}
return ApiStatus_BLOCK;
}
*/
INCLUDE_ASM(s32, "world/area_jan/jan_04/B451F0", func_80240D0C_B4547C);
#define NAMESPACE dup_jan_04

View File

@ -4,7 +4,7 @@
INCLUDE_ASM(s32, "world/area_kkj/kkj_25/B06A80", func_802400AC_B06AAC);
INCLUDE_ASM(s32, "world/area_kkj/kkj_25/B06A80", func_802400FC_B06AFC);
#include "world/common/SetEntityPositionF.inc.c"
#include "world/common/GetEntityPosition.inc.c"

View File

@ -2,10 +2,28 @@
INCLUDE_ASM(s32, "world/area_kmr/kmr_02/8B33E0", func_80243370_8B33E0);
INCLUDE_ASM(s32, "world/area_kmr/kmr_02/8B33E0", func_802433AC_8B341C);
#include "world/common/SetEntityPositionF.inc.c"
#include "world/common/GetEntityPosition.inc.c"
static char* N(exit_str_6) = "tik_01";
INCLUDE_ASM(s32, "world/area_kmr/kmr_02/8B33E0", func_80243514_8B3584);
ApiStatus func_80243514_8B3584(Evt* script, s32 isInitialCall) {
Entity* entity = get_entity_by_index(script->varTable[10]);
if (isInitialCall) {
script->functionTemp[0] = 0;
script->functionTemp[1] = 60;
}
entity->scale.x = (60 - script->functionTemp[1]) / 60.0f;
entity->scale.y = (60 - script->functionTemp[1]) / 60.0f;
entity->scale.z = (60 - script->functionTemp[1]) / 60.0f;
entity->rotation.y = (1.0f - cos_rad(entity->scale.y * PI)) * 990.0 * 0.5f;
script->functionTemp[1]--;
if (script->functionTemp[1] == -1) {
return ApiStatus_DONE2;
}
return ApiStatus_BLOCK;
}

View File

@ -1,6 +1,6 @@
#include "kzn_23.h"
INCLUDE_ASM(s32, "world/area_kzn/kzn_23/C9C610", func_80240310_C9C610);
#include "world/common/SetEntityPositionF.inc.c"
#include "world/common/GetEntityPosition.inc.c"

View File

@ -1,3 +1,3 @@
#include "nok_02.h"
INCLUDE_ASM(s32, "world/area_nok/nok_02/9D7770", func_80240750_9D7770);
#include "common/ItemEntityJumpToPos.inc.c"okItemEntityJumpToPos

View File

@ -112,4 +112,10 @@ ApiStatus N(func_80241AE0_9F6520)(Evt* script, s32 isInitialCall) {
INCLUDE_ASM(s32, "world/area_nok/nok_11/9F4A40", func_80241F08_9F6948);
INCLUDE_ASM(s32, "world/area_nok/nok_11/9F4A40", func_80241F30_9F6970);
ApiStatus func_80241F30_9F6970(Evt* script, s32 isInitialCall) {
PlayerData* playerData = &gPlayerData;
playerData->coins -= 100;
return ApiStatus_DONE2;
}

View File

@ -80,7 +80,7 @@ ApiStatus N(func_80241274_D51264)(Evt* script, s32 isInitialCall) {
}
*/
INCLUDE_ASM(s32, "world/area_pra/pra_02/D50010", func_80241310_D51300);
#include "world/common/SetEntityPositionF.inc.c"
#include "world/common/GetEntityPosition.inc.c"

View File

@ -5,7 +5,7 @@ static char* N(exit_str_1) = "sam_08";
INCLUDE_ASM(s32, "world/area_sam/sam_07/D2BD30", func_80240000_D2BD30);
INCLUDE_ASM(s32, "world/area_sam/sam_07/D2BD30", func_80240448_D2C178);
#include "world/common/SetEntityPositionF.inc.c"
#include "world/common/GetEntityPosition.inc.c"

View File

@ -0,0 +1,16 @@
#include "common.h"
#include "map.h"
ApiStatus N(SetEntityPositionF)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
s32 entityIndex = evt_get_variable(script, *args++);
f32 x = evt_get_variable(script, *args++);
f32 y = evt_get_variable(script, *args++);
f32 z = evt_get_variable(script, *args++);
Entity* entity = get_entity_by_index(entityIndex);
entity->position.x = x;
entity->position.y = y;
entity->position.z = z;
return ApiStatus_DONE2;
}

View File

@ -66,7 +66,7 @@ glabel D_802410F4_EB8324
.word 0x00000005, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000003, 0x802E1D00, 0x00000003, 0xFE363C80, 0x00000044, 0x00000001, D_80241028_EB8258, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x0000000F, 0x802E58EC, 0x00000065, 0x00000002, 0x00000032, 0x00000A5A, 0xFFFFFFEC, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8E, 0xFE363C8F, 0x00000043, 0x00000005, func_802E2A80, 0x0000000F, D_80240F40_EB8170, 0x00000004, 0x00000004, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x0000000F, 0x802E58EC, 0x00000065, 0x00000002, 0xFFFFFFEC, 0x00000A5A, 0xFFFFFFEC, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8E, 0xFE363C8F, 0x00000043, 0x00000005, func_802E2A80, 0x0000000A, D_80240F70_EB81A0, 0x00000003, 0x00000004, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x0000000F, 0x802E58EC, 0x00000065, 0x00000002, 0x0000000A, 0x00000A5A, 0xFFFFFFEC, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8E, 0xFE363C8F, 0x00000043, 0x00000005, func_802E2A80, 0x0000000F, D_80240F94_EB81C4, 0x00000005, 0x00000004, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x0000000F, 0x802E58EC, 0x00000065, 0x00000002, 0xFFFFFFCE, 0x00000A5A, 0xFFFFFFEC, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8E, 0xFE363C8F, 0x00000043, 0x00000005, func_802E2A80, 0x00000014, D_80240FD0_EB8200, 0x00000006, 0x00000004, 0x00000023, 0x00000000, 0x00000043, 0x00000003, 0x802E1D00, 0x00000001, 0xFE363C84, 0x0000000A, 0x00000002, 0xFE363C84, 0x00000000, 0x00000024, 0x00000002, 0xFE363C84, 0xFFFFFFFF, 0x00000013, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, func_802E2B74, 0x00000029, 0x00000002, 0xFE363C81, 0xFE363C84, 0x00000043, 0x00000004, func_80240478_EB76A8, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000002, 0x802E5160, 0xFE363C8E, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000008, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_80241418_EB8648
.word 0x00000043, 0x00000002, 0x802DE448, 0x00000001, 0x00000043, 0x00000002, 0x802DE404, 0x00000001, 0x00000043, 0x00000002, 0x802DE6F8, 0x0000000A, 0x00000043, 0x00000002, 0x802DCA48, 0x00000000, 0x00000043, 0x00000004, 0x802DC5C0, 0xFFFFFFFC, 0x00000200, 0x00000000, 0x00000043, 0x00000001, EB7540_UnsetCamera0MoveFlag1, 0x00000044, 0x00000001, D_80240E98_EB80C8, 0x00000043, 0x00000003, 0x8004930C, 0x00000000, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, 0x802DE6A4, 0x00080000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, 0x802E1C00, 0x00000000, 0x00000C12, 0x000000A0, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, 0x802E1C7C, 0x00000028, 0x00000002, 0xFE363C80, 0x00000064, 0x00000043, 0x00000005, 0x802DB210, 0xFFFFFFFF, 0x00000000, 0xFE363C80, 0x00000000, 0x00000043, 0x00000005, 0x802DB210, 0x00000000, 0x0000000A, 0xFE363C80, 0xFFFFFFFB, 0x00000043, 0x00000004, 0x802DE510, 0xFFFFFFF6, 0xFE363C80, 0x00000005, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, 0x802DB210, 0xFFFFFFFC, 0xFFFFFFF6, 0xFE363C80, 0x00000000, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000B18, 0x00000043, 0x00000003, 0x8004930C, 0x00000000, 0x00000001, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, 0x80049370, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_802410F4_EB8324, 0x00000008, 0x00000001, 0x00000023, 0x00000043, 0x00000007, 0x8011A58C, 0x802F92E0, 0x00000000, 0x00000A5A, 0x00000000, 0x00000094, D_80000000, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000056, 0x00000000, 0x00000043, 0x00000001, func_80240520_EB7750, 0x00000057, 0x00000000, 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C8A, 0x00000043, 0x00000005, EB7540_GetEntityPosition, 0xFE363C89, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000005, 0x802E1C00, 0xFE363C83, 0x00000BB8, 0x0000000A, 0x00000001, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, 0x802E1C7C, 0x00000043, 0x00000005, func_80240310_EB7540, 0xFE363C89, 0xFE363C82, 0xFE363C80, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C82, 0xFFFFFFFF, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x0000002D, 0x00000043, 0x00000003, 0x802D78AC, 0x80241C18, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000
.word 0x00000043, 0x00000002, 0x802DE448, 0x00000001, 0x00000043, 0x00000002, 0x802DE404, 0x00000001, 0x00000043, 0x00000002, 0x802DE6F8, 0x0000000A, 0x00000043, 0x00000002, 0x802DCA48, 0x00000000, 0x00000043, 0x00000004, 0x802DC5C0, 0xFFFFFFFC, 0x00000200, 0x00000000, 0x00000043, 0x00000001, EB7540_UnsetCamera0MoveFlag1, 0x00000044, 0x00000001, D_80240E98_EB80C8, 0x00000043, 0x00000003, 0x8004930C, 0x00000000, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, 0x802DE6A4, 0x00080000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, 0x802E1C00, 0x00000000, 0x00000C12, 0x000000A0, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, 0x802E1C7C, 0x00000028, 0x00000002, 0xFE363C80, 0x00000064, 0x00000043, 0x00000005, 0x802DB210, 0xFFFFFFFF, 0x00000000, 0xFE363C80, 0x00000000, 0x00000043, 0x00000005, 0x802DB210, 0x00000000, 0x0000000A, 0xFE363C80, 0xFFFFFFFB, 0x00000043, 0x00000004, 0x802DE510, 0xFFFFFFF6, 0xFE363C80, 0x00000005, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, 0x802DB210, 0xFFFFFFFC, 0xFFFFFFF6, 0xFE363C80, 0x00000000, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000B18, 0x00000043, 0x00000003, 0x8004930C, 0x00000000, 0x00000001, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, 0x80049370, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_802410F4_EB8324, 0x00000008, 0x00000001, 0x00000023, 0x00000043, 0x00000007, 0x8011A58C, 0x802F92E0, 0x00000000, 0x00000A5A, 0x00000000, 0x00000094, D_80000000, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000056, 0x00000000, 0x00000043, 0x00000001, func_80240520_EB7750, 0x00000057, 0x00000000, 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C8A, 0x00000043, 0x00000005, EB7540_GetEntityPosition, 0xFE363C89, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000005, 0x802E1C00, 0xFE363C83, 0x00000BB8, 0x0000000A, 0x00000001, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, 0x802E1C7C, 0x00000043, 0x00000005, EB7540_SetEntityPositionF, 0xFE363C89, 0xFE363C82, 0xFE363C80, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C82, 0xFFFFFFFF, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x0000002D, 0x00000043, 0x00000003, 0x802D78AC, 0x80241C18, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_802417AC_EB89DC
.word 0x00000043, 0x00000005, 0x802DB210, 0xFFFFFFFF, 0x00000000, 0xFFFFFF9C, 0x00000000, 0x00000043, 0x00000003, 0x802DB654, 0xFFFFFFFF, 0x00160008, 0x00000043, 0x00000003, 0x80048C5C, 0xFFFFFFFF, D_80241418_EB8648, 0x00000002, 0x00000000, 0x00000001, 0x00000000

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -69,7 +69,7 @@ glabel D_8024571C_B0C11C
.word 0x00000043, 0x00000006, PlaySoundAt, 0x0000005A, 0x00000000, 0x0000012C, 0xFFFFFFBA, 0x00000118, 0x00000043, 0x00000005, func_80240264_B06C64, 0x000000E1, 0xFFFFFFBA, 0x00000118, 0x000000F0, 0x00000043, 0x00000005, func_80240264_B06C64, 0x0000017C, 0xFFFFFFBA, 0x00000118, 0x000000F0, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_80245784_B0C184
.word 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000005, kkj_25_GetEntityPosition, 0xFD050F80, 0xFE363C87, 0xFE363C88, 0xFE363C89, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0xFFFFFFF3, 0x00000005, 0x0000000A, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000005, func_802400FC_B06AFC, 0xFD050F80, 0xFE363C87, 0xFE363C80, 0xFE363C89, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000005, func_802400FC_B06AFC, 0xFD050F80, 0xFE363C87, 0xFFFFFFEC, 0xFE363C89, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000000, 0x00010000, 0x00000001, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFD050F8A, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00800012, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00800013, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x0080000E, 0x00000043, 0x00000002, PlaySound, 0x000003BC, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000000, 0x00000000, 0x00000001, 0xF24A8280, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFD050F8A, 0x0000000B, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000002, PlaySound, 0x000007BC, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetNpcJumpscale, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000006, NpcJump0, 0x00000000, 0x0000012C, 0x00000000, 0x00000000, 0x00000014, 0x00000043, 0x00000004, PlaySoundAtNpc, 0x00000000, 0x0000208B, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtNpc, 0x00000000, 0x000020A0, 0x00000000, 0x00000024, 0x00000002, 0xF971889A, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, GetCurrentPartnerID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000001, 0x00000016, 0x00000001, 0x00000002, 0x00000016, 0x00000001, 0x00000003, 0x00000016, 0x00000001, 0x00000007, 0x0000001C, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFC, 0x00000200, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFC, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C81, 0x00000013, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFC, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
.word 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000005, kkj_25_GetEntityPosition, 0xFD050F80, 0xFE363C87, 0xFE363C88, 0xFE363C89, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0xFFFFFFF3, 0x00000005, 0x0000000A, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000005, kkj_25_SetEntityPositionF, 0xFD050F80, 0xFE363C87, 0xFE363C80, 0xFE363C89, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000005, kkj_25_SetEntityPositionF, 0xFD050F80, 0xFE363C87, 0xFFFFFFEC, 0xFE363C89, 0x00000043, 0x00000004, SetNpcFlagBits, 0x00000000, 0x00010000, 0x00000001, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFD050F8A, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00800012, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00800013, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x0080000E, 0x00000043, 0x00000002, PlaySound, 0x000003BC, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000000, 0x00000000, 0x00000001, 0xF24A8280, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFD050F8A, 0x0000000B, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000002, PlaySound, 0x000007BC, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetNpcJumpscale, 0x00000000, 0xF24A7E80, 0x00000043, 0x00000006, NpcJump0, 0x00000000, 0x0000012C, 0x00000000, 0x00000000, 0x00000014, 0x00000043, 0x00000004, PlaySoundAtNpc, 0x00000000, 0x0000208B, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtNpc, 0x00000000, 0x000020A0, 0x00000000, 0x00000024, 0x00000002, 0xF971889A, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, GetCurrentPartnerID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000001, 0x00000016, 0x00000001, 0x00000002, 0x00000016, 0x00000001, 0x00000003, 0x00000016, 0x00000001, 0x00000007, 0x0000001C, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFC, 0x00000200, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFC, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C81, 0x00000013, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFC, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_80245AB0_B0C4B0
.word 0x00000057, 0x00000054, 0x00000051, 0x0000004E, 0x0000004B, 0x00000048, 0x00000045, 0x00000042, 0x0000003F, 0x0000003C, 0x00000039, 0x00000036, 0x00000033, 0x00000030, 0x0000002D, 0x0000002A, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000002, kkj_25_GetFloorCollider, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x0000000B, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000003, PlayerFaceNpc, 0x00000000, 0x00000000, 0x00000043, 0x00000002, GetCurrentPartner, 0xFE363C80, 0x00000043, 0x00000002, GetCurrentPartnerID, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000003, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, GetCurrentPartnerID, 0xFE363C81, 0x0000000B, 0x00000002, 0xFE363C81, 0x00000008, 0x00000043, 0x00000001, WaitForPlayerTouchingFloor, 0x00000013, 0x00000000, 0x00000043, 0x00000001, func_802D2B6C, 0x00000008, 0x00000001, 0x00000005, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetNpcPos, 0xFFFFFFFC, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x0000000C, 0x00000002, 0xFE363C85, 0x00000000, 0x00000027, 0x00000002, 0xFE363C85, 0x00000019, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C85, 0xFFFFFFE7, 0x00000013, 0x00000000, 0x00000027, 0x00000002, 0xFE363C83, 0xFFFFFFF6, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000043, 0x00000003, SetNpcJumpscale, 0xFFFFFFFC, 0xF24A7DB4, 0x00000043, 0x00000006, NpcJump0, 0xFFFFFFFC, 0xFE363C83, 0xFE363C81, 0xFE363C85, 0x0000000C, 0x00000043, 0x00000001, EnablePartnerAI, 0x00000013, 0x00000000, 0x00000003, 0x00000001, 0x00000001, 0x00000057, 0x00000000, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00800006, 0x00800002, 0x00000000, 0x0013007C, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0x0000015E, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0x0000015E, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0x000001C2, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0xF24ABE80, 0xF24A5E80, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24A8A80, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00800006, 0x00800002, 0x00000000, 0x0013007D, 0x00000046, 0x00000001, D_80245784_B0C184, 0x00000043, 0x00000005, UseSettingsFrom, 0x00000000, 0xFFFFFF6A, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetPanTarget, 0x00000000, 0xFFFFFF6A, 0x00000000, 0x00000064, 0x00000043, 0x00000003, SetCamDistance, 0x00000000, 0x000000FA, 0x00000043, 0x00000004, SetCamPitch, 0x00000000, 0xF24AE280, 0xF24A3280, 0x00000043, 0x00000004, SetCamPosA, 0x00000000, 0xFFFFFE20, 0xFFFFFE20, 0x00000043, 0x00000004, SetCamPosB, 0x00000000, 0x00000000, 0x000001E0, 0x00000043, 0x00000003, SetCamSpeed, 0x00000000, 0xF24BE280, 0x00000043, 0x00000004, PanToTarget, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, WaitForCam, 0x00000000, 0xF24A7E80, 0x00000002, 0x00000000, 0x00000001, 0x00000000

File diff suppressed because one or more lines are too long

View File

@ -39,7 +39,7 @@ glabel D_802410F4_C9D3F4
.word 0x00000005, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000003, 0xFE363C80, 0x00000044, 0x00000001, D_80241028_C9D328, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000065, 0x00000002, 0x00000032, 0x00000A5A, 0xFFFFFFEC, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8E, 0xFE363C8F, 0x00000043, 0x00000005, LoadPath, 0x0000000F, D_80240F40_C9D240, 0x00000004, 0x00000004, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x0000000F, PlayEffect, 0x00000065, 0x00000002, 0xFFFFFFEC, 0x00000A5A, 0xFFFFFFEC, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8E, 0xFE363C8F, 0x00000043, 0x00000005, LoadPath, 0x0000000A, D_80240F70_C9D270, 0x00000003, 0x00000004, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000065, 0x00000002, 0x0000000A, 0x00000A5A, 0xFFFFFFEC, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8E, 0xFE363C8F, 0x00000043, 0x00000005, LoadPath, 0x0000000F, D_80240F94_C9D294, 0x00000005, 0x00000004, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000065, 0x00000002, 0xFFFFFFCE, 0x00000A5A, 0xFFFFFFEC, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8E, 0xFE363C8F, 0x00000043, 0x00000005, LoadPath, 0x00000014, D_80240FD0_C9D2D0, 0x00000006, 0x00000004, 0x00000023, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000001, 0xFE363C84, 0x0000000A, 0x00000002, 0xFE363C84, 0x00000000, 0x00000024, 0x00000002, 0xFE363C84, 0xFFFFFFFF, 0x00000013, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, GetNextPathPos, 0x00000029, 0x00000002, 0xFE363C81, 0xFE363C84, 0x00000043, 0x00000004, func_80240478_C9C778, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000002, func_802D7B10, 0xFE363C8E, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000008, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_80241418_C9D718
.word 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000001, 0x00000043, 0x00000002, SetPlayerActionState, 0x0000000A, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFC, 0x00000200, 0x00000000, 0x00000043, 0x00000001, kzn_23_UnsetCamera0MoveFlag1, 0x00000044, 0x00000001, D_80240E98_C9D198, 0x00000043, 0x00000003, SetSelfVar, 0x00000000, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00080000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0x00000C12, 0x000000A0, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000028, 0x00000002, 0xFE363C80, 0x00000064, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x00000000, 0xFE363C80, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0x00000000, 0x0000000A, 0xFE363C80, 0xFFFFFFFB, 0x00000043, 0x00000004, SetPlayerPos, 0xFFFFFFF6, 0xFE363C80, 0x00000005, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFC, 0xFFFFFFF6, 0xFE363C80, 0x00000000, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000B18, 0x00000043, 0x00000003, SetSelfVar, 0x00000000, 0x00000001, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetSelfVar, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_802410F4_C9D3F4, 0x00000008, 0x00000001, 0x00000023, 0x00000043, 0x00000007, MakeEntity, 0x802EAE30, 0x00000000, 0x00000A5A, 0x00000000, 0x00000094, D_80000000, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000056, 0x00000000, 0x00000043, 0x00000001, func_80240520_C9C820, 0x00000057, 0x00000000, 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C8A, 0x00000043, 0x00000005, kzn_23_GetEntityPosition, 0xFE363C89, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000005, MakeLerp, 0xFE363C83, 0x00000BB8, 0x0000000A, 0x00000001, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000005, func_80240310_C9C610, 0xFE363C89, 0xFE363C82, 0xFE363C80, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C82, 0xFFFFFFFF, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x0000002D, 0x00000043, 0x00000003, GotoMap, 0x80241C18, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000
.word 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000002, DisablePlayerPhysics, 0x00000001, 0x00000043, 0x00000002, SetPlayerActionState, 0x0000000A, 0x00000043, 0x00000002, DisablePartnerAI, 0x00000000, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFFC, 0x00000200, 0x00000000, 0x00000043, 0x00000001, kzn_23_UnsetCamera0MoveFlag1, 0x00000044, 0x00000001, D_80240E98_C9D198, 0x00000043, 0x00000003, SetSelfVar, 0x00000000, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00080000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0x00000C12, 0x000000A0, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000028, 0x00000002, 0xFE363C80, 0x00000064, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x00000000, 0xFE363C80, 0x00000000, 0x00000043, 0x00000005, SetNpcPos, 0x00000000, 0x0000000A, 0xFE363C80, 0xFFFFFFFB, 0x00000043, 0x00000004, SetPlayerPos, 0xFFFFFFF6, 0xFE363C80, 0x00000005, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFC, 0xFFFFFFF6, 0xFE363C80, 0x00000000, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000B18, 0x00000043, 0x00000003, SetSelfVar, 0x00000000, 0x00000001, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetSelfVar, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000044, 0x00000001, D_802410F4_C9D3F4, 0x00000008, 0x00000001, 0x00000023, 0x00000043, 0x00000007, MakeEntity, 0x802EAE30, 0x00000000, 0x00000A5A, 0x00000000, 0x00000094, D_80000000, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000056, 0x00000000, 0x00000043, 0x00000001, func_80240520_C9C820, 0x00000057, 0x00000000, 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C8A, 0x00000043, 0x00000005, kzn_23_GetEntityPosition, 0xFE363C89, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000005, MakeLerp, 0xFE363C83, 0x00000BB8, 0x0000000A, 0x00000001, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000005, kzn_23_SetEntityPositionF, 0xFE363C89, 0xFE363C82, 0xFE363C80, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C82, 0xFFFFFFFF, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x0000002D, 0x00000043, 0x00000003, GotoMap, 0x80241C18, 0x00000001, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_802417AC_C9DAAC
.word 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFFF, 0x00000000, 0xFFFFFF9C, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFFF, 0x00160008, 0x00000043, 0x00000003, BindNpcIdle, 0xFFFFFFFF, D_80241418_C9D718, 0x00000002, 0x00000000, 0x00000001, 0x00000000

View File

@ -3,7 +3,7 @@
.section .data
glabel D_80245D00_9DCD20
.word 0x00000043, 0x00000007, func_80240750_9D7770, 0xFD050F8A, 0xF24E0680, 0xF24A7A80, 0xF24E5680, 0x00000014, 0xF24A7E80, 0x00000002, 0x00000000, 0x00000001, 0x00000000
.word 0x00000043, 0x00000007, nok_02_ItemEntityJumpToPos, 0xFD050F8A, 0xF24E0680, 0xF24A7A80, 0xF24E5680, 0x00000014, 0xF24A7E80, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_80245D34_9DCD54
.word 0x00000043, 0x00000003, GotoMap, 0x80254610, 0x00000003, 0x00000008, 0x00000001, 0x00000064, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000007, MakeEntity, D_802EA0C4, 0x00000097, 0x00000051, 0x000000FB, 0x00000000, D_80000000, 0x00000014, 0x00000001, 0xF5DE0180, 0x00000018, 0x00000001, 0xFFFFFFA4, 0x0000000A, 0x00000002, 0xF8405DBC, 0x00000000, 0x00000043, 0x00000002, AssignScript, 0x8024B488, 0x00000013, 0x00000000, 0x0000001B, 0x00000001, 0xFFFFFFA4, 0x0000000A, 0x00000002, 0xF8405DC3, 0x00000000, 0x00000043, 0x00000002, AssignScript, D_80245D00_9DCD20, 0x00000043, 0x00000007, MakeItemEntity, 0x0000015C, 0x00000096, 0x0000006A, 0x000000FA, 0x00000011, 0xF8405DC3, 0x00000024, 0x00000002, 0xFD050F8A, 0xFE363C80, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000008, CreatePushBlockGrid, 0x00000000, 0x00000005, 0x00000005, 0x00000058, 0xFFFFFFFC, 0x000000BC, 0x00000000, 0x00000043, 0x00000005, SetPushBlock, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x0000000A, 0x00000002, 0xF8406312, 0x00000000, 0x0000000A, 0x00000002, 0xF840630D, 0x00000001, 0x00000043, 0x00000002, GetEntryID, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000002, 0x00000024, 0x00000002, 0xF8406312, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x0000000A, MakeEntity, 0x802EAF80, 0x0000016D, 0x00000000, 0x0000005A, 0x0000001E, 0x00000002, D_80245D34_9DCD54, 0x00000792, D_80000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000

View File

@ -12,7 +12,7 @@ glabel D_8024264C_D2E37C
.word 0x00000043, 0x00000002, GetPlayerActionState, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x0000000E, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000010, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xF840612E, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xF840612E, 0x00000001, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000018, 0x7FFFFE00, 0x00000044, 0x00000001, D_8024259C_D2E2CC, 0x00000048, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_8024270C_D2E43C
.word 0x0000000A, 0x00000002, 0xF840612E, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xF840612E, 0x00000001, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000018, 0x7FFFFE00, 0x00000044, 0x00000001, D_8024259C_D2E2CC, 0x00000048, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000005, sam_07_GetEntityPosition, 0xFD050F80, 0xFE363C87, 0xFE363C88, 0xFE363C89, 0x0000000A, 0x00000002, 0xF840612F, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000016, 0x00000399, 0x00000000, 0x00000028, 0x00000002, 0xFE363C88, 0xFFFFFF4C, 0x00000043, 0x00000005, MakeLerp, 0xFFFFFF4C, 0x00000000, 0x00000078, 0x0000000A, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000005, TranslateModel, 0x00000016, 0x00000000, 0xFE363C80, 0x00000000, 0x00000043, 0x00000005, TranslateModel, 0x00000017, 0x00000000, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, UpdateColliderTransform, 0x00000016, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C88, 0x00000043, 0x00000005, func_80240448_D2C178, 0xFD050F80, 0xFE363C87, 0xFE363C80, 0xFE363C89, 0x00000043, 0x00000001, sam_07_UnsetCamera0MoveFlag1, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, func_802405B0_D2C2E0, 0x00000016, 0x00004000, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000087, 0x00000001, 0x00000043, 0x00000003, EnableModel, 0x00000088, 0x00000000, 0x00000024, 0x00000002, 0xF840612F, 0x00000001, 0x00000012, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000088, 0x00000001, 0x00000043, 0x00000003, EnableModel, 0x00000087, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000016, 0x0000039A, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0xFFFFFF4C, 0x00000078, 0x0000000A, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000005, TranslateModel, 0x00000016, 0x00000000, 0xFE363C80, 0x00000000, 0x00000043, 0x00000005, TranslateModel, 0x00000017, 0x00000000, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, UpdateColliderTransform, 0x00000016, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C88, 0x00000043, 0x00000005, func_80240448_D2C178, 0xFD050F80, 0xFE363C87, 0xFE363C80, 0xFE363C89, 0x00000043, 0x00000001, sam_07_UnsetCamera0MoveFlag1, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, func_802405B0_D2C2E0, 0x00000016, 0x00004000, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xF840612F, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
.word 0x0000000A, 0x00000002, 0xF840612E, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xF840612E, 0x00000001, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000018, 0x7FFFFE00, 0x00000044, 0x00000001, D_8024259C_D2E2CC, 0x00000048, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000001, 0x00000043, 0x00000005, sam_07_GetEntityPosition, 0xFD050F80, 0xFE363C87, 0xFE363C88, 0xFE363C89, 0x0000000A, 0x00000002, 0xF840612F, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000016, 0x00000399, 0x00000000, 0x00000028, 0x00000002, 0xFE363C88, 0xFFFFFF4C, 0x00000043, 0x00000005, MakeLerp, 0xFFFFFF4C, 0x00000000, 0x00000078, 0x0000000A, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000005, TranslateModel, 0x00000016, 0x00000000, 0xFE363C80, 0x00000000, 0x00000043, 0x00000005, TranslateModel, 0x00000017, 0x00000000, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, UpdateColliderTransform, 0x00000016, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C88, 0x00000043, 0x00000005, sam_07_SetEntityPositionF, 0xFD050F80, 0xFE363C87, 0xFE363C80, 0xFE363C89, 0x00000043, 0x00000001, sam_07_UnsetCamera0MoveFlag1, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, func_802405B0_D2C2E0, 0x00000016, 0x00004000, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000087, 0x00000001, 0x00000043, 0x00000003, EnableModel, 0x00000088, 0x00000000, 0x00000024, 0x00000002, 0xF840612F, 0x00000001, 0x00000012, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000088, 0x00000001, 0x00000043, 0x00000003, EnableModel, 0x00000087, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtCollider, 0x00000016, 0x0000039A, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0xFFFFFF4C, 0x00000078, 0x0000000A, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000005, TranslateModel, 0x00000016, 0x00000000, 0xFE363C80, 0x00000000, 0x00000043, 0x00000005, TranslateModel, 0x00000017, 0x00000000, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, UpdateColliderTransform, 0x00000016, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C88, 0x00000043, 0x00000005, sam_07_SetEntityPositionF, 0xFD050F80, 0xFE363C87, 0xFE363C80, 0xFE363C89, 0x00000043, 0x00000001, sam_07_UnsetCamera0MoveFlag1, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, func_802405B0_D2C2E0, 0x00000016, 0x00004000, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xF840612F, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, DisablePlayerInput, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
glabel D_80242A90_D2E7C0
.word 0xC46B0000, 0xC3020000, 0xC2960000, 0x42700000, 0x00000043, 0x00000003, EnableGroup, 0x00000089, 0x00000001, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000017, 0x7FFFFE00, 0x00000043, 0x00000003, ParentColliderToModel, 0x00000016, 0x00000016, 0x00000043, 0x00000003, ParentColliderToModel, 0x00000018, 0x00000016, 0x0000000A, 0x00000002, 0xF840612E, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000088, 0x00000001, 0x00000043, 0x00000005, TranslateGroup, 0x00000086, 0x00000000, 0xFFFFFF4C, 0x00000000, 0x00000043, 0x00000002, UpdateColliderTransform, 0x00000016, 0x00000043, 0x00000002, UpdateColliderTransform, 0x00000018, 0x00000047, 0x00000005, D_8024264C_D2E37C, 0x00000080, 0x00000018, 0x00000001, 0x00000000, 0x00000047, 0x00000005, D_8024270C_D2E43C, 0x00100000, D_80242A90_D2E7C0, 0x00000001, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000004, ModifyColliderFlags, 0x00000000, 0x00000018, 0x7FFFFE00, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000086, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000016, 0x00000001, 0x00000043, 0x00000003, EnableModel, 0x00000017, 0x00000001, 0x00000043, 0x00000003, EnableModel, 0x00000087, 0x00000001, 0x0000000A, 0x00000002, 0xF840612F, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000088, 0x00000001, 0x00000043, 0x00000005, TranslateGroup, 0x00000086, 0x00000000, 0xFFFFFF4C, 0x00000000, 0x00000043, 0x00000002, UpdateColliderTransform, 0x00000016, 0x00000012, 0x00000000, 0x00000043, 0x00000003, EnableModel, 0x00000087, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000

View File

@ -1,54 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240310_EB7540
/* EB7540 80240310 27BDFFC8 */ addiu $sp, $sp, -0x38
/* EB7544 80240314 AFB10014 */ sw $s1, 0x14($sp)
/* EB7548 80240318 0080882D */ daddu $s1, $a0, $zero
/* EB754C 8024031C AFBF001C */ sw $ra, 0x1c($sp)
/* EB7550 80240320 AFB20018 */ sw $s2, 0x18($sp)
/* EB7554 80240324 AFB00010 */ sw $s0, 0x10($sp)
/* EB7558 80240328 F7B80030 */ sdc1 $f24, 0x30($sp)
/* EB755C 8024032C F7B60028 */ sdc1 $f22, 0x28($sp)
/* EB7560 80240330 F7B40020 */ sdc1 $f20, 0x20($sp)
/* EB7564 80240334 8E30000C */ lw $s0, 0xc($s1)
/* EB7568 80240338 8E050000 */ lw $a1, ($s0)
/* EB756C 8024033C 0C0B53A3 */ jal dead_evt_get_variable
/* EB7570 80240340 26100004 */ addiu $s0, $s0, 4
/* EB7574 80240344 8E050000 */ lw $a1, ($s0)
/* EB7578 80240348 26100004 */ addiu $s0, $s0, 4
/* EB757C 8024034C 0220202D */ daddu $a0, $s1, $zero
/* EB7580 80240350 0C0B53A3 */ jal dead_evt_get_variable
/* EB7584 80240354 0040902D */ daddu $s2, $v0, $zero
/* EB7588 80240358 8E050000 */ lw $a1, ($s0)
/* EB758C 8024035C 26100004 */ addiu $s0, $s0, 4
/* EB7590 80240360 4482C000 */ mtc1 $v0, $f24
/* EB7594 80240364 00000000 */ nop
/* EB7598 80240368 4680C620 */ cvt.s.w $f24, $f24
/* EB759C 8024036C 0C0B53A3 */ jal dead_evt_get_variable
/* EB75A0 80240370 0220202D */ daddu $a0, $s1, $zero
/* EB75A4 80240374 8E050000 */ lw $a1, ($s0)
/* EB75A8 80240378 4482B000 */ mtc1 $v0, $f22
/* EB75AC 8024037C 00000000 */ nop
/* EB75B0 80240380 4680B5A0 */ cvt.s.w $f22, $f22
/* EB75B4 80240384 0C0B53A3 */ jal dead_evt_get_variable
/* EB75B8 80240388 0220202D */ daddu $a0, $s1, $zero
/* EB75BC 8024038C 4482A000 */ mtc1 $v0, $f20
/* EB75C0 80240390 00000000 */ nop
/* EB75C4 80240394 4680A520 */ cvt.s.w $f20, $f20
/* EB75C8 80240398 0C0462EC */ jal dead_get_entity_by_index
/* EB75CC 8024039C 0240202D */ daddu $a0, $s2, $zero
/* EB75D0 802403A0 0040182D */ daddu $v1, $v0, $zero
/* EB75D4 802403A4 E4780048 */ swc1 $f24, 0x48($v1)
/* EB75D8 802403A8 E476004C */ swc1 $f22, 0x4c($v1)
/* EB75DC 802403AC E4740050 */ swc1 $f20, 0x50($v1)
/* EB75E0 802403B0 8FBF001C */ lw $ra, 0x1c($sp)
/* EB75E4 802403B4 8FB20018 */ lw $s2, 0x18($sp)
/* EB75E8 802403B8 8FB10014 */ lw $s1, 0x14($sp)
/* EB75EC 802403BC 8FB00010 */ lw $s0, 0x10($sp)
/* EB75F0 802403C0 D7B80030 */ ldc1 $f24, 0x30($sp)
/* EB75F4 802403C4 D7B60028 */ ldc1 $f22, 0x28($sp)
/* EB75F8 802403C8 D7B40020 */ ldc1 $f20, 0x20($sp)
/* EB75FC 802403CC 24020002 */ addiu $v0, $zero, 2
/* EB7600 802403D0 03E00008 */ jr $ra
/* EB7604 802403D4 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -1,84 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218020_47F0D0
/* 47F0D0 80218020 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 47F0D4 80218024 AFB20020 */ sw $s2, 0x20($sp)
/* 47F0D8 80218028 0080902D */ daddu $s2, $a0, $zero
/* 47F0DC 8021802C AFBF0024 */ sw $ra, 0x24($sp)
/* 47F0E0 80218030 AFB1001C */ sw $s1, 0x1c($sp)
/* 47F0E4 80218034 AFB00018 */ sw $s0, 0x18($sp)
/* 47F0E8 80218038 8E440148 */ lw $a0, 0x148($s2)
/* 47F0EC 8021803C 0C09A75B */ jal get_actor
/* 47F0F0 80218040 00A0802D */ daddu $s0, $a1, $zero
/* 47F0F4 80218044 1200002D */ beqz $s0, .L802180FC
/* 47F0F8 80218048 0040882D */ daddu $s1, $v0, $zero
/* 47F0FC 8021804C C6220018 */ lwc1 $f2, 0x18($s1)
/* 47F100 80218050 C6200144 */ lwc1 $f0, 0x144($s1)
/* 47F104 80218054 46001081 */ sub.s $f2, $f2, $f0
/* 47F108 80218058 46021082 */ mul.s $f2, $f2, $f2
/* 47F10C 8021805C 00000000 */ nop
/* 47F110 80218060 C626001C */ lwc1 $f6, 0x1c($s1)
/* 47F114 80218064 C6200148 */ lwc1 $f0, 0x148($s1)
/* 47F118 80218068 46003181 */ sub.s $f6, $f6, $f0
/* 47F11C 8021806C 46063182 */ mul.s $f6, $f6, $f6
/* 47F120 80218070 00000000 */ nop
/* 47F124 80218074 C624014C */ lwc1 $f4, 0x14c($s1)
/* 47F128 80218078 C6200020 */ lwc1 $f0, 0x20($s1)
/* 47F12C 8021807C 46040001 */ sub.s $f0, $f0, $f4
/* 47F130 80218080 46000002 */ mul.s $f0, $f0, $f0
/* 47F134 80218084 00000000 */ nop
/* 47F138 80218088 46061080 */ add.s $f2, $f2, $f6
/* 47F13C 8021808C 46001300 */ add.s $f12, $f2, $f0
/* 47F140 80218090 46006104 */ sqrt.s $f4, $f12
/* 47F144 80218094 46042032 */ c.eq.s $f4, $f4
/* 47F148 80218098 00000000 */ nop
/* 47F14C 8021809C 45010004 */ bc1t .L802180B0
/* 47F150 802180A0 00000000 */ nop
/* 47F154 802180A4 0C0187BC */ jal sqrtf
/* 47F158 802180A8 00000000 */ nop
/* 47F15C 802180AC 46000106 */ mov.s $f4, $f0
.L802180B0:
/* 47F160 802180B0 C620004C */ lwc1 $f0, 0x4c($s1)
/* 47F164 802180B4 3C013F00 */ lui $at, 0x3f00
/* 47F168 802180B8 44811000 */ mtc1 $at, $f2
/* 47F16C 802180BC 46002003 */ div.s $f0, $f4, $f0
/* 47F170 802180C0 46020002 */ mul.s $f0, $f0, $f2
/* 47F174 802180C4 00000000 */ nop
/* 47F178 802180C8 3C013F80 */ lui $at, 0x3f80
/* 47F17C 802180CC 44811000 */ mtc1 $at, $f2
/* 47F180 802180D0 00000000 */ nop
/* 47F184 802180D4 46020000 */ add.s $f0, $f0, $f2
/* 47F188 802180D8 4600020D */ trunc.w.s $f8, $f0
/* 47F18C 802180DC E6480070 */ swc1 $f8, 0x70($s2)
/* 47F190 802180E0 C620014C */ lwc1 $f0, 0x14c($s1)
/* 47F194 802180E4 24040359 */ addiu $a0, $zero, 0x359
/* 47F198 802180E8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 47F19C 802180EC 8E260144 */ lw $a2, 0x144($s1)
/* 47F1A0 802180F0 8E270148 */ lw $a3, 0x148($s1)
/* 47F1A4 802180F4 0C052757 */ jal sfx_play_sound_at_position
/* 47F1A8 802180F8 0000282D */ daddu $a1, $zero, $zero
.L802180FC:
/* 47F1AC 802180FC 8E420070 */ lw $v0, 0x70($s2)
/* 47F1B0 80218100 0040182D */ daddu $v1, $v0, $zero
/* 47F1B4 80218104 2442FFFF */ addiu $v0, $v0, -1
/* 47F1B8 80218108 1C60000A */ bgtz $v1, .L80218134
/* 47F1BC 8021810C AE420070 */ sw $v0, 0x70($s2)
/* 47F1C0 80218110 C620014C */ lwc1 $f0, 0x14c($s1)
/* 47F1C4 80218114 24040759 */ addiu $a0, $zero, 0x759
/* 47F1C8 80218118 E7A00010 */ swc1 $f0, 0x10($sp)
/* 47F1CC 8021811C 8E260144 */ lw $a2, 0x144($s1)
/* 47F1D0 80218120 8E270148 */ lw $a3, 0x148($s1)
/* 47F1D4 80218124 0C052757 */ jal sfx_play_sound_at_position
/* 47F1D8 80218128 0000282D */ daddu $a1, $zero, $zero
/* 47F1DC 8021812C 0808604E */ j .L80218138
/* 47F1E0 80218130 24020002 */ addiu $v0, $zero, 2
.L80218134:
/* 47F1E4 80218134 0000102D */ daddu $v0, $zero, $zero
.L80218138:
/* 47F1E8 80218138 8FBF0024 */ lw $ra, 0x24($sp)
/* 47F1EC 8021813C 8FB20020 */ lw $s2, 0x20($sp)
/* 47F1F0 80218140 8FB1001C */ lw $s1, 0x1c($sp)
/* 47F1F4 80218144 8FB00018 */ lw $s0, 0x18($sp)
/* 47F1F8 80218148 03E00008 */ jr $ra
/* 47F1FC 8021814C 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,142 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802180CC_56E36C
/* 56E36C 802180CC 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 56E370 802180D0 AFB20018 */ sw $s2, 0x18($sp)
/* 56E374 802180D4 0080902D */ daddu $s2, $a0, $zero
/* 56E378 802180D8 AFBF001C */ sw $ra, 0x1c($sp)
/* 56E37C 802180DC AFB10014 */ sw $s1, 0x14($sp)
/* 56E380 802180E0 AFB00010 */ sw $s0, 0x10($sp)
/* 56E384 802180E4 F7B40020 */ sdc1 $f20, 0x20($sp)
/* 56E388 802180E8 10A00044 */ beqz $a1, .L802181FC
/* 56E38C 802180EC 8E50000C */ lw $s0, 0xc($s2)
/* 56E390 802180F0 0C00AB39 */ jal heap_malloc
/* 56E394 802180F4 24040024 */ addiu $a0, $zero, 0x24
/* 56E398 802180F8 0040882D */ daddu $s1, $v0, $zero
/* 56E39C 802180FC AE510070 */ sw $s1, 0x70($s2)
/* 56E3A0 80218100 8E050000 */ lw $a1, ($s0)
/* 56E3A4 80218104 26100004 */ addiu $s0, $s0, 4
/* 56E3A8 80218108 0C0B1EAF */ jal evt_get_variable
/* 56E3AC 8021810C 0240202D */ daddu $a0, $s2, $zero
/* 56E3B0 80218110 AE220020 */ sw $v0, 0x20($s1)
/* 56E3B4 80218114 8E050000 */ lw $a1, ($s0)
/* 56E3B8 80218118 26100004 */ addiu $s0, $s0, 4
/* 56E3BC 8021811C 0C0B210B */ jal evt_get_float_variable
/* 56E3C0 80218120 0240202D */ daddu $a0, $s2, $zero
/* 56E3C4 80218124 E6200000 */ swc1 $f0, ($s1)
/* 56E3C8 80218128 8E050000 */ lw $a1, ($s0)
/* 56E3CC 8021812C 26100004 */ addiu $s0, $s0, 4
/* 56E3D0 80218130 0C0B210B */ jal evt_get_float_variable
/* 56E3D4 80218134 0240202D */ daddu $a0, $s2, $zero
/* 56E3D8 80218138 E6200004 */ swc1 $f0, 4($s1)
/* 56E3DC 8021813C 8E050000 */ lw $a1, ($s0)
/* 56E3E0 80218140 26100004 */ addiu $s0, $s0, 4
/* 56E3E4 80218144 0C0B210B */ jal evt_get_float_variable
/* 56E3E8 80218148 0240202D */ daddu $a0, $s2, $zero
/* 56E3EC 8021814C E6200008 */ swc1 $f0, 8($s1)
/* 56E3F0 80218150 8E050000 */ lw $a1, ($s0)
/* 56E3F4 80218154 26100004 */ addiu $s0, $s0, 4
/* 56E3F8 80218158 0C0B1EAF */ jal evt_get_variable
/* 56E3FC 8021815C 0240202D */ daddu $a0, $s2, $zero
/* 56E400 80218160 AE22001C */ sw $v0, 0x1c($s1)
/* 56E404 80218164 8E050000 */ lw $a1, ($s0)
/* 56E408 80218168 0C0B210B */ jal evt_get_float_variable
/* 56E40C 8021816C 0240202D */ daddu $a0, $s2, $zero
/* 56E410 80218170 8E240020 */ lw $a0, 0x20($s1)
/* 56E414 80218174 0C04C3D6 */ jal get_item_entity
/* 56E418 80218178 E6200010 */ swc1 $f0, 0x10($s1)
/* 56E41C 8021817C 0040802D */ daddu $s0, $v0, $zero
/* 56E420 80218180 C60C0008 */ lwc1 $f12, 8($s0)
/* 56E424 80218184 C60E0010 */ lwc1 $f14, 0x10($s0)
/* 56E428 80218188 8E260000 */ lw $a2, ($s1)
/* 56E42C 8021818C 0C00A7B5 */ jal dist2D
/* 56E430 80218190 8E270008 */ lw $a3, 8($s1)
/* 56E434 80218194 C60C0008 */ lwc1 $f12, 8($s0)
/* 56E438 80218198 C60E0010 */ lwc1 $f14, 0x10($s0)
/* 56E43C 8021819C 8E260000 */ lw $a2, ($s1)
/* 56E440 802181A0 8E270008 */ lw $a3, 8($s1)
/* 56E444 802181A4 0C00A720 */ jal atan2
/* 56E448 802181A8 46000506 */ mov.s $f20, $f0
/* 56E44C 802181AC C6240010 */ lwc1 $f4, 0x10($s1)
/* 56E450 802181B0 C626001C */ lwc1 $f6, 0x1c($s1)
/* 56E454 802181B4 468031A0 */ cvt.s.w $f6, $f6
/* 56E458 802181B8 46062102 */ mul.s $f4, $f4, $f6
/* 56E45C 802181BC 00000000 */ nop
/* 56E460 802181C0 3C013F00 */ lui $at, 0x3f00
/* 56E464 802181C4 44811000 */ mtc1 $at, $f2
/* 56E468 802181C8 00000000 */ nop
/* 56E46C 802181CC 46022102 */ mul.s $f4, $f4, $f2
/* 56E470 802181D0 00000000 */ nop
/* 56E474 802181D4 E620000C */ swc1 $f0, 0xc($s1)
/* 56E478 802181D8 C6200004 */ lwc1 $f0, 4($s1)
/* 56E47C 802181DC C602000C */ lwc1 $f2, 0xc($s0)
/* 56E480 802181E0 46020001 */ sub.s $f0, $f0, $f2
/* 56E484 802181E4 46003086 */ mov.s $f2, $f6
/* 56E488 802181E8 46060003 */ div.s $f0, $f0, $f6
/* 56E48C 802181EC 46002100 */ add.s $f4, $f4, $f0
/* 56E490 802181F0 4602A503 */ div.s $f20, $f20, $f2
/* 56E494 802181F4 E6340014 */ swc1 $f20, 0x14($s1)
/* 56E498 802181F8 E6240018 */ swc1 $f4, 0x18($s1)
.L802181FC:
/* 56E49C 802181FC 8E510070 */ lw $s1, 0x70($s2)
/* 56E4A0 80218200 0C04C3D6 */ jal get_item_entity
/* 56E4A4 80218204 8E240020 */ lw $a0, 0x20($s1)
/* 56E4A8 80218208 0040802D */ daddu $s0, $v0, $zero
/* 56E4AC 8021820C 16000005 */ bnez $s0, .L80218224
/* 56E4B0 80218210 00000000 */ nop
/* 56E4B4 80218214 0C00AB4B */ jal heap_free
/* 56E4B8 80218218 8E440070 */ lw $a0, 0x70($s2)
/* 56E4BC 8021821C 080860B2 */ j .L802182C8
/* 56E4C0 80218220 24020002 */ addiu $v0, $zero, 2
.L80218224:
/* 56E4C4 80218224 C62C000C */ lwc1 $f12, 0xc($s1)
/* 56E4C8 80218228 0C00A8BB */ jal sin_deg
/* 56E4CC 8021822C 00000000 */ nop
/* 56E4D0 80218230 C6220014 */ lwc1 $f2, 0x14($s1)
/* 56E4D4 80218234 46001082 */ mul.s $f2, $f2, $f0
/* 56E4D8 80218238 00000000 */ nop
/* 56E4DC 8021823C C6000008 */ lwc1 $f0, 8($s0)
/* 56E4E0 80218240 46020000 */ add.s $f0, $f0, $f2
/* 56E4E4 80218244 E6000008 */ swc1 $f0, 8($s0)
/* 56E4E8 80218248 0C00A8D4 */ jal cos_deg
/* 56E4EC 8021824C C62C000C */ lwc1 $f12, 0xc($s1)
/* 56E4F0 80218250 C6220014 */ lwc1 $f2, 0x14($s1)
/* 56E4F4 80218254 46001082 */ mul.s $f2, $f2, $f0
/* 56E4F8 80218258 00000000 */ nop
/* 56E4FC 8021825C C6000010 */ lwc1 $f0, 0x10($s0)
/* 56E500 80218260 46020001 */ sub.s $f0, $f0, $f2
/* 56E504 80218264 E6000010 */ swc1 $f0, 0x10($s0)
/* 56E508 80218268 C600000C */ lwc1 $f0, 0xc($s0)
/* 56E50C 8021826C C6220018 */ lwc1 $f2, 0x18($s1)
/* 56E510 80218270 46020000 */ add.s $f0, $f0, $f2
/* 56E514 80218274 E600000C */ swc1 $f0, 0xc($s0)
/* 56E518 80218278 C6200018 */ lwc1 $f0, 0x18($s1)
/* 56E51C 8021827C C6220010 */ lwc1 $f2, 0x10($s1)
/* 56E520 80218280 8E22001C */ lw $v0, 0x1c($s1)
/* 56E524 80218284 46020001 */ sub.s $f0, $f0, $f2
/* 56E528 80218288 2442FFFF */ addiu $v0, $v0, -1
/* 56E52C 8021828C AE22001C */ sw $v0, 0x1c($s1)
/* 56E530 80218290 04400003 */ bltz $v0, .L802182A0
/* 56E534 80218294 E6200018 */ swc1 $f0, 0x18($s1)
/* 56E538 80218298 080860B2 */ j .L802182C8
/* 56E53C 8021829C 0000102D */ daddu $v0, $zero, $zero
.L802182A0:
/* 56E540 802182A0 C6200000 */ lwc1 $f0, ($s1)
/* 56E544 802182A4 E6000008 */ swc1 $f0, 8($s0)
/* 56E548 802182A8 C6200004 */ lwc1 $f0, 4($s1)
/* 56E54C 802182AC E600000C */ swc1 $f0, 0xc($s0)
/* 56E550 802182B0 C6200008 */ lwc1 $f0, 8($s1)
/* 56E554 802182B4 E6000010 */ swc1 $f0, 0x10($s0)
/* 56E558 802182B8 AE200018 */ sw $zero, 0x18($s1)
/* 56E55C 802182BC 0C00AB4B */ jal heap_free
/* 56E560 802182C0 8E440070 */ lw $a0, 0x70($s2)
/* 56E564 802182C4 24020001 */ addiu $v0, $zero, 1
.L802182C8:
/* 56E568 802182C8 8FBF001C */ lw $ra, 0x1c($sp)
/* 56E56C 802182CC 8FB20018 */ lw $s2, 0x18($sp)
/* 56E570 802182D0 8FB10014 */ lw $s1, 0x14($sp)
/* 56E574 802182D4 8FB00010 */ lw $s0, 0x10($sp)
/* 56E578 802182D8 D7B40020 */ ldc1 $f20, 0x20($sp)
/* 56E57C 802182DC 03E00008 */ jr $ra
/* 56E580 802182E0 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,50 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218000_6DBDA0
/* 6DBDA0 80218000 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 6DBDA4 80218004 AFBF0018 */ sw $ra, 0x18($sp)
/* 6DBDA8 80218008 AFB10014 */ sw $s1, 0x14($sp)
/* 6DBDAC 8021800C AFB00010 */ sw $s0, 0x10($sp)
/* 6DBDB0 80218010 0C09A75B */ jal get_actor
/* 6DBDB4 80218014 8C840148 */ lw $a0, 0x148($a0)
/* 6DBDB8 80218018 3C108022 */ lui $s0, %hi(D_802187E4_6DC584)
/* 6DBDBC 8021801C 261087E4 */ addiu $s0, $s0, %lo(D_802187E4_6DC584)
/* 6DBDC0 80218020 8E030000 */ lw $v1, ($s0)
/* 6DBDC4 80218024 0040882D */ daddu $s1, $v0, $zero
/* 6DBDC8 80218028 24630009 */ addiu $v1, $v1, 9
/* 6DBDCC 8021802C 44836000 */ mtc1 $v1, $f12
/* 6DBDD0 80218030 00000000 */ nop
/* 6DBDD4 80218034 46806320 */ cvt.s.w $f12, $f12
/* 6DBDD8 80218038 0C00A6C9 */ jal clamp_angle
/* 6DBDDC 8021803C AE030000 */ sw $v1, ($s0)
/* 6DBDE0 80218040 4600010D */ trunc.w.s $f4, $f0
/* 6DBDE4 80218044 44022000 */ mfc1 $v0, $f4
/* 6DBDE8 80218048 3C0140C9 */ lui $at, 0x40c9
/* 6DBDEC 8021804C 34210FD0 */ ori $at, $at, 0xfd0
/* 6DBDF0 80218050 44810000 */ mtc1 $at, $f0
/* 6DBDF4 80218054 44826000 */ mtc1 $v0, $f12
/* 6DBDF8 80218058 00000000 */ nop
/* 6DBDFC 8021805C 46806320 */ cvt.s.w $f12, $f12
/* 6DBE00 80218060 46006302 */ mul.s $f12, $f12, $f0
/* 6DBE04 80218064 00000000 */ nop
/* 6DBE08 80218068 3C0143B4 */ lui $at, 0x43b4
/* 6DBE0C 8021806C 44810000 */ mtc1 $at, $f0
/* 6DBE10 80218070 AE020000 */ sw $v0, ($s0)
/* 6DBE14 80218074 0C00A85B */ jal sin_rad
/* 6DBE18 80218078 46006303 */ div.s $f12, $f12, $f0
/* 6DBE1C 8021807C 3C014040 */ lui $at, 0x4040
/* 6DBE20 80218080 44811000 */ mtc1 $at, $f2
/* 6DBE24 80218084 00000000 */ nop
/* 6DBE28 80218088 46020002 */ mul.s $f0, $f0, $f2
/* 6DBE2C 8021808C 00000000 */ nop
/* 6DBE30 80218090 4600010D */ trunc.w.s $f4, $f0
/* 6DBE34 80218094 44032000 */ mfc1 $v1, $f4
/* 6DBE38 80218098 00000000 */ nop
/* 6DBE3C 8021809C A223019A */ sb $v1, 0x19a($s1)
/* 6DBE40 802180A0 8FBF0018 */ lw $ra, 0x18($sp)
/* 6DBE44 802180A4 8FB10014 */ lw $s1, 0x14($sp)
/* 6DBE48 802180A8 8FB00010 */ lw $s0, 0x10($sp)
/* 6DBE4C 802180AC 24020002 */ addiu $v0, $zero, 2
/* 6DBE50 802180B0 03E00008 */ jr $ra
/* 6DBE54 802180B4 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,54 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802180B8_6DBE58
/* 6DBE58 802180B8 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 6DBE5C 802180BC AFB10014 */ sw $s1, 0x14($sp)
/* 6DBE60 802180C0 0080882D */ daddu $s1, $a0, $zero
/* 6DBE64 802180C4 AFBF001C */ sw $ra, 0x1c($sp)
/* 6DBE68 802180C8 AFB20018 */ sw $s2, 0x18($sp)
/* 6DBE6C 802180CC AFB00010 */ sw $s0, 0x10($sp)
/* 6DBE70 802180D0 F7B80030 */ sdc1 $f24, 0x30($sp)
/* 6DBE74 802180D4 F7B60028 */ sdc1 $f22, 0x28($sp)
/* 6DBE78 802180D8 F7B40020 */ sdc1 $f20, 0x20($sp)
/* 6DBE7C 802180DC 8E30000C */ lw $s0, 0xc($s1)
/* 6DBE80 802180E0 8E050000 */ lw $a1, ($s0)
/* 6DBE84 802180E4 0C0B1EAF */ jal evt_get_variable
/* 6DBE88 802180E8 26100004 */ addiu $s0, $s0, 4
/* 6DBE8C 802180EC 8E050000 */ lw $a1, ($s0)
/* 6DBE90 802180F0 26100004 */ addiu $s0, $s0, 4
/* 6DBE94 802180F4 0220202D */ daddu $a0, $s1, $zero
/* 6DBE98 802180F8 0C0B1EAF */ jal evt_get_variable
/* 6DBE9C 802180FC 0040902D */ daddu $s2, $v0, $zero
/* 6DBEA0 80218100 8E050000 */ lw $a1, ($s0)
/* 6DBEA4 80218104 26100004 */ addiu $s0, $s0, 4
/* 6DBEA8 80218108 4482C000 */ mtc1 $v0, $f24
/* 6DBEAC 8021810C 00000000 */ nop
/* 6DBEB0 80218110 4680C620 */ cvt.s.w $f24, $f24
/* 6DBEB4 80218114 0C0B1EAF */ jal evt_get_variable
/* 6DBEB8 80218118 0220202D */ daddu $a0, $s1, $zero
/* 6DBEBC 8021811C 8E050000 */ lw $a1, ($s0)
/* 6DBEC0 80218120 4482B000 */ mtc1 $v0, $f22
/* 6DBEC4 80218124 00000000 */ nop
/* 6DBEC8 80218128 4680B5A0 */ cvt.s.w $f22, $f22
/* 6DBECC 8021812C 0C0B1EAF */ jal evt_get_variable
/* 6DBED0 80218130 0220202D */ daddu $a0, $s1, $zero
/* 6DBED4 80218134 4482A000 */ mtc1 $v0, $f20
/* 6DBED8 80218138 00000000 */ nop
/* 6DBEDC 8021813C 4680A520 */ cvt.s.w $f20, $f20
/* 6DBEE0 80218140 0C04417A */ jal get_entity_by_index
/* 6DBEE4 80218144 0240202D */ daddu $a0, $s2, $zero
/* 6DBEE8 80218148 0040182D */ daddu $v1, $v0, $zero
/* 6DBEEC 8021814C E4780048 */ swc1 $f24, 0x48($v1)
/* 6DBEF0 80218150 E476004C */ swc1 $f22, 0x4c($v1)
/* 6DBEF4 80218154 E4740050 */ swc1 $f20, 0x50($v1)
/* 6DBEF8 80218158 8FBF001C */ lw $ra, 0x1c($sp)
/* 6DBEFC 8021815C 8FB20018 */ lw $s2, 0x18($sp)
/* 6DBF00 80218160 8FB10014 */ lw $s1, 0x14($sp)
/* 6DBF04 80218164 8FB00010 */ lw $s0, 0x10($sp)
/* 6DBF08 80218168 D7B80030 */ ldc1 $f24, 0x30($sp)
/* 6DBF0C 8021816C D7B60028 */ ldc1 $f22, 0x28($sp)
/* 6DBF10 80218170 D7B40020 */ ldc1 $f20, 0x20($sp)
/* 6DBF14 80218174 24020002 */ addiu $v0, $zero, 2
/* 6DBF18 80218178 03E00008 */ jr $ra
/* 6DBF1C 8021817C 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -1,76 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218220_6DBFC0
/* 6DBFC0 80218220 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 6DBFC4 80218224 AFB20018 */ sw $s2, 0x18($sp)
/* 6DBFC8 80218228 0080902D */ daddu $s2, $a0, $zero
/* 6DBFCC 8021822C AFBF001C */ sw $ra, 0x1c($sp)
/* 6DBFD0 80218230 AFB10014 */ sw $s1, 0x14($sp)
/* 6DBFD4 80218234 AFB00010 */ sw $s0, 0x10($sp)
/* 6DBFD8 80218238 8E4400A8 */ lw $a0, 0xa8($s2)
/* 6DBFDC 8021823C 0C04417A */ jal get_entity_by_index
/* 6DBFE0 80218240 00A0802D */ daddu $s0, $a1, $zero
/* 6DBFE4 80218244 12000004 */ beqz $s0, .L80218258
/* 6DBFE8 80218248 0040882D */ daddu $s1, $v0, $zero
/* 6DBFEC 8021824C 2402003C */ addiu $v0, $zero, 0x3c
/* 6DBFF0 80218250 AE400070 */ sw $zero, 0x70($s2)
/* 6DBFF4 80218254 AE420074 */ sw $v0, 0x74($s2)
.L80218258:
/* 6DBFF8 80218258 2403003C */ addiu $v1, $zero, 0x3c
/* 6DBFFC 8021825C 8E420074 */ lw $v0, 0x74($s2)
/* 6DC000 80218260 3C014270 */ lui $at, 0x4270
/* 6DC004 80218264 44811000 */ mtc1 $at, $f2
/* 6DC008 80218268 00621023 */ subu $v0, $v1, $v0
/* 6DC00C 8021826C 44820000 */ mtc1 $v0, $f0
/* 6DC010 80218270 00000000 */ nop
/* 6DC014 80218274 46800020 */ cvt.s.w $f0, $f0
/* 6DC018 80218278 46020003 */ div.s $f0, $f0, $f2
/* 6DC01C 8021827C E6200054 */ swc1 $f0, 0x54($s1)
/* 6DC020 80218280 8E420074 */ lw $v0, 0x74($s2)
/* 6DC024 80218284 3C014049 */ lui $at, 0x4049
/* 6DC028 80218288 34210FD8 */ ori $at, $at, 0xfd8
/* 6DC02C 8021828C 44816000 */ mtc1 $at, $f12
/* 6DC030 80218290 00621023 */ subu $v0, $v1, $v0
/* 6DC034 80218294 44820000 */ mtc1 $v0, $f0
/* 6DC038 80218298 00000000 */ nop
/* 6DC03C 8021829C 46800020 */ cvt.s.w $f0, $f0
/* 6DC040 802182A0 46020003 */ div.s $f0, $f0, $f2
/* 6DC044 802182A4 E6200058 */ swc1 $f0, 0x58($s1)
/* 6DC048 802182A8 8E420074 */ lw $v0, 0x74($s2)
/* 6DC04C 802182AC 460C0302 */ mul.s $f12, $f0, $f12
/* 6DC050 802182B0 00000000 */ nop
/* 6DC054 802182B4 00621823 */ subu $v1, $v1, $v0
/* 6DC058 802182B8 44830000 */ mtc1 $v1, $f0
/* 6DC05C 802182BC 00000000 */ nop
/* 6DC060 802182C0 46800020 */ cvt.s.w $f0, $f0
/* 6DC064 802182C4 46020003 */ div.s $f0, $f0, $f2
/* 6DC068 802182C8 0C00A874 */ jal cos_rad
/* 6DC06C 802182CC E620005C */ swc1 $f0, 0x5c($s1)
/* 6DC070 802182D0 3C013F80 */ lui $at, 0x3f80
/* 6DC074 802182D4 44811000 */ mtc1 $at, $f2
/* 6DC078 802182D8 00000000 */ nop
/* 6DC07C 802182DC 46001081 */ sub.s $f2, $f2, $f0
/* 6DC080 802182E0 3C014487 */ lui $at, 0x4487
/* 6DC084 802182E4 44810000 */ mtc1 $at, $f0
/* 6DC088 802182E8 00000000 */ nop
/* 6DC08C 802182EC 46001082 */ mul.s $f2, $f2, $f0
/* 6DC090 802182F0 00000000 */ nop
/* 6DC094 802182F4 3C013F00 */ lui $at, 0x3f00
/* 6DC098 802182F8 44810000 */ mtc1 $at, $f0
/* 6DC09C 802182FC 00000000 */ nop
/* 6DC0A0 80218300 46001082 */ mul.s $f2, $f2, $f0
/* 6DC0A4 80218304 00000000 */ nop
/* 6DC0A8 80218308 E6220064 */ swc1 $f2, 0x64($s1)
/* 6DC0AC 8021830C 8E430074 */ lw $v1, 0x74($s2)
/* 6DC0B0 80218310 2463FFFF */ addiu $v1, $v1, -1
/* 6DC0B4 80218314 00031027 */ nor $v0, $zero, $v1
/* 6DC0B8 80218318 2C420001 */ sltiu $v0, $v0, 1
/* 6DC0BC 8021831C AE430074 */ sw $v1, 0x74($s2)
/* 6DC0C0 80218320 8FBF001C */ lw $ra, 0x1c($sp)
/* 6DC0C4 80218324 8FB20018 */ lw $s2, 0x18($sp)
/* 6DC0C8 80218328 8FB10014 */ lw $s1, 0x14($sp)
/* 6DC0CC 8021832C 8FB00010 */ lw $s0, 0x10($sp)
/* 6DC0D0 80218330 00021040 */ sll $v0, $v0, 1
/* 6DC0D4 80218334 03E00008 */ jr $ra
/* 6DC0D8 80218338 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
glabel func_8021833C_6DC0DC
/* 6DC0DC 8021833C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 6DC0E0 80218340 AFB00010 */ sw $s0, 0x10($sp)
/* 6DC0E4 80218344 0080802D */ daddu $s0, $a0, $zero
/* 6DC0E8 80218348 10A00010 */ beqz $a1, .L8021838C
/* 6DC0EC 8021834C AFBF0014 */ sw $ra, 0x14($sp)
/* 6DC0F0 80218350 24040001 */ addiu $a0, $zero, 1
/* 6DC0F4 80218354 0000282D */ daddu $a1, $zero, $zero
/* 6DC0F8 80218358 00A0302D */ daddu $a2, $a1, $zero
/* 6DC0FC 8021835C 00A0382D */ daddu $a3, $a1, $zero
/* 6DC100 80218360 24020014 */ addiu $v0, $zero, 0x14
/* 6DC104 80218364 0C04DF93 */ jal set_screen_overlay_center
/* 6DC108 80218368 AE020070 */ sw $v0, 0x70($s0)
/* 6DC10C 8021836C 24040001 */ addiu $a0, $zero, 1
/* 6DC110 80218370 0080282D */ daddu $a1, $a0, $zero
/* 6DC114 80218374 24060140 */ addiu $a2, $zero, 0x140
/* 6DC118 80218378 0C04DF93 */ jal set_screen_overlay_center
/* 6DC11C 8021837C 240700F0 */ addiu $a3, $zero, 0xf0
/* 6DC120 80218380 3C054316 */ lui $a1, 0x4316
/* 6DC124 80218384 0C04DF69 */ jal set_screen_overlay_params_back
/* 6DC128 80218388 2404000C */ addiu $a0, $zero, 0xc
.L8021838C:
/* 6DC12C 8021838C 8E020070 */ lw $v0, 0x70($s0)
/* 6DC130 80218390 14400010 */ bnez $v0, .L802183D4
/* 6DC134 80218394 2442FFFF */ addiu $v0, $v0, -1
/* 6DC138 80218398 24040001 */ addiu $a0, $zero, 1
/* 6DC13C 8021839C 0000282D */ daddu $a1, $zero, $zero
/* 6DC140 802183A0 00A0302D */ daddu $a2, $a1, $zero
/* 6DC144 802183A4 0C04DF93 */ jal set_screen_overlay_center
/* 6DC148 802183A8 00A0382D */ daddu $a3, $a1, $zero
/* 6DC14C 802183AC 24040001 */ addiu $a0, $zero, 1
/* 6DC150 802183B0 0080282D */ daddu $a1, $a0, $zero
/* 6DC154 802183B4 24060140 */ addiu $a2, $zero, 0x140
/* 6DC158 802183B8 0C04DF93 */ jal set_screen_overlay_center
/* 6DC15C 802183BC 240700F0 */ addiu $a3, $zero, 0xf0
/* 6DC160 802183C0 3C05BF80 */ lui $a1, 0xbf80
/* 6DC164 802183C4 0C04DF69 */ jal set_screen_overlay_params_back
/* 6DC168 802183C8 240400FF */ addiu $a0, $zero, 0xff
/* 6DC16C 802183CC 080860F7 */ j .L802183DC
/* 6DC170 802183D0 24020002 */ addiu $v0, $zero, 2
.L802183D4:
/* 6DC174 802183D4 AE020070 */ sw $v0, 0x70($s0)
/* 6DC178 802183D8 0000102D */ daddu $v0, $zero, $zero
.L802183DC:
/* 6DC17C 802183DC 8FBF0014 */ lw $ra, 0x14($sp)
/* 6DC180 802183E0 8FB00010 */ lw $s0, 0x10($sp)
/* 6DC184 802183E4 03E00008 */ jr $ra
/* 6DC188 802183E8 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,51 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802183EC_6DC18C
/* 6DC18C 802183EC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 6DC190 802183F0 AFB00010 */ sw $s0, 0x10($sp)
/* 6DC194 802183F4 0080802D */ daddu $s0, $a0, $zero
/* 6DC198 802183F8 10A00010 */ beqz $a1, .L8021843C
/* 6DC19C 802183FC AFBF0014 */ sw $ra, 0x14($sp)
/* 6DC1A0 80218400 24040001 */ addiu $a0, $zero, 1
/* 6DC1A4 80218404 0000282D */ daddu $a1, $zero, $zero
/* 6DC1A8 80218408 00A0302D */ daddu $a2, $a1, $zero
/* 6DC1AC 8021840C 00A0382D */ daddu $a3, $a1, $zero
/* 6DC1B0 80218410 2402001E */ addiu $v0, $zero, 0x1e
/* 6DC1B4 80218414 0C04DF93 */ jal set_screen_overlay_center
/* 6DC1B8 80218418 AE020070 */ sw $v0, 0x70($s0)
/* 6DC1BC 8021841C 24040001 */ addiu $a0, $zero, 1
/* 6DC1C0 80218420 0080282D */ daddu $a1, $a0, $zero
/* 6DC1C4 80218424 24060140 */ addiu $a2, $zero, 0x140
/* 6DC1C8 80218428 0C04DF93 */ jal set_screen_overlay_center
/* 6DC1CC 8021842C 240700F0 */ addiu $a3, $zero, 0xf0
/* 6DC1D0 80218430 3C054316 */ lui $a1, 0x4316
/* 6DC1D4 80218434 0C04DF69 */ jal set_screen_overlay_params_back
/* 6DC1D8 80218438 2404000C */ addiu $a0, $zero, 0xc
.L8021843C:
/* 6DC1DC 8021843C 8E020070 */ lw $v0, 0x70($s0)
/* 6DC1E0 80218440 14400010 */ bnez $v0, .L80218484
/* 6DC1E4 80218444 2442FFFF */ addiu $v0, $v0, -1
/* 6DC1E8 80218448 24040001 */ addiu $a0, $zero, 1
/* 6DC1EC 8021844C 0000282D */ daddu $a1, $zero, $zero
/* 6DC1F0 80218450 00A0302D */ daddu $a2, $a1, $zero
/* 6DC1F4 80218454 0C04DF93 */ jal set_screen_overlay_center
/* 6DC1F8 80218458 00A0382D */ daddu $a3, $a1, $zero
/* 6DC1FC 8021845C 24040001 */ addiu $a0, $zero, 1
/* 6DC200 80218460 0080282D */ daddu $a1, $a0, $zero
/* 6DC204 80218464 24060140 */ addiu $a2, $zero, 0x140
/* 6DC208 80218468 0C04DF93 */ jal set_screen_overlay_center
/* 6DC20C 8021846C 240700F0 */ addiu $a3, $zero, 0xf0
/* 6DC210 80218470 3C05BF80 */ lui $a1, 0xbf80
/* 6DC214 80218474 0C04DF69 */ jal set_screen_overlay_params_back
/* 6DC218 80218478 240400FF */ addiu $a0, $zero, 0xff
/* 6DC21C 8021847C 08086123 */ j .L8021848C
/* 6DC220 80218480 24020002 */ addiu $v0, $zero, 2
.L80218484:
/* 6DC224 80218484 AE020070 */ sw $v0, 0x70($s0)
/* 6DC228 80218488 0000102D */ daddu $v0, $zero, $zero
.L8021848C:
/* 6DC22C 8021848C 8FBF0014 */ lw $ra, 0x14($sp)
/* 6DC230 80218490 8FB00010 */ lw $s0, 0x10($sp)
/* 6DC234 80218494 03E00008 */ jr $ra
/* 6DC238 80218498 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,49 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8021849C_6DC23C
/* 6DC23C 8021849C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 6DC240 802184A0 AFBF001C */ sw $ra, 0x1c($sp)
/* 6DC244 802184A4 AFB20018 */ sw $s2, 0x18($sp)
/* 6DC248 802184A8 AFB10014 */ sw $s1, 0x14($sp)
/* 6DC24C 802184AC AFB00010 */ sw $s0, 0x10($sp)
/* 6DC250 802184B0 8C9000A8 */ lw $s0, 0xa8($a0)
/* 6DC254 802184B4 0C04417A */ jal get_entity_by_index
/* 6DC258 802184B8 0200202D */ daddu $a0, $s0, $zero
/* 6DC25C 802184BC 0040882D */ daddu $s1, $v0, $zero
/* 6DC260 802184C0 3C128016 */ lui $s2, %hi(gCollisionStatus)
/* 6DC264 802184C4 2652A550 */ addiu $s2, $s2, %lo(gCollisionStatus)
/* 6DC268 802184C8 36104000 */ ori $s0, $s0, 0x4000
/* 6DC26C 802184CC 3C048011 */ lui $a0, %hi(gPlayerStatus)
/* 6DC270 802184D0 2484EFC8 */ addiu $a0, $a0, %lo(gPlayerStatus)
/* 6DC274 802184D4 A2200007 */ sb $zero, 7($s1)
/* 6DC278 802184D8 A6500014 */ sh $s0, 0x14($s2)
/* 6DC27C 802184DC 8C820000 */ lw $v0, ($a0)
/* 6DC280 802184E0 3C030100 */ lui $v1, 0x100
/* 6DC284 802184E4 00431025 */ or $v0, $v0, $v1
/* 6DC288 802184E8 AC820000 */ sw $v0, ($a0)
/* 6DC28C 802184EC 24020040 */ addiu $v0, $zero, 0x40
/* 6DC290 802184F0 A2220006 */ sb $v0, 6($s1)
/* 6DC294 802184F4 24020012 */ addiu $v0, $zero, 0x12
/* 6DC298 802184F8 A08200B4 */ sb $v0, 0xb4($a0)
/* 6DC29C 802184FC 8E220038 */ lw $v0, 0x38($s1)
/* 6DC2A0 80218500 8C420014 */ lw $v0, 0x14($v0)
/* 6DC2A4 80218504 0040F809 */ jalr $v0
/* 6DC2A8 80218508 0220202D */ daddu $a0, $s1, $zero
/* 6DC2AC 8021850C 2403000A */ addiu $v1, $zero, 0xa
/* 6DC2B0 80218510 A2230007 */ sb $v1, 7($s1)
/* 6DC2B4 80218514 8E230000 */ lw $v1, ($s1)
/* 6DC2B8 80218518 3C040001 */ lui $a0, 1
/* 6DC2BC 8021851C 00641825 */ or $v1, $v1, $a0
/* 6DC2C0 80218520 AE230000 */ sw $v1, ($s1)
/* 6DC2C4 80218524 2403FFFF */ addiu $v1, $zero, -1
/* 6DC2C8 80218528 A6430014 */ sh $v1, 0x14($s2)
/* 6DC2CC 8021852C 8FBF001C */ lw $ra, 0x1c($sp)
/* 6DC2D0 80218530 8FB20018 */ lw $s2, 0x18($sp)
/* 6DC2D4 80218534 8FB10014 */ lw $s1, 0x14($sp)
/* 6DC2D8 80218538 8FB00010 */ lw $s0, 0x10($sp)
/* 6DC2DC 8021853C 24020002 */ addiu $v0, $zero, 2
/* 6DC2E0 80218540 03E00008 */ jr $ra
/* 6DC2E4 80218544 27BD0020 */ addiu $sp, $sp, 0x20
/* 6DC2E8 80218548 00000000 */ nop
/* 6DC2EC 8021854C 00000000 */ nop

View File

@ -1,84 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218700_685130
/* 685130 80218700 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 685134 80218704 AFB20020 */ sw $s2, 0x20($sp)
/* 685138 80218708 0080902D */ daddu $s2, $a0, $zero
/* 68513C 8021870C AFBF0024 */ sw $ra, 0x24($sp)
/* 685140 80218710 AFB1001C */ sw $s1, 0x1c($sp)
/* 685144 80218714 AFB00018 */ sw $s0, 0x18($sp)
/* 685148 80218718 8E440148 */ lw $a0, 0x148($s2)
/* 68514C 8021871C 0C09A75B */ jal get_actor
/* 685150 80218720 00A0802D */ daddu $s0, $a1, $zero
/* 685154 80218724 1200002D */ beqz $s0, .L802187DC
/* 685158 80218728 0040882D */ daddu $s1, $v0, $zero
/* 68515C 8021872C C6220018 */ lwc1 $f2, 0x18($s1)
/* 685160 80218730 C6200144 */ lwc1 $f0, 0x144($s1)
/* 685164 80218734 46001081 */ sub.s $f2, $f2, $f0
/* 685168 80218738 46021082 */ mul.s $f2, $f2, $f2
/* 68516C 8021873C 00000000 */ nop
/* 685170 80218740 C626001C */ lwc1 $f6, 0x1c($s1)
/* 685174 80218744 C6200148 */ lwc1 $f0, 0x148($s1)
/* 685178 80218748 46003181 */ sub.s $f6, $f6, $f0
/* 68517C 8021874C 46063182 */ mul.s $f6, $f6, $f6
/* 685180 80218750 00000000 */ nop
/* 685184 80218754 C624014C */ lwc1 $f4, 0x14c($s1)
/* 685188 80218758 C6200020 */ lwc1 $f0, 0x20($s1)
/* 68518C 8021875C 46040001 */ sub.s $f0, $f0, $f4
/* 685190 80218760 46000002 */ mul.s $f0, $f0, $f0
/* 685194 80218764 00000000 */ nop
/* 685198 80218768 46061080 */ add.s $f2, $f2, $f6
/* 68519C 8021876C 46001300 */ add.s $f12, $f2, $f0
/* 6851A0 80218770 46006104 */ sqrt.s $f4, $f12
/* 6851A4 80218774 46042032 */ c.eq.s $f4, $f4
/* 6851A8 80218778 00000000 */ nop
/* 6851AC 8021877C 45010004 */ bc1t .L80218790
/* 6851B0 80218780 00000000 */ nop
/* 6851B4 80218784 0C0187BC */ jal sqrtf
/* 6851B8 80218788 00000000 */ nop
/* 6851BC 8021878C 46000106 */ mov.s $f4, $f0
.L80218790:
/* 6851C0 80218790 C620004C */ lwc1 $f0, 0x4c($s1)
/* 6851C4 80218794 3C013F00 */ lui $at, 0x3f00
/* 6851C8 80218798 44811000 */ mtc1 $at, $f2
/* 6851CC 8021879C 46002003 */ div.s $f0, $f4, $f0
/* 6851D0 802187A0 46020002 */ mul.s $f0, $f0, $f2
/* 6851D4 802187A4 00000000 */ nop
/* 6851D8 802187A8 3C013F80 */ lui $at, 0x3f80
/* 6851DC 802187AC 44811000 */ mtc1 $at, $f2
/* 6851E0 802187B0 00000000 */ nop
/* 6851E4 802187B4 46020000 */ add.s $f0, $f0, $f2
/* 6851E8 802187B8 4600020D */ trunc.w.s $f8, $f0
/* 6851EC 802187BC E6480070 */ swc1 $f8, 0x70($s2)
/* 6851F0 802187C0 C620014C */ lwc1 $f0, 0x14c($s1)
/* 6851F4 802187C4 24040359 */ addiu $a0, $zero, 0x359
/* 6851F8 802187C8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 6851FC 802187CC 8E260144 */ lw $a2, 0x144($s1)
/* 685200 802187D0 8E270148 */ lw $a3, 0x148($s1)
/* 685204 802187D4 0C052757 */ jal sfx_play_sound_at_position
/* 685208 802187D8 0000282D */ daddu $a1, $zero, $zero
.L802187DC:
/* 68520C 802187DC 8E420070 */ lw $v0, 0x70($s2)
/* 685210 802187E0 0040182D */ daddu $v1, $v0, $zero
/* 685214 802187E4 2442FFFF */ addiu $v0, $v0, -1
/* 685218 802187E8 1C60000A */ bgtz $v1, .L80218814
/* 68521C 802187EC AE420070 */ sw $v0, 0x70($s2)
/* 685220 802187F0 C620014C */ lwc1 $f0, 0x14c($s1)
/* 685224 802187F4 24040759 */ addiu $a0, $zero, 0x759
/* 685228 802187F8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 68522C 802187FC 8E260144 */ lw $a2, 0x144($s1)
/* 685230 80218800 8E270148 */ lw $a3, 0x148($s1)
/* 685234 80218804 0C052757 */ jal sfx_play_sound_at_position
/* 685238 80218808 0000282D */ daddu $a1, $zero, $zero
/* 68523C 8021880C 08086206 */ j .L80218818
/* 685240 80218810 24020002 */ addiu $v0, $zero, 2
.L80218814:
/* 685244 80218814 0000102D */ daddu $v0, $zero, $zero
.L80218818:
/* 685248 80218818 8FBF0024 */ lw $ra, 0x24($sp)
/* 68524C 8021881C 8FB20020 */ lw $s2, 0x20($sp)
/* 685250 80218820 8FB1001C */ lw $s1, 0x1c($sp)
/* 685254 80218824 8FB00018 */ lw $s0, 0x18($sp)
/* 685258 80218828 03E00008 */ jr $ra
/* 68525C 8021882C 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,41 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218098_69F298
/* 69F298 80218098 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 69F29C 8021809C AFB00010 */ sw $s0, 0x10($sp)
/* 69F2A0 802180A0 0080802D */ daddu $s0, $a0, $zero
/* 69F2A4 802180A4 10A00003 */ beqz $a1, .L802180B4
/* 69F2A8 802180A8 AFBF0014 */ sw $ra, 0x14($sp)
/* 69F2AC 802180AC 24020014 */ addiu $v0, $zero, 0x14
/* 69F2B0 802180B0 AE020070 */ sw $v0, 0x70($s0)
.L802180B4:
/* 69F2B4 802180B4 0000202D */ daddu $a0, $zero, $zero
/* 69F2B8 802180B8 0080282D */ daddu $a1, $a0, $zero
/* 69F2BC 802180BC 8E020070 */ lw $v0, 0x70($s0)
/* 69F2C0 802180C0 0080302D */ daddu $a2, $a0, $zero
/* 69F2C4 802180C4 00023880 */ sll $a3, $v0, 2
/* 69F2C8 802180C8 00E23821 */ addu $a3, $a3, $v0
/* 69F2CC 802180CC 00073840 */ sll $a3, $a3, 1
/* 69F2D0 802180D0 0C046F97 */ jal set_background_color_blend
/* 69F2D4 802180D4 30E700FE */ andi $a3, $a3, 0xfe
/* 69F2D8 802180D8 8E020070 */ lw $v0, 0x70($s0)
/* 69F2DC 802180DC 2442FFFF */ addiu $v0, $v0, -1
/* 69F2E0 802180E0 10400003 */ beqz $v0, .L802180F0
/* 69F2E4 802180E4 AE020070 */ sw $v0, 0x70($s0)
/* 69F2E8 802180E8 08086042 */ j .L80218108
/* 69F2EC 802180EC 0000102D */ daddu $v0, $zero, $zero
.L802180F0:
/* 69F2F0 802180F0 0000202D */ daddu $a0, $zero, $zero
/* 69F2F4 802180F4 0080282D */ daddu $a1, $a0, $zero
/* 69F2F8 802180F8 0080302D */ daddu $a2, $a0, $zero
/* 69F2FC 802180FC 0C046F97 */ jal set_background_color_blend
/* 69F300 80218100 0080382D */ daddu $a3, $a0, $zero
/* 69F304 80218104 24020002 */ addiu $v0, $zero, 2
.L80218108:
/* 69F308 80218108 8FBF0014 */ lw $ra, 0x14($sp)
/* 69F30C 8021810C 8FB00010 */ lw $s0, 0x10($sp)
/* 69F310 80218110 03E00008 */ jr $ra
/* 69F314 80218114 27BD0018 */ addiu $sp, $sp, 0x18
/* 69F318 80218118 00000000 */ nop
/* 69F31C 8021811C 00000000 */ nop

View File

@ -1,39 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218620_69F820
/* 69F820 80218620 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 69F824 80218624 AFB00010 */ sw $s0, 0x10($sp)
/* 69F828 80218628 0080802D */ daddu $s0, $a0, $zero
/* 69F82C 8021862C 10A00003 */ beqz $a1, .L8021863C
/* 69F830 80218630 AFBF0014 */ sw $ra, 0x14($sp)
/* 69F834 80218634 24020014 */ addiu $v0, $zero, 0x14
/* 69F838 80218638 AE020070 */ sw $v0, 0x70($s0)
.L8021863C:
/* 69F83C 8021863C 0000202D */ daddu $a0, $zero, $zero
/* 69F840 80218640 0080282D */ daddu $a1, $a0, $zero
/* 69F844 80218644 8E020070 */ lw $v0, 0x70($s0)
/* 69F848 80218648 0080302D */ daddu $a2, $a0, $zero
/* 69F84C 8021864C 00023880 */ sll $a3, $v0, 2
/* 69F850 80218650 00E23821 */ addu $a3, $a3, $v0
/* 69F854 80218654 00073840 */ sll $a3, $a3, 1
/* 69F858 80218658 0C046F97 */ jal set_background_color_blend
/* 69F85C 8021865C 30E700FE */ andi $a3, $a3, 0xfe
/* 69F860 80218660 8E020070 */ lw $v0, 0x70($s0)
/* 69F864 80218664 2442FFFF */ addiu $v0, $v0, -1
/* 69F868 80218668 10400003 */ beqz $v0, .L80218678
/* 69F86C 8021866C AE020070 */ sw $v0, 0x70($s0)
/* 69F870 80218670 080861A4 */ j .L80218690
/* 69F874 80218674 0000102D */ daddu $v0, $zero, $zero
.L80218678:
/* 69F878 80218678 0000202D */ daddu $a0, $zero, $zero
/* 69F87C 8021867C 0080282D */ daddu $a1, $a0, $zero
/* 69F880 80218680 0080302D */ daddu $a2, $a0, $zero
/* 69F884 80218684 0C046F97 */ jal set_background_color_blend
/* 69F888 80218688 0080382D */ daddu $a3, $a0, $zero
/* 69F88C 8021868C 24020002 */ addiu $v0, $zero, 2
.L80218690:
/* 69F890 80218690 8FBF0014 */ lw $ra, 0x14($sp)
/* 69F894 80218694 8FB00010 */ lw $s0, 0x10($sp)
/* 69F898 80218698 03E00008 */ jr $ra
/* 69F89C 8021869C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,16 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802186A0_69F8A0
/* 69F8A0 802186A0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 69F8A4 802186A4 AFBF0010 */ sw $ra, 0x10($sp)
/* 69F8A8 802186A8 0C09A75B */ jal get_actor
/* 69F8AC 802186AC 8C840148 */ lw $a0, 0x148($a0)
/* 69F8B0 802186B0 84440436 */ lh $a0, 0x436($v0)
/* 69F8B4 802186B4 A0400224 */ sb $zero, 0x224($v0)
/* 69F8B8 802186B8 0C011EE1 */ jal remove_status_4
/* 69F8BC 802186BC A0400223 */ sb $zero, 0x223($v0)
/* 69F8C0 802186C0 8FBF0010 */ lw $ra, 0x10($sp)
/* 69F8C4 802186C4 24020002 */ addiu $v0, $zero, 2
/* 69F8C8 802186C8 03E00008 */ jr $ra
/* 69F8CC 802186CC 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,39 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80219394_6A0594
/* 6A0594 80219394 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 6A0598 80219398 AFB00010 */ sw $s0, 0x10($sp)
/* 6A059C 8021939C 0080802D */ daddu $s0, $a0, $zero
/* 6A05A0 802193A0 10A00003 */ beqz $a1, .L802193B0
/* 6A05A4 802193A4 AFBF0014 */ sw $ra, 0x14($sp)
/* 6A05A8 802193A8 24020014 */ addiu $v0, $zero, 0x14
/* 6A05AC 802193AC AE020070 */ sw $v0, 0x70($s0)
.L802193B0:
/* 6A05B0 802193B0 0000202D */ daddu $a0, $zero, $zero
/* 6A05B4 802193B4 0080282D */ daddu $a1, $a0, $zero
/* 6A05B8 802193B8 8E020070 */ lw $v0, 0x70($s0)
/* 6A05BC 802193BC 0080302D */ daddu $a2, $a0, $zero
/* 6A05C0 802193C0 00023880 */ sll $a3, $v0, 2
/* 6A05C4 802193C4 00E23821 */ addu $a3, $a3, $v0
/* 6A05C8 802193C8 00073840 */ sll $a3, $a3, 1
/* 6A05CC 802193CC 0C046F97 */ jal set_background_color_blend
/* 6A05D0 802193D0 30E700FE */ andi $a3, $a3, 0xfe
/* 6A05D4 802193D4 8E020070 */ lw $v0, 0x70($s0)
/* 6A05D8 802193D8 2442FFFF */ addiu $v0, $v0, -1
/* 6A05DC 802193DC 10400003 */ beqz $v0, .L802193EC
/* 6A05E0 802193E0 AE020070 */ sw $v0, 0x70($s0)
/* 6A05E4 802193E4 08086501 */ j .L80219404
/* 6A05E8 802193E8 0000102D */ daddu $v0, $zero, $zero
.L802193EC:
/* 6A05EC 802193EC 0000202D */ daddu $a0, $zero, $zero
/* 6A05F0 802193F0 0080282D */ daddu $a1, $a0, $zero
/* 6A05F4 802193F4 0080302D */ daddu $a2, $a0, $zero
/* 6A05F8 802193F8 0C046F97 */ jal set_background_color_blend
/* 6A05FC 802193FC 0080382D */ daddu $a3, $a0, $zero
/* 6A0600 80219400 24020002 */ addiu $v0, $zero, 2
.L80219404:
/* 6A0604 80219404 8FBF0014 */ lw $ra, 0x14($sp)
/* 6A0608 80219408 8FB00010 */ lw $s0, 0x10($sp)
/* 6A060C 8021940C 03E00008 */ jr $ra
/* 6A0610 80219410 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,16 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80219414_6A0614
/* 6A0614 80219414 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 6A0618 80219418 AFBF0010 */ sw $ra, 0x10($sp)
/* 6A061C 8021941C 0C09A75B */ jal get_actor
/* 6A0620 80219420 8C840148 */ lw $a0, 0x148($a0)
/* 6A0624 80219424 84440436 */ lh $a0, 0x436($v0)
/* 6A0628 80219428 A0400224 */ sb $zero, 0x224($v0)
/* 6A062C 8021942C 0C011EE1 */ jal remove_status_4
/* 6A0630 80219430 A0400223 */ sb $zero, 0x223($v0)
/* 6A0634 80219434 8FBF0010 */ lw $ra, 0x10($sp)
/* 6A0638 80219438 24020002 */ addiu $v0, $zero, 2
/* 6A063C 8021943C 03E00008 */ jr $ra
/* 6A0640 80219440 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,34 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80219CD4_6A0ED4
/* 6A0ED4 80219CD4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 6A0ED8 80219CD8 3C038011 */ lui $v1, %hi(gPlayerData)
/* 6A0EDC 80219CDC 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
/* 6A0EE0 80219CE0 AFBF0010 */ sw $ra, 0x10($sp)
/* 6A0EE4 80219CE4 80620002 */ lb $v0, 2($v1)
/* 6A0EE8 80219CE8 00023040 */ sll $a2, $v0, 1
/* 6A0EEC 80219CEC 00C23021 */ addu $a2, $a2, $v0
/* 6A0EF0 80219CF0 000630C0 */ sll $a2, $a2, 3
/* 6A0EF4 80219CF4 00C23021 */ addu $a2, $a2, $v0
/* 6A0EF8 80219CF8 80620003 */ lb $v0, 3($v1)
/* 6A0EFC 80219CFC 00063080 */ sll $a2, $a2, 2
/* 6A0F00 80219D00 14400002 */ bnez $v0, .L80219D0C
/* 6A0F04 80219D04 00C2001A */ div $zero, $a2, $v0
/* 6A0F08 80219D08 0007000D */ break 7
.L80219D0C:
/* 6A0F0C 80219D0C 2401FFFF */ addiu $at, $zero, -1
/* 6A0F10 80219D10 14410004 */ bne $v0, $at, .L80219D24
/* 6A0F14 80219D14 3C018000 */ lui $at, 0x8000
/* 6A0F18 80219D18 14C10002 */ bne $a2, $at, .L80219D24
/* 6A0F1C 80219D1C 00000000 */ nop
/* 6A0F20 80219D20 0006000D */ break 6
.L80219D24:
/* 6A0F24 80219D24 00003012 */ mflo $a2
/* 6A0F28 80219D28 8C82000C */ lw $v0, 0xc($a0)
/* 6A0F2C 80219D2C 0C0B2026 */ jal evt_set_variable
/* 6A0F30 80219D30 8C450000 */ lw $a1, ($v0)
/* 6A0F34 80219D34 8FBF0010 */ lw $ra, 0x10($sp)
/* 6A0F38 80219D38 24020002 */ addiu $v0, $zero, 2
/* 6A0F3C 80219D3C 03E00008 */ jr $ra
/* 6A0F40 80219D40 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,142 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80219D44_6A0F44
/* 6A0F44 80219D44 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 6A0F48 80219D48 AFB20018 */ sw $s2, 0x18($sp)
/* 6A0F4C 80219D4C 0080902D */ daddu $s2, $a0, $zero
/* 6A0F50 80219D50 AFBF001C */ sw $ra, 0x1c($sp)
/* 6A0F54 80219D54 AFB10014 */ sw $s1, 0x14($sp)
/* 6A0F58 80219D58 AFB00010 */ sw $s0, 0x10($sp)
/* 6A0F5C 80219D5C F7B40020 */ sdc1 $f20, 0x20($sp)
/* 6A0F60 80219D60 10A00044 */ beqz $a1, .L80219E74
/* 6A0F64 80219D64 8E50000C */ lw $s0, 0xc($s2)
/* 6A0F68 80219D68 0C00AB39 */ jal heap_malloc
/* 6A0F6C 80219D6C 24040024 */ addiu $a0, $zero, 0x24
/* 6A0F70 80219D70 0040882D */ daddu $s1, $v0, $zero
/* 6A0F74 80219D74 AE510070 */ sw $s1, 0x70($s2)
/* 6A0F78 80219D78 8E050000 */ lw $a1, ($s0)
/* 6A0F7C 80219D7C 26100004 */ addiu $s0, $s0, 4
/* 6A0F80 80219D80 0C0B1EAF */ jal evt_get_variable
/* 6A0F84 80219D84 0240202D */ daddu $a0, $s2, $zero
/* 6A0F88 80219D88 AE220020 */ sw $v0, 0x20($s1)
/* 6A0F8C 80219D8C 8E050000 */ lw $a1, ($s0)
/* 6A0F90 80219D90 26100004 */ addiu $s0, $s0, 4
/* 6A0F94 80219D94 0C0B210B */ jal evt_get_float_variable
/* 6A0F98 80219D98 0240202D */ daddu $a0, $s2, $zero
/* 6A0F9C 80219D9C E6200000 */ swc1 $f0, ($s1)
/* 6A0FA0 80219DA0 8E050000 */ lw $a1, ($s0)
/* 6A0FA4 80219DA4 26100004 */ addiu $s0, $s0, 4
/* 6A0FA8 80219DA8 0C0B210B */ jal evt_get_float_variable
/* 6A0FAC 80219DAC 0240202D */ daddu $a0, $s2, $zero
/* 6A0FB0 80219DB0 E6200004 */ swc1 $f0, 4($s1)
/* 6A0FB4 80219DB4 8E050000 */ lw $a1, ($s0)
/* 6A0FB8 80219DB8 26100004 */ addiu $s0, $s0, 4
/* 6A0FBC 80219DBC 0C0B210B */ jal evt_get_float_variable
/* 6A0FC0 80219DC0 0240202D */ daddu $a0, $s2, $zero
/* 6A0FC4 80219DC4 E6200008 */ swc1 $f0, 8($s1)
/* 6A0FC8 80219DC8 8E050000 */ lw $a1, ($s0)
/* 6A0FCC 80219DCC 26100004 */ addiu $s0, $s0, 4
/* 6A0FD0 80219DD0 0C0B1EAF */ jal evt_get_variable
/* 6A0FD4 80219DD4 0240202D */ daddu $a0, $s2, $zero
/* 6A0FD8 80219DD8 AE22001C */ sw $v0, 0x1c($s1)
/* 6A0FDC 80219DDC 8E050000 */ lw $a1, ($s0)
/* 6A0FE0 80219DE0 0C0B210B */ jal evt_get_float_variable
/* 6A0FE4 80219DE4 0240202D */ daddu $a0, $s2, $zero
/* 6A0FE8 80219DE8 8E240020 */ lw $a0, 0x20($s1)
/* 6A0FEC 80219DEC 0C04C3D6 */ jal get_item_entity
/* 6A0FF0 80219DF0 E6200010 */ swc1 $f0, 0x10($s1)
/* 6A0FF4 80219DF4 0040802D */ daddu $s0, $v0, $zero
/* 6A0FF8 80219DF8 C60C0008 */ lwc1 $f12, 8($s0)
/* 6A0FFC 80219DFC C60E0010 */ lwc1 $f14, 0x10($s0)
/* 6A1000 80219E00 8E260000 */ lw $a2, ($s1)
/* 6A1004 80219E04 0C00A7B5 */ jal dist2D
/* 6A1008 80219E08 8E270008 */ lw $a3, 8($s1)
/* 6A100C 80219E0C C60C0008 */ lwc1 $f12, 8($s0)
/* 6A1010 80219E10 C60E0010 */ lwc1 $f14, 0x10($s0)
/* 6A1014 80219E14 8E260000 */ lw $a2, ($s1)
/* 6A1018 80219E18 8E270008 */ lw $a3, 8($s1)
/* 6A101C 80219E1C 0C00A720 */ jal atan2
/* 6A1020 80219E20 46000506 */ mov.s $f20, $f0
/* 6A1024 80219E24 C6240010 */ lwc1 $f4, 0x10($s1)
/* 6A1028 80219E28 C626001C */ lwc1 $f6, 0x1c($s1)
/* 6A102C 80219E2C 468031A0 */ cvt.s.w $f6, $f6
/* 6A1030 80219E30 46062102 */ mul.s $f4, $f4, $f6
/* 6A1034 80219E34 00000000 */ nop
/* 6A1038 80219E38 3C013F00 */ lui $at, 0x3f00
/* 6A103C 80219E3C 44811000 */ mtc1 $at, $f2
/* 6A1040 80219E40 00000000 */ nop
/* 6A1044 80219E44 46022102 */ mul.s $f4, $f4, $f2
/* 6A1048 80219E48 00000000 */ nop
/* 6A104C 80219E4C E620000C */ swc1 $f0, 0xc($s1)
/* 6A1050 80219E50 C6200004 */ lwc1 $f0, 4($s1)
/* 6A1054 80219E54 C602000C */ lwc1 $f2, 0xc($s0)
/* 6A1058 80219E58 46020001 */ sub.s $f0, $f0, $f2
/* 6A105C 80219E5C 46003086 */ mov.s $f2, $f6
/* 6A1060 80219E60 46060003 */ div.s $f0, $f0, $f6
/* 6A1064 80219E64 46002100 */ add.s $f4, $f4, $f0
/* 6A1068 80219E68 4602A503 */ div.s $f20, $f20, $f2
/* 6A106C 80219E6C E6340014 */ swc1 $f20, 0x14($s1)
/* 6A1070 80219E70 E6240018 */ swc1 $f4, 0x18($s1)
.L80219E74:
/* 6A1074 80219E74 8E510070 */ lw $s1, 0x70($s2)
/* 6A1078 80219E78 0C04C3D6 */ jal get_item_entity
/* 6A107C 80219E7C 8E240020 */ lw $a0, 0x20($s1)
/* 6A1080 80219E80 0040802D */ daddu $s0, $v0, $zero
/* 6A1084 80219E84 16000005 */ bnez $s0, .L80219E9C
/* 6A1088 80219E88 00000000 */ nop
/* 6A108C 80219E8C 0C00AB4B */ jal heap_free
/* 6A1090 80219E90 8E440070 */ lw $a0, 0x70($s2)
/* 6A1094 80219E94 080867D0 */ j .L80219F40
/* 6A1098 80219E98 24020002 */ addiu $v0, $zero, 2
.L80219E9C:
/* 6A109C 80219E9C C62C000C */ lwc1 $f12, 0xc($s1)
/* 6A10A0 80219EA0 0C00A8BB */ jal sin_deg
/* 6A10A4 80219EA4 00000000 */ nop
/* 6A10A8 80219EA8 C6220014 */ lwc1 $f2, 0x14($s1)
/* 6A10AC 80219EAC 46001082 */ mul.s $f2, $f2, $f0
/* 6A10B0 80219EB0 00000000 */ nop
/* 6A10B4 80219EB4 C6000008 */ lwc1 $f0, 8($s0)
/* 6A10B8 80219EB8 46020000 */ add.s $f0, $f0, $f2
/* 6A10BC 80219EBC E6000008 */ swc1 $f0, 8($s0)
/* 6A10C0 80219EC0 0C00A8D4 */ jal cos_deg
/* 6A10C4 80219EC4 C62C000C */ lwc1 $f12, 0xc($s1)
/* 6A10C8 80219EC8 C6220014 */ lwc1 $f2, 0x14($s1)
/* 6A10CC 80219ECC 46001082 */ mul.s $f2, $f2, $f0
/* 6A10D0 80219ED0 00000000 */ nop
/* 6A10D4 80219ED4 C6000010 */ lwc1 $f0, 0x10($s0)
/* 6A10D8 80219ED8 46020001 */ sub.s $f0, $f0, $f2
/* 6A10DC 80219EDC E6000010 */ swc1 $f0, 0x10($s0)
/* 6A10E0 80219EE0 C600000C */ lwc1 $f0, 0xc($s0)
/* 6A10E4 80219EE4 C6220018 */ lwc1 $f2, 0x18($s1)
/* 6A10E8 80219EE8 46020000 */ add.s $f0, $f0, $f2
/* 6A10EC 80219EEC E600000C */ swc1 $f0, 0xc($s0)
/* 6A10F0 80219EF0 C6200018 */ lwc1 $f0, 0x18($s1)
/* 6A10F4 80219EF4 C6220010 */ lwc1 $f2, 0x10($s1)
/* 6A10F8 80219EF8 8E22001C */ lw $v0, 0x1c($s1)
/* 6A10FC 80219EFC 46020001 */ sub.s $f0, $f0, $f2
/* 6A1100 80219F00 2442FFFF */ addiu $v0, $v0, -1
/* 6A1104 80219F04 AE22001C */ sw $v0, 0x1c($s1)
/* 6A1108 80219F08 04400003 */ bltz $v0, .L80219F18
/* 6A110C 80219F0C E6200018 */ swc1 $f0, 0x18($s1)
/* 6A1110 80219F10 080867D0 */ j .L80219F40
/* 6A1114 80219F14 0000102D */ daddu $v0, $zero, $zero
.L80219F18:
/* 6A1118 80219F18 C6200000 */ lwc1 $f0, ($s1)
/* 6A111C 80219F1C E6000008 */ swc1 $f0, 8($s0)
/* 6A1120 80219F20 C6200004 */ lwc1 $f0, 4($s1)
/* 6A1124 80219F24 E600000C */ swc1 $f0, 0xc($s0)
/* 6A1128 80219F28 C6200008 */ lwc1 $f0, 8($s1)
/* 6A112C 80219F2C E6000010 */ swc1 $f0, 0x10($s0)
/* 6A1130 80219F30 AE200018 */ sw $zero, 0x18($s1)
/* 6A1134 80219F34 0C00AB4B */ jal heap_free
/* 6A1138 80219F38 8E440070 */ lw $a0, 0x70($s2)
/* 6A113C 80219F3C 24020001 */ addiu $v0, $zero, 1
.L80219F40:
/* 6A1140 80219F40 8FBF001C */ lw $ra, 0x1c($sp)
/* 6A1144 80219F44 8FB20018 */ lw $s2, 0x18($sp)
/* 6A1148 80219F48 8FB10014 */ lw $s1, 0x14($sp)
/* 6A114C 80219F4C 8FB00010 */ lw $s0, 0x10($sp)
/* 6A1150 80219F50 D7B40020 */ ldc1 $f20, 0x20($sp)
/* 6A1154 80219F54 03E00008 */ jr $ra
/* 6A1158 80219F58 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,47 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8021A1B8_6A13B8
/* 6A13B8 8021A1B8 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 6A13BC 8021A1BC AFB20018 */ sw $s2, 0x18($sp)
/* 6A13C0 8021A1C0 0080902D */ daddu $s2, $a0, $zero
/* 6A13C4 8021A1C4 AFBF001C */ sw $ra, 0x1c($sp)
/* 6A13C8 8021A1C8 AFB10014 */ sw $s1, 0x14($sp)
/* 6A13CC 8021A1CC AFB00010 */ sw $s0, 0x10($sp)
/* 6A13D0 8021A1D0 8E440148 */ lw $a0, 0x148($s2)
/* 6A13D4 8021A1D4 0C09A75B */ jal get_actor
/* 6A13D8 8021A1D8 8E50000C */ lw $s0, 0xc($s2)
/* 6A13DC 8021A1DC 3C11800E */ lui $s1, %hi(gBattleStatus)
/* 6A13E0 8021A1E0 2631C070 */ addiu $s1, $s1, %lo(gBattleStatus)
/* 6A13E4 8021A1E4 80430210 */ lb $v1, 0x210($v0)
/* 6A13E8 8021A1E8 2402000A */ addiu $v0, $zero, 0xa
/* 6A13EC 8021A1EC 1062000D */ beq $v1, $v0, .L8021A224
/* 6A13F0 8021A1F0 2403FFFF */ addiu $v1, $zero, -1
/* 6A13F4 8021A1F4 822200AE */ lb $v0, 0xae($s1)
/* 6A13F8 8021A1F8 10430007 */ beq $v0, $v1, .L8021A218
/* 6A13FC 8021A1FC 0240202D */ daddu $a0, $s2, $zero
/* 6A1400 8021A200 822200AF */ lb $v0, 0xaf($s1)
/* 6A1404 8021A204 10430004 */ beq $v0, $v1, .L8021A218
/* 6A1408 8021A208 00000000 */ nop
/* 6A140C 8021A20C 822200B0 */ lb $v0, 0xb0($s1)
/* 6A1410 8021A210 14430005 */ bne $v0, $v1, .L8021A228
/* 6A1414 8021A214 00000000 */ nop
.L8021A218:
/* 6A1418 8021A218 8E050000 */ lw $a1, ($s0)
/* 6A141C 8021A21C 0808688C */ j .L8021A230
/* 6A1420 8021A220 0000302D */ daddu $a2, $zero, $zero
.L8021A224:
/* 6A1424 8021A224 0240202D */ daddu $a0, $s2, $zero
.L8021A228:
/* 6A1428 8021A228 8E050000 */ lw $a1, ($s0)
/* 6A142C 8021A22C 2406FFFF */ addiu $a2, $zero, -1
.L8021A230:
/* 6A1430 8021A230 0C0B2026 */ jal evt_set_variable
/* 6A1434 8021A234 00000000 */ nop
/* 6A1438 8021A238 24020002 */ addiu $v0, $zero, 2
/* 6A143C 8021A23C 8FBF001C */ lw $ra, 0x1c($sp)
/* 6A1440 8021A240 8FB20018 */ lw $s2, 0x18($sp)
/* 6A1444 8021A244 8FB10014 */ lw $s1, 0x14($sp)
/* 6A1448 8021A248 8FB00010 */ lw $s0, 0x10($sp)
/* 6A144C 8021A24C 03E00008 */ jr $ra
/* 6A1450 8021A250 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,39 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8021A754_6A1954
/* 6A1954 8021A754 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 6A1958 8021A758 AFB00010 */ sw $s0, 0x10($sp)
/* 6A195C 8021A75C 0080802D */ daddu $s0, $a0, $zero
/* 6A1960 8021A760 10A00003 */ beqz $a1, .L8021A770
/* 6A1964 8021A764 AFBF0014 */ sw $ra, 0x14($sp)
/* 6A1968 8021A768 24020014 */ addiu $v0, $zero, 0x14
/* 6A196C 8021A76C AE020070 */ sw $v0, 0x70($s0)
.L8021A770:
/* 6A1970 8021A770 0000202D */ daddu $a0, $zero, $zero
/* 6A1974 8021A774 0080282D */ daddu $a1, $a0, $zero
/* 6A1978 8021A778 8E020070 */ lw $v0, 0x70($s0)
/* 6A197C 8021A77C 0080302D */ daddu $a2, $a0, $zero
/* 6A1980 8021A780 00023880 */ sll $a3, $v0, 2
/* 6A1984 8021A784 00E23821 */ addu $a3, $a3, $v0
/* 6A1988 8021A788 00073840 */ sll $a3, $a3, 1
/* 6A198C 8021A78C 0C046F97 */ jal set_background_color_blend
/* 6A1990 8021A790 30E700FE */ andi $a3, $a3, 0xfe
/* 6A1994 8021A794 8E020070 */ lw $v0, 0x70($s0)
/* 6A1998 8021A798 2442FFFF */ addiu $v0, $v0, -1
/* 6A199C 8021A79C 10400003 */ beqz $v0, .L8021A7AC
/* 6A19A0 8021A7A0 AE020070 */ sw $v0, 0x70($s0)
/* 6A19A4 8021A7A4 080869F1 */ j .L8021A7C4
/* 6A19A8 8021A7A8 0000102D */ daddu $v0, $zero, $zero
.L8021A7AC:
/* 6A19AC 8021A7AC 0000202D */ daddu $a0, $zero, $zero
/* 6A19B0 8021A7B0 0080282D */ daddu $a1, $a0, $zero
/* 6A19B4 8021A7B4 0080302D */ daddu $a2, $a0, $zero
/* 6A19B8 8021A7B8 0C046F97 */ jal set_background_color_blend
/* 6A19BC 8021A7BC 0080382D */ daddu $a3, $a0, $zero
/* 6A19C0 8021A7C0 24020002 */ addiu $v0, $zero, 2
.L8021A7C4:
/* 6A19C4 8021A7C4 8FBF0014 */ lw $ra, 0x14($sp)
/* 6A19C8 8021A7C8 8FB00010 */ lw $s0, 0x10($sp)
/* 6A19CC 8021A7CC 03E00008 */ jr $ra
/* 6A19D0 8021A7D0 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,16 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8021A7D4_6A19D4
/* 6A19D4 8021A7D4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 6A19D8 8021A7D8 AFBF0010 */ sw $ra, 0x10($sp)
/* 6A19DC 8021A7DC 0C09A75B */ jal get_actor
/* 6A19E0 8021A7E0 8C840148 */ lw $a0, 0x148($a0)
/* 6A19E4 8021A7E4 84440436 */ lh $a0, 0x436($v0)
/* 6A19E8 8021A7E8 A0400224 */ sb $zero, 0x224($v0)
/* 6A19EC 8021A7EC 0C011EE1 */ jal remove_status_4
/* 6A19F0 8021A7F0 A0400223 */ sb $zero, 0x223($v0)
/* 6A19F4 8021A7F4 8FBF0010 */ lw $ra, 0x10($sp)
/* 6A19F8 8021A7F8 24020002 */ addiu $v0, $zero, 2
/* 6A19FC 8021A7FC 03E00008 */ jr $ra
/* 6A1A00 8021A800 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,34 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8021B08C_6A228C
/* 6A228C 8021B08C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 6A2290 8021B090 3C038011 */ lui $v1, %hi(gPlayerData)
/* 6A2294 8021B094 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
/* 6A2298 8021B098 AFBF0010 */ sw $ra, 0x10($sp)
/* 6A229C 8021B09C 80620002 */ lb $v0, 2($v1)
/* 6A22A0 8021B0A0 00023040 */ sll $a2, $v0, 1
/* 6A22A4 8021B0A4 00C23021 */ addu $a2, $a2, $v0
/* 6A22A8 8021B0A8 000630C0 */ sll $a2, $a2, 3
/* 6A22AC 8021B0AC 00C23021 */ addu $a2, $a2, $v0
/* 6A22B0 8021B0B0 80620003 */ lb $v0, 3($v1)
/* 6A22B4 8021B0B4 00063080 */ sll $a2, $a2, 2
/* 6A22B8 8021B0B8 14400002 */ bnez $v0, .L8021B0C4
/* 6A22BC 8021B0BC 00C2001A */ div $zero, $a2, $v0
/* 6A22C0 8021B0C0 0007000D */ break 7
.L8021B0C4:
/* 6A22C4 8021B0C4 2401FFFF */ addiu $at, $zero, -1
/* 6A22C8 8021B0C8 14410004 */ bne $v0, $at, .L8021B0DC
/* 6A22CC 8021B0CC 3C018000 */ lui $at, 0x8000
/* 6A22D0 8021B0D0 14C10002 */ bne $a2, $at, .L8021B0DC
/* 6A22D4 8021B0D4 00000000 */ nop
/* 6A22D8 8021B0D8 0006000D */ break 6
.L8021B0DC:
/* 6A22DC 8021B0DC 00003012 */ mflo $a2
/* 6A22E0 8021B0E0 8C82000C */ lw $v0, 0xc($a0)
/* 6A22E4 8021B0E4 0C0B2026 */ jal evt_set_variable
/* 6A22E8 8021B0E8 8C450000 */ lw $a1, ($v0)
/* 6A22EC 8021B0EC 8FBF0010 */ lw $ra, 0x10($sp)
/* 6A22F0 8021B0F0 24020002 */ addiu $v0, $zero, 2
/* 6A22F4 8021B0F4 03E00008 */ jr $ra
/* 6A22F8 8021B0F8 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,142 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8021B0FC_6A22FC
/* 6A22FC 8021B0FC 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 6A2300 8021B100 AFB20018 */ sw $s2, 0x18($sp)
/* 6A2304 8021B104 0080902D */ daddu $s2, $a0, $zero
/* 6A2308 8021B108 AFBF001C */ sw $ra, 0x1c($sp)
/* 6A230C 8021B10C AFB10014 */ sw $s1, 0x14($sp)
/* 6A2310 8021B110 AFB00010 */ sw $s0, 0x10($sp)
/* 6A2314 8021B114 F7B40020 */ sdc1 $f20, 0x20($sp)
/* 6A2318 8021B118 10A00044 */ beqz $a1, .L8021B22C
/* 6A231C 8021B11C 8E50000C */ lw $s0, 0xc($s2)
/* 6A2320 8021B120 0C00AB39 */ jal heap_malloc
/* 6A2324 8021B124 24040024 */ addiu $a0, $zero, 0x24
/* 6A2328 8021B128 0040882D */ daddu $s1, $v0, $zero
/* 6A232C 8021B12C AE510070 */ sw $s1, 0x70($s2)
/* 6A2330 8021B130 8E050000 */ lw $a1, ($s0)
/* 6A2334 8021B134 26100004 */ addiu $s0, $s0, 4
/* 6A2338 8021B138 0C0B1EAF */ jal evt_get_variable
/* 6A233C 8021B13C 0240202D */ daddu $a0, $s2, $zero
/* 6A2340 8021B140 AE220020 */ sw $v0, 0x20($s1)
/* 6A2344 8021B144 8E050000 */ lw $a1, ($s0)
/* 6A2348 8021B148 26100004 */ addiu $s0, $s0, 4
/* 6A234C 8021B14C 0C0B210B */ jal evt_get_float_variable
/* 6A2350 8021B150 0240202D */ daddu $a0, $s2, $zero
/* 6A2354 8021B154 E6200000 */ swc1 $f0, ($s1)
/* 6A2358 8021B158 8E050000 */ lw $a1, ($s0)
/* 6A235C 8021B15C 26100004 */ addiu $s0, $s0, 4
/* 6A2360 8021B160 0C0B210B */ jal evt_get_float_variable
/* 6A2364 8021B164 0240202D */ daddu $a0, $s2, $zero
/* 6A2368 8021B168 E6200004 */ swc1 $f0, 4($s1)
/* 6A236C 8021B16C 8E050000 */ lw $a1, ($s0)
/* 6A2370 8021B170 26100004 */ addiu $s0, $s0, 4
/* 6A2374 8021B174 0C0B210B */ jal evt_get_float_variable
/* 6A2378 8021B178 0240202D */ daddu $a0, $s2, $zero
/* 6A237C 8021B17C E6200008 */ swc1 $f0, 8($s1)
/* 6A2380 8021B180 8E050000 */ lw $a1, ($s0)
/* 6A2384 8021B184 26100004 */ addiu $s0, $s0, 4
/* 6A2388 8021B188 0C0B1EAF */ jal evt_get_variable
/* 6A238C 8021B18C 0240202D */ daddu $a0, $s2, $zero
/* 6A2390 8021B190 AE22001C */ sw $v0, 0x1c($s1)
/* 6A2394 8021B194 8E050000 */ lw $a1, ($s0)
/* 6A2398 8021B198 0C0B210B */ jal evt_get_float_variable
/* 6A239C 8021B19C 0240202D */ daddu $a0, $s2, $zero
/* 6A23A0 8021B1A0 8E240020 */ lw $a0, 0x20($s1)
/* 6A23A4 8021B1A4 0C04C3D6 */ jal get_item_entity
/* 6A23A8 8021B1A8 E6200010 */ swc1 $f0, 0x10($s1)
/* 6A23AC 8021B1AC 0040802D */ daddu $s0, $v0, $zero
/* 6A23B0 8021B1B0 C60C0008 */ lwc1 $f12, 8($s0)
/* 6A23B4 8021B1B4 C60E0010 */ lwc1 $f14, 0x10($s0)
/* 6A23B8 8021B1B8 8E260000 */ lw $a2, ($s1)
/* 6A23BC 8021B1BC 0C00A7B5 */ jal dist2D
/* 6A23C0 8021B1C0 8E270008 */ lw $a3, 8($s1)
/* 6A23C4 8021B1C4 C60C0008 */ lwc1 $f12, 8($s0)
/* 6A23C8 8021B1C8 C60E0010 */ lwc1 $f14, 0x10($s0)
/* 6A23CC 8021B1CC 8E260000 */ lw $a2, ($s1)
/* 6A23D0 8021B1D0 8E270008 */ lw $a3, 8($s1)
/* 6A23D4 8021B1D4 0C00A720 */ jal atan2
/* 6A23D8 8021B1D8 46000506 */ mov.s $f20, $f0
/* 6A23DC 8021B1DC C6240010 */ lwc1 $f4, 0x10($s1)
/* 6A23E0 8021B1E0 C626001C */ lwc1 $f6, 0x1c($s1)
/* 6A23E4 8021B1E4 468031A0 */ cvt.s.w $f6, $f6
/* 6A23E8 8021B1E8 46062102 */ mul.s $f4, $f4, $f6
/* 6A23EC 8021B1EC 00000000 */ nop
/* 6A23F0 8021B1F0 3C013F00 */ lui $at, 0x3f00
/* 6A23F4 8021B1F4 44811000 */ mtc1 $at, $f2
/* 6A23F8 8021B1F8 00000000 */ nop
/* 6A23FC 8021B1FC 46022102 */ mul.s $f4, $f4, $f2
/* 6A2400 8021B200 00000000 */ nop
/* 6A2404 8021B204 E620000C */ swc1 $f0, 0xc($s1)
/* 6A2408 8021B208 C6200004 */ lwc1 $f0, 4($s1)
/* 6A240C 8021B20C C602000C */ lwc1 $f2, 0xc($s0)
/* 6A2410 8021B210 46020001 */ sub.s $f0, $f0, $f2
/* 6A2414 8021B214 46003086 */ mov.s $f2, $f6
/* 6A2418 8021B218 46060003 */ div.s $f0, $f0, $f6
/* 6A241C 8021B21C 46002100 */ add.s $f4, $f4, $f0
/* 6A2420 8021B220 4602A503 */ div.s $f20, $f20, $f2
/* 6A2424 8021B224 E6340014 */ swc1 $f20, 0x14($s1)
/* 6A2428 8021B228 E6240018 */ swc1 $f4, 0x18($s1)
.L8021B22C:
/* 6A242C 8021B22C 8E510070 */ lw $s1, 0x70($s2)
/* 6A2430 8021B230 0C04C3D6 */ jal get_item_entity
/* 6A2434 8021B234 8E240020 */ lw $a0, 0x20($s1)
/* 6A2438 8021B238 0040802D */ daddu $s0, $v0, $zero
/* 6A243C 8021B23C 16000005 */ bnez $s0, .L8021B254
/* 6A2440 8021B240 00000000 */ nop
/* 6A2444 8021B244 0C00AB4B */ jal heap_free
/* 6A2448 8021B248 8E440070 */ lw $a0, 0x70($s2)
/* 6A244C 8021B24C 08086CBE */ j .L8021B2F8
/* 6A2450 8021B250 24020002 */ addiu $v0, $zero, 2
.L8021B254:
/* 6A2454 8021B254 C62C000C */ lwc1 $f12, 0xc($s1)
/* 6A2458 8021B258 0C00A8BB */ jal sin_deg
/* 6A245C 8021B25C 00000000 */ nop
/* 6A2460 8021B260 C6220014 */ lwc1 $f2, 0x14($s1)
/* 6A2464 8021B264 46001082 */ mul.s $f2, $f2, $f0
/* 6A2468 8021B268 00000000 */ nop
/* 6A246C 8021B26C C6000008 */ lwc1 $f0, 8($s0)
/* 6A2470 8021B270 46020000 */ add.s $f0, $f0, $f2
/* 6A2474 8021B274 E6000008 */ swc1 $f0, 8($s0)
/* 6A2478 8021B278 0C00A8D4 */ jal cos_deg
/* 6A247C 8021B27C C62C000C */ lwc1 $f12, 0xc($s1)
/* 6A2480 8021B280 C6220014 */ lwc1 $f2, 0x14($s1)
/* 6A2484 8021B284 46001082 */ mul.s $f2, $f2, $f0
/* 6A2488 8021B288 00000000 */ nop
/* 6A248C 8021B28C C6000010 */ lwc1 $f0, 0x10($s0)
/* 6A2490 8021B290 46020001 */ sub.s $f0, $f0, $f2
/* 6A2494 8021B294 E6000010 */ swc1 $f0, 0x10($s0)
/* 6A2498 8021B298 C600000C */ lwc1 $f0, 0xc($s0)
/* 6A249C 8021B29C C6220018 */ lwc1 $f2, 0x18($s1)
/* 6A24A0 8021B2A0 46020000 */ add.s $f0, $f0, $f2
/* 6A24A4 8021B2A4 E600000C */ swc1 $f0, 0xc($s0)
/* 6A24A8 8021B2A8 C6200018 */ lwc1 $f0, 0x18($s1)
/* 6A24AC 8021B2AC C6220010 */ lwc1 $f2, 0x10($s1)
/* 6A24B0 8021B2B0 8E22001C */ lw $v0, 0x1c($s1)
/* 6A24B4 8021B2B4 46020001 */ sub.s $f0, $f0, $f2
/* 6A24B8 8021B2B8 2442FFFF */ addiu $v0, $v0, -1
/* 6A24BC 8021B2BC AE22001C */ sw $v0, 0x1c($s1)
/* 6A24C0 8021B2C0 04400003 */ bltz $v0, .L8021B2D0
/* 6A24C4 8021B2C4 E6200018 */ swc1 $f0, 0x18($s1)
/* 6A24C8 8021B2C8 08086CBE */ j .L8021B2F8
/* 6A24CC 8021B2CC 0000102D */ daddu $v0, $zero, $zero
.L8021B2D0:
/* 6A24D0 8021B2D0 C6200000 */ lwc1 $f0, ($s1)
/* 6A24D4 8021B2D4 E6000008 */ swc1 $f0, 8($s0)
/* 6A24D8 8021B2D8 C6200004 */ lwc1 $f0, 4($s1)
/* 6A24DC 8021B2DC E600000C */ swc1 $f0, 0xc($s0)
/* 6A24E0 8021B2E0 C6200008 */ lwc1 $f0, 8($s1)
/* 6A24E4 8021B2E4 E6000010 */ swc1 $f0, 0x10($s0)
/* 6A24E8 8021B2E8 AE200018 */ sw $zero, 0x18($s1)
/* 6A24EC 8021B2EC 0C00AB4B */ jal heap_free
/* 6A24F0 8021B2F0 8E440070 */ lw $a0, 0x70($s2)
/* 6A24F4 8021B2F4 24020001 */ addiu $v0, $zero, 1
.L8021B2F8:
/* 6A24F8 8021B2F8 8FBF001C */ lw $ra, 0x1c($sp)
/* 6A24FC 8021B2FC 8FB20018 */ lw $s2, 0x18($sp)
/* 6A2500 8021B300 8FB10014 */ lw $s1, 0x14($sp)
/* 6A2504 8021B304 8FB00010 */ lw $s0, 0x10($sp)
/* 6A2508 8021B308 D7B40020 */ ldc1 $f20, 0x20($sp)
/* 6A250C 8021B30C 03E00008 */ jr $ra
/* 6A2510 8021B310 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,47 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8021B570_6A2770
/* 6A2770 8021B570 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 6A2774 8021B574 AFB20018 */ sw $s2, 0x18($sp)
/* 6A2778 8021B578 0080902D */ daddu $s2, $a0, $zero
/* 6A277C 8021B57C AFBF001C */ sw $ra, 0x1c($sp)
/* 6A2780 8021B580 AFB10014 */ sw $s1, 0x14($sp)
/* 6A2784 8021B584 AFB00010 */ sw $s0, 0x10($sp)
/* 6A2788 8021B588 8E440148 */ lw $a0, 0x148($s2)
/* 6A278C 8021B58C 0C09A75B */ jal get_actor
/* 6A2790 8021B590 8E50000C */ lw $s0, 0xc($s2)
/* 6A2794 8021B594 3C11800E */ lui $s1, %hi(gBattleStatus)
/* 6A2798 8021B598 2631C070 */ addiu $s1, $s1, %lo(gBattleStatus)
/* 6A279C 8021B59C 80430210 */ lb $v1, 0x210($v0)
/* 6A27A0 8021B5A0 2402000A */ addiu $v0, $zero, 0xa
/* 6A27A4 8021B5A4 1062000D */ beq $v1, $v0, .L8021B5DC
/* 6A27A8 8021B5A8 2403FFFF */ addiu $v1, $zero, -1
/* 6A27AC 8021B5AC 822200AE */ lb $v0, 0xae($s1)
/* 6A27B0 8021B5B0 10430007 */ beq $v0, $v1, .L8021B5D0
/* 6A27B4 8021B5B4 0240202D */ daddu $a0, $s2, $zero
/* 6A27B8 8021B5B8 822200AF */ lb $v0, 0xaf($s1)
/* 6A27BC 8021B5BC 10430004 */ beq $v0, $v1, .L8021B5D0
/* 6A27C0 8021B5C0 00000000 */ nop
/* 6A27C4 8021B5C4 822200B0 */ lb $v0, 0xb0($s1)
/* 6A27C8 8021B5C8 14430005 */ bne $v0, $v1, .L8021B5E0
/* 6A27CC 8021B5CC 00000000 */ nop
.L8021B5D0:
/* 6A27D0 8021B5D0 8E050000 */ lw $a1, ($s0)
/* 6A27D4 8021B5D4 08086D7A */ j .L8021B5E8
/* 6A27D8 8021B5D8 0000302D */ daddu $a2, $zero, $zero
.L8021B5DC:
/* 6A27DC 8021B5DC 0240202D */ daddu $a0, $s2, $zero
.L8021B5E0:
/* 6A27E0 8021B5E0 8E050000 */ lw $a1, ($s0)
/* 6A27E4 8021B5E4 2406FFFF */ addiu $a2, $zero, -1
.L8021B5E8:
/* 6A27E8 8021B5E8 0C0B2026 */ jal evt_set_variable
/* 6A27EC 8021B5EC 00000000 */ nop
/* 6A27F0 8021B5F0 24020002 */ addiu $v0, $zero, 2
/* 6A27F4 8021B5F4 8FBF001C */ lw $ra, 0x1c($sp)
/* 6A27F8 8021B5F8 8FB20018 */ lw $s2, 0x18($sp)
/* 6A27FC 8021B5FC 8FB10014 */ lw $s1, 0x14($sp)
/* 6A2800 8021B600 8FB00010 */ lw $s0, 0x10($sp)
/* 6A2804 8021B604 03E00008 */ jr $ra
/* 6A2808 8021B608 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,39 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8021C09C_6A329C
/* 6A329C 8021C09C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 6A32A0 8021C0A0 AFB00010 */ sw $s0, 0x10($sp)
/* 6A32A4 8021C0A4 0080802D */ daddu $s0, $a0, $zero
/* 6A32A8 8021C0A8 10A00003 */ beqz $a1, .L8021C0B8
/* 6A32AC 8021C0AC AFBF0014 */ sw $ra, 0x14($sp)
/* 6A32B0 8021C0B0 24020014 */ addiu $v0, $zero, 0x14
/* 6A32B4 8021C0B4 AE020070 */ sw $v0, 0x70($s0)
.L8021C0B8:
/* 6A32B8 8021C0B8 0000202D */ daddu $a0, $zero, $zero
/* 6A32BC 8021C0BC 0080282D */ daddu $a1, $a0, $zero
/* 6A32C0 8021C0C0 8E020070 */ lw $v0, 0x70($s0)
/* 6A32C4 8021C0C4 0080302D */ daddu $a2, $a0, $zero
/* 6A32C8 8021C0C8 00023880 */ sll $a3, $v0, 2
/* 6A32CC 8021C0CC 00E23821 */ addu $a3, $a3, $v0
/* 6A32D0 8021C0D0 00073840 */ sll $a3, $a3, 1
/* 6A32D4 8021C0D4 0C046F97 */ jal set_background_color_blend
/* 6A32D8 8021C0D8 30E700FE */ andi $a3, $a3, 0xfe
/* 6A32DC 8021C0DC 8E020070 */ lw $v0, 0x70($s0)
/* 6A32E0 8021C0E0 2442FFFF */ addiu $v0, $v0, -1
/* 6A32E4 8021C0E4 10400003 */ beqz $v0, .L8021C0F4
/* 6A32E8 8021C0E8 AE020070 */ sw $v0, 0x70($s0)
/* 6A32EC 8021C0EC 08087043 */ j .L8021C10C
/* 6A32F0 8021C0F0 0000102D */ daddu $v0, $zero, $zero
.L8021C0F4:
/* 6A32F4 8021C0F4 0000202D */ daddu $a0, $zero, $zero
/* 6A32F8 8021C0F8 0080282D */ daddu $a1, $a0, $zero
/* 6A32FC 8021C0FC 0080302D */ daddu $a2, $a0, $zero
/* 6A3300 8021C100 0C046F97 */ jal set_background_color_blend
/* 6A3304 8021C104 0080382D */ daddu $a3, $a0, $zero
/* 6A3308 8021C108 24020002 */ addiu $v0, $zero, 2
.L8021C10C:
/* 6A330C 8021C10C 8FBF0014 */ lw $ra, 0x14($sp)
/* 6A3310 8021C110 8FB00010 */ lw $s0, 0x10($sp)
/* 6A3314 8021C114 03E00008 */ jr $ra
/* 6A3318 8021C118 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,16 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8021C11C_6A331C
/* 6A331C 8021C11C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 6A3320 8021C120 AFBF0010 */ sw $ra, 0x10($sp)
/* 6A3324 8021C124 0C09A75B */ jal get_actor
/* 6A3328 8021C128 8C840148 */ lw $a0, 0x148($a0)
/* 6A332C 8021C12C 84440436 */ lh $a0, 0x436($v0)
/* 6A3330 8021C130 A0400224 */ sb $zero, 0x224($v0)
/* 6A3334 8021C134 0C011EE1 */ jal remove_status_4
/* 6A3338 8021C138 A0400223 */ sb $zero, 0x223($v0)
/* 6A333C 8021C13C 8FBF0010 */ lw $ra, 0x10($sp)
/* 6A3340 8021C140 24020002 */ addiu $v0, $zero, 2
/* 6A3344 8021C144 03E00008 */ jr $ra
/* 6A3348 8021C148 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,34 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8021C9D4_6A3BD4
/* 6A3BD4 8021C9D4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 6A3BD8 8021C9D8 3C038011 */ lui $v1, %hi(gPlayerData)
/* 6A3BDC 8021C9DC 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
/* 6A3BE0 8021C9E0 AFBF0010 */ sw $ra, 0x10($sp)
/* 6A3BE4 8021C9E4 80620002 */ lb $v0, 2($v1)
/* 6A3BE8 8021C9E8 00023040 */ sll $a2, $v0, 1
/* 6A3BEC 8021C9EC 00C23021 */ addu $a2, $a2, $v0
/* 6A3BF0 8021C9F0 000630C0 */ sll $a2, $a2, 3
/* 6A3BF4 8021C9F4 00C23021 */ addu $a2, $a2, $v0
/* 6A3BF8 8021C9F8 80620003 */ lb $v0, 3($v1)
/* 6A3BFC 8021C9FC 00063080 */ sll $a2, $a2, 2
/* 6A3C00 8021CA00 14400002 */ bnez $v0, .L8021CA0C
/* 6A3C04 8021CA04 00C2001A */ div $zero, $a2, $v0
/* 6A3C08 8021CA08 0007000D */ break 7
.L8021CA0C:
/* 6A3C0C 8021CA0C 2401FFFF */ addiu $at, $zero, -1
/* 6A3C10 8021CA10 14410004 */ bne $v0, $at, .L8021CA24
/* 6A3C14 8021CA14 3C018000 */ lui $at, 0x8000
/* 6A3C18 8021CA18 14C10002 */ bne $a2, $at, .L8021CA24
/* 6A3C1C 8021CA1C 00000000 */ nop
/* 6A3C20 8021CA20 0006000D */ break 6
.L8021CA24:
/* 6A3C24 8021CA24 00003012 */ mflo $a2
/* 6A3C28 8021CA28 8C82000C */ lw $v0, 0xc($a0)
/* 6A3C2C 8021CA2C 0C0B2026 */ jal evt_set_variable
/* 6A3C30 8021CA30 8C450000 */ lw $a1, ($v0)
/* 6A3C34 8021CA34 8FBF0010 */ lw $ra, 0x10($sp)
/* 6A3C38 8021CA38 24020002 */ addiu $v0, $zero, 2
/* 6A3C3C 8021CA3C 03E00008 */ jr $ra
/* 6A3C40 8021CA40 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,142 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8021CA44_6A3C44
/* 6A3C44 8021CA44 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 6A3C48 8021CA48 AFB20018 */ sw $s2, 0x18($sp)
/* 6A3C4C 8021CA4C 0080902D */ daddu $s2, $a0, $zero
/* 6A3C50 8021CA50 AFBF001C */ sw $ra, 0x1c($sp)
/* 6A3C54 8021CA54 AFB10014 */ sw $s1, 0x14($sp)
/* 6A3C58 8021CA58 AFB00010 */ sw $s0, 0x10($sp)
/* 6A3C5C 8021CA5C F7B40020 */ sdc1 $f20, 0x20($sp)
/* 6A3C60 8021CA60 10A00044 */ beqz $a1, .L8021CB74
/* 6A3C64 8021CA64 8E50000C */ lw $s0, 0xc($s2)
/* 6A3C68 8021CA68 0C00AB39 */ jal heap_malloc
/* 6A3C6C 8021CA6C 24040024 */ addiu $a0, $zero, 0x24
/* 6A3C70 8021CA70 0040882D */ daddu $s1, $v0, $zero
/* 6A3C74 8021CA74 AE510070 */ sw $s1, 0x70($s2)
/* 6A3C78 8021CA78 8E050000 */ lw $a1, ($s0)
/* 6A3C7C 8021CA7C 26100004 */ addiu $s0, $s0, 4
/* 6A3C80 8021CA80 0C0B1EAF */ jal evt_get_variable
/* 6A3C84 8021CA84 0240202D */ daddu $a0, $s2, $zero
/* 6A3C88 8021CA88 AE220020 */ sw $v0, 0x20($s1)
/* 6A3C8C 8021CA8C 8E050000 */ lw $a1, ($s0)
/* 6A3C90 8021CA90 26100004 */ addiu $s0, $s0, 4
/* 6A3C94 8021CA94 0C0B210B */ jal evt_get_float_variable
/* 6A3C98 8021CA98 0240202D */ daddu $a0, $s2, $zero
/* 6A3C9C 8021CA9C E6200000 */ swc1 $f0, ($s1)
/* 6A3CA0 8021CAA0 8E050000 */ lw $a1, ($s0)
/* 6A3CA4 8021CAA4 26100004 */ addiu $s0, $s0, 4
/* 6A3CA8 8021CAA8 0C0B210B */ jal evt_get_float_variable
/* 6A3CAC 8021CAAC 0240202D */ daddu $a0, $s2, $zero
/* 6A3CB0 8021CAB0 E6200004 */ swc1 $f0, 4($s1)
/* 6A3CB4 8021CAB4 8E050000 */ lw $a1, ($s0)
/* 6A3CB8 8021CAB8 26100004 */ addiu $s0, $s0, 4
/* 6A3CBC 8021CABC 0C0B210B */ jal evt_get_float_variable
/* 6A3CC0 8021CAC0 0240202D */ daddu $a0, $s2, $zero
/* 6A3CC4 8021CAC4 E6200008 */ swc1 $f0, 8($s1)
/* 6A3CC8 8021CAC8 8E050000 */ lw $a1, ($s0)
/* 6A3CCC 8021CACC 26100004 */ addiu $s0, $s0, 4
/* 6A3CD0 8021CAD0 0C0B1EAF */ jal evt_get_variable
/* 6A3CD4 8021CAD4 0240202D */ daddu $a0, $s2, $zero
/* 6A3CD8 8021CAD8 AE22001C */ sw $v0, 0x1c($s1)
/* 6A3CDC 8021CADC 8E050000 */ lw $a1, ($s0)
/* 6A3CE0 8021CAE0 0C0B210B */ jal evt_get_float_variable
/* 6A3CE4 8021CAE4 0240202D */ daddu $a0, $s2, $zero
/* 6A3CE8 8021CAE8 8E240020 */ lw $a0, 0x20($s1)
/* 6A3CEC 8021CAEC 0C04C3D6 */ jal get_item_entity
/* 6A3CF0 8021CAF0 E6200010 */ swc1 $f0, 0x10($s1)
/* 6A3CF4 8021CAF4 0040802D */ daddu $s0, $v0, $zero
/* 6A3CF8 8021CAF8 C60C0008 */ lwc1 $f12, 8($s0)
/* 6A3CFC 8021CAFC C60E0010 */ lwc1 $f14, 0x10($s0)
/* 6A3D00 8021CB00 8E260000 */ lw $a2, ($s1)
/* 6A3D04 8021CB04 0C00A7B5 */ jal dist2D
/* 6A3D08 8021CB08 8E270008 */ lw $a3, 8($s1)
/* 6A3D0C 8021CB0C C60C0008 */ lwc1 $f12, 8($s0)
/* 6A3D10 8021CB10 C60E0010 */ lwc1 $f14, 0x10($s0)
/* 6A3D14 8021CB14 8E260000 */ lw $a2, ($s1)
/* 6A3D18 8021CB18 8E270008 */ lw $a3, 8($s1)
/* 6A3D1C 8021CB1C 0C00A720 */ jal atan2
/* 6A3D20 8021CB20 46000506 */ mov.s $f20, $f0
/* 6A3D24 8021CB24 C6240010 */ lwc1 $f4, 0x10($s1)
/* 6A3D28 8021CB28 C626001C */ lwc1 $f6, 0x1c($s1)
/* 6A3D2C 8021CB2C 468031A0 */ cvt.s.w $f6, $f6
/* 6A3D30 8021CB30 46062102 */ mul.s $f4, $f4, $f6
/* 6A3D34 8021CB34 00000000 */ nop
/* 6A3D38 8021CB38 3C013F00 */ lui $at, 0x3f00
/* 6A3D3C 8021CB3C 44811000 */ mtc1 $at, $f2
/* 6A3D40 8021CB40 00000000 */ nop
/* 6A3D44 8021CB44 46022102 */ mul.s $f4, $f4, $f2
/* 6A3D48 8021CB48 00000000 */ nop
/* 6A3D4C 8021CB4C E620000C */ swc1 $f0, 0xc($s1)
/* 6A3D50 8021CB50 C6200004 */ lwc1 $f0, 4($s1)
/* 6A3D54 8021CB54 C602000C */ lwc1 $f2, 0xc($s0)
/* 6A3D58 8021CB58 46020001 */ sub.s $f0, $f0, $f2
/* 6A3D5C 8021CB5C 46003086 */ mov.s $f2, $f6
/* 6A3D60 8021CB60 46060003 */ div.s $f0, $f0, $f6
/* 6A3D64 8021CB64 46002100 */ add.s $f4, $f4, $f0
/* 6A3D68 8021CB68 4602A503 */ div.s $f20, $f20, $f2
/* 6A3D6C 8021CB6C E6340014 */ swc1 $f20, 0x14($s1)
/* 6A3D70 8021CB70 E6240018 */ swc1 $f4, 0x18($s1)
.L8021CB74:
/* 6A3D74 8021CB74 8E510070 */ lw $s1, 0x70($s2)
/* 6A3D78 8021CB78 0C04C3D6 */ jal get_item_entity
/* 6A3D7C 8021CB7C 8E240020 */ lw $a0, 0x20($s1)
/* 6A3D80 8021CB80 0040802D */ daddu $s0, $v0, $zero
/* 6A3D84 8021CB84 16000005 */ bnez $s0, .L8021CB9C
/* 6A3D88 8021CB88 00000000 */ nop
/* 6A3D8C 8021CB8C 0C00AB4B */ jal heap_free
/* 6A3D90 8021CB90 8E440070 */ lw $a0, 0x70($s2)
/* 6A3D94 8021CB94 08087310 */ j .L8021CC40
/* 6A3D98 8021CB98 24020002 */ addiu $v0, $zero, 2
.L8021CB9C:
/* 6A3D9C 8021CB9C C62C000C */ lwc1 $f12, 0xc($s1)
/* 6A3DA0 8021CBA0 0C00A8BB */ jal sin_deg
/* 6A3DA4 8021CBA4 00000000 */ nop
/* 6A3DA8 8021CBA8 C6220014 */ lwc1 $f2, 0x14($s1)
/* 6A3DAC 8021CBAC 46001082 */ mul.s $f2, $f2, $f0
/* 6A3DB0 8021CBB0 00000000 */ nop
/* 6A3DB4 8021CBB4 C6000008 */ lwc1 $f0, 8($s0)
/* 6A3DB8 8021CBB8 46020000 */ add.s $f0, $f0, $f2
/* 6A3DBC 8021CBBC E6000008 */ swc1 $f0, 8($s0)
/* 6A3DC0 8021CBC0 0C00A8D4 */ jal cos_deg
/* 6A3DC4 8021CBC4 C62C000C */ lwc1 $f12, 0xc($s1)
/* 6A3DC8 8021CBC8 C6220014 */ lwc1 $f2, 0x14($s1)
/* 6A3DCC 8021CBCC 46001082 */ mul.s $f2, $f2, $f0
/* 6A3DD0 8021CBD0 00000000 */ nop
/* 6A3DD4 8021CBD4 C6000010 */ lwc1 $f0, 0x10($s0)
/* 6A3DD8 8021CBD8 46020001 */ sub.s $f0, $f0, $f2
/* 6A3DDC 8021CBDC E6000010 */ swc1 $f0, 0x10($s0)
/* 6A3DE0 8021CBE0 C600000C */ lwc1 $f0, 0xc($s0)
/* 6A3DE4 8021CBE4 C6220018 */ lwc1 $f2, 0x18($s1)
/* 6A3DE8 8021CBE8 46020000 */ add.s $f0, $f0, $f2
/* 6A3DEC 8021CBEC E600000C */ swc1 $f0, 0xc($s0)
/* 6A3DF0 8021CBF0 C6200018 */ lwc1 $f0, 0x18($s1)
/* 6A3DF4 8021CBF4 C6220010 */ lwc1 $f2, 0x10($s1)
/* 6A3DF8 8021CBF8 8E22001C */ lw $v0, 0x1c($s1)
/* 6A3DFC 8021CBFC 46020001 */ sub.s $f0, $f0, $f2
/* 6A3E00 8021CC00 2442FFFF */ addiu $v0, $v0, -1
/* 6A3E04 8021CC04 AE22001C */ sw $v0, 0x1c($s1)
/* 6A3E08 8021CC08 04400003 */ bltz $v0, .L8021CC18
/* 6A3E0C 8021CC0C E6200018 */ swc1 $f0, 0x18($s1)
/* 6A3E10 8021CC10 08087310 */ j .L8021CC40
/* 6A3E14 8021CC14 0000102D */ daddu $v0, $zero, $zero
.L8021CC18:
/* 6A3E18 8021CC18 C6200000 */ lwc1 $f0, ($s1)
/* 6A3E1C 8021CC1C E6000008 */ swc1 $f0, 8($s0)
/* 6A3E20 8021CC20 C6200004 */ lwc1 $f0, 4($s1)
/* 6A3E24 8021CC24 E600000C */ swc1 $f0, 0xc($s0)
/* 6A3E28 8021CC28 C6200008 */ lwc1 $f0, 8($s1)
/* 6A3E2C 8021CC2C E6000010 */ swc1 $f0, 0x10($s0)
/* 6A3E30 8021CC30 AE200018 */ sw $zero, 0x18($s1)
/* 6A3E34 8021CC34 0C00AB4B */ jal heap_free
/* 6A3E38 8021CC38 8E440070 */ lw $a0, 0x70($s2)
/* 6A3E3C 8021CC3C 24020001 */ addiu $v0, $zero, 1
.L8021CC40:
/* 6A3E40 8021CC40 8FBF001C */ lw $ra, 0x1c($sp)
/* 6A3E44 8021CC44 8FB20018 */ lw $s2, 0x18($sp)
/* 6A3E48 8021CC48 8FB10014 */ lw $s1, 0x14($sp)
/* 6A3E4C 8021CC4C 8FB00010 */ lw $s0, 0x10($sp)
/* 6A3E50 8021CC50 D7B40020 */ ldc1 $f20, 0x20($sp)
/* 6A3E54 8021CC54 03E00008 */ jr $ra
/* 6A3E58 8021CC58 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8021CC5C_6A3E5C
/* 6A3E5C 8021CC5C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 6A3E60 8021CC60 AFB20018 */ sw $s2, 0x18($sp)
/* 6A3E64 8021CC64 0080902D */ daddu $s2, $a0, $zero
/* 6A3E68 8021CC68 AFBF001C */ sw $ra, 0x1c($sp)
/* 6A3E6C 8021CC6C AFB10014 */ sw $s1, 0x14($sp)
/* 6A3E70 8021CC70 AFB00010 */ sw $s0, 0x10($sp)
/* 6A3E74 8021CC74 8E50000C */ lw $s0, 0xc($s2)
/* 6A3E78 8021CC78 8E050000 */ lw $a1, ($s0)
/* 6A3E7C 8021CC7C 0C0B1EAF */ jal evt_get_variable
/* 6A3E80 8021CC80 26100004 */ addiu $s0, $s0, 4
/* 6A3E84 8021CC84 0C04C3D6 */ jal get_item_entity
/* 6A3E88 8021CC88 0040202D */ daddu $a0, $v0, $zero
/* 6A3E8C 8021CC8C 8E050000 */ lw $a1, ($s0)
/* 6A3E90 8021CC90 26100004 */ addiu $s0, $s0, 4
/* 6A3E94 8021CC94 0040882D */ daddu $s1, $v0, $zero
/* 6A3E98 8021CC98 C6200008 */ lwc1 $f0, 8($s1)
/* 6A3E9C 8021CC9C 4600008D */ trunc.w.s $f2, $f0
/* 6A3EA0 8021CCA0 44061000 */ mfc1 $a2, $f2
/* 6A3EA4 8021CCA4 0C0B2026 */ jal evt_set_variable
/* 6A3EA8 8021CCA8 0240202D */ daddu $a0, $s2, $zero
/* 6A3EAC 8021CCAC 8E050000 */ lw $a1, ($s0)
/* 6A3EB0 8021CCB0 26100004 */ addiu $s0, $s0, 4
/* 6A3EB4 8021CCB4 C620000C */ lwc1 $f0, 0xc($s1)
/* 6A3EB8 8021CCB8 4600008D */ trunc.w.s $f2, $f0
/* 6A3EBC 8021CCBC 44061000 */ mfc1 $a2, $f2
/* 6A3EC0 8021CCC0 0C0B2026 */ jal evt_set_variable
/* 6A3EC4 8021CCC4 0240202D */ daddu $a0, $s2, $zero
/* 6A3EC8 8021CCC8 C6200010 */ lwc1 $f0, 0x10($s1)
/* 6A3ECC 8021CCCC 8E050000 */ lw $a1, ($s0)
/* 6A3ED0 8021CCD0 4600008D */ trunc.w.s $f2, $f0
/* 6A3ED4 8021CCD4 44061000 */ mfc1 $a2, $f2
/* 6A3ED8 8021CCD8 0C0B2026 */ jal evt_set_variable
/* 6A3EDC 8021CCDC 0240202D */ daddu $a0, $s2, $zero
/* 6A3EE0 8021CCE0 8FBF001C */ lw $ra, 0x1c($sp)
/* 6A3EE4 8021CCE4 8FB20018 */ lw $s2, 0x18($sp)
/* 6A3EE8 8021CCE8 8FB10014 */ lw $s1, 0x14($sp)
/* 6A3EEC 8021CCEC 8FB00010 */ lw $s0, 0x10($sp)
/* 6A3EF0 8021CCF0 24020002 */ addiu $v0, $zero, 2
/* 6A3EF4 8021CCF4 03E00008 */ jr $ra
/* 6A3EF8 8021CCF8 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,47 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8021CEB8_6A40B8
/* 6A40B8 8021CEB8 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 6A40BC 8021CEBC AFB20018 */ sw $s2, 0x18($sp)
/* 6A40C0 8021CEC0 0080902D */ daddu $s2, $a0, $zero
/* 6A40C4 8021CEC4 AFBF001C */ sw $ra, 0x1c($sp)
/* 6A40C8 8021CEC8 AFB10014 */ sw $s1, 0x14($sp)
/* 6A40CC 8021CECC AFB00010 */ sw $s0, 0x10($sp)
/* 6A40D0 8021CED0 8E440148 */ lw $a0, 0x148($s2)
/* 6A40D4 8021CED4 0C09A75B */ jal get_actor
/* 6A40D8 8021CED8 8E50000C */ lw $s0, 0xc($s2)
/* 6A40DC 8021CEDC 3C11800E */ lui $s1, %hi(gBattleStatus)
/* 6A40E0 8021CEE0 2631C070 */ addiu $s1, $s1, %lo(gBattleStatus)
/* 6A40E4 8021CEE4 80430210 */ lb $v1, 0x210($v0)
/* 6A40E8 8021CEE8 2402000A */ addiu $v0, $zero, 0xa
/* 6A40EC 8021CEEC 1062000D */ beq $v1, $v0, .L8021CF24
/* 6A40F0 8021CEF0 2403FFFF */ addiu $v1, $zero, -1
/* 6A40F4 8021CEF4 822200AE */ lb $v0, 0xae($s1)
/* 6A40F8 8021CEF8 10430007 */ beq $v0, $v1, .L8021CF18
/* 6A40FC 8021CEFC 0240202D */ daddu $a0, $s2, $zero
/* 6A4100 8021CF00 822200AF */ lb $v0, 0xaf($s1)
/* 6A4104 8021CF04 10430004 */ beq $v0, $v1, .L8021CF18
/* 6A4108 8021CF08 00000000 */ nop
/* 6A410C 8021CF0C 822200B0 */ lb $v0, 0xb0($s1)
/* 6A4110 8021CF10 14430005 */ bne $v0, $v1, .L8021CF28
/* 6A4114 8021CF14 00000000 */ nop
.L8021CF18:
/* 6A4118 8021CF18 8E050000 */ lw $a1, ($s0)
/* 6A411C 8021CF1C 080873CC */ j .L8021CF30
/* 6A4120 8021CF20 0000302D */ daddu $a2, $zero, $zero
.L8021CF24:
/* 6A4124 8021CF24 0240202D */ daddu $a0, $s2, $zero
.L8021CF28:
/* 6A4128 8021CF28 8E050000 */ lw $a1, ($s0)
/* 6A412C 8021CF2C 2406FFFF */ addiu $a2, $zero, -1
.L8021CF30:
/* 6A4130 8021CF30 0C0B2026 */ jal evt_set_variable
/* 6A4134 8021CF34 00000000 */ nop
/* 6A4138 8021CF38 24020002 */ addiu $v0, $zero, 2
/* 6A413C 8021CF3C 8FBF001C */ lw $ra, 0x1c($sp)
/* 6A4140 8021CF40 8FB20018 */ lw $s2, 0x18($sp)
/* 6A4144 8021CF44 8FB10014 */ lw $s1, 0x14($sp)
/* 6A4148 8021CF48 8FB00010 */ lw $s0, 0x10($sp)
/* 6A414C 8021CF4C 03E00008 */ jr $ra
/* 6A4150 8021CF50 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,95 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218960_6BC4F0
/* 6BC4F0 80218960 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 6BC4F4 80218964 AFB20020 */ sw $s2, 0x20($sp)
/* 6BC4F8 80218968 0080902D */ daddu $s2, $a0, $zero
/* 6BC4FC 8021896C AFBF0028 */ sw $ra, 0x28($sp)
/* 6BC500 80218970 AFB30024 */ sw $s3, 0x24($sp)
/* 6BC504 80218974 AFB1001C */ sw $s1, 0x1c($sp)
/* 6BC508 80218978 AFB00018 */ sw $s0, 0x18($sp)
/* 6BC50C 8021897C F7B40030 */ sdc1 $f20, 0x30($sp)
/* 6BC510 80218980 8E440148 */ lw $a0, 0x148($s2)
/* 6BC514 80218984 0C09A75B */ jal get_actor
/* 6BC518 80218988 00A0802D */ daddu $s0, $a1, $zero
/* 6BC51C 8021898C 0040882D */ daddu $s1, $v0, $zero
/* 6BC520 80218990 12000002 */ beqz $s0, .L8021899C
/* 6BC524 80218994 2633000C */ addiu $s3, $s1, 0xc
/* 6BC528 80218998 AE400070 */ sw $zero, 0x70($s2)
.L8021899C:
/* 6BC52C 8021899C 8E420070 */ lw $v0, 0x70($s2)
/* 6BC530 802189A0 14400008 */ bnez $v0, .L802189C4
/* 6BC534 802189A4 24020001 */ addiu $v0, $zero, 1
/* 6BC538 802189A8 C6200144 */ lwc1 $f0, 0x144($s1)
/* 6BC53C 802189AC C6220148 */ lwc1 $f2, 0x148($s1)
/* 6BC540 802189B0 C624014C */ lwc1 $f4, 0x14c($s1)
/* 6BC544 802189B4 E620000C */ swc1 $f0, 0xc($s1)
/* 6BC548 802189B8 E6220010 */ swc1 $f2, 0x10($s1)
/* 6BC54C 802189BC E6240014 */ swc1 $f4, 0x14($s1)
/* 6BC550 802189C0 AE420070 */ sw $v0, 0x70($s2)
.L802189C4:
/* 6BC554 802189C4 C6200050 */ lwc1 $f0, 0x50($s1)
/* 6BC558 802189C8 4480A000 */ mtc1 $zero, $f20
/* 6BC55C 802189CC 00000000 */ nop
/* 6BC560 802189D0 4600A03C */ c.lt.s $f20, $f0
/* 6BC564 802189D4 00000000 */ nop
/* 6BC568 802189D8 45000005 */ bc1f .L802189F0
/* 6BC56C 802189DC 2404FF81 */ addiu $a0, $zero, -0x7f
/* 6BC570 802189E0 8E260064 */ lw $a2, 0x64($s1)
/* 6BC574 802189E4 0C098F3F */ jal set_animation
/* 6BC578 802189E8 24050001 */ addiu $a1, $zero, 1
/* 6BC57C 802189EC C6200050 */ lwc1 $f0, 0x50($s1)
.L802189F0:
/* 6BC580 802189F0 4614003C */ c.lt.s $f0, $f20
/* 6BC584 802189F4 00000000 */ nop
/* 6BC588 802189F8 45000004 */ bc1f .L80218A0C
/* 6BC58C 802189FC 2404FF81 */ addiu $a0, $zero, -0x7f
/* 6BC590 80218A00 8E260068 */ lw $a2, 0x68($s1)
/* 6BC594 80218A04 0C098F3F */ jal set_animation
/* 6BC598 80218A08 24050001 */ addiu $a1, $zero, 1
.L80218A0C:
/* 6BC59C 80218A0C C6240010 */ lwc1 $f4, 0x10($s1)
/* 6BC5A0 80218A10 C6200050 */ lwc1 $f0, 0x50($s1)
/* 6BC5A4 80218A14 8E25004C */ lw $a1, 0x4c($s1)
/* 6BC5A8 80218A18 46002100 */ add.s $f4, $f4, $f0
/* 6BC5AC 80218A1C C6220048 */ lwc1 $f2, 0x48($s1)
/* 6BC5B0 80218A20 8E260054 */ lw $a2, 0x54($s1)
/* 6BC5B4 80218A24 46020001 */ sub.s $f0, $f0, $f2
/* 6BC5B8 80218A28 0260202D */ daddu $a0, $s3, $zero
/* 6BC5BC 80218A2C E6240010 */ swc1 $f4, 0x10($s1)
/* 6BC5C0 80218A30 0C09904A */ jal add_xz_vec3f
/* 6BC5C4 80218A34 E6200050 */ swc1 $f0, 0x50($s1)
/* 6BC5C8 80218A38 C6200010 */ lwc1 $f0, 0x10($s1)
/* 6BC5CC 80218A3C C6220014 */ lwc1 $f2, 0x14($s1)
/* 6BC5D0 80218A40 E6200148 */ swc1 $f0, 0x148($s1)
/* 6BC5D4 80218A44 C620000C */ lwc1 $f0, 0xc($s1)
/* 6BC5D8 80218A48 C6240148 */ lwc1 $f4, 0x148($s1)
/* 6BC5DC 80218A4C E622014C */ swc1 $f2, 0x14c($s1)
/* 6BC5E0 80218A50 4614203C */ c.lt.s $f4, $f20
/* 6BC5E4 80218A54 00000000 */ nop
/* 6BC5E8 80218A58 45010003 */ bc1t .L80218A68
/* 6BC5EC 80218A5C E6200144 */ swc1 $f0, 0x144($s1)
/* 6BC5F0 80218A60 080862A5 */ j .L80218A94
/* 6BC5F4 80218A64 0000102D */ daddu $v0, $zero, $zero
.L80218A68:
/* 6BC5F8 80218A68 C620018C */ lwc1 $f0, 0x18c($s1)
/* 6BC5FC 80218A6C E6340148 */ swc1 $f20, 0x148($s1)
/* 6BC600 80218A70 E7A00010 */ swc1 $f0, 0x10($sp)
/* 6BC604 80218A74 8E250144 */ lw $a1, 0x144($s1)
/* 6BC608 80218A78 8E260148 */ lw $a2, 0x148($s1)
/* 6BC60C 80218A7C 8E27014C */ lw $a3, 0x14c($s1)
/* 6BC610 80218A80 0C0990BC */ jal play_movement_dust_effects
/* 6BC614 80218A84 24040002 */ addiu $a0, $zero, 2
/* 6BC618 80218A88 0C05272D */ jal sfx_play_sound
/* 6BC61C 80218A8C 24040148 */ addiu $a0, $zero, 0x148
/* 6BC620 80218A90 24020001 */ addiu $v0, $zero, 1
.L80218A94:
/* 6BC624 80218A94 8FBF0028 */ lw $ra, 0x28($sp)
/* 6BC628 80218A98 8FB30024 */ lw $s3, 0x24($sp)
/* 6BC62C 80218A9C 8FB20020 */ lw $s2, 0x20($sp)
/* 6BC630 80218AA0 8FB1001C */ lw $s1, 0x1c($sp)
/* 6BC634 80218AA4 8FB00018 */ lw $s0, 0x18($sp)
/* 6BC638 80218AA8 D7B40030 */ ldc1 $f20, 0x30($sp)
/* 6BC63C 80218AAC 03E00008 */ jr $ra
/* 6BC640 80218AB0 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -1,84 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218000_58C2F0
/* 58C2F0 80218000 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 58C2F4 80218004 AFB20020 */ sw $s2, 0x20($sp)
/* 58C2F8 80218008 0080902D */ daddu $s2, $a0, $zero
/* 58C2FC 8021800C AFBF0024 */ sw $ra, 0x24($sp)
/* 58C300 80218010 AFB1001C */ sw $s1, 0x1c($sp)
/* 58C304 80218014 AFB00018 */ sw $s0, 0x18($sp)
/* 58C308 80218018 8E440148 */ lw $a0, 0x148($s2)
/* 58C30C 8021801C 0C09A75B */ jal get_actor
/* 58C310 80218020 00A0802D */ daddu $s0, $a1, $zero
/* 58C314 80218024 1200002D */ beqz $s0, .L802180DC
/* 58C318 80218028 0040882D */ daddu $s1, $v0, $zero
/* 58C31C 8021802C C6220018 */ lwc1 $f2, 0x18($s1)
/* 58C320 80218030 C6200144 */ lwc1 $f0, 0x144($s1)
/* 58C324 80218034 46001081 */ sub.s $f2, $f2, $f0
/* 58C328 80218038 46021082 */ mul.s $f2, $f2, $f2
/* 58C32C 8021803C 00000000 */ nop
/* 58C330 80218040 C626001C */ lwc1 $f6, 0x1c($s1)
/* 58C334 80218044 C6200148 */ lwc1 $f0, 0x148($s1)
/* 58C338 80218048 46003181 */ sub.s $f6, $f6, $f0
/* 58C33C 8021804C 46063182 */ mul.s $f6, $f6, $f6
/* 58C340 80218050 00000000 */ nop
/* 58C344 80218054 C624014C */ lwc1 $f4, 0x14c($s1)
/* 58C348 80218058 C6200020 */ lwc1 $f0, 0x20($s1)
/* 58C34C 8021805C 46040001 */ sub.s $f0, $f0, $f4
/* 58C350 80218060 46000002 */ mul.s $f0, $f0, $f0
/* 58C354 80218064 00000000 */ nop
/* 58C358 80218068 46061080 */ add.s $f2, $f2, $f6
/* 58C35C 8021806C 46001300 */ add.s $f12, $f2, $f0
/* 58C360 80218070 46006104 */ sqrt.s $f4, $f12
/* 58C364 80218074 46042032 */ c.eq.s $f4, $f4
/* 58C368 80218078 00000000 */ nop
/* 58C36C 8021807C 45010004 */ bc1t .L80218090
/* 58C370 80218080 00000000 */ nop
/* 58C374 80218084 0C0187BC */ jal sqrtf
/* 58C378 80218088 00000000 */ nop
/* 58C37C 8021808C 46000106 */ mov.s $f4, $f0
.L80218090:
/* 58C380 80218090 C620004C */ lwc1 $f0, 0x4c($s1)
/* 58C384 80218094 3C013F00 */ lui $at, 0x3f00
/* 58C388 80218098 44811000 */ mtc1 $at, $f2
/* 58C38C 8021809C 46002003 */ div.s $f0, $f4, $f0
/* 58C390 802180A0 46020002 */ mul.s $f0, $f0, $f2
/* 58C394 802180A4 00000000 */ nop
/* 58C398 802180A8 3C013F80 */ lui $at, 0x3f80
/* 58C39C 802180AC 44811000 */ mtc1 $at, $f2
/* 58C3A0 802180B0 00000000 */ nop
/* 58C3A4 802180B4 46020000 */ add.s $f0, $f0, $f2
/* 58C3A8 802180B8 4600020D */ trunc.w.s $f8, $f0
/* 58C3AC 802180BC E6480070 */ swc1 $f8, 0x70($s2)
/* 58C3B0 802180C0 C620014C */ lwc1 $f0, 0x14c($s1)
/* 58C3B4 802180C4 24040359 */ addiu $a0, $zero, 0x359
/* 58C3B8 802180C8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 58C3BC 802180CC 8E260144 */ lw $a2, 0x144($s1)
/* 58C3C0 802180D0 8E270148 */ lw $a3, 0x148($s1)
/* 58C3C4 802180D4 0C052757 */ jal sfx_play_sound_at_position
/* 58C3C8 802180D8 0000282D */ daddu $a1, $zero, $zero
.L802180DC:
/* 58C3CC 802180DC 8E420070 */ lw $v0, 0x70($s2)
/* 58C3D0 802180E0 0040182D */ daddu $v1, $v0, $zero
/* 58C3D4 802180E4 2442FFFF */ addiu $v0, $v0, -1
/* 58C3D8 802180E8 1C60000A */ bgtz $v1, .L80218114
/* 58C3DC 802180EC AE420070 */ sw $v0, 0x70($s2)
/* 58C3E0 802180F0 C620014C */ lwc1 $f0, 0x14c($s1)
/* 58C3E4 802180F4 24040759 */ addiu $a0, $zero, 0x759
/* 58C3E8 802180F8 E7A00010 */ swc1 $f0, 0x10($sp)
/* 58C3EC 802180FC 8E260144 */ lw $a2, 0x144($s1)
/* 58C3F0 80218100 8E270148 */ lw $a3, 0x148($s1)
/* 58C3F4 80218104 0C052757 */ jal sfx_play_sound_at_position
/* 58C3F8 80218108 0000282D */ daddu $a1, $zero, $zero
/* 58C3FC 8021810C 08086046 */ j .L80218118
/* 58C400 80218110 24020002 */ addiu $v0, $zero, 2
.L80218114:
/* 58C404 80218114 0000102D */ daddu $v0, $zero, $zero
.L80218118:
/* 58C408 80218118 8FBF0024 */ lw $ra, 0x24($sp)
/* 58C40C 8021811C 8FB20020 */ lw $s2, 0x20($sp)
/* 58C410 80218120 8FB1001C */ lw $s1, 0x1c($sp)
/* 58C414 80218124 8FB00018 */ lw $s0, 0x18($sp)
/* 58C418 80218128 03E00008 */ jr $ra
/* 58C41C 8021812C 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,95 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218B90_465020
/* 465020 80218B90 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 465024 80218B94 AFB20020 */ sw $s2, 0x20($sp)
/* 465028 80218B98 0080902D */ daddu $s2, $a0, $zero
/* 46502C 80218B9C AFBF0028 */ sw $ra, 0x28($sp)
/* 465030 80218BA0 AFB30024 */ sw $s3, 0x24($sp)
/* 465034 80218BA4 AFB1001C */ sw $s1, 0x1c($sp)
/* 465038 80218BA8 AFB00018 */ sw $s0, 0x18($sp)
/* 46503C 80218BAC F7B40030 */ sdc1 $f20, 0x30($sp)
/* 465040 80218BB0 8E440148 */ lw $a0, 0x148($s2)
/* 465044 80218BB4 0C09A75B */ jal get_actor
/* 465048 80218BB8 00A0802D */ daddu $s0, $a1, $zero
/* 46504C 80218BBC 0040882D */ daddu $s1, $v0, $zero
/* 465050 80218BC0 12000002 */ beqz $s0, .L80218BCC
/* 465054 80218BC4 2633000C */ addiu $s3, $s1, 0xc
/* 465058 80218BC8 AE400070 */ sw $zero, 0x70($s2)
.L80218BCC:
/* 46505C 80218BCC 8E420070 */ lw $v0, 0x70($s2)
/* 465060 80218BD0 14400008 */ bnez $v0, .L80218BF4
/* 465064 80218BD4 24020001 */ addiu $v0, $zero, 1
/* 465068 80218BD8 C6200144 */ lwc1 $f0, 0x144($s1)
/* 46506C 80218BDC C6220148 */ lwc1 $f2, 0x148($s1)
/* 465070 80218BE0 C624014C */ lwc1 $f4, 0x14c($s1)
/* 465074 80218BE4 E620000C */ swc1 $f0, 0xc($s1)
/* 465078 80218BE8 E6220010 */ swc1 $f2, 0x10($s1)
/* 46507C 80218BEC E6240014 */ swc1 $f4, 0x14($s1)
/* 465080 80218BF0 AE420070 */ sw $v0, 0x70($s2)
.L80218BF4:
/* 465084 80218BF4 C6200050 */ lwc1 $f0, 0x50($s1)
/* 465088 80218BF8 4480A000 */ mtc1 $zero, $f20
/* 46508C 80218BFC 00000000 */ nop
/* 465090 80218C00 4600A03C */ c.lt.s $f20, $f0
/* 465094 80218C04 00000000 */ nop
/* 465098 80218C08 45000005 */ bc1f .L80218C20
/* 46509C 80218C0C 2404FF81 */ addiu $a0, $zero, -0x7f
/* 4650A0 80218C10 8E260064 */ lw $a2, 0x64($s1)
/* 4650A4 80218C14 0C098F3F */ jal set_animation
/* 4650A8 80218C18 24050001 */ addiu $a1, $zero, 1
/* 4650AC 80218C1C C6200050 */ lwc1 $f0, 0x50($s1)
.L80218C20:
/* 4650B0 80218C20 4614003C */ c.lt.s $f0, $f20
/* 4650B4 80218C24 00000000 */ nop
/* 4650B8 80218C28 45000004 */ bc1f .L80218C3C
/* 4650BC 80218C2C 2404FF81 */ addiu $a0, $zero, -0x7f
/* 4650C0 80218C30 8E260068 */ lw $a2, 0x68($s1)
/* 4650C4 80218C34 0C098F3F */ jal set_animation
/* 4650C8 80218C38 24050001 */ addiu $a1, $zero, 1
.L80218C3C:
/* 4650CC 80218C3C C6240010 */ lwc1 $f4, 0x10($s1)
/* 4650D0 80218C40 C6200050 */ lwc1 $f0, 0x50($s1)
/* 4650D4 80218C44 8E25004C */ lw $a1, 0x4c($s1)
/* 4650D8 80218C48 46002100 */ add.s $f4, $f4, $f0
/* 4650DC 80218C4C C6220048 */ lwc1 $f2, 0x48($s1)
/* 4650E0 80218C50 8E260054 */ lw $a2, 0x54($s1)
/* 4650E4 80218C54 46020001 */ sub.s $f0, $f0, $f2
/* 4650E8 80218C58 0260202D */ daddu $a0, $s3, $zero
/* 4650EC 80218C5C E6240010 */ swc1 $f4, 0x10($s1)
/* 4650F0 80218C60 0C09904A */ jal add_xz_vec3f
/* 4650F4 80218C64 E6200050 */ swc1 $f0, 0x50($s1)
/* 4650F8 80218C68 C6200010 */ lwc1 $f0, 0x10($s1)
/* 4650FC 80218C6C C6220014 */ lwc1 $f2, 0x14($s1)
/* 465100 80218C70 E6200148 */ swc1 $f0, 0x148($s1)
/* 465104 80218C74 C620000C */ lwc1 $f0, 0xc($s1)
/* 465108 80218C78 C6240148 */ lwc1 $f4, 0x148($s1)
/* 46510C 80218C7C E622014C */ swc1 $f2, 0x14c($s1)
/* 465110 80218C80 4614203C */ c.lt.s $f4, $f20
/* 465114 80218C84 00000000 */ nop
/* 465118 80218C88 45010003 */ bc1t .L80218C98
/* 46511C 80218C8C E6200144 */ swc1 $f0, 0x144($s1)
/* 465120 80218C90 08086331 */ j .L80218CC4
/* 465124 80218C94 0000102D */ daddu $v0, $zero, $zero
.L80218C98:
/* 465128 80218C98 C620018C */ lwc1 $f0, 0x18c($s1)
/* 46512C 80218C9C E6340148 */ swc1 $f20, 0x148($s1)
/* 465130 80218CA0 E7A00010 */ swc1 $f0, 0x10($sp)
/* 465134 80218CA4 8E250144 */ lw $a1, 0x144($s1)
/* 465138 80218CA8 8E260148 */ lw $a2, 0x148($s1)
/* 46513C 80218CAC 8E27014C */ lw $a3, 0x14c($s1)
/* 465140 80218CB0 0C0990BC */ jal play_movement_dust_effects
/* 465144 80218CB4 24040002 */ addiu $a0, $zero, 2
/* 465148 80218CB8 0C05272D */ jal sfx_play_sound
/* 46514C 80218CBC 24040148 */ addiu $a0, $zero, 0x148
/* 465150 80218CC0 24020001 */ addiu $v0, $zero, 1
.L80218CC4:
/* 465154 80218CC4 8FBF0028 */ lw $ra, 0x28($sp)
/* 465158 80218CC8 8FB30024 */ lw $s3, 0x24($sp)
/* 46515C 80218CCC 8FB20020 */ lw $s2, 0x20($sp)
/* 465160 80218CD0 8FB1001C */ lw $s1, 0x1c($sp)
/* 465164 80218CD4 8FB00018 */ lw $s0, 0x18($sp)
/* 465168 80218CD8 D7B40030 */ ldc1 $f20, 0x30($sp)
/* 46516C 80218CDC 03E00008 */ jr $ra
/* 465170 80218CE0 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -1,142 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218880_512E50
/* 512E50 80218880 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 512E54 80218884 AFB20018 */ sw $s2, 0x18($sp)
/* 512E58 80218888 0080902D */ daddu $s2, $a0, $zero
/* 512E5C 8021888C AFBF001C */ sw $ra, 0x1c($sp)
/* 512E60 80218890 AFB10014 */ sw $s1, 0x14($sp)
/* 512E64 80218894 AFB00010 */ sw $s0, 0x10($sp)
/* 512E68 80218898 F7B40020 */ sdc1 $f20, 0x20($sp)
/* 512E6C 8021889C 10A00044 */ beqz $a1, .L802189B0
/* 512E70 802188A0 8E50000C */ lw $s0, 0xc($s2)
/* 512E74 802188A4 0C00AB39 */ jal heap_malloc
/* 512E78 802188A8 24040024 */ addiu $a0, $zero, 0x24
/* 512E7C 802188AC 0040882D */ daddu $s1, $v0, $zero
/* 512E80 802188B0 AE510070 */ sw $s1, 0x70($s2)
/* 512E84 802188B4 8E050000 */ lw $a1, ($s0)
/* 512E88 802188B8 26100004 */ addiu $s0, $s0, 4
/* 512E8C 802188BC 0C0B1EAF */ jal evt_get_variable
/* 512E90 802188C0 0240202D */ daddu $a0, $s2, $zero
/* 512E94 802188C4 AE220020 */ sw $v0, 0x20($s1)
/* 512E98 802188C8 8E050000 */ lw $a1, ($s0)
/* 512E9C 802188CC 26100004 */ addiu $s0, $s0, 4
/* 512EA0 802188D0 0C0B210B */ jal evt_get_float_variable
/* 512EA4 802188D4 0240202D */ daddu $a0, $s2, $zero
/* 512EA8 802188D8 E6200000 */ swc1 $f0, ($s1)
/* 512EAC 802188DC 8E050000 */ lw $a1, ($s0)
/* 512EB0 802188E0 26100004 */ addiu $s0, $s0, 4
/* 512EB4 802188E4 0C0B210B */ jal evt_get_float_variable
/* 512EB8 802188E8 0240202D */ daddu $a0, $s2, $zero
/* 512EBC 802188EC E6200004 */ swc1 $f0, 4($s1)
/* 512EC0 802188F0 8E050000 */ lw $a1, ($s0)
/* 512EC4 802188F4 26100004 */ addiu $s0, $s0, 4
/* 512EC8 802188F8 0C0B210B */ jal evt_get_float_variable
/* 512ECC 802188FC 0240202D */ daddu $a0, $s2, $zero
/* 512ED0 80218900 E6200008 */ swc1 $f0, 8($s1)
/* 512ED4 80218904 8E050000 */ lw $a1, ($s0)
/* 512ED8 80218908 26100004 */ addiu $s0, $s0, 4
/* 512EDC 8021890C 0C0B1EAF */ jal evt_get_variable
/* 512EE0 80218910 0240202D */ daddu $a0, $s2, $zero
/* 512EE4 80218914 AE22001C */ sw $v0, 0x1c($s1)
/* 512EE8 80218918 8E050000 */ lw $a1, ($s0)
/* 512EEC 8021891C 0C0B210B */ jal evt_get_float_variable
/* 512EF0 80218920 0240202D */ daddu $a0, $s2, $zero
/* 512EF4 80218924 8E240020 */ lw $a0, 0x20($s1)
/* 512EF8 80218928 0C04C3D6 */ jal get_item_entity
/* 512EFC 8021892C E6200010 */ swc1 $f0, 0x10($s1)
/* 512F00 80218930 0040802D */ daddu $s0, $v0, $zero
/* 512F04 80218934 C60C0008 */ lwc1 $f12, 8($s0)
/* 512F08 80218938 C60E0010 */ lwc1 $f14, 0x10($s0)
/* 512F0C 8021893C 8E260000 */ lw $a2, ($s1)
/* 512F10 80218940 0C00A7B5 */ jal dist2D
/* 512F14 80218944 8E270008 */ lw $a3, 8($s1)
/* 512F18 80218948 C60C0008 */ lwc1 $f12, 8($s0)
/* 512F1C 8021894C C60E0010 */ lwc1 $f14, 0x10($s0)
/* 512F20 80218950 8E260000 */ lw $a2, ($s1)
/* 512F24 80218954 8E270008 */ lw $a3, 8($s1)
/* 512F28 80218958 0C00A720 */ jal atan2
/* 512F2C 8021895C 46000506 */ mov.s $f20, $f0
/* 512F30 80218960 C6240010 */ lwc1 $f4, 0x10($s1)
/* 512F34 80218964 C626001C */ lwc1 $f6, 0x1c($s1)
/* 512F38 80218968 468031A0 */ cvt.s.w $f6, $f6
/* 512F3C 8021896C 46062102 */ mul.s $f4, $f4, $f6
/* 512F40 80218970 00000000 */ nop
/* 512F44 80218974 3C013F00 */ lui $at, 0x3f00
/* 512F48 80218978 44811000 */ mtc1 $at, $f2
/* 512F4C 8021897C 00000000 */ nop
/* 512F50 80218980 46022102 */ mul.s $f4, $f4, $f2
/* 512F54 80218984 00000000 */ nop
/* 512F58 80218988 E620000C */ swc1 $f0, 0xc($s1)
/* 512F5C 8021898C C6200004 */ lwc1 $f0, 4($s1)
/* 512F60 80218990 C602000C */ lwc1 $f2, 0xc($s0)
/* 512F64 80218994 46020001 */ sub.s $f0, $f0, $f2
/* 512F68 80218998 46003086 */ mov.s $f2, $f6
/* 512F6C 8021899C 46060003 */ div.s $f0, $f0, $f6
/* 512F70 802189A0 46002100 */ add.s $f4, $f4, $f0
/* 512F74 802189A4 4602A503 */ div.s $f20, $f20, $f2
/* 512F78 802189A8 E6340014 */ swc1 $f20, 0x14($s1)
/* 512F7C 802189AC E6240018 */ swc1 $f4, 0x18($s1)
.L802189B0:
/* 512F80 802189B0 8E510070 */ lw $s1, 0x70($s2)
/* 512F84 802189B4 0C04C3D6 */ jal get_item_entity
/* 512F88 802189B8 8E240020 */ lw $a0, 0x20($s1)
/* 512F8C 802189BC 0040802D */ daddu $s0, $v0, $zero
/* 512F90 802189C0 16000005 */ bnez $s0, .L802189D8
/* 512F94 802189C4 00000000 */ nop
/* 512F98 802189C8 0C00AB4B */ jal heap_free
/* 512F9C 802189CC 8E440070 */ lw $a0, 0x70($s2)
/* 512FA0 802189D0 0808629F */ j .L80218A7C
/* 512FA4 802189D4 24020002 */ addiu $v0, $zero, 2
.L802189D8:
/* 512FA8 802189D8 C62C000C */ lwc1 $f12, 0xc($s1)
/* 512FAC 802189DC 0C00A8BB */ jal sin_deg
/* 512FB0 802189E0 00000000 */ nop
/* 512FB4 802189E4 C6220014 */ lwc1 $f2, 0x14($s1)
/* 512FB8 802189E8 46001082 */ mul.s $f2, $f2, $f0
/* 512FBC 802189EC 00000000 */ nop
/* 512FC0 802189F0 C6000008 */ lwc1 $f0, 8($s0)
/* 512FC4 802189F4 46020000 */ add.s $f0, $f0, $f2
/* 512FC8 802189F8 E6000008 */ swc1 $f0, 8($s0)
/* 512FCC 802189FC 0C00A8D4 */ jal cos_deg
/* 512FD0 80218A00 C62C000C */ lwc1 $f12, 0xc($s1)
/* 512FD4 80218A04 C6220014 */ lwc1 $f2, 0x14($s1)
/* 512FD8 80218A08 46001082 */ mul.s $f2, $f2, $f0
/* 512FDC 80218A0C 00000000 */ nop
/* 512FE0 80218A10 C6000010 */ lwc1 $f0, 0x10($s0)
/* 512FE4 80218A14 46020001 */ sub.s $f0, $f0, $f2
/* 512FE8 80218A18 E6000010 */ swc1 $f0, 0x10($s0)
/* 512FEC 80218A1C C600000C */ lwc1 $f0, 0xc($s0)
/* 512FF0 80218A20 C6220018 */ lwc1 $f2, 0x18($s1)
/* 512FF4 80218A24 46020000 */ add.s $f0, $f0, $f2
/* 512FF8 80218A28 E600000C */ swc1 $f0, 0xc($s0)
/* 512FFC 80218A2C C6200018 */ lwc1 $f0, 0x18($s1)
/* 513000 80218A30 C6220010 */ lwc1 $f2, 0x10($s1)
/* 513004 80218A34 8E22001C */ lw $v0, 0x1c($s1)
/* 513008 80218A38 46020001 */ sub.s $f0, $f0, $f2
/* 51300C 80218A3C 2442FFFF */ addiu $v0, $v0, -1
/* 513010 80218A40 AE22001C */ sw $v0, 0x1c($s1)
/* 513014 80218A44 04400003 */ bltz $v0, .L80218A54
/* 513018 80218A48 E6200018 */ swc1 $f0, 0x18($s1)
/* 51301C 80218A4C 0808629F */ j .L80218A7C
/* 513020 80218A50 0000102D */ daddu $v0, $zero, $zero
.L80218A54:
/* 513024 80218A54 C6200000 */ lwc1 $f0, ($s1)
/* 513028 80218A58 E6000008 */ swc1 $f0, 8($s0)
/* 51302C 80218A5C C6200004 */ lwc1 $f0, 4($s1)
/* 513030 80218A60 E600000C */ swc1 $f0, 0xc($s0)
/* 513034 80218A64 C6200008 */ lwc1 $f0, 8($s1)
/* 513038 80218A68 E6000010 */ swc1 $f0, 0x10($s0)
/* 51303C 80218A6C AE200018 */ sw $zero, 0x18($s1)
/* 513040 80218A70 0C00AB4B */ jal heap_free
/* 513044 80218A74 8E440070 */ lw $a0, 0x70($s2)
/* 513048 80218A78 24020001 */ addiu $v0, $zero, 1
.L80218A7C:
/* 51304C 80218A7C 8FBF001C */ lw $ra, 0x1c($sp)
/* 513050 80218A80 8FB20018 */ lw $s2, 0x18($sp)
/* 513054 80218A84 8FB10014 */ lw $s1, 0x14($sp)
/* 513058 80218A88 8FB00010 */ lw $s0, 0x10($sp)
/* 51305C 80218A8C D7B40020 */ ldc1 $f20, 0x20($sp)
/* 513060 80218A90 03E00008 */ jr $ra
/* 513064 80218A94 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,41 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218098_52B738
/* 52B738 80218098 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 52B73C 8021809C AFB00010 */ sw $s0, 0x10($sp)
/* 52B740 802180A0 0080802D */ daddu $s0, $a0, $zero
/* 52B744 802180A4 10A00003 */ beqz $a1, .L802180B4
/* 52B748 802180A8 AFBF0014 */ sw $ra, 0x14($sp)
/* 52B74C 802180AC 24020014 */ addiu $v0, $zero, 0x14
/* 52B750 802180B0 AE020070 */ sw $v0, 0x70($s0)
.L802180B4:
/* 52B754 802180B4 0000202D */ daddu $a0, $zero, $zero
/* 52B758 802180B8 0080282D */ daddu $a1, $a0, $zero
/* 52B75C 802180BC 8E020070 */ lw $v0, 0x70($s0)
/* 52B760 802180C0 0080302D */ daddu $a2, $a0, $zero
/* 52B764 802180C4 00023880 */ sll $a3, $v0, 2
/* 52B768 802180C8 00E23821 */ addu $a3, $a3, $v0
/* 52B76C 802180CC 00073840 */ sll $a3, $a3, 1
/* 52B770 802180D0 0C046F97 */ jal set_background_color_blend
/* 52B774 802180D4 30E700FE */ andi $a3, $a3, 0xfe
/* 52B778 802180D8 8E020070 */ lw $v0, 0x70($s0)
/* 52B77C 802180DC 2442FFFF */ addiu $v0, $v0, -1
/* 52B780 802180E0 10400003 */ beqz $v0, .L802180F0
/* 52B784 802180E4 AE020070 */ sw $v0, 0x70($s0)
/* 52B788 802180E8 08086042 */ j .L80218108
/* 52B78C 802180EC 0000102D */ daddu $v0, $zero, $zero
.L802180F0:
/* 52B790 802180F0 0000202D */ daddu $a0, $zero, $zero
/* 52B794 802180F4 0080282D */ daddu $a1, $a0, $zero
/* 52B798 802180F8 0080302D */ daddu $a2, $a0, $zero
/* 52B79C 802180FC 0C046F97 */ jal set_background_color_blend
/* 52B7A0 80218100 0080382D */ daddu $a3, $a0, $zero
/* 52B7A4 80218104 24020002 */ addiu $v0, $zero, 2
.L80218108:
/* 52B7A8 80218108 8FBF0014 */ lw $ra, 0x14($sp)
/* 52B7AC 8021810C 8FB00010 */ lw $s0, 0x10($sp)
/* 52B7B0 80218110 03E00008 */ jr $ra
/* 52B7B4 80218114 27BD0018 */ addiu $sp, $sp, 0x18
/* 52B7B8 80218118 00000000 */ nop
/* 52B7BC 8021811C 00000000 */ nop

View File

@ -1,95 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218890_66A610
/* 66A610 80218890 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 66A614 80218894 AFB20020 */ sw $s2, 0x20($sp)
/* 66A618 80218898 0080902D */ daddu $s2, $a0, $zero
/* 66A61C 8021889C AFBF0028 */ sw $ra, 0x28($sp)
/* 66A620 802188A0 AFB30024 */ sw $s3, 0x24($sp)
/* 66A624 802188A4 AFB1001C */ sw $s1, 0x1c($sp)
/* 66A628 802188A8 AFB00018 */ sw $s0, 0x18($sp)
/* 66A62C 802188AC F7B40030 */ sdc1 $f20, 0x30($sp)
/* 66A630 802188B0 8E440148 */ lw $a0, 0x148($s2)
/* 66A634 802188B4 0C09A75B */ jal get_actor
/* 66A638 802188B8 00A0802D */ daddu $s0, $a1, $zero
/* 66A63C 802188BC 0040882D */ daddu $s1, $v0, $zero
/* 66A640 802188C0 12000002 */ beqz $s0, .L802188CC
/* 66A644 802188C4 2633000C */ addiu $s3, $s1, 0xc
/* 66A648 802188C8 AE400070 */ sw $zero, 0x70($s2)
.L802188CC:
/* 66A64C 802188CC 8E420070 */ lw $v0, 0x70($s2)
/* 66A650 802188D0 14400008 */ bnez $v0, .L802188F4
/* 66A654 802188D4 24020001 */ addiu $v0, $zero, 1
/* 66A658 802188D8 C6200144 */ lwc1 $f0, 0x144($s1)
/* 66A65C 802188DC C6220148 */ lwc1 $f2, 0x148($s1)
/* 66A660 802188E0 C624014C */ lwc1 $f4, 0x14c($s1)
/* 66A664 802188E4 E620000C */ swc1 $f0, 0xc($s1)
/* 66A668 802188E8 E6220010 */ swc1 $f2, 0x10($s1)
/* 66A66C 802188EC E6240014 */ swc1 $f4, 0x14($s1)
/* 66A670 802188F0 AE420070 */ sw $v0, 0x70($s2)
.L802188F4:
/* 66A674 802188F4 C6200050 */ lwc1 $f0, 0x50($s1)
/* 66A678 802188F8 4480A000 */ mtc1 $zero, $f20
/* 66A67C 802188FC 00000000 */ nop
/* 66A680 80218900 4600A03C */ c.lt.s $f20, $f0
/* 66A684 80218904 00000000 */ nop
/* 66A688 80218908 45000005 */ bc1f .L80218920
/* 66A68C 8021890C 2404FF81 */ addiu $a0, $zero, -0x7f
/* 66A690 80218910 8E260064 */ lw $a2, 0x64($s1)
/* 66A694 80218914 0C098F3F */ jal set_animation
/* 66A698 80218918 24050001 */ addiu $a1, $zero, 1
/* 66A69C 8021891C C6200050 */ lwc1 $f0, 0x50($s1)
.L80218920:
/* 66A6A0 80218920 4614003C */ c.lt.s $f0, $f20
/* 66A6A4 80218924 00000000 */ nop
/* 66A6A8 80218928 45000004 */ bc1f .L8021893C
/* 66A6AC 8021892C 2404FF81 */ addiu $a0, $zero, -0x7f
/* 66A6B0 80218930 8E260068 */ lw $a2, 0x68($s1)
/* 66A6B4 80218934 0C098F3F */ jal set_animation
/* 66A6B8 80218938 24050001 */ addiu $a1, $zero, 1
.L8021893C:
/* 66A6BC 8021893C C6240010 */ lwc1 $f4, 0x10($s1)
/* 66A6C0 80218940 C6200050 */ lwc1 $f0, 0x50($s1)
/* 66A6C4 80218944 8E25004C */ lw $a1, 0x4c($s1)
/* 66A6C8 80218948 46002100 */ add.s $f4, $f4, $f0
/* 66A6CC 8021894C C6220048 */ lwc1 $f2, 0x48($s1)
/* 66A6D0 80218950 8E260054 */ lw $a2, 0x54($s1)
/* 66A6D4 80218954 46020001 */ sub.s $f0, $f0, $f2
/* 66A6D8 80218958 0260202D */ daddu $a0, $s3, $zero
/* 66A6DC 8021895C E6240010 */ swc1 $f4, 0x10($s1)
/* 66A6E0 80218960 0C09904A */ jal add_xz_vec3f
/* 66A6E4 80218964 E6200050 */ swc1 $f0, 0x50($s1)
/* 66A6E8 80218968 C6200010 */ lwc1 $f0, 0x10($s1)
/* 66A6EC 8021896C C6220014 */ lwc1 $f2, 0x14($s1)
/* 66A6F0 80218970 E6200148 */ swc1 $f0, 0x148($s1)
/* 66A6F4 80218974 C620000C */ lwc1 $f0, 0xc($s1)
/* 66A6F8 80218978 C6240148 */ lwc1 $f4, 0x148($s1)
/* 66A6FC 8021897C E622014C */ swc1 $f2, 0x14c($s1)
/* 66A700 80218980 4614203C */ c.lt.s $f4, $f20
/* 66A704 80218984 00000000 */ nop
/* 66A708 80218988 45010003 */ bc1t .L80218998
/* 66A70C 8021898C E6200144 */ swc1 $f0, 0x144($s1)
/* 66A710 80218990 08086271 */ j .L802189C4
/* 66A714 80218994 0000102D */ daddu $v0, $zero, $zero
.L80218998:
/* 66A718 80218998 C620018C */ lwc1 $f0, 0x18c($s1)
/* 66A71C 8021899C E6340148 */ swc1 $f20, 0x148($s1)
/* 66A720 802189A0 E7A00010 */ swc1 $f0, 0x10($sp)
/* 66A724 802189A4 8E250144 */ lw $a1, 0x144($s1)
/* 66A728 802189A8 8E260148 */ lw $a2, 0x148($s1)
/* 66A72C 802189AC 8E27014C */ lw $a3, 0x14c($s1)
/* 66A730 802189B0 0C0990BC */ jal play_movement_dust_effects
/* 66A734 802189B4 24040002 */ addiu $a0, $zero, 2
/* 66A738 802189B8 0C05272D */ jal sfx_play_sound
/* 66A73C 802189BC 24040148 */ addiu $a0, $zero, 0x148
/* 66A740 802189C0 24020001 */ addiu $v0, $zero, 1
.L802189C4:
/* 66A744 802189C4 8FBF0028 */ lw $ra, 0x28($sp)
/* 66A748 802189C8 8FB30024 */ lw $s3, 0x24($sp)
/* 66A74C 802189CC 8FB20020 */ lw $s2, 0x20($sp)
/* 66A750 802189D0 8FB1001C */ lw $s1, 0x1c($sp)
/* 66A754 802189D4 8FB00018 */ lw $s0, 0x18($sp)
/* 66A758 802189D8 D7B40030 */ ldc1 $f20, 0x30($sp)
/* 66A75C 802189DC 03E00008 */ jr $ra
/* 66A760 802189E0 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -1,95 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218890_624430
/* 624430 80218890 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 624434 80218894 AFB20020 */ sw $s2, 0x20($sp)
/* 624438 80218898 0080902D */ daddu $s2, $a0, $zero
/* 62443C 8021889C AFBF0028 */ sw $ra, 0x28($sp)
/* 624440 802188A0 AFB30024 */ sw $s3, 0x24($sp)
/* 624444 802188A4 AFB1001C */ sw $s1, 0x1c($sp)
/* 624448 802188A8 AFB00018 */ sw $s0, 0x18($sp)
/* 62444C 802188AC F7B40030 */ sdc1 $f20, 0x30($sp)
/* 624450 802188B0 8E440148 */ lw $a0, 0x148($s2)
/* 624454 802188B4 0C09A75B */ jal get_actor
/* 624458 802188B8 00A0802D */ daddu $s0, $a1, $zero
/* 62445C 802188BC 0040882D */ daddu $s1, $v0, $zero
/* 624460 802188C0 12000002 */ beqz $s0, .L802188CC
/* 624464 802188C4 2633000C */ addiu $s3, $s1, 0xc
/* 624468 802188C8 AE400070 */ sw $zero, 0x70($s2)
.L802188CC:
/* 62446C 802188CC 8E420070 */ lw $v0, 0x70($s2)
/* 624470 802188D0 14400008 */ bnez $v0, .L802188F4
/* 624474 802188D4 24020001 */ addiu $v0, $zero, 1
/* 624478 802188D8 C6200144 */ lwc1 $f0, 0x144($s1)
/* 62447C 802188DC C6220148 */ lwc1 $f2, 0x148($s1)
/* 624480 802188E0 C624014C */ lwc1 $f4, 0x14c($s1)
/* 624484 802188E4 E620000C */ swc1 $f0, 0xc($s1)
/* 624488 802188E8 E6220010 */ swc1 $f2, 0x10($s1)
/* 62448C 802188EC E6240014 */ swc1 $f4, 0x14($s1)
/* 624490 802188F0 AE420070 */ sw $v0, 0x70($s2)
.L802188F4:
/* 624494 802188F4 C6200050 */ lwc1 $f0, 0x50($s1)
/* 624498 802188F8 4480A000 */ mtc1 $zero, $f20
/* 62449C 802188FC 00000000 */ nop
/* 6244A0 80218900 4600A03C */ c.lt.s $f20, $f0
/* 6244A4 80218904 00000000 */ nop
/* 6244A8 80218908 45000005 */ bc1f .L80218920
/* 6244AC 8021890C 2404FF81 */ addiu $a0, $zero, -0x7f
/* 6244B0 80218910 8E260064 */ lw $a2, 0x64($s1)
/* 6244B4 80218914 0C098F3F */ jal set_animation
/* 6244B8 80218918 24050001 */ addiu $a1, $zero, 1
/* 6244BC 8021891C C6200050 */ lwc1 $f0, 0x50($s1)
.L80218920:
/* 6244C0 80218920 4614003C */ c.lt.s $f0, $f20
/* 6244C4 80218924 00000000 */ nop
/* 6244C8 80218928 45000004 */ bc1f .L8021893C
/* 6244CC 8021892C 2404FF81 */ addiu $a0, $zero, -0x7f
/* 6244D0 80218930 8E260068 */ lw $a2, 0x68($s1)
/* 6244D4 80218934 0C098F3F */ jal set_animation
/* 6244D8 80218938 24050001 */ addiu $a1, $zero, 1
.L8021893C:
/* 6244DC 8021893C C6240010 */ lwc1 $f4, 0x10($s1)
/* 6244E0 80218940 C6200050 */ lwc1 $f0, 0x50($s1)
/* 6244E4 80218944 8E25004C */ lw $a1, 0x4c($s1)
/* 6244E8 80218948 46002100 */ add.s $f4, $f4, $f0
/* 6244EC 8021894C C6220048 */ lwc1 $f2, 0x48($s1)
/* 6244F0 80218950 8E260054 */ lw $a2, 0x54($s1)
/* 6244F4 80218954 46020001 */ sub.s $f0, $f0, $f2
/* 6244F8 80218958 0260202D */ daddu $a0, $s3, $zero
/* 6244FC 8021895C E6240010 */ swc1 $f4, 0x10($s1)
/* 624500 80218960 0C09904A */ jal add_xz_vec3f
/* 624504 80218964 E6200050 */ swc1 $f0, 0x50($s1)
/* 624508 80218968 C6200010 */ lwc1 $f0, 0x10($s1)
/* 62450C 8021896C C6220014 */ lwc1 $f2, 0x14($s1)
/* 624510 80218970 E6200148 */ swc1 $f0, 0x148($s1)
/* 624514 80218974 C620000C */ lwc1 $f0, 0xc($s1)
/* 624518 80218978 C6240148 */ lwc1 $f4, 0x148($s1)
/* 62451C 8021897C E622014C */ swc1 $f2, 0x14c($s1)
/* 624520 80218980 4614203C */ c.lt.s $f4, $f20
/* 624524 80218984 00000000 */ nop
/* 624528 80218988 45010003 */ bc1t .L80218998
/* 62452C 8021898C E6200144 */ swc1 $f0, 0x144($s1)
/* 624530 80218990 08086271 */ j .L802189C4
/* 624534 80218994 0000102D */ daddu $v0, $zero, $zero
.L80218998:
/* 624538 80218998 C620018C */ lwc1 $f0, 0x18c($s1)
/* 62453C 8021899C E6340148 */ swc1 $f20, 0x148($s1)
/* 624540 802189A0 E7A00010 */ swc1 $f0, 0x10($sp)
/* 624544 802189A4 8E250144 */ lw $a1, 0x144($s1)
/* 624548 802189A8 8E260148 */ lw $a2, 0x148($s1)
/* 62454C 802189AC 8E27014C */ lw $a3, 0x14c($s1)
/* 624550 802189B0 0C0990BC */ jal play_movement_dust_effects
/* 624554 802189B4 24040002 */ addiu $a0, $zero, 2
/* 624558 802189B8 0C05272D */ jal sfx_play_sound
/* 62455C 802189BC 24040148 */ addiu $a0, $zero, 0x148
/* 624560 802189C0 24020001 */ addiu $v0, $zero, 1
.L802189C4:
/* 624564 802189C4 8FBF0028 */ lw $ra, 0x28($sp)
/* 624568 802189C8 8FB30024 */ lw $s3, 0x24($sp)
/* 62456C 802189CC 8FB20020 */ lw $s2, 0x20($sp)
/* 624570 802189D0 8FB1001C */ lw $s1, 0x1c($sp)
/* 624574 802189D4 8FB00018 */ lw $s0, 0x18($sp)
/* 624578 802189D8 D7B40030 */ ldc1 $f20, 0x30($sp)
/* 62457C 802189DC 03E00008 */ jr $ra
/* 624580 802189E0 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -1,39 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218384_608E34
/* 608E34 80218384 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 608E38 80218388 AFB00010 */ sw $s0, 0x10($sp)
/* 608E3C 8021838C 0080802D */ daddu $s0, $a0, $zero
/* 608E40 80218390 10A00003 */ beqz $a1, .L802183A0
/* 608E44 80218394 AFBF0014 */ sw $ra, 0x14($sp)
/* 608E48 80218398 24020014 */ addiu $v0, $zero, 0x14
/* 608E4C 8021839C AE020070 */ sw $v0, 0x70($s0)
.L802183A0:
/* 608E50 802183A0 0000202D */ daddu $a0, $zero, $zero
/* 608E54 802183A4 0080282D */ daddu $a1, $a0, $zero
/* 608E58 802183A8 8E020070 */ lw $v0, 0x70($s0)
/* 608E5C 802183AC 0080302D */ daddu $a2, $a0, $zero
/* 608E60 802183B0 00023880 */ sll $a3, $v0, 2
/* 608E64 802183B4 00E23821 */ addu $a3, $a3, $v0
/* 608E68 802183B8 00073840 */ sll $a3, $a3, 1
/* 608E6C 802183BC 0C046F97 */ jal set_background_color_blend
/* 608E70 802183C0 30E700FE */ andi $a3, $a3, 0xfe
/* 608E74 802183C4 8E020070 */ lw $v0, 0x70($s0)
/* 608E78 802183C8 2442FFFF */ addiu $v0, $v0, -1
/* 608E7C 802183CC 10400003 */ beqz $v0, .L802183DC
/* 608E80 802183D0 AE020070 */ sw $v0, 0x70($s0)
/* 608E84 802183D4 080860FD */ j .L802183F4
/* 608E88 802183D8 0000102D */ daddu $v0, $zero, $zero
.L802183DC:
/* 608E8C 802183DC 0000202D */ daddu $a0, $zero, $zero
/* 608E90 802183E0 0080282D */ daddu $a1, $a0, $zero
/* 608E94 802183E4 0080302D */ daddu $a2, $a0, $zero
/* 608E98 802183E8 0C046F97 */ jal set_background_color_blend
/* 608E9C 802183EC 0080382D */ daddu $a3, $a0, $zero
/* 608EA0 802183F0 24020002 */ addiu $v0, $zero, 2
.L802183F4:
/* 608EA4 802183F4 8FBF0014 */ lw $ra, 0x14($sp)
/* 608EA8 802183F8 8FB00010 */ lw $s0, 0x10($sp)
/* 608EAC 802183FC 03E00008 */ jr $ra
/* 608EB0 80218400 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,39 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80218804_6092B4
/* 6092B4 80218804 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 6092B8 80218808 AFB00010 */ sw $s0, 0x10($sp)
/* 6092BC 8021880C 0080802D */ daddu $s0, $a0, $zero
/* 6092C0 80218810 10A00003 */ beqz $a1, .L80218820
/* 6092C4 80218814 AFBF0014 */ sw $ra, 0x14($sp)
/* 6092C8 80218818 24020014 */ addiu $v0, $zero, 0x14
/* 6092CC 8021881C AE020070 */ sw $v0, 0x70($s0)
.L80218820:
/* 6092D0 80218820 0000202D */ daddu $a0, $zero, $zero
/* 6092D4 80218824 0080282D */ daddu $a1, $a0, $zero
/* 6092D8 80218828 8E020070 */ lw $v0, 0x70($s0)
/* 6092DC 8021882C 0080302D */ daddu $a2, $a0, $zero
/* 6092E0 80218830 00023880 */ sll $a3, $v0, 2
/* 6092E4 80218834 00E23821 */ addu $a3, $a3, $v0
/* 6092E8 80218838 00073840 */ sll $a3, $a3, 1
/* 6092EC 8021883C 0C046F97 */ jal set_background_color_blend
/* 6092F0 80218840 30E700FE */ andi $a3, $a3, 0xfe
/* 6092F4 80218844 8E020070 */ lw $v0, 0x70($s0)
/* 6092F8 80218848 2442FFFF */ addiu $v0, $v0, -1
/* 6092FC 8021884C 10400003 */ beqz $v0, .L8021885C
/* 609300 80218850 AE020070 */ sw $v0, 0x70($s0)
/* 609304 80218854 0808621D */ j .L80218874
/* 609308 80218858 0000102D */ daddu $v0, $zero, $zero
.L8021885C:
/* 60930C 8021885C 0000202D */ daddu $a0, $zero, $zero
/* 609310 80218860 0080282D */ daddu $a1, $a0, $zero
/* 609314 80218864 0080302D */ daddu $a2, $a0, $zero
/* 609318 80218868 0C046F97 */ jal set_background_color_blend
/* 60931C 8021886C 0080382D */ daddu $a3, $a0, $zero
/* 609320 80218870 24020002 */ addiu $v0, $zero, 2
.L80218874:
/* 609324 80218874 8FBF0014 */ lw $ra, 0x14($sp)
/* 609328 80218878 8FB00010 */ lw $s0, 0x10($sp)
/* 60932C 8021887C 03E00008 */ jr $ra
/* 609330 80218880 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,54 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240A80_B451F0
/* B451F0 80240A80 27BDFFC8 */ addiu $sp, $sp, -0x38
/* B451F4 80240A84 AFB10014 */ sw $s1, 0x14($sp)
/* B451F8 80240A88 0080882D */ daddu $s1, $a0, $zero
/* B451FC 80240A8C AFBF001C */ sw $ra, 0x1c($sp)
/* B45200 80240A90 AFB20018 */ sw $s2, 0x18($sp)
/* B45204 80240A94 AFB00010 */ sw $s0, 0x10($sp)
/* B45208 80240A98 F7B80030 */ sdc1 $f24, 0x30($sp)
/* B4520C 80240A9C F7B60028 */ sdc1 $f22, 0x28($sp)
/* B45210 80240AA0 F7B40020 */ sdc1 $f20, 0x20($sp)
/* B45214 80240AA4 8E30000C */ lw $s0, 0xc($s1)
/* B45218 80240AA8 8E050000 */ lw $a1, ($s0)
/* B4521C 80240AAC 0C0B1EAF */ jal evt_get_variable
/* B45220 80240AB0 26100004 */ addiu $s0, $s0, 4
/* B45224 80240AB4 8E050000 */ lw $a1, ($s0)
/* B45228 80240AB8 26100004 */ addiu $s0, $s0, 4
/* B4522C 80240ABC 0220202D */ daddu $a0, $s1, $zero
/* B45230 80240AC0 0C0B1EAF */ jal evt_get_variable
/* B45234 80240AC4 0040902D */ daddu $s2, $v0, $zero
/* B45238 80240AC8 8E050000 */ lw $a1, ($s0)
/* B4523C 80240ACC 26100004 */ addiu $s0, $s0, 4
/* B45240 80240AD0 4482C000 */ mtc1 $v0, $f24
/* B45244 80240AD4 00000000 */ nop
/* B45248 80240AD8 4680C620 */ cvt.s.w $f24, $f24
/* B4524C 80240ADC 0C0B1EAF */ jal evt_get_variable
/* B45250 80240AE0 0220202D */ daddu $a0, $s1, $zero
/* B45254 80240AE4 8E050000 */ lw $a1, ($s0)
/* B45258 80240AE8 4482B000 */ mtc1 $v0, $f22
/* B4525C 80240AEC 00000000 */ nop
/* B45260 80240AF0 4680B5A0 */ cvt.s.w $f22, $f22
/* B45264 80240AF4 0C0B1EAF */ jal evt_get_variable
/* B45268 80240AF8 0220202D */ daddu $a0, $s1, $zero
/* B4526C 80240AFC 4482A000 */ mtc1 $v0, $f20
/* B45270 80240B00 00000000 */ nop
/* B45274 80240B04 4680A520 */ cvt.s.w $f20, $f20
/* B45278 80240B08 0C04417A */ jal get_entity_by_index
/* B4527C 80240B0C 0240202D */ daddu $a0, $s2, $zero
/* B45280 80240B10 0040182D */ daddu $v1, $v0, $zero
/* B45284 80240B14 E4780048 */ swc1 $f24, 0x48($v1)
/* B45288 80240B18 E476004C */ swc1 $f22, 0x4c($v1)
/* B4528C 80240B1C E4740050 */ swc1 $f20, 0x50($v1)
/* B45290 80240B20 8FBF001C */ lw $ra, 0x1c($sp)
/* B45294 80240B24 8FB20018 */ lw $s2, 0x18($sp)
/* B45298 80240B28 8FB10014 */ lw $s1, 0x14($sp)
/* B4529C 80240B2C 8FB00010 */ lw $s0, 0x10($sp)
/* B452A0 80240B30 D7B80030 */ ldc1 $f24, 0x30($sp)
/* B452A4 80240B34 D7B60028 */ ldc1 $f22, 0x28($sp)
/* B452A8 80240B38 D7B40020 */ ldc1 $f20, 0x20($sp)
/* B452AC 80240B3C 24020002 */ addiu $v0, $zero, 2
/* B452B0 80240B40 03E00008 */ jr $ra
/* B452B4 80240B44 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -1,54 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802400FC_B06AFC
/* B06AFC 802400FC 27BDFFC8 */ addiu $sp, $sp, -0x38
/* B06B00 80240100 AFB10014 */ sw $s1, 0x14($sp)
/* B06B04 80240104 0080882D */ daddu $s1, $a0, $zero
/* B06B08 80240108 AFBF001C */ sw $ra, 0x1c($sp)
/* B06B0C 8024010C AFB20018 */ sw $s2, 0x18($sp)
/* B06B10 80240110 AFB00010 */ sw $s0, 0x10($sp)
/* B06B14 80240114 F7B80030 */ sdc1 $f24, 0x30($sp)
/* B06B18 80240118 F7B60028 */ sdc1 $f22, 0x28($sp)
/* B06B1C 8024011C F7B40020 */ sdc1 $f20, 0x20($sp)
/* B06B20 80240120 8E30000C */ lw $s0, 0xc($s1)
/* B06B24 80240124 8E050000 */ lw $a1, ($s0)
/* B06B28 80240128 0C0B1EAF */ jal evt_get_variable
/* B06B2C 8024012C 26100004 */ addiu $s0, $s0, 4
/* B06B30 80240130 8E050000 */ lw $a1, ($s0)
/* B06B34 80240134 26100004 */ addiu $s0, $s0, 4
/* B06B38 80240138 0220202D */ daddu $a0, $s1, $zero
/* B06B3C 8024013C 0C0B1EAF */ jal evt_get_variable
/* B06B40 80240140 0040902D */ daddu $s2, $v0, $zero
/* B06B44 80240144 8E050000 */ lw $a1, ($s0)
/* B06B48 80240148 26100004 */ addiu $s0, $s0, 4
/* B06B4C 8024014C 4482C000 */ mtc1 $v0, $f24
/* B06B50 80240150 00000000 */ nop
/* B06B54 80240154 4680C620 */ cvt.s.w $f24, $f24
/* B06B58 80240158 0C0B1EAF */ jal evt_get_variable
/* B06B5C 8024015C 0220202D */ daddu $a0, $s1, $zero
/* B06B60 80240160 8E050000 */ lw $a1, ($s0)
/* B06B64 80240164 4482B000 */ mtc1 $v0, $f22
/* B06B68 80240168 00000000 */ nop
/* B06B6C 8024016C 4680B5A0 */ cvt.s.w $f22, $f22
/* B06B70 80240170 0C0B1EAF */ jal evt_get_variable
/* B06B74 80240174 0220202D */ daddu $a0, $s1, $zero
/* B06B78 80240178 4482A000 */ mtc1 $v0, $f20
/* B06B7C 8024017C 00000000 */ nop
/* B06B80 80240180 4680A520 */ cvt.s.w $f20, $f20
/* B06B84 80240184 0C04417A */ jal get_entity_by_index
/* B06B88 80240188 0240202D */ daddu $a0, $s2, $zero
/* B06B8C 8024018C 0040182D */ daddu $v1, $v0, $zero
/* B06B90 80240190 E4780048 */ swc1 $f24, 0x48($v1)
/* B06B94 80240194 E476004C */ swc1 $f22, 0x4c($v1)
/* B06B98 80240198 E4740050 */ swc1 $f20, 0x50($v1)
/* B06B9C 8024019C 8FBF001C */ lw $ra, 0x1c($sp)
/* B06BA0 802401A0 8FB20018 */ lw $s2, 0x18($sp)
/* B06BA4 802401A4 8FB10014 */ lw $s1, 0x14($sp)
/* B06BA8 802401A8 8FB00010 */ lw $s0, 0x10($sp)
/* B06BAC 802401AC D7B80030 */ ldc1 $f24, 0x30($sp)
/* B06BB0 802401B0 D7B60028 */ ldc1 $f22, 0x28($sp)
/* B06BB4 802401B4 D7B40020 */ ldc1 $f20, 0x20($sp)
/* B06BB8 802401B8 24020002 */ addiu $v0, $zero, 2
/* B06BBC 802401BC 03E00008 */ jr $ra
/* B06BC0 802401C0 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -1,54 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802433AC_8B341C
/* 8B341C 802433AC 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 8B3420 802433B0 AFB10014 */ sw $s1, 0x14($sp)
/* 8B3424 802433B4 0080882D */ daddu $s1, $a0, $zero
/* 8B3428 802433B8 AFBF001C */ sw $ra, 0x1c($sp)
/* 8B342C 802433BC AFB20018 */ sw $s2, 0x18($sp)
/* 8B3430 802433C0 AFB00010 */ sw $s0, 0x10($sp)
/* 8B3434 802433C4 F7B80030 */ sdc1 $f24, 0x30($sp)
/* 8B3438 802433C8 F7B60028 */ sdc1 $f22, 0x28($sp)
/* 8B343C 802433CC F7B40020 */ sdc1 $f20, 0x20($sp)
/* 8B3440 802433D0 8E30000C */ lw $s0, 0xc($s1)
/* 8B3444 802433D4 8E050000 */ lw $a1, ($s0)
/* 8B3448 802433D8 0C0B1EAF */ jal evt_get_variable
/* 8B344C 802433DC 26100004 */ addiu $s0, $s0, 4
/* 8B3450 802433E0 8E050000 */ lw $a1, ($s0)
/* 8B3454 802433E4 26100004 */ addiu $s0, $s0, 4
/* 8B3458 802433E8 0220202D */ daddu $a0, $s1, $zero
/* 8B345C 802433EC 0C0B1EAF */ jal evt_get_variable
/* 8B3460 802433F0 0040902D */ daddu $s2, $v0, $zero
/* 8B3464 802433F4 8E050000 */ lw $a1, ($s0)
/* 8B3468 802433F8 26100004 */ addiu $s0, $s0, 4
/* 8B346C 802433FC 4482C000 */ mtc1 $v0, $f24
/* 8B3470 80243400 00000000 */ nop
/* 8B3474 80243404 4680C620 */ cvt.s.w $f24, $f24
/* 8B3478 80243408 0C0B1EAF */ jal evt_get_variable
/* 8B347C 8024340C 0220202D */ daddu $a0, $s1, $zero
/* 8B3480 80243410 8E050000 */ lw $a1, ($s0)
/* 8B3484 80243414 4482B000 */ mtc1 $v0, $f22
/* 8B3488 80243418 00000000 */ nop
/* 8B348C 8024341C 4680B5A0 */ cvt.s.w $f22, $f22
/* 8B3490 80243420 0C0B1EAF */ jal evt_get_variable
/* 8B3494 80243424 0220202D */ daddu $a0, $s1, $zero
/* 8B3498 80243428 4482A000 */ mtc1 $v0, $f20
/* 8B349C 8024342C 00000000 */ nop
/* 8B34A0 80243430 4680A520 */ cvt.s.w $f20, $f20
/* 8B34A4 80243434 0C04417A */ jal get_entity_by_index
/* 8B34A8 80243438 0240202D */ daddu $a0, $s2, $zero
/* 8B34AC 8024343C 0040182D */ daddu $v1, $v0, $zero
/* 8B34B0 80243440 E4780048 */ swc1 $f24, 0x48($v1)
/* 8B34B4 80243444 E476004C */ swc1 $f22, 0x4c($v1)
/* 8B34B8 80243448 E4740050 */ swc1 $f20, 0x50($v1)
/* 8B34BC 8024344C 8FBF001C */ lw $ra, 0x1c($sp)
/* 8B34C0 80243450 8FB20018 */ lw $s2, 0x18($sp)
/* 8B34C4 80243454 8FB10014 */ lw $s1, 0x14($sp)
/* 8B34C8 80243458 8FB00010 */ lw $s0, 0x10($sp)
/* 8B34CC 8024345C D7B80030 */ ldc1 $f24, 0x30($sp)
/* 8B34D0 80243460 D7B60028 */ ldc1 $f22, 0x28($sp)
/* 8B34D4 80243464 D7B40020 */ ldc1 $f20, 0x20($sp)
/* 8B34D8 80243468 24020002 */ addiu $v0, $zero, 2
/* 8B34DC 8024346C 03E00008 */ jr $ra
/* 8B34E0 80243470 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -1,87 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.section .rodata
glabel D_80257F08_8C7F78
.double 990.0
.section .text
glabel func_80243514_8B3584
/* 8B3584 80243514 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 8B3588 80243518 AFB20018 */ sw $s2, 0x18($sp)
/* 8B358C 8024351C 0080902D */ daddu $s2, $a0, $zero
/* 8B3590 80243520 AFBF001C */ sw $ra, 0x1c($sp)
/* 8B3594 80243524 AFB10014 */ sw $s1, 0x14($sp)
/* 8B3598 80243528 AFB00010 */ sw $s0, 0x10($sp)
/* 8B359C 8024352C 8E4400AC */ lw $a0, 0xac($s2)
/* 8B35A0 80243530 0C04417A */ jal get_entity_by_index
/* 8B35A4 80243534 00A0802D */ daddu $s0, $a1, $zero
/* 8B35A8 80243538 12000004 */ beqz $s0, .L8024354C
/* 8B35AC 8024353C 0040882D */ daddu $s1, $v0, $zero
/* 8B35B0 80243540 2402003C */ addiu $v0, $zero, 0x3c
/* 8B35B4 80243544 AE400070 */ sw $zero, 0x70($s2)
/* 8B35B8 80243548 AE420074 */ sw $v0, 0x74($s2)
.L8024354C:
/* 8B35BC 8024354C 2403003C */ addiu $v1, $zero, 0x3c
/* 8B35C0 80243550 8E420074 */ lw $v0, 0x74($s2)
/* 8B35C4 80243554 3C014270 */ lui $at, 0x4270
/* 8B35C8 80243558 44811000 */ mtc1 $at, $f2
/* 8B35CC 8024355C 00621023 */ subu $v0, $v1, $v0
/* 8B35D0 80243560 44820000 */ mtc1 $v0, $f0
/* 8B35D4 80243564 00000000 */ nop
/* 8B35D8 80243568 46800020 */ cvt.s.w $f0, $f0
/* 8B35DC 8024356C 46020003 */ div.s $f0, $f0, $f2
/* 8B35E0 80243570 E6200054 */ swc1 $f0, 0x54($s1)
/* 8B35E4 80243574 8E420074 */ lw $v0, 0x74($s2)
/* 8B35E8 80243578 3C014049 */ lui $at, 0x4049
/* 8B35EC 8024357C 34210FD8 */ ori $at, $at, 0xfd8
/* 8B35F0 80243580 44816000 */ mtc1 $at, $f12
/* 8B35F4 80243584 00621023 */ subu $v0, $v1, $v0
/* 8B35F8 80243588 44820000 */ mtc1 $v0, $f0
/* 8B35FC 8024358C 00000000 */ nop
/* 8B3600 80243590 46800020 */ cvt.s.w $f0, $f0
/* 8B3604 80243594 46020003 */ div.s $f0, $f0, $f2
/* 8B3608 80243598 E6200058 */ swc1 $f0, 0x58($s1)
/* 8B360C 8024359C 8E420074 */ lw $v0, 0x74($s2)
/* 8B3610 802435A0 460C0302 */ mul.s $f12, $f0, $f12
/* 8B3614 802435A4 00000000 */ nop
/* 8B3618 802435A8 00621823 */ subu $v1, $v1, $v0
/* 8B361C 802435AC 44830000 */ mtc1 $v1, $f0
/* 8B3620 802435B0 00000000 */ nop
/* 8B3624 802435B4 46800020 */ cvt.s.w $f0, $f0
/* 8B3628 802435B8 46020003 */ div.s $f0, $f0, $f2
/* 8B362C 802435BC 0C00A874 */ jal cos_rad
/* 8B3630 802435C0 E620005C */ swc1 $f0, 0x5c($s1)
/* 8B3634 802435C4 3C013F80 */ lui $at, 0x3f80
/* 8B3638 802435C8 44811000 */ mtc1 $at, $f2
/* 8B363C 802435CC 00000000 */ nop
/* 8B3640 802435D0 46001081 */ sub.s $f2, $f2, $f0
/* 8B3644 802435D4 3C018025 */ lui $at, %hi(D_80257F08_8C7F78)
/* 8B3648 802435D8 D4207F08 */ ldc1 $f0, %lo(D_80257F08_8C7F78)($at)
/* 8B364C 802435DC 460010A1 */ cvt.d.s $f2, $f2
/* 8B3650 802435E0 46201082 */ mul.d $f2, $f2, $f0
/* 8B3654 802435E4 00000000 */ nop
/* 8B3658 802435E8 3C013FE0 */ lui $at, 0x3fe0
/* 8B365C 802435EC 44810800 */ mtc1 $at, $f1
/* 8B3660 802435F0 44800000 */ mtc1 $zero, $f0
/* 8B3664 802435F4 00000000 */ nop
/* 8B3668 802435F8 46201082 */ mul.d $f2, $f2, $f0
/* 8B366C 802435FC 00000000 */ nop
/* 8B3670 80243600 462010A0 */ cvt.s.d $f2, $f2
/* 8B3674 80243604 E6220064 */ swc1 $f2, 0x64($s1)
/* 8B3678 80243608 8E430074 */ lw $v1, 0x74($s2)
/* 8B367C 8024360C 2463FFFF */ addiu $v1, $v1, -1
/* 8B3680 80243610 00031027 */ nor $v0, $zero, $v1
/* 8B3684 80243614 2C420001 */ sltiu $v0, $v0, 1
/* 8B3688 80243618 AE430074 */ sw $v1, 0x74($s2)
/* 8B368C 8024361C 8FBF001C */ lw $ra, 0x1c($sp)
/* 8B3690 80243620 8FB20018 */ lw $s2, 0x18($sp)
/* 8B3694 80243624 8FB10014 */ lw $s1, 0x14($sp)
/* 8B3698 80243628 8FB00010 */ lw $s0, 0x10($sp)
/* 8B369C 8024362C 00021040 */ sll $v0, $v0, 1
/* 8B36A0 80243630 03E00008 */ jr $ra
/* 8B36A4 80243634 27BD0020 */ addiu $sp, $sp, 0x20
/* 8B36A8 80243638 00000000 */ nop
/* 8B36AC 8024363C 00000000 */ nop

View File

@ -1,54 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240310_C9C610
/* C9C610 80240310 27BDFFC8 */ addiu $sp, $sp, -0x38
/* C9C614 80240314 AFB10014 */ sw $s1, 0x14($sp)
/* C9C618 80240318 0080882D */ daddu $s1, $a0, $zero
/* C9C61C 8024031C AFBF001C */ sw $ra, 0x1c($sp)
/* C9C620 80240320 AFB20018 */ sw $s2, 0x18($sp)
/* C9C624 80240324 AFB00010 */ sw $s0, 0x10($sp)
/* C9C628 80240328 F7B80030 */ sdc1 $f24, 0x30($sp)
/* C9C62C 8024032C F7B60028 */ sdc1 $f22, 0x28($sp)
/* C9C630 80240330 F7B40020 */ sdc1 $f20, 0x20($sp)
/* C9C634 80240334 8E30000C */ lw $s0, 0xc($s1)
/* C9C638 80240338 8E050000 */ lw $a1, ($s0)
/* C9C63C 8024033C 0C0B1EAF */ jal evt_get_variable
/* C9C640 80240340 26100004 */ addiu $s0, $s0, 4
/* C9C644 80240344 8E050000 */ lw $a1, ($s0)
/* C9C648 80240348 26100004 */ addiu $s0, $s0, 4
/* C9C64C 8024034C 0220202D */ daddu $a0, $s1, $zero
/* C9C650 80240350 0C0B1EAF */ jal evt_get_variable
/* C9C654 80240354 0040902D */ daddu $s2, $v0, $zero
/* C9C658 80240358 8E050000 */ lw $a1, ($s0)
/* C9C65C 8024035C 26100004 */ addiu $s0, $s0, 4
/* C9C660 80240360 4482C000 */ mtc1 $v0, $f24
/* C9C664 80240364 00000000 */ nop
/* C9C668 80240368 4680C620 */ cvt.s.w $f24, $f24
/* C9C66C 8024036C 0C0B1EAF */ jal evt_get_variable
/* C9C670 80240370 0220202D */ daddu $a0, $s1, $zero
/* C9C674 80240374 8E050000 */ lw $a1, ($s0)
/* C9C678 80240378 4482B000 */ mtc1 $v0, $f22
/* C9C67C 8024037C 00000000 */ nop
/* C9C680 80240380 4680B5A0 */ cvt.s.w $f22, $f22
/* C9C684 80240384 0C0B1EAF */ jal evt_get_variable
/* C9C688 80240388 0220202D */ daddu $a0, $s1, $zero
/* C9C68C 8024038C 4482A000 */ mtc1 $v0, $f20
/* C9C690 80240390 00000000 */ nop
/* C9C694 80240394 4680A520 */ cvt.s.w $f20, $f20
/* C9C698 80240398 0C04417A */ jal get_entity_by_index
/* C9C69C 8024039C 0240202D */ daddu $a0, $s2, $zero
/* C9C6A0 802403A0 0040182D */ daddu $v1, $v0, $zero
/* C9C6A4 802403A4 E4780048 */ swc1 $f24, 0x48($v1)
/* C9C6A8 802403A8 E476004C */ swc1 $f22, 0x4c($v1)
/* C9C6AC 802403AC E4740050 */ swc1 $f20, 0x50($v1)
/* C9C6B0 802403B0 8FBF001C */ lw $ra, 0x1c($sp)
/* C9C6B4 802403B4 8FB20018 */ lw $s2, 0x18($sp)
/* C9C6B8 802403B8 8FB10014 */ lw $s1, 0x14($sp)
/* C9C6BC 802403BC 8FB00010 */ lw $s0, 0x10($sp)
/* C9C6C0 802403C0 D7B80030 */ ldc1 $f24, 0x30($sp)
/* C9C6C4 802403C4 D7B60028 */ ldc1 $f22, 0x28($sp)
/* C9C6C8 802403C8 D7B40020 */ ldc1 $f20, 0x20($sp)
/* C9C6CC 802403CC 24020002 */ addiu $v0, $zero, 2
/* C9C6D0 802403D0 03E00008 */ jr $ra
/* C9C6D4 802403D4 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -1,144 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240750_9D7770
/* 9D7770 80240750 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 9D7774 80240754 AFB20018 */ sw $s2, 0x18($sp)
/* 9D7778 80240758 0080902D */ daddu $s2, $a0, $zero
/* 9D777C 8024075C AFBF001C */ sw $ra, 0x1c($sp)
/* 9D7780 80240760 AFB10014 */ sw $s1, 0x14($sp)
/* 9D7784 80240764 AFB00010 */ sw $s0, 0x10($sp)
/* 9D7788 80240768 F7B40020 */ sdc1 $f20, 0x20($sp)
/* 9D778C 8024076C 10A00044 */ beqz $a1, .L80240880
/* 9D7790 80240770 8E50000C */ lw $s0, 0xc($s2)
/* 9D7794 80240774 0C00AB39 */ jal heap_malloc
/* 9D7798 80240778 24040024 */ addiu $a0, $zero, 0x24
/* 9D779C 8024077C 0040882D */ daddu $s1, $v0, $zero
/* 9D77A0 80240780 AE510070 */ sw $s1, 0x70($s2)
/* 9D77A4 80240784 8E050000 */ lw $a1, ($s0)
/* 9D77A8 80240788 26100004 */ addiu $s0, $s0, 4
/* 9D77AC 8024078C 0C0B1EAF */ jal evt_get_variable
/* 9D77B0 80240790 0240202D */ daddu $a0, $s2, $zero
/* 9D77B4 80240794 AE220020 */ sw $v0, 0x20($s1)
/* 9D77B8 80240798 8E050000 */ lw $a1, ($s0)
/* 9D77BC 8024079C 26100004 */ addiu $s0, $s0, 4
/* 9D77C0 802407A0 0C0B210B */ jal evt_get_float_variable
/* 9D77C4 802407A4 0240202D */ daddu $a0, $s2, $zero
/* 9D77C8 802407A8 E6200000 */ swc1 $f0, ($s1)
/* 9D77CC 802407AC 8E050000 */ lw $a1, ($s0)
/* 9D77D0 802407B0 26100004 */ addiu $s0, $s0, 4
/* 9D77D4 802407B4 0C0B210B */ jal evt_get_float_variable
/* 9D77D8 802407B8 0240202D */ daddu $a0, $s2, $zero
/* 9D77DC 802407BC E6200004 */ swc1 $f0, 4($s1)
/* 9D77E0 802407C0 8E050000 */ lw $a1, ($s0)
/* 9D77E4 802407C4 26100004 */ addiu $s0, $s0, 4
/* 9D77E8 802407C8 0C0B210B */ jal evt_get_float_variable
/* 9D77EC 802407CC 0240202D */ daddu $a0, $s2, $zero
/* 9D77F0 802407D0 E6200008 */ swc1 $f0, 8($s1)
/* 9D77F4 802407D4 8E050000 */ lw $a1, ($s0)
/* 9D77F8 802407D8 26100004 */ addiu $s0, $s0, 4
/* 9D77FC 802407DC 0C0B1EAF */ jal evt_get_variable
/* 9D7800 802407E0 0240202D */ daddu $a0, $s2, $zero
/* 9D7804 802407E4 AE22001C */ sw $v0, 0x1c($s1)
/* 9D7808 802407E8 8E050000 */ lw $a1, ($s0)
/* 9D780C 802407EC 0C0B210B */ jal evt_get_float_variable
/* 9D7810 802407F0 0240202D */ daddu $a0, $s2, $zero
/* 9D7814 802407F4 8E240020 */ lw $a0, 0x20($s1)
/* 9D7818 802407F8 0C04C3D6 */ jal get_item_entity
/* 9D781C 802407FC E6200010 */ swc1 $f0, 0x10($s1)
/* 9D7820 80240800 0040802D */ daddu $s0, $v0, $zero
/* 9D7824 80240804 C60C0008 */ lwc1 $f12, 8($s0)
/* 9D7828 80240808 C60E0010 */ lwc1 $f14, 0x10($s0)
/* 9D782C 8024080C 8E260000 */ lw $a2, ($s1)
/* 9D7830 80240810 0C00A7B5 */ jal dist2D
/* 9D7834 80240814 8E270008 */ lw $a3, 8($s1)
/* 9D7838 80240818 C60C0008 */ lwc1 $f12, 8($s0)
/* 9D783C 8024081C C60E0010 */ lwc1 $f14, 0x10($s0)
/* 9D7840 80240820 8E260000 */ lw $a2, ($s1)
/* 9D7844 80240824 8E270008 */ lw $a3, 8($s1)
/* 9D7848 80240828 0C00A720 */ jal atan2
/* 9D784C 8024082C 46000506 */ mov.s $f20, $f0
/* 9D7850 80240830 C6240010 */ lwc1 $f4, 0x10($s1)
/* 9D7854 80240834 C626001C */ lwc1 $f6, 0x1c($s1)
/* 9D7858 80240838 468031A0 */ cvt.s.w $f6, $f6
/* 9D785C 8024083C 46062102 */ mul.s $f4, $f4, $f6
/* 9D7860 80240840 00000000 */ nop
/* 9D7864 80240844 3C013F00 */ lui $at, 0x3f00
/* 9D7868 80240848 44811000 */ mtc1 $at, $f2
/* 9D786C 8024084C 00000000 */ nop
/* 9D7870 80240850 46022102 */ mul.s $f4, $f4, $f2
/* 9D7874 80240854 00000000 */ nop
/* 9D7878 80240858 E620000C */ swc1 $f0, 0xc($s1)
/* 9D787C 8024085C C6200004 */ lwc1 $f0, 4($s1)
/* 9D7880 80240860 C602000C */ lwc1 $f2, 0xc($s0)
/* 9D7884 80240864 46020001 */ sub.s $f0, $f0, $f2
/* 9D7888 80240868 46003086 */ mov.s $f2, $f6
/* 9D788C 8024086C 46060003 */ div.s $f0, $f0, $f6
/* 9D7890 80240870 46002100 */ add.s $f4, $f4, $f0
/* 9D7894 80240874 4602A503 */ div.s $f20, $f20, $f2
/* 9D7898 80240878 E6340014 */ swc1 $f20, 0x14($s1)
/* 9D789C 8024087C E6240018 */ swc1 $f4, 0x18($s1)
.L80240880:
/* 9D78A0 80240880 8E510070 */ lw $s1, 0x70($s2)
/* 9D78A4 80240884 0C04C3D6 */ jal get_item_entity
/* 9D78A8 80240888 8E240020 */ lw $a0, 0x20($s1)
/* 9D78AC 8024088C 0040802D */ daddu $s0, $v0, $zero
/* 9D78B0 80240890 16000005 */ bnez $s0, .L802408A8
/* 9D78B4 80240894 00000000 */ nop
/* 9D78B8 80240898 0C00AB4B */ jal heap_free
/* 9D78BC 8024089C 8E440070 */ lw $a0, 0x70($s2)
/* 9D78C0 802408A0 08090253 */ j .L8024094C
/* 9D78C4 802408A4 24020002 */ addiu $v0, $zero, 2
.L802408A8:
/* 9D78C8 802408A8 C62C000C */ lwc1 $f12, 0xc($s1)
/* 9D78CC 802408AC 0C00A8BB */ jal sin_deg
/* 9D78D0 802408B0 00000000 */ nop
/* 9D78D4 802408B4 C6220014 */ lwc1 $f2, 0x14($s1)
/* 9D78D8 802408B8 46001082 */ mul.s $f2, $f2, $f0
/* 9D78DC 802408BC 00000000 */ nop
/* 9D78E0 802408C0 C6000008 */ lwc1 $f0, 8($s0)
/* 9D78E4 802408C4 46020000 */ add.s $f0, $f0, $f2
/* 9D78E8 802408C8 E6000008 */ swc1 $f0, 8($s0)
/* 9D78EC 802408CC 0C00A8D4 */ jal cos_deg
/* 9D78F0 802408D0 C62C000C */ lwc1 $f12, 0xc($s1)
/* 9D78F4 802408D4 C6220014 */ lwc1 $f2, 0x14($s1)
/* 9D78F8 802408D8 46001082 */ mul.s $f2, $f2, $f0
/* 9D78FC 802408DC 00000000 */ nop
/* 9D7900 802408E0 C6000010 */ lwc1 $f0, 0x10($s0)
/* 9D7904 802408E4 46020001 */ sub.s $f0, $f0, $f2
/* 9D7908 802408E8 E6000010 */ swc1 $f0, 0x10($s0)
/* 9D790C 802408EC C600000C */ lwc1 $f0, 0xc($s0)
/* 9D7910 802408F0 C6220018 */ lwc1 $f2, 0x18($s1)
/* 9D7914 802408F4 46020000 */ add.s $f0, $f0, $f2
/* 9D7918 802408F8 E600000C */ swc1 $f0, 0xc($s0)
/* 9D791C 802408FC C6200018 */ lwc1 $f0, 0x18($s1)
/* 9D7920 80240900 C6220010 */ lwc1 $f2, 0x10($s1)
/* 9D7924 80240904 8E22001C */ lw $v0, 0x1c($s1)
/* 9D7928 80240908 46020001 */ sub.s $f0, $f0, $f2
/* 9D792C 8024090C 2442FFFF */ addiu $v0, $v0, -1
/* 9D7930 80240910 AE22001C */ sw $v0, 0x1c($s1)
/* 9D7934 80240914 04400003 */ bltz $v0, .L80240924
/* 9D7938 80240918 E6200018 */ swc1 $f0, 0x18($s1)
/* 9D793C 8024091C 08090253 */ j .L8024094C
/* 9D7940 80240920 0000102D */ daddu $v0, $zero, $zero
.L80240924:
/* 9D7944 80240924 C6200000 */ lwc1 $f0, ($s1)
/* 9D7948 80240928 E6000008 */ swc1 $f0, 8($s0)
/* 9D794C 8024092C C6200004 */ lwc1 $f0, 4($s1)
/* 9D7950 80240930 E600000C */ swc1 $f0, 0xc($s0)
/* 9D7954 80240934 C6200008 */ lwc1 $f0, 8($s1)
/* 9D7958 80240938 E6000010 */ swc1 $f0, 0x10($s0)
/* 9D795C 8024093C AE200018 */ sw $zero, 0x18($s1)
/* 9D7960 80240940 0C00AB4B */ jal heap_free
/* 9D7964 80240944 8E440070 */ lw $a0, 0x70($s2)
/* 9D7968 80240948 24020001 */ addiu $v0, $zero, 1
.L8024094C:
/* 9D796C 8024094C 8FBF001C */ lw $ra, 0x1c($sp)
/* 9D7970 80240950 8FB20018 */ lw $s2, 0x18($sp)
/* 9D7974 80240954 8FB10014 */ lw $s1, 0x14($sp)
/* 9D7978 80240958 8FB00010 */ lw $s0, 0x10($sp)
/* 9D797C 8024095C D7B40020 */ ldc1 $f20, 0x20($sp)
/* 9D7980 80240960 03E00008 */ jr $ra
/* 9D7984 80240964 27BD0028 */ addiu $sp, $sp, 0x28
/* 9D7988 80240968 00000000 */ nop
/* 9D798C 8024096C 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_80241F30_9F6970
/* 9F6970 80241F30 3C038011 */ lui $v1, %hi(gPlayerData)
/* 9F6974 80241F34 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
/* 9F6978 80241F38 9462000C */ lhu $v0, 0xc($v1)
/* 9F697C 80241F3C 2442FF9C */ addiu $v0, $v0, -0x64
/* 9F6980 80241F40 A462000C */ sh $v0, 0xc($v1)
/* 9F6984 80241F44 03E00008 */ jr $ra
/* 9F6988 80241F48 24020002 */ addiu $v0, $zero, 2
/* 9F698C 80241F4C 00000000 */ nop

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