* various

* collision_main_lateral

* phys_adjust_cam_on_landing

* phys_main_collision_below

* 77480.c dun

* 7fd10 funcs

* 7bb60 funcs

* warningz

* map stuff

* PR comments
This commit is contained in:
Ethan Roseman 2022-04-11 02:34:35 -04:00 committed by GitHub
parent 5f47e1291f
commit 3a28a3f505
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
62 changed files with 1752 additions and 5813 deletions

View File

@ -2031,10 +2031,7 @@ typedef struct PlayerStatus {
/* 0x084 */ f32 currentYaw;
/* 0x088 */ f32 overlapPushYaw;
/* 0x08C */ f32 pitch;
/* 0x090 */ f32 unk_90;
/* 0x094 */ s32 unk_94;
/* 0x098 */ s32 unk_98;
/* 0x09C */ s32 unk_9C;
/* 0x090 */ f32 unk_90[4];
/* 0x0A0 */ f32 heading;
/* 0x0A4 */ s32 trueAnimation; ///< Encoding back-facing sprite
/* 0x0A8 */ f32 spriteFacingAngle; /* angle of sprite, relative to camera, from 0 to 180 */

View File

@ -525,8 +525,12 @@ enum SoundIDs {
SOUND_108 = 0x00000108,
SOUND_IMMUNE = 0x0000010C,
SOUND_HIT_BONES = 0x0000010D,
SOUND_133 = 0x00000133,
SOUND_134 = 0x00000134,
SOUND_STEP1 = 0x00000141,
SOUND_STEP2 = 0x00000142,
SOUND_143 = 0x00000143,
SOUND_144 = 0x00000144,
SOUND_TORNADO_JUMP = 0x00000147,
SOUND_SOFT_LAND = 0x00000148,
SOUND_LAND = 0x0000014B,
@ -683,7 +687,7 @@ enum Cams {
CAM_DEFAULT = 0,
CAM_BATTLE = 1,
CAM_TATTLE = 2,
CAM_CAM3 = 3,
CAM_3 = 3,
};
enum CamShakeModes {

View File

@ -188,7 +188,7 @@ s32 get_transform_group_index(s32);
void get_model_center_and_size(u16 modelID, f32* centerX, f32* centerY, f32* centerZ, f32* sizeX, f32* sizeY,
f32* sizeZ);
s32 collision_main_above(void);
s32 collision_lava_reset_check_additional_overlaps(void);
void collision_lava_reset_check_additional_overlaps(void);
s32 player_test_lateral_overlap(s32, PlayerStatus*, f32*, f32*, f32*, f32, f32);
Npc* peach_make_disguise_npc(s32 peachDisguise);
void peach_set_disguise_anim(s32);
@ -211,9 +211,12 @@ void transform_point(Matrix4f mtx, f32 inX, f32 inY, f32 inZ, f32 inS, f32* outX
void try_player_footstep_sounds(s32 arg0);
void phys_update_interact_collider(void);
s32 phys_adjust_cam_on_landing(void);
s32 phys_should_player_be_sliding(void);
void phys_init_integrator_for_current_state(void);
void phys_player_land(void);
void phys_main_collision_below(void);
void phys_peach_update(void);
void check_input_spin(void);
s32 npc_test_move_simple_without_slipping(s32, f32*, f32*, f32*, f32, f32, f32, f32);
@ -386,7 +389,8 @@ s32 npc_raycast_down_around(s32, f32*, f32*, f32*, f32*, f32, f32);
s32 npc_raycast_down_sides(s32, f32*, f32*, f32*, f32*);
s32 npc_raycast_up(s32, f32*, f32*, f32*, f32*);
s32 player_raycast_up_corners(PlayerStatus*, f32*, f32*, f32*, f32*, f32);
s32 player_raycast_below_cam_relative(PlayerStatus*, f32*, f32*, f32*, f32*, f32*, f32*, f32*, f32*);
s32 player_raycast_below_cam_relative(PlayerStatus* playerStatus, f32* outX, f32* outY, f32* outZ, f32* outLength,
f32* hitRx, f32* hitRz, f32* hitDirX, f32* hitDirZ);
s32 npc_test_move_taller_with_slipping(s32, f32*, f32*, f32*, f32, f32, f32, f32);
s32 npc_test_move_simple_with_slipping(s32, f32*, f32*, f32*, f32, f32, f32, f32);
s32 npc_test_move_complex_with_slipping(s32, f32*, f32*, f32*, f32, f32, f32, f32);
@ -640,6 +644,16 @@ void func_802B2000(void);
void func_802B203C(void);
void func_802B2078(void);
void func_802B20B4(void);
void func_802B6CF0_E2B3A0(void);
void func_802B7000_E225B0(void);
void func_802B70B4_E201C4(void);
void func_802B7140(void);
void func_802B71C8(void);
void func_802B71D4(void);
void func_802B72C0_E22870(void);
s32 func_802BD7DC(void);
void func_802BE070_31DBE0(void);
void func_802BFB44_323694(f32 arg0);
void initialize_curtains(void);
void update_curtains(void);
@ -780,18 +794,36 @@ void clear_printers(void);
void clear_item_entity_data(void);
void clear_player_data(void);
void phys_update_jump(void);
void phys_update_falling(void);
void check_input_midair_jump(void);
void collision_check_player_overlaps(void);
void update_player_input(void);
void phys_update_action_state(void);
void collision_main_lateral(void);
void func_800EFD08(void);
void check_input_open_menus(void);
void check_input_status_menu(void);
void enforce_hpfp_limits(void);
s32 should_collider_allow_interact(s32);
void func_800E98EC(void);
void func_800E9900(void);
void show_coin_counter(void);
s32 add_item(s32 itemID);
s32 add_badge(s32 itemID);
void hide_coin_counter_immediately(void);
void hide_popup_menu(void);
void destroy_popup_menu(void);
void reset_player_status(void);;
void func_800E4F10(void);
void func_800E5520(void);
void func_800E6B68(void);
s32 func_800E9860(void);
void func_800E98C4(void);
void func_800E98EC(void);
void func_800E9900(void);
void func_800F0D5C(void);
void func_800F0C9C(void);
s32 get_item_count(void);
s32 get_stored_empty_count(void);
s32 get_stored_count(void);
@ -846,6 +878,7 @@ void render_effects_world(void);
s32 get_asset_offset(char*, s32*);
void initialize_status_menu(void);
void status_menu_start_blinking_fp(void);
s32 is_status_menu_visible(void);
void status_menu_start_blinking_hp(void);
void status_menu_start_blinking_sp(void);
void status_menu_stop_blinking_fp(void);
@ -873,10 +906,10 @@ void func_80268770(s32, s32, s32);
void func_80268C9C(void);
void func_80268E88(void);
s32 check_block_input(s32 buttonMask);
void func_802B6CF0_E2B3A0(void);
void func_80269160(void);
void func_800E24F8(void);
void load_tattle_flags(s32);
s32 use_consumable(s32 invSlot);
void remove_consumable(void);
void delete_shadow(s32);
void repartner_set_tether_distance(void);
@ -913,7 +946,6 @@ void clear_effect_data(void);
void clear_saved_variables(void);
void clear_area_flags(void);
void func_802BFB44_323694(f32 arg0);
f32 get_player_normal_pitch(void);
void partner_kill_ability_script(void);
void func_800EF3D4(s32);

View File

@ -1,73 +1,45 @@
#include "common.h"
#include "ld_addrs.h"
#include "world/actions.h"
#include "sprite.h"
// TODO linker stuff
#define E20110_VRAM_DEF (void*)0x802B7000
#define E20EB0_VRAM_DEF (void*)0x802B7000
#define E21870_VRAM_DEF (void*)0x802B7000
#define E225B0_VRAM_DEF (void*)0x802B7000
void appendGfx_player(void* data);
void appendGfx_player_spin(void* data);
void func_800F0C9C(void);
extern UNK_FUN_PTR(D_8010C93C);
extern s32 GoombarioGetTattleID;
extern s8 D_8015A57A;
extern f32 D_800F7B48;
extern s32 D_800F7B4C;
extern UNK_FUN_PTR(D_8010C93C);
extern s8 D_8015A57A;
extern s32 GoombarioGetTattleID;
s32 func_802B7140(void);
void func_802B72C0_E22870(void);
void func_802B70B4_E201C4(void);
s32 player_raycast_down(f32*, f32*, f32*, f32*);
s32 player_raycast_up_corner(f32* x, f32* y, f32* z, f32* length);
s32 player_raycast_general(s32, f32, f32, f32, f32, f32, f32, f32*, f32*, f32*, f32*, f32*, f32*, f32*);
void player_get_slip_vector(f32* outX, f32* outY, f32 x, f32 y, f32 nX, f32 nY);
void phys_update_standard(void);
void phys_update_lava_reset(void);
void update_player_blink(void);
void check_for_ispy(void);
void func_800E0330(void);
void check_for_pulse_stone(void);
void func_800E0374(void);
void func_800E04D0(void);
void func_800E0514(void);
void check_for_conversation_prompt(void);
void func_800E0658(void);
void func_800E069C(void);
void check_for_interactables(void);
void func_800E0AD0(void);
void func_800E0B14(void);
void update_partner_timers(void);
void update_player_shadow(void);
void check_for_interactables(void);
s32 player_raycast_down(f32*, f32*, f32*, f32*);
void update_player_input(void);
void update_player_blink(void);
void phys_update_action_state(void);
void collision_main_lateral(void);
void phys_update_standard(void);
void phys_update_lava_reset(void);
void func_800EFD08(void);
void func_800E0B90(void);
void check_input_open_menus(void);
void check_input_status_menu(void);
void check_for_conversation_prompt(void);
void check_for_pulse_stone(void);
void check_for_ispy(void);
s32 partner_use_ability(void);
void phys_update_jump(void);
void phys_update_falling(void);
void check_input_midair_jump(void);
void collision_check_player_overlaps(void);
void func_800E4F10(void);
void func_802BE070_31DBE0(void);
void reset_player_status(void);
void func_800E6B68(void);
void func_800E5520(void);
void func_802B7000_E225B0(void);
void func_802B71D4(void);
void func_802B71C8(void);
void func_800EF3D4(s32);
void spr_draw_player_sprite(s32, s32, s32, s32, Matrix4f);
void func_802DDEE4(s32, s32, s32, s32, s32, s32, s32, s32);
void func_802DDFF8(u32, s32, s32, s32, s32, s32, s32);
f32 get_player_normal_pitch(void);
s32 player_raycast_up_corner(f32* x, f32* y, f32* z, f32* length);
void player_get_slip_vector(f32* outX, f32* outY, f32 x, f32 y, f32 nX, f32 nY);
s32 player_raycast_general(s32, f32, f32, f32, f32, f32, f32, f32*, f32*, f32*, f32*, f32*, f32*, f32*);
s32 get_player_back_anim(s32 arg0);
void appendGfx_player(void* data);
void appendGfx_player_spin(void* data);
void update_player_shadow(void);
s32 player_raycast_below(f32 yaw, f32 diameter, f32* outX, f32* outY, f32* outZ, f32* outLength, f32* hitRx, f32* hitRz,
f32* hitDirX, f32* hitDirZ) {
@ -652,7 +624,7 @@ void update_player(void) {
if (playerStatus->flags & PLAYER_STATUS_ANIM_FLAGS_USING_PEACH_PHYSICS) {
phys_update_action_state();
if (func_800E0208() == 0) {
if (!func_800E0208()) {
collision_main_lateral();
}
} else if (playerStatus->actionState != ACTION_STATE_HIT_LAVA) {
@ -991,13 +963,15 @@ void func_800E01DC(void) {
}
s32 func_800E0208(void) {
s32 ret = 0;
s32 ret = FALSE;
if (gGameStatusPtr->disableScripts && (gGameStatusPtr->currentButtons & PLAYER_STATUS_FLAGS_10)) {
if (gGameStatusPtr->disableScripts &&
(gGameStatusPtr->currentButtons & PLAYER_STATUS_FLAGS_10))
{
if (gPartnerActionStatus.actionState.b[0] == 0) {
set_action_state(ACTION_STATE_IDLE);
}
ret = 1;
ret = TRUE;
}
return ret;
}
@ -1065,7 +1039,7 @@ void check_for_pulse_stone(void) {
if (!(gPlayerStatus.animFlags & (PLAYER_STATUS_ANIM_FLAGS_SPEECH_PROMPT_AVAILABLE | PLAYER_STATUS_ANIM_FLAGS_INTERACT_PROMPT_AVAILABLE))) {
dma_copy(E21870_ROM_START, E21870_ROM_END, E21870_VRAM_DEF);
D_8010C920 = (void*)&func_802B7140;
D_8010C920 = func_802B7140;
}
}
@ -1181,7 +1155,7 @@ s32 func_800E06D8(void) {
return TRUE;
}
static const f32 pad[1] = { 0.0f};
static const f32 padding = 0.0f;
void check_for_interactables(void) {
PlayerStatus* playerStatus = &gPlayerStatus;
@ -1280,7 +1254,7 @@ void check_for_interactables(void) {
if (D_8010C958 == NULL) {
dma_copy(E20110_ROM_START, E20110_ROM_END, E20110_VRAM_DEF);
D_8010C958 = &func_802B70B4_E201C4;
D_8010C958 = func_802B70B4_E201C4;
}
@ -1316,9 +1290,153 @@ void update_partner_timers(void) {
}
}
INCLUDE_ASM(s32, "77480", func_800E0B90);
void func_800E0B90(void) {
PlayerStatus* playerStatus = &gPlayerStatus;
f32 cameraYaw = gCameras[gCurrentCameraID].currentYaw;
f32 temp_f20 = get_clamped_angle_diff(cameraYaw, playerStatus->currentYaw);
s32 trueAnim;
s32 animByte;
f32 unk_90;
s32 phi_v1;
f32 phi_f0;
INCLUDE_ASM(s32, "77480", get_player_back_anim);
D_800F7B48 = 0.0f;
if (temp_f20 < -5.0f && temp_f20 > -175.0f) {
temp_f20 = 0.0f;
phi_v1 = 0;
} else if (temp_f20 > 5.0f && temp_f20 < 175.0f) {
temp_f20 = 180.0f;
phi_v1 = 1;
} else {
temp_f20 = D_800F7B40;
phi_v1 = 2;
}
if (D_8010C95C != phi_v1 && phi_v1 != 2) {
D_8010C95C = phi_v1;
playerStatus->unk_90[gCurrentCameraID] = (phi_v1 != 0) ? 180.0f : -180.0f;
if (fabsf(get_clamped_angle_diff(cameraYaw, playerStatus->currentYaw)) >= 90.0f) {
playerStatus->unk_90[gCurrentCameraID] = -playerStatus->unk_90[gCurrentCameraID];
}
}
unk_90 = playerStatus->unk_90[gCurrentCameraID];
if (unk_90 != 0.0f) {
if (unk_90 < 0.0f) {
unk_90 += 28.0f;
if (unk_90 > 0.0f) {
unk_90 = 0.0f;
}
}
if (unk_90 > 0.0f) {
unk_90 -= 28.0f;
if (unk_90 < 0.0f) {
unk_90 = 0.0f;
}
}
}
if (playerStatus->flags & 0x200000) {
unk_90 = 0.0f;
}
playerStatus->unk_90[gCurrentCameraID] = unk_90;
D_800F7B40 = unk_90 = clamp_angle(temp_f20);
unk_90 = clamp_angle(playerStatus->unk_90[gCurrentCameraID] + unk_90);
if (playerStatus->currentSpeed == 0.0f) {
D_800F7B48 = 0.0f;
}
trueAnim = playerStatus->anim;
if (playerStatus->flags & 0x20000) {
playerStatus->trueAnimation = trueAnim;
} else {
animByte = (trueAnim >> 0x10) & 0xFF;
if (playerStatus->actionState != 0xF && !(playerStatus->flags & 0x100000)) {
playerStatus->spriteFacingAngle = unk_90 + D_800F7B48;
trueAnim = playerStatus->anim;
if (!(playerStatus->flags & 0x10000000) &&
(animByte == 1 || animByte == 6 || animByte == 10) &&
fabsf(get_clamped_angle_diff(cameraYaw, playerStatus->currentYaw)) < 60.0f)
{
trueAnim = get_player_back_anim(trueAnim);
}
playerStatus->trueAnimation = trueAnim;
playerStatus->currentYaw = playerStatus->targetYaw;
} else {
trueAnim = playerStatus->anim;
if (!(playerStatus->flags & 0x10000000) &&
(animByte == 1 || animByte == 6 || animByte == 10) &&
playerStatus->spriteFacingAngle < 350.0f &&
playerStatus->spriteFacingAngle > 190.0f)
{
trueAnim = get_player_back_anim(trueAnim);
}
playerStatus->trueAnimation = trueAnim;
}
}
phi_f0 = 1.0f;
if (playerStatus->flags & 0x40000) {
phi_f0 = 0.5f;
}
if (playerStatus->flags & 0x20000000) {
phi_f0 = 0.0f;
}
playerStatus->unk_BC = spr_update_player_sprite(0, playerStatus->trueAnimation, phi_f0);
playerStatus->flags |= 0x40000000;
}
s32 get_player_back_anim(s32 arg0) {
s32 animByte = (arg0 >> 16) & 0xff;
s32 ret = 0;
if (animByte != 1) {
if (animByte != 6 && animByte != 10) {
return arg0;
}
if (animByte == 1) {
if (arg0 > 0x1000C) {
return arg0;
}
} else if (animByte == 6) {
if (arg0 == 0x6000C) {
ret = 0x6000D;
} else if (arg0 == 0x6000E) {
ret = 0x6000F;
} else if (arg0 == 0x60010) {
ret = 0x60011;
} else if (arg0 == 0x60012) {
ret = 0x60013;
} else if (arg0 == 0x60014) {
ret = 0x60015;
} else if (arg0 == 0x60016) {
ret = 0x60017;
} else if (arg0 == 0x60018) {
ret = 0x60019;
} else if (arg0 == 0x6001A) {
ret = 0x6001B;
}
} else if (animByte == 10) {
if (arg0 > 0xA0006) {
ret = arg0 + 1;
}
}
} else if (arg0 > 0x1000C) {
return arg0;
}
if (ret != 0) {
return ret;
} else {
return arg0 | 0x1000000;
}
}
void render_player(void) {
if (!gGameStatusPtr->disableScripts) {
@ -1349,7 +1467,7 @@ void render_player_model(void) {
playerStatus->renderMode = renderModeTemp;
func_802DDEE4(0, -1, 7, 0, 0, 0, playerStatus->alpha1, 0);
} else {
playerStatus->renderMode = RENDER_MODE_ALPHATEST;
func_802DDEE4(0, -1, 0, 0, 0, 0, 0, 0);
@ -1367,7 +1485,7 @@ void render_player_model(void) {
rtPtr->appendGfxArg = playerStatus;
rtPtr->distance = -z;
rtPtr->renderMode = playerStatus->renderMode;
if (!(playerStatus->flags & PLAYER_STATUS_ANIM_FLAGS_20000)) {
appendGfx = appendGfx_player;

View File

@ -36,9 +36,8 @@ void update_player_input(void) {
}
}
#ifdef NON_EQUIVALENT
#ifdef NON_MATCHING
void reset_player_status(void) {
s32* temp8010C92C = &D_8010C92C;
PlayerStatus* playerStatus = &gPlayerStatus;
MapConfig* mapConfig;
f32 one;
@ -49,7 +48,7 @@ void reset_player_status(void) {
D_8010C920 = 0;
D_8010C940 = 0;
D_8010C958 = 0;
*temp8010C92C = 0;
D_8010C92C = 0;
D_8010C95C = 0;
D_8010C980 = 0;
D_800F7B40 = 0;
@ -72,37 +71,37 @@ void reset_player_status(void) {
playerStatus->animFlags |= 0x1000;
if (gGameStatusPtr->peachFlags & 2) {
*temp8010C92C = 2;
D_8010C92C = 2;
playerStatus->peachDisguise = gGameStatusPtr->peachDisguise;
}
} else {
playerStatus->colliderHeight = 37;
playerStatus->colliderDiameter = 26;
gGameStatusPtr->peachAnimIdx = 0;
gGameStatusPtr->peachCookingIngredient = 0;
}
// This grossness is needed for matching
floatsTemp = &DefaultMoveSpeeds[0];
playerStatus->walkSpeed = *(floatsTemp++) * one;
playerStatus->runSpeed = *(floatsTemp++) * one;
playerStatus->unk_6C = *(floatsTemp++) * one;
playerStatus->maxJumpSpeed = *(floatsTemp++) * one;
set_action_state(ACTION_STATE_IDLE);
playerStatus->currentSpeed = 0.0f;
playerStatus->targetYaw = 0.0f;
playerStatus->unk_64 = 0.0f;
playerStatus->unk_88 = 0.0f;
playerStatus->overlapPushAmount = 0.0f;
playerStatus->overlapPushYaw = 0.0f;
playerStatus->anim = 0;
playerStatus->decorationList = 0;
playerStatus->position.x = 0.0f;
playerStatus->position.y = 0.0f;
playerStatus->position.z = 0.0f;
playerStatus->currentYaw = 0.0f;
playerStatus->unk_90 = 0.0f;
playerStatus->unk_94 = 0;
playerStatus->unk_98 = 0;
playerStatus->unk_9C = 0;
playerStatus->unk_90[CAM_DEFAULT] = 0.0f;
playerStatus->unk_90[CAM_BATTLE] = 0.0f;
playerStatus->unk_90[CAM_TATTLE] = 0.0f;
playerStatus->unk_90[CAM_3] = 0.0f;
mapConfig = gAreas[gGameStatusPtr->areaID].maps[gGameStatusPtr->mapID].config;
@ -120,7 +119,7 @@ void reset_player_status(void) {
gCameras->targetPos.z = playerStatus->position.z;
phys_reset_spin_history(mapConfig);
mem_clear(&gPlayerSpinState, sizeof(PlayerSpinState));
mem_clear(&gPlayerSpinState, sizeof(gPlayerSpinState));
}
#else
INCLUDE_ASM(s32, "7B440", reset_player_status);

View File

@ -18,7 +18,146 @@ void func_800E5520(void) {
D_8010C9B0 = 0;
}
INCLUDE_ASM(s32, "7bb60_len_41b0", phys_adjust_cam_on_landing, void);
s32 phys_adjust_cam_on_landing(void) {
PartnerActionStatus* partnerActionStatus = &gPartnerActionStatus;
GameStatus* gameStatus = gGameStatusPtr;
PlayerStatus* playerStatus = &gPlayerStatus;
s32 ret = 1;
switch (gameStatus->areaID) {
case AREA_OBK:
ret = gameStatus->mapID != 4;
break;
case AREA_ISK:
switch (gameStatus->mapID) {
case 0:
ret = 2;
break;
case 1:
if (D_8010C9B0 == 0) {
if (playerStatus->position.y <= 0.0f) {
D_8010C9B0 = 1;
}
ret = 2;
} else if (playerStatus->position.y > 0.0f) {
ret = 0;
}
break;
case 3:
if (playerStatus->position.y > 25.0f) {
ret = 0;
}
break;
case 4:
if (playerStatus->position.y > 50.0f) {
ret = 0;
}
break;
case 7:
if (playerStatus->position.y > -390.0f) {
ret = 0;
} else if (playerStatus->position.y < -495.0f) {
ret = 0;
}
break;
case 8:
if (playerStatus->position.y > -90.0f) {
ret = 0;
} else if (playerStatus->position.y < -370.0f) {
ret = 0;
}
break;
case 2:
if (gGameStatusPtr->entryID == 0) {
if (D_8010C9B0 == 0) {
if (!(playerStatus->position.y > 0.0f)) {
D_8010C9B0 = 1;
} else {
ret = 2;
break;
}
}
if (playerStatus->position.y > 0.0f) {
ret = 0;
}
} else {
ret = 2;
}
break;
case 5:
if (gGameStatusPtr->entryID == 0) {
if (D_8010C9B0 == 0) {
if (!(playerStatus->position.y > -130.0f)) {
D_8010C9B0 = 1;
} else {
ret = 2;
break;
}
}
if (playerStatus->position.y > -130.0f) {
ret = 0;
}
} else {
ret = 2;
}
break;
case 10:
if (D_8010C9B0 == 0) {
if (!(playerStatus->position.y > -520.0f)) {
D_8010C9B0 = 1;
} else {
ret = 2;
break;
}
}
if (playerStatus->position.y > -520.0f) {
ret = 0;
}
break;
case 11:
if (gGameStatusPtr->entryID == 0) {
if (D_8010C9B0 == 0) {
if (!(playerStatus->position.y > -520.0f)) {
D_8010C9B0 = 1;
} else {
ret = 2;
break;
}
}
if (playerStatus->position.y > -520.0f) {
ret = 0;
}
}
if (evt_get_variable(NULL, EVT_STORY_PROGRESS) >= STORY_CH2_DRAINED_THIRD_SAND_ROOM) {
ret = 2;
}
break;
}
break;
}
if (ret == 1) {
if ((get_collider_type_by_id(gCollisionStatus.currentFloor) & 0xFF) == 3) {
ret = 0;
gCameras[0].moveFlags |= 0x1;
} else {
gCameras[0].moveFlags &= ~0x1;
}
} else if (partnerActionStatus->actionState.b[0] != 0 && partnerActionStatus->actionState.b[3] == 4) {
gCameras[0].moveFlags |= 0x2;
} else {
gCameras[0].moveFlags &= ~0x2;
}
return ret;
}
void phys_clear_spin_history(void) {
s32 i;
@ -64,11 +203,78 @@ void phys_reset_spin_history(void) {
D_8010C924 = NULL;
}
INCLUDE_ASM(s32, "7bb60_len_41b0", phys_update_action_state);
void phys_update_action_state(void) {
Camera* cameras = gCameras;
PartnerActionStatus* partnerActionStatus = &gPartnerActionStatus;
PlayerStatus* playerStatus = &gPlayerStatus;
PlayerSpinState* playerSpinState = &gPlayerSpinState;
if (!(playerStatus->flags & PLAYER_STATUS_ANIM_FLAGS_40000)) {
playerStatus->flags &= ~PLAYER_STATUS_ANIM_FLAGS_20000000;
}
if (playerStatus->animFlags & PLAYER_STATUS_ANIM_FLAGS_USING_PEACH_PHYSICS) {
phys_peach_update();
return;
}
if (playerStatus->unk_C5 != 0) {
playerStatus->unk_C5--;
if (playerStatus->unk_C5 == 0) {
gCameras[CAM_DEFAULT].moveFlags |= 4;
}
}
if (playerStatus->decorationList != 0) {
if (playerStatus->gravityIntegrator[0] <= 0.0f && D_800F7B90 > 0.0f) {
playerStatus->unk_C2 = playerStatus->decorationList;
}
D_800F7B90 = playerStatus->gravityIntegrator[0];
}
func_800E24F8();
if (playerSpinState->stopSoundTimer != 0) {
playerSpinState->stopSoundTimer--;
if (playerSpinState->stopSoundTimer == 0) {
playerStatus->animFlags &= ~PLAYER_STATUS_ANIM_FLAGS_SPINNING;
if (playerSpinState->spinSoundID != 0) {
sfx_stop_sound(playerSpinState->spinSoundID);
}
}
}
do {
s32 actionState = playerStatus->actionState;
if (actionState == ACTION_STATE_IDLE || actionState == ACTION_STATE_WALK || actionState == ACTION_STATE_RUN) {
s32 cond;
if (!(playerStatus->flags & PLAYER_STATUS_FLAGS_INPUT_DISABLED)) {
cond = check_conversation_trigger();
} else {
cond = FALSE;
}
if ((partnerActionStatus->actionState.b[0] == 0) && !(playerStatus->flags & 0x20) && cond) {
set_action_state(0xC);
}
check_input_spin();
}
if (playerStatus->flags & PLAYER_STATUS_FLAGS_ACTION_STATE_CHANGED) {
void* dmaStart = PlayerActionsTable[playerStatus->actionState].dmaStart;
if (dmaStart != NULL && dmaStart != D_8010C924) {
D_8010C924 = dmaStart;
dma_copy(dmaStart, PlayerActionsTable[playerStatus->actionState].dmaEnd, (void* )0x802B6000); // TODO fix
}
}
PlayerActionsTable[playerStatus->actionState].update();
} while (playerStatus->flags & PLAYER_STATUS_FLAGS_ACTION_STATE_CHANGED);
}
void phys_peach_update(void) {
PlayerStatus* playerStatus = &gPlayerStatus;
Action* action;
func_800E24F8();
@ -78,7 +284,8 @@ void phys_peach_update(void) {
}
if (playerStatus->flags & PLAYER_STATUS_FLAGS_ACTION_STATE_CHANGED) {
action = &PlayerActionsTable[playerStatus->actionState];
Action* action = &PlayerActionsTable[playerStatus->actionState];
if (action->flag) {
if (action->dmaStart != NULL && action->dmaStart != D_8010C924) {
D_8010C924 = action->dmaStart;
@ -109,12 +316,12 @@ void set_action_state(s32 actionState) {
PlayerData* playerData = &gPlayerData;
PlayerSpinState* spinState = &gPlayerSpinState;
if (playerStatus->flags & 0x200) {
playerStatus->flags &= ~0x200;
if (playerStatus->flags & PLAYER_STATUS_FLAGS_200) {
playerStatus->flags &= ~PLAYER_STATUS_FLAGS_200;
enable_player_input();
}
if (playerStatus->animFlags & 0x4000) {
if (playerStatus->animFlags & PLAYER_STATUS_ANIM_FLAGS_8BIT_MARIO) {
// TODO figure this out
#ifdef NON_EQUIVALENT
if (
@ -131,7 +338,7 @@ void set_action_state(s32 actionState) {
#endif
playerStatus->prevActionState = playerStatus->actionState;
playerStatus->actionState = actionState;
playerStatus->flags |= 0x80000000;
playerStatus->flags |= PLAYER_STATUS_FLAGS_ACTION_STATE_CHANGED;
}
return;
}
@ -149,16 +356,16 @@ void set_action_state(s32 actionState) {
if (partner == PARTNER_SUSHIE || partner == PARTNER_LAKILESTER || partner == PARTNER_PARAKARRY) {
if (gPartnerActionStatus.actionState.b[0] != 0) {
playerStatus->animFlags |= 0x4;
playerStatus->flags |= 0x800;
playerStatus->flags |= PLAYER_STATUS_FLAGS_800;
return;
}
}
}
if (actionState == ACTION_STATE_SLIDING) {
playerStatus->flags |= 0x10;
playerStatus->flags |= PLAYER_STATUS_FLAGS_10;
playerStatus->moveFrames = 0;
playerStatus->flags &= ~0x4000;
playerStatus->flags &= ~PLAYER_STATUS_FLAGS_4000;
}
playerStatus->prevActionState = playerStatus->actionState;
@ -170,14 +377,14 @@ void set_action_state(s32 actionState) {
playerStatus->animFlags |= 4;
}
playerStatus->actionState = actionState;
playerStatus->flags |= 0x80000000;
playerStatus->flags |= PLAYER_STATUS_FLAGS_ACTION_STATE_CHANGED;
if (playerStatus->actionState == ACTION_STATE_SPIN) {
return;
}
playerStatus->flags &= ~0x20000;
playerStatus->animFlags &= ~0x10000;
playerStatus->flags &= ~PLAYER_STATUS_FLAGS_20000;
playerStatus->animFlags &= ~PLAYER_STATUS_ANIM_FLAGS_SPINNING;
if (spinState->spinSoundID != 0) {
sfx_stop_sound(spinState->spinSoundID);
@ -191,10 +398,14 @@ void set_action_state(s32 actionState) {
void update_locomotion_state(void) {
PlayerStatus* playerStatus = &gPlayerStatus;
do { } while (0); // required to match
set_action_state((!is_ability_active(ABILITY_SLOW_GO)
&& (SQ(playerStatus->stickAxis[0]) + SQ(playerStatus->stickAxis[1]) >= 0xBD2)) ? ACTION_STATE_RUN : ACTION_STATE_WALK);
if (!is_ability_active(ABILITY_SLOW_GO) &&
SQ(playerStatus->stickAxis[0]) + SQ(playerStatus->stickAxis[1]) > SQ(55))
{
set_action_state(ACTION_STATE_RUN);
} else {
set_action_state(ACTION_STATE_WALK);
}
}
void start_falling(void) {
@ -228,26 +439,69 @@ void start_bounce_b(void) {
playerStatus->flags |= 0x800000;
}
// TODO playerData isn't used
s32 check_input_hammer(void) {
PlayerStatus* playerStatus = &gPlayerStatus;
PlayerData* playerData = &gPlayerData;
if (gPlayerStatus.pressedButtons & BUTTON_B) {
if (!(gPlayerStatus.flags & 4)) {
if (gPartnerActionStatus.actionState.b[0] != 1 || gPlayerData.currentPartner != PARTNER_WATT) {
if (gPlayerData.hammerLevel != -1) {
set_action_state(ACTION_STATE_HAMMER);
return TRUE;
if (playerStatus->pressedButtons & BUTTON_B) {
if (playerStatus->flags & PLAYER_STATUS_FLAGS_FALLING) {
return FALSE;
}
if (gPartnerActionStatus.actionState.b[0] == 1 && playerData->currentPartner == PARTNER_WATT) {
return FALSE;
}
if (playerData->hammerLevel == -1) {
return FALSE;
}
set_action_state(ACTION_STATE_HAMMER);
return TRUE;
}
return FALSE;
}
s32 check_input_jump(void) {
PlayerStatus* playerStatus = &gPlayerStatus;
CollisionStatus* collisionStatus = &gCollisionStatus;
if (!(playerStatus->pressedButtons & BUTTON_A)) {
return FALSE;
}
if ((get_collider_type_by_id((u16)collisionStatus->currentFloor) == 5) && phys_should_player_be_sliding()) {
return FALSE;
}
if (collisionStatus->touchingWallTrigger != 0 ||
(playerStatus->animFlags & (PLAYER_STATUS_ANIM_FLAGS_SPEECH_PROMPT_AVAILABLE |
PLAYER_STATUS_ANIM_FLAGS_INTERACT_PROMPT_AVAILABLE)))
{
return FALSE;
}
if ((collisionStatus->unk_0A != -1) && (collisionStatus->unk_0A & 0x4000)) {
Entity* entity = get_entity_by_index(collisionStatus->unk_0A);
if (entity->flags & ENTITY_FLAGS_SHOWS_INSPECT_PROMPT) {
if ((entity->boundScriptBytecode == 0) || (entity->flags & ENTITY_FLAGS_4000)) {
if (entity->type == ENTITY_TYPE_PINK_FLOWER ||
entity->type == ENTITY_TYPE_BELLBELL_PLANT ||
entity->type == ENTITY_TYPE_TRUMPET_PLANT)
{
return FALSE;
}
} else {
return FALSE;
}
}
}
return FALSE;
set_action_state(ACTION_STATE_JUMP);
return TRUE;
}
INCLUDE_ASM(s32, "7bb60_len_41b0", check_input_jump, void);
void check_input_spin(void) {
PlayerStatus* playerStatus = &gPlayerStatus;
PlayerSpinState* spinState = &gPlayerSpinState;
@ -265,7 +519,7 @@ void check_input_spin(void) {
if (actionState != ACTION_STATE_RIDE) {
if (actionState < ACTION_STATE_STEP_UP) {
if (actionState < ACTION_STATE_JUMP) {
if (actionState >= 0 && !(playerStatus->animFlags & 0x10000)) {
if (actionState >= 0 && !(playerStatus->animFlags & PLAYER_STATUS_ANIM_FLAGS_SPINNING)) {
if (btnPressed || spinState->hasBufferedSpin) {
set_action_state(ACTION_STATE_SPIN);
if (spinState->hasBufferedSpin != FALSE) {
@ -350,11 +604,10 @@ void peach_sync_disguise_npc(void) {
}
}
#ifdef NON_EQUIVALENT
Npc* peach_make_disguise_npc(s32 peachDisguise) {
PlayerStatus* playerStatus = &gPlayerStatus;
NpcBlueprint blueprint;
NpcBlueprint bp;
NpcBlueprint* bpPtr = &bp;
Npc* npc;
f32 yaw;
@ -364,18 +617,20 @@ Npc* peach_make_disguise_npc(s32 peachDisguise) {
playerStatus->colliderHeight = 37;
playerStatus->colliderDiameter = 38;
playerStatus->peachDisguise = gGameStatusPtr->peachDisguise = peachDisguise;
playerStatus->peachDisguise = peachDisguise;
gGameStatusPtr->peachDisguise = peachDisguise;
blueprint.flags = NPC_FLAG_ENABLE_HIT_SCRIPT | NPC_FLAG_40 | NPC_FLAG_100 | NPC_FLAG_40000;
blueprint.initialAnim = BasicPeachDisguiseAnims[playerStatus->peachDisguise].idle;
blueprint.onRender = NULL;
blueprint.onUpdate = NULL;
D_8010C96C = _create_npc_standard(&blueprint, &PeachDisguiseExtraAnims[playerStatus->peachDisguise]);
bpPtr->flags = NPC_FLAG_ENABLE_HIT_SCRIPT | NPC_FLAG_40 | NPC_FLAG_100 | NPC_FLAG_40000;
bpPtr->initialAnim = BasicPeachDisguiseAnims[playerStatus->peachDisguise].idle;
bpPtr->onUpdate = NULL;
bpPtr->onRender = NULL;
D_8010C96C = _create_npc_standard(bpPtr, PeachDisguiseExtraAnims[playerStatus->peachDisguise]);
npc = get_npc_by_index(D_8010C96C);
disable_npc_shadow(npc);
if (playerStatus->spriteFacingAngle >= 90.0f && playerStatus->spriteFacingAngle < 270.0f) {
if (!(playerStatus->spriteFacingAngle >= 90.0f) || !(playerStatus->spriteFacingAngle < 270.0f)) {
yaw = 180.0f;
} else {
yaw = 0.0f;
@ -389,9 +644,29 @@ Npc* peach_make_disguise_npc(s32 peachDisguise) {
return npc;
}
#else
INCLUDE_ASM(Npc*, "7bb60_len_41b0", peach_make_disguise_npc, s32 peachDisguise);
#endif
INCLUDE_ASM(s32, "7bb60_len_41b0", peach_disguise_check_overlaps);
void peach_disguise_check_overlaps(void) {
PlayerStatus* playerStatus = &gPlayerStatus;
Camera* camera = &gCameras[gCurrentCameraID];
f32 yaw;
f32 sinTheta;
f32 cosTheta;
s32 phi_s1;
s32 i;
if (playerStatus->spriteFacingAngle >= 90.0f && playerStatus->spriteFacingAngle < 270.0f) {
yaw = camera->currentYaw - 270.0f;
} else {
yaw = camera->currentYaw - 90.0f;
}
sin_cos_rad(clamp_angle(yaw) * TAU / 360.0f, &sinTheta, &cosTheta);
for (phi_s1 = 2, i = 2; i > 0; i--, phi_s1 += 18) {
f32 x = playerStatus->position.x + (sinTheta * phi_s1);
f32 y = playerStatus->position.y + 4.0f;
f32 z = playerStatus->position.z - (cosTheta * phi_s1);
if (player_test_lateral_overlap(3, playerStatus, &x, &y, &z, 4.0f, yaw) >= 0) {
break;
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,16 @@
#include "common.h"
#include "sprite.h"
#include "hud_element.h"
#include "pause/pause_common.h"
extern s32 D_8008EEC0[12];
extern s32 D_8008EEF0[];
extern s16 D_8010C9C0;
extern PopupMenu D_8010C9C8;
extern s16 D_8010CCF8;
extern s16 D_8010CCFA;
extern s16 D_8010CCFC;
extern s16 D_8010CCFE;
void func_800E6860(void) {
PlayerStatus* playerStatus = &gPlayerStatus;
@ -12,52 +24,149 @@ void func_800E6860(void) {
}
}
// playerStatus getting coppied to a0 - how? inlining?
#ifdef NON_EQUIVALENT
s32 func_800E6904(void) {
PartnerActionStatus* partnerActionStatus = &gPartnerActionStatus;
//PlayerStatus* playerStatus = &gPlayerStatus; // doesn't change codegen to use it, so commented out for now
s32 actionState = gPlayerStatus.actionState;
PlayerStatus* playerStatus = &gPlayerStatus;
s32 actionState = playerStatus->actionState;
if (!(gPlayerStatus.animFlags & 0x100000)) {
if (partnerActionStatus->actionState.b[0] == 0) {
if (!(gPlayerStatus.flags & 0x1000)) {
if (actionState == ACTION_STATE_IDLE || actionState == ACTION_STATE_WALK || actionState == ACTION_STATE_RUN) {
return 1;
}
}
} else if (partner_player_can_pause()) {
if (partnerActionStatus->actionState.b[3] == 6) {
return 1;
} else if (partnerActionStatus->actionState.b[3] == 9) {
if (actionState == ACTION_STATE_RIDE) {
return 1;
}
} else if (partnerActionStatus->actionState.b[3] == 8) {
if (actionState != ACTION_STATE_RIDE) {
sfx_play_sound(0x21D);
} else {
return 1;
}
}
}
if (playerStatus->animFlags & PLAYER_STATUS_ANIM_FLAGS_100000) {
return FALSE;
}
return 0;
if (partnerActionStatus->actionState.b[0] == 0) {
if (!(playerStatus->flags & PLAYER_STATUS_FLAGS_1000) &&
(actionState == ACTION_STATE_IDLE || actionState == ACTION_STATE_WALK || actionState == ACTION_STATE_RUN))
{
return TRUE;
}
} else if (partner_player_can_pause()) {
if (partnerActionStatus->actionState.b[3] == 6) {
return TRUE;
} else if (partnerActionStatus->actionState.b[3] == 9) {
if (actionState == ACTION_STATE_RIDE) {
return TRUE;
}
} else if (partnerActionStatus->actionState.b[3] == 8) {
if (actionState == ACTION_STATE_RIDE) {
return TRUE;
}
sfx_play_sound(SOUND_MENU_ERROR);
}
}
return FALSE;
}
#else
INCLUDE_ASM(s32, "7fd10_len_b40", func_800E6904);
#endif
INCLUDE_ASM(s32, "7fd10_len_b40", can_pause);
s32 can_pause(s32 currentButtons, s32 pressedButtons) {
PartnerActionStatus* partnerActionStatus = &gPartnerActionStatus;
s32 actionState = gPlayerStatus.actionState;
if (!(gPlayerStatus.animFlags & PLAYER_STATUS_ANIM_FLAGS_100000) &&
!(gPlayerStatus.flags & PLAYER_STATUS_FLAGS_100) &&
!(currentButtons & (BUTTON_Z | BUTTON_R)) &&
(pressedButtons & (BUTTON_START | BUTTON_C_LEFT | BUTTON_C_RIGHT)) &&
((gGameStatusPtr->mapShop == NULL) || !(gGameStatusPtr->mapShop->flags & 1)) &&
!(gOverrideFlags & GLOBAL_OVERRIDES_DISABLE_MENUS) &&
!is_picking_up_item())
{
if (!(gPlayerStatus.animFlags & PLAYER_STATUS_ANIM_FLAGS_8BIT_MARIO)) {
if (partnerActionStatus->actionState.b[0] == 0) {
if (!(gPlayerStatus.flags & PLAYER_STATUS_FLAGS_1000)) {
if (actionState == ACTION_STATE_IDLE ||
actionState == ACTION_STATE_WALK ||
actionState == ACTION_STATE_RUN)
{
return TRUE;
}
}
} else if (partner_player_can_pause()) {
if (partnerActionStatus->actionState.b[3] == 6) {
return actionState == ACTION_STATE_IDLE ||
actionState == ACTION_STATE_WALK ||
actionState == ACTION_STATE_RUN;
} else if (partnerActionStatus->actionState.b[3] == 9) {
if (actionState == ACTION_STATE_RIDE) {
gPlayerStatus.alpha2 = 0;
return TRUE;
}
} else if (partnerActionStatus->actionState.b[3] == 8) {
if (actionState == ACTION_STATE_RIDE) {
if (func_802BD7DC()) {
return TRUE;
}
sfx_play_sound(SOUND_MENU_ERROR);
}
} else if (partnerActionStatus->actionState.b[3] == 7) {
sfx_play_sound(SOUND_MENU_ERROR);
}
}
} else {
sfx_play_sound(SOUND_MENU_ERROR);
}
}
return FALSE;
}
void func_800E6B68(void) {
D_8010CD00 = 0;
}
INCLUDE_ASM(s32, "7fd10_len_b40", setup_partner_popup);
s32 setup_partner_popup(PopupMenu* menu) {
PlayerData* playerData = &gPlayerData;
s32 temp_a1;
s32* phi_t0;
s32 ret;
s32 i;
INCLUDE_ASM(s32, "7fd10_len_b40", setup_item_popup);
ret = 0;
for (i = 1; i < ARRAY_COUNT(D_8008EEC0); i++) {
temp_a1 = D_8008EEC0[i];
if (playerData->partners[temp_a1].enabled && temp_a1 != 5) {
s32* properties = gPartnerPopupProperties[temp_a1];
menu->ptrIcon[ret] = wPartnerHudScripts[temp_a1];
menu->userIndex[ret] = temp_a1;
menu->enabled[ret] = TRUE;
menu->nameMsg[ret] = properties[0];
menu->descMsg[ret] = properties[2];
menu->value[ret] = playerData->partners[temp_a1].level;
if (playerData->currentPartner == temp_a1) {
menu->enabled[ret] = FALSE;
menu->ptrIcon[ret] = wDisabledPartnerHudScripts[temp_a1];
}
ret++;
}
}
return ret;
}
s32 setup_item_popup(PopupMenu* menu) {
PlayerData* playerData = &gPlayerData;
s32 ret = 0;
s32 i;
for (i = 0; i < ARRAY_COUNT(playerData->invItems); i++) {
s32 itemIdx = playerData->invItems[i];
if (itemIdx != 0) {
ItemData* item = &gItemTable[itemIdx];
HudScriptPair* itemScripts = &gItemHudScripts[item->iconID];
if (item->typeFlags & 1) {
menu->ptrIcon[ret] = itemScripts->enabled;
menu->userIndex[ret] = i;
menu->enabled[ret] = 1;
} else {
menu->ptrIcon[ret] = itemScripts->disabled;
menu->userIndex[ret] = i;
menu->enabled[ret] = FALSE;
}
menu->nameMsg[ret] = item->nameMsg;
menu->descMsg[ret] = item->itemMsg;
ret++;
}
}
return ret;
}
INCLUDE_ASM(s32, "7fd10_len_b40", check_input_open_menus);
@ -73,14 +182,14 @@ void check_input_status_menu(void) {
}
if (!is_status_menu_visible()) {
if (!(playerStatus->currentButtons & Z_TRIG + R_TRIG) && (pressedButtons & 8) && func_800E9860()) {
if (!(playerStatus->currentButtons & Z_TRIG + R_TRIG) && (pressedButtons & BUTTON_C_UP) && func_800E9860()) {
open_status_menu_long();
if (!is_picking_up_item()) {
sfx_play_sound(3);
}
}
} else if (!(playerStatus->currentButtons & Z_TRIG + R_TRIG) && (pressedButtons & 8) && func_800E9860()) {
} else if (!(playerStatus->currentButtons & Z_TRIG + R_TRIG) && (pressedButtons & BUTTON_C_UP) && func_800E9860()) {
close_status_menu();
if (!is_picking_up_item()) {

View File

@ -89,7 +89,7 @@ void render_frame(s32 flag) {
}
if (flag) {
camID = CAM_CAM3;
camID = CAM_3;
} else {
camID = CAM_DEFAULT;
}
@ -183,7 +183,7 @@ void render_frame(s32 flag) {
camera->vpAlt.vp.vtrans[1] = camera->vp.vp.vtrans[1] + gGameStatusPtr->unk_83;
if (!(camera->flags & CAM_FLAG_ORTHO)) {
if (gCurrentCamID != CAM_CAM3) {
if (gCurrentCamID != CAM_3) {
if (!(camera->flags & CAM_FLAG_200)) {
render_entities();
}

View File

@ -688,23 +688,23 @@ void init_hud_element_list(void) {
}
void func_801413F8(void) {
set_cam_viewport(CAM_CAM3, 0, 0, SCREEN_WIDTH - 1, SCREEN_HEIGHT - 1);
gCameras[CAM_CAM3].updateMode = 2;
gCameras[CAM_CAM3].unk_06 = 1;
gCameras[CAM_CAM3].unk_20 = 0x3CBF;
gCameras[CAM_CAM3].nearClip = 0x10;
gCameras[CAM_CAM3].unk_1C = 0;
gCameras[CAM_CAM3].auxBoomLength = 0;
gCameras[CAM_CAM3].auxBoomPitch = 0;
gCameras[CAM_CAM3].auxPos.z = 0;
gCameras[CAM_CAM3].farClip = 0x4000;
gCameras[CAM_CAM3].bgColor[0] = 0;
gCameras[CAM_CAM3].bgColor[1] = 0;
gCameras[CAM_CAM3].bgColor[2] = 0;
gCameras[CAM_CAM3].auxPos.x = 160.0f;
gCameras[CAM_CAM3].auxPos.y = -120.0f;
gCameras[CAM_CAM3].vfov = 1.0f;
gCameras[CAM_CAM3].flags &= ~0x6;
set_cam_viewport(CAM_3, 0, 0, SCREEN_WIDTH - 1, SCREEN_HEIGHT - 1);
gCameras[CAM_3].updateMode = 2;
gCameras[CAM_3].unk_06 = 1;
gCameras[CAM_3].unk_20 = 0x3CBF;
gCameras[CAM_3].nearClip = 0x10;
gCameras[CAM_3].unk_1C = 0;
gCameras[CAM_3].auxBoomLength = 0;
gCameras[CAM_3].auxBoomPitch = 0;
gCameras[CAM_3].auxPos.z = 0;
gCameras[CAM_3].farClip = 0x4000;
gCameras[CAM_3].bgColor[0] = 0;
gCameras[CAM_3].bgColor[1] = 0;
gCameras[CAM_3].bgColor[2] = 0;
gCameras[CAM_3].auxPos.x = 160.0f;
gCameras[CAM_3].auxPos.y = -120.0f;
gCameras[CAM_3].vfov = 1.0f;
gCameras[CAM_3].flags &= ~0x6;
}
s32 hud_element_create(const HudScript* anim) {
@ -1621,7 +1621,7 @@ void render_hud_elements_world(void) {
do {
do {
count = 0;
if (gCurrentCamID == CAM_CAM3) {
if (gCurrentCamID == CAM_3) {
for (i = 0; i < ARRAY_COUNT(*gHudElements); i++) {
hudElement = (*gHudElements)[i];
if (hudElement != NULL) {
@ -1800,11 +1800,11 @@ void func_80143C48(s32 elemID, s32 arg1, s32 camID) {
}
void func_80144218(s32 arg0) {
func_80143C48(arg0, 1, CAM_CAM3);
func_80143C48(arg0, 1, CAM_3);
}
void func_80144238(s32 arg0) {
func_80143C48(arg0, 0, CAM_CAM3);
func_80143C48(arg0, 0, CAM_3);
}
void func_80144258(s32 arg0) {

View File

@ -199,6 +199,10 @@ extern HudScript HudScript_StatusCoin[];
extern HudScript HudScript_Refund[];
extern HudScript HudScript_MenuTimes[];
extern s32 gPartnerPopupProperties[11][4];
extern HudScript* wDisabledPartnerHudScripts[];
extern HudScript* wPartnerHudScripts[];
#define he_End HUD_ELEMENT_OP_End
#define he_SetRGBA(arg0, image) HUD_ELEMENT_OP_SetRGBA, arg0, (s32)image
#define he_SetCI(arg0, raster, palette) HUD_ELEMENT_OP_SetCI, arg0, (s32) raster, (s32)palette

View File

@ -48,7 +48,7 @@ void state_init_file_select(void) {
gCurrentCameraID = CAM_DEFAULT;
gCameras[CAM_BATTLE].flags |= CAM_FLAG_ENABLED;
gCameras[CAM_TATTLE].flags |= CAM_FLAG_ENABLED;
gCameras[CAM_CAM3].flags |= CAM_FLAG_ENABLED;
gCameras[CAM_3].flags |= CAM_FLAG_ENABLED;
gCameras[CAM_DEFAULT].vfov = 25.0f;
set_cam_viewport(0, 12, 28, 296, 184);
gCameras[CAM_DEFAULT].auxBoomLength = 40;

View File

@ -47,7 +47,7 @@ void state_init_logos(void) {
gCameras[CAM_DEFAULT].flags |= CAM_FLAG_ENABLED;
gCameras[CAM_BATTLE].flags |= CAM_FLAG_ENABLED;
gCameras[CAM_TATTLE].flags |= CAM_FLAG_ENABLED;
gCameras[CAM_CAM3].flags |= CAM_FLAG_ENABLED;
gCameras[CAM_3].flags |= CAM_FLAG_ENABLED;
set_cam_viewport(0, 12, 28, 296, 184);
gCameras[CAM_DEFAULT].auxBoomLength = 40;
gCameras[CAM_DEFAULT].bgColor[0] = 0;

View File

@ -121,7 +121,7 @@ void state_init_title_screen(void) {
gCameras[CAM_DEFAULT].flags |= CAMERA_FLAGS_2;
gCameras[CAM_BATTLE].flags |= CAMERA_FLAGS_2;
gCameras[CAM_TATTLE].flags |= CAMERA_FLAGS_2;
gCameras[CAM_CAM3].flags |= CAMERA_FLAGS_2;
gCameras[CAM_3].flags |= CAMERA_FLAGS_2;
set_cam_viewport(0, 12, 28, 296, 184);
gCameras[CAM_DEFAULT].auxBoomLength = 40;
gCameras[CAM_DEFAULT].bgColor[0] = 0;

View File

@ -97,7 +97,7 @@ void func_802B6120_E2A7D0(void) {
switch (playerStatus->fallState) {
case 0:
if (playerStatus->unk_90 == 0) {
if (playerStatus->unk_90[CAM_DEFAULT] == 0) {
if (peach_disguise_check_overlaps() < 0) {
suggest_player_anim_clearUnkFlag(0xC0024);
sfx_play_sound_at_player(0x92, 0);

View File

@ -27,7 +27,7 @@ s32 D_800F7B44 = 0;
f32 D_800F7B48 = 0.0f;
s32 D_800F7B4C = 0;
s32 GravityParamsStartJump[] = { 0x417C1B33, 0xC0EC5C14, 0x405C9AAA, 0xBF400000 };
f32 GravityParamsStartJump[] = { 15.7566404343f, -7.38624f, 3.44693994522f, -0.75f };
f32 GravityParamsStartFall[] = { 0.154342994094f, -0.350080013275f, -0.182262003422f, 0.0115200001746f };
f32 DefaultMoveSpeeds[] = { 2.0f, 4.0f, 32.0f, -32.0f }; // walk, run, max jump, ???
s16 D_800F7B80 = 0;
@ -40,14 +40,14 @@ s32 HammerBroDisguiseExtraAnims[] = { 0x005A0000, 0x005A0002, 0x005A0003, 0x005A
s32 KoopatrolDisguiseExtraAnims[] = { 0x00580000, 0x00580001, 0x00580002, 0x00580004, 0x00580005, 0x00580006, 0x00580007, 0x00580008, 0x00580009, 0x00580012, 0x00580014, 0x0058001B, ANIM_END };
DisguiseAnims BasicPeachDisguiseAnims[] = {
DisguiseAnims BasicPeachDisguiseAnims[4] = {
{0x00580001, 0x00580004, 0x00580006, 0x00580008, 0x00580000, 0x0058001B},
{0x00580001, 0x00580004, 0x00580006, 0x00580008, 0x00580000, 0x0058001B},
{0x005A0003, 0x005A0006, 0x005A0009, 0x005A000B, 0x005A0000, 0x005A001A},
{0x00390002, 0x00390003, 0x00390004, 0x00390005, 0x00390000, 0x00390014},
};
s32* PeachDisguiseExtraAnims[] = { &KoopatrolDisguiseExtraAnims, &KoopatrolDisguiseExtraAnims, &HammerBroDisguiseExtraAnims, &ClubbaDisguiseExtraAnims };
s32* PeachDisguiseExtraAnims[4] = { KoopatrolDisguiseExtraAnims, KoopatrolDisguiseExtraAnims, HammerBroDisguiseExtraAnims, ClubbaDisguiseExtraAnims };
Action PlayerActionsTable[] = {
{ action_idle_update, world_action_idle_ROM_START, world_action_idle_ROM_END, TRUE },

View File

@ -68,7 +68,7 @@ static EffectInstance* N(D_8024DFE0);
static EffectInstance* N(D_8024DFE4);
static EffectInstance* N(D_8024DFE8);
static s8 N(pad_D_8024DFEC)[0x4];
static s32 N(D_8024DFF0)[112];
static s32 N(bigArray)[112];
static s8 N(pad_D_8024E1B0)[0x4]; // Probably part of the above
static s32 N(D_8024E1B4);
@ -304,7 +304,6 @@ NpcSettings N(npcSettings_8024518C) = {
.level = 99,
};
s32** N(varTable) = NULL;
EvtScript N(802451BC) = {
@ -1042,8 +1041,8 @@ EvtScript N(802477E8) = {
};
EvtScript N(8024792C) = {
EVT_CALL(N(func_802427BC_95D9BC), EVT_VAR(0))
EVT_BIND_PADLOCK(N(802477E8), 0x10, 0, EVT_PTR(N(D_8024DFF0)), 0, 1)
EVT_CALL(N(BigArrayFunc), EVT_VAR(0))
EVT_BIND_PADLOCK(N(802477E8), 0x10, 0, EVT_PTR(N(bigArray)), 0, 1)
EVT_CALL(N(func_80242730_95D930), EVT_VAR(0))
EVT_RETURN
EVT_END
@ -1113,8 +1112,8 @@ EvtScript N(802479FC) = {
EvtScript N(80247D20) = {
EVT_SET(EVT_VAR(0), EVT_VAR(11))
EVT_SET(EVT_VAR(1), EVT_VAR(2))
EVT_CALL(N(func_802427BC_95D9BC), EVT_VAR(0))
EVT_BIND_PADLOCK(N(802479FC), 0x10, 0, EVT_PTR(N(D_8024DFF0)), 0, 1)
EVT_CALL(N(BigArrayFunc), EVT_VAR(0))
EVT_BIND_PADLOCK(N(802479FC), 0x10, 0, EVT_PTR(N(bigArray)), 0, 1)
EVT_CALL(N(func_80242730_95D930), EVT_VAR(0))
EVT_RETURN
EVT_END
@ -2895,7 +2894,7 @@ ApiStatus N(func_80242730_95D930)(Evt* script, s32 isInitialCall) {
if (*ptr != NULL) {
ptr = &N(D_802477E0_9629E0);
*ptr = 0;
evt_set_variable(script, *args, N(D_802477E4_9629E4));
evt_set_variable(script, *args++, N(D_802477E4_9629E4));
return ApiStatus_DONE2;
}
@ -2905,29 +2904,12 @@ ApiStatus N(func_80242730_95D930)(Evt* script, s32 isInitialCall) {
ApiStatus N(func_80242784_95D984)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
N(D_802477E4_9629E4) = evt_get_variable(script, *args);
N(D_802477E4_9629E4) = evt_get_variable(script, *args++);
N(D_802477E0_9629E0) = 1;
return ApiStatus_DONE2;
}
ApiStatus N(func_802427BC_95D9BC)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
s32* ptr = (s32*) evt_get_variable(script, *args);
s32 i;
if (ptr != NULL) {
for (i = 0; ptr[i] != 0; i++) {
N(D_8024DFF0)[i] = ptr[i];
}
N(D_8024DFF0)[i] = 0;
} else {
for (i = 0; i < 0x70; i++) {
N(D_8024DFF0)[i] = i + 16;
N(D_8024DFF0)[112] = 0;
}
}
return ApiStatus_DONE2;
}
#include "world/common/BigArrayFunc.inc.c"
ApiStatus N(func_80242858_95DA58)(Evt* script, s32 isInitialCall) {
PlayerStatus* playerStatus = &gPlayerStatus;

View File

@ -50,7 +50,7 @@ ApiStatus N(func_80241F94_95D194)(Evt* script, s32 isInitialCall);
ApiStatus N(func_802424D4_95D6D4)(Evt* script, s32 isInitialCall);
ApiStatus N(func_80242730_95D930)(Evt* script, s32 isInitialCall);
ApiStatus N(func_80242784_95D984)(Evt* script, s32 isInitialCall);
ApiStatus N(func_802427BC_95D9BC)(Evt* script, s32 isInitialCall);
ApiStatus N(BigArrayFunc)(Evt* script, s32 isInitialCall);
ApiStatus N(func_80242858_95DA58)(Evt* script, s32 isInitialCall);
ApiStatus N(func_80243014_95E214)(Evt* script, s32 isInitialCall);
ApiStatus N(func_80243058_95E258)(Evt* script, s32 isInitialCall);

View File

@ -6,43 +6,29 @@ extern u8 D_80258407_818C87;
#include "world/common/UnkMusicFunc.inc.c"
#define NAMESPACE dup_mac_01
#include "world/common/UnkNpcAIFunc24.inc.c"
#define NAMESPACE mac_01
#include "world/common/UnkFunc13.inc.c"
#define NAMESPACE dup_mac_01
#include "world/common/UnkNpcAIFunc1.inc.c"
#define NAMESPACE mac_01
#include "world/common/UnkFunc14.inc.c"
#define NAMESPACE dup_mac_01
#include "world/common/UnkNpcAIFunc25.inc.c"
#define NAMESPACE mac_01
#define NAMESPACE dup_mac_01
#include "world/common/NpcJumpFunc2.inc.c"
#define NAMESPACE mac_01
#define NAMESPACE dup_mac_01
#include "world/common/NpcJumpFunc.inc.c"
#define NAMESPACE mac_01
#define NAMESPACE dup_mac_01
#include "world/common/UnkNpcAIFunc13.inc.c"
#define NAMESPACE mac_01
#include "world/common/UnkFunc15.inc.c"
#define NAMESPACE dup_mac_01
#include "world/common/UnkNpcDurationFlagFunc.inc.c"
#define NAMESPACE mac_01
#include "world/common/UnkFunc16.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_01/8017D0", func_80241C14_802494);
#include "world/common/UnkNpcAIMainFunc.inc.c"
static char* N(exit_str_0) = "flo_00";
static char* N(exit_str_1) = "kmr_22";

View File

@ -1,16 +1,14 @@
#include "mac_01.h"
#define NAMESPACE dup_mac_01
#include "world/common/UnkNpcAIFunc24.inc.c"
#define NAMESPACE dup_mac_01
#include "world/common/UnkFunc13.inc.c"
#define NAMESPACE mac_01
#include "world/common/UnkNpcAIFunc1.inc.c"
#define NAMESPACE dup_mac_01
#include "world/common/UnkFunc14.inc.c"
#define NAMESPACE mac_01
#include "world/common/UnkNpcAIFunc25.inc.c"
@ -20,18 +18,17 @@
#include "world/common/UnkNpcAIFunc13.inc.c"
#define NAMESPACE dup_mac_01
#include "world/common/UnkFunc15.inc.c"
#define NAMESPACE mac_01
#include "world/common/UnkNpcDurationFlagFunc.inc.c"
#define NAMESPACE dup_mac_01
#include "world/common/UnkFunc16.inc.c"
#define NAMESPACE mac_01
INCLUDE_ASM(s32, "world/area_mac/mac_01/805DD0", func_802460E4_806964);
#include "world/common/UnkNpcAIMainFunc.inc.c"
#define NAMESPACE mac_01
static char* N(exit_str_0) = "osr_00";
INCLUDE_ASM(s32, "world/area_mac/mac_01/805DD0", func_802463E0_806C60);

View File

@ -0,0 +1,21 @@
#include "common.h"
#include "npc.h"
ApiStatus N(BigArrayFunc)(Evt* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
s32* ptr = (s32*) evt_get_variable(script, *args++);
s32 i;
if (ptr != NULL) {
for (i = 0; ptr[i] != 0; i++) {
N(bigArray)[i] = ptr[i];
}
N(bigArray)[i] = 0;
} else {
for (i = 0; i < 0x70; i++) {
N(bigArray)[i] = i + 16;
N(bigArray)[112] = 0;
}
}
return ApiStatus_DONE2;
}

View File

@ -4,11 +4,6 @@
#include "SuperBlock.inc.h"
#include "hud_element.h"
extern s32 gPartnerPopupProperties[11][4];
extern HudScript* wPartnerHudScripts[];
extern HudScript* wDisabledPartnerHudScripts[];
ApiStatus N(SuperBlock_SetOverride40)(Evt* script, s32 isInitialCall) {
gOverrideFlags |= GLOBAL_OVERRIDES_40;
return ApiStatus_DONE2;

View File

@ -635,62 +635,66 @@ EvtScript world_kooper_put_away = {
EVT_END
};
#ifdef NON_EQUIVALENT
s32 world_kooper_test_first_strike(Npc* npcKooper, Npc* npc2) {
f32 npcKooperXTemp, npcKooperYTemp, npcKooperZTemp;
f32 npcX, npcY, npcZ;
f32 npcKooperX, npcKooperY, npcKooperZ;
f32 npcCollisionHeight, kooperCollisionHeight;
f32 npcCollisionRadius, kooperCollisionRadius;
f32 temp_f0, temp_f20;
f32 npcDistanceToKooperX;
f32 new_var2;
s32 world_kooper_test_first_strike(Npc* kooper, Npc* enemy) {
f32 xTemp, yTemp, zTemp;
f32 enemyX, enemyY, enemyZ;
f32 kooperX;
f32 kooperZ;
f32 enemyCollHeight;
f32 kooperY;
f32 kooperCollHeight;
f32 enemyCollRadius;
f32 kooperCollRadius;
f32 arctan;
f32 dist;
if (D_802BEB40_31CB60) {
npcX = npc2->pos.x;
npcY = npc2->pos.y;
npcZ = npc2->pos.z;
if (D_802BEB40_31CB60 != 0) {
enemyX = enemy->pos.x;
enemyY = enemy->pos.y;
enemyZ = enemy->pos.z;
npcDistanceToKooperX = npcKooper->pos.x;
npcKooperX = npcDistanceToKooperX;
npcKooperY = npcKooper->pos.y;
npcKooperZ = npcKooper->pos.z;
kooperX = kooper->pos.x;
kooperY = kooper->pos.y;
kooperZ = kooper->pos.z;
npcCollisionHeight = npc2->collisionHeight;
npcCollisionRadius = npc2->collisionRadius * 0.8;
kooperCollisionHeight = npcKooper->collisionHeight;
kooperCollisionRadius = npcKooper->collisionRadius * 0.55;
enemyCollHeight = enemy->collisionHeight;
enemyCollRadius = enemy->collisionRadius * 0.55;
temp_f20 = atan2(npcX, npcZ, npcKooperX, npcKooperZ);
temp_f0 = dist2D(npcX, npcZ, npcKooperX, npcKooperZ);
kooperCollHeight = kooper->collisionHeight;
kooperCollRadius = kooper->collisionRadius * 0.8;
npcKooperX = npcDistanceToKooperX;
npcKooperXTemp = npcKooper->pos.x;
npcKooperYTemp = npcKooper->pos.y;
npcKooperZTemp = npcKooper->pos.z;
arctan = atan2(enemyX, enemyZ, kooperX, kooperZ);
dist = dist2D(enemyX, enemyZ, kooperX, kooperZ);
if (npc_test_move_taller_with_slipping(0, &npcKooperXTemp, &npcKooperYTemp, &npcKooperZTemp, temp_f0, temp_f20,
kooperCollisionHeight, kooperCollisionRadius + npcCollisionRadius) == 0) {
if (!((npcKooperY) > npcCollisionHeight + npcY)) {
if (!((kooperCollisionHeight + npcCollisionHeight) < npcY)) {
npcDistanceToKooperX = npcX - npcKooperX;
new_var2 = SQ(npcDistanceToKooperX);
npcKooperX = (SQ(kooperCollisionRadius)) + (SQ(npcCollisionRadius));
npcKooperZ = npcZ - npcKooperZ;
if (!(npcKooperX <= (new_var2 + (SQ(npcKooperZ))))) {
D_802BEB40_31CB60 = 2;
return 1;
}
}
}
xTemp = kooper->pos.x;
yTemp = kooper->pos.y;
zTemp = kooper->pos.z;
if (npc_test_move_taller_with_slipping(0, &xTemp, &yTemp, &zTemp, dist, arctan, kooperCollHeight,
kooperCollRadius + enemyCollRadius))
{
return FALSE;
}
if (kooperY > enemyY + enemyCollHeight) {
return FALSE;
}
if (enemyY > kooperY + kooperCollHeight) {
return FALSE;
}
kooperX = enemyX - kooperX;
kooperZ = enemyZ - kooperZ;
dist = SQ(kooperX) + SQ(kooperZ);
if (!(SQ(kooperCollRadius) + SQ(enemyCollRadius) <= dist)) {
D_802BEB40_31CB60 = 2;
return TRUE;
}
}
return 0;
return FALSE;
}
#else
INCLUDE_ASM(s32, "world/partner/kooper", world_kooper_test_first_strike);
#endif
void world_kooper_pre_battle(Npc* kooper) {
PlayerStatus* playerStatus = &gPlayerStatus;

View File

@ -1048,7 +1048,7 @@ s32 func_800EF4E0(void) {
Camera* cameras = gCameras;
s32 ret;
if (playerStatus->unk_90 == 0.0f) {
if (playerStatus->unk_90[CAM_DEFAULT] == 0.0f) {
if (!(playerStatus->spriteFacingAngle >= 90.0f) || !(playerStatus->spriteFacingAngle < 270.0f)) {
ret = 1;
playerStatus->targetYaw = clamp_angle(cameras[CAM_DEFAULT].currentYaw - 90.0f);

View File

@ -174,7 +174,7 @@ void load_map_by_IDs(s16 areaID, s16 mapID, s16 loadType) {
gCameras[CAM_DEFAULT].flags |= CAM_FLAG_ENABLED;
gCameras[CAM_BATTLE].flags |= CAM_FLAG_ENABLED;
gCameras[CAM_TATTLE].flags |= CAM_FLAG_ENABLED;
gCameras[CAM_CAM3].flags |= CAM_FLAG_ENABLED;
gCameras[CAM_3].flags |= CAM_FLAG_ENABLED;
if (gGameStatusPtr->creditsViewportMode == -1) {
set_cam_viewport(0, 12, 20, 296, 200);

View File

@ -1,884 +0,0 @@
gBackgroundImage = 0x80200000;
func_80242040_8B20B0 = 0x80242040;
spiked_goomba = 0x8021B0AC;
paragoomba = 0x8021CD00;
D_802C05CC = 0x802C05CC;
gPauseMenuMsgs = 0x8026F778;
D_802442D0 = 0x802442D0;
D_802AB513 = 0x802AB513;
D_802E99DC = 0x802E99DC;
D_80247AF0_CCB300 = 0x80247AF0;
D_802491C0_CA70E0 = 0x802491C0;
D_80246568_C8C018 = 0x80246568;
D_8024B9A8_B8FB28 = 0x8024B9A8;
D_8038F800 = 0x8038F800;
D_803B5000 = 0x803B5000;
D_802EF0D0 = 0x802EF0D0;
D_800FBB60 = 0x800FBB60;
D_800FBBE0 = 0x800FBBE0;
D_80200000 = 0x80200000;
osTvType = 0x80000300;
osRomBase = 0x80000308;
D_8000030C = 0x8000030C;
osMemSize = 0x80000318;
D_8000031C = 0x8000031C;
D_800A08C0 = 0x800A08C0;
D_80164000 = 0x80164000;
D_80197000 = 0x80197000;
D_801A6000 = 0x801A6000;
D_801A7000 = 0x801A7000;
D_801AA000 = 0x801AA000;
D_80210000 = 0x80210000;
D_8022AD80_4C3F70 = 0x8022AD80;
D_8022ADD0 = 0x8022ADD0;
D_8022B550 = 0x8022B550;
D_80232C4C = 0x80232C4C;
D_80235E00 = 0x80235E00;
D_80235E6C_4CF05C = 0x80235E6C;
D_80235F44_4CF134 = 0x80235F44;
D_8023BD70 = 0x8023BD70;
D_8023BD78 = 0x8023BD78;
D_8023BD98 = 0x8023BD98;
D_8023BDB4 = 0x8023BDB4;
D_8023BDB8 = 0x8023BDB8;
D_8023BDBC = 0x8023BDBC;
D_8023BDC0 = 0x8023BDC0;
D_8023BDC4 = 0x8023BDC4;
D_8023BDC8 = 0x8023BDC8;
D_8023C070 = 0x8023C070;
D_8023C1B0 = 0x8023C1B0;
D_8023C1B4 = 0x8023C1B4;
D_8023C1B8 = 0x8023C1B8;
D_8023C1BC = 0x8023C1BC;
D_8023C1C0 = 0x8023C1C0;
D_8023C1C4 = 0x8023C1C4;
D_8023C1C8 = 0x8023C1C8;
D_8023C1CC = 0x8023C1CC;
D_8023C1D0 = 0x8023C1D0;
D_8023CDA0 = 0x8023CDA0;
D_8023CDA4 = 0x8023CDA4;
D_8023D1E0 = 0x8023D1E0;
D_8023D1E4 = 0x8023D1E4;
D_8023D26C = 0x8023D26C;
D_8023D270 = 0x8023D270;
D_8023D274 = 0x8023D274;
D_8023D278 = 0x8023D278;
D_8023D27C = 0x8023D27C;
D_8023D280 = 0x8023D280;
D_8023D284 = 0x8023D284;
D_8023D288 = 0x8023D288;
D_8023D28C = 0x8023D28C;
D_8023D290 = 0x8023D290;
D_8023D294 = 0x8023D294;
D_8023D298 = 0x8023D298;
D_8023D29C = 0x8023D29C;
D_8023D2A0 = 0x8023D2A0;
D_8023D2A4 = 0x8023D2A4;
D_8023D2A8 = 0x8023D2A8;
D_8023D2AC = 0x8023D2AC;
D_8023D2B0 = 0x8023D2B0;
D_8023D2B4 = 0x8023D2B4;
D_8023D2B8 = 0x8023D2B8;
D_8023D2BC = 0x8023D2BC;
D_8023D2C0 = 0x8023D2C0;
D_8023D2C4 = 0x8023D2C4;
D_8023D2C8 = 0x8023D2C8;
D_8023D2D0 = 0x8023D2D0;
D_8023D330 = 0x8023D330;
D_8023D334 = 0x8023D334;
D_8023D338 = 0x8023D338;
D_80241ECC = 0x80241ECC;
D_80242208 = 0x80242208;
D_80242344 = 0x80242344;
D_802423B0 = 0x802423B0;
D_802429BC = 0x802429BC;
D_802429E0 = 0x802429E0;
D_80242FB0 = 0x80242FB0;
D_80243190 = 0x80243190;
D_80243374 = 0x80243374;
D_80243720 = 0x80243720;
D_80243BE0 = 0x80243BE0;
D_802440E0 = 0x802440E0;
D_802440E1 = 0x802440E1;
D_802440E2 = 0x802440E2;
D_802440E3 = 0x802440E3;
D_802440E5 = 0x802440E5;
D_802440EB = 0x802440EB;
D_802440EF = 0x802440EF;
D_802440F3 = 0x802440F3;
D_802440F7 = 0x802440F7;
D_802440F8 = 0x802440F8;
D_802440FB = 0x802440FB;
D_802440FF = 0x802440FF;
D_80244104 = 0x80244104;
D_802442D0 = 0x802442D0;
D_80244494 = 0x80244494;
D_802447C0 = 0x802447C0;
D_80244A20 = 0x80244A20;
D_80244C18 = 0x80244C18;
D_80244D88 = 0x80244D88;
D_802451F0 = 0x802451F0;
D_80245230 = 0x80245230;
D_802453D8 = 0x802453D8;
D_80245430 = 0x80245430;
D_80245600 = 0x80245600;
D_80245601 = 0x80245601;
D_80245602 = 0x80245602;
D_80245603 = 0x80245603;
D_80245604 = 0x80245604;
D_80245605 = 0x80245605;
D_80245608 = 0x80245608;
D_8024560C = 0x8024560C;
D_80245610 = 0x80245610;
D_80245614 = 0x80245614;
D_80245618 = 0x80245618;
D_8024561C = 0x8024561C;
D_80245620 = 0x80245620;
D_80245650 = 0x80245650;
D_80245928 = 0x80245928;
D_8024592C = 0x8024592C;
D_802459C0 = 0x802459C0;
D_80245AB4 = 0x80245AB4;
D_802461F0 = 0x802461F0;
D_80246260 = 0x80246260;
D_802462F0 = 0x802462F0;
D_80246300 = 0x80246300;
D_80246424 = 0x80246424;
D_80246460_EC9D00 = 0x80246460;
D_8024652C = 0x8024652C;
D_80246530 = 0x80246530;
D_80246534 = 0x80246534;
D_80246554 = 0x80246554;
D_8024655C = 0x8024655C;
D_80246578 = 0x80246578;
D_80246598 = 0x80246598;
D_8024659C = 0x8024659C;
D_802465A0 = 0x802465A0;
D_802465CC = 0x802465CC;
D_802465F0 = 0x802465F0;
D_802466D0 = 0x802466D0;
D_80246794 = 0x80246794;
D_802467B4 = 0x802467B4;
D_80246990 = 0x80246990;
D_80246BE8 = 0x80246BE8;
D_80247050 = 0x80247050;
D_80247120 = 0x80247120;
D_802474A0 = 0x802474A0;
D_80247548 = 0x80247548;
D_80247664 = 0x80247664;
D_80247750 = 0x80247750;
D_802479F0 = 0x802479F0;
D_80247BF0 = 0x80247BF0;
D_80247CA0 = 0x80247CA0;
D_80247CB4 = 0x80247CB4;
D_80247D00 = 0x80247D00;
D_80247E68 = 0x80247E68;
D_80248388 = 0x80248388;
D_802483C0 = 0x802483C0;
D_802483C4 = 0x802483C4;
D_802483D0 = 0x802483D0;
D_80248480 = 0x80248480;
D_80248600 = 0x80248600;
D_80248624 = 0x80248624;
D_80248650 = 0x80248650;
D_80248850 = 0x80248850;
D_80248924 = 0x80248924;
D_80248938 = 0x80248938;
D_80248940 = 0x80248940;
D_80248944 = 0x80248944;
D_80248948 = 0x80248948;
D_80248F90 = 0x80248F90;
D_80249158 = 0x80249158;
D_80249440 = 0x80249440;
D_8024A290 = 0x8024A290;
D_8024A2A0 = 0x8024A2A0;
D_8024A2C4 = 0x8024A2C4;
D_8024A2D0 = 0x8024A2D0;
D_8024B990 = 0x8024B990;
D_8024B9B4 = 0x8024B9B4;
D_8024B9B8 = 0x8024B9B8;
D_8024BA90 = 0x8024BA90;
D_8024BDD0 = 0x8024BDD0;
D_8024BDE8 = 0x8024BDE8;
D_8024BDF0 = 0x8024BDF0;
D_8024BDF4 = 0x8024BDF4;
D_8024BDF8 = 0x8024BDF8;
D_8024BEA0 = 0x8024BEA0;
D_8024C068 = 0x8024C068;
D_8024C088 = 0x8024C088;
D_8024C090 = 0x8024C090;
filemenu_8024C098 = 0x8024C098;
D_8024C108 = 0x8024C108;
filemenu_8024C110 = 0x8024C110;
D_8024C117 = 0x8024C117;
D_8024C1D8 = 0x8024C1D8;
D_8024C5E0 = 0x8024C5E0;
D_8024DBC0 = 0x8024DBC0;
D_8024DD88 = 0x8024DD88;
D_8024DF10 = 0x8024DF10;
D_8024DF18 = 0x8024DF18;
D_8024DF1C = 0x8024DF1C;
D_8024DF20 = 0x8024DF20;
D_8024DF24 = 0x8024DF24;
D_8024DFC0 = 0x8024DFC0;
D_8024DFD8 = 0x8024DFD8;
D_8024DFE0 = 0x8024DFE0;
D_8024DFE4 = 0x8024DFE4;
D_8024DFE8 = 0x8024DFE8;
D_8024DFF0 = 0x8024DFF0;
D_8024E1B4 = 0x8024E1B4;
D_8024E540 = 0x8024E540;
D_8024E558 = 0x8024E558;
D_8024E560 = 0x8024E560;
D_8024E564 = 0x8024E564;
D_8024E568 = 0x8024E568;
D_8024E570 = 0x8024E570;
D_8024E738 = 0x8024E738;
D_8024E960 = 0x8024E960;
D_8024EA10 = 0x8024EA10;
D_8024EA14 = 0x8024EA14;
D_8024EA18 = 0x8024EA18;
gPauseMenuPanels = 0x8024EF80;
D_8024EF84 = 0x8024EF84;
D_8024EF88 = 0x8024EF88;
D_8024EF90 = 0x8024EF90;
gPauseMenuCursorPosY = 0x8024EFA0;
D_8024EFB8 = 0x8024EFB8;
D_8024EFC0 = 0x8024EFC0;
D_8024EFC8 = 0x8024EFC8;
D_8024F010 = 0x8024F010;
D_8024F080 = 0x8024F080;
D_8024F248 = 0x8024F248;
D_8024F2A0 = 0x8024F2A0;
D_8024F2A1 = 0x8024F2A1;
D_8024F2A2 = 0x8024F2A2;
D_8024F2A3 = 0x8024F2A3;
D_8024F2A4 = 0x8024F2A4;
D_8024F2A5 = 0x8024F2A5;
D_8024F2A8 = 0x8024F2A8;
D_8024F2AB = 0x8024F2AB;
D_8024F2AC = 0x8024F2AC;
D_8024F2AF = 0x8024F2AF;
D_8024F2B0 = 0x8024F2B0;
D_8024F2B3 = 0x8024F2B3;
D_8024F2B4 = 0x8024F2B4;
D_8024F2B7 = 0x8024F2B7;
D_8024F2B8 = 0x8024F2B8;
D_8024F2BB = 0x8024F2BB;
D_8024F2BC = 0x8024F2BC;
D_8024F2BF = 0x8024F2BF;
D_8024F2C4 = 0x8024F2C4;
D_8024F2C8 = 0x8024F2C8;
D_8024F2CC = 0x8024F2CC;
D_8024F2D8 = 0x8024F2D8;
D_8024F2DC = 0x8024F2DC;
D_8024F2E0 = 0x8024F2E0;
D_8024F2EC = 0x8024F2EC;
D_8024F2F4 = 0x8024F2F4;
D_8024F2F8 = 0x8024F2F8;
D_8024F2FC = 0x8024F2FC;
D_8024F304 = 0x8024F304;
D_8024F308 = 0x8024F308;
D_8024F30C = 0x8024F30C;
D_8024F318 = 0x8024F318;
D_8024F338 = 0x8024F338;
D_8024F358 = 0x8024F358;
D_8024F374 = 0x8024F374;
D_8024F378 = 0x8024F378;
D_8024F3F8 = 0x8024F3F8;
D_8024F448 = 0x8024F448;
D_8024F498 = 0x8024F498;
D_8024F4E8 = 0x8024F4E8;
D_8024F581 = 0x8024F581;
D_8024F582 = 0x8024F582;
D_8024F583 = 0x8024F583;
D_8024F584 = 0x8024F584;
D_8024F585 = 0x8024F585;
D_8024F588 = 0x8024F588;
D_8024F58B = 0x8024F58B;
D_8024F58C = 0x8024F58C;
D_8024F58F = 0x8024F58F;
D_8024F590 = 0x8024F590;
D_8024F593 = 0x8024F593;
D_8024F594 = 0x8024F594;
D_8024F597 = 0x8024F597;
D_8024F598 = 0x8024F598;
D_8024F59B = 0x8024F59B;
D_8024F59C = 0x8024F59C;
D_8024F59F = 0x8024F59F;
D_8024F5A0 = 0x8024F5A0;
D_8024F5A4 = 0x8024F5A4;
D_8024F5C4 = 0x8024F5C4;
D_8024F5C8 = 0x8024F5C8;
D_8024F5D0 = 0x8024F5D0;
D_8024F7E4 = 0x8024F7E4;
D_8024F7F0 = 0x8024F7F0;
D_8024FBA0 = 0x8024FBA0;
D_8024FD68 = 0x8024FD68;
D_8024FED8 = 0x8024FED8;
D_8024FEF0 = 0x8024FEF0;
D_8024FEF8 = 0x8024FEF8;
D_8024FEFC = 0x8024FEFC;
D_8024FF00 = 0x8024FF00;
D_8024FF04 = 0x8024FF04;
D_80250EF0 = 0x80250EF0;
D_802513D0 = 0x802513D0;
D_802513E8 = 0x802513E8;
D_802513F4 = 0x802513F4;
D_802513F8 = 0x802513F8;
D_80251400 = 0x80251400;
D_80251450 = 0x80251450;
D_80251468 = 0x80251468;
D_80251470 = 0x80251470;
D_80251478 = 0x80251478;
D_802515C4 = 0x802515C4;
D_80251C40 = 0x80251C40;
D_80251C58 = 0x80251C58;
D_80251C60 = 0x80251C60;
D_80251C68 = 0x80251C68;
D_80251C70 = 0x80251C70;
D_80251E34 = 0x80251E34;
D_802529D0 = 0x802529D0;
D_802529E8 = 0x802529E8;
D_802529F0 = 0x802529F0;
D_802529F4 = 0x802529F4;
D_80252A00 = 0x80252A00;
D_80252BC8 = 0x80252BC8;
D_80252D38 = 0x80252D38;
D_80253060 = 0x80253060;
D_80253378 = 0x80253378;
D_80253384 = 0x80253384;
D_8025338C = 0x8025338C;
D_80253390 = 0x80253390;
D_802547D0 = 0x802547D0;
D_802549B8 = 0x802549B8;
D_802549C4 = 0x802549C4;
D_802549C8 = 0x802549C8;
D_802549D0 = 0x802549D0;
D_80254B94 = 0x80254B94;
D_80254BA0 = 0x80254BA0;
D_80254D68 = 0x80254D68;
D_80255B70 = 0x80255B70;
D_80255B88 = 0x80255B88;
D_80255B90 = 0x80255B90;
D_80255B94 = 0x80255B94;
D_80255B98 = 0x80255B98;
D_80255BA0 = 0x80255BA0;
D_80255D68 = 0x80255D68;
D_80255ED8 = 0x80255ED8;
D_80255EE0 = 0x80255EE0;
D_802560A4 = 0x802560A4;
D_80257118 = 0x80257118;
D_80257320 = 0x80257320;
D_80257F20 = 0x80257F20;
D_80257F21 = 0x80257F21;
D_80257F22 = 0x80257F22;
D_80257F23 = 0x80257F23;
D_80257F24 = 0x80257F24;
D_80257F25 = 0x80257F25;
D_80257F26 = 0x80257F26;
D_80257F27 = 0x80257F27;
D_80257F28 = 0x80257F28;
D_80257F29 = 0x80257F29;
D_80257F2C = 0x80257F2C;
D_80257F40 = 0x80257F40;
D_80257F48 = 0x80257F48;
D_80257F4C = 0x80257F4C;
D_80257F50 = 0x80257F50;
D_80257F58 = 0x80257F58;
D_8025811C = 0x8025811C;
D_80258120 = 0x80258120;
D_80258140 = 0x80258140;
D_80258340 = 0x80258340;
D_8025B0A8 = 0x8025B0A8;
D_8025B2A8 = 0x8025B2A8;
D_8025B2AC = 0x8025B2AC;
D_8025B2B0 = 0x8025B2B0;
D_8025C0D0 = 0x8025C0D0;
D_80262A40 = 0x80262A40;
D_80262A58 = 0x80262A58;
D_80262A60 = 0x80262A60;
D_80262A64 = 0x80262A64;
D_80262A68 = 0x80262A68;
D_80262A70 = 0x80262A70;
D_80262C34 = 0x80262C34;
D_80262C38 = 0x80262C38;
D_80262F68 = 0x80262F68;
heap_collisionHead = 0x80268000;
gPauseMenuCommonIconIDs = 0x802700E8;
D_80270108 = 0x80270108;
D_8027010C = 0x8027010C;
D_80270110 = 0x80270110;
D_80270114 = 0x80270114;
D_80270118 = 0x80270118;
D_8027011C = 0x8027011C;
gPauseMenuTabIconIDs = 0x80270130;
D_80270148 = 0x80270148;
D_8027014C = 0x8027014C;
gStatsMenuIconIDs = 0x80270150;
gBadgeMenuItemIDs = 0x80270180;
gBadgeMenuCurrentPage = 0x80270280;
gBadgeMenuPages = 0x80270288;
gBadgeMenuSelectedIndex = 0x80270378;
D_8027037C = 0x8027037C;
gBadgeMenuSelectedItemID = 0x80270380;
gBadgeMenuNumItems = 0x80270384;
D_80270388 = 0x80270388;
gBadgeMenuCurrentScrollPos = 0x8027038C;
gBadgeMenuTargetScrollPos = 0x80270390;
D_80270394 = 0x80270394;
gBadgeMenuLevel = 0x80270398;
gBadgeMenuCurrentTab = 0x8027039C;
gBadgeMenuBShowNotEnoughBP = 0x802703A0;
gBadgeMenuIconIDs = 0x802703A8;
D_802703FC = 0x802703FC;
gItemMenuItemIDs = 0x80270400;
gItemMenuCurrentPage = 0x802704C8;
gItemMenuPages = 0x802704D0;
D_802704D1 = 0x802704D1;
D_802704D2 = 0x802704D2;
gItemMenuSelectedIndex = 0x802705C0;
D_802705C4 = 0x802705C4;
gItemMenuSelectedItemID = 0x802705C8;
gItemMenuNumItems = 0x802705CC;
D_802705D0 = 0x802705D0;
gItemMenuCurrentScrollPos = 0x802705D4;
gItemMenuTargetScrollPos = 0x802705D8;
D_802705DC = 0x802705DC;
gItemMenuLevel = 0x802705E0;
gItemMenuCurrentTab = 0x802705E4;
gItemIcons = 0x802705E8;
D_80270634 = 0x80270634;
D_80270640 = 0x80270640;
D_80270660 = 0x80270660;
D_80270680 = 0x80270680;
D_802706A0 = 0x802706A0;
D_802706A4 = 0x802706A4;
D_802706A8 = 0x802706A8;
D_802706AC = 0x802706AC;
D_802706B0 = 0x802706B0;
D_802706C0 = 0x802706C0;
D_802706E0 = 0x802706E0;
D_802706FC = 0x802706FC;
D_80270700 = 0x80270700;
pause_map_cameraX = 0x80270704;
pause_map_cameraY = 0x80270708;
pause_map_marioX = 0x8027070C;
pause_map_marioY = 0x80270710;
pause_map_targetX = 0x80270714;
pause_map_targetY = 0x80270718;
pause_map_cursorCurrentOption = 0x8027071C;
pause_map_cursorCurrentOptionCopy = 0x80270720;
pause_map_spacesInSnapRange = 0x80270724;
D_80282EE9 = 0x80282EE9;
D_80282EEA = 0x80282EEA;
bMarioHideAnims = 0x80283370;
D_8029DA30 = 0x8029DA30;
D_8029DA33 = 0x8029DA33;
D_8029DA34 = 0x8029DA34;
D_8029DA40 = 0x8029DA40;
D_8029DA44 = 0x8029DA44;
D_8029DA48 = 0x8029DA48;
D_8029DA4C = 0x8029DA4C;
D_8029DA50 = 0x8029DA50;
D_8029EFB0 = 0x8029EFB0;
D_8029EFB4 = 0x8029EFB4;
D_8029EFB8 = 0x8029EFB8;
D_8029EFBC = 0x8029EFBC;
D_8029EFC0 = 0x8029EFC0;
D_8029EFE8 = 0x8029EFE8;
D_8029F010 = 0x8029F010;
D_8029F038 = 0x8029F038;
D_8029F236 = 0x8029F236;
D_8029F240 = 0x8029F240;
D_8029F244 = 0x8029F244;
D_8029F248 = 0x8029F248;
D_8029F24C = 0x8029F24C;
D_8029F250 = 0x8029F250;
D_8029F254 = 0x8029F254;
D_8029F258 = 0x8029F258;
D_8029F25C = 0x8029F25C;
D_8029F260 = 0x8029F260;
D_8029F264 = 0x8029F264;
BattleCam_PosX = 0x8029F270;
BattleCam_PosY = 0x8029F274;
BattleCam_PosZ = 0x8029F278;
BattleCam_TargetActor = 0x8029F27C;
BattleCam_TargetActorPart = 0x8029F27E;
BattleCam_BoomLength = 0x8029F280;
BattleCam_BoomYaw = 0x8029F282;
BattleCam_BoomPitch = 0x8029F284;
BattleCam_BoomZOffset = 0x8029F286;
D_8029F288 = 0x8029F288;
BattleCam_TargetBoomLength = 0x8029F28C;
BattleCam_TargetBoomYaw = 0x8029F290;
BattleCam_TargetBoomPitch = 0x8029F294;
BattleCam_TargetBoomZOffset = 0x8029F298;
BattleCam_DoneMoving = 0x8029F29C;
BattleCam_MoveTimeLeft = 0x8029F29E;
BattleCam_MoveTimeTotal = 0x8029F2A0;
D_8029F2A2 = 0x8029F2A2;
D_8029F2A3 = 0x8029F2A3;
D_8029F2A4 = 0x8029F2A4;
BattleCam_UseLinearInterp = 0x8029F2A5;
D_8029F2A6 = 0x8029F2A6;
D_8029F2A7 = 0x8029F2A7;
BattleCam_TargetPosX = 0x8029F2A8;
BattleCam_TargetPosY = 0x8029F2AC;
BattleCam_TargetPosZ = 0x8029F2B0;
BattleCam_ControlScript = 0x8029F2B4;
popupMessages = 0x8029F2C0;
D_8029F640 = 0x8029F640;
D_8029F642 = 0x8029F642;
D_8029F644 = 0x8029F644;
D_8029F646 = 0x8029F646;
D_8029F648 = 0x8029F648;
D_8029F64A = 0x8029F64A;
D_8029F64C = 0x8029F64C;
D_8029F64E = 0x8029F64E;
D_8029F650 = 0x8029F650;
gSpeakingActorPrintCtx = 0x8029FA60;
D_8029FA64 = 0x8029FA64;
gSpeakingActorPrintIsDone = 0x8029FA68;
gSpeakingActorTalkAnim = 0x8029FA6C;
gSpeakingActorIdleAnim = 0x8029FA70;
gSpeakingActor = 0x8029FA74;
gSpeakingActorPart = 0x8029FA78;
D_8029FA80 = 0x8029FA80;
D_8029FA88 = 0x8029FA88;
D_8029FA90 = 0x8029FA90;
D_8029FAA8 = 0x8029FAA8;
D_8029FAC4 = 0x8029FAC4;
D_8029FAE8 = 0x8029FAE8;
D_8029FB48 = 0x8029FB48;
D_8029FB4C = 0x8029FB4C;
D_8029FB50 = 0x8029FB50;
D_8029FB54 = 0x8029FB54;
D_8029FB60 = 0x8029FB60;
D_8029FB6C = 0x8029FB6C;
D_8029FB70 = 0x8029FB70;
D_8029FB74 = 0x8029FB74;
D_8029FB78 = 0x8029FB78;
D_8029FB7C = 0x8029FB7C;
D_8029FB80 = 0x8029FB80;
D_8029FB84 = 0x8029FB84;
D_8029FB88 = 0x8029FB88;
D_8029FB8C = 0x8029FB8C;
D_8029FB90 = 0x8029FB90;
D_8029FB94 = 0x8029FB94;
D_8029FB98 = 0x8029FB98;
D_8029FB9C = 0x8029FB9C;
D_8029FBA0 = 0x8029FBA0;
D_8029FBA4 = 0x8029FBA4;
D_8029FBA8 = 0x8029FBA8;
D_8029FBAC = 0x8029FBAC;
D_8029FBB0 = 0x8029FBB0;
D_8029FBC0 = 0x8029FBC0;
D_8029FBD0 = 0x8029FBD0;
D_8029FBD4 = 0x8029FBD4;
gActionCommandStatus = 0x8029FBE0;
D_8029FC2A = 0x8029FC2A;
D_8029FC4C = 0x8029FC4C;
D_802A19B0 = 0x802A19B0;
D_802A19C0 = 0x802A19C0;
D_802A1A90 = 0x802A1A90;
D_802A1AC0 = 0x802A1AC0;
D_802A1B40 = 0x802A1B40;
D_802A1CD0 = 0x802A1CD0;
D_802A1CD4 = 0x802A1CD4;
D_802A21F0 = 0x802A21F0;
D_802A25C8 = 0x802A25C8;
D_802A25E4 = 0x802A25E4;
D_802A25E8 = 0x802A25E8;
D_802A25EC = 0x802A25EC;
D_802A25F0 = 0x802A25F0;
D_802A25F4 = 0x802A25F4;
D_802A25F8 = 0x802A25F8;
D_802A25FC = 0x802A25FC;
D_802A2C20 = 0x802A2C20;
D_802A2C50 = 0x802A2C50;
D_802A2CC0 = 0x802A2CC0;
D_802A2DD8 = 0x802A2DD8;
D_802A2DEC = 0x802A2DEC;
D_802A2DF0 = 0x802A2DF0;
D_802A2DF4 = 0x802A2DF4;
D_802A2DF8 = 0x802A2DF8;
D_802A2DFC = 0x802A2DFC;
D_802A2E00 = 0x802A2E00;
D_802A37F0 = 0x802A37F0;
D_802A37F8 = 0x802A37F8;
D_802A3818 = 0x802A3818;
D_802A3834 = 0x802A3834;
D_802A3838 = 0x802A3838;
D_802A3F58 = 0x802A3F58;
D_802A3F88 = 0x802A3F88;
D_802A4020 = 0x802A4020;
D_802A4350 = 0x802A4350;
D_802A43D0 = 0x802A43D0;
D_802A9620 = 0x802A9620;
D_802A98C0 = 0x802A98C0;
D_802A9920 = 0x802A9920;
D_802A9B00 = 0x802A9B00;
D_802A9F0C = 0x802A9F0C;
D_802A9F34 = 0x802A9F34;
D_802A9F5C = 0x802A9F5C;
D_802A9F84 = 0x802A9F84;
D_802A9FAC = 0x802A9FAC;
D_802AA320 = 0x802AA320;
D_802AA694 = 0x802AA694;
D_802AAA08 = 0x802AAA08;
D_802AAA30 = 0x802AAA30;
D_802ACC60 = 0x802ACC60;
D_802ACC64 = 0x802ACC64;
D_802ACC68 = 0x802ACC68;
D_802ACC6C = 0x802ACC6C;
D_802ACC70 = 0x802ACC70;
D_802ACCD0 = 0x802ACCD0;
D_802ACFE8 = 0x802ACFE8;
D_802ACFEC = 0x802ACFEC;
D_802ACFF0 = 0x802ACFF0;
D_802ACFF4 = 0x802ACFF4;
D_802ACFFC = 0x802ACFFC;
D_802ACFFD = 0x802ACFFD;
D_802AD000 = 0x802AD000;
D_802AD001 = 0x802AD001;
D_802AD002 = 0x802AD002;
D_802AD003 = 0x802AD003;
D_802AD004 = 0x802AD004;
D_802AD006 = 0x802AD006;
D_802AD008 = 0x802AD008;
D_802AD00A = 0x802AD00A;
D_802AD010 = 0x802AD010;
D_802AD028 = 0x802AD028;
D_802AD040 = 0x802AD040;
D_802AD044 = 0x802AD044;
D_802AD048 = 0x802AD048;
D_802AD04C = 0x802AD04C;
D_802AD050 = 0x802AD050;
D_802AD054 = 0x802AD054;
D_802AD058 = 0x802AD058;
D_802AD05C = 0x802AD05C;
D_802AD060 = 0x802AD060;
D_802AD064 = 0x802AD064;
D_802AD068 = 0x802AD068;
D_802AD069 = 0x802AD069;
D_802AD06A = 0x802AD06A;
D_802AD06B = 0x802AD06B;
D_802AD06C = 0x802AD06C;
D_802AD070 = 0x802AD070;
main_battle_menu_JumpHudScripts = 0x802AD078;
battle_menu_messageIDs = 0x802AD090;
D_802AD0A8 = 0x802AD0A8;
main_menu_numOptions = 0x802AD0AC;
D_802AD0B0 = 0x802AD0B0;
D_802AD0B3 = 0x802AD0B3;
battle_menu_submenuIDs = 0x802AD0B8;
D_802AD0BB = 0x802AD0BB;
D_802AD0BC = 0x802AD0BC;
D_802AD0C0 = 0x802AD0C0;
battle_menu_isEnabled = 0x802AD0D0;
battle_menu_isMessageDisabled = 0x802AD0E8;
D_802AD0EB = 0x802AD0EB;
D_802AD100 = 0x802AD100;
D_802AD104 = 0x802AD104;
battle_menu_moveState = 0x802AD108;
battle_menu_moveCursorPos = 0x802AD109;
D_802AD10A = 0x802AD10A;
D_802AD10B = 0x802AD10B;
battle_menu_moveScrollLine = 0x802AD10C;
D_802AD10D = 0x802AD10D;
D_802AD10E = 0x802AD10E;
D_802AD10F = 0x802AD10F;
battle_menu_moveScrollOffset = 0x802AD110;
D_802AD112 = 0x802AD112;
battle_menu_moveTextColor = 0x802AD114;
battle_menu_moveTextOpacity = 0x802AD116;
battle_menu_moveCursorIcon = 0x802AD118;
battle_menu_moveUpArrowIcon = 0x802AD11C;
battle_menu_moveDownArrowIcon = 0x802AD120;
battle_menu_moveOptionIconIDs = 0x802AD128;
battle_menu_moveTitleIcon = 0x802AD188;
battle_menu_moveOptionCostUnitIconIDs = 0x802AD190;
battle_menu_moveX = 0x802AD1F0;
battle_menu_moveY = 0x802AD1F2;
battle_menu_moveOptionIndexMap = 0x802AD1F8;
D_802AD258 = 0x802AD258;
battle_menu_moveOptionIconScripts = 0x802AD260;
battle_menu_moveOptionNames = 0x802AD2C0;
battle_menu_moveOptionDisplayCosts = 0x802AD320;
battle_menu_moveOptionDisplayCostReductions = 0x802AD380;
battle_menu_moveOptionDisplayCostReductionColors = 0x802AD3E0;
battle_menu_moveOptionBPCosts = 0x802AD440;
battle_menu_hasSpiritsMenu = 0x802AD4A0;
battle_menu_moveOptionCount = 0x802AD4A4;
D_802AD4A7 = 0x802AD4A7;
D_802AD4A8 = 0x802AD4A8;
battle_menu_moveIndices = 0x802AD4B0;
D_802AD4B2 = 0x802AD4B2;
D_802AD4B3 = 0x802AD4B3;
battle_menu_moveOptionsEnabled = 0x802AD510;
battle_menu_moveOptionDescriptions = 0x802AD570;
battle_menu_moveOptionSortPriorities = 0x802AD5D0;
battle_menu_moveOptionCantUseTypes = 0x802AD5E8;
battle_menu_moveOptionActive = 0x802AD600;
D_802AD603 = 0x802AD603;
D_802AD604 = 0x802AD604;
D_802AD605 = 0x802AD605;
D_802AD606 = 0x802AD606;
D_802AD607 = 0x802AD607;
D_802AD608 = 0x802AD608;
D_802AD609 = 0x802AD609;
D_802AD60A = 0x802AD60A;
D_802AD60B = 0x802AD60B;
D_802AD60C = 0x802AD60C;
D_802AD60E = 0x802AD60E;
D_802AD610 = 0x802AD610;
D_802AD612 = 0x802AD612;
D_802AD614 = 0x802AD614;
D_802AD618 = 0x802AD618;
D_802AD61C = 0x802AD61C;
D_802AD620 = 0x802AD620;
D_802AD624 = 0x802AD624;
D_802AD628 = 0x802AD628;
D_802AD63C = 0x802AD63C;
D_802AD63E = 0x802AD63E;
D_802AD640 = 0x802AD640;
D_802AD658 = 0x802AD658;
D_802AD66C = 0x802AD66C;
D_802AD66F = 0x802AD66F;
D_802AD670 = 0x802AD670;
D_802AD673 = 0x802AD673;
D_802AD678 = 0x802AD678;
D_802AD67B = 0x802AD67B;
D_802AD690 = 0x802AD690;
D_802AD6A8 = 0x802AD6A8;
D_802AD6AA = 0x802AD6AA;
D_802AD6C0 = 0x802AD6C0;
D_802AD6D4 = 0x802AD6D4;
D_802B6240 = 0x802B6240;
D_802B62B0 = 0x802B62B0;
D_802B62D0 = 0x802B62D0;
D_802B62D4 = 0x802B62D4;
D_802B62D8 = 0x802B62D8;
D_802B62DC = 0x802B62DC;
D_802B62E0 = 0x802B62E0;
D_802B6730 = 0x802B6730;
D_802B6770_E27C80 = 0x802B6770;
D_802B6780 = 0x802B6780;
D_802B6784 = 0x802B6784;
D_802B6788 = 0x802B6788;
D_802B678C = 0x802B678C;
D_802B6790 = 0x802B6790;
D_802B6794 = 0x802B6794;
D_802B6798 = 0x802B6798;
D_802B679C = 0x802B679C;
D_802B68B0 = 0x802B68B0;
D_802B68B4 = 0x802B68B4;
D_802B68B8 = 0x802B68B8;
D_802B68BC = 0x802B68BC;
D_802B6E80 = 0x802B6E80;
D_802B6E90_E2A300 = 0x802B6E90;
D_802B6ED0 = 0x802B6ED0;
D_802B6ED4 = 0x802B6ED4;
D_802B6ED8 = 0x802B6ED8;
D_802B6EDC = 0x802B6EDC;
D_802B6EE0 = 0x802B6EE0;
D_802B6EE4 = 0x802B6EE4;
D_802B6EE8 = 0x802B6EE8;
D_802B6EEC = 0x802B6EEC;
D_802B6EF0 = 0x802B6EF0;
D_802B6EF4 = 0x802B6EF4;
mdl_clearRenderTasks = 0x802B7E00;
D_802C0000 = 0x802C0000;
D_802C05CC = 0x802C05CC;
gMapFlags = 0x802DA480;
gMapVars = 0x802DA484;
gNumScripts = 0x802DA488;
gWorldScriptList = 0x802DA490;
gBattleScriptList = 0x802DA690;
gCurrentScriptListPtr = 0x802DA890;
gScriptIndexList = 0x802DA898;
gScriptIdList = 0x802DAA98;
gScriptListCount = 0x802DAC98;
evtDebugPrintBuffer = 0x802DACA0;
gLavaResetList = 0x802DADA0;
D_802DADA4 = 0x802DADA4;
gBattleMeshAnimationList = 0x802DADB0;
gWorldMeshAnimationList = 0x802DADF0;
gCurrentMeshAnimationListPtr = 0x802DAE30;
wExtraPartnerID = 0x802DAE40;
wExtraPartnerNpcID = 0x802DAE44;
D_802DAE50 = 0x802DAE50;
D_802DAE54 = 0x802DAE54;
gCurrentPrintContext = 0x802DB260;
D_802DB264 = 0x802DB264;
D_802DB268 = 0x802DB268;
D_802DB5B0 = 0x802DB5B0;
D_802DB5C0 = 0x802DB5C0;
D_802DB6C0 = 0x802DB6C0;
D_802DB7C0 = 0x802DB7C0;
D_802DB7D0 = 0x802DB7D0;
D_802DB7D8 = 0x802DB7D8;
D_802DB800 = 0x802DB800;
D_802DB830 = 0x802DB830;
D_802DBB60 = 0x802DBB60;
D_802DBB68 = 0x802DBB68;
gWorldMapFlags = 0x802DBC70;
D_802DBC7C = 0x802DBC7C;
D_802DBC88 = 0x802DBC88;
gWorldMapVars = 0x802DBCA8;
gBattleMapVars = 0x802DBCE8;
D_802DBD28 = 0x802DBD28;
gBattleMapFlags = 0x802DBD34;
spr_allocateBtlComponentsOnWorldHeap = 0x802DF524;
D_802DF530 = 0x802DF530;
D_802DF540 = 0x802DF540;
spr_playerSprites = 0x802DF548;
D_802DF57C = 0x802DF57C;
spr_playerMaxComponents = 0x802DF580;
spr_playerCurrentAnimInfo = 0x802DF588;
D_802DF58C = 0x802DF58C;
D_802DF590 = 0x802DF590;
spr_npcSprites = 0x802DF5B0;
spr_npcSpriteInstanceCount = 0x802DF958;
D_802DFA48 = 0x802DFA48;
D_802DFA4C = 0x802DFA4C;
D_802DFA58 = 0x802DFA58;
D_802DFE44 = 0x802DFE44;
D_802DFE48 = 0x802DFE48;
D_802DFE9C = 0x802DFE9C;
D_802DFEA0 = 0x802DFEA0;
D_802DFEAC = 0x802DFEAC;
D_802DFEB0 = 0x802DFEB0;
D_802DFEB8 = 0x802DFEB8;
D_802E004C = 0x802E004C;
D_802E0050 = 0x802E0050;
D_802E0080 = 0x802E0080;
D_802E0090 = 0x802E0090;
D_802E0C10 = 0x802E0C10;
D_802E0C14 = 0x802E0C14;
D_802E0C20 = 0x802E0C20;
D_802E0C58 = 0x802E0C58;
D_802E0C5C = 0x802E0C5C;
D_802E0C60 = 0x802E0C60;
D_802E0C64 = 0x802E0C64;
D_802E0C68 = 0x802E0C68;
D_802E0C70 = 0x802E0C70;
SaveBlockTutorialPrinterClosed = 0x802EB390;
SaveBlockResultPrinterClosed = 0x802EB394;
SaveBlockTutorialPrinter = 0x802EB398;
SaveBlockResultPrinter = 0x802EB39C;
SwitchToLink = 0x802EB3A0;
TriggerBlockVanishEffect = 0x802EB3B0;
HeartBlockPrinterClosed = 0x802EB3C0;
D_802ED970 = 0x802ED970;
D_802EE8D0 = 0x802EE8D0;
D_802F39D0 = 0x802F39D0;
D_802F4560 = 0x802F4560;
heap_generalHead = 0x802FB800;
gSpriteHeapPtr = 0x8034F800;
heap_battleHead = 0x803DA800;
D_802510B0 = 0x802510B0;
D_8026A2B0 = 0x8026A2B0;
D_80248380_kzn_19 = 0x80248380;
D_8024854C_kzn_19 = 0x8024854C;

View File

@ -2763,10 +2763,10 @@ dlabel gItemIconRasterOffsets
.word 0x00000000, 0x00001320, 0x00001540, 0x00001760, 0x00001980, 0x00001BA0, 0x00001DC0, 0x00001FE0, 0x00000000, 0x00000000, 0x00010780, 0x000109A0, 0x00010BC0, 0x00010E00, 0x00011020, 0x0000D860, 0x00009020, 0x00009240, 0x00009F00, 0x00009460, 0x00009680, 0x0000A9A0, 0x0000A560, 0x0000A780, 0x0000A340, 0x00009CE0, 0x000098A0, 0x0000ABC0, 0x0000B220, 0x0000B440, 0x0000CDC0, 0x0000B660, 0x0000B880, 0x0000BAA0, 0x0000B000, 0x0000BCC0, 0x0000BEE0, 0x0000C100, 0x0000C320, 0x00011240, 0x0000DEE0, 0x0000E100, 0x0000E320, 0x0000C540, 0x0000C760, 0x0000C980, 0x0000CBA0, 0x0000DAA0, 0x0000DCC0, 0x0000E540, 0x0000E760, 0x0000E980, 0x0000EBC0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x000129C0, 0x0000A120, 0x000129C0, 0x000129C0, 0x00009AC0, 0x0000CFE0, 0x0000D200, 0x0000D420, 0x0000D640, 0x0000A340, 0x00011AC0, 0x00027B40, 0x00027900, 0x00027D80, 0x00027FC0, 0x00028200, 0x00028440, 0x00028680, 0x000288C0, 0x00028B00, 0x00028D40, 0x0000F440, 0x0000F220, 0x0000F660, 0x0000FCE0, 0x0000B880, 0x0000F880, 0x0000FAA0, 0x000118A0, 0x00011CE0, 0x00011F20, 0x00012140, 0x00012360, 0x00012580, 0x000127A0, 0x00012580, 0x0000EDE0, 0x0000F000, 0x0000FCE0, 0x0000B880, 0x0000B880, 0x00011680, 0x00011460, 0x00000000, 0x00000000, 0x00000000, 0x0002A3C0, 0x0002A600, 0x0002A840, 0x0002ACC0, 0x0002AA80, 0x0002B140, 0x0002AF00, 0x00014700, 0x0002B5C0, 0x00024300, 0x000237C0, 0x0002B800, 0x00023A00, 0x000240C0, 0x00023C40, 0x000291C0, 0x00029640, 0x00029880, 0x00029AC0, 0x00027480, 0x000276C0, 0x00023E80, 0x00014280, 0x000144C0, 0x00014040, 0x00013BC0, 0x00029D00, 0x00024540, 0x00025980, 0x00025740, 0x00024780, 0x000249C0, 0x00024C00, 0x00024E40, 0x00027240, 0x00027000, 0x00026DC0, 0x00025080, 0x000252C0, 0x00025500, 0x00025BC0, 0x00025E00, 0x00026040, 0x00026280, 0x000264C0, 0x00026700, 0x00026940, 0x00026B80, 0x00002420, 0x00002660, 0x000028A0, 0x00002AE0, 0x00002D20, 0x00002F60, 0x000031A0, 0x000033E0, 0x00003620, 0x00003860, 0x00003AA0, 0x00004160, 0x00003CE0, 0x00003F20, 0x000043A0, 0x000045E0, 0x00004820, 0x00004A60, 0x00004CA0, 0x00004EE0, 0x00005120, 0x00005360, 0x000055A0, 0x000057E0, 0x00005A20, 0x00005C60, 0x00005EA0, 0x000060E0, 0x00006320, 0x00006560, 0x000067A0, 0x000069E0, 0x00006C20, 0x00006E60, 0x000070A0, 0x000072E0, 0x00007520, 0x00007760, 0x000079A0, 0x00007BE0, 0x00007E20, 0x00008060, 0x000082A0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00014DC0, 0x00015000, 0x00015240, 0x00015480, 0x000156C0, 0x00015900, 0x00015B40, 0x00015D80, 0x00015FC0, 0x00016200, 0x00000000, 0x000168C0, 0x000171C0, 0x00020880, 0x00017AC0, 0x00017F40, 0x000183C0, 0x00018600, 0x00018840, 0x00018A80, 0x00018CC0, 0x00018F00, 0x00019140, 0x00019380, 0x000195C0, 0x00019800, 0x00019A40, 0x00019C80, 0x00019EC0, 0x0001A100, 0x0001A340, 0x0001A580, 0x0001A7C0, 0x0001AA00, 0x0001AC40, 0x0001AE80, 0x0001B0C0, 0x0001B300, 0x0001B540, 0x00018180, 0x00016680, 0x00016B00, 0x00017400, 0x00016D40, 0x00017640, 0x0001E000, 0x00017880, 0x00016F80, 0x0001E6C0, 0x0001E240, 0x0001E480, 0x0001CE00, 0x0001C740, 0x0001C980, 0x0001D040, 0x00016440, 0x00017D00, 0x0001B780, 0x0001D280, 0x0001D4C0, 0x0001DB80, 0x0001D700, 0x0001DDC0, 0x0001D940, 0x0001CBC0, 0x0001B9C0, 0x0001BC00, 0x0001BE40, 0x0001C080, 0x0001C2C0, 0x0001C500, 0x00000000, 0x00000000, 0x000201C0, 0x00020400, 0x0001EFC0, 0x00000000, 0x00020640, 0x0001F440, 0x0001F200, 0x0001F680, 0x0001F8C0, 0x000201C0, 0x00020400, 0x00015D80, 0x000195C0, 0x0001A580, 0x0001A580, 0x0001B300, 0x0001B300, 0x0001F680, 0x0001F680, 0x00015240, 0x00015240, 0x00019C80, 0x00019C80, 0x0001FB00, 0x0001FB00, 0x0001FB00, 0x00021600, 0x000213C0, 0x00021840, 0x00021A80, 0x00021CC0, 0x00021F00, 0x00022140, 0x00015D80, 0x00015D80, 0x00015D80, 0x000195C0, 0x000195C0, 0x000195C0, 0x000225C0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00030A60, 0x0002F5C0, 0x00030CE0, 0x00030E20, 0x0002E900, 0x0002EF60, 0x00030400
dlabel gItemIconPaletteOffsets
.word 0x00000200, 0x00001520, 0x00001740, 0x00001960, 0x00001B80, 0x00001DA0, 0x00001FC0, 0x000021E0, 0x00000200, 0x00000200, 0x00010980, 0x00010BA0, 0x00010DC0, 0x00011000, 0x00011220, 0x0000DA60, 0x00009220, 0x00009440, 0x0000A100, 0x00009660, 0x00009880, 0x0000ABA0, 0x0000A760, 0x0000A980, 0x0000A540, 0x00009EE0, 0x00009AA0, 0x0000ADC0, 0x0000B420, 0x0000B640, 0x0000CFC0, 0x0000B860, 0x0000BA80, 0x0000BCA0, 0x0000B200, 0x0000BEC0, 0x0000C0E0, 0x0000C300, 0x0000C520, 0x00011440, 0x0000E0E0, 0x0000E300, 0x0000E520, 0x0000C740, 0x0000C960, 0x0000CB80, 0x0000CDA0, 0x0000DCA0, 0x0000DEC0, 0x0000E740, 0x0000E960, 0x0000EB80, 0x0000EDC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x0000A320, 0x00012BC0, 0x00012BC0, 0x00009CC0, 0x0000D1E0, 0x0000D400, 0x0000D620, 0x0000D840, 0x0000A540, 0x00011CC0, 0x00027D40, 0x00027B00, 0x00027F80, 0x000281C0, 0x00028400, 0x00028640, 0x00028880, 0x00028AC0, 0x00028D00, 0x00028F40, 0x0000F640, 0x0000F420, 0x0000F860, 0x0000FEE0, 0x0000BA80, 0x0000FA80, 0x0000FCA0, 0x00011AA0, 0x00011EE0, 0x00012120, 0x00012340, 0x00012560, 0x00012780, 0x000129A0, 0x00012780, 0x0000EFE0, 0x0000F200, 0x0000FEE0, 0x0000BA80, 0x0000BA80, 0x00011880, 0x00011660, 0x00000200, 0x00000200, 0x00000200, 0x0002A5C0, 0x0002A800, 0x0002AA40, 0x0002AEC0, 0x0002AC80, 0x0002B340, 0x0002B100, 0x00014900, 0x0002B7C0, 0x00024500, 0x000239C0, 0x0002BA00, 0x00023C00, 0x000242C0, 0x00023E40, 0x000293C0, 0x00029840, 0x00029A80, 0x00029CC0, 0x00027680, 0x000278C0, 0x00024080, 0x00014480, 0x000146C0, 0x00014240, 0x00013DC0, 0x00029F00, 0x00024740, 0x00025B80, 0x00025940, 0x00024980, 0x00024BC0, 0x00024E00, 0x00025040, 0x00027440, 0x00027200, 0x00026FC0, 0x00025280, 0x000254C0, 0x00025700, 0x00025DC0, 0x00026000, 0x00026240, 0x00026480, 0x000266C0, 0x00026900, 0x00026B40, 0x00026D80, 0x00002620, 0x00002860, 0x00002AA0, 0x00002CE0, 0x00002F20, 0x00003160, 0x000033A0, 0x000035E0, 0x00003820, 0x00003A60, 0x00003CA0, 0x00004360, 0x00003EE0, 0x00004120, 0x000045A0, 0x000047E0, 0x00004A20, 0x00004C60, 0x00004EA0, 0x000050E0, 0x00005320, 0x00005560, 0x000057A0, 0x000059E0, 0x00005C20, 0x00005E60, 0x000060A0, 0x000062E0, 0x00006520, 0x00006760, 0x000069A0, 0x00006BE0, 0x00006E20, 0x00007060, 0x000072A0, 0x000074E0, 0x00007720, 0x00007960, 0x00007BA0, 0x00007DE0, 0x00008020, 0x00008260, 0x000084A0, 0x00000200, 0x00000200, 0x00000200, 0x00000200, 0x00000200, 0x00014FC0, 0x00015200, 0x00015440, 0x00015680, 0x000158C0, 0x00015B00, 0x00015D40, 0x00015F80, 0x000161C0, 0x00016400, 0x00000200, 0x00016AC0, 0x000173C0, 0x00020A80, 0x00017CC0, 0x00018140, 0x000185C0, 0x00018800, 0x00018A40, 0x00018C80, 0x00018EC0, 0x00019100, 0x00019340, 0x00019580, 0x000197C0, 0x00019A00, 0x00019C40, 0x00019E80, 0x0001A0C0, 0x0001A300, 0x0001A540, 0x0001A780, 0x0001A9C0, 0x0001AC00, 0x0001AE40, 0x0001B080, 0x0001B2C0, 0x0001B500, 0x0001B740, 0x00018380, 0x00016880, 0x00016D00, 0x00017600, 0x00016F40, 0x00017840, 0x0001E200, 0x00017A80, 0x00017180, 0x0001E8C0, 0x0001E440, 0x0001E680, 0x0001D000, 0x0001C940, 0x0001CB80, 0x0001D240, 0x00016640, 0x00017F00, 0x0001B980, 0x0001D480, 0x0001D6C0, 0x0001DD80, 0x0001D900, 0x0001DFC0, 0x0001DB40, 0x0001CDC0, 0x0001BBC0, 0x0001BE00, 0x0001C040, 0x0001C280, 0x0001C4C0, 0x0001C700, 0x00000200, 0x00000200, 0x000203C0, 0x00020600, 0x0001F1C0, 0x00000200, 0x00020840, 0x0001F640, 0x0001F400, 0x0001F880, 0x0001FAC0, 0x000203C0, 0x00020600, 0x00015F80, 0x000197C0, 0x0001A780, 0x0001A780, 0x0001B500, 0x0001B500, 0x0001F880, 0x0001F880, 0x00015440, 0x00015440, 0x00019E80, 0x00019E80, 0x0001FD00, 0x0001FD00, 0x0001FD00, 0x00021800, 0x000215C0, 0x00021A40, 0x00021C80, 0x00021EC0, 0x00022100, 0x00022340, 0x00015F80, 0x00015F80, 0x00015F80, 0x000197C0, 0x000197C0, 0x000197C0, 0x000227C0, 0x00000200, 0x00000200, 0x00000200, 0x00000200, 0x00000200, 0x00030B80, 0x0002F6E0, 0x00030E00, 0x00030F40, 0x0002EB00, 0x0002F160, 0x00030600, 0x00000000
.word 0x00000200, 0x00001520, 0x00001740, 0x00001960, 0x00001B80, 0x00001DA0, 0x00001FC0, 0x000021E0, 0x00000200, 0x00000200, 0x00010980, 0x00010BA0, 0x00010DC0, 0x00011000, 0x00011220, 0x0000DA60, 0x00009220, 0x00009440, 0x0000A100, 0x00009660, 0x00009880, 0x0000ABA0, 0x0000A760, 0x0000A980, 0x0000A540, 0x00009EE0, 0x00009AA0, 0x0000ADC0, 0x0000B420, 0x0000B640, 0x0000CFC0, 0x0000B860, 0x0000BA80, 0x0000BCA0, 0x0000B200, 0x0000BEC0, 0x0000C0E0, 0x0000C300, 0x0000C520, 0x00011440, 0x0000E0E0, 0x0000E300, 0x0000E520, 0x0000C740, 0x0000C960, 0x0000CB80, 0x0000CDA0, 0x0000DCA0, 0x0000DEC0, 0x0000E740, 0x0000E960, 0x0000EB80, 0x0000EDC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x00012BC0, 0x0000A320, 0x00012BC0, 0x00012BC0, 0x00009CC0, 0x0000D1E0, 0x0000D400, 0x0000D620, 0x0000D840, 0x0000A540, 0x00011CC0, 0x00027D40, 0x00027B00, 0x00027F80, 0x000281C0, 0x00028400, 0x00028640, 0x00028880, 0x00028AC0, 0x00028D00, 0x00028F40, 0x0000F640, 0x0000F420, 0x0000F860, 0x0000FEE0, 0x0000BA80, 0x0000FA80, 0x0000FCA0, 0x00011AA0, 0x00011EE0, 0x00012120, 0x00012340, 0x00012560, 0x00012780, 0x000129A0, 0x00012780, 0x0000EFE0, 0x0000F200, 0x0000FEE0, 0x0000BA80, 0x0000BA80, 0x00011880, 0x00011660, 0x00000200, 0x00000200, 0x00000200, 0x0002A5C0, 0x0002A800, 0x0002AA40, 0x0002AEC0, 0x0002AC80, 0x0002B340, 0x0002B100, 0x00014900, 0x0002B7C0, 0x00024500, 0x000239C0, 0x0002BA00, 0x00023C00, 0x000242C0, 0x00023E40, 0x000293C0, 0x00029840, 0x00029A80, 0x00029CC0, 0x00027680, 0x000278C0, 0x00024080, 0x00014480, 0x000146C0, 0x00014240, 0x00013DC0, 0x00029F00, 0x00024740, 0x00025B80, 0x00025940, 0x00024980, 0x00024BC0, 0x00024E00, 0x00025040, 0x00027440, 0x00027200, 0x00026FC0, 0x00025280, 0x000254C0, 0x00025700, 0x00025DC0, 0x00026000, 0x00026240, 0x00026480, 0x000266C0, 0x00026900, 0x00026B40, 0x00026D80, 0x00002620, 0x00002860, 0x00002AA0, 0x00002CE0, 0x00002F20, 0x00003160, 0x000033A0, 0x000035E0, 0x00003820, 0x00003A60, 0x00003CA0, 0x00004360, 0x00003EE0, 0x00004120, 0x000045A0, 0x000047E0, 0x00004A20, 0x00004C60, 0x00004EA0, 0x000050E0, 0x00005320, 0x00005560, 0x000057A0, 0x000059E0, 0x00005C20, 0x00005E60, 0x000060A0, 0x000062E0, 0x00006520, 0x00006760, 0x000069A0, 0x00006BE0, 0x00006E20, 0x00007060, 0x000072A0, 0x000074E0, 0x00007720, 0x00007960, 0x00007BA0, 0x00007DE0, 0x00008020, 0x00008260, 0x000084A0, 0x00000200, 0x00000200, 0x00000200, 0x00000200, 0x00000200, 0x00014FC0, 0x00015200, 0x00015440, 0x00015680, 0x000158C0, 0x00015B00, 0x00015D40, 0x00015F80, 0x000161C0, 0x00016400, 0x00000200, 0x00016AC0, 0x000173C0, 0x00020A80, 0x00017CC0, 0x00018140, 0x000185C0, 0x00018800, 0x00018A40, 0x00018C80, 0x00018EC0, 0x00019100, 0x00019340, 0x00019580, 0x000197C0, 0x00019A00, 0x00019C40, 0x00019E80, 0x0001A0C0, 0x0001A300, 0x0001A540, 0x0001A780, 0x0001A9C0, 0x0001AC00, 0x0001AE40, 0x0001B080, 0x0001B2C0, 0x0001B500, 0x0001B740, 0x00018380, 0x00016880, 0x00016D00, 0x00017600, 0x00016F40, 0x00017840, 0x0001E200, 0x00017A80, 0x00017180, 0x0001E8C0, 0x0001E440, 0x0001E680, 0x0001D000, 0x0001C940, 0x0001CB80, 0x0001D240, 0x00016640, 0x00017F00, 0x0001B980, 0x0001D480, 0x0001D6C0, 0x0001DD80, 0x0001D900, 0x0001DFC0, 0x0001DB40, 0x0001CDC0, 0x0001BBC0, 0x0001BE00, 0x0001C040, 0x0001C280, 0x0001C4C0, 0x0001C700, 0x00000200, 0x00000200, 0x000203C0, 0x00020600, 0x0001F1C0, 0x00000200, 0x00020840, 0x0001F640, 0x0001F400, 0x0001F880, 0x0001FAC0, 0x000203C0, 0x00020600, 0x00015F80, 0x000197C0, 0x0001A780, 0x0001A780, 0x0001B500, 0x0001B500, 0x0001F880, 0x0001F880, 0x00015440, 0x00015440, 0x00019E80, 0x00019E80, 0x0001FD00, 0x0001FD00, 0x0001FD00, 0x00021800, 0x000215C0, 0x00021A40, 0x00021C80, 0x00021EC0, 0x00022100, 0x00022340, 0x00015F80, 0x00015F80, 0x00015F80, 0x000197C0, 0x000197C0, 0x000197C0, 0x000227C0, 0x00000200, 0x00000200, 0x00000200, 0x00000200, 0x00000200, 0x00030B80, 0x0002F6E0, 0x00030E00, 0x00030F40, 0x0002EB00, 0x0002F160, 0x00030600
dlabel D_8008EEC4
.word 0x00000001, 0x00000002, 0x00000003, 0x00000004, 0x00000009, 0x00000006, 0x00000007, 0x00000008, 0x00000005, 0x0000000A, 0x0000000B
dlabel D_8008EEC0
.word 0, 0x00000001, 0x00000002, 0x00000003, 0x00000004, 0x00000009, 0x00000006, 0x00000007, 0x00000008, 0x00000005, 0x0000000A, 0x0000000B
dlabel D_8008EEF0
.word 0x00000000, 0x00000001, 0x00000002, 0x00000003, 0x00000004, 0x00000000, 0x00000006, 0x00000007, 0x00000008, 0x00000005, 0x00000000, 0x00000000

View File

@ -15,7 +15,7 @@ dlabel D_80248A18_809298
.word 0x3FC00000, 0x0000001E, 0x0000001E, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001
dlabel D_80248A48_8092C8
.word 0x00000043, 0x00000002, func_80241C14_802494, D_80248A18_809298, 0x00000002, 0x00000000, 0x00000001, 0x00000000
.word 0x00000043, 0x00000002, mac_01_UnkNpcAIMainFunc, D_80248A18_809298, 0x00000002, 0x00000000, 0x00000001, 0x00000000
dlabel D_80248A68_8092E8
.word 0x00000000, 0x001E0018, 0x00000000, 0x00000000, D_80248A48_8092C8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010, 0x00000000, 0x00170013, 0x00000000, 0x00000000, D_80248A48_8092C8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010
@ -633,7 +633,7 @@ dlabel D_8025F16C_81F9EC
.word 0x3FC00000, 0x0000001E, 0x0000001E, 0x00000000, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000001
dlabel D_8025F19C_81FA1C
.word 0x00000043, 0x00000002, func_802460E4_806964, D_8025F16C_81F9EC, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x001E0018, 0x00000000, 0x00000000, D_8025F19C_81FA1C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010, 0x00000000, 0x00170013, 0x00000000, 0x00000000, D_8025F19C_81FA1C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010
.word 0x00000043, 0x00000002, dup_mac_01_UnkNpcAIMainFunc, D_8025F16C_81F9EC, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x001E0018, 0x00000000, 0x00000000, D_8025F19C_81FA1C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010, 0x00000000, 0x00170013, 0x00000000, 0x00000000, D_8025F19C_81FA1C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630010
dlabel D_8025F214_81FA94
.word 0x00000000, 0x001E0018, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000, 0x00000000, 0x00170013, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00630000

View File

@ -126,7 +126,7 @@ dlabel D_80248914_82BBD4
.word 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C81, 0x00000043, 0x00000001, ShowConsumableChoicePopup, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000016, 0x00000001, 0xFFFFFFFF, 0x0000001C, 0x00000000, 0x00000043, 0x00000002, RemoveItemAt, 0xFE363C81, 0x00000043, 0x00000004, GetPlayerPos, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000004, mac_02_AddPlayerHandsOffset, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000007, MakeItemEntity, 0xFE363C80, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000001, 0x00000000, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00060005, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, SetPlayerAnimation, 0x00010002, 0x00000043, 0x00000002, RemoveItemEntity, 0xFE363C80, 0x00000023, 0x00000000, 0x00000043, 0x00000002, func_80242AD4_825D94, 0xFE363C8A, 0x00000043, 0x00000001, CloseChoicePopup, 0x00000048, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
dlabel D_80248A48_82BD08
.word 0x00000043, 0x00000002, btl_state_draw_switch_to_player_825E68, 0xFE363C80, 0x0000004E, 0x00000006, D_80248914_82BBD4, 0x00000010, 0x00000000, D_8024E738, 0x00000000, 0x00000001, 0x00000043, 0x00000002, func_80242A80_825D40, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000
.word 0x00000043, 0x00000002, func_80242BA8_825E68, 0xFE363C80, 0x0000004E, 0x00000006, D_80248914_82BBD4, 0x00000010, 0x00000000, D_8024E738, 0x00000000, 0x00000001, 0x00000043, 0x00000002, func_80242A80_825D40, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000
dlabel D_80248A98_82BD58
.word 0x0000008A, 0x0000008C, 0x0000008E, 0x00000095, 0x0000008B, 0x00000080, 0x000000AC, 0x0000009D, 0x0000009C, 0x000000A4, 0x000000A3, 0x000000A2, 0x00000094, 0x0000009F, 0x0000009E, 0x000000A0, 0x000000A5, 0x000000A6, 0x000000A7, 0x000000A8, 0x000000A9, 0x000000AA, 0x000000AB, 0x000000AD, 0x000000AE, 0x000000AF, 0x0000008D, 0x000000A1, 0x00000093, 0xFFFFFFFF

View File

@ -965,8 +965,8 @@ glabel btl_state_update_partner_menu
/* 41DD2C 802A8F9C 0220502D */ daddu $t2, $s1, $zero
/* 41DD30 802A8FA0 3C09802B */ lui $t1, %hi(battle_menu_DisabledPartnerHudScripts)
/* 41DD34 802A8FA4 2529B438 */ addiu $t1, $t1, %lo(battle_menu_DisabledPartnerHudScripts)
/* 41DD38 802A8FA8 3C088009 */ lui $t0, %hi(D_8008EEC4)
/* 41DD3C 802A8FAC 2508EEC4 */ addiu $t0, $t0, %lo(D_8008EEC4)
/* 41DD38 802A8FA8 3C088009 */ lui $t0, %hi(D_8008EEC0 + 4)
/* 41DD3C 802A8FAC 2508EEC4 */ addiu $t0, $t0, %lo(D_8008EEC0 + 4)
/* 41DD40 802A8FB0 0240202D */ daddu $a0, $s2, $zero
.L802A8FB4:
/* 41DD44 802A8FB4 8D050000 */ lw $a1, ($t0)
@ -1536,8 +1536,8 @@ glabel btl_state_update_partner_menu
/* 41E578 802A97E8 0220502D */ daddu $t2, $s1, $zero
/* 41E57C 802A97EC 3C09802B */ lui $t1, %hi(battle_menu_DisabledPartnerHudScripts)
/* 41E580 802A97F0 2529B438 */ addiu $t1, $t1, %lo(battle_menu_DisabledPartnerHudScripts)
/* 41E584 802A97F4 3C088009 */ lui $t0, %hi(D_8008EEC4)
/* 41E588 802A97F8 2508EEC4 */ addiu $t0, $t0, %lo(D_8008EEC4)
/* 41E584 802A97F4 3C088009 */ lui $t0, %hi(D_8008EEC0 + 4)
/* 41E588 802A97F8 2508EEC4 */ addiu $t0, $t0, %lo(D_8008EEC0 + 4)
/* 41E58C 802A97FC 0240202D */ daddu $a0, $s2, $zero
.L802A9800:
/* 41E590 802A9800 8D050000 */ lw $a1, ($t0)

View File

@ -2579,8 +2579,8 @@ glabel btl_state_update_player_menu
/* 41CBE4 802A7E54 0260502D */ daddu $t2, $s3, $zero
/* 41CBE8 802A7E58 3C09802B */ lui $t1, %hi(battle_menu_DisabledPartnerHudScripts)
/* 41CBEC 802A7E5C 2529B438 */ addiu $t1, $t1, %lo(battle_menu_DisabledPartnerHudScripts)
/* 41CBF0 802A7E60 3C088009 */ lui $t0, %hi(D_8008EEC4)
/* 41CBF4 802A7E64 2508EEC4 */ addiu $t0, $t0, %lo(D_8008EEC4)
/* 41CBF0 802A7E60 3C088009 */ lui $t0, %hi(D_8008EEC0 + 4)
/* 41CBF4 802A7E64 2508EEC4 */ addiu $t0, $t0, %lo(D_8008EEC0 + 4)
/* 41CBF8 802A7E68 3C04802B */ lui $a0, %hi(D_802ACCD0)
/* 41CBFC 802A7E6C 2484CCD0 */ addiu $a0, $a0, %lo(D_802ACCD0)
.L802A7E70:

View File

@ -1,302 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.section .text
glabel func_800E0B90
/* 7A040 800E0B90 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 7A044 800E0B94 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 7A048 800E0B98 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 7A04C 800E0B9C AFB10014 */ sw $s1, 0x14($sp)
/* 7A050 800E0BA0 3C118011 */ lui $s1, %hi(gPlayerStatus)
/* 7A054 800E0BA4 2631EFC8 */ addiu $s1, $s1, %lo(gPlayerStatus)
/* 7A058 800E0BA8 AFBF0018 */ sw $ra, 0x18($sp)
/* 7A05C 800E0BAC AFB00010 */ sw $s0, 0x10($sp)
/* 7A060 800E0BB0 F7B60028 */ sdc1 $f22, 0x28($sp)
/* 7A064 800E0BB4 F7B40020 */ sdc1 $f20, 0x20($sp)
/* 7A068 800E0BB8 00031080 */ sll $v0, $v1, 2
/* 7A06C 800E0BBC 00431021 */ addu $v0, $v0, $v1
/* 7A070 800E0BC0 00021080 */ sll $v0, $v0, 2
/* 7A074 800E0BC4 00431023 */ subu $v0, $v0, $v1
/* 7A078 800E0BC8 000218C0 */ sll $v1, $v0, 3
/* 7A07C 800E0BCC 00431021 */ addu $v0, $v0, $v1
/* 7A080 800E0BD0 000210C0 */ sll $v0, $v0, 3
/* 7A084 800E0BD4 3C01800B */ lui $at, %hi(gCameras+0x6C)
/* 7A088 800E0BD8 00220821 */ addu $at, $at, $v0
/* 7A08C 800E0BDC C4361DEC */ lwc1 $f22, %lo(gCameras+0x6C)($at)
/* 7A090 800E0BE0 C62E0084 */ lwc1 $f14, 0x84($s1)
/* 7A094 800E0BE4 0C00A70A */ jal get_clamped_angle_diff
/* 7A098 800E0BE8 4600B306 */ mov.s $f12, $f22
/* 7A09C 800E0BEC 46000506 */ mov.s $f20, $f0
/* 7A0A0 800E0BF0 3C01C0A0 */ lui $at, 0xc0a0
/* 7A0A4 800E0BF4 44810000 */ mtc1 $at, $f0
/* 7A0A8 800E0BF8 3C02800F */ lui $v0, %hi(D_800F7B48)
/* 7A0AC 800E0BFC 24427B48 */ addiu $v0, $v0, %lo(D_800F7B48)
/* 7A0B0 800E0C00 4600A03C */ c.lt.s $f20, $f0
/* 7A0B4 800E0C04 00000000 */ nop
/* 7A0B8 800E0C08 4500000B */ bc1f .L800E0C38
/* 7A0BC 800E0C0C AC400000 */ sw $zero, ($v0)
/* 7A0C0 800E0C10 3C01C32F */ lui $at, 0xc32f
/* 7A0C4 800E0C14 44810000 */ mtc1 $at, $f0
/* 7A0C8 800E0C18 00000000 */ nop
/* 7A0CC 800E0C1C 4614003C */ c.lt.s $f0, $f20
/* 7A0D0 800E0C20 00000000 */ nop
/* 7A0D4 800E0C24 45000004 */ bc1f .L800E0C38
/* 7A0D8 800E0C28 0000182D */ daddu $v1, $zero, $zero
/* 7A0DC 800E0C2C C4540000 */ lwc1 $f20, ($v0)
/* 7A0E0 800E0C30 08038324 */ j .L800E0C90
/* 7A0E4 800E0C34 00000000 */ nop
.L800E0C38:
/* 7A0E8 800E0C38 3C0140A0 */ lui $at, 0x40a0
/* 7A0EC 800E0C3C 44810000 */ mtc1 $at, $f0
/* 7A0F0 800E0C40 00000000 */ nop
/* 7A0F4 800E0C44 4614003C */ c.lt.s $f0, $f20
/* 7A0F8 800E0C48 00000000 */ nop
/* 7A0FC 800E0C4C 4500000C */ bc1f .L800E0C80
/* 7A100 800E0C50 00000000 */ nop
/* 7A104 800E0C54 3C01432F */ lui $at, 0x432f
/* 7A108 800E0C58 44810000 */ mtc1 $at, $f0
/* 7A10C 800E0C5C 00000000 */ nop
/* 7A110 800E0C60 4600A03C */ c.lt.s $f20, $f0
/* 7A114 800E0C64 00000000 */ nop
/* 7A118 800E0C68 45000005 */ bc1f .L800E0C80
/* 7A11C 800E0C6C 24030001 */ addiu $v1, $zero, 1
/* 7A120 800E0C70 3C014334 */ lui $at, 0x4334
/* 7A124 800E0C74 4481A000 */ mtc1 $at, $f20
/* 7A128 800E0C78 08038324 */ j .L800E0C90
/* 7A12C 800E0C7C 00000000 */ nop
.L800E0C80:
/* 7A130 800E0C80 3C01800F */ lui $at, %hi(D_800F7B40)
/* 7A134 800E0C84 C4347B40 */ lwc1 $f20, %lo(D_800F7B40)($at)
/* 7A138 800E0C88 4680A520 */ cvt.s.w $f20, $f20
/* 7A13C 800E0C8C 24030002 */ addiu $v1, $zero, 2
.L800E0C90:
/* 7A140 800E0C90 3C048011 */ lui $a0, %hi(D_8010C95C)
/* 7A144 800E0C94 2484C95C */ addiu $a0, $a0, %lo(D_8010C95C)
/* 7A148 800E0C98 8C820000 */ lw $v0, ($a0)
/* 7A14C 800E0C9C 10430022 */ beq $v0, $v1, .L800E0D28
/* 7A150 800E0CA0 24020002 */ addiu $v0, $zero, 2
/* 7A154 800E0CA4 10620020 */ beq $v1, $v0, .L800E0D28
/* 7A158 800E0CA8 00000000 */ nop
/* 7A15C 800E0CAC 3C028007 */ lui $v0, %hi(gCurrentCameraID)
/* 7A160 800E0CB0 8C427410 */ lw $v0, %lo(gCurrentCameraID)($v0)
/* 7A164 800E0CB4 AC830000 */ sw $v1, ($a0)
/* 7A168 800E0CB8 00021080 */ sll $v0, $v0, 2
/* 7A16C 800E0CBC 10600005 */ beqz $v1, .L800E0CD4
/* 7A170 800E0CC0 02221021 */ addu $v0, $s1, $v0
/* 7A174 800E0CC4 3C014334 */ lui $at, 0x4334
/* 7A178 800E0CC8 44810000 */ mtc1 $at, $f0
/* 7A17C 800E0CCC 08038339 */ j .L800E0CE4
/* 7A180 800E0CD0 E4400090 */ swc1 $f0, 0x90($v0)
.L800E0CD4:
/* 7A184 800E0CD4 3C01C334 */ lui $at, 0xc334
/* 7A188 800E0CD8 44810000 */ mtc1 $at, $f0
/* 7A18C 800E0CDC 00000000 */ nop
/* 7A190 800E0CE0 E4400090 */ swc1 $f0, 0x90($v0)
.L800E0CE4:
/* 7A194 800E0CE4 C62E0084 */ lwc1 $f14, 0x84($s1)
/* 7A198 800E0CE8 0C00A70A */ jal get_clamped_angle_diff
/* 7A19C 800E0CEC 4600B306 */ mov.s $f12, $f22
/* 7A1A0 800E0CF0 3C0142B4 */ lui $at, 0x42b4
/* 7A1A4 800E0CF4 44811000 */ mtc1 $at, $f2
/* 7A1A8 800E0CF8 46000005 */ abs.s $f0, $f0
/* 7A1AC 800E0CFC 4600103E */ c.le.s $f2, $f0
/* 7A1B0 800E0D00 00000000 */ nop
/* 7A1B4 800E0D04 45000008 */ bc1f .L800E0D28
/* 7A1B8 800E0D08 00000000 */ nop
/* 7A1BC 800E0D0C 3C028007 */ lui $v0, %hi(gCurrentCameraID)
/* 7A1C0 800E0D10 8C427410 */ lw $v0, %lo(gCurrentCameraID)($v0)
/* 7A1C4 800E0D14 00021080 */ sll $v0, $v0, 2
/* 7A1C8 800E0D18 02221021 */ addu $v0, $s1, $v0
/* 7A1CC 800E0D1C C4400090 */ lwc1 $f0, 0x90($v0)
/* 7A1D0 800E0D20 46000007 */ neg.s $f0, $f0
/* 7A1D4 800E0D24 E4400090 */ swc1 $f0, 0x90($v0)
.L800E0D28:
/* 7A1D8 800E0D28 3C028007 */ lui $v0, %hi(gCurrentCameraID)
/* 7A1DC 800E0D2C 8C427410 */ lw $v0, %lo(gCurrentCameraID)($v0)
/* 7A1E0 800E0D30 44801000 */ mtc1 $zero, $f2
/* 7A1E4 800E0D34 00021080 */ sll $v0, $v0, 2
/* 7A1E8 800E0D38 02221021 */ addu $v0, $s1, $v0
/* 7A1EC 800E0D3C C4440090 */ lwc1 $f4, 0x90($v0)
/* 7A1F0 800E0D40 46022032 */ c.eq.s $f4, $f2
/* 7A1F4 800E0D44 00000000 */ nop
/* 7A1F8 800E0D48 4501001B */ bc1t .L800E0DB8
/* 7A1FC 800E0D4C 00000000 */ nop
/* 7A200 800E0D50 4602203C */ c.lt.s $f4, $f2
/* 7A204 800E0D54 00000000 */ nop
/* 7A208 800E0D58 4500000B */ bc1f .L800E0D88
/* 7A20C 800E0D5C 00000000 */ nop
/* 7A210 800E0D60 3C0141E0 */ lui $at, 0x41e0
/* 7A214 800E0D64 44810000 */ mtc1 $at, $f0
/* 7A218 800E0D68 00000000 */ nop
/* 7A21C 800E0D6C 46002100 */ add.s $f4, $f4, $f0
/* 7A220 800E0D70 4604103C */ c.lt.s $f2, $f4
/* 7A224 800E0D74 00000000 */ nop
/* 7A228 800E0D78 45030003 */ bc1tl .L800E0D88
/* 7A22C 800E0D7C 46001106 */ mov.s $f4, $f2
/* 7A230 800E0D80 44801000 */ mtc1 $zero, $f2
/* 7A234 800E0D84 00000000 */ nop
.L800E0D88:
/* 7A238 800E0D88 4604103C */ c.lt.s $f2, $f4
/* 7A23C 800E0D8C 00000000 */ nop
/* 7A240 800E0D90 45000009 */ bc1f .L800E0DB8
/* 7A244 800E0D94 00000000 */ nop
/* 7A248 800E0D98 3C0141E0 */ lui $at, 0x41e0
/* 7A24C 800E0D9C 44810000 */ mtc1 $at, $f0
/* 7A250 800E0DA0 00000000 */ nop
/* 7A254 800E0DA4 46002101 */ sub.s $f4, $f4, $f0
/* 7A258 800E0DA8 4602203C */ c.lt.s $f4, $f2
/* 7A25C 800E0DAC 00000000 */ nop
/* 7A260 800E0DB0 45030001 */ bc1tl .L800E0DB8
/* 7A264 800E0DB4 46001106 */ mov.s $f4, $f2
.L800E0DB8:
/* 7A268 800E0DB8 8E220000 */ lw $v0, ($s1)
/* 7A26C 800E0DBC 3C030020 */ lui $v1, 0x20
/* 7A270 800E0DC0 00431024 */ and $v0, $v0, $v1
/* 7A274 800E0DC4 10400002 */ beqz $v0, .L800E0DD0
/* 7A278 800E0DC8 00000000 */ nop
/* 7A27C 800E0DCC 44802000 */ mtc1 $zero, $f4
.L800E0DD0:
/* 7A280 800E0DD0 3C108007 */ lui $s0, %hi(gCurrentCameraID)
/* 7A284 800E0DD4 26107410 */ addiu $s0, $s0, %lo(gCurrentCameraID)
/* 7A288 800E0DD8 8E020000 */ lw $v0, ($s0)
/* 7A28C 800E0DDC 4600A306 */ mov.s $f12, $f20
/* 7A290 800E0DE0 00021080 */ sll $v0, $v0, 2
/* 7A294 800E0DE4 02221021 */ addu $v0, $s1, $v0
/* 7A298 800E0DE8 0C00A6C9 */ jal clamp_angle
/* 7A29C 800E0DEC E4440090 */ swc1 $f4, 0x90($v0)
/* 7A2A0 800E0DF0 8E020000 */ lw $v0, ($s0)
/* 7A2A4 800E0DF4 00021080 */ sll $v0, $v0, 2
/* 7A2A8 800E0DF8 02221021 */ addu $v0, $s1, $v0
/* 7A2AC 800E0DFC C44C0090 */ lwc1 $f12, 0x90($v0)
/* 7A2B0 800E0E00 46000106 */ mov.s $f4, $f0
/* 7A2B4 800E0E04 4600220D */ trunc.w.s $f8, $f4
/* 7A2B8 800E0E08 3C01800F */ lui $at, %hi(D_800F7B40)
/* 7A2BC 800E0E0C E4287B40 */ swc1 $f8, %lo(D_800F7B40)($at)
/* 7A2C0 800E0E10 0C00A6C9 */ jal clamp_angle
/* 7A2C4 800E0E14 46046300 */ add.s $f12, $f12, $f4
/* 7A2C8 800E0E18 C6220054 */ lwc1 $f2, 0x54($s1)
/* 7A2CC 800E0E1C 44803000 */ mtc1 $zero, $f6
/* 7A2D0 800E0E20 00000000 */ nop
/* 7A2D4 800E0E24 46061032 */ c.eq.s $f2, $f6
/* 7A2D8 800E0E28 00000000 */ nop
/* 7A2DC 800E0E2C 45000003 */ bc1f .L800E0E3C
/* 7A2E0 800E0E30 46000106 */ mov.s $f4, $f0
/* 7A2E4 800E0E34 3C01800F */ lui $at, %hi(D_800F7B48)
/* 7A2E8 800E0E38 E4267B48 */ swc1 $f6, %lo(D_800F7B48)($at)
.L800E0E3C:
/* 7A2EC 800E0E3C 3C020002 */ lui $v0, 2
/* 7A2F0 800E0E40 8E250000 */ lw $a1, ($s1)
/* 7A2F4 800E0E44 8E3000B8 */ lw $s0, 0xb8($s1)
/* 7A2F8 800E0E48 00A21024 */ and $v0, $a1, $v0
/* 7A2FC 800E0E4C 5440004A */ bnel $v0, $zero, .L800E0F78
/* 7A300 800E0E50 AE3000A4 */ sw $s0, 0xa4($s1)
/* 7A304 800E0E54 00101403 */ sra $v0, $s0, 0x10
/* 7A308 800E0E58 304400FF */ andi $a0, $v0, 0xff
/* 7A30C 800E0E5C 822300B4 */ lb $v1, 0xb4($s1)
/* 7A310 800E0E60 2402000F */ addiu $v0, $zero, 0xf
/* 7A314 800E0E64 10620024 */ beq $v1, $v0, .L800E0EF8
/* 7A318 800E0E68 3C020010 */ lui $v0, 0x10
/* 7A31C 800E0E6C 00A21024 */ and $v0, $a1, $v0
/* 7A320 800E0E70 14400022 */ bnez $v0, .L800E0EFC
/* 7A324 800E0E74 3C031000 */ lui $v1, 0x1000
/* 7A328 800E0E78 3C01800F */ lui $at, %hi(D_800F7B48)
/* 7A32C 800E0E7C C4207B48 */ lwc1 $f0, %lo(D_800F7B48)($at)
/* 7A330 800E0E80 8E220000 */ lw $v0, ($s1)
/* 7A334 800E0E84 46002000 */ add.s $f0, $f4, $f0
/* 7A338 800E0E88 8E3000B8 */ lw $s0, 0xb8($s1)
/* 7A33C 800E0E8C 00431024 */ and $v0, $v0, $v1
/* 7A340 800E0E90 14400015 */ bnez $v0, .L800E0EE8
/* 7A344 800E0E94 E62000A8 */ swc1 $f0, 0xa8($s1)
/* 7A348 800E0E98 24020001 */ addiu $v0, $zero, 1
/* 7A34C 800E0E9C 10820005 */ beq $a0, $v0, .L800E0EB4
/* 7A350 800E0EA0 24020006 */ addiu $v0, $zero, 6
/* 7A354 800E0EA4 10820003 */ beq $a0, $v0, .L800E0EB4
/* 7A358 800E0EA8 2402000A */ addiu $v0, $zero, 0xa
/* 7A35C 800E0EAC 1482000E */ bne $a0, $v0, .L800E0EE8
/* 7A360 800E0EB0 00000000 */ nop
.L800E0EB4:
/* 7A364 800E0EB4 C62E0084 */ lwc1 $f14, 0x84($s1)
/* 7A368 800E0EB8 0C00A70A */ jal get_clamped_angle_diff
/* 7A36C 800E0EBC 4600B306 */ mov.s $f12, $f22
/* 7A370 800E0EC0 3C014270 */ lui $at, 0x4270
/* 7A374 800E0EC4 44811000 */ mtc1 $at, $f2
/* 7A378 800E0EC8 46000005 */ abs.s $f0, $f0
/* 7A37C 800E0ECC 4602003C */ c.lt.s $f0, $f2
/* 7A380 800E0ED0 00000000 */ nop
/* 7A384 800E0ED4 45000004 */ bc1f .L800E0EE8
/* 7A388 800E0ED8 00000000 */ nop
/* 7A38C 800E0EDC 0C0383FB */ jal get_player_back_anim
/* 7A390 800E0EE0 0200202D */ daddu $a0, $s0, $zero
/* 7A394 800E0EE4 0040802D */ daddu $s0, $v0, $zero
.L800E0EE8:
/* 7A398 800E0EE8 C6200080 */ lwc1 $f0, 0x80($s1)
/* 7A39C 800E0EEC AE3000A4 */ sw $s0, 0xa4($s1)
/* 7A3A0 800E0EF0 080383DE */ j .L800E0F78
/* 7A3A4 800E0EF4 E6200084 */ swc1 $f0, 0x84($s1)
.L800E0EF8:
/* 7A3A8 800E0EF8 3C031000 */ lui $v1, 0x1000
.L800E0EFC:
/* 7A3AC 800E0EFC 8E220000 */ lw $v0, ($s1)
/* 7A3B0 800E0F00 8E3000B8 */ lw $s0, 0xb8($s1)
/* 7A3B4 800E0F04 00431024 */ and $v0, $v0, $v1
/* 7A3B8 800E0F08 5440001B */ bnel $v0, $zero, .L800E0F78
/* 7A3BC 800E0F0C AE3000A4 */ sw $s0, 0xa4($s1)
/* 7A3C0 800E0F10 24020001 */ addiu $v0, $zero, 1
/* 7A3C4 800E0F14 10820005 */ beq $a0, $v0, .L800E0F2C
/* 7A3C8 800E0F18 24020006 */ addiu $v0, $zero, 6
/* 7A3CC 800E0F1C 10820003 */ beq $a0, $v0, .L800E0F2C
/* 7A3D0 800E0F20 2402000A */ addiu $v0, $zero, 0xa
/* 7A3D4 800E0F24 54820014 */ bnel $a0, $v0, .L800E0F78
/* 7A3D8 800E0F28 AE3000A4 */ sw $s0, 0xa4($s1)
.L800E0F2C:
/* 7A3DC 800E0F2C C62200A8 */ lwc1 $f2, 0xa8($s1)
/* 7A3E0 800E0F30 3C0143AF */ lui $at, 0x43af
/* 7A3E4 800E0F34 44810000 */ mtc1 $at, $f0
/* 7A3E8 800E0F38 00000000 */ nop
/* 7A3EC 800E0F3C 4600103C */ c.lt.s $f2, $f0
/* 7A3F0 800E0F40 00000000 */ nop
/* 7A3F4 800E0F44 4502000C */ bc1fl .L800E0F78
/* 7A3F8 800E0F48 AE3000A4 */ sw $s0, 0xa4($s1)
/* 7A3FC 800E0F4C 3C01433E */ lui $at, 0x433e
/* 7A400 800E0F50 44810000 */ mtc1 $at, $f0
/* 7A404 800E0F54 00000000 */ nop
/* 7A408 800E0F58 4602003C */ c.lt.s $f0, $f2
/* 7A40C 800E0F5C 00000000 */ nop
/* 7A410 800E0F60 45020005 */ bc1fl .L800E0F78
/* 7A414 800E0F64 AE3000A4 */ sw $s0, 0xa4($s1)
/* 7A418 800E0F68 0C0383FB */ jal get_player_back_anim
/* 7A41C 800E0F6C 0200202D */ daddu $a0, $s0, $zero
/* 7A420 800E0F70 0040802D */ daddu $s0, $v0, $zero
/* 7A424 800E0F74 AE3000A4 */ sw $s0, 0xa4($s1)
.L800E0F78:
/* 7A428 800E0F78 3C020004 */ lui $v0, 4
/* 7A42C 800E0F7C 8E230000 */ lw $v1, ($s1)
/* 7A430 800E0F80 3C013F80 */ lui $at, 0x3f80
/* 7A434 800E0F84 44810000 */ mtc1 $at, $f0
/* 7A438 800E0F88 00621024 */ and $v0, $v1, $v0
/* 7A43C 800E0F8C 10400003 */ beqz $v0, .L800E0F9C
/* 7A440 800E0F90 3C022000 */ lui $v0, 0x2000
/* 7A444 800E0F94 3C013F00 */ lui $at, 0x3f00
/* 7A448 800E0F98 44810000 */ mtc1 $at, $f0
.L800E0F9C:
/* 7A44C 800E0F9C 00621024 */ and $v0, $v1, $v0
/* 7A450 800E0FA0 10400002 */ beqz $v0, .L800E0FAC
/* 7A454 800E0FA4 00000000 */ nop
/* 7A458 800E0FA8 44800000 */ mtc1 $zero, $f0
.L800E0FAC:
/* 7A45C 800E0FAC 8E2500A4 */ lw $a1, 0xa4($s1)
/* 7A460 800E0FB0 44060000 */ mfc1 $a2, $f0
/* 7A464 800E0FB4 0C0B76A3 */ jal spr_update_player_sprite
/* 7A468 800E0FB8 0000202D */ daddu $a0, $zero, $zero
/* 7A46C 800E0FBC A62200BC */ sh $v0, 0xbc($s1)
/* 7A470 800E0FC0 8E220000 */ lw $v0, ($s1)
/* 7A474 800E0FC4 3C034000 */ lui $v1, 0x4000
/* 7A478 800E0FC8 00431025 */ or $v0, $v0, $v1
/* 7A47C 800E0FCC AE220000 */ sw $v0, ($s1)
/* 7A480 800E0FD0 8FBF0018 */ lw $ra, 0x18($sp)
/* 7A484 800E0FD4 8FB10014 */ lw $s1, 0x14($sp)
/* 7A488 800E0FD8 8FB00010 */ lw $s0, 0x10($sp)
/* 7A48C 800E0FDC D7B60028 */ ldc1 $f22, 0x28($sp)
/* 7A490 800E0FE0 D7B40020 */ ldc1 $f20, 0x20($sp)
/* 7A494 800E0FE4 03E00008 */ jr $ra
/* 7A498 800E0FE8 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -1,101 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel get_player_back_anim
/* 7A49C 800E0FEC 00041403 */ sra $v0, $a0, 0x10
/* 7A4A0 800E0FF0 304300FF */ andi $v1, $v0, 0xff
/* 7A4A4 800E0FF4 24020001 */ addiu $v0, $zero, 1
/* 7A4A8 800E0FF8 10620009 */ beq $v1, $v0, .L800E1020
/* 7A4AC 800E0FFC 0000282D */ daddu $a1, $zero, $zero
/* 7A4B0 800E1000 24020006 */ addiu $v0, $zero, 6
/* 7A4B4 800E1004 10620003 */ beq $v1, $v0, .L800E1014
/* 7A4B8 800E1008 2402000A */ addiu $v0, $zero, 0xa
/* 7A4BC 800E100C 14620009 */ bne $v1, $v0, .L800E1034
/* 7A4C0 800E1010 00000000 */ nop
.L800E1014:
/* 7A4C4 800E1014 24020001 */ addiu $v0, $zero, 1
/* 7A4C8 800E1018 14620008 */ bne $v1, $v0, .L800E103C
/* 7A4CC 800E101C 24020006 */ addiu $v0, $zero, 6
.L800E1020:
/* 7A4D0 800E1020 3C020001 */ lui $v0, 1
/* 7A4D4 800E1024 3442000C */ ori $v0, $v0, 0xc
/* 7A4D8 800E1028 0044102A */ slt $v0, $v0, $a0
/* 7A4DC 800E102C 1040003C */ beqz $v0, .L800E1120
/* 7A4E0 800E1030 00000000 */ nop
.L800E1034:
/* 7A4E4 800E1034 03E00008 */ jr $ra
/* 7A4E8 800E1038 0080102D */ daddu $v0, $a0, $zero
.L800E103C:
/* 7A4EC 800E103C 14620032 */ bne $v1, $v0, .L800E1108
/* 7A4F0 800E1040 2402000A */ addiu $v0, $zero, 0xa
/* 7A4F4 800E1044 3C020006 */ lui $v0, 6
/* 7A4F8 800E1048 3442000C */ ori $v0, $v0, 0xc
/* 7A4FC 800E104C 14820004 */ bne $a0, $v0, .L800E1060
/* 7A500 800E1050 3C020006 */ lui $v0, 6
/* 7A504 800E1054 3C050006 */ lui $a1, 6
/* 7A508 800E1058 08038448 */ j .L800E1120
/* 7A50C 800E105C 34A5000D */ ori $a1, $a1, 0xd
.L800E1060:
/* 7A510 800E1060 3442000E */ ori $v0, $v0, 0xe
/* 7A514 800E1064 14820004 */ bne $a0, $v0, .L800E1078
/* 7A518 800E1068 3C020006 */ lui $v0, 6
/* 7A51C 800E106C 3C050006 */ lui $a1, 6
/* 7A520 800E1070 08038448 */ j .L800E1120
/* 7A524 800E1074 34A5000F */ ori $a1, $a1, 0xf
.L800E1078:
/* 7A528 800E1078 34420010 */ ori $v0, $v0, 0x10
/* 7A52C 800E107C 14820004 */ bne $a0, $v0, .L800E1090
/* 7A530 800E1080 3C020006 */ lui $v0, 6
/* 7A534 800E1084 3C050006 */ lui $a1, 6
/* 7A538 800E1088 08038448 */ j .L800E1120
/* 7A53C 800E108C 34A50011 */ ori $a1, $a1, 0x11
.L800E1090:
/* 7A540 800E1090 34420012 */ ori $v0, $v0, 0x12
/* 7A544 800E1094 14820004 */ bne $a0, $v0, .L800E10A8
/* 7A548 800E1098 3C020006 */ lui $v0, 6
/* 7A54C 800E109C 3C050006 */ lui $a1, 6
/* 7A550 800E10A0 08038448 */ j .L800E1120
/* 7A554 800E10A4 34A50013 */ ori $a1, $a1, 0x13
.L800E10A8:
/* 7A558 800E10A8 34420014 */ ori $v0, $v0, 0x14
/* 7A55C 800E10AC 14820004 */ bne $a0, $v0, .L800E10C0
/* 7A560 800E10B0 3C020006 */ lui $v0, 6
/* 7A564 800E10B4 3C050006 */ lui $a1, 6
/* 7A568 800E10B8 08038448 */ j .L800E1120
/* 7A56C 800E10BC 34A50015 */ ori $a1, $a1, 0x15
.L800E10C0:
/* 7A570 800E10C0 34420016 */ ori $v0, $v0, 0x16
/* 7A574 800E10C4 14820004 */ bne $a0, $v0, .L800E10D8
/* 7A578 800E10C8 3C020006 */ lui $v0, 6
/* 7A57C 800E10CC 3C050006 */ lui $a1, 6
/* 7A580 800E10D0 08038448 */ j .L800E1120
/* 7A584 800E10D4 34A50017 */ ori $a1, $a1, 0x17
.L800E10D8:
/* 7A588 800E10D8 34420018 */ ori $v0, $v0, 0x18
/* 7A58C 800E10DC 14820004 */ bne $a0, $v0, .L800E10F0
/* 7A590 800E10E0 3C020006 */ lui $v0, 6
/* 7A594 800E10E4 3C050006 */ lui $a1, 6
/* 7A598 800E10E8 08038448 */ j .L800E1120
/* 7A59C 800E10EC 34A50019 */ ori $a1, $a1, 0x19
.L800E10F0:
/* 7A5A0 800E10F0 3442001A */ ori $v0, $v0, 0x1a
/* 7A5A4 800E10F4 1482000A */ bne $a0, $v0, .L800E1120
/* 7A5A8 800E10F8 00000000 */ nop
/* 7A5AC 800E10FC 3C050006 */ lui $a1, 6
/* 7A5B0 800E1100 08038448 */ j .L800E1120
/* 7A5B4 800E1104 34A5001B */ ori $a1, $a1, 0x1b
.L800E1108:
/* 7A5B8 800E1108 14620005 */ bne $v1, $v0, .L800E1120
/* 7A5BC 800E110C 3C02000A */ lui $v0, 0xa
/* 7A5C0 800E1110 34420006 */ ori $v0, $v0, 6
/* 7A5C4 800E1114 0044102A */ slt $v0, $v0, $a0
/* 7A5C8 800E1118 54400001 */ bnel $v0, $zero, .L800E1120
/* 7A5CC 800E111C 24850001 */ addiu $a1, $a0, 1
.L800E1120:
/* 7A5D0 800E1120 14A00003 */ bnez $a1, .L800E1130
/* 7A5D4 800E1124 3C020100 */ lui $v0, 0x100
/* 7A5D8 800E1128 03E00008 */ jr $ra
/* 7A5DC 800E112C 00821025 */ or $v0, $a0, $v0
.L800E1130:
/* 7A5E0 800E1130 03E00008 */ jr $ra
/* 7A5E4 800E1134 00A0102D */ daddu $v0, $a1, $zero

View File

@ -1,75 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel check_input_jump
/* 7F610 800E6160 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 7F614 800E6164 AFB10014 */ sw $s1, 0x14($sp)
/* 7F618 800E6168 3C118011 */ lui $s1, %hi(gPlayerStatus)
/* 7F61C 800E616C 2631EFC8 */ addiu $s1, $s1, %lo(gPlayerStatus)
/* 7F620 800E6170 AFBF0018 */ sw $ra, 0x18($sp)
/* 7F624 800E6174 AFB00010 */ sw $s0, 0x10($sp)
/* 7F628 800E6178 8E2200E0 */ lw $v0, 0xe0($s1)
/* 7F62C 800E617C 3C108016 */ lui $s0, %hi(gCollisionStatus)
/* 7F630 800E6180 2610A550 */ addiu $s0, $s0, %lo(gCollisionStatus)
/* 7F634 800E6184 30428000 */ andi $v0, $v0, 0x8000
/* 7F638 800E6188 10400032 */ beqz $v0, .L800E6254
/* 7F63C 800E618C 0000102D */ daddu $v0, $zero, $zero
/* 7F640 800E6190 96040002 */ lhu $a0, 2($s0)
/* 7F644 800E6194 0C016F6A */ jal get_collider_type_by_id
/* 7F648 800E6198 00000000 */ nop
/* 7F64C 800E619C 24030005 */ addiu $v1, $zero, 5
/* 7F650 800E61A0 14430007 */ bne $v0, $v1, .L800E61C0
/* 7F654 800E61A4 00000000 */ nop
/* 7F658 800E61A8 0C039178 */ jal phys_should_player_be_sliding
/* 7F65C 800E61AC 00000000 */ nop
/* 7F660 800E61B0 10400003 */ beqz $v0, .L800E61C0
/* 7F664 800E61B4 00000000 */ nop
.L800E61B8:
/* 7F668 800E61B8 08039895 */ j .L800E6254
/* 7F66C 800E61BC 0000102D */ daddu $v0, $zero, $zero
.L800E61C0:
/* 7F670 800E61C0 86020016 */ lh $v0, 0x16($s0)
/* 7F674 800E61C4 14400023 */ bnez $v0, .L800E6254
/* 7F678 800E61C8 0000102D */ daddu $v0, $zero, $zero
/* 7F67C 800E61CC 8E220004 */ lw $v0, 4($s1)
/* 7F680 800E61D0 30420030 */ andi $v0, $v0, 0x30
/* 7F684 800E61D4 1440001F */ bnez $v0, .L800E6254
/* 7F688 800E61D8 0000102D */ daddu $v0, $zero, $zero
/* 7F68C 800E61DC 2402FFFF */ addiu $v0, $zero, -1
/* 7F690 800E61E0 8604000A */ lh $a0, 0xa($s0)
/* 7F694 800E61E4 9603000A */ lhu $v1, 0xa($s0)
/* 7F698 800E61E8 10820017 */ beq $a0, $v0, .L800E6248
/* 7F69C 800E61EC 30624000 */ andi $v0, $v1, 0x4000
/* 7F6A0 800E61F0 10400015 */ beqz $v0, .L800E6248
/* 7F6A4 800E61F4 00000000 */ nop
/* 7F6A8 800E61F8 0C04417A */ jal get_entity_by_index
/* 7F6AC 800E61FC 00000000 */ nop
/* 7F6B0 800E6200 0040182D */ daddu $v1, $v0, $zero
/* 7F6B4 800E6204 8C440000 */ lw $a0, ($v0)
/* 7F6B8 800E6208 30821000 */ andi $v0, $a0, 0x1000
/* 7F6BC 800E620C 1040000E */ beqz $v0, .L800E6248
/* 7F6C0 800E6210 00000000 */ nop
/* 7F6C4 800E6214 8C620028 */ lw $v0, 0x28($v1)
/* 7F6C8 800E6218 10400003 */ beqz $v0, .L800E6228
/* 7F6CC 800E621C 30824000 */ andi $v0, $a0, 0x4000
/* 7F6D0 800E6220 1040000C */ beqz $v0, .L800E6254
/* 7F6D4 800E6224 0000102D */ daddu $v0, $zero, $zero
.L800E6228:
/* 7F6D8 800E6228 9063000A */ lbu $v1, 0xa($v1)
/* 7F6DC 800E622C 24020039 */ addiu $v0, $zero, 0x39
/* 7F6E0 800E6230 1062FFE1 */ beq $v1, $v0, .L800E61B8
/* 7F6E4 800E6234 24020035 */ addiu $v0, $zero, 0x35
/* 7F6E8 800E6238 1062FFDF */ beq $v1, $v0, .L800E61B8
/* 7F6EC 800E623C 24020036 */ addiu $v0, $zero, 0x36
/* 7F6F0 800E6240 10620004 */ beq $v1, $v0, .L800E6254
/* 7F6F4 800E6244 0000102D */ daddu $v0, $zero, $zero
.L800E6248:
/* 7F6F8 800E6248 0C039769 */ jal set_action_state
/* 7F6FC 800E624C 24040003 */ addiu $a0, $zero, 3
/* 7F700 800E6250 24020001 */ addiu $v0, $zero, 1
.L800E6254:
/* 7F704 800E6254 8FBF0018 */ lw $ra, 0x18($sp)
/* 7F708 800E6258 8FB10014 */ lw $s1, 0x14($sp)
/* 7F70C 800E625C 8FB00010 */ lw $s0, 0x10($sp)
/* 7F710 800E6260 03E00008 */ jr $ra
/* 7F714 800E6264 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,230 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.section .rodata
dlabel D_8010BEF0
.double 90.0
dlabel D_8010BEF8
.double 180.0
.section .text
glabel collision_lava_reset_check_additional_overlaps
/* 7E068 800E4BB8 27BDFFA8 */ addiu $sp, $sp, -0x58
/* 7E06C 800E4BBC 3C038011 */ lui $v1, %hi(gPlayerStatus)
/* 7E070 800E4BC0 2463EFC8 */ addiu $v1, $v1, %lo(gPlayerStatus)
/* 7E074 800E4BC4 AFBF0040 */ sw $ra, 0x40($sp)
/* 7E078 800E4BC8 AFB3003C */ sw $s3, 0x3c($sp)
/* 7E07C 800E4BCC AFB20038 */ sw $s2, 0x38($sp)
/* 7E080 800E4BD0 AFB10034 */ sw $s1, 0x34($sp)
/* 7E084 800E4BD4 AFB00030 */ sw $s0, 0x30($sp)
/* 7E088 800E4BD8 F7B60050 */ sdc1 $f22, 0x50($sp)
/* 7E08C 800E4BDC F7B40048 */ sdc1 $f20, 0x48($sp)
/* 7E090 800E4BE0 8C620004 */ lw $v0, 4($v1)
/* 7E094 800E4BE4 30421000 */ andi $v0, $v0, 0x1000
/* 7E098 800E4BE8 10400005 */ beqz $v0, .L800E4C00
/* 7E09C 800E4BEC 0060982D */ daddu $s3, $v1, $zero
/* 7E0A0 800E4BF0 0C0393C4 */ jal func_800E4F10
/* 7E0A4 800E4BF4 00000000 */ nop
/* 7E0A8 800E4BF8 080393BB */ j .L800E4EEC
/* 7E0AC 800E4BFC 00000000 */ nop
.L800E4C00:
/* 7E0B0 800E4C00 C66C0080 */ lwc1 $f12, 0x80($s3)
/* 7E0B4 800E4C04 3C01403E */ lui $at, 0x403e
/* 7E0B8 800E4C08 4481A800 */ mtc1 $at, $f21
/* 7E0BC 800E4C0C 4480A000 */ mtc1 $zero, $f20
/* 7E0C0 800E4C10 46006321 */ cvt.d.s $f12, $f12
/* 7E0C4 800E4C14 46346301 */ sub.d $f12, $f12, $f20
/* 7E0C8 800E4C18 0C00A6C9 */ jal clamp_angle
/* 7E0CC 800E4C1C 46206320 */ cvt.s.d $f12, $f12
/* 7E0D0 800E4C20 0000202D */ daddu $a0, $zero, $zero
/* 7E0D4 800E4C24 0260282D */ daddu $a1, $s3, $zero
/* 7E0D8 800E4C28 27B20020 */ addiu $s2, $sp, 0x20
/* 7E0DC 800E4C2C 0240302D */ daddu $a2, $s2, $zero
/* 7E0E0 800E4C30 27B10024 */ addiu $s1, $sp, 0x24
/* 7E0E4 800E4C34 0220382D */ daddu $a3, $s1, $zero
/* 7E0E8 800E4C38 866200B0 */ lh $v0, 0xb0($s3)
/* 7E0EC 800E4C3C 3C013F40 */ lui $at, 0x3f40
/* 7E0F0 800E4C40 4481B000 */ mtc1 $at, $f22
/* 7E0F4 800E4C44 44822000 */ mtc1 $v0, $f4
/* 7E0F8 800E4C48 00000000 */ nop
/* 7E0FC 800E4C4C 46802120 */ cvt.s.w $f4, $f4
/* 7E100 800E4C50 46162102 */ mul.s $f4, $f4, $f22
/* 7E104 800E4C54 00000000 */ nop
/* 7E108 800E4C58 27B00028 */ addiu $s0, $sp, 0x28
/* 7E10C 800E4C5C C662002C */ lwc1 $f2, 0x2c($s3)
/* 7E110 800E4C60 C6660028 */ lwc1 $f6, 0x28($s3)
/* 7E114 800E4C64 C6680030 */ lwc1 $f8, 0x30($s3)
/* 7E118 800E4C68 46041080 */ add.s $f2, $f2, $f4
/* 7E11C 800E4C6C E7A60020 */ swc1 $f6, 0x20($sp)
/* 7E120 800E4C70 E7A80028 */ swc1 $f8, 0x28($sp)
/* 7E124 800E4C74 E7A20024 */ swc1 $f2, 0x24($sp)
/* 7E128 800E4C78 AFB00010 */ sw $s0, 0x10($sp)
/* 7E12C 800E4C7C AFA00014 */ sw $zero, 0x14($sp)
/* 7E130 800E4C80 0C037B01 */ jal player_test_lateral_overlap
/* 7E134 800E4C84 E7A00018 */ swc1 $f0, 0x18($sp)
/* 7E138 800E4C88 C66C0080 */ lwc1 $f12, 0x80($s3)
/* 7E13C 800E4C8C C7A00020 */ lwc1 $f0, 0x20($sp)
/* 7E140 800E4C90 C7A20028 */ lwc1 $f2, 0x28($sp)
/* 7E144 800E4C94 46006321 */ cvt.d.s $f12, $f12
/* 7E148 800E4C98 46346300 */ add.d $f12, $f12, $f20
/* 7E14C 800E4C9C E6600028 */ swc1 $f0, 0x28($s3)
/* 7E150 800E4CA0 E6620030 */ swc1 $f2, 0x30($s3)
/* 7E154 800E4CA4 0C00A6C9 */ jal clamp_angle
/* 7E158 800E4CA8 46206320 */ cvt.s.d $f12, $f12
/* 7E15C 800E4CAC 0000202D */ daddu $a0, $zero, $zero
/* 7E160 800E4CB0 0260282D */ daddu $a1, $s3, $zero
/* 7E164 800E4CB4 866200B0 */ lh $v0, 0xb0($s3)
/* 7E168 800E4CB8 0240302D */ daddu $a2, $s2, $zero
/* 7E16C 800E4CBC 44821000 */ mtc1 $v0, $f2
/* 7E170 800E4CC0 00000000 */ nop
/* 7E174 800E4CC4 468010A0 */ cvt.s.w $f2, $f2
/* 7E178 800E4CC8 46161082 */ mul.s $f2, $f2, $f22
/* 7E17C 800E4CCC 00000000 */ nop
/* 7E180 800E4CD0 0220382D */ daddu $a3, $s1, $zero
/* 7E184 800E4CD4 C664002C */ lwc1 $f4, 0x2c($s3)
/* 7E188 800E4CD8 C6660028 */ lwc1 $f6, 0x28($s3)
/* 7E18C 800E4CDC C6680030 */ lwc1 $f8, 0x30($s3)
/* 7E190 800E4CE0 46022100 */ add.s $f4, $f4, $f2
/* 7E194 800E4CE4 E7A60020 */ swc1 $f6, 0x20($sp)
/* 7E198 800E4CE8 E7A80028 */ swc1 $f8, 0x28($sp)
/* 7E19C 800E4CEC E7A40024 */ swc1 $f4, 0x24($sp)
/* 7E1A0 800E4CF0 AFB00010 */ sw $s0, 0x10($sp)
/* 7E1A4 800E4CF4 AFA00014 */ sw $zero, 0x14($sp)
/* 7E1A8 800E4CF8 0C037B01 */ jal player_test_lateral_overlap
/* 7E1AC 800E4CFC E7A00018 */ swc1 $f0, 0x18($sp)
/* 7E1B0 800E4D00 C66C0080 */ lwc1 $f12, 0x80($s3)
/* 7E1B4 800E4D04 C7A00020 */ lwc1 $f0, 0x20($sp)
/* 7E1B8 800E4D08 C7A20028 */ lwc1 $f2, 0x28($sp)
/* 7E1BC 800E4D0C 46006321 */ cvt.d.s $f12, $f12
/* 7E1C0 800E4D10 46346301 */ sub.d $f12, $f12, $f20
/* 7E1C4 800E4D14 E6600028 */ swc1 $f0, 0x28($s3)
/* 7E1C8 800E4D18 E6620030 */ swc1 $f2, 0x30($s3)
/* 7E1CC 800E4D1C 0C00A6C9 */ jal clamp_angle
/* 7E1D0 800E4D20 46206320 */ cvt.s.d $f12, $f12
/* 7E1D4 800E4D24 0000202D */ daddu $a0, $zero, $zero
/* 7E1D8 800E4D28 0260282D */ daddu $a1, $s3, $zero
/* 7E1DC 800E4D2C 0240302D */ daddu $a2, $s2, $zero
/* 7E1E0 800E4D30 C6620028 */ lwc1 $f2, 0x28($s3)
/* 7E1E4 800E4D34 C664002C */ lwc1 $f4, 0x2c($s3)
/* 7E1E8 800E4D38 C6660030 */ lwc1 $f6, 0x30($s3)
/* 7E1EC 800E4D3C 0220382D */ daddu $a3, $s1, $zero
/* 7E1F0 800E4D40 E7A20020 */ swc1 $f2, 0x20($sp)
/* 7E1F4 800E4D44 E7A40024 */ swc1 $f4, 0x24($sp)
/* 7E1F8 800E4D48 E7A60028 */ swc1 $f6, 0x28($sp)
/* 7E1FC 800E4D4C AFB00010 */ sw $s0, 0x10($sp)
/* 7E200 800E4D50 AFA00014 */ sw $zero, 0x14($sp)
/* 7E204 800E4D54 0C037B01 */ jal player_test_lateral_overlap
/* 7E208 800E4D58 E7A00018 */ swc1 $f0, 0x18($sp)
/* 7E20C 800E4D5C C66C0080 */ lwc1 $f12, 0x80($s3)
/* 7E210 800E4D60 C7A00020 */ lwc1 $f0, 0x20($sp)
/* 7E214 800E4D64 C7A20028 */ lwc1 $f2, 0x28($sp)
/* 7E218 800E4D68 46006321 */ cvt.d.s $f12, $f12
/* 7E21C 800E4D6C 46346300 */ add.d $f12, $f12, $f20
/* 7E220 800E4D70 E6600028 */ swc1 $f0, 0x28($s3)
/* 7E224 800E4D74 E6620030 */ swc1 $f2, 0x30($s3)
/* 7E228 800E4D78 0C00A6C9 */ jal clamp_angle
/* 7E22C 800E4D7C 46206320 */ cvt.s.d $f12, $f12
/* 7E230 800E4D80 0000202D */ daddu $a0, $zero, $zero
/* 7E234 800E4D84 0260282D */ daddu $a1, $s3, $zero
/* 7E238 800E4D88 0240302D */ daddu $a2, $s2, $zero
/* 7E23C 800E4D8C C6620028 */ lwc1 $f2, 0x28($s3)
/* 7E240 800E4D90 C664002C */ lwc1 $f4, 0x2c($s3)
/* 7E244 800E4D94 C6660030 */ lwc1 $f6, 0x30($s3)
/* 7E248 800E4D98 0220382D */ daddu $a3, $s1, $zero
/* 7E24C 800E4D9C E7A20020 */ swc1 $f2, 0x20($sp)
/* 7E250 800E4DA0 E7A40024 */ swc1 $f4, 0x24($sp)
/* 7E254 800E4DA4 E7A60028 */ swc1 $f6, 0x28($sp)
/* 7E258 800E4DA8 AFB00010 */ sw $s0, 0x10($sp)
/* 7E25C 800E4DAC AFA00014 */ sw $zero, 0x14($sp)
/* 7E260 800E4DB0 0C037B01 */ jal player_test_lateral_overlap
/* 7E264 800E4DB4 E7A00018 */ swc1 $f0, 0x18($sp)
/* 7E268 800E4DB8 C66C0080 */ lwc1 $f12, 0x80($s3)
/* 7E26C 800E4DBC C7A20020 */ lwc1 $f2, 0x20($sp)
/* 7E270 800E4DC0 3C018011 */ lui $at, %hi(D_8010BEF0)
/* 7E274 800E4DC4 D434BEF0 */ ldc1 $f20, %lo(D_8010BEF0)($at)
/* 7E278 800E4DC8 C7A00028 */ lwc1 $f0, 0x28($sp)
/* 7E27C 800E4DCC 46006321 */ cvt.d.s $f12, $f12
/* 7E280 800E4DD0 46346300 */ add.d $f12, $f12, $f20
/* 7E284 800E4DD4 E6620028 */ swc1 $f2, 0x28($s3)
/* 7E288 800E4DD8 E6600030 */ swc1 $f0, 0x30($s3)
/* 7E28C 800E4DDC 0C00A6C9 */ jal clamp_angle
/* 7E290 800E4DE0 46206320 */ cvt.s.d $f12, $f12
/* 7E294 800E4DE4 0000202D */ daddu $a0, $zero, $zero
/* 7E298 800E4DE8 0260282D */ daddu $a1, $s3, $zero
/* 7E29C 800E4DEC 0240302D */ daddu $a2, $s2, $zero
/* 7E2A0 800E4DF0 C6620028 */ lwc1 $f2, 0x28($s3)
/* 7E2A4 800E4DF4 C664002C */ lwc1 $f4, 0x2c($s3)
/* 7E2A8 800E4DF8 C6660030 */ lwc1 $f6, 0x30($s3)
/* 7E2AC 800E4DFC 0220382D */ daddu $a3, $s1, $zero
/* 7E2B0 800E4E00 E7A20020 */ swc1 $f2, 0x20($sp)
/* 7E2B4 800E4E04 E7A40024 */ swc1 $f4, 0x24($sp)
/* 7E2B8 800E4E08 E7A60028 */ swc1 $f6, 0x28($sp)
/* 7E2BC 800E4E0C AFB00010 */ sw $s0, 0x10($sp)
/* 7E2C0 800E4E10 AFA00014 */ sw $zero, 0x14($sp)
/* 7E2C4 800E4E14 0C037B01 */ jal player_test_lateral_overlap
/* 7E2C8 800E4E18 E7A00018 */ swc1 $f0, 0x18($sp)
/* 7E2CC 800E4E1C C66C0080 */ lwc1 $f12, 0x80($s3)
/* 7E2D0 800E4E20 C7A00020 */ lwc1 $f0, 0x20($sp)
/* 7E2D4 800E4E24 C7A20028 */ lwc1 $f2, 0x28($sp)
/* 7E2D8 800E4E28 46006321 */ cvt.d.s $f12, $f12
/* 7E2DC 800E4E2C 46346301 */ sub.d $f12, $f12, $f20
/* 7E2E0 800E4E30 E6600028 */ swc1 $f0, 0x28($s3)
/* 7E2E4 800E4E34 E6620030 */ swc1 $f2, 0x30($s3)
/* 7E2E8 800E4E38 0C00A6C9 */ jal clamp_angle
/* 7E2EC 800E4E3C 46206320 */ cvt.s.d $f12, $f12
/* 7E2F0 800E4E40 0000202D */ daddu $a0, $zero, $zero
/* 7E2F4 800E4E44 0260282D */ daddu $a1, $s3, $zero
/* 7E2F8 800E4E48 0240302D */ daddu $a2, $s2, $zero
/* 7E2FC 800E4E4C C6620028 */ lwc1 $f2, 0x28($s3)
/* 7E300 800E4E50 C664002C */ lwc1 $f4, 0x2c($s3)
/* 7E304 800E4E54 C6660030 */ lwc1 $f6, 0x30($s3)
/* 7E308 800E4E58 0220382D */ daddu $a3, $s1, $zero
/* 7E30C 800E4E5C E7A20020 */ swc1 $f2, 0x20($sp)
/* 7E310 800E4E60 E7A40024 */ swc1 $f4, 0x24($sp)
/* 7E314 800E4E64 E7A60028 */ swc1 $f6, 0x28($sp)
/* 7E318 800E4E68 AFB00010 */ sw $s0, 0x10($sp)
/* 7E31C 800E4E6C AFA00014 */ sw $zero, 0x14($sp)
/* 7E320 800E4E70 0C037B01 */ jal player_test_lateral_overlap
/* 7E324 800E4E74 E7A00018 */ swc1 $f0, 0x18($sp)
/* 7E328 800E4E78 C66C0080 */ lwc1 $f12, 0x80($s3)
/* 7E32C 800E4E7C C7A40020 */ lwc1 $f4, 0x20($sp)
/* 7E330 800E4E80 3C018011 */ lui $at, %hi(D_8010BEF8)
/* 7E334 800E4E84 D420BEF8 */ ldc1 $f0, %lo(D_8010BEF8)($at)
/* 7E338 800E4E88 C7A20028 */ lwc1 $f2, 0x28($sp)
/* 7E33C 800E4E8C 46006321 */ cvt.d.s $f12, $f12
/* 7E340 800E4E90 46206300 */ add.d $f12, $f12, $f0
/* 7E344 800E4E94 E6640028 */ swc1 $f4, 0x28($s3)
/* 7E348 800E4E98 E6620030 */ swc1 $f2, 0x30($s3)
/* 7E34C 800E4E9C 0C00A6C9 */ jal clamp_angle
/* 7E350 800E4EA0 46206320 */ cvt.s.d $f12, $f12
/* 7E354 800E4EA4 0000202D */ daddu $a0, $zero, $zero
/* 7E358 800E4EA8 0260282D */ daddu $a1, $s3, $zero
/* 7E35C 800E4EAC 0240302D */ daddu $a2, $s2, $zero
/* 7E360 800E4EB0 C6620028 */ lwc1 $f2, 0x28($s3)
/* 7E364 800E4EB4 C664002C */ lwc1 $f4, 0x2c($s3)
/* 7E368 800E4EB8 C6660030 */ lwc1 $f6, 0x30($s3)
/* 7E36C 800E4EBC 0220382D */ daddu $a3, $s1, $zero
/* 7E370 800E4EC0 E7A20020 */ swc1 $f2, 0x20($sp)
/* 7E374 800E4EC4 E7A40024 */ swc1 $f4, 0x24($sp)
/* 7E378 800E4EC8 E7A60028 */ swc1 $f6, 0x28($sp)
/* 7E37C 800E4ECC AFB00010 */ sw $s0, 0x10($sp)
/* 7E380 800E4ED0 AFA00014 */ sw $zero, 0x14($sp)
/* 7E384 800E4ED4 0C037B01 */ jal player_test_lateral_overlap
/* 7E388 800E4ED8 E7A00018 */ swc1 $f0, 0x18($sp)
/* 7E38C 800E4EDC C7A00020 */ lwc1 $f0, 0x20($sp)
/* 7E390 800E4EE0 C7A20028 */ lwc1 $f2, 0x28($sp)
/* 7E394 800E4EE4 E6600028 */ swc1 $f0, 0x28($s3)
/* 7E398 800E4EE8 E6620030 */ swc1 $f2, 0x30($s3)
.L800E4EEC:
/* 7E39C 800E4EEC 8FBF0040 */ lw $ra, 0x40($sp)
/* 7E3A0 800E4EF0 8FB3003C */ lw $s3, 0x3c($sp)
/* 7E3A4 800E4EF4 8FB20038 */ lw $s2, 0x38($sp)
/* 7E3A8 800E4EF8 8FB10034 */ lw $s1, 0x34($sp)
/* 7E3AC 800E4EFC 8FB00030 */ lw $s0, 0x30($sp)
/* 7E3B0 800E4F00 D7B60050 */ ldc1 $f22, 0x50($sp)
/* 7E3B4 800E4F04 D7B40048 */ ldc1 $f20, 0x48($sp)
/* 7E3B8 800E4F08 03E00008 */ jr $ra
/* 7E3BC 800E4F0C 27BD0058 */ addiu $sp, $sp, 0x58

View File

@ -1,131 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel collision_main_above
/* 7BC90 800E27E0 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 7BC94 800E27E4 AFB10034 */ sw $s1, 0x34($sp)
/* 7BC98 800E27E8 3C118011 */ lui $s1, %hi(gPlayerStatus)
/* 7BC9C 800E27EC 2631EFC8 */ addiu $s1, $s1, %lo(gPlayerStatus)
/* 7BCA0 800E27F0 AFBF003C */ sw $ra, 0x3c($sp)
/* 7BCA4 800E27F4 AFB20038 */ sw $s2, 0x38($sp)
/* 7BCA8 800E27F8 AFB00030 */ sw $s0, 0x30($sp)
/* 7BCAC 800E27FC F7B40040 */ sdc1 $f20, 0x40($sp)
/* 7BCB0 800E2800 862200B0 */ lh $v0, 0xb0($s1)
/* 7BCB4 800E2804 3C013F00 */ lui $at, 0x3f00
/* 7BCB8 800E2808 44811000 */ mtc1 $at, $f2
/* 7BCBC 800E280C 44820000 */ mtc1 $v0, $f0
/* 7BCC0 800E2810 00000000 */ nop
/* 7BCC4 800E2814 46800020 */ cvt.s.w $f0, $f0
/* 7BCC8 800E2818 46020002 */ mul.s $f0, $f0, $f2
/* 7BCCC 800E281C 00000000 */ nop
/* 7BCD0 800E2820 27A40018 */ addiu $a0, $sp, 0x18
/* 7BCD4 800E2824 C6220028 */ lwc1 $f2, 0x28($s1)
/* 7BCD8 800E2828 27A5001C */ addiu $a1, $sp, 0x1c
/* 7BCDC 800E282C E7A20020 */ swc1 $f2, 0x20($sp)
/* 7BCE0 800E2830 46000506 */ mov.s $f20, $f0
/* 7BCE4 800E2834 C620002C */ lwc1 $f0, 0x2c($s1)
/* 7BCE8 800E2838 C6220030 */ lwc1 $f2, 0x30($s1)
/* 7BCEC 800E283C 46140000 */ add.s $f0, $f0, $f20
/* 7BCF0 800E2840 E7A20028 */ swc1 $f2, 0x28($sp)
/* 7BCF4 800E2844 E7B4002C */ swc1 $f20, 0x2c($sp)
/* 7BCF8 800E2848 0C0388C1 */ jal player_input_to_move_vector
/* 7BCFC 800E284C E7A00024 */ swc1 $f0, 0x24($sp)
/* 7BD00 800E2850 C7A2001C */ lwc1 $f2, 0x1c($sp)
/* 7BD04 800E2854 44800000 */ mtc1 $zero, $f0
/* 7BD08 800E2858 3C128016 */ lui $s2, %hi(gCollisionStatus)
/* 7BD0C 800E285C 2652A550 */ addiu $s2, $s2, %lo(gCollisionStatus)
/* 7BD10 800E2860 46001032 */ c.eq.s $f2, $f0
/* 7BD14 800E2864 00000000 */ nop
/* 7BD18 800E2868 45010004 */ bc1t .L800E287C
/* 7BD1C 800E286C 0220202D */ daddu $a0, $s1, $zero
/* 7BD20 800E2870 C6220080 */ lwc1 $f2, 0x80($s1)
/* 7BD24 800E2874 08038A31 */ j .L800E28C4
/* 7BD28 800E2878 27A50020 */ addiu $a1, $sp, 0x20
.L800E287C:
/* 7BD2C 800E287C 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 7BD30 800E2880 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 7BD34 800E2884 C62200A8 */ lwc1 $f2, 0xa8($s1)
/* 7BD38 800E2888 3C0142B4 */ lui $at, 0x42b4
/* 7BD3C 800E288C 44810000 */ mtc1 $at, $f0
/* 7BD40 800E2890 00031080 */ sll $v0, $v1, 2
/* 7BD44 800E2894 00431021 */ addu $v0, $v0, $v1
/* 7BD48 800E2898 00021080 */ sll $v0, $v0, 2
/* 7BD4C 800E289C 00431023 */ subu $v0, $v0, $v1
/* 7BD50 800E28A0 000218C0 */ sll $v1, $v0, 3
/* 7BD54 800E28A4 00431021 */ addu $v0, $v0, $v1
/* 7BD58 800E28A8 000210C0 */ sll $v0, $v0, 3
/* 7BD5C 800E28AC 46001081 */ sub.s $f2, $f2, $f0
/* 7BD60 800E28B0 3C01800B */ lui $at, %hi(gCameras+0x6C)
/* 7BD64 800E28B4 00220821 */ addu $at, $at, $v0
/* 7BD68 800E28B8 C4201DEC */ lwc1 $f0, %lo(gCameras+0x6C)($at)
/* 7BD6C 800E28BC 46001080 */ add.s $f2, $f2, $f0
/* 7BD70 800E28C0 27A50020 */ addiu $a1, $sp, 0x20
.L800E28C4:
/* 7BD74 800E28C4 27A2002C */ addiu $v0, $sp, 0x2c
/* 7BD78 800E28C8 27A60024 */ addiu $a2, $sp, 0x24
/* 7BD7C 800E28CC 27A70028 */ addiu $a3, $sp, 0x28
/* 7BD80 800E28D0 E7A20018 */ swc1 $f2, 0x18($sp)
/* 7BD84 800E28D4 AFA20010 */ sw $v0, 0x10($sp)
/* 7BD88 800E28D8 0C0379F9 */ jal player_raycast_up_corners
/* 7BD8C 800E28DC E7A20014 */ swc1 $f2, 0x14($sp)
/* 7BD90 800E28E0 0040802D */ daddu $s0, $v0, $zero
/* 7BD94 800E28E4 06000030 */ bltz $s0, .L800E29A8
/* 7BD98 800E28E8 A6500008 */ sh $s0, 8($s2)
/* 7BD9C 800E28EC 922200B4 */ lbu $v0, 0xb4($s1)
/* 7BDA0 800E28F0 2442FFF8 */ addiu $v0, $v0, -8
/* 7BDA4 800E28F4 2C420002 */ sltiu $v0, $v0, 2
/* 7BDA8 800E28F8 1440002C */ bnez $v0, .L800E29AC
/* 7BDAC 800E28FC 0200102D */ daddu $v0, $s0, $zero
/* 7BDB0 800E2900 86420002 */ lh $v0, 2($s2)
/* 7BDB4 800E2904 04410029 */ bgez $v0, .L800E29AC
/* 7BDB8 800E2908 0200102D */ daddu $v0, $s0, $zero
/* 7BDBC 800E290C C6200070 */ lwc1 $f0, 0x70($s1)
/* 7BDC0 800E2910 4600A000 */ add.s $f0, $f20, $f0
/* 7BDC4 800E2914 C7A2002C */ lwc1 $f2, 0x2c($sp)
/* 7BDC8 800E2918 46000005 */ abs.s $f0, $f0
/* 7BDCC 800E291C 4600103E */ c.le.s $f2, $f0
/* 7BDD0 800E2920 00000000 */ nop
/* 7BDD4 800E2924 45000020 */ bc1f .L800E29A8
/* 7BDD8 800E2928 32024000 */ andi $v0, $s0, 0x4000
/* 7BDDC 800E292C 10400006 */ beqz $v0, .L800E2948
/* 7BDE0 800E2930 00000000 */ nop
/* 7BDE4 800E2934 0C0441A9 */ jal get_entity_type
/* 7BDE8 800E2938 0200202D */ daddu $a0, $s0, $zero
/* 7BDEC 800E293C 2403000D */ addiu $v1, $zero, 0xd
/* 7BDF0 800E2940 1043001A */ beq $v0, $v1, .L800E29AC
/* 7BDF4 800E2944 0200102D */ daddu $v0, $s0, $zero
.L800E2948:
/* 7BDF8 800E2948 862200B0 */ lh $v0, 0xb0($s1)
/* 7BDFC 800E294C 3C0140A0 */ lui $at, 0x40a0
/* 7BE00 800E2950 44810000 */ mtc1 $at, $f0
/* 7BE04 800E2954 3C014040 */ lui $at, 0x4040
/* 7BE08 800E2958 44812000 */ mtc1 $at, $f4
/* 7BE0C 800E295C 44821000 */ mtc1 $v0, $f2
/* 7BE10 800E2960 00000000 */ nop
/* 7BE14 800E2964 468010A0 */ cvt.s.w $f2, $f2
/* 7BE18 800E2968 46001083 */ div.s $f2, $f2, $f0
/* 7BE1C 800E296C 46041082 */ mul.s $f2, $f2, $f4
/* 7BE20 800E2970 00000000 */ nop
/* 7BE24 800E2974 C7A00024 */ lwc1 $f0, 0x24($sp)
/* 7BE28 800E2978 46020001 */ sub.s $f0, $f0, $f2
/* 7BE2C 800E297C 822300B4 */ lb $v1, 0xb4($s1)
/* 7BE30 800E2980 2402000F */ addiu $v0, $zero, 0xf
/* 7BE34 800E2984 10620008 */ beq $v1, $v0, .L800E29A8
/* 7BE38 800E2988 E620002C */ swc1 $f0, 0x2c($s1)
/* 7BE3C 800E298C 2402000D */ addiu $v0, $zero, 0xd
/* 7BE40 800E2990 10620006 */ beq $v1, $v0, .L800E29AC
/* 7BE44 800E2994 0200102D */ daddu $v0, $s0, $zero
/* 7BE48 800E2998 AE200070 */ sw $zero, 0x70($s1)
/* 7BE4C 800E299C AE200074 */ sw $zero, 0x74($s1)
/* 7BE50 800E29A0 AE200078 */ sw $zero, 0x78($s1)
/* 7BE54 800E29A4 AE20007C */ sw $zero, 0x7c($s1)
.L800E29A8:
/* 7BE58 800E29A8 0200102D */ daddu $v0, $s0, $zero
.L800E29AC:
/* 7BE5C 800E29AC 8FBF003C */ lw $ra, 0x3c($sp)
/* 7BE60 800E29B0 8FB20038 */ lw $s2, 0x38($sp)
/* 7BE64 800E29B4 8FB10034 */ lw $s1, 0x34($sp)
/* 7BE68 800E29B8 8FB00030 */ lw $s0, 0x30($sp)
/* 7BE6C 800E29BC D7B40040 */ ldc1 $f20, 0x40($sp)
/* 7BE70 800E29C0 03E00008 */ jr $ra
/* 7BE74 800E29C4 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,875 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.section .rodata
dlabel jtbl_8010BE58
.word .L800E42E0_7D790, .L800E3B18_7CFC8, .L800E3B18_7CFC8, .L800E42E0_7D790, .L800E42E0_7D790, .L800E3B18_7CFC8, .L800E3B18_7CFC8, .L800E3824_7CCD4, .L800E42E0_7D790, .L800E3824_7CCD4, .L800E42E0_7D790, .L800E3940_7CDF0, .L800E3B18_7CFC8, .L800E3B18_7CFC8, .L800E42E0_7D790, .L800E3B18_7CFC8, .L800E42E0_7D790, .L800E3B18_7CFC8, .L800E42E0_7D790, .L800E3B18_7CFC8, .L800E3B18_7CFC8, .L800E3B18_7CFC8, .L800E3B18_7CFC8, .L800E3B18_7CFC8, .L800E3B18_7CFC8, .L800E3B18_7CFC8, .L800E3750_7CC00, .L800E36FC_7CBAC, .L800E3B18_7CFC8, .L800E3B18_7CFC8, .L800E3B18_7CFC8, .L800E42E0_7D790
dlabel D_8010BED8
.double 35.0
.section .text
glabel collision_main_lateral
/* 7CAEC 800E363C 27BDFF80 */ addiu $sp, $sp, -0x80
/* 7CAF0 800E3640 AFB1005C */ sw $s1, 0x5c($sp)
/* 7CAF4 800E3644 3C118011 */ lui $s1, %hi(gPlayerStatus)
/* 7CAF8 800E3648 2631EFC8 */ addiu $s1, $s1, %lo(gPlayerStatus)
/* 7CAFC 800E364C AFB40068 */ sw $s4, 0x68($sp)
/* 7CB00 800E3650 3C148016 */ lui $s4, %hi(gCollisionStatus)
/* 7CB04 800E3654 2694A550 */ addiu $s4, $s4, %lo(gCollisionStatus)
/* 7CB08 800E3658 AFBF006C */ sw $ra, 0x6c($sp)
/* 7CB0C 800E365C AFB30064 */ sw $s3, 0x64($sp)
/* 7CB10 800E3660 AFB20060 */ sw $s2, 0x60($sp)
/* 7CB14 800E3664 AFB00058 */ sw $s0, 0x58($sp)
/* 7CB18 800E3668 F7B60078 */ sdc1 $f22, 0x78($sp)
/* 7CB1C 800E366C F7B40070 */ sdc1 $f20, 0x70($sp)
/* 7CB20 800E3670 8E230000 */ lw $v1, ($s1)
/* 7CB24 800E3674 2402FFFF */ addiu $v0, $zero, -1
/* 7CB28 800E3678 A6820000 */ sh $v0, ($s4)
/* 7CB2C 800E367C 30624000 */ andi $v0, $v1, 0x4000
/* 7CB30 800E3680 10400012 */ beqz $v0, .L800E36CC
/* 7CB34 800E3684 3C020004 */ lui $v0, 4
/* 7CB38 800E3688 C6220054 */ lwc1 $f2, 0x54($s1)
/* 7CB3C 800E368C 00621024 */ and $v0, $v1, $v0
/* 7CB40 800E3690 10400007 */ beqz $v0, .L800E36B0
/* 7CB44 800E3694 E7A20030 */ swc1 $f2, 0x30($sp)
/* 7CB48 800E3698 3C013F00 */ lui $at, 0x3f00
/* 7CB4C 800E369C 44810000 */ mtc1 $at, $f0
/* 7CB50 800E36A0 00000000 */ nop
/* 7CB54 800E36A4 46001002 */ mul.s $f0, $f2, $f0
/* 7CB58 800E36A8 00000000 */ nop
/* 7CB5C 800E36AC E7A00030 */ swc1 $f0, 0x30($sp)
.L800E36B0:
/* 7CB60 800E36B0 26240028 */ addiu $a0, $s1, 0x28
/* 7CB64 800E36B4 8FA60030 */ lw $a2, 0x30($sp)
/* 7CB68 800E36B8 8E2700A0 */ lw $a3, 0xa0($s1)
/* 7CB6C 800E36BC 0C00A7E7 */ jal add_vec2D_polar
/* 7CB70 800E36C0 26250030 */ addiu $a1, $s1, 0x30
/* 7CB74 800E36C4 080390B8 */ j .L800E42E0_7D790
/* 7CB78 800E36C8 00000000 */ nop
.L800E36CC:
/* 7CB7C 800E36CC 922200B4 */ lbu $v0, 0xb4($s1)
/* 7CB80 800E36D0 2442FFF9 */ addiu $v0, $v0, -7
/* 7CB84 800E36D4 00021600 */ sll $v0, $v0, 0x18
/* 7CB88 800E36D8 00021E03 */ sra $v1, $v0, 0x18
/* 7CB8C 800E36DC 2C620020 */ sltiu $v0, $v1, 0x20
/* 7CB90 800E36E0 1040010D */ beqz $v0, .L800E3B18_7CFC8
/* 7CB94 800E36E4 00031080 */ sll $v0, $v1, 2
/* 7CB98 800E36E8 3C018011 */ lui $at, %hi(jtbl_8010BE58)
/* 7CB9C 800E36EC 00220821 */ addu $at, $at, $v0
/* 7CBA0 800E36F0 8C22BE58 */ lw $v0, %lo(jtbl_8010BE58)($at)
/* 7CBA4 800E36F4 00400008 */ jr $v0
/* 7CBA8 800E36F8 00000000 */ nop
.L800E36FC_7CBAC:
/* 7CBAC 800E36FC 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 7CBB0 800E3700 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 7CBB4 800E3704 C62200A8 */ lwc1 $f2, 0xa8($s1)
/* 7CBB8 800E3708 3C0142B4 */ lui $at, 0x42b4
/* 7CBBC 800E370C 44810000 */ mtc1 $at, $f0
/* 7CBC0 800E3710 00031080 */ sll $v0, $v1, 2
/* 7CBC4 800E3714 00431021 */ addu $v0, $v0, $v1
/* 7CBC8 800E3718 00021080 */ sll $v0, $v0, 2
/* 7CBCC 800E371C 00431023 */ subu $v0, $v0, $v1
/* 7CBD0 800E3720 000218C0 */ sll $v1, $v0, 3
/* 7CBD4 800E3724 00431021 */ addu $v0, $v0, $v1
/* 7CBD8 800E3728 000210C0 */ sll $v0, $v0, 3
/* 7CBDC 800E372C 46001081 */ sub.s $f2, $f2, $f0
/* 7CBE0 800E3730 3C01800B */ lui $at, %hi(gCameras+0x6C)
/* 7CBE4 800E3734 00220821 */ addu $at, $at, $v0
/* 7CBE8 800E3738 C4201DEC */ lwc1 $f0, %lo(gCameras+0x6C)($at)
/* 7CBEC 800E373C 46001080 */ add.s $f2, $f2, $f0
/* 7CBF0 800E3740 0000202D */ daddu $a0, $zero, $zero
/* 7CBF4 800E3744 44061000 */ mfc1 $a2, $f2
/* 7CBF8 800E3748 080390B6 */ j .L800E42D8
/* 7CBFC 800E374C 0080282D */ daddu $a1, $a0, $zero
.L800E3750_7CC00:
/* 7CC00 800E3750 0C039422 */ jal get_current_partner_id
/* 7CC04 800E3754 00000000 */ nop
/* 7CC08 800E3758 00021600 */ sll $v0, $v0, 0x18
/* 7CC0C 800E375C 00021603 */ sra $v0, $v0, 0x18
/* 7CC10 800E3760 24030009 */ addiu $v1, $zero, 9
/* 7CC14 800E3764 144302DE */ bne $v0, $v1, .L800E42E0_7D790
/* 7CC18 800E3768 00000000 */ nop
/* 7CC1C 800E376C C6260028 */ lwc1 $f6, 0x28($s1)
/* 7CC20 800E3770 C620001C */ lwc1 $f0, 0x1c($s1)
/* 7CC24 800E3774 C624002C */ lwc1 $f4, 0x2c($s1)
/* 7CC28 800E3778 C628001C */ lwc1 $f8, 0x1c($s1)
/* 7CC2C 800E377C 46003180 */ add.s $f6, $f6, $f0
/* 7CC30 800E3780 C6200020 */ lwc1 $f0, 0x20($s1)
/* 7CC34 800E3784 44805000 */ mtc1 $zero, $f10
/* 7CC38 800E3788 46002100 */ add.s $f4, $f4, $f0
/* 7CC3C 800E378C C6220024 */ lwc1 $f2, 0x24($s1)
/* 7CC40 800E3790 C6200030 */ lwc1 $f0, 0x30($s1)
/* 7CC44 800E3794 460A4032 */ c.eq.s $f8, $f10
/* 7CC48 800E3798 46020000 */ add.s $f0, $f0, $f2
/* 7CC4C 800E379C E6260028 */ swc1 $f6, 0x28($s1)
/* 7CC50 800E37A0 E624002C */ swc1 $f4, 0x2c($s1)
/* 7CC54 800E37A4 4500000A */ bc1f .L800E37D0
/* 7CC58 800E37A8 E6200030 */ swc1 $f0, 0x30($s1)
/* 7CC5C 800E37AC C6200020 */ lwc1 $f0, 0x20($s1)
/* 7CC60 800E37B0 460A0032 */ c.eq.s $f0, $f10
/* 7CC64 800E37B4 00000000 */ nop
/* 7CC68 800E37B8 45000005 */ bc1f .L800E37D0
/* 7CC6C 800E37BC 46001006 */ mov.s $f0, $f2
/* 7CC70 800E37C0 460A0032 */ c.eq.s $f0, $f10
/* 7CC74 800E37C4 00000000 */ nop
/* 7CC78 800E37C8 450102C5 */ bc1t .L800E42E0_7D790
/* 7CC7C 800E37CC 00000000 */ nop
.L800E37D0:
/* 7CC80 800E37D0 C6200028 */ lwc1 $f0, 0x28($s1)
/* 7CC84 800E37D4 C622002C */ lwc1 $f2, 0x2c($s1)
/* 7CC88 800E37D8 C6240030 */ lwc1 $f4, 0x30($s1)
/* 7CC8C 800E37DC 3C02800B */ lui $v0, %hi(gCameras)
/* 7CC90 800E37E0 24421D80 */ addiu $v0, $v0, %lo(gCameras)
/* 7CC94 800E37E4 E4400060 */ swc1 $f0, 0x60($v0)
/* 7CC98 800E37E8 E4420064 */ swc1 $f2, 0x64($v0)
/* 7CC9C 800E37EC E4440068 */ swc1 $f4, 0x68($v0)
/* 7CCA0 800E37F0 9223000E */ lbu $v1, 0xe($s1)
/* 7CCA4 800E37F4 24020080 */ addiu $v0, $zero, 0x80
/* 7CCA8 800E37F8 106202B9 */ beq $v1, $v0, .L800E42E0_7D790
/* 7CCAC 800E37FC 00000000 */ nop
/* 7CCB0 800E3800 8E26001C */ lw $a2, 0x1c($s1)
/* 7CCB4 800E3804 44806000 */ mtc1 $zero, $f12
/* 7CCB8 800E3808 8E270024 */ lw $a3, 0x24($s1)
/* 7CCBC 800E380C 0C00A720 */ jal atan2
/* 7CCC0 800E3810 46006386 */ mov.s $f14, $f12
/* 7CCC4 800E3814 0000202D */ daddu $a0, $zero, $zero
/* 7CCC8 800E3818 44060000 */ mfc1 $a2, $f0
/* 7CCCC 800E381C 080390B6 */ j .L800E42D8
/* 7CCD0 800E3820 0080282D */ daddu $a1, $a0, $zero
.L800E3824_7CCD4:
/* 7CCD4 800E3824 C6260028 */ lwc1 $f6, 0x28($s1)
/* 7CCD8 800E3828 C620001C */ lwc1 $f0, 0x1c($s1)
/* 7CCDC 800E382C C624002C */ lwc1 $f4, 0x2c($s1)
/* 7CCE0 800E3830 C628001C */ lwc1 $f8, 0x1c($s1)
/* 7CCE4 800E3834 46003180 */ add.s $f6, $f6, $f0
/* 7CCE8 800E3838 C6200020 */ lwc1 $f0, 0x20($s1)
/* 7CCEC 800E383C 44805000 */ mtc1 $zero, $f10
/* 7CCF0 800E3840 46002100 */ add.s $f4, $f4, $f0
/* 7CCF4 800E3844 C6220024 */ lwc1 $f2, 0x24($s1)
/* 7CCF8 800E3848 C6200030 */ lwc1 $f0, 0x30($s1)
/* 7CCFC 800E384C 460A4032 */ c.eq.s $f8, $f10
/* 7CD00 800E3850 46020000 */ add.s $f0, $f0, $f2
/* 7CD04 800E3854 E6260028 */ swc1 $f6, 0x28($s1)
/* 7CD08 800E3858 E624002C */ swc1 $f4, 0x2c($s1)
/* 7CD0C 800E385C 4500000A */ bc1f .L800E3888
/* 7CD10 800E3860 E6200030 */ swc1 $f0, 0x30($s1)
/* 7CD14 800E3864 C6200020 */ lwc1 $f0, 0x20($s1)
/* 7CD18 800E3868 460A0032 */ c.eq.s $f0, $f10
/* 7CD1C 800E386C 00000000 */ nop
/* 7CD20 800E3870 45000005 */ bc1f .L800E3888
/* 7CD24 800E3874 46001006 */ mov.s $f0, $f2
/* 7CD28 800E3878 460A0032 */ c.eq.s $f0, $f10
/* 7CD2C 800E387C 00000000 */ nop
/* 7CD30 800E3880 45010009 */ bc1t .L800E38A8
/* 7CD34 800E3884 00000000 */ nop
.L800E3888:
/* 7CD38 800E3888 C6200028 */ lwc1 $f0, 0x28($s1)
/* 7CD3C 800E388C C622002C */ lwc1 $f2, 0x2c($s1)
/* 7CD40 800E3890 C6240030 */ lwc1 $f4, 0x30($s1)
/* 7CD44 800E3894 3C02800B */ lui $v0, %hi(gCameras)
/* 7CD48 800E3898 24421D80 */ addiu $v0, $v0, %lo(gCameras)
/* 7CD4C 800E389C E4400060 */ swc1 $f0, 0x60($v0)
/* 7CD50 800E38A0 E4420064 */ swc1 $f2, 0x64($v0)
/* 7CD54 800E38A4 E4440068 */ swc1 $f4, 0x68($v0)
.L800E38A8:
/* 7CD58 800E38A8 C620001C */ lwc1 $f0, 0x1c($s1)
/* 7CD5C 800E38AC 44801000 */ mtc1 $zero, $f2
/* 7CD60 800E38B0 00000000 */ nop
/* 7CD64 800E38B4 46020032 */ c.eq.s $f0, $f2
/* 7CD68 800E38B8 00000000 */ nop
/* 7CD6C 800E38BC 4500000B */ bc1f .L800E38EC
/* 7CD70 800E38C0 00000000 */ nop
/* 7CD74 800E38C4 C6200020 */ lwc1 $f0, 0x20($s1)
/* 7CD78 800E38C8 46020032 */ c.eq.s $f0, $f2
/* 7CD7C 800E38CC 00000000 */ nop
/* 7CD80 800E38D0 45000006 */ bc1f .L800E38EC
/* 7CD84 800E38D4 00000000 */ nop
/* 7CD88 800E38D8 C6200024 */ lwc1 $f0, 0x24($s1)
/* 7CD8C 800E38DC 46020032 */ c.eq.s $f0, $f2
/* 7CD90 800E38E0 00000000 */ nop
/* 7CD94 800E38E4 4501027E */ bc1t .L800E42E0_7D790
/* 7CD98 800E38E8 00000000 */ nop
.L800E38EC:
/* 7CD9C 800E38EC 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 7CDA0 800E38F0 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 7CDA4 800E38F4 C62200A8 */ lwc1 $f2, 0xa8($s1)
/* 7CDA8 800E38F8 3C0142B4 */ lui $at, 0x42b4
/* 7CDAC 800E38FC 44810000 */ mtc1 $at, $f0
/* 7CDB0 800E3900 00031080 */ sll $v0, $v1, 2
/* 7CDB4 800E3904 00431021 */ addu $v0, $v0, $v1
/* 7CDB8 800E3908 00021080 */ sll $v0, $v0, 2
/* 7CDBC 800E390C 00431023 */ subu $v0, $v0, $v1
/* 7CDC0 800E3910 000218C0 */ sll $v1, $v0, 3
/* 7CDC4 800E3914 00431021 */ addu $v0, $v0, $v1
/* 7CDC8 800E3918 000210C0 */ sll $v0, $v0, 3
/* 7CDCC 800E391C 46001081 */ sub.s $f2, $f2, $f0
/* 7CDD0 800E3920 3C01800B */ lui $at, %hi(gCameras+0x6C)
/* 7CDD4 800E3924 00220821 */ addu $at, $at, $v0
/* 7CDD8 800E3928 C4201DEC */ lwc1 $f0, %lo(gCameras+0x6C)($at)
/* 7CDDC 800E392C 46001080 */ add.s $f2, $f2, $f0
/* 7CDE0 800E3930 0000202D */ daddu $a0, $zero, $zero
/* 7CDE4 800E3934 44061000 */ mfc1 $a2, $f2
/* 7CDE8 800E3938 080390B6 */ j .L800E42D8
/* 7CDEC 800E393C 0080282D */ daddu $a1, $a0, $zero
.L800E3940_7CDF0:
/* 7CDF0 800E3940 C6260028 */ lwc1 $f6, 0x28($s1)
/* 7CDF4 800E3944 C620001C */ lwc1 $f0, 0x1c($s1)
/* 7CDF8 800E3948 C624002C */ lwc1 $f4, 0x2c($s1)
/* 7CDFC 800E394C C628001C */ lwc1 $f8, 0x1c($s1)
/* 7CE00 800E3950 46003180 */ add.s $f6, $f6, $f0
/* 7CE04 800E3954 C6200020 */ lwc1 $f0, 0x20($s1)
/* 7CE08 800E3958 44805000 */ mtc1 $zero, $f10
/* 7CE0C 800E395C 46002100 */ add.s $f4, $f4, $f0
/* 7CE10 800E3960 C6220024 */ lwc1 $f2, 0x24($s1)
/* 7CE14 800E3964 C6200030 */ lwc1 $f0, 0x30($s1)
/* 7CE18 800E3968 460A4032 */ c.eq.s $f8, $f10
/* 7CE1C 800E396C 46020000 */ add.s $f0, $f0, $f2
/* 7CE20 800E3970 E6260028 */ swc1 $f6, 0x28($s1)
/* 7CE24 800E3974 E624002C */ swc1 $f4, 0x2c($s1)
/* 7CE28 800E3978 4500000A */ bc1f .L800E39A4
/* 7CE2C 800E397C E6200030 */ swc1 $f0, 0x30($s1)
/* 7CE30 800E3980 C6200020 */ lwc1 $f0, 0x20($s1)
/* 7CE34 800E3984 460A0032 */ c.eq.s $f0, $f10
/* 7CE38 800E3988 00000000 */ nop
/* 7CE3C 800E398C 45000005 */ bc1f .L800E39A4
/* 7CE40 800E3990 46001006 */ mov.s $f0, $f2
/* 7CE44 800E3994 460A0032 */ c.eq.s $f0, $f10
/* 7CE48 800E3998 00000000 */ nop
/* 7CE4C 800E399C 45010009 */ bc1t .L800E39C4
/* 7CE50 800E39A0 00000000 */ nop
.L800E39A4:
/* 7CE54 800E39A4 C6200028 */ lwc1 $f0, 0x28($s1)
/* 7CE58 800E39A8 C622002C */ lwc1 $f2, 0x2c($s1)
/* 7CE5C 800E39AC C6240030 */ lwc1 $f4, 0x30($s1)
/* 7CE60 800E39B0 3C02800B */ lui $v0, %hi(gCameras)
/* 7CE64 800E39B4 24421D80 */ addiu $v0, $v0, %lo(gCameras)
/* 7CE68 800E39B8 E4400060 */ swc1 $f0, 0x60($v0)
/* 7CE6C 800E39BC E4420064 */ swc1 $f2, 0x64($v0)
/* 7CE70 800E39C0 E4440068 */ swc1 $f4, 0x68($v0)
.L800E39C4:
/* 7CE74 800E39C4 C6260028 */ lwc1 $f6, 0x28($s1)
/* 7CE78 800E39C8 C628002C */ lwc1 $f8, 0x2c($s1)
/* 7CE7C 800E39CC C6220054 */ lwc1 $f2, 0x54($s1)
/* 7CE80 800E39D0 44800000 */ mtc1 $zero, $f0
/* 7CE84 800E39D4 C6240030 */ lwc1 $f4, 0x30($s1)
/* 7CE88 800E39D8 46001032 */ c.eq.s $f2, $f0
/* 7CE8C 800E39DC E7A60020 */ swc1 $f6, 0x20($sp)
/* 7CE90 800E39E0 E7A80024 */ swc1 $f8, 0x24($sp)
/* 7CE94 800E39E4 45010004 */ bc1t .L800E39F8
/* 7CE98 800E39E8 E7A40028 */ swc1 $f4, 0x28($sp)
/* 7CE9C 800E39EC C6200080 */ lwc1 $f0, 0x80($s1)
/* 7CEA0 800E39F0 08038E90 */ j .L800E3A40
/* 7CEA4 800E39F4 E7A0002C */ swc1 $f0, 0x2c($sp)
.L800E39F8:
/* 7CEA8 800E39F8 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 7CEAC 800E39FC 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 7CEB0 800E3A00 C62000A8 */ lwc1 $f0, 0xa8($s1)
/* 7CEB4 800E3A04 3C0142B4 */ lui $at, 0x42b4
/* 7CEB8 800E3A08 44811000 */ mtc1 $at, $f2
/* 7CEBC 800E3A0C 00031080 */ sll $v0, $v1, 2
/* 7CEC0 800E3A10 00431021 */ addu $v0, $v0, $v1
/* 7CEC4 800E3A14 00021080 */ sll $v0, $v0, 2
/* 7CEC8 800E3A18 00431023 */ subu $v0, $v0, $v1
/* 7CECC 800E3A1C 000218C0 */ sll $v1, $v0, 3
/* 7CED0 800E3A20 00431021 */ addu $v0, $v0, $v1
/* 7CED4 800E3A24 000210C0 */ sll $v0, $v0, 3
/* 7CED8 800E3A28 46020001 */ sub.s $f0, $f0, $f2
/* 7CEDC 800E3A2C 3C01800B */ lui $at, %hi(gCameras+0x6C)
/* 7CEE0 800E3A30 00220821 */ addu $at, $at, $v0
/* 7CEE4 800E3A34 C4221DEC */ lwc1 $f2, %lo(gCameras+0x6C)($at)
/* 7CEE8 800E3A38 46020000 */ add.s $f0, $f0, $f2
/* 7CEEC 800E3A3C E7A0002C */ swc1 $f0, 0x2c($sp)
.L800E3A40:
/* 7CEF0 800E3A40 862200B2 */ lh $v0, 0xb2($s1)
/* 7CEF4 800E3A44 3C013F00 */ lui $at, 0x3f00
/* 7CEF8 800E3A48 44811000 */ mtc1 $at, $f2
/* 7CEFC 800E3A4C 44820000 */ mtc1 $v0, $f0
/* 7CF00 800E3A50 00000000 */ nop
/* 7CF04 800E3A54 46800020 */ cvt.s.w $f0, $f0
/* 7CF08 800E3A58 46020002 */ mul.s $f0, $f0, $f2
/* 7CF0C 800E3A5C 00000000 */ nop
/* 7CF10 800E3A60 0220202D */ daddu $a0, $s1, $zero
/* 7CF14 800E3A64 27A50020 */ addiu $a1, $sp, 0x20
/* 7CF18 800E3A68 27A60024 */ addiu $a2, $sp, 0x24
/* 7CF1C 800E3A6C E7A00010 */ swc1 $f0, 0x10($sp)
/* 7CF20 800E3A70 C7A0002C */ lwc1 $f0, 0x2c($sp)
/* 7CF24 800E3A74 27A70028 */ addiu $a3, $sp, 0x28
/* 7CF28 800E3A78 0C037D18 */ jal player_test_move_with_slipping
/* 7CF2C 800E3A7C E7A00014 */ swc1 $f0, 0x14($sp)
/* 7CF30 800E3A80 C620001C */ lwc1 $f0, 0x1c($s1)
/* 7CF34 800E3A84 44801000 */ mtc1 $zero, $f2
/* 7CF38 800E3A88 00000000 */ nop
/* 7CF3C 800E3A8C 46020032 */ c.eq.s $f0, $f2
/* 7CF40 800E3A90 00000000 */ nop
/* 7CF44 800E3A94 4500000B */ bc1f .L800E3AC4
/* 7CF48 800E3A98 A6820012 */ sh $v0, 0x12($s4)
/* 7CF4C 800E3A9C C6200020 */ lwc1 $f0, 0x20($s1)
/* 7CF50 800E3AA0 46020032 */ c.eq.s $f0, $f2
/* 7CF54 800E3AA4 00000000 */ nop
/* 7CF58 800E3AA8 45000006 */ bc1f .L800E3AC4
/* 7CF5C 800E3AAC 00000000 */ nop
/* 7CF60 800E3AB0 C6200024 */ lwc1 $f0, 0x24($s1)
/* 7CF64 800E3AB4 46020032 */ c.eq.s $f0, $f2
/* 7CF68 800E3AB8 00000000 */ nop
/* 7CF6C 800E3ABC 45010208 */ bc1t .L800E42E0_7D790
/* 7CF70 800E3AC0 00000000 */ nop
.L800E3AC4:
/* 7CF74 800E3AC4 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 7CF78 800E3AC8 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 7CF7C 800E3ACC C62200A8 */ lwc1 $f2, 0xa8($s1)
/* 7CF80 800E3AD0 3C0142B4 */ lui $at, 0x42b4
/* 7CF84 800E3AD4 44810000 */ mtc1 $at, $f0
/* 7CF88 800E3AD8 00031080 */ sll $v0, $v1, 2
/* 7CF8C 800E3ADC 00431021 */ addu $v0, $v0, $v1
/* 7CF90 800E3AE0 00021080 */ sll $v0, $v0, 2
/* 7CF94 800E3AE4 00431023 */ subu $v0, $v0, $v1
/* 7CF98 800E3AE8 000218C0 */ sll $v1, $v0, 3
/* 7CF9C 800E3AEC 00431021 */ addu $v0, $v0, $v1
/* 7CFA0 800E3AF0 000210C0 */ sll $v0, $v0, 3
/* 7CFA4 800E3AF4 46001081 */ sub.s $f2, $f2, $f0
/* 7CFA8 800E3AF8 3C01800B */ lui $at, %hi(gCameras+0x6C)
/* 7CFAC 800E3AFC 00220821 */ addu $at, $at, $v0
/* 7CFB0 800E3B00 C4201DEC */ lwc1 $f0, %lo(gCameras+0x6C)($at)
/* 7CFB4 800E3B04 46001080 */ add.s $f2, $f2, $f0
/* 7CFB8 800E3B08 0000202D */ daddu $a0, $zero, $zero
/* 7CFBC 800E3B0C 44061000 */ mfc1 $a2, $f2
/* 7CFC0 800E3B10 080390B6 */ j .L800E42D8
/* 7CFC4 800E3B14 0080282D */ daddu $a1, $a0, $zero
.L800E3B18_7CFC8:
/* 7CFC8 800E3B18 8E220000 */ lw $v0, ($s1)
/* 7CFCC 800E3B1C 30420008 */ andi $v0, $v0, 8
/* 7CFD0 800E3B20 144001EF */ bnez $v0, .L800E42E0_7D790
/* 7CFD4 800E3B24 3C030080 */ lui $v1, 0x80
/* 7CFD8 800E3B28 8E220000 */ lw $v0, ($s1)
/* 7CFDC 800E3B2C 34632000 */ ori $v1, $v1, 0x2000
/* 7CFE0 800E3B30 00431024 */ and $v0, $v0, $v1
/* 7CFE4 800E3B34 144000AA */ bnez $v0, .L800E3DE0
/* 7CFE8 800E3B38 AFA00030 */ sw $zero, 0x30($sp)
/* 7CFEC 800E3B3C 27A4002C */ addiu $a0, $sp, 0x2c
/* 7CFF0 800E3B40 0C0388C1 */ jal player_input_to_move_vector
/* 7CFF4 800E3B44 27A50030 */ addiu $a1, $sp, 0x30
/* 7CFF8 800E3B48 8E220004 */ lw $v0, 4($s1)
/* 7CFFC 800E3B4C 3C030001 */ lui $v1, 1
/* 7D000 800E3B50 00431024 */ and $v0, $v0, $v1
/* 7D004 800E3B54 1440002C */ bnez $v0, .L800E3C08
/* 7D008 800E3B58 00000000 */ nop
/* 7D00C 800E3B5C C7A20030 */ lwc1 $f2, 0x30($sp)
/* 7D010 800E3B60 3C013D00 */ lui $at, 0x3d00
/* 7D014 800E3B64 44810000 */ mtc1 $at, $f0
/* 7D018 800E3B68 00000000 */ nop
/* 7D01C 800E3B6C 46001002 */ mul.s $f0, $f2, $f0
/* 7D020 800E3B70 00000000 */ nop
/* 7D024 800E3B74 8E220000 */ lw $v0, ($s1)
/* 7D028 800E3B78 30420006 */ andi $v0, $v0, 6
/* 7D02C 800E3B7C 14400009 */ bnez $v0, .L800E3BA4
/* 7D030 800E3B80 E7A00030 */ swc1 $f0, 0x30($sp)
/* 7D034 800E3B84 3C013FD0 */ lui $at, 0x3fd0
/* 7D038 800E3B88 44811800 */ mtc1 $at, $f3
/* 7D03C 800E3B8C 44801000 */ mtc1 $zero, $f2
/* 7D040 800E3B90 46000021 */ cvt.d.s $f0, $f0
/* 7D044 800E3B94 46220002 */ mul.d $f0, $f0, $f2
/* 7D048 800E3B98 00000000 */ nop
/* 7D04C 800E3B9C 46200020 */ cvt.s.d $f0, $f0
/* 7D050 800E3BA0 E7A00030 */ swc1 $f0, 0x30($sp)
.L800E3BA4:
/* 7D054 800E3BA4 822300B4 */ lb $v1, 0xb4($s1)
/* 7D058 800E3BA8 24020006 */ addiu $v0, $zero, 6
/* 7D05C 800E3BAC 1462000A */ bne $v1, $v0, .L800E3BD8
/* 7D060 800E3BB0 00000000 */ nop
/* 7D064 800E3BB4 C7A00030 */ lwc1 $f0, 0x30($sp)
/* 7D068 800E3BB8 3C013FF8 */ lui $at, 0x3ff8
/* 7D06C 800E3BBC 44811800 */ mtc1 $at, $f3
/* 7D070 800E3BC0 44801000 */ mtc1 $zero, $f2
/* 7D074 800E3BC4 46000021 */ cvt.d.s $f0, $f0
/* 7D078 800E3BC8 46220002 */ mul.d $f0, $f0, $f2
/* 7D07C 800E3BCC 00000000 */ nop
/* 7D080 800E3BD0 46200020 */ cvt.s.d $f0, $f0
/* 7D084 800E3BD4 E7A00030 */ swc1 $f0, 0x30($sp)
.L800E3BD8:
/* 7D088 800E3BD8 8E220000 */ lw $v0, ($s1)
/* 7D08C 800E3BDC 3C030004 */ lui $v1, 4
/* 7D090 800E3BE0 00431024 */ and $v0, $v0, $v1
/* 7D094 800E3BE4 10400008 */ beqz $v0, .L800E3C08
/* 7D098 800E3BE8 00000000 */ nop
/* 7D09C 800E3BEC C7A00030 */ lwc1 $f0, 0x30($sp)
/* 7D0A0 800E3BF0 3C013F00 */ lui $at, 0x3f00
/* 7D0A4 800E3BF4 44811000 */ mtc1 $at, $f2
/* 7D0A8 800E3BF8 00000000 */ nop
/* 7D0AC 800E3BFC 46020002 */ mul.s $f0, $f0, $f2
/* 7D0B0 800E3C00 00000000 */ nop
/* 7D0B4 800E3C04 E7A00030 */ swc1 $f0, 0x30($sp)
.L800E3C08:
/* 7D0B8 800E3C08 C7AC002C */ lwc1 $f12, 0x2c($sp)
/* 7D0BC 800E3C0C 3C0140C9 */ lui $at, 0x40c9
/* 7D0C0 800E3C10 34210FD0 */ ori $at, $at, 0xfd0
/* 7D0C4 800E3C14 44810000 */ mtc1 $at, $f0
/* 7D0C8 800E3C18 00000000 */ nop
/* 7D0CC 800E3C1C 46006302 */ mul.s $f12, $f12, $f0
/* 7D0D0 800E3C20 00000000 */ nop
/* 7D0D4 800E3C24 27A50034 */ addiu $a1, $sp, 0x34
/* 7D0D8 800E3C28 3C0143B4 */ lui $at, 0x43b4
/* 7D0DC 800E3C2C 44810000 */ mtc1 $at, $f0
/* 7D0E0 800E3C30 27A60038 */ addiu $a2, $sp, 0x38
/* 7D0E4 800E3C34 0C00A82D */ jal sin_cos_rad
/* 7D0E8 800E3C38 46006303 */ div.s $f12, $f12, $f0
/* 7D0EC 800E3C3C 822300B4 */ lb $v1, 0xb4($s1)
/* 7D0F0 800E3C40 24020014 */ addiu $v0, $zero, 0x14
/* 7D0F4 800E3C44 14620014 */ bne $v1, $v0, .L800E3C98
/* 7D0F8 800E3C48 3C030001 */ lui $v1, 1
/* 7D0FC 800E3C4C C7A60034 */ lwc1 $f6, 0x34($sp)
/* 7D100 800E3C50 C7A40038 */ lwc1 $f4, 0x38($sp)
/* 7D104 800E3C54 46003085 */ abs.s $f2, $f6
/* 7D108 800E3C58 46002005 */ abs.s $f0, $f4
/* 7D10C 800E3C5C 4602003C */ c.lt.s $f0, $f2
/* 7D110 800E3C60 00000000 */ nop
/* 7D114 800E3C64 45000006 */ bc1f .L800E3C80
/* 7D118 800E3C68 00000000 */ nop
/* 7D11C 800E3C6C C7A00030 */ lwc1 $f0, 0x30($sp)
/* 7D120 800E3C70 4480A000 */ mtc1 $zero, $f20
/* 7D124 800E3C74 46060582 */ mul.s $f22, $f0, $f6
/* 7D128 800E3C78 08038F36 */ j .L800E3CD8
/* 7D12C 800E3C7C 00000000 */ nop
.L800E3C80:
/* 7D130 800E3C80 C7A00030 */ lwc1 $f0, 0x30($sp)
/* 7D134 800E3C84 4480B000 */ mtc1 $zero, $f22
/* 7D138 800E3C88 46000007 */ neg.s $f0, $f0
/* 7D13C 800E3C8C 46040502 */ mul.s $f20, $f0, $f4
/* 7D140 800E3C90 08038F36 */ j .L800E3CD8
/* 7D144 800E3C94 00000000 */ nop
.L800E3C98:
/* 7D148 800E3C98 8E220004 */ lw $v0, 4($s1)
/* 7D14C 800E3C9C 00431024 */ and $v0, $v0, $v1
/* 7D150 800E3CA0 1440000A */ bnez $v0, .L800E3CCC
/* 7D154 800E3CA4 00000000 */ nop
/* 7D158 800E3CA8 C7A00030 */ lwc1 $f0, 0x30($sp)
/* 7D15C 800E3CAC C7A20034 */ lwc1 $f2, 0x34($sp)
/* 7D160 800E3CB0 46020582 */ mul.s $f22, $f0, $f2
/* 7D164 800E3CB4 00000000 */ nop
/* 7D168 800E3CB8 C7A20038 */ lwc1 $f2, 0x38($sp)
/* 7D16C 800E3CBC 46000007 */ neg.s $f0, $f0
/* 7D170 800E3CC0 46020502 */ mul.s $f20, $f0, $f2
/* 7D174 800E3CC4 08038F36 */ j .L800E3CD8
/* 7D178 800E3CC8 00000000 */ nop
.L800E3CCC:
/* 7D17C 800E3CCC 4480A000 */ mtc1 $zero, $f20
/* 7D180 800E3CD0 00000000 */ nop
/* 7D184 800E3CD4 4600A586 */ mov.s $f22, $f20
.L800E3CD8:
/* 7D188 800E3CD8 C62C0080 */ lwc1 $f12, 0x80($s1)
/* 7D18C 800E3CDC 3C0140C9 */ lui $at, 0x40c9
/* 7D190 800E3CE0 34210FD0 */ ori $at, $at, 0xfd0
/* 7D194 800E3CE4 44810000 */ mtc1 $at, $f0
/* 7D198 800E3CE8 00000000 */ nop
/* 7D19C 800E3CEC 46006302 */ mul.s $f12, $f12, $f0
/* 7D1A0 800E3CF0 00000000 */ nop
/* 7D1A4 800E3CF4 27A50034 */ addiu $a1, $sp, 0x34
/* 7D1A8 800E3CF8 3C0143B4 */ lui $at, 0x43b4
/* 7D1AC 800E3CFC 44810000 */ mtc1 $at, $f0
/* 7D1B0 800E3D00 27A60038 */ addiu $a2, $sp, 0x38
/* 7D1B4 800E3D04 0C00A82D */ jal sin_cos_rad
/* 7D1B8 800E3D08 46006303 */ div.s $f12, $f12, $f0
/* 7D1BC 800E3D0C C6220054 */ lwc1 $f2, 0x54($s1)
/* 7D1C0 800E3D10 E7A20030 */ swc1 $f2, 0x30($sp)
/* 7D1C4 800E3D14 8E220000 */ lw $v0, ($s1)
/* 7D1C8 800E3D18 3C030004 */ lui $v1, 4
/* 7D1CC 800E3D1C 00431024 */ and $v0, $v0, $v1
/* 7D1D0 800E3D20 10400007 */ beqz $v0, .L800E3D40
/* 7D1D4 800E3D24 00000000 */ nop
/* 7D1D8 800E3D28 3C013F00 */ lui $at, 0x3f00
/* 7D1DC 800E3D2C 44810000 */ mtc1 $at, $f0
/* 7D1E0 800E3D30 00000000 */ nop
/* 7D1E4 800E3D34 46001002 */ mul.s $f0, $f2, $f0
/* 7D1E8 800E3D38 00000000 */ nop
/* 7D1EC 800E3D3C E7A00030 */ swc1 $f0, 0x30($sp)
.L800E3D40:
/* 7D1F0 800E3D40 C7A40030 */ lwc1 $f4, 0x30($sp)
/* 7D1F4 800E3D44 C7A20034 */ lwc1 $f2, 0x34($sp)
/* 7D1F8 800E3D48 46022082 */ mul.s $f2, $f4, $f2
/* 7D1FC 800E3D4C 00000000 */ nop
/* 7D200 800E3D50 C7A00038 */ lwc1 $f0, 0x38($sp)
/* 7D204 800E3D54 46002102 */ mul.s $f4, $f4, $f0
/* 7D208 800E3D58 00000000 */ nop
/* 7D20C 800E3D5C 4602B080 */ add.s $f2, $f22, $f2
/* 7D210 800E3D60 4604A101 */ sub.s $f4, $f20, $f4
/* 7D214 800E3D64 44806000 */ mtc1 $zero, $f12
/* 7D218 800E3D68 44061000 */ mfc1 $a2, $f2
/* 7D21C 800E3D6C 44072000 */ mfc1 $a3, $f4
/* 7D220 800E3D70 46006386 */ mov.s $f14, $f12
/* 7D224 800E3D74 AFA60020 */ sw $a2, 0x20($sp)
/* 7D228 800E3D78 0C00A720 */ jal atan2
/* 7D22C 800E3D7C AFA70028 */ sw $a3, 0x28($sp)
/* 7D230 800E3D80 C7A40020 */ lwc1 $f4, 0x20($sp)
/* 7D234 800E3D84 46042102 */ mul.s $f4, $f4, $f4
/* 7D238 800E3D88 00000000 */ nop
/* 7D23C 800E3D8C C7A20028 */ lwc1 $f2, 0x28($sp)
/* 7D240 800E3D90 46021082 */ mul.s $f2, $f2, $f2
/* 7D244 800E3D94 00000000 */ nop
/* 7D248 800E3D98 46022300 */ add.s $f12, $f4, $f2
/* 7D24C 800E3D9C E7A0002C */ swc1 $f0, 0x2c($sp)
/* 7D250 800E3DA0 46006004 */ sqrt.s $f0, $f12
/* 7D254 800E3DA4 46000032 */ c.eq.s $f0, $f0
/* 7D258 800E3DA8 00000000 */ nop
/* 7D25C 800E3DAC 45010003 */ bc1t .L800E3DBC
/* 7D260 800E3DB0 00000000 */ nop
/* 7D264 800E3DB4 0C0187BC */ jal sqrtf
/* 7D268 800E3DB8 00000000 */ nop
.L800E3DBC:
/* 7D26C 800E3DBC 8E220000 */ lw $v0, ($s1)
/* 7D270 800E3DC0 30420006 */ andi $v0, $v0, 6
/* 7D274 800E3DC4 10400006 */ beqz $v0, .L800E3DE0
/* 7D278 800E3DC8 E7A00030 */ swc1 $f0, 0x30($sp)
/* 7D27C 800E3DCC C622005C */ lwc1 $f2, 0x5c($s1)
/* 7D280 800E3DD0 4600103C */ c.lt.s $f2, $f0
/* 7D284 800E3DD4 00000000 */ nop
/* 7D288 800E3DD8 45030001 */ bc1tl .L800E3DE0
/* 7D28C 800E3DDC E7A20030 */ swc1 $f2, 0x30($sp)
.L800E3DE0:
/* 7D290 800E3DE0 C6240028 */ lwc1 $f4, 0x28($s1)
/* 7D294 800E3DE4 C620001C */ lwc1 $f0, 0x1c($s1)
/* 7D298 800E3DE8 C6220030 */ lwc1 $f2, 0x30($s1)
/* 7D29C 800E3DEC 46002100 */ add.s $f4, $f4, $f0
/* 7D2A0 800E3DF0 C6200024 */ lwc1 $f0, 0x24($s1)
/* 7D2A4 800E3DF4 862200C0 */ lh $v0, 0xc0($s1)
/* 7D2A8 800E3DF8 46001080 */ add.s $f2, $f2, $f0
/* 7D2AC 800E3DFC E6240028 */ swc1 $f4, 0x28($s1)
/* 7D2B0 800E3E00 14400005 */ bnez $v0, .L800E3E18
/* 7D2B4 800E3E04 E6220030 */ swc1 $f2, 0x30($s1)
/* 7D2B8 800E3E08 C620002C */ lwc1 $f0, 0x2c($s1)
/* 7D2BC 800E3E0C C6220020 */ lwc1 $f2, 0x20($s1)
/* 7D2C0 800E3E10 46020000 */ add.s $f0, $f0, $f2
/* 7D2C4 800E3E14 E620002C */ swc1 $f0, 0x2c($s1)
.L800E3E18:
/* 7D2C8 800E3E18 C620001C */ lwc1 $f0, 0x1c($s1)
/* 7D2CC 800E3E1C 44801000 */ mtc1 $zero, $f2
/* 7D2D0 800E3E20 00000000 */ nop
/* 7D2D4 800E3E24 46020032 */ c.eq.s $f0, $f2
/* 7D2D8 800E3E28 00000000 */ nop
/* 7D2DC 800E3E2C 4500000B */ bc1f .L800E3E5C
/* 7D2E0 800E3E30 00000000 */ nop
/* 7D2E4 800E3E34 C6200020 */ lwc1 $f0, 0x20($s1)
/* 7D2E8 800E3E38 46020032 */ c.eq.s $f0, $f2
/* 7D2EC 800E3E3C 00000000 */ nop
/* 7D2F0 800E3E40 45000006 */ bc1f .L800E3E5C
/* 7D2F4 800E3E44 00000000 */ nop
/* 7D2F8 800E3E48 C6200024 */ lwc1 $f0, 0x24($s1)
/* 7D2FC 800E3E4C 46020032 */ c.eq.s $f0, $f2
/* 7D300 800E3E50 00000000 */ nop
/* 7D304 800E3E54 4501000A */ bc1t .L800E3E80
/* 7D308 800E3E58 0220202D */ daddu $a0, $s1, $zero
.L800E3E5C:
/* 7D30C 800E3E5C C6200028 */ lwc1 $f0, 0x28($s1)
/* 7D310 800E3E60 C622002C */ lwc1 $f2, 0x2c($s1)
/* 7D314 800E3E64 C6240030 */ lwc1 $f4, 0x30($s1)
/* 7D318 800E3E68 3C02800B */ lui $v0, %hi(gCameras)
/* 7D31C 800E3E6C 24421D80 */ addiu $v0, $v0, %lo(gCameras)
/* 7D320 800E3E70 E4400060 */ swc1 $f0, 0x60($v0)
/* 7D324 800E3E74 E4420064 */ swc1 $f2, 0x64($v0)
/* 7D328 800E3E78 E4440068 */ swc1 $f4, 0x68($v0)
/* 7D32C 800E3E7C 0220202D */ daddu $a0, $s1, $zero
.L800E3E80:
/* 7D330 800E3E80 27B30020 */ addiu $s3, $sp, 0x20
/* 7D334 800E3E84 0260282D */ daddu $a1, $s3, $zero
/* 7D338 800E3E88 27B00024 */ addiu $s0, $sp, 0x24
/* 7D33C 800E3E8C 0200302D */ daddu $a2, $s0, $zero
/* 7D340 800E3E90 27B20028 */ addiu $s2, $sp, 0x28
/* 7D344 800E3E94 0240382D */ daddu $a3, $s2, $zero
/* 7D348 800E3E98 862200B2 */ lh $v0, 0xb2($s1)
/* 7D34C 800E3E9C C6240028 */ lwc1 $f4, 0x28($s1)
/* 7D350 800E3EA0 C626002C */ lwc1 $f6, 0x2c($s1)
/* 7D354 800E3EA4 C6280030 */ lwc1 $f8, 0x30($s1)
/* 7D358 800E3EA8 3C013F00 */ lui $at, 0x3f00
/* 7D35C 800E3EAC 4481B000 */ mtc1 $at, $f22
/* 7D360 800E3EB0 C6220080 */ lwc1 $f2, 0x80($s1)
/* 7D364 800E3EB4 44820000 */ mtc1 $v0, $f0
/* 7D368 800E3EB8 00000000 */ nop
/* 7D36C 800E3EBC 46800020 */ cvt.s.w $f0, $f0
/* 7D370 800E3EC0 46160002 */ mul.s $f0, $f0, $f22
/* 7D374 800E3EC4 00000000 */ nop
/* 7D378 800E3EC8 E7A40020 */ swc1 $f4, 0x20($sp)
/* 7D37C 800E3ECC E7A60024 */ swc1 $f6, 0x24($sp)
/* 7D380 800E3ED0 E7A80028 */ swc1 $f8, 0x28($sp)
/* 7D384 800E3ED4 E7A20014 */ swc1 $f2, 0x14($sp)
/* 7D388 800E3ED8 0C037D18 */ jal player_test_move_with_slipping
/* 7D38C 800E3EDC E7A00010 */ swc1 $f0, 0x10($sp)
/* 7D390 800E3EE0 C7A20030 */ lwc1 $f2, 0x30($sp)
/* 7D394 800E3EE4 44800000 */ mtc1 $zero, $f0
/* 7D398 800E3EE8 00000000 */ nop
/* 7D39C 800E3EEC 46001032 */ c.eq.s $f2, $f0
/* 7D3A0 800E3EF0 00000000 */ nop
/* 7D3A4 800E3EF4 45020045 */ bc1fl .L800E400C
/* 7D3A8 800E3EF8 A6820012 */ sh $v0, 0x12($s4)
/* 7D3AC 800E3EFC 04430043 */ bgezl $v0, .L800E400C
/* 7D3B0 800E3F00 A6820012 */ sh $v0, 0x12($s4)
/* 7D3B4 800E3F04 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 7D3B8 800E3F08 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 7D3BC 800E3F0C C62200A8 */ lwc1 $f2, 0xa8($s1)
/* 7D3C0 800E3F10 3C0142B4 */ lui $at, 0x42b4
/* 7D3C4 800E3F14 44810000 */ mtc1 $at, $f0
/* 7D3C8 800E3F18 00031080 */ sll $v0, $v1, 2
/* 7D3CC 800E3F1C 00431021 */ addu $v0, $v0, $v1
/* 7D3D0 800E3F20 00021080 */ sll $v0, $v0, 2
/* 7D3D4 800E3F24 00431023 */ subu $v0, $v0, $v1
/* 7D3D8 800E3F28 000218C0 */ sll $v1, $v0, 3
/* 7D3DC 800E3F2C 00431021 */ addu $v0, $v0, $v1
/* 7D3E0 800E3F30 000210C0 */ sll $v0, $v0, 3
/* 7D3E4 800E3F34 46001081 */ sub.s $f2, $f2, $f0
/* 7D3E8 800E3F38 3C01800B */ lui $at, %hi(gCameras+0x6C)
/* 7D3EC 800E3F3C 00220821 */ addu $at, $at, $v0
/* 7D3F0 800E3F40 C4201DEC */ lwc1 $f0, %lo(gCameras+0x6C)($at)
/* 7D3F4 800E3F44 46001500 */ add.s $f20, $f2, $f0
/* 7D3F8 800E3F48 3C014334 */ lui $at, 0x4334
/* 7D3FC 800E3F4C 44816000 */ mtc1 $at, $f12
/* 7D400 800E3F50 00000000 */ nop
/* 7D404 800E3F54 460CA300 */ add.s $f12, $f20, $f12
/* 7D408 800E3F58 3C0140C9 */ lui $at, 0x40c9
/* 7D40C 800E3F5C 34210FD0 */ ori $at, $at, 0xfd0
/* 7D410 800E3F60 44810000 */ mtc1 $at, $f0
/* 7D414 800E3F64 00000000 */ nop
/* 7D418 800E3F68 46006302 */ mul.s $f12, $f12, $f0
/* 7D41C 800E3F6C 00000000 */ nop
/* 7D420 800E3F70 27A50034 */ addiu $a1, $sp, 0x34
/* 7D424 800E3F74 3C0143B4 */ lui $at, 0x43b4
/* 7D428 800E3F78 44810000 */ mtc1 $at, $f0
/* 7D42C 800E3F7C 27A60038 */ addiu $a2, $sp, 0x38
/* 7D430 800E3F80 0C00A82D */ jal sin_cos_rad
/* 7D434 800E3F84 46006303 */ div.s $f12, $f12, $f0
/* 7D438 800E3F88 862200B2 */ lh $v0, 0xb2($s1)
/* 7D43C 800E3F8C C7A60034 */ lwc1 $f6, 0x34($sp)
/* 7D440 800E3F90 44820000 */ mtc1 $v0, $f0
/* 7D444 800E3F94 00000000 */ nop
/* 7D448 800E3F98 46800020 */ cvt.s.w $f0, $f0
/* 7D44C 800E3F9C 46003182 */ mul.s $f6, $f6, $f0
/* 7D450 800E3FA0 00000000 */ nop
/* 7D454 800E3FA4 C7A40038 */ lwc1 $f4, 0x38($sp)
/* 7D458 800E3FA8 46002102 */ mul.s $f4, $f4, $f0
/* 7D45C 800E3FAC 00000000 */ nop
/* 7D460 800E3FB0 46163182 */ mul.s $f6, $f6, $f22
/* 7D464 800E3FB4 00000000 */ nop
/* 7D468 800E3FB8 46162102 */ mul.s $f4, $f4, $f22
/* 7D46C 800E3FBC 00000000 */ nop
/* 7D470 800E3FC0 0220202D */ daddu $a0, $s1, $zero
/* 7D474 800E3FC4 0260282D */ daddu $a1, $s3, $zero
/* 7D478 800E3FC8 C6220028 */ lwc1 $f2, 0x28($s1)
/* 7D47C 800E3FCC 0200302D */ daddu $a2, $s0, $zero
/* 7D480 800E3FD0 46061080 */ add.s $f2, $f2, $f6
/* 7D484 800E3FD4 C6200030 */ lwc1 $f0, 0x30($s1)
/* 7D488 800E3FD8 C626002C */ lwc1 $f6, 0x2c($s1)
/* 7D48C 800E3FDC 46040001 */ sub.s $f0, $f0, $f4
/* 7D490 800E3FE0 0240382D */ daddu $a3, $s2, $zero
/* 7D494 800E3FE4 E7A60024 */ swc1 $f6, 0x24($sp)
/* 7D498 800E3FE8 E7A00028 */ swc1 $f0, 0x28($sp)
/* 7D49C 800E3FEC 44820000 */ mtc1 $v0, $f0
/* 7D4A0 800E3FF0 00000000 */ nop
/* 7D4A4 800E3FF4 46800020 */ cvt.s.w $f0, $f0
/* 7D4A8 800E3FF8 E7A20020 */ swc1 $f2, 0x20($sp)
/* 7D4AC 800E3FFC E7A00010 */ swc1 $f0, 0x10($sp)
/* 7D4B0 800E4000 0C037D18 */ jal player_test_move_with_slipping
/* 7D4B4 800E4004 E7B40014 */ swc1 $f20, 0x14($sp)
/* 7D4B8 800E4008 A6820012 */ sh $v0, 0x12($s4)
.L800E400C:
/* 7D4BC 800E400C 8E220000 */ lw $v0, ($s1)
/* 7D4C0 800E4010 3C030040 */ lui $v1, 0x40
/* 7D4C4 800E4014 00431024 */ and $v0, $v0, $v1
/* 7D4C8 800E4018 144000B1 */ bnez $v0, .L800E42E0_7D790
/* 7D4CC 800E401C 24020012 */ addiu $v0, $zero, 0x12
/* 7D4D0 800E4020 822300B4 */ lb $v1, 0xb4($s1)
/* 7D4D4 800E4024 106200AE */ beq $v1, $v0, .L800E42E0_7D790
/* 7D4D8 800E4028 00000000 */ nop
/* 7D4DC 800E402C C7A60030 */ lwc1 $f6, 0x30($sp)
/* 7D4E0 800E4030 44800000 */ mtc1 $zero, $f0
/* 7D4E4 800E4034 00000000 */ nop
/* 7D4E8 800E4038 46003032 */ c.eq.s $f6, $f0
/* 7D4EC 800E403C 00000000 */ nop
/* 7D4F0 800E4040 45000015 */ bc1f .L800E4098
/* 7D4F4 800E4044 0000202D */ daddu $a0, $zero, $zero
/* 7D4F8 800E4048 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 7D4FC 800E404C 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 7D500 800E4050 C62200A8 */ lwc1 $f2, 0xa8($s1)
/* 7D504 800E4054 3C0142B4 */ lui $at, 0x42b4
/* 7D508 800E4058 44810000 */ mtc1 $at, $f0
/* 7D50C 800E405C 00031080 */ sll $v0, $v1, 2
/* 7D510 800E4060 00431021 */ addu $v0, $v0, $v1
/* 7D514 800E4064 00021080 */ sll $v0, $v0, 2
/* 7D518 800E4068 00431023 */ subu $v0, $v0, $v1
/* 7D51C 800E406C 000218C0 */ sll $v1, $v0, 3
/* 7D520 800E4070 00431021 */ addu $v0, $v0, $v1
/* 7D524 800E4074 000210C0 */ sll $v0, $v0, 3
/* 7D528 800E4078 46001081 */ sub.s $f2, $f2, $f0
/* 7D52C 800E407C 3C01800B */ lui $at, %hi(gCameras+0x6C)
/* 7D530 800E4080 00220821 */ addu $at, $at, $v0
/* 7D534 800E4084 C4201DEC */ lwc1 $f0, %lo(gCameras+0x6C)($at)
/* 7D538 800E4088 46001080 */ add.s $f2, $f2, $f0
/* 7D53C 800E408C 44061000 */ mfc1 $a2, $f2
/* 7D540 800E4090 080390B6 */ j .L800E42D8
/* 7D544 800E4094 0080282D */ daddu $a1, $a0, $zero
.L800E4098:
/* 7D548 800E4098 C7B4002C */ lwc1 $f20, 0x2c($sp)
/* 7D54C 800E409C C6200028 */ lwc1 $f0, 0x28($s1)
/* 7D550 800E40A0 C6240030 */ lwc1 $f4, 0x30($s1)
/* 7D554 800E40A4 3C014080 */ lui $at, 0x4080
/* 7D558 800E40A8 4481B000 */ mtc1 $at, $f22
/* 7D55C 800E40AC C622002C */ lwc1 $f2, 0x2c($s1)
/* 7D560 800E40B0 4606B03C */ c.lt.s $f22, $f6
/* 7D564 800E40B4 E7A00020 */ swc1 $f0, 0x20($sp)
/* 7D568 800E40B8 E7A40028 */ swc1 $f4, 0x28($sp)
/* 7D56C 800E40BC 45000016 */ bc1f .L800E4118
/* 7D570 800E40C0 E7A20024 */ swc1 $f2, 0x24($sp)
/* 7D574 800E40C4 0220202D */ daddu $a0, $s1, $zero
/* 7D578 800E40C8 27B00020 */ addiu $s0, $sp, 0x20
/* 7D57C 800E40CC 0200282D */ daddu $a1, $s0, $zero
/* 7D580 800E40D0 27B20024 */ addiu $s2, $sp, 0x24
/* 7D584 800E40D4 0240302D */ daddu $a2, $s2, $zero
/* 7D588 800E40D8 27B30028 */ addiu $s3, $sp, 0x28
/* 7D58C 800E40DC 0260382D */ daddu $a3, $s3, $zero
/* 7D590 800E40E0 E7B60010 */ swc1 $f22, 0x10($sp)
/* 7D594 800E40E4 0C037D18 */ jal player_test_move_with_slipping
/* 7D598 800E40E8 E7B40014 */ swc1 $f20, 0x14($sp)
/* 7D59C 800E40EC 04430013 */ bgezl $v0, .L800E413C
/* 7D5A0 800E40F0 A6820000 */ sh $v0, ($s4)
/* 7D5A4 800E40F4 0220202D */ daddu $a0, $s1, $zero
/* 7D5A8 800E40F8 0200282D */ daddu $a1, $s0, $zero
/* 7D5AC 800E40FC C7A00030 */ lwc1 $f0, 0x30($sp)
/* 7D5B0 800E4100 0240302D */ daddu $a2, $s2, $zero
/* 7D5B4 800E4104 46160001 */ sub.s $f0, $f0, $f22
/* 7D5B8 800E4108 0260382D */ daddu $a3, $s3, $zero
/* 7D5BC 800E410C E7B40014 */ swc1 $f20, 0x14($sp)
/* 7D5C0 800E4110 0803904C */ j .L800E4130
/* 7D5C4 800E4114 E7A00010 */ swc1 $f0, 0x10($sp)
.L800E4118:
/* 7D5C8 800E4118 0220202D */ daddu $a0, $s1, $zero
/* 7D5CC 800E411C 27A50020 */ addiu $a1, $sp, 0x20
/* 7D5D0 800E4120 27A60024 */ addiu $a2, $sp, 0x24
/* 7D5D4 800E4124 27A70028 */ addiu $a3, $sp, 0x28
/* 7D5D8 800E4128 E7A60010 */ swc1 $f6, 0x10($sp)
/* 7D5DC 800E412C E7B40014 */ swc1 $f20, 0x14($sp)
.L800E4130:
/* 7D5E0 800E4130 0C037D18 */ jal player_test_move_with_slipping
/* 7D5E4 800E4134 00000000 */ nop
/* 7D5E8 800E4138 A6820000 */ sh $v0, ($s4)
.L800E413C:
/* 7D5EC 800E413C C7A00020 */ lwc1 $f0, 0x20($sp)
/* 7D5F0 800E4140 C7A20024 */ lwc1 $f2, 0x24($sp)
/* 7D5F4 800E4144 3C018011 */ lui $at, %hi(D_8010BED8)
/* 7D5F8 800E4148 D436BED8 */ ldc1 $f22, %lo(D_8010BED8)($at)
/* 7D5FC 800E414C 4600A521 */ cvt.d.s $f20, $f20
/* 7D600 800E4150 E7A0003C */ swc1 $f0, 0x3c($sp)
/* 7D604 800E4154 C7A00028 */ lwc1 $f0, 0x28($sp)
/* 7D608 800E4158 4636A301 */ sub.d $f12, $f20, $f22
/* 7D60C 800E415C E7A20040 */ swc1 $f2, 0x40($sp)
/* 7D610 800E4160 E7A00044 */ swc1 $f0, 0x44($sp)
/* 7D614 800E4164 0C00A6C9 */ jal clamp_angle
/* 7D618 800E4168 46206320 */ cvt.s.d $f12, $f12
/* 7D61C 800E416C 0000202D */ daddu $a0, $zero, $zero
/* 7D620 800E4170 0220282D */ daddu $a1, $s1, $zero
/* 7D624 800E4174 27A6003C */ addiu $a2, $sp, 0x3c
/* 7D628 800E4178 27A70040 */ addiu $a3, $sp, 0x40
/* 7D62C 800E417C 27A20044 */ addiu $v0, $sp, 0x44
/* 7D630 800E4180 E7A0002C */ swc1 $f0, 0x2c($sp)
/* 7D634 800E4184 AFA20010 */ sw $v0, 0x10($sp)
/* 7D638 800E4188 AFA00014 */ sw $zero, 0x14($sp)
/* 7D63C 800E418C 0C037B01 */ jal player_test_lateral_overlap
/* 7D640 800E4190 E7A00018 */ swc1 $f0, 0x18($sp)
/* 7D644 800E4194 C7A00020 */ lwc1 $f0, 0x20($sp)
/* 7D648 800E4198 C7A20028 */ lwc1 $f2, 0x28($sp)
/* 7D64C 800E419C 4636A500 */ add.d $f20, $f20, $f22
/* 7D650 800E41A0 E7A00048 */ swc1 $f0, 0x48($sp)
/* 7D654 800E41A4 C7A00024 */ lwc1 $f0, 0x24($sp)
/* 7D658 800E41A8 0040802D */ daddu $s0, $v0, $zero
/* 7D65C 800E41AC E7A20050 */ swc1 $f2, 0x50($sp)
/* 7D660 800E41B0 4620A320 */ cvt.s.d $f12, $f20
/* 7D664 800E41B4 0C00A6C9 */ jal clamp_angle
/* 7D668 800E41B8 E7A0004C */ swc1 $f0, 0x4c($sp)
/* 7D66C 800E41BC 0000202D */ daddu $a0, $zero, $zero
/* 7D670 800E41C0 0220282D */ daddu $a1, $s1, $zero
/* 7D674 800E41C4 27A60048 */ addiu $a2, $sp, 0x48
/* 7D678 800E41C8 27A7004C */ addiu $a3, $sp, 0x4c
/* 7D67C 800E41CC 27A20050 */ addiu $v0, $sp, 0x50
/* 7D680 800E41D0 E7A0002C */ swc1 $f0, 0x2c($sp)
/* 7D684 800E41D4 AFA20010 */ sw $v0, 0x10($sp)
/* 7D688 800E41D8 AFA00014 */ sw $zero, 0x14($sp)
/* 7D68C 800E41DC 0C037B01 */ jal player_test_lateral_overlap
/* 7D690 800E41E0 E7A00018 */ swc1 $f0, 0x18($sp)
/* 7D694 800E41E4 0601000B */ bgez $s0, .L800E4214
/* 7D698 800E41E8 00000000 */ nop
/* 7D69C 800E41EC 04410005 */ bgez $v0, .L800E4204
/* 7D6A0 800E41F0 00000000 */ nop
/* 7D6A4 800E41F4 C7A00020 */ lwc1 $f0, 0x20($sp)
/* 7D6A8 800E41F8 C7A20028 */ lwc1 $f2, 0x28($sp)
/* 7D6AC 800E41FC 0803908A */ j .L800E4228
/* 7D6B0 800E4200 E6200028 */ swc1 $f0, 0x28($s1)
.L800E4204:
/* 7D6B4 800E4204 C7A0003C */ lwc1 $f0, 0x3c($sp)
/* 7D6B8 800E4208 C7A20044 */ lwc1 $f2, 0x44($sp)
/* 7D6BC 800E420C 0803908A */ j .L800E4228
/* 7D6C0 800E4210 E6200028 */ swc1 $f0, 0x28($s1)
.L800E4214:
/* 7D6C4 800E4214 04410005 */ bgez $v0, .L800E422C
/* 7D6C8 800E4218 00000000 */ nop
/* 7D6CC 800E421C C7A00048 */ lwc1 $f0, 0x48($sp)
/* 7D6D0 800E4220 C7A20050 */ lwc1 $f2, 0x50($sp)
/* 7D6D4 800E4224 E6200028 */ swc1 $f0, 0x28($s1)
.L800E4228:
/* 7D6D8 800E4228 E6220030 */ swc1 $f2, 0x30($s1)
.L800E422C:
/* 7D6DC 800E422C 82220014 */ lb $v0, 0x14($s1)
/* 7D6E0 800E4230 1440002B */ bnez $v0, .L800E42E0_7D790
/* 7D6E4 800E4234 3C030001 */ lui $v1, 1
/* 7D6E8 800E4238 8E220004 */ lw $v0, 4($s1)
/* 7D6EC 800E423C 00431024 */ and $v0, $v0, $v1
/* 7D6F0 800E4240 10400004 */ beqz $v0, .L800E4254
/* 7D6F4 800E4244 0000202D */ daddu $a0, $zero, $zero
/* 7D6F8 800E4248 C6340080 */ lwc1 $f20, 0x80($s1)
/* 7D6FC 800E424C 080390A6 */ j .L800E4298
/* 7D700 800E4250 00000000 */ nop
.L800E4254:
/* 7D704 800E4254 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 7D708 800E4258 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 7D70C 800E425C C62200A8 */ lwc1 $f2, 0xa8($s1)
/* 7D710 800E4260 3C0142B4 */ lui $at, 0x42b4
/* 7D714 800E4264 44810000 */ mtc1 $at, $f0
/* 7D718 800E4268 00031080 */ sll $v0, $v1, 2
/* 7D71C 800E426C 00431021 */ addu $v0, $v0, $v1
/* 7D720 800E4270 00021080 */ sll $v0, $v0, 2
/* 7D724 800E4274 00431023 */ subu $v0, $v0, $v1
/* 7D728 800E4278 000218C0 */ sll $v1, $v0, 3
/* 7D72C 800E427C 00431021 */ addu $v0, $v0, $v1
/* 7D730 800E4280 000210C0 */ sll $v0, $v0, 3
/* 7D734 800E4284 46001081 */ sub.s $f2, $f2, $f0
/* 7D738 800E4288 3C01800B */ lui $at, %hi(gCameras+0x6C)
/* 7D73C 800E428C 00220821 */ addu $at, $at, $v0
/* 7D740 800E4290 C4201DEC */ lwc1 $f0, %lo(gCameras+0x6C)($at)
/* 7D744 800E4294 46001500 */ add.s $f20, $f2, $f0
.L800E4298:
/* 7D748 800E4298 4406A000 */ mfc1 $a2, $f20
/* 7D74C 800E429C 0C0390C2 */ jal collision_check_player_intersecting_world
/* 7D750 800E42A0 0080282D */ daddu $a1, $a0, $zero
/* 7D754 800E42A4 0441000E */ bgez $v0, .L800E42E0_7D790
/* 7D758 800E42A8 24040001 */ addiu $a0, $zero, 1
/* 7D75C 800E42AC 862200B0 */ lh $v0, 0xb0($s1)
/* 7D760 800E42B0 3C013F40 */ lui $at, 0x3f40
/* 7D764 800E42B4 44811000 */ mtc1 $at, $f2
/* 7D768 800E42B8 44820000 */ mtc1 $v0, $f0
/* 7D76C 800E42BC 00000000 */ nop
/* 7D770 800E42C0 46800020 */ cvt.s.w $f0, $f0
/* 7D774 800E42C4 46020002 */ mul.s $f0, $f0, $f2
/* 7D778 800E42C8 00000000 */ nop
/* 7D77C 800E42CC 4406A000 */ mfc1 $a2, $f20
/* 7D780 800E42D0 4600040D */ trunc.w.s $f16, $f0
/* 7D784 800E42D4 44058000 */ mfc1 $a1, $f16
.L800E42D8:
/* 7D788 800E42D8 0C0390C2 */ jal collision_check_player_intersecting_world
/* 7D78C 800E42DC 00000000 */ nop
.L800E42E0_7D790:
/* 7D790 800E42E0 8FBF006C */ lw $ra, 0x6c($sp)
/* 7D794 800E42E4 8FB40068 */ lw $s4, 0x68($sp)
/* 7D798 800E42E8 8FB30064 */ lw $s3, 0x64($sp)
/* 7D79C 800E42EC 8FB20060 */ lw $s2, 0x60($sp)
/* 7D7A0 800E42F0 8FB1005C */ lw $s1, 0x5c($sp)
/* 7D7A4 800E42F4 8FB00058 */ lw $s0, 0x58($sp)
/* 7D7A8 800E42F8 D7B60078 */ ldc1 $f22, 0x78($sp)
/* 7D7AC 800E42FC D7B40070 */ ldc1 $f20, 0x70($sp)
/* 7D7B0 800E4300 03E00008 */ jr $ra
/* 7D7B4 800E4304 27BD0080 */ addiu $sp, $sp, 0x80

View File

@ -1,134 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800E29C8
/* 7BE78 800E29C8 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 7BE7C 800E29CC AFB00018 */ sw $s0, 0x18($sp)
/* 7BE80 800E29D0 3C108011 */ lui $s0, %hi(gPlayerStatus)
/* 7BE84 800E29D4 2610EFC8 */ addiu $s0, $s0, %lo(gPlayerStatus)
/* 7BE88 800E29D8 AFBF0028 */ sw $ra, 0x28($sp)
/* 7BE8C 800E29DC AFB30024 */ sw $s3, 0x24($sp)
/* 7BE90 800E29E0 AFB20020 */ sw $s2, 0x20($sp)
/* 7BE94 800E29E4 AFB1001C */ sw $s1, 0x1c($sp)
/* 7BE98 800E29E8 F7B40030 */ sdc1 $f20, 0x30($sp)
/* 7BE9C 800E29EC 8E030000 */ lw $v1, ($s0)
/* 7BEA0 800E29F0 04610006 */ bgez $v1, .L800E2A0C
/* 7BEA4 800E29F4 0200982D */ daddu $s3, $s0, $zero
/* 7BEA8 800E29F8 3C027FFF */ lui $v0, 0x7fff
/* 7BEAC 800E29FC 3442FFFF */ ori $v0, $v0, 0xffff
/* 7BEB0 800E2A00 00621024 */ and $v0, $v1, $v0
/* 7BEB4 800E2A04 AE020000 */ sw $v0, ($s0)
/* 7BEB8 800E2A08 A20000B6 */ sb $zero, 0xb6($s0)
.L800E2A0C:
/* 7BEBC 800E2A0C 820300B6 */ lb $v1, 0xb6($s0)
/* 7BEC0 800E2A10 14600031 */ bnez $v1, .L800E2AD8
/* 7BEC4 800E2A14 24020002 */ addiu $v0, $zero, 2
/* 7BEC8 800E2A18 3C018011 */ lui $at, %hi(D_8010C960)
/* 7BECC 800E2A1C C42CC960 */ lwc1 $f12, %lo(D_8010C960)($at)
/* 7BED0 800E2A20 3C018011 */ lui $at, %hi(D_8010C97C)
/* 7BED4 800E2A24 C42EC97C */ lwc1 $f14, %lo(D_8010C97C)($at)
/* 7BED8 800E2A28 8E060028 */ lw $a2, 0x28($s0)
/* 7BEDC 800E2A2C 8E070030 */ lw $a3, 0x30($s0)
/* 7BEE0 800E2A30 0C00A7B5 */ jal dist2D
/* 7BEE4 800E2A34 26110028 */ addiu $s1, $s0, 0x28
/* 7BEE8 800E2A38 3C0141B0 */ lui $at, 0x41b0
/* 7BEEC 800E2A3C 44811000 */ mtc1 $at, $f2
/* 7BEF0 800E2A40 00000000 */ nop
/* 7BEF4 800E2A44 4602003E */ c.le.s $f0, $f2
/* 7BEF8 800E2A48 00000000 */ nop
/* 7BEFC 800E2A4C 45000006 */ bc1f .L800E2A68
/* 7BF00 800E2A50 26120030 */ addiu $s2, $s0, 0x30
/* 7BF04 800E2A54 0220202D */ daddu $a0, $s1, $zero
/* 7BF08 800E2A58 3C0640A0 */ lui $a2, 0x40a0
/* 7BF0C 800E2A5C 8E070080 */ lw $a3, 0x80($s0)
/* 7BF10 800E2A60 0C00A7E7 */ jal add_vec2D_polar
/* 7BF14 800E2A64 0240282D */ daddu $a1, $s2, $zero
.L800E2A68:
/* 7BF18 800E2A68 0C038D12 */ jal integrate_gravity
/* 7BF1C 800E2A6C 00000000 */ nop
/* 7BF20 800E2A70 C6020070 */ lwc1 $f2, 0x70($s0)
/* 7BF24 800E2A74 44800000 */ mtc1 $zero, $f0
/* 7BF28 800E2A78 00000000 */ nop
/* 7BF2C 800E2A7C 4600103E */ c.le.s $f2, $f0
/* 7BF30 800E2A80 00000000 */ nop
/* 7BF34 800E2A84 45000009 */ bc1f .L800E2AAC
/* 7BF38 800E2A88 00000000 */ nop
/* 7BF3C 800E2A8C 0C0389AC */ jal record_jump_apex
/* 7BF40 800E2A90 00000000 */ nop
/* 7BF44 800E2A94 0C038C1B */ jal gravity_use_fall_parms
/* 7BF48 800E2A98 00000000 */ nop
/* 7BF4C 800E2A9C 0C038D12 */ jal integrate_gravity
/* 7BF50 800E2AA0 00000000 */ nop
/* 7BF54 800E2AA4 24020001 */ addiu $v0, $zero, 1
/* 7BF58 800E2AA8 A20200B6 */ sb $v0, 0xb6($s0)
.L800E2AAC:
/* 7BF5C 800E2AAC C6000070 */ lwc1 $f0, 0x70($s0)
/* 7BF60 800E2AB0 C602006C */ lwc1 $f2, 0x6c($s0)
/* 7BF64 800E2AB4 4600103C */ c.lt.s $f2, $f0
/* 7BF68 800E2AB8 00000000 */ nop
/* 7BF6C 800E2ABC 45030001 */ bc1tl .L800E2AC4
/* 7BF70 800E2AC0 E6020070 */ swc1 $f2, 0x70($s0)
.L800E2AC4:
/* 7BF74 800E2AC4 C600002C */ lwc1 $f0, 0x2c($s0)
/* 7BF78 800E2AC8 C6020070 */ lwc1 $f2, 0x70($s0)
/* 7BF7C 800E2ACC 46020000 */ add.s $f0, $f0, $f2
/* 7BF80 800E2AD0 08038AE4 */ j .L800E2B90
/* 7BF84 800E2AD4 E600002C */ swc1 $f0, 0x2c($s0)
.L800E2AD8:
/* 7BF88 800E2AD8 1462002D */ bne $v1, $v0, .L800E2B90
/* 7BF8C 800E2ADC 00000000 */ nop
/* 7BF90 800E2AE0 3C018011 */ lui $at, %hi(D_8010C960)
/* 7BF94 800E2AE4 C42CC960 */ lwc1 $f12, %lo(D_8010C960)($at)
/* 7BF98 800E2AE8 3C018011 */ lui $at, %hi(D_8010C97C)
/* 7BF9C 800E2AEC C42EC97C */ lwc1 $f14, %lo(D_8010C97C)($at)
/* 7BFA0 800E2AF0 8E060028 */ lw $a2, 0x28($s0)
/* 7BFA4 800E2AF4 8E070030 */ lw $a3, 0x30($s0)
/* 7BFA8 800E2AF8 0C00A7B5 */ jal dist2D
/* 7BFAC 800E2AFC 26110028 */ addiu $s1, $s0, 0x28
/* 7BFB0 800E2B00 3C0141B0 */ lui $at, 0x41b0
/* 7BFB4 800E2B04 44811000 */ mtc1 $at, $f2
/* 7BFB8 800E2B08 00000000 */ nop
/* 7BFBC 800E2B0C 4602003E */ c.le.s $f0, $f2
/* 7BFC0 800E2B10 00000000 */ nop
/* 7BFC4 800E2B14 45000006 */ bc1f .L800E2B30
/* 7BFC8 800E2B18 26120030 */ addiu $s2, $s0, 0x30
/* 7BFCC 800E2B1C 0220202D */ daddu $a0, $s1, $zero
/* 7BFD0 800E2B20 3C0640A0 */ lui $a2, 0x40a0
/* 7BFD4 800E2B24 8E070080 */ lw $a3, 0x80($s0)
/* 7BFD8 800E2B28 0C00A7E7 */ jal add_vec2D_polar
/* 7BFDC 800E2B2C 0240282D */ daddu $a1, $s2, $zero
.L800E2B30:
/* 7BFE0 800E2B30 0C038D36 */ jal func_800E34D8
/* 7BFE4 800E2B34 00000000 */ nop
/* 7BFE8 800E2B38 46000306 */ mov.s $f12, $f0
/* 7BFEC 800E2B3C 0C038D45 */ jal player_check_collision_below
/* 7BFF0 800E2B40 27A50010 */ addiu $a1, $sp, 0x10
/* 7BFF4 800E2B44 8FA40010 */ lw $a0, 0x10($sp)
/* 7BFF8 800E2B48 0C038C57 */ jal func_800E315C
/* 7BFFC 800E2B4C 46000506 */ mov.s $f20, $f0
/* 7C000 800E2B50 8FA20010 */ lw $v0, 0x10($sp)
/* 7C004 800E2B54 0440000E */ bltz $v0, .L800E2B90
/* 7C008 800E2B58 E674002C */ swc1 $f20, 0x2c($s3)
/* 7C00C 800E2B5C 3C040006 */ lui $a0, 6
/* 7C010 800E2B60 8E620004 */ lw $v0, 4($s3)
/* 7C014 800E2B64 30420001 */ andi $v0, $v0, 1
/* 7C018 800E2B68 14400003 */ bnez $v0, .L800E2B78
/* 7C01C 800E2B6C 3484000B */ ori $a0, $a0, 0xb
/* 7C020 800E2B70 3C040001 */ lui $a0, 1
/* 7C024 800E2B74 34840009 */ ori $a0, $a0, 9
.L800E2B78:
/* 7C028 800E2B78 0C037FBF */ jal suggest_player_anim_clearUnkFlag
/* 7C02C 800E2B7C 00000000 */ nop
/* 7C030 800E2B80 0C038069 */ jal enable_player_input
/* 7C034 800E2B84 00000000 */ nop
/* 7C038 800E2B88 0C038C9E */ jal phys_player_land
/* 7C03C 800E2B8C 00000000 */ nop
.L800E2B90:
/* 7C040 800E2B90 8FBF0028 */ lw $ra, 0x28($sp)
/* 7C044 800E2B94 8FB30024 */ lw $s3, 0x24($sp)
/* 7C048 800E2B98 8FB20020 */ lw $s2, 0x20($sp)
/* 7C04C 800E2B9C 8FB1001C */ lw $s1, 0x1c($sp)
/* 7C050 800E2BA0 8FB00018 */ lw $s0, 0x18($sp)
/* 7C054 800E2BA4 D7B40030 */ ldc1 $f20, 0x30($sp)
/* 7C058 800E2BA8 03E00008 */ jr $ra
/* 7C05C 800E2BAC 27BD0038 */ addiu $sp, $sp, 0x38

View File

@ -1,113 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.section .rodata
dlabel D_8010BD80
.double -0.47
dlabel D_8010BD88
.double 0.001
dlabel D_8010BD90
.double -1.2
.section .text
glabel func_800E2BB0
/* 7C060 800E2BB0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7C064 800E2BB4 AFB00010 */ sw $s0, 0x10($sp)
/* 7C068 800E2BB8 3C108011 */ lui $s0, %hi(gPlayerStatus)
/* 7C06C 800E2BBC 2610EFC8 */ addiu $s0, $s0, %lo(gPlayerStatus)
/* 7C070 800E2BC0 AFBF0014 */ sw $ra, 0x14($sp)
/* 7C074 800E2BC4 C602007C */ lwc1 $f2, 0x7c($s0)
/* 7C078 800E2BC8 C6000078 */ lwc1 $f0, 0x78($s0)
/* 7C07C 800E2BCC 46001000 */ add.s $f0, $f2, $f0
/* 7C080 800E2BD0 C604002C */ lwc1 $f4, 0x2c($s0)
/* 7C084 800E2BD4 4600203C */ c.lt.s $f4, $f0
/* 7C088 800E2BD8 00000000 */ nop
/* 7C08C 800E2BDC 45000026 */ bc1f .L800E2C78
/* 7C090 800E2BE0 0000102D */ daddu $v0, $zero, $zero
/* 7C094 800E2BE4 46041081 */ sub.s $f2, $f2, $f4
/* 7C098 800E2BE8 3C014442 */ lui $at, 0x4442
/* 7C09C 800E2BEC 34214000 */ ori $at, $at, 0x4000
/* 7C0A0 800E2BF0 44810000 */ mtc1 $at, $f0
/* 7C0A4 800E2BF4 00000000 */ nop
/* 7C0A8 800E2BF8 46001183 */ div.s $f6, $f2, $f0
/* 7C0AC 800E2BFC 3C018011 */ lui $at, %hi(D_8010BD80)
/* 7C0B0 800E2C00 D422BD80 */ ldc1 $f2, %lo(D_8010BD80)($at)
/* 7C0B4 800E2C04 46003021 */ cvt.d.s $f0, $f6
/* 7C0B8 800E2C08 4622003C */ c.lt.d $f0, $f2
/* 7C0BC 800E2C0C 00000000 */ nop
/* 7C0C0 800E2C10 45000004 */ bc1f .L800E2C24
/* 7C0C4 800E2C14 00000000 */ nop
/* 7C0C8 800E2C18 3C01BEF0 */ lui $at, 0xbef0
/* 7C0CC 800E2C1C 3421A3D7 */ ori $at, $at, 0xa3d7
/* 7C0D0 800E2C20 44813000 */ mtc1 $at, $f6
.L800E2C24:
/* 7C0D4 800E2C24 3C018011 */ lui $at, %hi(D_8010BD88)
/* 7C0D8 800E2C28 D422BD88 */ ldc1 $f2, %lo(D_8010BD88)($at)
/* 7C0DC 800E2C2C 46003021 */ cvt.d.s $f0, $f6
/* 7C0E0 800E2C30 4620103C */ c.lt.d $f2, $f0
/* 7C0E4 800E2C34 00000000 */ nop
/* 7C0E8 800E2C38 45000004 */ bc1f .L800E2C4C
/* 7C0EC 800E2C3C 00000000 */ nop
/* 7C0F0 800E2C40 3C013A83 */ lui $at, 0x3a83
/* 7C0F4 800E2C44 3421126F */ ori $at, $at, 0x126f
/* 7C0F8 800E2C48 44813000 */ mtc1 $at, $f6
.L800E2C4C:
/* 7C0FC 800E2C4C C6000070 */ lwc1 $f0, 0x70($s0)
/* 7C100 800E2C50 46060000 */ add.s $f0, $f0, $f6
/* 7C104 800E2C54 44801000 */ mtc1 $zero, $f2
/* 7C108 800E2C58 46002100 */ add.s $f4, $f4, $f0
/* 7C10C 800E2C5C E6000070 */ swc1 $f0, 0x70($s0)
/* 7C110 800E2C60 4602003E */ c.le.s $f0, $f2
/* 7C114 800E2C64 00000000 */ nop
/* 7C118 800E2C68 45000011 */ bc1f .L800E2CB0
/* 7C11C 800E2C6C E604002C */ swc1 $f4, 0x2c($s0)
/* 7C120 800E2C70 08038B2C */ j .L800E2CB0
/* 7C124 800E2C74 24020001 */ addiu $v0, $zero, 1
.L800E2C78:
/* 7C128 800E2C78 C6000070 */ lwc1 $f0, 0x70($s0)
/* 7C12C 800E2C7C 3C018011 */ lui $at, %hi(D_8010BD90)
/* 7C130 800E2C80 D422BD90 */ ldc1 $f2, %lo(D_8010BD90)($at)
/* 7C134 800E2C84 46000021 */ cvt.d.s $f0, $f0
/* 7C138 800E2C88 46220000 */ add.d $f0, $f0, $f2
/* 7C13C 800E2C8C 44801000 */ mtc1 $zero, $f2
/* 7C140 800E2C90 46200020 */ cvt.s.d $f0, $f0
/* 7C144 800E2C94 4602003E */ c.le.s $f0, $f2
/* 7C148 800E2C98 00000000 */ nop
/* 7C14C 800E2C9C 45000002 */ bc1f .L800E2CA8
/* 7C150 800E2CA0 E6000070 */ swc1 $f0, 0x70($s0)
/* 7C154 800E2CA4 24020001 */ addiu $v0, $zero, 1
.L800E2CA8:
/* 7C158 800E2CA8 46002000 */ add.s $f0, $f4, $f0
/* 7C15C 800E2CAC E600002C */ swc1 $f0, 0x2c($s0)
.L800E2CB0:
/* 7C160 800E2CB0 10400015 */ beqz $v0, .L800E2D08
/* 7C164 800E2CB4 00000000 */ nop
/* 7C168 800E2CB8 0C0389AC */ jal record_jump_apex
/* 7C16C 800E2CBC 00000000 */ nop
/* 7C170 800E2CC0 3C013DEA */ lui $at, 0x3dea
/* 7C174 800E2CC4 3421161E */ ori $at, $at, 0x161e
/* 7C178 800E2CC8 44810000 */ mtc1 $at, $f0
/* 7C17C 800E2CCC 3C01BE92 */ lui $at, 0xbe92
/* 7C180 800E2CD0 3421FEC5 */ ori $at, $at, 0xfec5
/* 7C184 800E2CD4 44811000 */ mtc1 $at, $f2
/* 7C188 800E2CD8 3C01BE3A */ lui $at, 0xbe3a
/* 7C18C 800E2CDC 3421ACDA */ ori $at, $at, 0xacda
/* 7C190 800E2CE0 44812000 */ mtc1 $at, $f4
/* 7C194 800E2CE4 3C013C3C */ lui $at, 0x3c3c
/* 7C198 800E2CE8 3421BE62 */ ori $at, $at, 0xbe62
/* 7C19C 800E2CEC 44813000 */ mtc1 $at, $f6
/* 7C1A0 800E2CF0 24040008 */ addiu $a0, $zero, 8
/* 7C1A4 800E2CF4 E6000070 */ swc1 $f0, 0x70($s0)
/* 7C1A8 800E2CF8 E6020074 */ swc1 $f2, 0x74($s0)
/* 7C1AC 800E2CFC E6040078 */ swc1 $f4, 0x78($s0)
/* 7C1B0 800E2D00 0C039769 */ jal set_action_state
/* 7C1B4 800E2D04 E606007C */ swc1 $f6, 0x7c($s0)
.L800E2D08:
/* 7C1B8 800E2D08 8FBF0014 */ lw $ra, 0x14($sp)
/* 7C1BC 800E2D0C 8FB00010 */ lw $s0, 0x10($sp)
/* 7C1C0 800E2D10 03E00008 */ jr $ra
/* 7C1C4 800E2D14 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,89 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.section .rodata
dlabel jtbl_8010BE40
.word .L800E31B0_7C660, .L800E3200_7C6B0, .L800E31C0_7C670, .L800E31B0_7C660, .L800E31B0_7C660, 0
.section .text
glabel func_800E315C
/* 7C60C 800E315C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 7C610 800E3160 AFB00010 */ sw $s0, 0x10($sp)
/* 7C614 800E3164 3C108011 */ lui $s0, %hi(gPlayerStatus)
/* 7C618 800E3168 2610EFC8 */ addiu $s0, $s0, %lo(gPlayerStatus)
/* 7C61C 800E316C AFB10014 */ sw $s1, 0x14($sp)
/* 7C620 800E3170 3C118011 */ lui $s1, %hi(gPartnerActionStatus)
/* 7C624 800E3174 2631EBB0 */ addiu $s1, $s1, %lo(gPartnerActionStatus)
/* 7C628 800E3178 0480003A */ bltz $a0, .L800E3264
/* 7C62C 800E317C AFBF0018 */ sw $ra, 0x18($sp)
/* 7C630 800E3180 0C016F6A */ jal get_collider_type_by_id
/* 7C634 800E3184 00000000 */ nop
/* 7C638 800E3188 304200FF */ andi $v0, $v0, 0xff
/* 7C63C 800E318C 2443FFFF */ addiu $v1, $v0, -1
/* 7C640 800E3190 2C620005 */ sltiu $v0, $v1, 5
/* 7C644 800E3194 10400031 */ beqz $v0, .L800E325C
/* 7C648 800E3198 00031080 */ sll $v0, $v1, 2
/* 7C64C 800E319C 3C018011 */ lui $at, %hi(jtbl_8010BE40)
/* 7C650 800E31A0 00220821 */ addu $at, $at, $v0
/* 7C654 800E31A4 8C22BE40 */ lw $v0, %lo(jtbl_8010BE40)($at)
/* 7C658 800E31A8 00400008 */ jr $v0
/* 7C65C 800E31AC 00000000 */ nop
.L800E31B0_7C660:
/* 7C660 800E31B0 0C039769 */ jal set_action_state
/* 7C664 800E31B4 2404000A */ addiu $a0, $zero, 0xa
/* 7C668 800E31B8 08038C99 */ j .L800E3264
/* 7C66C 800E31BC 00000000 */ nop
.L800E31C0_7C670:
/* 7C670 800E31C0 3C04FF00 */ lui $a0, 0xff00
/* 7C674 800E31C4 348400FF */ ori $a0, $a0, 0xff
/* 7C678 800E31C8 3C030100 */ lui $v1, 0x100
/* 7C67C 800E31CC 8E220000 */ lw $v0, ($s1)
/* 7C680 800E31D0 34630009 */ ori $v1, $v1, 9
/* 7C684 800E31D4 00441024 */ and $v0, $v0, $a0
/* 7C688 800E31D8 10430022 */ beq $v0, $v1, .L800E3264
/* 7C68C 800E31DC 00000000 */ nop
/* 7C690 800E31E0 86020010 */ lh $v0, 0x10($s0)
/* 7C694 800E31E4 14400019 */ bnez $v0, .L800E324C
/* 7C698 800E31E8 24020017 */ addiu $v0, $zero, 0x17
/* 7C69C 800E31EC 820300B4 */ lb $v1, 0xb4($s0)
/* 7C6A0 800E31F0 1062001C */ beq $v1, $v0, .L800E3264
/* 7C6A4 800E31F4 24020001 */ addiu $v0, $zero, 1
/* 7C6A8 800E31F8 08038C8F */ j .L800E323C
/* 7C6AC 800E31FC A20200BF */ sb $v0, 0xbf($s0)
.L800E3200_7C6B0:
/* 7C6B0 800E3200 3C04FF00 */ lui $a0, 0xff00
/* 7C6B4 800E3204 348400FF */ ori $a0, $a0, 0xff
/* 7C6B8 800E3208 3C030100 */ lui $v1, 0x100
/* 7C6BC 800E320C 8E220000 */ lw $v0, ($s1)
/* 7C6C0 800E3210 34630009 */ ori $v1, $v1, 9
/* 7C6C4 800E3214 00441024 */ and $v0, $v0, $a0
/* 7C6C8 800E3218 10430012 */ beq $v0, $v1, .L800E3264
/* 7C6CC 800E321C 00000000 */ nop
/* 7C6D0 800E3220 86020010 */ lh $v0, 0x10($s0)
/* 7C6D4 800E3224 14400009 */ bnez $v0, .L800E324C
/* 7C6D8 800E3228 24020015 */ addiu $v0, $zero, 0x15
/* 7C6DC 800E322C 820300B4 */ lb $v1, 0xb4($s0)
/* 7C6E0 800E3230 1062000C */ beq $v1, $v0, .L800E3264
/* 7C6E4 800E3234 24020002 */ addiu $v0, $zero, 2
/* 7C6E8 800E3238 A20200BF */ sb $v0, 0xbf($s0)
.L800E323C:
/* 7C6EC 800E323C 0C039769 */ jal set_action_state
/* 7C6F0 800E3240 24040017 */ addiu $a0, $zero, 0x17
/* 7C6F4 800E3244 08038C99 */ j .L800E3264
/* 7C6F8 800E3248 00000000 */ nop
.L800E324C:
/* 7C6FC 800E324C 0C039769 */ jal set_action_state
/* 7C700 800E3250 24040016 */ addiu $a0, $zero, 0x16
/* 7C704 800E3254 08038C99 */ j .L800E3264
/* 7C708 800E3258 00000000 */ nop
.L800E325C:
/* 7C70C 800E325C 0C038C9E */ jal phys_player_land
/* 7C710 800E3260 00000000 */ nop
.L800E3264:
/* 7C714 800E3264 8FBF0018 */ lw $ra, 0x18($sp)
/* 7C718 800E3268 8FB10014 */ lw $s1, 0x14($sp)
/* 7C71C 800E326C 8FB00010 */ lw $s0, 0x10($sp)
/* 7C720 800E3270 03E00008 */ jr $ra
/* 7C724 800E3274 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,80 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800E5348
/* 7E7F8 800E5348 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 7E7FC 800E534C 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 7E800 800E5350 3C018011 */ lui $at, %hi(gPlayerStatus+0x84)
/* 7E804 800E5354 C42EF04C */ lwc1 $f14, %lo(gPlayerStatus+0x84)($at)
/* 7E808 800E5358 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 7E80C 800E535C AFBF0010 */ sw $ra, 0x10($sp)
/* 7E810 800E5360 00031080 */ sll $v0, $v1, 2
/* 7E814 800E5364 00431021 */ addu $v0, $v0, $v1
/* 7E818 800E5368 00021080 */ sll $v0, $v0, 2
/* 7E81C 800E536C 00431023 */ subu $v0, $v0, $v1
/* 7E820 800E5370 000218C0 */ sll $v1, $v0, 3
/* 7E824 800E5374 00431021 */ addu $v0, $v0, $v1
/* 7E828 800E5378 000210C0 */ sll $v0, $v0, 3
/* 7E82C 800E537C 3C01800B */ lui $at, %hi(gCameras+0x6C)
/* 7E830 800E5380 00220821 */ addu $at, $at, $v0
/* 7E834 800E5384 C42C1DEC */ lwc1 $f12, %lo(gCameras+0x6C)($at)
/* 7E838 800E5388 0C00A70A */ jal get_clamped_angle_diff
/* 7E83C 800E538C 00000000 */ nop
/* 7E840 800E5390 3C01C0A0 */ lui $at, 0xc0a0
/* 7E844 800E5394 44811000 */ mtc1 $at, $f2
/* 7E848 800E5398 46000106 */ mov.s $f4, $f0
/* 7E84C 800E539C 4602203C */ c.lt.s $f4, $f2
/* 7E850 800E53A0 00000000 */ nop
/* 7E854 800E53A4 4500000B */ bc1f .L800E53D4
/* 7E858 800E53A8 00000000 */ nop
/* 7E85C 800E53AC 3C01C32F */ lui $at, 0xc32f
/* 7E860 800E53B0 44810000 */ mtc1 $at, $f0
/* 7E864 800E53B4 00000000 */ nop
/* 7E868 800E53B8 4604003C */ c.lt.s $f0, $f4
/* 7E86C 800E53BC 00000000 */ nop
/* 7E870 800E53C0 45000004 */ bc1f .L800E53D4
/* 7E874 800E53C4 00000000 */ nop
/* 7E878 800E53C8 44802000 */ mtc1 $zero, $f4
/* 7E87C 800E53CC 08039507 */ j .L800E541C
/* 7E880 800E53D0 00000000 */ nop
.L800E53D4:
/* 7E884 800E53D4 3C0140A0 */ lui $at, 0x40a0
/* 7E888 800E53D8 44810000 */ mtc1 $at, $f0
/* 7E88C 800E53DC 00000000 */ nop
/* 7E890 800E53E0 4604003C */ c.lt.s $f0, $f4
/* 7E894 800E53E4 00000000 */ nop
/* 7E898 800E53E8 45000009 */ bc1f .L800E5410
/* 7E89C 800E53EC 00000000 */ nop
/* 7E8A0 800E53F0 3C01432F */ lui $at, 0x432f
/* 7E8A4 800E53F4 44810000 */ mtc1 $at, $f0
/* 7E8A8 800E53F8 00000000 */ nop
/* 7E8AC 800E53FC 4600203C */ c.lt.s $f4, $f0
/* 7E8B0 800E5400 3C014334 */ lui $at, 0x4334
/* 7E8B4 800E5404 44812000 */ mtc1 $at, $f4
/* 7E8B8 800E5408 45010004 */ bc1t .L800E541C
/* 7E8BC 800E540C 00000000 */ nop
.L800E5410:
/* 7E8C0 800E5410 3C01800F */ lui $at, %hi(D_800F7B40)
/* 7E8C4 800E5414 C4247B40 */ lwc1 $f4, %lo(D_800F7B40)($at)
/* 7E8C8 800E5418 46802120 */ cvt.s.w $f4, $f4
.L800E541C:
/* 7E8CC 800E541C 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 7E8D0 800E5420 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 7E8D4 800E5424 3C0142B4 */ lui $at, 0x42b4
/* 7E8D8 800E5428 44816000 */ mtc1 $at, $f12
/* 7E8DC 800E542C 00031080 */ sll $v0, $v1, 2
/* 7E8E0 800E5430 00431021 */ addu $v0, $v0, $v1
/* 7E8E4 800E5434 00021080 */ sll $v0, $v0, 2
/* 7E8E8 800E5438 00431023 */ subu $v0, $v0, $v1
/* 7E8EC 800E543C 000218C0 */ sll $v1, $v0, 3
/* 7E8F0 800E5440 00431021 */ addu $v0, $v0, $v1
/* 7E8F4 800E5444 000210C0 */ sll $v0, $v0, 3
/* 7E8F8 800E5448 460C2301 */ sub.s $f12, $f4, $f12
/* 7E8FC 800E544C 3C01800B */ lui $at, %hi(gCameras+0x6C)
/* 7E900 800E5450 00220821 */ addu $at, $at, $v0
/* 7E904 800E5454 C4201DEC */ lwc1 $f0, %lo(gCameras+0x6C)($at)
/* 7E908 800E5458 0C00A6C9 */ jal clamp_angle
/* 7E90C 800E545C 46006300 */ add.s $f12, $f12, $f0
/* 7E910 800E5460 8FBF0010 */ lw $ra, 0x10($sp)
/* 7E914 800E5464 03E00008 */ jr $ra
/* 7E918 800E5468 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,111 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel peach_disguise_check_overlaps
/* 7FB74 800E66C4 27BDFFA0 */ addiu $sp, $sp, -0x60
/* 7FB78 800E66C8 AFB20040 */ sw $s2, 0x40($sp)
/* 7FB7C 800E66CC 3C128011 */ lui $s2, %hi(gPlayerStatus)
/* 7FB80 800E66D0 2652EFC8 */ addiu $s2, $s2, %lo(gPlayerStatus)
/* 7FB84 800E66D4 3C04800B */ lui $a0, %hi(gCameras)
/* 7FB88 800E66D8 24841D80 */ addiu $a0, $a0, %lo(gCameras)
/* 7FB8C 800E66DC AFBF0048 */ sw $ra, 0x48($sp)
/* 7FB90 800E66E0 AFB30044 */ sw $s3, 0x44($sp)
/* 7FB94 800E66E4 AFB1003C */ sw $s1, 0x3c($sp)
/* 7FB98 800E66E8 AFB00038 */ sw $s0, 0x38($sp)
/* 7FB9C 800E66EC F7B60058 */ sdc1 $f22, 0x58($sp)
/* 7FBA0 800E66F0 F7B40050 */ sdc1 $f20, 0x50($sp)
/* 7FBA4 800E66F4 C64400A8 */ lwc1 $f4, 0xa8($s2)
/* 7FBA8 800E66F8 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 7FBAC 800E66FC 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 7FBB0 800E6700 3C0142B4 */ lui $at, 0x42b4
/* 7FBB4 800E6704 44810000 */ mtc1 $at, $f0
/* 7FBB8 800E6708 00031080 */ sll $v0, $v1, 2
/* 7FBBC 800E670C 00431021 */ addu $v0, $v0, $v1
/* 7FBC0 800E6710 00021080 */ sll $v0, $v0, 2
/* 7FBC4 800E6714 00431023 */ subu $v0, $v0, $v1
/* 7FBC8 800E6718 000218C0 */ sll $v1, $v0, 3
/* 7FBCC 800E671C 00431021 */ addu $v0, $v0, $v1
/* 7FBD0 800E6720 000210C0 */ sll $v0, $v0, 3
/* 7FBD4 800E6724 4604003E */ c.le.s $f0, $f4
/* 7FBD8 800E6728 00000000 */ nop
/* 7FBDC 800E672C 4500000B */ bc1f .L800E675C
/* 7FBE0 800E6730 00441021 */ addu $v0, $v0, $a0
/* 7FBE4 800E6734 3C014387 */ lui $at, 0x4387
/* 7FBE8 800E6738 44811000 */ mtc1 $at, $f2
/* 7FBEC 800E673C 00000000 */ nop
/* 7FBF0 800E6740 4602203C */ c.lt.s $f4, $f2
/* 7FBF4 800E6744 00000000 */ nop
/* 7FBF8 800E6748 45000004 */ bc1f .L800E675C
/* 7FBFC 800E674C 00000000 */ nop
/* 7FC00 800E6750 C440006C */ lwc1 $f0, 0x6c($v0)
/* 7FC04 800E6754 080399DC */ j .L800E6770
/* 7FC08 800E6758 46020501 */ sub.s $f20, $f0, $f2
.L800E675C:
/* 7FC0C 800E675C C442006C */ lwc1 $f2, 0x6c($v0)
/* 7FC10 800E6760 3C0142B4 */ lui $at, 0x42b4
/* 7FC14 800E6764 44810000 */ mtc1 $at, $f0
/* 7FC18 800E6768 00000000 */ nop
/* 7FC1C 800E676C 46001501 */ sub.s $f20, $f2, $f0
.L800E6770:
/* 7FC20 800E6770 0C00A6C9 */ jal clamp_angle
/* 7FC24 800E6774 4600A306 */ mov.s $f12, $f20
/* 7FC28 800E6778 27A50020 */ addiu $a1, $sp, 0x20
/* 7FC2C 800E677C 27A60024 */ addiu $a2, $sp, 0x24
/* 7FC30 800E6780 3C0140C9 */ lui $at, 0x40c9
/* 7FC34 800E6784 34210FD0 */ ori $at, $at, 0xfd0
/* 7FC38 800E6788 44811000 */ mtc1 $at, $f2
/* 7FC3C 800E678C 24110002 */ addiu $s1, $zero, 2
/* 7FC40 800E6790 46020002 */ mul.s $f0, $f0, $f2
/* 7FC44 800E6794 00000000 */ nop
/* 7FC48 800E6798 0220802D */ daddu $s0, $s1, $zero
/* 7FC4C 800E679C 27B30030 */ addiu $s3, $sp, 0x30
/* 7FC50 800E67A0 3C0143B4 */ lui $at, 0x43b4
/* 7FC54 800E67A4 44816000 */ mtc1 $at, $f12
/* 7FC58 800E67A8 3C014080 */ lui $at, 0x4080
/* 7FC5C 800E67AC 4481B000 */ mtc1 $at, $f22
/* 7FC60 800E67B0 0C00A82D */ jal sin_cos_rad
/* 7FC64 800E67B4 460C0303 */ div.s $f12, $f0, $f12
.L800E67B8:
/* 7FC68 800E67B8 C7A00020 */ lwc1 $f0, 0x20($sp)
/* 7FC6C 800E67BC 44911000 */ mtc1 $s1, $f2
/* 7FC70 800E67C0 00000000 */ nop
/* 7FC74 800E67C4 468010A0 */ cvt.s.w $f2, $f2
/* 7FC78 800E67C8 46020002 */ mul.s $f0, $f0, $f2
/* 7FC7C 800E67CC 00000000 */ nop
/* 7FC80 800E67D0 C7A40024 */ lwc1 $f4, 0x24($sp)
/* 7FC84 800E67D4 46022102 */ mul.s $f4, $f4, $f2
/* 7FC88 800E67D8 00000000 */ nop
/* 7FC8C 800E67DC 0240282D */ daddu $a1, $s2, $zero
/* 7FC90 800E67E0 C642002C */ lwc1 $f2, 0x2c($s2)
/* 7FC94 800E67E4 27A60028 */ addiu $a2, $sp, 0x28
/* 7FC98 800E67E8 46161080 */ add.s $f2, $f2, $f22
/* 7FC9C 800E67EC C6460028 */ lwc1 $f6, 0x28($s2)
/* 7FCA0 800E67F0 24040003 */ addiu $a0, $zero, 3
/* 7FCA4 800E67F4 46003180 */ add.s $f6, $f6, $f0
/* 7FCA8 800E67F8 C6400030 */ lwc1 $f0, 0x30($s2)
/* 7FCAC 800E67FC 27A7002C */ addiu $a3, $sp, 0x2c
/* 7FCB0 800E6800 46040001 */ sub.s $f0, $f0, $f4
/* 7FCB4 800E6804 E7A2002C */ swc1 $f2, 0x2c($sp)
/* 7FCB8 800E6808 E7A60028 */ swc1 $f6, 0x28($sp)
/* 7FCBC 800E680C E7A00030 */ swc1 $f0, 0x30($sp)
/* 7FCC0 800E6810 AFB30010 */ sw $s3, 0x10($sp)
/* 7FCC4 800E6814 E7B60014 */ swc1 $f22, 0x14($sp)
/* 7FCC8 800E6818 0C037B01 */ jal player_test_lateral_overlap
/* 7FCCC 800E681C E7B40018 */ swc1 $f20, 0x18($sp)
/* 7FCD0 800E6820 04410003 */ bgez $v0, .L800E6830
/* 7FCD4 800E6824 2610FFFF */ addiu $s0, $s0, -1
/* 7FCD8 800E6828 1E00FFE3 */ bgtz $s0, .L800E67B8
/* 7FCDC 800E682C 26310012 */ addiu $s1, $s1, 0x12
.L800E6830:
/* 7FCE0 800E6830 8FBF0048 */ lw $ra, 0x48($sp)
/* 7FCE4 800E6834 8FB30044 */ lw $s3, 0x44($sp)
/* 7FCE8 800E6838 8FB20040 */ lw $s2, 0x40($sp)
/* 7FCEC 800E683C 8FB1003C */ lw $s1, 0x3c($sp)
/* 7FCF0 800E6840 8FB00038 */ lw $s0, 0x38($sp)
/* 7FCF4 800E6844 D7B60058 */ ldc1 $f22, 0x58($sp)
/* 7FCF8 800E6848 D7B40050 */ ldc1 $f20, 0x50($sp)
/* 7FCFC 800E684C 03E00008 */ jr $ra
/* 7FD00 800E6850 27BD0060 */ addiu $sp, $sp, 0x60
/* 7FD04 800E6854 00000000 */ nop
/* 7FD08 800E6858 00000000 */ nop
/* 7FD0C 800E685C 00000000 */ nop

View File

@ -1,91 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel peach_make_disguise_npc
/* 7FA2C 800E657C 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 7FA30 800E6580 0080282D */ daddu $a1, $a0, $zero
/* 7FA34 800E6584 AFB10024 */ sw $s1, 0x24($sp)
/* 7FA38 800E6588 3C118011 */ lui $s1, %hi(gPlayerStatus)
/* 7FA3C 800E658C 2631EFC8 */ addiu $s1, $s1, %lo(gPlayerStatus)
/* 7FA40 800E6590 27A60010 */ addiu $a2, $sp, 0x10
/* 7FA44 800E6594 AFBF0028 */ sw $ra, 0x28($sp)
/* 7FA48 800E6598 14A00003 */ bnez $a1, .L800E65A8
/* 7FA4C 800E659C AFB00020 */ sw $s0, 0x20($sp)
/* 7FA50 800E65A0 080399AC */ j .L800E66B0
/* 7FA54 800E65A4 0000102D */ daddu $v0, $zero, $zero
.L800E65A8:
/* 7FA58 800E65A8 3C040004 */ lui $a0, 4
/* 7FA5C 800E65AC 3C038007 */ lui $v1, %hi(gGameStatusPtr)
/* 7FA60 800E65B0 8C63419C */ lw $v1, %lo(gGameStatusPtr)($v1)
/* 7FA64 800E65B4 24020025 */ addiu $v0, $zero, 0x25
/* 7FA68 800E65B8 A62200B0 */ sh $v0, 0xb0($s1)
/* 7FA6C 800E65BC 24020026 */ addiu $v0, $zero, 0x26
/* 7FA70 800E65C0 A62200B2 */ sh $v0, 0xb2($s1)
/* 7FA74 800E65C4 A225000C */ sb $a1, 0xc($s1)
/* 7FA78 800E65C8 A065007F */ sb $a1, 0x7f($v1)
/* 7FA7C 800E65CC 8223000C */ lb $v1, 0xc($s1)
/* 7FA80 800E65D0 34840148 */ ori $a0, $a0, 0x148
/* 7FA84 800E65D4 AFA40010 */ sw $a0, 0x10($sp)
/* 7FA88 800E65D8 00031040 */ sll $v0, $v1, 1
/* 7FA8C 800E65DC 00431021 */ addu $v0, $v0, $v1
/* 7FA90 800E65E0 000210C0 */ sll $v0, $v0, 3
/* 7FA94 800E65E4 3C01800F */ lui $at, %hi(BasicPeachDisguiseAnims)
/* 7FA98 800E65E8 00220821 */ addu $at, $at, $v0
/* 7FA9C 800E65EC 8C227C1C */ lw $v0, %lo(BasicPeachDisguiseAnims)($at)
/* 7FAA0 800E65F0 00031880 */ sll $v1, $v1, 2
/* 7FAA4 800E65F4 AFA00018 */ sw $zero, 0x18($sp)
/* 7FAA8 800E65F8 AFA0001C */ sw $zero, 0x1c($sp)
/* 7FAAC 800E65FC AFA20014 */ sw $v0, 0x14($sp)
/* 7FAB0 800E6600 3C05800F */ lui $a1, %hi(PeachDisguiseExtraAnims)
/* 7FAB4 800E6604 00A32821 */ addu $a1, $a1, $v1
/* 7FAB8 800E6608 8CA57C7C */ lw $a1, %lo(PeachDisguiseExtraAnims)($a1)
/* 7FABC 800E660C 0C00E219 */ jal _create_npc_standard
/* 7FAC0 800E6610 00C0202D */ daddu $a0, $a2, $zero
/* 7FAC4 800E6614 0040202D */ daddu $a0, $v0, $zero
/* 7FAC8 800E6618 3C018011 */ lui $at, %hi(D_8010C96C)
/* 7FACC 800E661C AC24C96C */ sw $a0, %lo(D_8010C96C)($at)
/* 7FAD0 800E6620 0C00E2B7 */ jal get_npc_by_index
/* 7FAD4 800E6624 00000000 */ nop
/* 7FAD8 800E6628 0040802D */ daddu $s0, $v0, $zero
/* 7FADC 800E662C 0C00EAFF */ jal disable_npc_shadow
/* 7FAE0 800E6630 0200202D */ daddu $a0, $s0, $zero
/* 7FAE4 800E6634 C62200A8 */ lwc1 $f2, 0xa8($s1)
/* 7FAE8 800E6638 3C0142B4 */ lui $at, 0x42b4
/* 7FAEC 800E663C 44810000 */ mtc1 $at, $f0
/* 7FAF0 800E6640 00000000 */ nop
/* 7FAF4 800E6644 4602003E */ c.le.s $f0, $f2
/* 7FAF8 800E6648 00000000 */ nop
/* 7FAFC 800E664C 45000008 */ bc1f .L800E6670
/* 7FB00 800E6650 00000000 */ nop
/* 7FB04 800E6654 3C014387 */ lui $at, 0x4387
/* 7FB08 800E6658 44810000 */ mtc1 $at, $f0
/* 7FB0C 800E665C 00000000 */ nop
/* 7FB10 800E6660 4600103C */ c.lt.s $f2, $f0
/* 7FB14 800E6664 00000000 */ nop
/* 7FB18 800E6668 45010005 */ bc1t .L800E6680
/* 7FB1C 800E666C 00000000 */ nop
.L800E6670:
/* 7FB20 800E6670 3C014334 */ lui $at, 0x4334
/* 7FB24 800E6674 44810000 */ mtc1 $at, $f0
/* 7FB28 800E6678 080399A2 */ j .L800E6688
/* 7FB2C 800E667C 00000000 */ nop
.L800E6680:
/* 7FB30 800E6680 44800000 */ mtc1 $zero, $f0
/* 7FB34 800E6684 00000000 */ nop
.L800E6688:
/* 7FB38 800E6688 44050000 */ mfc1 $a1, $f0
/* 7FB3C 800E668C 0C00ECD0 */ jal set_npc_yaw
/* 7FB40 800E6690 0200202D */ daddu $a0, $s0, $zero
/* 7FB44 800E6694 C6200028 */ lwc1 $f0, 0x28($s1)
/* 7FB48 800E6698 E6000038 */ swc1 $f0, 0x38($s0)
/* 7FB4C 800E669C C620002C */ lwc1 $f0, 0x2c($s1)
/* 7FB50 800E66A0 E600003C */ swc1 $f0, 0x3c($s0)
/* 7FB54 800E66A4 C6200030 */ lwc1 $f0, 0x30($s1)
/* 7FB58 800E66A8 0200102D */ daddu $v0, $s0, $zero
/* 7FB5C 800E66AC E4400040 */ swc1 $f0, 0x40($v0)
.L800E66B0:
/* 7FB60 800E66B0 8FBF0028 */ lw $ra, 0x28($sp)
/* 7FB64 800E66B4 8FB10024 */ lw $s1, 0x24($sp)
/* 7FB68 800E66B8 8FB00020 */ lw $s0, 0x20($sp)
/* 7FB6C 800E66BC 03E00008 */ jr $ra
/* 7FB70 800E66C0 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -1,277 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.section .rodata
dlabel jtbl_8010BF00
.word .L800E583C_7ECEC, .L800E55A8_7EA58, .L800E568C_7EB3C, .L800E55F0_7EAA0, .L800E5604_7EAB4, .L800E56E8_7EB98, .L800E5840_7ECF0, .L800E5618_7EAC8, .L800E5654_7EB04, .L800E5840_7ECF0, .L800E574C_7EBFC, .L800E57B0_7EC60
.section .text
glabel phys_adjust_cam_on_landing
/* 7E9E0 800E5530 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 7E9E4 800E5534 AFB00010 */ sw $s0, 0x10($sp)
/* 7E9E8 800E5538 AFB10014 */ sw $s1, 0x14($sp)
/* 7E9EC 800E553C 3C118011 */ lui $s1, %hi(gPartnerActionStatus)
/* 7E9F0 800E5540 2631EBB0 */ addiu $s1, $s1, %lo(gPartnerActionStatus)
/* 7E9F4 800E5544 3C038007 */ lui $v1, %hi(gGameStatusPtr)
/* 7E9F8 800E5548 8C63419C */ lw $v1, %lo(gGameStatusPtr)($v1)
/* 7E9FC 800E554C 3C058011 */ lui $a1, %hi(gPlayerStatus)
/* 7EA00 800E5550 24A5EFC8 */ addiu $a1, $a1, %lo(gPlayerStatus)
/* 7EA04 800E5554 AFBF0018 */ sw $ra, 0x18($sp)
/* 7EA08 800E5558 84640086 */ lh $a0, 0x86($v1)
/* 7EA0C 800E555C 2402000B */ addiu $v0, $zero, 0xb
/* 7EA10 800E5560 10820008 */ beq $a0, $v0, .L800E5584
/* 7EA14 800E5564 24100001 */ addiu $s0, $zero, 1
/* 7EA18 800E5568 2402000D */ addiu $v0, $zero, 0xd
/* 7EA1C 800E556C 148200B5 */ bne $a0, $v0, .L800E5844
/* 7EA20 800E5570 24020001 */ addiu $v0, $zero, 1
/* 7EA24 800E5574 8462008C */ lh $v0, 0x8c($v1)
/* 7EA28 800E5578 38420004 */ xori $v0, $v0, 4
/* 7EA2C 800E557C 08039610 */ j .L800E5840_7ECF0
/* 7EA30 800E5580 0002802B */ sltu $s0, $zero, $v0
.L800E5584:
/* 7EA34 800E5584 8463008C */ lh $v1, 0x8c($v1)
/* 7EA38 800E5588 2C62000C */ sltiu $v0, $v1, 0xc
/* 7EA3C 800E558C 104000AC */ beqz $v0, .L800E5840_7ECF0
/* 7EA40 800E5590 00031080 */ sll $v0, $v1, 2
/* 7EA44 800E5594 3C018011 */ lui $at, %hi(jtbl_8010BF00)
/* 7EA48 800E5598 00220821 */ addu $at, $at, $v0
/* 7EA4C 800E559C 8C22BF00 */ lw $v0, %lo(jtbl_8010BF00)($at)
/* 7EA50 800E55A0 00400008 */ jr $v0
/* 7EA54 800E55A4 00000000 */ nop
.L800E55A8_7EA58:
/* 7EA58 800E55A8 3C038011 */ lui $v1, %hi(D_8010C9B0)
/* 7EA5C 800E55AC 2463C9B0 */ addiu $v1, $v1, %lo(D_8010C9B0)
/* 7EA60 800E55B0 84620000 */ lh $v0, ($v1)
/* 7EA64 800E55B4 1440000A */ bnez $v0, .L800E55E0
/* 7EA68 800E55B8 00000000 */ nop
/* 7EA6C 800E55BC C4A2002C */ lwc1 $f2, 0x2c($a1)
/* 7EA70 800E55C0 44800000 */ mtc1 $zero, $f0
/* 7EA74 800E55C4 00000000 */ nop
/* 7EA78 800E55C8 4600103E */ c.le.s $f2, $f0
/* 7EA7C 800E55CC 00000000 */ nop
/* 7EA80 800E55D0 4500009A */ bc1f .L800E583C_7ECEC
/* 7EA84 800E55D4 24020001 */ addiu $v0, $zero, 1
/* 7EA88 800E55D8 0803960F */ j .L800E583C_7ECEC
/* 7EA8C 800E55DC A4620000 */ sh $v0, ($v1)
.L800E55E0:
/* 7EA90 800E55E0 C4A2002C */ lwc1 $f2, 0x2c($a1)
/* 7EA94 800E55E4 44800000 */ mtc1 $zero, $f0
/* 7EA98 800E55E8 080395E6 */ j .L800E5798
/* 7EA9C 800E55EC 00000000 */ nop
.L800E55F0_7EAA0:
/* 7EAA0 800E55F0 C4A2002C */ lwc1 $f2, 0x2c($a1)
/* 7EAA4 800E55F4 3C0141C8 */ lui $at, 0x41c8
/* 7EAA8 800E55F8 44810000 */ mtc1 $at, $f0
/* 7EAAC 800E55FC 080395E6 */ j .L800E5798
/* 7EAB0 800E5600 00000000 */ nop
.L800E5604_7EAB4:
/* 7EAB4 800E5604 C4A2002C */ lwc1 $f2, 0x2c($a1)
/* 7EAB8 800E5608 3C014248 */ lui $at, 0x4248
/* 7EABC 800E560C 44810000 */ mtc1 $at, $f0
/* 7EAC0 800E5610 080395E6 */ j .L800E5798
/* 7EAC4 800E5614 00000000 */ nop
.L800E5618_7EAC8:
/* 7EAC8 800E5618 C4A2002C */ lwc1 $f2, 0x2c($a1)
/* 7EACC 800E561C 3C01C3C3 */ lui $at, 0xc3c3
/* 7EAD0 800E5620 44810000 */ mtc1 $at, $f0
/* 7EAD4 800E5624 00000000 */ nop
/* 7EAD8 800E5628 4602003C */ c.lt.s $f0, $f2
/* 7EADC 800E562C 00000000 */ nop
/* 7EAE0 800E5630 45030083 */ bc1tl .L800E5840_7ECF0
/* 7EAE4 800E5634 0000802D */ daddu $s0, $zero, $zero
/* 7EAE8 800E5638 3C01C3F7 */ lui $at, 0xc3f7
/* 7EAEC 800E563C 34218000 */ ori $at, $at, 0x8000
/* 7EAF0 800E5640 44810000 */ mtc1 $at, $f0
/* 7EAF4 800E5644 00000000 */ nop
/* 7EAF8 800E5648 4600103C */ c.lt.s $f2, $f0
/* 7EAFC 800E564C 080395E8 */ j .L800E57A0
/* 7EB00 800E5650 00000000 */ nop
.L800E5654_7EB04:
/* 7EB04 800E5654 C4A2002C */ lwc1 $f2, 0x2c($a1)
/* 7EB08 800E5658 3C01C2B4 */ lui $at, 0xc2b4
/* 7EB0C 800E565C 44810000 */ mtc1 $at, $f0
/* 7EB10 800E5660 00000000 */ nop
/* 7EB14 800E5664 4602003C */ c.lt.s $f0, $f2
/* 7EB18 800E5668 00000000 */ nop
/* 7EB1C 800E566C 45030074 */ bc1tl .L800E5840_7ECF0
/* 7EB20 800E5670 0000802D */ daddu $s0, $zero, $zero
/* 7EB24 800E5674 3C01C3B9 */ lui $at, 0xc3b9
/* 7EB28 800E5678 44810000 */ mtc1 $at, $f0
/* 7EB2C 800E567C 00000000 */ nop
/* 7EB30 800E5680 4600103C */ c.lt.s $f2, $f0
/* 7EB34 800E5684 080395E8 */ j .L800E57A0
/* 7EB38 800E5688 00000000 */ nop
.L800E568C_7EB3C:
/* 7EB3C 800E568C 3C028007 */ lui $v0, %hi(gGameStatusPtr)
/* 7EB40 800E5690 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
/* 7EB44 800E5694 8442008E */ lh $v0, 0x8e($v0)
/* 7EB48 800E5698 54400069 */ bnel $v0, $zero, .L800E5840_7ECF0
/* 7EB4C 800E569C 24100002 */ addiu $s0, $zero, 2
/* 7EB50 800E56A0 3C038011 */ lui $v1, %hi(D_8010C9B0)
/* 7EB54 800E56A4 2463C9B0 */ addiu $v1, $v1, %lo(D_8010C9B0)
/* 7EB58 800E56A8 84620000 */ lh $v0, ($v1)
/* 7EB5C 800E56AC 1440000A */ bnez $v0, .L800E56D8
/* 7EB60 800E56B0 00000000 */ nop
/* 7EB64 800E56B4 C4A2002C */ lwc1 $f2, 0x2c($a1)
/* 7EB68 800E56B8 44800000 */ mtc1 $zero, $f0
/* 7EB6C 800E56BC 00000000 */ nop
/* 7EB70 800E56C0 4602003C */ c.lt.s $f0, $f2
/* 7EB74 800E56C4 00000000 */ nop
/* 7EB78 800E56C8 4503005D */ bc1tl .L800E5840_7ECF0
/* 7EB7C 800E56CC 24100002 */ addiu $s0, $zero, 2
/* 7EB80 800E56D0 24020001 */ addiu $v0, $zero, 1
/* 7EB84 800E56D4 A4620000 */ sh $v0, ($v1)
.L800E56D8:
/* 7EB88 800E56D8 C4A2002C */ lwc1 $f2, 0x2c($a1)
/* 7EB8C 800E56DC 44800000 */ mtc1 $zero, $f0
/* 7EB90 800E56E0 080395E6 */ j .L800E5798
/* 7EB94 800E56E4 00000000 */ nop
.L800E56E8_7EB98:
/* 7EB98 800E56E8 3C028007 */ lui $v0, %hi(gGameStatusPtr)
/* 7EB9C 800E56EC 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
/* 7EBA0 800E56F0 8442008E */ lh $v0, 0x8e($v0)
/* 7EBA4 800E56F4 54400052 */ bnel $v0, $zero, .L800E5840_7ECF0
/* 7EBA8 800E56F8 24100002 */ addiu $s0, $zero, 2
/* 7EBAC 800E56FC 3C038011 */ lui $v1, %hi(D_8010C9B0)
/* 7EBB0 800E5700 2463C9B0 */ addiu $v1, $v1, %lo(D_8010C9B0)
/* 7EBB4 800E5704 84620000 */ lh $v0, ($v1)
/* 7EBB8 800E5708 1440000B */ bnez $v0, .L800E5738
/* 7EBBC 800E570C 00000000 */ nop
/* 7EBC0 800E5710 C4A2002C */ lwc1 $f2, 0x2c($a1)
/* 7EBC4 800E5714 3C01C302 */ lui $at, 0xc302
/* 7EBC8 800E5718 44810000 */ mtc1 $at, $f0
/* 7EBCC 800E571C 00000000 */ nop
/* 7EBD0 800E5720 4602003C */ c.lt.s $f0, $f2
/* 7EBD4 800E5724 00000000 */ nop
/* 7EBD8 800E5728 45030045 */ bc1tl .L800E5840_7ECF0
/* 7EBDC 800E572C 24100002 */ addiu $s0, $zero, 2
/* 7EBE0 800E5730 24020001 */ addiu $v0, $zero, 1
/* 7EBE4 800E5734 A4620000 */ sh $v0, ($v1)
.L800E5738:
/* 7EBE8 800E5738 C4A2002C */ lwc1 $f2, 0x2c($a1)
/* 7EBEC 800E573C 3C01C302 */ lui $at, 0xc302
/* 7EBF0 800E5740 44810000 */ mtc1 $at, $f0
/* 7EBF4 800E5744 080395E6 */ j .L800E5798
/* 7EBF8 800E5748 00000000 */ nop
.L800E574C_7EBFC:
/* 7EBFC 800E574C 3C038011 */ lui $v1, %hi(D_8010C9B0)
/* 7EC00 800E5750 2463C9B0 */ addiu $v1, $v1, %lo(D_8010C9B0)
/* 7EC04 800E5754 84620000 */ lh $v0, ($v1)
/* 7EC08 800E5758 1440000B */ bnez $v0, .L800E5788
/* 7EC0C 800E575C 00000000 */ nop
/* 7EC10 800E5760 C4A2002C */ lwc1 $f2, 0x2c($a1)
/* 7EC14 800E5764 3C01C402 */ lui $at, 0xc402
/* 7EC18 800E5768 44810000 */ mtc1 $at, $f0
/* 7EC1C 800E576C 00000000 */ nop
/* 7EC20 800E5770 4602003C */ c.lt.s $f0, $f2
/* 7EC24 800E5774 00000000 */ nop
/* 7EC28 800E5778 45030031 */ bc1tl .L800E5840_7ECF0
/* 7EC2C 800E577C 24100002 */ addiu $s0, $zero, 2
/* 7EC30 800E5780 24020001 */ addiu $v0, $zero, 1
/* 7EC34 800E5784 A4620000 */ sh $v0, ($v1)
.L800E5788:
/* 7EC38 800E5788 C4A2002C */ lwc1 $f2, 0x2c($a1)
/* 7EC3C 800E578C 3C01C402 */ lui $at, 0xc402
/* 7EC40 800E5790 44810000 */ mtc1 $at, $f0
/* 7EC44 800E5794 00000000 */ nop
.L800E5798:
/* 7EC48 800E5798 4602003C */ c.lt.s $f0, $f2
/* 7EC4C 800E579C 00000000 */ nop
.L800E57A0:
/* 7EC50 800E57A0 45000028 */ bc1f .L800E5844
/* 7EC54 800E57A4 24020001 */ addiu $v0, $zero, 1
/* 7EC58 800E57A8 08039611 */ j .L800E5844
/* 7EC5C 800E57AC 0000802D */ daddu $s0, $zero, $zero
.L800E57B0_7EC60:
/* 7EC60 800E57B0 3C028007 */ lui $v0, %hi(gGameStatusPtr)
/* 7EC64 800E57B4 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
/* 7EC68 800E57B8 8442008E */ lh $v0, 0x8e($v0)
/* 7EC6C 800E57BC 14400019 */ bnez $v0, .L800E5824
/* 7EC70 800E57C0 0000202D */ daddu $a0, $zero, $zero
/* 7EC74 800E57C4 3C038011 */ lui $v1, %hi(D_8010C9B0)
/* 7EC78 800E57C8 2463C9B0 */ addiu $v1, $v1, %lo(D_8010C9B0)
/* 7EC7C 800E57CC 84620000 */ lh $v0, ($v1)
/* 7EC80 800E57D0 1440000B */ bnez $v0, .L800E5800
/* 7EC84 800E57D4 00000000 */ nop
/* 7EC88 800E57D8 C4A2002C */ lwc1 $f2, 0x2c($a1)
/* 7EC8C 800E57DC 3C01C402 */ lui $at, 0xc402
/* 7EC90 800E57E0 44810000 */ mtc1 $at, $f0
/* 7EC94 800E57E4 00000000 */ nop
/* 7EC98 800E57E8 4602003C */ c.lt.s $f0, $f2
/* 7EC9C 800E57EC 00000000 */ nop
/* 7ECA0 800E57F0 45030013 */ bc1tl .L800E5840_7ECF0
/* 7ECA4 800E57F4 24100002 */ addiu $s0, $zero, 2
/* 7ECA8 800E57F8 24020001 */ addiu $v0, $zero, 1
/* 7ECAC 800E57FC A4620000 */ sh $v0, ($v1)
.L800E5800:
/* 7ECB0 800E5800 C4A2002C */ lwc1 $f2, 0x2c($a1)
/* 7ECB4 800E5804 3C01C402 */ lui $at, 0xc402
/* 7ECB8 800E5808 44810000 */ mtc1 $at, $f0
/* 7ECBC 800E580C 00000000 */ nop
/* 7ECC0 800E5810 4602003C */ c.lt.s $f0, $f2
/* 7ECC4 800E5814 00000000 */ nop
/* 7ECC8 800E5818 45030001 */ bc1tl .L800E5820
/* 7ECCC 800E581C 0000802D */ daddu $s0, $zero, $zero
.L800E5820:
/* 7ECD0 800E5820 0000202D */ daddu $a0, $zero, $zero
.L800E5824:
/* 7ECD4 800E5824 3C05F5DE */ lui $a1, 0xf5de
/* 7ECD8 800E5828 0C0B1EAF */ jal evt_get_variable
/* 7ECDC 800E582C 34A50180 */ ori $a1, $a1, 0x180
/* 7ECE0 800E5830 2842FFC6 */ slti $v0, $v0, -0x3a
/* 7ECE4 800E5834 14400003 */ bnez $v0, .L800E5844
/* 7ECE8 800E5838 24020001 */ addiu $v0, $zero, 1
.L800E583C_7ECEC:
/* 7ECEC 800E583C 24100002 */ addiu $s0, $zero, 2
.L800E5840_7ECF0:
/* 7ECF0 800E5840 24020001 */ addiu $v0, $zero, 1
.L800E5844:
/* 7ECF4 800E5844 16020014 */ bne $s0, $v0, .L800E5898
/* 7ECF8 800E5848 00000000 */ nop
/* 7ECFC 800E584C 3C048016 */ lui $a0, %hi(gCollisionStatus+0x2)
/* 7ED00 800E5850 8484A552 */ lh $a0, %lo(gCollisionStatus+0x2)($a0)
/* 7ED04 800E5854 0C016F6A */ jal get_collider_type_by_id
/* 7ED08 800E5858 00000000 */ nop
/* 7ED0C 800E585C 304200FF */ andi $v0, $v0, 0xff
/* 7ED10 800E5860 24030003 */ addiu $v1, $zero, 3
/* 7ED14 800E5864 14430007 */ bne $v0, $v1, .L800E5884
/* 7ED18 800E5868 00000000 */ nop
/* 7ED1C 800E586C 3C03800B */ lui $v1, %hi(gCameras)
/* 7ED20 800E5870 24631D80 */ addiu $v1, $v1, %lo(gCameras)
/* 7ED24 800E5874 94620002 */ lhu $v0, 2($v1)
/* 7ED28 800E5878 0000802D */ daddu $s0, $zero, $zero
/* 7ED2C 800E587C 08039635 */ j .L800E58D4
/* 7ED30 800E5880 34420001 */ ori $v0, $v0, 1
.L800E5884:
/* 7ED34 800E5884 3C03800B */ lui $v1, %hi(gCameras)
/* 7ED38 800E5888 24631D80 */ addiu $v1, $v1, %lo(gCameras)
/* 7ED3C 800E588C 94620002 */ lhu $v0, 2($v1)
/* 7ED40 800E5890 08039635 */ j .L800E58D4
/* 7ED44 800E5894 3042FFFE */ andi $v0, $v0, 0xfffe
.L800E5898:
/* 7ED48 800E5898 82220000 */ lb $v0, ($s1)
/* 7ED4C 800E589C 10400009 */ beqz $v0, .L800E58C4
/* 7ED50 800E58A0 24020004 */ addiu $v0, $zero, 4
/* 7ED54 800E58A4 82230003 */ lb $v1, 3($s1)
/* 7ED58 800E58A8 14620006 */ bne $v1, $v0, .L800E58C4
/* 7ED5C 800E58AC 00000000 */ nop
/* 7ED60 800E58B0 3C03800B */ lui $v1, %hi(gCameras)
/* 7ED64 800E58B4 24631D80 */ addiu $v1, $v1, %lo(gCameras)
/* 7ED68 800E58B8 94620002 */ lhu $v0, 2($v1)
/* 7ED6C 800E58BC 08039635 */ j .L800E58D4
/* 7ED70 800E58C0 34420002 */ ori $v0, $v0, 2
.L800E58C4:
/* 7ED74 800E58C4 3C03800B */ lui $v1, %hi(gCameras)
/* 7ED78 800E58C8 24631D80 */ addiu $v1, $v1, %lo(gCameras)
/* 7ED7C 800E58CC 94620002 */ lhu $v0, 2($v1)
/* 7ED80 800E58D0 3042FFFD */ andi $v0, $v0, 0xfffd
.L800E58D4:
/* 7ED84 800E58D4 A4620002 */ sh $v0, 2($v1)
/* 7ED88 800E58D8 0200102D */ daddu $v0, $s0, $zero
/* 7ED8C 800E58DC 8FBF0018 */ lw $ra, 0x18($sp)
/* 7ED90 800E58E0 8FB10014 */ lw $s1, 0x14($sp)
/* 7ED94 800E58E4 8FB00010 */ lw $s0, 0x10($sp)
/* 7ED98 800E58E8 03E00008 */ jr $ra
/* 7ED9C 800E58EC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,103 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel phys_check_interactable_collision
/* 7E624 800E5174 27BDFFB8 */ addiu $sp, $sp, -0x48
/* 7E628 800E5178 2404FFFF */ addiu $a0, $zero, -1
/* 7E62C 800E517C 3C038011 */ lui $v1, %hi(gPlayerStatus)
/* 7E630 800E5180 2463EFC8 */ addiu $v1, $v1, %lo(gPlayerStatus)
/* 7E634 800E5184 AFBF0038 */ sw $ra, 0x38($sp)
/* 7E638 800E5188 AFB30034 */ sw $s3, 0x34($sp)
/* 7E63C 800E518C AFB20030 */ sw $s2, 0x30($sp)
/* 7E640 800E5190 AFB1002C */ sw $s1, 0x2c($sp)
/* 7E644 800E5194 AFB00028 */ sw $s0, 0x28($sp)
/* 7E648 800E5198 F7B40040 */ sdc1 $f20, 0x40($sp)
/* 7E64C 800E519C 8C620000 */ lw $v0, ($v1)
/* 7E650 800E51A0 30422000 */ andi $v0, $v0, 0x2000
/* 7E654 800E51A4 1440004B */ bnez $v0, .L800E52D4
/* 7E658 800E51A8 0060802D */ daddu $s0, $v1, $zero
/* 7E65C 800E51AC 8E0200E0 */ lw $v0, 0xe0($s0)
/* 7E660 800E51B0 30428000 */ andi $v0, $v0, 0x8000
/* 7E664 800E51B4 10400047 */ beqz $v0, .L800E52D4
/* 7E668 800E51B8 27B20018 */ addiu $s2, $sp, 0x18
/* 7E66C 800E51BC 0200202D */ daddu $a0, $s0, $zero
/* 7E670 800E51C0 0240282D */ daddu $a1, $s2, $zero
/* 7E674 800E51C4 27B1001C */ addiu $s1, $sp, 0x1c
/* 7E678 800E51C8 0220302D */ daddu $a2, $s1, $zero
/* 7E67C 800E51CC 27B30020 */ addiu $s3, $sp, 0x20
/* 7E680 800E51D0 0260382D */ daddu $a3, $s3, $zero
/* 7E684 800E51D4 860200B2 */ lh $v0, 0xb2($s0)
/* 7E688 800E51D8 C6080080 */ lwc1 $f8, 0x80($s0)
/* 7E68C 800E51DC C6040028 */ lwc1 $f4, 0x28($s0)
/* 7E690 800E51E0 C606002C */ lwc1 $f6, 0x2c($s0)
/* 7E694 800E51E4 3C013F00 */ lui $at, 0x3f00
/* 7E698 800E51E8 4481A000 */ mtc1 $at, $f20
/* 7E69C 800E51EC C6020030 */ lwc1 $f2, 0x30($s0)
/* 7E6A0 800E51F0 44820000 */ mtc1 $v0, $f0
/* 7E6A4 800E51F4 00000000 */ nop
/* 7E6A8 800E51F8 46800020 */ cvt.s.w $f0, $f0
/* 7E6AC 800E51FC 46140002 */ mul.s $f0, $f0, $f20
/* 7E6B0 800E5200 00000000 */ nop
/* 7E6B4 800E5204 E7A40018 */ swc1 $f4, 0x18($sp)
/* 7E6B8 800E5208 E7A6001C */ swc1 $f6, 0x1c($sp)
/* 7E6BC 800E520C E7A20020 */ swc1 $f2, 0x20($sp)
/* 7E6C0 800E5210 E7A80014 */ swc1 $f8, 0x14($sp)
/* 7E6C4 800E5214 0C037D18 */ jal player_test_move_with_slipping
/* 7E6C8 800E5218 E7A00010 */ swc1 $f0, 0x10($sp)
/* 7E6CC 800E521C 0040202D */ daddu $a0, $v0, $zero
/* 7E6D0 800E5220 0481002D */ bgez $a0, .L800E52D8
/* 7E6D4 800E5224 0080102D */ daddu $v0, $a0, $zero
/* 7E6D8 800E5228 C6020054 */ lwc1 $f2, 0x54($s0)
/* 7E6DC 800E522C 44800000 */ mtc1 $zero, $f0
/* 7E6E0 800E5230 00000000 */ nop
/* 7E6E4 800E5234 46001032 */ c.eq.s $f2, $f0
/* 7E6E8 800E5238 00000000 */ nop
/* 7E6EC 800E523C 45000026 */ bc1f .L800E52D8
/* 7E6F0 800E5240 0240282D */ daddu $a1, $s2, $zero
/* 7E6F4 800E5244 0200202D */ daddu $a0, $s0, $zero
/* 7E6F8 800E5248 0220302D */ daddu $a2, $s1, $zero
/* 7E6FC 800E524C 0260382D */ daddu $a3, $s3, $zero
/* 7E700 800E5250 3C038007 */ lui $v1, %hi(gCurrentCameraID)
/* 7E704 800E5254 8C637410 */ lw $v1, %lo(gCurrentCameraID)($v1)
/* 7E708 800E5258 C4800028 */ lwc1 $f0, 0x28($a0)
/* 7E70C 800E525C C482002C */ lwc1 $f2, 0x2c($a0)
/* 7E710 800E5260 00031080 */ sll $v0, $v1, 2
/* 7E714 800E5264 00431021 */ addu $v0, $v0, $v1
/* 7E718 800E5268 00021080 */ sll $v0, $v0, 2
/* 7E71C 800E526C 00431023 */ subu $v0, $v0, $v1
/* 7E720 800E5270 E7A00018 */ swc1 $f0, 0x18($sp)
/* 7E724 800E5274 E7A2001C */ swc1 $f2, 0x1c($sp)
/* 7E728 800E5278 848300B2 */ lh $v1, 0xb2($a0)
/* 7E72C 800E527C 000240C0 */ sll $t0, $v0, 3
/* 7E730 800E5280 44833000 */ mtc1 $v1, $f6
/* 7E734 800E5284 00000000 */ nop
/* 7E738 800E5288 468031A0 */ cvt.s.w $f6, $f6
/* 7E73C 800E528C 46143182 */ mul.s $f6, $f6, $f20
/* 7E740 800E5290 00000000 */ nop
/* 7E744 800E5294 00481021 */ addu $v0, $v0, $t0
/* 7E748 800E5298 C48000A8 */ lwc1 $f0, 0xa8($a0)
/* 7E74C 800E529C 3C0142B4 */ lui $at, 0x42b4
/* 7E750 800E52A0 44811000 */ mtc1 $at, $f2
/* 7E754 800E52A4 000210C0 */ sll $v0, $v0, 3
/* 7E758 800E52A8 46020001 */ sub.s $f0, $f0, $f2
/* 7E75C 800E52AC 3C01800B */ lui $at, %hi(gCameras+0x6C)
/* 7E760 800E52B0 00220821 */ addu $at, $at, $v0
/* 7E764 800E52B4 C4221DEC */ lwc1 $f2, %lo(gCameras+0x6C)($at)
/* 7E768 800E52B8 C4840030 */ lwc1 $f4, 0x30($a0)
/* 7E76C 800E52BC 46020200 */ add.s $f8, $f0, $f2
/* 7E770 800E52C0 E7A40020 */ swc1 $f4, 0x20($sp)
/* 7E774 800E52C4 E7A60010 */ swc1 $f6, 0x10($sp)
/* 7E778 800E52C8 0C037D18 */ jal player_test_move_with_slipping
/* 7E77C 800E52CC E7A80014 */ swc1 $f8, 0x14($sp)
/* 7E780 800E52D0 0040202D */ daddu $a0, $v0, $zero
.L800E52D4:
/* 7E784 800E52D4 0080102D */ daddu $v0, $a0, $zero
.L800E52D8:
/* 7E788 800E52D8 8FBF0038 */ lw $ra, 0x38($sp)
/* 7E78C 800E52DC 8FB30034 */ lw $s3, 0x34($sp)
/* 7E790 800E52E0 8FB20030 */ lw $s2, 0x30($sp)
/* 7E794 800E52E4 8FB1002C */ lw $s1, 0x2c($sp)
/* 7E798 800E52E8 8FB00028 */ lw $s0, 0x28($sp)
/* 7E79C 800E52EC D7B40040 */ ldc1 $f20, 0x40($sp)
/* 7E7A0 800E52F0 03E00008 */ jr $ra
/* 7E7A4 800E52F4 27BD0048 */ addiu $sp, $sp, 0x48

View File

@ -1,82 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.section .rodata
dlabel jtbl_8010BDE8
.word .L800E2FD0_7C480, .L800E3064_7C514, .L800E3064_7C514, .L800E3064_7C514, .L800E2F98_7C448, .L800E3064_7C514, .L800E3064_7C514, .L800E3064_7C514, .L800E3064_7C514, .L800E3064_7C514, .L800E2FD0_7C480, .L800E2FD0_7C480, .L800E2FD0_7C480, .L800E2FD0_7C480, .L800E3064_7C514, .L800E3064_7C514, .L800E3064_7C514, .L800E3064_7C514, .L800E2FD0_7C480, .L800E3064_7C514, .L800E2FD0_7C480, 0
.section .text
glabel phys_init_integrator_for_current_state
/* 7C410 800E2F60 3C058011 */ lui $a1, %hi(gPlayerStatus)
/* 7C414 800E2F64 24A5EFC8 */ addiu $a1, $a1, %lo(gPlayerStatus)
/* 7C418 800E2F68 90A200B4 */ lbu $v0, 0xb4($a1)
/* 7C41C 800E2F6C 2442FFFD */ addiu $v0, $v0, -3
/* 7C420 800E2F70 00021600 */ sll $v0, $v0, 0x18
/* 7C424 800E2F74 00021E03 */ sra $v1, $v0, 0x18
/* 7C428 800E2F78 2C620015 */ sltiu $v0, $v1, 0x15
/* 7C42C 800E2F7C 10400039 */ beqz $v0, .L800E3064_7C514
/* 7C430 800E2F80 00031080 */ sll $v0, $v1, 2
/* 7C434 800E2F84 3C018011 */ lui $at, %hi(jtbl_8010BDE8)
/* 7C438 800E2F88 00220821 */ addu $at, $at, $v0
/* 7C43C 800E2F8C 8C22BDE8 */ lw $v0, %lo(jtbl_8010BDE8)($at)
/* 7C440 800E2F90 00400008 */ jr $v0
/* 7C444 800E2F94 00000000 */ nop
.L800E2F98_7C448:
/* 7C448 800E2F98 3C014120 */ lui $at, 0x4120
/* 7C44C 800E2F9C 44810000 */ mtc1 $at, $f0
/* 7C450 800E2FA0 3C01C0A0 */ lui $at, 0xc0a0
/* 7C454 800E2FA4 44811000 */ mtc1 $at, $f2
/* 7C458 800E2FA8 3C013FC0 */ lui $at, 0x3fc0
/* 7C45C 800E2FAC 44812000 */ mtc1 $at, $f4
/* 7C460 800E2FB0 3C01BE99 */ lui $at, 0xbe99
/* 7C464 800E2FB4 3421999A */ ori $at, $at, 0x999a
/* 7C468 800E2FB8 44813000 */ mtc1 $at, $f6
/* 7C46C 800E2FBC E4A00070 */ swc1 $f0, 0x70($a1)
/* 7C470 800E2FC0 E4A20074 */ swc1 $f2, 0x74($a1)
/* 7C474 800E2FC4 E4A40078 */ swc1 $f4, 0x78($a1)
/* 7C478 800E2FC8 03E00008 */ jr $ra
/* 7C47C 800E2FCC E4A6007C */ swc1 $f6, 0x7c($a1)
.L800E2FD0_7C480:
/* 7C480 800E2FD0 3C04800F */ lui $a0, %hi(GravityParamsStartJump)
/* 7C484 800E2FD4 24847B50 */ addiu $a0, $a0, %lo(GravityParamsStartJump)
/* 7C488 800E2FD8 8CA20000 */ lw $v0, ($a1)
/* 7C48C 800E2FDC 3C030004 */ lui $v1, 4
/* 7C490 800E2FE0 00431024 */ and $v0, $v0, $v1
/* 7C494 800E2FE4 1440000C */ bnez $v0, .L800E3018
/* 7C498 800E2FE8 0080302D */ daddu $a2, $a0, $zero
/* 7C49C 800E2FEC C4800000 */ lwc1 $f0, ($a0)
/* 7C4A0 800E2FF0 24840004 */ addiu $a0, $a0, 4
/* 7C4A4 800E2FF4 E4A00070 */ swc1 $f0, 0x70($a1)
/* 7C4A8 800E2FF8 C4800000 */ lwc1 $f0, ($a0)
/* 7C4AC 800E2FFC 24840004 */ addiu $a0, $a0, 4
/* 7C4B0 800E3000 E4A00074 */ swc1 $f0, 0x74($a1)
/* 7C4B4 800E3004 C4800000 */ lwc1 $f0, ($a0)
/* 7C4B8 800E3008 E4A00078 */ swc1 $f0, 0x78($a1)
/* 7C4BC 800E300C C4800004 */ lwc1 $f0, 4($a0)
/* 7C4C0 800E3010 03E00008 */ jr $ra
/* 7C4C4 800E3014 E4A0007C */ swc1 $f0, 0x7c($a1)
.L800E3018:
/* 7C4C8 800E3018 C4880000 */ lwc1 $f8, ($a0)
/* 7C4CC 800E301C 3C013F00 */ lui $at, 0x3f00
/* 7C4D0 800E3020 44811000 */ mtc1 $at, $f2
/* 7C4D4 800E3024 00000000 */ nop
/* 7C4D8 800E3028 46024202 */ mul.s $f8, $f8, $f2
/* 7C4DC 800E302C 00000000 */ nop
/* 7C4E0 800E3030 C4C60004 */ lwc1 $f6, 4($a2)
/* 7C4E4 800E3034 46023182 */ mul.s $f6, $f6, $f2
/* 7C4E8 800E3038 00000000 */ nop
/* 7C4EC 800E303C C4C40008 */ lwc1 $f4, 8($a2)
/* 7C4F0 800E3040 46022102 */ mul.s $f4, $f4, $f2
/* 7C4F4 800E3044 00000000 */ nop
/* 7C4F8 800E3048 C4C0000C */ lwc1 $f0, 0xc($a2)
/* 7C4FC 800E304C 46020002 */ mul.s $f0, $f0, $f2
/* 7C500 800E3050 00000000 */ nop
/* 7C504 800E3054 E4A80070 */ swc1 $f8, 0x70($a1)
/* 7C508 800E3058 E4A60074 */ swc1 $f6, 0x74($a1)
/* 7C50C 800E305C E4A40078 */ swc1 $f4, 0x78($a1)
/* 7C510 800E3060 E4A0007C */ swc1 $f0, 0x7c($a1)
.L800E3064_7C514:
/* 7C514 800E3064 03E00008 */ jr $ra
/* 7C518 800E3068 00000000 */ nop

View File

@ -1,251 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel phys_main_collision_below
/* 7DBF4 800E4744 27BDFF88 */ addiu $sp, $sp, -0x78
/* 7DBF8 800E4748 AFB00048 */ sw $s0, 0x48($sp)
/* 7DBFC 800E474C 3C108011 */ lui $s0, %hi(gPlayerStatus)
/* 7DC00 800E4750 2610EFC8 */ addiu $s0, $s0, %lo(gPlayerStatus)
/* 7DC04 800E4754 0200202D */ daddu $a0, $s0, $zero
/* 7DC08 800E4758 27A50028 */ addiu $a1, $sp, 0x28
/* 7DC0C 800E475C 27A6002C */ addiu $a2, $sp, 0x2c
/* 7DC10 800E4760 AFBF005C */ sw $ra, 0x5c($sp)
/* 7DC14 800E4764 AFB40058 */ sw $s4, 0x58($sp)
/* 7DC18 800E4768 AFB30054 */ sw $s3, 0x54($sp)
/* 7DC1C 800E476C AFB20050 */ sw $s2, 0x50($sp)
/* 7DC20 800E4770 AFB1004C */ sw $s1, 0x4c($sp)
/* 7DC24 800E4774 F7B80070 */ sdc1 $f24, 0x70($sp)
/* 7DC28 800E4778 F7B60068 */ sdc1 $f22, 0x68($sp)
/* 7DC2C 800E477C F7B40060 */ sdc1 $f20, 0x60($sp)
/* 7DC30 800E4780 860200B0 */ lh $v0, 0xb0($s0)
/* 7DC34 800E4784 3C013F00 */ lui $at, 0x3f00
/* 7DC38 800E4788 4481A000 */ mtc1 $at, $f20
/* 7DC3C 800E478C C6000028 */ lwc1 $f0, 0x28($s0)
/* 7DC40 800E4790 44822000 */ mtc1 $v0, $f4
/* 7DC44 800E4794 00000000 */ nop
/* 7DC48 800E4798 46802120 */ cvt.s.w $f4, $f4
/* 7DC4C 800E479C 46142582 */ mul.s $f22, $f4, $f20
/* 7DC50 800E47A0 00000000 */ nop
/* 7DC54 800E47A4 27A70030 */ addiu $a3, $sp, 0x30
/* 7DC58 800E47A8 E7A00028 */ swc1 $f0, 0x28($sp)
/* 7DC5C 800E47AC C600002C */ lwc1 $f0, 0x2c($s0)
/* 7DC60 800E47B0 C6020030 */ lwc1 $f2, 0x30($s0)
/* 7DC64 800E47B4 46160000 */ add.s $f0, $f0, $f22
/* 7DC68 800E47B8 27A20034 */ addiu $v0, $sp, 0x34
/* 7DC6C 800E47BC E7A40034 */ swc1 $f4, 0x34($sp)
/* 7DC70 800E47C0 E7A0002C */ swc1 $f0, 0x2c($sp)
/* 7DC74 800E47C4 3C0140E0 */ lui $at, 0x40e0
/* 7DC78 800E47C8 44810000 */ mtc1 $at, $f0
/* 7DC7C 800E47CC 46042100 */ add.s $f4, $f4, $f4
/* 7DC80 800E47D0 E7A20030 */ swc1 $f2, 0x30($sp)
/* 7DC84 800E47D4 AFA20010 */ sw $v0, 0x10($sp)
/* 7DC88 800E47D8 27A20038 */ addiu $v0, $sp, 0x38
/* 7DC8C 800E47DC AFA20014 */ sw $v0, 0x14($sp)
/* 7DC90 800E47E0 27A2003C */ addiu $v0, $sp, 0x3c
/* 7DC94 800E47E4 AFA20018 */ sw $v0, 0x18($sp)
/* 7DC98 800E47E8 27A20040 */ addiu $v0, $sp, 0x40
/* 7DC9C 800E47EC AFA2001C */ sw $v0, 0x1c($sp)
/* 7DCA0 800E47F0 27A20044 */ addiu $v0, $sp, 0x44
/* 7DCA4 800E47F4 AFA20020 */ sw $v0, 0x20($sp)
/* 7DCA8 800E47F8 0C03791B */ jal player_raycast_below_cam_relative
/* 7DCAC 800E47FC 46002603 */ div.s $f24, $f4, $f0
/* 7DCB0 800E4800 0C00A794 */ jal get_player_normal_pitch
/* 7DCB4 800E4804 0040882D */ daddu $s1, $v0, $zero
/* 7DCB8 800E4808 4614C502 */ mul.s $f20, $f24, $f20
/* 7DCBC 800E480C 00000000 */ nop
/* 7DCC0 800E4810 3C138011 */ lui $s3, %hi(gPartnerActionStatus)
/* 7DCC4 800E4814 2673EBB0 */ addiu $s3, $s3, %lo(gPartnerActionStatus)
/* 7DCC8 800E4818 C7A20034 */ lwc1 $f2, 0x34($sp)
/* 7DCCC 800E481C 4614B500 */ add.s $f20, $f22, $f20
/* 7DCD0 800E4820 3C148016 */ lui $s4, %hi(gCollisionStatus)
/* 7DCD4 800E4824 2694A550 */ addiu $s4, $s4, %lo(gCollisionStatus)
/* 7DCD8 800E4828 4602A03C */ c.lt.s $f20, $f2
/* 7DCDC 800E482C 00000000 */ nop
/* 7DCE0 800E4830 45000002 */ bc1f .L800E483C
/* 7DCE4 800E4834 E6000068 */ swc1 $f0, 0x68($s0)
/* 7DCE8 800E4838 2411FFFF */ addiu $s1, $zero, -1
.L800E483C:
/* 7DCEC 800E483C 860200C0 */ lh $v0, 0xc0($s0)
/* 7DCF0 800E4840 50400001 */ beql $v0, $zero, .L800E4848
/* 7DCF4 800E4844 A6910002 */ sh $s1, 2($s4)
.L800E4848:
/* 7DCF8 800E4848 06200005 */ bltz $s1, .L800E4860
/* 7DCFC 800E484C 00000000 */ nop
/* 7DD00 800E4850 C7A00040 */ lwc1 $f0, 0x40($sp)
/* 7DD04 800E4854 C7A20044 */ lwc1 $f2, 0x44($sp)
/* 7DD08 800E4858 E6000034 */ swc1 $f0, 0x34($s0)
/* 7DD0C 800E485C E6020038 */ swc1 $f2, 0x38($s0)
.L800E4860:
/* 7DD10 800E4860 0C038082 */ jal func_800E0208
/* 7DD14 800E4864 00000000 */ nop
/* 7DD18 800E4868 14400090 */ bnez $v0, .L800E4AAC
/* 7DD1C 800E486C 00000000 */ nop
/* 7DD20 800E4870 8E030000 */ lw $v1, ($s0)
/* 7DD24 800E4874 3062000E */ andi $v0, $v1, 0xe
/* 7DD28 800E4878 1440008C */ bnez $v0, .L800E4AAC
/* 7DD2C 800E487C 24120011 */ addiu $s2, $zero, 0x11
/* 7DD30 800E4880 820200B4 */ lb $v0, 0xb4($s0)
/* 7DD34 800E4884 10520089 */ beq $v0, $s2, .L800E4AAC
/* 7DD38 800E4888 30620010 */ andi $v0, $v1, 0x10
/* 7DD3C 800E488C 1040000C */ beqz $v0, .L800E48C0
/* 7DD40 800E4890 00000000 */ nop
/* 7DD44 800E4894 0C03954C */ jal phys_adjust_cam_on_landing
/* 7DD48 800E4898 00000000 */ nop
/* 7DD4C 800E489C 0C039178 */ jal phys_should_player_be_sliding
/* 7DD50 800E48A0 00000000 */ nop
/* 7DD54 800E48A4 10400006 */ beqz $v0, .L800E48C0
/* 7DD58 800E48A8 00000000 */ nop
/* 7DD5C 800E48AC 0C039769 */ jal set_action_state
/* 7DD60 800E48B0 0240202D */ daddu $a0, $s2, $zero
/* 7DD64 800E48B4 820200B4 */ lb $v0, 0xb4($s0)
/* 7DD68 800E48B8 1052007C */ beq $v0, $s2, .L800E4AAC
/* 7DD6C 800E48BC 00000000 */ nop
.L800E48C0:
/* 7DD70 800E48C0 0620005D */ bltz $s1, .L800E4A38
/* 7DD74 800E48C4 00000000 */ nop
/* 7DD78 800E48C8 0C016F6A */ jal get_collider_type_by_id
/* 7DD7C 800E48CC 0220202D */ daddu $a0, $s1, $zero
/* 7DD80 800E48D0 304400FF */ andi $a0, $v0, 0xff
/* 7DD84 800E48D4 24020002 */ addiu $v0, $zero, 2
/* 7DD88 800E48D8 10820005 */ beq $a0, $v0, .L800E48F0
/* 7DD8C 800E48DC 24020003 */ addiu $v0, $zero, 3
/* 7DD90 800E48E0 10820011 */ beq $a0, $v0, .L800E4928
/* 7DD94 800E48E4 0000282D */ daddu $a1, $zero, $zero
/* 7DD98 800E48E8 0803925F */ j .L800E497C
/* 7DD9C 800E48EC 00000000 */ nop
.L800E48F0:
/* 7DDA0 800E48F0 82620000 */ lb $v0, ($s3)
/* 7DDA4 800E48F4 10400004 */ beqz $v0, .L800E4908
/* 7DDA8 800E48F8 24020009 */ addiu $v0, $zero, 9
/* 7DDAC 800E48FC 82630003 */ lb $v1, 3($s3)
/* 7DDB0 800E4900 1062006A */ beq $v1, $v0, .L800E4AAC
/* 7DDB4 800E4904 00000000 */ nop
.L800E4908:
/* 7DDB8 800E4908 86020010 */ lh $v0, 0x10($s0)
/* 7DDBC 800E490C 14400017 */ bnez $v0, .L800E496C
/* 7DDC0 800E4910 24020017 */ addiu $v0, $zero, 0x17
/* 7DDC4 800E4914 820300B4 */ lb $v1, 0xb4($s0)
/* 7DDC8 800E4918 10620064 */ beq $v1, $v0, .L800E4AAC
/* 7DDCC 800E491C 00000000 */ nop
/* 7DDD0 800E4920 08039257 */ j .L800E495C
/* 7DDD4 800E4924 A20400BF */ sb $a0, 0xbf($s0)
.L800E4928:
/* 7DDD8 800E4928 82620000 */ lb $v0, ($s3)
/* 7DDDC 800E492C 10400004 */ beqz $v0, .L800E4940
/* 7DDE0 800E4930 24020009 */ addiu $v0, $zero, 9
/* 7DDE4 800E4934 82630003 */ lb $v1, 3($s3)
/* 7DDE8 800E4938 1062005C */ beq $v1, $v0, .L800E4AAC
/* 7DDEC 800E493C 00000000 */ nop
.L800E4940:
/* 7DDF0 800E4940 86020010 */ lh $v0, 0x10($s0)
/* 7DDF4 800E4944 14400009 */ bnez $v0, .L800E496C
/* 7DDF8 800E4948 24020017 */ addiu $v0, $zero, 0x17
/* 7DDFC 800E494C 820300B4 */ lb $v1, 0xb4($s0)
/* 7DE00 800E4950 10620056 */ beq $v1, $v0, .L800E4AAC
/* 7DE04 800E4954 24020001 */ addiu $v0, $zero, 1
/* 7DE08 800E4958 A20200BF */ sb $v0, 0xbf($s0)
.L800E495C:
/* 7DE0C 800E495C 0C039769 */ jal set_action_state
/* 7DE10 800E4960 24040017 */ addiu $a0, $zero, 0x17
/* 7DE14 800E4964 080392AB */ j .L800E4AAC
/* 7DE18 800E4968 00000000 */ nop
.L800E496C:
/* 7DE1C 800E496C 0C039769 */ jal set_action_state
/* 7DE20 800E4970 24040016 */ addiu $a0, $zero, 0x16
/* 7DE24 800E4974 080392AB */ j .L800E4AAC
/* 7DE28 800E4978 00000000 */ nop
.L800E497C:
/* 7DE2C 800E497C 96840002 */ lhu $a0, 2($s4)
/* 7DE30 800E4980 30824000 */ andi $v0, $a0, 0x4000
/* 7DE34 800E4984 10400006 */ beqz $v0, .L800E49A0
/* 7DE38 800E4988 00000000 */ nop
/* 7DE3C 800E498C 00042400 */ sll $a0, $a0, 0x10
/* 7DE40 800E4990 0C0441A9 */ jal get_entity_type
/* 7DE44 800E4994 00042403 */ sra $a0, $a0, 0x10
/* 7DE48 800E4998 38420030 */ xori $v0, $v0, 0x30
/* 7DE4C 800E499C 2C450001 */ sltiu $a1, $v0, 1
.L800E49A0:
/* 7DE50 800E49A0 820300B4 */ lb $v1, 0xb4($s0)
/* 7DE54 800E49A4 24020022 */ addiu $v0, $zero, 0x22
/* 7DE58 800E49A8 10620040 */ beq $v1, $v0, .L800E4AAC
/* 7DE5C 800E49AC 00000000 */ nop
/* 7DE60 800E49B0 14A0003E */ bnez $a1, .L800E4AAC
/* 7DE64 800E49B4 00000000 */ nop
/* 7DE68 800E49B8 8E020004 */ lw $v0, 4($s0)
/* 7DE6C 800E49BC 30421000 */ andi $v0, $v0, 0x1000
/* 7DE70 800E49C0 14400017 */ bnez $v0, .L800E4A20
/* 7DE74 800E49C4 00000000 */ nop
/* 7DE78 800E49C8 C7A4002C */ lwc1 $f4, 0x2c($sp)
/* 7DE7C 800E49CC C600002C */ lwc1 $f0, 0x2c($s0)
/* 7DE80 800E49D0 46002001 */ sub.s $f0, $f4, $f0
/* 7DE84 800E49D4 3C0140C0 */ lui $at, 0x40c0
/* 7DE88 800E49D8 44811000 */ mtc1 $at, $f2
/* 7DE8C 800E49DC 00000000 */ nop
/* 7DE90 800E49E0 4602003C */ c.lt.s $f0, $f2
/* 7DE94 800E49E4 00000000 */ nop
/* 7DE98 800E49E8 45000003 */ bc1f .L800E49F8
/* 7DE9C 800E49EC 00000000 */ nop
/* 7DEA0 800E49F0 0803928A */ j .L800E4A28
/* 7DEA4 800E49F4 E604002C */ swc1 $f4, 0x2c($s0)
.L800E49F8:
/* 7DEA8 800E49F8 0C039769 */ jal set_action_state
/* 7DEAC 800E49FC 24040022 */ addiu $a0, $zero, 0x22
/* 7DEB0 800E4A00 C7A0002C */ lwc1 $f0, 0x2c($sp)
/* 7DEB4 800E4A04 C6020080 */ lwc1 $f2, 0x80($s0)
/* 7DEB8 800E4A08 3C018011 */ lui $at, %hi(D_8010C928)
/* 7DEBC 800E4A0C E420C928 */ swc1 $f0, %lo(D_8010C928)($at)
/* 7DEC0 800E4A10 3C018011 */ lui $at, %hi(D_8010C984)
/* 7DEC4 800E4A14 E422C984 */ swc1 $f2, %lo(D_8010C984)($at)
/* 7DEC8 800E4A18 0803928A */ j .L800E4A28
/* 7DECC 800E4A1C 00000000 */ nop
.L800E4A20:
/* 7DED0 800E4A20 C7A0002C */ lwc1 $f0, 0x2c($sp)
/* 7DED4 800E4A24 E600002C */ swc1 $f0, 0x2c($s0)
.L800E4A28:
/* 7DED8 800E4A28 0C039538 */ jal phys_save_ground_pos
/* 7DEDC 800E4A2C 00000000 */ nop
/* 7DEE0 800E4A30 080392AB */ j .L800E4AAC
/* 7DEE4 800E4A34 00000000 */ nop
.L800E4A38:
/* 7DEE8 800E4A38 8E020000 */ lw $v0, ($s0)
/* 7DEEC 800E4A3C 30420008 */ andi $v0, $v0, 8
/* 7DEF0 800E4A40 1440001A */ bnez $v0, .L800E4AAC
/* 7DEF4 800E4A44 2402001D */ addiu $v0, $zero, 0x1d
/* 7DEF8 800E4A48 820300B4 */ lb $v1, 0xb4($s0)
/* 7DEFC 800E4A4C 10620017 */ beq $v1, $v0, .L800E4AAC
/* 7DF00 800E4A50 00000000 */ nop
/* 7DF04 800E4A54 4618B080 */ add.s $f2, $f22, $f24
/* 7DF08 800E4A58 C7A00034 */ lwc1 $f0, 0x34($sp)
/* 7DF0C 800E4A5C 4602003E */ c.le.s $f0, $f2
/* 7DF10 800E4A60 00000000 */ nop
/* 7DF14 800E4A64 4500000D */ bc1f .L800E4A9C
/* 7DF18 800E4A68 24040008 */ addiu $a0, $zero, 8
/* 7DF1C 800E4A6C C7A00040 */ lwc1 $f0, 0x40($sp)
/* 7DF20 800E4A70 44801000 */ mtc1 $zero, $f2
/* 7DF24 800E4A74 00000000 */ nop
/* 7DF28 800E4A78 46020032 */ c.eq.s $f0, $f2
/* 7DF2C 800E4A7C 00000000 */ nop
/* 7DF30 800E4A80 45000006 */ bc1f .L800E4A9C
/* 7DF34 800E4A84 00000000 */ nop
/* 7DF38 800E4A88 C7A00044 */ lwc1 $f0, 0x44($sp)
/* 7DF3C 800E4A8C 46020032 */ c.eq.s $f0, $f2
/* 7DF40 800E4A90 00000000 */ nop
/* 7DF44 800E4A94 45030001 */ bc1tl .L800E4A9C
/* 7DF48 800E4A98 24040009 */ addiu $a0, $zero, 9
.L800E4A9C:
/* 7DF4C 800E4A9C 0C039769 */ jal set_action_state
/* 7DF50 800E4AA0 00000000 */ nop
/* 7DF54 800E4AA4 0C038C1B */ jal gravity_use_fall_parms
/* 7DF58 800E4AA8 00000000 */ nop
.L800E4AAC:
/* 7DF5C 800E4AAC 8FBF005C */ lw $ra, 0x5c($sp)
/* 7DF60 800E4AB0 8FB40058 */ lw $s4, 0x58($sp)
/* 7DF64 800E4AB4 8FB30054 */ lw $s3, 0x54($sp)
/* 7DF68 800E4AB8 8FB20050 */ lw $s2, 0x50($sp)
/* 7DF6C 800E4ABC 8FB1004C */ lw $s1, 0x4c($sp)
/* 7DF70 800E4AC0 8FB00048 */ lw $s0, 0x48($sp)
/* 7DF74 800E4AC4 D7B80070 */ ldc1 $f24, 0x70($sp)
/* 7DF78 800E4AC8 D7B60068 */ ldc1 $f22, 0x68($sp)
/* 7DF7C 800E4ACC D7B40060 */ ldc1 $f20, 0x60($sp)
/* 7DF80 800E4AD0 03E00008 */ jr $ra
/* 7DF84 800E4AD4 27BD0078 */ addiu $sp, $sp, 0x78

View File

@ -1,129 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel phys_player_land
/* 7C728 800E3278 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 7C72C 800E327C 3C02FF7F */ lui $v0, 0xff7f
/* 7C730 800E3280 3442FFFF */ ori $v0, $v0, 0xffff
/* 7C734 800E3284 24040148 */ addiu $a0, $zero, 0x148
/* 7C738 800E3288 AFB00018 */ sw $s0, 0x18($sp)
/* 7C73C 800E328C 3C108011 */ lui $s0, %hi(gPlayerStatus)
/* 7C740 800E3290 2610EFC8 */ addiu $s0, $s0, %lo(gPlayerStatus)
/* 7C744 800E3294 AFBF0020 */ sw $ra, 0x20($sp)
/* 7C748 800E3298 AFB1001C */ sw $s1, 0x1c($sp)
/* 7C74C 800E329C 8E030000 */ lw $v1, ($s0)
/* 7C750 800E32A0 C6000028 */ lwc1 $f0, 0x28($s0)
/* 7C754 800E32A4 C6020030 */ lwc1 $f2, 0x30($s0)
/* 7C758 800E32A8 0000282D */ daddu $a1, $zero, $zero
/* 7C75C 800E32AC A60000C0 */ sh $zero, 0xc0($s0)
/* 7C760 800E32B0 A60000C2 */ sh $zero, 0xc2($s0)
/* 7C764 800E32B4 00621824 */ and $v1, $v1, $v0
/* 7C768 800E32B8 2402FFF1 */ addiu $v0, $zero, -0xf
/* 7C76C 800E32BC AE030000 */ sw $v1, ($s0)
/* 7C770 800E32C0 00621824 */ and $v1, $v1, $v0
/* 7C774 800E32C4 E6000044 */ swc1 $f0, 0x44($s0)
/* 7C778 800E32C8 E6020048 */ swc1 $f2, 0x48($s0)
/* 7C77C 800E32CC 0C052736 */ jal sfx_play_sound_at_player
/* 7C780 800E32D0 AE030000 */ sw $v1, ($s0)
/* 7C784 800E32D4 3C038016 */ lui $v1, %hi(gCollisionStatus)
/* 7C788 800E32D8 2463A550 */ addiu $v1, $v1, %lo(gCollisionStatus)
/* 7C78C 800E32DC 94620002 */ lhu $v0, 2($v1)
/* 7C790 800E32E0 30424000 */ andi $v0, $v0, 0x4000
/* 7C794 800E32E4 14400003 */ bnez $v0, .L800E32F4
/* 7C798 800E32E8 0060882D */ daddu $s1, $v1, $zero
/* 7C79C 800E32EC 0C03954C */ jal phys_adjust_cam_on_landing
/* 7C7A0 800E32F0 00000000 */ nop
.L800E32F4:
/* 7C7A4 800E32F4 96240002 */ lhu $a0, 2($s1)
/* 7C7A8 800E32F8 2402FFFF */ addiu $v0, $zero, -1
/* 7C7AC 800E32FC A6220004 */ sh $v0, 4($s1)
/* 7C7B0 800E3300 30824000 */ andi $v0, $a0, 0x4000
/* 7C7B4 800E3304 10400022 */ beqz $v0, .L800E3390
/* 7C7B8 800E3308 00042400 */ sll $a0, $a0, 0x10
/* 7C7BC 800E330C 0C0441A9 */ jal get_entity_type
/* 7C7C0 800E3310 00042403 */ sra $a0, $a0, 0x10
/* 7C7C4 800E3314 0040182D */ daddu $v1, $v0, $zero
/* 7C7C8 800E3318 28620009 */ slti $v0, $v1, 9
/* 7C7CC 800E331C 1040001C */ beqz $v0, .L800E3390
/* 7C7D0 800E3320 28620007 */ slti $v0, $v1, 7
/* 7C7D4 800E3324 1440001A */ bnez $v0, .L800E3390
/* 7C7D8 800E3328 00000000 */ nop
/* 7C7DC 800E332C 0C04417A */ jal get_entity_by_index
/* 7C7E0 800E3330 86240002 */ lh $a0, 2($s1)
/* 7C7E4 800E3334 90430006 */ lbu $v1, 6($v0)
/* 7C7E8 800E3338 34630001 */ ori $v1, $v1, 1
/* 7C7EC 800E333C A0430006 */ sb $v1, 6($v0)
/* 7C7F0 800E3340 920300B4 */ lbu $v1, 0xb4($s0)
/* 7C7F4 800E3344 2462FFF1 */ addiu $v0, $v1, -0xf
/* 7C7F8 800E3348 2C420002 */ sltiu $v0, $v0, 2
/* 7C7FC 800E334C 1440000B */ bnez $v0, .L800E337C
/* 7C800 800E3350 00031600 */ sll $v0, $v1, 0x18
/* 7C804 800E3354 00021E03 */ sra $v1, $v0, 0x18
/* 7C808 800E3358 2402000D */ addiu $v0, $zero, 0xd
/* 7C80C 800E335C 10620007 */ beq $v1, $v0, .L800E337C
/* 7C810 800E3360 2402000E */ addiu $v0, $zero, 0xe
/* 7C814 800E3364 10620005 */ beq $v1, $v0, .L800E337C
/* 7C818 800E3368 00000000 */ nop
/* 7C81C 800E336C 0C039769 */ jal set_action_state
/* 7C820 800E3370 24040007 */ addiu $a0, $zero, 7
/* 7C824 800E3374 08038D0D */ j .L800E3434
/* 7C828 800E3378 00000000 */ nop
.L800E337C:
/* 7C82C 800E337C 0C03805E */ jal disable_player_input
/* 7C830 800E3380 00000000 */ nop
/* 7C834 800E3384 2402000B */ addiu $v0, $zero, 0xb
/* 7C838 800E3388 08038D0D */ j .L800E3434
/* 7C83C 800E338C A20200B6 */ sb $v0, 0xb6($s0)
.L800E3390:
/* 7C840 800E3390 8E020000 */ lw $v0, ($s0)
/* 7C844 800E3394 30424000 */ andi $v0, $v0, 0x4000
/* 7C848 800E3398 10400005 */ beqz $v0, .L800E33B0
/* 7C84C 800E339C 24020007 */ addiu $v0, $zero, 7
/* 7C850 800E33A0 0C039769 */ jal set_action_state
/* 7C854 800E33A4 24040002 */ addiu $a0, $zero, 2
/* 7C858 800E33A8 08038D0D */ j .L800E3434
/* 7C85C 800E33AC 00000000 */ nop
.L800E33B0:
/* 7C860 800E33B0 820300B4 */ lb $v1, 0xb4($s0)
/* 7C864 800E33B4 14620005 */ bne $v1, $v0, .L800E33CC
/* 7C868 800E33B8 27A40010 */ addiu $a0, $sp, 0x10
/* 7C86C 800E33BC 0C039769 */ jal set_action_state
/* 7C870 800E33C0 24040020 */ addiu $a0, $zero, 0x20
/* 7C874 800E33C4 08038D0D */ j .L800E3434
/* 7C878 800E33C8 00000000 */ nop
.L800E33CC:
/* 7C87C 800E33CC 0C0388C1 */ jal player_input_to_move_vector
/* 7C880 800E33D0 27A50014 */ addiu $a1, $sp, 0x14
/* 7C884 800E33D4 C7A00014 */ lwc1 $f0, 0x14($sp)
/* 7C888 800E33D8 44801000 */ mtc1 $zero, $f2
/* 7C88C 800E33DC 00000000 */ nop
/* 7C890 800E33E0 46020032 */ c.eq.s $f0, $f2
/* 7C894 800E33E4 00000000 */ nop
/* 7C898 800E33E8 4500000C */ bc1f .L800E341C
/* 7C89C 800E33EC 24020009 */ addiu $v0, $zero, 9
/* 7C8A0 800E33F0 820300B4 */ lb $v1, 0xb4($s0)
/* 7C8A4 800E33F4 10620005 */ beq $v1, $v0, .L800E340C
/* 7C8A8 800E33F8 00000000 */ nop
/* 7C8AC 800E33FC 0C039769 */ jal set_action_state
/* 7C8B0 800E3400 2404000A */ addiu $a0, $zero, 0xa
/* 7C8B4 800E3404 08038D0D */ j .L800E3434
/* 7C8B8 800E3408 00000000 */ nop
.L800E340C:
/* 7C8BC 800E340C 0C039769 */ jal set_action_state
/* 7C8C0 800E3410 2404000B */ addiu $a0, $zero, 0xb
/* 7C8C4 800E3414 08038D0D */ j .L800E3434
/* 7C8C8 800E3418 00000000 */ nop
.L800E341C:
/* 7C8CC 800E341C 45010003 */ bc1t .L800E342C
/* 7C8D0 800E3420 00000000 */ nop
/* 7C8D4 800E3424 C7A00010 */ lwc1 $f0, 0x10($sp)
/* 7C8D8 800E3428 E6000080 */ swc1 $f0, 0x80($s0)
.L800E342C:
/* 7C8DC 800E342C 0C0397DA */ jal update_locomotion_state
/* 7C8E0 800E3430 00000000 */ nop
.L800E3434:
/* 7C8E4 800E3434 8FBF0020 */ lw $ra, 0x20($sp)
/* 7C8E8 800E3438 8FB1001C */ lw $s1, 0x1c($sp)
/* 7C8EC 800E343C 8FB00018 */ lw $s0, 0x18($sp)
/* 7C8F0 800E3440 03E00008 */ jr $ra
/* 7C8F4 800E3444 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,165 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel phys_update_action_state
/* 7EEDC 800E5A2C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 7EEE0 800E5A30 3C04800B */ lui $a0, %hi(gCameras)
/* 7EEE4 800E5A34 24841D80 */ addiu $a0, $a0, %lo(gCameras)
/* 7EEE8 800E5A38 AFB40020 */ sw $s4, 0x20($sp)
/* 7EEEC 800E5A3C 3C148011 */ lui $s4, %hi(gPartnerActionStatus)
/* 7EEF0 800E5A40 2694EBB0 */ addiu $s4, $s4, %lo(gPartnerActionStatus)
/* 7EEF4 800E5A44 AFB00010 */ sw $s0, 0x10($sp)
/* 7EEF8 800E5A48 3C108011 */ lui $s0, %hi(gPlayerStatus)
/* 7EEFC 800E5A4C 2610EFC8 */ addiu $s0, $s0, %lo(gPlayerStatus)
/* 7EF00 800E5A50 AFB10014 */ sw $s1, 0x14($sp)
/* 7EF04 800E5A54 3C118011 */ lui $s1, %hi(gPlayerSpinState)
/* 7EF08 800E5A58 2631F250 */ addiu $s1, $s1, %lo(gPlayerSpinState)
/* 7EF0C 800E5A5C AFBF0024 */ sw $ra, 0x24($sp)
/* 7EF10 800E5A60 AFB3001C */ sw $s3, 0x1c($sp)
/* 7EF14 800E5A64 AFB20018 */ sw $s2, 0x18($sp)
/* 7EF18 800E5A68 8E030000 */ lw $v1, ($s0)
/* 7EF1C 800E5A6C 3C020004 */ lui $v0, 4
/* 7EF20 800E5A70 00621024 */ and $v0, $v1, $v0
/* 7EF24 800E5A74 14400004 */ bnez $v0, .L800E5A88
/* 7EF28 800E5A78 3C02DFFF */ lui $v0, 0xdfff
/* 7EF2C 800E5A7C 3442FFFF */ ori $v0, $v0, 0xffff
/* 7EF30 800E5A80 00621024 */ and $v0, $v1, $v0
/* 7EF34 800E5A84 AE020000 */ sw $v0, ($s0)
.L800E5A88:
/* 7EF38 800E5A88 8E020004 */ lw $v0, 4($s0)
/* 7EF3C 800E5A8C 30421000 */ andi $v0, $v0, 0x1000
/* 7EF40 800E5A90 10400005 */ beqz $v0, .L800E5AA8
/* 7EF44 800E5A94 00000000 */ nop
/* 7EF48 800E5A98 0C03971E */ jal phys_peach_update
/* 7EF4C 800E5A9C 00000000 */ nop
/* 7EF50 800E5AA0 08039716 */ j .L800E5C58
/* 7EF54 800E5AA4 00000000 */ nop
.L800E5AA8:
/* 7EF58 800E5AA8 820200C5 */ lb $v0, 0xc5($s0)
/* 7EF5C 800E5AAC 920300C5 */ lbu $v1, 0xc5($s0)
/* 7EF60 800E5AB0 10400008 */ beqz $v0, .L800E5AD4
/* 7EF64 800E5AB4 2462FFFF */ addiu $v0, $v1, -1
/* 7EF68 800E5AB8 A20200C5 */ sb $v0, 0xc5($s0)
/* 7EF6C 800E5ABC 00021600 */ sll $v0, $v0, 0x18
/* 7EF70 800E5AC0 14400004 */ bnez $v0, .L800E5AD4
/* 7EF74 800E5AC4 00000000 */ nop
/* 7EF78 800E5AC8 94820002 */ lhu $v0, 2($a0)
/* 7EF7C 800E5ACC 34420004 */ ori $v0, $v0, 4
/* 7EF80 800E5AD0 A4820002 */ sh $v0, 2($a0)
.L800E5AD4:
/* 7EF84 800E5AD4 860200C0 */ lh $v0, 0xc0($s0)
/* 7EF88 800E5AD8 10400011 */ beqz $v0, .L800E5B20
/* 7EF8C 800E5ADC 960300C0 */ lhu $v1, 0xc0($s0)
/* 7EF90 800E5AE0 C6000070 */ lwc1 $f0, 0x70($s0)
/* 7EF94 800E5AE4 44801000 */ mtc1 $zero, $f2
/* 7EF98 800E5AE8 00000000 */ nop
/* 7EF9C 800E5AEC 4602003E */ c.le.s $f0, $f2
/* 7EFA0 800E5AF0 00000000 */ nop
/* 7EFA4 800E5AF4 45000008 */ bc1f .L800E5B18
/* 7EFA8 800E5AF8 00000000 */ nop
/* 7EFAC 800E5AFC 3C01800F */ lui $at, %hi(D_800F7B90)
/* 7EFB0 800E5B00 C4207B90 */ lwc1 $f0, %lo(D_800F7B90)($at)
/* 7EFB4 800E5B04 4600103C */ c.lt.s $f2, $f0
/* 7EFB8 800E5B08 00000000 */ nop
/* 7EFBC 800E5B0C 45030001 */ bc1tl .L800E5B14
/* 7EFC0 800E5B10 A60300C2 */ sh $v1, 0xc2($s0)
.L800E5B14:
/* 7EFC4 800E5B14 C6000070 */ lwc1 $f0, 0x70($s0)
.L800E5B18:
/* 7EFC8 800E5B18 3C01800F */ lui $at, %hi(D_800F7B90)
/* 7EFCC 800E5B1C E4207B90 */ swc1 $f0, %lo(D_800F7B90)($at)
.L800E5B20:
/* 7EFD0 800E5B20 0C03893E */ jal func_800E24F8
/* 7EFD4 800E5B24 00000000 */ nop
/* 7EFD8 800E5B28 82220000 */ lb $v0, ($s1)
/* 7EFDC 800E5B2C 92230000 */ lbu $v1, ($s1)
/* 7EFE0 800E5B30 1040000E */ beqz $v0, .L800E5B6C
/* 7EFE4 800E5B34 2462FFFF */ addiu $v0, $v1, -1
/* 7EFE8 800E5B38 A2220000 */ sb $v0, ($s1)
/* 7EFEC 800E5B3C 00021600 */ sll $v0, $v0, 0x18
/* 7EFF0 800E5B40 1440000B */ bnez $v0, .L800E5B70
/* 7EFF4 800E5B44 3C138000 */ lui $s3, 0x8000
/* 7EFF8 800E5B48 3C03FFFE */ lui $v1, 0xfffe
/* 7EFFC 800E5B4C 3463FFFF */ ori $v1, $v1, 0xffff
/* 7F000 800E5B50 8E020004 */ lw $v0, 4($s0)
/* 7F004 800E5B54 8E240030 */ lw $a0, 0x30($s1)
/* 7F008 800E5B58 00431024 */ and $v0, $v0, $v1
/* 7F00C 800E5B5C 10800004 */ beqz $a0, .L800E5B70
/* 7F010 800E5B60 AE020004 */ sw $v0, 4($s0)
/* 7F014 800E5B64 0C05271B */ jal sfx_stop_sound
/* 7F018 800E5B68 00000000 */ nop
.L800E5B6C:
/* 7F01C 800E5B6C 3C138000 */ lui $s3, 0x8000
.L800E5B70:
/* 7F020 800E5B70 3C11800F */ lui $s1, %hi(PlayerActionsTable)
/* 7F024 800E5B74 26317C8C */ addiu $s1, $s1, %lo(PlayerActionsTable)
/* 7F028 800E5B78 3C128011 */ lui $s2, %hi(D_8010C924)
/* 7F02C 800E5B7C 2652C924 */ addiu $s2, $s2, %lo(D_8010C924)
.L800E5B80:
/* 7F030 800E5B80 820200B4 */ lb $v0, 0xb4($s0)
/* 7F034 800E5B84 2C420003 */ sltiu $v0, $v0, 3
/* 7F038 800E5B88 10400015 */ beqz $v0, .L800E5BE0
/* 7F03C 800E5B8C 00000000 */ nop
/* 7F040 800E5B90 8E020000 */ lw $v0, ($s0)
/* 7F044 800E5B94 30422000 */ andi $v0, $v0, 0x2000
/* 7F048 800E5B98 14400004 */ bnez $v0, .L800E5BAC
/* 7F04C 800E5B9C 0000182D */ daddu $v1, $zero, $zero
/* 7F050 800E5BA0 0C010C77 */ jal check_conversation_trigger
/* 7F054 800E5BA4 00000000 */ nop
/* 7F058 800E5BA8 0040182D */ daddu $v1, $v0, $zero
.L800E5BAC:
/* 7F05C 800E5BAC 82820000 */ lb $v0, ($s4)
/* 7F060 800E5BB0 14400009 */ bnez $v0, .L800E5BD8
/* 7F064 800E5BB4 00000000 */ nop
/* 7F068 800E5BB8 8E020000 */ lw $v0, ($s0)
/* 7F06C 800E5BBC 30420020 */ andi $v0, $v0, 0x20
/* 7F070 800E5BC0 14400005 */ bnez $v0, .L800E5BD8
/* 7F074 800E5BC4 00000000 */ nop
/* 7F078 800E5BC8 10600003 */ beqz $v1, .L800E5BD8
/* 7F07C 800E5BCC 00000000 */ nop
/* 7F080 800E5BD0 0C039769 */ jal set_action_state
/* 7F084 800E5BD4 2404000C */ addiu $a0, $zero, 0xc
.L800E5BD8:
/* 7F088 800E5BD8 0C03989A */ jal check_input_spin
/* 7F08C 800E5BDC 00000000 */ nop
.L800E5BE0:
/* 7F090 800E5BE0 8E020000 */ lw $v0, ($s0)
/* 7F094 800E5BE4 00531024 */ and $v0, $v0, $s3
/* 7F098 800E5BE8 10400011 */ beqz $v0, .L800E5C30
/* 7F09C 800E5BEC 00000000 */ nop
/* 7F0A0 800E5BF0 820200B4 */ lb $v0, 0xb4($s0)
/* 7F0A4 800E5BF4 00021100 */ sll $v0, $v0, 4
/* 7F0A8 800E5BF8 00511021 */ addu $v0, $v0, $s1
/* 7F0AC 800E5BFC 8C440004 */ lw $a0, 4($v0)
/* 7F0B0 800E5C00 1080000B */ beqz $a0, .L800E5C30
/* 7F0B4 800E5C04 00000000 */ nop
/* 7F0B8 800E5C08 8E420000 */ lw $v0, ($s2)
/* 7F0BC 800E5C0C 10820008 */ beq $a0, $v0, .L800E5C30
/* 7F0C0 800E5C10 3C06802B */ lui $a2, 0x802b
/* 7F0C4 800E5C14 820200B4 */ lb $v0, 0xb4($s0)
/* 7F0C8 800E5C18 00021100 */ sll $v0, $v0, 4
/* 7F0CC 800E5C1C 00511021 */ addu $v0, $v0, $s1
/* 7F0D0 800E5C20 8C450008 */ lw $a1, 8($v0)
/* 7F0D4 800E5C24 34C66000 */ ori $a2, $a2, 0x6000
/* 7F0D8 800E5C28 0C00A5CF */ jal dma_copy
/* 7F0DC 800E5C2C AE440000 */ sw $a0, ($s2)
.L800E5C30:
/* 7F0E0 800E5C30 820200B4 */ lb $v0, 0xb4($s0)
/* 7F0E4 800E5C34 00021100 */ sll $v0, $v0, 4
/* 7F0E8 800E5C38 00511021 */ addu $v0, $v0, $s1
/* 7F0EC 800E5C3C 8C420000 */ lw $v0, ($v0)
/* 7F0F0 800E5C40 0040F809 */ jalr $v0
/* 7F0F4 800E5C44 00000000 */ nop
/* 7F0F8 800E5C48 8E020000 */ lw $v0, ($s0)
/* 7F0FC 800E5C4C 00531024 */ and $v0, $v0, $s3
/* 7F100 800E5C50 1440FFCB */ bnez $v0, .L800E5B80
/* 7F104 800E5C54 00000000 */ nop
.L800E5C58:
/* 7F108 800E5C58 8FBF0024 */ lw $ra, 0x24($sp)
/* 7F10C 800E5C5C 8FB40020 */ lw $s4, 0x20($sp)
/* 7F110 800E5C60 8FB3001C */ lw $s3, 0x1c($sp)
/* 7F114 800E5C64 8FB20018 */ lw $s2, 0x18($sp)
/* 7F118 800E5C68 8FB10014 */ lw $s1, 0x14($sp)
/* 7F11C 800E5C6C 8FB00010 */ lw $s0, 0x10($sp)
/* 7F120 800E5C70 03E00008 */ jr $ra
/* 7F124 800E5C74 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,168 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.section .rodata
dlabel jtbl_8010BD98
.word .L800E2D8C_7C23C, .L800E2DFC_7C2AC, .L800E2D6C_7C21C, .L800E2D7C_7C22C, .L800E2E68_7C318, .L800E2E68_7C318, .L800E2E68_7C318, .L800E2E68_7C318, .L800E2E68_7C318, .L800E2E68_7C318, .L800E2E68_7C318, .L800E2E68_7C318, .L800E2E68_7C318, .L800E2E68_7C318, .L800E2E68_7C318, .L800E2E68_7C318, .L800E2E68_7C318, .L800E2F4C_7C3FC, .L800E2E68_7C318, .L800E2F4C_7C3FC
.section .text
glabel phys_update_jump
/* 7C1C8 800E2D18 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 7C1CC 800E2D1C AFB00010 */ sw $s0, 0x10($sp)
/* 7C1D0 800E2D20 3C108011 */ lui $s0, %hi(gPlayerStatus)
/* 7C1D4 800E2D24 2610EFC8 */ addiu $s0, $s0, %lo(gPlayerStatus)
/* 7C1D8 800E2D28 AFBF0014 */ sw $ra, 0x14($sp)
/* 7C1DC 800E2D2C F7B40018 */ sdc1 $f20, 0x18($sp)
/* 7C1E0 800E2D30 860200C0 */ lh $v0, 0xc0($s0)
/* 7C1E4 800E2D34 1040006A */ beqz $v0, .L800E2EE0
/* 7C1E8 800E2D38 00000000 */ nop
/* 7C1EC 800E2D3C 920200B4 */ lbu $v0, 0xb4($s0)
/* 7C1F0 800E2D40 2442FFFC */ addiu $v0, $v0, -4
/* 7C1F4 800E2D44 00021600 */ sll $v0, $v0, 0x18
/* 7C1F8 800E2D48 00021E03 */ sra $v1, $v0, 0x18
/* 7C1FC 800E2D4C 2C620014 */ sltiu $v0, $v1, 0x14
/* 7C200 800E2D50 10400045 */ beqz $v0, .L800E2E68_7C318
/* 7C204 800E2D54 00031080 */ sll $v0, $v1, 2
/* 7C208 800E2D58 3C018011 */ lui $at, %hi(jtbl_8010BD98)
/* 7C20C 800E2D5C 00220821 */ addu $at, $at, $v0
/* 7C210 800E2D60 8C22BD98 */ lw $v0, %lo(jtbl_8010BD98)($at)
/* 7C214 800E2D64 00400008 */ jr $v0
/* 7C218 800E2D68 00000000 */ nop
.L800E2D6C_7C21C:
/* 7C21C 800E2D6C 0C038AEC */ jal func_800E2BB0
/* 7C220 800E2D70 00000000 */ nop
/* 7C224 800E2D74 08038BD3 */ j .L800E2F4C_7C3FC
/* 7C228 800E2D78 00000000 */ nop
.L800E2D7C_7C22C:
/* 7C22C 800E2D7C 0C038A72 */ jal func_800E29C8
/* 7C230 800E2D80 00000000 */ nop
/* 7C234 800E2D84 08038BD3 */ j .L800E2F4C_7C3FC
/* 7C238 800E2D88 00000000 */ nop
.L800E2D8C_7C23C:
/* 7C23C 800E2D8C 0C038D12 */ jal integrate_gravity
/* 7C240 800E2D90 00000000 */ nop
/* 7C244 800E2D94 C600002C */ lwc1 $f0, 0x2c($s0)
/* 7C248 800E2D98 C6020070 */ lwc1 $f2, 0x70($s0)
/* 7C24C 800E2D9C 46020000 */ add.s $f0, $f0, $f2
/* 7C250 800E2DA0 4480A000 */ mtc1 $zero, $f20
/* 7C254 800E2DA4 00000000 */ nop
/* 7C258 800E2DA8 4614103E */ c.le.s $f2, $f20
/* 7C25C 800E2DAC 00000000 */ nop
/* 7C260 800E2DB0 45000066 */ bc1f .L800E2F4C_7C3FC
/* 7C264 800E2DB4 E600002C */ swc1 $f0, 0x2c($s0)
/* 7C268 800E2DB8 0C0389AC */ jal record_jump_apex
/* 7C26C 800E2DBC 00000000 */ nop
/* 7C270 800E2DC0 0C011052 */ jal is_starting_conversation
/* 7C274 800E2DC4 00000000 */ nop
/* 7C278 800E2DC8 1040001F */ beqz $v0, .L800E2E48
/* 7C27C 800E2DCC 00000000 */ nop
/* 7C280 800E2DD0 3C013E1E */ lui $at, 0x3e1e
/* 7C284 800E2DD4 34210C17 */ ori $at, $at, 0xc17
/* 7C288 800E2DD8 44810000 */ mtc1 $at, $f0
/* 7C28C 800E2DDC 3C01BEB3 */ lui $at, 0xbeb3
/* 7C290 800E2DE0 34213DB0 */ ori $at, $at, 0x3db0
/* 7C294 800E2DE4 44811000 */ mtc1 $at, $f2
/* 7C298 800E2DE8 E6140078 */ swc1 $f20, 0x78($s0)
/* 7C29C 800E2DEC E614007C */ swc1 $f20, 0x7c($s0)
/* 7C2A0 800E2DF0 E6000070 */ swc1 $f0, 0x70($s0)
/* 7C2A4 800E2DF4 08038B94 */ j .L800E2E50
/* 7C2A8 800E2DF8 E6020074 */ swc1 $f2, 0x74($s0)
.L800E2DFC_7C2AC:
/* 7C2AC 800E2DFC C6000070 */ lwc1 $f0, 0x70($s0)
/* 7C2B0 800E2E00 3C014012 */ lui $at, 0x4012
/* 7C2B4 800E2E04 44811800 */ mtc1 $at, $f3
/* 7C2B8 800E2E08 44801000 */ mtc1 $zero, $f2
/* 7C2BC 800E2E0C 46000021 */ cvt.d.s $f0, $f0
/* 7C2C0 800E2E10 46220001 */ sub.d $f0, $f0, $f2
/* 7C2C4 800E2E14 C602002C */ lwc1 $f2, 0x2c($s0)
/* 7C2C8 800E2E18 46200020 */ cvt.s.d $f0, $f0
/* 7C2CC 800E2E1C E6000070 */ swc1 $f0, 0x70($s0)
/* 7C2D0 800E2E20 46000106 */ mov.s $f4, $f0
/* 7C2D4 800E2E24 46001080 */ add.s $f2, $f2, $f0
/* 7C2D8 800E2E28 44800000 */ mtc1 $zero, $f0
/* 7C2DC 800E2E2C 00000000 */ nop
/* 7C2E0 800E2E30 4600203E */ c.le.s $f4, $f0
/* 7C2E4 800E2E34 00000000 */ nop
/* 7C2E8 800E2E38 45000044 */ bc1f .L800E2F4C_7C3FC
/* 7C2EC 800E2E3C E602002C */ swc1 $f2, 0x2c($s0)
/* 7C2F0 800E2E40 0C0389AC */ jal record_jump_apex
/* 7C2F4 800E2E44 00000000 */ nop
.L800E2E48:
/* 7C2F8 800E2E48 0C038C1B */ jal gravity_use_fall_parms
/* 7C2FC 800E2E4C 00000000 */ nop
.L800E2E50:
/* 7C300 800E2E50 0C038D12 */ jal integrate_gravity
/* 7C304 800E2E54 00000000 */ nop
/* 7C308 800E2E58 0C039769 */ jal set_action_state
/* 7C30C 800E2E5C 24040008 */ addiu $a0, $zero, 8
/* 7C310 800E2E60 08038BD3 */ j .L800E2F4C_7C3FC
/* 7C314 800E2E64 00000000 */ nop
.L800E2E68_7C318:
/* 7C318 800E2E68 8E0200DC */ lw $v0, 0xdc($s0)
/* 7C31C 800E2E6C 30428000 */ andi $v0, $v0, 0x8000
/* 7C320 800E2E70 1440001B */ bnez $v0, .L800E2EE0
/* 7C324 800E2E74 00000000 */ nop
/* 7C328 800E2E78 0C0389AC */ jal record_jump_apex
/* 7C32C 800E2E7C 00000000 */ nop
/* 7C330 800E2E80 0C039769 */ jal set_action_state
/* 7C334 800E2E84 24040005 */ addiu $a0, $zero, 5
/* 7C338 800E2E88 0C038D12 */ jal integrate_gravity
/* 7C33C 800E2E8C 00000000 */ nop
/* 7C340 800E2E90 8E020000 */ lw $v0, ($s0)
/* 7C344 800E2E94 3C030004 */ lui $v1, 4
/* 7C348 800E2E98 00431024 */ and $v0, $v0, $v1
/* 7C34C 800E2E9C 10400010 */ beqz $v0, .L800E2EE0
/* 7C350 800E2EA0 00000000 */ nop
/* 7C354 800E2EA4 C6060074 */ lwc1 $f6, 0x74($s0)
/* 7C358 800E2EA8 3C013F00 */ lui $at, 0x3f00
/* 7C35C 800E2EAC 44811000 */ mtc1 $at, $f2
/* 7C360 800E2EB0 00000000 */ nop
/* 7C364 800E2EB4 46023182 */ mul.s $f6, $f6, $f2
/* 7C368 800E2EB8 00000000 */ nop
/* 7C36C 800E2EBC C6040078 */ lwc1 $f4, 0x78($s0)
/* 7C370 800E2EC0 46022102 */ mul.s $f4, $f4, $f2
/* 7C374 800E2EC4 00000000 */ nop
/* 7C378 800E2EC8 C600007C */ lwc1 $f0, 0x7c($s0)
/* 7C37C 800E2ECC 46020002 */ mul.s $f0, $f0, $f2
/* 7C380 800E2ED0 00000000 */ nop
/* 7C384 800E2ED4 E6060074 */ swc1 $f6, 0x74($s0)
/* 7C388 800E2ED8 E6040078 */ swc1 $f4, 0x78($s0)
/* 7C38C 800E2EDC E600007C */ swc1 $f0, 0x7c($s0)
.L800E2EE0:
/* 7C390 800E2EE0 0C038D12 */ jal integrate_gravity
/* 7C394 800E2EE4 00000000 */ nop
/* 7C398 800E2EE8 C6020070 */ lwc1 $f2, 0x70($s0)
/* 7C39C 800E2EEC 44800000 */ mtc1 $zero, $f0
/* 7C3A0 800E2EF0 00000000 */ nop
/* 7C3A4 800E2EF4 4600103E */ c.le.s $f2, $f0
/* 7C3A8 800E2EF8 00000000 */ nop
/* 7C3AC 800E2EFC 45000009 */ bc1f .L800E2F24
/* 7C3B0 800E2F00 00000000 */ nop
/* 7C3B4 800E2F04 0C0389AC */ jal record_jump_apex
/* 7C3B8 800E2F08 00000000 */ nop
/* 7C3BC 800E2F0C 0C038C1B */ jal gravity_use_fall_parms
/* 7C3C0 800E2F10 00000000 */ nop
/* 7C3C4 800E2F14 0C038D12 */ jal integrate_gravity
/* 7C3C8 800E2F18 00000000 */ nop
/* 7C3CC 800E2F1C 0C039769 */ jal set_action_state
/* 7C3D0 800E2F20 24040008 */ addiu $a0, $zero, 8
.L800E2F24:
/* 7C3D4 800E2F24 C6000070 */ lwc1 $f0, 0x70($s0)
/* 7C3D8 800E2F28 C602006C */ lwc1 $f2, 0x6c($s0)
/* 7C3DC 800E2F2C 4600103C */ c.lt.s $f2, $f0
/* 7C3E0 800E2F30 00000000 */ nop
/* 7C3E4 800E2F34 45030001 */ bc1tl .L800E2F3C
/* 7C3E8 800E2F38 E6020070 */ swc1 $f2, 0x70($s0)
.L800E2F3C:
/* 7C3EC 800E2F3C C600002C */ lwc1 $f0, 0x2c($s0)
/* 7C3F0 800E2F40 C6020070 */ lwc1 $f2, 0x70($s0)
/* 7C3F4 800E2F44 46020000 */ add.s $f0, $f0, $f2
/* 7C3F8 800E2F48 E600002C */ swc1 $f0, 0x2c($s0)
.L800E2F4C_7C3FC:
/* 7C3FC 800E2F4C 8FBF0014 */ lw $ra, 0x14($sp)
/* 7C400 800E2F50 8FB00010 */ lw $s0, 0x10($sp)
/* 7C404 800E2F54 D7B40018 */ ldc1 $f20, 0x18($sp)
/* 7C408 800E2F58 03E00008 */ jr $ra
/* 7C40C 800E2F5C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,82 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel player_check_collision_below
/* 7C9C4 800E3514 27BDFFA0 */ addiu $sp, $sp, -0x60
/* 7C9C8 800E3518 F7B40058 */ sdc1 $f20, 0x58($sp)
/* 7C9CC 800E351C 46006506 */ mov.s $f20, $f12
/* 7C9D0 800E3520 AFB00048 */ sw $s0, 0x48($sp)
/* 7C9D4 800E3524 00A0802D */ daddu $s0, $a1, $zero
/* 7C9D8 800E3528 AFB1004C */ sw $s1, 0x4c($sp)
/* 7C9DC 800E352C 3C118011 */ lui $s1, %hi(gPlayerStatus)
/* 7C9E0 800E3530 2631EFC8 */ addiu $s1, $s1, %lo(gPlayerStatus)
/* 7C9E4 800E3534 AFBF0054 */ sw $ra, 0x54($sp)
/* 7C9E8 800E3538 AFB20050 */ sw $s2, 0x50($sp)
/* 7C9EC 800E353C 862200B0 */ lh $v0, 0xb0($s1)
/* 7C9F0 800E3540 3C013F00 */ lui $at, 0x3f00
/* 7C9F4 800E3544 44810000 */ mtc1 $at, $f0
/* 7C9F8 800E3548 44822000 */ mtc1 $v0, $f4
/* 7C9FC 800E354C 00000000 */ nop
/* 7CA00 800E3550 46802120 */ cvt.s.w $f4, $f4
/* 7CA04 800E3554 46002102 */ mul.s $f4, $f4, $f0
/* 7CA08 800E3558 00000000 */ nop
/* 7CA0C 800E355C 0220202D */ daddu $a0, $s1, $zero
/* 7CA10 800E3560 27A50028 */ addiu $a1, $sp, 0x28
/* 7CA14 800E3564 27A6002C */ addiu $a2, $sp, 0x2c
/* 7CA18 800E3568 27A70030 */ addiu $a3, $sp, 0x30
/* 7CA1C 800E356C 4600A085 */ abs.s $f2, $f20
/* 7CA20 800E3570 C6200028 */ lwc1 $f0, 0x28($s1)
/* 7CA24 800E3574 27A20034 */ addiu $v0, $sp, 0x34
/* 7CA28 800E3578 E7A00028 */ swc1 $f0, 0x28($sp)
/* 7CA2C 800E357C 46041080 */ add.s $f2, $f2, $f4
/* 7CA30 800E3580 C620002C */ lwc1 $f0, 0x2c($s1)
/* 7CA34 800E3584 C6260030 */ lwc1 $f6, 0x30($s1)
/* 7CA38 800E3588 46040000 */ add.s $f0, $f0, $f4
/* 7CA3C 800E358C E7A60030 */ swc1 $f6, 0x30($sp)
/* 7CA40 800E3590 E7A20034 */ swc1 $f2, 0x34($sp)
/* 7CA44 800E3594 E7A0002C */ swc1 $f0, 0x2c($sp)
/* 7CA48 800E3598 AFA20010 */ sw $v0, 0x10($sp)
/* 7CA4C 800E359C 27A20038 */ addiu $v0, $sp, 0x38
/* 7CA50 800E35A0 AFA20014 */ sw $v0, 0x14($sp)
/* 7CA54 800E35A4 27A2003C */ addiu $v0, $sp, 0x3c
/* 7CA58 800E35A8 AFA20018 */ sw $v0, 0x18($sp)
/* 7CA5C 800E35AC 27A20040 */ addiu $v0, $sp, 0x40
/* 7CA60 800E35B0 AFA2001C */ sw $v0, 0x1c($sp)
/* 7CA64 800E35B4 27A20044 */ addiu $v0, $sp, 0x44
/* 7CA68 800E35B8 0C03791B */ jal player_raycast_below_cam_relative
/* 7CA6C 800E35BC AFA20020 */ sw $v0, 0x20($sp)
/* 7CA70 800E35C0 3C128016 */ lui $s2, %hi(gCollisionStatus)
/* 7CA74 800E35C4 2652A550 */ addiu $s2, $s2, %lo(gCollisionStatus)
/* 7CA78 800E35C8 AE020000 */ sw $v0, ($s0)
/* 7CA7C 800E35CC 04410010 */ bgez $v0, .L800E3610
/* 7CA80 800E35D0 0240802D */ daddu $s0, $s2, $zero
/* 7CA84 800E35D4 44800000 */ mtc1 $zero, $f0
/* 7CA88 800E35D8 00000000 */ nop
/* 7CA8C 800E35DC 4614003E */ c.le.s $f0, $f20
/* 7CA90 800E35E0 00000000 */ nop
/* 7CA94 800E35E4 45000006 */ bc1f .L800E3600
/* 7CA98 800E35E8 00000000 */ nop
/* 7CA9C 800E35EC 86420008 */ lh $v0, 8($s2)
/* 7CAA0 800E35F0 04400003 */ bltz $v0, .L800E3600
/* 7CAA4 800E35F4 00000000 */ nop
/* 7CAA8 800E35F8 08038D88 */ j .L800E3620
/* 7CAAC 800E35FC C620002C */ lwc1 $f0, 0x2c($s1)
.L800E3600:
/* 7CAB0 800E3600 C620002C */ lwc1 $f0, 0x2c($s1)
/* 7CAB4 800E3604 46140000 */ add.s $f0, $f0, $f20
/* 7CAB8 800E3608 08038D87 */ j .L800E361C
/* 7CABC 800E360C E7A0002C */ swc1 $f0, 0x2c($sp)
.L800E3610:
/* 7CAC0 800E3610 A6020002 */ sh $v0, 2($s0)
/* 7CAC4 800E3614 2402FFFF */ addiu $v0, $zero, -1
/* 7CAC8 800E3618 A6020004 */ sh $v0, 4($s0)
.L800E361C:
/* 7CACC 800E361C C7A0002C */ lwc1 $f0, 0x2c($sp)
.L800E3620:
/* 7CAD0 800E3620 8FBF0054 */ lw $ra, 0x54($sp)
/* 7CAD4 800E3624 8FB20050 */ lw $s2, 0x50($sp)
/* 7CAD8 800E3628 8FB1004C */ lw $s1, 0x4c($sp)
/* 7CADC 800E362C 8FB00048 */ lw $s0, 0x48($sp)
/* 7CAE0 800E3630 D7B40058 */ ldc1 $f20, 0x58($sp)
/* 7CAE4 800E3634 03E00008 */ jr $ra
/* 7CAE8 800E3638 27BD0060 */ addiu $sp, $sp, 0x60

View File

@ -1,111 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel can_pause
/* 7FE8C 800E69DC 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 7FE90 800E69E0 AFB20018 */ sw $s2, 0x18($sp)
/* 7FE94 800E69E4 3C128011 */ lui $s2, %hi(gPartnerActionStatus)
/* 7FE98 800E69E8 2652EBB0 */ addiu $s2, $s2, %lo(gPartnerActionStatus)
/* 7FE9C 800E69EC AFB10014 */ sw $s1, 0x14($sp)
/* 7FEA0 800E69F0 3C118011 */ lui $s1, %hi(gPlayerStatus)
/* 7FEA4 800E69F4 2631EFC8 */ addiu $s1, $s1, %lo(gPlayerStatus)
/* 7FEA8 800E69F8 3C030010 */ lui $v1, 0x10
/* 7FEAC 800E69FC AFBF001C */ sw $ra, 0x1c($sp)
/* 7FEB0 800E6A00 AFB00010 */ sw $s0, 0x10($sp)
/* 7FEB4 800E6A04 8E220004 */ lw $v0, 4($s1)
/* 7FEB8 800E6A08 823000B4 */ lb $s0, 0xb4($s1)
/* 7FEBC 800E6A0C 00431024 */ and $v0, $v0, $v1
/* 7FEC0 800E6A10 1440004F */ bnez $v0, .L800E6B50
/* 7FEC4 800E6A14 0000102D */ daddu $v0, $zero, $zero
/* 7FEC8 800E6A18 8E220000 */ lw $v0, ($s1)
/* 7FECC 800E6A1C 30420100 */ andi $v0, $v0, 0x100
/* 7FED0 800E6A20 1440004B */ bnez $v0, .L800E6B50
/* 7FED4 800E6A24 0000102D */ daddu $v0, $zero, $zero
/* 7FED8 800E6A28 30822010 */ andi $v0, $a0, 0x2010
/* 7FEDC 800E6A2C 14400048 */ bnez $v0, .L800E6B50
/* 7FEE0 800E6A30 0000102D */ daddu $v0, $zero, $zero
/* 7FEE4 800E6A34 30A21003 */ andi $v0, $a1, 0x1003
/* 7FEE8 800E6A38 10400045 */ beqz $v0, .L800E6B50
/* 7FEEC 800E6A3C 0000102D */ daddu $v0, $zero, $zero
/* 7FEF0 800E6A40 3C028007 */ lui $v0, %hi(gGameStatusPtr)
/* 7FEF4 800E6A44 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
/* 7FEF8 800E6A48 8C420144 */ lw $v0, 0x144($v0)
/* 7FEFC 800E6A4C 10400005 */ beqz $v0, .L800E6A64
/* 7FF00 800E6A50 00000000 */ nop
/* 7FF04 800E6A54 94420000 */ lhu $v0, ($v0)
/* 7FF08 800E6A58 30420001 */ andi $v0, $v0, 1
/* 7FF0C 800E6A5C 1440003C */ bnez $v0, .L800E6B50
/* 7FF10 800E6A60 0000102D */ daddu $v0, $zero, $zero
.L800E6A64:
/* 7FF14 800E6A64 3C02800A */ lui $v0, %hi(gOverrideFlags)
/* 7FF18 800E6A68 8C42A650 */ lw $v0, %lo(gOverrideFlags)($v0)
/* 7FF1C 800E6A6C 3C030004 */ lui $v1, 4
/* 7FF20 800E6A70 00431024 */ and $v0, $v0, $v1
/* 7FF24 800E6A74 14400036 */ bnez $v0, .L800E6B50
/* 7FF28 800E6A78 0000102D */ daddu $v0, $zero, $zero
/* 7FF2C 800E6A7C 0C04D07A */ jal is_picking_up_item
/* 7FF30 800E6A80 00000000 */ nop
/* 7FF34 800E6A84 14400032 */ bnez $v0, .L800E6B50
/* 7FF38 800E6A88 0000102D */ daddu $v0, $zero, $zero
/* 7FF3C 800E6A8C 8E220004 */ lw $v0, 4($s1)
/* 7FF40 800E6A90 30424000 */ andi $v0, $v0, 0x4000
/* 7FF44 800E6A94 1440002B */ bnez $v0, .L800E6B44
/* 7FF48 800E6A98 00000000 */ nop
/* 7FF4C 800E6A9C 82420000 */ lb $v0, ($s2)
/* 7FF50 800E6AA0 1440000A */ bnez $v0, .L800E6ACC
/* 7FF54 800E6AA4 00000000 */ nop
/* 7FF58 800E6AA8 8E220000 */ lw $v0, ($s1)
/* 7FF5C 800E6AAC 30421000 */ andi $v0, $v0, 0x1000
/* 7FF60 800E6AB0 14400027 */ bnez $v0, .L800E6B50
/* 7FF64 800E6AB4 0000102D */ daddu $v0, $zero, $zero
/* 7FF68 800E6AB8 2E020003 */ sltiu $v0, $s0, 3
/* 7FF6C 800E6ABC 10400023 */ beqz $v0, .L800E6B4C
/* 7FF70 800E6AC0 24020001 */ addiu $v0, $zero, 1
/* 7FF74 800E6AC4 08039AD4 */ j .L800E6B50
/* 7FF78 800E6AC8 00000000 */ nop
.L800E6ACC:
/* 7FF7C 800E6ACC 0C03ACF8 */ jal partner_player_can_pause
/* 7FF80 800E6AD0 00000000 */ nop
/* 7FF84 800E6AD4 1040001D */ beqz $v0, .L800E6B4C
/* 7FF88 800E6AD8 24020006 */ addiu $v0, $zero, 6
/* 7FF8C 800E6ADC 82430003 */ lb $v1, 3($s2)
/* 7FF90 800E6AE0 14620003 */ bne $v1, $v0, .L800E6AF0
/* 7FF94 800E6AE4 24020009 */ addiu $v0, $zero, 9
/* 7FF98 800E6AE8 08039AD4 */ j .L800E6B50
/* 7FF9C 800E6AEC 2E020003 */ sltiu $v0, $s0, 3
.L800E6AF0:
/* 7FFA0 800E6AF0 14620007 */ bne $v1, $v0, .L800E6B10
/* 7FFA4 800E6AF4 24020008 */ addiu $v0, $zero, 8
/* 7FFA8 800E6AF8 24020021 */ addiu $v0, $zero, 0x21
/* 7FFAC 800E6AFC 16020014 */ bne $s0, $v0, .L800E6B50
/* 7FFB0 800E6B00 0000102D */ daddu $v0, $zero, $zero
/* 7FFB4 800E6B04 A220000F */ sb $zero, 0xf($s1)
/* 7FFB8 800E6B08 08039AD4 */ j .L800E6B50
/* 7FFBC 800E6B0C 24020001 */ addiu $v0, $zero, 1
.L800E6B10:
/* 7FFC0 800E6B10 1462000A */ bne $v1, $v0, .L800E6B3C
/* 7FFC4 800E6B14 24020007 */ addiu $v0, $zero, 7
/* 7FFC8 800E6B18 24020021 */ addiu $v0, $zero, 0x21
/* 7FFCC 800E6B1C 1602000C */ bne $s0, $v0, .L800E6B50
/* 7FFD0 800E6B20 0000102D */ daddu $v0, $zero, $zero
/* 7FFD4 800E6B24 0C0AF5F7 */ jal func_802BD7DC
/* 7FFD8 800E6B28 00000000 */ nop
/* 7FFDC 800E6B2C 14400008 */ bnez $v0, .L800E6B50
/* 7FFE0 800E6B30 24020001 */ addiu $v0, $zero, 1
/* 7FFE4 800E6B34 08039AD1 */ j .L800E6B44
/* 7FFE8 800E6B38 00000000 */ nop
.L800E6B3C:
/* 7FFEC 800E6B3C 14620004 */ bne $v1, $v0, .L800E6B50
/* 7FFF0 800E6B40 0000102D */ daddu $v0, $zero, $zero
.L800E6B44:
/* 7FFF4 800E6B44 0C05272D */ jal sfx_play_sound
/* 7FFF8 800E6B48 2404021D */ addiu $a0, $zero, 0x21d
.L800E6B4C:
/* 7FFFC 800E6B4C 0000102D */ daddu $v0, $zero, $zero
.L800E6B50:
/* 80000 800E6B50 8FBF001C */ lw $ra, 0x1c($sp)
/* 80004 800E6B54 8FB20018 */ lw $s2, 0x18($sp)
/* 80008 800E6B58 8FB10014 */ lw $s1, 0x14($sp)
/* 8000C 800E6B5C 8FB00010 */ lw $s0, 0x10($sp)
/* 80010 800E6B60 03E00008 */ jr $ra
/* 80014 800E6B64 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,63 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800E6904
/* 7FDB4 800E6904 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 7FDB8 800E6908 AFB10014 */ sw $s1, 0x14($sp)
/* 7FDBC 800E690C 3C118011 */ lui $s1, %hi(gPartnerActionStatus)
/* 7FDC0 800E6910 2631EBB0 */ addiu $s1, $s1, %lo(gPartnerActionStatus)
/* 7FDC4 800E6914 3C028011 */ lui $v0, %hi(gPlayerStatus)
/* 7FDC8 800E6918 2442EFC8 */ addiu $v0, $v0, %lo(gPlayerStatus)
/* 7FDCC 800E691C 0040202D */ daddu $a0, $v0, $zero
/* 7FDD0 800E6920 3C030010 */ lui $v1, 0x10
/* 7FDD4 800E6924 AFBF0018 */ sw $ra, 0x18($sp)
/* 7FDD8 800E6928 AFB00010 */ sw $s0, 0x10($sp)
/* 7FDDC 800E692C 8C820004 */ lw $v0, 4($a0)
/* 7FDE0 800E6930 809000B4 */ lb $s0, 0xb4($a0)
/* 7FDE4 800E6934 00431024 */ and $v0, $v0, $v1
/* 7FDE8 800E6938 14400023 */ bnez $v0, .L800E69C8
/* 7FDEC 800E693C 0000102D */ daddu $v0, $zero, $zero
/* 7FDF0 800E6940 82220000 */ lb $v0, ($s1)
/* 7FDF4 800E6944 1440000A */ bnez $v0, .L800E6970
/* 7FDF8 800E6948 00000000 */ nop
/* 7FDFC 800E694C 8C820000 */ lw $v0, ($a0)
/* 7FE00 800E6950 30421000 */ andi $v0, $v0, 0x1000
/* 7FE04 800E6954 1440001C */ bnez $v0, .L800E69C8
/* 7FE08 800E6958 0000102D */ daddu $v0, $zero, $zero
/* 7FE0C 800E695C 2E020003 */ sltiu $v0, $s0, 3
/* 7FE10 800E6960 10400019 */ beqz $v0, .L800E69C8
/* 7FE14 800E6964 0000102D */ daddu $v0, $zero, $zero
.L800E6968:
/* 7FE18 800E6968 08039A72 */ j .L800E69C8
/* 7FE1C 800E696C 24020001 */ addiu $v0, $zero, 1
.L800E6970:
/* 7FE20 800E6970 0C03ACF8 */ jal partner_player_can_pause
/* 7FE24 800E6974 00000000 */ nop
/* 7FE28 800E6978 10400012 */ beqz $v0, .L800E69C4
/* 7FE2C 800E697C 24020006 */ addiu $v0, $zero, 6
/* 7FE30 800E6980 82230003 */ lb $v1, 3($s1)
/* 7FE34 800E6984 1062FFF8 */ beq $v1, $v0, .L800E6968
/* 7FE38 800E6988 24020009 */ addiu $v0, $zero, 9
/* 7FE3C 800E698C 14620006 */ bne $v1, $v0, .L800E69A8
/* 7FE40 800E6990 24020008 */ addiu $v0, $zero, 8
/* 7FE44 800E6994 24020021 */ addiu $v0, $zero, 0x21
/* 7FE48 800E6998 1602000B */ bne $s0, $v0, .L800E69C8
/* 7FE4C 800E699C 0000102D */ daddu $v0, $zero, $zero
/* 7FE50 800E69A0 08039A72 */ j .L800E69C8
/* 7FE54 800E69A4 24020001 */ addiu $v0, $zero, 1
.L800E69A8:
/* 7FE58 800E69A8 14620007 */ bne $v1, $v0, .L800E69C8
/* 7FE5C 800E69AC 0000102D */ daddu $v0, $zero, $zero
/* 7FE60 800E69B0 24020021 */ addiu $v0, $zero, 0x21
/* 7FE64 800E69B4 12020004 */ beq $s0, $v0, .L800E69C8
/* 7FE68 800E69B8 24020001 */ addiu $v0, $zero, 1
/* 7FE6C 800E69BC 0C05272D */ jal sfx_play_sound
/* 7FE70 800E69C0 2404021D */ addiu $a0, $zero, 0x21d
.L800E69C4:
/* 7FE74 800E69C4 0000102D */ daddu $v0, $zero, $zero
.L800E69C8:
/* 7FE78 800E69C8 8FBF0018 */ lw $ra, 0x18($sp)
/* 7FE7C 800E69CC 8FB10014 */ lw $s1, 0x14($sp)
/* 7FE80 800E69D0 8FB00010 */ lw $s0, 0x10($sp)
/* 7FE84 800E69D4 03E00008 */ jr $ra
/* 7FE88 800E69D8 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,48 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel setup_item_popup
/* 800F4 800E6C44 0000402D */ daddu $t0, $zero, $zero
/* 800F8 800E6C48 0100302D */ daddu $a2, $t0, $zero
/* 800FC 800E6C4C 3C0B8008 */ lui $t3, %hi(gItemTable)
/* 80100 800E6C50 256B78E0 */ addiu $t3, $t3, %lo(gItemTable)
/* 80104 800E6C54 3C0A8009 */ lui $t2, %hi(gItemHudScripts)
/* 80108 800E6C58 254AA680 */ addiu $t2, $t2, %lo(gItemHudScripts)
/* 8010C 800E6C5C 24090001 */ addiu $t1, $zero, 1
/* 80110 800E6C60 3C078011 */ lui $a3, %hi(gPlayerData)
/* 80114 800E6C64 24E7F290 */ addiu $a3, $a3, %lo(gPlayerData)
.L800E6C68:
/* 80118 800E6C68 84E201B4 */ lh $v0, 0x1b4($a3)
/* 8011C 800E6C6C 50400018 */ beql $v0, $zero, .L800E6CD0
/* 80120 800E6C70 24C60001 */ addiu $a2, $a2, 1
/* 80124 800E6C74 00021140 */ sll $v0, $v0, 5
/* 80128 800E6C78 004B2821 */ addu $a1, $v0, $t3
/* 8012C 800E6C7C 84A20004 */ lh $v0, 4($a1)
/* 80130 800E6C80 94A30018 */ lhu $v1, 0x18($a1)
/* 80134 800E6C84 000210C0 */ sll $v0, $v0, 3
/* 80138 800E6C88 30630001 */ andi $v1, $v1, 1
/* 8013C 800E6C8C 10600005 */ beqz $v1, .L800E6CA4
/* 80140 800E6C90 004A1021 */ addu $v0, $v0, $t2
/* 80144 800E6C94 8C420000 */ lw $v0, ($v0)
/* 80148 800E6C98 AC860108 */ sw $a2, 0x108($a0)
/* 8014C 800E6C9C 08039B2C */ j .L800E6CB0
/* 80150 800E6CA0 AC89018C */ sw $t1, 0x18c($a0)
.L800E6CA4:
/* 80154 800E6CA4 8C420004 */ lw $v0, 4($v0)
/* 80158 800E6CA8 AC860108 */ sw $a2, 0x108($a0)
/* 8015C 800E6CAC AC80018C */ sw $zero, 0x18c($a0)
.L800E6CB0:
/* 80160 800E6CB0 AC820000 */ sw $v0, ($a0)
/* 80164 800E6CB4 8CA20000 */ lw $v0, ($a1)
/* 80168 800E6CB8 AC820084 */ sw $v0, 0x84($a0)
/* 8016C 800E6CBC 8CA20014 */ lw $v0, 0x14($a1)
/* 80170 800E6CC0 25080001 */ addiu $t0, $t0, 1
/* 80174 800E6CC4 AC820294 */ sw $v0, 0x294($a0)
/* 80178 800E6CC8 24840004 */ addiu $a0, $a0, 4
/* 8017C 800E6CCC 24C60001 */ addiu $a2, $a2, 1
.L800E6CD0:
/* 80180 800E6CD0 28C2000A */ slti $v0, $a2, 0xa
/* 80184 800E6CD4 1440FFE4 */ bnez $v0, .L800E6C68
/* 80188 800E6CD8 24E70002 */ addiu $a3, $a3, 2
/* 8018C 800E6CDC 03E00008 */ jr $ra
/* 80190 800E6CE0 0100102D */ daddu $v0, $t0, $zero

View File

@ -1,58 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel setup_partner_popup
/* 80028 800E6B78 3C0B8011 */ lui $t3, %hi(gPlayerData)
/* 8002C 800E6B7C 256BF290 */ addiu $t3, $t3, %lo(gPlayerData)
/* 80030 800E6B80 0000502D */ daddu $t2, $zero, $zero
/* 80034 800E6B84 24090001 */ addiu $t1, $zero, 1
/* 80038 800E6B88 24180005 */ addiu $t8, $zero, 5
/* 8003C 800E6B8C 3C0F8009 */ lui $t7, %hi(gPartnerPopupProperties)
/* 80040 800E6B90 25EFEF20 */ addiu $t7, $t7, %lo(gPartnerPopupProperties)
/* 80044 800E6B94 3C0E800F */ lui $t6, %hi(wPartnerHudScripts)
/* 80048 800E6B98 25CE7F00 */ addiu $t6, $t6, %lo(wPartnerHudScripts)
/* 8004C 800E6B9C 0120682D */ daddu $t5, $t1, $zero
/* 80050 800E6BA0 3C0C800F */ lui $t4, %hi(wDisabledPartnerHudScripts)
/* 80054 800E6BA4 258C7F40 */ addiu $t4, $t4, %lo(wDisabledPartnerHudScripts)
/* 80058 800E6BA8 3C088009 */ lui $t0, %hi(D_8008EEC4)
/* 8005C 800E6BAC 2508EEC4 */ addiu $t0, $t0, %lo(D_8008EEC4)
.L800E6BB0:
/* 80060 800E6BB0 8D050000 */ lw $a1, ($t0)
/* 80064 800E6BB4 000510C0 */ sll $v0, $a1, 3
/* 80068 800E6BB8 01623021 */ addu $a2, $t3, $v0
/* 8006C 800E6BBC 90C20014 */ lbu $v0, 0x14($a2)
/* 80070 800E6BC0 5040001B */ beql $v0, $zero, .L800E6C30
/* 80074 800E6BC4 25290001 */ addiu $t1, $t1, 1
/* 80078 800E6BC8 50B80019 */ beql $a1, $t8, .L800E6C30
/* 8007C 800E6BCC 25290001 */ addiu $t1, $t1, 1
/* 80080 800E6BD0 00053880 */ sll $a3, $a1, 2
/* 80084 800E6BD4 00EE1021 */ addu $v0, $a3, $t6
/* 80088 800E6BD8 00051900 */ sll $v1, $a1, 4
/* 8008C 800E6BDC 8C420000 */ lw $v0, ($v0)
/* 80090 800E6BE0 006F1821 */ addu $v1, $v1, $t7
/* 80094 800E6BE4 AC850108 */ sw $a1, 0x108($a0)
/* 80098 800E6BE8 AC8D018C */ sw $t5, 0x18c($a0)
/* 8009C 800E6BEC AC820000 */ sw $v0, ($a0)
/* 800A0 800E6BF0 8C620000 */ lw $v0, ($v1)
/* 800A4 800E6BF4 AC820084 */ sw $v0, 0x84($a0)
/* 800A8 800E6BF8 8C620008 */ lw $v0, 8($v1)
/* 800AC 800E6BFC AC820294 */ sw $v0, 0x294($a0)
/* 800B0 800E6C00 80C20015 */ lb $v0, 0x15($a2)
/* 800B4 800E6C04 AC820210 */ sw $v0, 0x210($a0)
/* 800B8 800E6C08 81620012 */ lb $v0, 0x12($t3)
/* 800BC 800E6C0C 54450006 */ bnel $v0, $a1, .L800E6C28
/* 800C0 800E6C10 24840004 */ addiu $a0, $a0, 4
/* 800C4 800E6C14 00EC1021 */ addu $v0, $a3, $t4
/* 800C8 800E6C18 AC80018C */ sw $zero, 0x18c($a0)
/* 800CC 800E6C1C 8C420000 */ lw $v0, ($v0)
/* 800D0 800E6C20 AC820000 */ sw $v0, ($a0)
/* 800D4 800E6C24 24840004 */ addiu $a0, $a0, 4
.L800E6C28:
/* 800D8 800E6C28 254A0001 */ addiu $t2, $t2, 1
/* 800DC 800E6C2C 25290001 */ addiu $t1, $t1, 1
.L800E6C30:
/* 800E0 800E6C30 2922000C */ slti $v0, $t1, 0xc
/* 800E4 800E6C34 1440FFDE */ bnez $v0, .L800E6BB0
/* 800E8 800E6C38 25080004 */ addiu $t0, $t0, 4
/* 800EC 800E6C3C 03E00008 */ jr $ra
/* 800F0 800E6C40 0140102D */ daddu $v0, $t2, $zero

View File

@ -1,221 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.section .rodata
dlabel jtbl_802626F0_822F70
.word .L80241DF8_802678, .L80241E08_802688, .L80241E20_8026A0, .L80241E30_8026B0, .L80241E48_8026C8, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241E60_8026E0, .L80241E70_8026F0, .L80241E88_802708, .L80241E98_802718, .L80241EB0_802730, .L80241EC8_802748, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE8_802768, .L80241EE0_802760
.section .text
glabel func_80241C14_802494
/* 802494 80241C14 27BDFF98 */ addiu $sp, $sp, -0x68
/* 802498 80241C18 AFB40058 */ sw $s4, 0x58($sp)
/* 80249C 80241C1C 0080A02D */ daddu $s4, $a0, $zero
/* 8024A0 80241C20 AFBF0060 */ sw $ra, 0x60($sp)
/* 8024A4 80241C24 AFB5005C */ sw $s5, 0x5c($sp)
/* 8024A8 80241C28 AFB30054 */ sw $s3, 0x54($sp)
/* 8024AC 80241C2C AFB20050 */ sw $s2, 0x50($sp)
/* 8024B0 80241C30 AFB1004C */ sw $s1, 0x4c($sp)
/* 8024B4 80241C34 AFB00048 */ sw $s0, 0x48($sp)
/* 8024B8 80241C38 8E910148 */ lw $s1, 0x148($s4)
/* 8024BC 80241C3C 86240008 */ lh $a0, 8($s1)
/* 8024C0 80241C40 0C00EABB */ jal get_npc_unsafe
/* 8024C4 80241C44 00A0802D */ daddu $s0, $a1, $zero
/* 8024C8 80241C48 8E83000C */ lw $v1, 0xc($s4)
/* 8024CC 80241C4C 0280202D */ daddu $a0, $s4, $zero
/* 8024D0 80241C50 8C650000 */ lw $a1, ($v1)
/* 8024D4 80241C54 0C0B1EAF */ jal evt_get_variable
/* 8024D8 80241C58 0040902D */ daddu $s2, $v0, $zero
/* 8024DC 80241C5C AFA00018 */ sw $zero, 0x18($sp)
/* 8024E0 80241C60 8E2300D0 */ lw $v1, 0xd0($s1)
/* 8024E4 80241C64 8C630094 */ lw $v1, 0x94($v1)
/* 8024E8 80241C68 AFA3001C */ sw $v1, 0x1c($sp)
/* 8024EC 80241C6C 8E2300D0 */ lw $v1, 0xd0($s1)
/* 8024F0 80241C70 8C630080 */ lw $v1, 0x80($v1)
/* 8024F4 80241C74 AFA30020 */ sw $v1, 0x20($sp)
/* 8024F8 80241C78 8E2300D0 */ lw $v1, 0xd0($s1)
/* 8024FC 80241C7C 8C630088 */ lw $v1, 0x88($v1)
/* 802500 80241C80 AFA30024 */ sw $v1, 0x24($sp)
/* 802504 80241C84 8E2300D0 */ lw $v1, 0xd0($s1)
/* 802508 80241C88 8C63008C */ lw $v1, 0x8c($v1)
/* 80250C 80241C8C 27B50018 */ addiu $s5, $sp, 0x18
/* 802510 80241C90 AFA30028 */ sw $v1, 0x28($sp)
/* 802514 80241C94 8E2300D0 */ lw $v1, 0xd0($s1)
/* 802518 80241C98 3C014282 */ lui $at, 0x4282
/* 80251C 80241C9C 44810000 */ mtc1 $at, $f0
/* 802520 80241CA0 8C630090 */ lw $v1, 0x90($v1)
/* 802524 80241CA4 0040982D */ daddu $s3, $v0, $zero
/* 802528 80241CA8 E7A00030 */ swc1 $f0, 0x30($sp)
/* 80252C 80241CAC A7A00034 */ sh $zero, 0x34($sp)
/* 802530 80241CB0 16000005 */ bnez $s0, .L80241CC8
/* 802534 80241CB4 AFA3002C */ sw $v1, 0x2c($sp)
/* 802538 80241CB8 8E2200B0 */ lw $v0, 0xb0($s1)
/* 80253C 80241CBC 30420004 */ andi $v0, $v0, 4
/* 802540 80241CC0 10400044 */ beqz $v0, .L80241DD4
/* 802544 80241CC4 00000000 */ nop
.L80241CC8:
/* 802548 80241CC8 2404F7FF */ addiu $a0, $zero, -0x801
/* 80254C 80241CCC AE800070 */ sw $zero, 0x70($s4)
/* 802550 80241CD0 A640008E */ sh $zero, 0x8e($s2)
/* 802554 80241CD4 8E2200CC */ lw $v0, 0xcc($s1)
/* 802558 80241CD8 8E430000 */ lw $v1, ($s2)
/* 80255C 80241CDC 8C420000 */ lw $v0, ($v0)
/* 802560 80241CE0 00641824 */ and $v1, $v1, $a0
/* 802564 80241CE4 AE430000 */ sw $v1, ($s2)
/* 802568 80241CE8 AE420028 */ sw $v0, 0x28($s2)
/* 80256C 80241CEC 8E2200D0 */ lw $v0, 0xd0($s1)
/* 802570 80241CF0 8C420098 */ lw $v0, 0x98($v0)
/* 802574 80241CF4 54400005 */ bnel $v0, $zero, .L80241D0C
/* 802578 80241CF8 2402FDFF */ addiu $v0, $zero, -0x201
/* 80257C 80241CFC 34620200 */ ori $v0, $v1, 0x200
/* 802580 80241D00 2403FFF7 */ addiu $v1, $zero, -9
/* 802584 80241D04 08090745 */ j .L80241D14
/* 802588 80241D08 00431024 */ and $v0, $v0, $v1
.L80241D0C:
/* 80258C 80241D0C 00621024 */ and $v0, $v1, $v0
/* 802590 80241D10 34420008 */ ori $v0, $v0, 8
.L80241D14:
/* 802594 80241D14 AE420000 */ sw $v0, ($s2)
/* 802598 80241D18 8E2200B0 */ lw $v0, 0xb0($s1)
/* 80259C 80241D1C 30420004 */ andi $v0, $v0, 4
/* 8025A0 80241D20 10400008 */ beqz $v0, .L80241D44
/* 8025A4 80241D24 24020063 */ addiu $v0, $zero, 0x63
/* 8025A8 80241D28 AE820070 */ sw $v0, 0x70($s4)
/* 8025AC 80241D2C AE800074 */ sw $zero, 0x74($s4)
/* 8025B0 80241D30 8E2200B0 */ lw $v0, 0xb0($s1)
/* 8025B4 80241D34 2403FFFB */ addiu $v1, $zero, -5
/* 8025B8 80241D38 00431024 */ and $v0, $v0, $v1
/* 8025BC 80241D3C 0809075C */ j .L80241D70
/* 8025C0 80241D40 AE2200B0 */ sw $v0, 0xb0($s1)
.L80241D44:
/* 8025C4 80241D44 8E220000 */ lw $v0, ($s1)
/* 8025C8 80241D48 3C034000 */ lui $v1, 0x4000
/* 8025CC 80241D4C 00431024 */ and $v0, $v0, $v1
/* 8025D0 80241D50 10400007 */ beqz $v0, .L80241D70
/* 8025D4 80241D54 3C03BFFF */ lui $v1, 0xbfff
/* 8025D8 80241D58 2402000C */ addiu $v0, $zero, 0xc
/* 8025DC 80241D5C AE820070 */ sw $v0, 0x70($s4)
/* 8025E0 80241D60 8E220000 */ lw $v0, ($s1)
/* 8025E4 80241D64 3463FFFF */ ori $v1, $v1, 0xffff
/* 8025E8 80241D68 00431024 */ and $v0, $v0, $v1
/* 8025EC 80241D6C AE220000 */ sw $v0, ($s1)
.L80241D70:
/* 8025F0 80241D70 27A50038 */ addiu $a1, $sp, 0x38
/* 8025F4 80241D74 27A6003C */ addiu $a2, $sp, 0x3c
/* 8025F8 80241D78 C6400038 */ lwc1 $f0, 0x38($s2)
/* 8025FC 80241D7C 864200A8 */ lh $v0, 0xa8($s2)
/* 802600 80241D80 3C0142C8 */ lui $at, 0x42c8
/* 802604 80241D84 44812000 */ mtc1 $at, $f4
/* 802608 80241D88 44823000 */ mtc1 $v0, $f6
/* 80260C 80241D8C 00000000 */ nop
/* 802610 80241D90 468031A0 */ cvt.s.w $f6, $f6
/* 802614 80241D94 27A20044 */ addiu $v0, $sp, 0x44
/* 802618 80241D98 E7A00038 */ swc1 $f0, 0x38($sp)
/* 80261C 80241D9C C640003C */ lwc1 $f0, 0x3c($s2)
/* 802620 80241DA0 C6420040 */ lwc1 $f2, 0x40($s2)
/* 802624 80241DA4 46060000 */ add.s $f0, $f0, $f6
/* 802628 80241DA8 E7A40044 */ swc1 $f4, 0x44($sp)
/* 80262C 80241DAC E7A20040 */ swc1 $f2, 0x40($sp)
/* 802630 80241DB0 E7A0003C */ swc1 $f0, 0x3c($sp)
/* 802634 80241DB4 AFA20010 */ sw $v0, 0x10($sp)
/* 802638 80241DB8 8E440080 */ lw $a0, 0x80($s2)
/* 80263C 80241DBC 0C0372DF */ jal npc_raycast_down_sides
/* 802640 80241DC0 27A70040 */ addiu $a3, $sp, 0x40
/* 802644 80241DC4 10400003 */ beqz $v0, .L80241DD4
/* 802648 80241DC8 00000000 */ nop
/* 80264C 80241DCC C7A0003C */ lwc1 $f0, 0x3c($sp)
/* 802650 80241DD0 E640003C */ swc1 $f0, 0x3c($s2)
.L80241DD4:
/* 802654 80241DD4 8E830070 */ lw $v1, 0x70($s4)
/* 802658 80241DD8 2C620064 */ sltiu $v0, $v1, 0x64
/* 80265C 80241DDC 10400042 */ beqz $v0, .L80241EE8_802768
/* 802660 80241DE0 00031080 */ sll $v0, $v1, 2
/* 802664 80241DE4 3C018026 */ lui $at, %hi(jtbl_802626F0_822F70)
/* 802668 80241DE8 00220821 */ addu $at, $at, $v0
/* 80266C 80241DEC 8C2226F0 */ lw $v0, %lo(jtbl_802626F0_822F70)($at)
/* 802670 80241DF0 00400008 */ jr $v0
/* 802674 80241DF4 00000000 */ nop
.L80241DF8_802678:
/* 802678 80241DF8 0280202D */ daddu $a0, $s4, $zero
/* 80267C 80241DFC 0260282D */ daddu $a1, $s3, $zero
/* 802680 80241E00 0C090420 */ jal dup_mac_01_UnkNpcAIFunc24
/* 802684 80241E04 02A0302D */ daddu $a2, $s5, $zero
.L80241E08_802688:
/* 802688 80241E08 0280202D */ daddu $a0, $s4, $zero
/* 80268C 80241E0C 0260282D */ daddu $a1, $s3, $zero
/* 802690 80241E10 0C090476 */ jal mac_01_UnkFunc13
/* 802694 80241E14 02A0302D */ daddu $a2, $s5, $zero
/* 802698 80241E18 080907BA */ j .L80241EE8_802768
/* 80269C 80241E1C 00000000 */ nop
.L80241E20_8026A0:
/* 8026A0 80241E20 0280202D */ daddu $a0, $s4, $zero
/* 8026A4 80241E24 0260282D */ daddu $a1, $s3, $zero
/* 8026A8 80241E28 0C090520 */ jal dup_mac_01_UnkNpcAIFunc1
/* 8026AC 80241E2C 02A0302D */ daddu $a2, $s5, $zero
.L80241E30_8026B0:
/* 8026B0 80241E30 0280202D */ daddu $a0, $s4, $zero
/* 8026B4 80241E34 0260282D */ daddu $a1, $s3, $zero
/* 8026B8 80241E38 0C090550 */ jal mac_01_UnkFunc14
/* 8026BC 80241E3C 02A0302D */ daddu $a2, $s5, $zero
/* 8026C0 80241E40 080907BA */ j .L80241EE8_802768
/* 8026C4 80241E44 00000000 */ nop
.L80241E48_8026C8:
/* 8026C8 80241E48 0280202D */ daddu $a0, $s4, $zero
/* 8026CC 80241E4C 0260282D */ daddu $a1, $s3, $zero
/* 8026D0 80241E50 0C0905BF */ jal dup_mac_01_UnkNpcAIFunc25
/* 8026D4 80241E54 02A0302D */ daddu $a2, $s5, $zero
/* 8026D8 80241E58 080907BA */ j .L80241EE8_802768
/* 8026DC 80241E5C 00000000 */ nop
.L80241E60_8026E0:
/* 8026E0 80241E60 0280202D */ daddu $a0, $s4, $zero
/* 8026E4 80241E64 0260282D */ daddu $a1, $s3, $zero
/* 8026E8 80241E68 0C0905EC */ jal dup_mac_01_NpcJumpFunc2
/* 8026EC 80241E6C 02A0302D */ daddu $a2, $s5, $zero
.L80241E70_8026F0:
/* 8026F0 80241E70 0280202D */ daddu $a0, $s4, $zero
/* 8026F4 80241E74 0260282D */ daddu $a1, $s3, $zero
/* 8026F8 80241E78 0C090609 */ jal dup_mac_01_NpcJumpFunc
/* 8026FC 80241E7C 02A0302D */ daddu $a2, $s5, $zero
/* 802700 80241E80 080907BA */ j .L80241EE8_802768
/* 802704 80241E84 00000000 */ nop
.L80241E88_802708:
/* 802708 80241E88 0280202D */ daddu $a0, $s4, $zero
/* 80270C 80241E8C 0260282D */ daddu $a1, $s3, $zero
/* 802710 80241E90 0C090627 */ jal dup_mac_01_UnkNpcAIFunc13
/* 802714 80241E94 02A0302D */ daddu $a2, $s5, $zero
.L80241E98_802718:
/* 802718 80241E98 0280202D */ daddu $a0, $s4, $zero
/* 80271C 80241E9C 0260282D */ daddu $a1, $s3, $zero
/* 802720 80241EA0 0C090673 */ jal mac_01_UnkFunc15
/* 802724 80241EA4 02A0302D */ daddu $a2, $s5, $zero
/* 802728 80241EA8 080907BA */ j .L80241EE8_802768
/* 80272C 80241EAC 00000000 */ nop
.L80241EB0_802730:
/* 802730 80241EB0 0280202D */ daddu $a0, $s4, $zero
/* 802734 80241EB4 0260282D */ daddu $a1, $s3, $zero
/* 802738 80241EB8 0C0906BB */ jal dup_mac_01_UnkNpcDurationFlagFunc
/* 80273C 80241EBC 02A0302D */ daddu $a2, $s5, $zero
/* 802740 80241EC0 080907BA */ j .L80241EE8_802768
/* 802744 80241EC4 00000000 */ nop
.L80241EC8_802748:
/* 802748 80241EC8 0280202D */ daddu $a0, $s4, $zero
/* 80274C 80241ECC 0260282D */ daddu $a1, $s3, $zero
/* 802750 80241ED0 0C0906D5 */ jal mac_01_UnkFunc16
/* 802754 80241ED4 02A0302D */ daddu $a2, $s5, $zero
/* 802758 80241ED8 080907BA */ j .L80241EE8_802768
/* 80275C 80241EDC 00000000 */ nop
.L80241EE0_802760:
/* 802760 80241EE0 0C0129CF */ jal func_8004A73C
/* 802764 80241EE4 0280202D */ daddu $a0, $s4, $zero
.L80241EE8_802768:
/* 802768 80241EE8 8FBF0060 */ lw $ra, 0x60($sp)
/* 80276C 80241EEC 8FB5005C */ lw $s5, 0x5c($sp)
/* 802770 80241EF0 8FB40058 */ lw $s4, 0x58($sp)
/* 802774 80241EF4 8FB30054 */ lw $s3, 0x54($sp)
/* 802778 80241EF8 8FB20050 */ lw $s2, 0x50($sp)
/* 80277C 80241EFC 8FB1004C */ lw $s1, 0x4c($sp)
/* 802780 80241F00 8FB00048 */ lw $s0, 0x48($sp)
/* 802784 80241F04 0000102D */ daddu $v0, $zero, $zero
/* 802788 80241F08 03E00008 */ jr $ra
/* 80278C 80241F0C 27BD0068 */ addiu $sp, $sp, 0x68

View File

@ -20,8 +20,8 @@ glabel func_80245028_8058A8
/* 8058E4 80245064 0000B02D */ daddu $s6, $zero, $zero
/* 8058E8 80245068 24150001 */ addiu $s5, $zero, 1
/* 8058EC 8024506C 02A0282D */ daddu $a1, $s5, $zero
/* 8058F0 80245070 3C148009 */ lui $s4, %hi(D_8008EEC4)
/* 8058F4 80245074 2694EEC4 */ addiu $s4, $s4, %lo(D_8008EEC4)
/* 8058F0 80245070 3C148009 */ lui $s4, %hi(D_8008EEC0 + 4)
/* 8058F4 80245074 2694EEC4 */ addiu $s4, $s4, %lo(D_8008EEC0 + 4)
/* 8058F8 80245078 03C0882D */ daddu $s1, $fp, $zero
.L8024507C:
/* 8058FC 8024507C 8E900000 */ lw $s0, ($s4)

View File

@ -1,221 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.section .rodata
dlabel jtbl_802628A0_823120
.word .L802462C8_806B48, .L802462D8_806B58, .L802462F0_806B70, .L80246300_806B80, .L80246318_806B98, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L80246330_806BB0, .L80246340_806BC0, .L80246358_806BD8, .L80246368_806BE8, .L80246380_806C00, .L80246398_806C18, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B8_806C38, .L802463B0_806C30
.section .text
glabel func_802460E4_806964
/* 806964 802460E4 27BDFF98 */ addiu $sp, $sp, -0x68
/* 806968 802460E8 AFB40058 */ sw $s4, 0x58($sp)
/* 80696C 802460EC 0080A02D */ daddu $s4, $a0, $zero
/* 806970 802460F0 AFBF0060 */ sw $ra, 0x60($sp)
/* 806974 802460F4 AFB5005C */ sw $s5, 0x5c($sp)
/* 806978 802460F8 AFB30054 */ sw $s3, 0x54($sp)
/* 80697C 802460FC AFB20050 */ sw $s2, 0x50($sp)
/* 806980 80246100 AFB1004C */ sw $s1, 0x4c($sp)
/* 806984 80246104 AFB00048 */ sw $s0, 0x48($sp)
/* 806988 80246108 8E910148 */ lw $s1, 0x148($s4)
/* 80698C 8024610C 86240008 */ lh $a0, 8($s1)
/* 806990 80246110 0C00EABB */ jal get_npc_unsafe
/* 806994 80246114 00A0802D */ daddu $s0, $a1, $zero
/* 806998 80246118 8E83000C */ lw $v1, 0xc($s4)
/* 80699C 8024611C 0280202D */ daddu $a0, $s4, $zero
/* 8069A0 80246120 8C650000 */ lw $a1, ($v1)
/* 8069A4 80246124 0C0B1EAF */ jal evt_get_variable
/* 8069A8 80246128 0040902D */ daddu $s2, $v0, $zero
/* 8069AC 8024612C AFA00018 */ sw $zero, 0x18($sp)
/* 8069B0 80246130 8E2300D0 */ lw $v1, 0xd0($s1)
/* 8069B4 80246134 8C630094 */ lw $v1, 0x94($v1)
/* 8069B8 80246138 AFA3001C */ sw $v1, 0x1c($sp)
/* 8069BC 8024613C 8E2300D0 */ lw $v1, 0xd0($s1)
/* 8069C0 80246140 8C630080 */ lw $v1, 0x80($v1)
/* 8069C4 80246144 AFA30020 */ sw $v1, 0x20($sp)
/* 8069C8 80246148 8E2300D0 */ lw $v1, 0xd0($s1)
/* 8069CC 8024614C 8C630088 */ lw $v1, 0x88($v1)
/* 8069D0 80246150 AFA30024 */ sw $v1, 0x24($sp)
/* 8069D4 80246154 8E2300D0 */ lw $v1, 0xd0($s1)
/* 8069D8 80246158 8C63008C */ lw $v1, 0x8c($v1)
/* 8069DC 8024615C 27B50018 */ addiu $s5, $sp, 0x18
/* 8069E0 80246160 AFA30028 */ sw $v1, 0x28($sp)
/* 8069E4 80246164 8E2300D0 */ lw $v1, 0xd0($s1)
/* 8069E8 80246168 3C014282 */ lui $at, 0x4282
/* 8069EC 8024616C 44810000 */ mtc1 $at, $f0
/* 8069F0 80246170 8C630090 */ lw $v1, 0x90($v1)
/* 8069F4 80246174 0040982D */ daddu $s3, $v0, $zero
/* 8069F8 80246178 E7A00030 */ swc1 $f0, 0x30($sp)
/* 8069FC 8024617C A7A00034 */ sh $zero, 0x34($sp)
/* 806A00 80246180 16000005 */ bnez $s0, .L80246198
/* 806A04 80246184 AFA3002C */ sw $v1, 0x2c($sp)
/* 806A08 80246188 8E2200B0 */ lw $v0, 0xb0($s1)
/* 806A0C 8024618C 30420004 */ andi $v0, $v0, 4
/* 806A10 80246190 10400044 */ beqz $v0, .L802462A4
/* 806A14 80246194 00000000 */ nop
.L80246198:
/* 806A18 80246198 2404F7FF */ addiu $a0, $zero, -0x801
/* 806A1C 8024619C AE800070 */ sw $zero, 0x70($s4)
/* 806A20 802461A0 A640008E */ sh $zero, 0x8e($s2)
/* 806A24 802461A4 8E2200CC */ lw $v0, 0xcc($s1)
/* 806A28 802461A8 8E430000 */ lw $v1, ($s2)
/* 806A2C 802461AC 8C420000 */ lw $v0, ($v0)
/* 806A30 802461B0 00641824 */ and $v1, $v1, $a0
/* 806A34 802461B4 AE430000 */ sw $v1, ($s2)
/* 806A38 802461B8 AE420028 */ sw $v0, 0x28($s2)
/* 806A3C 802461BC 8E2200D0 */ lw $v0, 0xd0($s1)
/* 806A40 802461C0 8C420098 */ lw $v0, 0x98($v0)
/* 806A44 802461C4 54400005 */ bnel $v0, $zero, .L802461DC
/* 806A48 802461C8 2402FDFF */ addiu $v0, $zero, -0x201
/* 806A4C 802461CC 34620200 */ ori $v0, $v1, 0x200
/* 806A50 802461D0 2403FFF7 */ addiu $v1, $zero, -9
/* 806A54 802461D4 08091879 */ j .L802461E4
/* 806A58 802461D8 00431024 */ and $v0, $v0, $v1
.L802461DC:
/* 806A5C 802461DC 00621024 */ and $v0, $v1, $v0
/* 806A60 802461E0 34420008 */ ori $v0, $v0, 8
.L802461E4:
/* 806A64 802461E4 AE420000 */ sw $v0, ($s2)
/* 806A68 802461E8 8E2200B0 */ lw $v0, 0xb0($s1)
/* 806A6C 802461EC 30420004 */ andi $v0, $v0, 4
/* 806A70 802461F0 10400008 */ beqz $v0, .L80246214
/* 806A74 802461F4 24020063 */ addiu $v0, $zero, 0x63
/* 806A78 802461F8 AE820070 */ sw $v0, 0x70($s4)
/* 806A7C 802461FC AE800074 */ sw $zero, 0x74($s4)
/* 806A80 80246200 8E2200B0 */ lw $v0, 0xb0($s1)
/* 806A84 80246204 2403FFFB */ addiu $v1, $zero, -5
/* 806A88 80246208 00431024 */ and $v0, $v0, $v1
/* 806A8C 8024620C 08091890 */ j .L80246240
/* 806A90 80246210 AE2200B0 */ sw $v0, 0xb0($s1)
.L80246214:
/* 806A94 80246214 8E220000 */ lw $v0, ($s1)
/* 806A98 80246218 3C034000 */ lui $v1, 0x4000
/* 806A9C 8024621C 00431024 */ and $v0, $v0, $v1
/* 806AA0 80246220 10400007 */ beqz $v0, .L80246240
/* 806AA4 80246224 3C03BFFF */ lui $v1, 0xbfff
/* 806AA8 80246228 2402000C */ addiu $v0, $zero, 0xc
/* 806AAC 8024622C AE820070 */ sw $v0, 0x70($s4)
/* 806AB0 80246230 8E220000 */ lw $v0, ($s1)
/* 806AB4 80246234 3463FFFF */ ori $v1, $v1, 0xffff
/* 806AB8 80246238 00431024 */ and $v0, $v0, $v1
/* 806ABC 8024623C AE220000 */ sw $v0, ($s1)
.L80246240:
/* 806AC0 80246240 27A50038 */ addiu $a1, $sp, 0x38
/* 806AC4 80246244 27A6003C */ addiu $a2, $sp, 0x3c
/* 806AC8 80246248 C6400038 */ lwc1 $f0, 0x38($s2)
/* 806ACC 8024624C 864200A8 */ lh $v0, 0xa8($s2)
/* 806AD0 80246250 3C0142C8 */ lui $at, 0x42c8
/* 806AD4 80246254 44812000 */ mtc1 $at, $f4
/* 806AD8 80246258 44823000 */ mtc1 $v0, $f6
/* 806ADC 8024625C 00000000 */ nop
/* 806AE0 80246260 468031A0 */ cvt.s.w $f6, $f6
/* 806AE4 80246264 27A20044 */ addiu $v0, $sp, 0x44
/* 806AE8 80246268 E7A00038 */ swc1 $f0, 0x38($sp)
/* 806AEC 8024626C C640003C */ lwc1 $f0, 0x3c($s2)
/* 806AF0 80246270 C6420040 */ lwc1 $f2, 0x40($s2)
/* 806AF4 80246274 46060000 */ add.s $f0, $f0, $f6
/* 806AF8 80246278 E7A40044 */ swc1 $f4, 0x44($sp)
/* 806AFC 8024627C E7A20040 */ swc1 $f2, 0x40($sp)
/* 806B00 80246280 E7A0003C */ swc1 $f0, 0x3c($sp)
/* 806B04 80246284 AFA20010 */ sw $v0, 0x10($sp)
/* 806B08 80246288 8E440080 */ lw $a0, 0x80($s2)
/* 806B0C 8024628C 0C0372DF */ jal npc_raycast_down_sides
/* 806B10 80246290 27A70040 */ addiu $a3, $sp, 0x40
/* 806B14 80246294 10400003 */ beqz $v0, .L802462A4
/* 806B18 80246298 00000000 */ nop
/* 806B1C 8024629C C7A0003C */ lwc1 $f0, 0x3c($sp)
/* 806B20 802462A0 E640003C */ swc1 $f0, 0x3c($s2)
.L802462A4:
/* 806B24 802462A4 8E830070 */ lw $v1, 0x70($s4)
/* 806B28 802462A8 2C620064 */ sltiu $v0, $v1, 0x64
/* 806B2C 802462AC 10400042 */ beqz $v0, .L802463B8_806C38
/* 806B30 802462B0 00031080 */ sll $v0, $v1, 2
/* 806B34 802462B4 3C018026 */ lui $at, %hi(jtbl_802628A0_823120)
/* 806B38 802462B8 00220821 */ addu $at, $at, $v0
/* 806B3C 802462BC 8C2228A0 */ lw $v0, %lo(jtbl_802628A0_823120)($at)
/* 806B40 802462C0 00400008 */ jr $v0
/* 806B44 802462C4 00000000 */ nop
.L802462C8_806B48:
/* 806B48 802462C8 0280202D */ daddu $a0, $s4, $zero
/* 806B4C 802462CC 0260282D */ daddu $a1, $s3, $zero
/* 806B50 802462D0 0C091554 */ jal mac_01_UnkNpcAIFunc24
/* 806B54 802462D4 02A0302D */ daddu $a2, $s5, $zero
.L802462D8_806B58:
/* 806B58 802462D8 0280202D */ daddu $a0, $s4, $zero
/* 806B5C 802462DC 0260282D */ daddu $a1, $s3, $zero
/* 806B60 802462E0 0C0915AA */ jal dup_mac_01_UnkFunc13
/* 806B64 802462E4 02A0302D */ daddu $a2, $s5, $zero
/* 806B68 802462E8 080918EE */ j .L802463B8_806C38
/* 806B6C 802462EC 00000000 */ nop
.L802462F0_806B70:
/* 806B70 802462F0 0280202D */ daddu $a0, $s4, $zero
/* 806B74 802462F4 0260282D */ daddu $a1, $s3, $zero
/* 806B78 802462F8 0C091654 */ jal mac_01_UnkNpcAIFunc1
/* 806B7C 802462FC 02A0302D */ daddu $a2, $s5, $zero
.L80246300_806B80:
/* 806B80 80246300 0280202D */ daddu $a0, $s4, $zero
/* 806B84 80246304 0260282D */ daddu $a1, $s3, $zero
/* 806B88 80246308 0C091684 */ jal dup_mac_01_UnkFunc14
/* 806B8C 8024630C 02A0302D */ daddu $a2, $s5, $zero
/* 806B90 80246310 080918EE */ j .L802463B8_806C38
/* 806B94 80246314 00000000 */ nop
.L80246318_806B98:
/* 806B98 80246318 0280202D */ daddu $a0, $s4, $zero
/* 806B9C 8024631C 0260282D */ daddu $a1, $s3, $zero
/* 806BA0 80246320 0C0916F3 */ jal mac_01_UnkNpcAIFunc25
/* 806BA4 80246324 02A0302D */ daddu $a2, $s5, $zero
/* 806BA8 80246328 080918EE */ j .L802463B8_806C38
/* 806BAC 8024632C 00000000 */ nop
.L80246330_806BB0:
/* 806BB0 80246330 0280202D */ daddu $a0, $s4, $zero
/* 806BB4 80246334 0260282D */ daddu $a1, $s3, $zero
/* 806BB8 80246338 0C091720 */ jal mac_01_NpcJumpFunc2
/* 806BBC 8024633C 02A0302D */ daddu $a2, $s5, $zero
.L80246340_806BC0:
/* 806BC0 80246340 0280202D */ daddu $a0, $s4, $zero
/* 806BC4 80246344 0260282D */ daddu $a1, $s3, $zero
/* 806BC8 80246348 0C09173D */ jal mac_01_NpcJumpFunc
/* 806BCC 8024634C 02A0302D */ daddu $a2, $s5, $zero
/* 806BD0 80246350 080918EE */ j .L802463B8_806C38
/* 806BD4 80246354 00000000 */ nop
.L80246358_806BD8:
/* 806BD8 80246358 0280202D */ daddu $a0, $s4, $zero
/* 806BDC 8024635C 0260282D */ daddu $a1, $s3, $zero
/* 806BE0 80246360 0C09175B */ jal mac_01_UnkNpcAIFunc13
/* 806BE4 80246364 02A0302D */ daddu $a2, $s5, $zero
.L80246368_806BE8:
/* 806BE8 80246368 0280202D */ daddu $a0, $s4, $zero
/* 806BEC 8024636C 0260282D */ daddu $a1, $s3, $zero
/* 806BF0 80246370 0C0917A7 */ jal dup_mac_01_UnkFunc15
/* 806BF4 80246374 02A0302D */ daddu $a2, $s5, $zero
/* 806BF8 80246378 080918EE */ j .L802463B8_806C38
/* 806BFC 8024637C 00000000 */ nop
.L80246380_806C00:
/* 806C00 80246380 0280202D */ daddu $a0, $s4, $zero
/* 806C04 80246384 0260282D */ daddu $a1, $s3, $zero
/* 806C08 80246388 0C0917EF */ jal mac_01_UnkNpcDurationFlagFunc
/* 806C0C 8024638C 02A0302D */ daddu $a2, $s5, $zero
/* 806C10 80246390 080918EE */ j .L802463B8_806C38
/* 806C14 80246394 00000000 */ nop
.L80246398_806C18:
/* 806C18 80246398 0280202D */ daddu $a0, $s4, $zero
/* 806C1C 8024639C 0260282D */ daddu $a1, $s3, $zero
/* 806C20 802463A0 0C091809 */ jal dup_mac_01_UnkFunc16
/* 806C24 802463A4 02A0302D */ daddu $a2, $s5, $zero
/* 806C28 802463A8 080918EE */ j .L802463B8_806C38
/* 806C2C 802463AC 00000000 */ nop
.L802463B0_806C30:
/* 806C30 802463B0 0C0129CF */ jal func_8004A73C
/* 806C34 802463B4 0280202D */ daddu $a0, $s4, $zero
.L802463B8_806C38:
/* 806C38 802463B8 8FBF0060 */ lw $ra, 0x60($sp)
/* 806C3C 802463BC 8FB5005C */ lw $s5, 0x5c($sp)
/* 806C40 802463C0 8FB40058 */ lw $s4, 0x58($sp)
/* 806C44 802463C4 8FB30054 */ lw $s3, 0x54($sp)
/* 806C48 802463C8 8FB20050 */ lw $s2, 0x50($sp)
/* 806C4C 802463CC 8FB1004C */ lw $s1, 0x4c($sp)
/* 806C50 802463D0 8FB00048 */ lw $s0, 0x48($sp)
/* 806C54 802463D4 0000102D */ daddu $v0, $zero, $zero
/* 806C58 802463D8 03E00008 */ jr $ra
/* 806C5C 802463DC 27BD0068 */ addiu $sp, $sp, 0x68

View File

@ -1,7 +1,7 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel btl_state_draw_switch_to_player_825E68
glabel func_80242BA8_825E68
/* 825E68 80242BA8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 825E6C 80242BAC AFBF0010 */ sw $ra, 0x10($sp)
/* 825E70 80242BB0 8C82000C */ lw $v0, 0xc($a0)

View File

@ -1,147 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.section .rodata
dlabel D_802BEC38_31CC58
.double 0.55
dlabel D_802BEC40_31CC60
.double 0.8, 0.0
.section .text
glabel world_kooper_test_first_strike
/* 31C838 802BE818 27BDFF80 */ addiu $sp, $sp, -0x80
/* 31C83C 802BE81C AFB10044 */ sw $s1, 0x44($sp)
/* 31C840 802BE820 3C11802C */ lui $s1, %hi(D_802BEB40_31CB60)
/* 31C844 802BE824 2631EB40 */ addiu $s1, $s1, %lo(D_802BEB40_31CB60)
/* 31C848 802BE828 AFBF0048 */ sw $ra, 0x48($sp)
/* 31C84C 802BE82C AFB00040 */ sw $s0, 0x40($sp)
/* 31C850 802BE830 F7BE0078 */ sdc1 $f30, 0x78($sp)
/* 31C854 802BE834 F7BC0070 */ sdc1 $f28, 0x70($sp)
/* 31C858 802BE838 F7BA0068 */ sdc1 $f26, 0x68($sp)
/* 31C85C 802BE83C F7B80060 */ sdc1 $f24, 0x60($sp)
/* 31C860 802BE840 F7B60058 */ sdc1 $f22, 0x58($sp)
/* 31C864 802BE844 F7B40050 */ sdc1 $f20, 0x50($sp)
/* 31C868 802BE848 8E220000 */ lw $v0, ($s1)
/* 31C86C 802BE84C 10400069 */ beqz $v0, .L802BE9F4
/* 31C870 802BE850 0080802D */ daddu $s0, $a0, $zero
/* 31C874 802BE854 C6160038 */ lwc1 $f22, 0x38($s0)
/* 31C878 802BE858 C6180040 */ lwc1 $f24, 0x40($s0)
/* 31C87C 802BE85C 84A200A6 */ lh $v0, 0xa6($a1)
/* 31C880 802BE860 3C01802C */ lui $at, %hi(D_802BEC38_31CC58)
/* 31C884 802BE864 D420EC38 */ ldc1 $f0, %lo(D_802BEC38_31CC58)($at)
/* 31C888 802BE868 C4BE0038 */ lwc1 $f30, 0x38($a1)
/* 31C88C 802BE86C C4A80040 */ lwc1 $f8, 0x40($a1)
/* 31C890 802BE870 44822000 */ mtc1 $v0, $f4
/* 31C894 802BE874 00000000 */ nop
/* 31C898 802BE878 46802121 */ cvt.d.w $f4, $f4
/* 31C89C 802BE87C 46004386 */ mov.s $f14, $f8
/* 31C8A0 802BE880 46202102 */ mul.d $f4, $f4, $f0
/* 31C8A4 802BE884 00000000 */ nop
/* 31C8A8 802BE888 E7A80030 */ swc1 $f8, 0x30($sp)
/* 31C8AC 802BE88C 860200A6 */ lh $v0, 0xa6($s0)
/* 31C8B0 802BE890 3C01802C */ lui $at, %hi(D_802BEC40_31CC60)
/* 31C8B4 802BE894 D420EC40 */ ldc1 $f0, %lo(D_802BEC40_31CC60)($at)
/* 31C8B8 802BE898 4406B000 */ mfc1 $a2, $f22
/* 31C8BC 802BE89C 44821000 */ mtc1 $v0, $f2
/* 31C8C0 802BE8A0 00000000 */ nop
/* 31C8C4 802BE8A4 468010A1 */ cvt.d.w $f2, $f2
/* 31C8C8 802BE8A8 84A200A8 */ lh $v0, 0xa8($a1)
/* 31C8CC 802BE8AC 4407C000 */ mfc1 $a3, $f24
/* 31C8D0 802BE8B0 44825000 */ mtc1 $v0, $f10
/* 31C8D4 802BE8B4 00000000 */ nop
/* 31C8D8 802BE8B8 468052A0 */ cvt.s.w $f10, $f10
/* 31C8DC 802BE8BC E7AA0034 */ swc1 $f10, 0x34($sp)
/* 31C8E0 802BE8C0 860200A8 */ lh $v0, 0xa8($s0)
/* 31C8E4 802BE8C4 46201082 */ mul.d $f2, $f2, $f0
/* 31C8E8 802BE8C8 00000000 */ nop
/* 31C8EC 802BE8CC 44824000 */ mtc1 $v0, $f8
/* 31C8F0 802BE8D0 00000000 */ nop
/* 31C8F4 802BE8D4 46804220 */ cvt.s.w $f8, $f8
/* 31C8F8 802BE8D8 E7A8003C */ swc1 $f8, 0x3c($sp)
/* 31C8FC 802BE8DC C4AA003C */ lwc1 $f10, 0x3c($a1)
/* 31C900 802BE8E0 E7AA002C */ swc1 $f10, 0x2c($sp)
/* 31C904 802BE8E4 C608003C */ lwc1 $f8, 0x3c($s0)
/* 31C908 802BE8E8 4600F306 */ mov.s $f12, $f30
/* 31C90C 802BE8EC E7A80038 */ swc1 $f8, 0x38($sp)
/* 31C910 802BE8F0 46202720 */ cvt.s.d $f28, $f4
/* 31C914 802BE8F4 0C00A720 */ jal atan2
/* 31C918 802BE8F8 462016A0 */ cvt.s.d $f26, $f2
/* 31C91C 802BE8FC 4600F306 */ mov.s $f12, $f30
/* 31C920 802BE900 C7AE0030 */ lwc1 $f14, 0x30($sp)
/* 31C924 802BE904 4406B000 */ mfc1 $a2, $f22
/* 31C928 802BE908 4407C000 */ mfc1 $a3, $f24
/* 31C92C 802BE90C 0C00A7B5 */ jal dist2D
/* 31C930 802BE910 46000506 */ mov.s $f20, $f0
/* 31C934 802BE914 27A60024 */ addiu $a2, $sp, 0x24
/* 31C938 802BE918 27A70028 */ addiu $a3, $sp, 0x28
/* 31C93C 802BE91C 0000202D */ daddu $a0, $zero, $zero
/* 31C940 802BE920 C6020038 */ lwc1 $f2, 0x38($s0)
/* 31C944 802BE924 C604003C */ lwc1 $f4, 0x3c($s0)
/* 31C948 802BE928 C6060040 */ lwc1 $f6, 0x40($s0)
/* 31C94C 802BE92C C7AA003C */ lwc1 $f10, 0x3c($sp)
/* 31C950 802BE930 27A50020 */ addiu $a1, $sp, 0x20
/* 31C954 802BE934 E7A20020 */ swc1 $f2, 0x20($sp)
/* 31C958 802BE938 E7A40024 */ swc1 $f4, 0x24($sp)
/* 31C95C 802BE93C E7A60028 */ swc1 $f6, 0x28($sp)
/* 31C960 802BE940 E7A00010 */ swc1 $f0, 0x10($sp)
/* 31C964 802BE944 461CD000 */ add.s $f0, $f26, $f28
/* 31C968 802BE948 E7B40014 */ swc1 $f20, 0x14($sp)
/* 31C96C 802BE94C E7AA0018 */ swc1 $f10, 0x18($sp)
/* 31C970 802BE950 0C0376B9 */ jal npc_test_move_taller_with_slipping
/* 31C974 802BE954 E7A0001C */ swc1 $f0, 0x1c($sp)
/* 31C978 802BE958 54400027 */ bnel $v0, $zero, .L802BE9F8
/* 31C97C 802BE95C 0000102D */ daddu $v0, $zero, $zero
/* 31C980 802BE960 C7A8002C */ lwc1 $f8, 0x2c($sp)
/* 31C984 802BE964 C7AA0034 */ lwc1 $f10, 0x34($sp)
/* 31C988 802BE968 460A4000 */ add.s $f0, $f8, $f10
/* 31C98C 802BE96C C7A80038 */ lwc1 $f8, 0x38($sp)
/* 31C990 802BE970 4608003C */ c.lt.s $f0, $f8
/* 31C994 802BE974 00000000 */ nop
/* 31C998 802BE978 4503001F */ bc1tl .L802BE9F8
/* 31C99C 802BE97C 0000102D */ daddu $v0, $zero, $zero
/* 31C9A0 802BE980 C7AA0038 */ lwc1 $f10, 0x38($sp)
/* 31C9A4 802BE984 C7A8003C */ lwc1 $f8, 0x3c($sp)
/* 31C9A8 802BE988 46085000 */ add.s $f0, $f10, $f8
/* 31C9AC 802BE98C C7AA002C */ lwc1 $f10, 0x2c($sp)
/* 31C9B0 802BE990 460A003C */ c.lt.s $f0, $f10
/* 31C9B4 802BE994 00000000 */ nop
/* 31C9B8 802BE998 45030017 */ bc1tl .L802BE9F8
/* 31C9BC 802BE99C 0000102D */ daddu $v0, $zero, $zero
/* 31C9C0 802BE9A0 461AD002 */ mul.s $f0, $f26, $f26
/* 31C9C4 802BE9A4 00000000 */ nop
/* 31C9C8 802BE9A8 461CE082 */ mul.s $f2, $f28, $f28
/* 31C9CC 802BE9AC 00000000 */ nop
/* 31C9D0 802BE9B0 4616F581 */ sub.s $f22, $f30, $f22
/* 31C9D4 802BE9B4 4616B182 */ mul.s $f6, $f22, $f22
/* 31C9D8 802BE9B8 00000000 */ nop
/* 31C9DC 802BE9BC C7A80030 */ lwc1 $f8, 0x30($sp)
/* 31C9E0 802BE9C0 46184601 */ sub.s $f24, $f8, $f24
/* 31C9E4 802BE9C4 4618C102 */ mul.s $f4, $f24, $f24
/* 31C9E8 802BE9C8 00000000 */ nop
/* 31C9EC 802BE9CC 46020000 */ add.s $f0, $f0, $f2
/* 31C9F0 802BE9D0 46043180 */ add.s $f6, $f6, $f4
/* 31C9F4 802BE9D4 4606003E */ c.le.s $f0, $f6
/* 31C9F8 802BE9D8 00000000 */ nop
/* 31C9FC 802BE9DC 45030006 */ bc1tl .L802BE9F8
/* 31CA00 802BE9E0 0000102D */ daddu $v0, $zero, $zero
/* 31CA04 802BE9E4 24020002 */ addiu $v0, $zero, 2
/* 31CA08 802BE9E8 AE220000 */ sw $v0, ($s1)
/* 31CA0C 802BE9EC 080AFA7E */ j .L802BE9F8
/* 31CA10 802BE9F0 24020001 */ addiu $v0, $zero, 1
.L802BE9F4:
/* 31CA14 802BE9F4 0000102D */ daddu $v0, $zero, $zero
.L802BE9F8:
/* 31CA18 802BE9F8 8FBF0048 */ lw $ra, 0x48($sp)
/* 31CA1C 802BE9FC 8FB10044 */ lw $s1, 0x44($sp)
/* 31CA20 802BEA00 8FB00040 */ lw $s0, 0x40($sp)
/* 31CA24 802BEA04 D7BE0078 */ ldc1 $f30, 0x78($sp)
/* 31CA28 802BEA08 D7BC0070 */ ldc1 $f28, 0x70($sp)
/* 31CA2C 802BEA0C D7BA0068 */ ldc1 $f26, 0x68($sp)
/* 31CA30 802BEA10 D7B80060 */ ldc1 $f24, 0x60($sp)
/* 31CA34 802BEA14 D7B60058 */ ldc1 $f22, 0x58($sp)
/* 31CA38 802BEA18 D7B40050 */ ldc1 $f20, 0x50($sp)
/* 31CA3C 802BEA1C 03E00008 */ jr $ra
/* 31CA40 802BEA20 27BD0080 */ addiu $sp, $sp, 0x80

View File

@ -11953,8 +11953,8 @@ mac_00_Pipe_AwaitDownInput = 0x80240034; // type:func rom:0x7EAD44
mac_00_Pipe_GetEntryPos = 0x802400F0; // type:func rom:0x7EAE00
mac_00_Pipe_GetCameraYaw = 0x802401D0; // type:func rom:0x7EAEE0
mac_00_Pipe_GetPointAheadOfPlayer = 0x8024023C; // type:func rom:0x7EAF4C
mac_00_UnkTexturePanFunc = 0x802402E0; // type:func rom:0x7EAFF0
mac_00_UnkTexturePanFunc2 = 0x80240404; // type:func rom:0x7EB114
mac_00_UpdateTexturePanSmooth = 0x802402E0; // type:func rom:0x7EAFF0
mac_00_UpdateTexturePanStepped = 0x80240404; // type:func rom:0x7EB114
func_802405EC_7EB2FC = 0x802405EC; // type:func rom:0x7EB2FC
func_80240624_7EB334 = 0x80240624; // type:func rom:0x7EB334
mac_00_StashVars = 0x80240630; // type:func rom:0x7EB340
@ -12183,8 +12183,8 @@ mac_02_Pipe_AwaitDownInput = 0x80240034; // type:func rom:0x8232F4
mac_02_Pipe_GetEntryPos = 0x802400F0; // type:func rom:0x8233B0
mac_02_Pipe_GetCameraYaw = 0x802401D0; // type:func rom:0x823490
mac_02_Pipe_GetPointAheadOfPlayer = 0x8024023C; // type:func rom:0x8234FC
mac_02_UnkTexturePanFunc = 0x802402E0; // type:func rom:0x8235A0
mac_02_UnkTexturePanFunc2 = 0x80240404; // type:func rom:0x8236C4
mac_02_UpdateTexturePanSmooth = 0x802402E0; // type:func rom:0x8235A0
mac_02_UpdateTexturePanStepped = 0x80240404; // type:func rom:0x8236C4
func_802405F0_8238B0 = 0x802405F0; // type:func rom:0x8238B0
mac_02_foliage_setup_shear_mtx = 0x802406B0; // type:func rom:0x823970
mac_02_TransformFoliage = 0x80240720; // type:func rom:0x8239E0
@ -12233,7 +12233,7 @@ mac_02_AddPlayerHandsOffset = 0x802428B0; // type:func rom:0x825B70
func_80242A80_825D40 = 0x80242A80; // type:func rom:0x825D40
func_80242AD4_825D94 = 0x80242AD4; // type:func rom:0x825D94
func_80242B0C_825DCC = 0x80242B0C; // type:func rom:0x825DCC
btl_state_draw_switch_to_player_825E68 = 0x80242BA8; // type:func rom:0x825E68
func_80242BA8_825E68 = 0x80242BA8; // type:func rom:0x825E68
func_80242C44_825F04 = 0x80242C44; // type:func rom:0x825F04
func_80242DBC_82607C = 0x80242DBC; // type:func rom:0x82607C
func_80242F60_826220 = 0x80242F60; // type:func rom:0x826220
@ -12506,8 +12506,8 @@ D_80243438_867F78 = 0x80243438; // type:data rom:0x867F78
D_8024343C_867F7C = 0x8024343C; // type:data rom:0x867F7C
D_80243440_867F80 = 0x80243440; // type:data rom:0x867F80
D_80244968_8694A8 = 0x80244968; // type:data rom:0x8694A8
tik_01_UnkTexturePanFunc = 0x80240000; // type:func rom:0x8694B0
tik_01_UnkTexturePanFunc2 = 0x80240124; // type:func rom:0x8695D4
tik_01_UpdateTexturePanSmooth = 0x80240000; // type:func rom:0x8694B0
tik_01_UpdateTexturePanStepped = 0x80240124; // type:func rom:0x8695D4
tik_01_Pipe_SetAnimFlag = 0x8024030C; // type:func rom:0x8697BC
tik_01_Pipe_GetCurrentFloor = 0x8024032C; // type:func rom:0x8697DC
tik_01_Pipe_AwaitDownInput = 0x80240340; // type:func rom:0x8697F0
@ -12534,16 +12534,16 @@ tik_03_Pipe_AwaitDownInput = 0x80240034; // type:func rom:0x86EB34
tik_03_Pipe_GetEntryPos = 0x802400F0; // type:func rom:0x86EBF0
tik_03_Pipe_GetCameraYaw = 0x802401D0; // type:func rom:0x86ECD0
tik_03_Pipe_GetPointAheadOfPlayer = 0x8024023C; // type:func rom:0x86ED3C
tik_03_UnkTexturePanFunc = 0x802402E0; // type:func rom:0x86EDE0
tik_03_UnkTexturePanFunc2 = 0x80240404; // type:func rom:0x86EF04
tik_03_UpdateTexturePanSmooth = 0x802402E0; // type:func rom:0x86EDE0
tik_03_UpdateTexturePanStepped = 0x80240404; // type:func rom:0x86EF04
tik_03_UnkPosFunc2 = 0x802405F0; // type:func rom:0x86F0F0
func_80240960_86F460 = 0x80240960; // type:func rom:0x86F460
func_802409C0_86F4C0 = 0x802409C0; // type:func rom:0x86F4C0
func_802409E0_86F4E0 = 0x802409E0; // type:func rom:0x86F4E0
D_80242930_871430 = 0x80242930; // type:data rom:0x871430
D_80242EBC_8719BC = 0x80242EBC; // type:data rom:0x8719BC
tik_04_UnkTexturePanFunc = 0x80240000; // type:func rom:0x871A30
tik_04_UnkTexturePanFunc2 = 0x80240124; // type:func rom:0x871B54
tik_04_UpdateTexturePanSmooth = 0x80240000; // type:func rom:0x871A30
tik_04_UpdateTexturePanStepped = 0x80240124; // type:func rom:0x871B54
tik_04_Pipe_SetAnimFlag = 0x8024030C; // type:func rom:0x871D3C
tik_04_Pipe_GetCurrentFloor = 0x8024032C; // type:func rom:0x871D5C
tik_04_Pipe_AwaitDownInput = 0x80240340; // type:func rom:0x871D70
@ -12571,8 +12571,8 @@ tik_06_Pipe_AwaitDownInput = 0x80240034; // type:func rom:0x876F14
tik_06_Pipe_GetEntryPos = 0x802400F0; // type:func rom:0x876FD0
tik_06_Pipe_GetCameraYaw = 0x802401D0; // type:func rom:0x8770B0
tik_06_Pipe_GetPointAheadOfPlayer = 0x8024023C; // type:func rom:0x87711C
tik_06_UnkTexturePanFunc = 0x802402E0; // type:func rom:0x8771C0
tik_06_UnkTexturePanFunc2 = 0x80240404; // type:func rom:0x8772E4
tik_06_UpdateTexturePanSmooth = 0x802402E0; // type:func rom:0x8771C0
tik_06_UpdateTexturePanStepped = 0x80240404; // type:func rom:0x8772E4
tik_06_UnkPosFunc2 = 0x802405F0; // type:func rom:0x8774D0
tik_07_Pipe_SetAnimFlag = 0x80240000; // type:func rom:0x879BE0
tik_07_Pipe_GetCurrentFloor = 0x80240020; // type:func rom:0x879C00
@ -12626,8 +12626,8 @@ tik_08_Pipe_AwaitDownInput = 0x80240034; // type:func rom:0x87EE24
tik_08_Pipe_GetEntryPos = 0x802400F0; // type:func rom:0x87EEE0
tik_08_Pipe_GetCameraYaw = 0x802401D0; // type:func rom:0x87EFC0
tik_08_Pipe_GetPointAheadOfPlayer = 0x8024023C; // type:func rom:0x87F02C
tik_08_UnkTexturePanFunc = 0x802402E0; // type:func rom:0x87F0D0
tik_08_UnkTexturePanFunc2 = 0x80240404; // type:func rom:0x87F1F4
tik_08_UpdateTexturePanSmooth = 0x802402E0; // type:func rom:0x87F0D0
tik_08_UpdateTexturePanStepped = 0x80240404; // type:func rom:0x87F1F4
tik_08_UnkPosFunc2 = 0x802405F0; // type:func rom:0x87F3E0
tik_08_SetEntityPosition = 0x80240960; // type:func rom:0x87F750
tik_08_GetFloorCollider = 0x80240A30; // type:func rom:0x87F820
@ -12639,8 +12639,8 @@ tik_09_Pipe_AwaitDownInput = 0x80240034; // type:func rom:0x8821F4
tik_09_Pipe_GetEntryPos = 0x802400F0; // type:func rom:0x8822B0
tik_09_Pipe_GetCameraYaw = 0x802401D0; // type:func rom:0x882390
tik_09_Pipe_GetPointAheadOfPlayer = 0x8024023C; // type:func rom:0x8823FC
tik_09_UnkTexturePanFunc = 0x802402E0; // type:func rom:0x8824A0
tik_09_UnkTexturePanFunc2 = 0x80240404; // type:func rom:0x8825C4
tik_09_UpdateTexturePanSmooth = 0x802402E0; // type:func rom:0x8824A0
tik_09_UpdateTexturePanStepped = 0x80240404; // type:func rom:0x8825C4
tik_09_UnkPosFunc2 = 0x802405F0; // type:func rom:0x8827B0
tik_09_SetEntityPosition = 0x80240960; // type:func rom:0x882B20
tik_09_set_script_owner_npc_anim = 0x80240A30; // type:func rom:0x882BF0
@ -12681,8 +12681,8 @@ tik_12_Pipe_AwaitDownInput = 0x80240034; // type:func rom:0x888C04
tik_12_Pipe_GetEntryPos = 0x802400F0; // type:func rom:0x888CC0
tik_12_Pipe_GetCameraYaw = 0x802401D0; // type:func rom:0x888DA0
tik_12_Pipe_GetPointAheadOfPlayer = 0x8024023C; // type:func rom:0x888E0C
tik_12_UnkTexturePanFunc = 0x802402E0; // type:func rom:0x888EB0
tik_12_UnkTexturePanFunc2 = 0x80240404; // type:func rom:0x888FD4
tik_12_UpdateTexturePanSmooth = 0x802402E0; // type:func rom:0x888EB0
tik_12_UpdateTexturePanStepped = 0x80240404; // type:func rom:0x888FD4
tik_12_UnkPosFunc2 = 0x802405F0; // type:func rom:0x8891C0
tik_12_StashVars = 0x80240960; // type:func rom:0x889530
tik_12_GetItemName = 0x80240A14; // type:func rom:0x8895E4
@ -12726,8 +12726,8 @@ tik_14_Pipe_AwaitDownInput = 0x80240034; // type:func rom:0x88D634
tik_14_Pipe_GetEntryPos = 0x802400F0; // type:func rom:0x88D6F0
tik_14_Pipe_GetCameraYaw = 0x802401D0; // type:func rom:0x88D7D0
tik_14_Pipe_GetPointAheadOfPlayer = 0x8024023C; // type:func rom:0x88D83C
tik_14_UnkTexturePanFunc = 0x802402E0; // type:func rom:0x88D8E0
tik_14_UnkTexturePanFunc2 = 0x80240404; // type:func rom:0x88DA04
tik_14_UpdateTexturePanSmooth = 0x802402E0; // type:func rom:0x88D8E0
tik_14_UpdateTexturePanStepped = 0x80240404; // type:func rom:0x88DA04
tik_14_UnkPosFunc2 = 0x802405F0; // type:func rom:0x88DBF0
tik_15_Pipe_SetAnimFlag = 0x80240000; // type:func rom:0x88FBA0
tik_15_Pipe_GetCurrentFloor = 0x80240020; // type:func rom:0x88FBC0
@ -12735,8 +12735,8 @@ tik_15_Pipe_AwaitDownInput = 0x80240034; // type:func rom:0x88FBD4
tik_15_Pipe_GetEntryPos = 0x802400F0; // type:func rom:0x88FC90
tik_15_Pipe_GetCameraYaw = 0x802401D0; // type:func rom:0x88FD70
tik_15_Pipe_GetPointAheadOfPlayer = 0x8024023C; // type:func rom:0x88FDDC
tik_15_UnkTexturePanFunc = 0x802402E0; // type:func rom:0x88FE80
tik_15_UnkTexturePanFunc2 = 0x80240404; // type:func rom:0x88FFA4
tik_15_UpdateTexturePanSmooth = 0x802402E0; // type:func rom:0x88FE80
tik_15_UpdateTexturePanStepped = 0x80240404; // type:func rom:0x88FFA4
tik_15_UnkPosFunc2 = 0x802405F0; // type:func rom:0x890190
tik_15_StashVars = 0x80240960; // type:func rom:0x890500
tik_15_GetItemName = 0x80240A14; // type:func rom:0x8905B4
@ -12770,14 +12770,14 @@ tik_17_Pipe_AwaitDownInput = 0x80240DA4; // type:func rom:0x8937C4
tik_17_Pipe_GetEntryPos = 0x80240E60; // type:func rom:0x893880
tik_17_Pipe_GetCameraYaw = 0x80240F40; // type:func rom:0x893960
tik_17_Pipe_GetPointAheadOfPlayer = 0x80240FAC; // type:func rom:0x8939CC
tik_17_UnkTexturePanFunc = 0x80241050; // type:func rom:0x893A70
tik_17_UnkTexturePanFunc2 = 0x80241174; // type:func rom:0x893B94
tik_17_UpdateTexturePanSmooth = 0x80241050; // type:func rom:0x893A70
tik_17_UpdateTexturePanStepped = 0x80241174; // type:func rom:0x893B94
tik_17_SuperBlock_CantUpgradeMessages = 0x80241420; // type:data rom:0x893E40
tik_17_SuperBlock_PartnerIDs = 0x80241428; // type:data rom:0x893E48
tik_17_SuperBlock_UpgradeDescMessages = 0x80241438; // type:data rom:0x893E58
tik_17_SuperBlock_UpgradeOrbAngles = 0x80241478; // type:data rom:0x893E98
tik_18_UnkTexturePanFunc = 0x80240000; // type:func rom:0x8956E0
tik_18_UnkTexturePanFunc2 = 0x80240124; // type:func rom:0x895804
tik_18_UpdateTexturePanSmooth = 0x80240000; // type:func rom:0x8956E0
tik_18_UpdateTexturePanStepped = 0x80240124; // type:func rom:0x895804
tik_18_UnkPosFunc2 = 0x80240310; // type:func rom:0x8959F0
func_80240680_895D60 = 0x80240680; // type:func rom:0x895D60
tik_19_Pipe_SetAnimFlag = 0x80240000; // type:func rom:0x8975E0
@ -12786,8 +12786,8 @@ tik_19_Pipe_AwaitDownInput = 0x80240034; // type:func rom:0x897614
tik_19_Pipe_GetEntryPos = 0x802400F0; // type:func rom:0x8976D0
tik_19_Pipe_GetCameraYaw = 0x802401D0; // type:func rom:0x8977B0
tik_19_Pipe_GetPointAheadOfPlayer = 0x8024023C; // type:func rom:0x89781C
tik_19_UnkTexturePanFunc = 0x802402E0; // type:func rom:0x8978C0
tik_19_UnkTexturePanFunc2 = 0x80240404; // type:func rom:0x8979E4
tik_19_UpdateTexturePanSmooth = 0x802402E0; // type:func rom:0x8978C0
tik_19_UpdateTexturePanStepped = 0x80240404; // type:func rom:0x8979E4
tik_19_SuperBlock_SetOverride40 = 0x802405F0; // type:func rom:0x897BD0
tik_19_SuperBlock_ClearOverride40 = 0x8024060C; // type:func rom:0x897BEC
tik_19_SuperBlock_HideBlockContent = 0x8024062C; // type:func rom:0x897C0C
@ -12810,8 +12810,8 @@ tik_19_SuperBlock_CantUpgradeMessages = 0x802426B0; // type:data rom:0x899C90
tik_19_SuperBlock_PartnerIDs = 0x802426B8; // type:data rom:0x899C98
tik_19_SuperBlock_UpgradeDescMessages = 0x802426C8; // type:data rom:0x899CA8
tik_19_SuperBlock_UpgradeOrbAngles = 0x80242708; // type:data rom:0x899CE8
tik_20_UnkTexturePanFunc = 0x80240000; // type:func rom:0x89A350
tik_20_UnkTexturePanFunc2 = 0x80240124; // type:func rom:0x89A474
tik_20_UpdateTexturePanSmooth = 0x80240000; // type:func rom:0x89A350
tik_20_UpdateTexturePanStepped = 0x80240124; // type:func rom:0x89A474
tik_20_Pipe_SetAnimFlag = 0x8024030C; // type:func rom:0x89A65C
tik_20_Pipe_GetCurrentFloor = 0x8024032C; // type:func rom:0x89A67C
tik_20_Pipe_AwaitDownInput = 0x80240340; // type:func rom:0x89A690
@ -12825,8 +12825,8 @@ tik_20_UnkNpcAIFunc12 = 0x80240B10; // type:func rom:0x89AE60
tik_20_set_script_owner_npc_col_height = 0x80240C74; // type:func rom:0x89AFC4
tik_20_UnkNpcAIMainFunc5 = 0x80240CF4; // type:func rom:0x89B044
D_802433F0_89D740 = 0x802433F0; // type:data rom:0x89D740
tik_21_UnkTexturePanFunc = 0x80240000; // type:func rom:0x89D7A0
tik_21_UnkTexturePanFunc2 = 0x80240124; // type:func rom:0x89D8C4
tik_21_UpdateTexturePanSmooth = 0x80240000; // type:func rom:0x89D7A0
tik_21_UpdateTexturePanStepped = 0x80240124; // type:func rom:0x89D8C4
tik_21_Pipe_SetAnimFlag = 0x8024030C; // type:func rom:0x89DAAC
tik_21_Pipe_GetCurrentFloor = 0x8024032C; // type:func rom:0x89DACC
tik_21_Pipe_AwaitDownInput = 0x80240340; // type:func rom:0x89DAE0
@ -12835,8 +12835,8 @@ tik_21_Pipe_GetCameraYaw = 0x802404DC; // type:func rom:0x89DC7C
tik_21_Pipe_GetPointAheadOfPlayer = 0x80240548; // type:func rom:0x89DCE8
tik_21_UnkPosFunc2 = 0x802405EC; // type:func rom:0x89DD8C
func_80240000_89FEC0 = 0x80240000; // type:func rom:0x89FEC0
tik_22_UnkTexturePanFunc = 0x80240030; // type:func rom:0x89FEF0
tik_22_UnkTexturePanFunc2 = 0x80240154; // type:func rom:0x8A0014
tik_22_UpdateTexturePanSmooth = 0x80240030; // type:func rom:0x89FEF0
tik_22_UpdateTexturePanStepped = 0x80240154; // type:func rom:0x8A0014
tik_22_Pipe_SetAnimFlag = 0x8024033C; // type:func rom:0x8A01FC
tik_22_Pipe_GetCurrentFloor = 0x8024035C; // type:func rom:0x8A021C
tik_22_Pipe_AwaitDownInput = 0x80240370; // type:func rom:0x8A0230
@ -12851,8 +12851,8 @@ tik_23_Pipe_AwaitDownInput = 0x80240034; // type:func rom:0x8A2404
tik_23_Pipe_GetEntryPos = 0x802400F0; // type:func rom:0x8A24C0
tik_23_Pipe_GetCameraYaw = 0x802401D0; // type:func rom:0x8A25A0
tik_23_Pipe_GetPointAheadOfPlayer = 0x8024023C; // type:func rom:0x8A260C
tik_23_UnkTexturePanFunc = 0x802402E0; // type:func rom:0x8A26B0
tik_23_UnkTexturePanFunc2 = 0x80240404; // type:func rom:0x8A27D4
tik_23_UpdateTexturePanSmooth = 0x802402E0; // type:func rom:0x8A26B0
tik_23_UpdateTexturePanStepped = 0x80240404; // type:func rom:0x8A27D4
tik_23_UnkPosFunc2 = 0x802405EC; // type:func rom:0x8A29BC
tik_23_set_script_owner_npc_anim = 0x80240960; // type:func rom:0x8A2D30
tik_23_UnkDistFunc = 0x802409DC; // type:func rom:0x8A2DAC
@ -13232,7 +13232,7 @@ kmr_20_ToadHouse_Stub = 0x80241594; // type:func rom:0x8ED3B4
func_8024159C_8ED3BC = 0x8024159C; // type:func rom:0x8ED3BC
func_802415C4_8ED3E4 = 0x802415C4; // type:func rom:0x8ED3E4
kmr_20_WaitForPlayerToLand = 0x802415EC; // type:func rom:0x8ED40C
func_80241620_8ED440 = 0x80241620; // type:func rom:0x8ED440
kmr_20_StashVars = 0x80241620; // type:func rom:0x8ED440
kmr_20_GetItemName = 0x802416D4; // type:func rom:0x8ED4F4
func_80241738_8ED558 = 0x80241738; // type:func rom:0x8ED558
dup_kmr_20_Pipe_SetAnimFlag = 0x80241780; // type:func rom:0x8ED5A0
@ -13793,7 +13793,7 @@ dro_01_GetNpcCollisionHeight = 0x80242504; // type:func rom:0x95D704
dro_01_AddPlayerHandsOffset = 0x80242560; // type:func rom:0x95D760
dro_01_func_80242730_95D930 = 0x80242730; // type:func rom:0x95D930
dro_01_func_80242784_95D984 = 0x80242784; // type:func rom:0x95D984
dro_01_func_802427BC_95D9BC = 0x802427BC; // type:func rom:0x95D9BC
dro_01_BigArrayFunc = 0x802427BC; // type:func rom:0x95D9BC
dro_01_func_80242858_95DA58 = 0x80242858; // type:func rom:0x95DA58
dro_01_SetManyVars = 0x80242D98; // type:func rom:0x95DF98
dro_01_UnkYawFunc = 0x80242E88; // type:func rom:0x95E088
@ -13820,10 +13820,10 @@ dro_01_entryList = 0x80243AC0; // type:data rom:0x95ECC0
dro_01_config = 0x80243B70; // type:data rom:0x95ED70
dro_01_80243BB0 = 0x80243BB0; // type:data rom:0x95EDB0
dro_01_Pipe_EnterVertical = 0x80243C30; // type:data rom:0x95EE30
Pipe_EnterHorizontal = 0x80243F84; // type:data rom:0x95F184
Pipe_ExitVertical = 0x80244374; // type:data rom:0x95F574
Pipe_ScriptD = 0x80244450; // type:data rom:0x95F650
Pipe_ExitHorizontal = 0x8024462C; // type:data rom:0x95F82C
dro_01_Pipe_EnterHorizontal = 0x80243F84; // type:data rom:0x95F184
dro_01_Pipe_ExitVertical = 0x80244374; // type:data rom:0x95F574
dro_01_Pipe_ScriptD = 0x80244450; // type:data rom:0x95F650
dro_01_Pipe_ExitHorizontal = 0x8024462C; // type:data rom:0x95F82C
dro_01_exitWalk_80244960 = 0x80244960; // type:data rom:0x95FB60
dro_01_exitWalk_802449CC = 0x802449CC; // type:data rom:0x95FBCC
dro_01_80244A28 = 0x80244A28; // type:data rom:0x95FC28
@ -14596,7 +14596,7 @@ nok_02_Pipe_AwaitDownInput = 0x80240034; // type:func rom:0x9D7054
nok_02_Pipe_GetEntryPos = 0x802400F0; // type:func rom:0x9D7110
nok_02_Pipe_GetCameraYaw = 0x802401D0; // type:func rom:0x9D71F0
nok_02_Pipe_GetPointAheadOfPlayer = 0x8024023C; // type:func rom:0x9D725C
func_802402E0_9D7300 = 0x802402E0; // type:func rom:0x9D7300
nok_02_StashVars = 0x802402E0; // type:func rom:0x9D7300
dup_nok_02_GetItemName = 0x80240394; // type:func rom:0x9D73B4
dup_nok_02_GetNpcCollisionHeight = 0x802403F8; // type:func rom:0x9D7418
dup_nok_02_AddPlayerHandsOffset = 0x80240454; // type:func rom:0x9D7474
@ -16232,8 +16232,8 @@ jan_03_Pipe_AwaitDownInput = 0x80240034; // type:func rom:0xB34C04
jan_03_Pipe_GetEntryPos = 0x802400F0; // type:func rom:0xB34CC0
jan_03_Pipe_GetCameraYaw = 0x802401D0; // type:func rom:0xB34DA0
jan_03_Pipe_GetPointAheadOfPlayer = 0x8024023C; // type:func rom:0xB34E0C
jan_03_UnkTexturePanFunc = 0x802402E0; // type:func rom:0xB34EB0
jan_03_UnkTexturePanFunc2 = 0x80240404; // type:func rom:0xB34FD4
jan_03_UpdateTexturePanSmooth = 0x802402E0; // type:func rom:0xB34EB0
jan_03_UpdateTexturePanStepped = 0x80240404; // type:func rom:0xB34FD4
func_802405EC_B351BC = 0x802405EC; // type:func rom:0xB351BC
jan_03_UnkNpcAIFunc24 = 0x80240620; // type:func rom:0xB351F0
jan_03_UnkFunc13 = 0x80240778; // type:func rom:0xB35348
@ -16456,8 +16456,8 @@ jan_09_Pipe_AwaitDownInput = 0x80240034; // type:func rom:0xB65AE4
jan_09_Pipe_GetEntryPos = 0x802400F0; // type:func rom:0xB65BA0
jan_09_Pipe_GetCameraYaw = 0x802401D0; // type:func rom:0xB65C80
jan_09_Pipe_GetPointAheadOfPlayer = 0x8024023C; // type:func rom:0xB65CEC
jan_09_UnkTexturePanFunc = 0x802402E0; // type:func rom:0xB65D90
jan_09_UnkTexturePanFunc2 = 0x80240404; // type:func rom:0xB65EB4
jan_09_UpdateTexturePanSmooth = 0x802402E0; // type:func rom:0xB65D90
jan_09_UpdateTexturePanStepped = 0x80240404; // type:func rom:0xB65EB4
jan_09_foliage_setup_shear_mtx = 0x802405F0; // type:func rom:0xB660A0
jan_09_TransformFoliage = 0x80240660; // type:func rom:0xB66110
func_8024082C_B662DC = 0x8024082C; // type:func rom:0xB662DC
@ -16789,8 +16789,8 @@ mim_11_Pipe_AwaitDownInput = 0x80240034; // type:func rom:0xBB70A4
mim_11_Pipe_GetEntryPos = 0x802400F0; // type:func rom:0xBB7160
mim_11_Pipe_GetCameraYaw = 0x802401D0; // type:func rom:0xBB7240
mim_11_Pipe_GetPointAheadOfPlayer = 0x8024023C; // type:func rom:0xBB72AC
mim_11_UnkTexturePanFunc = 0x802402E0; // type:func rom:0xBB7350
mim_11_UnkTexturePanFunc2 = 0x80240404; // type:func rom:0xBB7474
mim_11_UpdateTexturePanSmooth = 0x802402E0; // type:func rom:0xBB7350
mim_11_UpdateTexturePanStepped = 0x80240404; // type:func rom:0xBB7474
func_802405EC_BB765C = 0x802405EC; // type:func rom:0xBB765C
func_8024066C_BB76DC = 0x8024066C; // type:func rom:0xBB76DC
func_80240790_BB7800 = 0x80240790; // type:func rom:0xBB7800
@ -18351,7 +18351,7 @@ dgb_04_SuperBlock_HideBlockContent = 0x8024240C; // type:func rom:0xC3893C
dgb_04_SuperBlock_GetPartnerRank = 0x80242438; // type:func rom:0xC38968
dgb_04_SuperBlock_get_partner_rank = 0x802424A4; // type:func rom:0xC389D4
dgb_04_SuperBlock_CountEligiblePartners = 0x802424F0; // type:func rom:0xC38A20
dgb_04_func_8024259C_C38ACC = 0x8024259C; // type:func rom:0xC38ACC
dgb_04_SuperBlock_ShowSelectPartnerMenu = 0x8024259C; // type:func rom:0xC38ACC
dgb_04_SuperBlock_SwitchToPartner = 0x802427EC; // type:func rom:0xC38D1C
dgb_04_SuperBlock_LoadCurrentPartnerName = 0x80242818; // type:func rom:0xC38D48
dgb_04_SuperBlock_StartGlowEffect = 0x80242850; // type:func rom:0xC38D80
@ -18383,8 +18383,8 @@ dgb_04_SuperBlock_CantUpgradeMessages = 0x80243D30; // type:data rom:0xC3A260
dgb_04_SuperBlock_PartnerIDs = 0x80243D38; // type:data rom:0xC3A268
dgb_04_SuperBlock_UpgradeDescMessages = 0x80243D48; // type:data rom:0xC3A278
dgb_04_SuperBlock_UpgradeOrbAngles = 0x80243D88; // type:data rom:0xC3A2B8
dgb_04_80243D94 = 0x80243D94; // type:data rom:0xC3A2C4
dgb_04_80243EF8 = 0x80243EF8; // type:data rom:0xC3A428
dgb_04_SuperBlock_ShowUpgradeEffects = 0x80243D94; // type:data rom:0xC3A2C4
dgb_04_SuperBlock_OnHit = 0x80243EF8; // type:data rom:0xC3A428
dgb_04_makeEntities = 0x80244378; // type:data rom:0xC3A8A8
D_802443F0_C3A920 = 0x802443F0; // type:data rom:0xC3A920
D_802443F8_C3A928 = 0x802443F8; // type:data rom:0xC3A928
@ -19001,8 +19001,8 @@ D_802473F0_C68100 = 0x802473F0; // type:data rom:0xC68100
D_802473F8_C68108 = 0x802473F8; // type:data rom:0xC68108
D_80247400_C68110 = 0x80247400; // type:data rom:0xC68110
D_80247410_C68120 = 0x80247410; // type:data rom:0xC68120
kzn_04_UnkTexturePanFunc = 0x80240000; // type:func rom:0xC68130
kzn_04_UnkTexturePanFunc2 = 0x80240124; // type:func rom:0xC68254
kzn_04_UpdateTexturePanSmooth = 0x80240000; // type:func rom:0xC68130
kzn_04_UpdateTexturePanStepped = 0x80240124; // type:func rom:0xC68254
kzn_04_SuperBlock_SetOverride40 = 0x80240310; // type:func rom:0xC68440
kzn_04_SuperBlock_ClearOverride40 = 0x8024032C; // type:func rom:0xC6845C
kzn_04_SuperBlock_HideBlockContent = 0x8024034C; // type:func rom:0xC6847C
@ -19572,7 +19572,7 @@ flo_07_npcGroupList_80242B0C = 0x80242B0C; // type:data rom:0xCAECFC
flo_07_flo_25_name_hack = 0x80242B40; // type:data rom:0xCAED30
flo_08_SuperBlock_SetOverride40 = 0x80240000; // type:func rom:0xCAED40
flo_08_SuperBlock_ClearOverride40 = 0x8024001C; // type:func rom:0xCAED5C
flo_08_flo_08_SuperBlock_HideBlockContent = 0x8024003C; // type:func rom:0xCAED7C
flo_08_SuperBlock_HideBlockContent = 0x8024003C; // type:func rom:0xCAED7C
flo_08_SuperBlock_GetPartnerRank = 0x80240068; // type:func rom:0xCAEDA8
flo_08_SuperBlock_get_partner_rank = 0x802400D4; // type:func rom:0xCAEE14
flo_08_SuperBlock_CountEligiblePartners = 0x80240120; // type:func rom:0xCAEE60
@ -19611,8 +19611,8 @@ flo_08_SuperBlock_CantUpgradeMessages = 0x80241FB0; // type:data rom:0xCB0CF0
flo_08_SuperBlock_PartnerIDs = 0x80241FB8; // type:data rom:0xCB0CF8
flo_08_SuperBlock_UpgradeDescMessages = 0x80241FC8; // type:data rom:0xCB0D08
flo_08_SuperBlock_UpgradeOrbAngles = 0x80242008; // type:data rom:0xCB0D48
flo_08_80242014 = 0x80242014; // type:data rom:0xCB0D54
flo_08_80242178 = 0x80242178; // type:data rom:0xCB0EB8
flo_08_SuperBlock_ShowUpgradeEffects = 0x80242014; // type:data rom:0xCB0D54
flo_08_SuperBlock_OnHit = 0x80242178; // type:data rom:0xCB0EB8
flo_08_makeEntities = 0x802425F8; // type:data rom:0xCB1338
flo_08_80242680 = 0x80242680; // type:data rom:0xCB13C0
flo_08_exitWalk_8024292C = 0x8024292C; // type:data rom:0xCB166C
@ -19790,11 +19790,11 @@ flo_11_entryList = 0x80240320; // type:data rom:0xCBDFF0
flo_11_config = 0x802403A0; // type:data rom:0xCBE070
flo_11_802403E0 = 0x802403E0; // type:data rom:0xCBE0B0
flo_11_80240450 = 0x80240450; // type:data rom:0xCBE120
flo_11_802406FC = 0x802406FC; // type:data rom:0xCBE3CC
flo_11_80240A50 = 0x80240A50; // type:data rom:0xCBE720
flo_11_80240E40 = 0x80240E40; // type:data rom:0xCBEB10
flo_11_80240F1C = 0x80240F1C; // type:data rom:0xCBEBEC
flo_11_802410F8 = 0x802410F8; // type:data rom:0xCBEDC8
flo_11_Pipe_EnterVertical = 0x802406FC; // type:data rom:0xCBE3CC
flo_11_Pipe_EnterHorizontal = 0x80240A50; // type:data rom:0xCBE720
flo_11_Pipe_ExitVertical = 0x80240E40; // type:data rom:0xCBEB10
flo_11_Pipe_ScriptD = 0x80240F1C; // type:data rom:0xCBEBEC
flo_11_Pipe_ExitHorizontal = 0x802410F8; // type:data rom:0xCBEDC8
flo_11_exitWalk_8024142C = 0x8024142C; // type:data rom:0xCBF0FC
flo_11_exitWalk_80241488 = 0x80241488; // type:data rom:0xCBF158
flo_11_802414E4 = 0x802414E4; // type:data rom:0xCBF1B4
@ -20099,8 +20099,8 @@ flo_16_SuperBlock_CantUpgradeMessages = 0x80243700; // type:data rom:0xCD5530
flo_16_SuperBlock_PartnerIDs = 0x80243708; // type:data rom:0xCD5538
flo_16_SuperBlock_UpgradeDescMessages = 0x80243718; // type:data rom:0xCD5548
flo_16_SuperBlock_UpgradeOrbAngles = 0x80243758; // type:data rom:0xCD5588
flo_16_80243764 = 0x80243764; // type:data rom:0xCD5594
flo_16_802438C8 = 0x802438C8; // type:data rom:0xCD56F8
flo_16_SuperBlock_ShowUpgradeEffects = 0x80243764; // type:data rom:0xCD5594
flo_16_SuperBlock_OnHit = 0x802438C8; // type:data rom:0xCD56F8
flo_16_80243D48 = 0x80243D48; // type:data rom:0xCD5B78
flo_16_80243DB0 = 0x80243DB0; // type:data rom:0xCD5BE0
flo_16_80243E80 = 0x80243E80; // type:data rom:0xCD5CB0
@ -20562,8 +20562,8 @@ sam_02_Pipe_AwaitDownInput = 0x80240034; // type:func rom:0xD05764
sam_02_Pipe_GetEntryPos = 0x802400F0; // type:func rom:0xD05820
sam_02_Pipe_GetCameraYaw = 0x802401D0; // type:func rom:0xD05900
sam_02_Pipe_GetPointAheadOfPlayer = 0x8024023C; // type:func rom:0xD0596C
sam_02_UnkTexturePanFunc = 0x802402E0; // type:func rom:0xD05A10
sam_02_UnkTexturePanFunc2 = 0x80240404; // type:func rom:0xD05B34
sam_02_UpdateTexturePanSmooth = 0x802402E0; // type:func rom:0xD05A10
sam_02_UpdateTexturePanStepped = 0x80240404; // type:func rom:0xD05B34
sam_02_foliage_setup_shear_mtx = 0x802405EC; // type:func rom:0xD05D1C
sam_02_TransformFoliage = 0x8024065C; // type:func rom:0xD05D8C
sam_02_ToadHouse_DisableStatusMenu = 0x80240830; // type:func rom:0xD05F60
@ -22028,8 +22028,8 @@ gv_01_Pipe_AwaitDownInput = 0x80240034; // type:func rom:0xE1E494
gv_01_Pipe_GetEntryPos = 0x802400F0; // type:func rom:0xE1E550
gv_01_Pipe_GetCameraYaw = 0x802401D0; // type:func rom:0xE1E630
gv_01_Pipe_GetPointAheadOfPlayer = 0x8024023C; // type:func rom:0xE1E69C
gv_01_UnkTexturePanFunc = 0x802402E0; // type:func rom:0xE1E740
gv_01_UnkTexturePanFunc2 = 0x80240404; // type:func rom:0xE1E864
gv_01_UpdateTexturePanSmooth = 0x802402E0; // type:func rom:0xE1E740
gv_01_UpdateTexturePanStepped = 0x80240404; // type:func rom:0xE1E864
func_802405EC_E1EA4C = 0x802405EC; // type:func rom:0xE1EA4C
func_80240688_E1EAE8 = 0x80240688; // type:func rom:0xE1EAE8
E20110_UnkAngleFunc1 = 0x802B7000; // type:func rom:0xE20110
@ -22919,7 +22919,7 @@ dead_gItemTable = 0x8008D2C0; // type:data
gItemEntityScripts = 0x8008DDD4; // type:data
gItemIconRasterOffsets = 0x8008E3D8; // type:data
gItemIconPaletteOffsets = 0x8008E94C; // type:data
D_8008EEC4 = 0x8008EEC4; // type:data
D_8008EEC0 = 0x8008EEC0; // type:data
D_8008EEF0 = 0x8008EEF0; // type:data
gPartnerPopupProperties = 0x8008EF20; // type:data
gPartnerIconHudScripts = 0x8008EFF8; // type:data
@ -22979,9 +22979,9 @@ D_800B8DEC = 0x800B8DEC; // type:data
_use_partner_ability = 0x800EA6CC; // type:func
D_800FBB60 = 0x800FBB60; // type:data
D_800FBBE0 = 0x800FBBE0; // type:data
D_801000A0 = D_801000A0; // type:data
dead_gPlayerStatusPtr = 0x800FFC90; // type:data
dead_wPartnerHudScripts = 0x80100060; // type:data
D_801000A0 = 0x801000A0; // type:data
dead_wDisabledPartnerHudScripts = 0x801000A0; // type:data
HudScript_ArrowLeft = 0x801049B0; // type:data
HudScript_ArrowRight = 0x801049D8; // type:data
@ -23695,8 +23695,8 @@ dro_01_D_8024DFE4 = 0x8024DFE4; // type:data
D_8024DFE8 = 0x8024DFE8; // type:data
dro_01_D_8024DFE8 = 0x8024DFE8; // type:data
dro_01_pad_D_8024DFEC = 0x8024DFEC; // type:data
D_8024DFF0 = 0x8024DFF0; // type:data
dro_01_D_8024DFF0 = 0x8024DFF0; // type:data
bigArray = 0x8024DFF0; // type:data
dro_01_bigArray = 0x8024DFF0; // type:data
dro_01_pad_D_8024E1B0 = 0x8024E1B0; // type:data
D_8024E1B4 = 0x8024E1B4; // type:data
dro_01_D_8024E1B4 = 0x8024E1B4; // type:data

View File

@ -585,7 +585,7 @@ D_8024DFD8 = 0x8024DFD8;
D_8024DFE0 = 0x8024DFE0;
D_8024DFE4 = 0x8024DFE4;
D_8024DFE8 = 0x8024DFE8;
D_8024DFF0 = 0x8024DFF0;
dro_01_bigArray = 0x8024DFF0;
D_8024E1B4 = 0x8024E1B4;
D_8024E540 = 0x8024E540;
D_8024E558 = 0x8024E558;