mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 12:32:38 +01:00
Miscellaneous battle/area functions (#330)
* match last bow fumction * decomp more partner functions * :) * :) * resolve merge conflict and style conflicts * fix * decomp :) * :( * :((( * :) * :( * :) * :))))) * :( * :/ * idk * :/ * What * Done. * PR comments Co-authored-by: Ethan Roseman <ethteck@gmail.com>
This commit is contained in:
parent
32de1484d3
commit
83be3c1ea8
@ -231,7 +231,7 @@ typedef struct PlayerData {
|
|||||||
/* 0x29A */ s16 hitsBlocked;
|
/* 0x29A */ s16 hitsBlocked;
|
||||||
/* 0x29C */ s16 playerFirstStrikes;
|
/* 0x29C */ s16 playerFirstStrikes;
|
||||||
/* 0x29E */ s16 enemyFirstStrikes;
|
/* 0x29E */ s16 enemyFirstStrikes;
|
||||||
/* 0x2A0 */ s16 powerBounces;
|
/* 0x2A0 */ u16 powerBounces;
|
||||||
/* 0x2A2 */ s16 battlesCount;
|
/* 0x2A2 */ s16 battlesCount;
|
||||||
/* 0x2A4 */ s16 unk_2A4[4];
|
/* 0x2A4 */ s16 unk_2A4[4];
|
||||||
/* 0x2AC */ s32 unk_2AC;
|
/* 0x2AC */ s32 unk_2AC;
|
||||||
|
@ -400,7 +400,7 @@ void playFX_3D(s32 var1, f32 var2, f32 var3, f32 var4, f32 var5, f32 var6, f32 v
|
|||||||
EffectInstance* playFX_40(s32, f32, f32, f32, s32);
|
EffectInstance* playFX_40(s32, f32, f32, f32, s32);
|
||||||
EffectInstance* playFX_52(s32, f32, f32, f32, f32, s32);
|
EffectInstance* playFX_52(s32, f32, f32, f32, f32, s32);
|
||||||
EffectInstance* playFX_6B(s32, f32, f32, f32, f32, s32);
|
EffectInstance* playFX_6B(s32, f32, f32, f32, f32, s32);
|
||||||
//EffectInstance* playFX_82(s32, f32, f32, f32, f32, s32 time);
|
void playFX_82(s32, f32, f32, f32, f32, s32 time);
|
||||||
EffectInstance* playFX_4E(s32, f32, f32, f32);
|
EffectInstance* playFX_4E(s32, f32, f32, f32);
|
||||||
EffectInstance* playFX_54(s32, f32, f32, f32);
|
EffectInstance* playFX_54(s32, f32, f32, f32);
|
||||||
EffectInstance* playFX_80(s32, f32, f32, f32, f32, s32);
|
EffectInstance* playFX_80(s32, f32, f32, f32, f32, s32);
|
||||||
@ -412,7 +412,7 @@ EffectInstance* playFX_83(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32
|
|||||||
EffectInstance* playFX_7B(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5);
|
EffectInstance* playFX_7B(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5);
|
||||||
void playFX_32(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4);
|
void playFX_32(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4);
|
||||||
EffectInstance* playFX_56(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5);
|
EffectInstance* playFX_56(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5);
|
||||||
void playFX_33(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5);
|
EffectInstance* playFX_33(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5);
|
||||||
EffectInstance* playFX_69(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5);
|
EffectInstance* playFX_69(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5);
|
||||||
void playFX_2D(s32 arg0, f32 arg1, f32 arg2, f32 arg3, s32 arg4, s32 arg5);
|
void playFX_2D(s32 arg0, f32 arg1, f32 arg2, f32 arg3, s32 arg4, s32 arg5);
|
||||||
void playFX_2E(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5);
|
void playFX_2E(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5);
|
||||||
@ -435,6 +435,7 @@ EffectInstance* playFX_58(s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32
|
|||||||
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 playFX_0F(s32, f32, f32, f32, f32, f32, f32, f32);
|
||||||
|
EffectInstance* playFX_6C(s32, f32, f32, f32, f32, s32);
|
||||||
|
|
||||||
void func_802B2078(void);
|
void func_802B2078(void);
|
||||||
extern f32 gCurtainScale;
|
extern f32 gCurtainScale;
|
||||||
|
@ -108,7 +108,7 @@ INCLUDE_ASM(void, "4ac90_len_3910", playFX_31, s32 arg0, f32 arg1, f32 arg2, f32
|
|||||||
|
|
||||||
INCLUDE_ASM(void, "4ac90_len_3910", playFX_32, s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4);
|
INCLUDE_ASM(void, "4ac90_len_3910", playFX_32, s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4);
|
||||||
|
|
||||||
INCLUDE_ASM(void, "4ac90_len_3910", playFX_33, s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5);
|
INCLUDE_ASM(EffectInstance*, "4ac90_len_3910", playFX_33, s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5);
|
||||||
|
|
||||||
INCLUDE_ASM(EffectInstance*, "4ac90_len_3910", playFX_34);
|
INCLUDE_ASM(EffectInstance*, "4ac90_len_3910", playFX_34);
|
||||||
|
|
||||||
@ -269,7 +269,7 @@ INCLUDE_ASM(EffectInstance*, "4ac90_len_3910", playFX_80, s32 arg0, f32 arg1, f3
|
|||||||
|
|
||||||
INCLUDE_ASM(EffectInstance*, "4ac90_len_3910", playFX_81);
|
INCLUDE_ASM(EffectInstance*, "4ac90_len_3910", playFX_81);
|
||||||
|
|
||||||
INCLUDE_ASM(EffectInstance*, "4ac90_len_3910", playFX_82, s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 time);
|
INCLUDE_ASM(void, "4ac90_len_3910", playFX_82, s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 time);
|
||||||
|
|
||||||
INCLUDE_ASM(EffectInstance*, "4ac90_len_3910", playFX_83, s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5);
|
INCLUDE_ASM(EffectInstance*, "4ac90_len_3910", playFX_83, s32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, s32 arg5);
|
||||||
|
|
||||||
|
@ -4,4 +4,4 @@
|
|||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_dig/6DE1F0", func_80218430_6DE1F0);
|
INCLUDE_ASM(s32, "battle/area_dig/6DE1F0", func_80218430_6DE1F0);
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_dig/6DE1F0", func_80218580_6DE340);
|
#include "common/GetModelPos.inc.c"
|
||||||
|
@ -18,9 +18,9 @@ INCLUDE_ASM(s32, "battle/area_flo/5B20F0", func_80218C40_5B20F0);
|
|||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo/5B20F0", func_80218EE8_5B2398);
|
INCLUDE_ASM(s32, "battle/area_flo/5B20F0", func_80218EE8_5B2398);
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo/5B20F0", func_80218FAC_5B245C);
|
#include "common/GetBootsHammerLevel.inc.c"
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo/5B20F0", func_8021900C_5B24BC);
|
#include "common/UnkBattleFunc5.inc.c"
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo/5B20F0", func_802190B0_5B2560);
|
INCLUDE_ASM(s32, "battle/area_flo/5B20F0", func_802190B0_5B2560);
|
||||||
|
|
||||||
|
@ -2,19 +2,129 @@
|
|||||||
|
|
||||||
#define NAMESPACE b_area_flo
|
#define NAMESPACE b_area_flo
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo/5B28D0", func_80219420_5B28D0);
|
extern char* D_802311D8_5CA688[11];
|
||||||
|
extern char* D_80231678_5CAB28[11];
|
||||||
|
extern char* D_80231B08_5CAFB8[11];
|
||||||
|
extern char* D_80231FA8_5CB458[11];
|
||||||
|
extern char* D_80232428_5CB8D8[11];
|
||||||
|
extern char* D_802328D8_5CBD88[11];
|
||||||
|
extern char* D_80232BE8_5CC098[11];
|
||||||
|
extern char* D_80233564_5CCA14[11];
|
||||||
|
extern char* D_80233870_5CCD20[11];
|
||||||
|
extern char* D_80233950_5CCE00[11];
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo/5B28D0", func_802194E0_5B2990);
|
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo/5B28D0", func_802195A0_5B2A50);
|
ApiStatus func_80219420_5B28D0(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
s32 var1 = 0;
|
||||||
|
u32 i;
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo/5B28D0", func_80219660_5B2B10);
|
for (i = 0; i < ARRAY_COUNT(D_802311D8_5CA688); i++) {
|
||||||
|
if (strcmp(gAreas[gGameStatusPtr->areaID].maps[gGameStatusPtr->mapID].id, D_802311D8_5CA688[i]) == 0) {
|
||||||
|
var1 = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo/5B28D0", func_80219720_5B2BD0);
|
playFX_82(var1, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo/5B28D0", func_802197E0_5B2C90);
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo/5B28D0", func_802198A0_5B2D50);
|
ApiStatus func_802194E0_5B2990(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
s32 var1 = 0;
|
||||||
|
u32 i;
|
||||||
|
|
||||||
|
for (i = 0; i < ARRAY_COUNT(D_80231678_5CAB28); i++) {
|
||||||
|
if (strcmp(gAreas[gGameStatusPtr->areaID].maps[gGameStatusPtr->mapID].id, D_80231678_5CAB28[i]) == 0) {
|
||||||
|
var1 = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
playFX_82(var1, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
|
ApiStatus func_802195A0_5B2A50(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
s32 var1 = 0;
|
||||||
|
u32 i;
|
||||||
|
|
||||||
|
for (i = 0; i < ARRAY_COUNT(D_80231B08_5CAFB8); i++) {
|
||||||
|
if (strcmp(gAreas[gGameStatusPtr->areaID].maps[gGameStatusPtr->mapID].id, D_80231B08_5CAFB8[i]) == 0) {
|
||||||
|
var1 = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
playFX_82(var1, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
|
ApiStatus func_80219660_5B2B10(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
s32 var1 = 0;
|
||||||
|
u32 i;
|
||||||
|
|
||||||
|
for (i = 0; i < ARRAY_COUNT(D_80231FA8_5CB458); i++) {
|
||||||
|
if (strcmp(gAreas[gGameStatusPtr->areaID].maps[gGameStatusPtr->mapID].id, D_80231FA8_5CB458[i]) == 0) {
|
||||||
|
var1 = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
playFX_82(var1, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
|
ApiStatus func_80219720_5B2BD0(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
s32 var1 = 0;
|
||||||
|
u32 i;
|
||||||
|
|
||||||
|
for (i = 0; i < ARRAY_COUNT(D_80232428_5CB8D8); i++) {
|
||||||
|
if (strcmp(gAreas[gGameStatusPtr->areaID].maps[gGameStatusPtr->mapID].id, D_80232428_5CB8D8[i]) == 0) {
|
||||||
|
var1 = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
playFX_82(var1, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
|
ApiStatus func_802197E0_5B2C90(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
s32 var1 = 0;
|
||||||
|
u32 i;
|
||||||
|
|
||||||
|
for (i = 0; i < ARRAY_COUNT(D_802328D8_5CBD88); i++) {
|
||||||
|
if (strcmp(gAreas[gGameStatusPtr->areaID].maps[gGameStatusPtr->mapID].id, D_802328D8_5CBD88[i]) == 0) {
|
||||||
|
var1 = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
playFX_82(var1, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
|
ApiStatus func_802198A0_5B2D50(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
s32 var1 = 0;
|
||||||
|
u32 i;
|
||||||
|
|
||||||
|
for (i = 0; i < ARRAY_COUNT(D_80232BE8_5CC098); i++) {
|
||||||
|
if (strcmp(gAreas[gGameStatusPtr->areaID].maps[gGameStatusPtr->mapID].id, D_80232BE8_5CC098[i]) == 0) {
|
||||||
|
var1 = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
playFX_82(var1, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
#define NAMESPACE dup_b_area_flo
|
#define NAMESPACE dup_b_area_flo
|
||||||
#include "common/UnkFloatFunc.inc.c"
|
#include "common/UnkFloatFunc.inc.c"
|
||||||
@ -24,8 +134,50 @@ INCLUDE_ASM(s32, "battle/area_flo/5B28D0", func_802198A0_5B2D50);
|
|||||||
#include "common/UnkFloatFunc.inc.c"
|
#include "common/UnkFloatFunc.inc.c"
|
||||||
#define NAMESPACE b_area_flo
|
#define NAMESPACE b_area_flo
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo/5B28D0", func_80219C80_5B3130);
|
ApiStatus func_80219C80_5B3130(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
s32 var1 = 0;
|
||||||
|
u32 i;
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo/5B28D0", func_80219D40_5B31F0);
|
for (i = 0; i < ARRAY_COUNT(D_80233564_5CCA14); i++) {
|
||||||
|
if (strcmp(gAreas[gGameStatusPtr->areaID].maps[gGameStatusPtr->mapID].id, D_80233564_5CCA14[i]) == 0) {
|
||||||
|
var1 = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo/5B28D0", func_80219E00_5B32B0);
|
playFX_82(var1, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
|
ApiStatus func_80219D40_5B31F0(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
s32 var1 = 0;
|
||||||
|
u32 i;
|
||||||
|
|
||||||
|
for (i = 0; i < ARRAY_COUNT(D_80233870_5CCD20); i++) {
|
||||||
|
if (strcmp(gAreas[gGameStatusPtr->areaID].maps[gGameStatusPtr->mapID].id, D_80233870_5CCD20[i]) == 0) {
|
||||||
|
var1 = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
playFX_82(var1, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
|
ApiStatus func_80219E00_5B32B0(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
s32 var1 = 0;
|
||||||
|
u32 i;
|
||||||
|
|
||||||
|
for (i = 0; i < ARRAY_COUNT(D_80233950_5CCE00); i++) {
|
||||||
|
if (strcmp(gAreas[gGameStatusPtr->areaID].maps[gGameStatusPtr->mapID].id, D_80233950_5CCE00[i]) == 0) {
|
||||||
|
var1 = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
playFX_82(var1, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
@ -2,23 +2,132 @@
|
|||||||
|
|
||||||
#define NAMESPACE b_area_flo2
|
#define NAMESPACE b_area_flo2
|
||||||
|
|
||||||
|
extern char* D_80232D48_5E93D8[11];
|
||||||
|
extern char* D_802331E8_5E9878[11];
|
||||||
|
extern char* D_80233678_5E9D08[11];
|
||||||
|
extern char* D_80233F98_5EA628[11];
|
||||||
|
extern char* D_802353E0_5EBA70[11];
|
||||||
|
extern char* D_802354C0_5EBB50[11];
|
||||||
|
extern char* D_80233B18_5EA1A8[11];
|
||||||
|
extern char* D_80234448_5EAAD8[11];
|
||||||
|
extern char* D_80234758_5EADE8[11];
|
||||||
|
extern char* D_802350D4_5EB764[11];
|
||||||
|
|
||||||
#define NAMESPACE dup_b_area_flo2
|
#define NAMESPACE dup_b_area_flo2
|
||||||
#include "common/UnkFloatFunc.inc.c"
|
#include "common/UnkFloatFunc.inc.c"
|
||||||
#define NAMESPACE b_area_flo2
|
#define NAMESPACE b_area_flo2
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo2/5CF2D0", func_80218DD0_5CF460);
|
ApiStatus func_80218DD0_5CF460(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
s32 var1 = 0;
|
||||||
|
u32 i;
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo2/5CF2D0", func_80218E90_5CF520);
|
for (i = 0; i < ARRAY_COUNT(D_80232D48_5E93D8); i++) {
|
||||||
|
if (strcmp(gAreas[gGameStatusPtr->areaID].maps[gGameStatusPtr->mapID].id, D_80232D48_5E93D8[i]) == 0) {
|
||||||
|
var1 = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo2/5CF2D0", func_80218F50_5CF5E0);
|
playFX_82(var1, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo2/5CF2D0", func_80219010_5CF6A0);
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo2/5CF2D0", func_802190D0_5CF760);
|
ApiStatus func_80218E90_5CF520(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
s32 var1 = 0;
|
||||||
|
u32 i;
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo2/5CF2D0", func_80219190_5CF820);
|
for (i = 0; i < ARRAY_COUNT(D_802331E8_5E9878); i++) {
|
||||||
|
if (strcmp(gAreas[gGameStatusPtr->areaID].maps[gGameStatusPtr->mapID].id, D_802331E8_5E9878[i]) == 0) {
|
||||||
|
var1 = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo2/5CF2D0", func_80219250_5CF8E0);
|
playFX_82(var1, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
|
ApiStatus func_80218F50_5CF5E0(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
s32 var1 = 0;
|
||||||
|
u32 i;
|
||||||
|
|
||||||
|
for (i = 0; i < ARRAY_COUNT(D_80233678_5E9D08); i++) {
|
||||||
|
if (strcmp(gAreas[gGameStatusPtr->areaID].maps[gGameStatusPtr->mapID].id, D_80233678_5E9D08[i]) == 0) {
|
||||||
|
var1 = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
playFX_82(var1, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
|
ApiStatus func_80219010_5CF6A0(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
s32 var1 = 0;
|
||||||
|
u32 i;
|
||||||
|
|
||||||
|
for (i = 0; i < ARRAY_COUNT(D_80233B18_5EA1A8); i++) {
|
||||||
|
if (strcmp(gAreas[gGameStatusPtr->areaID].maps[gGameStatusPtr->mapID].id, D_80233B18_5EA1A8[i]) == 0) {
|
||||||
|
var1 = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
playFX_82(var1, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
|
ApiStatus func_802190D0_5CF760(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
s32 var1 = 0;
|
||||||
|
u32 i;
|
||||||
|
|
||||||
|
for (i = 0; i < ARRAY_COUNT(D_80233F98_5EA628); i++) {
|
||||||
|
if (strcmp(gAreas[gGameStatusPtr->areaID].maps[gGameStatusPtr->mapID].id, D_80233F98_5EA628[i]) == 0) {
|
||||||
|
var1 = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
playFX_82(var1, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
|
ApiStatus func_80219190_5CF820(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
s32 var1 = 0;
|
||||||
|
u32 i;
|
||||||
|
|
||||||
|
for (i = 0; i < ARRAY_COUNT(D_80234448_5EAAD8); i++) {
|
||||||
|
if (strcmp(gAreas[gGameStatusPtr->areaID].maps[gGameStatusPtr->mapID].id, D_80234448_5EAAD8[i]) == 0) {
|
||||||
|
var1 = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
playFX_82(var1, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
|
ApiStatus func_80219250_5CF8E0(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
s32 var1 = 0;
|
||||||
|
u32 i;
|
||||||
|
|
||||||
|
for (i = 0; i < ARRAY_COUNT(D_80234758_5EADE8); i++) {
|
||||||
|
if (strcmp(gAreas[gGameStatusPtr->areaID].maps[gGameStatusPtr->mapID].id, D_80234758_5EADE8[i]) == 0) {
|
||||||
|
var1 = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
playFX_82(var1, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
#define NAMESPACE dup2_b_area_flo2
|
#define NAMESPACE dup2_b_area_flo2
|
||||||
#include "common/UnkFloatFunc.inc.c"
|
#include "common/UnkFloatFunc.inc.c"
|
||||||
@ -28,8 +137,50 @@ INCLUDE_ASM(s32, "battle/area_flo2/5CF2D0", func_80219250_5CF8E0);
|
|||||||
#include "common/UnkFloatFunc.inc.c"
|
#include "common/UnkFloatFunc.inc.c"
|
||||||
#define NAMESPACE b_area_flo2
|
#define NAMESPACE b_area_flo2
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo2/5CF2D0", func_80219630_5CFCC0);
|
ApiStatus func_80219630_5CFCC0(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
s32 var1 = 0;
|
||||||
|
u32 i;
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo2/5CF2D0", func_802196F0_5CFD80);
|
for (i = 0; i < ARRAY_COUNT(D_802350D4_5EB764); i++) {
|
||||||
|
if (strcmp(gAreas[gGameStatusPtr->areaID].maps[gGameStatusPtr->mapID].id, D_802350D4_5EB764[i]) == 0) {
|
||||||
|
var1 = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_flo2/5CF2D0", func_802197B0_5CFE40);
|
playFX_82(var1, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
|
ApiStatus func_802196F0_5CFD80(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
s32 var1 = 0;
|
||||||
|
u32 i;
|
||||||
|
|
||||||
|
for (i = 0; i < ARRAY_COUNT(D_802353E0_5EBA70); i++) {
|
||||||
|
if (strcmp(gAreas[gGameStatusPtr->areaID].maps[gGameStatusPtr->mapID].id, D_802353E0_5EBA70[i]) == 0) {
|
||||||
|
var1 = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
playFX_82(var1, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
|
ApiStatus func_802197B0_5CFE40(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
s32 var1 = 0;
|
||||||
|
u32 i;
|
||||||
|
|
||||||
|
for (i = 0; i < ARRAY_COUNT(D_802354C0_5EBB50); i++) {
|
||||||
|
if (strcmp(gAreas[gGameStatusPtr->areaID].maps[gGameStatusPtr->mapID].id, D_802354C0_5EBB50[i]) == 0) {
|
||||||
|
var1 = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
playFX_82(var1, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
@ -12,6 +12,6 @@ INCLUDE_ASM(s32, "battle/area_jan2/584B90", func_80218250_584B90);
|
|||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_jan2/584B90", func_802184F8_584E38);
|
INCLUDE_ASM(s32, "battle/area_jan2/584B90", func_802184F8_584E38);
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_jan2/584B90", func_802185BC_584EFC);
|
#include "common/GetBootsHammerLevel.inc.c"
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_jan2/584B90", func_8021861C_584F5C);
|
#include "common/UnkBattleFunc5.inc.c"
|
||||||
|
@ -40,7 +40,9 @@ INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_80219444_6A0644);
|
|||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_80219818_6A0A18);
|
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_80219818_6A0A18);
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_80219C74_6A0E74);
|
#define NAMESPACE dup3_b_area_kpa2
|
||||||
|
#include "common/GetJumpHammerCharge.inc.c"
|
||||||
|
#define NAMESPACE b_area_kpa2
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_80219CD4_6A0ED4);
|
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_80219CD4_6A0ED4);
|
||||||
|
|
||||||
@ -74,7 +76,9 @@ INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021A804_6A1A04);
|
|||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021ABD8_6A1DD8);
|
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021ABD8_6A1DD8);
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021B02C_6A222C);
|
#define NAMESPACE dup6_b_area_kpa2
|
||||||
|
#include "common/GetJumpHammerCharge.inc.c"
|
||||||
|
#define NAMESPACE b_area_kpa2
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021B08C_6A228C);
|
INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021B08C_6A228C);
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021C14C_6A334C);
|
|||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021C520_6A3720);
|
INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021C520_6A3720);
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021C974_6A3B74);
|
#include "common/GetJumpHammerCharge.inc.c"
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021C9D4_6A3BD4);
|
INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021C9D4_6A3BD4);
|
||||||
|
|
||||||
|
@ -18,6 +18,6 @@ INCLUDE_ASM(s32, "battle/area_kzn/58CC90", func_802189A0_58CC90);
|
|||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_kzn/58CC90", func_80218C48_58CF38);
|
INCLUDE_ASM(s32, "battle/area_kzn/58CC90", func_80218C48_58CF38);
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_kzn/58CC90", func_80218D0C_58CFFC);
|
#include "common/GetBootsHammerLevel.inc.c"
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_kzn/58CC90", func_80218D6C_58D05C);
|
#include "common/UnkBattleFunc5.inc.c"
|
||||||
|
@ -18,6 +18,6 @@ INCLUDE_ASM(s32, "battle/area_pra/649ED0", func_802190C0_649ED0);
|
|||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_pra/649ED0", func_80219368_64A178);
|
INCLUDE_ASM(s32, "battle/area_pra/649ED0", func_80219368_64A178);
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_pra/649ED0", func_8021942C_64A23C);
|
#include "common/GetBootsHammerLevel.inc.c"
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_pra/649ED0", func_8021948C_64A29C);
|
#include "common/UnkBattleFunc5.inc.c"
|
||||||
|
@ -4,4 +4,4 @@
|
|||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_sbk/4DA6B0", func_802180D0_4DA6B0);
|
INCLUDE_ASM(s32, "battle/area_sbk/4DA6B0", func_802180D0_4DA6B0);
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/area_sbk/4DA6B0", func_80218220_4DA800);
|
#include "common/GetModelPos.inc.c"
|
||||||
|
@ -10,9 +10,8 @@ extern s32 D_802A4020;
|
|||||||
|
|
||||||
#ifdef NON_MATCHING
|
#ifdef NON_MATCHING
|
||||||
ApiStatus func_802A10E4_743ED4(ScriptInstance* script, s32 isInitialCall) {
|
ApiStatus func_802A10E4_743ED4(ScriptInstance* script, s32 isInitialCall) {
|
||||||
Actor* actor = get_actor(script->owner1.actorID);
|
Actor* targetActor = get_actor(get_actor(script->owner1.actorID)->targetActorID);
|
||||||
Actor* targetActor = get_actor(actor->targetActorID);
|
s32 powerBounceChance;
|
||||||
u8 powerBounceChance;
|
|
||||||
|
|
||||||
script->varTable[0] = 99;
|
script->varTable[0] = 99;
|
||||||
powerBounceChance = targetActor->staticActorData->powerBounceChance;
|
powerBounceChance = targetActor->staticActorData->powerBounceChance;
|
||||||
@ -30,7 +29,6 @@ ApiStatus func_802A10E4_743ED4(ScriptInstance* script, s32 isInitialCall) {
|
|||||||
INCLUDE_ASM(s32, "battle/move/power_bounce/743DF0", func_802A10E4_743ED4);
|
INCLUDE_ASM(s32, "battle/move/power_bounce/743DF0", func_802A10E4_743ED4);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
ApiStatus func_802A1194_743F84(ScriptInstance* script, s32 isInitialCall) {
|
ApiStatus func_802A1194_743F84(ScriptInstance* script, s32 isInitialCall) {
|
||||||
D_802A4020 = 0;
|
D_802A4020 = 0;
|
||||||
return ApiStatus_DONE2;
|
return ApiStatus_DONE2;
|
||||||
@ -41,4 +39,12 @@ ApiStatus func_802A11A4_743F94(ScriptInstance* script, s32 isInitialCall) {
|
|||||||
return ApiStatus_DONE2;
|
return ApiStatus_DONE2;
|
||||||
}
|
}
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/move/power_bounce/743DF0", func_802A11C0_743FB0);
|
ApiStatus func_802A11C0_743FB0(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
PlayerData* playerData = &gPlayerData;
|
||||||
|
|
||||||
|
if (playerData->powerBounces < D_802A4020) {
|
||||||
|
playerData->powerBounces = D_802A4020;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
@ -6,8 +6,9 @@
|
|||||||
#include "message_ids.h"
|
#include "message_ids.h"
|
||||||
#include "sprite/npc/battle_goombario.h"
|
#include "sprite/npc/battle_goombario.h"
|
||||||
|
|
||||||
extern Actor D_8023CDA0;
|
extern EffectInstance* D_8023CDA0;
|
||||||
extern s32 D_8023CDA4;
|
extern s32 D_8023CDA4;
|
||||||
|
extern s32 D_8023BB98_6ECC78;
|
||||||
extern MessageID bActorTattles[ACTOR_TYPE_COUNT];
|
extern MessageID bActorTattles[ACTOR_TYPE_COUNT];
|
||||||
|
|
||||||
extern Script N(init);
|
extern Script N(init);
|
||||||
@ -54,7 +55,21 @@ ApiStatus N(func_80238000_6F10E0)(ScriptInstance* script, s32 isInitialCall) {
|
|||||||
return ApiStatus_DONE2;
|
return ApiStatus_DONE2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef NON_MATCHING
|
||||||
|
ApiStatus func_802380E4_6F11C4(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
Actor* targetActor = get_actor(get_actor(script->owner1.actorID)->targetActorID);
|
||||||
|
|
||||||
|
script->varTable[0] = 99;
|
||||||
|
D_8023BB98_6ECC78 = ((D_8023BB98_6ECC78 * targetActor->staticActorData->powerBounceChance) * 0x51EB851F) >> 5 - (D_8023BB98_6ECC78 * targetActor->staticActorData->powerBounceChance >> 31);
|
||||||
|
if (D_8023BB98_6ECC78 < rand_int(100)) {
|
||||||
|
script->varTable[0] = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
#else
|
||||||
INCLUDE_ASM(s32, "battle/partner/goombario", func_802380E4_6F11C4);
|
INCLUDE_ASM(s32, "battle/partner/goombario", func_802380E4_6F11C4);
|
||||||
|
#endif
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/partner/goombario", func_8023817C_6F125C);
|
INCLUDE_ASM(s32, "battle/partner/goombario", func_8023817C_6F125C);
|
||||||
|
|
||||||
@ -122,11 +137,49 @@ ApiStatus func_80238B60_6F1C40(ScriptInstance* script, s32 isInitialCall) {
|
|||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/partner/goombario", func_80238BCC_6F1CAC);
|
INCLUDE_ASM(s32, "battle/partner/goombario", func_80238BCC_6F1CAC);
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/partner/goombario", func_80238E04_6F1EE4);
|
ApiStatus func_80238E04_6F1EE4(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
D_8023CDA0 = playFX_6C(0, 206, 144, 0, 1.0f, 0);
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/partner/goombario", func_80238E48_6F1F28);
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/partner/goombario", func_80238E74_6F1F54);
|
ApiStatus func_80238E48_6F1F28(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
EffectInstance* effect = D_8023CDA0;
|
||||||
|
|
||||||
|
effect->data->pos.y = 144.0f;
|
||||||
|
effect->flags |= 0x10;
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
|
ApiStatus func_80238E74_6F1F54(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
BattleStatus* battleStatus = &gBattleStatus;
|
||||||
|
Actor* partnerActor = battleStatus->partnerActor;
|
||||||
|
|
||||||
|
script->varTable[0] = FALSE;
|
||||||
|
|
||||||
|
switch(battleStatus->selectedMoveID) {
|
||||||
|
case 134:
|
||||||
|
if (partnerActor->isGlowing >= 99) {
|
||||||
|
script->varTable[0] = TRUE;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 135:
|
||||||
|
if (partnerActor->isGlowing >= 99) {
|
||||||
|
script->varTable[0] = TRUE;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 136:
|
||||||
|
if (partnerActor->isGlowing >= 99) {
|
||||||
|
script->varTable[0] = TRUE;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/partner/goombario", func_80238EDC_6F1FBC);
|
INCLUDE_ASM(s32, "battle/partner/goombario", func_80238EDC_6F1FBC);
|
||||||
|
|
||||||
@ -161,7 +214,17 @@ ApiStatus N(IsGlowing)(ScriptInstance* script, s32 isInitialCall) {
|
|||||||
return ApiStatus_DONE2;
|
return ApiStatus_DONE2;
|
||||||
}
|
}
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/partner/goombario", func_802390C8_6F21A8);
|
ApiStatus func_802390C8_6F21A8(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++);
|
||||||
|
f32 var4 = get_float_variable(script, *args++);
|
||||||
|
|
||||||
|
playFX_6B(6, var1, var2, var3, var4, 45);
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
ApiStatus N(func_80239190_6F2270)(ScriptInstance* script, s32 isInitialCall) {
|
ApiStatus N(func_80239190_6F2270)(ScriptInstance* script, s32 isInitialCall) {
|
||||||
if (D_8023CDA4 == 0) {
|
if (D_8023CDA4 == 0) {
|
||||||
|
@ -9,7 +9,7 @@ extern s32 D_8023C1C4;
|
|||||||
extern s32 D_8023C1C8;
|
extern s32 D_8023C1C8;
|
||||||
extern EffectInstance* D_8023C1CC;
|
extern EffectInstance* D_8023C1CC;
|
||||||
extern EffectInstance* D_8023C1D0;
|
extern EffectInstance* D_8023C1D0;
|
||||||
extern s32* D_80239A0C_7054FC;
|
extern EffectInstance* D_80239A0C_7054FC;
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/partner/watt", func_80238000_703AF0);
|
INCLUDE_ASM(s32, "battle/partner/watt", func_80238000_703AF0);
|
||||||
|
|
||||||
@ -54,7 +54,16 @@ ApiStatus func_80238408_703EF8(ScriptInstance* script, s32 isInitialCall) {
|
|||||||
|
|
||||||
#include "common/SetBackgroundAlpha.inc.c"
|
#include "common/SetBackgroundAlpha.inc.c"
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/partner/watt", func_802384B0_703FA0);
|
ApiStatus func_802384B0_703FA0(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++);
|
||||||
|
|
||||||
|
D_80239A0C_7054FC = playFX_33(8, var1, var2, var3, 1.3f, 55);
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
ApiStatus func_80238570_704060(ScriptInstance* script, s32 isInitialCall) {
|
ApiStatus func_80238570_704060(ScriptInstance* script, s32 isInitialCall) {
|
||||||
s32* var = D_80239A0C_7054FC;
|
s32* var = D_80239A0C_7054FC;
|
||||||
@ -67,7 +76,21 @@ ApiStatus func_80238570_704060(ScriptInstance* script, s32 isInitialCall) {
|
|||||||
return ApiStatus_DONE2;
|
return ApiStatus_DONE2;
|
||||||
}
|
}
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/partner/watt", func_8023859C_70408C);
|
// Beware this demon because "EffectInstanceDataThing" is one hell of a
|
||||||
|
// janky solution, but this does match.
|
||||||
|
ApiStatus func_8023859C_70408C(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++);
|
||||||
|
EffectInstanceDataThing* dataThing;
|
||||||
|
|
||||||
|
D_8023C1B4 = playFX_58(0, var1, var2, var3, 1.0f, 10);
|
||||||
|
dataThing = D_8023C1B4->data;
|
||||||
|
dataThing->unk_30 = 3;
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
||||||
|
|
||||||
INCLUDE_ASM(s32, "battle/partner/watt", func_80238668_704158);
|
INCLUDE_ASM(s32, "battle/partner/watt", func_80238668_704158);
|
||||||
|
|
||||||
|
10
src/common/GetBootsHammerLevel.inc.c
Normal file
10
src/common/GetBootsHammerLevel.inc.c
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#include "common.h"
|
||||||
|
|
||||||
|
ApiStatus N(GetBootsHammerLevel)(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
Bytecode* args = script->ptrReadPos;
|
||||||
|
|
||||||
|
set_variable(script, *args++, gPlayerData.bootsLevel);
|
||||||
|
set_variable(script, *args++, gPlayerData.hammerLevel);
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
10
src/common/GetJumpHammerCharge.inc.c
Normal file
10
src/common/GetJumpHammerCharge.inc.c
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#include "common.h"
|
||||||
|
|
||||||
|
ApiStatus N(GetJumpHammerCharge)(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
Bytecode* args = script->ptrReadPos;
|
||||||
|
|
||||||
|
set_variable(script, *args++, gBattleStatus.jumpCharge);
|
||||||
|
set_variable(script, *args++, gBattleStatus.hammerCharge);
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
11
src/common/GetModelPos.inc.c
Normal file
11
src/common/GetModelPos.inc.c
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#include "common.h"
|
||||||
|
|
||||||
|
ApiStatus N(GetModelPos)(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
Model* model = get_model_from_list_index(get_model_list_index_from_tree_index(script->varTable[10]));
|
||||||
|
|
||||||
|
script->varTable[11] = (s32) model->center.x;
|
||||||
|
script->varTable[12] = (s32) model->center.y;
|
||||||
|
script->varTable[13] = (s32) model->center.z;
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
15
src/common/UnkBattleFunc5.inc.c
Normal file
15
src/common/UnkBattleFunc5.inc.c
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#include "common.h"
|
||||||
|
|
||||||
|
ApiStatus N(UnkBattleFunc5)(ScriptInstance* script, s32 isInitialCall) {
|
||||||
|
Bytecode* args = script->ptrReadPos;
|
||||||
|
s32 actorID = get_variable(script, *args++);
|
||||||
|
s32 partID = get_variable(script, *args++);
|
||||||
|
|
||||||
|
if (actorID == ACTOR_SELF) {
|
||||||
|
actorID = script->owner1.actorID;
|
||||||
|
}
|
||||||
|
|
||||||
|
set_variable(script, *args++, lookup_defense(get_actor_part(get_actor(actorID), partID)->defenseTable, 1));
|
||||||
|
|
||||||
|
return ApiStatus_DONE2;
|
||||||
|
}
|
@ -191,7 +191,7 @@ s32 playFX_65(s32, f32, f32, f32, f32, s32); // extern
|
|||||||
s32 playFX_66(s32, f32, f32, f32, f32, s32); // extern
|
s32 playFX_66(s32, f32, f32, f32, f32, s32); // extern
|
||||||
s32 playFX_67(s32, f32, f32, f32, f32, s32); // extern
|
s32 playFX_67(s32, f32, f32, f32, f32, s32); // extern
|
||||||
s32 playFX_68(s32, f32, f32, f32, f32, s32); // extern
|
s32 playFX_68(s32, f32, f32, f32, f32, s32); // extern
|
||||||
s32 playFX_6C(s32, f32, f32, f32, f32, s32); // extern
|
//s32 playFX_6C(s32, f32, f32, f32, f32, s32); // extern
|
||||||
s32 playFX_6D(s32, f32, f32, f32, f32, s32); // extern
|
s32 playFX_6D(s32, f32, f32, f32, f32, s32); // extern
|
||||||
s32 playFX_6E(s32, f32, f32, f32, f32, f32, f32, s32); // extern
|
s32 playFX_6E(s32, f32, f32, f32, f32, f32, f32, s32); // extern
|
||||||
s32 playFX_70(s32, f32, f32, f32, f32, f32, f32, s32, s32, f32, f32); // extern
|
s32 playFX_70(s32, f32, f32, f32, f32, f32, f32, s32, s32, f32, f32); // extern
|
||||||
@ -208,7 +208,7 @@ s32 playFX_7D(s32, f32, f32, f32, f32, s32); // extern
|
|||||||
s32 playFX_7E(s32, f32, f32, f32, f32, s32); // extern
|
s32 playFX_7E(s32, f32, f32, f32, f32, s32); // extern
|
||||||
s32 playFX_7F(s32, f32, f32, f32, f32, s32); // extern
|
s32 playFX_7F(s32, f32, f32, f32, f32, s32); // extern
|
||||||
s32 playFX_81(s32, f32, f32, f32, f32, s32); // extern
|
s32 playFX_81(s32, f32, f32, f32, f32, s32); // extern
|
||||||
s32 playFX_82(s32, f32, f32, f32, f32, s32); // extern
|
//s32 playFX_82(s32, f32, f32, f32, f32, s32); // extern
|
||||||
s32 playFX_84(s32, f32, f32, f32, f32, f32); // extern
|
s32 playFX_84(s32, f32, f32, f32, f32, f32); // extern
|
||||||
s32 playFX_85(s32, f32, f32, f32, f32, s32); // extern
|
s32 playFX_85(s32, f32, f32, f32, f32, s32); // extern
|
||||||
s32 playFX_86(s32, f32, f32, f32, f32, s32); // extern
|
s32 playFX_86(s32, f32, f32, f32, f32, s32); // extern
|
||||||
|
@ -384,7 +384,7 @@ glabel D_80228BD0_6EE990
|
|||||||
.word D_8022AC48_6F0A08, D_8022AC38_6F09F8, D_8022AC28_6F09E8, D_80228B80_6EE940, D_80228BB4_6EE974, D_8022AC20_6F09E0, D_80228BC4_6EE984, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
|
.word D_8022AC48_6F0A08, D_8022AC38_6F09F8, D_8022AC28_6F09E8, D_80228B80_6EE940, D_80228BB4_6EE974, D_8022AC20_6F09E0, D_80228BC4_6EE984, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
|
||||||
|
|
||||||
glabel D_80228C00_6EE9C0
|
glabel D_80228C00_6EE9C0
|
||||||
.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C87, 0xFE363C81, 0x00000029, 0x00000002, 0xFE363C87, 0x0000000A, 0x00000043, 0x00000001, func_80218580_6DE340, 0x00000003, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C87, 0x00000001, 0x0000000D, 0x00000002, 0xFE363C87, 0x00000E0F, 0x00000028, 0x00000002, 0xFE363C87, 0x00000E10, 0x00000013, 0x00000000, 0x00000043, 0x00000005, func_80218430_6DE1F0, 0xFE363C87, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, TranslateModel, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C87, 0xFE363C81, 0x00000029, 0x00000002, 0xFE363C87, 0x0000000A, 0x00000043, 0x00000001, b_area_dig_GetModelPos, 0x00000003, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C87, 0x00000001, 0x0000000D, 0x00000002, 0xFE363C87, 0x00000E0F, 0x00000028, 0x00000002, 0xFE363C87, 0x00000E10, 0x00000013, 0x00000000, 0x00000043, 0x00000005, func_80218430_6DE1F0, 0xFE363C87, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, TranslateModel, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||||
|
|
||||||
glabel D_80228CE0_6EEAA0
|
glabel D_80228CE0_6EEAA0
|
||||||
.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000044, 0x00000001, D_80228C00_6EE9C0, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C81, 0x00000078, 0x00000044, 0x00000001, D_80228C00_6EE9C0, 0x00000024, 0x00000002, 0xFE363C80, 0x00000005, 0x00000024, 0x00000002, 0xFE363C81, 0x000000F0, 0x00000044, 0x00000001, D_80228C00_6EE9C0, 0x00000043, 0x0000000F, PlayEffect, 0x00000082, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000044, 0x00000001, D_80228C00_6EE9C0, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C81, 0x00000078, 0x00000044, 0x00000001, D_80228C00_6EE9C0, 0x00000024, 0x00000002, 0xFE363C80, 0x00000005, 0x00000024, 0x00000002, 0xFE363C81, 0x000000F0, 0x00000044, 0x00000001, D_80228C00_6EE9C0, 0x00000043, 0x0000000F, PlayEffect, 0x00000082, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -192,7 +192,7 @@ glabel D_80223E20_6AB020
|
|||||||
.word 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000005, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000006, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000002, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x0000003C, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x00000018, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80222BA0_6A9DA0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFFFFFF81, 0xFE363C81, 0x00000029, 0x00000002, 0xFE363C80, 0x00000064, 0x0000002A, 0x00000002, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000002, func_80219CD4_6A0ED4, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C82, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C82, 0x0000001E, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000007, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000050, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000006, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000046, 0x00000001, D_802238E8_6AAAE8, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000046, 0x00000001, D_802238E8_6AAAE8, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00040000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x00000014, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x0000001E, 0x0000001C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000064, 0x00000023, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C81, 0x0000000C, 0x00000002, 0xFE363C81, 0xFE363C80, 0x00000046, 0x00000001, D_80222BA0_6A9DA0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000003, 0x00000046, 0x00000001, D_80224570_6AB770, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80224380_6AB580, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
.word 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000005, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000006, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000002, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x0000003C, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x00000018, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80222BA0_6A9DA0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFFFFFF81, 0xFE363C81, 0x00000029, 0x00000002, 0xFE363C80, 0x00000064, 0x0000002A, 0x00000002, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000002, func_80219CD4_6A0ED4, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C82, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C82, 0x0000001E, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000007, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000050, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000006, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000046, 0x00000001, D_802238E8_6AAAE8, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000046, 0x00000001, D_802238E8_6AAAE8, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00040000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x00000014, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x0000001E, 0x0000001C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000064, 0x00000023, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C81, 0x0000000C, 0x00000002, 0xFE363C81, 0xFE363C80, 0x00000046, 0x00000001, D_80222BA0_6A9DA0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000003, 0x00000046, 0x00000001, D_80224570_6AB770, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80224380_6AB580, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||||
|
|
||||||
glabel D_80224380_6AB580
|
glabel D_80224380_6AB580
|
||||||
.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000E, 0x00000002, 0xFE363C80, 0x00000003, 0x00000046, 0x00000001, D_80224570_6AB770, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000006, 0x00000043, 0x00000003, RandInt, 0x00000014, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000046, 0x00000001, D_80225DD0_6ACFD0, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_80225DD0_6ACFD0, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000043, 0x00000003, func_80219C74_6A0E74, 0xFE363C80, 0xFE363C81, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000046, 0x00000001, D_80225DD0_6ACFD0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000D, 0x00000002, 0xFE363C81, 0x00000000, 0x00000046, 0x00000001, D_80225DD0_6ACFD0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000046, 0x00000001, D_80225DD0_6ACFD0, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_80225DD0_6ACFD0, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80224570_6AB770, 0x00000002, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000E, 0x00000002, 0xFE363C80, 0x00000003, 0x00000046, 0x00000001, D_80224570_6AB770, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000006, 0x00000043, 0x00000003, RandInt, 0x00000014, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000046, 0x00000001, D_80225DD0_6ACFD0, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_80225DD0_6ACFD0, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000043, 0x00000003, dup3_b_area_kpa2_GetJumpHammerCharge, 0xFE363C80, 0xFE363C81, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000046, 0x00000001, D_80225DD0_6ACFD0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000D, 0x00000002, 0xFE363C81, 0x00000000, 0x00000046, 0x00000001, D_80225DD0_6ACFD0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000046, 0x00000001, D_80225DD0_6ACFD0, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_80225DD0_6ACFD0, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80224570_6AB770, 0x00000002, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||||
|
|
||||||
glabel D_80224570_6AB770
|
glabel D_80224570_6AB770
|
||||||
.word 0x00000043, 0x00000003, RandInt, 0x00000050, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000005, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000002, 0x00000046, 0x00000001, D_802248A4_6ABAA4, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x0000003C, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000002, 0x00000046, 0x00000001, D_80225898_6ACA98, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_802267C8_6AD9C8, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
.word 0x00000043, 0x00000003, RandInt, 0x00000050, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000005, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000002, 0x00000046, 0x00000001, D_802248A4_6ABAA4, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x0000003C, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000002, 0x00000046, 0x00000001, D_80225898_6ACA98, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_802267C8_6AD9C8, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||||
@ -297,7 +297,7 @@ glabel D_80229650_6B0850
|
|||||||
.word 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000005, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000006, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000002, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x0000005A, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000013, 0x00000000, 0x00000043, 0x00000006, ActorSpeak, 0x00130084, 0xFFFFFF81, 0x00000001, 0x00810007, 0x00810007, 0x00000046, 0x00000001, D_802284D4_6AF6D4, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFFFFFF81, 0xFE363C81, 0x00000029, 0x00000002, 0xFE363C80, 0x00000064, 0x0000002A, 0x00000002, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000002, func_8021B08C_6A228C, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C82, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C82, 0x00000019, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000007, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000006, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000046, 0x00000001, D_80229118_6B0318, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000046, 0x00000001, D_80229118_6B0318, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x0000000F, 0x0000001C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000023, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C81, 0x0000000C, 0x00000002, 0xFE363C81, 0xFE363C80, 0x00000046, 0x00000001, D_802284D4_6AF6D4, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000003, 0x00000046, 0x00000001, D_80229DC0_6B0FC0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80229BD0_6B0DD0, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
.word 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000005, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000006, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000002, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x0000005A, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000013, 0x00000000, 0x00000043, 0x00000006, ActorSpeak, 0x00130084, 0xFFFFFF81, 0x00000001, 0x00810007, 0x00810007, 0x00000046, 0x00000001, D_802284D4_6AF6D4, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFFFFFF81, 0xFE363C81, 0x00000029, 0x00000002, 0xFE363C80, 0x00000064, 0x0000002A, 0x00000002, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000002, func_8021B08C_6A228C, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C82, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C82, 0x00000019, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000007, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000006, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000046, 0x00000001, D_80229118_6B0318, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000046, 0x00000001, D_80229118_6B0318, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x0000000F, 0x0000001C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000023, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C81, 0x0000000C, 0x00000002, 0xFE363C81, 0xFE363C80, 0x00000046, 0x00000001, D_802284D4_6AF6D4, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000003, 0x00000046, 0x00000001, D_80229DC0_6B0FC0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80229BD0_6B0DD0, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||||
|
|
||||||
glabel D_80229BD0_6B0DD0
|
glabel D_80229BD0_6B0DD0
|
||||||
.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000E, 0x00000002, 0xFE363C80, 0x00000003, 0x00000046, 0x00000001, D_80229DC0_6B0FC0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000006, 0x00000043, 0x00000003, RandInt, 0x0000001E, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000046, 0x00000001, D_8022B600_6B2800, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_8022CD88_6B3F88, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000043, 0x00000003, func_8021B02C_6A222C, 0xFE363C80, 0xFE363C81, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000046, 0x00000001, D_8022B600_6B2800, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000D, 0x00000002, 0xFE363C81, 0x00000000, 0x00000046, 0x00000001, D_8022B600_6B2800, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x0000006E, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000001E, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000046, 0x00000001, D_8022B600_6B2800, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_8022CD88_6B3F88, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80229DC0_6B0FC0, 0x00000002, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000E, 0x00000002, 0xFE363C80, 0x00000003, 0x00000046, 0x00000001, D_80229DC0_6B0FC0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000006, 0x00000043, 0x00000003, RandInt, 0x0000001E, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000046, 0x00000001, D_8022B600_6B2800, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_8022CD88_6B3F88, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000043, 0x00000003, dup6_b_area_kpa2_GetJumpHammerCharge, 0xFE363C80, 0xFE363C81, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000046, 0x00000001, D_8022B600_6B2800, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000D, 0x00000002, 0xFE363C81, 0x00000000, 0x00000046, 0x00000001, D_8022B600_6B2800, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x0000006E, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000001E, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000046, 0x00000001, D_8022B600_6B2800, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_8022CD88_6B3F88, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80229DC0_6B0FC0, 0x00000002, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||||
|
|
||||||
glabel D_80229DC0_6B0FC0
|
glabel D_80229DC0_6B0FC0
|
||||||
.word 0x00000043, 0x00000003, RandInt, 0x00000050, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000005, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000002, 0x00000046, 0x00000001, D_8022A0F4_6B12F4, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x0000003C, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000002, 0x00000046, 0x00000001, D_8022B0E8_6B22E8, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_8022BFF8_6B31F8, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
.word 0x00000043, 0x00000003, RandInt, 0x00000050, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000005, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000002, 0x00000046, 0x00000001, D_8022A0F4_6B12F4, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x0000003C, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000002, 0x00000046, 0x00000001, D_8022B0E8_6B22E8, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_8022BFF8_6B31F8, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||||
@ -411,7 +411,7 @@ glabel D_8023047C_6B767C
|
|||||||
.word 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000005, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000006, 0x00000001, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFFFFFF81, 0xFE363C81, 0x00000029, 0x00000002, 0xFE363C80, 0x00000064, 0x0000002A, 0x00000002, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000002, func_8021C9D4_6A3BD4, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C82, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C82, 0x00000019, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000007, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000006, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000046, 0x00000001, D_8022FF44_6B7144, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000046, 0x00000001, D_8022FF44_6B7144, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x0000000F, 0x0000001C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000023, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C81, 0x0000000C, 0x00000002, 0xFE363C81, 0xFE363C80, 0x00000046, 0x00000001, D_8022F300_6B6500, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000003, 0x00000046, 0x00000001, D_80230A2C_6B7C2C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_8023083C_6B7A3C, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
.word 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000005, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000006, 0x00000001, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFFFFFF81, 0xFE363C81, 0x00000029, 0x00000002, 0xFE363C80, 0x00000064, 0x0000002A, 0x00000002, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000002, func_8021C9D4_6A3BD4, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C82, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C82, 0x00000019, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000007, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000006, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000046, 0x00000001, D_8022FF44_6B7144, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000046, 0x00000001, D_8022FF44_6B7144, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x0000000F, 0x0000001C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000023, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C81, 0x0000000C, 0x00000002, 0xFE363C81, 0xFE363C80, 0x00000046, 0x00000001, D_8022F300_6B6500, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000003, 0x00000046, 0x00000001, D_80230A2C_6B7C2C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_8023083C_6B7A3C, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||||
|
|
||||||
glabel D_8023083C_6B7A3C
|
glabel D_8023083C_6B7A3C
|
||||||
.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000E, 0x00000002, 0xFE363C80, 0x00000003, 0x00000046, 0x00000001, D_80230A2C_6B7C2C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000006, 0x00000043, 0x00000003, RandInt, 0x0000001E, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000046, 0x00000001, D_8023226C_6B946C, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_802339F4_6BABF4, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000043, 0x00000003, func_8021C974_6A3B74, 0xFE363C80, 0xFE363C81, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000046, 0x00000001, D_8023226C_6B946C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000D, 0x00000002, 0xFE363C81, 0x00000000, 0x00000046, 0x00000001, D_8023226C_6B946C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x0000006E, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000001E, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000046, 0x00000001, D_8023226C_6B946C, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_802339F4_6BABF4, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80230A2C_6B7C2C, 0x00000002, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000E, 0x00000002, 0xFE363C80, 0x00000003, 0x00000046, 0x00000001, D_80230A2C_6B7C2C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000006, 0x00000043, 0x00000003, RandInt, 0x0000001E, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000046, 0x00000001, D_8023226C_6B946C, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_802339F4_6BABF4, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000043, 0x00000003, b_area_kpa2_GetJumpHammerCharge, 0xFE363C80, 0xFE363C81, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000046, 0x00000001, D_8023226C_6B946C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000D, 0x00000002, 0xFE363C81, 0x00000000, 0x00000046, 0x00000001, D_8023226C_6B946C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x0000006E, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000001E, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000046, 0x00000001, D_8023226C_6B946C, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_802339F4_6BABF4, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80230A2C_6B7C2C, 0x00000002, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||||
|
|
||||||
glabel D_80230A2C_6B7C2C
|
glabel D_80230A2C_6B7C2C
|
||||||
.word 0x00000043, 0x00000003, RandInt, 0x00000050, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000005, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000002, 0x00000046, 0x00000001, D_80230D60_6B7F60, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x0000003C, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000002, 0x00000046, 0x00000001, D_80231D54_6B8F54, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80232C64_6B9E64, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
.word 0x00000043, 0x00000003, RandInt, 0x00000050, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000005, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000002, 0x00000046, 0x00000001, D_80230D60_6B7F60, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x0000003C, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000002, 0x00000046, 0x00000001, D_80231D54_6B8F54, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80232C64_6B9E64, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,28 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_80218580_6DE340
|
|
||||||
/* 6DE340 80218580 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
||||||
/* 6DE344 80218584 AFB00010 */ sw $s0, 0x10($sp)
|
|
||||||
/* 6DE348 80218588 0080802D */ daddu $s0, $a0, $zero
|
|
||||||
/* 6DE34C 8021858C AFBF0014 */ sw $ra, 0x14($sp)
|
|
||||||
/* 6DE350 80218590 0C046C04 */ jal get_model_list_index_from_tree_index
|
|
||||||
/* 6DE354 80218594 8E0400AC */ lw $a0, 0xac($s0)
|
|
||||||
/* 6DE358 80218598 0C046B4C */ jal get_model_from_list_index
|
|
||||||
/* 6DE35C 8021859C 0040202D */ daddu $a0, $v0, $zero
|
|
||||||
/* 6DE360 802185A0 C4400098 */ lwc1 $f0, 0x98($v0)
|
|
||||||
/* 6DE364 802185A4 4600008D */ trunc.w.s $f2, $f0
|
|
||||||
/* 6DE368 802185A8 E60200B0 */ swc1 $f2, 0xb0($s0)
|
|
||||||
/* 6DE36C 802185AC C440009C */ lwc1 $f0, 0x9c($v0)
|
|
||||||
/* 6DE370 802185B0 4600008D */ trunc.w.s $f2, $f0
|
|
||||||
/* 6DE374 802185B4 E60200B4 */ swc1 $f2, 0xb4($s0)
|
|
||||||
/* 6DE378 802185B8 C44000A0 */ lwc1 $f0, 0xa0($v0)
|
|
||||||
/* 6DE37C 802185BC 4600008D */ trunc.w.s $f2, $f0
|
|
||||||
/* 6DE380 802185C0 E60200B8 */ swc1 $f2, 0xb8($s0)
|
|
||||||
/* 6DE384 802185C4 8FBF0014 */ lw $ra, 0x14($sp)
|
|
||||||
/* 6DE388 802185C8 8FB00010 */ lw $s0, 0x10($sp)
|
|
||||||
/* 6DE38C 802185CC 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 6DE390 802185D0 03E00008 */ jr $ra
|
|
||||||
/* 6DE394 802185D4 27BD0018 */ addiu $sp, $sp, 0x18
|
|
||||||
/* 6DE398 802185D8 00000000 */ nop
|
|
||||||
/* 6DE39C 802185DC 00000000 */ nop
|
|
@ -1,28 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_80218FAC_5B245C
|
|
||||||
/* 5B245C 80218FAC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
||||||
/* 5B2460 80218FB0 AFB10014 */ sw $s1, 0x14($sp)
|
|
||||||
/* 5B2464 80218FB4 0080882D */ daddu $s1, $a0, $zero
|
|
||||||
/* 5B2468 80218FB8 AFB20018 */ sw $s2, 0x18($sp)
|
|
||||||
/* 5B246C 80218FBC 3C128011 */ lui $s2, %hi(gPlayerData)
|
|
||||||
/* 5B2470 80218FC0 2652F290 */ addiu $s2, $s2, %lo(gPlayerData)
|
|
||||||
/* 5B2474 80218FC4 AFBF001C */ sw $ra, 0x1c($sp)
|
|
||||||
/* 5B2478 80218FC8 AFB00010 */ sw $s0, 0x10($sp)
|
|
||||||
/* 5B247C 80218FCC 8E30000C */ lw $s0, 0xc($s1)
|
|
||||||
/* 5B2480 80218FD0 82460000 */ lb $a2, ($s2)
|
|
||||||
/* 5B2484 80218FD4 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5B2488 80218FD8 0C0B2026 */ jal set_variable
|
|
||||||
/* 5B248C 80218FDC 26100004 */ addiu $s0, $s0, 4
|
|
||||||
/* 5B2490 80218FE0 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5B2494 80218FE4 82460001 */ lb $a2, 1($s2)
|
|
||||||
/* 5B2498 80218FE8 0C0B2026 */ jal set_variable
|
|
||||||
/* 5B249C 80218FEC 0220202D */ daddu $a0, $s1, $zero
|
|
||||||
/* 5B24A0 80218FF0 8FBF001C */ lw $ra, 0x1c($sp)
|
|
||||||
/* 5B24A4 80218FF4 8FB20018 */ lw $s2, 0x18($sp)
|
|
||||||
/* 5B24A8 80218FF8 8FB10014 */ lw $s1, 0x14($sp)
|
|
||||||
/* 5B24AC 80218FFC 8FB00010 */ lw $s0, 0x10($sp)
|
|
||||||
/* 5B24B0 80219000 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 5B24B4 80219004 03E00008 */ jr $ra
|
|
||||||
/* 5B24B8 80219008 27BD0020 */ addiu $sp, $sp, 0x20
|
|
@ -1,46 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_8021900C_5B24BC
|
|
||||||
/* 5B24BC 8021900C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
|
||||||
/* 5B24C0 80219010 AFB3001C */ sw $s3, 0x1c($sp)
|
|
||||||
/* 5B24C4 80219014 0080982D */ daddu $s3, $a0, $zero
|
|
||||||
/* 5B24C8 80219018 AFBF0020 */ sw $ra, 0x20($sp)
|
|
||||||
/* 5B24CC 8021901C AFB20018 */ sw $s2, 0x18($sp)
|
|
||||||
/* 5B24D0 80219020 AFB10014 */ sw $s1, 0x14($sp)
|
|
||||||
/* 5B24D4 80219024 AFB00010 */ sw $s0, 0x10($sp)
|
|
||||||
/* 5B24D8 80219028 8E70000C */ lw $s0, 0xc($s3)
|
|
||||||
/* 5B24DC 8021902C 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5B24E0 80219030 0C0B1EAF */ jal get_variable
|
|
||||||
/* 5B24E4 80219034 26100004 */ addiu $s0, $s0, 4
|
|
||||||
/* 5B24E8 80219038 0040882D */ daddu $s1, $v0, $zero
|
|
||||||
/* 5B24EC 8021903C 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5B24F0 80219040 26100004 */ addiu $s0, $s0, 4
|
|
||||||
/* 5B24F4 80219044 0C0B1EAF */ jal get_variable
|
|
||||||
/* 5B24F8 80219048 0260202D */ daddu $a0, $s3, $zero
|
|
||||||
/* 5B24FC 8021904C 0040902D */ daddu $s2, $v0, $zero
|
|
||||||
/* 5B2500 80219050 2402FF81 */ addiu $v0, $zero, -0x7f
|
|
||||||
/* 5B2504 80219054 16220002 */ bne $s1, $v0, .L80219060
|
|
||||||
/* 5B2508 80219058 00000000 */ nop
|
|
||||||
/* 5B250C 8021905C 8E710148 */ lw $s1, 0x148($s3)
|
|
||||||
.L80219060:
|
|
||||||
/* 5B2510 80219060 0C09A75B */ jal get_actor
|
|
||||||
/* 5B2514 80219064 0220202D */ daddu $a0, $s1, $zero
|
|
||||||
/* 5B2518 80219068 0040202D */ daddu $a0, $v0, $zero
|
|
||||||
/* 5B251C 8021906C 0C099117 */ jal get_actor_part
|
|
||||||
/* 5B2520 80219070 0240282D */ daddu $a1, $s2, $zero
|
|
||||||
/* 5B2524 80219074 8C440078 */ lw $a0, 0x78($v0)
|
|
||||||
/* 5B2528 80219078 0C099791 */ jal lookup_defense
|
|
||||||
/* 5B252C 8021907C 24050001 */ addiu $a1, $zero, 1
|
|
||||||
/* 5B2530 80219080 0260202D */ daddu $a0, $s3, $zero
|
|
||||||
/* 5B2534 80219084 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5B2538 80219088 0C0B2026 */ jal set_variable
|
|
||||||
/* 5B253C 8021908C 0040302D */ daddu $a2, $v0, $zero
|
|
||||||
/* 5B2540 80219090 8FBF0020 */ lw $ra, 0x20($sp)
|
|
||||||
/* 5B2544 80219094 8FB3001C */ lw $s3, 0x1c($sp)
|
|
||||||
/* 5B2548 80219098 8FB20018 */ lw $s2, 0x18($sp)
|
|
||||||
/* 5B254C 8021909C 8FB10014 */ lw $s1, 0x14($sp)
|
|
||||||
/* 5B2550 802190A0 8FB00010 */ lw $s0, 0x10($sp)
|
|
||||||
/* 5B2554 802190A4 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 5B2558 802190A8 03E00008 */ jr $ra
|
|
||||||
/* 5B255C 802190AC 27BD0028 */ addiu $sp, $sp, 0x28
|
|
@ -1,55 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_80219420_5B28D0
|
|
||||||
/* 5B28D0 80219420 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
||||||
/* 5B28D4 80219424 AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 5B28D8 80219428 0000902D */ daddu $s2, $zero, $zero
|
|
||||||
/* 5B28DC 8021942C AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 5B28E0 80219430 0240882D */ daddu $s1, $s2, $zero
|
|
||||||
/* 5B28E4 80219434 AFB30024 */ sw $s3, 0x24($sp)
|
|
||||||
/* 5B28E8 80219438 3C138009 */ lui $s3, %hi(gAreas)
|
|
||||||
/* 5B28EC 8021943C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
|
||||||
/* 5B28F0 80219440 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 5B28F4 80219444 3C108023 */ lui $s0, %hi(D_802311D8_5CA688)
|
|
||||||
/* 5B28F8 80219448 261011D8 */ addiu $s0, $s0, %lo(D_802311D8_5CA688)
|
|
||||||
/* 5B28FC 8021944C AFBF0028 */ sw $ra, 0x28($sp)
|
|
||||||
.L80219450:
|
|
||||||
/* 5B2900 80219450 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
||||||
/* 5B2904 80219454 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
|
||||||
/* 5B2908 80219458 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5B290C 8021945C 84430086 */ lh $v1, 0x86($v0)
|
|
||||||
/* 5B2910 80219460 8442008C */ lh $v0, 0x8c($v0)
|
|
||||||
/* 5B2914 80219464 00031900 */ sll $v1, $v1, 4
|
|
||||||
/* 5B2918 80219468 00731821 */ addu $v1, $v1, $s3
|
|
||||||
/* 5B291C 8021946C 8C630004 */ lw $v1, 4($v1)
|
|
||||||
/* 5B2920 80219470 00021140 */ sll $v0, $v0, 5
|
|
||||||
/* 5B2924 80219474 00431021 */ addu $v0, $v0, $v1
|
|
||||||
/* 5B2928 80219478 0C01BB5C */ jal strcmp
|
|
||||||
/* 5B292C 8021947C 8C440000 */ lw $a0, ($v0)
|
|
||||||
/* 5B2930 80219480 14400003 */ bnez $v0, .L80219490
|
|
||||||
/* 5B2934 80219484 26310001 */ addiu $s1, $s1, 1
|
|
||||||
/* 5B2938 80219488 08086527 */ j .L8021949C
|
|
||||||
/* 5B293C 8021948C 24120001 */ addiu $s2, $zero, 1
|
|
||||||
.L80219490:
|
|
||||||
/* 5B2940 80219490 2E22000B */ sltiu $v0, $s1, 0xb
|
|
||||||
/* 5B2944 80219494 1440FFEE */ bnez $v0, .L80219450
|
|
||||||
/* 5B2948 80219498 26100004 */ addiu $s0, $s0, 4
|
|
||||||
.L8021949C:
|
|
||||||
/* 5B294C 8021949C 44800000 */ mtc1 $zero, $f0
|
|
||||||
/* 5B2950 802194A0 00000000 */ nop
|
|
||||||
/* 5B2954 802194A4 44050000 */ mfc1 $a1, $f0
|
|
||||||
/* 5B2958 802194A8 0240202D */ daddu $a0, $s2, $zero
|
|
||||||
/* 5B295C 802194AC AFA00014 */ sw $zero, 0x14($sp)
|
|
||||||
/* 5B2960 802194B0 00A0302D */ daddu $a2, $a1, $zero
|
|
||||||
/* 5B2964 802194B4 00A0382D */ daddu $a3, $a1, $zero
|
|
||||||
/* 5B2968 802194B8 0C01CA54 */ jal playFX_82
|
|
||||||
/* 5B296C 802194BC AFA50010 */ sw $a1, 0x10($sp)
|
|
||||||
/* 5B2970 802194C0 8FBF0028 */ lw $ra, 0x28($sp)
|
|
||||||
/* 5B2974 802194C4 8FB30024 */ lw $s3, 0x24($sp)
|
|
||||||
/* 5B2978 802194C8 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 5B297C 802194CC 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 5B2980 802194D0 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 5B2984 802194D4 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 5B2988 802194D8 03E00008 */ jr $ra
|
|
||||||
/* 5B298C 802194DC 27BD0030 */ addiu $sp, $sp, 0x30
|
|
@ -1,55 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_802194E0_5B2990
|
|
||||||
/* 5B2990 802194E0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
||||||
/* 5B2994 802194E4 AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 5B2998 802194E8 0000902D */ daddu $s2, $zero, $zero
|
|
||||||
/* 5B299C 802194EC AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 5B29A0 802194F0 0240882D */ daddu $s1, $s2, $zero
|
|
||||||
/* 5B29A4 802194F4 AFB30024 */ sw $s3, 0x24($sp)
|
|
||||||
/* 5B29A8 802194F8 3C138009 */ lui $s3, %hi(gAreas)
|
|
||||||
/* 5B29AC 802194FC 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
|
||||||
/* 5B29B0 80219500 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 5B29B4 80219504 3C108023 */ lui $s0, %hi(D_80231678_5CAB28)
|
|
||||||
/* 5B29B8 80219508 26101678 */ addiu $s0, $s0, %lo(D_80231678_5CAB28)
|
|
||||||
/* 5B29BC 8021950C AFBF0028 */ sw $ra, 0x28($sp)
|
|
||||||
.L80219510:
|
|
||||||
/* 5B29C0 80219510 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
||||||
/* 5B29C4 80219514 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
|
||||||
/* 5B29C8 80219518 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5B29CC 8021951C 84430086 */ lh $v1, 0x86($v0)
|
|
||||||
/* 5B29D0 80219520 8442008C */ lh $v0, 0x8c($v0)
|
|
||||||
/* 5B29D4 80219524 00031900 */ sll $v1, $v1, 4
|
|
||||||
/* 5B29D8 80219528 00731821 */ addu $v1, $v1, $s3
|
|
||||||
/* 5B29DC 8021952C 8C630004 */ lw $v1, 4($v1)
|
|
||||||
/* 5B29E0 80219530 00021140 */ sll $v0, $v0, 5
|
|
||||||
/* 5B29E4 80219534 00431021 */ addu $v0, $v0, $v1
|
|
||||||
/* 5B29E8 80219538 0C01BB5C */ jal strcmp
|
|
||||||
/* 5B29EC 8021953C 8C440000 */ lw $a0, ($v0)
|
|
||||||
/* 5B29F0 80219540 14400003 */ bnez $v0, .L80219550
|
|
||||||
/* 5B29F4 80219544 26310001 */ addiu $s1, $s1, 1
|
|
||||||
/* 5B29F8 80219548 08086557 */ j .L8021955C
|
|
||||||
/* 5B29FC 8021954C 24120001 */ addiu $s2, $zero, 1
|
|
||||||
.L80219550:
|
|
||||||
/* 5B2A00 80219550 2E22000B */ sltiu $v0, $s1, 0xb
|
|
||||||
/* 5B2A04 80219554 1440FFEE */ bnez $v0, .L80219510
|
|
||||||
/* 5B2A08 80219558 26100004 */ addiu $s0, $s0, 4
|
|
||||||
.L8021955C:
|
|
||||||
/* 5B2A0C 8021955C 44800000 */ mtc1 $zero, $f0
|
|
||||||
/* 5B2A10 80219560 00000000 */ nop
|
|
||||||
/* 5B2A14 80219564 44050000 */ mfc1 $a1, $f0
|
|
||||||
/* 5B2A18 80219568 0240202D */ daddu $a0, $s2, $zero
|
|
||||||
/* 5B2A1C 8021956C AFA00014 */ sw $zero, 0x14($sp)
|
|
||||||
/* 5B2A20 80219570 00A0302D */ daddu $a2, $a1, $zero
|
|
||||||
/* 5B2A24 80219574 00A0382D */ daddu $a3, $a1, $zero
|
|
||||||
/* 5B2A28 80219578 0C01CA54 */ jal playFX_82
|
|
||||||
/* 5B2A2C 8021957C AFA50010 */ sw $a1, 0x10($sp)
|
|
||||||
/* 5B2A30 80219580 8FBF0028 */ lw $ra, 0x28($sp)
|
|
||||||
/* 5B2A34 80219584 8FB30024 */ lw $s3, 0x24($sp)
|
|
||||||
/* 5B2A38 80219588 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 5B2A3C 8021958C 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 5B2A40 80219590 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 5B2A44 80219594 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 5B2A48 80219598 03E00008 */ jr $ra
|
|
||||||
/* 5B2A4C 8021959C 27BD0030 */ addiu $sp, $sp, 0x30
|
|
@ -1,55 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_802195A0_5B2A50
|
|
||||||
/* 5B2A50 802195A0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
||||||
/* 5B2A54 802195A4 AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 5B2A58 802195A8 0000902D */ daddu $s2, $zero, $zero
|
|
||||||
/* 5B2A5C 802195AC AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 5B2A60 802195B0 0240882D */ daddu $s1, $s2, $zero
|
|
||||||
/* 5B2A64 802195B4 AFB30024 */ sw $s3, 0x24($sp)
|
|
||||||
/* 5B2A68 802195B8 3C138009 */ lui $s3, %hi(gAreas)
|
|
||||||
/* 5B2A6C 802195BC 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
|
||||||
/* 5B2A70 802195C0 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 5B2A74 802195C4 3C108023 */ lui $s0, %hi(D_80231B08_5CAFB8)
|
|
||||||
/* 5B2A78 802195C8 26101B08 */ addiu $s0, $s0, %lo(D_80231B08_5CAFB8)
|
|
||||||
/* 5B2A7C 802195CC AFBF0028 */ sw $ra, 0x28($sp)
|
|
||||||
.L802195D0:
|
|
||||||
/* 5B2A80 802195D0 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
||||||
/* 5B2A84 802195D4 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
|
||||||
/* 5B2A88 802195D8 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5B2A8C 802195DC 84430086 */ lh $v1, 0x86($v0)
|
|
||||||
/* 5B2A90 802195E0 8442008C */ lh $v0, 0x8c($v0)
|
|
||||||
/* 5B2A94 802195E4 00031900 */ sll $v1, $v1, 4
|
|
||||||
/* 5B2A98 802195E8 00731821 */ addu $v1, $v1, $s3
|
|
||||||
/* 5B2A9C 802195EC 8C630004 */ lw $v1, 4($v1)
|
|
||||||
/* 5B2AA0 802195F0 00021140 */ sll $v0, $v0, 5
|
|
||||||
/* 5B2AA4 802195F4 00431021 */ addu $v0, $v0, $v1
|
|
||||||
/* 5B2AA8 802195F8 0C01BB5C */ jal strcmp
|
|
||||||
/* 5B2AAC 802195FC 8C440000 */ lw $a0, ($v0)
|
|
||||||
/* 5B2AB0 80219600 14400003 */ bnez $v0, .L80219610
|
|
||||||
/* 5B2AB4 80219604 26310001 */ addiu $s1, $s1, 1
|
|
||||||
/* 5B2AB8 80219608 08086587 */ j .L8021961C
|
|
||||||
/* 5B2ABC 8021960C 24120001 */ addiu $s2, $zero, 1
|
|
||||||
.L80219610:
|
|
||||||
/* 5B2AC0 80219610 2E22000B */ sltiu $v0, $s1, 0xb
|
|
||||||
/* 5B2AC4 80219614 1440FFEE */ bnez $v0, .L802195D0
|
|
||||||
/* 5B2AC8 80219618 26100004 */ addiu $s0, $s0, 4
|
|
||||||
.L8021961C:
|
|
||||||
/* 5B2ACC 8021961C 44800000 */ mtc1 $zero, $f0
|
|
||||||
/* 5B2AD0 80219620 00000000 */ nop
|
|
||||||
/* 5B2AD4 80219624 44050000 */ mfc1 $a1, $f0
|
|
||||||
/* 5B2AD8 80219628 0240202D */ daddu $a0, $s2, $zero
|
|
||||||
/* 5B2ADC 8021962C AFA00014 */ sw $zero, 0x14($sp)
|
|
||||||
/* 5B2AE0 80219630 00A0302D */ daddu $a2, $a1, $zero
|
|
||||||
/* 5B2AE4 80219634 00A0382D */ daddu $a3, $a1, $zero
|
|
||||||
/* 5B2AE8 80219638 0C01CA54 */ jal playFX_82
|
|
||||||
/* 5B2AEC 8021963C AFA50010 */ sw $a1, 0x10($sp)
|
|
||||||
/* 5B2AF0 80219640 8FBF0028 */ lw $ra, 0x28($sp)
|
|
||||||
/* 5B2AF4 80219644 8FB30024 */ lw $s3, 0x24($sp)
|
|
||||||
/* 5B2AF8 80219648 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 5B2AFC 8021964C 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 5B2B00 80219650 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 5B2B04 80219654 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 5B2B08 80219658 03E00008 */ jr $ra
|
|
||||||
/* 5B2B0C 8021965C 27BD0030 */ addiu $sp, $sp, 0x30
|
|
@ -1,55 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_80219660_5B2B10
|
|
||||||
/* 5B2B10 80219660 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
||||||
/* 5B2B14 80219664 AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 5B2B18 80219668 0000902D */ daddu $s2, $zero, $zero
|
|
||||||
/* 5B2B1C 8021966C AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 5B2B20 80219670 0240882D */ daddu $s1, $s2, $zero
|
|
||||||
/* 5B2B24 80219674 AFB30024 */ sw $s3, 0x24($sp)
|
|
||||||
/* 5B2B28 80219678 3C138009 */ lui $s3, %hi(gAreas)
|
|
||||||
/* 5B2B2C 8021967C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
|
||||||
/* 5B2B30 80219680 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 5B2B34 80219684 3C108023 */ lui $s0, %hi(D_80231FA8_5CB458)
|
|
||||||
/* 5B2B38 80219688 26101FA8 */ addiu $s0, $s0, %lo(D_80231FA8_5CB458)
|
|
||||||
/* 5B2B3C 8021968C AFBF0028 */ sw $ra, 0x28($sp)
|
|
||||||
.L80219690:
|
|
||||||
/* 5B2B40 80219690 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
||||||
/* 5B2B44 80219694 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
|
||||||
/* 5B2B48 80219698 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5B2B4C 8021969C 84430086 */ lh $v1, 0x86($v0)
|
|
||||||
/* 5B2B50 802196A0 8442008C */ lh $v0, 0x8c($v0)
|
|
||||||
/* 5B2B54 802196A4 00031900 */ sll $v1, $v1, 4
|
|
||||||
/* 5B2B58 802196A8 00731821 */ addu $v1, $v1, $s3
|
|
||||||
/* 5B2B5C 802196AC 8C630004 */ lw $v1, 4($v1)
|
|
||||||
/* 5B2B60 802196B0 00021140 */ sll $v0, $v0, 5
|
|
||||||
/* 5B2B64 802196B4 00431021 */ addu $v0, $v0, $v1
|
|
||||||
/* 5B2B68 802196B8 0C01BB5C */ jal strcmp
|
|
||||||
/* 5B2B6C 802196BC 8C440000 */ lw $a0, ($v0)
|
|
||||||
/* 5B2B70 802196C0 14400003 */ bnez $v0, .L802196D0
|
|
||||||
/* 5B2B74 802196C4 26310001 */ addiu $s1, $s1, 1
|
|
||||||
/* 5B2B78 802196C8 080865B7 */ j .L802196DC
|
|
||||||
/* 5B2B7C 802196CC 24120001 */ addiu $s2, $zero, 1
|
|
||||||
.L802196D0:
|
|
||||||
/* 5B2B80 802196D0 2E22000B */ sltiu $v0, $s1, 0xb
|
|
||||||
/* 5B2B84 802196D4 1440FFEE */ bnez $v0, .L80219690
|
|
||||||
/* 5B2B88 802196D8 26100004 */ addiu $s0, $s0, 4
|
|
||||||
.L802196DC:
|
|
||||||
/* 5B2B8C 802196DC 44800000 */ mtc1 $zero, $f0
|
|
||||||
/* 5B2B90 802196E0 00000000 */ nop
|
|
||||||
/* 5B2B94 802196E4 44050000 */ mfc1 $a1, $f0
|
|
||||||
/* 5B2B98 802196E8 0240202D */ daddu $a0, $s2, $zero
|
|
||||||
/* 5B2B9C 802196EC AFA00014 */ sw $zero, 0x14($sp)
|
|
||||||
/* 5B2BA0 802196F0 00A0302D */ daddu $a2, $a1, $zero
|
|
||||||
/* 5B2BA4 802196F4 00A0382D */ daddu $a3, $a1, $zero
|
|
||||||
/* 5B2BA8 802196F8 0C01CA54 */ jal playFX_82
|
|
||||||
/* 5B2BAC 802196FC AFA50010 */ sw $a1, 0x10($sp)
|
|
||||||
/* 5B2BB0 80219700 8FBF0028 */ lw $ra, 0x28($sp)
|
|
||||||
/* 5B2BB4 80219704 8FB30024 */ lw $s3, 0x24($sp)
|
|
||||||
/* 5B2BB8 80219708 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 5B2BBC 8021970C 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 5B2BC0 80219710 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 5B2BC4 80219714 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 5B2BC8 80219718 03E00008 */ jr $ra
|
|
||||||
/* 5B2BCC 8021971C 27BD0030 */ addiu $sp, $sp, 0x30
|
|
@ -1,55 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_80219720_5B2BD0
|
|
||||||
/* 5B2BD0 80219720 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
||||||
/* 5B2BD4 80219724 AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 5B2BD8 80219728 0000902D */ daddu $s2, $zero, $zero
|
|
||||||
/* 5B2BDC 8021972C AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 5B2BE0 80219730 0240882D */ daddu $s1, $s2, $zero
|
|
||||||
/* 5B2BE4 80219734 AFB30024 */ sw $s3, 0x24($sp)
|
|
||||||
/* 5B2BE8 80219738 3C138009 */ lui $s3, %hi(gAreas)
|
|
||||||
/* 5B2BEC 8021973C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
|
||||||
/* 5B2BF0 80219740 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 5B2BF4 80219744 3C108023 */ lui $s0, %hi(D_80232428_5CB8D8)
|
|
||||||
/* 5B2BF8 80219748 26102428 */ addiu $s0, $s0, %lo(D_80232428_5CB8D8)
|
|
||||||
/* 5B2BFC 8021974C AFBF0028 */ sw $ra, 0x28($sp)
|
|
||||||
.L80219750:
|
|
||||||
/* 5B2C00 80219750 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
||||||
/* 5B2C04 80219754 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
|
||||||
/* 5B2C08 80219758 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5B2C0C 8021975C 84430086 */ lh $v1, 0x86($v0)
|
|
||||||
/* 5B2C10 80219760 8442008C */ lh $v0, 0x8c($v0)
|
|
||||||
/* 5B2C14 80219764 00031900 */ sll $v1, $v1, 4
|
|
||||||
/* 5B2C18 80219768 00731821 */ addu $v1, $v1, $s3
|
|
||||||
/* 5B2C1C 8021976C 8C630004 */ lw $v1, 4($v1)
|
|
||||||
/* 5B2C20 80219770 00021140 */ sll $v0, $v0, 5
|
|
||||||
/* 5B2C24 80219774 00431021 */ addu $v0, $v0, $v1
|
|
||||||
/* 5B2C28 80219778 0C01BB5C */ jal strcmp
|
|
||||||
/* 5B2C2C 8021977C 8C440000 */ lw $a0, ($v0)
|
|
||||||
/* 5B2C30 80219780 14400003 */ bnez $v0, .L80219790
|
|
||||||
/* 5B2C34 80219784 26310001 */ addiu $s1, $s1, 1
|
|
||||||
/* 5B2C38 80219788 080865E7 */ j .L8021979C
|
|
||||||
/* 5B2C3C 8021978C 24120001 */ addiu $s2, $zero, 1
|
|
||||||
.L80219790:
|
|
||||||
/* 5B2C40 80219790 2E22000B */ sltiu $v0, $s1, 0xb
|
|
||||||
/* 5B2C44 80219794 1440FFEE */ bnez $v0, .L80219750
|
|
||||||
/* 5B2C48 80219798 26100004 */ addiu $s0, $s0, 4
|
|
||||||
.L8021979C:
|
|
||||||
/* 5B2C4C 8021979C 44800000 */ mtc1 $zero, $f0
|
|
||||||
/* 5B2C50 802197A0 00000000 */ nop
|
|
||||||
/* 5B2C54 802197A4 44050000 */ mfc1 $a1, $f0
|
|
||||||
/* 5B2C58 802197A8 0240202D */ daddu $a0, $s2, $zero
|
|
||||||
/* 5B2C5C 802197AC AFA00014 */ sw $zero, 0x14($sp)
|
|
||||||
/* 5B2C60 802197B0 00A0302D */ daddu $a2, $a1, $zero
|
|
||||||
/* 5B2C64 802197B4 00A0382D */ daddu $a3, $a1, $zero
|
|
||||||
/* 5B2C68 802197B8 0C01CA54 */ jal playFX_82
|
|
||||||
/* 5B2C6C 802197BC AFA50010 */ sw $a1, 0x10($sp)
|
|
||||||
/* 5B2C70 802197C0 8FBF0028 */ lw $ra, 0x28($sp)
|
|
||||||
/* 5B2C74 802197C4 8FB30024 */ lw $s3, 0x24($sp)
|
|
||||||
/* 5B2C78 802197C8 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 5B2C7C 802197CC 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 5B2C80 802197D0 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 5B2C84 802197D4 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 5B2C88 802197D8 03E00008 */ jr $ra
|
|
||||||
/* 5B2C8C 802197DC 27BD0030 */ addiu $sp, $sp, 0x30
|
|
@ -1,55 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_802197E0_5B2C90
|
|
||||||
/* 5B2C90 802197E0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
||||||
/* 5B2C94 802197E4 AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 5B2C98 802197E8 0000902D */ daddu $s2, $zero, $zero
|
|
||||||
/* 5B2C9C 802197EC AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 5B2CA0 802197F0 0240882D */ daddu $s1, $s2, $zero
|
|
||||||
/* 5B2CA4 802197F4 AFB30024 */ sw $s3, 0x24($sp)
|
|
||||||
/* 5B2CA8 802197F8 3C138009 */ lui $s3, %hi(gAreas)
|
|
||||||
/* 5B2CAC 802197FC 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
|
||||||
/* 5B2CB0 80219800 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 5B2CB4 80219804 3C108023 */ lui $s0, %hi(D_802328D8_5CBD88)
|
|
||||||
/* 5B2CB8 80219808 261028D8 */ addiu $s0, $s0, %lo(D_802328D8_5CBD88)
|
|
||||||
/* 5B2CBC 8021980C AFBF0028 */ sw $ra, 0x28($sp)
|
|
||||||
.L80219810:
|
|
||||||
/* 5B2CC0 80219810 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
||||||
/* 5B2CC4 80219814 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
|
||||||
/* 5B2CC8 80219818 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5B2CCC 8021981C 84430086 */ lh $v1, 0x86($v0)
|
|
||||||
/* 5B2CD0 80219820 8442008C */ lh $v0, 0x8c($v0)
|
|
||||||
/* 5B2CD4 80219824 00031900 */ sll $v1, $v1, 4
|
|
||||||
/* 5B2CD8 80219828 00731821 */ addu $v1, $v1, $s3
|
|
||||||
/* 5B2CDC 8021982C 8C630004 */ lw $v1, 4($v1)
|
|
||||||
/* 5B2CE0 80219830 00021140 */ sll $v0, $v0, 5
|
|
||||||
/* 5B2CE4 80219834 00431021 */ addu $v0, $v0, $v1
|
|
||||||
/* 5B2CE8 80219838 0C01BB5C */ jal strcmp
|
|
||||||
/* 5B2CEC 8021983C 8C440000 */ lw $a0, ($v0)
|
|
||||||
/* 5B2CF0 80219840 14400003 */ bnez $v0, .L80219850
|
|
||||||
/* 5B2CF4 80219844 26310001 */ addiu $s1, $s1, 1
|
|
||||||
/* 5B2CF8 80219848 08086617 */ j .L8021985C
|
|
||||||
/* 5B2CFC 8021984C 24120001 */ addiu $s2, $zero, 1
|
|
||||||
.L80219850:
|
|
||||||
/* 5B2D00 80219850 2E22000B */ sltiu $v0, $s1, 0xb
|
|
||||||
/* 5B2D04 80219854 1440FFEE */ bnez $v0, .L80219810
|
|
||||||
/* 5B2D08 80219858 26100004 */ addiu $s0, $s0, 4
|
|
||||||
.L8021985C:
|
|
||||||
/* 5B2D0C 8021985C 44800000 */ mtc1 $zero, $f0
|
|
||||||
/* 5B2D10 80219860 00000000 */ nop
|
|
||||||
/* 5B2D14 80219864 44050000 */ mfc1 $a1, $f0
|
|
||||||
/* 5B2D18 80219868 0240202D */ daddu $a0, $s2, $zero
|
|
||||||
/* 5B2D1C 8021986C AFA00014 */ sw $zero, 0x14($sp)
|
|
||||||
/* 5B2D20 80219870 00A0302D */ daddu $a2, $a1, $zero
|
|
||||||
/* 5B2D24 80219874 00A0382D */ daddu $a3, $a1, $zero
|
|
||||||
/* 5B2D28 80219878 0C01CA54 */ jal playFX_82
|
|
||||||
/* 5B2D2C 8021987C AFA50010 */ sw $a1, 0x10($sp)
|
|
||||||
/* 5B2D30 80219880 8FBF0028 */ lw $ra, 0x28($sp)
|
|
||||||
/* 5B2D34 80219884 8FB30024 */ lw $s3, 0x24($sp)
|
|
||||||
/* 5B2D38 80219888 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 5B2D3C 8021988C 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 5B2D40 80219890 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 5B2D44 80219894 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 5B2D48 80219898 03E00008 */ jr $ra
|
|
||||||
/* 5B2D4C 8021989C 27BD0030 */ addiu $sp, $sp, 0x30
|
|
@ -1,55 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_802198A0_5B2D50
|
|
||||||
/* 5B2D50 802198A0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
||||||
/* 5B2D54 802198A4 AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 5B2D58 802198A8 0000902D */ daddu $s2, $zero, $zero
|
|
||||||
/* 5B2D5C 802198AC AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 5B2D60 802198B0 0240882D */ daddu $s1, $s2, $zero
|
|
||||||
/* 5B2D64 802198B4 AFB30024 */ sw $s3, 0x24($sp)
|
|
||||||
/* 5B2D68 802198B8 3C138009 */ lui $s3, %hi(gAreas)
|
|
||||||
/* 5B2D6C 802198BC 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
|
||||||
/* 5B2D70 802198C0 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 5B2D74 802198C4 3C108023 */ lui $s0, %hi(D_80232BE8_5CC098)
|
|
||||||
/* 5B2D78 802198C8 26102BE8 */ addiu $s0, $s0, %lo(D_80232BE8_5CC098)
|
|
||||||
/* 5B2D7C 802198CC AFBF0028 */ sw $ra, 0x28($sp)
|
|
||||||
.L802198D0:
|
|
||||||
/* 5B2D80 802198D0 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
||||||
/* 5B2D84 802198D4 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
|
||||||
/* 5B2D88 802198D8 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5B2D8C 802198DC 84430086 */ lh $v1, 0x86($v0)
|
|
||||||
/* 5B2D90 802198E0 8442008C */ lh $v0, 0x8c($v0)
|
|
||||||
/* 5B2D94 802198E4 00031900 */ sll $v1, $v1, 4
|
|
||||||
/* 5B2D98 802198E8 00731821 */ addu $v1, $v1, $s3
|
|
||||||
/* 5B2D9C 802198EC 8C630004 */ lw $v1, 4($v1)
|
|
||||||
/* 5B2DA0 802198F0 00021140 */ sll $v0, $v0, 5
|
|
||||||
/* 5B2DA4 802198F4 00431021 */ addu $v0, $v0, $v1
|
|
||||||
/* 5B2DA8 802198F8 0C01BB5C */ jal strcmp
|
|
||||||
/* 5B2DAC 802198FC 8C440000 */ lw $a0, ($v0)
|
|
||||||
/* 5B2DB0 80219900 14400003 */ bnez $v0, .L80219910
|
|
||||||
/* 5B2DB4 80219904 26310001 */ addiu $s1, $s1, 1
|
|
||||||
/* 5B2DB8 80219908 08086647 */ j .L8021991C
|
|
||||||
/* 5B2DBC 8021990C 24120001 */ addiu $s2, $zero, 1
|
|
||||||
.L80219910:
|
|
||||||
/* 5B2DC0 80219910 2E22000B */ sltiu $v0, $s1, 0xb
|
|
||||||
/* 5B2DC4 80219914 1440FFEE */ bnez $v0, .L802198D0
|
|
||||||
/* 5B2DC8 80219918 26100004 */ addiu $s0, $s0, 4
|
|
||||||
.L8021991C:
|
|
||||||
/* 5B2DCC 8021991C 44800000 */ mtc1 $zero, $f0
|
|
||||||
/* 5B2DD0 80219920 00000000 */ nop
|
|
||||||
/* 5B2DD4 80219924 44050000 */ mfc1 $a1, $f0
|
|
||||||
/* 5B2DD8 80219928 0240202D */ daddu $a0, $s2, $zero
|
|
||||||
/* 5B2DDC 8021992C AFA00014 */ sw $zero, 0x14($sp)
|
|
||||||
/* 5B2DE0 80219930 00A0302D */ daddu $a2, $a1, $zero
|
|
||||||
/* 5B2DE4 80219934 00A0382D */ daddu $a3, $a1, $zero
|
|
||||||
/* 5B2DE8 80219938 0C01CA54 */ jal playFX_82
|
|
||||||
/* 5B2DEC 8021993C AFA50010 */ sw $a1, 0x10($sp)
|
|
||||||
/* 5B2DF0 80219940 8FBF0028 */ lw $ra, 0x28($sp)
|
|
||||||
/* 5B2DF4 80219944 8FB30024 */ lw $s3, 0x24($sp)
|
|
||||||
/* 5B2DF8 80219948 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 5B2DFC 8021994C 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 5B2E00 80219950 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 5B2E04 80219954 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 5B2E08 80219958 03E00008 */ jr $ra
|
|
||||||
/* 5B2E0C 8021995C 27BD0030 */ addiu $sp, $sp, 0x30
|
|
@ -1,55 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_80219C80_5B3130
|
|
||||||
/* 5B3130 80219C80 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
||||||
/* 5B3134 80219C84 AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 5B3138 80219C88 0000902D */ daddu $s2, $zero, $zero
|
|
||||||
/* 5B313C 80219C8C AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 5B3140 80219C90 0240882D */ daddu $s1, $s2, $zero
|
|
||||||
/* 5B3144 80219C94 AFB30024 */ sw $s3, 0x24($sp)
|
|
||||||
/* 5B3148 80219C98 3C138009 */ lui $s3, %hi(gAreas)
|
|
||||||
/* 5B314C 80219C9C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
|
||||||
/* 5B3150 80219CA0 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 5B3154 80219CA4 3C108023 */ lui $s0, %hi(D_80233564_5CCA14)
|
|
||||||
/* 5B3158 80219CA8 26103564 */ addiu $s0, $s0, %lo(D_80233564_5CCA14)
|
|
||||||
/* 5B315C 80219CAC AFBF0028 */ sw $ra, 0x28($sp)
|
|
||||||
.L80219CB0:
|
|
||||||
/* 5B3160 80219CB0 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
||||||
/* 5B3164 80219CB4 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
|
||||||
/* 5B3168 80219CB8 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5B316C 80219CBC 84430086 */ lh $v1, 0x86($v0)
|
|
||||||
/* 5B3170 80219CC0 8442008C */ lh $v0, 0x8c($v0)
|
|
||||||
/* 5B3174 80219CC4 00031900 */ sll $v1, $v1, 4
|
|
||||||
/* 5B3178 80219CC8 00731821 */ addu $v1, $v1, $s3
|
|
||||||
/* 5B317C 80219CCC 8C630004 */ lw $v1, 4($v1)
|
|
||||||
/* 5B3180 80219CD0 00021140 */ sll $v0, $v0, 5
|
|
||||||
/* 5B3184 80219CD4 00431021 */ addu $v0, $v0, $v1
|
|
||||||
/* 5B3188 80219CD8 0C01BB5C */ jal strcmp
|
|
||||||
/* 5B318C 80219CDC 8C440000 */ lw $a0, ($v0)
|
|
||||||
/* 5B3190 80219CE0 14400003 */ bnez $v0, .L80219CF0
|
|
||||||
/* 5B3194 80219CE4 26310001 */ addiu $s1, $s1, 1
|
|
||||||
/* 5B3198 80219CE8 0808673F */ j .L80219CFC
|
|
||||||
/* 5B319C 80219CEC 24120001 */ addiu $s2, $zero, 1
|
|
||||||
.L80219CF0:
|
|
||||||
/* 5B31A0 80219CF0 2E22000B */ sltiu $v0, $s1, 0xb
|
|
||||||
/* 5B31A4 80219CF4 1440FFEE */ bnez $v0, .L80219CB0
|
|
||||||
/* 5B31A8 80219CF8 26100004 */ addiu $s0, $s0, 4
|
|
||||||
.L80219CFC:
|
|
||||||
/* 5B31AC 80219CFC 44800000 */ mtc1 $zero, $f0
|
|
||||||
/* 5B31B0 80219D00 00000000 */ nop
|
|
||||||
/* 5B31B4 80219D04 44050000 */ mfc1 $a1, $f0
|
|
||||||
/* 5B31B8 80219D08 0240202D */ daddu $a0, $s2, $zero
|
|
||||||
/* 5B31BC 80219D0C AFA00014 */ sw $zero, 0x14($sp)
|
|
||||||
/* 5B31C0 80219D10 00A0302D */ daddu $a2, $a1, $zero
|
|
||||||
/* 5B31C4 80219D14 00A0382D */ daddu $a3, $a1, $zero
|
|
||||||
/* 5B31C8 80219D18 0C01CA54 */ jal playFX_82
|
|
||||||
/* 5B31CC 80219D1C AFA50010 */ sw $a1, 0x10($sp)
|
|
||||||
/* 5B31D0 80219D20 8FBF0028 */ lw $ra, 0x28($sp)
|
|
||||||
/* 5B31D4 80219D24 8FB30024 */ lw $s3, 0x24($sp)
|
|
||||||
/* 5B31D8 80219D28 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 5B31DC 80219D2C 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 5B31E0 80219D30 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 5B31E4 80219D34 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 5B31E8 80219D38 03E00008 */ jr $ra
|
|
||||||
/* 5B31EC 80219D3C 27BD0030 */ addiu $sp, $sp, 0x30
|
|
@ -1,55 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_80219D40_5B31F0
|
|
||||||
/* 5B31F0 80219D40 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
||||||
/* 5B31F4 80219D44 AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 5B31F8 80219D48 0000902D */ daddu $s2, $zero, $zero
|
|
||||||
/* 5B31FC 80219D4C AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 5B3200 80219D50 0240882D */ daddu $s1, $s2, $zero
|
|
||||||
/* 5B3204 80219D54 AFB30024 */ sw $s3, 0x24($sp)
|
|
||||||
/* 5B3208 80219D58 3C138009 */ lui $s3, %hi(gAreas)
|
|
||||||
/* 5B320C 80219D5C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
|
||||||
/* 5B3210 80219D60 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 5B3214 80219D64 3C108023 */ lui $s0, %hi(D_80233870_5CCD20)
|
|
||||||
/* 5B3218 80219D68 26103870 */ addiu $s0, $s0, %lo(D_80233870_5CCD20)
|
|
||||||
/* 5B321C 80219D6C AFBF0028 */ sw $ra, 0x28($sp)
|
|
||||||
.L80219D70:
|
|
||||||
/* 5B3220 80219D70 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
||||||
/* 5B3224 80219D74 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
|
||||||
/* 5B3228 80219D78 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5B322C 80219D7C 84430086 */ lh $v1, 0x86($v0)
|
|
||||||
/* 5B3230 80219D80 8442008C */ lh $v0, 0x8c($v0)
|
|
||||||
/* 5B3234 80219D84 00031900 */ sll $v1, $v1, 4
|
|
||||||
/* 5B3238 80219D88 00731821 */ addu $v1, $v1, $s3
|
|
||||||
/* 5B323C 80219D8C 8C630004 */ lw $v1, 4($v1)
|
|
||||||
/* 5B3240 80219D90 00021140 */ sll $v0, $v0, 5
|
|
||||||
/* 5B3244 80219D94 00431021 */ addu $v0, $v0, $v1
|
|
||||||
/* 5B3248 80219D98 0C01BB5C */ jal strcmp
|
|
||||||
/* 5B324C 80219D9C 8C440000 */ lw $a0, ($v0)
|
|
||||||
/* 5B3250 80219DA0 14400003 */ bnez $v0, .L80219DB0
|
|
||||||
/* 5B3254 80219DA4 26310001 */ addiu $s1, $s1, 1
|
|
||||||
/* 5B3258 80219DA8 0808676F */ j .L80219DBC
|
|
||||||
/* 5B325C 80219DAC 24120001 */ addiu $s2, $zero, 1
|
|
||||||
.L80219DB0:
|
|
||||||
/* 5B3260 80219DB0 2E22000B */ sltiu $v0, $s1, 0xb
|
|
||||||
/* 5B3264 80219DB4 1440FFEE */ bnez $v0, .L80219D70
|
|
||||||
/* 5B3268 80219DB8 26100004 */ addiu $s0, $s0, 4
|
|
||||||
.L80219DBC:
|
|
||||||
/* 5B326C 80219DBC 44800000 */ mtc1 $zero, $f0
|
|
||||||
/* 5B3270 80219DC0 00000000 */ nop
|
|
||||||
/* 5B3274 80219DC4 44050000 */ mfc1 $a1, $f0
|
|
||||||
/* 5B3278 80219DC8 0240202D */ daddu $a0, $s2, $zero
|
|
||||||
/* 5B327C 80219DCC AFA00014 */ sw $zero, 0x14($sp)
|
|
||||||
/* 5B3280 80219DD0 00A0302D */ daddu $a2, $a1, $zero
|
|
||||||
/* 5B3284 80219DD4 00A0382D */ daddu $a3, $a1, $zero
|
|
||||||
/* 5B3288 80219DD8 0C01CA54 */ jal playFX_82
|
|
||||||
/* 5B328C 80219DDC AFA50010 */ sw $a1, 0x10($sp)
|
|
||||||
/* 5B3290 80219DE0 8FBF0028 */ lw $ra, 0x28($sp)
|
|
||||||
/* 5B3294 80219DE4 8FB30024 */ lw $s3, 0x24($sp)
|
|
||||||
/* 5B3298 80219DE8 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 5B329C 80219DEC 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 5B32A0 80219DF0 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 5B32A4 80219DF4 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 5B32A8 80219DF8 03E00008 */ jr $ra
|
|
||||||
/* 5B32AC 80219DFC 27BD0030 */ addiu $sp, $sp, 0x30
|
|
@ -1,55 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_80219E00_5B32B0
|
|
||||||
/* 5B32B0 80219E00 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
||||||
/* 5B32B4 80219E04 AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 5B32B8 80219E08 0000902D */ daddu $s2, $zero, $zero
|
|
||||||
/* 5B32BC 80219E0C AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 5B32C0 80219E10 0240882D */ daddu $s1, $s2, $zero
|
|
||||||
/* 5B32C4 80219E14 AFB30024 */ sw $s3, 0x24($sp)
|
|
||||||
/* 5B32C8 80219E18 3C138009 */ lui $s3, %hi(gAreas)
|
|
||||||
/* 5B32CC 80219E1C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
|
||||||
/* 5B32D0 80219E20 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 5B32D4 80219E24 3C108023 */ lui $s0, %hi(D_80233950_5CCE00)
|
|
||||||
/* 5B32D8 80219E28 26103950 */ addiu $s0, $s0, %lo(D_80233950_5CCE00)
|
|
||||||
/* 5B32DC 80219E2C AFBF0028 */ sw $ra, 0x28($sp)
|
|
||||||
.L80219E30:
|
|
||||||
/* 5B32E0 80219E30 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
||||||
/* 5B32E4 80219E34 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
|
||||||
/* 5B32E8 80219E38 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5B32EC 80219E3C 84430086 */ lh $v1, 0x86($v0)
|
|
||||||
/* 5B32F0 80219E40 8442008C */ lh $v0, 0x8c($v0)
|
|
||||||
/* 5B32F4 80219E44 00031900 */ sll $v1, $v1, 4
|
|
||||||
/* 5B32F8 80219E48 00731821 */ addu $v1, $v1, $s3
|
|
||||||
/* 5B32FC 80219E4C 8C630004 */ lw $v1, 4($v1)
|
|
||||||
/* 5B3300 80219E50 00021140 */ sll $v0, $v0, 5
|
|
||||||
/* 5B3304 80219E54 00431021 */ addu $v0, $v0, $v1
|
|
||||||
/* 5B3308 80219E58 0C01BB5C */ jal strcmp
|
|
||||||
/* 5B330C 80219E5C 8C440000 */ lw $a0, ($v0)
|
|
||||||
/* 5B3310 80219E60 14400003 */ bnez $v0, .L80219E70
|
|
||||||
/* 5B3314 80219E64 26310001 */ addiu $s1, $s1, 1
|
|
||||||
/* 5B3318 80219E68 0808679F */ j .L80219E7C
|
|
||||||
/* 5B331C 80219E6C 24120001 */ addiu $s2, $zero, 1
|
|
||||||
.L80219E70:
|
|
||||||
/* 5B3320 80219E70 2E22000B */ sltiu $v0, $s1, 0xb
|
|
||||||
/* 5B3324 80219E74 1440FFEE */ bnez $v0, .L80219E30
|
|
||||||
/* 5B3328 80219E78 26100004 */ addiu $s0, $s0, 4
|
|
||||||
.L80219E7C:
|
|
||||||
/* 5B332C 80219E7C 44800000 */ mtc1 $zero, $f0
|
|
||||||
/* 5B3330 80219E80 00000000 */ nop
|
|
||||||
/* 5B3334 80219E84 44050000 */ mfc1 $a1, $f0
|
|
||||||
/* 5B3338 80219E88 0240202D */ daddu $a0, $s2, $zero
|
|
||||||
/* 5B333C 80219E8C AFA00014 */ sw $zero, 0x14($sp)
|
|
||||||
/* 5B3340 80219E90 00A0302D */ daddu $a2, $a1, $zero
|
|
||||||
/* 5B3344 80219E94 00A0382D */ daddu $a3, $a1, $zero
|
|
||||||
/* 5B3348 80219E98 0C01CA54 */ jal playFX_82
|
|
||||||
/* 5B334C 80219E9C AFA50010 */ sw $a1, 0x10($sp)
|
|
||||||
/* 5B3350 80219EA0 8FBF0028 */ lw $ra, 0x28($sp)
|
|
||||||
/* 5B3354 80219EA4 8FB30024 */ lw $s3, 0x24($sp)
|
|
||||||
/* 5B3358 80219EA8 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 5B335C 80219EAC 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 5B3360 80219EB0 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 5B3364 80219EB4 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 5B3368 80219EB8 03E00008 */ jr $ra
|
|
||||||
/* 5B336C 80219EBC 27BD0030 */ addiu $sp, $sp, 0x30
|
|
@ -1,55 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_80218DD0_5CF460
|
|
||||||
/* 5CF460 80218DD0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
||||||
/* 5CF464 80218DD4 AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 5CF468 80218DD8 0000902D */ daddu $s2, $zero, $zero
|
|
||||||
/* 5CF46C 80218DDC AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 5CF470 80218DE0 0240882D */ daddu $s1, $s2, $zero
|
|
||||||
/* 5CF474 80218DE4 AFB30024 */ sw $s3, 0x24($sp)
|
|
||||||
/* 5CF478 80218DE8 3C138009 */ lui $s3, %hi(gAreas)
|
|
||||||
/* 5CF47C 80218DEC 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
|
||||||
/* 5CF480 80218DF0 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 5CF484 80218DF4 3C108023 */ lui $s0, %hi(D_80232D48_5E93D8)
|
|
||||||
/* 5CF488 80218DF8 26102D48 */ addiu $s0, $s0, %lo(D_80232D48_5E93D8)
|
|
||||||
/* 5CF48C 80218DFC AFBF0028 */ sw $ra, 0x28($sp)
|
|
||||||
.L80218E00:
|
|
||||||
/* 5CF490 80218E00 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
||||||
/* 5CF494 80218E04 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
|
||||||
/* 5CF498 80218E08 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5CF49C 80218E0C 84430086 */ lh $v1, 0x86($v0)
|
|
||||||
/* 5CF4A0 80218E10 8442008C */ lh $v0, 0x8c($v0)
|
|
||||||
/* 5CF4A4 80218E14 00031900 */ sll $v1, $v1, 4
|
|
||||||
/* 5CF4A8 80218E18 00731821 */ addu $v1, $v1, $s3
|
|
||||||
/* 5CF4AC 80218E1C 8C630004 */ lw $v1, 4($v1)
|
|
||||||
/* 5CF4B0 80218E20 00021140 */ sll $v0, $v0, 5
|
|
||||||
/* 5CF4B4 80218E24 00431021 */ addu $v0, $v0, $v1
|
|
||||||
/* 5CF4B8 80218E28 0C01BB5C */ jal strcmp
|
|
||||||
/* 5CF4BC 80218E2C 8C440000 */ lw $a0, ($v0)
|
|
||||||
/* 5CF4C0 80218E30 14400003 */ bnez $v0, .L80218E40
|
|
||||||
/* 5CF4C4 80218E34 26310001 */ addiu $s1, $s1, 1
|
|
||||||
/* 5CF4C8 80218E38 08086393 */ j .L80218E4C
|
|
||||||
/* 5CF4CC 80218E3C 24120001 */ addiu $s2, $zero, 1
|
|
||||||
.L80218E40:
|
|
||||||
/* 5CF4D0 80218E40 2E22000B */ sltiu $v0, $s1, 0xb
|
|
||||||
/* 5CF4D4 80218E44 1440FFEE */ bnez $v0, .L80218E00
|
|
||||||
/* 5CF4D8 80218E48 26100004 */ addiu $s0, $s0, 4
|
|
||||||
.L80218E4C:
|
|
||||||
/* 5CF4DC 80218E4C 44800000 */ mtc1 $zero, $f0
|
|
||||||
/* 5CF4E0 80218E50 00000000 */ nop
|
|
||||||
/* 5CF4E4 80218E54 44050000 */ mfc1 $a1, $f0
|
|
||||||
/* 5CF4E8 80218E58 0240202D */ daddu $a0, $s2, $zero
|
|
||||||
/* 5CF4EC 80218E5C AFA00014 */ sw $zero, 0x14($sp)
|
|
||||||
/* 5CF4F0 80218E60 00A0302D */ daddu $a2, $a1, $zero
|
|
||||||
/* 5CF4F4 80218E64 00A0382D */ daddu $a3, $a1, $zero
|
|
||||||
/* 5CF4F8 80218E68 0C01CA54 */ jal playFX_82
|
|
||||||
/* 5CF4FC 80218E6C AFA50010 */ sw $a1, 0x10($sp)
|
|
||||||
/* 5CF500 80218E70 8FBF0028 */ lw $ra, 0x28($sp)
|
|
||||||
/* 5CF504 80218E74 8FB30024 */ lw $s3, 0x24($sp)
|
|
||||||
/* 5CF508 80218E78 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 5CF50C 80218E7C 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 5CF510 80218E80 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 5CF514 80218E84 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 5CF518 80218E88 03E00008 */ jr $ra
|
|
||||||
/* 5CF51C 80218E8C 27BD0030 */ addiu $sp, $sp, 0x30
|
|
@ -1,55 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_80218E90_5CF520
|
|
||||||
/* 5CF520 80218E90 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
||||||
/* 5CF524 80218E94 AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 5CF528 80218E98 0000902D */ daddu $s2, $zero, $zero
|
|
||||||
/* 5CF52C 80218E9C AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 5CF530 80218EA0 0240882D */ daddu $s1, $s2, $zero
|
|
||||||
/* 5CF534 80218EA4 AFB30024 */ sw $s3, 0x24($sp)
|
|
||||||
/* 5CF538 80218EA8 3C138009 */ lui $s3, %hi(gAreas)
|
|
||||||
/* 5CF53C 80218EAC 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
|
||||||
/* 5CF540 80218EB0 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 5CF544 80218EB4 3C108023 */ lui $s0, %hi(D_802331E8_5E9878)
|
|
||||||
/* 5CF548 80218EB8 261031E8 */ addiu $s0, $s0, %lo(D_802331E8_5E9878)
|
|
||||||
/* 5CF54C 80218EBC AFBF0028 */ sw $ra, 0x28($sp)
|
|
||||||
.L80218EC0:
|
|
||||||
/* 5CF550 80218EC0 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
||||||
/* 5CF554 80218EC4 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
|
||||||
/* 5CF558 80218EC8 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5CF55C 80218ECC 84430086 */ lh $v1, 0x86($v0)
|
|
||||||
/* 5CF560 80218ED0 8442008C */ lh $v0, 0x8c($v0)
|
|
||||||
/* 5CF564 80218ED4 00031900 */ sll $v1, $v1, 4
|
|
||||||
/* 5CF568 80218ED8 00731821 */ addu $v1, $v1, $s3
|
|
||||||
/* 5CF56C 80218EDC 8C630004 */ lw $v1, 4($v1)
|
|
||||||
/* 5CF570 80218EE0 00021140 */ sll $v0, $v0, 5
|
|
||||||
/* 5CF574 80218EE4 00431021 */ addu $v0, $v0, $v1
|
|
||||||
/* 5CF578 80218EE8 0C01BB5C */ jal strcmp
|
|
||||||
/* 5CF57C 80218EEC 8C440000 */ lw $a0, ($v0)
|
|
||||||
/* 5CF580 80218EF0 14400003 */ bnez $v0, .L80218F00
|
|
||||||
/* 5CF584 80218EF4 26310001 */ addiu $s1, $s1, 1
|
|
||||||
/* 5CF588 80218EF8 080863C3 */ j .L80218F0C
|
|
||||||
/* 5CF58C 80218EFC 24120001 */ addiu $s2, $zero, 1
|
|
||||||
.L80218F00:
|
|
||||||
/* 5CF590 80218F00 2E22000B */ sltiu $v0, $s1, 0xb
|
|
||||||
/* 5CF594 80218F04 1440FFEE */ bnez $v0, .L80218EC0
|
|
||||||
/* 5CF598 80218F08 26100004 */ addiu $s0, $s0, 4
|
|
||||||
.L80218F0C:
|
|
||||||
/* 5CF59C 80218F0C 44800000 */ mtc1 $zero, $f0
|
|
||||||
/* 5CF5A0 80218F10 00000000 */ nop
|
|
||||||
/* 5CF5A4 80218F14 44050000 */ mfc1 $a1, $f0
|
|
||||||
/* 5CF5A8 80218F18 0240202D */ daddu $a0, $s2, $zero
|
|
||||||
/* 5CF5AC 80218F1C AFA00014 */ sw $zero, 0x14($sp)
|
|
||||||
/* 5CF5B0 80218F20 00A0302D */ daddu $a2, $a1, $zero
|
|
||||||
/* 5CF5B4 80218F24 00A0382D */ daddu $a3, $a1, $zero
|
|
||||||
/* 5CF5B8 80218F28 0C01CA54 */ jal playFX_82
|
|
||||||
/* 5CF5BC 80218F2C AFA50010 */ sw $a1, 0x10($sp)
|
|
||||||
/* 5CF5C0 80218F30 8FBF0028 */ lw $ra, 0x28($sp)
|
|
||||||
/* 5CF5C4 80218F34 8FB30024 */ lw $s3, 0x24($sp)
|
|
||||||
/* 5CF5C8 80218F38 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 5CF5CC 80218F3C 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 5CF5D0 80218F40 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 5CF5D4 80218F44 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 5CF5D8 80218F48 03E00008 */ jr $ra
|
|
||||||
/* 5CF5DC 80218F4C 27BD0030 */ addiu $sp, $sp, 0x30
|
|
@ -1,55 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_80218F50_5CF5E0
|
|
||||||
/* 5CF5E0 80218F50 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
||||||
/* 5CF5E4 80218F54 AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 5CF5E8 80218F58 0000902D */ daddu $s2, $zero, $zero
|
|
||||||
/* 5CF5EC 80218F5C AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 5CF5F0 80218F60 0240882D */ daddu $s1, $s2, $zero
|
|
||||||
/* 5CF5F4 80218F64 AFB30024 */ sw $s3, 0x24($sp)
|
|
||||||
/* 5CF5F8 80218F68 3C138009 */ lui $s3, %hi(gAreas)
|
|
||||||
/* 5CF5FC 80218F6C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
|
||||||
/* 5CF600 80218F70 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 5CF604 80218F74 3C108023 */ lui $s0, %hi(D_80233678_5E9D08)
|
|
||||||
/* 5CF608 80218F78 26103678 */ addiu $s0, $s0, %lo(D_80233678_5E9D08)
|
|
||||||
/* 5CF60C 80218F7C AFBF0028 */ sw $ra, 0x28($sp)
|
|
||||||
.L80218F80:
|
|
||||||
/* 5CF610 80218F80 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
||||||
/* 5CF614 80218F84 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
|
||||||
/* 5CF618 80218F88 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5CF61C 80218F8C 84430086 */ lh $v1, 0x86($v0)
|
|
||||||
/* 5CF620 80218F90 8442008C */ lh $v0, 0x8c($v0)
|
|
||||||
/* 5CF624 80218F94 00031900 */ sll $v1, $v1, 4
|
|
||||||
/* 5CF628 80218F98 00731821 */ addu $v1, $v1, $s3
|
|
||||||
/* 5CF62C 80218F9C 8C630004 */ lw $v1, 4($v1)
|
|
||||||
/* 5CF630 80218FA0 00021140 */ sll $v0, $v0, 5
|
|
||||||
/* 5CF634 80218FA4 00431021 */ addu $v0, $v0, $v1
|
|
||||||
/* 5CF638 80218FA8 0C01BB5C */ jal strcmp
|
|
||||||
/* 5CF63C 80218FAC 8C440000 */ lw $a0, ($v0)
|
|
||||||
/* 5CF640 80218FB0 14400003 */ bnez $v0, .L80218FC0
|
|
||||||
/* 5CF644 80218FB4 26310001 */ addiu $s1, $s1, 1
|
|
||||||
/* 5CF648 80218FB8 080863F3 */ j .L80218FCC
|
|
||||||
/* 5CF64C 80218FBC 24120001 */ addiu $s2, $zero, 1
|
|
||||||
.L80218FC0:
|
|
||||||
/* 5CF650 80218FC0 2E22000B */ sltiu $v0, $s1, 0xb
|
|
||||||
/* 5CF654 80218FC4 1440FFEE */ bnez $v0, .L80218F80
|
|
||||||
/* 5CF658 80218FC8 26100004 */ addiu $s0, $s0, 4
|
|
||||||
.L80218FCC:
|
|
||||||
/* 5CF65C 80218FCC 44800000 */ mtc1 $zero, $f0
|
|
||||||
/* 5CF660 80218FD0 00000000 */ nop
|
|
||||||
/* 5CF664 80218FD4 44050000 */ mfc1 $a1, $f0
|
|
||||||
/* 5CF668 80218FD8 0240202D */ daddu $a0, $s2, $zero
|
|
||||||
/* 5CF66C 80218FDC AFA00014 */ sw $zero, 0x14($sp)
|
|
||||||
/* 5CF670 80218FE0 00A0302D */ daddu $a2, $a1, $zero
|
|
||||||
/* 5CF674 80218FE4 00A0382D */ daddu $a3, $a1, $zero
|
|
||||||
/* 5CF678 80218FE8 0C01CA54 */ jal playFX_82
|
|
||||||
/* 5CF67C 80218FEC AFA50010 */ sw $a1, 0x10($sp)
|
|
||||||
/* 5CF680 80218FF0 8FBF0028 */ lw $ra, 0x28($sp)
|
|
||||||
/* 5CF684 80218FF4 8FB30024 */ lw $s3, 0x24($sp)
|
|
||||||
/* 5CF688 80218FF8 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 5CF68C 80218FFC 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 5CF690 80219000 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 5CF694 80219004 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 5CF698 80219008 03E00008 */ jr $ra
|
|
||||||
/* 5CF69C 8021900C 27BD0030 */ addiu $sp, $sp, 0x30
|
|
@ -1,55 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_80219010_5CF6A0
|
|
||||||
/* 5CF6A0 80219010 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
||||||
/* 5CF6A4 80219014 AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 5CF6A8 80219018 0000902D */ daddu $s2, $zero, $zero
|
|
||||||
/* 5CF6AC 8021901C AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 5CF6B0 80219020 0240882D */ daddu $s1, $s2, $zero
|
|
||||||
/* 5CF6B4 80219024 AFB30024 */ sw $s3, 0x24($sp)
|
|
||||||
/* 5CF6B8 80219028 3C138009 */ lui $s3, %hi(gAreas)
|
|
||||||
/* 5CF6BC 8021902C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
|
||||||
/* 5CF6C0 80219030 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 5CF6C4 80219034 3C108023 */ lui $s0, %hi(D_80233B18_5EA1A8)
|
|
||||||
/* 5CF6C8 80219038 26103B18 */ addiu $s0, $s0, %lo(D_80233B18_5EA1A8)
|
|
||||||
/* 5CF6CC 8021903C AFBF0028 */ sw $ra, 0x28($sp)
|
|
||||||
.L80219040:
|
|
||||||
/* 5CF6D0 80219040 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
||||||
/* 5CF6D4 80219044 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
|
||||||
/* 5CF6D8 80219048 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5CF6DC 8021904C 84430086 */ lh $v1, 0x86($v0)
|
|
||||||
/* 5CF6E0 80219050 8442008C */ lh $v0, 0x8c($v0)
|
|
||||||
/* 5CF6E4 80219054 00031900 */ sll $v1, $v1, 4
|
|
||||||
/* 5CF6E8 80219058 00731821 */ addu $v1, $v1, $s3
|
|
||||||
/* 5CF6EC 8021905C 8C630004 */ lw $v1, 4($v1)
|
|
||||||
/* 5CF6F0 80219060 00021140 */ sll $v0, $v0, 5
|
|
||||||
/* 5CF6F4 80219064 00431021 */ addu $v0, $v0, $v1
|
|
||||||
/* 5CF6F8 80219068 0C01BB5C */ jal strcmp
|
|
||||||
/* 5CF6FC 8021906C 8C440000 */ lw $a0, ($v0)
|
|
||||||
/* 5CF700 80219070 14400003 */ bnez $v0, .L80219080
|
|
||||||
/* 5CF704 80219074 26310001 */ addiu $s1, $s1, 1
|
|
||||||
/* 5CF708 80219078 08086423 */ j .L8021908C
|
|
||||||
/* 5CF70C 8021907C 24120001 */ addiu $s2, $zero, 1
|
|
||||||
.L80219080:
|
|
||||||
/* 5CF710 80219080 2E22000B */ sltiu $v0, $s1, 0xb
|
|
||||||
/* 5CF714 80219084 1440FFEE */ bnez $v0, .L80219040
|
|
||||||
/* 5CF718 80219088 26100004 */ addiu $s0, $s0, 4
|
|
||||||
.L8021908C:
|
|
||||||
/* 5CF71C 8021908C 44800000 */ mtc1 $zero, $f0
|
|
||||||
/* 5CF720 80219090 00000000 */ nop
|
|
||||||
/* 5CF724 80219094 44050000 */ mfc1 $a1, $f0
|
|
||||||
/* 5CF728 80219098 0240202D */ daddu $a0, $s2, $zero
|
|
||||||
/* 5CF72C 8021909C AFA00014 */ sw $zero, 0x14($sp)
|
|
||||||
/* 5CF730 802190A0 00A0302D */ daddu $a2, $a1, $zero
|
|
||||||
/* 5CF734 802190A4 00A0382D */ daddu $a3, $a1, $zero
|
|
||||||
/* 5CF738 802190A8 0C01CA54 */ jal playFX_82
|
|
||||||
/* 5CF73C 802190AC AFA50010 */ sw $a1, 0x10($sp)
|
|
||||||
/* 5CF740 802190B0 8FBF0028 */ lw $ra, 0x28($sp)
|
|
||||||
/* 5CF744 802190B4 8FB30024 */ lw $s3, 0x24($sp)
|
|
||||||
/* 5CF748 802190B8 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 5CF74C 802190BC 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 5CF750 802190C0 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 5CF754 802190C4 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 5CF758 802190C8 03E00008 */ jr $ra
|
|
||||||
/* 5CF75C 802190CC 27BD0030 */ addiu $sp, $sp, 0x30
|
|
@ -1,55 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_802190D0_5CF760
|
|
||||||
/* 5CF760 802190D0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
||||||
/* 5CF764 802190D4 AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 5CF768 802190D8 0000902D */ daddu $s2, $zero, $zero
|
|
||||||
/* 5CF76C 802190DC AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 5CF770 802190E0 0240882D */ daddu $s1, $s2, $zero
|
|
||||||
/* 5CF774 802190E4 AFB30024 */ sw $s3, 0x24($sp)
|
|
||||||
/* 5CF778 802190E8 3C138009 */ lui $s3, %hi(gAreas)
|
|
||||||
/* 5CF77C 802190EC 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
|
||||||
/* 5CF780 802190F0 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 5CF784 802190F4 3C108023 */ lui $s0, %hi(D_80233F98_5EA628)
|
|
||||||
/* 5CF788 802190F8 26103F98 */ addiu $s0, $s0, %lo(D_80233F98_5EA628)
|
|
||||||
/* 5CF78C 802190FC AFBF0028 */ sw $ra, 0x28($sp)
|
|
||||||
.L80219100:
|
|
||||||
/* 5CF790 80219100 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
||||||
/* 5CF794 80219104 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
|
||||||
/* 5CF798 80219108 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5CF79C 8021910C 84430086 */ lh $v1, 0x86($v0)
|
|
||||||
/* 5CF7A0 80219110 8442008C */ lh $v0, 0x8c($v0)
|
|
||||||
/* 5CF7A4 80219114 00031900 */ sll $v1, $v1, 4
|
|
||||||
/* 5CF7A8 80219118 00731821 */ addu $v1, $v1, $s3
|
|
||||||
/* 5CF7AC 8021911C 8C630004 */ lw $v1, 4($v1)
|
|
||||||
/* 5CF7B0 80219120 00021140 */ sll $v0, $v0, 5
|
|
||||||
/* 5CF7B4 80219124 00431021 */ addu $v0, $v0, $v1
|
|
||||||
/* 5CF7B8 80219128 0C01BB5C */ jal strcmp
|
|
||||||
/* 5CF7BC 8021912C 8C440000 */ lw $a0, ($v0)
|
|
||||||
/* 5CF7C0 80219130 14400003 */ bnez $v0, .L80219140
|
|
||||||
/* 5CF7C4 80219134 26310001 */ addiu $s1, $s1, 1
|
|
||||||
/* 5CF7C8 80219138 08086453 */ j .L8021914C
|
|
||||||
/* 5CF7CC 8021913C 24120001 */ addiu $s2, $zero, 1
|
|
||||||
.L80219140:
|
|
||||||
/* 5CF7D0 80219140 2E22000B */ sltiu $v0, $s1, 0xb
|
|
||||||
/* 5CF7D4 80219144 1440FFEE */ bnez $v0, .L80219100
|
|
||||||
/* 5CF7D8 80219148 26100004 */ addiu $s0, $s0, 4
|
|
||||||
.L8021914C:
|
|
||||||
/* 5CF7DC 8021914C 44800000 */ mtc1 $zero, $f0
|
|
||||||
/* 5CF7E0 80219150 00000000 */ nop
|
|
||||||
/* 5CF7E4 80219154 44050000 */ mfc1 $a1, $f0
|
|
||||||
/* 5CF7E8 80219158 0240202D */ daddu $a0, $s2, $zero
|
|
||||||
/* 5CF7EC 8021915C AFA00014 */ sw $zero, 0x14($sp)
|
|
||||||
/* 5CF7F0 80219160 00A0302D */ daddu $a2, $a1, $zero
|
|
||||||
/* 5CF7F4 80219164 00A0382D */ daddu $a3, $a1, $zero
|
|
||||||
/* 5CF7F8 80219168 0C01CA54 */ jal playFX_82
|
|
||||||
/* 5CF7FC 8021916C AFA50010 */ sw $a1, 0x10($sp)
|
|
||||||
/* 5CF800 80219170 8FBF0028 */ lw $ra, 0x28($sp)
|
|
||||||
/* 5CF804 80219174 8FB30024 */ lw $s3, 0x24($sp)
|
|
||||||
/* 5CF808 80219178 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 5CF80C 8021917C 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 5CF810 80219180 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 5CF814 80219184 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 5CF818 80219188 03E00008 */ jr $ra
|
|
||||||
/* 5CF81C 8021918C 27BD0030 */ addiu $sp, $sp, 0x30
|
|
@ -1,55 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_80219190_5CF820
|
|
||||||
/* 5CF820 80219190 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
||||||
/* 5CF824 80219194 AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 5CF828 80219198 0000902D */ daddu $s2, $zero, $zero
|
|
||||||
/* 5CF82C 8021919C AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 5CF830 802191A0 0240882D */ daddu $s1, $s2, $zero
|
|
||||||
/* 5CF834 802191A4 AFB30024 */ sw $s3, 0x24($sp)
|
|
||||||
/* 5CF838 802191A8 3C138009 */ lui $s3, %hi(gAreas)
|
|
||||||
/* 5CF83C 802191AC 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
|
||||||
/* 5CF840 802191B0 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 5CF844 802191B4 3C108023 */ lui $s0, %hi(D_80234448_5EAAD8)
|
|
||||||
/* 5CF848 802191B8 26104448 */ addiu $s0, $s0, %lo(D_80234448_5EAAD8)
|
|
||||||
/* 5CF84C 802191BC AFBF0028 */ sw $ra, 0x28($sp)
|
|
||||||
.L802191C0:
|
|
||||||
/* 5CF850 802191C0 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
||||||
/* 5CF854 802191C4 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
|
||||||
/* 5CF858 802191C8 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5CF85C 802191CC 84430086 */ lh $v1, 0x86($v0)
|
|
||||||
/* 5CF860 802191D0 8442008C */ lh $v0, 0x8c($v0)
|
|
||||||
/* 5CF864 802191D4 00031900 */ sll $v1, $v1, 4
|
|
||||||
/* 5CF868 802191D8 00731821 */ addu $v1, $v1, $s3
|
|
||||||
/* 5CF86C 802191DC 8C630004 */ lw $v1, 4($v1)
|
|
||||||
/* 5CF870 802191E0 00021140 */ sll $v0, $v0, 5
|
|
||||||
/* 5CF874 802191E4 00431021 */ addu $v0, $v0, $v1
|
|
||||||
/* 5CF878 802191E8 0C01BB5C */ jal strcmp
|
|
||||||
/* 5CF87C 802191EC 8C440000 */ lw $a0, ($v0)
|
|
||||||
/* 5CF880 802191F0 14400003 */ bnez $v0, .L80219200
|
|
||||||
/* 5CF884 802191F4 26310001 */ addiu $s1, $s1, 1
|
|
||||||
/* 5CF888 802191F8 08086483 */ j .L8021920C
|
|
||||||
/* 5CF88C 802191FC 24120001 */ addiu $s2, $zero, 1
|
|
||||||
.L80219200:
|
|
||||||
/* 5CF890 80219200 2E22000B */ sltiu $v0, $s1, 0xb
|
|
||||||
/* 5CF894 80219204 1440FFEE */ bnez $v0, .L802191C0
|
|
||||||
/* 5CF898 80219208 26100004 */ addiu $s0, $s0, 4
|
|
||||||
.L8021920C:
|
|
||||||
/* 5CF89C 8021920C 44800000 */ mtc1 $zero, $f0
|
|
||||||
/* 5CF8A0 80219210 00000000 */ nop
|
|
||||||
/* 5CF8A4 80219214 44050000 */ mfc1 $a1, $f0
|
|
||||||
/* 5CF8A8 80219218 0240202D */ daddu $a0, $s2, $zero
|
|
||||||
/* 5CF8AC 8021921C AFA00014 */ sw $zero, 0x14($sp)
|
|
||||||
/* 5CF8B0 80219220 00A0302D */ daddu $a2, $a1, $zero
|
|
||||||
/* 5CF8B4 80219224 00A0382D */ daddu $a3, $a1, $zero
|
|
||||||
/* 5CF8B8 80219228 0C01CA54 */ jal playFX_82
|
|
||||||
/* 5CF8BC 8021922C AFA50010 */ sw $a1, 0x10($sp)
|
|
||||||
/* 5CF8C0 80219230 8FBF0028 */ lw $ra, 0x28($sp)
|
|
||||||
/* 5CF8C4 80219234 8FB30024 */ lw $s3, 0x24($sp)
|
|
||||||
/* 5CF8C8 80219238 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 5CF8CC 8021923C 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 5CF8D0 80219240 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 5CF8D4 80219244 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 5CF8D8 80219248 03E00008 */ jr $ra
|
|
||||||
/* 5CF8DC 8021924C 27BD0030 */ addiu $sp, $sp, 0x30
|
|
@ -1,55 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_80219250_5CF8E0
|
|
||||||
/* 5CF8E0 80219250 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
||||||
/* 5CF8E4 80219254 AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 5CF8E8 80219258 0000902D */ daddu $s2, $zero, $zero
|
|
||||||
/* 5CF8EC 8021925C AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 5CF8F0 80219260 0240882D */ daddu $s1, $s2, $zero
|
|
||||||
/* 5CF8F4 80219264 AFB30024 */ sw $s3, 0x24($sp)
|
|
||||||
/* 5CF8F8 80219268 3C138009 */ lui $s3, %hi(gAreas)
|
|
||||||
/* 5CF8FC 8021926C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
|
||||||
/* 5CF900 80219270 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 5CF904 80219274 3C108023 */ lui $s0, %hi(D_80234758_5EADE8)
|
|
||||||
/* 5CF908 80219278 26104758 */ addiu $s0, $s0, %lo(D_80234758_5EADE8)
|
|
||||||
/* 5CF90C 8021927C AFBF0028 */ sw $ra, 0x28($sp)
|
|
||||||
.L80219280:
|
|
||||||
/* 5CF910 80219280 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
||||||
/* 5CF914 80219284 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
|
||||||
/* 5CF918 80219288 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5CF91C 8021928C 84430086 */ lh $v1, 0x86($v0)
|
|
||||||
/* 5CF920 80219290 8442008C */ lh $v0, 0x8c($v0)
|
|
||||||
/* 5CF924 80219294 00031900 */ sll $v1, $v1, 4
|
|
||||||
/* 5CF928 80219298 00731821 */ addu $v1, $v1, $s3
|
|
||||||
/* 5CF92C 8021929C 8C630004 */ lw $v1, 4($v1)
|
|
||||||
/* 5CF930 802192A0 00021140 */ sll $v0, $v0, 5
|
|
||||||
/* 5CF934 802192A4 00431021 */ addu $v0, $v0, $v1
|
|
||||||
/* 5CF938 802192A8 0C01BB5C */ jal strcmp
|
|
||||||
/* 5CF93C 802192AC 8C440000 */ lw $a0, ($v0)
|
|
||||||
/* 5CF940 802192B0 14400003 */ bnez $v0, .L802192C0
|
|
||||||
/* 5CF944 802192B4 26310001 */ addiu $s1, $s1, 1
|
|
||||||
/* 5CF948 802192B8 080864B3 */ j .L802192CC
|
|
||||||
/* 5CF94C 802192BC 24120001 */ addiu $s2, $zero, 1
|
|
||||||
.L802192C0:
|
|
||||||
/* 5CF950 802192C0 2E22000B */ sltiu $v0, $s1, 0xb
|
|
||||||
/* 5CF954 802192C4 1440FFEE */ bnez $v0, .L80219280
|
|
||||||
/* 5CF958 802192C8 26100004 */ addiu $s0, $s0, 4
|
|
||||||
.L802192CC:
|
|
||||||
/* 5CF95C 802192CC 44800000 */ mtc1 $zero, $f0
|
|
||||||
/* 5CF960 802192D0 00000000 */ nop
|
|
||||||
/* 5CF964 802192D4 44050000 */ mfc1 $a1, $f0
|
|
||||||
/* 5CF968 802192D8 0240202D */ daddu $a0, $s2, $zero
|
|
||||||
/* 5CF96C 802192DC AFA00014 */ sw $zero, 0x14($sp)
|
|
||||||
/* 5CF970 802192E0 00A0302D */ daddu $a2, $a1, $zero
|
|
||||||
/* 5CF974 802192E4 00A0382D */ daddu $a3, $a1, $zero
|
|
||||||
/* 5CF978 802192E8 0C01CA54 */ jal playFX_82
|
|
||||||
/* 5CF97C 802192EC AFA50010 */ sw $a1, 0x10($sp)
|
|
||||||
/* 5CF980 802192F0 8FBF0028 */ lw $ra, 0x28($sp)
|
|
||||||
/* 5CF984 802192F4 8FB30024 */ lw $s3, 0x24($sp)
|
|
||||||
/* 5CF988 802192F8 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 5CF98C 802192FC 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 5CF990 80219300 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 5CF994 80219304 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 5CF998 80219308 03E00008 */ jr $ra
|
|
||||||
/* 5CF99C 8021930C 27BD0030 */ addiu $sp, $sp, 0x30
|
|
@ -1,55 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_80219630_5CFCC0
|
|
||||||
/* 5CFCC0 80219630 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
||||||
/* 5CFCC4 80219634 AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 5CFCC8 80219638 0000902D */ daddu $s2, $zero, $zero
|
|
||||||
/* 5CFCCC 8021963C AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 5CFCD0 80219640 0240882D */ daddu $s1, $s2, $zero
|
|
||||||
/* 5CFCD4 80219644 AFB30024 */ sw $s3, 0x24($sp)
|
|
||||||
/* 5CFCD8 80219648 3C138009 */ lui $s3, %hi(gAreas)
|
|
||||||
/* 5CFCDC 8021964C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
|
||||||
/* 5CFCE0 80219650 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 5CFCE4 80219654 3C108023 */ lui $s0, %hi(D_802350D4_5EB764)
|
|
||||||
/* 5CFCE8 80219658 261050D4 */ addiu $s0, $s0, %lo(D_802350D4_5EB764)
|
|
||||||
/* 5CFCEC 8021965C AFBF0028 */ sw $ra, 0x28($sp)
|
|
||||||
.L80219660:
|
|
||||||
/* 5CFCF0 80219660 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
||||||
/* 5CFCF4 80219664 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
|
||||||
/* 5CFCF8 80219668 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5CFCFC 8021966C 84430086 */ lh $v1, 0x86($v0)
|
|
||||||
/* 5CFD00 80219670 8442008C */ lh $v0, 0x8c($v0)
|
|
||||||
/* 5CFD04 80219674 00031900 */ sll $v1, $v1, 4
|
|
||||||
/* 5CFD08 80219678 00731821 */ addu $v1, $v1, $s3
|
|
||||||
/* 5CFD0C 8021967C 8C630004 */ lw $v1, 4($v1)
|
|
||||||
/* 5CFD10 80219680 00021140 */ sll $v0, $v0, 5
|
|
||||||
/* 5CFD14 80219684 00431021 */ addu $v0, $v0, $v1
|
|
||||||
/* 5CFD18 80219688 0C01BB5C */ jal strcmp
|
|
||||||
/* 5CFD1C 8021968C 8C440000 */ lw $a0, ($v0)
|
|
||||||
/* 5CFD20 80219690 14400003 */ bnez $v0, .L802196A0
|
|
||||||
/* 5CFD24 80219694 26310001 */ addiu $s1, $s1, 1
|
|
||||||
/* 5CFD28 80219698 080865AB */ j .L802196AC
|
|
||||||
/* 5CFD2C 8021969C 24120001 */ addiu $s2, $zero, 1
|
|
||||||
.L802196A0:
|
|
||||||
/* 5CFD30 802196A0 2E22000B */ sltiu $v0, $s1, 0xb
|
|
||||||
/* 5CFD34 802196A4 1440FFEE */ bnez $v0, .L80219660
|
|
||||||
/* 5CFD38 802196A8 26100004 */ addiu $s0, $s0, 4
|
|
||||||
.L802196AC:
|
|
||||||
/* 5CFD3C 802196AC 44800000 */ mtc1 $zero, $f0
|
|
||||||
/* 5CFD40 802196B0 00000000 */ nop
|
|
||||||
/* 5CFD44 802196B4 44050000 */ mfc1 $a1, $f0
|
|
||||||
/* 5CFD48 802196B8 0240202D */ daddu $a0, $s2, $zero
|
|
||||||
/* 5CFD4C 802196BC AFA00014 */ sw $zero, 0x14($sp)
|
|
||||||
/* 5CFD50 802196C0 00A0302D */ daddu $a2, $a1, $zero
|
|
||||||
/* 5CFD54 802196C4 00A0382D */ daddu $a3, $a1, $zero
|
|
||||||
/* 5CFD58 802196C8 0C01CA54 */ jal playFX_82
|
|
||||||
/* 5CFD5C 802196CC AFA50010 */ sw $a1, 0x10($sp)
|
|
||||||
/* 5CFD60 802196D0 8FBF0028 */ lw $ra, 0x28($sp)
|
|
||||||
/* 5CFD64 802196D4 8FB30024 */ lw $s3, 0x24($sp)
|
|
||||||
/* 5CFD68 802196D8 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 5CFD6C 802196DC 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 5CFD70 802196E0 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 5CFD74 802196E4 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 5CFD78 802196E8 03E00008 */ jr $ra
|
|
||||||
/* 5CFD7C 802196EC 27BD0030 */ addiu $sp, $sp, 0x30
|
|
@ -1,55 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_802196F0_5CFD80
|
|
||||||
/* 5CFD80 802196F0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
||||||
/* 5CFD84 802196F4 AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 5CFD88 802196F8 0000902D */ daddu $s2, $zero, $zero
|
|
||||||
/* 5CFD8C 802196FC AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 5CFD90 80219700 0240882D */ daddu $s1, $s2, $zero
|
|
||||||
/* 5CFD94 80219704 AFB30024 */ sw $s3, 0x24($sp)
|
|
||||||
/* 5CFD98 80219708 3C138009 */ lui $s3, %hi(gAreas)
|
|
||||||
/* 5CFD9C 8021970C 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
|
||||||
/* 5CFDA0 80219710 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 5CFDA4 80219714 3C108023 */ lui $s0, %hi(D_802353E0_5EBA70)
|
|
||||||
/* 5CFDA8 80219718 261053E0 */ addiu $s0, $s0, %lo(D_802353E0_5EBA70)
|
|
||||||
/* 5CFDAC 8021971C AFBF0028 */ sw $ra, 0x28($sp)
|
|
||||||
.L80219720:
|
|
||||||
/* 5CFDB0 80219720 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
||||||
/* 5CFDB4 80219724 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
|
||||||
/* 5CFDB8 80219728 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5CFDBC 8021972C 84430086 */ lh $v1, 0x86($v0)
|
|
||||||
/* 5CFDC0 80219730 8442008C */ lh $v0, 0x8c($v0)
|
|
||||||
/* 5CFDC4 80219734 00031900 */ sll $v1, $v1, 4
|
|
||||||
/* 5CFDC8 80219738 00731821 */ addu $v1, $v1, $s3
|
|
||||||
/* 5CFDCC 8021973C 8C630004 */ lw $v1, 4($v1)
|
|
||||||
/* 5CFDD0 80219740 00021140 */ sll $v0, $v0, 5
|
|
||||||
/* 5CFDD4 80219744 00431021 */ addu $v0, $v0, $v1
|
|
||||||
/* 5CFDD8 80219748 0C01BB5C */ jal strcmp
|
|
||||||
/* 5CFDDC 8021974C 8C440000 */ lw $a0, ($v0)
|
|
||||||
/* 5CFDE0 80219750 14400003 */ bnez $v0, .L80219760
|
|
||||||
/* 5CFDE4 80219754 26310001 */ addiu $s1, $s1, 1
|
|
||||||
/* 5CFDE8 80219758 080865DB */ j .L8021976C
|
|
||||||
/* 5CFDEC 8021975C 24120001 */ addiu $s2, $zero, 1
|
|
||||||
.L80219760:
|
|
||||||
/* 5CFDF0 80219760 2E22000B */ sltiu $v0, $s1, 0xb
|
|
||||||
/* 5CFDF4 80219764 1440FFEE */ bnez $v0, .L80219720
|
|
||||||
/* 5CFDF8 80219768 26100004 */ addiu $s0, $s0, 4
|
|
||||||
.L8021976C:
|
|
||||||
/* 5CFDFC 8021976C 44800000 */ mtc1 $zero, $f0
|
|
||||||
/* 5CFE00 80219770 00000000 */ nop
|
|
||||||
/* 5CFE04 80219774 44050000 */ mfc1 $a1, $f0
|
|
||||||
/* 5CFE08 80219778 0240202D */ daddu $a0, $s2, $zero
|
|
||||||
/* 5CFE0C 8021977C AFA00014 */ sw $zero, 0x14($sp)
|
|
||||||
/* 5CFE10 80219780 00A0302D */ daddu $a2, $a1, $zero
|
|
||||||
/* 5CFE14 80219784 00A0382D */ daddu $a3, $a1, $zero
|
|
||||||
/* 5CFE18 80219788 0C01CA54 */ jal playFX_82
|
|
||||||
/* 5CFE1C 8021978C AFA50010 */ sw $a1, 0x10($sp)
|
|
||||||
/* 5CFE20 80219790 8FBF0028 */ lw $ra, 0x28($sp)
|
|
||||||
/* 5CFE24 80219794 8FB30024 */ lw $s3, 0x24($sp)
|
|
||||||
/* 5CFE28 80219798 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 5CFE2C 8021979C 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 5CFE30 802197A0 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 5CFE34 802197A4 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 5CFE38 802197A8 03E00008 */ jr $ra
|
|
||||||
/* 5CFE3C 802197AC 27BD0030 */ addiu $sp, $sp, 0x30
|
|
@ -1,55 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_802197B0_5CFE40
|
|
||||||
/* 5CFE40 802197B0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
||||||
/* 5CFE44 802197B4 AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 5CFE48 802197B8 0000902D */ daddu $s2, $zero, $zero
|
|
||||||
/* 5CFE4C 802197BC AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 5CFE50 802197C0 0240882D */ daddu $s1, $s2, $zero
|
|
||||||
/* 5CFE54 802197C4 AFB30024 */ sw $s3, 0x24($sp)
|
|
||||||
/* 5CFE58 802197C8 3C138009 */ lui $s3, %hi(gAreas)
|
|
||||||
/* 5CFE5C 802197CC 267334F0 */ addiu $s3, $s3, %lo(gAreas)
|
|
||||||
/* 5CFE60 802197D0 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 5CFE64 802197D4 3C108023 */ lui $s0, %hi(D_802354C0_5EBB50)
|
|
||||||
/* 5CFE68 802197D8 261054C0 */ addiu $s0, $s0, %lo(D_802354C0_5EBB50)
|
|
||||||
/* 5CFE6C 802197DC AFBF0028 */ sw $ra, 0x28($sp)
|
|
||||||
.L802197E0:
|
|
||||||
/* 5CFE70 802197E0 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
|
||||||
/* 5CFE74 802197E4 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
|
||||||
/* 5CFE78 802197E8 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 5CFE7C 802197EC 84430086 */ lh $v1, 0x86($v0)
|
|
||||||
/* 5CFE80 802197F0 8442008C */ lh $v0, 0x8c($v0)
|
|
||||||
/* 5CFE84 802197F4 00031900 */ sll $v1, $v1, 4
|
|
||||||
/* 5CFE88 802197F8 00731821 */ addu $v1, $v1, $s3
|
|
||||||
/* 5CFE8C 802197FC 8C630004 */ lw $v1, 4($v1)
|
|
||||||
/* 5CFE90 80219800 00021140 */ sll $v0, $v0, 5
|
|
||||||
/* 5CFE94 80219804 00431021 */ addu $v0, $v0, $v1
|
|
||||||
/* 5CFE98 80219808 0C01BB5C */ jal strcmp
|
|
||||||
/* 5CFE9C 8021980C 8C440000 */ lw $a0, ($v0)
|
|
||||||
/* 5CFEA0 80219810 14400003 */ bnez $v0, .L80219820
|
|
||||||
/* 5CFEA4 80219814 26310001 */ addiu $s1, $s1, 1
|
|
||||||
/* 5CFEA8 80219818 0808660B */ j .L8021982C
|
|
||||||
/* 5CFEAC 8021981C 24120001 */ addiu $s2, $zero, 1
|
|
||||||
.L80219820:
|
|
||||||
/* 5CFEB0 80219820 2E22000B */ sltiu $v0, $s1, 0xb
|
|
||||||
/* 5CFEB4 80219824 1440FFEE */ bnez $v0, .L802197E0
|
|
||||||
/* 5CFEB8 80219828 26100004 */ addiu $s0, $s0, 4
|
|
||||||
.L8021982C:
|
|
||||||
/* 5CFEBC 8021982C 44800000 */ mtc1 $zero, $f0
|
|
||||||
/* 5CFEC0 80219830 00000000 */ nop
|
|
||||||
/* 5CFEC4 80219834 44050000 */ mfc1 $a1, $f0
|
|
||||||
/* 5CFEC8 80219838 0240202D */ daddu $a0, $s2, $zero
|
|
||||||
/* 5CFECC 8021983C AFA00014 */ sw $zero, 0x14($sp)
|
|
||||||
/* 5CFED0 80219840 00A0302D */ daddu $a2, $a1, $zero
|
|
||||||
/* 5CFED4 80219844 00A0382D */ daddu $a3, $a1, $zero
|
|
||||||
/* 5CFED8 80219848 0C01CA54 */ jal playFX_82
|
|
||||||
/* 5CFEDC 8021984C AFA50010 */ sw $a1, 0x10($sp)
|
|
||||||
/* 5CFEE0 80219850 8FBF0028 */ lw $ra, 0x28($sp)
|
|
||||||
/* 5CFEE4 80219854 8FB30024 */ lw $s3, 0x24($sp)
|
|
||||||
/* 5CFEE8 80219858 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 5CFEEC 8021985C 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 5CFEF0 80219860 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 5CFEF4 80219864 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 5CFEF8 80219868 03E00008 */ jr $ra
|
|
||||||
/* 5CFEFC 8021986C 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_802185BC_584EFC
|
|
||||||
/* 584EFC 802185BC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
||||||
/* 584F00 802185C0 AFB10014 */ sw $s1, 0x14($sp)
|
|
||||||
/* 584F04 802185C4 0080882D */ daddu $s1, $a0, $zero
|
|
||||||
/* 584F08 802185C8 AFB20018 */ sw $s2, 0x18($sp)
|
|
||||||
/* 584F0C 802185CC 3C128011 */ lui $s2, %hi(gPlayerData)
|
|
||||||
/* 584F10 802185D0 2652F290 */ addiu $s2, $s2, %lo(gPlayerData)
|
|
||||||
/* 584F14 802185D4 AFBF001C */ sw $ra, 0x1c($sp)
|
|
||||||
/* 584F18 802185D8 AFB00010 */ sw $s0, 0x10($sp)
|
|
||||||
/* 584F1C 802185DC 8E30000C */ lw $s0, 0xc($s1)
|
|
||||||
/* 584F20 802185E0 82460000 */ lb $a2, ($s2)
|
|
||||||
/* 584F24 802185E4 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 584F28 802185E8 0C0B2026 */ jal set_variable
|
|
||||||
/* 584F2C 802185EC 26100004 */ addiu $s0, $s0, 4
|
|
||||||
/* 584F30 802185F0 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 584F34 802185F4 82460001 */ lb $a2, 1($s2)
|
|
||||||
/* 584F38 802185F8 0C0B2026 */ jal set_variable
|
|
||||||
/* 584F3C 802185FC 0220202D */ daddu $a0, $s1, $zero
|
|
||||||
/* 584F40 80218600 8FBF001C */ lw $ra, 0x1c($sp)
|
|
||||||
/* 584F44 80218604 8FB20018 */ lw $s2, 0x18($sp)
|
|
||||||
/* 584F48 80218608 8FB10014 */ lw $s1, 0x14($sp)
|
|
||||||
/* 584F4C 8021860C 8FB00010 */ lw $s0, 0x10($sp)
|
|
||||||
/* 584F50 80218610 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 584F54 80218614 03E00008 */ jr $ra
|
|
||||||
/* 584F58 80218618 27BD0020 */ addiu $sp, $sp, 0x20
|
|
@ -1,46 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_8021861C_584F5C
|
|
||||||
/* 584F5C 8021861C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
|
||||||
/* 584F60 80218620 AFB3001C */ sw $s3, 0x1c($sp)
|
|
||||||
/* 584F64 80218624 0080982D */ daddu $s3, $a0, $zero
|
|
||||||
/* 584F68 80218628 AFBF0020 */ sw $ra, 0x20($sp)
|
|
||||||
/* 584F6C 8021862C AFB20018 */ sw $s2, 0x18($sp)
|
|
||||||
/* 584F70 80218630 AFB10014 */ sw $s1, 0x14($sp)
|
|
||||||
/* 584F74 80218634 AFB00010 */ sw $s0, 0x10($sp)
|
|
||||||
/* 584F78 80218638 8E70000C */ lw $s0, 0xc($s3)
|
|
||||||
/* 584F7C 8021863C 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 584F80 80218640 0C0B1EAF */ jal get_variable
|
|
||||||
/* 584F84 80218644 26100004 */ addiu $s0, $s0, 4
|
|
||||||
/* 584F88 80218648 0040882D */ daddu $s1, $v0, $zero
|
|
||||||
/* 584F8C 8021864C 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 584F90 80218650 26100004 */ addiu $s0, $s0, 4
|
|
||||||
/* 584F94 80218654 0C0B1EAF */ jal get_variable
|
|
||||||
/* 584F98 80218658 0260202D */ daddu $a0, $s3, $zero
|
|
||||||
/* 584F9C 8021865C 0040902D */ daddu $s2, $v0, $zero
|
|
||||||
/* 584FA0 80218660 2402FF81 */ addiu $v0, $zero, -0x7f
|
|
||||||
/* 584FA4 80218664 16220002 */ bne $s1, $v0, .L80218670
|
|
||||||
/* 584FA8 80218668 00000000 */ nop
|
|
||||||
/* 584FAC 8021866C 8E710148 */ lw $s1, 0x148($s3)
|
|
||||||
.L80218670:
|
|
||||||
/* 584FB0 80218670 0C09A75B */ jal get_actor
|
|
||||||
/* 584FB4 80218674 0220202D */ daddu $a0, $s1, $zero
|
|
||||||
/* 584FB8 80218678 0040202D */ daddu $a0, $v0, $zero
|
|
||||||
/* 584FBC 8021867C 0C099117 */ jal get_actor_part
|
|
||||||
/* 584FC0 80218680 0240282D */ daddu $a1, $s2, $zero
|
|
||||||
/* 584FC4 80218684 8C440078 */ lw $a0, 0x78($v0)
|
|
||||||
/* 584FC8 80218688 0C099791 */ jal lookup_defense
|
|
||||||
/* 584FCC 8021868C 24050001 */ addiu $a1, $zero, 1
|
|
||||||
/* 584FD0 80218690 0260202D */ daddu $a0, $s3, $zero
|
|
||||||
/* 584FD4 80218694 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 584FD8 80218698 0C0B2026 */ jal set_variable
|
|
||||||
/* 584FDC 8021869C 0040302D */ daddu $a2, $v0, $zero
|
|
||||||
/* 584FE0 802186A0 8FBF0020 */ lw $ra, 0x20($sp)
|
|
||||||
/* 584FE4 802186A4 8FB3001C */ lw $s3, 0x1c($sp)
|
|
||||||
/* 584FE8 802186A8 8FB20018 */ lw $s2, 0x18($sp)
|
|
||||||
/* 584FEC 802186AC 8FB10014 */ lw $s1, 0x14($sp)
|
|
||||||
/* 584FF0 802186B0 8FB00010 */ lw $s0, 0x10($sp)
|
|
||||||
/* 584FF4 802186B4 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 584FF8 802186B8 03E00008 */ jr $ra
|
|
||||||
/* 584FFC 802186BC 27BD0028 */ addiu $sp, $sp, 0x28
|
|
@ -1,28 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_80219C74_6A0E74
|
|
||||||
/* 6A0E74 80219C74 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
||||||
/* 6A0E78 80219C78 AFB10014 */ sw $s1, 0x14($sp)
|
|
||||||
/* 6A0E7C 80219C7C 0080882D */ daddu $s1, $a0, $zero
|
|
||||||
/* 6A0E80 80219C80 AFB20018 */ sw $s2, 0x18($sp)
|
|
||||||
/* 6A0E84 80219C84 3C12800E */ lui $s2, %hi(gBattleStatus)
|
|
||||||
/* 6A0E88 80219C88 2652C070 */ addiu $s2, $s2, %lo(gBattleStatus)
|
|
||||||
/* 6A0E8C 80219C8C AFBF001C */ sw $ra, 0x1c($sp)
|
|
||||||
/* 6A0E90 80219C90 AFB00010 */ sw $s0, 0x10($sp)
|
|
||||||
/* 6A0E94 80219C94 8E30000C */ lw $s0, 0xc($s1)
|
|
||||||
/* 6A0E98 80219C98 82460097 */ lb $a2, 0x97($s2)
|
|
||||||
/* 6A0E9C 80219C9C 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 6A0EA0 80219CA0 0C0B2026 */ jal set_variable
|
|
||||||
/* 6A0EA4 80219CA4 26100004 */ addiu $s0, $s0, 4
|
|
||||||
/* 6A0EA8 80219CA8 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 6A0EAC 80219CAC 82460096 */ lb $a2, 0x96($s2)
|
|
||||||
/* 6A0EB0 80219CB0 0C0B2026 */ jal set_variable
|
|
||||||
/* 6A0EB4 80219CB4 0220202D */ daddu $a0, $s1, $zero
|
|
||||||
/* 6A0EB8 80219CB8 8FBF001C */ lw $ra, 0x1c($sp)
|
|
||||||
/* 6A0EBC 80219CBC 8FB20018 */ lw $s2, 0x18($sp)
|
|
||||||
/* 6A0EC0 80219CC0 8FB10014 */ lw $s1, 0x14($sp)
|
|
||||||
/* 6A0EC4 80219CC4 8FB00010 */ lw $s0, 0x10($sp)
|
|
||||||
/* 6A0EC8 80219CC8 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 6A0ECC 80219CCC 03E00008 */ jr $ra
|
|
||||||
/* 6A0ED0 80219CD0 27BD0020 */ addiu $sp, $sp, 0x20
|
|
@ -1,28 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_8021B02C_6A222C
|
|
||||||
/* 6A222C 8021B02C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
||||||
/* 6A2230 8021B030 AFB10014 */ sw $s1, 0x14($sp)
|
|
||||||
/* 6A2234 8021B034 0080882D */ daddu $s1, $a0, $zero
|
|
||||||
/* 6A2238 8021B038 AFB20018 */ sw $s2, 0x18($sp)
|
|
||||||
/* 6A223C 8021B03C 3C12800E */ lui $s2, %hi(gBattleStatus)
|
|
||||||
/* 6A2240 8021B040 2652C070 */ addiu $s2, $s2, %lo(gBattleStatus)
|
|
||||||
/* 6A2244 8021B044 AFBF001C */ sw $ra, 0x1c($sp)
|
|
||||||
/* 6A2248 8021B048 AFB00010 */ sw $s0, 0x10($sp)
|
|
||||||
/* 6A224C 8021B04C 8E30000C */ lw $s0, 0xc($s1)
|
|
||||||
/* 6A2250 8021B050 82460097 */ lb $a2, 0x97($s2)
|
|
||||||
/* 6A2254 8021B054 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 6A2258 8021B058 0C0B2026 */ jal set_variable
|
|
||||||
/* 6A225C 8021B05C 26100004 */ addiu $s0, $s0, 4
|
|
||||||
/* 6A2260 8021B060 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 6A2264 8021B064 82460096 */ lb $a2, 0x96($s2)
|
|
||||||
/* 6A2268 8021B068 0C0B2026 */ jal set_variable
|
|
||||||
/* 6A226C 8021B06C 0220202D */ daddu $a0, $s1, $zero
|
|
||||||
/* 6A2270 8021B070 8FBF001C */ lw $ra, 0x1c($sp)
|
|
||||||
/* 6A2274 8021B074 8FB20018 */ lw $s2, 0x18($sp)
|
|
||||||
/* 6A2278 8021B078 8FB10014 */ lw $s1, 0x14($sp)
|
|
||||||
/* 6A227C 8021B07C 8FB00010 */ lw $s0, 0x10($sp)
|
|
||||||
/* 6A2280 8021B080 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 6A2284 8021B084 03E00008 */ jr $ra
|
|
||||||
/* 6A2288 8021B088 27BD0020 */ addiu $sp, $sp, 0x20
|
|
@ -1,28 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_8021C974_6A3B74
|
|
||||||
/* 6A3B74 8021C974 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
||||||
/* 6A3B78 8021C978 AFB10014 */ sw $s1, 0x14($sp)
|
|
||||||
/* 6A3B7C 8021C97C 0080882D */ daddu $s1, $a0, $zero
|
|
||||||
/* 6A3B80 8021C980 AFB20018 */ sw $s2, 0x18($sp)
|
|
||||||
/* 6A3B84 8021C984 3C12800E */ lui $s2, %hi(gBattleStatus)
|
|
||||||
/* 6A3B88 8021C988 2652C070 */ addiu $s2, $s2, %lo(gBattleStatus)
|
|
||||||
/* 6A3B8C 8021C98C AFBF001C */ sw $ra, 0x1c($sp)
|
|
||||||
/* 6A3B90 8021C990 AFB00010 */ sw $s0, 0x10($sp)
|
|
||||||
/* 6A3B94 8021C994 8E30000C */ lw $s0, 0xc($s1)
|
|
||||||
/* 6A3B98 8021C998 82460097 */ lb $a2, 0x97($s2)
|
|
||||||
/* 6A3B9C 8021C99C 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 6A3BA0 8021C9A0 0C0B2026 */ jal set_variable
|
|
||||||
/* 6A3BA4 8021C9A4 26100004 */ addiu $s0, $s0, 4
|
|
||||||
/* 6A3BA8 8021C9A8 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 6A3BAC 8021C9AC 82460096 */ lb $a2, 0x96($s2)
|
|
||||||
/* 6A3BB0 8021C9B0 0C0B2026 */ jal set_variable
|
|
||||||
/* 6A3BB4 8021C9B4 0220202D */ daddu $a0, $s1, $zero
|
|
||||||
/* 6A3BB8 8021C9B8 8FBF001C */ lw $ra, 0x1c($sp)
|
|
||||||
/* 6A3BBC 8021C9BC 8FB20018 */ lw $s2, 0x18($sp)
|
|
||||||
/* 6A3BC0 8021C9C0 8FB10014 */ lw $s1, 0x14($sp)
|
|
||||||
/* 6A3BC4 8021C9C4 8FB00010 */ lw $s0, 0x10($sp)
|
|
||||||
/* 6A3BC8 8021C9C8 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 6A3BCC 8021C9CC 03E00008 */ jr $ra
|
|
||||||
/* 6A3BD0 8021C9D0 27BD0020 */ addiu $sp, $sp, 0x20
|
|
@ -1,28 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_80218D0C_58CFFC
|
|
||||||
/* 58CFFC 80218D0C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
||||||
/* 58D000 80218D10 AFB10014 */ sw $s1, 0x14($sp)
|
|
||||||
/* 58D004 80218D14 0080882D */ daddu $s1, $a0, $zero
|
|
||||||
/* 58D008 80218D18 AFB20018 */ sw $s2, 0x18($sp)
|
|
||||||
/* 58D00C 80218D1C 3C128011 */ lui $s2, %hi(gPlayerData)
|
|
||||||
/* 58D010 80218D20 2652F290 */ addiu $s2, $s2, %lo(gPlayerData)
|
|
||||||
/* 58D014 80218D24 AFBF001C */ sw $ra, 0x1c($sp)
|
|
||||||
/* 58D018 80218D28 AFB00010 */ sw $s0, 0x10($sp)
|
|
||||||
/* 58D01C 80218D2C 8E30000C */ lw $s0, 0xc($s1)
|
|
||||||
/* 58D020 80218D30 82460000 */ lb $a2, ($s2)
|
|
||||||
/* 58D024 80218D34 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 58D028 80218D38 0C0B2026 */ jal set_variable
|
|
||||||
/* 58D02C 80218D3C 26100004 */ addiu $s0, $s0, 4
|
|
||||||
/* 58D030 80218D40 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 58D034 80218D44 82460001 */ lb $a2, 1($s2)
|
|
||||||
/* 58D038 80218D48 0C0B2026 */ jal set_variable
|
|
||||||
/* 58D03C 80218D4C 0220202D */ daddu $a0, $s1, $zero
|
|
||||||
/* 58D040 80218D50 8FBF001C */ lw $ra, 0x1c($sp)
|
|
||||||
/* 58D044 80218D54 8FB20018 */ lw $s2, 0x18($sp)
|
|
||||||
/* 58D048 80218D58 8FB10014 */ lw $s1, 0x14($sp)
|
|
||||||
/* 58D04C 80218D5C 8FB00010 */ lw $s0, 0x10($sp)
|
|
||||||
/* 58D050 80218D60 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 58D054 80218D64 03E00008 */ jr $ra
|
|
||||||
/* 58D058 80218D68 27BD0020 */ addiu $sp, $sp, 0x20
|
|
@ -1,46 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_80218D6C_58D05C
|
|
||||||
/* 58D05C 80218D6C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
|
||||||
/* 58D060 80218D70 AFB3001C */ sw $s3, 0x1c($sp)
|
|
||||||
/* 58D064 80218D74 0080982D */ daddu $s3, $a0, $zero
|
|
||||||
/* 58D068 80218D78 AFBF0020 */ sw $ra, 0x20($sp)
|
|
||||||
/* 58D06C 80218D7C AFB20018 */ sw $s2, 0x18($sp)
|
|
||||||
/* 58D070 80218D80 AFB10014 */ sw $s1, 0x14($sp)
|
|
||||||
/* 58D074 80218D84 AFB00010 */ sw $s0, 0x10($sp)
|
|
||||||
/* 58D078 80218D88 8E70000C */ lw $s0, 0xc($s3)
|
|
||||||
/* 58D07C 80218D8C 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 58D080 80218D90 0C0B1EAF */ jal get_variable
|
|
||||||
/* 58D084 80218D94 26100004 */ addiu $s0, $s0, 4
|
|
||||||
/* 58D088 80218D98 0040882D */ daddu $s1, $v0, $zero
|
|
||||||
/* 58D08C 80218D9C 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 58D090 80218DA0 26100004 */ addiu $s0, $s0, 4
|
|
||||||
/* 58D094 80218DA4 0C0B1EAF */ jal get_variable
|
|
||||||
/* 58D098 80218DA8 0260202D */ daddu $a0, $s3, $zero
|
|
||||||
/* 58D09C 80218DAC 0040902D */ daddu $s2, $v0, $zero
|
|
||||||
/* 58D0A0 80218DB0 2402FF81 */ addiu $v0, $zero, -0x7f
|
|
||||||
/* 58D0A4 80218DB4 16220002 */ bne $s1, $v0, .L80218DC0
|
|
||||||
/* 58D0A8 80218DB8 00000000 */ nop
|
|
||||||
/* 58D0AC 80218DBC 8E710148 */ lw $s1, 0x148($s3)
|
|
||||||
.L80218DC0:
|
|
||||||
/* 58D0B0 80218DC0 0C09A75B */ jal get_actor
|
|
||||||
/* 58D0B4 80218DC4 0220202D */ daddu $a0, $s1, $zero
|
|
||||||
/* 58D0B8 80218DC8 0040202D */ daddu $a0, $v0, $zero
|
|
||||||
/* 58D0BC 80218DCC 0C099117 */ jal get_actor_part
|
|
||||||
/* 58D0C0 80218DD0 0240282D */ daddu $a1, $s2, $zero
|
|
||||||
/* 58D0C4 80218DD4 8C440078 */ lw $a0, 0x78($v0)
|
|
||||||
/* 58D0C8 80218DD8 0C099791 */ jal lookup_defense
|
|
||||||
/* 58D0CC 80218DDC 24050001 */ addiu $a1, $zero, 1
|
|
||||||
/* 58D0D0 80218DE0 0260202D */ daddu $a0, $s3, $zero
|
|
||||||
/* 58D0D4 80218DE4 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 58D0D8 80218DE8 0C0B2026 */ jal set_variable
|
|
||||||
/* 58D0DC 80218DEC 0040302D */ daddu $a2, $v0, $zero
|
|
||||||
/* 58D0E0 80218DF0 8FBF0020 */ lw $ra, 0x20($sp)
|
|
||||||
/* 58D0E4 80218DF4 8FB3001C */ lw $s3, 0x1c($sp)
|
|
||||||
/* 58D0E8 80218DF8 8FB20018 */ lw $s2, 0x18($sp)
|
|
||||||
/* 58D0EC 80218DFC 8FB10014 */ lw $s1, 0x14($sp)
|
|
||||||
/* 58D0F0 80218E00 8FB00010 */ lw $s0, 0x10($sp)
|
|
||||||
/* 58D0F4 80218E04 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 58D0F8 80218E08 03E00008 */ jr $ra
|
|
||||||
/* 58D0FC 80218E0C 27BD0028 */ addiu $sp, $sp, 0x28
|
|
@ -1,28 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_8021942C_64A23C
|
|
||||||
/* 64A23C 8021942C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
||||||
/* 64A240 80219430 AFB10014 */ sw $s1, 0x14($sp)
|
|
||||||
/* 64A244 80219434 0080882D */ daddu $s1, $a0, $zero
|
|
||||||
/* 64A248 80219438 AFB20018 */ sw $s2, 0x18($sp)
|
|
||||||
/* 64A24C 8021943C 3C128011 */ lui $s2, %hi(gPlayerData)
|
|
||||||
/* 64A250 80219440 2652F290 */ addiu $s2, $s2, %lo(gPlayerData)
|
|
||||||
/* 64A254 80219444 AFBF001C */ sw $ra, 0x1c($sp)
|
|
||||||
/* 64A258 80219448 AFB00010 */ sw $s0, 0x10($sp)
|
|
||||||
/* 64A25C 8021944C 8E30000C */ lw $s0, 0xc($s1)
|
|
||||||
/* 64A260 80219450 82460000 */ lb $a2, ($s2)
|
|
||||||
/* 64A264 80219454 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 64A268 80219458 0C0B2026 */ jal set_variable
|
|
||||||
/* 64A26C 8021945C 26100004 */ addiu $s0, $s0, 4
|
|
||||||
/* 64A270 80219460 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 64A274 80219464 82460001 */ lb $a2, 1($s2)
|
|
||||||
/* 64A278 80219468 0C0B2026 */ jal set_variable
|
|
||||||
/* 64A27C 8021946C 0220202D */ daddu $a0, $s1, $zero
|
|
||||||
/* 64A280 80219470 8FBF001C */ lw $ra, 0x1c($sp)
|
|
||||||
/* 64A284 80219474 8FB20018 */ lw $s2, 0x18($sp)
|
|
||||||
/* 64A288 80219478 8FB10014 */ lw $s1, 0x14($sp)
|
|
||||||
/* 64A28C 8021947C 8FB00010 */ lw $s0, 0x10($sp)
|
|
||||||
/* 64A290 80219480 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 64A294 80219484 03E00008 */ jr $ra
|
|
||||||
/* 64A298 80219488 27BD0020 */ addiu $sp, $sp, 0x20
|
|
@ -1,46 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_8021948C_64A29C
|
|
||||||
/* 64A29C 8021948C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
|
||||||
/* 64A2A0 80219490 AFB3001C */ sw $s3, 0x1c($sp)
|
|
||||||
/* 64A2A4 80219494 0080982D */ daddu $s3, $a0, $zero
|
|
||||||
/* 64A2A8 80219498 AFBF0020 */ sw $ra, 0x20($sp)
|
|
||||||
/* 64A2AC 8021949C AFB20018 */ sw $s2, 0x18($sp)
|
|
||||||
/* 64A2B0 802194A0 AFB10014 */ sw $s1, 0x14($sp)
|
|
||||||
/* 64A2B4 802194A4 AFB00010 */ sw $s0, 0x10($sp)
|
|
||||||
/* 64A2B8 802194A8 8E70000C */ lw $s0, 0xc($s3)
|
|
||||||
/* 64A2BC 802194AC 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 64A2C0 802194B0 0C0B1EAF */ jal get_variable
|
|
||||||
/* 64A2C4 802194B4 26100004 */ addiu $s0, $s0, 4
|
|
||||||
/* 64A2C8 802194B8 0040882D */ daddu $s1, $v0, $zero
|
|
||||||
/* 64A2CC 802194BC 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 64A2D0 802194C0 26100004 */ addiu $s0, $s0, 4
|
|
||||||
/* 64A2D4 802194C4 0C0B1EAF */ jal get_variable
|
|
||||||
/* 64A2D8 802194C8 0260202D */ daddu $a0, $s3, $zero
|
|
||||||
/* 64A2DC 802194CC 0040902D */ daddu $s2, $v0, $zero
|
|
||||||
/* 64A2E0 802194D0 2402FF81 */ addiu $v0, $zero, -0x7f
|
|
||||||
/* 64A2E4 802194D4 16220002 */ bne $s1, $v0, .L802194E0
|
|
||||||
/* 64A2E8 802194D8 00000000 */ nop
|
|
||||||
/* 64A2EC 802194DC 8E710148 */ lw $s1, 0x148($s3)
|
|
||||||
.L802194E0:
|
|
||||||
/* 64A2F0 802194E0 0C09A75B */ jal get_actor
|
|
||||||
/* 64A2F4 802194E4 0220202D */ daddu $a0, $s1, $zero
|
|
||||||
/* 64A2F8 802194E8 0040202D */ daddu $a0, $v0, $zero
|
|
||||||
/* 64A2FC 802194EC 0C099117 */ jal get_actor_part
|
|
||||||
/* 64A300 802194F0 0240282D */ daddu $a1, $s2, $zero
|
|
||||||
/* 64A304 802194F4 8C440078 */ lw $a0, 0x78($v0)
|
|
||||||
/* 64A308 802194F8 0C099791 */ jal lookup_defense
|
|
||||||
/* 64A30C 802194FC 24050001 */ addiu $a1, $zero, 1
|
|
||||||
/* 64A310 80219500 0260202D */ daddu $a0, $s3, $zero
|
|
||||||
/* 64A314 80219504 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 64A318 80219508 0C0B2026 */ jal set_variable
|
|
||||||
/* 64A31C 8021950C 0040302D */ daddu $a2, $v0, $zero
|
|
||||||
/* 64A320 80219510 8FBF0020 */ lw $ra, 0x20($sp)
|
|
||||||
/* 64A324 80219514 8FB3001C */ lw $s3, 0x1c($sp)
|
|
||||||
/* 64A328 80219518 8FB20018 */ lw $s2, 0x18($sp)
|
|
||||||
/* 64A32C 8021951C 8FB10014 */ lw $s1, 0x14($sp)
|
|
||||||
/* 64A330 80219520 8FB00010 */ lw $s0, 0x10($sp)
|
|
||||||
/* 64A334 80219524 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 64A338 80219528 03E00008 */ jr $ra
|
|
||||||
/* 64A33C 8021952C 27BD0028 */ addiu $sp, $sp, 0x28
|
|
@ -1,28 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_80218220_4DA800
|
|
||||||
/* 4DA800 80218220 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
||||||
/* 4DA804 80218224 AFB00010 */ sw $s0, 0x10($sp)
|
|
||||||
/* 4DA808 80218228 0080802D */ daddu $s0, $a0, $zero
|
|
||||||
/* 4DA80C 8021822C AFBF0014 */ sw $ra, 0x14($sp)
|
|
||||||
/* 4DA810 80218230 0C046C04 */ jal get_model_list_index_from_tree_index
|
|
||||||
/* 4DA814 80218234 8E0400AC */ lw $a0, 0xac($s0)
|
|
||||||
/* 4DA818 80218238 0C046B4C */ jal get_model_from_list_index
|
|
||||||
/* 4DA81C 8021823C 0040202D */ daddu $a0, $v0, $zero
|
|
||||||
/* 4DA820 80218240 C4400098 */ lwc1 $f0, 0x98($v0)
|
|
||||||
/* 4DA824 80218244 4600008D */ trunc.w.s $f2, $f0
|
|
||||||
/* 4DA828 80218248 E60200B0 */ swc1 $f2, 0xb0($s0)
|
|
||||||
/* 4DA82C 8021824C C440009C */ lwc1 $f0, 0x9c($v0)
|
|
||||||
/* 4DA830 80218250 4600008D */ trunc.w.s $f2, $f0
|
|
||||||
/* 4DA834 80218254 E60200B4 */ swc1 $f2, 0xb4($s0)
|
|
||||||
/* 4DA838 80218258 C44000A0 */ lwc1 $f0, 0xa0($v0)
|
|
||||||
/* 4DA83C 8021825C 4600008D */ trunc.w.s $f2, $f0
|
|
||||||
/* 4DA840 80218260 E60200B8 */ swc1 $f2, 0xb8($s0)
|
|
||||||
/* 4DA844 80218264 8FBF0014 */ lw $ra, 0x14($sp)
|
|
||||||
/* 4DA848 80218268 8FB00010 */ lw $s0, 0x10($sp)
|
|
||||||
/* 4DA84C 8021826C 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 4DA850 80218270 03E00008 */ jr $ra
|
|
||||||
/* 4DA854 80218274 27BD0018 */ addiu $sp, $sp, 0x18
|
|
||||||
/* 4DA858 80218278 00000000 */ nop
|
|
||||||
/* 4DA85C 8021827C 00000000 */ nop
|
|
@ -1,21 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_802A11C0_743FB0
|
|
||||||
/* 743FB0 802A11C0 3C058011 */ lui $a1, %hi(gPlayerData)
|
|
||||||
/* 743FB4 802A11C4 24A5F290 */ addiu $a1, $a1, %lo(gPlayerData)
|
|
||||||
/* 743FB8 802A11C8 3C04802A */ lui $a0, %hi(D_802A4020)
|
|
||||||
/* 743FBC 802A11CC 24844020 */ addiu $a0, $a0, %lo(D_802A4020)
|
|
||||||
/* 743FC0 802A11D0 94A202A0 */ lhu $v0, 0x2a0($a1)
|
|
||||||
/* 743FC4 802A11D4 8C830000 */ lw $v1, ($a0)
|
|
||||||
/* 743FC8 802A11D8 0043102A */ slt $v0, $v0, $v1
|
|
||||||
/* 743FCC 802A11DC 10400003 */ beqz $v0, .L802A11EC
|
|
||||||
/* 743FD0 802A11E0 00000000 */ nop
|
|
||||||
/* 743FD4 802A11E4 94820002 */ lhu $v0, 2($a0)
|
|
||||||
/* 743FD8 802A11E8 A4A202A0 */ sh $v0, 0x2a0($a1)
|
|
||||||
.L802A11EC:
|
|
||||||
/* 743FDC 802A11EC 03E00008 */ jr $ra
|
|
||||||
/* 743FE0 802A11F0 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 743FE4 802A11F4 00000000 */ nop
|
|
||||||
/* 743FE8 802A11F8 00000000 */ nop
|
|
||||||
/* 743FEC 802A11FC 00000000 */ nop
|
|
@ -1,21 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_80238E04_6F1EE4
|
|
||||||
/* 6F1EE4 80238E04 27BDFFE0 */ addiu $sp, $sp, -0x20
|
|
||||||
/* 6F1EE8 80238E08 0000202D */ daddu $a0, $zero, $zero
|
|
||||||
/* 6F1EEC 80238E0C 3C013F80 */ lui $at, 0x3f80
|
|
||||||
/* 6F1EF0 80238E10 44810000 */ mtc1 $at, $f0
|
|
||||||
/* 6F1EF4 80238E14 3C05434E */ lui $a1, 0x434e
|
|
||||||
/* 6F1EF8 80238E18 3C064310 */ lui $a2, 0x4310
|
|
||||||
/* 6F1EFC 80238E1C 0000382D */ daddu $a3, $zero, $zero
|
|
||||||
/* 6F1F00 80238E20 AFBF0018 */ sw $ra, 0x18($sp)
|
|
||||||
/* 6F1F04 80238E24 AFA00014 */ sw $zero, 0x14($sp)
|
|
||||||
/* 6F1F08 80238E28 0C01C844 */ jal playFX_6C
|
|
||||||
/* 6F1F0C 80238E2C E7A00010 */ swc1 $f0, 0x10($sp)
|
|
||||||
/* 6F1F10 80238E30 8FBF0018 */ lw $ra, 0x18($sp)
|
|
||||||
/* 6F1F14 80238E34 3C018024 */ lui $at, %hi(D_8023CDA0)
|
|
||||||
/* 6F1F18 80238E38 AC22CDA0 */ sw $v0, %lo(D_8023CDA0)($at)
|
|
||||||
/* 6F1F1C 80238E3C 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 6F1F20 80238E40 03E00008 */ jr $ra
|
|
||||||
/* 6F1F24 80238E44 27BD0020 */ addiu $sp, $sp, 0x20
|
|
@ -1,15 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_80238E48_6F1F28
|
|
||||||
/* 6F1F28 80238E48 3C038024 */ lui $v1, %hi(D_8023CDA0)
|
|
||||||
/* 6F1F2C 80238E4C 8C63CDA0 */ lw $v1, %lo(D_8023CDA0)($v1)
|
|
||||||
/* 6F1F30 80238E50 3C014310 */ lui $at, 0x4310
|
|
||||||
/* 6F1F34 80238E54 44810000 */ mtc1 $at, $f0
|
|
||||||
/* 6F1F38 80238E58 8C62000C */ lw $v0, 0xc($v1)
|
|
||||||
/* 6F1F3C 80238E5C E4400008 */ swc1 $f0, 8($v0)
|
|
||||||
/* 6F1F40 80238E60 8C620000 */ lw $v0, ($v1)
|
|
||||||
/* 6F1F44 80238E64 34420010 */ ori $v0, $v0, 0x10
|
|
||||||
/* 6F1F48 80238E68 AC620000 */ sw $v0, ($v1)
|
|
||||||
/* 6F1F4C 80238E6C 03E00008 */ jr $ra
|
|
||||||
/* 6F1F50 80238E70 24020002 */ addiu $v0, $zero, 2
|
|
@ -1,33 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_80238E74_6F1F54
|
|
||||||
/* 6F1F54 80238E74 3C02800E */ lui $v0, %hi(gBattleStatus)
|
|
||||||
/* 6F1F58 80238E78 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
|
||||||
/* 6F1F5C 80238E7C 8C4500DC */ lw $a1, 0xdc($v0)
|
|
||||||
/* 6F1F60 80238E80 AC800084 */ sw $zero, 0x84($a0)
|
|
||||||
/* 6F1F64 80238E84 8443017C */ lh $v1, 0x17c($v0)
|
|
||||||
/* 6F1F68 80238E88 24020087 */ addiu $v0, $zero, 0x87
|
|
||||||
/* 6F1F6C 80238E8C 1062000A */ beq $v1, $v0, .L80238EB8
|
|
||||||
/* 6F1F70 80238E90 28620088 */ slti $v0, $v1, 0x88
|
|
||||||
/* 6F1F74 80238E94 10400005 */ beqz $v0, .L80238EAC
|
|
||||||
/* 6F1F78 80238E98 24020086 */ addiu $v0, $zero, 0x86
|
|
||||||
/* 6F1F7C 80238E9C 10620006 */ beq $v1, $v0, .L80238EB8
|
|
||||||
/* 6F1F80 80238EA0 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 6F1F84 80238EA4 0808E3B5 */ j .L80238ED4
|
|
||||||
/* 6F1F88 80238EA8 00000000 */ nop
|
|
||||||
.L80238EAC:
|
|
||||||
/* 6F1F8C 80238EAC 24020088 */ addiu $v0, $zero, 0x88
|
|
||||||
/* 6F1F90 80238EB0 14620008 */ bne $v1, $v0, .L80238ED4
|
|
||||||
/* 6F1F94 80238EB4 24020002 */ addiu $v0, $zero, 2
|
|
||||||
.L80238EB8:
|
|
||||||
/* 6F1F98 80238EB8 80A20220 */ lb $v0, 0x220($a1)
|
|
||||||
/* 6F1F9C 80238EBC 28420063 */ slti $v0, $v0, 0x63
|
|
||||||
/* 6F1FA0 80238EC0 14400004 */ bnez $v0, .L80238ED4
|
|
||||||
/* 6F1FA4 80238EC4 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 6F1FA8 80238EC8 24020001 */ addiu $v0, $zero, 1
|
|
||||||
/* 6F1FAC 80238ECC AC820084 */ sw $v0, 0x84($a0)
|
|
||||||
/* 6F1FB0 80238ED0 24020002 */ addiu $v0, $zero, 2
|
|
||||||
.L80238ED4:
|
|
||||||
/* 6F1FB4 80238ED4 03E00008 */ jr $ra
|
|
||||||
/* 6F1FB8 80238ED8 00000000 */ nop
|
|
@ -1,54 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_802390C8_6F21A8
|
|
||||||
/* 6F21A8 802390C8 27BDFFD0 */ addiu $sp, $sp, -0x30
|
|
||||||
/* 6F21AC 802390CC AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 6F21B0 802390D0 0080882D */ daddu $s1, $a0, $zero
|
|
||||||
/* 6F21B4 802390D4 AFBF0028 */ sw $ra, 0x28($sp)
|
|
||||||
/* 6F21B8 802390D8 AFB30024 */ sw $s3, 0x24($sp)
|
|
||||||
/* 6F21BC 802390DC AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 6F21C0 802390E0 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 6F21C4 802390E4 8E30000C */ lw $s0, 0xc($s1)
|
|
||||||
/* 6F21C8 802390E8 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 6F21CC 802390EC 0C0B1EAF */ jal get_variable
|
|
||||||
/* 6F21D0 802390F0 26100004 */ addiu $s0, $s0, 4
|
|
||||||
/* 6F21D4 802390F4 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 6F21D8 802390F8 26100004 */ addiu $s0, $s0, 4
|
|
||||||
/* 6F21DC 802390FC 0220202D */ daddu $a0, $s1, $zero
|
|
||||||
/* 6F21E0 80239100 0C0B1EAF */ jal get_variable
|
|
||||||
/* 6F21E4 80239104 0040982D */ daddu $s3, $v0, $zero
|
|
||||||
/* 6F21E8 80239108 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 6F21EC 8023910C 26100004 */ addiu $s0, $s0, 4
|
|
||||||
/* 6F21F0 80239110 0220202D */ daddu $a0, $s1, $zero
|
|
||||||
/* 6F21F4 80239114 0C0B1EAF */ jal get_variable
|
|
||||||
/* 6F21F8 80239118 0040902D */ daddu $s2, $v0, $zero
|
|
||||||
/* 6F21FC 8023911C 0220202D */ daddu $a0, $s1, $zero
|
|
||||||
/* 6F2200 80239120 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 6F2204 80239124 0C0B210B */ jal get_float_variable
|
|
||||||
/* 6F2208 80239128 0040802D */ daddu $s0, $v0, $zero
|
|
||||||
/* 6F220C 8023912C 24040006 */ addiu $a0, $zero, 6
|
|
||||||
/* 6F2210 80239130 44931000 */ mtc1 $s3, $f2
|
|
||||||
/* 6F2214 80239134 00000000 */ nop
|
|
||||||
/* 6F2218 80239138 468010A0 */ cvt.s.w $f2, $f2
|
|
||||||
/* 6F221C 8023913C 44051000 */ mfc1 $a1, $f2
|
|
||||||
/* 6F2220 80239140 44921000 */ mtc1 $s2, $f2
|
|
||||||
/* 6F2224 80239144 00000000 */ nop
|
|
||||||
/* 6F2228 80239148 468010A0 */ cvt.s.w $f2, $f2
|
|
||||||
/* 6F222C 8023914C 44061000 */ mfc1 $a2, $f2
|
|
||||||
/* 6F2230 80239150 44901000 */ mtc1 $s0, $f2
|
|
||||||
/* 6F2234 80239154 00000000 */ nop
|
|
||||||
/* 6F2238 80239158 468010A0 */ cvt.s.w $f2, $f2
|
|
||||||
/* 6F223C 8023915C 44071000 */ mfc1 $a3, $f2
|
|
||||||
/* 6F2240 80239160 2402002D */ addiu $v0, $zero, 0x2d
|
|
||||||
/* 6F2244 80239164 E7A00010 */ swc1 $f0, 0x10($sp)
|
|
||||||
/* 6F2248 80239168 0C01C82C */ jal playFX_6B
|
|
||||||
/* 6F224C 8023916C AFA20014 */ sw $v0, 0x14($sp)
|
|
||||||
/* 6F2250 80239170 8FBF0028 */ lw $ra, 0x28($sp)
|
|
||||||
/* 6F2254 80239174 8FB30024 */ lw $s3, 0x24($sp)
|
|
||||||
/* 6F2258 80239178 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 6F225C 8023917C 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 6F2260 80239180 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 6F2264 80239184 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 6F2268 80239188 03E00008 */ jr $ra
|
|
||||||
/* 6F226C 8023918C 27BD0030 */ addiu $sp, $sp, 0x30
|
|
@ -1,52 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_802384B0_703FA0
|
|
||||||
/* 703FA0 802384B0 27BDFFD8 */ addiu $sp, $sp, -0x28
|
|
||||||
/* 703FA4 802384B4 AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 703FA8 802384B8 0080882D */ daddu $s1, $a0, $zero
|
|
||||||
/* 703FAC 802384BC AFBF0024 */ sw $ra, 0x24($sp)
|
|
||||||
/* 703FB0 802384C0 AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 703FB4 802384C4 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 703FB8 802384C8 8E30000C */ lw $s0, 0xc($s1)
|
|
||||||
/* 703FBC 802384CC 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 703FC0 802384D0 0C0B1EAF */ jal get_variable
|
|
||||||
/* 703FC4 802384D4 26100004 */ addiu $s0, $s0, 4
|
|
||||||
/* 703FC8 802384D8 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 703FCC 802384DC 26100004 */ addiu $s0, $s0, 4
|
|
||||||
/* 703FD0 802384E0 0220202D */ daddu $a0, $s1, $zero
|
|
||||||
/* 703FD4 802384E4 0C0B1EAF */ jal get_variable
|
|
||||||
/* 703FD8 802384E8 0040902D */ daddu $s2, $v0, $zero
|
|
||||||
/* 703FDC 802384EC 0220202D */ daddu $a0, $s1, $zero
|
|
||||||
/* 703FE0 802384F0 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 703FE4 802384F4 0C0B1EAF */ jal get_variable
|
|
||||||
/* 703FE8 802384F8 0040802D */ daddu $s0, $v0, $zero
|
|
||||||
/* 703FEC 802384FC 24040008 */ addiu $a0, $zero, 8
|
|
||||||
/* 703FF0 80238500 44921000 */ mtc1 $s2, $f2
|
|
||||||
/* 703FF4 80238504 00000000 */ nop
|
|
||||||
/* 703FF8 80238508 468010A0 */ cvt.s.w $f2, $f2
|
|
||||||
/* 703FFC 8023850C 44051000 */ mfc1 $a1, $f2
|
|
||||||
/* 704000 80238510 44901000 */ mtc1 $s0, $f2
|
|
||||||
/* 704004 80238514 00000000 */ nop
|
|
||||||
/* 704008 80238518 468010A0 */ cvt.s.w $f2, $f2
|
|
||||||
/* 70400C 8023851C 44061000 */ mfc1 $a2, $f2
|
|
||||||
/* 704010 80238520 44821000 */ mtc1 $v0, $f2
|
|
||||||
/* 704014 80238524 00000000 */ nop
|
|
||||||
/* 704018 80238528 468010A0 */ cvt.s.w $f2, $f2
|
|
||||||
/* 70401C 8023852C 3C013FA6 */ lui $at, 0x3fa6
|
|
||||||
/* 704020 80238530 34216666 */ ori $at, $at, 0x6666
|
|
||||||
/* 704024 80238534 44810000 */ mtc1 $at, $f0
|
|
||||||
/* 704028 80238538 44071000 */ mfc1 $a3, $f2
|
|
||||||
/* 70402C 8023853C 24030037 */ addiu $v1, $zero, 0x37
|
|
||||||
/* 704030 80238540 AFA30014 */ sw $v1, 0x14($sp)
|
|
||||||
/* 704034 80238544 0C01C2EC */ jal playFX_33
|
|
||||||
/* 704038 80238548 E7A00010 */ swc1 $f0, 0x10($sp)
|
|
||||||
/* 70403C 8023854C 8FBF0024 */ lw $ra, 0x24($sp)
|
|
||||||
/* 704040 80238550 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 704044 80238554 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 704048 80238558 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 70404C 8023855C 3C018024 */ lui $at, %hi(D_80239A0C_7054FC)
|
|
||||||
/* 704050 80238560 AC229A0C */ sw $v0, %lo(D_80239A0C_7054FC)($at)
|
|
||||||
/* 704054 80238564 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 704058 80238568 03E00008 */ jr $ra
|
|
||||||
/* 70405C 8023856C 27BD0028 */ addiu $sp, $sp, 0x28
|
|
@ -1,55 +0,0 @@
|
|||||||
.set noat # allow manual use of $at
|
|
||||||
.set noreorder # don't insert nops after branches
|
|
||||||
|
|
||||||
glabel func_8023859C_70408C
|
|
||||||
/* 70408C 8023859C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
|
||||||
/* 704090 802385A0 AFB1001C */ sw $s1, 0x1c($sp)
|
|
||||||
/* 704094 802385A4 0080882D */ daddu $s1, $a0, $zero
|
|
||||||
/* 704098 802385A8 AFBF0024 */ sw $ra, 0x24($sp)
|
|
||||||
/* 70409C 802385AC AFB20020 */ sw $s2, 0x20($sp)
|
|
||||||
/* 7040A0 802385B0 AFB00018 */ sw $s0, 0x18($sp)
|
|
||||||
/* 7040A4 802385B4 8E30000C */ lw $s0, 0xc($s1)
|
|
||||||
/* 7040A8 802385B8 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 7040AC 802385BC 0C0B1EAF */ jal get_variable
|
|
||||||
/* 7040B0 802385C0 26100004 */ addiu $s0, $s0, 4
|
|
||||||
/* 7040B4 802385C4 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 7040B8 802385C8 26100004 */ addiu $s0, $s0, 4
|
|
||||||
/* 7040BC 802385CC 0220202D */ daddu $a0, $s1, $zero
|
|
||||||
/* 7040C0 802385D0 0C0B1EAF */ jal get_variable
|
|
||||||
/* 7040C4 802385D4 0040902D */ daddu $s2, $v0, $zero
|
|
||||||
/* 7040C8 802385D8 0220202D */ daddu $a0, $s1, $zero
|
|
||||||
/* 7040CC 802385DC 8E050000 */ lw $a1, ($s0)
|
|
||||||
/* 7040D0 802385E0 0C0B1EAF */ jal get_variable
|
|
||||||
/* 7040D4 802385E4 0040802D */ daddu $s0, $v0, $zero
|
|
||||||
/* 7040D8 802385E8 0000202D */ daddu $a0, $zero, $zero
|
|
||||||
/* 7040DC 802385EC 44921000 */ mtc1 $s2, $f2
|
|
||||||
/* 7040E0 802385F0 00000000 */ nop
|
|
||||||
/* 7040E4 802385F4 468010A0 */ cvt.s.w $f2, $f2
|
|
||||||
/* 7040E8 802385F8 44051000 */ mfc1 $a1, $f2
|
|
||||||
/* 7040EC 802385FC 44901000 */ mtc1 $s0, $f2
|
|
||||||
/* 7040F0 80238600 00000000 */ nop
|
|
||||||
/* 7040F4 80238604 468010A0 */ cvt.s.w $f2, $f2
|
|
||||||
/* 7040F8 80238608 44061000 */ mfc1 $a2, $f2
|
|
||||||
/* 7040FC 8023860C 44821000 */ mtc1 $v0, $f2
|
|
||||||
/* 704100 80238610 00000000 */ nop
|
|
||||||
/* 704104 80238614 468010A0 */ cvt.s.w $f2, $f2
|
|
||||||
/* 704108 80238618 3C013F80 */ lui $at, 0x3f80
|
|
||||||
/* 70410C 8023861C 44810000 */ mtc1 $at, $f0
|
|
||||||
/* 704110 80238620 44071000 */ mfc1 $a3, $f2
|
|
||||||
/* 704114 80238624 2403000A */ addiu $v1, $zero, 0xa
|
|
||||||
/* 704118 80238628 AFA30014 */ sw $v1, 0x14($sp)
|
|
||||||
/* 70411C 8023862C 0C01C664 */ jal playFX_58
|
|
||||||
/* 704120 80238630 E7A00010 */ swc1 $f0, 0x10($sp)
|
|
||||||
/* 704124 80238634 0040182D */ daddu $v1, $v0, $zero
|
|
||||||
/* 704128 80238638 8C64000C */ lw $a0, 0xc($v1)
|
|
||||||
/* 70412C 8023863C 3C018024 */ lui $at, %hi(D_8023C1B4)
|
|
||||||
/* 704130 80238640 AC23C1B4 */ sw $v1, %lo(D_8023C1B4)($at)
|
|
||||||
/* 704134 80238644 24030003 */ addiu $v1, $zero, 3
|
|
||||||
/* 704138 80238648 AC830030 */ sw $v1, 0x30($a0)
|
|
||||||
/* 70413C 8023864C 8FBF0024 */ lw $ra, 0x24($sp)
|
|
||||||
/* 704140 80238650 8FB20020 */ lw $s2, 0x20($sp)
|
|
||||||
/* 704144 80238654 8FB1001C */ lw $s1, 0x1c($sp)
|
|
||||||
/* 704148 80238658 8FB00018 */ lw $s0, 0x18($sp)
|
|
||||||
/* 70414C 8023865C 24020002 */ addiu $v0, $zero, 2
|
|
||||||
/* 704150 80238660 03E00008 */ jr $ra
|
|
||||||
/* 704154 80238664 27BD0028 */ addiu $sp, $sp, 0x28
|
|
Loading…
Reference in New Issue
Block a user