match star spirits (#325)

This commit is contained in:
Alexander Faßbender 2021-07-19 20:27:56 +02:00 committed by GitHub
parent ab96e98acf
commit 3763936d82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
48 changed files with 163 additions and 824 deletions

View File

@ -432,6 +432,7 @@ EffectInstance* playFX_59(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32
EffectInstance* playFX_58(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5); EffectInstance* playFX_58(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5);
EffectInstance* playFX_0C(f32, f32, f32, f32, f32); EffectInstance* playFX_0C(f32, f32, f32, f32, f32);
EffectInstance* playFX_23(u32, f32, f32, f32, f32); EffectInstance* playFX_23(u32, f32, f32, f32, f32);
void playFX_0F(s32, f32, f32, f32, f32, f32, f32, f32);
void func_802B2078(void); void func_802B2078(void);
extern f32 gCurtainScale; extern f32 gCurtainScale;

View File

@ -391,6 +391,8 @@ extern s16 gCurrentCamID;
extern s32 gSpriteHeapPtr; extern s32 gSpriteHeapPtr;
extern s32 D_8029C890[12][5];
// Heap? // Heap?
extern s32 D_8038F800; extern s32 D_8038F800;
extern s32 D_803B5000; extern s32 D_803B5000;

View File

@ -2,20 +2,9 @@
#define NAMESPACE battle_star_chill_out #define NAMESPACE battle_star_chill_out
extern s32 D_8029C890;
extern s32 D_802A2CC0; extern s32 D_802A2CC0;
#include "common/UnkStarFuncs.inc.c" #include "common/StarPower.inc.c"
#include "common/FadeBackgroundToBlack.inc.c"
#include "common/UnkBackgroundFunc2.inc.c"
#include "common/UnkBackgroundFunc.inc.c"
INCLUDE_ASM(s32, "battle/star/chill_out/7900D0", func_802A1494_790564);
#include "common/SetNpcCollision32.inc.c"
ApiStatus func_802A1518_7905E8(ScriptInstance* script, s32 isInitialCall) { ApiStatus func_802A1518_7905E8(ScriptInstance* script, s32 isInitialCall) {
D_802A2CC0 = 0; D_802A2CC0 = 0;

View File

@ -2,17 +2,7 @@
#define NAMESPACE battle_star_focus #define NAMESPACE battle_star_focus
#include "common/UnkStarFuncs.inc.c" #include "common/StarPower.inc.c"
#include "common/FadeBackgroundToBlack.inc.c"
#include "common/UnkBackgroundFunc2.inc.c"
#include "common/UnkBackgroundFunc.inc.c"
INCLUDE_ASM(s32, "battle/star/focus/789E60", func_802A1494_78A2F4);
#include "common/SetNpcCollision32.inc.c"
ApiStatus func_802A1518_78A378(ScriptInstance* script, s32 isInitialCall) { ApiStatus func_802A1518_78A378(ScriptInstance* script, s32 isInitialCall) {
PlayerData* playerData = &gPlayerData; PlayerData* playerData = &gPlayerData;

View File

@ -2,17 +2,7 @@
#define NAMESPACE battle_star_lullaby #define NAMESPACE battle_star_lullaby
#include "common/UnkStarFuncs.inc.c" #include "common/StarPower.inc.c"
#include "common/FadeBackgroundToBlack.inc.c"
#include "common/UnkBackgroundFunc2.inc.c"
#include "common/UnkBackgroundFunc.inc.c"
INCLUDE_ASM(s32, "battle/star/lullaby/78D150", func_802A1494_78D5E4);
#include "common/SetNpcCollision32.inc.c"
ApiStatus func_802A1518_78D668(ScriptInstance* script, s32 isInitialCall) { ApiStatus func_802A1518_78D668(ScriptInstance* script, s32 isInitialCall) {
if (isInitialCall) { if (isInitialCall) {

View File

@ -2,17 +2,7 @@
#define NAMESPACE battle_star_peach_beam #define NAMESPACE battle_star_peach_beam
#include "common/UnkStarFuncs.inc.c" #include "common/StarPower.inc.c"
#include "common/FadeBackgroundToBlack.inc.c"
#include "common/UnkBackgroundFunc2.inc.c"
#include "common/UnkBackgroundFunc.inc.c"
INCLUDE_ASM(s32, "battle/star/peach_beam/7997B0", func_802A1494_799C44);
#include "common/SetNpcCollision32.inc.c"
INCLUDE_ASM(s32, "battle/star/peach_beam/7997B0", func_802A1518_799CC8); INCLUDE_ASM(s32, "battle/star/peach_beam/7997B0", func_802A1518_799CC8);

View File

@ -2,17 +2,7 @@
#define NAMESPACE battle_star_peach_dash #define NAMESPACE battle_star_peach_dash
#include "common/UnkStarFuncs.inc.c" #include "common/StarPower.inc.c"
#include "common/FadeBackgroundToBlack.inc.c"
#include "common/UnkBackgroundFunc2.inc.c"
#include "common/UnkBackgroundFunc.inc.c"
INCLUDE_ASM(s32, "battle/star/peach_dash/79D8A0", func_802A1494_79DD34);
#include "common/SetNpcCollision32.inc.c"
ApiStatus func_802A1518_79DDB8(ScriptInstance* script, s32 isInitialCall) { ApiStatus func_802A1518_79DDB8(ScriptInstance* script, s32 isInitialCall) {
PlayerData* playerData = &gPlayerData; PlayerData* playerData = &gPlayerData;

View File

@ -2,17 +2,7 @@
#define NAMESPACE battle_star_peach_focus #define NAMESPACE battle_star_peach_focus
#include "common/UnkStarFuncs.inc.c" #include "common/StarPower.inc.c"
#include "common/FadeBackgroundToBlack.inc.c"
#include "common/UnkBackgroundFunc2.inc.c"
#include "common/UnkBackgroundFunc.inc.c"
INCLUDE_ASM(s32, "battle/star/peach_focus/79BFA0", func_802A1494_79C434);
#include "common/SetNpcCollision32.inc.c"
ApiStatus func_802A1518_79C4B8(ScriptInstance* script, s32 isInitialCall) { ApiStatus func_802A1518_79C4B8(ScriptInstance* script, s32 isInitialCall) {
((s32*)script->varTable[0])[1]++; // TODO replace with actual struct when we know what this is ((s32*)script->varTable[0])[1]++; // TODO replace with actual struct when we know what this is

View File

@ -2,17 +2,7 @@
#define NAMESPACE battle_star_refresh #define NAMESPACE battle_star_refresh
#include "common/UnkStarFuncs.inc.c" #include "common/StarPower.inc.c"
#include "common/FadeBackgroundToBlack.inc.c"
#include "common/UnkBackgroundFunc2.inc.c"
#include "common/UnkBackgroundFunc.inc.c"
INCLUDE_ASM(s32, "battle/star/refresh/78B600", func_802A1494_78BA94);
#include "common/SetNpcCollision32.inc.c"
INCLUDE_ASM(s32, "battle/star/refresh/78B600", func_802A1518_78BB18); INCLUDE_ASM(s32, "battle/star/refresh/78B600", func_802A1518_78BB18);
@ -39,6 +29,26 @@ ApiStatus func_802A17D4_78BDD4(ScriptInstance* script, s32 isInitialCall) {
#include "common/AddFP.inc.c" #include "common/AddFP.inc.c"
INCLUDE_ASM(s32, "battle/star/refresh/78B600", func_802A18E8_78BEE8); ApiStatus func_802A18E8_78BEE8(ScriptInstance* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
s32 var1 = get_variable(script, *args++);
s32 var2 = get_variable(script, *args++);
s32 var3 = get_variable(script, *args++);
s32 var4 = get_variable(script, *args++);
INCLUDE_ASM(s32, "battle/star/refresh/78B600", func_802A19A8_78BFA8); playFX_40(0, var1, var2, var3, var4);
return ApiStatus_DONE2;
}
ApiStatus func_802A19A8_78BFA8(ScriptInstance* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
s32 var1 = get_variable(script, *args++);
s32 var2 = get_variable(script, *args++);
s32 var3 = get_variable(script, *args++);
s32 var4 = get_variable(script, *args++);
playFX_40(1, var1, var2, var3, var4);
return ApiStatus_DONE2;
}

View File

@ -2,18 +2,18 @@
#define NAMESPACE battle_star_smooch #define NAMESPACE battle_star_smooch
#include "common/UnkStarFuncs.inc.c" #include "common/StarPower.inc.c"
#include "common/FadeBackgroundToBlack.inc.c"
#include "common/UnkBackgroundFunc2.inc.c"
#include "common/UnkBackgroundFunc.inc.c"
INCLUDE_ASM(s32, "battle/star/smooch/791D90", func_802A1494_792224);
#include "common/SetNpcCollision32.inc.c"
#include "common/AddHP.inc.c" #include "common/AddHP.inc.c"
INCLUDE_ASM(s32, "battle/star/smooch/791D90", func_802A156C_7922FC); ApiStatus func_802A156C_7922FC(ScriptInstance* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
s32 var1 = get_variable(script, *args++);
s32 var2 = get_variable(script, *args++);
s32 var3 = get_variable(script, *args++);
s32 var4 = get_variable(script, *args++);
playFX_40(0, var1, var2, var3, var4);
return ApiStatus_DONE2;
}

View File

@ -2,17 +2,7 @@
#define NAMESPACE battle_star_star_beam #define NAMESPACE battle_star_star_beam
#include "common/UnkStarFuncs.inc.c" #include "common/StarPower.inc.c"
#include "common/FadeBackgroundToBlack.inc.c"
#include "common/UnkBackgroundFunc2.inc.c"
#include "common/UnkBackgroundFunc.inc.c"
INCLUDE_ASM(s32, "battle/star/star_beam/796FC0", func_802A1494_797454);
#include "common/SetNpcCollision32.inc.c"
INCLUDE_ASM(s32, "battle/star/star_beam/796FC0", func_802A1518_7974D8); INCLUDE_ASM(s32, "battle/star/star_beam/796FC0", func_802A1518_7974D8);

View File

@ -2,18 +2,32 @@
#define NAMESPACE battle_star_star_storm #define NAMESPACE battle_star_star_storm
#include "common/UnkStarFuncs.inc.c" #include "common/StarPower.inc.c"
#include "common/FadeBackgroundToBlack.inc.c" ApiStatus func_802A1518_78ECE8(ScriptInstance* script, s32 isInitialCall) {
s32 var1 = -50 - rand_int(200);
s32 var2 = 200;
s32 var3 = rand_int(40);
f32 var4;
#include "common/UnkBackgroundFunc2.inc.c" if (script->varTable[0] % 4) {
var4 = var1 + (rand_int(50) + var2);
playFX_0F(2, var1, var2, var3, var4, 0, var3, rand_int(10) + 7);
} else {
var4 = var1 + (rand_int(50) + var2);
playFX_0F(3, var1, var2, var3, var4, 0, var3, rand_int(10) + 7);
}
#include "common/UnkBackgroundFunc.inc.c" return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "battle/star/star_storm/78E7D0", func_802A1494_78EC64); ApiStatus func_802A1628_78EDF8(ScriptInstance* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
s32 var1 = get_variable(script, *args++);
s32 var2 = get_variable(script, *args++);
s32 var3 = get_variable(script, *args++);
#include "common/SetNpcCollision32.inc.c" playFX_18(2, var1, var2, var3, 0, -1.0f, 0, 5);
INCLUDE_ASM(s32, "battle/star/star_storm/78E7D0", func_802A1518_78ECE8); return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "battle/star/star_storm/78E7D0", func_802A1628_78EDF8);

View File

@ -2,14 +2,4 @@
#define NAMESPACE battle_star_time_out #define NAMESPACE battle_star_time_out
#include "common/UnkStarFuncs.inc.c" #include "common/StarPower.inc.c"
#include "common/FadeBackgroundToBlack.inc.c"
#include "common/UnkBackgroundFunc2.inc.c"
#include "common/UnkBackgroundFunc.inc.c"
INCLUDE_ASM(s32, "battle/star/time_out/793D20", func_802A1494_7941B4);
#include "common/SetNpcCollision32.inc.c"

View File

@ -1,21 +1,59 @@
#include "common.h" #include "common.h"
#include "battle/battle.h"
#define NAMESPACE battle_star_up_and_away #define NAMESPACE battle_star_up_and_away
#include "common/UnkStarFuncs.inc.c" #include "common/StarPower.inc.c"
#include "common/FadeBackgroundToBlack.inc.c" ApiStatus func_802A1518_7957F8(ScriptInstance* script, s32 isInitialCall) {
if (isInitialCall) {
mdl_set_all_fog_mode(1);
*D_801512F0 = 1;
set_background_color_blend(0, 0, 0, 0);
script->functionTemp[0] = 200;
}
#include "common/UnkBackgroundFunc2.inc.c" set_background_color_blend(0, 0, 0, script->functionTemp[0]);
script->functionTemp[0] += 2;
#include "common/UnkBackgroundFunc.inc.c" if (script->functionTemp[0] >= 254) {
set_background_color_blend(0, 0, 0, 254);
return ApiStatus_DONE2;
}
INCLUDE_ASM(s32, "battle/star/up_and_away/7952E0", func_802A1494_795774); return ApiStatus_BLOCK;
}
#include "common/SetNpcCollision32.inc.c" ApiStatus func_802A15B4_795894(ScriptInstance* script, s32 isInitialCall) {
if (isInitialCall) {
script->functionTemp[0] = 254;
}
INCLUDE_ASM(s32, "battle/star/up_and_away/7952E0", func_802A1518_7957F8); set_background_color_blend(0, 0, 0, script->functionTemp[0]);
script->functionTemp[0] -= 5;
INCLUDE_ASM(s32, "battle/star/up_and_away/7952E0", func_802A15B4_795894); if (script->functionTemp[0] <= 200) {
set_background_color_blend(0, 0, 0, 200);
INCLUDE_ASM(s32, "battle/star/up_and_away/7952E0", func_802A1628_795908); return ApiStatus_DONE2;
}
return ApiStatus_BLOCK;
}
#ifdef NON_MATCHING
ApiStatus func_802A1628_795908(ScriptInstance* script, s32 isInitialCall) {
Actor* targetActor = get_actor(get_actor(script->owner1.actorID)->targetActorID);
s32 flags = targetActor->flags;
script->varTable[0] = 0;
if ((flags & 0x4000) == NULL && (flags & 0x400000) == NULL && (flags & 0x2000) == NULL && targetActor->staticActorData->upAndAwayChance != 0 && targetActor->staticActorData->upAndAwayChance >= rand_int(100)) {
script->varTable[0] = 1;
}
return ApiStatus_DONE2;
}
#else
INCLUDE_ASM(s32, "battle/star/up_and_away/7952E0", func_802A1628_795908);
#endif

View File

@ -0,0 +1,13 @@
#include "common.h"
#include "common/UnkStarFuncs.inc.c"
#include "common/FadeBackgroundToBlack.inc.c"
#include "common/UnkBackgroundFunc2.inc.c"
#include "common/UnkBackgroundFunc.inc.c"
#include "common/UnkStarFunc.inc.c"
#include "common/SetNpcCollision32.inc.c"

View File

@ -0,0 +1,10 @@
#include "common.h"
ApiStatus N(UnkStarFunc)(ScriptInstance* script, s32 isInitialCall) {
PlayerData* playerData = &gPlayerData;
Bytecode* args = script->ptrReadPos;
set_animation(0x100, 0, D_8029C890[playerData->currentPartner][get_variable(script, *args++)]);
return ApiStatus_DONE2;
}

View File

@ -131,7 +131,7 @@ s32 playFX_0A(f32, f32, s32, s32, f32, f32); // extern
s32 playFX_0B(s32, f32, f32, f32); // extern s32 playFX_0B(s32, f32, f32, f32); // extern
s32 playFX_0D(s32, f32, f32, f32, s32); // extern s32 playFX_0D(s32, f32, f32, f32, s32); // extern
s32 playFX_0E(f32, f32, s32, s32, f32, s32); // extern s32 playFX_0E(f32, f32, s32, s32, f32, s32); // extern
s32 playFX_0F(s32, f32, f32, f32, f32, f32, f32, f32); // extern //s32 playFX_0F(s32, f32, f32, f32, f32, f32, f32, f32); // extern
s32 playFX_12(s32, f32, f32, f32, f32, f32, f32, s32); // extern s32 playFX_12(s32, f32, f32, f32, f32, f32, f32, s32); // extern
s32 playFX_13(s32, f32, f32, f32, f32, s32); // extern s32 playFX_13(s32, f32, f32, f32, f32, s32); // extern
s32 playFX_14(s32, f32, f32, f32, s32); // extern s32 playFX_14(s32, f32, f32, f32, s32); // extern

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,25 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_790564
/* 790564 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 790568 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 79056C 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 790570 802A14A0 0C0B1EAF */ jal get_variable
/* 790574 802A14A4 8C450000 */ lw $a1, ($v0)
/* 790578 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 79057C 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 790580 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 790584 802A14B4 00051880 */ sll $v1, $a1, 2
/* 790588 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 79058C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 790590 802A14C0 00031880 */ sll $v1, $v1, 2
/* 790594 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 790598 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 79059C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 7905A0 802A14D0 0C098F3F */ jal set_animation
/* 7905A4 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 7905A8 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 7905AC 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 7905B0 802A14E0 03E00008 */ jr $ra
/* 7905B4 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,25 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_78A2F4
/* 78A2F4 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78A2F8 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 78A2FC 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 78A300 802A14A0 0C0B1EAF */ jal get_variable
/* 78A304 802A14A4 8C450000 */ lw $a1, ($v0)
/* 78A308 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 78A30C 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 78A310 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 78A314 802A14B4 00051880 */ sll $v1, $a1, 2
/* 78A318 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 78A31C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 78A320 802A14C0 00031880 */ sll $v1, $v1, 2
/* 78A324 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 78A328 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 78A32C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 78A330 802A14D0 0C098F3F */ jal set_animation
/* 78A334 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 78A338 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 78A33C 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 78A340 802A14E0 03E00008 */ jr $ra
/* 78A344 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,25 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_78D5E4
/* 78D5E4 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78D5E8 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 78D5EC 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 78D5F0 802A14A0 0C0B1EAF */ jal get_variable
/* 78D5F4 802A14A4 8C450000 */ lw $a1, ($v0)
/* 78D5F8 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 78D5FC 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 78D600 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 78D604 802A14B4 00051880 */ sll $v1, $a1, 2
/* 78D608 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 78D60C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 78D610 802A14C0 00031880 */ sll $v1, $v1, 2
/* 78D614 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 78D618 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 78D61C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 78D620 802A14D0 0C098F3F */ jal set_animation
/* 78D624 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 78D628 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 78D62C 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 78D630 802A14E0 03E00008 */ jr $ra
/* 78D634 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,25 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_799C44
/* 799C44 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 799C48 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 799C4C 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 799C50 802A14A0 0C0B1EAF */ jal get_variable
/* 799C54 802A14A4 8C450000 */ lw $a1, ($v0)
/* 799C58 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 799C5C 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 799C60 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 799C64 802A14B4 00051880 */ sll $v1, $a1, 2
/* 799C68 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 799C6C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 799C70 802A14C0 00031880 */ sll $v1, $v1, 2
/* 799C74 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 799C78 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 799C7C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 799C80 802A14D0 0C098F3F */ jal set_animation
/* 799C84 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 799C88 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 799C8C 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 799C90 802A14E0 03E00008 */ jr $ra
/* 799C94 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,25 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_79DD34
/* 79DD34 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 79DD38 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 79DD3C 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 79DD40 802A14A0 0C0B1EAF */ jal get_variable
/* 79DD44 802A14A4 8C450000 */ lw $a1, ($v0)
/* 79DD48 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 79DD4C 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 79DD50 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 79DD54 802A14B4 00051880 */ sll $v1, $a1, 2
/* 79DD58 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 79DD5C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 79DD60 802A14C0 00031880 */ sll $v1, $v1, 2
/* 79DD64 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 79DD68 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 79DD6C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 79DD70 802A14D0 0C098F3F */ jal set_animation
/* 79DD74 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 79DD78 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 79DD7C 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 79DD80 802A14E0 03E00008 */ jr $ra
/* 79DD84 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,25 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_79C434
/* 79C434 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 79C438 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 79C43C 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 79C440 802A14A0 0C0B1EAF */ jal get_variable
/* 79C444 802A14A4 8C450000 */ lw $a1, ($v0)
/* 79C448 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 79C44C 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 79C450 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 79C454 802A14B4 00051880 */ sll $v1, $a1, 2
/* 79C458 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 79C45C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 79C460 802A14C0 00031880 */ sll $v1, $v1, 2
/* 79C464 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 79C468 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 79C46C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 79C470 802A14D0 0C098F3F */ jal set_animation
/* 79C474 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 79C478 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 79C47C 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 79C480 802A14E0 03E00008 */ jr $ra
/* 79C484 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,25 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_78BA94
/* 78BA94 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78BA98 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 78BA9C 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 78BAA0 802A14A0 0C0B1EAF */ jal get_variable
/* 78BAA4 802A14A4 8C450000 */ lw $a1, ($v0)
/* 78BAA8 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 78BAAC 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 78BAB0 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 78BAB4 802A14B4 00051880 */ sll $v1, $a1, 2
/* 78BAB8 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 78BABC 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 78BAC0 802A14C0 00031880 */ sll $v1, $v1, 2
/* 78BAC4 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 78BAC8 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 78BACC 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 78BAD0 802A14D0 0C098F3F */ jal set_animation
/* 78BAD4 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 78BAD8 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 78BADC 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 78BAE0 802A14E0 03E00008 */ jr $ra
/* 78BAE4 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,52 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A18E8_78BEE8
/* 78BEE8 802A18E8 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 78BEEC 802A18EC AFB1001C */ sw $s1, 0x1c($sp)
/* 78BEF0 802A18F0 0080882D */ daddu $s1, $a0, $zero
/* 78BEF4 802A18F4 AFBF0028 */ sw $ra, 0x28($sp)
/* 78BEF8 802A18F8 AFB30024 */ sw $s3, 0x24($sp)
/* 78BEFC 802A18FC AFB20020 */ sw $s2, 0x20($sp)
/* 78BF00 802A1900 AFB00018 */ sw $s0, 0x18($sp)
/* 78BF04 802A1904 8E30000C */ lw $s0, 0xc($s1)
/* 78BF08 802A1908 8E050000 */ lw $a1, ($s0)
/* 78BF0C 802A190C 0C0B1EAF */ jal get_variable
/* 78BF10 802A1910 26100004 */ addiu $s0, $s0, 4
/* 78BF14 802A1914 8E050000 */ lw $a1, ($s0)
/* 78BF18 802A1918 26100004 */ addiu $s0, $s0, 4
/* 78BF1C 802A191C 0220202D */ daddu $a0, $s1, $zero
/* 78BF20 802A1920 0C0B1EAF */ jal get_variable
/* 78BF24 802A1924 0040982D */ daddu $s3, $v0, $zero
/* 78BF28 802A1928 8E050000 */ lw $a1, ($s0)
/* 78BF2C 802A192C 26100004 */ addiu $s0, $s0, 4
/* 78BF30 802A1930 0220202D */ daddu $a0, $s1, $zero
/* 78BF34 802A1934 0C0B1EAF */ jal get_variable
/* 78BF38 802A1938 0040902D */ daddu $s2, $v0, $zero
/* 78BF3C 802A193C 0220202D */ daddu $a0, $s1, $zero
/* 78BF40 802A1940 8E050000 */ lw $a1, ($s0)
/* 78BF44 802A1944 0C0B1EAF */ jal get_variable
/* 78BF48 802A1948 0040802D */ daddu $s0, $v0, $zero
/* 78BF4C 802A194C 44930000 */ mtc1 $s3, $f0
/* 78BF50 802A1950 00000000 */ nop
/* 78BF54 802A1954 46800020 */ cvt.s.w $f0, $f0
/* 78BF58 802A1958 44050000 */ mfc1 $a1, $f0
/* 78BF5C 802A195C 44920000 */ mtc1 $s2, $f0
/* 78BF60 802A1960 00000000 */ nop
/* 78BF64 802A1964 46800020 */ cvt.s.w $f0, $f0
/* 78BF68 802A1968 44060000 */ mfc1 $a2, $f0
/* 78BF6C 802A196C 44900000 */ mtc1 $s0, $f0
/* 78BF70 802A1970 00000000 */ nop
/* 78BF74 802A1974 46800020 */ cvt.s.w $f0, $f0
/* 78BF78 802A1978 44070000 */ mfc1 $a3, $f0
/* 78BF7C 802A197C 0000202D */ daddu $a0, $zero, $zero
/* 78BF80 802A1980 0C01C424 */ jal playFX_40
/* 78BF84 802A1984 AFA20010 */ sw $v0, 0x10($sp)
/* 78BF88 802A1988 8FBF0028 */ lw $ra, 0x28($sp)
/* 78BF8C 802A198C 8FB30024 */ lw $s3, 0x24($sp)
/* 78BF90 802A1990 8FB20020 */ lw $s2, 0x20($sp)
/* 78BF94 802A1994 8FB1001C */ lw $s1, 0x1c($sp)
/* 78BF98 802A1998 8FB00018 */ lw $s0, 0x18($sp)
/* 78BF9C 802A199C 24020002 */ addiu $v0, $zero, 2
/* 78BFA0 802A19A0 03E00008 */ jr $ra
/* 78BFA4 802A19A4 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -1,54 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A19A8_78BFA8
/* 78BFA8 802A19A8 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 78BFAC 802A19AC AFB1001C */ sw $s1, 0x1c($sp)
/* 78BFB0 802A19B0 0080882D */ daddu $s1, $a0, $zero
/* 78BFB4 802A19B4 AFBF0028 */ sw $ra, 0x28($sp)
/* 78BFB8 802A19B8 AFB30024 */ sw $s3, 0x24($sp)
/* 78BFBC 802A19BC AFB20020 */ sw $s2, 0x20($sp)
/* 78BFC0 802A19C0 AFB00018 */ sw $s0, 0x18($sp)
/* 78BFC4 802A19C4 8E30000C */ lw $s0, 0xc($s1)
/* 78BFC8 802A19C8 8E050000 */ lw $a1, ($s0)
/* 78BFCC 802A19CC 0C0B1EAF */ jal get_variable
/* 78BFD0 802A19D0 26100004 */ addiu $s0, $s0, 4
/* 78BFD4 802A19D4 8E050000 */ lw $a1, ($s0)
/* 78BFD8 802A19D8 26100004 */ addiu $s0, $s0, 4
/* 78BFDC 802A19DC 0220202D */ daddu $a0, $s1, $zero
/* 78BFE0 802A19E0 0C0B1EAF */ jal get_variable
/* 78BFE4 802A19E4 0040982D */ daddu $s3, $v0, $zero
/* 78BFE8 802A19E8 8E050000 */ lw $a1, ($s0)
/* 78BFEC 802A19EC 26100004 */ addiu $s0, $s0, 4
/* 78BFF0 802A19F0 0220202D */ daddu $a0, $s1, $zero
/* 78BFF4 802A19F4 0C0B1EAF */ jal get_variable
/* 78BFF8 802A19F8 0040902D */ daddu $s2, $v0, $zero
/* 78BFFC 802A19FC 0220202D */ daddu $a0, $s1, $zero
/* 78C000 802A1A00 8E050000 */ lw $a1, ($s0)
/* 78C004 802A1A04 0C0B1EAF */ jal get_variable
/* 78C008 802A1A08 0040802D */ daddu $s0, $v0, $zero
/* 78C00C 802A1A0C 44930000 */ mtc1 $s3, $f0
/* 78C010 802A1A10 00000000 */ nop
/* 78C014 802A1A14 46800020 */ cvt.s.w $f0, $f0
/* 78C018 802A1A18 44050000 */ mfc1 $a1, $f0
/* 78C01C 802A1A1C 44920000 */ mtc1 $s2, $f0
/* 78C020 802A1A20 00000000 */ nop
/* 78C024 802A1A24 46800020 */ cvt.s.w $f0, $f0
/* 78C028 802A1A28 44060000 */ mfc1 $a2, $f0
/* 78C02C 802A1A2C 44900000 */ mtc1 $s0, $f0
/* 78C030 802A1A30 00000000 */ nop
/* 78C034 802A1A34 46800020 */ cvt.s.w $f0, $f0
/* 78C038 802A1A38 44070000 */ mfc1 $a3, $f0
/* 78C03C 802A1A3C 24040001 */ addiu $a0, $zero, 1
/* 78C040 802A1A40 0C01C424 */ jal playFX_40
/* 78C044 802A1A44 AFA20010 */ sw $v0, 0x10($sp)
/* 78C048 802A1A48 8FBF0028 */ lw $ra, 0x28($sp)
/* 78C04C 802A1A4C 8FB30024 */ lw $s3, 0x24($sp)
/* 78C050 802A1A50 8FB20020 */ lw $s2, 0x20($sp)
/* 78C054 802A1A54 8FB1001C */ lw $s1, 0x1c($sp)
/* 78C058 802A1A58 8FB00018 */ lw $s0, 0x18($sp)
/* 78C05C 802A1A5C 24020002 */ addiu $v0, $zero, 2
/* 78C060 802A1A60 03E00008 */ jr $ra
/* 78C064 802A1A64 27BD0030 */ addiu $sp, $sp, 0x30
/* 78C068 802A1A68 00000000 */ nop
/* 78C06C 802A1A6C 00000000 */ nop

View File

@ -1,25 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_792224
/* 792224 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 792228 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 79222C 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 792230 802A14A0 0C0B1EAF */ jal get_variable
/* 792234 802A14A4 8C450000 */ lw $a1, ($v0)
/* 792238 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 79223C 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 792240 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 792244 802A14B4 00051880 */ sll $v1, $a1, 2
/* 792248 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 79224C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 792250 802A14C0 00031880 */ sll $v1, $v1, 2
/* 792254 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 792258 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 79225C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 792260 802A14D0 0C098F3F */ jal set_animation
/* 792264 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 792268 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 79226C 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 792270 802A14E0 03E00008 */ jr $ra
/* 792274 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,53 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A156C_7922FC
/* 7922FC 802A156C 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 792300 802A1570 AFB1001C */ sw $s1, 0x1c($sp)
/* 792304 802A1574 0080882D */ daddu $s1, $a0, $zero
/* 792308 802A1578 AFBF0028 */ sw $ra, 0x28($sp)
/* 79230C 802A157C AFB30024 */ sw $s3, 0x24($sp)
/* 792310 802A1580 AFB20020 */ sw $s2, 0x20($sp)
/* 792314 802A1584 AFB00018 */ sw $s0, 0x18($sp)
/* 792318 802A1588 8E30000C */ lw $s0, 0xc($s1)
/* 79231C 802A158C 8E050000 */ lw $a1, ($s0)
/* 792320 802A1590 0C0B1EAF */ jal get_variable
/* 792324 802A1594 26100004 */ addiu $s0, $s0, 4
/* 792328 802A1598 8E050000 */ lw $a1, ($s0)
/* 79232C 802A159C 26100004 */ addiu $s0, $s0, 4
/* 792330 802A15A0 0220202D */ daddu $a0, $s1, $zero
/* 792334 802A15A4 0C0B1EAF */ jal get_variable
/* 792338 802A15A8 0040982D */ daddu $s3, $v0, $zero
/* 79233C 802A15AC 8E050000 */ lw $a1, ($s0)
/* 792340 802A15B0 26100004 */ addiu $s0, $s0, 4
/* 792344 802A15B4 0220202D */ daddu $a0, $s1, $zero
/* 792348 802A15B8 0C0B1EAF */ jal get_variable
/* 79234C 802A15BC 0040902D */ daddu $s2, $v0, $zero
/* 792350 802A15C0 0220202D */ daddu $a0, $s1, $zero
/* 792354 802A15C4 8E050000 */ lw $a1, ($s0)
/* 792358 802A15C8 0C0B1EAF */ jal get_variable
/* 79235C 802A15CC 0040802D */ daddu $s0, $v0, $zero
/* 792360 802A15D0 44930000 */ mtc1 $s3, $f0
/* 792364 802A15D4 00000000 */ nop
/* 792368 802A15D8 46800020 */ cvt.s.w $f0, $f0
/* 79236C 802A15DC 44050000 */ mfc1 $a1, $f0
/* 792370 802A15E0 44920000 */ mtc1 $s2, $f0
/* 792374 802A15E4 00000000 */ nop
/* 792378 802A15E8 46800020 */ cvt.s.w $f0, $f0
/* 79237C 802A15EC 44060000 */ mfc1 $a2, $f0
/* 792380 802A15F0 44900000 */ mtc1 $s0, $f0
/* 792384 802A15F4 00000000 */ nop
/* 792388 802A15F8 46800020 */ cvt.s.w $f0, $f0
/* 79238C 802A15FC 44070000 */ mfc1 $a3, $f0
/* 792390 802A1600 0000202D */ daddu $a0, $zero, $zero
/* 792394 802A1604 0C01C424 */ jal playFX_40
/* 792398 802A1608 AFA20010 */ sw $v0, 0x10($sp)
/* 79239C 802A160C 8FBF0028 */ lw $ra, 0x28($sp)
/* 7923A0 802A1610 8FB30024 */ lw $s3, 0x24($sp)
/* 7923A4 802A1614 8FB20020 */ lw $s2, 0x20($sp)
/* 7923A8 802A1618 8FB1001C */ lw $s1, 0x1c($sp)
/* 7923AC 802A161C 8FB00018 */ lw $s0, 0x18($sp)
/* 7923B0 802A1620 24020002 */ addiu $v0, $zero, 2
/* 7923B4 802A1624 03E00008 */ jr $ra
/* 7923B8 802A1628 27BD0030 */ addiu $sp, $sp, 0x30
/* 7923BC 802A162C 00000000 */ nop

View File

@ -1,25 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_797454
/* 797454 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 797458 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 79745C 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 797460 802A14A0 0C0B1EAF */ jal get_variable
/* 797464 802A14A4 8C450000 */ lw $a1, ($v0)
/* 797468 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 79746C 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 797470 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 797474 802A14B4 00051880 */ sll $v1, $a1, 2
/* 797478 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 79747C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 797480 802A14C0 00031880 */ sll $v1, $v1, 2
/* 797484 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 797488 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 79748C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 797490 802A14D0 0C098F3F */ jal set_animation
/* 797494 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 797498 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 79749C 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 7974A0 802A14E0 03E00008 */ jr $ra
/* 7974A4 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,25 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_78EC64
/* 78EC64 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 78EC68 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 78EC6C 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 78EC70 802A14A0 0C0B1EAF */ jal get_variable
/* 78EC74 802A14A4 8C450000 */ lw $a1, ($v0)
/* 78EC78 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 78EC7C 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 78EC80 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 78EC84 802A14B4 00051880 */ sll $v1, $a1, 2
/* 78EC88 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 78EC8C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 78EC90 802A14C0 00031880 */ sll $v1, $v1, 2
/* 78EC94 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 78EC98 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 78EC9C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 78ECA0 802A14D0 0C098F3F */ jal set_animation
/* 78ECA4 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 78ECA8 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 78ECAC 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 78ECB0 802A14E0 03E00008 */ jr $ra
/* 78ECB4 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,74 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1518_78ECE8
/* 78ECE8 802A1518 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 78ECEC 802A151C AFB00020 */ sw $s0, 0x20($sp)
/* 78ECF0 802A1520 0080802D */ daddu $s0, $a0, $zero
/* 78ECF4 802A1524 AFBF002C */ sw $ra, 0x2c($sp)
/* 78ECF8 802A1528 AFB20028 */ sw $s2, 0x28($sp)
/* 78ECFC 802A152C AFB10024 */ sw $s1, 0x24($sp)
/* 78ED00 802A1530 F7B40030 */ sdc1 $f20, 0x30($sp)
/* 78ED04 802A1534 0C00A67F */ jal rand_int
/* 78ED08 802A1538 240400C8 */ addiu $a0, $zero, 0xc8
/* 78ED0C 802A153C 24040028 */ addiu $a0, $zero, 0x28
/* 78ED10 802A1540 2403FFCE */ addiu $v1, $zero, -0x32
/* 78ED14 802A1544 0C00A67F */ jal rand_int
/* 78ED18 802A1548 00628823 */ subu $s1, $v1, $v0
/* 78ED1C 802A154C 241200C8 */ addiu $s2, $zero, 0xc8
/* 78ED20 802A1550 8E030084 */ lw $v1, 0x84($s0)
/* 78ED24 802A1554 30630003 */ andi $v1, $v1, 3
/* 78ED28 802A1558 1060000C */ beqz $v1, .L802A158C
/* 78ED2C 802A155C 0040802D */ daddu $s0, $v0, $zero
/* 78ED30 802A1560 0C00A67F */ jal rand_int
/* 78ED34 802A1564 24040032 */ addiu $a0, $zero, 0x32
/* 78ED38 802A1568 00521021 */ addu $v0, $v0, $s2
/* 78ED3C 802A156C 02221021 */ addu $v0, $s1, $v0
/* 78ED40 802A1570 4482A000 */ mtc1 $v0, $f20
/* 78ED44 802A1574 00000000 */ nop
/* 78ED48 802A1578 4680A520 */ cvt.s.w $f20, $f20
/* 78ED4C 802A157C 0C00A67F */ jal rand_int
/* 78ED50 802A1580 2404000A */ addiu $a0, $zero, 0xa
/* 78ED54 802A1584 080A856D */ j .L802A15B4
/* 78ED58 802A1588 24040002 */ addiu $a0, $zero, 2
.L802A158C:
/* 78ED5C 802A158C 0C00A67F */ jal rand_int
/* 78ED60 802A1590 24040032 */ addiu $a0, $zero, 0x32
/* 78ED64 802A1594 244200C8 */ addiu $v0, $v0, 0xc8
/* 78ED68 802A1598 02221021 */ addu $v0, $s1, $v0
/* 78ED6C 802A159C 4482A000 */ mtc1 $v0, $f20
/* 78ED70 802A15A0 00000000 */ nop
/* 78ED74 802A15A4 4680A520 */ cvt.s.w $f20, $f20
/* 78ED78 802A15A8 0C00A67F */ jal rand_int
/* 78ED7C 802A15AC 2404000A */ addiu $a0, $zero, 0xa
/* 78ED80 802A15B0 24040003 */ addiu $a0, $zero, 3
.L802A15B4:
/* 78ED84 802A15B4 44911000 */ mtc1 $s1, $f2
/* 78ED88 802A15B8 00000000 */ nop
/* 78ED8C 802A15BC 468010A0 */ cvt.s.w $f2, $f2
/* 78ED90 802A15C0 44900000 */ mtc1 $s0, $f0
/* 78ED94 802A15C4 00000000 */ nop
/* 78ED98 802A15C8 46800020 */ cvt.s.w $f0, $f0
/* 78ED9C 802A15CC 44051000 */ mfc1 $a1, $f2
/* 78EDA0 802A15D0 44921000 */ mtc1 $s2, $f2
/* 78EDA4 802A15D4 00000000 */ nop
/* 78EDA8 802A15D8 468010A0 */ cvt.s.w $f2, $f2
/* 78EDAC 802A15DC 24420007 */ addiu $v0, $v0, 7
/* 78EDB0 802A15E0 44070000 */ mfc1 $a3, $f0
/* 78EDB4 802A15E4 44061000 */ mfc1 $a2, $f2
/* 78EDB8 802A15E8 44820000 */ mtc1 $v0, $f0
/* 78EDBC 802A15EC 00000000 */ nop
/* 78EDC0 802A15F0 46800020 */ cvt.s.w $f0, $f0
/* 78EDC4 802A15F4 E7B40010 */ swc1 $f20, 0x10($sp)
/* 78EDC8 802A15F8 AFA00014 */ sw $zero, 0x14($sp)
/* 78EDCC 802A15FC E7A0001C */ swc1 $f0, 0x1c($sp)
/* 78EDD0 802A1600 0C01BF8C */ jal playFX_0F
/* 78EDD4 802A1604 AFA70018 */ sw $a3, 0x18($sp)
/* 78EDD8 802A1608 8FBF002C */ lw $ra, 0x2c($sp)
/* 78EDDC 802A160C 8FB20028 */ lw $s2, 0x28($sp)
/* 78EDE0 802A1610 8FB10024 */ lw $s1, 0x24($sp)
/* 78EDE4 802A1614 8FB00020 */ lw $s0, 0x20($sp)
/* 78EDE8 802A1618 D7B40030 */ ldc1 $f20, 0x30($sp)
/* 78EDEC 802A161C 24020002 */ addiu $v0, $zero, 2
/* 78EDF0 802A1620 03E00008 */ jr $ra
/* 78EDF4 802A1624 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -1,54 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1628_78EDF8
/* 78EDF8 802A1628 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 78EDFC 802A162C AFB10024 */ sw $s1, 0x24($sp)
/* 78EE00 802A1630 0080882D */ daddu $s1, $a0, $zero
/* 78EE04 802A1634 AFBF002C */ sw $ra, 0x2c($sp)
/* 78EE08 802A1638 AFB20028 */ sw $s2, 0x28($sp)
/* 78EE0C 802A163C AFB00020 */ sw $s0, 0x20($sp)
/* 78EE10 802A1640 8E30000C */ lw $s0, 0xc($s1)
/* 78EE14 802A1644 8E050000 */ lw $a1, ($s0)
/* 78EE18 802A1648 0C0B1EAF */ jal get_variable
/* 78EE1C 802A164C 26100004 */ addiu $s0, $s0, 4
/* 78EE20 802A1650 8E050000 */ lw $a1, ($s0)
/* 78EE24 802A1654 26100004 */ addiu $s0, $s0, 4
/* 78EE28 802A1658 0220202D */ daddu $a0, $s1, $zero
/* 78EE2C 802A165C 0C0B1EAF */ jal get_variable
/* 78EE30 802A1660 0040902D */ daddu $s2, $v0, $zero
/* 78EE34 802A1664 0220202D */ daddu $a0, $s1, $zero
/* 78EE38 802A1668 8E050000 */ lw $a1, ($s0)
/* 78EE3C 802A166C 0C0B1EAF */ jal get_variable
/* 78EE40 802A1670 0040802D */ daddu $s0, $v0, $zero
/* 78EE44 802A1674 24040002 */ addiu $a0, $zero, 2
/* 78EE48 802A1678 44921000 */ mtc1 $s2, $f2
/* 78EE4C 802A167C 00000000 */ nop
/* 78EE50 802A1680 468010A0 */ cvt.s.w $f2, $f2
/* 78EE54 802A1684 44051000 */ mfc1 $a1, $f2
/* 78EE58 802A1688 44901000 */ mtc1 $s0, $f2
/* 78EE5C 802A168C 00000000 */ nop
/* 78EE60 802A1690 468010A0 */ cvt.s.w $f2, $f2
/* 78EE64 802A1694 44061000 */ mfc1 $a2, $f2
/* 78EE68 802A1698 44821000 */ mtc1 $v0, $f2
/* 78EE6C 802A169C 00000000 */ nop
/* 78EE70 802A16A0 468010A0 */ cvt.s.w $f2, $f2
/* 78EE74 802A16A4 3C01BF80 */ lui $at, 0xbf80
/* 78EE78 802A16A8 44810000 */ mtc1 $at, $f0
/* 78EE7C 802A16AC 44071000 */ mfc1 $a3, $f2
/* 78EE80 802A16B0 24030005 */ addiu $v1, $zero, 5
/* 78EE84 802A16B4 AFA00010 */ sw $zero, 0x10($sp)
/* 78EE88 802A16B8 AFA00018 */ sw $zero, 0x18($sp)
/* 78EE8C 802A16BC AFA3001C */ sw $v1, 0x1c($sp)
/* 78EE90 802A16C0 0C01C064 */ jal playFX_18
/* 78EE94 802A16C4 E7A00014 */ swc1 $f0, 0x14($sp)
/* 78EE98 802A16C8 8FBF002C */ lw $ra, 0x2c($sp)
/* 78EE9C 802A16CC 8FB20028 */ lw $s2, 0x28($sp)
/* 78EEA0 802A16D0 8FB10024 */ lw $s1, 0x24($sp)
/* 78EEA4 802A16D4 8FB00020 */ lw $s0, 0x20($sp)
/* 78EEA8 802A16D8 24020002 */ addiu $v0, $zero, 2
/* 78EEAC 802A16DC 03E00008 */ jr $ra
/* 78EEB0 802A16E0 27BD0030 */ addiu $sp, $sp, 0x30
/* 78EEB4 802A16E4 00000000 */ nop
/* 78EEB8 802A16E8 00000000 */ nop
/* 78EEBC 802A16EC 00000000 */ nop

View File

@ -1,25 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_7941B4
/* 7941B4 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7941B8 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 7941BC 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 7941C0 802A14A0 0C0B1EAF */ jal get_variable
/* 7941C4 802A14A4 8C450000 */ lw $a1, ($v0)
/* 7941C8 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 7941CC 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 7941D0 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 7941D4 802A14B4 00051880 */ sll $v1, $a1, 2
/* 7941D8 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 7941DC 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 7941E0 802A14C0 00031880 */ sll $v1, $v1, 2
/* 7941E4 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 7941E8 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 7941EC 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 7941F0 802A14D0 0C098F3F */ jal set_animation
/* 7941F4 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 7941F8 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 7941FC 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 794200 802A14E0 03E00008 */ jr $ra
/* 794204 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,25 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1494_795774
/* 795774 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 795778 802A1498 AFBF0010 */ sw $ra, 0x10($sp)
/* 79577C 802A149C 8C82000C */ lw $v0, 0xc($a0)
/* 795780 802A14A0 0C0B1EAF */ jal get_variable
/* 795784 802A14A4 8C450000 */ lw $a1, ($v0)
/* 795788 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12)
/* 79578C 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1)
/* 795790 802A14B0 24040100 */ addiu $a0, $zero, 0x100
/* 795794 802A14B4 00051880 */ sll $v1, $a1, 2
/* 795798 802A14B8 00651821 */ addu $v1, $v1, $a1
/* 79579C 802A14BC 00621821 */ addu $v1, $v1, $v0
/* 7957A0 802A14C0 00031880 */ sll $v1, $v1, 2
/* 7957A4 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890)
/* 7957A8 802A14C8 00C33021 */ addu $a2, $a2, $v1
/* 7957AC 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2)
/* 7957B0 802A14D0 0C098F3F */ jal set_animation
/* 7957B4 802A14D4 0000282D */ daddu $a1, $zero, $zero
/* 7957B8 802A14D8 8FBF0010 */ lw $ra, 0x10($sp)
/* 7957BC 802A14DC 24020002 */ addiu $v0, $zero, 2
/* 7957C0 802A14E0 03E00008 */ jr $ra
/* 7957C4 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,45 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A1518_7957F8
/* 7957F8 802A1518 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7957FC 802A151C AFB00010 */ sw $s0, 0x10($sp)
/* 795800 802A1520 0080802D */ daddu $s0, $a0, $zero
/* 795804 802A1524 10A0000E */ beqz $a1, .L802A1560
/* 795808 802A1528 AFBF0014 */ sw $ra, 0x14($sp)
/* 79580C 802A152C 0C04760B */ jal mdl_set_all_fog_mode
/* 795810 802A1530 24040001 */ addiu $a0, $zero, 1
/* 795814 802A1534 0000202D */ daddu $a0, $zero, $zero
/* 795818 802A1538 0080282D */ daddu $a1, $a0, $zero
/* 79581C 802A153C 0080302D */ daddu $a2, $a0, $zero
/* 795820 802A1540 0080382D */ daddu $a3, $a0, $zero
/* 795824 802A1544 3C028015 */ lui $v0, %hi(D_801512F0)
/* 795828 802A1548 8C4212F0 */ lw $v0, %lo(D_801512F0)($v0)
/* 79582C 802A154C 24030001 */ addiu $v1, $zero, 1
/* 795830 802A1550 0C046F97 */ jal set_background_color_blend
/* 795834 802A1554 A0430000 */ sb $v1, ($v0)
/* 795838 802A1558 240200C8 */ addiu $v0, $zero, 0xc8
/* 79583C 802A155C AE020070 */ sw $v0, 0x70($s0)
.L802A1560:
/* 795840 802A1560 0000202D */ daddu $a0, $zero, $zero
/* 795844 802A1564 0080282D */ daddu $a1, $a0, $zero
/* 795848 802A1568 92070073 */ lbu $a3, 0x73($s0)
/* 79584C 802A156C 0C046F97 */ jal set_background_color_blend
/* 795850 802A1570 0080302D */ daddu $a2, $a0, $zero
/* 795854 802A1574 8E020070 */ lw $v0, 0x70($s0)
/* 795858 802A1578 24420002 */ addiu $v0, $v0, 2
/* 79585C 802A157C AE020070 */ sw $v0, 0x70($s0)
/* 795860 802A1580 284200FE */ slti $v0, $v0, 0xfe
/* 795864 802A1584 14400007 */ bnez $v0, .L802A15A4
/* 795868 802A1588 0000102D */ daddu $v0, $zero, $zero
/* 79586C 802A158C 0000202D */ daddu $a0, $zero, $zero
/* 795870 802A1590 0080282D */ daddu $a1, $a0, $zero
/* 795874 802A1594 0080302D */ daddu $a2, $a0, $zero
/* 795878 802A1598 0C046F97 */ jal set_background_color_blend
/* 79587C 802A159C 240700FE */ addiu $a3, $zero, 0xfe
/* 795880 802A15A0 24020002 */ addiu $v0, $zero, 2
.L802A15A4:
/* 795884 802A15A4 8FBF0014 */ lw $ra, 0x14($sp)
/* 795888 802A15A8 8FB00010 */ lw $s0, 0x10($sp)
/* 79588C 802A15AC 03E00008 */ jr $ra
/* 795890 802A15B0 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,36 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A15B4_795894
/* 795894 802A15B4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 795898 802A15B8 AFB00010 */ sw $s0, 0x10($sp)
/* 79589C 802A15BC 0080802D */ daddu $s0, $a0, $zero
/* 7958A0 802A15C0 10A00003 */ beqz $a1, .L802A15D0
/* 7958A4 802A15C4 AFBF0014 */ sw $ra, 0x14($sp)
/* 7958A8 802A15C8 240200FE */ addiu $v0, $zero, 0xfe
/* 7958AC 802A15CC AE020070 */ sw $v0, 0x70($s0)
.L802A15D0:
/* 7958B0 802A15D0 0000202D */ daddu $a0, $zero, $zero
/* 7958B4 802A15D4 0080282D */ daddu $a1, $a0, $zero
/* 7958B8 802A15D8 92070073 */ lbu $a3, 0x73($s0)
/* 7958BC 802A15DC 0C046F97 */ jal set_background_color_blend
/* 7958C0 802A15E0 0080302D */ daddu $a2, $a0, $zero
/* 7958C4 802A15E4 8E020070 */ lw $v0, 0x70($s0)
/* 7958C8 802A15E8 2442FFFB */ addiu $v0, $v0, -5
/* 7958CC 802A15EC AE020070 */ sw $v0, 0x70($s0)
/* 7958D0 802A15F0 284200C9 */ slti $v0, $v0, 0xc9
/* 7958D4 802A15F4 14400003 */ bnez $v0, .L802A1604
/* 7958D8 802A15F8 0000202D */ daddu $a0, $zero, $zero
/* 7958DC 802A15FC 080A8586 */ j .L802A1618
/* 7958E0 802A1600 0000102D */ daddu $v0, $zero, $zero
.L802A1604:
/* 7958E4 802A1604 0080282D */ daddu $a1, $a0, $zero
/* 7958E8 802A1608 0080302D */ daddu $a2, $a0, $zero
/* 7958EC 802A160C 0C046F97 */ jal set_background_color_blend
/* 7958F0 802A1610 240700C8 */ addiu $a3, $zero, 0xc8
/* 7958F4 802A1614 24020002 */ addiu $v0, $zero, 2
.L802A1618:
/* 7958F8 802A1618 8FBF0014 */ lw $ra, 0x14($sp)
/* 7958FC 802A161C 8FB00010 */ lw $s0, 0x10($sp)
/* 795900 802A1620 03E00008 */ jr $ra
/* 795904 802A1624 27BD0018 */ addiu $sp, $sp, 0x18