mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
Pigs and speech bubbles 🐽 💬 (#767)
* lil_oink effect * oink map funcs * fix build to not be big * machi funcs * mac func * data migration * draw_shop_items * e20eb0.c funcs + data * warnings * PR warnings and cleanup
This commit is contained in:
parent
64083a6748
commit
0094fa6a31
@ -1391,9 +1391,23 @@ typedef struct SpiritCardFXData {
|
||||
/* 0x34 */ s8 unk_34;
|
||||
} SpiritCardFXData; // ?
|
||||
|
||||
#define MAX_LIL_OINKS 11
|
||||
|
||||
typedef struct LilOinkFXData {
|
||||
/* 0x00 */ char todo[0];
|
||||
} LilOinkFXData; // size = unknown
|
||||
/* 0x000 */ s32 unk_00;
|
||||
/* 0x004 */ s32 unk_04;
|
||||
/* 0x008 */ s32 flags[MAX_LIL_OINKS];
|
||||
/* 0x034 */ f32 x[MAX_LIL_OINKS];
|
||||
/* 0x060 */ f32 y[MAX_LIL_OINKS];
|
||||
/* 0x08C */ f32 z[MAX_LIL_OINKS];
|
||||
/* 0x0B8 */ f32 rot[MAX_LIL_OINKS];
|
||||
/* 0x0E4 */ u8 type[MAX_LIL_OINKS];
|
||||
/* 0x0EF */ s8 unk_EF[MAX_LIL_OINKS];
|
||||
/* 0x0FA */ u8 unk_FA[MAX_LIL_OINKS];
|
||||
/* 0x105 */ u8 unk_105[MAX_LIL_OINKS];
|
||||
/* 0x110 */ f32 jumpOffset[MAX_LIL_OINKS];
|
||||
/* 0x13C */ s8 unk_13C[MAX_LIL_OINKS];
|
||||
} LilOinkFXData; // size = 0x148
|
||||
|
||||
typedef struct SomethingRotatingFXData {
|
||||
/* 0x00 */ char todo[0];
|
||||
|
@ -152,7 +152,7 @@ EffectInstance* peach_star_beam_main(s32, f32, f32, f32, f32, s32);
|
||||
EffectInstance* chapter_change_main(s32, f32, f32, f32, f32, s32);
|
||||
FX_MAIN(ice_shard_main);
|
||||
FX_MAIN(spirit_card_main);
|
||||
FX_MAIN(lil_oink_main);
|
||||
EffectInstance* lil_oink_main(void);
|
||||
FX_MAIN(something_rotating_main);
|
||||
EffectInstance* breaking_junk_main(s32, f32, f32, f32, f32, s32);
|
||||
EffectInstance* partner_buff_main(s32, f32, f32, f32, f32, s32);
|
||||
|
@ -992,6 +992,9 @@ void set_max_SP(s8);
|
||||
void sync_status_menu(void);
|
||||
void create_cameras_a(void);
|
||||
void func_80045AC0(void);
|
||||
void func_8005DECC(Npc*, s32, void* arg2, f32, f32, s32, s32);
|
||||
void func_8005DFD4(Npc*);
|
||||
void func_8005E12C(Npc*);
|
||||
void create_encounters(void);
|
||||
void update_encounters_neutral(void);
|
||||
void update_encounters_pre_battle(void);
|
||||
|
@ -271,8 +271,8 @@ extern HeapNode gSpriteHeapPtr;
|
||||
extern s32 D_8029C890[10][5];
|
||||
|
||||
// Heap?
|
||||
extern s32 D_8038F800;
|
||||
extern s32 D_803B5000;
|
||||
extern u16 D_8038F800[];
|
||||
extern u16 D_803B5000[];
|
||||
|
||||
extern HeapNode heap_collisionHead;
|
||||
extern HeapNode heap_generalHead;
|
||||
|
@ -28,7 +28,6 @@ void get_npc_pos(s32 npcID, f32* outX, f32* outY, f32* outZ, s32* arg4) {
|
||||
|
||||
}
|
||||
|
||||
void func_8005DECC(Npc* npc, s32 arg1, void* arg2, f32 arg3, f32 arg4, s32 arg5, s32 arg6);
|
||||
INCLUDE_ASM(s32, "39210_len_aa0", func_8005DECC);
|
||||
|
||||
INCLUDE_ASM(s32, "39210_len_aa0", func_8005DFD4);
|
||||
|
155
src/e20eb0.c
155
src/e20eb0.c
@ -4,8 +4,157 @@
|
||||
|
||||
#include "common/UnkAngleFunc1.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "e20eb0", func_802B70B4);
|
||||
#include "speech_bubble.png.h"
|
||||
#include "speech_bubble.png.inc.c"
|
||||
#include "speech_bubble.pal.inc.c"
|
||||
#include "speech_bubble_dlist.gfx.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "e20eb0", func_802B71C8);
|
||||
typedef struct UnkE20EB0 {
|
||||
/* 0x00 */ Npc* unk_00;
|
||||
/* 0x04 */ Vec3f unk_04;
|
||||
/* 0x10 */ f32 unk_10;
|
||||
/* 0x14 */ f32 unk_14;
|
||||
/* 0x18 */ s32 unk_18;
|
||||
/* 0x1C */ f32 unk_1C;
|
||||
/* 0x20 */ s32 unk_20;
|
||||
/* 0x24 */ char unk_24[6];
|
||||
/* 0x2A */ u8 unk_2A;
|
||||
/* 0x2B */ u8 unk_2B;
|
||||
} UnkE20EB0; /* size = 0x2C */
|
||||
|
||||
INCLUDE_ASM(s32, "e20eb0", func_802B742C);
|
||||
BSS UnkE20EB0 D_802B79C0_E21870;
|
||||
|
||||
UnkE20EB0* D_802B79A8_E21858 = &D_802B79C0_E21870;
|
||||
|
||||
void func_802B742C(void);
|
||||
|
||||
void func_802B70B4(void) {
|
||||
PlayerStatus* playerStatus = &gPlayerStatus;
|
||||
UnkE20EB0* temp;
|
||||
Npc* npc;
|
||||
|
||||
mem_clear(D_802B79A8_E21858, sizeof(*D_802B79A8_E21858));
|
||||
npc = playerStatus->encounteredNPC;
|
||||
D_802B79A8_E21858->unk_00 = npc;
|
||||
D_802B79A8_E21858->unk_1C = npc->pos.y + npc->collisionHeight + 8.0f;
|
||||
D_802B79A8_E21858->unk_04.y = D_802B79A8_E21858->unk_1C;
|
||||
D_802B79A8_E21858->unk_04.x = npc->pos.x;
|
||||
D_802B79A8_E21858->unk_04.z = npc->pos.z;
|
||||
D_802B79A8_E21858->unk_18 = 0;
|
||||
D_802B79A8_E21858->unk_2A = 0;
|
||||
D_802B79A8_E21858->unk_14 = 0.1f;
|
||||
D_8010C940 = func_802B742C;
|
||||
playerStatus->animFlags |= 0x20;
|
||||
temp = D_802B79A8_E21858;
|
||||
temp->unk_2A = 0;
|
||||
temp->unk_14 = 0.4f;
|
||||
D_802B79A8_E21858->unk_10 = -gCameras[gCurrentCameraID].currentYaw;
|
||||
D_802B79A8_E21858->unk_2B = 255;
|
||||
}
|
||||
|
||||
void func_802B71C8(void) {
|
||||
FoldImageRecPart sp20;
|
||||
Matrix4f sp38, sp78;
|
||||
|
||||
if (gPlayerStatus.animFlags & 0x20) {
|
||||
guScaleF(sp38, D_802B79A8_E21858->unk_14, D_802B79A8_E21858->unk_14, D_802B79A8_E21858->unk_14);
|
||||
guRotateF(sp78, D_802B79A8_E21858->unk_10 - gCameras[gCurrentCameraID].currentYaw, 0.0f, 1.0f, 0.0f);
|
||||
guMtxCatF(sp38, sp78, sp38);
|
||||
guTranslateF(sp78, D_802B79A8_E21858->unk_04.x, D_802B79A8_E21858->unk_04.y, D_802B79A8_E21858->unk_04.z);
|
||||
guMtxCatF(sp38, sp78, sp78);
|
||||
guMtxF2L(sp78, &gDisplayContext->matrixStack[gMatrixListPos]);
|
||||
|
||||
gSPMatrix(gMasterGfxPos++, &gDisplayContext->matrixStack[gMatrixListPos++],
|
||||
G_MTX_PUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
|
||||
gSPDisplayList(gMasterGfxPos++, &D_802B7930_E217E0);
|
||||
|
||||
sp20.raster = D_802B7710_E215C0;
|
||||
sp20.palette = D_802B7910_E217C0;
|
||||
sp20.width = D_802B7710_E215C0_width;
|
||||
sp20.height = D_802B7710_E215C0_height;
|
||||
sp20.xOffset = -16;
|
||||
sp20.yOffset = 26;
|
||||
sp20.opacity = 255;
|
||||
fold_update(0, FOLD_TYPE_NONE, 0, 0, 0, 0, 0x440);
|
||||
fold_update(0, FOLD_TYPE_6,
|
||||
D_802B79A8_E21858->unk_2B, D_802B79A8_E21858->unk_2B, D_802B79A8_E21858->unk_2B, 0xFF, 0x440);
|
||||
fold_appendGfx_component(0, &sp20, 0x40, sp78);
|
||||
|
||||
gSPPopMatrix(gMasterGfxPos++, G_MTX_MODELVIEW);
|
||||
}
|
||||
}
|
||||
|
||||
void func_802B742C(void) {
|
||||
PlayerStatus* playerStatus = &gPlayerStatus;
|
||||
s32 var_a2 = 255;
|
||||
f32 unk10;
|
||||
Npc* npc;
|
||||
|
||||
if (((playerStatus->flags &
|
||||
(PLAYER_STATUS_FLAGS_HAS_CONVERSATION_NPC |
|
||||
PLAYER_STATUS_FLAGS_40000 |
|
||||
PLAYER_STATUS_FLAGS_20)) != PLAYER_STATUS_FLAGS_HAS_CONVERSATION_NPC) ||
|
||||
(gGameState == 4) ||
|
||||
(playerStatus->animFlags & PLAYER_STATUS_ANIM_FLAGS_HOLDING_WATT) ||
|
||||
(playerStatus->inputEnabledCounter != 0) ||
|
||||
(playerStatus->animFlags & PLAYER_STATUS_ANIM_FLAGS_SPINNING))
|
||||
{
|
||||
D_802B79A8_E21858->unk_2A = 3;
|
||||
}
|
||||
|
||||
switch (D_802B79A8_E21858->unk_2A) {
|
||||
case 0:
|
||||
D_802B79A8_E21858->unk_10 = 0.0f;
|
||||
D_802B79A8_E21858->unk_14 += 0.05;
|
||||
if (D_802B79A8_E21858->unk_14 >= 0.55) {
|
||||
D_802B79A8_E21858->unk_14 = 0.55f;
|
||||
D_802B79A8_E21858->unk_2A++;
|
||||
D_802B79A8_E21858->unk_20 = 12;
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
D_802B79A8_E21858->unk_10 = 0.0f;
|
||||
D_802B79A8_E21858->unk_20--;
|
||||
if (D_802B79A8_E21858->unk_20 <= 0) {
|
||||
D_802B79A8_E21858->unk_2A++;
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
unk10 = D_802B79A8_E21858->unk_10;
|
||||
unk10 += 10.0f;
|
||||
if (unk10 >= 360.0f) {
|
||||
unk10 -= 360.0f;
|
||||
}
|
||||
D_802B79A8_E21858->unk_10 = unk10;
|
||||
var_a2 = e20eb0_UnkAngleFunc1(unk10);
|
||||
break;
|
||||
case 3:
|
||||
unk10 = D_802B79A8_E21858->unk_10;
|
||||
unk10 += 25.0f;
|
||||
if (unk10 >= 360.0f) {
|
||||
unk10 -= 360.0f;
|
||||
}
|
||||
D_802B79A8_E21858->unk_10 = unk10;
|
||||
if ((unk10 >= 70.0f && unk10 <= 110.0f) || (unk10 >= 250.0f && unk10 <= 290.0f)) {
|
||||
D_8010C940 = NULL;
|
||||
playerStatus->encounteredNPC = NULL;
|
||||
playerStatus->animFlags &= ~PLAYER_STATUS_ANIM_FLAGS_SPEECH_PROMPT_AVAILABLE;
|
||||
return;
|
||||
}
|
||||
var_a2 = e20eb0_UnkAngleFunc1(unk10);
|
||||
break;
|
||||
}
|
||||
|
||||
D_802B79A8_E21858->unk_2B = var_a2;
|
||||
if (playerStatus->encounteredNPC != NULL) {
|
||||
if (playerStatus->encounteredNPC != D_802B79A8_E21858->unk_00) {
|
||||
D_802B79A8_E21858->unk_00 = playerStatus->encounteredNPC;
|
||||
}
|
||||
}
|
||||
|
||||
npc = D_802B79A8_E21858->unk_00;
|
||||
D_802B79A8_E21858->unk_1C = npc->pos.y + npc->collisionHeight + 8.0f;
|
||||
D_802B79A8_E21858->unk_04.y = D_802B79A8_E21858->unk_1C;
|
||||
D_802B79A8_E21858->unk_04.x = npc->pos.x;
|
||||
D_802B79A8_E21858->unk_04.z = npc->pos.z;
|
||||
}
|
||||
|
@ -147,7 +147,7 @@ EffectTableEntry gEffectTable[] = {
|
||||
/* 0x75 */ FX_ENTRY_NUMBERED(75, _3E2960),
|
||||
/* 0x76 */ {},
|
||||
/* 0x77 */ FX_ENTRY(firework_rocket, _3E5350),
|
||||
/* 0x78 */ FX_ENTRY(peach_star_beam, _3E5F30),
|
||||
/* 0x78 */ FX_ENTRY(peach_star_beam, effect_gfx_peach_star_beam),
|
||||
/* 0x79 */ FX_ENTRY(chapter_change, _3EBE60),
|
||||
/* 0x7A */ FX_ENTRY(ice_shard, _3F8CC0),
|
||||
/* 0x7B */ FX_ENTRY(spirit_card, _3FA4B0),
|
||||
|
93
src/effects/gfx/peach_star_beam.c
Normal file
93
src/effects/gfx/peach_star_beam.c
Normal file
@ -0,0 +1,93 @@
|
||||
#include "common.h"
|
||||
|
||||
#include "effects/gfx/D_09000000_3E5F30.vtx.inc.c"
|
||||
#include "effects/gfx/D_090001A0_3E60D0.vtx.inc.c"
|
||||
#include "effects/gfx/D_090001C0_3E60F0.vtx.inc.c"
|
||||
#include "effects/gfx/D_090001E0_3E6110.vtx.inc.c"
|
||||
#include "effects/gfx/D_09000220_3E6150.vtx.inc.c"
|
||||
#include "effects/gfx/D_09000230_3E6160.vtx.inc.c"
|
||||
#include "effects/gfx/D_09000240_3E6170.vtx.inc.c"
|
||||
#include "effects/gfx/D_09000250_3E6180.vtx.inc.c"
|
||||
#include "effects/gfx/D_09000280_3E61B0.gfx.inc.c"
|
||||
#include "effects/gfx/D_090002B8_3E61E8.gfx.inc.c"
|
||||
#include "effects/gfx/D_090002E8_3E6218.gfx.inc.c"
|
||||
#include "effects/gfx/D_090003A0_3E62D0.gfx.inc.c"
|
||||
#include "effects/gfx/D_090003C0_3E62F0.gfx.inc.c"
|
||||
#include "effects/gfx/D_090003D0_3E6300.gfx.inc.c"
|
||||
|
||||
u8 D_090003E0_3E6310[] = {
|
||||
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
|
||||
};
|
||||
|
||||
#include "effects/gfx/D_090003E8_3E6318.png.inc.c"
|
||||
#include "effects/gfx/D_090005E8_3E6518.png.inc.c"
|
||||
#include "effects/gfx/D_090005E8_3E6518.pal.inc.c"
|
||||
|
||||
u8 D_09000808_3E6738[] = {
|
||||
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0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, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
|
||||
};
|
||||
|
||||
#include "effects/gfx/D_09004FE8_3EAF18.gfx.inc.c"
|
||||
#include "effects/gfx/D_09005090_3EAFC0.gfx.inc.c"
|
||||
#include "effects/gfx/D_090050F0_3EB020.gfx.inc.c"
|
||||
#include "effects/gfx/D_09005168_3EB098.gfx.inc.c"
|
||||
#include "effects/gfx/D_090051E0_3EB110.gfx.inc.c"
|
||||
#include "effects/gfx/D_09005258_3EB188.gfx.inc.c"
|
||||
#include "effects/gfx/D_090052D0_3EB200.gfx.inc.c"
|
||||
#include "effects/gfx/D_09005348_3EB278.gfx.inc.c"
|
||||
#include "effects/gfx/D_090053C0_3EB2F0.gfx.inc.c"
|
||||
#include "effects/gfx/D_09005438_3EB368.gfx.inc.c"
|
||||
#include "effects/gfx/D_090054B0_3EB3E0.gfx.inc.c"
|
||||
#include "effects/gfx/D_090054F0_3EB420.vtx.inc.c"
|
||||
#include "effects/gfx/D_09005530_3EB460.vtx.inc.c"
|
||||
#include "effects/gfx/D_09005570_3EB4A0.gfx.inc.c"
|
||||
#include "effects/gfx/D_09005590_3EB4C0.gfx.inc.c"
|
@ -2,13 +2,150 @@
|
||||
#include "effects_internal.h"
|
||||
|
||||
void lil_oink_appendGfx(void* effect);
|
||||
void lil_oink_init(EffectInstance* effect);
|
||||
void lil_oink_update(EffectInstance* effect);
|
||||
void lil_oink_render(EffectInstance* effect);
|
||||
|
||||
INCLUDE_ASM(s32, "effects/lil_oink", lil_oink_main);
|
||||
extern Gfx D_09002D70[];
|
||||
extern Gfx D_09002DD8[];
|
||||
extern Gfx D_09002E70[];
|
||||
extern Gfx D_09002E98[];
|
||||
extern Gfx D_09002F30[];
|
||||
extern Gfx D_09002FC8[];
|
||||
extern Gfx D_09003060[];
|
||||
extern Gfx D_090030F8[];
|
||||
extern Gfx D_09003190[];
|
||||
extern Gfx D_09003228[];
|
||||
extern Gfx D_090032C0[];
|
||||
extern Gfx D_09003358[];
|
||||
extern Gfx D_09003370[];
|
||||
extern Gfx D_09003388[];
|
||||
|
||||
void lil_oink_init(void) {
|
||||
Gfx* D_E01146A0[] = {
|
||||
D_09003358, D_09003370, D_09003388,
|
||||
D_09003358, D_09003370, D_09003388,
|
||||
D_09003358, D_09003370, D_09003388,
|
||||
D_09003358, D_09003370, D_09003388,
|
||||
D_09003358, D_09003370, D_09003388,
|
||||
D_09003358, D_09003370, D_09003388,
|
||||
D_09003358, D_09003370, D_09003388,
|
||||
D_09003358, D_09003370, D_09003388,
|
||||
D_09003358, D_09003370, D_09003388,
|
||||
D_09003358, D_09003370, D_09003388
|
||||
};
|
||||
|
||||
Gfx* D_E0114718[] = {
|
||||
D_09002DD8, D_09002E70, D_09002E98, D_09002F30, D_09002FC8, D_09003060, D_090030F8, D_09003190, D_09003228,
|
||||
D_090032C0
|
||||
};
|
||||
|
||||
s8 D_E0114740[] = { 1, 2, 1, 0 };
|
||||
|
||||
EffectInstance* lil_oink_main(void) {
|
||||
EffectBlueprint bp;
|
||||
EffectInstance* effect;
|
||||
LilOinkFXData* data;
|
||||
s32 numParts = 1;
|
||||
s32 i;
|
||||
|
||||
bp.unk_00 = 0;
|
||||
bp.init = lil_oink_init;
|
||||
bp.update = lil_oink_update;
|
||||
bp.renderWorld = lil_oink_render;
|
||||
bp.unk_14 = NULL;
|
||||
bp.effectID = EFFECT_LIL_OINK;
|
||||
|
||||
effect = shim_create_effect_instance(&bp);
|
||||
effect->numParts = numParts;
|
||||
data = effect->data.lilOink = shim_general_heap_malloc(numParts * sizeof(*data));
|
||||
ASSERT(data != NULL);
|
||||
|
||||
data->unk_04 = 0;
|
||||
data->unk_00 = 1000;
|
||||
|
||||
for (i = 0; i < MAX_LIL_OINKS; i++) {
|
||||
data->x[i] = 0.0f;
|
||||
data->y[i] = 0.0f;
|
||||
data->z[i] = 0.0f;
|
||||
data->rot[i] = 0.0f;
|
||||
data->flags[i] = 0;
|
||||
data->unk_FA[i] = 1;
|
||||
data->unk_105[i] = 1;
|
||||
data->jumpOffset[i] = 0.0f;
|
||||
data->unk_13C[i] = 0;
|
||||
}
|
||||
|
||||
return effect;
|
||||
}
|
||||
|
||||
INCLUDE_ASM(s32, "effects/lil_oink", lil_oink_update);
|
||||
void lil_oink_init(EffectInstance* effect) {
|
||||
}
|
||||
|
||||
void lil_oink_update(EffectInstance* effect) {
|
||||
LilOinkFXData* data = effect->data.lilOink;
|
||||
s32 i;
|
||||
|
||||
data->unk_04++;
|
||||
|
||||
for (i = 0; i < MAX_LIL_OINKS; i++) {
|
||||
s32 tmp13C = data->unk_13C[i];
|
||||
s32 cond = FALSE;
|
||||
|
||||
switch (data->unk_FA[i]) {
|
||||
case 0:
|
||||
cond = TRUE;
|
||||
break;
|
||||
case 1:
|
||||
data->unk_105[i] = 1;
|
||||
cond = TRUE;
|
||||
break;
|
||||
case 3:
|
||||
data->unk_105[i] = D_E0114740[tmp13C % ARRAY_COUNT(D_E0114740)];
|
||||
data->rot[i] = data->rot[i] + shim_sin_deg(tmp13C * 10);
|
||||
if (tmp13C >= 36) {
|
||||
cond = TRUE;
|
||||
data->unk_13C[i] = 0;
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
data->unk_105[i] = D_E0114740[tmp13C % ARRAY_COUNT(D_E0114740)];
|
||||
data->jumpOffset[i] = shim_sin_deg(tmp13C * 20) * 2.0f;
|
||||
cond = TRUE;
|
||||
if (tmp13C >= 9) {
|
||||
data->jumpOffset[i] = 0.0f;
|
||||
data->unk_13C[i] = 0;
|
||||
}
|
||||
break;
|
||||
case 4:
|
||||
data->unk_105[i] = D_E0114740[tmp13C % ARRAY_COUNT(D_E0114740)];
|
||||
data->jumpOffset[i] = shim_sin_deg(tmp13C * 20) * 4.0f;
|
||||
if (!(tmp13C < 9)) {
|
||||
cond = TRUE;
|
||||
data->jumpOffset[i] = 0.0f;
|
||||
data->unk_13C[i] = 0;
|
||||
}
|
||||
break;
|
||||
case 5:
|
||||
default:
|
||||
data->unk_105[i] = D_E0114740[tmp13C % ARRAY_COUNT(D_E0114740)];
|
||||
data->jumpOffset[i] = shim_sin_deg(tmp13C * 5) * 12.0f;
|
||||
if (!(tmp13C < 36)) {
|
||||
cond = TRUE;
|
||||
data->jumpOffset[i] = 0.0f;
|
||||
data->unk_13C[i] = 0;
|
||||
}
|
||||
break;
|
||||
}
|
||||
data->unk_13C[i]++;
|
||||
if (cond) {
|
||||
if (data->flags[i] & 2) {
|
||||
data->flags[i] &= ~2;
|
||||
data->unk_13C[i] = 0;
|
||||
data->unk_FA[i] = data->unk_EF[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void lil_oink_render(EffectInstance* effect) {
|
||||
RenderTask renderTask;
|
||||
@ -23,4 +160,36 @@ void lil_oink_render(EffectInstance* effect) {
|
||||
retTask->renderMode |= RENDER_TASK_FLAG_2;
|
||||
}
|
||||
|
||||
INCLUDE_ASM(s32, "effects/lil_oink", lil_oink_appendGfx);
|
||||
void lil_oink_appendGfx(void* effect) {
|
||||
Matrix4f sp20;
|
||||
EffectInstance* eff = effect;
|
||||
LilOinkFXData* data = eff->data.lilOink;
|
||||
s32 var_s4 = data->unk_04 * 30;
|
||||
s32 i;
|
||||
|
||||
gDPPipeSync(gMasterGfxPos++);
|
||||
gSPSegment(gMasterGfxPos++, 0x9, VIRTUAL_TO_PHYSICAL(eff->graphics->data));
|
||||
|
||||
gSPDisplayList(gMasterGfxPos++, D_09002D70);
|
||||
gSPLookAt(gMasterGfxPos++, &gDisplayContext->lookAt);
|
||||
|
||||
for (i = 0; i < MAX_LIL_OINKS; i++) {
|
||||
if (data->flags[i] & 1) {
|
||||
shim_guPositionF(sp20, 0.0f, 180.0f - data->rot[i], 0.0f, 1.0f,
|
||||
data->x[i], data->y[i] + data->jumpOffset[i], data->z[i]);
|
||||
shim_guMtxF2L(sp20, &gDisplayContext->matrixStack[gMatrixListPos]);
|
||||
gSPMatrix(gMasterGfxPos++, &gDisplayContext->matrixStack[gMatrixListPos++],
|
||||
G_MTX_PUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
|
||||
gSPDisplayList(gMasterGfxPos++, D_E0114718[data->type[i]]);
|
||||
if (data->type[i] == 8 || data->type[i] == 9) {
|
||||
f32 temp_f0 = shim_sin_deg(var_s4) * 63.0f;
|
||||
s32 primColor = (s32)(temp_f0 + 63.0f) & 0xFF;
|
||||
|
||||
gDPSetPrimColor(gMasterGfxPos++, 0, 0, primColor, primColor, primColor, 0);
|
||||
}
|
||||
gSPDisplayList(gMasterGfxPos++, D_E01146A0[(data->type[i] * 3) + data->unk_105[i]]);
|
||||
gSPPopMatrix(gMasterGfxPos++, G_MTX_MODELVIEW);
|
||||
}
|
||||
var_s4 += 20;
|
||||
}
|
||||
}
|
||||
|
@ -1,30 +1,32 @@
|
||||
#include "common.h"
|
||||
#include "effects_internal.h"
|
||||
|
||||
extern Gfx D_09004FE8[];
|
||||
extern Gfx D_09005090[];
|
||||
extern Gfx D_090050F0[];
|
||||
extern Gfx D_09005168[];
|
||||
extern Gfx D_090051E0[];
|
||||
extern Gfx D_09005258[];
|
||||
extern Gfx D_090052D0[];
|
||||
extern Gfx D_09005348[];
|
||||
extern Gfx D_090053C0[];
|
||||
extern Gfx D_09005438[];
|
||||
extern Gfx D_090054B0[];
|
||||
extern Gfx D_09005570[];
|
||||
extern Gfx D_09005590[];
|
||||
extern Gfx D_09004FE8_3EAF18[];
|
||||
extern Gfx D_09005090_3EAFC0[];
|
||||
extern Gfx D_090050F0_3EB020[];
|
||||
extern Gfx D_09005168_3EB098[];
|
||||
extern Gfx D_090051E0_3EB110[];
|
||||
extern Gfx D_09005258_3EB188[];
|
||||
extern Gfx D_090052D0_3EB200[];
|
||||
extern Gfx D_09005348_3EB278[];
|
||||
extern Gfx D_090053C0_3EB2F0[];
|
||||
extern Gfx D_09005438_3EB368[];
|
||||
extern Gfx D_090054B0_3EB3E0[];
|
||||
extern Gfx D_09005570_3EB4A0[];
|
||||
extern Gfx D_09005590_3EB4C0[];
|
||||
|
||||
Gfx* D_E010CA10[] = { D_090054B0 };
|
||||
Gfx* D_E010CA10[] = { D_090054B0_3EB3E0 };
|
||||
|
||||
Gfx* D_E010CA14[] = { D_09004FE8 };
|
||||
Gfx* D_E010CA14[] = { D_09004FE8_3EAF18 };
|
||||
|
||||
Gfx* D_E010CA18[8] = {
|
||||
D_09005590, D_09005570, D_09005570, D_09005570, D_09005570, D_09005570, D_09005570, D_09005570
|
||||
D_09005590_3EB4C0, D_09005570_3EB4A0, D_09005570_3EB4A0, D_09005570_3EB4A0,
|
||||
D_09005570_3EB4A0, D_09005570_3EB4A0, D_09005570_3EB4A0, D_09005570_3EB4A0
|
||||
};
|
||||
|
||||
Gfx* D_E010CA38[8] = {
|
||||
D_090050F0, D_09005168, D_090051E0, D_09005258, D_090052D0, D_09005348, D_090053C0, D_09005438
|
||||
D_090050F0_3EB020, D_09005168_3EB098, D_090051E0_3EB110, D_09005258_3EB188,
|
||||
D_090052D0_3EB200, D_09005348_3EB278, D_090053C0_3EB2F0, D_09005438_3EB368
|
||||
};
|
||||
|
||||
void peach_star_beam_init(EffectInstance* effect);
|
||||
@ -171,7 +173,7 @@ void peach_star_beam_appendGfx(void* effect) {
|
||||
|
||||
gDPPipeSync(gMasterGfxPos++);
|
||||
gSPSegment(gMasterGfxPos++, 0x9, VIRTUAL_TO_PHYSICAL(((EffectInstance*)effect)->graphics->data));
|
||||
gSPDisplayList(gMasterGfxPos++, D_09005090);
|
||||
gSPDisplayList(gMasterGfxPos++, D_09005090_3EAFC0);
|
||||
|
||||
for (i = 0; i < ARRAY_COUNT(data->parts); i++) {
|
||||
part = &data->parts[i];
|
||||
@ -214,7 +216,7 @@ void peach_star_beam_appendGfx(void* effect) {
|
||||
gSPDisplayList(gMasterGfxPos++, D_E010CA14[0]);
|
||||
gSPDisplayList(gMasterGfxPos++, D_E010CA10[0]);
|
||||
gSPPopMatrix(gMasterGfxPos++, G_MTX_MODELVIEW);
|
||||
gSPDisplayList(gMasterGfxPos++, D_09005090);
|
||||
gSPDisplayList(gMasterGfxPos++, D_09005090_3EAFC0);
|
||||
|
||||
for (i = 0; i < ARRAY_COUNT(data->parts); i++) {
|
||||
part = &data->parts[i];
|
||||
|
@ -1,6 +1,30 @@
|
||||
#include "common.h"
|
||||
#include "nu/nusys.h"
|
||||
|
||||
s32 contPakOpen(NUSiCommonMesg* mesg);
|
||||
s32 contPakFree(NUSiCommonMesg* mesg);
|
||||
s32 contPakFileReadWrite(NUSiCommonMesg* mesg);
|
||||
s32 contPakFileOpen(NUSiCommonMesg* mesg);
|
||||
s32 contPakFileDelete(NUSiCommonMesg* mesg);
|
||||
s32 contPakFileState(NUSiCommonMesg* mesg);
|
||||
s32 contPakFileNum(NUSiCommonMesg* mesg);
|
||||
s32 contPakRepairId(NUSiCommonMesg* mesg);
|
||||
|
||||
u16 nuContPakCompanyCode = 0;
|
||||
u32 nuContPakGameCode = 0;
|
||||
|
||||
s32 (*D_80093CA8[])(NUSiCommonMesg*) = {
|
||||
NULL, contPakOpen, contPakFree, contPakFileOpen, contPakFileReadWrite, contPakFileDelete, contPakFileState,
|
||||
contPakFileNum, contPakRepairId, NULL
|
||||
};
|
||||
|
||||
NUCallBackList nuContPakCallBack = {
|
||||
NULL,
|
||||
D_80093CA8,
|
||||
0x200,
|
||||
0
|
||||
};
|
||||
|
||||
void nuContPakMgrInit(void) {
|
||||
nuSiCallBackAdd(&nuContPakCallBack);
|
||||
}
|
||||
|
@ -1,9 +1,56 @@
|
||||
#include "common.h"
|
||||
#include "nu/nusys.h"
|
||||
|
||||
extern u16* FrameBuf[3];
|
||||
extern UNK_PTR nugfx_ucode;
|
||||
extern Gfx rdpstateinit_dl[];
|
||||
extern u64 gspF3DEX2kawase_fifo_text_bin[];
|
||||
extern u64 gspF3DEX2kawase_fifo_data_bin[];
|
||||
|
||||
NUUcode nugfx_ucode = {
|
||||
gspF3DEX2kawase_fifo_text_bin, gspF3DEX2kawase_fifo_data_bin,
|
||||
};
|
||||
|
||||
u16* FrameBuf[3] = {
|
||||
D_8038F800, D_803B5000, &heap_battleHead
|
||||
};
|
||||
|
||||
Gfx rdpstateinit_dl[] = {
|
||||
gsDPSetEnvColor(0, 0, 0, 0),
|
||||
gsDPSetPrimColor(0, 0, 0, 0, 0, 0),
|
||||
gsDPSetBlendColor(0, 0, 0, 0),
|
||||
gsDPSetFogColor(0, 0, 0, 0),
|
||||
gsDPSetFillColor(0x00000000),
|
||||
gsDPSetPrimDepth(0, 0),
|
||||
gsDPSetConvert(0, 0, 0, 0, 0, 0),
|
||||
gsDPSetKeyR(0, 0, 0),
|
||||
gsDPSetKeyGB(0, 0, 0, 0, 0, 0),
|
||||
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
||||
gsDPSetScissor(G_SC_NON_INTERLACE, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT),
|
||||
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0x0000, G_TX_RENDERTILE, 0,
|
||||
G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOLOD),
|
||||
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0x0000, 1, 0,
|
||||
G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOLOD),
|
||||
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0x0000, 2, 0, G_TX_NOMIRROR | G_TX_WRAP,
|
||||
G_TX_NOMASK, G_TX_NOLOD, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOLOD),
|
||||
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0x0000, 3, 0, G_TX_NOMIRROR | G_TX_WRAP,
|
||||
G_TX_NOMASK, G_TX_NOLOD, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOLOD),
|
||||
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0x0000, 4, 0, G_TX_NOMIRROR | G_TX_WRAP,
|
||||
G_TX_NOMASK, G_TX_NOLOD, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOLOD),
|
||||
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0x0000, 5, 0, G_TX_NOMIRROR | G_TX_WRAP,
|
||||
G_TX_NOMASK, G_TX_NOLOD, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOLOD),
|
||||
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0x0000, 6, 0, G_TX_NOMIRROR | G_TX_WRAP,
|
||||
G_TX_NOMASK, G_TX_NOLOD, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOLOD),
|
||||
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0x0000, G_TX_LOADTILE, 0,
|
||||
G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOLOD),
|
||||
gsDPSetTileSize(G_TX_RENDERTILE, 0, 0, 0, 0),
|
||||
gsDPSetTileSize(1, 0, 0, 0, 0),
|
||||
gsDPSetTileSize(2, 0, 0, 0, 0),
|
||||
gsDPSetTileSize(3, 0, 0, 0, 0),
|
||||
gsDPSetTileSize(4, 0, 0, 0, 0),
|
||||
gsDPSetTileSize(5, 0, 0, 0, 0),
|
||||
gsDPSetTileSize(6, 0, 0, 0, 0),
|
||||
gsDPSetTileSize(G_TX_LOADTILE, 0, 0, 0, 0),
|
||||
gsDPPipeSync(),
|
||||
gsSPEndDisplayList(),
|
||||
};
|
||||
|
||||
void nuGfxInitEX2(void) {
|
||||
Gfx gfx[0x100];
|
||||
|
@ -1,6 +1,14 @@
|
||||
#include "common.h"
|
||||
#include "nu/nusys.h"
|
||||
|
||||
s32 D_80093B80 = 0;
|
||||
|
||||
s32 D_80093B84[] = {
|
||||
0x4E755379, 0x7374656D, 0x322E3035, 0x00000000
|
||||
};
|
||||
|
||||
s32* D_80093B94 = D_80093B84;
|
||||
|
||||
void nuScEventHandler(void);
|
||||
void nuScExecuteAudio(void);
|
||||
void nuScExecuteGraphics(void);
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include "hos_01.h"
|
||||
#include "effects.h"
|
||||
|
||||
extern u8 D_80241C2F_A124AF;
|
||||
extern u8 D_80241C33_A124B3;
|
||||
extern u32 D_80241C2C_A124AC;
|
||||
extern u32 D_80241C30_A124B0;
|
||||
|
||||
#include "world/common/atomic/TexturePan.inc.c"
|
||||
|
||||
@ -15,7 +15,7 @@ INCLUDE_ASM(s32, "world/area_hos/hos_01/A11020", func_80240B64_A113E4);
|
||||
void func_80240BB8_A11438(void) {
|
||||
gDPSetCombineLERP(gMasterGfxPos++, TEXEL0, 0, SHADE, 0, TEXEL0, 0, PRIMITIVE, 0, TEXEL0, 0, SHADE, 0, TEXEL0, 0,
|
||||
PRIMITIVE, 0);
|
||||
gDPSetPrimColor(gMasterGfxPos++, 0, 0, 0, 0, 0, D_80241C2F_A124AF);
|
||||
gDPSetPrimColor(gMasterGfxPos++, 0, 0, 0, 0, 0, D_80241C2C_A124AC);
|
||||
}
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_hos/hos_01/A11020", func_80240C08_A11488);
|
||||
@ -23,7 +23,7 @@ INCLUDE_ASM(s32, "world/area_hos/hos_01/A11020", func_80240C08_A11488);
|
||||
void func_80240C34_A114B4(void) {
|
||||
gDPSetCombineLERP(gMasterGfxPos++, TEXEL0, 0, SHADE, 0, TEXEL0, 0, PRIMITIVE, 0, TEXEL0, 0, SHADE, 0, TEXEL0, 0,
|
||||
PRIMITIVE, 0);
|
||||
gDPSetPrimColor(gMasterGfxPos++, 0, 0, 0, 0, 0, D_80241C33_A124B3);
|
||||
gDPSetPrimColor(gMasterGfxPos++, 0, 0, 0, 0, 0, D_80241C30_A124B0);
|
||||
}
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_hos/hos_01/A11020", func_80240C84_A11504);
|
||||
|
@ -6,29 +6,29 @@ static char* N(exit_str_1) = "kpa_81";
|
||||
#include "world/common/UnkFunc11.inc.c"
|
||||
|
||||
ApiStatus func_802400BC_A4C01C(Evt* script, s32 isInitialCall) {
|
||||
PlayerStatus* playerstatus = &gPlayerStatus;
|
||||
PlayerStatus* playerStatus = &gPlayerStatus;
|
||||
f32 dist;
|
||||
f32 x;
|
||||
f32 y;
|
||||
f32 z;
|
||||
|
||||
if (script->varTable[5] == 0) {
|
||||
playerstatus->position.x = script->varTable[0];
|
||||
playerStatus->position.x = script->varTable[0];
|
||||
} else {
|
||||
playerstatus->position.z = script->varTable[0];
|
||||
playerStatus->position.z = script->varTable[0];
|
||||
}
|
||||
|
||||
x = playerstatus->position.x;
|
||||
y = playerstatus->position.y + 10.0f;
|
||||
z = playerstatus->position.z;
|
||||
x = playerStatus->position.x;
|
||||
y = playerStatus->position.y + 10.0f;
|
||||
z = playerStatus->position.z;
|
||||
|
||||
dist = 40.0f;
|
||||
|
||||
npc_raycast_down_sides(0, &x, &y, &z, &dist);
|
||||
|
||||
playerstatus->position.x = x;
|
||||
playerstatus->position.y = y;
|
||||
playerstatus->position.z = z;
|
||||
playerStatus->position.x = x;
|
||||
playerStatus->position.y = y;
|
||||
playerStatus->position.z = z;
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
@ -2,4 +2,26 @@
|
||||
|
||||
#include "world/common/atomic/MonitorMusicProximityTrigger.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/mac_00/7ECFD0", func_802423F0_7ED100);
|
||||
#include "model.h"
|
||||
|
||||
void func_802423F0_7ED100(void) {
|
||||
Model* model;
|
||||
|
||||
gDPSetDepthSource(gMasterGfxPos++, G_ZS_PRIM);
|
||||
gDPSetPrimDepth(gMasterGfxPos++, 32752, 0);
|
||||
gDPSetRenderMode(gMasterGfxPos++, Z_CMP | CVG_DST_CLAMP | ZMODE_OPA | FORCE_BL | G_RM_PASS,
|
||||
Z_CMP | CVG_DST_CLAMP | ZMODE_OPA | FORCE_BL | GBL_c2(G_BL_CLR_IN, G_BL_0, G_BL_CLR_IN, G_BL_1));
|
||||
gDPSetCombineLERP(gMasterGfxPos++, 0, 0, 0, PRIMITIVE, 0, 0, 0, 0, 0, 0, 0, PRIMITIVE, 0, 0, 0, 0);
|
||||
gDPSetPrimColor(gMasterGfxPos++, 0, 0, 0, 0, 128, 0);
|
||||
gDPPipeSync(gMasterGfxPos++);
|
||||
|
||||
model = get_model_from_list_index(get_model_list_index_from_tree_index(0xD6));
|
||||
|
||||
gSPDisplayList(gMasterGfxPos++, model->modelNode->displayData->displayList);
|
||||
gDPPipeSync(gMasterGfxPos++);
|
||||
gDPSetCycleType(gMasterGfxPos++, G_CYC_2CYCLE);
|
||||
gDPSetDepthSource(gMasterGfxPos++, G_ZS_PIXEL);
|
||||
gDPSetRenderMode(gMasterGfxPos++, G_RM_PASS, G_RM_AA_ZB_XLU_SURF2);
|
||||
|
||||
mdl_draw_hidden_panel_surface(&gMasterGfxPos, 0xD6);
|
||||
}
|
||||
|
@ -7,4 +7,12 @@ static char* N(exit_str_3) = "mac_03";
|
||||
|
||||
#include "world/common/atomic/Pipe.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/mac_03/831800", func_802402E0_831AE0);
|
||||
ApiStatus func_802402E0_831AE0(Evt* script, s32 isInitialCall) {
|
||||
if (script->varTable[15] > 720) {
|
||||
script->varTable[15] = 0;
|
||||
}
|
||||
|
||||
script->varTable[0] = script->varTable[15] * 6;
|
||||
script->varTable[1] = script->varTable[15] / 2;
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
@ -1,25 +1,166 @@
|
||||
#include "mac_03.h"
|
||||
#include "effects.h"
|
||||
|
||||
#include "world/common/GetFloorCollider.inc.c"
|
||||
|
||||
#include "world/common/GetPlayerCoins.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/mac_03/833740", func_80241F80_833780);
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/mac_03/833740", func_80241FA0_8337A0);
|
||||
ApiStatus func_80241F80_833780(Evt* script, s32 isInitialCall) {
|
||||
hide_coin_counter_immediately();
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/mac_03/833740", func_8024206C_83386C);
|
||||
// OINK cod start
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/mac_03/833740", func_802421E8_8339E8);
|
||||
extern Vec3i D_8024F800_841000[];
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/mac_03/833740", func_80242384_833B84);
|
||||
ApiStatus func_80241FA0_8337A0(Evt* script, s32 isInitialCall) {
|
||||
f32 angle = script->varTable[2] + 230000000;
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/mac_03/833740", func_802424A0_833CA0);
|
||||
angle = clamp_angle(angle * (1.0f / 1024.0f)); // EVT_FIXED_TO_FLOAT ? TODO
|
||||
script->varTable[2] = (sin_deg(angle) * 110.0f) + 167.0f;
|
||||
script->varTable[3] = 85;
|
||||
script->varTable[4] = -343.75f - (cos_deg(angle) * 110.0f);
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/mac_03/833740", func_802425A8_833DA8);
|
||||
ApiStatus func_8024206C_83386C(Evt* script, s32 isInitialCall) {
|
||||
s32 typeBase = GSW(30);
|
||||
s32 numPigs = evt_get_variable(NULL, GSW(29));
|
||||
EffectInstance* effect = fx_lil_oink(0, 0.0f, 0.0f, 0.0f, 0.0f, 0);
|
||||
s32 i;
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/mac_03/833740", func_80242608_833E08);
|
||||
evt_set_variable(script, GW(2), (s32) effect);
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/mac_03/833740", func_80242694_833E94);
|
||||
for (i = 0; i < numPigs; i++) {
|
||||
effect->data.lilOink->type[i] = evt_get_variable(NULL, typeBase + i);
|
||||
effect->data.lilOink->x[i] = 300 + (i * 30);
|
||||
effect->data.lilOink->y[i] = 20.0f;
|
||||
effect->data.lilOink->z[i] = -180.0f;
|
||||
effect->data.lilOink->rot[i] = 270.0f;
|
||||
effect->data.lilOink->flags[i] |= 1;
|
||||
effect->data.lilOink->flags[i] |= 2;
|
||||
effect->data.lilOink->unk_EF[i] = 2;
|
||||
}
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/mac_03/833740", func_802427D0_833FD0);
|
||||
ApiStatus func_802421E8_8339E8(Evt* script, s32 isInitialCall) {
|
||||
EffectInstance* effect = (EffectInstance*) evt_get_variable(script, GW(2));
|
||||
Bytecode* args = script->ptrReadPos;
|
||||
s32 i = evt_get_variable(script, *args++);
|
||||
s32 type = 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++);
|
||||
s32 rot = evt_get_variable(script, *args++);
|
||||
|
||||
effect->data.lilOink->type[i] = type;
|
||||
effect->data.lilOink->x[i] = x;
|
||||
effect->data.lilOink->y[i] = y;
|
||||
effect->data.lilOink->z[i] = z;
|
||||
effect->data.lilOink->rot[i] = rot;
|
||||
effect->data.lilOink->flags[i] |= 1;
|
||||
|
||||
// When the pen is full?
|
||||
if (i != MAX_LIL_OINKS - 1) {
|
||||
effect->data.lilOink->flags[i] |= 2;
|
||||
effect->data.lilOink->unk_EF[i] = 2;
|
||||
evt_set_variable(script, i + GSW(30), type);
|
||||
}
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
ApiStatus func_80242384_833B84(Evt* script, s32 isInitialCall) {
|
||||
EffectInstance* effect = (EffectInstance*) evt_get_variable(script, GW(2));
|
||||
Bytecode* args = script->ptrReadPos;
|
||||
s32 i = 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++);
|
||||
s32 rot = evt_get_variable(script, *args++);
|
||||
|
||||
effect->data.lilOink->x[i] = x;
|
||||
effect->data.lilOink->y[i] = y;
|
||||
effect->data.lilOink->z[i] = z;
|
||||
effect->data.lilOink->rot[i] = rot;
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
ApiStatus func_802424A0_833CA0(Evt* script, s32 isInitialCall) {
|
||||
EffectInstance* effect = (EffectInstance*) evt_get_variable(script, GW(2));
|
||||
Bytecode* args = script->ptrReadPos;
|
||||
s32 i = evt_get_variable(script, *args++);
|
||||
s32 xOut = *args++;
|
||||
s32 yOut = *args++;
|
||||
s32 zOut = *args++;
|
||||
s32 rotOut = *args++;
|
||||
|
||||
evt_set_variable(script, xOut, effect->data.lilOink->x[i]);
|
||||
evt_set_variable(script, yOut, effect->data.lilOink->y[i]);
|
||||
evt_set_variable(script, zOut, effect->data.lilOink->z[i]);
|
||||
evt_set_variable(script, rotOut, effect->data.lilOink->rot[i]);
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
ApiStatus func_802425A8_833DA8(Evt* script, s32 isInitialCall) {
|
||||
EffectInstance* effect = (EffectInstance*) evt_get_variable(script, GW(2));
|
||||
Bytecode* args = script->ptrReadPos;
|
||||
s32 i = evt_get_variable(script, *args++);
|
||||
|
||||
effect->data.lilOink->flags[i] &= ~1;
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
ApiStatus func_80242608_833E08(Evt* script, s32 isInitialCall) {
|
||||
EffectInstance* effect = (EffectInstance*) evt_get_variable(script, GW(2));
|
||||
Bytecode* args = script->ptrReadPos;
|
||||
s32 i = evt_get_variable(script, *args++);
|
||||
s32 temp = evt_get_variable(script, *args++);
|
||||
|
||||
effect->data.lilOink->flags[i] |= 2;
|
||||
effect->data.lilOink->unk_EF[i] = temp;
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
ApiStatus func_80242694_833E94(Evt* script, s32 isInitialCall) {
|
||||
EffectInstance* effect = (EffectInstance*) evt_get_variable(script, GW(2));
|
||||
s32 i;
|
||||
|
||||
for (i = 1; i < MAX_LIL_OINKS - 1; i++) {
|
||||
s32 type = evt_get_variable(script, GSW(30) + i);
|
||||
f32 x, y, z, rot;
|
||||
|
||||
evt_set_variable(script, GSW(29) + i, type);
|
||||
|
||||
x = effect->data.lilOink->x[i];
|
||||
y = effect->data.lilOink->y[i];
|
||||
z = effect->data.lilOink->z[i];
|
||||
rot = effect->data.lilOink->rot[i];
|
||||
|
||||
effect->data.lilOink->type[i - 1] = type;
|
||||
effect->data.lilOink->x[i - 1] = x;
|
||||
effect->data.lilOink->y[i - 1] = y;
|
||||
effect->data.lilOink->z[i - 1] = z;
|
||||
effect->data.lilOink->rot[i - 1] = rot;
|
||||
effect->data.lilOink->flags[i - 1] |= 1;
|
||||
}
|
||||
effect->data.lilOink->flags[MAX_LIL_OINKS - 2] &= ~1;
|
||||
evt_set_variable(script, GSW(29), 9);
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
ApiStatus func_802427D0_833FD0(Evt* script, s32 isInitialCall) {
|
||||
Bytecode* args = script->ptrReadPos;
|
||||
s32 type = evt_get_variable(script, GSW(30));
|
||||
Vec3i* pos = &D_8024F800_841000[type];
|
||||
s32 xOut = *args++;
|
||||
s32 yOut = *args++;
|
||||
s32 zOut = *args++;
|
||||
|
||||
evt_set_variable(script, xOut, pos->x);
|
||||
evt_set_variable(script, yOut, pos->y);
|
||||
evt_set_variable(script, zOut, pos->z);
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
@ -85,8 +85,57 @@ ApiStatus func_80240040_7E73E0(Evt* script, s32 isInitialCall) {
|
||||
return ApiStatus_BLOCK;
|
||||
}
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/machi/7E73A0", func_80240048_7E73E8);
|
||||
ApiStatus func_80240048_7E73E8(Evt* script, s32 isInitialCall) {
|
||||
if (isInitialCall) {
|
||||
script->functionTemp[0] = 0;
|
||||
script->functionTemp[1] = 0;
|
||||
gOverrideFlags |= GLOBAL_OVERRIDES_10;
|
||||
}
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/machi/7E73A0", func_802400C8_7E7468);
|
||||
set_screen_overlay_params_front(0, script->functionTemp[1]);
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/machi/7E73A0", func_80240114_7E74B4);
|
||||
if (script->functionTemp[1] == 255) {
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
script->functionTemp[1] += 10;
|
||||
if (script->functionTemp[1] > 255) {
|
||||
script->functionTemp[1] = 255;
|
||||
}
|
||||
|
||||
return ApiStatus_BLOCK;
|
||||
}
|
||||
|
||||
|
||||
ApiStatus func_802400C8_7E7468(Evt* script, s32 isInitialCall) {
|
||||
gPlayerData.partners[script->varTable[0] + 1].level++;
|
||||
script->varTable[0] = PARTNER_NONE;
|
||||
if (gPlayerData.partners[PARTNER_GOOMBARIO].level > 2) {
|
||||
gPlayerData.partners[PARTNER_GOOMBARIO].level = 2;
|
||||
script->varTable[0] = PARTNER_GOOMBARIO;
|
||||
}
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
ApiStatus func_80240114_7E74B4(Evt* script, s32 isInitialCall) {
|
||||
if (isInitialCall) {
|
||||
script->functionTemp[0] = 0;
|
||||
script->functionTemp[1] = 255;
|
||||
gOverrideFlags |= GLOBAL_OVERRIDES_10;
|
||||
}
|
||||
|
||||
set_screen_overlay_params_front(0, script->functionTemp[1]);
|
||||
|
||||
if (script->functionTemp[1] == 0) {
|
||||
gOverrideFlags &= ~GLOBAL_OVERRIDES_10;
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
script->functionTemp[1] -= 10;
|
||||
if (script->functionTemp[1] < 0) {
|
||||
script->functionTemp[1] = 0;
|
||||
}
|
||||
|
||||
return ApiStatus_BLOCK;
|
||||
}
|
||||
|
@ -1,15 +1,93 @@
|
||||
#include "machi.h"
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/machi/7E7550", func_802401B0_7E7550);
|
||||
extern s32 D_80241180_7E8520;
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/machi/7E7550", func_802402EC_7E768C);
|
||||
ApiStatus func_802401B0_7E7550(Evt* script, s32 isInitialCall) {
|
||||
Npc* npc = get_npc_unsafe(script->owner1.enemy->npcID);
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/machi/7E7550", func_80240318_7E76B8);
|
||||
if (rand_int(1000) < 500) {
|
||||
func_8005DECC(npc, -1, &D_80241180_7E8520,
|
||||
rand_int(4) + 1, rand_int(3) + 5, rand_int(50) + 50, rand_int(100) + 100);
|
||||
} else {
|
||||
func_8005DECC(npc, rand_int(3) + 10, &D_80241180_7E8520,
|
||||
rand_int(4) + 1, rand_int(3) + 5, rand_int(50) + 50, rand_int(100) + 10);
|
||||
}
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/machi/7E7550", func_80240344_7E76E4);
|
||||
ApiStatus func_802402EC_7E768C(Evt* script, s32 isInitialCall) {
|
||||
Npc* npc = get_npc_unsafe(script->owner1.enemy->npcID);
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/machi/7E7550", func_802403A0_7E7740);
|
||||
func_8005DFD4(npc);
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/machi/7E7550", func_80240410_7E77B0);
|
||||
ApiStatus func_80240318_7E76B8(Evt* script, s32 isInitialCall) {
|
||||
Npc* npc = get_npc_unsafe(script->owner1.enemy->npcID);
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/machi/7E7550", func_8024045C_7E77FC);
|
||||
func_8005E12C(npc);
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
ApiStatus func_80240344_7E76E4(Evt* script, s32 isInitialCall) {
|
||||
PlayerData* playerData = &gPlayerData;
|
||||
s32 i;
|
||||
|
||||
playerData->curHP = 5;
|
||||
playerData->curMaxHP = 5;
|
||||
playerData->bootsLevel = 0;
|
||||
playerData->hammerLevel = -1;
|
||||
playerData->fortressKeyCount = 0;
|
||||
|
||||
for (i = 0; i < ARRAY_COUNT(playerData->partners); i++) {
|
||||
playerData->partners[i].enabled = FALSE;
|
||||
}
|
||||
switch_to_partner(PARTNER_NONE);
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
ApiStatus func_802403A0_7E7740(Evt* script, s32 isInitialCall) {
|
||||
Npc* npc = get_npc_unsafe(script->owner1.enemy->npcID);
|
||||
|
||||
npc_set_palswap_mode_A(npc, 3);
|
||||
npc_set_palswap_1(npc, 0, 1, 30, 10);
|
||||
npc_set_palswap_2(npc, 60, 20, 0, 0);
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
ApiStatus func_80240410_7E77B0(Evt* script, s32 isInitialCall) {
|
||||
PlayerData* playerData = &gPlayerData;
|
||||
s32 i;
|
||||
|
||||
playerData->curHP = 8;
|
||||
playerData->curMaxHP = 8;
|
||||
playerData->bootsLevel = 0;
|
||||
playerData->hammerLevel = 0;
|
||||
playerData->fortressKeyCount = 0;
|
||||
playerData->partners[PARTNER_NONE].enabled = TRUE;
|
||||
|
||||
for (i = 1; i < ARRAY_COUNT(playerData->partners); i++) {
|
||||
playerData->partners[i].enabled = FALSE;
|
||||
}
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
ApiStatus func_8024045C_7E77FC(Evt* script, s32 isInitialCall) {
|
||||
PlayerData* playerData = &gPlayerData;
|
||||
s32 i;
|
||||
|
||||
playerData->curHP = 11;
|
||||
playerData->curMaxHP = 11;
|
||||
playerData->bootsLevel = 0;
|
||||
playerData->hammerLevel = 0;
|
||||
playerData->fortressKeyCount = 0;
|
||||
|
||||
for (i = 0; i < ARRAY_COUNT(playerData->partners); i++) {
|
||||
playerData->partners[i].enabled = FALSE;
|
||||
}
|
||||
|
||||
playerData->partners[PARTNER_NONE].enabled = TRUE;
|
||||
playerData->partners[PARTNER_GOOMBARIO].enabled = TRUE;
|
||||
playerData->partners[PARTNER_BOMBETTE].enabled = TRUE;
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
#include "common.h"
|
||||
#include "hud_element.h"
|
||||
#include "model.h"
|
||||
#include "pause/pause_common.h"
|
||||
|
||||
extern u8 MessagePlural[];
|
||||
extern u8 MessageSingular[];
|
||||
@ -355,16 +356,14 @@ ApiStatus ShowShopPurchaseDialog(Evt* script, s32 isInitialCall) {
|
||||
return ApiStatus_BLOCK;
|
||||
}
|
||||
|
||||
//dumb stuff
|
||||
// almost
|
||||
#ifdef NON_EQUIVALENT
|
||||
|
||||
void shop_open_item_select_popup(s32 mode) {
|
||||
Shop* shop = gGameStatusPtr->mapShop;
|
||||
PopupMenu* menu = &shop->itemSelectMenu;
|
||||
PopupMenu* menu = &gGameStatusPtr->mapShop->itemSelectMenu;
|
||||
s32 numItemSlots;
|
||||
s32 popupType;
|
||||
s32 i;
|
||||
s32 numEntries;
|
||||
s32 i;
|
||||
|
||||
switch (mode) {
|
||||
case 0:
|
||||
@ -372,13 +371,12 @@ void shop_open_item_select_popup(s32 mode) {
|
||||
numItemSlots = 10;
|
||||
break;
|
||||
case 1:
|
||||
popupType = 7;
|
||||
popupType = 6;
|
||||
numItemSlots = 10;
|
||||
break;
|
||||
default:
|
||||
popupType = 7;
|
||||
numItemSlots = 20;
|
||||
numItemSlots = 32;
|
||||
break;
|
||||
}
|
||||
|
||||
@ -387,19 +385,23 @@ void shop_open_item_select_popup(s32 mode) {
|
||||
for (i = 0; i < numItemSlots; i++) {
|
||||
s32 itemID;
|
||||
|
||||
if (mode >= 0 && mode < 2) {
|
||||
switch (mode) {
|
||||
case 0:
|
||||
case 1:
|
||||
itemID = gPlayerData.invItems[i];
|
||||
} else {
|
||||
break;
|
||||
default:
|
||||
itemID = gPlayerData.storedItems[i];
|
||||
break;
|
||||
}
|
||||
|
||||
if (itemID != 0) {
|
||||
menu->ptrIcon[i] = gItemHudScripts[gItemTable[itemID].iconID][0];
|
||||
menu->userIndex[i] = i;
|
||||
menu->enabled[i] = TRUE;
|
||||
menu->nameMsg[i] = gItemTable[itemID].nameMsg;
|
||||
menu->descMsg[i] = gItemTable[itemID].itemMsg;
|
||||
menu->value[i] = shop_get_sell_price(itemID);
|
||||
if (itemID != ITEM_NONE) {
|
||||
menu->ptrIcon[numEntries] = gItemHudScripts[gItemTable[itemID].hudElemID].enabled;
|
||||
menu->userIndex[numEntries] = i;
|
||||
menu->enabled[numEntries] = TRUE;
|
||||
menu->nameMsg[numEntries] = gItemTable[itemID].nameMsg;
|
||||
menu->descMsg[numEntries] = gItemTable[itemID].shortDescMsg;
|
||||
menu->value[numEntries] = shop_get_sell_price(itemID);
|
||||
numEntries++;
|
||||
}
|
||||
}
|
||||
@ -776,12 +778,9 @@ void shop_draw_item_desc(s32 arg0, s32 posX, s32 posY) {
|
||||
draw_msg(shopItem->descMsg, posX + 8, posY, 255, 0xA, 0);
|
||||
}
|
||||
|
||||
extern void draw_shop_items(void);
|
||||
// Problems with the struct iteration
|
||||
#ifdef NON_EQUIVALENT
|
||||
void draw_shop_items(void) {
|
||||
Shop* shop = gGameStatusPtr->mapShop;
|
||||
ShopItemData* ItemDatas;
|
||||
ShopItemData* itemData;
|
||||
Camera* camera;
|
||||
s32 i;
|
||||
s32 xTemp;
|
||||
@ -792,22 +791,22 @@ void draw_shop_items(void) {
|
||||
ShopItemEntity* shopItemEntities;
|
||||
|
||||
if (shop->flags & SHOP_FLAGS_1) {
|
||||
set_window_update(WINDOW_ID_10, basic_window_update);
|
||||
set_window_update(WINDOW_ID_11, basic_window_update);
|
||||
set_window_update(WINDOW_ID_10, (s32) basic_window_update);
|
||||
set_window_update(WINDOW_ID_11, (s32) basic_window_update);
|
||||
} else {
|
||||
set_window_update(WINDOW_ID_10, basic_hidden_window_update);
|
||||
set_window_update(WINDOW_ID_11, basic_hidden_window_update);
|
||||
set_window_update(WINDOW_ID_10, (s32) basic_hidden_window_update);
|
||||
set_window_update(WINDOW_ID_11, (s32) basic_hidden_window_update);
|
||||
}
|
||||
|
||||
if (shop->flags & SHOP_FLAGS_1) {
|
||||
camera = &gCameras[gCurrentCameraID];
|
||||
ItemDatas = shop->staticInventory;
|
||||
itemData = shop->staticInventory;
|
||||
shopItemEntities = gGameStatusPtr->shopItemEntities;
|
||||
|
||||
for (i = 0; i < shop->numItems; i++) {
|
||||
inX = shopItemEntities[i].pos.x;
|
||||
inY = shopItemEntities[i].pos.y + 30.0f;
|
||||
inZ = shopItemEntities[i].pos.z;
|
||||
for (i = 0; i < shop->numItems; i++, itemData++, shopItemEntities++) {
|
||||
inX = shopItemEntities->pos.x;
|
||||
inY = shopItemEntities->pos.y + 30.0f;
|
||||
inZ = shopItemEntities->pos.z;
|
||||
|
||||
transform_point(camera->perspectiveMatrix, inX, inY, inZ, 1.0f, &x, &y, &z, &s);
|
||||
|
||||
@ -821,14 +820,14 @@ void draw_shop_items(void) {
|
||||
xTemp = (((x * camera->viewportW) + camera->viewportW) * 0.5) + camera->viewportStartX;
|
||||
yTemp = (((y * camera->viewportH) + camera->viewportH) * 0.5) + camera->viewportStartY;
|
||||
|
||||
if (ItemDatas[i].price < 100) {
|
||||
if (itemData->price < 100) {
|
||||
xOffset = -4;
|
||||
} else {
|
||||
xOffset = 0;
|
||||
}
|
||||
|
||||
if (!(get_item_entity(shopItemEntities[i].index)->flags & 0x40)) {
|
||||
draw_number(ItemDatas[i].price, xTemp + xOffset, yTemp, 1, 0, 255, 0);
|
||||
if (!(get_item_entity(shopItemEntities->index)->flags & ITEM_ENTITY_FLAGS_40)) {
|
||||
draw_number(itemData->price, xTemp + xOffset, yTemp, 1, 0, 255, 0);
|
||||
}
|
||||
|
||||
if (i == shop->currentItemSlot) {
|
||||
@ -847,9 +846,6 @@ void draw_shop_items(void) {
|
||||
func_800E9900();
|
||||
}
|
||||
}
|
||||
#else
|
||||
INCLUDE_ASM(s32, "world/script_api/7E0E80", draw_shop_items);
|
||||
#endif
|
||||
|
||||
// This should be equivalent to the original code but there is some funny business with
|
||||
// the evt_get_variable's at the beginning that makes absolutely no sense.
|
||||
@ -858,8 +854,8 @@ ApiStatus MakeShop(Evt* script, s32 isInitialCall) {
|
||||
Bytecode* args = script->ptrReadPos;
|
||||
ShopItemLocation* itemDataPositions;
|
||||
ShopItemData* inventory;
|
||||
s32 inventoryItemFlags;
|
||||
ShopSellPriceData* prices;
|
||||
s32 inventoryItemFlags;
|
||||
Shop* shop;
|
||||
Model* model;
|
||||
s32 numShopItems;
|
||||
@ -869,7 +865,6 @@ ApiStatus MakeShop(Evt* script, s32 isInitialCall) {
|
||||
f32 sizeX;
|
||||
f32 sizeY;
|
||||
f32 sizeZ;
|
||||
s32 items;
|
||||
|
||||
itemDataPositions = evt_get_variable(script, *args++);
|
||||
inventory = evt_get_variable(script, *args++);
|
||||
@ -885,21 +880,17 @@ ApiStatus MakeShop(Evt* script, s32 isInitialCall) {
|
||||
shop->inventoryItemFlags = inventoryItemFlags;
|
||||
|
||||
numShopItems = 0;
|
||||
items = inventory->itemID;
|
||||
while (items != 0) {
|
||||
while (inventory->itemID != 0) {
|
||||
numShopItems++;
|
||||
inventory++;
|
||||
items = inventory->itemID;
|
||||
}
|
||||
shop->numItems = numShopItems;
|
||||
|
||||
numShopItems = 0;
|
||||
if (prices != NULL) {
|
||||
items = prices->itemID;
|
||||
while (items != 0) {
|
||||
while (prices->itemID != 0) {
|
||||
numShopItems++;
|
||||
prices++;
|
||||
items = prices->itemID;
|
||||
}
|
||||
}
|
||||
shop->numSpecialPrices = numShopItems;
|
||||
@ -919,7 +910,8 @@ ApiStatus MakeShop(Evt* script, s32 isInitialCall) {
|
||||
gGameStatusPtr->shopItemEntities[numShopItems].pos.z = centerZ;
|
||||
model = get_model_from_list_index(get_model_list_index_from_tree_index(itemDataPositions->posModelID));
|
||||
model->flags |= MODEL_FLAGS_FLAG_4;
|
||||
gGameStatusPtr->shopItemEntities[numShopItems].index = make_item_entity_nodelay(inventory->itemID | shop->inventoryItemFlags, centerX, centerY, centerZ, 1, 0);
|
||||
gGameStatusPtr->shopItemEntities[numShopItems].index =
|
||||
make_item_entity_nodelay(inventory->itemID | shop->inventoryItemFlags, centerX, centerY, centerZ, 1, 0);
|
||||
set_item_entity_flags(gGameStatusPtr->shopItemEntities[numShopItems].index, 0x4000);
|
||||
bind_trigger_1(D_80283F58_7E4DD8, 0x80, itemDataPositions->triggerColliderID, numShopItems, 0, 3);
|
||||
bind_trigger_1(D_80283F58_7E4DD8, 0x800, itemDataPositions->triggerColliderID, numShopItems, 0, 3);
|
||||
|
@ -109,11 +109,104 @@ ApiStatus func_80282C40(Evt* script, s32 isInitialCall) {
|
||||
}
|
||||
|
||||
ApiStatus func_80282E30(Evt* script, s32 isInitialCall);
|
||||
// regalloc
|
||||
#ifdef NON_MATCHING
|
||||
ApiStatus func_80282E30(Evt* script, s32 isInitialCall) {
|
||||
PushBlockGrid* grid = (PushBlockGrid*) script->varTable[10];
|
||||
Entity* entity = get_entity_by_index(script->varTable[11]);
|
||||
s32 xThing, yThing, zThing;
|
||||
s32 x, y, z;
|
||||
s32 entityY, entityZ;
|
||||
s32 varX, varY, varZ;
|
||||
s32 newX, newY, newZ;
|
||||
|
||||
s32 temp_f4;
|
||||
s32 temp_t2_2;
|
||||
s32 temp_v0;
|
||||
s32 var_a0_2;
|
||||
s32 var_a1;
|
||||
s32 cellX, cellZ;
|
||||
|
||||
x = grid->centerPos.x;
|
||||
y = grid->centerPos.y;
|
||||
z = grid->centerPos.z;
|
||||
|
||||
xThing = gPlayerStatus.position.x;
|
||||
yThing = gPlayerStatus.position.y;
|
||||
zThing = gPlayerStatus.position.z;
|
||||
|
||||
xThing = xThing - x;
|
||||
yThing = yThing - y;
|
||||
zThing = zThing - z;
|
||||
if (xThing < 0) {
|
||||
do {
|
||||
xThing -= 25;
|
||||
} while (0);
|
||||
}
|
||||
if (zThing < 0) {
|
||||
zThing -= 25;
|
||||
}
|
||||
|
||||
xThing /= 25;
|
||||
yThing /= 25;
|
||||
zThing /= 25;
|
||||
|
||||
varX = xThing;
|
||||
varZ = zThing;
|
||||
|
||||
xThing *= 25;
|
||||
yThing *= 25;
|
||||
zThing *= 25;
|
||||
|
||||
script->varTable[0] = xThing += 12 + x;
|
||||
script->varTable[1] = yThing += y;
|
||||
script->varTable[2] = zThing += 12 + z;
|
||||
|
||||
script->varTable[3] = xThing = entity->position.x;
|
||||
script->varTable[4] = yThing = entity->position.y;
|
||||
script->varTable[5] = entityZ = entity->position.z;
|
||||
|
||||
xThing = (xThing - grid->centerPos.x);
|
||||
xThing /= 25;
|
||||
var_a1 = xThing - varX;
|
||||
entityZ = (entityZ - grid->centerPos.z);
|
||||
entityZ /= 25;
|
||||
var_a0_2 = entityZ - varZ;
|
||||
if (var_a1 != 0 && var_a0_2 != 0) {
|
||||
var_a0_2 = 0;
|
||||
var_a1 = 0;
|
||||
}
|
||||
script->varTable[6] = var_a1;
|
||||
script->varTable[7] = 0;
|
||||
script->varTable[8] = var_a0_2;
|
||||
|
||||
cellX = xThing + var_a1;
|
||||
cellZ = entityZ + var_a0_2;
|
||||
if (var_a1 == 0 && var_a0_2 == 0) {
|
||||
do {
|
||||
script->varTable[9] = 2;
|
||||
} while (0);
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
if ((cellX < grid->numCellsX) && (cellX >= 0) &&
|
||||
(cellZ < grid->numCellsZ) && (cellZ >= 0) &&
|
||||
(grid->cells[cellX + (cellZ * grid->numCellsX)] == PUSH_GRID_EMPTY) &&
|
||||
(gCollisionStatus.pushingAgainstWall != -1))
|
||||
{
|
||||
script->varTable[9] = 0;
|
||||
} else {
|
||||
script->varTable[9] = 1;
|
||||
}
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
#else
|
||||
INCLUDE_ASM(s32, "world/script_api/7E3700", func_80282E30);
|
||||
#endif
|
||||
|
||||
ApiStatus func_80283080(Evt* script, s32 isInitialCall) {
|
||||
PushBlockGrid* grid = script->varTablePtr[0xA];
|
||||
Entity* block = get_entity_by_index(script->varTable[0xB]);
|
||||
PushBlockGrid* grid = script->varTablePtr[10];
|
||||
Entity* block = get_entity_by_index(script->varTable[11]);
|
||||
s32 ip, jp;
|
||||
s32 in, jn;
|
||||
|
||||
@ -130,22 +223,22 @@ ApiStatus func_80283080(Evt* script, s32 isInitialCall) {
|
||||
|
||||
ApiStatus func_80283174(Evt* script, s32 isInitialCall) {
|
||||
PlayerStatus* playerStatus = &gPlayerStatus;
|
||||
s32 collider = script->varTable[0xB] + COLLISION_WITH_ENTITY_BIT;
|
||||
s32 collider = script->varTable[11] + COLLISION_WITH_ENTITY_BIT;
|
||||
|
||||
if (gCollisionStatus.pushingAgainstWall == collider) {
|
||||
if (playerStatus->actionState == ACTION_STATE_14
|
||||
|| playerStatus->actionState == ACTION_STATE_WALK
|
||||
|| playerStatus->actionState == ACTION_STATE_RUN) {
|
||||
if (playerStatus->animFlags & PLAYER_STATUS_ANIM_FLAGS_HOLDING_WATT) {
|
||||
script->varTable[0xD] = FALSE;
|
||||
script->varTable[13] = FALSE;
|
||||
} else {
|
||||
script->varTable[0xD] = TRUE;
|
||||
script->varTable[13] = TRUE;
|
||||
}
|
||||
} else {
|
||||
script->varTable[0xD] = FALSE;
|
||||
script->varTable[13] = FALSE;
|
||||
}
|
||||
} else {
|
||||
script->varTable[0xD] = FALSE;
|
||||
script->varTable[13] = FALSE;
|
||||
}
|
||||
|
||||
return ApiStatus_DONE2;
|
||||
@ -168,10 +261,10 @@ ApiStatus func_80283240(Evt* script) {
|
||||
s32 retVal = FALSE;
|
||||
s32 i;
|
||||
|
||||
for (i = 0; i < MAX_SCRIPTS; i++)
|
||||
{
|
||||
for (i = 0; i < MAX_SCRIPTS; i++) {
|
||||
Evt* iterScript = get_script_by_index(i);
|
||||
if (iterScript != 0) {
|
||||
|
||||
if (iterScript != NULL) {
|
||||
if (iterScript->ptrFirstLine == sourceToFind) {
|
||||
retVal = TRUE;
|
||||
break;
|
||||
|
@ -65,7 +65,7 @@ def write_ninja_rules(ninja: ninja_syntax.Writer, cpp: str, cppflags: str, extra
|
||||
CPPFLAGS_272 = "-Iver/$version/build/include -Iinclude -Isrc -Iassets/$version -D_LANGUAGE_C -D_FINALROM " \
|
||||
"-DVERSION=$version -DF3DEX_GBI_2 -D_MIPS_SZLONG=32 -nostdinc"
|
||||
|
||||
cflags = f"-c -G0 -O2 -fno-common -B {BUILD_TOOLS}/cc/gcc/ {extra_cflags}"
|
||||
cflags = f"-c -G0 -O2 -x c -fno-common -B {BUILD_TOOLS}/cc/gcc/ {extra_cflags}"
|
||||
cflags_272 = f"-c -G0 -mgp32 -mfp32 -mips3 {extra_cflags}"
|
||||
cflags_272 = cflags_272.replace("-ggdb3","-g1")
|
||||
|
||||
@ -101,7 +101,7 @@ def write_ninja_rules(ninja: ninja_syntax.Writer, cpp: str, cppflags: str, extra
|
||||
|
||||
ninja.rule("cc",
|
||||
description="gcc $in",
|
||||
command=f"bash -o pipefail -c '{cpp} {CPPFLAGS} {cppflags} $cppflags -MD -MF $out.d $in -o - | {iconv} > $out.i && {ccache}{cc} {cflags} $cflags $out.i -o $out'",
|
||||
command=f"bash -o pipefail -c '{cpp} {CPPFLAGS} {cppflags} $cppflags -MD -MF $out.d $in -o - | {iconv} | {ccache}{cc} {cflags} $cflags - -o $out'",
|
||||
depfile="$out.d",
|
||||
deps="gcc",
|
||||
)
|
||||
@ -118,7 +118,7 @@ def write_ninja_rules(ninja: ninja_syntax.Writer, cpp: str, cppflags: str, extra
|
||||
|
||||
ninja.rule("cxx",
|
||||
description="cxx $in",
|
||||
command=f"bash -o pipefail -c '{cpp} {CPPFLAGS} {cppflags} $cppflags -MD -MF $out.d $in -o - | {iconv} > $out.i && {ccache}{cxx} {cflags} $cflags $out.i -o $out'",
|
||||
command=f"bash -o pipefail -c '{cpp} {CPPFLAGS} {cppflags} $cppflags -MD -MF $out.d $in -o - | {iconv} | {ccache}{cxx} {cflags} $cflags - -o $out'",
|
||||
depfile="$out.d",
|
||||
deps="gcc",
|
||||
)
|
||||
|
@ -1,33 +0,0 @@
|
||||
.include "macro.inc"
|
||||
|
||||
.section .data
|
||||
|
||||
dlabel D_80093B80
|
||||
.word 0x00000000
|
||||
|
||||
dlabel D_80093B84
|
||||
.word 0x4E755379, 0x7374656D, 0x322E3035, 0x00000000
|
||||
|
||||
dlabel D_80093B94
|
||||
.word D_80093B84, 0x00000000, 0x00000000
|
||||
|
||||
dlabel nugfx_ucode
|
||||
.word gspF3DEX2kawase_fifo_text_bin, gspF3DEX2kawase_fifo_data_bin
|
||||
|
||||
dlabel FrameBuf
|
||||
.word D_8038F800, D_803B5000, heap_battleHead, 0x00000000
|
||||
|
||||
dlabel rdpstateinit_dl
|
||||
.word 0xFB000000, 0x00000000, 0xFA000000, 0x00000000, 0xF9000000, 0x00000000, 0xF8000000, 0x00000000, 0xF7000000, 0x00000000, 0xEE000000, 0x00000000, 0xEC000000, 0x00000000, 0xEB000000, 0x00000000, 0xEA000000, 0x00000000, 0xFCFFFFFF, 0xFFFE793C, 0xED000000, 0x005003C0, 0xF5100000, 0x00000000, 0xF5100000, 0x01000000, 0xF5100000, 0x02000000, 0xF5100000, 0x03000000, 0xF5100000, 0x04000000, 0xF5100000, 0x05000000, 0xF5100000, 0x06000000, 0xF5100000, 0x07000000, 0xF2000000, 0x00000000, 0xF2000000, 0x01000000, 0xF2000000, 0x02000000, 0xF2000000, 0x03000000, 0xF2000000, 0x04000000, 0xF2000000, 0x05000000, 0xF2000000, 0x06000000, 0xF2000000, 0x07000000, 0xE7000000, 0x00000000, 0xDF000000, 0x00000000
|
||||
|
||||
dlabel nuContPakCompanyCode
|
||||
.short 0x0000, 0x0000
|
||||
|
||||
dlabel nuContPakGameCode
|
||||
.word 0x00000000
|
||||
|
||||
dlabel D_80093CA8
|
||||
.word 0x00000000, contPakOpen, contPakFree, contPakFileOpen, contPakFileReadWrite, contPakFileDelete, contPakFileState, contPakFileNum, contPakRepairId, 0x00000000
|
||||
|
||||
dlabel nuContPakCallBack
|
||||
.word 0x00000000, D_80093CA8, 0x02000000, 0x00000000
|
@ -1,6 +0,0 @@
|
||||
.include "macro.inc"
|
||||
|
||||
.section .data
|
||||
|
||||
dlabel D_80100700
|
||||
.word 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0AA00000, 0x0EEB0000, 0x0DDB0000, 0x0BBB0000, 0xB512CDC1, 0x00010001, 0x00010001, 0x8B89FFFF, 0x0001D553, 0xD5539395, 0xB601CEC1, 0xDF550001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0AA00000, 0x0EEB0000, 0x0DDB0000, 0x0BBB0000, 0xB5120001, 0x00010001, 0x00010001, 0x00010001, 0x0001D553, 0xD5539B8B, 0x1577367D, 0x6EFF0001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0AA00000, 0x0EEB0000, 0x0DDB0000, 0x0BBB0000, 0xB512B513, 0x00010001, 0x00010001, 0x00010001, 0x0001D553, 0xD5539B8B, 0x36413743, 0x67CB0001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0AA00000, 0x088B0000, 0x0CCB0000, 0x0BBB0000, 0xB5120001, 0x00010001, 0x00010001, 0x00010001, 0x443FD553, 0xD5539B15, 0x32BF4B7F, 0x647F0001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0AA00000, 0x088B0000, 0x0CCB0000, 0x0BBB0000, 0xB5120001, 0x0001938D, 0x00010001, 0x00010001, 0x9ABFD553, 0xD553AB13, 0x783B99FF, 0xA33F0001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0AA00000, 0x0EEB0000, 0x0DDB0000, 0x0BBB0000, 0xB5120001, 0x00010001, 0x00010001, 0x00010001, 0x0001D553, 0xD5538393, 0xC035E8FF, 0xF2BF0001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0AA00000, 0x0EEB0000, 0x0DDB0000, 0x0BBB0000, 0xB5120001, 0x00010001, 0x00010001, 0x00010001, 0xC515D553, 0xD553738D, 0xD141F981, 0xFB570001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0BBB0000, 0x0BBB0000, 0xB512B513, 0x00010001, 0x00010001, 0x00010001, 0x0001D553, 0xD5539B8B, 0x36413743, 0x67CB0001, 0x000CA000, 0x00CECA00, 0xDEEEEEDA, 0xBCEDECBB, 0x0DDDDDBA, 0x0DCBCDBA, 0x0CBBACBA, 0x00BA00BA, 0xB512CDC1, 0x00010001, 0x00010001, 0x8B89FFFF, 0x0001D553, 0xD5539395, 0xB601CEC1, 0xDF550001, 0x000CA000, 0x00CECA00, 0xDEEEEEDA, 0xBCEDECBB, 0x0DDDDDBA, 0x0DCBCDBA, 0x0CBBACBA, 0x00BA00BA, 0xB5120001, 0x00010001, 0x00010001, 0x00010001, 0x0001D553, 0xD5539B8B, 0x1577367D, 0x6EFF0001, 0x000CA000, 0x00CECA00, 0xDEEEEEDA, 0xBCEDECBB, 0x0DDDDDBA, 0x0DCBCDBA, 0x0CBBACBA, 0x00BA00BA, 0xB512B513, 0x00010001, 0x00010001, 0x00010001, 0x0001D553, 0xD5539B8B, 0x36413743, 0x67CB0001, 0x000CA000, 0x00CECA00, 0xDEEEEEDA, 0xBCEDECBB, 0x0DDDDDBA, 0x0DCBCDBA, 0x0CBBACBA, 0x00BA00BA, 0xB5120001, 0x00010001, 0x00010001, 0x00010001, 0x443FD553, 0xD5539B15, 0x32BF4B7F, 0x647F0001, 0x000CA000, 0x00CECA00, 0xDEEEEEDA, 0xBCEDECBB, 0x0DDDDDBA, 0x0DCBCDBA, 0x0CBBACBA, 0x00BA00BA, 0xB5120001, 0x0001938D, 0x00010001, 0x00010001, 0x9ABFD553, 0xD553AB13, 0x783B99FF, 0xA33F0001, 0x000CA000, 0x00CECA00, 0xDEEEEEDA, 0xBCEDECBB, 0x0DDDDDBA, 0x0DCBCDBA, 0x0CBBACBA, 0x00BA00BA, 0xB5120001, 0x00010001, 0x00010001, 0x00010001, 0x0001D553, 0xD5538393, 0xC035E8FF, 0xF2BF0001, 0x000CA000, 0x00CECA00, 0xDEEEEEDA, 0xBCEDECBB, 0x0DDDDDBA, 0x0DCBCDBA, 0x0CBBACBA, 0x00BA00BA, 0xB5120001, 0x00010001, 0x00010001, 0x00010001, 0xC515D553, 0xD553738D, 0xD141F981, 0xFB570001, 0x00000000, 0x0000BA00, 0x000BBBA0, 0x0BBBBBBB, 0x00BBBBB0, 0x00BBBBB0, 0x00BB0BB0, 0x00B000B0, 0xB512B513, 0x00010001, 0x00010001, 0x00010001, 0x0001D553, 0xD5539B8B, 0x36413743, 0x67CB0001
|
@ -1,15 +0,0 @@
|
||||
.include "macro.inc"
|
||||
|
||||
.section .data
|
||||
|
||||
dlabel D_802B7710_E215C0
|
||||
.word 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00111111, 0x11111100, 0x00000000, 0x00000000, 0x11111111, 0x11111111, 0x00000000, 0x00000011, 0x11345222, 0x22254311, 0x11000000, 0x00000111, 0x45222222, 0x22222254, 0x11100000, 0x00001135, 0x22222222, 0x22222222, 0x53110000, 0x00011342, 0x22222222, 0x22222222, 0x24311000, 0x00113422, 0x22222222, 0x22222222, 0x22431100, 0x00115222, 0x22222222, 0x22222222, 0x22241100, 0x01132222, 0x22222222, 0x22222222, 0x22223110, 0x01142225, 0x52222225, 0x52222225, 0x52224110, 0x01142241, 0x14222241, 0x14222241, 0x14224110, 0x01142231, 0x13222231, 0x13222231, 0x13224110, 0x01142241, 0x14222241, 0x14222241, 0x14224110, 0x01142225, 0x52222225, 0x52222225, 0x52224110, 0x01134222, 0x22222222, 0x22222222, 0x22243110, 0x00113422, 0x22222222, 0x22222222, 0x22431100, 0x00111342, 0x22222222, 0x22222222, 0x24311100, 0x00011114, 0x52222222, 0x22222225, 0x41111000, 0x00001111, 0x14522222, 0x22222541, 0x11110000, 0x00000011, 0x11152222, 0x22225111, 0x11000000, 0x00000000, 0x11111522, 0x22211111, 0x00000000, 0x00000000, 0x00111122, 0x22111100, 0x00000000, 0x00000000, 0x00001152, 0x25110000, 0x00000000, 0x00000000, 0x00001112, 0x21110000, 0x00000000, 0x00000000, 0x00000115, 0x51100000, 0x00000000, 0x00000000, 0x00000113, 0x31100000, 0x00000000, 0x00000000, 0x00000011, 0x11000000, 0x00000000, 0x00000000, 0x00000001, 0x10000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
|
||||
|
||||
dlabel D_802B7910_E217C0
|
||||
.word 0x294A0001, 0xFFFF5AD7, 0xAD6BC631, 0xF561F49F, 0xEBED88D7, 0xEBE1ED6D, 0xF669F72F, 0x00010001
|
||||
|
||||
dlabel D_802B7930_E217E0
|
||||
.word 0xE7000000, 0x00000000, 0xE3000A01, 0x00000000, 0xD9C0F9FB, 0x00000000, 0xD9FFFFFF, 0x00200005, 0xD7000002, 0xFFFFFFFF, 0xE3000F00, 0x00000000, 0xE3001001, 0x00008000, 0xE3000C00, 0x00080000, 0xE3001201, 0x00002000, 0xE3001801, 0x000000C0, 0xE3000D01, 0x00000000, 0xE3001402, 0x00000C00, 0xE3001700, 0x00000000, 0xE2001E01, 0x00000000, 0xDF000000, 0x00000000
|
||||
|
||||
dlabel D_802B79A8_E21858
|
||||
.word 0x802B79C0, 0x00000000
|
@ -1,27 +0,0 @@
|
||||
.include "macro.inc"
|
||||
|
||||
.section .data
|
||||
|
||||
dlabel D_8014C5A0
|
||||
.word 0xFFF40000, 0x00000000, 0x23002300, 0x000000FF, 0x000B0000, 0x00000000, 0x20002300, 0x000000FF, 0x000B0017, 0x00000000, 0x20002000, 0x000000FF, 0xFFF40017, 0x00000000, 0x23002000, 0x000000FF
|
||||
|
||||
dlabel D_8014C5E0
|
||||
.word 0xFFF00000, 0x00000000, 0x24002400, 0x000000FF, 0x000F0000, 0x00000000, 0x20002400, 0x000000FF, 0x000F001F, 0x00000000, 0x20002000, 0x000000FF, 0xFFF0001F, 0x00000000, 0x24002000, 0x000000FF
|
||||
|
||||
dlabel D_8014C620
|
||||
.word 0xE7000000, 0x00000000, 0xD7000002, 0xFFFFFFFF, 0xFCFFFFFF, 0xFFFCF279, 0xE3000C00, 0x00080000, 0xE3000D01, 0x00000000, 0xE3000F00, 0x00000000, 0xE3001001, 0x00000000, 0xE3001201, 0x00002000, 0xE3001402, 0x00000C00, 0xE3001001, 0x00008000, 0xDF000000, 0x00000000
|
||||
|
||||
dlabel D_8014C678
|
||||
.word 0xD9DDFBFF, 0x00000000, 0x01004008, D_8014C5A0, 0x06000204, 0x00000406, 0xE7000000, 0x00000000, 0xDF000000, 0x00000000
|
||||
|
||||
dlabel D_8014C6A0
|
||||
.word 0xD9DDFBFF, 0x00000000, 0x01004008, D_8014C5E0, 0x06000204, 0x00000406, 0xE7000000, 0x00000000, 0xDF000000, 0x00000000
|
||||
|
||||
dlabel D_8014C6C8
|
||||
.word 0xFFFFFF00, 0xFFFFFF00, 0x00000000, 0x00000000, 0x00000000, 0x00000000
|
||||
|
||||
dlabel D_8014C6E0
|
||||
.short 0x0020, 0x0028
|
||||
|
||||
dlabel D_8014C6E4
|
||||
.short 0x0008, 0x0004, 0x0000, 0x0000, 0x0000, 0x0000
|
@ -1,12 +0,0 @@
|
||||
.include "macro.inc"
|
||||
|
||||
.section .data
|
||||
|
||||
dlabel D_E01146A0
|
||||
.word 0x09003358, 0x09003370, 0x09003388, 0x09003358, 0x09003370, 0x09003388, 0x09003358, 0x09003370, 0x09003388, 0x09003358, 0x09003370, 0x09003388, 0x09003358, 0x09003370, 0x09003388, 0x09003358, 0x09003370, 0x09003388, 0x09003358, 0x09003370, 0x09003388, 0x09003358, 0x09003370, 0x09003388, 0x09003358, 0x09003370, 0x09003388, 0x09003358, 0x09003370, 0x09003388
|
||||
|
||||
dlabel D_E0114718
|
||||
.word 0x09002DD8, 0x09002E70, 0x09002E98, 0x09002F30, 0x09002FC8, 0x09003060, 0x090030F8, 0x09003190, 0x09003228, 0x090032C0
|
||||
|
||||
dlabel D_E0114740
|
||||
.word 0x01020100, 0x00000000, 0x00000000, 0x00000000
|
@ -27,16 +27,10 @@ dlabel D_80241B90_A12410
|
||||
.word 0x0000004D, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C85, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C86, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C87, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C88, 0x00000001, 0x00000043, 0x00000001, hos_01_UpdateTexturePanSmooth, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000001, hos_01_UpdateTexturePanStepped, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
dlabel D_80241C2C_A124AC
|
||||
.byte 0x00, 0x00, 0x00
|
||||
|
||||
dlabel D_80241C2F_A124AF
|
||||
.byte 0xFF
|
||||
.byte 0x00, 0x00, 0x00, 0xFF
|
||||
|
||||
dlabel D_80241C30_A124B0
|
||||
.byte 0x00, 0x00, 0x00
|
||||
|
||||
dlabel D_80241C33_A124B3
|
||||
.byte 0xFF
|
||||
.byte 0x00, 0x00, 0x00, 0xFF
|
||||
|
||||
dlabel D_80241C34_A124B4
|
||||
.word 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x000000B4, 0x00000050, 0x0000002D, 0x0000000A, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000002, func_80240C84_A11504, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000050, 0x000000B4, 0x00000023, 0x0000000A, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000002, func_80240C84_A11504, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
@ -1,73 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802B70B4
|
||||
/* E20F64 802B70B4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* E20F68 802B70B8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* E20F6C 802B70BC 3C10802B */ lui $s0, %hi(D_802B79A8_E21858)
|
||||
/* E20F70 802B70C0 261079A8 */ addiu $s0, $s0, %lo(D_802B79A8_E21858)
|
||||
/* E20F74 802B70C4 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* E20F78 802B70C8 8E040000 */ lw $a0, ($s0)
|
||||
/* E20F7C 802B70CC 0C00A580 */ jal mem_clear
|
||||
/* E20F80 802B70D0 2405002C */ addiu $a1, $zero, 0x2c
|
||||
/* E20F84 802B70D4 3C058011 */ lui $a1, %hi(gPlayerStatus)
|
||||
/* E20F88 802B70D8 24A5EFC8 */ addiu $a1, $a1, %lo(gPlayerStatus)
|
||||
/* E20F8C 802B70DC 8CA400C8 */ lw $a0, 0xc8($a1)
|
||||
/* E20F90 802B70E0 8E020000 */ lw $v0, ($s0)
|
||||
/* E20F94 802B70E4 AC440000 */ sw $a0, ($v0)
|
||||
/* E20F98 802B70E8 848300A8 */ lh $v1, 0xa8($a0)
|
||||
/* E20F9C 802B70EC C480003C */ lwc1 $f0, 0x3c($a0)
|
||||
/* E20FA0 802B70F0 44831000 */ mtc1 $v1, $f2
|
||||
/* E20FA4 802B70F4 00000000 */ nop
|
||||
/* E20FA8 802B70F8 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* E20FAC 802B70FC 46020000 */ add.s $f0, $f0, $f2
|
||||
/* E20FB0 802B7100 3C014100 */ lui $at, 0x4100
|
||||
/* E20FB4 802B7104 44811000 */ mtc1 $at, $f2
|
||||
/* E20FB8 802B7108 00000000 */ nop
|
||||
/* E20FBC 802B710C 46020000 */ add.s $f0, $f0, $f2
|
||||
/* E20FC0 802B7110 E440001C */ swc1 $f0, 0x1c($v0)
|
||||
/* E20FC4 802B7114 E4400008 */ swc1 $f0, 8($v0)
|
||||
/* E20FC8 802B7118 C4800038 */ lwc1 $f0, 0x38($a0)
|
||||
/* E20FCC 802B711C E4400004 */ swc1 $f0, 4($v0)
|
||||
/* E20FD0 802B7120 C4820040 */ lwc1 $f2, 0x40($a0)
|
||||
/* E20FD4 802B7124 A040002A */ sb $zero, 0x2a($v0)
|
||||
/* E20FD8 802B7128 8E040000 */ lw $a0, ($s0)
|
||||
/* E20FDC 802B712C 3C013DCC */ lui $at, 0x3dcc
|
||||
/* E20FE0 802B7130 3421CCCD */ ori $at, $at, 0xcccd
|
||||
/* E20FE4 802B7134 44810000 */ mtc1 $at, $f0
|
||||
/* E20FE8 802B7138 3C03802B */ lui $v1, %hi(func_802B742C)
|
||||
/* E20FEC 802B713C 2463742C */ addiu $v1, $v1, %lo(func_802B742C)
|
||||
/* E20FF0 802B7140 AC400018 */ sw $zero, 0x18($v0)
|
||||
/* E20FF4 802B7144 3C018011 */ lui $at, %hi(D_8010C940)
|
||||
/* E20FF8 802B7148 AC23C940 */ sw $v1, %lo(D_8010C940)($at)
|
||||
/* E20FFC 802B714C E442000C */ swc1 $f2, 0xc($v0)
|
||||
/* E21000 802B7150 E4800014 */ swc1 $f0, 0x14($a0)
|
||||
/* E21004 802B7154 8CA20004 */ lw $v0, 4($a1)
|
||||
/* E21008 802B7158 3C013ECC */ lui $at, 0x3ecc
|
||||
/* E2100C 802B715C 3421CCCD */ ori $at, $at, 0xcccd
|
||||
/* E21010 802B7160 44810000 */ mtc1 $at, $f0
|
||||
/* E21014 802B7164 34420020 */ ori $v0, $v0, 0x20
|
||||
/* E21018 802B7168 ACA20004 */ sw $v0, 4($a1)
|
||||
/* E2101C 802B716C A080002A */ sb $zero, 0x2a($a0)
|
||||
/* E21020 802B7170 3C038007 */ lui $v1, %hi(gCurrentCameraID)
|
||||
/* E21024 802B7174 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
|
||||
/* E21028 802B7178 E4800014 */ swc1 $f0, 0x14($a0)
|
||||
/* E2102C 802B717C 00031080 */ sll $v0, $v1, 2
|
||||
/* E21030 802B7180 00431021 */ addu $v0, $v0, $v1
|
||||
/* E21034 802B7184 00021080 */ sll $v0, $v0, 2
|
||||
/* E21038 802B7188 00431023 */ subu $v0, $v0, $v1
|
||||
/* E2103C 802B718C 000218C0 */ sll $v1, $v0, 3
|
||||
/* E21040 802B7190 00431021 */ addu $v0, $v0, $v1
|
||||
/* E21044 802B7194 000210C0 */ sll $v0, $v0, 3
|
||||
/* E21048 802B7198 3C01800B */ lui $at, %hi(gCameras+0x6C)
|
||||
/* E2104C 802B719C 00220821 */ addu $at, $at, $v0
|
||||
/* E21050 802B71A0 C4201DEC */ lwc1 $f0, %lo(gCameras+0x6C)($at)
|
||||
/* E21054 802B71A4 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* E21058 802B71A8 8E030000 */ lw $v1, ($s0)
|
||||
/* E2105C 802B71AC 46000007 */ neg.s $f0, $f0
|
||||
/* E21060 802B71B0 A062002B */ sb $v0, 0x2b($v1)
|
||||
/* E21064 802B71B4 E4600010 */ swc1 $f0, 0x10($v1)
|
||||
/* E21068 802B71B8 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* E2106C 802B71BC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* E21070 802B71C0 03E00008 */ jr $ra
|
||||
/* E21074 802B71C4 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,158 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802B71C8
|
||||
/* E21078 802B71C8 3C028011 */ lui $v0, %hi(gPlayerStatus+0x4)
|
||||
/* E2107C 802B71CC 8C42EFCC */ lw $v0, %lo(gPlayerStatus+0x4)($v0)
|
||||
/* E21080 802B71D0 27BDFF28 */ addiu $sp, $sp, -0xd8
|
||||
/* E21084 802B71D4 AFBF00D0 */ sw $ra, 0xd0($sp)
|
||||
/* E21088 802B71D8 AFB500CC */ sw $s5, 0xcc($sp)
|
||||
/* E2108C 802B71DC AFB400C8 */ sw $s4, 0xc8($sp)
|
||||
/* E21090 802B71E0 AFB300C4 */ sw $s3, 0xc4($sp)
|
||||
/* E21094 802B71E4 AFB200C0 */ sw $s2, 0xc0($sp)
|
||||
/* E21098 802B71E8 AFB100BC */ sw $s1, 0xbc($sp)
|
||||
/* E2109C 802B71EC 30420020 */ andi $v0, $v0, 0x20
|
||||
/* E210A0 802B71F0 10400085 */ beqz $v0, .L802B7408
|
||||
/* E210A4 802B71F4 AFB000B8 */ sw $s0, 0xb8($sp)
|
||||
/* E210A8 802B71F8 27B00038 */ addiu $s0, $sp, 0x38
|
||||
/* E210AC 802B71FC 3C14802B */ lui $s4, %hi(D_802B79A8_E21858)
|
||||
/* E210B0 802B7200 269479A8 */ addiu $s4, $s4, %lo(D_802B79A8_E21858)
|
||||
/* E210B4 802B7204 8E820000 */ lw $v0, ($s4)
|
||||
/* E210B8 802B7208 0200202D */ daddu $a0, $s0, $zero
|
||||
/* E210BC 802B720C 8C450014 */ lw $a1, 0x14($v0)
|
||||
/* E210C0 802B7210 3C150001 */ lui $s5, 1
|
||||
/* E210C4 802B7214 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* E210C8 802B7218 0C019DF0 */ jal guScaleF
|
||||
/* E210CC 802B721C 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* E210D0 802B7220 3C038007 */ lui $v1, %hi(gCurrentCameraID)
|
||||
/* E210D4 802B7224 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
|
||||
/* E210D8 802B7228 27B10078 */ addiu $s1, $sp, 0x78
|
||||
/* E210DC 802B722C 00031080 */ sll $v0, $v1, 2
|
||||
/* E210E0 802B7230 00431021 */ addu $v0, $v0, $v1
|
||||
/* E210E4 802B7234 00021080 */ sll $v0, $v0, 2
|
||||
/* E210E8 802B7238 00431023 */ subu $v0, $v0, $v1
|
||||
/* E210EC 802B723C 000218C0 */ sll $v1, $v0, 3
|
||||
/* E210F0 802B7240 00431021 */ addu $v0, $v0, $v1
|
||||
/* E210F4 802B7244 000210C0 */ sll $v0, $v0, 3
|
||||
/* E210F8 802B7248 8E830000 */ lw $v1, ($s4)
|
||||
/* E210FC 802B724C 3C01800B */ lui $at, %hi(gCameras+0x6C)
|
||||
/* E21100 802B7250 00220821 */ addu $at, $at, $v0
|
||||
/* E21104 802B7254 C4221DEC */ lwc1 $f2, %lo(gCameras+0x6C)($at)
|
||||
/* E21108 802B7258 C4640010 */ lwc1 $f4, 0x10($v1)
|
||||
/* E2110C 802B725C 44800000 */ mtc1 $zero, $f0
|
||||
/* E21110 802B7260 46022101 */ sub.s $f4, $f4, $f2
|
||||
/* E21114 802B7264 3C073F80 */ lui $a3, 0x3f80
|
||||
/* E21118 802B7268 44060000 */ mfc1 $a2, $f0
|
||||
/* E2111C 802B726C 44052000 */ mfc1 $a1, $f4
|
||||
/* E21120 802B7270 0220202D */ daddu $a0, $s1, $zero
|
||||
/* E21124 802B7274 0C019EC8 */ jal guRotateF
|
||||
/* E21128 802B7278 AFA60010 */ sw $a2, 0x10($sp)
|
||||
/* E2112C 802B727C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* E21130 802B7280 0220282D */ daddu $a1, $s1, $zero
|
||||
/* E21134 802B7284 0C019D80 */ jal guMtxCatF
|
||||
/* E21138 802B7288 0200302D */ daddu $a2, $s0, $zero
|
||||
/* E2113C 802B728C 8E820000 */ lw $v0, ($s4)
|
||||
/* E21140 802B7290 36B51630 */ ori $s5, $s5, 0x1630
|
||||
/* E21144 802B7294 8C450004 */ lw $a1, 4($v0)
|
||||
/* E21148 802B7298 8C460008 */ lw $a2, 8($v0)
|
||||
/* E2114C 802B729C 8C47000C */ lw $a3, 0xc($v0)
|
||||
/* E21150 802B72A0 0C019E40 */ jal guTranslateF
|
||||
/* E21154 802B72A4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* E21158 802B72A8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* E2115C 802B72AC 0220282D */ daddu $a1, $s1, $zero
|
||||
/* E21160 802B72B0 0C019D80 */ jal guMtxCatF
|
||||
/* E21164 802B72B4 0220302D */ daddu $a2, $s1, $zero
|
||||
/* E21168 802B72B8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* E2116C 802B72BC 3C108007 */ lui $s0, %hi(gMatrixListPos)
|
||||
/* E21170 802B72C0 261041F0 */ addiu $s0, $s0, %lo(gMatrixListPos)
|
||||
/* E21174 802B72C4 3C13800A */ lui $s3, %hi(gDisplayContext)
|
||||
/* E21178 802B72C8 2673A674 */ addiu $s3, $s3, %lo(gDisplayContext)
|
||||
/* E2117C 802B72CC 96050000 */ lhu $a1, ($s0)
|
||||
/* E21180 802B72D0 8E620000 */ lw $v0, ($s3)
|
||||
/* E21184 802B72D4 00052980 */ sll $a1, $a1, 6
|
||||
/* E21188 802B72D8 00B52821 */ addu $a1, $a1, $s5
|
||||
/* E2118C 802B72DC 0C019D40 */ jal guMtxF2L
|
||||
/* E21190 802B72E0 00452821 */ addu $a1, $v0, $a1
|
||||
/* E21194 802B72E4 3C03DA38 */ lui $v1, 0xda38
|
||||
/* E21198 802B72E8 34630002 */ ori $v1, $v1, 2
|
||||
/* E2119C 802B72EC 0000202D */ daddu $a0, $zero, $zero
|
||||
/* E211A0 802B72F0 0080282D */ daddu $a1, $a0, $zero
|
||||
/* E211A4 802B72F4 0080302D */ daddu $a2, $a0, $zero
|
||||
/* E211A8 802B72F8 3C12800A */ lui $s2, %hi(gMasterGfxPos)
|
||||
/* E211AC 802B72FC 2652A66C */ addiu $s2, $s2, %lo(gMasterGfxPos)
|
||||
/* E211B0 802B7300 0080382D */ daddu $a3, $a0, $zero
|
||||
/* E211B4 802B7304 8E480000 */ lw $t0, ($s2)
|
||||
/* E211B8 802B7308 96020000 */ lhu $v0, ($s0)
|
||||
/* E211BC 802B730C 0100482D */ daddu $t1, $t0, $zero
|
||||
/* E211C0 802B7310 25080008 */ addiu $t0, $t0, 8
|
||||
/* E211C4 802B7314 AE480000 */ sw $t0, ($s2)
|
||||
/* E211C8 802B7318 AD230000 */ sw $v1, ($t1)
|
||||
/* E211CC 802B731C 24430001 */ addiu $v1, $v0, 1
|
||||
/* E211D0 802B7320 3042FFFF */ andi $v0, $v0, 0xffff
|
||||
/* E211D4 802B7324 00021180 */ sll $v0, $v0, 6
|
||||
/* E211D8 802B7328 00551021 */ addu $v0, $v0, $s5
|
||||
/* E211DC 802B732C A6030000 */ sh $v1, ($s0)
|
||||
/* E211E0 802B7330 8E630000 */ lw $v1, ($s3)
|
||||
/* E211E4 802B7334 24100440 */ addiu $s0, $zero, 0x440
|
||||
/* E211E8 802B7338 00621821 */ addu $v1, $v1, $v0
|
||||
/* E211EC 802B733C 25020008 */ addiu $v0, $t0, 8
|
||||
/* E211F0 802B7340 AD230004 */ sw $v1, 4($t1)
|
||||
/* E211F4 802B7344 AE420000 */ sw $v0, ($s2)
|
||||
/* E211F8 802B7348 3C02DE00 */ lui $v0, 0xde00
|
||||
/* E211FC 802B734C AD020000 */ sw $v0, ($t0)
|
||||
/* E21200 802B7350 3C02802B */ lui $v0, %hi(D_802B7930_E217E0)
|
||||
/* E21204 802B7354 24427930 */ addiu $v0, $v0, %lo(D_802B7930_E217E0)
|
||||
/* E21208 802B7358 AD020004 */ sw $v0, 4($t0)
|
||||
/* E2120C 802B735C 3C02802B */ lui $v0, %hi(D_802B7710_E215C0)
|
||||
/* E21210 802B7360 24427710 */ addiu $v0, $v0, %lo(D_802B7710_E215C0)
|
||||
/* E21214 802B7364 AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* E21218 802B7368 3C02802B */ lui $v0, %hi(D_802B7910_E217C0)
|
||||
/* E2121C 802B736C 24427910 */ addiu $v0, $v0, %lo(D_802B7910_E217C0)
|
||||
/* E21220 802B7370 AFA20024 */ sw $v0, 0x24($sp)
|
||||
/* E21224 802B7374 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* E21228 802B7378 A7A20028 */ sh $v0, 0x28($sp)
|
||||
/* E2122C 802B737C A7A2002A */ sh $v0, 0x2a($sp)
|
||||
/* E21230 802B7380 2402FFF0 */ addiu $v0, $zero, -0x10
|
||||
/* E21234 802B7384 A7A2002C */ sh $v0, 0x2c($sp)
|
||||
/* E21238 802B7388 2402001A */ addiu $v0, $zero, 0x1a
|
||||
/* E2123C 802B738C A7A2002E */ sh $v0, 0x2e($sp)
|
||||
/* E21240 802B7390 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* E21244 802B7394 A3A20030 */ sb $v0, 0x30($sp)
|
||||
/* E21248 802B7398 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* E2124C 802B739C AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* E21250 802B73A0 0C04EAA7 */ jal fold_update
|
||||
/* E21254 802B73A4 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* E21258 802B73A8 0000202D */ daddu $a0, $zero, $zero
|
||||
/* E2125C 802B73AC 8E820000 */ lw $v0, ($s4)
|
||||
/* E21260 802B73B0 24050006 */ addiu $a1, $zero, 6
|
||||
/* E21264 802B73B4 9046002B */ lbu $a2, 0x2b($v0)
|
||||
/* E21268 802B73B8 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* E2126C 802B73BC AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* E21270 802B73C0 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* E21274 802B73C4 00C0382D */ daddu $a3, $a2, $zero
|
||||
/* E21278 802B73C8 0C04EAA7 */ jal fold_update
|
||||
/* E2127C 802B73CC AFA60010 */ sw $a2, 0x10($sp)
|
||||
/* E21280 802B73D0 0000202D */ daddu $a0, $zero, $zero
|
||||
/* E21284 802B73D4 27A50020 */ addiu $a1, $sp, 0x20
|
||||
/* E21288 802B73D8 24060040 */ addiu $a2, $zero, 0x40
|
||||
/* E2128C 802B73DC 0C04EBDC */ jal fold_appendGfx_component
|
||||
/* E21290 802B73E0 0220382D */ daddu $a3, $s1, $zero
|
||||
/* E21294 802B73E4 3C04D838 */ lui $a0, 0xd838
|
||||
/* E21298 802B73E8 8E420000 */ lw $v0, ($s2)
|
||||
/* E2129C 802B73EC 34840002 */ ori $a0, $a0, 2
|
||||
/* E212A0 802B73F0 0040182D */ daddu $v1, $v0, $zero
|
||||
/* E212A4 802B73F4 24420008 */ addiu $v0, $v0, 8
|
||||
/* E212A8 802B73F8 AE420000 */ sw $v0, ($s2)
|
||||
/* E212AC 802B73FC 24020040 */ addiu $v0, $zero, 0x40
|
||||
/* E212B0 802B7400 AC640000 */ sw $a0, ($v1)
|
||||
/* E212B4 802B7404 AC620004 */ sw $v0, 4($v1)
|
||||
.L802B7408:
|
||||
/* E212B8 802B7408 8FBF00D0 */ lw $ra, 0xd0($sp)
|
||||
/* E212BC 802B740C 8FB500CC */ lw $s5, 0xcc($sp)
|
||||
/* E212C0 802B7410 8FB400C8 */ lw $s4, 0xc8($sp)
|
||||
/* E212C4 802B7414 8FB300C4 */ lw $s3, 0xc4($sp)
|
||||
/* E212C8 802B7418 8FB200C0 */ lw $s2, 0xc0($sp)
|
||||
/* E212CC 802B741C 8FB100BC */ lw $s1, 0xbc($sp)
|
||||
/* E212D0 802B7420 8FB000B8 */ lw $s0, 0xb8($sp)
|
||||
/* E212D4 802B7424 03E00008 */ jr $ra
|
||||
/* E212D8 802B7428 27BD00D8 */ addiu $sp, $sp, 0xd8
|
@ -1,214 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel D_802B79B0_E21860
|
||||
.double 0.05
|
||||
|
||||
dlabel D_802B79B8_E21868
|
||||
.double 0.55
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_802B742C
|
||||
/* E212DC 802B742C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* E212E0 802B7430 3C020204 */ lui $v0, 0x204
|
||||
/* E212E4 802B7434 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* E212E8 802B7438 3C108011 */ lui $s0, %hi(gPlayerStatus)
|
||||
/* E212EC 802B743C 2610EFC8 */ addiu $s0, $s0, %lo(gPlayerStatus)
|
||||
/* E212F0 802B7440 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* E212F4 802B7444 8E030000 */ lw $v1, ($s0)
|
||||
/* E212F8 802B7448 34420020 */ ori $v0, $v0, 0x20
|
||||
/* E212FC 802B744C 00621824 */ and $v1, $v1, $v0
|
||||
/* E21300 802B7450 3C020200 */ lui $v0, 0x200
|
||||
/* E21304 802B7454 14620010 */ bne $v1, $v0, .L802B7498
|
||||
/* E21308 802B7458 240600FF */ addiu $a2, $zero, 0xff
|
||||
/* E2130C 802B745C 3C03800A */ lui $v1, %hi(gGameState)
|
||||
/* E21310 802B7460 8C63A600 */ lw $v1, %lo(gGameState)($v1)
|
||||
/* E21314 802B7464 24020004 */ addiu $v0, $zero, 4
|
||||
/* E21318 802B7468 1062000B */ beq $v1, $v0, .L802B7498
|
||||
/* E2131C 802B746C 00000000 */ nop
|
||||
/* E21320 802B7470 8E030004 */ lw $v1, 4($s0)
|
||||
/* E21324 802B7474 30620001 */ andi $v0, $v1, 1
|
||||
/* E21328 802B7478 14400007 */ bnez $v0, .L802B7498
|
||||
/* E2132C 802B747C 00000000 */ nop
|
||||
/* E21330 802B7480 82020015 */ lb $v0, 0x15($s0)
|
||||
/* E21334 802B7484 14400004 */ bnez $v0, .L802B7498
|
||||
/* E21338 802B7488 3C020001 */ lui $v0, 1
|
||||
/* E2133C 802B748C 00621024 */ and $v0, $v1, $v0
|
||||
/* E21340 802B7490 10400005 */ beqz $v0, .L802B74A8
|
||||
/* E21344 802B7494 00000000 */ nop
|
||||
.L802B7498:
|
||||
/* E21348 802B7498 3C03802B */ lui $v1, %hi(D_802B79A8_E21858)
|
||||
/* E2134C 802B749C 8C6379A8 */ lw $v1, %lo(D_802B79A8_E21858)($v1)
|
||||
/* E21350 802B74A0 24020003 */ addiu $v0, $zero, 3
|
||||
/* E21354 802B74A4 A062002A */ sb $v0, 0x2a($v1)
|
||||
.L802B74A8:
|
||||
/* E21358 802B74A8 3C03802B */ lui $v1, %hi(D_802B79A8_E21858)
|
||||
/* E2135C 802B74AC 246379A8 */ addiu $v1, $v1, %lo(D_802B79A8_E21858)
|
||||
/* E21360 802B74B0 8C640000 */ lw $a0, ($v1)
|
||||
/* E21364 802B74B4 9085002A */ lbu $a1, 0x2a($a0)
|
||||
/* E21368 802B74B8 24020001 */ addiu $v0, $zero, 1
|
||||
/* E2136C 802B74BC 10A20026 */ beq $a1, $v0, .L802B7558
|
||||
/* E21370 802B74C0 28A20002 */ slti $v0, $a1, 2
|
||||
/* E21374 802B74C4 10400005 */ beqz $v0, .L802B74DC
|
||||
/* E21378 802B74C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* E2137C 802B74CC 10A00009 */ beqz $a1, .L802B74F4
|
||||
/* E21380 802B74D0 00000000 */ nop
|
||||
/* E21384 802B74D4 080ADDA0 */ j .L802B7680
|
||||
/* E21388 802B74D8 00000000 */ nop
|
||||
.L802B74DC:
|
||||
/* E2138C 802B74DC 10A20027 */ beq $a1, $v0, .L802B757C
|
||||
/* E21390 802B74E0 24020003 */ addiu $v0, $zero, 3
|
||||
/* E21394 802B74E4 10A20033 */ beq $a1, $v0, .L802B75B4
|
||||
/* E21398 802B74E8 00000000 */ nop
|
||||
/* E2139C 802B74EC 080ADDA0 */ j .L802B7680
|
||||
/* E213A0 802B74F0 00000000 */ nop
|
||||
.L802B74F4:
|
||||
/* E213A4 802B74F4 C4800014 */ lwc1 $f0, 0x14($a0)
|
||||
/* E213A8 802B74F8 3C01802B */ lui $at, %hi(D_802B79B0_E21860)
|
||||
/* E213AC 802B74FC D42279B0 */ ldc1 $f2, %lo(D_802B79B0_E21860)($at)
|
||||
/* E213B0 802B7500 3C01802B */ lui $at, %hi(D_802B79B8_E21868)
|
||||
/* E213B4 802B7504 D42479B8 */ ldc1 $f4, %lo(D_802B79B8_E21868)($at)
|
||||
/* E213B8 802B7508 46000021 */ cvt.d.s $f0, $f0
|
||||
/* E213BC 802B750C 46220000 */ add.d $f0, $f0, $f2
|
||||
/* E213C0 802B7510 AC800010 */ sw $zero, 0x10($a0)
|
||||
/* E213C4 802B7514 46200020 */ cvt.s.d $f0, $f0
|
||||
/* E213C8 802B7518 460000A1 */ cvt.d.s $f2, $f0
|
||||
/* E213CC 802B751C 4622203E */ c.le.d $f4, $f2
|
||||
/* E213D0 802B7520 00000000 */ nop
|
||||
/* E213D4 802B7524 45000056 */ bc1f .L802B7680
|
||||
/* E213D8 802B7528 E4800014 */ swc1 $f0, 0x14($a0)
|
||||
/* E213DC 802B752C 9082002A */ lbu $v0, 0x2a($a0)
|
||||
/* E213E0 802B7530 3C013F0C */ lui $at, 0x3f0c
|
||||
/* E213E4 802B7534 3421CCCD */ ori $at, $at, 0xcccd
|
||||
/* E213E8 802B7538 44810000 */ mtc1 $at, $f0
|
||||
/* E213EC 802B753C 24420001 */ addiu $v0, $v0, 1
|
||||
/* E213F0 802B7540 E4800014 */ swc1 $f0, 0x14($a0)
|
||||
/* E213F4 802B7544 A082002A */ sb $v0, 0x2a($a0)
|
||||
/* E213F8 802B7548 8C630000 */ lw $v1, ($v1)
|
||||
/* E213FC 802B754C 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* E21400 802B7550 080ADDA0 */ j .L802B7680
|
||||
/* E21404 802B7554 AC620020 */ sw $v0, 0x20($v1)
|
||||
.L802B7558:
|
||||
/* E21408 802B7558 8C820020 */ lw $v0, 0x20($a0)
|
||||
/* E2140C 802B755C AC800010 */ sw $zero, 0x10($a0)
|
||||
/* E21410 802B7560 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* E21414 802B7564 1C400046 */ bgtz $v0, .L802B7680
|
||||
/* E21418 802B7568 AC820020 */ sw $v0, 0x20($a0)
|
||||
/* E2141C 802B756C 9082002A */ lbu $v0, 0x2a($a0)
|
||||
/* E21420 802B7570 24420001 */ addiu $v0, $v0, 1
|
||||
/* E21424 802B7574 080ADDA0 */ j .L802B7680
|
||||
/* E21428 802B7578 A082002A */ sb $v0, 0x2a($a0)
|
||||
.L802B757C:
|
||||
/* E2142C 802B757C C48C0010 */ lwc1 $f12, 0x10($a0)
|
||||
/* E21430 802B7580 3C014120 */ lui $at, 0x4120
|
||||
/* E21434 802B7584 44810000 */ mtc1 $at, $f0
|
||||
/* E21438 802B7588 00000000 */ nop
|
||||
/* E2143C 802B758C 46006300 */ add.s $f12, $f12, $f0
|
||||
/* E21440 802B7590 3C0143B4 */ lui $at, 0x43b4
|
||||
/* E21444 802B7594 44810000 */ mtc1 $at, $f0
|
||||
/* E21448 802B7598 00000000 */ nop
|
||||
/* E2144C 802B759C 460C003E */ c.le.s $f0, $f12
|
||||
/* E21450 802B75A0 00000000 */ nop
|
||||
/* E21454 802B75A4 45030001 */ bc1tl .L802B75AC
|
||||
/* E21458 802B75A8 46006301 */ sub.s $f12, $f12, $f0
|
||||
.L802B75AC:
|
||||
/* E2145C 802B75AC 080ADD9D */ j .L802B7674
|
||||
/* E21460 802B75B0 E48C0010 */ swc1 $f12, 0x10($a0)
|
||||
.L802B75B4:
|
||||
/* E21464 802B75B4 C48C0010 */ lwc1 $f12, 0x10($a0)
|
||||
/* E21468 802B75B8 3C0141C8 */ lui $at, 0x41c8
|
||||
/* E2146C 802B75BC 44810000 */ mtc1 $at, $f0
|
||||
/* E21470 802B75C0 00000000 */ nop
|
||||
/* E21474 802B75C4 46006300 */ add.s $f12, $f12, $f0
|
||||
/* E21478 802B75C8 3C0143B4 */ lui $at, 0x43b4
|
||||
/* E2147C 802B75CC 44810000 */ mtc1 $at, $f0
|
||||
/* E21480 802B75D0 00000000 */ nop
|
||||
/* E21484 802B75D4 460C003E */ c.le.s $f0, $f12
|
||||
/* E21488 802B75D8 00000000 */ nop
|
||||
/* E2148C 802B75DC 45030001 */ bc1tl .L802B75E4
|
||||
/* E21490 802B75E0 46006301 */ sub.s $f12, $f12, $f0
|
||||
.L802B75E4:
|
||||
/* E21494 802B75E4 3C01428C */ lui $at, 0x428c
|
||||
/* E21498 802B75E8 44810000 */ mtc1 $at, $f0
|
||||
/* E2149C 802B75EC 00000000 */ nop
|
||||
/* E214A0 802B75F0 460C003E */ c.le.s $f0, $f12
|
||||
/* E214A4 802B75F4 00000000 */ nop
|
||||
/* E214A8 802B75F8 45000008 */ bc1f .L802B761C
|
||||
/* E214AC 802B75FC E48C0010 */ swc1 $f12, 0x10($a0)
|
||||
/* E214B0 802B7600 3C0142DC */ lui $at, 0x42dc
|
||||
/* E214B4 802B7604 44810000 */ mtc1 $at, $f0
|
||||
/* E214B8 802B7608 00000000 */ nop
|
||||
/* E214BC 802B760C 4600603E */ c.le.s $f12, $f0
|
||||
/* E214C0 802B7610 00000000 */ nop
|
||||
/* E214C4 802B7614 4501000F */ bc1t .L802B7654
|
||||
/* E214C8 802B7618 00000000 */ nop
|
||||
.L802B761C:
|
||||
/* E214CC 802B761C 3C01437A */ lui $at, 0x437a
|
||||
/* E214D0 802B7620 44810000 */ mtc1 $at, $f0
|
||||
/* E214D4 802B7624 00000000 */ nop
|
||||
/* E214D8 802B7628 460C003E */ c.le.s $f0, $f12
|
||||
/* E214DC 802B762C 00000000 */ nop
|
||||
/* E214E0 802B7630 45000010 */ bc1f .L802B7674
|
||||
/* E214E4 802B7634 00000000 */ nop
|
||||
/* E214E8 802B7638 3C014391 */ lui $at, 0x4391
|
||||
/* E214EC 802B763C 44810000 */ mtc1 $at, $f0
|
||||
/* E214F0 802B7640 00000000 */ nop
|
||||
/* E214F4 802B7644 4600603E */ c.le.s $f12, $f0
|
||||
/* E214F8 802B7648 00000000 */ nop
|
||||
/* E214FC 802B764C 45000009 */ bc1f .L802B7674
|
||||
/* E21500 802B7650 00000000 */ nop
|
||||
.L802B7654:
|
||||
/* E21504 802B7654 8E020004 */ lw $v0, 4($s0)
|
||||
/* E21508 802B7658 2403FFDF */ addiu $v1, $zero, -0x21
|
||||
/* E2150C 802B765C 3C018011 */ lui $at, %hi(D_8010C940)
|
||||
/* E21510 802B7660 AC20C940 */ sw $zero, %lo(D_8010C940)($at)
|
||||
/* E21514 802B7664 AE0000C8 */ sw $zero, 0xc8($s0)
|
||||
/* E21518 802B7668 00431024 */ and $v0, $v0, $v1
|
||||
/* E2151C 802B766C 080ADDBE */ j .L802B76F8
|
||||
/* E21520 802B7670 AE020004 */ sw $v0, 4($s0)
|
||||
.L802B7674:
|
||||
/* E21524 802B7674 0C0ADC00 */ jal e20eb0_UnkAngleFunc1
|
||||
/* E21528 802B7678 00000000 */ nop
|
||||
/* E2152C 802B767C 0040302D */ daddu $a2, $v0, $zero
|
||||
.L802B7680:
|
||||
/* E21530 802B7680 3C04802B */ lui $a0, %hi(D_802B79A8_E21858)
|
||||
/* E21534 802B7684 248479A8 */ addiu $a0, $a0, %lo(D_802B79A8_E21858)
|
||||
/* E21538 802B7688 8C820000 */ lw $v0, ($a0)
|
||||
/* E2153C 802B768C A046002B */ sb $a2, 0x2b($v0)
|
||||
/* E21540 802B7690 8E0300C8 */ lw $v1, 0xc8($s0)
|
||||
/* E21544 802B7694 10600005 */ beqz $v1, .L802B76AC
|
||||
/* E21548 802B7698 00000000 */ nop
|
||||
/* E2154C 802B769C 8C840000 */ lw $a0, ($a0)
|
||||
/* E21550 802B76A0 8C820000 */ lw $v0, ($a0)
|
||||
/* E21554 802B76A4 54620001 */ bnel $v1, $v0, .L802B76AC
|
||||
/* E21558 802B76A8 AC830000 */ sw $v1, ($a0)
|
||||
.L802B76AC:
|
||||
/* E2155C 802B76AC 3C03802B */ lui $v1, %hi(D_802B79A8_E21858)
|
||||
/* E21560 802B76B0 8C6379A8 */ lw $v1, %lo(D_802B79A8_E21858)($v1)
|
||||
/* E21564 802B76B4 8C640000 */ lw $a0, ($v1)
|
||||
/* E21568 802B76B8 848200A8 */ lh $v0, 0xa8($a0)
|
||||
/* E2156C 802B76BC C480003C */ lwc1 $f0, 0x3c($a0)
|
||||
/* E21570 802B76C0 44821000 */ mtc1 $v0, $f2
|
||||
/* E21574 802B76C4 00000000 */ nop
|
||||
/* E21578 802B76C8 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* E2157C 802B76CC 46020000 */ add.s $f0, $f0, $f2
|
||||
/* E21580 802B76D0 3C014100 */ lui $at, 0x4100
|
||||
/* E21584 802B76D4 44811000 */ mtc1 $at, $f2
|
||||
/* E21588 802B76D8 00000000 */ nop
|
||||
/* E2158C 802B76DC 46020000 */ add.s $f0, $f0, $f2
|
||||
/* E21590 802B76E0 E460001C */ swc1 $f0, 0x1c($v1)
|
||||
/* E21594 802B76E4 E4600008 */ swc1 $f0, 8($v1)
|
||||
/* E21598 802B76E8 C4800038 */ lwc1 $f0, 0x38($a0)
|
||||
/* E2159C 802B76EC E4600004 */ swc1 $f0, 4($v1)
|
||||
/* E215A0 802B76F0 C4800040 */ lwc1 $f0, 0x40($a0)
|
||||
/* E215A4 802B76F4 E460000C */ swc1 $f0, 0xc($v1)
|
||||
.L802B76F8:
|
||||
/* E215A8 802B76F8 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* E215AC 802B76FC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* E215B0 802B7700 03E00008 */ jr $ra
|
||||
/* E215B4 802B7704 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
/* E215B8 802B7708 00000000 */ nop
|
||||
/* E215BC 802B770C 00000000 */ nop
|
@ -1,205 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel lil_oink_appendGfx
|
||||
/* 3FEE68 E0114388 27BDFF70 */ addiu $sp, $sp, -0x90
|
||||
/* 3FEE6C E011438C 3C07DB06 */ lui $a3, 0xdb06
|
||||
/* 3FEE70 E0114390 34E70024 */ ori $a3, $a3, 0x24
|
||||
/* 3FEE74 E0114394 3C08DC08 */ lui $t0, 0xdc08
|
||||
/* 3FEE78 E0114398 3508000A */ ori $t0, $t0, 0xa
|
||||
/* 3FEE7C E011439C 3C09DC08 */ lui $t1, 0xdc08
|
||||
/* 3FEE80 E01143A0 3529030A */ ori $t1, $t1, 0x30a
|
||||
/* 3FEE84 E01143A4 AFB3006C */ sw $s3, 0x6c($sp)
|
||||
/* 3FEE88 E01143A8 0000982D */ daddu $s3, $zero, $zero
|
||||
/* 3FEE8C E01143AC 3C02800A */ lui $v0, %hi(gDisplayContext)
|
||||
/* 3FEE90 E01143B0 2442A674 */ addiu $v0, $v0, %lo(gDisplayContext)
|
||||
/* 3FEE94 E01143B4 AFBE0080 */ sw $fp, 0x80($sp)
|
||||
/* 3FEE98 E01143B8 0040F02D */ daddu $fp, $v0, $zero
|
||||
/* 3FEE9C E01143BC AFB7007C */ sw $s7, 0x7c($sp)
|
||||
/* 3FEEA0 E01143C0 3C178007 */ lui $s7, %hi(gMatrixListPos)
|
||||
/* 3FEEA4 E01143C4 26F741F0 */ addiu $s7, $s7, %lo(gMatrixListPos)
|
||||
/* 3FEEA8 E01143C8 AFB60078 */ sw $s6, 0x78($sp)
|
||||
/* 3FEEAC E01143CC 3C160001 */ lui $s6, 1
|
||||
/* 3FEEB0 E01143D0 36D61630 */ ori $s6, $s6, 0x1630
|
||||
/* 3FEEB4 E01143D4 3C02800A */ lui $v0, %hi(gMasterGfxPos)
|
||||
/* 3FEEB8 E01143D8 2442A66C */ addiu $v0, $v0, %lo(gMasterGfxPos)
|
||||
/* 3FEEBC E01143DC AFB20068 */ sw $s2, 0x68($sp)
|
||||
/* 3FEEC0 E01143E0 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 3FEEC4 E01143E4 3C02E700 */ lui $v0, 0xe700
|
||||
/* 3FEEC8 E01143E8 AFBF0084 */ sw $ra, 0x84($sp)
|
||||
/* 3FEECC E01143EC AFB50074 */ sw $s5, 0x74($sp)
|
||||
/* 3FEED0 E01143F0 AFB40070 */ sw $s4, 0x70($sp)
|
||||
/* 3FEED4 E01143F4 AFB10064 */ sw $s1, 0x64($sp)
|
||||
/* 3FEED8 E01143F8 AFB00060 */ sw $s0, 0x60($sp)
|
||||
/* 3FEEDC E01143FC F7B40088 */ sdc1 $f20, 0x88($sp)
|
||||
/* 3FEEE0 E0114400 8E430000 */ lw $v1, ($s2)
|
||||
/* 3FEEE4 E0114404 4480A000 */ mtc1 $zero, $f20
|
||||
/* 3FEEE8 E0114408 8C95000C */ lw $s5, 0xc($a0)
|
||||
/* 3FEEEC E011440C 0060282D */ daddu $a1, $v1, $zero
|
||||
/* 3FEEF0 E0114410 24630008 */ addiu $v1, $v1, 8
|
||||
/* 3FEEF4 E0114414 AE430000 */ sw $v1, ($s2)
|
||||
/* 3FEEF8 E0114418 8EA60004 */ lw $a2, 4($s5)
|
||||
/* 3FEEFC E011441C 02A0882D */ daddu $s1, $s5, $zero
|
||||
/* 3FEF00 E0114420 ACA20000 */ sw $v0, ($a1)
|
||||
/* 3FEF04 E0114424 24620008 */ addiu $v0, $v1, 8
|
||||
/* 3FEF08 E0114428 ACA00004 */ sw $zero, 4($a1)
|
||||
/* 3FEF0C E011442C AE420000 */ sw $v0, ($s2)
|
||||
/* 3FEF10 E0114430 24620010 */ addiu $v0, $v1, 0x10
|
||||
/* 3FEF14 E0114434 AC670000 */ sw $a3, ($v1)
|
||||
/* 3FEF18 E0114438 AE420000 */ sw $v0, ($s2)
|
||||
/* 3FEF1C E011443C 24620018 */ addiu $v0, $v1, 0x18
|
||||
/* 3FEF20 E0114440 AE420000 */ sw $v0, ($s2)
|
||||
/* 3FEF24 E0114444 24620020 */ addiu $v0, $v1, 0x20
|
||||
/* 3FEF28 E0114448 AE420000 */ sw $v0, ($s2)
|
||||
/* 3FEF2C E011444C 8C840010 */ lw $a0, 0x10($a0)
|
||||
/* 3FEF30 E0114450 00061100 */ sll $v0, $a2, 4
|
||||
/* 3FEF34 E0114454 00461023 */ subu $v0, $v0, $a2
|
||||
/* 3FEF38 E0114458 0002A040 */ sll $s4, $v0, 1
|
||||
/* 3FEF3C E011445C 8C85001C */ lw $a1, 0x1c($a0)
|
||||
/* 3FEF40 E0114460 3C02DE00 */ lui $v0, 0xde00
|
||||
/* 3FEF44 E0114464 AC620008 */ sw $v0, 8($v1)
|
||||
/* 3FEF48 E0114468 8FC40000 */ lw $a0, ($fp)
|
||||
/* 3FEF4C E011446C 3C020900 */ lui $v0, 0x900
|
||||
/* 3FEF50 E0114470 24422D70 */ addiu $v0, $v0, 0x2d70
|
||||
/* 3FEF54 E0114474 AC62000C */ sw $v0, 0xc($v1)
|
||||
/* 3FEF58 E0114478 3C028000 */ lui $v0, 0x8000
|
||||
/* 3FEF5C E011447C AC680010 */ sw $t0, 0x10($v1)
|
||||
/* 3FEF60 E0114480 AC690018 */ sw $t1, 0x18($v1)
|
||||
/* 3FEF64 E0114484 AC640014 */ sw $a0, 0x14($v1)
|
||||
/* 3FEF68 E0114488 24840010 */ addiu $a0, $a0, 0x10
|
||||
/* 3FEF6C E011448C 00A22821 */ addu $a1, $a1, $v0
|
||||
/* 3FEF70 E0114490 AC64001C */ sw $a0, 0x1c($v1)
|
||||
/* 3FEF74 E0114494 AC650004 */ sw $a1, 4($v1)
|
||||
.LE0114498:
|
||||
/* 3FEF78 E0114498 8E220008 */ lw $v0, 8($s1)
|
||||
/* 3FEF7C E011449C 30420001 */ andi $v0, $v0, 1
|
||||
/* 3FEF80 E01144A0 1040006D */ beqz $v0, .LE0114658
|
||||
/* 3FEF84 E01144A4 27A40020 */ addiu $a0, $sp, 0x20
|
||||
/* 3FEF88 E01144A8 3C013F80 */ lui $at, 0x3f80
|
||||
/* 3FEF8C E01144AC 44810000 */ mtc1 $at, $f0
|
||||
/* 3FEF90 E01144B0 C62400B8 */ lwc1 $f4, 0xb8($s1)
|
||||
/* 3FEF94 E01144B4 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 3FEF98 E01144B8 C6200034 */ lwc1 $f0, 0x34($s1)
|
||||
/* 3FEF9C E01144BC E7A00014 */ swc1 $f0, 0x14($sp)
|
||||
/* 3FEFA0 E01144C0 C6200060 */ lwc1 $f0, 0x60($s1)
|
||||
/* 3FEFA4 E01144C4 C6220110 */ lwc1 $f2, 0x110($s1)
|
||||
/* 3FEFA8 E01144C8 4405A000 */ mfc1 $a1, $f20
|
||||
/* 3FEFAC E01144CC 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 3FEFB0 E01144D0 3C014334 */ lui $at, 0x4334
|
||||
/* 3FEFB4 E01144D4 44811000 */ mtc1 $at, $f2
|
||||
/* 3FEFB8 E01144D8 4407A000 */ mfc1 $a3, $f20
|
||||
/* 3FEFBC E01144DC 46041081 */ sub.s $f2, $f2, $f4
|
||||
/* 3FEFC0 E01144E0 E7A00018 */ swc1 $f0, 0x18($sp)
|
||||
/* 3FEFC4 E01144E4 C620008C */ lwc1 $f0, 0x8c($s1)
|
||||
/* 3FEFC8 E01144E8 44061000 */ mfc1 $a2, $f2
|
||||
/* 3FEFCC E01144EC 0C080180 */ jal shim_guPositionF
|
||||
/* 3FEFD0 E01144F0 E7A0001C */ swc1 $f0, 0x1c($sp)
|
||||
/* 3FEFD4 E01144F4 27A40020 */ addiu $a0, $sp, 0x20
|
||||
/* 3FEFD8 E01144F8 96E50000 */ lhu $a1, ($s7)
|
||||
/* 3FEFDC E01144FC 8FC20000 */ lw $v0, ($fp)
|
||||
/* 3FEFE0 E0114500 00052980 */ sll $a1, $a1, 6
|
||||
/* 3FEFE4 E0114504 00B62821 */ addu $a1, $a1, $s6
|
||||
/* 3FEFE8 E0114508 0C080118 */ jal shim_guMtxF2L
|
||||
/* 3FEFEC E011450C 00452821 */ addu $a1, $v0, $a1
|
||||
/* 3FEFF0 E0114510 3C02DA38 */ lui $v0, 0xda38
|
||||
/* 3FEFF4 E0114514 34420002 */ ori $v0, $v0, 2
|
||||
/* 3FEFF8 E0114518 02B38021 */ addu $s0, $s5, $s3
|
||||
/* 3FEFFC E011451C 8E440000 */ lw $a0, ($s2)
|
||||
/* 3FF000 E0114520 96E30000 */ lhu $v1, ($s7)
|
||||
/* 3FF004 E0114524 0080282D */ daddu $a1, $a0, $zero
|
||||
/* 3FF008 E0114528 24840008 */ addiu $a0, $a0, 8
|
||||
/* 3FF00C E011452C AE440000 */ sw $a0, ($s2)
|
||||
/* 3FF010 E0114530 ACA20000 */ sw $v0, ($a1)
|
||||
/* 3FF014 E0114534 24620001 */ addiu $v0, $v1, 1
|
||||
/* 3FF018 E0114538 3063FFFF */ andi $v1, $v1, 0xffff
|
||||
/* 3FF01C E011453C 00031980 */ sll $v1, $v1, 6
|
||||
/* 3FF020 E0114540 A6E20000 */ sh $v0, ($s7)
|
||||
/* 3FF024 E0114544 8FC20000 */ lw $v0, ($fp)
|
||||
/* 3FF028 E0114548 00761821 */ addu $v1, $v1, $s6
|
||||
/* 3FF02C E011454C 00431021 */ addu $v0, $v0, $v1
|
||||
/* 3FF030 E0114550 ACA20004 */ sw $v0, 4($a1)
|
||||
/* 3FF034 E0114554 24820008 */ addiu $v0, $a0, 8
|
||||
/* 3FF038 E0114558 3C0ADE00 */ lui $t2, 0xde00
|
||||
/* 3FF03C E011455C AE420000 */ sw $v0, ($s2)
|
||||
/* 3FF040 E0114560 AC8A0000 */ sw $t2, ($a0)
|
||||
/* 3FF044 E0114564 920200E4 */ lbu $v0, 0xe4($s0)
|
||||
/* 3FF048 E0114568 3C0AE011 */ lui $t2, %hi(D_E0114718)
|
||||
/* 3FF04C E011456C 254A4718 */ addiu $t2, $t2, %lo(D_E0114718)
|
||||
/* 3FF050 E0114570 00021080 */ sll $v0, $v0, 2
|
||||
/* 3FF054 E0114574 004A1021 */ addu $v0, $v0, $t2
|
||||
/* 3FF058 E0114578 8C420000 */ lw $v0, ($v0)
|
||||
/* 3FF05C E011457C AC820004 */ sw $v0, 4($a0)
|
||||
/* 3FF060 E0114580 920200E4 */ lbu $v0, 0xe4($s0)
|
||||
/* 3FF064 E0114584 2442FFF8 */ addiu $v0, $v0, -8
|
||||
/* 3FF068 E0114588 2C420002 */ sltiu $v0, $v0, 2
|
||||
/* 3FF06C E011458C 1040001B */ beqz $v0, .LE01145FC
|
||||
/* 3FF070 E0114590 3C07D838 */ lui $a3, 0xd838
|
||||
/* 3FF074 E0114594 44946000 */ mtc1 $s4, $f12
|
||||
/* 3FF078 E0114598 00000000 */ nop
|
||||
/* 3FF07C E011459C 0C080140 */ jal shim_sin_deg
|
||||
/* 3FF080 E01145A0 46806320 */ cvt.s.w $f12, $f12
|
||||
/* 3FF084 E01145A4 3C01427C */ lui $at, 0x427c
|
||||
/* 3FF088 E01145A8 44811000 */ mtc1 $at, $f2
|
||||
/* 3FF08C E01145AC 8E420000 */ lw $v0, ($s2)
|
||||
/* 3FF090 E01145B0 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 3FF094 E01145B4 00000000 */ nop
|
||||
/* 3FF098 E01145B8 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 3FF09C E01145BC 24420008 */ addiu $v0, $v0, 8
|
||||
/* 3FF0A0 E01145C0 AE420000 */ sw $v0, ($s2)
|
||||
/* 3FF0A4 E01145C4 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 3FF0A8 E01145C8 3C02FA00 */ lui $v0, 0xfa00
|
||||
/* 3FF0AC E01145CC ACA20000 */ sw $v0, ($a1)
|
||||
/* 3FF0B0 E01145D0 4600018D */ trunc.w.s $f6, $f0
|
||||
/* 3FF0B4 E01145D4 44023000 */ mfc1 $v0, $f6
|
||||
/* 3FF0B8 E01145D8 00000000 */ nop
|
||||
/* 3FF0BC E01145DC 304200FF */ andi $v0, $v0, 0xff
|
||||
/* 3FF0C0 E01145E0 00022600 */ sll $a0, $v0, 0x18
|
||||
/* 3FF0C4 E01145E4 00021C00 */ sll $v1, $v0, 0x10
|
||||
/* 3FF0C8 E01145E8 00832025 */ or $a0, $a0, $v1
|
||||
/* 3FF0CC E01145EC 00021200 */ sll $v0, $v0, 8
|
||||
/* 3FF0D0 E01145F0 00822025 */ or $a0, $a0, $v0
|
||||
/* 3FF0D4 E01145F4 ACA40004 */ sw $a0, 4($a1)
|
||||
/* 3FF0D8 E01145F8 3C07D838 */ lui $a3, 0xd838
|
||||
.LE01145FC:
|
||||
/* 3FF0DC E01145FC 8E440000 */ lw $a0, ($s2)
|
||||
/* 3FF0E0 E0114600 34E70002 */ ori $a3, $a3, 2
|
||||
/* 3FF0E4 E0114604 0080302D */ daddu $a2, $a0, $zero
|
||||
/* 3FF0E8 E0114608 24840008 */ addiu $a0, $a0, 8
|
||||
/* 3FF0EC E011460C 3C0ADE00 */ lui $t2, 0xde00
|
||||
/* 3FF0F0 E0114610 AE440000 */ sw $a0, ($s2)
|
||||
/* 3FF0F4 E0114614 ACCA0000 */ sw $t2, ($a2)
|
||||
/* 3FF0F8 E0114618 3C0AE011 */ lui $t2, %hi(D_E01146A0)
|
||||
/* 3FF0FC E011461C 254A46A0 */ addiu $t2, $t2, %lo(D_E01146A0)
|
||||
/* 3FF100 E0114620 920500E4 */ lbu $a1, 0xe4($s0)
|
||||
/* 3FF104 E0114624 92030105 */ lbu $v1, 0x105($s0)
|
||||
/* 3FF108 E0114628 00051040 */ sll $v0, $a1, 1
|
||||
/* 3FF10C E011462C 00451021 */ addu $v0, $v0, $a1
|
||||
/* 3FF110 E0114630 00431021 */ addu $v0, $v0, $v1
|
||||
/* 3FF114 E0114634 00021080 */ sll $v0, $v0, 2
|
||||
/* 3FF118 E0114638 004A1021 */ addu $v0, $v0, $t2
|
||||
/* 3FF11C E011463C 8C430000 */ lw $v1, ($v0)
|
||||
/* 3FF120 E0114640 24820008 */ addiu $v0, $a0, 8
|
||||
/* 3FF124 E0114644 AE420000 */ sw $v0, ($s2)
|
||||
/* 3FF128 E0114648 24020040 */ addiu $v0, $zero, 0x40
|
||||
/* 3FF12C E011464C ACC30004 */ sw $v1, 4($a2)
|
||||
/* 3FF130 E0114650 AC870000 */ sw $a3, ($a0)
|
||||
/* 3FF134 E0114654 AC820004 */ sw $v0, 4($a0)
|
||||
.LE0114658:
|
||||
/* 3FF138 E0114658 26940014 */ addiu $s4, $s4, 0x14
|
||||
/* 3FF13C E011465C 26730001 */ addiu $s3, $s3, 1
|
||||
/* 3FF140 E0114660 2A62000B */ slti $v0, $s3, 0xb
|
||||
/* 3FF144 E0114664 1440FF8C */ bnez $v0, .LE0114498
|
||||
/* 3FF148 E0114668 26310004 */ addiu $s1, $s1, 4
|
||||
/* 3FF14C E011466C 8FBF0084 */ lw $ra, 0x84($sp)
|
||||
/* 3FF150 E0114670 8FBE0080 */ lw $fp, 0x80($sp)
|
||||
/* 3FF154 E0114674 8FB7007C */ lw $s7, 0x7c($sp)
|
||||
/* 3FF158 E0114678 8FB60078 */ lw $s6, 0x78($sp)
|
||||
/* 3FF15C E011467C 8FB50074 */ lw $s5, 0x74($sp)
|
||||
/* 3FF160 E0114680 8FB40070 */ lw $s4, 0x70($sp)
|
||||
/* 3FF164 E0114684 8FB3006C */ lw $s3, 0x6c($sp)
|
||||
/* 3FF168 E0114688 8FB20068 */ lw $s2, 0x68($sp)
|
||||
/* 3FF16C E011468C 8FB10064 */ lw $s1, 0x64($sp)
|
||||
/* 3FF170 E0114690 8FB00060 */ lw $s0, 0x60($sp)
|
||||
/* 3FF174 E0114694 D7B40088 */ ldc1 $f20, 0x88($sp)
|
||||
/* 3FF178 E0114698 03E00008 */ jr $ra
|
||||
/* 3FF17C E011469C 27BD0090 */ addiu $sp, $sp, 0x90
|
@ -1,60 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel lil_oink_main
|
||||
/* 3FEAE0 E0114000 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 3FEAE4 E0114004 27A40010 */ addiu $a0, $sp, 0x10
|
||||
/* 3FEAE8 E0114008 3C02E011 */ lui $v0, %hi(lil_oink_init)
|
||||
/* 3FEAEC E011400C 244240D4 */ addiu $v0, $v0, %lo(lil_oink_init)
|
||||
/* 3FEAF0 E0114010 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 3FEAF4 E0114014 3C02E011 */ lui $v0, %hi(lil_oink_update)
|
||||
/* 3FEAF8 E0114018 244240DC */ addiu $v0, $v0, %lo(lil_oink_update)
|
||||
/* 3FEAFC E011401C AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* 3FEB00 E0114020 3C02E011 */ lui $v0, %hi(lil_oink_render)
|
||||
/* 3FEB04 E0114024 24424340 */ addiu $v0, $v0, %lo(lil_oink_render)
|
||||
/* 3FEB08 E0114028 AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* 3FEB0C E011402C 2402007C */ addiu $v0, $zero, 0x7c
|
||||
/* 3FEB10 E0114030 AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* 3FEB14 E0114034 AFB00028 */ sw $s0, 0x28($sp)
|
||||
/* 3FEB18 E0114038 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* 3FEB1C E011403C AFA00024 */ sw $zero, 0x24($sp)
|
||||
/* 3FEB20 E0114040 0C080124 */ jal shim_create_effect_instance
|
||||
/* 3FEB24 E0114044 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 3FEB28 E0114048 24040148 */ addiu $a0, $zero, 0x148
|
||||
/* 3FEB2C E011404C 24030001 */ addiu $v1, $zero, 1
|
||||
/* 3FEB30 E0114050 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 3FEB34 E0114054 0C08012C */ jal shim_general_heap_malloc
|
||||
/* 3FEB38 E0114058 AE030008 */ sw $v1, 8($s0)
|
||||
/* 3FEB3C E011405C 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 3FEB40 E0114060 14A00003 */ bnez $a1, .LE0114070
|
||||
/* 3FEB44 E0114064 AE02000C */ sw $v0, 0xc($s0)
|
||||
.LE0114068:
|
||||
/* 3FEB48 E0114068 0804501A */ j .LE0114068
|
||||
/* 3FEB4C E011406C 00000000 */ nop
|
||||
.LE0114070:
|
||||
/* 3FEB50 E0114070 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 3FEB54 E0114074 24060001 */ addiu $a2, $zero, 1
|
||||
/* 3FEB58 E0114078 00A0182D */ daddu $v1, $a1, $zero
|
||||
/* 3FEB5C E011407C 240203E8 */ addiu $v0, $zero, 0x3e8
|
||||
/* 3FEB60 E0114080 ACA00004 */ sw $zero, 4($a1)
|
||||
/* 3FEB64 E0114084 ACA20000 */ sw $v0, ($a1)
|
||||
.LE0114088:
|
||||
/* 3FEB68 E0114088 00A41021 */ addu $v0, $a1, $a0
|
||||
/* 3FEB6C E011408C AC600034 */ sw $zero, 0x34($v1)
|
||||
/* 3FEB70 E0114090 AC600060 */ sw $zero, 0x60($v1)
|
||||
/* 3FEB74 E0114094 AC60008C */ sw $zero, 0x8c($v1)
|
||||
/* 3FEB78 E0114098 AC6000B8 */ sw $zero, 0xb8($v1)
|
||||
/* 3FEB7C E011409C AC600008 */ sw $zero, 8($v1)
|
||||
/* 3FEB80 E01140A0 A04600FA */ sb $a2, 0xfa($v0)
|
||||
/* 3FEB84 E01140A4 A0460105 */ sb $a2, 0x105($v0)
|
||||
/* 3FEB88 E01140A8 AC600110 */ sw $zero, 0x110($v1)
|
||||
/* 3FEB8C E01140AC 24840001 */ addiu $a0, $a0, 1
|
||||
/* 3FEB90 E01140B0 A040013C */ sb $zero, 0x13c($v0)
|
||||
/* 3FEB94 E01140B4 2882000B */ slti $v0, $a0, 0xb
|
||||
/* 3FEB98 E01140B8 1440FFF3 */ bnez $v0, .LE0114088
|
||||
/* 3FEB9C E01140BC 24630004 */ addiu $v1, $v1, 4
|
||||
/* 3FEBA0 E01140C0 0200102D */ daddu $v0, $s0, $zero
|
||||
/* 3FEBA4 E01140C4 8FBF002C */ lw $ra, 0x2c($sp)
|
||||
/* 3FEBA8 E01140C8 8FB00028 */ lw $s0, 0x28($sp)
|
||||
/* 3FEBAC E01140CC 03E00008 */ jr $ra
|
||||
/* 3FEBB0 E01140D0 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,179 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel jtbl_E0114750
|
||||
.word LE0114150_3FEC30, LE0114148_3FEC28, LE01141B4_3FEC94, LE0114158_3FEC38, LE0114210_3FECF0, LE011426C_3FED4C, 0, 0
|
||||
|
||||
.section .text
|
||||
|
||||
glabel lil_oink_update
|
||||
/* 3FEBBC E01140DC 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 3FEBC0 E01140E0 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 3FEBC4 E01140E4 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* 3FEBC8 E01140E8 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 3FEBCC E01140EC AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 3FEBD0 E01140F0 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 3FEBD4 E01140F4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 3FEBD8 E01140F8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 3FEBDC E01140FC 8C94000C */ lw $s4, 0xc($a0)
|
||||
/* 3FEBE0 E0114100 3C15E011 */ lui $s5, %hi(D_E0114740)
|
||||
/* 3FEBE4 E0114104 26B54740 */ addiu $s5, $s5, %lo(D_E0114740)
|
||||
/* 3FEBE8 E0114108 0280902D */ daddu $s2, $s4, $zero
|
||||
/* 3FEBEC E011410C 8E820004 */ lw $v0, 4($s4)
|
||||
/* 3FEBF0 E0114110 0280882D */ daddu $s1, $s4, $zero
|
||||
/* 3FEBF4 E0114114 24420001 */ addiu $v0, $v0, 1
|
||||
/* 3FEBF8 E0114118 AE820004 */ sw $v0, 4($s4)
|
||||
.LE011411C:
|
||||
/* 3FEBFC E011411C 922300FA */ lbu $v1, 0xfa($s1)
|
||||
/* 3FEC00 E0114120 8230013C */ lb $s0, 0x13c($s1)
|
||||
/* 3FEC04 E0114124 2C620006 */ sltiu $v0, $v1, 6
|
||||
/* 3FEC08 E0114128 10400050 */ beqz $v0, LE011426C_3FED4C
|
||||
/* 3FEC0C E011412C 0000982D */ daddu $s3, $zero, $zero
|
||||
/* 3FEC10 E0114130 00031080 */ sll $v0, $v1, 2
|
||||
/* 3FEC14 E0114134 3C01E011 */ lui $at, %hi(jtbl_E0114750)
|
||||
/* 3FEC18 E0114138 00220821 */ addu $at, $at, $v0
|
||||
/* 3FEC1C E011413C 8C224750 */ lw $v0, %lo(jtbl_E0114750)($at)
|
||||
/* 3FEC20 E0114140 00400008 */ jr $v0
|
||||
/* 3FEC24 E0114144 00000000 */ nop
|
||||
dlabel LE0114148_3FEC28
|
||||
/* 3FEC28 E0114148 24020001 */ addiu $v0, $zero, 1
|
||||
/* 3FEC2C E011414C A2220105 */ sb $v0, 0x105($s1)
|
||||
dlabel LE0114150_3FEC30
|
||||
/* 3FEC30 E0114150 080450B5 */ j .LE01142D4
|
||||
/* 3FEC34 E0114154 24130001 */ addiu $s3, $zero, 1
|
||||
dlabel LE0114158_3FEC38
|
||||
/* 3FEC38 E0114158 06010002 */ bgez $s0, .LE0114164
|
||||
/* 3FEC3C E011415C 0200102D */ daddu $v0, $s0, $zero
|
||||
/* 3FEC40 E0114160 26020003 */ addiu $v0, $s0, 3
|
||||
.LE0114164:
|
||||
/* 3FEC44 E0114164 00021083 */ sra $v0, $v0, 2
|
||||
/* 3FEC48 E0114168 00021080 */ sll $v0, $v0, 2
|
||||
/* 3FEC4C E011416C 02021023 */ subu $v0, $s0, $v0
|
||||
/* 3FEC50 E0114170 00551021 */ addu $v0, $v0, $s5
|
||||
/* 3FEC54 E0114174 00101880 */ sll $v1, $s0, 2
|
||||
/* 3FEC58 E0114178 00701821 */ addu $v1, $v1, $s0
|
||||
/* 3FEC5C E011417C 00031840 */ sll $v1, $v1, 1
|
||||
/* 3FEC60 E0114180 90420000 */ lbu $v0, ($v0)
|
||||
/* 3FEC64 E0114184 44836000 */ mtc1 $v1, $f12
|
||||
/* 3FEC68 E0114188 00000000 */ nop
|
||||
/* 3FEC6C E011418C 46806320 */ cvt.s.w $f12, $f12
|
||||
/* 3FEC70 E0114190 0C080140 */ jal shim_sin_deg
|
||||
/* 3FEC74 E0114194 A2220105 */ sb $v0, 0x105($s1)
|
||||
/* 3FEC78 E0114198 C64200B8 */ lwc1 $f2, 0xb8($s2)
|
||||
/* 3FEC7C E011419C 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 3FEC80 E01141A0 2A020024 */ slti $v0, $s0, 0x24
|
||||
/* 3FEC84 E01141A4 1440004B */ bnez $v0, .LE01142D4
|
||||
/* 3FEC88 E01141A8 E64200B8 */ swc1 $f2, 0xb8($s2)
|
||||
/* 3FEC8C E01141AC 080450B4 */ j .LE01142D0
|
||||
/* 3FEC90 E01141B0 24130001 */ addiu $s3, $zero, 1
|
||||
dlabel LE01141B4_3FEC94
|
||||
/* 3FEC94 E01141B4 06010002 */ bgez $s0, .LE01141C0
|
||||
/* 3FEC98 E01141B8 0200102D */ daddu $v0, $s0, $zero
|
||||
/* 3FEC9C E01141BC 26020003 */ addiu $v0, $s0, 3
|
||||
.LE01141C0:
|
||||
/* 3FECA0 E01141C0 00021083 */ sra $v0, $v0, 2
|
||||
/* 3FECA4 E01141C4 00021080 */ sll $v0, $v0, 2
|
||||
/* 3FECA8 E01141C8 02021023 */ subu $v0, $s0, $v0
|
||||
/* 3FECAC E01141CC 00551021 */ addu $v0, $v0, $s5
|
||||
/* 3FECB0 E01141D0 00101880 */ sll $v1, $s0, 2
|
||||
/* 3FECB4 E01141D4 00701821 */ addu $v1, $v1, $s0
|
||||
/* 3FECB8 E01141D8 00031880 */ sll $v1, $v1, 2
|
||||
/* 3FECBC E01141DC 90420000 */ lbu $v0, ($v0)
|
||||
/* 3FECC0 E01141E0 44836000 */ mtc1 $v1, $f12
|
||||
/* 3FECC4 E01141E4 00000000 */ nop
|
||||
/* 3FECC8 E01141E8 46806320 */ cvt.s.w $f12, $f12
|
||||
/* 3FECCC E01141EC 0C080140 */ jal shim_sin_deg
|
||||
/* 3FECD0 E01141F0 A2220105 */ sb $v0, 0x105($s1)
|
||||
/* 3FECD4 E01141F4 46000000 */ add.s $f0, $f0, $f0
|
||||
/* 3FECD8 E01141F8 24130001 */ addiu $s3, $zero, 1
|
||||
/* 3FECDC E01141FC 2A020009 */ slti $v0, $s0, 9
|
||||
/* 3FECE0 E0114200 14400034 */ bnez $v0, .LE01142D4
|
||||
/* 3FECE4 E0114204 E6400110 */ swc1 $f0, 0x110($s2)
|
||||
/* 3FECE8 E0114208 080450B4 */ j .LE01142D0
|
||||
/* 3FECEC E011420C AE400110 */ sw $zero, 0x110($s2)
|
||||
dlabel LE0114210_3FECF0
|
||||
/* 3FECF0 E0114210 06010002 */ bgez $s0, .LE011421C
|
||||
/* 3FECF4 E0114214 0200102D */ daddu $v0, $s0, $zero
|
||||
/* 3FECF8 E0114218 26020003 */ addiu $v0, $s0, 3
|
||||
.LE011421C:
|
||||
/* 3FECFC E011421C 00021083 */ sra $v0, $v0, 2
|
||||
/* 3FED00 E0114220 00021080 */ sll $v0, $v0, 2
|
||||
/* 3FED04 E0114224 02021023 */ subu $v0, $s0, $v0
|
||||
/* 3FED08 E0114228 00551021 */ addu $v0, $v0, $s5
|
||||
/* 3FED0C E011422C 00101880 */ sll $v1, $s0, 2
|
||||
/* 3FED10 E0114230 00701821 */ addu $v1, $v1, $s0
|
||||
/* 3FED14 E0114234 00031880 */ sll $v1, $v1, 2
|
||||
/* 3FED18 E0114238 90420000 */ lbu $v0, ($v0)
|
||||
/* 3FED1C E011423C 44836000 */ mtc1 $v1, $f12
|
||||
/* 3FED20 E0114240 00000000 */ nop
|
||||
/* 3FED24 E0114244 46806320 */ cvt.s.w $f12, $f12
|
||||
/* 3FED28 E0114248 0C080140 */ jal shim_sin_deg
|
||||
/* 3FED2C E011424C A2220105 */ sb $v0, 0x105($s1)
|
||||
/* 3FED30 E0114250 3C014080 */ lui $at, 0x4080
|
||||
/* 3FED34 E0114254 44811000 */ mtc1 $at, $f2
|
||||
/* 3FED38 E0114258 00000000 */ nop
|
||||
/* 3FED3C E011425C 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 3FED40 E0114260 00000000 */ nop
|
||||
/* 3FED44 E0114264 080450B0 */ j .LE01142C0
|
||||
/* 3FED48 E0114268 2A020009 */ slti $v0, $s0, 9
|
||||
dlabel LE011426C_3FED4C
|
||||
/* 3FED4C E011426C 06010002 */ bgez $s0, .LE0114278
|
||||
/* 3FED50 E0114270 0200102D */ daddu $v0, $s0, $zero
|
||||
/* 3FED54 E0114274 26020003 */ addiu $v0, $s0, 3
|
||||
.LE0114278:
|
||||
/* 3FED58 E0114278 00021083 */ sra $v0, $v0, 2
|
||||
/* 3FED5C E011427C 00021080 */ sll $v0, $v0, 2
|
||||
/* 3FED60 E0114280 02021023 */ subu $v0, $s0, $v0
|
||||
/* 3FED64 E0114284 00551021 */ addu $v0, $v0, $s5
|
||||
/* 3FED68 E0114288 00101880 */ sll $v1, $s0, 2
|
||||
/* 3FED6C E011428C 00701821 */ addu $v1, $v1, $s0
|
||||
/* 3FED70 E0114290 90420000 */ lbu $v0, ($v0)
|
||||
/* 3FED74 E0114294 44836000 */ mtc1 $v1, $f12
|
||||
/* 3FED78 E0114298 00000000 */ nop
|
||||
/* 3FED7C E011429C 46806320 */ cvt.s.w $f12, $f12
|
||||
/* 3FED80 E01142A0 0C080140 */ jal shim_sin_deg
|
||||
/* 3FED84 E01142A4 A2220105 */ sb $v0, 0x105($s1)
|
||||
/* 3FED88 E01142A8 3C014140 */ lui $at, 0x4140
|
||||
/* 3FED8C E01142AC 44811000 */ mtc1 $at, $f2
|
||||
/* 3FED90 E01142B0 00000000 */ nop
|
||||
/* 3FED94 E01142B4 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 3FED98 E01142B8 00000000 */ nop
|
||||
/* 3FED9C E01142BC 2A020024 */ slti $v0, $s0, 0x24
|
||||
.LE01142C0:
|
||||
/* 3FEDA0 E01142C0 14400004 */ bnez $v0, .LE01142D4
|
||||
/* 3FEDA4 E01142C4 E6400110 */ swc1 $f0, 0x110($s2)
|
||||
/* 3FEDA8 E01142C8 24130001 */ addiu $s3, $zero, 1
|
||||
/* 3FEDAC E01142CC AE400110 */ sw $zero, 0x110($s2)
|
||||
.LE01142D0:
|
||||
/* 3FEDB0 E01142D0 A220013C */ sb $zero, 0x13c($s1)
|
||||
.LE01142D4:
|
||||
/* 3FEDB4 E01142D4 9222013C */ lbu $v0, 0x13c($s1)
|
||||
/* 3FEDB8 E01142D8 24420001 */ addiu $v0, $v0, 1
|
||||
/* 3FEDBC E01142DC 1260000A */ beqz $s3, .LE0114308
|
||||
/* 3FEDC0 E01142E0 A222013C */ sb $v0, 0x13c($s1)
|
||||
/* 3FEDC4 E01142E4 8E430008 */ lw $v1, 8($s2)
|
||||
/* 3FEDC8 E01142E8 30620002 */ andi $v0, $v1, 2
|
||||
/* 3FEDCC E01142EC 10400006 */ beqz $v0, .LE0114308
|
||||
/* 3FEDD0 E01142F0 2402FFFD */ addiu $v0, $zero, -3
|
||||
/* 3FEDD4 E01142F4 00621024 */ and $v0, $v1, $v0
|
||||
/* 3FEDD8 E01142F8 AE420008 */ sw $v0, 8($s2)
|
||||
/* 3FEDDC E01142FC 922200EF */ lbu $v0, 0xef($s1)
|
||||
/* 3FEDE0 E0114300 A220013C */ sb $zero, 0x13c($s1)
|
||||
/* 3FEDE4 E0114304 A22200FA */ sb $v0, 0xfa($s1)
|
||||
.LE0114308:
|
||||
/* 3FEDE8 E0114308 26310001 */ addiu $s1, $s1, 1
|
||||
/* 3FEDEC E011430C 2682000B */ addiu $v0, $s4, 0xb
|
||||
/* 3FEDF0 E0114310 0222102A */ slt $v0, $s1, $v0
|
||||
/* 3FEDF4 E0114314 1440FF81 */ bnez $v0, .LE011411C
|
||||
/* 3FEDF8 E0114318 26520004 */ addiu $s2, $s2, 4
|
||||
/* 3FEDFC E011431C 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 3FEE00 E0114320 8FB50024 */ lw $s5, 0x24($sp)
|
||||
/* 3FEE04 E0114324 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 3FEE08 E0114328 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 3FEE0C E011432C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 3FEE10 E0114330 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 3FEE14 E0114334 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 3FEE18 E0114338 03E00008 */ jr $ra
|
||||
/* 3FEE1C E011433C 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,100 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802423F0_7ED100
|
||||
/* 7ED100 802423F0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 7ED104 802423F4 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 7ED108 802423F8 3C12E200 */ lui $s2, 0xe200
|
||||
/* 7ED10C 802423FC 36521D00 */ ori $s2, $s2, 0x1d00
|
||||
/* 7ED110 80242400 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 7ED114 80242404 3C13E200 */ lui $s3, 0xe200
|
||||
/* 7ED118 80242408 3673001C */ ori $s3, $s3, 0x1c
|
||||
/* 7ED11C 8024240C 3C060F0A */ lui $a2, 0xf0a
|
||||
/* 7ED120 80242410 34C64010 */ ori $a2, $a2, 0x4010
|
||||
/* 7ED124 80242414 3C08FCFF */ lui $t0, 0xfcff
|
||||
/* 7ED128 80242418 3508FFFF */ ori $t0, $t0, 0xffff
|
||||
/* 7ED12C 8024241C 3C07FFFD */ lui $a3, 0xfffd
|
||||
/* 7ED130 80242420 34E7FEFF */ ori $a3, $a3, 0xfeff
|
||||
/* 7ED134 80242424 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 7ED138 80242428 3C10800A */ lui $s0, %hi(gMasterGfxPos)
|
||||
/* 7ED13C 8024242C 2610A66C */ addiu $s0, $s0, %lo(gMasterGfxPos)
|
||||
/* 7ED140 80242430 240400D6 */ addiu $a0, $zero, 0xd6
|
||||
/* 7ED144 80242434 24030004 */ addiu $v1, $zero, 4
|
||||
/* 7ED148 80242438 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 7ED14C 8024243C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 7ED150 80242440 8E020000 */ lw $v0, ($s0)
|
||||
/* 7ED154 80242444 3C11E700 */ lui $s1, 0xe700
|
||||
/* 7ED158 80242448 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 7ED15C 8024244C 24420008 */ addiu $v0, $v0, 8
|
||||
/* 7ED160 80242450 AE020000 */ sw $v0, ($s0)
|
||||
/* 7ED164 80242454 ACA30004 */ sw $v1, 4($a1)
|
||||
/* 7ED168 80242458 24430008 */ addiu $v1, $v0, 8
|
||||
/* 7ED16C 8024245C ACB20000 */ sw $s2, ($a1)
|
||||
/* 7ED170 80242460 AE030000 */ sw $v1, ($s0)
|
||||
/* 7ED174 80242464 3C03EE00 */ lui $v1, 0xee00
|
||||
/* 7ED178 80242468 AC430000 */ sw $v1, ($v0)
|
||||
/* 7ED17C 8024246C 3C037FF0 */ lui $v1, 0x7ff0
|
||||
/* 7ED180 80242470 AC430004 */ sw $v1, 4($v0)
|
||||
/* 7ED184 80242474 24430010 */ addiu $v1, $v0, 0x10
|
||||
/* 7ED188 80242478 AE030000 */ sw $v1, ($s0)
|
||||
/* 7ED18C 8024247C 24430018 */ addiu $v1, $v0, 0x18
|
||||
/* 7ED190 80242480 AC530008 */ sw $s3, 8($v0)
|
||||
/* 7ED194 80242484 AC46000C */ sw $a2, 0xc($v0)
|
||||
/* 7ED198 80242488 AE030000 */ sw $v1, ($s0)
|
||||
/* 7ED19C 8024248C 24430020 */ addiu $v1, $v0, 0x20
|
||||
/* 7ED1A0 80242490 AC480010 */ sw $t0, 0x10($v0)
|
||||
/* 7ED1A4 80242494 AC470014 */ sw $a3, 0x14($v0)
|
||||
/* 7ED1A8 80242498 AE030000 */ sw $v1, ($s0)
|
||||
/* 7ED1AC 8024249C 3C03FA00 */ lui $v1, 0xfa00
|
||||
/* 7ED1B0 802424A0 AC430018 */ sw $v1, 0x18($v0)
|
||||
/* 7ED1B4 802424A4 34038000 */ ori $v1, $zero, 0x8000
|
||||
/* 7ED1B8 802424A8 AC43001C */ sw $v1, 0x1c($v0)
|
||||
/* 7ED1BC 802424AC 24430028 */ addiu $v1, $v0, 0x28
|
||||
/* 7ED1C0 802424B0 AE030000 */ sw $v1, ($s0)
|
||||
/* 7ED1C4 802424B4 AC510020 */ sw $s1, 0x20($v0)
|
||||
/* 7ED1C8 802424B8 0C046C04 */ jal get_model_list_index_from_tree_index
|
||||
/* 7ED1CC 802424BC AC400024 */ sw $zero, 0x24($v0)
|
||||
/* 7ED1D0 802424C0 0C046B4C */ jal get_model_from_list_index
|
||||
/* 7ED1D4 802424C4 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 7ED1D8 802424C8 3C07E300 */ lui $a3, 0xe300
|
||||
/* 7ED1DC 802424CC 34E70A01 */ ori $a3, $a3, 0xa01
|
||||
/* 7ED1E0 802424D0 3C080C18 */ lui $t0, 0xc18
|
||||
/* 7ED1E4 802424D4 350849D8 */ ori $t0, $t0, 0x49d8
|
||||
/* 7ED1E8 802424D8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 7ED1EC 802424DC 8E030000 */ lw $v1, ($s0)
|
||||
/* 7ED1F0 802424E0 3C05DE00 */ lui $a1, 0xde00
|
||||
/* 7ED1F4 802424E4 0060302D */ daddu $a2, $v1, $zero
|
||||
/* 7ED1F8 802424E8 24630008 */ addiu $v1, $v1, 8
|
||||
/* 7ED1FC 802424EC AC830000 */ sw $v1, ($a0)
|
||||
/* 7ED200 802424F0 ACC50000 */ sw $a1, ($a2)
|
||||
/* 7ED204 802424F4 24650008 */ addiu $a1, $v1, 8
|
||||
/* 7ED208 802424F8 AC850000 */ sw $a1, ($a0)
|
||||
/* 7ED20C 802424FC 8C450008 */ lw $a1, 8($v0)
|
||||
/* 7ED210 80242500 24620010 */ addiu $v0, $v1, 0x10
|
||||
/* 7ED214 80242504 AC820000 */ sw $v0, ($a0)
|
||||
/* 7ED218 80242508 8CA50004 */ lw $a1, 4($a1)
|
||||
/* 7ED21C 8024250C 24620018 */ addiu $v0, $v1, 0x18
|
||||
/* 7ED220 80242510 AC820000 */ sw $v0, ($a0)
|
||||
/* 7ED224 80242514 8CA50000 */ lw $a1, ($a1)
|
||||
/* 7ED228 80242518 24620020 */ addiu $v0, $v1, 0x20
|
||||
/* 7ED22C 8024251C AC820000 */ sw $v0, ($a0)
|
||||
/* 7ED230 80242520 3C020010 */ lui $v0, 0x10
|
||||
/* 7ED234 80242524 ACC50004 */ sw $a1, 4($a2)
|
||||
/* 7ED238 80242528 240500D6 */ addiu $a1, $zero, 0xd6
|
||||
/* 7ED23C 8024252C AC710000 */ sw $s1, ($v1)
|
||||
/* 7ED240 80242530 AC600004 */ sw $zero, 4($v1)
|
||||
/* 7ED244 80242534 AC670008 */ sw $a3, 8($v1)
|
||||
/* 7ED248 80242538 AC62000C */ sw $v0, 0xc($v1)
|
||||
/* 7ED24C 8024253C AC720010 */ sw $s2, 0x10($v1)
|
||||
/* 7ED250 80242540 AC600014 */ sw $zero, 0x14($v1)
|
||||
/* 7ED254 80242544 AC730018 */ sw $s3, 0x18($v1)
|
||||
/* 7ED258 80242548 0C0475CB */ jal mdl_draw_hidden_panel_surface
|
||||
/* 7ED25C 8024254C AC68001C */ sw $t0, 0x1c($v1)
|
||||
/* 7ED260 80242550 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 7ED264 80242554 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 7ED268 80242558 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 7ED26C 8024255C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 7ED270 80242560 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7ED274 80242564 03E00008 */ jr $ra
|
||||
/* 7ED278 80242568 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
/* 7ED27C 8024256C 00000000 */ nop
|
@ -1,21 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802402E0_831AE0
|
||||
/* 831AE0 802402E0 8C8200C0 */ lw $v0, 0xc0($a0)
|
||||
/* 831AE4 802402E4 284202D1 */ slti $v0, $v0, 0x2d1
|
||||
/* 831AE8 802402E8 50400001 */ beql $v0, $zero, .L802402F0
|
||||
/* 831AEC 802402EC AC8000C0 */ sw $zero, 0xc0($a0)
|
||||
.L802402F0:
|
||||
/* 831AF0 802402F0 8C8300C0 */ lw $v1, 0xc0($a0)
|
||||
/* 831AF4 802402F4 00031040 */ sll $v0, $v1, 1
|
||||
/* 831AF8 802402F8 00431021 */ addu $v0, $v0, $v1
|
||||
/* 831AFC 802402FC 00021040 */ sll $v0, $v0, 1
|
||||
/* 831B00 80240300 AC820084 */ sw $v0, 0x84($a0)
|
||||
/* 831B04 80240304 000317C2 */ srl $v0, $v1, 0x1f
|
||||
/* 831B08 80240308 00621821 */ addu $v1, $v1, $v0
|
||||
/* 831B0C 8024030C 00031843 */ sra $v1, $v1, 1
|
||||
/* 831B10 80240310 24020002 */ addiu $v0, $zero, 2
|
||||
/* 831B14 80240314 03E00008 */ jr $ra
|
||||
/* 831B18 80240318 AC830088 */ sw $v1, 0x88($a0)
|
||||
/* 831B1C 8024031C 00000000 */ nop
|
@ -1,12 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241F80_833780
|
||||
/* 833780 80241F80 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 833784 80241F84 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 833788 80241F88 0C03A5B2 */ jal hide_coin_counter_immediately
|
||||
/* 83378C 80241F8C 00000000 */ nop
|
||||
/* 833790 80241F90 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 833794 80241F94 24020002 */ addiu $v0, $zero, 2
|
||||
/* 833798 80241F98 03E00008 */ jr $ra
|
||||
/* 83379C 80241F9C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,55 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241FA0_8337A0
|
||||
/* 8337A0 80241FA0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 8337A4 80241FA4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 8337A8 80241FA8 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 8337AC 80241FAC 3C030DB5 */ lui $v1, 0xdb5
|
||||
/* 8337B0 80241FB0 34638580 */ ori $v1, $v1, 0x8580
|
||||
/* 8337B4 80241FB4 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 8337B8 80241FB8 F7B60020 */ sdc1 $f22, 0x20($sp)
|
||||
/* 8337BC 80241FBC F7B40018 */ sdc1 $f20, 0x18($sp)
|
||||
/* 8337C0 80241FC0 8E02008C */ lw $v0, 0x8c($s0)
|
||||
/* 8337C4 80241FC4 3C013A80 */ lui $at, 0x3a80
|
||||
/* 8337C8 80241FC8 44816000 */ mtc1 $at, $f12
|
||||
/* 8337CC 80241FCC 00431021 */ addu $v0, $v0, $v1
|
||||
/* 8337D0 80241FD0 4482B000 */ mtc1 $v0, $f22
|
||||
/* 8337D4 80241FD4 00000000 */ nop
|
||||
/* 8337D8 80241FD8 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* 8337DC 80241FDC 460CB302 */ mul.s $f12, $f22, $f12
|
||||
/* 8337E0 80241FE0 0C00A6C9 */ jal clamp_angle
|
||||
/* 8337E4 80241FE4 00000000 */ nop
|
||||
/* 8337E8 80241FE8 46000586 */ mov.s $f22, $f0
|
||||
/* 8337EC 80241FEC 3C0142DC */ lui $at, 0x42dc
|
||||
/* 8337F0 80241FF0 4481A000 */ mtc1 $at, $f20
|
||||
/* 8337F4 80241FF4 0C00A8BB */ jal sin_deg
|
||||
/* 8337F8 80241FF8 4600B306 */ mov.s $f12, $f22
|
||||
/* 8337FC 80241FFC 46140002 */ mul.s $f0, $f0, $f20
|
||||
/* 833800 80242000 00000000 */ nop
|
||||
/* 833804 80242004 3C014327 */ lui $at, 0x4327
|
||||
/* 833808 80242008 44811000 */ mtc1 $at, $f2
|
||||
/* 83380C 8024200C 00000000 */ nop
|
||||
/* 833810 80242010 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 833814 80242014 24020055 */ addiu $v0, $zero, 0x55
|
||||
/* 833818 80242018 AE020090 */ sw $v0, 0x90($s0)
|
||||
/* 83381C 8024201C 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 833820 80242020 E604008C */ swc1 $f4, 0x8c($s0)
|
||||
/* 833824 80242024 0C00A8D4 */ jal cos_deg
|
||||
/* 833828 80242028 4600B306 */ mov.s $f12, $f22
|
||||
/* 83382C 8024202C 46140002 */ mul.s $f0, $f0, $f20
|
||||
/* 833830 80242030 00000000 */ nop
|
||||
/* 833834 80242034 3C01C3AB */ lui $at, 0xc3ab
|
||||
/* 833838 80242038 3421E000 */ ori $at, $at, 0xe000
|
||||
/* 83383C 8024203C 44811000 */ mtc1 $at, $f2
|
||||
/* 833840 80242040 00000000 */ nop
|
||||
/* 833844 80242044 46001081 */ sub.s $f2, $f2, $f0
|
||||
/* 833848 80242048 4600110D */ trunc.w.s $f4, $f2
|
||||
/* 83384C 8024204C E6040094 */ swc1 $f4, 0x94($s0)
|
||||
/* 833850 80242050 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 833854 80242054 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 833858 80242058 D7B60020 */ ldc1 $f22, 0x20($sp)
|
||||
/* 83385C 8024205C D7B40018 */ ldc1 $f20, 0x18($sp)
|
||||
/* 833860 80242060 24020002 */ addiu $v0, $zero, 2
|
||||
/* 833864 80242064 03E00008 */ jr $ra
|
||||
/* 833868 80242068 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,101 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8024206C_83386C
|
||||
/* 83386C 8024206C 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* 833870 80242070 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 833874 80242074 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 833878 80242078 AFB40028 */ sw $s4, 0x28($sp)
|
||||
/* 83387C 8024207C 3C14F5DE */ lui $s4, 0xf5de
|
||||
/* 833880 80242080 3694019E */ ori $s4, $s4, 0x19e
|
||||
/* 833884 80242084 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 833888 80242088 3C05F5DE */ lui $a1, 0xf5de
|
||||
/* 83388C 8024208C AFBF0030 */ sw $ra, 0x30($sp)
|
||||
/* 833890 80242090 AFB5002C */ sw $s5, 0x2c($sp)
|
||||
/* 833894 80242094 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 833898 80242098 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 83389C 8024209C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 8338A0 802420A0 F7B80048 */ sdc1 $f24, 0x48($sp)
|
||||
/* 8338A4 802420A4 F7B60040 */ sdc1 $f22, 0x40($sp)
|
||||
/* 8338A8 802420A8 F7B40038 */ sdc1 $f20, 0x38($sp)
|
||||
/* 8338AC 802420AC 0C0B1EAF */ jal evt_get_variable
|
||||
/* 8338B0 802420B0 34A5019D */ ori $a1, $a1, 0x19d
|
||||
/* 8338B4 802420B4 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 8338B8 802420B8 44800000 */ mtc1 $zero, $f0
|
||||
/* 8338BC 802420BC 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 8338C0 802420C0 44050000 */ mfc1 $a1, $f0
|
||||
/* 8338C4 802420C4 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 8338C8 802420C8 AFA00014 */ sw $zero, 0x14($sp)
|
||||
/* 8338CC 802420CC 00A0302D */ daddu $a2, $a1, $zero
|
||||
/* 8338D0 802420D0 00A0382D */ daddu $a3, $a1, $zero
|
||||
/* 8338D4 802420D4 0C01C9C4 */ jal fx_lil_oink
|
||||
/* 8338D8 802420D8 AFA50010 */ sw $a1, 0x10($sp)
|
||||
/* 8338DC 802420DC 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 8338E0 802420E0 3C05FD05 */ lui $a1, 0xfd05
|
||||
/* 8338E4 802420E4 34A50F82 */ ori $a1, $a1, 0xf82
|
||||
/* 8338E8 802420E8 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 8338EC 802420EC 0C0B2026 */ jal evt_set_variable
|
||||
/* 8338F0 802420F0 0200302D */ daddu $a2, $s0, $zero
|
||||
/* 8338F4 802420F4 1A60002F */ blez $s3, .L802421B4
|
||||
/* 8338F8 802420F8 24150002 */ addiu $s5, $zero, 2
|
||||
/* 8338FC 802420FC 2412012C */ addiu $s2, $zero, 0x12c
|
||||
/* 833900 80242100 3C0141A0 */ lui $at, 0x41a0
|
||||
/* 833904 80242104 4481C000 */ mtc1 $at, $f24
|
||||
/* 833908 80242108 3C01C334 */ lui $at, 0xc334
|
||||
/* 83390C 8024210C 4481B000 */ mtc1 $at, $f22
|
||||
/* 833910 80242110 3C014387 */ lui $at, 0x4387
|
||||
/* 833914 80242114 4481A000 */ mtc1 $at, $f20
|
||||
.L80242118:
|
||||
/* 833918 80242118 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 83391C 8024211C 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833920 80242120 02912821 */ addu $a1, $s4, $s1
|
||||
/* 833924 80242124 8E03000C */ lw $v1, 0xc($s0)
|
||||
/* 833928 80242128 00112080 */ sll $a0, $s1, 2
|
||||
/* 83392C 8024212C 00711821 */ addu $v1, $v1, $s1
|
||||
/* 833930 80242130 A06200E4 */ sb $v0, 0xe4($v1)
|
||||
/* 833934 80242134 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 833938 80242138 44920000 */ mtc1 $s2, $f0
|
||||
/* 83393C 8024213C 00000000 */ nop
|
||||
/* 833940 80242140 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 833944 80242144 00441021 */ addu $v0, $v0, $a0
|
||||
/* 833948 80242148 E4400034 */ swc1 $f0, 0x34($v0)
|
||||
/* 83394C 8024214C 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 833950 80242150 00441021 */ addu $v0, $v0, $a0
|
||||
/* 833954 80242154 E4580060 */ swc1 $f24, 0x60($v0)
|
||||
/* 833958 80242158 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 83395C 8024215C 00441021 */ addu $v0, $v0, $a0
|
||||
/* 833960 80242160 E456008C */ swc1 $f22, 0x8c($v0)
|
||||
/* 833964 80242164 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 833968 80242168 00441021 */ addu $v0, $v0, $a0
|
||||
/* 83396C 8024216C E45400B8 */ swc1 $f20, 0xb8($v0)
|
||||
/* 833970 80242170 8E03000C */ lw $v1, 0xc($s0)
|
||||
/* 833974 80242174 00641821 */ addu $v1, $v1, $a0
|
||||
/* 833978 80242178 8C620008 */ lw $v0, 8($v1)
|
||||
/* 83397C 8024217C 34420001 */ ori $v0, $v0, 1
|
||||
/* 833980 80242180 AC620008 */ sw $v0, 8($v1)
|
||||
/* 833984 80242184 8E03000C */ lw $v1, 0xc($s0)
|
||||
/* 833988 80242188 00641821 */ addu $v1, $v1, $a0
|
||||
/* 83398C 8024218C 8C620008 */ lw $v0, 8($v1)
|
||||
/* 833990 80242190 34420002 */ ori $v0, $v0, 2
|
||||
/* 833994 80242194 AC620008 */ sw $v0, 8($v1)
|
||||
/* 833998 80242198 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 83399C 8024219C 00511021 */ addu $v0, $v0, $s1
|
||||
/* 8339A0 802421A0 26310001 */ addiu $s1, $s1, 1
|
||||
/* 8339A4 802421A4 A05500EF */ sb $s5, 0xef($v0)
|
||||
/* 8339A8 802421A8 0233102A */ slt $v0, $s1, $s3
|
||||
/* 8339AC 802421AC 1440FFDA */ bnez $v0, .L80242118
|
||||
/* 8339B0 802421B0 2652001E */ addiu $s2, $s2, 0x1e
|
||||
.L802421B4:
|
||||
/* 8339B4 802421B4 8FBF0030 */ lw $ra, 0x30($sp)
|
||||
/* 8339B8 802421B8 8FB5002C */ lw $s5, 0x2c($sp)
|
||||
/* 8339BC 802421BC 8FB40028 */ lw $s4, 0x28($sp)
|
||||
/* 8339C0 802421C0 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 8339C4 802421C4 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 8339C8 802421C8 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 8339CC 802421CC 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 8339D0 802421D0 D7B80048 */ ldc1 $f24, 0x48($sp)
|
||||
/* 8339D4 802421D4 D7B60040 */ ldc1 $f22, 0x40($sp)
|
||||
/* 8339D8 802421D8 D7B40038 */ ldc1 $f20, 0x38($sp)
|
||||
/* 8339DC 802421DC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 8339E0 802421E0 03E00008 */ jr $ra
|
||||
/* 8339E4 802421E4 27BD0050 */ addiu $sp, $sp, 0x50
|
@ -1,108 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802421E8_8339E8
|
||||
/* 8339E8 802421E8 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 8339EC 802421EC AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 8339F0 802421F0 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 8339F4 802421F4 3C05FD05 */ lui $a1, 0xfd05
|
||||
/* 8339F8 802421F8 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 8339FC 802421FC AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 833A00 80242200 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 833A04 80242204 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 833A08 80242208 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 833A0C 8024220C F7B80038 */ sdc1 $f24, 0x38($sp)
|
||||
/* 833A10 80242210 F7B60030 */ sdc1 $f22, 0x30($sp)
|
||||
/* 833A14 80242214 F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* 833A18 80242218 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833A1C 8024221C 34A50F82 */ ori $a1, $a1, 0xf82
|
||||
/* 833A20 80242220 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 833A24 80242224 8E50000C */ lw $s0, 0xc($s2)
|
||||
/* 833A28 80242228 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 833A2C 8024222C 8E050000 */ lw $a1, ($s0)
|
||||
/* 833A30 80242230 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833A34 80242234 26100004 */ addiu $s0, $s0, 4
|
||||
/* 833A38 80242238 8E050000 */ lw $a1, ($s0)
|
||||
/* 833A3C 8024223C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 833A40 80242240 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 833A44 80242244 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833A48 80242248 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 833A4C 8024224C 8E050000 */ lw $a1, ($s0)
|
||||
/* 833A50 80242250 26100004 */ addiu $s0, $s0, 4
|
||||
/* 833A54 80242254 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 833A58 80242258 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833A5C 8024225C 0040A02D */ daddu $s4, $v0, $zero
|
||||
/* 833A60 80242260 8E050000 */ lw $a1, ($s0)
|
||||
/* 833A64 80242264 26100004 */ addiu $s0, $s0, 4
|
||||
/* 833A68 80242268 4482C000 */ mtc1 $v0, $f24
|
||||
/* 833A6C 8024226C 00000000 */ nop
|
||||
/* 833A70 80242270 4680C620 */ cvt.s.w $f24, $f24
|
||||
/* 833A74 80242274 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833A78 80242278 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 833A7C 8024227C 8E050000 */ lw $a1, ($s0)
|
||||
/* 833A80 80242280 26100004 */ addiu $s0, $s0, 4
|
||||
/* 833A84 80242284 4482B000 */ mtc1 $v0, $f22
|
||||
/* 833A88 80242288 00000000 */ nop
|
||||
/* 833A8C 8024228C 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* 833A90 80242290 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833A94 80242294 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 833A98 80242298 8E050000 */ lw $a1, ($s0)
|
||||
/* 833A9C 8024229C 4482A000 */ mtc1 $v0, $f20
|
||||
/* 833AA0 802422A0 00000000 */ nop
|
||||
/* 833AA4 802422A4 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 833AA8 802422A8 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833AAC 802422AC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 833AB0 802422B0 8E23000C */ lw $v1, 0xc($s1)
|
||||
/* 833AB4 802422B4 00731821 */ addu $v1, $v1, $s3
|
||||
/* 833AB8 802422B8 A07400E4 */ sb $s4, 0xe4($v1)
|
||||
/* 833ABC 802422BC 8E23000C */ lw $v1, 0xc($s1)
|
||||
/* 833AC0 802422C0 00132080 */ sll $a0, $s3, 2
|
||||
/* 833AC4 802422C4 00641821 */ addu $v1, $v1, $a0
|
||||
/* 833AC8 802422C8 E4780034 */ swc1 $f24, 0x34($v1)
|
||||
/* 833ACC 802422CC 8E23000C */ lw $v1, 0xc($s1)
|
||||
/* 833AD0 802422D0 00641821 */ addu $v1, $v1, $a0
|
||||
/* 833AD4 802422D4 E4760060 */ swc1 $f22, 0x60($v1)
|
||||
/* 833AD8 802422D8 8E23000C */ lw $v1, 0xc($s1)
|
||||
/* 833ADC 802422DC 00641821 */ addu $v1, $v1, $a0
|
||||
/* 833AE0 802422E0 E474008C */ swc1 $f20, 0x8c($v1)
|
||||
/* 833AE4 802422E4 8E23000C */ lw $v1, 0xc($s1)
|
||||
/* 833AE8 802422E8 44820000 */ mtc1 $v0, $f0
|
||||
/* 833AEC 802422EC 00000000 */ nop
|
||||
/* 833AF0 802422F0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 833AF4 802422F4 00641821 */ addu $v1, $v1, $a0
|
||||
/* 833AF8 802422F8 E46000B8 */ swc1 $f0, 0xb8($v1)
|
||||
/* 833AFC 802422FC 8E23000C */ lw $v1, 0xc($s1)
|
||||
/* 833B00 80242300 00641821 */ addu $v1, $v1, $a0
|
||||
/* 833B04 80242304 8C620008 */ lw $v0, 8($v1)
|
||||
/* 833B08 80242308 34420001 */ ori $v0, $v0, 1
|
||||
/* 833B0C 8024230C AC620008 */ sw $v0, 8($v1)
|
||||
/* 833B10 80242310 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 833B14 80242314 1262000F */ beq $s3, $v0, .L80242354
|
||||
/* 833B18 80242318 3C05F5DE */ lui $a1, 0xf5de
|
||||
/* 833B1C 8024231C 34A5019E */ ori $a1, $a1, 0x19e
|
||||
/* 833B20 80242320 02652821 */ addu $a1, $s3, $a1
|
||||
/* 833B24 80242324 8E23000C */ lw $v1, 0xc($s1)
|
||||
/* 833B28 80242328 0280302D */ daddu $a2, $s4, $zero
|
||||
/* 833B2C 8024232C 00641821 */ addu $v1, $v1, $a0
|
||||
/* 833B30 80242330 8C620008 */ lw $v0, 8($v1)
|
||||
/* 833B34 80242334 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 833B38 80242338 34420002 */ ori $v0, $v0, 2
|
||||
/* 833B3C 8024233C AC620008 */ sw $v0, 8($v1)
|
||||
/* 833B40 80242340 8E22000C */ lw $v0, 0xc($s1)
|
||||
/* 833B44 80242344 24030002 */ addiu $v1, $zero, 2
|
||||
/* 833B48 80242348 00531021 */ addu $v0, $v0, $s3
|
||||
/* 833B4C 8024234C 0C0B2026 */ jal evt_set_variable
|
||||
/* 833B50 80242350 A04300EF */ sb $v1, 0xef($v0)
|
||||
.L80242354:
|
||||
/* 833B54 80242354 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 833B58 80242358 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 833B5C 8024235C 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 833B60 80242360 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 833B64 80242364 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 833B68 80242368 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 833B6C 8024236C D7B80038 */ ldc1 $f24, 0x38($sp)
|
||||
/* 833B70 80242370 D7B60030 */ ldc1 $f22, 0x30($sp)
|
||||
/* 833B74 80242374 D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* 833B78 80242378 24020002 */ addiu $v0, $zero, 2
|
||||
/* 833B7C 8024237C 03E00008 */ jr $ra
|
||||
/* 833B80 80242380 27BD0040 */ addiu $sp, $sp, 0x40
|
@ -1,75 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242384_833B84
|
||||
/* 833B84 80242384 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 833B88 80242388 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 833B8C 8024238C 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 833B90 80242390 3C05FD05 */ lui $a1, 0xfd05
|
||||
/* 833B94 80242394 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 833B98 80242398 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 833B9C 8024239C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 833BA0 802423A0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 833BA4 802423A4 F7B80038 */ sdc1 $f24, 0x38($sp)
|
||||
/* 833BA8 802423A8 F7B60030 */ sdc1 $f22, 0x30($sp)
|
||||
/* 833BAC 802423AC F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* 833BB0 802423B0 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833BB4 802423B4 34A50F82 */ ori $a1, $a1, 0xf82
|
||||
/* 833BB8 802423B8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 833BBC 802423BC 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 833BC0 802423C0 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 833BC4 802423C4 8E050000 */ lw $a1, ($s0)
|
||||
/* 833BC8 802423C8 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833BCC 802423CC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 833BD0 802423D0 8E050000 */ lw $a1, ($s0)
|
||||
/* 833BD4 802423D4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 833BD8 802423D8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 833BDC 802423DC 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833BE0 802423E0 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 833BE4 802423E4 8E050000 */ lw $a1, ($s0)
|
||||
/* 833BE8 802423E8 26100004 */ addiu $s0, $s0, 4
|
||||
/* 833BEC 802423EC 4482C000 */ mtc1 $v0, $f24
|
||||
/* 833BF0 802423F0 00000000 */ nop
|
||||
/* 833BF4 802423F4 4680C620 */ cvt.s.w $f24, $f24
|
||||
/* 833BF8 802423F8 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833BFC 802423FC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 833C00 80242400 8E050000 */ lw $a1, ($s0)
|
||||
/* 833C04 80242404 26100004 */ addiu $s0, $s0, 4
|
||||
/* 833C08 80242408 4482B000 */ mtc1 $v0, $f22
|
||||
/* 833C0C 8024240C 00000000 */ nop
|
||||
/* 833C10 80242410 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* 833C14 80242414 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833C18 80242418 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 833C1C 8024241C 8E050000 */ lw $a1, ($s0)
|
||||
/* 833C20 80242420 4482A000 */ mtc1 $v0, $f20
|
||||
/* 833C24 80242424 00000000 */ nop
|
||||
/* 833C28 80242428 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 833C2C 8024242C 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833C30 80242430 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 833C34 80242434 8E63000C */ lw $v1, 0xc($s3)
|
||||
/* 833C38 80242438 00129080 */ sll $s2, $s2, 2
|
||||
/* 833C3C 8024243C 00721821 */ addu $v1, $v1, $s2
|
||||
/* 833C40 80242440 E4780034 */ swc1 $f24, 0x34($v1)
|
||||
/* 833C44 80242444 8E63000C */ lw $v1, 0xc($s3)
|
||||
/* 833C48 80242448 00721821 */ addu $v1, $v1, $s2
|
||||
/* 833C4C 8024244C E4760060 */ swc1 $f22, 0x60($v1)
|
||||
/* 833C50 80242450 8E63000C */ lw $v1, 0xc($s3)
|
||||
/* 833C54 80242454 00721821 */ addu $v1, $v1, $s2
|
||||
/* 833C58 80242458 E474008C */ swc1 $f20, 0x8c($v1)
|
||||
/* 833C5C 8024245C 8E63000C */ lw $v1, 0xc($s3)
|
||||
/* 833C60 80242460 44820000 */ mtc1 $v0, $f0
|
||||
/* 833C64 80242464 00000000 */ nop
|
||||
/* 833C68 80242468 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 833C6C 8024246C 00721821 */ addu $v1, $v1, $s2
|
||||
/* 833C70 80242470 E46000B8 */ swc1 $f0, 0xb8($v1)
|
||||
/* 833C74 80242474 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 833C78 80242478 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 833C7C 8024247C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 833C80 80242480 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 833C84 80242484 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 833C88 80242488 D7B80038 */ ldc1 $f24, 0x38($sp)
|
||||
/* 833C8C 8024248C D7B60030 */ ldc1 $f22, 0x30($sp)
|
||||
/* 833C90 80242490 D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* 833C94 80242494 24020002 */ addiu $v0, $zero, 2
|
||||
/* 833C98 80242498 03E00008 */ jr $ra
|
||||
/* 833C9C 8024249C 27BD0040 */ addiu $sp, $sp, 0x40
|
@ -1,70 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802424A0_833CA0
|
||||
/* 833CA0 802424A0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 833CA4 802424A4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 833CA8 802424A8 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 833CAC 802424AC 3C05FD05 */ lui $a1, 0xfd05
|
||||
/* 833CB0 802424B0 34A50F82 */ ori $a1, $a1, 0xf82
|
||||
/* 833CB4 802424B4 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 833CB8 802424B8 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* 833CBC 802424BC AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 833CC0 802424C0 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 833CC4 802424C4 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 833CC8 802424C8 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833CCC 802424CC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 833CD0 802424D0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 833CD4 802424D4 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 833CD8 802424D8 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 833CDC 802424DC 8E050000 */ lw $a1, ($s0)
|
||||
/* 833CE0 802424E0 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833CE4 802424E4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 833CE8 802424E8 8E050000 */ lw $a1, ($s0)
|
||||
/* 833CEC 802424EC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 833CF0 802424F0 8E150000 */ lw $s5, ($s0)
|
||||
/* 833CF4 802424F4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 833CF8 802424F8 00029080 */ sll $s2, $v0, 2
|
||||
/* 833CFC 802424FC 8E63000C */ lw $v1, 0xc($s3)
|
||||
/* 833D00 80242500 8E140000 */ lw $s4, ($s0)
|
||||
/* 833D04 80242504 00721821 */ addu $v1, $v1, $s2
|
||||
/* 833D08 80242508 C4600034 */ lwc1 $f0, 0x34($v1)
|
||||
/* 833D0C 8024250C 8E100004 */ lw $s0, 4($s0)
|
||||
/* 833D10 80242510 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 833D14 80242514 44061000 */ mfc1 $a2, $f2
|
||||
/* 833D18 80242518 0C0B2026 */ jal evt_set_variable
|
||||
/* 833D1C 8024251C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 833D20 80242520 8E62000C */ lw $v0, 0xc($s3)
|
||||
/* 833D24 80242524 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 833D28 80242528 00521021 */ addu $v0, $v0, $s2
|
||||
/* 833D2C 8024252C C4400060 */ lwc1 $f0, 0x60($v0)
|
||||
/* 833D30 80242530 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 833D34 80242534 44061000 */ mfc1 $a2, $f2
|
||||
/* 833D38 80242538 0C0B2026 */ jal evt_set_variable
|
||||
/* 833D3C 8024253C 02A0282D */ daddu $a1, $s5, $zero
|
||||
/* 833D40 80242540 8E62000C */ lw $v0, 0xc($s3)
|
||||
/* 833D44 80242544 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 833D48 80242548 00521021 */ addu $v0, $v0, $s2
|
||||
/* 833D4C 8024254C C440008C */ lwc1 $f0, 0x8c($v0)
|
||||
/* 833D50 80242550 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 833D54 80242554 44061000 */ mfc1 $a2, $f2
|
||||
/* 833D58 80242558 0C0B2026 */ jal evt_set_variable
|
||||
/* 833D5C 8024255C 0280282D */ daddu $a1, $s4, $zero
|
||||
/* 833D60 80242560 8E62000C */ lw $v0, 0xc($s3)
|
||||
/* 833D64 80242564 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 833D68 80242568 00521021 */ addu $v0, $v0, $s2
|
||||
/* 833D6C 8024256C C44000B8 */ lwc1 $f0, 0xb8($v0)
|
||||
/* 833D70 80242570 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 833D74 80242574 44061000 */ mfc1 $a2, $f2
|
||||
/* 833D78 80242578 0C0B2026 */ jal evt_set_variable
|
||||
/* 833D7C 8024257C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 833D80 80242580 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 833D84 80242584 8FB50024 */ lw $s5, 0x24($sp)
|
||||
/* 833D88 80242588 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 833D8C 8024258C 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 833D90 80242590 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 833D94 80242594 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 833D98 80242598 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 833D9C 8024259C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 833DA0 802425A0 03E00008 */ jr $ra
|
||||
/* 833DA4 802425A4 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,28 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802425A8_833DA8
|
||||
/* 833DA8 802425A8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 833DAC 802425AC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 833DB0 802425B0 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 833DB4 802425B4 3C05FD05 */ lui $a1, 0xfd05
|
||||
/* 833DB8 802425B8 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 833DBC 802425BC 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833DC0 802425C0 34A50F82 */ ori $a1, $a1, 0xf82
|
||||
/* 833DC4 802425C4 8E03000C */ lw $v1, 0xc($s0)
|
||||
/* 833DC8 802425C8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 833DCC 802425CC 8C650000 */ lw $a1, ($v1)
|
||||
/* 833DD0 802425D0 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833DD4 802425D4 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 833DD8 802425D8 8E05000C */ lw $a1, 0xc($s0)
|
||||
/* 833DDC 802425DC 00021880 */ sll $v1, $v0, 2
|
||||
/* 833DE0 802425E0 00A32821 */ addu $a1, $a1, $v1
|
||||
/* 833DE4 802425E4 8CA30008 */ lw $v1, 8($a1)
|
||||
/* 833DE8 802425E8 2404FFFE */ addiu $a0, $zero, -2
|
||||
/* 833DEC 802425EC 00641824 */ and $v1, $v1, $a0
|
||||
/* 833DF0 802425F0 ACA30008 */ sw $v1, 8($a1)
|
||||
/* 833DF4 802425F4 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 833DF8 802425F8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 833DFC 802425FC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 833E00 80242600 03E00008 */ jr $ra
|
||||
/* 833E04 80242604 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,39 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242608_833E08
|
||||
/* 833E08 80242608 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 833E0C 8024260C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 833E10 80242610 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 833E14 80242614 3C05FD05 */ lui $a1, 0xfd05
|
||||
/* 833E18 80242618 34A50F82 */ ori $a1, $a1, 0xf82
|
||||
/* 833E1C 8024261C AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 833E20 80242620 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 833E24 80242624 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833E28 80242628 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 833E2C 8024262C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 833E30 80242630 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 833E34 80242634 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 833E38 80242638 8E050000 */ lw $a1, ($s0)
|
||||
/* 833E3C 8024263C 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833E40 80242640 26100004 */ addiu $s0, $s0, 4
|
||||
/* 833E44 80242644 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 833E48 80242648 8E050000 */ lw $a1, ($s0)
|
||||
/* 833E4C 8024264C 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833E50 80242650 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 833E54 80242654 8E44000C */ lw $a0, 0xc($s2)
|
||||
/* 833E58 80242658 00101880 */ sll $v1, $s0, 2
|
||||
/* 833E5C 8024265C 00832021 */ addu $a0, $a0, $v1
|
||||
/* 833E60 80242660 8C830008 */ lw $v1, 8($a0)
|
||||
/* 833E64 80242664 34630002 */ ori $v1, $v1, 2
|
||||
/* 833E68 80242668 AC830008 */ sw $v1, 8($a0)
|
||||
/* 833E6C 8024266C 8E43000C */ lw $v1, 0xc($s2)
|
||||
/* 833E70 80242670 00701821 */ addu $v1, $v1, $s0
|
||||
/* 833E74 80242674 A06200EF */ sb $v0, 0xef($v1)
|
||||
/* 833E78 80242678 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 833E7C 8024267C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 833E80 80242680 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 833E84 80242684 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 833E88 80242688 24020002 */ addiu $v0, $zero, 2
|
||||
/* 833E8C 8024268C 03E00008 */ jr $ra
|
||||
/* 833E90 80242690 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,84 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80242694_833E94
|
||||
/* 833E94 80242694 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 833E98 80242698 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 833E9C 8024269C 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* 833EA0 802426A0 3C05FD05 */ lui $a1, 0xfd05
|
||||
/* 833EA4 802426A4 34A50F82 */ ori $a1, $a1, 0xf82
|
||||
/* 833EA8 802426A8 AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* 833EAC 802426AC AFB60028 */ sw $s6, 0x28($sp)
|
||||
/* 833EB0 802426B0 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* 833EB4 802426B4 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 833EB8 802426B8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 833EBC 802426BC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 833EC0 802426C0 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833EC4 802426C4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 833EC8 802426C8 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 833ECC 802426CC 24120001 */ addiu $s2, $zero, 1
|
||||
/* 833ED0 802426D0 3C16F5DE */ lui $s6, 0xf5de
|
||||
/* 833ED4 802426D4 36D6019E */ ori $s6, $s6, 0x19e
|
||||
/* 833ED8 802426D8 3C15F5DE */ lui $s5, 0xf5de
|
||||
/* 833EDC 802426DC 36B5019D */ ori $s5, $s5, 0x19d
|
||||
/* 833EE0 802426E0 0000882D */ daddu $s1, $zero, $zero
|
||||
.L802426E4:
|
||||
/* 833EE4 802426E4 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 833EE8 802426E8 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833EEC 802426EC 02562821 */ addu $a1, $s2, $s6
|
||||
/* 833EF0 802426F0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 833EF4 802426F4 02552821 */ addu $a1, $s2, $s5
|
||||
/* 833EF8 802426F8 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 833EFC 802426FC 0C0B2026 */ jal evt_set_variable
|
||||
/* 833F00 80242700 0200302D */ daddu $a2, $s0, $zero
|
||||
/* 833F04 80242704 8E63000C */ lw $v1, 0xc($s3)
|
||||
/* 833F08 80242708 00121080 */ sll $v0, $s2, 2
|
||||
/* 833F0C 8024270C 00621021 */ addu $v0, $v1, $v0
|
||||
/* 833F10 80242710 C4400034 */ lwc1 $f0, 0x34($v0)
|
||||
/* 833F14 80242714 C4420060 */ lwc1 $f2, 0x60($v0)
|
||||
/* 833F18 80242718 C444008C */ lwc1 $f4, 0x8c($v0)
|
||||
/* 833F1C 8024271C C44600B8 */ lwc1 $f6, 0xb8($v0)
|
||||
/* 833F20 80242720 02431821 */ addu $v1, $s2, $v1
|
||||
/* 833F24 80242724 A07000E3 */ sb $s0, 0xe3($v1)
|
||||
/* 833F28 80242728 8E62000C */ lw $v0, 0xc($s3)
|
||||
/* 833F2C 8024272C 00511021 */ addu $v0, $v0, $s1
|
||||
/* 833F30 80242730 E4400034 */ swc1 $f0, 0x34($v0)
|
||||
/* 833F34 80242734 8E62000C */ lw $v0, 0xc($s3)
|
||||
/* 833F38 80242738 00511021 */ addu $v0, $v0, $s1
|
||||
/* 833F3C 8024273C E4420060 */ swc1 $f2, 0x60($v0)
|
||||
/* 833F40 80242740 8E62000C */ lw $v0, 0xc($s3)
|
||||
/* 833F44 80242744 00511021 */ addu $v0, $v0, $s1
|
||||
/* 833F48 80242748 E444008C */ swc1 $f4, 0x8c($v0)
|
||||
/* 833F4C 8024274C 8E62000C */ lw $v0, 0xc($s3)
|
||||
/* 833F50 80242750 00511021 */ addu $v0, $v0, $s1
|
||||
/* 833F54 80242754 E44600B8 */ swc1 $f6, 0xb8($v0)
|
||||
/* 833F58 80242758 8E63000C */ lw $v1, 0xc($s3)
|
||||
/* 833F5C 8024275C 26520001 */ addiu $s2, $s2, 1
|
||||
/* 833F60 80242760 00711821 */ addu $v1, $v1, $s1
|
||||
/* 833F64 80242764 8C620008 */ lw $v0, 8($v1)
|
||||
/* 833F68 80242768 34420001 */ ori $v0, $v0, 1
|
||||
/* 833F6C 8024276C AC620008 */ sw $v0, 8($v1)
|
||||
/* 833F70 80242770 2A42000A */ slti $v0, $s2, 0xa
|
||||
/* 833F74 80242774 1440FFDB */ bnez $v0, .L802426E4
|
||||
/* 833F78 80242778 26310004 */ addiu $s1, $s1, 4
|
||||
/* 833F7C 8024277C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 833F80 80242780 3C05F5DE */ lui $a1, 0xf5de
|
||||
/* 833F84 80242784 34A5019D */ ori $a1, $a1, 0x19d
|
||||
/* 833F88 80242788 8E62000C */ lw $v0, 0xc($s3)
|
||||
/* 833F8C 8024278C 24060009 */ addiu $a2, $zero, 9
|
||||
/* 833F90 80242790 8C43002C */ lw $v1, 0x2c($v0)
|
||||
/* 833F94 80242794 2407FFFE */ addiu $a3, $zero, -2
|
||||
/* 833F98 80242798 00671824 */ and $v1, $v1, $a3
|
||||
/* 833F9C 8024279C 0C0B2026 */ jal evt_set_variable
|
||||
/* 833FA0 802427A0 AC43002C */ sw $v1, 0x2c($v0)
|
||||
/* 833FA4 802427A4 8FBF002C */ lw $ra, 0x2c($sp)
|
||||
/* 833FA8 802427A8 8FB60028 */ lw $s6, 0x28($sp)
|
||||
/* 833FAC 802427AC 8FB50024 */ lw $s5, 0x24($sp)
|
||||
/* 833FB0 802427B0 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 833FB4 802427B4 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 833FB8 802427B8 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 833FBC 802427BC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 833FC0 802427C0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 833FC4 802427C4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 833FC8 802427C8 03E00008 */ jr $ra
|
||||
/* 833FCC 802427CC 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,44 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802427D0_833FD0
|
||||
/* 833FD0 802427D0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 833FD4 802427D4 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 833FD8 802427D8 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 833FDC 802427DC 3C05F5DE */ lui $a1, 0xf5de
|
||||
/* 833FE0 802427E0 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 833FE4 802427E4 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 833FE8 802427E8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 833FEC 802427EC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 833FF0 802427F0 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 833FF4 802427F4 0C0B1EAF */ jal evt_get_variable
|
||||
/* 833FF8 802427F8 34A5019E */ ori $a1, $a1, 0x19e
|
||||
/* 833FFC 802427FC 3C038025 */ lui $v1, %hi(D_8024F800_841000)
|
||||
/* 834000 80242800 2463F800 */ addiu $v1, $v1, %lo(D_8024F800_841000)
|
||||
/* 834004 80242804 00028040 */ sll $s0, $v0, 1
|
||||
/* 834008 80242808 02028021 */ addu $s0, $s0, $v0
|
||||
/* 83400C 8024280C 00108080 */ sll $s0, $s0, 2
|
||||
/* 834010 80242810 02038021 */ addu $s0, $s0, $v1
|
||||
/* 834014 80242814 8E060000 */ lw $a2, ($s0)
|
||||
/* 834018 80242818 8E250000 */ lw $a1, ($s1)
|
||||
/* 83401C 8024281C 26310004 */ addiu $s1, $s1, 4
|
||||
/* 834020 80242820 8E330000 */ lw $s3, ($s1)
|
||||
/* 834024 80242824 8E310004 */ lw $s1, 4($s1)
|
||||
/* 834028 80242828 0C0B2026 */ jal evt_set_variable
|
||||
/* 83402C 8024282C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 834030 80242830 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 834034 80242834 8E060004 */ lw $a2, 4($s0)
|
||||
/* 834038 80242838 0C0B2026 */ jal evt_set_variable
|
||||
/* 83403C 8024283C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 834040 80242840 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 834044 80242844 8E060008 */ lw $a2, 8($s0)
|
||||
/* 834048 80242848 0C0B2026 */ jal evt_set_variable
|
||||
/* 83404C 8024284C 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 834050 80242850 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 834054 80242854 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 834058 80242858 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 83405C 8024285C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 834060 80242860 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 834064 80242864 24020002 */ addiu $v0, $zero, 2
|
||||
/* 834068 80242868 03E00008 */ jr $ra
|
||||
/* 83406C 8024286C 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,40 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240048_7E73E8
|
||||
/* 7E73E8 80240048 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 7E73EC 8024004C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 7E73F0 80240050 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 7E73F4 80240054 10A00008 */ beqz $a1, .L80240078
|
||||
/* 7E73F8 80240058 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 7E73FC 8024005C 3C03800A */ lui $v1, %hi(gOverrideFlags)
|
||||
/* 7E7400 80240060 2463A650 */ addiu $v1, $v1, %lo(gOverrideFlags)
|
||||
/* 7E7404 80240064 8C620000 */ lw $v0, ($v1)
|
||||
/* 7E7408 80240068 AE000070 */ sw $zero, 0x70($s0)
|
||||
/* 7E740C 8024006C AE000074 */ sw $zero, 0x74($s0)
|
||||
/* 7E7410 80240070 34420010 */ ori $v0, $v0, 0x10
|
||||
/* 7E7414 80240074 AC620000 */ sw $v0, ($v1)
|
||||
.L80240078:
|
||||
/* 7E7418 80240078 C6000074 */ lwc1 $f0, 0x74($s0)
|
||||
/* 7E741C 8024007C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 7E7420 80240080 44050000 */ mfc1 $a1, $f0
|
||||
/* 7E7424 80240084 0C04DF62 */ jal set_screen_overlay_params_front
|
||||
/* 7E7428 80240088 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 7E742C 8024008C 8E020074 */ lw $v0, 0x74($s0)
|
||||
/* 7E7430 80240090 240300FF */ addiu $v1, $zero, 0xff
|
||||
/* 7E7434 80240094 14430003 */ bne $v0, $v1, .L802400A4
|
||||
/* 7E7438 80240098 2442000A */ addiu $v0, $v0, 0xa
|
||||
/* 7E743C 8024009C 0809002E */ j .L802400B8
|
||||
/* 7E7440 802400A0 24020002 */ addiu $v0, $zero, 2
|
||||
.L802400A4:
|
||||
/* 7E7444 802400A4 AE020074 */ sw $v0, 0x74($s0)
|
||||
/* 7E7448 802400A8 28420100 */ slti $v0, $v0, 0x100
|
||||
/* 7E744C 802400AC 50400001 */ beql $v0, $zero, .L802400B4
|
||||
/* 7E7450 802400B0 AE030074 */ sw $v1, 0x74($s0)
|
||||
.L802400B4:
|
||||
/* 7E7454 802400B4 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802400B8:
|
||||
/* 7E7458 802400B8 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 7E745C 802400BC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7E7460 802400C0 03E00008 */ jr $ra
|
||||
/* 7E7464 802400C4 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,24 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802400C8_7E7468
|
||||
/* 7E7468 802400C8 8C820084 */ lw $v0, 0x84($a0)
|
||||
/* 7E746C 802400CC 3C058011 */ lui $a1, %hi(gPlayerData)
|
||||
/* 7E7470 802400D0 24A5F290 */ addiu $a1, $a1, %lo(gPlayerData)
|
||||
/* 7E7474 802400D4 24420001 */ addiu $v0, $v0, 1
|
||||
/* 7E7478 802400D8 000210C0 */ sll $v0, $v0, 3
|
||||
/* 7E747C 802400DC 00451021 */ addu $v0, $v0, $a1
|
||||
/* 7E7480 802400E0 90430015 */ lbu $v1, 0x15($v0)
|
||||
/* 7E7484 802400E4 24630001 */ addiu $v1, $v1, 1
|
||||
/* 7E7488 802400E8 A0430015 */ sb $v1, 0x15($v0)
|
||||
/* 7E748C 802400EC AC800084 */ sw $zero, 0x84($a0)
|
||||
/* 7E7490 802400F0 80A2001D */ lb $v0, 0x1d($a1)
|
||||
/* 7E7494 802400F4 28420003 */ slti $v0, $v0, 3
|
||||
/* 7E7498 802400F8 14400004 */ bnez $v0, .L8024010C
|
||||
/* 7E749C 802400FC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7E74A0 80240100 A0A2001D */ sb $v0, 0x1d($a1)
|
||||
/* 7E74A4 80240104 24020001 */ addiu $v0, $zero, 1
|
||||
/* 7E74A8 80240108 AC820084 */ sw $v0, 0x84($a0)
|
||||
.L8024010C:
|
||||
/* 7E74AC 8024010C 03E00008 */ jr $ra
|
||||
/* 7E74B0 80240110 24020002 */ addiu $v0, $zero, 2
|
@ -1,47 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240114_7E74B4
|
||||
/* 7E74B4 80240114 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 7E74B8 80240118 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 7E74BC 8024011C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 7E74C0 80240120 10A00009 */ beqz $a1, .L80240148
|
||||
/* 7E74C4 80240124 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 7E74C8 80240128 3C02800A */ lui $v0, %hi(gOverrideFlags)
|
||||
/* 7E74CC 8024012C 2442A650 */ addiu $v0, $v0, %lo(gOverrideFlags)
|
||||
/* 7E74D0 80240130 AE000070 */ sw $zero, 0x70($s0)
|
||||
/* 7E74D4 80240134 8C430000 */ lw $v1, ($v0)
|
||||
/* 7E74D8 80240138 240400FF */ addiu $a0, $zero, 0xff
|
||||
/* 7E74DC 8024013C AE040074 */ sw $a0, 0x74($s0)
|
||||
/* 7E74E0 80240140 34630010 */ ori $v1, $v1, 0x10
|
||||
/* 7E74E4 80240144 AC430000 */ sw $v1, ($v0)
|
||||
.L80240148:
|
||||
/* 7E74E8 80240148 C6000074 */ lwc1 $f0, 0x74($s0)
|
||||
/* 7E74EC 8024014C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 7E74F0 80240150 44050000 */ mfc1 $a1, $f0
|
||||
/* 7E74F4 80240154 0C04DF62 */ jal set_screen_overlay_params_front
|
||||
/* 7E74F8 80240158 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 7E74FC 8024015C 8E020074 */ lw $v0, 0x74($s0)
|
||||
/* 7E7500 80240160 14400009 */ bnez $v0, .L80240188
|
||||
/* 7E7504 80240164 2442FFF6 */ addiu $v0, $v0, -0xa
|
||||
/* 7E7508 80240168 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7E750C 8024016C 3C03800A */ lui $v1, %hi(gOverrideFlags)
|
||||
/* 7E7510 80240170 2463A650 */ addiu $v1, $v1, %lo(gOverrideFlags)
|
||||
/* 7E7514 80240174 8C640000 */ lw $a0, ($v1)
|
||||
/* 7E7518 80240178 2405FFEF */ addiu $a1, $zero, -0x11
|
||||
/* 7E751C 8024017C 00852024 */ and $a0, $a0, $a1
|
||||
/* 7E7520 80240180 08090066 */ j .L80240198
|
||||
/* 7E7524 80240184 AC640000 */ sw $a0, ($v1)
|
||||
.L80240188:
|
||||
/* 7E7528 80240188 04410002 */ bgez $v0, .L80240194
|
||||
/* 7E752C 8024018C AE020074 */ sw $v0, 0x74($s0)
|
||||
/* 7E7530 80240190 AE000074 */ sw $zero, 0x74($s0)
|
||||
.L80240194:
|
||||
/* 7E7534 80240194 0000102D */ daddu $v0, $zero, $zero
|
||||
.L80240198:
|
||||
/* 7E7538 80240198 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 7E753C 8024019C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7E7540 802401A0 03E00008 */ jr $ra
|
||||
/* 7E7544 802401A4 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
/* 7E7548 802401A8 00000000 */ nop
|
||||
/* 7E754C 802401AC 00000000 */ nop
|
@ -1,85 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802401B0_7E7550
|
||||
/* 7E7550 802401B0 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 7E7554 802401B4 AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* 7E7558 802401B8 AFB20028 */ sw $s2, 0x28($sp)
|
||||
/* 7E755C 802401BC AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 7E7560 802401C0 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 7E7564 802401C4 F7B60038 */ sdc1 $f22, 0x38($sp)
|
||||
/* 7E7568 802401C8 F7B40030 */ sdc1 $f20, 0x30($sp)
|
||||
/* 7E756C 802401CC 8C820148 */ lw $v0, 0x148($a0)
|
||||
/* 7E7570 802401D0 0C00EABB */ jal get_npc_unsafe
|
||||
/* 7E7574 802401D4 84440008 */ lh $a0, 8($v0)
|
||||
/* 7E7578 802401D8 240403E8 */ addiu $a0, $zero, 0x3e8
|
||||
/* 7E757C 802401DC 0C00A67F */ jal rand_int
|
||||
/* 7E7580 802401E0 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 7E7584 802401E4 284201F4 */ slti $v0, $v0, 0x1f4
|
||||
/* 7E7588 802401E8 10400019 */ beqz $v0, .L80240250
|
||||
/* 7E758C 802401EC 00000000 */ nop
|
||||
/* 7E7590 802401F0 0C00A67F */ jal rand_int
|
||||
/* 7E7594 802401F4 24040004 */ addiu $a0, $zero, 4
|
||||
/* 7E7598 802401F8 24420001 */ addiu $v0, $v0, 1
|
||||
/* 7E759C 802401FC 4482B000 */ mtc1 $v0, $f22
|
||||
/* 7E75A0 80240200 00000000 */ nop
|
||||
/* 7E75A4 80240204 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* 7E75A8 80240208 0C00A67F */ jal rand_int
|
||||
/* 7E75AC 8024020C 24040003 */ addiu $a0, $zero, 3
|
||||
/* 7E75B0 80240210 24420005 */ addiu $v0, $v0, 5
|
||||
/* 7E75B4 80240214 4482A000 */ mtc1 $v0, $f20
|
||||
/* 7E75B8 80240218 00000000 */ nop
|
||||
/* 7E75BC 8024021C 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 7E75C0 80240220 0C00A67F */ jal rand_int
|
||||
/* 7E75C4 80240224 24040032 */ addiu $a0, $zero, 0x32
|
||||
/* 7E75C8 80240228 24040064 */ addiu $a0, $zero, 0x64
|
||||
/* 7E75CC 8024022C 0C00A67F */ jal rand_int
|
||||
/* 7E75D0 80240230 24500032 */ addiu $s0, $v0, 0x32
|
||||
/* 7E75D4 80240234 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 7E75D8 80240238 2405FFFF */ addiu $a1, $zero, -1
|
||||
/* 7E75DC 8024023C 3C068024 */ lui $a2, %hi(D_80241180_7E8520)
|
||||
/* 7E75E0 80240240 24C61180 */ addiu $a2, $a2, %lo(D_80241180_7E8520)
|
||||
/* 7E75E4 80240244 4407B000 */ mfc1 $a3, $f22
|
||||
/* 7E75E8 80240248 080900AE */ j .L802402B8
|
||||
/* 7E75EC 8024024C 24420064 */ addiu $v0, $v0, 0x64
|
||||
.L80240250:
|
||||
/* 7E75F0 80240250 0C00A67F */ jal rand_int
|
||||
/* 7E75F4 80240254 24040003 */ addiu $a0, $zero, 3
|
||||
/* 7E75F8 80240258 24040004 */ addiu $a0, $zero, 4
|
||||
/* 7E75FC 8024025C 0C00A67F */ jal rand_int
|
||||
/* 7E7600 80240260 2451000A */ addiu $s1, $v0, 0xa
|
||||
/* 7E7604 80240264 24420001 */ addiu $v0, $v0, 1
|
||||
/* 7E7608 80240268 4482B000 */ mtc1 $v0, $f22
|
||||
/* 7E760C 8024026C 00000000 */ nop
|
||||
/* 7E7610 80240270 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* 7E7614 80240274 0C00A67F */ jal rand_int
|
||||
/* 7E7618 80240278 24040003 */ addiu $a0, $zero, 3
|
||||
/* 7E761C 8024027C 24420005 */ addiu $v0, $v0, 5
|
||||
/* 7E7620 80240280 4482A000 */ mtc1 $v0, $f20
|
||||
/* 7E7624 80240284 00000000 */ nop
|
||||
/* 7E7628 80240288 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 7E762C 8024028C 0C00A67F */ jal rand_int
|
||||
/* 7E7630 80240290 24040032 */ addiu $a0, $zero, 0x32
|
||||
/* 7E7634 80240294 24040064 */ addiu $a0, $zero, 0x64
|
||||
/* 7E7638 80240298 0C00A67F */ jal rand_int
|
||||
/* 7E763C 8024029C 24500032 */ addiu $s0, $v0, 0x32
|
||||
/* 7E7640 802402A0 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 7E7644 802402A4 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 7E7648 802402A8 3C068024 */ lui $a2, %hi(D_80241180_7E8520)
|
||||
/* 7E764C 802402AC 24C61180 */ addiu $a2, $a2, %lo(D_80241180_7E8520)
|
||||
/* 7E7650 802402B0 4407B000 */ mfc1 $a3, $f22
|
||||
/* 7E7654 802402B4 2442000A */ addiu $v0, $v0, 0xa
|
||||
.L802402B8:
|
||||
/* 7E7658 802402B8 E7B40010 */ swc1 $f20, 0x10($sp)
|
||||
/* 7E765C 802402BC AFB00014 */ sw $s0, 0x14($sp)
|
||||
/* 7E7660 802402C0 0C0177B3 */ jal func_8005DECC
|
||||
/* 7E7664 802402C4 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 7E7668 802402C8 8FBF002C */ lw $ra, 0x2c($sp)
|
||||
/* 7E766C 802402CC 8FB20028 */ lw $s2, 0x28($sp)
|
||||
/* 7E7670 802402D0 8FB10024 */ lw $s1, 0x24($sp)
|
||||
/* 7E7674 802402D4 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* 7E7678 802402D8 D7B60038 */ ldc1 $f22, 0x38($sp)
|
||||
/* 7E767C 802402DC D7B40030 */ ldc1 $f20, 0x30($sp)
|
||||
/* 7E7680 802402E0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7E7684 802402E4 03E00008 */ jr $ra
|
||||
/* 7E7688 802402E8 27BD0040 */ addiu $sp, $sp, 0x40
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802402EC_7E768C
|
||||
/* 7E768C 802402EC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 7E7690 802402F0 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 7E7694 802402F4 8C820148 */ lw $v0, 0x148($a0)
|
||||
/* 7E7698 802402F8 0C00EABB */ jal get_npc_unsafe
|
||||
/* 7E769C 802402FC 84440008 */ lh $a0, 8($v0)
|
||||
/* 7E76A0 80240300 0C0177F5 */ jal func_8005DFD4
|
||||
/* 7E76A4 80240304 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 7E76A8 80240308 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 7E76AC 8024030C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7E76B0 80240310 03E00008 */ jr $ra
|
||||
/* 7E76B4 80240314 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240318_7E76B8
|
||||
/* 7E76B8 80240318 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 7E76BC 8024031C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 7E76C0 80240320 8C820148 */ lw $v0, 0x148($a0)
|
||||
/* 7E76C4 80240324 0C00EABB */ jal get_npc_unsafe
|
||||
/* 7E76C8 80240328 84440008 */ lh $a0, 8($v0)
|
||||
/* 7E76CC 8024032C 0C01784B */ jal func_8005E12C
|
||||
/* 7E76D0 80240330 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 7E76D4 80240334 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 7E76D8 80240338 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7E76DC 8024033C 03E00008 */ jr $ra
|
||||
/* 7E76E0 80240340 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,28 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240344_7E76E4
|
||||
/* 7E76E4 80240344 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 7E76E8 80240348 2405000B */ addiu $a1, $zero, 0xb
|
||||
/* 7E76EC 8024034C 3C028011 */ lui $v0, %hi(gPlayerData)
|
||||
/* 7E76F0 80240350 2442F290 */ addiu $v0, $v0, %lo(gPlayerData)
|
||||
/* 7E76F4 80240354 24440058 */ addiu $a0, $v0, 0x58
|
||||
/* 7E76F8 80240358 24030005 */ addiu $v1, $zero, 5
|
||||
/* 7E76FC 8024035C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 7E7700 80240360 A0430002 */ sb $v1, 2($v0)
|
||||
/* 7E7704 80240364 A0430003 */ sb $v1, 3($v0)
|
||||
/* 7E7708 80240368 2403FFFF */ addiu $v1, $zero, -1
|
||||
/* 7E770C 8024036C A0400000 */ sb $zero, ($v0)
|
||||
/* 7E7710 80240370 A0430001 */ sb $v1, 1($v0)
|
||||
/* 7E7714 80240374 A040000E */ sb $zero, 0xe($v0)
|
||||
.L80240378:
|
||||
/* 7E7718 80240378 A0800014 */ sb $zero, 0x14($a0)
|
||||
/* 7E771C 8024037C 24A5FFFF */ addiu $a1, $a1, -1
|
||||
/* 7E7720 80240380 04A1FFFD */ bgez $a1, .L80240378
|
||||
/* 7E7724 80240384 2484FFF8 */ addiu $a0, $a0, -8
|
||||
/* 7E7728 80240388 0C03AC5A */ jal switch_to_partner
|
||||
/* 7E772C 8024038C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 7E7730 80240390 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 7E7734 80240394 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7E7738 80240398 03E00008 */ jr $ra
|
||||
/* 7E773C 8024039C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802403A0_7E7740
|
||||
/* 7E7740 802403A0 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 7E7744 802403A4 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 7E7748 802403A8 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 7E774C 802403AC 8C820148 */ lw $v0, 0x148($a0)
|
||||
/* 7E7750 802403B0 0C00EABB */ jal get_npc_unsafe
|
||||
/* 7E7754 802403B4 84440008 */ lh $a0, 8($v0)
|
||||
/* 7E7758 802403B8 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 7E775C 802403BC 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 7E7760 802403C0 0C00ECF4 */ jal npc_set_palswap_mode_A
|
||||
/* 7E7764 802403C4 24050003 */ addiu $a1, $zero, 3
|
||||
/* 7E7768 802403C8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 7E776C 802403CC 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 7E7770 802403D0 24060001 */ addiu $a2, $zero, 1
|
||||
/* 7E7774 802403D4 2407001E */ addiu $a3, $zero, 0x1e
|
||||
/* 7E7778 802403D8 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 7E777C 802403DC 0C00ED13 */ jal npc_set_palswap_1
|
||||
/* 7E7780 802403E0 AFA20010 */ sw $v0, 0x10($sp)
|
||||
/* 7E7784 802403E4 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 7E7788 802403E8 2405003C */ addiu $a1, $zero, 0x3c
|
||||
/* 7E778C 802403EC 24060014 */ addiu $a2, $zero, 0x14
|
||||
/* 7E7790 802403F0 0000382D */ daddu $a3, $zero, $zero
|
||||
/* 7E7794 802403F4 0C00ED19 */ jal npc_set_palswap_2
|
||||
/* 7E7798 802403F8 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* 7E779C 802403FC 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 7E77A0 80240400 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 7E77A4 80240404 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7E77A8 80240408 03E00008 */ jr $ra
|
||||
/* 7E77AC 8024040C 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,24 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80240410_7E77B0
|
||||
/* 7E77B0 80240410 24050001 */ addiu $a1, $zero, 1
|
||||
/* 7E77B4 80240414 3C028011 */ lui $v0, %hi(gPlayerData)
|
||||
/* 7E77B8 80240418 2442F290 */ addiu $v0, $v0, %lo(gPlayerData)
|
||||
/* 7E77BC 8024041C 24440008 */ addiu $a0, $v0, 8
|
||||
/* 7E77C0 80240420 24030008 */ addiu $v1, $zero, 8
|
||||
/* 7E77C4 80240424 A0430002 */ sb $v1, 2($v0)
|
||||
/* 7E77C8 80240428 A0430003 */ sb $v1, 3($v0)
|
||||
/* 7E77CC 8024042C 00A0182D */ daddu $v1, $a1, $zero
|
||||
/* 7E77D0 80240430 A0400000 */ sb $zero, ($v0)
|
||||
/* 7E77D4 80240434 A0400001 */ sb $zero, 1($v0)
|
||||
/* 7E77D8 80240438 A040000E */ sb $zero, 0xe($v0)
|
||||
/* 7E77DC 8024043C A0430014 */ sb $v1, 0x14($v0)
|
||||
.L80240440:
|
||||
/* 7E77E0 80240440 A0800014 */ sb $zero, 0x14($a0)
|
||||
/* 7E77E4 80240444 24A50001 */ addiu $a1, $a1, 1
|
||||
/* 7E77E8 80240448 28A2000C */ slti $v0, $a1, 0xc
|
||||
/* 7E77EC 8024044C 1440FFFC */ bnez $v0, .L80240440
|
||||
/* 7E77F0 80240450 24840008 */ addiu $a0, $a0, 8
|
||||
/* 7E77F4 80240454 03E00008 */ jr $ra
|
||||
/* 7E77F8 80240458 24020002 */ addiu $v0, $zero, 2
|
@ -1,26 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8024045C_7E77FC
|
||||
/* 7E77FC 8024045C 2404000B */ addiu $a0, $zero, 0xb
|
||||
/* 7E7800 80240460 3C058011 */ lui $a1, %hi(gPlayerData)
|
||||
/* 7E7804 80240464 24A5F290 */ addiu $a1, $a1, %lo(gPlayerData)
|
||||
/* 7E7808 80240468 24A30058 */ addiu $v1, $a1, 0x58
|
||||
/* 7E780C 8024046C 0080102D */ daddu $v0, $a0, $zero
|
||||
/* 7E7810 80240470 A0A20002 */ sb $v0, 2($a1)
|
||||
/* 7E7814 80240474 A0A20003 */ sb $v0, 3($a1)
|
||||
/* 7E7818 80240478 A0A00000 */ sb $zero, ($a1)
|
||||
/* 7E781C 8024047C A0A00001 */ sb $zero, 1($a1)
|
||||
/* 7E7820 80240480 A0A0000E */ sb $zero, 0xe($a1)
|
||||
.L80240484:
|
||||
/* 7E7824 80240484 A0600014 */ sb $zero, 0x14($v1)
|
||||
/* 7E7828 80240488 2484FFFF */ addiu $a0, $a0, -1
|
||||
/* 7E782C 8024048C 0481FFFD */ bgez $a0, .L80240484
|
||||
/* 7E7830 80240490 2463FFF8 */ addiu $v1, $v1, -8
|
||||
/* 7E7834 80240494 24020001 */ addiu $v0, $zero, 1
|
||||
/* 7E7838 80240498 A0A20014 */ sb $v0, 0x14($a1)
|
||||
/* 7E783C 8024049C A0A2001C */ sb $v0, 0x1c($a1)
|
||||
/* 7E7840 802404A0 A0A2002C */ sb $v0, 0x2c($a1)
|
||||
/* 7E7844 802404A4 03E00008 */ jr $ra
|
||||
/* 7E7848 802404A8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7E784C 802404AC 00000000 */ nop
|
@ -1,221 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel draw_shop_items
|
||||
/* 7E23A4 80281524 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 7E23A8 80281528 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 7E23AC 8028152C 27BDFF90 */ addiu $sp, $sp, -0x70
|
||||
/* 7E23B0 80281530 AFBF005C */ sw $ra, 0x5c($sp)
|
||||
/* 7E23B4 80281534 AFBE0058 */ sw $fp, 0x58($sp)
|
||||
/* 7E23B8 80281538 AFB70054 */ sw $s7, 0x54($sp)
|
||||
/* 7E23BC 8028153C AFB60050 */ sw $s6, 0x50($sp)
|
||||
/* 7E23C0 80281540 AFB5004C */ sw $s5, 0x4c($sp)
|
||||
/* 7E23C4 80281544 AFB40048 */ sw $s4, 0x48($sp)
|
||||
/* 7E23C8 80281548 AFB30044 */ sw $s3, 0x44($sp)
|
||||
/* 7E23CC 8028154C AFB20040 */ sw $s2, 0x40($sp)
|
||||
/* 7E23D0 80281550 AFB1003C */ sw $s1, 0x3c($sp)
|
||||
/* 7E23D4 80281554 AFB00038 */ sw $s0, 0x38($sp)
|
||||
/* 7E23D8 80281558 F7B60068 */ sdc1 $f22, 0x68($sp)
|
||||
/* 7E23DC 8028155C F7B40060 */ sdc1 $f20, 0x60($sp)
|
||||
/* 7E23E0 80281560 8C520144 */ lw $s2, 0x144($v0)
|
||||
/* 7E23E4 80281564 96420000 */ lhu $v0, ($s2)
|
||||
/* 7E23E8 80281568 30420001 */ andi $v0, $v0, 1
|
||||
/* 7E23EC 8028156C 10400005 */ beqz $v0, .L80281584
|
||||
/* 7E23F0 80281570 2404000A */ addiu $a0, $zero, 0xa
|
||||
/* 7E23F4 80281574 3C108014 */ lui $s0, %hi(basic_window_update)
|
||||
/* 7E23F8 80281578 26107474 */ addiu $s0, $s0, %lo(basic_window_update)
|
||||
/* 7E23FC 8028157C 080A0563 */ j .L8028158C
|
||||
/* 7E2400 80281580 00000000 */ nop
|
||||
.L80281584:
|
||||
/* 7E2404 80281584 3C108014 */ lui $s0, %hi(basic_hidden_window_update)
|
||||
/* 7E2408 80281588 26107574 */ addiu $s0, $s0, %lo(basic_hidden_window_update)
|
||||
.L8028158C:
|
||||
/* 7E240C 8028158C 0C051F9F */ jal set_window_update
|
||||
/* 7E2410 80281590 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 7E2414 80281594 2404000B */ addiu $a0, $zero, 0xb
|
||||
/* 7E2418 80281598 0C051F9F */ jal set_window_update
|
||||
/* 7E241C 8028159C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 7E2420 802815A0 96420000 */ lhu $v0, ($s2)
|
||||
/* 7E2424 802815A4 30420001 */ andi $v0, $v0, 1
|
||||
/* 7E2428 802815A8 10400096 */ beqz $v0, .L80281804
|
||||
/* 7E242C 802815AC 00000000 */ nop
|
||||
/* 7E2430 802815B0 3C04800B */ lui $a0, %hi(gCameras)
|
||||
/* 7E2434 802815B4 24841D80 */ addiu $a0, $a0, %lo(gCameras)
|
||||
/* 7E2438 802815B8 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
/* 7E243C 802815BC 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 7E2440 802815C0 3C038007 */ lui $v1, %hi(gCurrentCameraID)
|
||||
/* 7E2444 802815C4 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
|
||||
/* 7E2448 802815C8 8C5E0140 */ lw $fp, 0x140($v0)
|
||||
/* 7E244C 802815CC 00031080 */ sll $v0, $v1, 2
|
||||
/* 7E2450 802815D0 00431021 */ addu $v0, $v0, $v1
|
||||
/* 7E2454 802815D4 00021080 */ sll $v0, $v0, 2
|
||||
/* 7E2458 802815D8 00431023 */ subu $v0, $v0, $v1
|
||||
/* 7E245C 802815DC 000218C0 */ sll $v1, $v0, 3
|
||||
/* 7E2460 802815E0 00431021 */ addu $v0, $v0, $v1
|
||||
/* 7E2464 802815E4 000210C0 */ sll $v0, $v0, 3
|
||||
/* 7E2468 802815E8 0044A821 */ addu $s5, $v0, $a0
|
||||
/* 7E246C 802815EC 86420002 */ lh $v0, 2($s2)
|
||||
/* 7E2470 802815F0 8E440018 */ lw $a0, 0x18($s2)
|
||||
/* 7E2474 802815F4 18400083 */ blez $v0, .L80281804
|
||||
/* 7E2478 802815F8 0000B82D */ daddu $s7, $zero, $zero
|
||||
/* 7E247C 802815FC 27D4000C */ addiu $s4, $fp, 0xc
|
||||
/* 7E2480 80281600 24960004 */ addiu $s6, $a0, 4
|
||||
/* 7E2484 80281604 3C013F80 */ lui $at, 0x3f80
|
||||
/* 7E2488 80281608 4481B000 */ mtc1 $at, $f22
|
||||
/* 7E248C 8028160C 3C013FE0 */ lui $at, 0x3fe0
|
||||
/* 7E2490 80281610 4481A800 */ mtc1 $at, $f21
|
||||
/* 7E2494 80281614 4480A000 */ mtc1 $zero, $f20
|
||||
.L80281618:
|
||||
/* 7E2498 80281618 26A400D4 */ addiu $a0, $s5, 0xd4
|
||||
/* 7E249C 8028161C C686FFF8 */ lwc1 $f6, -8($s4)
|
||||
/* 7E24A0 80281620 C682FFFC */ lwc1 $f2, -4($s4)
|
||||
/* 7E24A4 80281624 C6840000 */ lwc1 $f4, ($s4)
|
||||
/* 7E24A8 80281628 3C0141F0 */ lui $at, 0x41f0
|
||||
/* 7E24AC 8028162C 44810000 */ mtc1 $at, $f0
|
||||
/* 7E24B0 80281630 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 7E24B4 80281634 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 7E24B8 80281638 27A2002C */ addiu $v0, $sp, 0x2c
|
||||
/* 7E24BC 8028163C AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 7E24C0 80281640 27A20030 */ addiu $v0, $sp, 0x30
|
||||
/* 7E24C4 80281644 AFA2001C */ sw $v0, 0x1c($sp)
|
||||
/* 7E24C8 80281648 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 7E24CC 8028164C 44053000 */ mfc1 $a1, $f6
|
||||
/* 7E24D0 80281650 44072000 */ mfc1 $a3, $f4
|
||||
/* 7E24D4 80281654 44061000 */ mfc1 $a2, $f2
|
||||
/* 7E24D8 80281658 27A20034 */ addiu $v0, $sp, 0x34
|
||||
/* 7E24DC 8028165C E7B60010 */ swc1 $f22, 0x10($sp)
|
||||
/* 7E24E0 80281660 0C00A588 */ jal transform_point
|
||||
/* 7E24E4 80281664 AFA20020 */ sw $v0, 0x20($sp)
|
||||
/* 7E24E8 80281668 C7A60034 */ lwc1 $f6, 0x34($sp)
|
||||
/* 7E24EC 8028166C C7A00030 */ lwc1 $f0, 0x30($sp)
|
||||
/* 7E24F0 80281670 4606B183 */ div.s $f6, $f22, $f6
|
||||
/* 7E24F4 80281674 46060002 */ mul.s $f0, $f0, $f6
|
||||
/* 7E24F8 80281678 00000000 */ nop
|
||||
/* 7E24FC 8028167C 46160000 */ add.s $f0, $f0, $f22
|
||||
/* 7E2500 80281680 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 7E2504 80281684 46340002 */ mul.d $f0, $f0, $f20
|
||||
/* 7E2508 80281688 00000000 */ nop
|
||||
/* 7E250C 8028168C C7A20028 */ lwc1 $f2, 0x28($sp)
|
||||
/* 7E2510 80281690 46061202 */ mul.s $f8, $f2, $f6
|
||||
/* 7E2514 80281694 00000000 */ nop
|
||||
/* 7E2518 80281698 C7A4002C */ lwc1 $f4, 0x2c($sp)
|
||||
/* 7E251C 8028169C 46003087 */ neg.s $f2, $f6
|
||||
/* 7E2520 802816A0 46022282 */ mul.s $f10, $f4, $f2
|
||||
/* 7E2524 802816A4 00000000 */ nop
|
||||
/* 7E2528 802816A8 44801000 */ mtc1 $zero, $f2
|
||||
/* 7E252C 802816AC E7A60034 */ swc1 $f6, 0x34($sp)
|
||||
/* 7E2530 802816B0 E7A80028 */ swc1 $f8, 0x28($sp)
|
||||
/* 7E2534 802816B4 E7AA002C */ swc1 $f10, 0x2c($sp)
|
||||
/* 7E2538 802816B8 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 7E253C 802816BC 4600103C */ c.lt.s $f2, $f0
|
||||
/* 7E2540 802816C0 00000000 */ nop
|
||||
/* 7E2544 802816C4 45000048 */ bc1f .L802817E8
|
||||
/* 7E2548 802816C8 E7A00030 */ swc1 $f0, 0x30($sp)
|
||||
/* 7E254C 802816CC 4616003C */ c.lt.s $f0, $f22
|
||||
/* 7E2550 802816D0 00000000 */ nop
|
||||
/* 7E2554 802816D4 45020045 */ bc1fl .L802817EC
|
||||
/* 7E2558 802816D8 26F70001 */ addiu $s7, $s7, 1
|
||||
/* 7E255C 802816DC 86A2000A */ lh $v0, 0xa($s5)
|
||||
/* 7E2560 802816E0 44820000 */ mtc1 $v0, $f0
|
||||
/* 7E2564 802816E4 00000000 */ nop
|
||||
/* 7E2568 802816E8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 7E256C 802816EC 46004102 */ mul.s $f4, $f8, $f0
|
||||
/* 7E2570 802816F0 00000000 */ nop
|
||||
/* 7E2574 802816F4 46002100 */ add.s $f4, $f4, $f0
|
||||
/* 7E2578 802816F8 46002121 */ cvt.d.s $f4, $f4
|
||||
/* 7E257C 802816FC 46342102 */ mul.d $f4, $f4, $f20
|
||||
/* 7E2580 80281700 00000000 */ nop
|
||||
/* 7E2584 80281704 86A2000C */ lh $v0, 0xc($s5)
|
||||
/* 7E2588 80281708 44820000 */ mtc1 $v0, $f0
|
||||
/* 7E258C 8028170C 00000000 */ nop
|
||||
/* 7E2590 80281710 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 7E2594 80281714 46005082 */ mul.s $f2, $f10, $f0
|
||||
/* 7E2598 80281718 00000000 */ nop
|
||||
/* 7E259C 8028171C 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 7E25A0 80281720 460010A1 */ cvt.d.s $f2, $f2
|
||||
/* 7E25A4 80281724 46341082 */ mul.d $f2, $f2, $f20
|
||||
/* 7E25A8 80281728 00000000 */ nop
|
||||
/* 7E25AC 8028172C 86A2000E */ lh $v0, 0xe($s5)
|
||||
/* 7E25B0 80281730 44820000 */ mtc1 $v0, $f0
|
||||
/* 7E25B4 80281734 00000000 */ nop
|
||||
/* 7E25B8 80281738 46800021 */ cvt.d.w $f0, $f0
|
||||
/* 7E25BC 8028173C 86A20010 */ lh $v0, 0x10($s5)
|
||||
/* 7E25C0 80281740 46202100 */ add.d $f4, $f4, $f0
|
||||
/* 7E25C4 80281744 44820000 */ mtc1 $v0, $f0
|
||||
/* 7E25C8 80281748 00000000 */ nop
|
||||
/* 7E25CC 8028174C 46800021 */ cvt.d.w $f0, $f0
|
||||
/* 7E25D0 80281750 8EC20000 */ lw $v0, ($s6)
|
||||
/* 7E25D4 80281754 46201080 */ add.d $f2, $f2, $f0
|
||||
/* 7E25D8 80281758 28420064 */ slti $v0, $v0, 0x64
|
||||
/* 7E25DC 8028175C 4620230D */ trunc.w.d $f12, $f4
|
||||
/* 7E25E0 80281760 44116000 */ mfc1 $s1, $f12
|
||||
/* 7E25E4 80281764 4620130D */ trunc.w.d $f12, $f2
|
||||
/* 7E25E8 80281768 44136000 */ mfc1 $s3, $f12
|
||||
/* 7E25EC 8028176C 10400002 */ beqz $v0, .L80281778
|
||||
/* 7E25F0 80281770 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 7E25F4 80281774 2410FFFC */ addiu $s0, $zero, -4
|
||||
.L80281778:
|
||||
/* 7E25F8 80281778 0C04C3D6 */ jal get_item_entity
|
||||
/* 7E25FC 8028177C 8FC40000 */ lw $a0, ($fp)
|
||||
/* 7E2600 80281780 8C420000 */ lw $v0, ($v0)
|
||||
/* 7E2604 80281784 30420040 */ andi $v0, $v0, 0x40
|
||||
/* 7E2608 80281788 14400009 */ bnez $v0, .L802817B0
|
||||
/* 7E260C 8028178C 02302821 */ addu $a1, $s1, $s0
|
||||
/* 7E2610 80281790 0260302D */ daddu $a2, $s3, $zero
|
||||
/* 7E2614 80281794 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 7E2618 80281798 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* 7E261C 8028179C AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 7E2620 802817A0 AFA00018 */ sw $zero, 0x18($sp)
|
||||
/* 7E2624 802817A4 8EC40000 */ lw $a0, ($s6)
|
||||
/* 7E2628 802817A8 0C049DA7 */ jal draw_number
|
||||
/* 7E262C 802817AC 24070001 */ addiu $a3, $zero, 1
|
||||
.L802817B0:
|
||||
/* 7E2630 802817B0 8E420008 */ lw $v0, 8($s2)
|
||||
/* 7E2634 802817B4 56E2000D */ bnel $s7, $v0, .L802817EC
|
||||
/* 7E2638 802817B8 26F70001 */ addiu $s7, $s7, 1
|
||||
/* 7E263C 802817BC 02302821 */ addu $a1, $s1, $s0
|
||||
/* 7E2640 802817C0 24A5FFFA */ addiu $a1, $a1, -6
|
||||
/* 7E2644 802817C4 8E440020 */ lw $a0, 0x20($s2)
|
||||
/* 7E2648 802817C8 0C051261 */ jal hud_element_set_render_pos
|
||||
/* 7E264C 802817CC 26660005 */ addiu $a2, $s3, 5
|
||||
/* 7E2650 802817D0 8E440020 */ lw $a0, 0x20($s2)
|
||||
/* 7E2654 802817D4 3C053F33 */ lui $a1, 0x3f33
|
||||
/* 7E2658 802817D8 0C051308 */ jal hud_element_set_scale
|
||||
/* 7E265C 802817DC 34A53333 */ ori $a1, $a1, 0x3333
|
||||
/* 7E2660 802817E0 0C0511EA */ jal hud_element_draw_clipped
|
||||
/* 7E2664 802817E4 8E440020 */ lw $a0, 0x20($s2)
|
||||
.L802817E8:
|
||||
/* 7E2668 802817E8 26F70001 */ addiu $s7, $s7, 1
|
||||
.L802817EC:
|
||||
/* 7E266C 802817EC 26D6000C */ addiu $s6, $s6, 0xc
|
||||
/* 7E2670 802817F0 26940010 */ addiu $s4, $s4, 0x10
|
||||
/* 7E2674 802817F4 86420002 */ lh $v0, 2($s2)
|
||||
/* 7E2678 802817F8 02E2102A */ slt $v0, $s7, $v0
|
||||
/* 7E267C 802817FC 1440FF86 */ bnez $v0, .L80281618
|
||||
/* 7E2680 80281800 27DE0010 */ addiu $fp, $fp, 0x10
|
||||
.L80281804:
|
||||
/* 7E2684 80281804 8E420358 */ lw $v0, 0x358($s2)
|
||||
/* 7E2688 80281808 18400003 */ blez $v0, .L80281818
|
||||
/* 7E268C 8028180C 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 7E2690 80281810 080A060A */ j .L80281828
|
||||
/* 7E2694 80281814 AE420358 */ sw $v0, 0x358($s2)
|
||||
.L80281818:
|
||||
/* 7E2698 80281818 96420000 */ lhu $v0, ($s2)
|
||||
/* 7E269C 8028181C 3042FFFE */ andi $v0, $v0, 0xfffe
|
||||
/* 7E26A0 80281820 0C03A640 */ jal func_800E9900
|
||||
/* 7E26A4 80281824 A6420000 */ sh $v0, ($s2)
|
||||
.L80281828:
|
||||
/* 7E26A8 80281828 8FBF005C */ lw $ra, 0x5c($sp)
|
||||
/* 7E26AC 8028182C 8FBE0058 */ lw $fp, 0x58($sp)
|
||||
/* 7E26B0 80281830 8FB70054 */ lw $s7, 0x54($sp)
|
||||
/* 7E26B4 80281834 8FB60050 */ lw $s6, 0x50($sp)
|
||||
/* 7E26B8 80281838 8FB5004C */ lw $s5, 0x4c($sp)
|
||||
/* 7E26BC 8028183C 8FB40048 */ lw $s4, 0x48($sp)
|
||||
/* 7E26C0 80281840 8FB30044 */ lw $s3, 0x44($sp)
|
||||
/* 7E26C4 80281844 8FB20040 */ lw $s2, 0x40($sp)
|
||||
/* 7E26C8 80281848 8FB1003C */ lw $s1, 0x3c($sp)
|
||||
/* 7E26CC 8028184C 8FB00038 */ lw $s0, 0x38($sp)
|
||||
/* 7E26D0 80281850 D7B60068 */ ldc1 $f22, 0x68($sp)
|
||||
/* 7E26D4 80281854 D7B40060 */ ldc1 $f20, 0x60($sp)
|
||||
/* 7E26D8 80281858 03E00008 */ jr $ra
|
||||
/* 7E26DC 8028185C 27BD0070 */ addiu $sp, $sp, 0x70
|
@ -333,7 +333,9 @@ segments:
|
||||
- [0x5B320, .data, 5B320]
|
||||
- [0x6B360, .data, world/world]
|
||||
- [0x6EAC0, .data, 38F00]
|
||||
- [0x6EF80, data, 6EF80]
|
||||
- [0x6EF80, .data, os/nusys/nuSched]
|
||||
- [0x6EFA0, .data, os/nusys/nuGfxInit]
|
||||
- [0x6F0A0, .data, os/nusys/nuContPakMgr]
|
||||
- [0x6F0E0, .data, os/nusys/nuContRmbMgr]
|
||||
- [0x6F110, .data, os/nusys/nuGfxFuncSet]
|
||||
- [0x6F120, .data, os/nusys/nuContMgr]
|
||||
@ -3926,7 +3928,73 @@ segments:
|
||||
subsegments:
|
||||
- [0x3E54C0, c, peach_star_beam]
|
||||
- [0x3E5ED0]
|
||||
- [0x3E5F30, bin] # peach_star_beam gfx
|
||||
- name: effect_gfx_peach_star_beam
|
||||
dir: effects/gfx
|
||||
type: code
|
||||
start: 0x3E5F30
|
||||
vram: 0x09000000
|
||||
symbol_name_format: $VRAM_$ROM
|
||||
subsegments:
|
||||
- [0x3E5F30, c, peach_star_beam]
|
||||
- start: 0x3E5F30
|
||||
type: .data
|
||||
name: peach_star_beam
|
||||
subsegments:
|
||||
- [0x3E5F30, vtx, D_09000000_3E5F30]
|
||||
- [0x3E60D0, vtx, D_090001A0_3E60D0]
|
||||
- [0x3E60F0, vtx, D_090001C0_3E60F0]
|
||||
- [0x3E6110, vtx, D_090001E0_3E6110]
|
||||
- [0x3E6150, vtx, D_09000220_3E6150]
|
||||
- [0x3E6160, vtx, D_09000230_3E6160]
|
||||
- [0x3E6170, vtx, D_09000240_3E6170]
|
||||
- [0x3E6180, vtx, D_09000250_3E6180]
|
||||
- [0x3E61B0, gfx, D_09000280_3E61B0]
|
||||
- [0x3E61E8, gfx, D_090002B8_3E61E8]
|
||||
- [0x3E6218, gfx, D_090002E8_3E6218]
|
||||
- [0x3E62D0, gfx, D_090003A0_3E62D0]
|
||||
- [0x3E62F0, gfx, D_090003C0_3E62F0]
|
||||
- [0x3E6300, gfx, D_090003D0_3E6300]
|
||||
- [0x3E6310] # padding
|
||||
- [0x3E6318, i4, D_090003E8_3E6318, 32, 32]
|
||||
- [0x3E6518, ci4, D_090005E8_3E6518, 32, 32]
|
||||
- [0x3E6718, palette, D_090005E8_3E6518]
|
||||
- [0x3E6738] # padding
|
||||
- [0x3E6918, ci4, D_090009E8_3E6918, 64, 64]
|
||||
- [0x3E7118, palette, D_090009E8_3E6918]
|
||||
- [0x3E7138] # padding
|
||||
- [0x3E7318, ci4, D_090013E8_3E7318, 64, 64]
|
||||
- [0x3E7B18, palette, D_090013E8_3E7318]
|
||||
- [0x3E7B38] # padding
|
||||
- [0x3E7D18, ci4, D_09001DE8_3E7D18, 64, 64]
|
||||
- [0x3E8518, palette, D_09001DE8_3E7D18]
|
||||
- [0x3E8538] # padding
|
||||
- [0x3E8718, ci4, D_090027E8_3E8718, 64, 64]
|
||||
- [0x3E8F18, palette, D_090027E8_3E8718]
|
||||
- [0x3E8F38] # padding
|
||||
- [0x3E9118, ci4, D_090031E8_3E9118, 64, 64]
|
||||
- [0x3E9918, palette, D_090031E8_3E9118]
|
||||
- [0x3E9938] # padding
|
||||
- [0x3E9B18, ci4, D_09003BE8_3E9B18, 64, 64]
|
||||
- [0x3EA318, palette, D_09003BE8_3E9B18]
|
||||
- [0x3EA338] # padding
|
||||
- [0x3EA518, ci4, D_090045E8_3EA518, 64, 64]
|
||||
- [0x3EAD18, palette, D_090045E8_3EA518]
|
||||
- [0x3EAD38] # padding
|
||||
- [0x3EAF18, gfx, D_09004FE8_3EAF18]
|
||||
- [0x3EAFC0, gfx, D_09005090_3EAFC0]
|
||||
- [0x3EB020, gfx, D_090050F0_3EB020]
|
||||
- [0x3EB098, gfx, D_09005168_3EB098]
|
||||
- [0x3EB110, gfx, D_090051E0_3EB110]
|
||||
- [0x3EB188, gfx, D_09005258_3EB188]
|
||||
- [0x3EB200, gfx, D_090052D0_3EB200]
|
||||
- [0x3EB278, gfx, D_09005348_3EB278]
|
||||
- [0x3EB2F0, gfx, D_090053C0_3EB2F0]
|
||||
- [0x3EB368, gfx, D_09005438_3EB368]
|
||||
- [0x3EB3E0, gfx, D_090054B0_3EB3E0]
|
||||
- [0x3EB420, vtx, D_090054F0_3EB420]
|
||||
- [0x3EB460, vtx, D_09005530_3EB460]
|
||||
- [0x3EB4A0, gfx, D_09005570_3EB4A0]
|
||||
- [0x3EB4C0, gfx, D_09005590_3EB4C0]
|
||||
- name: effect_chapter_change
|
||||
dir: effects
|
||||
type: code
|
||||
@ -4059,7 +4127,7 @@ segments:
|
||||
vram: 0xE0114000
|
||||
subsegments:
|
||||
- [0x3FEAE0, c, lil_oink]
|
||||
- [0x3FF180, data]
|
||||
- [0x3FF180]
|
||||
- [0x3FF250, bin] # lil_oink gfx
|
||||
- name: effect_something_rotating
|
||||
dir: effects
|
||||
@ -11874,7 +11942,14 @@ segments:
|
||||
vram: 0x802B7000
|
||||
subsegments:
|
||||
- [0xE20EB0, c, e20eb0]
|
||||
- [0xE215C0, data]
|
||||
- start: 0xE215C0
|
||||
type: .data
|
||||
name: e20eb0
|
||||
subsegments:
|
||||
- [0xE215C0, ci4, speech_bubble, 32, 32]
|
||||
- [0xE217C0, palette, speech_bubble]
|
||||
- [0xE217E0, gfx, speech_bubble_dlist]
|
||||
- [0xE21858]
|
||||
- [0xE21860]
|
||||
- type: code
|
||||
overlay: True
|
||||
|
@ -17894,9 +17894,7 @@ func_80240CDC_A1155C = 0x80240CDC; // type:func rom:0xA1155C
|
||||
hos_01_UnsetCamera0MoveFlag1 = 0x80240DD0; // type:func rom:0xA11650
|
||||
hos_01_dup_GetFloorCollider = 0x80240DEC; // type:func rom:0xA1166C
|
||||
D_80241C2C_A124AC = 0x80241C2C; // type:data rom:0xA124AC
|
||||
D_80241C2F_A124AF = 0x80241C2F; // type:data rom:0xA124AF
|
||||
D_80241C30_A124B0 = 0x80241C30; // type:data rom:0xA124B0
|
||||
D_80241C33_A124B3 = 0x80241C33; // type:data rom:0xA124B3
|
||||
D_80245970_A161F0 = 0x80245970; // type:data rom:0xA161F0
|
||||
D_80245978_A161F8 = 0x80245978; // type:data rom:0xA161F8
|
||||
D_80245980_A16200 = 0x80245980; // type:data rom:0xA16200
|
||||
|
@ -44,20 +44,21 @@ fx_sun_undeclared = fx_sun;
|
||||
|
||||
D_E007EC2F = 0xE007EC2F;
|
||||
|
||||
// effect_peach_star_beam
|
||||
D_09004FE8 = 0x09004FE8;
|
||||
D_09005090 = 0x09005090;
|
||||
D_090050F0 = 0x090050F0;
|
||||
D_09005168 = 0x09005168;
|
||||
D_090051E0 = 0x090051E0;
|
||||
D_09005258 = 0x09005258;
|
||||
D_090052D0 = 0x090052D0;
|
||||
D_09005348 = 0x09005348;
|
||||
D_090053C0 = 0x090053C0;
|
||||
D_09005438 = 0x09005438;
|
||||
D_090054B0 = 0x090054B0;
|
||||
D_09005570 = 0x09005570;
|
||||
D_09005590 = 0x09005590;
|
||||
// effect_lil_oink
|
||||
D_09002D70 = 0x09002D70;
|
||||
D_09002DD8 = 0x09002DD8;
|
||||
D_09002E70 = 0x09002E70;
|
||||
D_09002E98 = 0x09002E98;
|
||||
D_09002F30 = 0x09002F30;
|
||||
D_09002FC8 = 0x09002FC8;
|
||||
D_09003060 = 0x09003060;
|
||||
D_090030F8 = 0x090030F8;
|
||||
D_09003190 = 0x09003190;
|
||||
D_09003228 = 0x09003228;
|
||||
D_090032C0 = 0x090032C0;
|
||||
D_09003358 = 0x09003358;
|
||||
D_09003370 = 0x09003370;
|
||||
D_09003388 = 0x09003388;
|
||||
|
||||
// effect_landing_dust effect_walking_dust
|
||||
D_09002780 = 0x09002780;
|
||||
|
Loading…
Reference in New Issue
Block a user