mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
battle camera (#710)
* match func_80248DE4 * BattleCam_TargetActor * renamed functions * Update src/16F740.c Co-authored-by: alex <16batesa@gmail.com> Co-authored-by: alex <16batesa@gmail.com>
This commit is contained in:
parent
f0bdf8ee09
commit
52b9d1b11c
@ -711,7 +711,7 @@ enum CamShakeModes {
|
||||
CAM_SHAKE_DECAYING_VERTICAL = 2
|
||||
};
|
||||
|
||||
// for use with func_8024E748
|
||||
// for use with SetBattleCamParam
|
||||
enum AuxCameraParams {
|
||||
AUX_CAM_PARAM_1 = 1,
|
||||
AUX_CAM_BOOM_LENGTH = 2,
|
||||
|
@ -364,7 +364,7 @@ void func_8024F7C8(void);
|
||||
void func_80263E08(Actor*, ActorPart*, s32);
|
||||
void func_80266978(void);
|
||||
void func_80266B14(void);
|
||||
s32 func_8024E584(void);
|
||||
s32 btl_cam_is_moving_done(void);
|
||||
void func_8024EE48(void);
|
||||
void func_8024EEA8(void);
|
||||
void func_80255FD8(void);
|
||||
@ -771,8 +771,8 @@ void btl_set_state(s32 battleState);
|
||||
void draw_entity_model_E(s32, Mtx*);
|
||||
void draw_entity_model_A(s32, Mtx*);
|
||||
void free_entity_model_by_index(s32 idx);
|
||||
void func_8024E40C(s32);
|
||||
void func_8024E484(s16, s16, s16, s16, s32, s32, s32, s32);
|
||||
void btl_cam_use_preset(s32);
|
||||
void btl_cam_set_params(s16, s16, s16, s16, s32, s32, s32, s32);
|
||||
void btl_cam_set_zoffset(s16);
|
||||
void btl_cam_target_actor(s32);
|
||||
void btl_cam_set_zoom(s16);
|
||||
@ -784,7 +784,7 @@ s32 dispatch_damage_event_actor_1(Actor* actor, s32 damageAmount, s32 event);
|
||||
|
||||
void btl_show_variable_battle_message(s32, s32, s32);
|
||||
s32 btl_is_popup_displayed(void);
|
||||
void func_8024E3D8(s32);
|
||||
void btl_cam_use_preset_immediately(s32);
|
||||
s32 inflict_status(Actor*, s32, s32);
|
||||
s32 try_inflict_status(Actor*, s32, s32);
|
||||
s32 inflict_status_set_duration(Actor* actor, s32 statusTypeKey, s32 statusDurationKey, s32 duration);
|
||||
|
@ -273,21 +273,21 @@ ApiStatus DeletePartner(Evt* script, s32 isInitialCall);
|
||||
ApiStatus GetDamageIntensity(Evt* script, s32 isInitialCall);
|
||||
ApiStatus AddEffectOffset(Evt* script, s32 isInitialCall);
|
||||
ApiStatus LoadStarPowerScript(Evt* script, s32 isInitialCall);
|
||||
ApiStatus func_80248DD0(Evt* script, s32 isInitialCall);
|
||||
ApiStatus func_80248DE4(Evt* script, s32 isInitialCall);
|
||||
ApiStatus func_80249804(Evt* script, s32 isInitialCall);
|
||||
ApiStatus func_8024A214(Evt* script, s32 isInitialCall);
|
||||
ApiStatus func_8024A990(Evt* script, s32 isInitialCall);
|
||||
ApiStatus func_8024AFE4(Evt* script, s32 isInitialCall);
|
||||
ApiStatus func_8024B5FC(Evt* script, s32 isInitialCall);
|
||||
ApiStatus func_8024B9A0(Evt* script, s32 isInitialCall);
|
||||
ApiStatus func_8024BDA4(Evt* script, s32 isInitialCall);
|
||||
ApiStatus func_8024C180(Evt* script, s32 isInitialCall);
|
||||
ApiStatus func_8024C570(Evt* script, s32 isInitialCall);
|
||||
ApiStatus func_8024C944(Evt* script, s32 isInitialCall);
|
||||
ApiStatus func_8024CB68(Evt* script, s32 isInitialCall);
|
||||
ApiStatus func_8024E9B0(Evt* script, s32 isInitialCall);
|
||||
ApiStatus func_8024E748(Evt* script, s32 isInitialCall);
|
||||
ApiStatus CamPresetUpdate_B(Evt* script, s32 isInitialCall);
|
||||
ApiStatus CamPresetUpdate_F(Evt* script, s32 isInitialCall);
|
||||
ApiStatus CamPresetUpdate_M(Evt* script, s32 isInitialCall);
|
||||
ApiStatus CamPresetUpdate_G(Evt* script, s32 isInitialCall);
|
||||
ApiStatus CamPresetUpdate_I(Evt* script, s32 isInitialCall);
|
||||
ApiStatus CamPresetUpdate_H(Evt* script, s32 isInitialCall);
|
||||
ApiStatus CamPresetUpdate_N(Evt* script, s32 isInitialCall);
|
||||
ApiStatus CamPresetUpdate_C(Evt* script, s32 isInitialCall);
|
||||
ApiStatus CamPresetUpdate_D(Evt* script, s32 isInitialCall);
|
||||
ApiStatus CamPresetUpdate_E(Evt* script, s32 isInitialCall);
|
||||
ApiStatus CamPresetUpdate_J(Evt* script, s32 isInitialCall);
|
||||
ApiStatus CamPresetUpdate_K(Evt* script, s32 isInitialCall);
|
||||
ApiStatus CamPresetUpdate_L(Evt* script, s32 isInitialCall);
|
||||
ApiStatus SetBattleCamPos(Evt* script, s32 isInitialCall);
|
||||
ApiStatus SetBattleCamParam(Evt* script, s32 isInitialCall);
|
||||
ApiStatus func_8026DF88(Evt* script, s32 isInitialCall);
|
||||
ApiStatus InitVirtualEntityList(Evt* script, s32 isInitialCall);
|
||||
ApiStatus InitAnimatedModels(Evt* script, s32 isInitialCall);
|
||||
@ -303,7 +303,7 @@ ApiStatus func_80269550(Evt* script, s32 isInitialCall);
|
||||
ApiStatus func_8026919C(Evt* script, s32 isInitialCall);
|
||||
ApiStatus func_80280818(Evt* script, s32 isInitialCall); ///< YieldTurn copy
|
||||
ApiStatus func_8024ECF8(Evt* script, s32 isInitialCall);
|
||||
ApiStatus func_8024E664(Evt* script, s32 isInitialCall);
|
||||
ApiStatus UseBattleCamPresetImmediately(Evt* script, s32 isInitialCall);
|
||||
ApiStatus func_8027D32C(Evt* script, s32 isInitialCall);
|
||||
ApiStatus GetActionCommandResult(Evt* script, s32 isInitialCall);
|
||||
ApiStatus CreateNpc(Evt* script, s32 isInitialCall);
|
||||
|
32
src/16F740.c
32
src/16F740.c
@ -131,13 +131,13 @@ void btl_state_update_begin_player_turn(void) {
|
||||
s32 phi_v0_2;
|
||||
|
||||
if (gBattleState2 == BATTLE_STATE2_UNK_0) {
|
||||
func_8024E40C(2);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_C);
|
||||
btl_cam_move(5);
|
||||
gBattleState2 = BATTLE_STATE2_UNK_64;
|
||||
}
|
||||
|
||||
if (gBattleState2 != BATTLE_STATE2_UNK_14) {
|
||||
if (gBattleState2 == BATTLE_STATE2_UNK_64 && (func_8024E584() != 0)) {
|
||||
if (gBattleState2 == BATTLE_STATE2_UNK_64 && btl_cam_is_moving_done()) {
|
||||
gBattleStatus.flags1 &= ~0x80000;
|
||||
reset_actor_turn_info();
|
||||
battleStatus->unk_86 = 0x7F;
|
||||
@ -565,7 +565,7 @@ void btl_state_draw_end_turn(void) {
|
||||
}
|
||||
|
||||
void btl_state_update_1C(void) {
|
||||
func_8024E40C(2);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_C);
|
||||
btl_set_state(BATTLE_STATE_PREPARE_MENU);
|
||||
}
|
||||
|
||||
@ -713,7 +713,7 @@ void btl_state_update_victory(void) {
|
||||
}
|
||||
|
||||
if (gBattleState2 == BATTLE_STATE2_UNK_2) {
|
||||
func_8024E40C(2);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_C);
|
||||
if (battleStatus->nextMerleeSpellType == 3) {
|
||||
if (battleStatus->totalStarPoints == 0) {
|
||||
battleStatus->nextMerleeSpellType = 0;
|
||||
@ -865,7 +865,7 @@ void btl_state_update_end_training_battle(void) {
|
||||
|
||||
switch (gBattleState2) {
|
||||
case BATTLE_STATE2_UNK_D:
|
||||
func_8024E40C(2);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_C);
|
||||
D_8029F248 = 30;
|
||||
gBattleState2 = BATTLE_STATE2_UNK_E;
|
||||
break;
|
||||
@ -961,7 +961,7 @@ void btl_state_update_defeat(void) {
|
||||
((DisableXFXData*)player->debuffEffect->data)->unk_3C = 0;
|
||||
}
|
||||
|
||||
func_8024E40C(0x19);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_25);
|
||||
btl_cam_target_actor(0);
|
||||
battleStatus->battlePhase = PHASE_RUN_AWAY_RESET;
|
||||
script = start_script(&PlayerScriptDispatcher, EVT_PRIORITY_A, 0);
|
||||
@ -1036,9 +1036,9 @@ void btl_state_update_change_partner(void) {
|
||||
partner->flags &= ~ACTOR_FLAG_8000000;
|
||||
battleStatus->unk_8C = 0;
|
||||
gBattleStatus.flags2 |= BS_FLAGS2_10;
|
||||
func_8024E40C(0x13);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_19);
|
||||
btl_cam_set_target_pos(-89.0, 40.0, -99.0);
|
||||
btl_cam_set_zoom(0x174);
|
||||
btl_cam_set_zoom(372);
|
||||
btl_cam_set_zoffset(0);
|
||||
gBattleStatus.flags1 &= ~BS_FLAGS1_2;
|
||||
|
||||
@ -1122,7 +1122,7 @@ void btl_state_update_change_partner(void) {
|
||||
partner = battleStatus->partnerActor;
|
||||
if (partner == NULL || partner->onTurnChanceScriptSource == NULL
|
||||
|| !does_script_exist(partner->onTurnChangeID)) {
|
||||
func_8024E40C(2);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_C);
|
||||
gBattleState2 = BATTLE_STATE2_UNK_7;
|
||||
}
|
||||
break;
|
||||
@ -1199,7 +1199,7 @@ void btl_state_update_partner_move(void) {
|
||||
enemyActor->status = 0;
|
||||
}
|
||||
}
|
||||
func_8024E40C(2);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_C);
|
||||
gBattleState2 = BATTLE_STATE2_UNK_2;
|
||||
}
|
||||
break;
|
||||
@ -1292,7 +1292,7 @@ void btl_state_update_partner_move(void) {
|
||||
btl_update_ko_status();
|
||||
|
||||
if ((s8) partner->status == 0xD && btl_are_all_enemies_defeated() == FALSE) {
|
||||
func_8024E40C(0x36);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_54);
|
||||
btl_show_battle_message(0x23, 0x3C);
|
||||
partner->status = 0;
|
||||
partner->unk_21D = 0;
|
||||
@ -1311,8 +1311,8 @@ void btl_state_update_partner_move(void) {
|
||||
break;
|
||||
case BATTLE_STATE2_UNK_B:
|
||||
if (btl_is_popup_displayed() == FALSE) {
|
||||
func_8024E40C(2);
|
||||
btl_cam_move(0xF);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_C);
|
||||
btl_cam_move(15);
|
||||
D_8029F248 = 0xA;
|
||||
gBattleState2 = BATTLE_STATE2_UNK_C;
|
||||
}
|
||||
@ -1341,7 +1341,7 @@ void btl_state_update_partner_move(void) {
|
||||
if (phi_s3 == FALSE) {
|
||||
gBattleState2 = BATTLE_STATE2_UNK_1E;
|
||||
} else {
|
||||
func_8024E40C(3);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_D);
|
||||
switchCondition = enemyActor->status - 4;
|
||||
switch (switchCondition) {
|
||||
case 0:
|
||||
@ -1388,8 +1388,8 @@ void btl_state_update_partner_move(void) {
|
||||
break;
|
||||
case BATTLE_STATE2_UNK_15:
|
||||
if (btl_is_popup_displayed() == FALSE) {
|
||||
func_8024E40C(2);
|
||||
btl_cam_move(0xF);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_C);
|
||||
btl_cam_move(15);
|
||||
D_8029F248 = 10;
|
||||
gBattleState2 = BATTLE_STATE2_UNK_16;
|
||||
}
|
||||
|
1712
src/1776B0.c
1712
src/1776B0.c
File diff suppressed because it is too large
Load Diff
@ -172,7 +172,7 @@ void btl_state_update_celebration(void) {
|
||||
}
|
||||
|
||||
D_8029FB84 = 0;
|
||||
func_8024E40C(0x17);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_23);
|
||||
D_8029FB54 = 0;
|
||||
D_8029FB4C = 1;
|
||||
gBattleState2 = BATTLE_STATE2_UNK_1;
|
||||
@ -182,7 +182,7 @@ void btl_state_update_celebration(void) {
|
||||
case BATTLE_STATE2_UNK_1:
|
||||
if (D_8029FB4C != 0) {
|
||||
D_8029FB4C--;
|
||||
} else if (func_8024E584() != 0) {
|
||||
} else if (btl_cam_is_moving_done()) {
|
||||
dma_copy(_7A89A0_ROM_START, _7A89A0_ROM_END, _7A89A0_VRAM);
|
||||
script = start_script(&D_802842B0, EVT_PRIORITY_A, 0);
|
||||
D_8029FB78 = 0;
|
||||
@ -264,7 +264,7 @@ void btl_state_update_celebration(void) {
|
||||
case BATTLE_STATE2_UNK_4:
|
||||
if (D_8029FB84 >= 99) {
|
||||
playerData->level++;
|
||||
func_8024E40C(2);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_C);
|
||||
btl_cam_move(5);
|
||||
dma_copy(_79EF40_ROM_START, _79EF40_ROM_END, _79EF40_VRAM);
|
||||
sfx_play_sound(0x80000008);
|
||||
@ -794,7 +794,7 @@ void btl_state_update_celebration(void) {
|
||||
bgm_set_song(0, -1, 0, 1500, 8);
|
||||
}
|
||||
D_80284150 = 0;
|
||||
func_8024E484(1, 270, 100, 8, 0, 0x2400, 0, 100);
|
||||
btl_cam_set_params(1, 270, 100, 8, 0, 0x2400, 0, 100);
|
||||
set_animation(0, 0, 0x30009);
|
||||
if (partner != NULL) {
|
||||
set_animation(ACTOR_PARTNER, 0, D_80284154[playerData->currentPartner]);
|
||||
|
@ -1218,7 +1218,7 @@ void btl_state_update_peach_menu(void) {
|
||||
|
||||
switch (gBattleState2) {
|
||||
case 0:
|
||||
func_8024E40C(2);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_C);
|
||||
btl_cam_move(0xA);
|
||||
if (!(gBattleStatus.flags1 & 0x100000)) {
|
||||
gBattleState2 = 0xB;
|
||||
|
@ -3165,10 +3165,10 @@ ApiStatus BoostAttack(Evt* script, s32 isInitialCall) {
|
||||
script->functionTempPtr[1] = actor;
|
||||
script->functionTemp[2] = attackBoost;
|
||||
|
||||
func_8024E40C(8);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_I);
|
||||
btl_cam_set_zoffset(12);
|
||||
btl_cam_target_actor(actor->actorID);
|
||||
btl_cam_set_zoom(0xFA);
|
||||
btl_cam_set_zoom(250);
|
||||
btl_cam_move(10);
|
||||
func_8024E60C();
|
||||
if (actor->flags & ACTOR_FLAG_HP_OFFSET_BELOW) {
|
||||
@ -3208,7 +3208,7 @@ ApiStatus BoostAttack(Evt* script, s32 isInitialCall) {
|
||||
case 1:
|
||||
if (script->functionTemp[3] == 0) {
|
||||
fx_radial_shimmer(2, x1, y1, z1, 1.0f, 30);
|
||||
func_8024E3D8(0x13);
|
||||
btl_cam_use_preset_immediately(BTL_CAM_PRESET_19);
|
||||
script->functionTemp[3] = 30;
|
||||
script->functionTemp[0] = 2;
|
||||
} else {
|
||||
@ -3219,7 +3219,7 @@ ApiStatus BoostAttack(Evt* script, s32 isInitialCall) {
|
||||
case 2:
|
||||
if (script->functionTemp[3] == 0) {
|
||||
dispatch_event_actor(actor, EVENT_SWAP_PARTNER);
|
||||
func_8024E40C(2);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_C);
|
||||
btl_cam_move(15);
|
||||
actor->isGlowing = 1;
|
||||
actor->attackBoost += attackBoost;
|
||||
@ -3245,7 +3245,7 @@ ApiStatus BoostAttack(Evt* script, s32 isInitialCall) {
|
||||
break;
|
||||
case 4:
|
||||
if (btl_is_popup_displayed() == 0) {
|
||||
func_8024E40C(2);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_C);
|
||||
script->functionTemp[3] = 10;
|
||||
script->functionTemp[0] = 5;
|
||||
}
|
||||
@ -3288,10 +3288,10 @@ ApiStatus BoostDefense(Evt* script, s32 isInitialCall) {
|
||||
script->functionTempPtr[1] = actor;
|
||||
script->functionTemp[2] = defenseBoost;
|
||||
|
||||
func_8024E40C(8);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_I);
|
||||
btl_cam_set_zoffset(12);
|
||||
btl_cam_target_actor(actor->actorID);
|
||||
btl_cam_set_zoom(0xFA);
|
||||
btl_cam_set_zoom(250);
|
||||
btl_cam_move(10);
|
||||
func_8024E60C();
|
||||
if (actor->flags & ACTOR_FLAG_HP_OFFSET_BELOW) {
|
||||
@ -3332,7 +3332,7 @@ ApiStatus BoostDefense(Evt* script, s32 isInitialCall) {
|
||||
case 1:
|
||||
if (script->functionTemp[3] == 0) {
|
||||
fx_radial_shimmer(2, x1, y1, z1, 1.0f, 30);
|
||||
func_8024E3D8(0x13);
|
||||
btl_cam_use_preset_immediately(BTL_CAM_PRESET_19);
|
||||
script->functionTemp[3] = 30;
|
||||
script->functionTemp[0] = 2;
|
||||
} else {
|
||||
@ -3343,7 +3343,7 @@ ApiStatus BoostDefense(Evt* script, s32 isInitialCall) {
|
||||
case 2:
|
||||
if (script->functionTemp[3] == 0) {
|
||||
dispatch_event_actor(actor, EVENT_SWAP_PARTNER);
|
||||
func_8024E40C(2);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_C);
|
||||
btl_cam_move(15);
|
||||
actor->isGlowing = 1;
|
||||
actor->defenseBoost += defenseBoost;
|
||||
@ -3369,7 +3369,7 @@ ApiStatus BoostDefense(Evt* script, s32 isInitialCall) {
|
||||
break;
|
||||
case 4:
|
||||
if (btl_is_popup_displayed() == 0) {
|
||||
func_8024E40C(2);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_C);
|
||||
script->functionTemp[3] = 10;
|
||||
script->functionTemp[0] = 5;
|
||||
}
|
||||
@ -3410,10 +3410,10 @@ ApiStatus VanishActor(Evt* script, s32 isInitialCall) {
|
||||
script->functionTemp[1] = (s32) actor;
|
||||
script->functionTemp[2] = vanished;
|
||||
|
||||
func_8024E40C(8);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_I);
|
||||
btl_cam_set_zoffset(12);
|
||||
btl_cam_target_actor(actor->actorID);
|
||||
btl_cam_set_zoom(0xFA);
|
||||
btl_cam_set_zoom(250);
|
||||
btl_cam_move(10);
|
||||
func_8024E60C();
|
||||
if (actor->flags & ACTOR_FLAG_HP_OFFSET_BELOW) {
|
||||
@ -3443,7 +3443,7 @@ ApiStatus VanishActor(Evt* script, s32 isInitialCall) {
|
||||
case 1:
|
||||
if (script->functionTemp[3] == 0) {
|
||||
fx_radial_shimmer(3, x, y, z, 1.0f, 30);
|
||||
func_8024E3D8(0x13);
|
||||
btl_cam_use_preset_immediately(BTL_CAM_PRESET_19);
|
||||
script->functionTemp[3] = 0x1E;
|
||||
script->functionTemp[0] = 2;
|
||||
} else {
|
||||
@ -3454,7 +3454,7 @@ ApiStatus VanishActor(Evt* script, s32 isInitialCall) {
|
||||
case 2:
|
||||
if (script->functionTemp[3] == 0) {
|
||||
dispatch_event_actor(actor, EVENT_SWAP_PARTNER);
|
||||
func_8024E40C(2);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_C);
|
||||
btl_cam_move(15);
|
||||
inflict_status(actor, 0xE, vanished);
|
||||
script->functionTemp[3] = 15;
|
||||
@ -3475,7 +3475,7 @@ ApiStatus VanishActor(Evt* script, s32 isInitialCall) {
|
||||
break;
|
||||
case 4:
|
||||
if (btl_is_popup_displayed() == 0) {
|
||||
func_8024E40C(2);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_C);
|
||||
script->functionTemp[3] = 10;
|
||||
script->functionTemp[0] = 5;
|
||||
}
|
||||
@ -3516,10 +3516,10 @@ ApiStatus ElectrifyActor(Evt* script, s32 isInitialCall) {
|
||||
script->functionTempPtr[1] = actor;
|
||||
script->functionTemp[2] = electrified;
|
||||
|
||||
func_8024E40C(8);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_I);
|
||||
btl_cam_set_zoffset(12);
|
||||
btl_cam_target_actor(actor->actorID);
|
||||
btl_cam_set_zoom(0xFA);
|
||||
btl_cam_set_zoom(250);
|
||||
btl_cam_move(10);
|
||||
func_8024E60C();
|
||||
if (actor->flags & ACTOR_FLAG_HP_OFFSET_BELOW) {
|
||||
@ -3549,7 +3549,7 @@ ApiStatus ElectrifyActor(Evt* script, s32 isInitialCall) {
|
||||
case 1:
|
||||
if (script->functionTemp[3] == 0) {
|
||||
fx_snaking_static(8, x, y, z, 1.0f, 30);
|
||||
func_8024E3D8(0x13);
|
||||
btl_cam_use_preset_immediately(BTL_CAM_PRESET_19);
|
||||
script->functionTemp[3] = 0x1E;
|
||||
script->functionTemp[0] = 2;
|
||||
} else {
|
||||
@ -3560,7 +3560,7 @@ ApiStatus ElectrifyActor(Evt* script, s32 isInitialCall) {
|
||||
case 2:
|
||||
if (script->functionTemp[3] == 0) {
|
||||
dispatch_event_actor(actor, EVENT_SWAP_PARTNER);
|
||||
func_8024E40C(2);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_C);
|
||||
btl_cam_move(15);
|
||||
inflict_status(actor, 0xB, electrified);
|
||||
script->functionTemp[3] = 15;
|
||||
@ -3581,7 +3581,7 @@ ApiStatus ElectrifyActor(Evt* script, s32 isInitialCall) {
|
||||
break;
|
||||
case 4:
|
||||
if (btl_is_popup_displayed() == 0) {
|
||||
func_8024E40C(2);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_C);
|
||||
script->functionTemp[3] = 10;
|
||||
script->functionTemp[0] = 5;
|
||||
}
|
||||
@ -3626,7 +3626,7 @@ ApiStatus HealActor(Evt* script, s32 isInitialCall) {
|
||||
script->functionTempPtr[1] = actor;
|
||||
script->functionTemp[2] = hpBoost;
|
||||
|
||||
func_8024E40C(8);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_I);
|
||||
btl_cam_set_zoffset(12);
|
||||
btl_cam_target_actor(actor->actorID);
|
||||
btl_cam_move(10);
|
||||
@ -3677,7 +3677,7 @@ ApiStatus HealActor(Evt* script, s32 isInitialCall) {
|
||||
break;
|
||||
case 2:
|
||||
if (script->functionTemp[3] == 0) {
|
||||
func_8024E40C(2);
|
||||
btl_cam_use_preset(BTL_CAM_PRESET_C);
|
||||
btl_cam_move(15);
|
||||
actor->currentHP += hpBoost;
|
||||
if (actor->maxHP < actor->currentHP) {
|
||||
|
@ -452,7 +452,7 @@ EvtScript N(8021BE64) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_bubble_Palette_01_Anim_3)
|
||||
@ -494,7 +494,7 @@ EvtScript N(8021BE64) = {
|
||||
EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(JumpToGoal, ACTOR_SELF, 3, FALSE, TRUE, FALSE)
|
||||
EVT_WAIT_FRAMES(14)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 180)
|
||||
EVT_EXEC_WAIT(N(8021B2FC))
|
||||
@ -517,7 +517,7 @@ EvtScript N(8021BE64) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_SET(LW(0), 1)
|
||||
EVT_SET(LW(1), 4587780)
|
||||
EVT_EXEC_WAIT(DoJumpBack)
|
||||
@ -570,7 +570,7 @@ EvtScript N(8021C654) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PARTNER)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -612,7 +612,7 @@ EvtScript N(8021C654) = {
|
||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0)
|
||||
EVT_END_IF
|
||||
EVT_WAIT_FRAMES(20)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 180)
|
||||
EVT_EXEC_WAIT(N(8021B2FC))
|
||||
@ -640,7 +640,7 @@ EvtScript N(8021C654) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_EXEC_WAIT(N(8021B2FC))
|
||||
EVT_END_CASE_GROUP
|
||||
EVT_END_SWITCH
|
||||
@ -654,7 +654,7 @@ EvtScript N(8021CBC8) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_bubble_Palette_01_Anim_3)
|
||||
@ -693,7 +693,7 @@ EvtScript N(8021CBC8) = {
|
||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0)
|
||||
EVT_END_IF
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 180)
|
||||
EVT_EXEC_WAIT(N(8021B2FC))
|
||||
@ -729,7 +729,7 @@ EvtScript N(8021CBC8) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetGoalPos, ACTOR_SELF, LW(10), LW(11), LW(12))
|
||||
EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -10, 0)
|
||||
EVT_WAIT_FRAMES(20)
|
||||
|
@ -160,7 +160,7 @@ EvtScript N(takeTurn_80219444) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(SetBattleCamZoom, 400)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 40)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
@ -176,7 +176,7 @@ EvtScript N(takeTurn_80219444) = {
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 10, 0)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_goombario_default_headbonk)
|
||||
EVT_CALL(UseBattleCamPreset, 66)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_66)
|
||||
EVT_CALL(SetBattleCamZoom, 400)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 40)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
@ -258,7 +258,7 @@ EvtScript N(takeTurn_80219444) = {
|
||||
EVT_CALL(JumpToGoal, ACTOR_SELF, 4, FALSE, TRUE, FALSE)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_goombario_default_idle)
|
||||
EVT_WAIT_FRAMES(8)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_goombario_default_idle)
|
||||
EVT_CALL(SetGoalToHome, ACTOR_SELF)
|
||||
@ -298,7 +298,7 @@ EvtScript N(80219C74) = {
|
||||
EVT_CALL(func_8026E020, 1)
|
||||
EVT_CALL(SetActionCommandMode, 2)
|
||||
EVT_CALL(WaitForState, 18)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(SetGoalPos, ACTOR_PARTNER, -73, 40, 202)
|
||||
EVT_CALL(FlyToGoal, ACTOR_PARTNER, 20, 20, 10)
|
||||
@ -348,13 +348,13 @@ EvtScript N(80219C74) = {
|
||||
EVT_CALL(SetActionSuccess, 1)
|
||||
EVT_CALL(SetActionCommandMode, 1)
|
||||
EVT_CALL(WaitForState, 8)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_PARTNER, FALSE)
|
||||
EVT_CALL(ActorSpeak, 655389, 256, 1, 2097161, 2097157)
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_PARTNER, TRUE)
|
||||
EVT_CALL(WaitForState, 9)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_PARTNER, FALSE)
|
||||
EVT_CALL(ActorSpeak, 655390, 512, 1, 589839, 589825)
|
||||
@ -389,7 +389,7 @@ EvtScript N(80219C74) = {
|
||||
EVT_CALL(SetActionSuccess, 1)
|
||||
EVT_CALL(SetActionCommandMode, -1)
|
||||
EVT_CALL(WaitForState, 6)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(SetActionCommandMode, 1)
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_PARTNER, FALSE)
|
||||
@ -467,7 +467,7 @@ EvtScript N(80219C74) = {
|
||||
EVT_CALL(SetActionSuccess, 1)
|
||||
EVT_CALL(SetActionCommandMode, 1)
|
||||
EVT_CALL(WaitForState, 8)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_PARTNER, FALSE)
|
||||
EVT_CALL(ActorSpeak, 655397, 256, 1, 2097161, 2097157)
|
||||
|
@ -329,11 +329,11 @@ EvtScript N(runAway) = {
|
||||
EVT_CALL(func_8027D32C, -127)
|
||||
EVT_CALL(GetLastEvent, ACTOR_SELF, LW(0))
|
||||
EVT_IF_NE(LW(0), 57)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 15)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(UseBattleCamPreset, 1)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_B)
|
||||
EVT_END_IF
|
||||
EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(1.0))
|
||||
EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
@ -349,7 +349,7 @@ EvtScript N(runAway) = {
|
||||
EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_EXEC_WAIT(ForceNextTarget)
|
||||
EVT_CALL(func_8027D32C, -127)
|
||||
EVT_CALL(RemoveActor, -127)
|
||||
@ -742,7 +742,7 @@ EvtScript N(healOne) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 15)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
@ -805,7 +805,7 @@ EvtScript N(healOne) = {
|
||||
EVT_CALL(func_8026BF48, 0)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(WaitForBuffDone)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(YieldTurn)
|
||||
@ -822,7 +822,7 @@ EvtScript N(healAll) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 15)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
@ -904,7 +904,7 @@ EvtScript N(healAll) = {
|
||||
EVT_END_IF
|
||||
EVT_CALL(WaitForBuffDone)
|
||||
EVT_WAIT_FRAMES(1)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(YieldTurn)
|
||||
@ -934,10 +934,10 @@ EvtScript N(shapeSpell) = {
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(GetBattlePhase, LW(0))
|
||||
EVT_IF_EQ(LW(0), 1)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 1)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_END_IF
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_SPELL_CAST1)
|
||||
@ -1378,7 +1378,7 @@ EvtScript N(makeCopy) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(UseIdleAnimation, LW(10), FALSE)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 25)
|
||||
EVT_WAIT_FRAMES(25)
|
||||
@ -1404,7 +1404,7 @@ EvtScript N(makeCopy) = {
|
||||
EVT_CALL(SetActorPos, LW(10), LW(0), LW(1), LW(2))
|
||||
EVT_SET(LW(9), LW(10))
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_SPELL_CAST4)
|
||||
EVT_CALL(PlaySoundAtActor, LW(9), SOUND_SPELL_CAST4)
|
||||
@ -1493,7 +1493,7 @@ EvtScript N(boostAttack) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 15)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
@ -1553,7 +1553,7 @@ EvtScript N(boostAttack) = {
|
||||
EVT_CALL(func_8026BF48, 0)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(WaitForBuffDone)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 1)
|
||||
@ -1605,7 +1605,7 @@ EvtScript N(boostDefense) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 15)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
@ -1665,7 +1665,7 @@ EvtScript N(boostDefense) = {
|
||||
EVT_CALL(func_8026BF48, 0)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(WaitForBuffDone)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 1)
|
||||
@ -1717,7 +1717,7 @@ EvtScript N(electrify) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 15)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
@ -1782,7 +1782,7 @@ EvtScript N(electrify) = {
|
||||
EVT_CALL(func_8026BF48, 0)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(WaitForBuffDone)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 1)
|
||||
@ -1834,7 +1834,7 @@ EvtScript N(vanish) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 15)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
@ -1894,7 +1894,7 @@ EvtScript N(vanish) = {
|
||||
EVT_CALL(func_8026BF48, 0)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(WaitForBuffDone)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 1)
|
||||
|
@ -874,7 +874,7 @@ EvtScript N(8021DF2C) = {
|
||||
EVT_CASE_DEFAULT
|
||||
EVT_END_SWITCH
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(func_8024E664, 19)
|
||||
EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_19)
|
||||
EVT_CALL(SetBattleCamZoom, 360)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
EVT_THREAD
|
||||
|
@ -288,7 +288,7 @@ EvtScript N(takeTurn_8021A5A0) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_01_Anim_6)
|
||||
@ -369,7 +369,7 @@ EvtScript N(takeTurn_8021A5A0) = {
|
||||
EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_01_Anim_C)
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 180)
|
||||
EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2)
|
||||
@ -419,7 +419,7 @@ EvtScript N(takeTurn_8021A5A0) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0))
|
||||
EVT_WAIT_FRAMES(1)
|
||||
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0))
|
||||
@ -468,7 +468,7 @@ EvtScript N(init_8021B268) = {
|
||||
EvtScript N(takeTurn_8021B2C8) = {
|
||||
EVT_CALL(GetActorVar, -127, 0, LW(0))
|
||||
EVT_IF_EQ(LW(0), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
EVT_WAIT_FRAMES(30)
|
||||
@ -510,7 +510,7 @@ EvtScript N(doDeath_8021B388) = {
|
||||
EVT_CALL(GetActorHP, 513, LW(0))
|
||||
EVT_END_IF
|
||||
EVT_IF_NE(LW(0), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_ENEMY1)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_WAIT_FRAMES(20)
|
||||
@ -520,7 +520,7 @@ EvtScript N(doDeath_8021B388) = {
|
||||
EVT_CALL(ActorSpeak, 721089, 513, 1, -1, -1)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_ENEMY1, 1)
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_ENEMY1, TRUE)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_END_IF
|
||||
|
@ -286,7 +286,7 @@ EvtScript N(takeTurn_8021E0F0) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_01_Anim_6)
|
||||
@ -367,7 +367,7 @@ EvtScript N(takeTurn_8021E0F0) = {
|
||||
EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_01_Anim_C)
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 180)
|
||||
EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2)
|
||||
@ -417,7 +417,7 @@ EvtScript N(takeTurn_8021E0F0) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0))
|
||||
EVT_WAIT_FRAMES(1)
|
||||
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0))
|
||||
|
@ -211,7 +211,7 @@ EvtScript N(idle_80220B50) = {
|
||||
};
|
||||
|
||||
EvtScript N(80220DB0) = {
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, LW(0), LW(1))
|
||||
EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_SET(LW(1), 0)
|
||||
@ -365,14 +365,14 @@ EvtScript N(takeTurn_80221530) = {
|
||||
EvtScript N(80221680) = {
|
||||
EVT_CALL(GetStatusFlags, ACTOR_SELF, LW(0))
|
||||
EVT_IF_NOT_FLAG(LW(0), 0x80000)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(AddBattleCamZoom, -100)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 20)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(AddBattleCamZoom, -100)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
@ -420,7 +420,7 @@ EvtScript N(80221680) = {
|
||||
EVT_WAIT_FRAMES(1)
|
||||
EVT_END_LOOP
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 0)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_king_Palette_00_Anim_1)
|
||||
EVT_CALL(SetGoalToHome, ACTOR_SELF)
|
||||
@ -433,7 +433,7 @@ EvtScript N(80221680) = {
|
||||
EVT_RETURN
|
||||
EVT_END_CASE_GROUP
|
||||
EVT_END_SWITCH
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_WAIT_FRAMES(2)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
@ -459,7 +459,7 @@ EvtScript N(80221680) = {
|
||||
};
|
||||
|
||||
EvtScript N(80221CD4) = {
|
||||
EVT_CALL(UseBattleCamPreset, 15)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_15)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 40)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
@ -470,7 +470,7 @@ EvtScript N(80221CD4) = {
|
||||
EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, TRUE, FALSE)
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20B4)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_king_Palette_00_Anim_0)
|
||||
EVT_THREAD
|
||||
@ -640,7 +640,7 @@ EvtScript N(nextTurn_802229C4) = {
|
||||
EVT_CALL(GetActorVar, -127, 3, LW(0))
|
||||
EVT_IF_EQ(LW(0), 0)
|
||||
EVT_CALL(func_802535B4, 0)
|
||||
EVT_CALL(UseBattleCamPreset, 13)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_13)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_ENEMY1)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_WAIT_FRAMES(20)
|
||||
@ -649,7 +649,7 @@ EvtScript N(nextTurn_802229C4) = {
|
||||
EVT_CALL(ActorSpeak, 721099, 513, 1, 6422538, 6422538)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_ENEMY1, 1)
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_ENEMY1, TRUE)
|
||||
EVT_CALL(UseBattleCamPreset, 13)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_13)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_ENEMY2)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
@ -658,13 +658,13 @@ EvtScript N(nextTurn_802229C4) = {
|
||||
EVT_CALL(ActorSpeak, 721100, 514, 1, 6422794, 6422794)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_ENEMY2, 1)
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_ENEMY2, TRUE)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_ENEMY0)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_WAIT_FRAMES(20)
|
||||
EVT_CALL(ActorSpeak, 721101, 512, 1, 6488073, 6488073)
|
||||
EVT_CALL(SetActorVar, -127, 3, 1)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_PLAYER)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
@ -678,7 +678,7 @@ EvtScript N(nextTurn_802229C4) = {
|
||||
EVT_CALL(SetActorYaw, ACTOR_PLAYER, 0)
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_PARTNER, TRUE)
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_PLAYER, TRUE)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_WAIT_FRAMES(20)
|
||||
EVT_CALL(func_802535B4, 1)
|
||||
EVT_END_IF
|
||||
|
@ -343,7 +343,7 @@ EvtScript N(80223DBC) = {
|
||||
EVT_IF_NE(LW(0), 0)
|
||||
EVT_RETURN
|
||||
EVT_END_IF
|
||||
EVT_CALL(UseBattleCamPreset, 15)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_15)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_ENEMY0)
|
||||
EVT_WAIT_FRAMES(20)
|
||||
EVT_CALL(SetActorVar, -127, 5, 1)
|
||||
@ -374,7 +374,7 @@ EvtScript N(80223DBC) = {
|
||||
EVT_ELSE
|
||||
EVT_CALL(FallPartTo, -127, 2, 10, 32, 10, 10)
|
||||
EVT_END_IF
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
EVT_CALL(SetOwnerTarget, 512, 2)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
|
@ -288,7 +288,7 @@ EvtScript N(takeTurn_8021C3B0) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_00_Anim_6)
|
||||
@ -369,7 +369,7 @@ EvtScript N(takeTurn_8021C3B0) = {
|
||||
EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_00_Anim_C)
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 180)
|
||||
EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2)
|
||||
@ -419,7 +419,7 @@ EvtScript N(takeTurn_8021C3B0) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0))
|
||||
EVT_WAIT_FRAMES(1)
|
||||
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0))
|
||||
@ -494,7 +494,7 @@ EvtScript N(doDeath_8021D0C4) = {
|
||||
EVT_CALL(GetActorHP, 512, LW(0))
|
||||
EVT_END_IF
|
||||
EVT_IF_NE(LW(0), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_ENEMY0)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_WAIT_FRAMES(20)
|
||||
@ -504,7 +504,7 @@ EvtScript N(doDeath_8021D0C4) = {
|
||||
EVT_CALL(ActorSpeak, 721088, 512, 1, -1, -1)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_ENEMY0, 1)
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_ENEMY0, TRUE)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_END_IF
|
||||
|
@ -286,7 +286,7 @@ EvtScript N(takeTurn_8021FAF0) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_00_Anim_6)
|
||||
@ -367,7 +367,7 @@ EvtScript N(takeTurn_8021FAF0) = {
|
||||
EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_bros_Palette_00_Anim_C)
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 180)
|
||||
EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2)
|
||||
@ -417,7 +417,7 @@ EvtScript N(takeTurn_8021FAF0) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0))
|
||||
EVT_WAIT_FRAMES(1)
|
||||
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0))
|
||||
|
@ -107,7 +107,7 @@ ActorBlueprint NAMESPACE = {
|
||||
EvtScript N(80224510) = {
|
||||
EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(UseBattleCamPreset, 7)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_H)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 38)
|
||||
EVT_CALL(SetBattleCamZoom, 256)
|
||||
@ -118,7 +118,7 @@ EvtScript N(80224510) = {
|
||||
|
||||
EvtScript N(802245A8) = {
|
||||
EVT_CALL(func_802535B4, 1)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 12)
|
||||
EVT_RETURN
|
||||
EVT_END
|
||||
@ -127,7 +127,7 @@ EvtScript N(802245A8) = {
|
||||
EvtScript N(802245E8) = {
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(UseBattleCamPreset, 55)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_55)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_RETURN
|
||||
@ -174,7 +174,7 @@ EvtScript N(80224658) = {
|
||||
EVT_CALL(PlaySound, SOUND_DEATH)
|
||||
EVT_CALL(DropStarPoints, -127)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 0)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(SetBattleCamZoom, 260)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 15)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
@ -385,7 +385,7 @@ EvtScript N(takeTurn_80225314) = {
|
||||
EVT_WAIT_FRAMES(20)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
@ -430,7 +430,7 @@ EvtScript N(takeTurn_80225314) = {
|
||||
EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_jr_troopa_default_idle)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 25)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 180)
|
||||
EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2)
|
||||
@ -459,7 +459,7 @@ EvtScript N(takeTurn_80225314) = {
|
||||
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 2, 32)
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_DEFAULT
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(ResetAllActorSounds, ACTOR_SELF)
|
||||
EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_ADD(LW(0), 40)
|
||||
|
@ -256,7 +256,7 @@ EvtScript N(8022C804) = {
|
||||
EvtScript N(8022CB2C) = {
|
||||
EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(UseBattleCamPreset, 7)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_H)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 38)
|
||||
EVT_CALL(SetBattleCamZoom, 256)
|
||||
@ -267,7 +267,7 @@ EvtScript N(8022CB2C) = {
|
||||
|
||||
EvtScript N(8022CBC4) = {
|
||||
EVT_CALL(func_802535B4, 1)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 12)
|
||||
EVT_RETURN
|
||||
EVT_END
|
||||
@ -276,7 +276,7 @@ EvtScript N(8022CBC4) = {
|
||||
EvtScript N(8022CC04) = {
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(UseBattleCamPreset, 55)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_55)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_RETURN
|
||||
@ -323,7 +323,7 @@ EvtScript N(8022CC74) = {
|
||||
EVT_CALL(PlaySound, SOUND_DEATH)
|
||||
EVT_CALL(DropStarPoints, -127)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 0)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(SetBattleCamZoom, 260)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 15)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
@ -551,7 +551,7 @@ EvtScript N(takeTurn_8022D920) = {
|
||||
EVT_IF_NOT_FLAG(LW(0), 0x2)
|
||||
EVT_BITWISE_OR_CONST(LW(0), 0x2)
|
||||
EVT_CALL(SetActorVar, -127, 2, LW(0))
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(GetActorVar, -127, 3, LW(0))
|
||||
@ -608,7 +608,7 @@ EvtScript N(takeTurn_8022D920) = {
|
||||
EvtScript N(8022DD48) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(ActorSpeak, 1245278, -127, 1, 2162712, 2162712)
|
||||
@ -636,11 +636,11 @@ EvtScript N(8022DD48) = {
|
||||
EvtScript N(8022DF54) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(ActorSpeak, 1245279, -127, 2, 2293775, 2293775)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 120)
|
||||
EVT_EXEC_WAIT(N(8022C804))
|
||||
EVT_CALL(SetPartFlagBits, -127, 2, 131073, 1)
|
||||
@ -668,7 +668,7 @@ EvtScript N(8022E198) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
@ -705,7 +705,7 @@ EvtScript N(8022E198) = {
|
||||
EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(FlyToGoal, ACTOR_SELF, 16, 0, 5)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 180)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_jr_troopa_default_sprint_crazy)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 180)
|
||||
@ -751,7 +751,7 @@ EvtScript N(8022E198) = {
|
||||
EVT_SUB(LW(0), 10)
|
||||
EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_jr_troopa_default_run)
|
||||
EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(7.0))
|
||||
EVT_CALL(SetGoalToHome, ACTOR_SELF)
|
||||
@ -782,7 +782,7 @@ EvtScript N(8022E198) = {
|
||||
EVT_WAIT_FRAMES(2)
|
||||
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(15), 0, 0, 0, 8, 32)
|
||||
EVT_CALL(ResetAllActorSounds, ACTOR_SELF)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_ADD(LW(0), 40)
|
||||
EVT_SET(LW(1), 0)
|
||||
@ -814,7 +814,7 @@ EvtScript N(8022ED10) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_spiked_para_jr_troopa_default_run)
|
||||
@ -827,7 +827,7 @@ EvtScript N(8022ED10) = {
|
||||
EVT_CASE_OR_EQ(6)
|
||||
EVT_CASE_OR_EQ(5)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 66)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_66)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetActorSounds, -127, 2, 8416, 0)
|
||||
@ -850,7 +850,7 @@ EvtScript N(8022ED10) = {
|
||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0)
|
||||
EVT_END_IF
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(ResetAllActorSounds, ACTOR_SELF)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_spiked_para_jr_troopa_default_run)
|
||||
@ -867,7 +867,7 @@ EvtScript N(8022ED10) = {
|
||||
EVT_CASE_DEFAULT
|
||||
EVT_END_SWITCH
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 66)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_66)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetActorSounds, -127, 2, 8416, 0)
|
||||
@ -885,7 +885,7 @@ EvtScript N(8022ED10) = {
|
||||
EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -10, 0)
|
||||
EVT_WAIT_FRAMES(2)
|
||||
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 8, 32)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(AddGoalPos, ACTOR_SELF, 50, 10, 0)
|
||||
EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(4.0))
|
||||
@ -911,7 +911,7 @@ EvtScript N(8022F468) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_WAIT_FRAMES(20)
|
||||
@ -919,7 +919,7 @@ EvtScript N(8022F468) = {
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_spiked_para_jr_troopa_default_shell_hide)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_spiked_para_jr_troopa_default_idle_shell)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_UNUSED_2C1)
|
||||
@ -1012,7 +1012,7 @@ EvtScript N(8022F468) = {
|
||||
EVT_WAIT_FRAMES(2)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(15), 0, 0, 0, 9, 32)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(ResetAllActorSounds, ACTOR_SELF)
|
||||
EVT_THREAD
|
||||
EVT_CALL(GetActorPos, ACTOR_SELF, LW(1), LW(2), LW(3))
|
||||
@ -1054,7 +1054,7 @@ EvtScript N(80230034) = {
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 3, NPC_ANIM_mage_jr_troopa_default_attack)
|
||||
EVT_WAIT_FRAMES(8)
|
||||
@ -1141,7 +1141,7 @@ EvtScript N(80230034) = {
|
||||
EVT_CALL(PlayEffect, 0x12, 0, LW(0), LW(1), LW(2), LW(3), LW(4), LW(5), 15, 0, 0, 0, 0, 0)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), (DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_NO_CONTACT), 0, 0, 8, 32)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 1)
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE)
|
||||
EVT_RETURN
|
||||
@ -1176,7 +1176,7 @@ EvtScript N(80230794) = {
|
||||
EVT_ADD(LW(0), LW(3))
|
||||
EVT_ADD(LW(1), LW(4))
|
||||
EVT_CALL(PlayEffect, 0x13, 0, LW(0), LW(1), LW(2), LW(5), 30, 0, 0, 0, 0, 0, 0, 0)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 60)
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_BIG_POWER_UP)
|
||||
@ -1259,7 +1259,7 @@ EvtScript N(80230794) = {
|
||||
EVT_CALL(PlayEffect, 0x5E, 0, LW(0), LW(1), LW(2), LW(3), LW(4), LW(5), EVT_FLOAT(1.0), 18, 0, 0, 0, 0)
|
||||
EVT_WAIT_FRAMES(14)
|
||||
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), (DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_ELECTRIC | DAMAGE_TYPE_NO_CONTACT), 0, 65536, 9, 32)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MakeLerp, 200, 0, 60, 0)
|
||||
EVT_LABEL(2)
|
||||
EVT_CALL(UpdateLerp)
|
||||
@ -1280,7 +1280,7 @@ EvtScript N(8023106C) = {
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
EVT_WAIT_FRAMES(30)
|
||||
@ -1343,7 +1343,7 @@ EvtScript N(nextTurn_8023147C) = {
|
||||
EVT_IF_NOT_FLAG(LW(0), 0x1)
|
||||
EVT_BITWISE_OR_CONST(LW(0), 0x1)
|
||||
EVT_CALL(SetActorVar, -127, 2, LW(0))
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(ActorSpeak, 1245277, -127, 1, 2162714, 2162714)
|
||||
@ -1428,7 +1428,7 @@ EvtScript N(802318F8) = {
|
||||
EVT_CALL(GetActorVar, -127, 3, LW(0))
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_IF_EQ(LW(1), 0)
|
||||
EVT_GOTO(0)
|
||||
@ -1462,7 +1462,7 @@ EvtScript N(802318F8) = {
|
||||
EVT_CALL(PlaySound, SOUND_DEATH)
|
||||
EVT_CALL(DropStarPoints, -127)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 0)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(SetBattleCamZoom, 260)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 15)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
@ -1515,7 +1515,7 @@ EvtScript N(802318F8) = {
|
||||
EVT_CALL(PlaySound, SOUND_DEATH)
|
||||
EVT_CALL(DropStarPoints, -127)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 0)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(SetBattleCamZoom, 260)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 15)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
|
@ -90,7 +90,7 @@ ActorBlueprint NAMESPACE = {
|
||||
EvtScript N(80222B30) = {
|
||||
EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(UseBattleCamPreset, 7)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_H)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 38)
|
||||
EVT_CALL(SetBattleCamZoom, 256)
|
||||
@ -101,7 +101,7 @@ EvtScript N(80222B30) = {
|
||||
|
||||
EvtScript N(80222BC8) = {
|
||||
EVT_CALL(func_802535B4, 1)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 12)
|
||||
EVT_RETURN
|
||||
EVT_END
|
||||
@ -110,7 +110,7 @@ EvtScript N(80222BC8) = {
|
||||
EvtScript N(80222C08) = {
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(UseBattleCamPreset, 55)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_55)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_RETURN
|
||||
@ -157,7 +157,7 @@ EvtScript N(80222C78) = {
|
||||
EVT_CALL(PlaySound, SOUND_DEATH)
|
||||
EVT_CALL(DropStarPoints, -127)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 0)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(SetBattleCamZoom, 260)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 15)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
@ -169,7 +169,7 @@ EvtScript N(80222C78) = {
|
||||
EVT_CALL(SetIdleAnimations, ACTOR_SELF, LW(10), EVT_ADDR(N(idleAnimations_80222C6C)))
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_PARTNER, FALSE)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_PLAYER, FALSE)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_10002)
|
||||
@ -291,7 +291,7 @@ EvtScript N(takeTurn_802234A4) = {
|
||||
EVT_END_IF
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_jr_troopa_default_run)
|
||||
@ -330,7 +330,7 @@ EvtScript N(takeTurn_802234A4) = {
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_jr_troopa_default_idle)
|
||||
EVT_WAIT_FRAMES(8)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_jr_troopa_default_idle)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetGoalToHome, ACTOR_SELF)
|
||||
EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0))
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_jr_troopa_default_run)
|
||||
@ -353,7 +353,7 @@ EvtScript N(takeTurn_802234A4) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(ResetAllActorSounds, ACTOR_SELF)
|
||||
EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_ADD(LW(0), 40)
|
||||
@ -419,7 +419,7 @@ EvtScript N(nextTurn_80223D2C) = {
|
||||
EVT_END_THREAD
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(func_802535B4, 1)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 4)
|
||||
EVT_END_IF
|
||||
EVT_END_IF
|
||||
|
@ -187,7 +187,7 @@ EvtScript N(8022A880) = {
|
||||
EvtScript N(8022ABA8) = {
|
||||
EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(UseBattleCamPreset, 7)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_H)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 38)
|
||||
EVT_CALL(SetBattleCamZoom, 256)
|
||||
@ -198,7 +198,7 @@ EvtScript N(8022ABA8) = {
|
||||
|
||||
EvtScript N(8022AC40) = {
|
||||
EVT_CALL(func_802535B4, 1)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 12)
|
||||
EVT_RETURN
|
||||
EVT_END
|
||||
@ -207,7 +207,7 @@ EvtScript N(8022AC40) = {
|
||||
EvtScript N(8022AC80) = {
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(UseBattleCamPreset, 55)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_55)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_RETURN
|
||||
@ -392,7 +392,7 @@ EvtScript N(takeTurn_8022B4F0) = {
|
||||
EVT_CALL(PlayEffect, 0x13, 0, LW(0), LW(1), LW(2), LW(5), 30, 0, 0, 0, 0, 0, 0, 0)
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_mage_jr_troopa_default_attack2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(10), DAMAGE_TYPE_NO_CONTACT, 0, 1, 16)
|
||||
EVT_SWITCH(LW(10))
|
||||
EVT_CASE_OR_EQ(6)
|
||||
@ -566,7 +566,7 @@ EvtScript N(8022BF1C) = {
|
||||
EVT_CALL(PlaySound, SOUND_DEATH)
|
||||
EVT_CALL(DropStarPoints, -127)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 0)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(SetBattleCamZoom, 260)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 15)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
|
@ -173,7 +173,7 @@ EvtScript N(802260AC) = {
|
||||
EvtScript N(802263D4) = {
|
||||
EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(UseBattleCamPreset, 7)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_H)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 38)
|
||||
EVT_CALL(SetBattleCamZoom, 256)
|
||||
@ -184,7 +184,7 @@ EvtScript N(802263D4) = {
|
||||
|
||||
EvtScript N(8022646C) = {
|
||||
EVT_CALL(func_802535B4, 1)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 12)
|
||||
EVT_RETURN
|
||||
EVT_END
|
||||
@ -193,7 +193,7 @@ EvtScript N(8022646C) = {
|
||||
EvtScript N(802264AC) = {
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(UseBattleCamPreset, 55)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_55)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_RETURN
|
||||
@ -392,7 +392,7 @@ EvtScript N(takeTurn_80226F58) = {
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
@ -406,7 +406,7 @@ EvtScript N(takeTurn_80226F58) = {
|
||||
EVT_CASE_OR_EQ(6)
|
||||
EVT_CASE_OR_EQ(5)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 66)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_66)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetActorSounds, -127, 2, 8416, 0)
|
||||
@ -429,7 +429,7 @@ EvtScript N(takeTurn_80226F58) = {
|
||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0)
|
||||
EVT_END_IF
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(ResetAllActorSounds, ACTOR_SELF)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_para_jr_troopa_default_run)
|
||||
@ -445,7 +445,7 @@ EvtScript N(takeTurn_80226F58) = {
|
||||
EVT_END_CASE_GROUP
|
||||
EVT_CASE_DEFAULT
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 66)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_66)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetActorSounds, -127, 2, 8416, 0)
|
||||
@ -469,7 +469,7 @@ EvtScript N(takeTurn_80226F58) = {
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CASE_OR_EQ(10)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(AddGoalPos, ACTOR_SELF, 50, 10, 0)
|
||||
EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(4.0))
|
||||
@ -501,7 +501,7 @@ EvtScript N(nextTurn_80227724) = {
|
||||
EVT_IF_EQ(LW(0), 0)
|
||||
EVT_CALL(SetActorVar, -127, 0, 1)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 35)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
@ -532,7 +532,7 @@ EvtScript N(nextTurn_80227724) = {
|
||||
};
|
||||
|
||||
EvtScript N(802279B0) = {
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_IF_EQ(LW(1), 0)
|
||||
EVT_GOTO(0)
|
||||
@ -567,7 +567,7 @@ EvtScript N(802279B0) = {
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_DEATH)
|
||||
EVT_CALL(DropStarPoints, -127)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 0)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(SetBattleCamZoom, 260)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 15)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
|
@ -370,7 +370,7 @@ EvtScript N(takeTurn_8021CDFC) = {
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_paragoomba_default_run)
|
||||
@ -384,7 +384,7 @@ EvtScript N(takeTurn_8021CDFC) = {
|
||||
EVT_CASE_OR_EQ(5)
|
||||
EVT_SET(LW(10), LW(0))
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 66)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_66)
|
||||
EVT_CALL(SetBattleCamZoom, 300)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
@ -420,7 +420,7 @@ EvtScript N(takeTurn_8021CDFC) = {
|
||||
EVT_END_IF
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimationRate, ACTOR_SELF, 2, EVT_FLOAT(1.0))
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(ResetAllActorSounds, ACTOR_SELF)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 2, NPC_ANIM_paragoomba_default_run)
|
||||
@ -434,7 +434,7 @@ EvtScript N(takeTurn_8021CDFC) = {
|
||||
EVT_END_CASE_GROUP
|
||||
EVT_CASE_DEFAULT
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 66)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_66)
|
||||
EVT_CALL(SetBattleCamZoom, 300)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
@ -458,7 +458,7 @@ EvtScript N(takeTurn_8021CDFC) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(AddGoalPos, ACTOR_SELF, 50, 10, 0)
|
||||
EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0))
|
||||
@ -759,7 +759,7 @@ EvtScript N(takeTurn_8021E788) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_normal_run)
|
||||
@ -840,7 +840,7 @@ EvtScript N(takeTurn_8021E788) = {
|
||||
EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_goomba_normal_dizzy)
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 180)
|
||||
EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2)
|
||||
@ -890,7 +890,7 @@ EvtScript N(takeTurn_8021E788) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0))
|
||||
EVT_WAIT_FRAMES(1)
|
||||
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0))
|
||||
@ -951,7 +951,7 @@ EvtScript N(8021F4B0) = {
|
||||
EVT_WAIT_FRAMES(1)
|
||||
EVT_CALL(SetActorYaw, ACTOR_PLAYER, 180)
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(ActorSpeak, 721080, 256, 0, 10289160, 10289153)
|
||||
EVT_SET(GSWF(1819), 1)
|
||||
|
@ -301,7 +301,7 @@ EvtScript N(takeTurn_8021B19C) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_spiked_goomba_default_run)
|
||||
@ -382,7 +382,7 @@ EvtScript N(takeTurn_8021B19C) = {
|
||||
EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_spiked_goomba_default_dizzy)
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 180)
|
||||
EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2)
|
||||
@ -432,7 +432,7 @@ EvtScript N(takeTurn_8021B19C) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.1), EVT_FLOAT(0.8), EVT_FLOAT(1.0))
|
||||
EVT_WAIT_FRAMES(1)
|
||||
EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0))
|
||||
@ -499,7 +499,7 @@ EvtScript N(8021BF1C) = {
|
||||
EVT_WAIT_FRAMES(1)
|
||||
EVT_CALL(SetActorYaw, ACTOR_PLAYER, 180)
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(ActorSpeak, 721081, 256, 0, 10289160, 10289153)
|
||||
EVT_SET(GSWF(1818), 1)
|
||||
|
@ -167,7 +167,7 @@ EvtScript N(802281B4) = {
|
||||
EvtScript N(802284DC) = {
|
||||
EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(UseBattleCamPreset, 7)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_H)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 38)
|
||||
EVT_CALL(SetBattleCamZoom, 256)
|
||||
@ -178,7 +178,7 @@ EvtScript N(802284DC) = {
|
||||
|
||||
EvtScript N(80228574) = {
|
||||
EVT_CALL(func_802535B4, 1)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 12)
|
||||
EVT_RETURN
|
||||
EVT_END
|
||||
@ -187,7 +187,7 @@ EvtScript N(80228574) = {
|
||||
EvtScript N(802285B4) = {
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(UseBattleCamPreset, 55)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_55)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_RETURN
|
||||
@ -442,7 +442,7 @@ EvtScript N(takeTurn_8022936C) = {
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
@ -456,7 +456,7 @@ EvtScript N(takeTurn_8022936C) = {
|
||||
EVT_CASE_OR_EQ(6)
|
||||
EVT_CASE_OR_EQ(5)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 66)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_66)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetActorSounds, -127, 2, 8416, 0)
|
||||
@ -479,7 +479,7 @@ EvtScript N(takeTurn_8022936C) = {
|
||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0)
|
||||
EVT_END_IF
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(ResetAllActorSounds, ACTOR_SELF)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_spiked_para_jr_troopa_default_run)
|
||||
@ -495,7 +495,7 @@ EvtScript N(takeTurn_8022936C) = {
|
||||
EVT_END_CASE_GROUP
|
||||
EVT_CASE_DEFAULT
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 66)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_66)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetActorSounds, -127, 2, 8416, 0)
|
||||
@ -519,7 +519,7 @@ EvtScript N(takeTurn_8022936C) = {
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CASE_OR_EQ(10)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(AddGoalPos, ACTOR_SELF, 50, 10, 0)
|
||||
EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(4.0))
|
||||
@ -567,7 +567,7 @@ EvtScript N(nextTurn_80229B38) = {
|
||||
EVT_IF_EQ(LW(0), 0)
|
||||
EVT_CALL(SetActorVar, -127, 0, 1)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 35)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
@ -631,7 +631,7 @@ EvtScript N(nextTurn_80229B38) = {
|
||||
};
|
||||
|
||||
EvtScript N(8022A018) = {
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_IF_EQ(LW(1), 0)
|
||||
EVT_GOTO(0)
|
||||
@ -666,7 +666,7 @@ EvtScript N(8022A018) = {
|
||||
EVT_CALL(PlaySound, SOUND_DEATH)
|
||||
EVT_CALL(DropStarPoints, -127)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 0)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(SetBattleCamZoom, 260)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 15)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
|
@ -565,7 +565,7 @@ EvtScript N(takeTurn_8021B81C) = {
|
||||
EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(SetHomePos, -127, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(HPBarToHome, ACTOR_SELF)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(GetBattlePhase, LW(0))
|
||||
@ -589,7 +589,7 @@ EvtScript N(takeTurn_8021B81C) = {
|
||||
EVT_CALL(SetActorSounds, -127, 2, 769, 0)
|
||||
EVT_CALL(GetBattlePhase, LW(0))
|
||||
EVT_IF_EQ(LW(0), 1)
|
||||
EVT_CALL(UseBattleCamPreset, 5)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_F)
|
||||
EVT_CALL(SetBattleCamZoom, 430)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 20)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
@ -626,7 +626,7 @@ EvtScript N(takeTurn_8021B81C) = {
|
||||
EVT_CALL(SetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE)
|
||||
EVT_WAIT_FRAMES(8)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(SetGoalToHome, ACTOR_SELF)
|
||||
EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0))
|
||||
@ -659,7 +659,7 @@ EvtScript N(takeTurn_8021B81C) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_ADD(LW(0), 30)
|
||||
EVT_SET(LW(1), 0)
|
||||
@ -699,7 +699,7 @@ EvtScript N(takeTurn_Chan) = {
|
||||
EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2)
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_ELSE
|
||||
EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2)
|
||||
EVT_WAIT_FRAMES(20)
|
||||
@ -722,7 +722,7 @@ EvtScript N(takeTurn_Chan) = {
|
||||
EVT_RETURN
|
||||
EVT_END_IF
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_chan_Palette_00_Anim_C)
|
||||
@ -756,12 +756,12 @@ EvtScript N(takeTurn_Chan) = {
|
||||
EVT_END_IF
|
||||
EVT_WAIT_FRAMES(1)
|
||||
EVT_END_LOOP
|
||||
EVT_CALL(UseBattleCamPreset, 1)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_B)
|
||||
EVT_IF_EQ(LW(10), 5)
|
||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0)
|
||||
EVT_END_IF
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(AddGoalPos, ACTOR_SELF, -150, 0, 0)
|
||||
@ -794,7 +794,7 @@ EvtScript N(takeTurn_Chan) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_ADD(LW(0), 40)
|
||||
EVT_SET(LW(1), 0)
|
||||
@ -846,7 +846,7 @@ EvtScript N(nextTurn_8021CD7C) = {
|
||||
EVT_CASE_EQ(10)
|
||||
EVT_CALL(GetActorVar, -127, 0, LW(0))
|
||||
EVT_IF_EQ(LW(0), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(ActorSpeak, 131103, -127, 1, 10682372, 10682371)
|
||||
EVT_CALL(SetActorVar, -127, 0, 1)
|
||||
@ -873,7 +873,7 @@ EvtScript N(nextTurn_8021CD7C) = {
|
||||
EVT_IF_LE(LW(0), LW(1))
|
||||
EVT_CALL(GetActorVar, -127, 2, LW(0))
|
||||
EVT_IF_EQ(LW(0), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(ActorSpeak, 131105, -127, 1, LW(10), LW(11))
|
||||
EVT_CALL(SetActorVar, -127, 2, 1)
|
||||
@ -882,7 +882,7 @@ EvtScript N(nextTurn_8021CD7C) = {
|
||||
EVT_END_IF
|
||||
EVT_CALL(GetPlayerHP, LW(0))
|
||||
EVT_IF_LE(LW(0), 5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(ActorSpeak, 131106, -127, 1, LW(10), LW(11))
|
||||
EVT_BREAK_SWITCH
|
||||
@ -927,7 +927,7 @@ EvtScript N(handleEvent_8021D0CC) = {
|
||||
EVT_ADD(LW(0), 1)
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_EQ(1)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(ActorSpeak, 131104, -127, 1, 10682375, 10682370)
|
||||
EVT_CASE_EQ(2)
|
||||
|
@ -260,7 +260,7 @@ EvtScript N(flyingTackle) = {
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetActorVar, -127, 8, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_lee_Palette_00_Anim_8)
|
||||
@ -271,7 +271,7 @@ EvtScript N(flyingTackle) = {
|
||||
EVT_CASE_OR_EQ(6)
|
||||
EVT_CASE_OR_EQ(5)
|
||||
EVT_SET(LW(10), LW(0))
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_lee_Palette_00_Anim_9)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
@ -314,7 +314,7 @@ EvtScript N(flyingTackle) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(ResetActorSounds, -127, 2)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_lee_Palette_00_Anim_A)
|
||||
EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
@ -377,7 +377,7 @@ EvtScript N(8021E118) = {
|
||||
EVT_CALL(SetIdleAnimations, LW(10), 1, EVT_ADDR(N(idleAnimations_8021D3AC)))
|
||||
EVT_CALL(SetAnimation, LW(10), 1, 0xA4000B)
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(GetActorPos, LW(10), LW(11), LW(12), LW(13))
|
||||
EVT_IF_GT(LW(12), 0)
|
||||
EVT_SET(LW(12), 0)
|
||||
@ -422,7 +422,7 @@ EvtScript N(8021E5DC) = {
|
||||
EVT_SET(LW(0), LW(10))
|
||||
EVT_SET(LW(1), LW(11))
|
||||
EVT_EXEC_WAIT(DoShockHit)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_THREAD
|
||||
EVT_CALL(SetActorRotationOffset, -127, 0, LW(12), 0)
|
||||
EVT_SET(LW(0), 0)
|
||||
@ -659,7 +659,7 @@ EvtScript N(handleEvent_8021EB24) = {
|
||||
};
|
||||
|
||||
EvtScript N(8021F08C) = {
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_goombario_default_idle)
|
||||
EVT_THREAD
|
||||
EVT_CALL(SetActorRotationOffset, -127, 0, 12, 0)
|
||||
@ -719,7 +719,7 @@ EvtScript N(8021F08C) = {
|
||||
};
|
||||
|
||||
EvtScript N(8021F514) = {
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
@ -970,7 +970,7 @@ EvtScript N(80220100) = {
|
||||
EVT_WAIT_FRAMES(12)
|
||||
EVT_CALL(SetCamEnabled, 2, 0)
|
||||
EVT_WAIT_FRAMES(32)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetBattleFlagBits, 4, 0)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 1)
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE)
|
||||
@ -1368,7 +1368,7 @@ EvtScript N(takeTurn_80221200) = {
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_kooper_Palette_00_Anim_A)
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x200C)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 75)
|
||||
EVT_CALL(func_8024ECF8, 1, 1, 1)
|
||||
@ -1414,7 +1414,7 @@ EvtScript N(takeTurn_80221200) = {
|
||||
EVT_END_LOOP
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x200A)
|
||||
EVT_CALL(SetActorSounds, -127, 0, 0, 0)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 15)
|
||||
EVT_CALL(AddActorDecoration, ACTOR_SELF, 0, 0, 5)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
@ -1457,7 +1457,7 @@ EvtScript N(takeTurn_80221200) = {
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_kooper_Palette_00_Anim_F)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(ResetAllActorSounds, ACTOR_SELF)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_kooper_Palette_00_Anim_6)
|
||||
@ -1485,7 +1485,7 @@ EvtScript N(takeTurn_80221200) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 8)
|
||||
EVT_CALL(GetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_ADD(LW(0), 60)
|
||||
@ -1755,7 +1755,7 @@ EvtScript N(takeTurn_802229C4) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
@ -1798,7 +1798,7 @@ EvtScript N(takeTurn_802229C4) = {
|
||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0)
|
||||
EVT_END_IF
|
||||
EVT_WAIT_FRAMES(20)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_bombette_Palette_00_Anim_8)
|
||||
EVT_CALL(SetGoalToHome, ACTOR_SELF)
|
||||
@ -1829,7 +1829,7 @@ EvtScript N(takeTurn_802229C4) = {
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_bombette_Palette_00_Anim_4)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 8)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_bombette_Palette_00_Anim_11)
|
||||
EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
@ -2126,7 +2126,7 @@ EvtScript N(80223B74) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_parakarry_Palette_00_Anim_3)
|
||||
@ -2136,7 +2136,7 @@ EvtScript N(80223B74) = {
|
||||
EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -10, 10)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_parakarry_Palette_00_Anim_0)
|
||||
EVT_WAIT_FRAMES(3)
|
||||
EVT_CALL(func_8024E664, 1)
|
||||
EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_B)
|
||||
EVT_CALL(SetActorSounds, -127, 1, 0, 0)
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2004)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_parakarry_Palette_00_Anim_14)
|
||||
@ -2172,7 +2172,7 @@ EvtScript N(80223B74) = {
|
||||
EVT_WAIT_FRAMES(20)
|
||||
EVT_CALL(EnableActorBlur, -127, 0)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(SetGoalToHome, ACTOR_SELF)
|
||||
EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0))
|
||||
@ -2202,7 +2202,7 @@ EvtScript N(80223B74) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_parakarry_Palette_00_Anim_5)
|
||||
EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.4))
|
||||
EVT_CALL(AddGoalPos, ACTOR_SELF, 50, 0, 0)
|
||||
@ -2414,7 +2414,7 @@ EvtScript N(handleEvent_8022460C) = {
|
||||
EVT_EXEC_WAIT(DoDeath)
|
||||
EVT_RETURN
|
||||
EVT_CASE_EQ(47)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_SET_CONST(LW(0), 0x00000001)
|
||||
EVT_SET_CONST(LW(1), NPC_ANIM_battle_bow_Palette_00_Anim_15)
|
||||
EVT_SET(LW(2), 14)
|
||||
@ -2428,7 +2428,7 @@ EvtScript N(handleEvent_8022460C) = {
|
||||
EVT_END_LOOP
|
||||
EVT_END_THREAD
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 60)
|
||||
EVT_CALL(SetGoalToHome, ACTOR_SELF)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_bow_Palette_00_Anim_3)
|
||||
@ -2442,7 +2442,7 @@ EvtScript N(handleEvent_8022460C) = {
|
||||
EVT_END_LOOP
|
||||
EVT_CALL(SetPartAlpha, -127, 1, 255)
|
||||
EVT_CASE_EQ(38)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_EXEC_WAIT(N(8021E0E0))
|
||||
EVT_SET_CONST(LW(0), 0x00000001)
|
||||
EVT_SET_CONST(LW(1), NPC_ANIM_battle_bow_Palette_00_Anim_15)
|
||||
@ -2509,7 +2509,7 @@ EvtScript N(takeTurn_80224CA0) = {
|
||||
EVT_END_LOOP
|
||||
EVT_END_THREAD
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 1)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_B)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_THREAD
|
||||
@ -2524,7 +2524,7 @@ EvtScript N(takeTurn_80224CA0) = {
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_bow_Palette_00_Anim_1)
|
||||
EVT_END_THREAD
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(UseBattleCamPreset, 15)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_15)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
EVT_SET(LW(0), 55)
|
||||
@ -2543,7 +2543,7 @@ EvtScript N(takeTurn_80224CA0) = {
|
||||
EVT_CASE_OR_EQ(6)
|
||||
EVT_CASE_OR_EQ(5)
|
||||
EVT_SET(LW(10), LW(0))
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetPartScale, -127, 1, EVT_FLOAT(1.4), EVT_FLOAT(1.4), EVT_FLOAT(1.0))
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_bow_Palette_00_Anim_7)
|
||||
EVT_WAIT_FRAMES(2)
|
||||
@ -2574,7 +2574,7 @@ EvtScript N(takeTurn_80224CA0) = {
|
||||
EVT_END_LOOP
|
||||
EVT_END_THREAD
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 60)
|
||||
EVT_CALL(SetGoalToHome, ACTOR_SELF)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_bow_Palette_00_Anim_3)
|
||||
@ -2665,7 +2665,7 @@ EvtScript N(takeTurn_80224CA0) = {
|
||||
EVT_END_LOOP
|
||||
EVT_END_THREAD
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
EVT_CALL(SetGoalToHome, ACTOR_SELF)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_bow_Palette_00_Anim_3)
|
||||
@ -2964,7 +2964,7 @@ EvtScript N(handleEvent_80225B90) = {
|
||||
|
||||
EvtScript N(takeTurn_80226004) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(UseBattleCamPreset, 19)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(SetBattleCamTarget, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(SetBattleCamZoom, 350)
|
||||
@ -3004,7 +3004,7 @@ EvtScript N(takeTurn_80226004) = {
|
||||
EVT_CALL(func_802196A4_465B34, 1)
|
||||
EVT_CALL(func_80219658_465AE8, 1)
|
||||
EVT_WAIT_FRAMES(20)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(SetGoalToHome, ACTOR_SELF)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_watt_Palette_00_Anim_3)
|
||||
@ -3064,7 +3064,7 @@ EvtScript N(takeTurn_80226004) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(func_802196A4_465B34, 1)
|
||||
EVT_CALL(func_80219658_465AE8, 1)
|
||||
EVT_CALL(AddGoalPos, ACTOR_SELF, 25, 10, 0)
|
||||
@ -3315,7 +3315,7 @@ EvtScript N(handleEvent_80226B54) = {
|
||||
EvtScript N(takeTurn_802270BC) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
@ -3334,7 +3334,7 @@ EvtScript N(takeTurn_802270BC) = {
|
||||
EVT_CALL(RunToGoal, ACTOR_SELF, LW(10), FALSE)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_sushie_Palette_00_Anim_1)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 8)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_I)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(AddBattleCamZoom, -50)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
@ -3348,7 +3348,7 @@ EvtScript N(takeTurn_802270BC) = {
|
||||
EVT_CASE_OR_EQ(6)
|
||||
EVT_CASE_OR_EQ(5)
|
||||
EVT_SET(LW(10), LW(0))
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_sushie_Palette_00_Anim_5)
|
||||
EVT_THREAD
|
||||
@ -3427,7 +3427,7 @@ EvtScript N(takeTurn_802270BC) = {
|
||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0)
|
||||
EVT_END_IF
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_sushie_Palette_00_Anim_3)
|
||||
EVT_CALL(SetGoalToHome, ACTOR_SELF)
|
||||
@ -3438,7 +3438,7 @@ EvtScript N(takeTurn_802270BC) = {
|
||||
EVT_RETURN
|
||||
EVT_END_CASE_GROUP
|
||||
EVT_END_SWITCH
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_sushie_Palette_00_Anim_5)
|
||||
EVT_THREAD
|
||||
@ -3543,7 +3543,7 @@ EvtScript N(takeTurn_802270BC) = {
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x29A)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_sushie_Palette_00_Anim_1)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_sushie_Palette_00_Anim_3)
|
||||
EVT_CALL(SetGoalToHome, ACTOR_SELF)
|
||||
@ -3808,7 +3808,7 @@ EvtScript N(takeTurn_80228B78) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_lakilester_Palette_00_Anim_3)
|
||||
@ -3903,7 +3903,7 @@ EvtScript N(takeTurn_80228B78) = {
|
||||
EVT_END_IF
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 60)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_lakilester_Palette_00_Anim_3)
|
||||
EVT_CALL(SetGoalToHome, ACTOR_SELF)
|
||||
@ -3940,7 +3940,7 @@ EvtScript N(takeTurn_80228B78) = {
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 8)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_battle_lakilester_Palette_00_Anim_3)
|
||||
EVT_CALL(SetGoalToHome, ACTOR_SELF)
|
||||
@ -4023,7 +4023,7 @@ ApiStatus func_80219824_465CB4(Evt* script, s32 isInitialCall) {
|
||||
EvtScript N(copyPartner) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 15)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
@ -4097,7 +4097,7 @@ EvtScript N(copyPartner) = {
|
||||
EVT_CALL(SetActorVar, LW(10), 0, LW(0))
|
||||
EVT_CALL(SetActorVar, LW(10), 1, LW(6))
|
||||
EVT_WAIT_FRAMES(20)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_THREAD
|
||||
EVT_CALL(MakeLerp, 200, 0, 20, 0)
|
||||
@ -4170,7 +4170,7 @@ EvtScript N(nextTurn_8022A038) = {
|
||||
EVT_CALL(GetEnemyMaxHP, -127, LW(1))
|
||||
EVT_DIV(LW(1), 2)
|
||||
EVT_IF_LE(LW(0), LW(1))
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(GetActorVar, -127, 8, LW(0))
|
||||
EVT_IF_EQ(LW(0), 1)
|
||||
@ -4182,7 +4182,7 @@ EvtScript N(nextTurn_8022A038) = {
|
||||
EVT_END_IF
|
||||
EVT_CALL(GetPlayerHP, LW(0))
|
||||
EVT_IF_LE(LW(0), 5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(ActorSpeak, 131113, -127, 1, 10747910, 10747907)
|
||||
EVT_BREAK_SWITCH
|
||||
|
@ -220,7 +220,7 @@ EvtScript N(takeTurn_8022AA54) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_7)
|
||||
@ -248,7 +248,7 @@ EvtScript N(takeTurn_8022AA54) = {
|
||||
EVT_SWITCH(LW(10))
|
||||
EVT_CASE_OR_EQ(6)
|
||||
EVT_CASE_OR_EQ(5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
@ -279,7 +279,7 @@ EvtScript N(takeTurn_8022AA54) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_ADD(LW(0), 20)
|
||||
@ -291,7 +291,7 @@ EvtScript N(takeTurn_8022AA54) = {
|
||||
EVT_WAIT_FRAMES(20)
|
||||
EVT_END_CASE_GROUP
|
||||
EVT_END_SWITCH
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_2)
|
||||
EVT_CALL(SetGoalToHome, ACTOR_SELF)
|
||||
EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0))
|
||||
@ -312,7 +312,7 @@ EvtScript N(nextTurn_8022B06C) = {
|
||||
EVT_CASE_EQ(10)
|
||||
EVT_CALL(GetActorVar, -127, 0, LW(0))
|
||||
EVT_IF_EQ(LW(0), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(ActorSpeak, 131118, -127, 1, 10616841, 10616837)
|
||||
EVT_CALL(SetActorVar, -127, 0, 1)
|
||||
@ -326,14 +326,14 @@ EvtScript N(nextTurn_8022B06C) = {
|
||||
EVT_CALL(GetEnemyMaxHP, -127, LW(1))
|
||||
EVT_DIV(LW(1), 2)
|
||||
EVT_IF_LE(LW(0), LW(1))
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(ActorSpeak, 131121, -127, 1, 10616841, 10616837)
|
||||
EVT_BREAK_SWITCH
|
||||
EVT_END_IF
|
||||
EVT_CALL(GetPlayerHP, LW(0))
|
||||
EVT_IF_LE(LW(0), 5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(ActorSpeak, 131122, -127, 1, 10616841, 10616837)
|
||||
EVT_BREAK_SWITCH
|
||||
@ -388,13 +388,13 @@ EvtScript N(handleEvent_8022B2CC) = {
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_IF_EQ(LW(10), 1)
|
||||
EVT_IF_GT(LW(11), 2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(ActorSpeak, 131120, -127, 1, 10616841, 10616837)
|
||||
EVT_CALL(SetActorVar, -127, 3, 0)
|
||||
EVT_END_IF
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(ActorSpeak, 131119, -127, 1, 10616841, 10616837)
|
||||
EVT_END_IF
|
||||
|
@ -230,7 +230,7 @@ EvtScript N(8022B8C0) = {
|
||||
|
||||
EvtScript N(singleStrike2) = {
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_8)
|
||||
@ -254,7 +254,7 @@ EvtScript N(singleStrike2) = {
|
||||
EVT_SWITCH(LW(10))
|
||||
EVT_CASE_OR_EQ(6)
|
||||
EVT_CASE_OR_EQ(5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(EnableActorBlur, -127, 1)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(AddGoalPos, ACTOR_SELF, -50, 0, 0)
|
||||
@ -286,7 +286,7 @@ EvtScript N(singleStrike2) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20BB)
|
||||
EVT_THREAD
|
||||
EVT_CALL(SetActorRotationOffset, -127, 0, 20, 0)
|
||||
@ -333,7 +333,7 @@ EvtScript N(singleStrike2) = {
|
||||
|
||||
EvtScript N(doubleStrike2) = {
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 8)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_I)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetBattleCamZoom, 200)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 13)
|
||||
@ -341,7 +341,7 @@ EvtScript N(doubleStrike2) = {
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_15)
|
||||
EVT_WAIT_FRAMES(40)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(UseBattleCamPreset, 7)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_H)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 1)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
@ -351,7 +351,7 @@ EvtScript N(doubleStrike2) = {
|
||||
EVT_SWITCH(LW(10))
|
||||
EVT_CASE_OR_EQ(6)
|
||||
EVT_CASE_OR_EQ(5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(EnableActorBlur, -127, 1)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(AddGoalPos, ACTOR_SELF, -50, 0, 0)
|
||||
@ -391,7 +391,7 @@ EvtScript N(doubleStrike2) = {
|
||||
EVT_WAIT_FRAMES(2)
|
||||
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 5, 16)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_THREAD
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_JUMP_3E2)
|
||||
EVT_CALL(EnableActorBlur, -127, 1)
|
||||
@ -415,7 +415,7 @@ EvtScript N(doubleStrike2) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20BE)
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20BB)
|
||||
EVT_THREAD
|
||||
@ -485,7 +485,7 @@ EvtScript N(nextTurn_8022CFFC) = {
|
||||
EVT_CASE_EQ(10)
|
||||
EVT_CALL(GetActorVar, -127, 0, LW(0))
|
||||
EVT_IF_EQ(LW(0), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 13)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_13)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
@ -538,7 +538,7 @@ EvtScript N(nextTurn_8022CFFC) = {
|
||||
EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_ADDR(N(idleAnimations_8022B68C)))
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_8)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(ActorSpeak, 131123, -127, 1, 10616842, 10616838)
|
||||
EVT_END_IF
|
||||
@ -551,14 +551,14 @@ EvtScript N(nextTurn_8022CFFC) = {
|
||||
EVT_CALL(GetEnemyMaxHP, -127, LW(1))
|
||||
EVT_DIV(LW(1), 2)
|
||||
EVT_IF_LE(LW(0), LW(1))
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(ActorSpeak, 131126, -127, 1, 10616842, 10616838)
|
||||
EVT_BREAK_SWITCH
|
||||
EVT_END_IF
|
||||
EVT_CALL(GetPlayerHP, LW(0))
|
||||
EVT_IF_LE(LW(0), 5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(ActorSpeak, 131127, -127, 1, 10616842, 10616838)
|
||||
EVT_BREAK_SWITCH
|
||||
@ -613,13 +613,13 @@ EvtScript N(handleEvent_8022D634) = {
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_IF_EQ(LW(10), 1)
|
||||
EVT_IF_GT(LW(11), 2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(ActorSpeak, 131125, -127, 1, 10616842, 10616838)
|
||||
EVT_CALL(SetActorVar, -127, 3, 0)
|
||||
EVT_END_IF
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(ActorSpeak, 131124, -127, 1, 10616842, 10616838)
|
||||
EVT_END_IF
|
||||
|
@ -255,7 +255,7 @@ EvtScript N(8022DC44) = {
|
||||
|
||||
EvtScript N(singleStrike3) = {
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_8)
|
||||
@ -279,7 +279,7 @@ EvtScript N(singleStrike3) = {
|
||||
EVT_SWITCH(LW(10))
|
||||
EVT_CASE_OR_EQ(6)
|
||||
EVT_CASE_OR_EQ(5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(EnableActorBlur, -127, 1)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(AddGoalPos, ACTOR_SELF, -50, 0, 0)
|
||||
@ -311,7 +311,7 @@ EvtScript N(singleStrike3) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20BB)
|
||||
EVT_THREAD
|
||||
EVT_CALL(SetActorRotationOffset, -127, 0, 20, 0)
|
||||
@ -358,7 +358,7 @@ EvtScript N(singleStrike3) = {
|
||||
|
||||
EvtScript N(doubleStrike3) = {
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 8)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_I)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetBattleCamZoom, 200)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 13)
|
||||
@ -366,7 +366,7 @@ EvtScript N(doubleStrike3) = {
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_15)
|
||||
EVT_WAIT_FRAMES(40)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(UseBattleCamPreset, 7)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_H)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 1)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
@ -376,7 +376,7 @@ EvtScript N(doubleStrike3) = {
|
||||
EVT_SWITCH(LW(10))
|
||||
EVT_CASE_OR_EQ(6)
|
||||
EVT_CASE_OR_EQ(5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(EnableActorBlur, -127, 1)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(AddGoalPos, ACTOR_SELF, -50, 0, 0)
|
||||
@ -416,7 +416,7 @@ EvtScript N(doubleStrike3) = {
|
||||
EVT_WAIT_FRAMES(2)
|
||||
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 6, 16)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_THREAD
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_JUMP_3E2)
|
||||
EVT_CALL(EnableActorBlur, -127, 1)
|
||||
@ -440,7 +440,7 @@ EvtScript N(doubleStrike3) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20BE)
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20BB)
|
||||
EVT_THREAD
|
||||
@ -488,7 +488,7 @@ EvtScript N(doubleStrike3) = {
|
||||
|
||||
EvtScript N(tripleStrike3) = {
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 8)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_I)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetBattleCamZoom, 200)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 13)
|
||||
@ -497,7 +497,7 @@ EvtScript N(tripleStrike3) = {
|
||||
EVT_WAIT_FRAMES(20)
|
||||
EVT_CALL(ActorSpeak, 131132, -127, 1, 10616842, 10616838)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(UseBattleCamPreset, 7)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_H)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 1)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
@ -507,7 +507,7 @@ EvtScript N(tripleStrike3) = {
|
||||
EVT_SWITCH(LW(10))
|
||||
EVT_CASE_OR_EQ(6)
|
||||
EVT_CASE_OR_EQ(5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(EnableActorBlur, -127, 1)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(AddGoalPos, ACTOR_SELF, -50, 0, 0)
|
||||
@ -547,7 +547,7 @@ EvtScript N(tripleStrike3) = {
|
||||
EVT_WAIT_FRAMES(2)
|
||||
EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LW(0), 0, 0, 0, 5, 16)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_THREAD
|
||||
EVT_CALL(EnableActorBlur, -127, 1)
|
||||
EVT_WAIT_FRAMES(5)
|
||||
@ -630,7 +630,7 @@ EvtScript N(tripleStrike3) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20BE)
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x20BB)
|
||||
EVT_THREAD
|
||||
@ -677,7 +677,7 @@ EvtScript N(tripleStrike3) = {
|
||||
};
|
||||
|
||||
EvtScript N(80230240) = {
|
||||
EVT_CALL(UseBattleCamPreset, 8)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_I)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetBattleCamZoom, 200)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 13)
|
||||
@ -705,7 +705,7 @@ EvtScript N(80230240) = {
|
||||
EVT_CALL(HPBarToHome, ACTOR_SELF)
|
||||
EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_FLYING, 1)
|
||||
EVT_CALL(SetActorVar, -127, 1, 1)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_SET(LW(0), 80)
|
||||
@ -728,7 +728,7 @@ EvtScript N(80230240) = {
|
||||
|
||||
EvtScript N(8023059C) = {
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 8)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_I)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetBattleCamZoom, 200)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 13)
|
||||
@ -740,7 +740,7 @@ EvtScript N(8023059C) = {
|
||||
EVT_CALL(ModifyActorDecoration, -127, 1, 0, 80, LW(0), 0, 0)
|
||||
EVT_WAIT_FRAMES(1)
|
||||
EVT_END_LOOP
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_E)
|
||||
EVT_THREAD
|
||||
@ -778,7 +778,7 @@ EvtScript N(8023059C) = {
|
||||
|
||||
EvtScript N(80230914) = {
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 8)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_I)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetBattleCamZoom, 200)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 13)
|
||||
@ -862,7 +862,7 @@ EvtScript N(nextTurn_80230D44) = {
|
||||
EVT_CASE_EQ(10)
|
||||
EVT_CALL(GetActorVar, -127, 0, LW(0))
|
||||
EVT_IF_EQ(LW(0), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 13)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_13)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
@ -921,7 +921,7 @@ EvtScript N(nextTurn_80230D44) = {
|
||||
EVT_CALL(ModifyActorDecoration, -127, 1, 0, 50, 50, 0, 0)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_the_master_Palette_00_Anim_3)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(ActorSpeak, 131128, -127, 1, 10616842, 10616838)
|
||||
EVT_END_IF
|
||||
@ -934,14 +934,14 @@ EvtScript N(nextTurn_80230D44) = {
|
||||
EVT_CALL(GetEnemyMaxHP, -127, LW(1))
|
||||
EVT_DIV(LW(1), 2)
|
||||
EVT_IF_LE(LW(0), LW(1))
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(ActorSpeak, 131131, -127, 1, 10616842, 10616838)
|
||||
EVT_BREAK_SWITCH
|
||||
EVT_END_IF
|
||||
EVT_CALL(GetPlayerHP, LW(0))
|
||||
EVT_IF_LE(LW(0), 10)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(ActorSpeak, 131133, -127, 1, 10616842, 10616838)
|
||||
EVT_BREAK_SWITCH
|
||||
@ -996,13 +996,13 @@ EvtScript N(handleEvent_80231408) = {
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_IF_EQ(LW(10), 1)
|
||||
EVT_IF_GT(LW(11), 2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(ActorSpeak, 131130, -127, 1, 10616842, 10616838)
|
||||
EVT_CALL(SetActorVar, -127, 3, 0)
|
||||
EVT_END_IF
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(ActorSpeak, 131129, -127, 1, 10616842, 10616838)
|
||||
EVT_END_IF
|
||||
|
@ -232,7 +232,7 @@ EvtScript N(takeTurn_80222860) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(func_8024ECF8, -1, 1, 0)
|
||||
EVT_CALL(GetBattlePhase, LW(0))
|
||||
@ -293,7 +293,7 @@ EvtScript N(takeTurn_80222860) = {
|
||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0)
|
||||
EVT_END_IF
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 180)
|
||||
EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2)
|
||||
@ -355,7 +355,7 @@ EvtScript N(takeTurn_80222860) = {
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(GetLastDamage, 0, LW(3))
|
||||
EVT_IF_NE(LW(3), 0)
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x206D)
|
||||
|
@ -489,7 +489,7 @@ EvtScript N(takeTurn_80228A7C) = {
|
||||
EVT_IF_EQ(LW(0), 1)
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(SetBattleCamZoom, 200)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 20)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
@ -508,7 +508,7 @@ EvtScript N(takeTurn_80228A7C) = {
|
||||
EVT_END_LOOP
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0))
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 1)
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE)
|
||||
@ -524,7 +524,7 @@ EvtScript N(takeTurn_80228A7C) = {
|
||||
EVT_END_LOOP
|
||||
EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(3.0))
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 15)
|
||||
EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0))
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_kent_c_koopa_Palette_00_Anim_19)
|
||||
@ -588,7 +588,7 @@ EvtScript N(shellToss_KentC) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(SetBattleCamZoom, 200)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 20)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
@ -617,7 +617,7 @@ EvtScript N(shellToss_KentC) = {
|
||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(11), 0, 0, 3, 16)
|
||||
EVT_SWITCH(LW(11))
|
||||
EVT_CASE_EQ(6)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_SELF)
|
||||
EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
@ -644,7 +644,7 @@ EvtScript N(shellToss_KentC) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_PLAYER, FALSE)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_1002B)
|
||||
EVT_END_IF
|
||||
EVT_CALL(UseBattleCamPreset, 19)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19)
|
||||
EVT_CALL(SetBattleCamTarget, -25, 60, 0)
|
||||
EVT_CALL(SetBattleCamZoom, 460)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 0)
|
||||
@ -669,7 +669,7 @@ EvtScript N(shellToss_KentC) = {
|
||||
EVT_END_SWITCH
|
||||
EVT_END_CASE_GROUP
|
||||
EVT_CASE_DEFAULT
|
||||
EVT_CALL(UseBattleCamPreset, 19)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19)
|
||||
EVT_CALL(SetBattleCamTarget, -25, 60, 0)
|
||||
EVT_CALL(SetBattleCamZoom, 460)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 0)
|
||||
@ -725,7 +725,7 @@ EvtScript N(shellToss_KentC) = {
|
||||
EVT_CALL(GetGoalPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(SetGoalPos, ACTOR_SELF, -240, 0, LW(2))
|
||||
EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(SetActorPos, ACTOR_SELF, 240, 0, LW(2))
|
||||
EVT_CALL(SetGoalToHome, ACTOR_SELF)
|
||||
@ -740,7 +740,7 @@ EvtScript N(shellToss_KentC) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE)
|
||||
EVT_RETURN
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 19)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19)
|
||||
EVT_CALL(SetBattleCamTarget, -45, 60, 0)
|
||||
EVT_CALL(SetBattleCamZoom, 460)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 0)
|
||||
@ -785,7 +785,7 @@ EvtScript N(shellToss_KentC) = {
|
||||
EVT_CALL(SetAnimation, ACTOR_SELF, 1, NPC_ANIM_kent_c_koopa_Palette_00_Anim_C)
|
||||
EVT_WAIT_FRAMES(8)
|
||||
EVT_CALL(YieldTurn)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_SET_CONST(LW(0), 0x00000001)
|
||||
EVT_SET_CONST(LW(1), NPC_ANIM_kent_c_koopa_Palette_00_Anim_4)
|
||||
@ -801,7 +801,7 @@ EvtScript N(tackle_KentC) = {
|
||||
EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE)
|
||||
EVT_CALL(EnableIdleScript, ACTOR_SELF, 0)
|
||||
EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER)
|
||||
EVT_CALL(UseBattleCamPreset, 63)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63)
|
||||
EVT_CALL(SetBattleCamZoom, 280)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
@ -872,7 +872,7 @@ EvtScript N(tackle_KentC) = {
|
||||
EVT_IF_EQ(LW(10), 5)
|
||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0)
|
||||
EVT_END_IF
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_SET(LW(3), 0)
|
||||
EVT_LOOP(12)
|
||||
@ -921,7 +921,7 @@ EvtScript N(tackle_KentC) = {
|
||||
EVT_CASE_OR_EQ(0)
|
||||
EVT_CASE_OR_EQ(2)
|
||||
EVT_CASE_OR_EQ(10)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 30)
|
||||
EVT_CALL(GetBattleFlags, LW(0))
|
||||
EVT_IF_NOT_FLAG(LW(0), 0x80000000)
|
||||
@ -976,7 +976,7 @@ EvtScript N(tackle_KentC) = {
|
||||
EVT_IF_EQ(LW(15), 10)
|
||||
EVT_RETURN
|
||||
EVT_END_IF
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_EXEC_WAIT(N(8022AD84))
|
||||
EVT_CASE_EQ(3)
|
||||
|
@ -241,7 +241,7 @@ EvtScript N(takeTurn_802197C0) = {
|
||||
EVT_WAIT_FRAMES(1)
|
||||
EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, -2, 0)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(func_8024E664, 19)
|
||||
EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_19)
|
||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), 0, 0, 2, BS_FLAGS1_10)
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_OR_EQ(HIT_RESULT_MISS)
|
||||
|
@ -432,7 +432,7 @@ EvtScript N(takeTurn_8021FA24) = {
|
||||
EVT_CALL(AddGoalPos, ACTOR_SELF, 40, 30, 0)
|
||||
EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(7.0))
|
||||
EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -16, 0)
|
||||
EVT_CALL(func_8024E664, 1)
|
||||
EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_B)
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(EnemyTestTarget, ACTOR_SELF, LW(0), 0, 0, 1, BS_FLAGS1_10)
|
||||
EVT_SWITCH(LW(0))
|
||||
|
@ -3,7 +3,7 @@
|
||||
/// Provide arg `TRUE` on `EVT_VAR(1)` to disable refunding.
|
||||
EvtScript N(UseItemWithEffect) = {
|
||||
EVT_IF_EQ(EVT_VAR(1), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_PLAYER, SOUND_208D)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
@ -44,7 +44,7 @@ EvtScript N(UseItemWithEffect) = {
|
||||
};
|
||||
|
||||
EvtScript N(UseItem) = {
|
||||
EVT_CALL(UseBattleCamPreset, 19)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19)
|
||||
EVT_CALL(SetBattleCamTarget, -85, 1, 0)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 41)
|
||||
EVT_CALL(SetBattleCamZoom, 248)
|
||||
|
@ -48,7 +48,7 @@ s32 N(modelCommandList)[] = {
|
||||
EvtScript N(main) = {
|
||||
EVT_SET_CONST(EVT_VAR(10), 0x000000AC)
|
||||
EVT_EXEC_WAIT(N(UseItemWithEffect))
|
||||
EVT_CALL(UseBattleCamPreset, 3)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D)
|
||||
EVT_CALL(MoveBattleCamOver, 15)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_THROW)
|
||||
EVT_CALL(PlaySound, SOUND_THROW)
|
||||
|
@ -48,7 +48,7 @@ ApiStatus N(func_802A1270_727B80)(Evt* script, s32 isInitialCall) {
|
||||
EvtScript N(main) = {
|
||||
EVT_SET_CONST(EVT_VAR(10), 0x0000009A)
|
||||
EVT_EXEC_WAIT(N(UseItemWithEffect))
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_THREAD
|
||||
@ -71,7 +71,7 @@ EvtScript N(main) = {
|
||||
EVT_CALL(ShakeCam, 1, 0, 2, EVT_FIXED(1.0))
|
||||
EVT_CALL(ShakeCam, 1, 0, 2, EVT_FIXED(0.5))
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 3)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(func_8024ECF8, 0, 0, 0)
|
||||
EVT_END_THREAD
|
||||
|
@ -47,7 +47,7 @@ s32 N(modelCommandList)[] = {
|
||||
EvtScript N(main) = {
|
||||
EVT_SET_CONST(EVT_VAR(10), 0x00000086)
|
||||
EVT_EXEC_WAIT(N(UseItemWithEffect))
|
||||
EVT_CALL(UseBattleCamPreset, 3)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D)
|
||||
EVT_CALL(MoveBattleCamOver, 15)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_THROW)
|
||||
EVT_CALL(PlaySound, SOUND_THROW)
|
||||
|
@ -142,7 +142,7 @@ s32 N(modelCommandList)[] = {
|
||||
EvtScript N(main) = {
|
||||
EVT_SET_CONST(EVT_VAR(10), 0xC8)
|
||||
EVT_EXEC_WAIT(battle_item_egg_missile_UseItemWithEffect)
|
||||
EVT_CALL(UseBattleCamPreset, 3)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D)
|
||||
EVT_CALL(MoveBattleCamOver, 15)
|
||||
EVT_CALL(SetAnimation, 0, 0, 65558)
|
||||
EVT_CALL(PlaySound, 1018)
|
||||
|
@ -45,7 +45,7 @@ EvtScript N(main) = {
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_10002)
|
||||
EVT_END_THREAD
|
||||
EVT_WAIT_FRAMES(35)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, EVT_VAR(3), EVT_VAR(4), EVT_VAR(5))
|
||||
@ -73,7 +73,7 @@ EvtScript N(main) = {
|
||||
EVT_END_LOOP
|
||||
EVT_END_THREAD
|
||||
EVT_WAIT_FRAMES(80)
|
||||
EVT_CALL(UseBattleCamPreset, 3)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(InitTargetIterator)
|
||||
EVT_LABEL(0)
|
||||
|
@ -28,7 +28,7 @@ EvtScript N(main) = {
|
||||
EVT_CALL(N(FadeBackgroundToBlack))
|
||||
EVT_THREAD
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 50)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_CROUCH)
|
||||
@ -53,7 +53,7 @@ EvtScript N(main) = {
|
||||
EVT_CALL(MoveBattleCamOver, 2)
|
||||
EVT_WAIT_FRAMES(2)
|
||||
EVT_END_LOOP
|
||||
EVT_CALL(UseBattleCamPreset, 3)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(InitTargetIterator)
|
||||
EVT_LABEL(0)
|
||||
|
@ -48,7 +48,7 @@ EvtScript N(main) = {
|
||||
EVT_CALL(N(func_802A123C_72619C))
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, EVT_VAR(0), EVT_VAR(1), EVT_VAR(2))
|
||||
EVT_ADD(EVT_VAR(1), 20)
|
||||
EVT_CALL(UseBattleCamPreset, 13)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_13)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_PLAYER, SOUND_369)
|
||||
@ -108,7 +108,7 @@ EvtScript N(main) = {
|
||||
EVT_END_LOOP
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_RUNNING)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_WAIT_FRAMES(20)
|
||||
EVT_EXEC_WAIT(N(PlayerGoHome))
|
||||
|
@ -96,7 +96,7 @@ s32 N(modelCommandList)[] = {
|
||||
EvtScript script = {
|
||||
EVT_SET_CONST(EVT_VAR(10), 0x00000087)
|
||||
EVT_EXEC_WAIT(N(UseItemWithEffect))
|
||||
EVT_CALL(UseBattleCamPreset, 3)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D)
|
||||
EVT_CALL(MoveBattleCamOver, 15)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_THROW)
|
||||
EVT_CALL(PlaySound, SOUND_THROW)
|
||||
|
@ -47,7 +47,7 @@ s32 N(modelCommandList)[] = {
|
||||
EvtScript N(main) = {
|
||||
EVT_SET_CONST(EVT_VAR(10), 0x00000085)
|
||||
EVT_EXEC_WAIT(N(UseItemWithEffect))
|
||||
EVT_CALL(UseBattleCamPreset, 3)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D)
|
||||
EVT_CALL(MoveBattleCamOver, 15)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_THROW)
|
||||
EVT_CALL(PlaySound, SOUND_THROW)
|
||||
|
@ -60,7 +60,7 @@ EvtScript N(main) = {
|
||||
EVT_CALL(PlayEffect, 0x7, 2, -40, 55, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_10002)
|
||||
EVT_WAIT_FRAMES(20)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_THREAD
|
||||
EVT_WAIT_FRAMES(15)
|
||||
@ -95,7 +95,7 @@ EvtScript N(main) = {
|
||||
EVT_CALL(SetGoalPos, ACTOR_PLAYER, EVT_VAR(0), EVT_VAR(1), EVT_VAR(2))
|
||||
EVT_CALL(func_80273444, 20, 0, 0)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_10002)
|
||||
EVT_CALL(UseBattleCamPreset, 3)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(InitTargetIterator)
|
||||
EVT_LABEL(0)
|
||||
|
@ -98,7 +98,7 @@ EvtScript N(main) = {
|
||||
EVT_EXEC_WAIT(N(UseItemWithEffect))
|
||||
EVT_THREAD
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(N(func_802A1444_71DBB4))
|
||||
@ -135,7 +135,7 @@ EvtScript N(main) = {
|
||||
EVT_END_LOOP
|
||||
EVT_END_THREAD
|
||||
EVT_WAIT_FRAMES(90)
|
||||
EVT_CALL(UseBattleCamPreset, 3)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(InitTargetIterator)
|
||||
EVT_LABEL(0)
|
||||
@ -155,7 +155,7 @@ EvtScript N(main) = {
|
||||
EVT_GOTO(0)
|
||||
EVT_END_IF
|
||||
EVT_WAIT_FRAMES(20)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_EXEC_WAIT(N(PlayerGoHome))
|
||||
EVT_THREAD
|
||||
|
@ -338,7 +338,7 @@ s32 N(modelCommandList)[] = {
|
||||
EvtScript N(main) = {
|
||||
EVT_SET_CONST(EVT_VAR(10), 0x0000008F)
|
||||
EVT_EXEC_WAIT(N(UseItemWithEffect))
|
||||
EVT_CALL(UseBattleCamPreset, 19)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19)
|
||||
EVT_CALL(SetBattleCamTarget, -67, -15, -5)
|
||||
EVT_CALL(SetBattleCamOffsetZ, 45)
|
||||
EVT_CALL(SetBattleCamZoom, 169)
|
||||
@ -390,7 +390,7 @@ EvtScript N(main) = {
|
||||
EVT_CALL(N(func_802A1740_71ED90))
|
||||
EVT_CALL(N(func_802A1848_71EE98))
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_WAIT_FRAMES(8)
|
||||
EVT_CALL(SetJumpAnimations, ACTOR_PLAYER, 0, ANIM_1002B, ANIM_1002B, ANIM_MIDAIR)
|
||||
@ -461,7 +461,7 @@ EvtScript N(main) = {
|
||||
EVT_CALL(DeleteVirtualEntity, EVT_VAR(10))
|
||||
EVT_END_THREAD
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(UseBattleCamPreset, 3)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(InitTargetIterator)
|
||||
EVT_LABEL(0)
|
||||
|
@ -52,7 +52,7 @@ EvtScript N(main) = {
|
||||
EVT_END_LOOP
|
||||
EVT_END_THREAD
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 3)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D)
|
||||
EVT_CALL(MoveBattleCamOver, 50)
|
||||
EVT_WAIT_FRAMES(50)
|
||||
EVT_CALL(PlayEffect, 0x60, 0, 0, 0, 20, EVT_FIXED(1.0), 160, 0, 0, 0, 0, 0, 0, 0)
|
||||
|
@ -27,14 +27,14 @@ EvtScript N(main) = {
|
||||
EVT_EXEC_WAIT(N(UseItemWithEffect))
|
||||
EVT_THREAD
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(N(FadeBackgroundToBlack))
|
||||
EVT_CALL(PlayEffect, 0x62, 0, 0, 0, 0, EVT_FIXED(1.0), 200, 0, 0, 0, 0, 0, 0, 0)
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_PLAYER, SOUND_246)
|
||||
EVT_WAIT_FRAMES(200)
|
||||
EVT_CALL(UseBattleCamPreset, 3)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(InitTargetIterator)
|
||||
EVT_LABEL(0)
|
||||
|
@ -56,7 +56,7 @@ EvtScript N(main) = {
|
||||
EVT_EXEC_WAIT(battle_item_thunder_bolt_UseItemWithEffect)
|
||||
EVT_THREAD
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(battle_item_thunder_bolt_FadeBackgroundToBlack)
|
||||
@ -76,7 +76,7 @@ EvtScript N(main) = {
|
||||
EVT_CALL(ItemDamageEnemy, EVT_VAR(0), 939524128, 0, EVT_VAR(0), 32)
|
||||
EVT_LABEL(1)
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(UseBattleCamPreset, 3)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(SetAnimation, 0, 0, 65538)
|
||||
EVT_WAIT_FRAMES(30)
|
||||
|
@ -56,7 +56,7 @@ EvtScript N(main) = {
|
||||
EVT_EXEC_WAIT(N(UseItemWithEffect))
|
||||
EVT_CHILD_THREAD
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_END_CHILD_THREAD
|
||||
EVT_CALL(N(FadeBackgroundToBlack))
|
||||
@ -82,7 +82,7 @@ EvtScript N(main) = {
|
||||
EVT_IF_NE(EVT_VAR(0), -1)
|
||||
EVT_GOTO(0)
|
||||
EVT_END_IF
|
||||
EVT_CALL(UseBattleCamPreset, 3)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_10002)
|
||||
EVT_WAIT_FRAMES(30)
|
||||
|
@ -746,7 +746,7 @@ EvtScript D_802A369C_00736C3C = {
|
||||
EVT_SUB(LW(0), 32)
|
||||
EVT_SET(LW(1), 0)
|
||||
EVT_CALL(SetActorPos, ACTOR_SELF, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(func_8024E664, 43)
|
||||
EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_43)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, LW(10))
|
||||
EVT_WAIT_FRAMES(8)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, LW(11))
|
||||
|
@ -610,7 +610,7 @@ EvtScript D_802A3188_73F9E8 = {
|
||||
EVT_CALL(SetActorPos, ACTOR_PLAYER, LW(3), LW(4), LW(5))
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_PLAYER)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_PLAYER)
|
||||
EVT_CALL(func_8024E664, 34)
|
||||
EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_34)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_PLAYER)
|
||||
EVT_CALL(GetGoalPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(3), LW(4), LW(5))
|
||||
@ -646,7 +646,7 @@ EvtScript D_802A3378_73FBD8 = {
|
||||
EVT_WAIT_FRAMES(7)
|
||||
EVT_CALL(func_802752AC, 3, 1)
|
||||
EVT_CALL(SetGoalToTarget, ACTOR_PLAYER)
|
||||
EVT_CALL(func_8024E664, 34)
|
||||
EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_34)
|
||||
EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 347, 0)
|
||||
EVT_CALL(PlayerDamageEnemy, LW(0), 128, 0, 0, 4, 48)
|
||||
EVT_EXEC_WAIT(D_802A1628_73DE88)
|
||||
|
@ -1336,7 +1336,7 @@ EvtScript N(8023C990) = {
|
||||
EVT_SET(LW(1), 0)
|
||||
EVT_CALL(SetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_PARTNER, 0x287)
|
||||
EVT_CALL(func_8024E664, 11)
|
||||
EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_11)
|
||||
EVT_CALL(BattleCamTargetActor, ACTOR_SELF)
|
||||
EVT_CALL(MoveBattleCamOver, 1)
|
||||
EVT_CALL(SetAnimation, ACTOR_PARTNER, -1, NPC_ANIM_battle_bombette_Palette_00_Anim_1A)
|
||||
|
@ -491,7 +491,7 @@ EvtScript N(nextTurn_80239A3C) = {
|
||||
EVT_CASE_EQ(10)
|
||||
EVT_IF_EQ(EVT_SAVE_FLAG(1817), 0)
|
||||
EVT_CALL(UseIdleAnimation, 256, 0)
|
||||
EVT_CALL(UseBattleCamPreset, 14)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14)
|
||||
EVT_CALL(BattleCamTargetActor, -127)
|
||||
EVT_CALL(MoveBattleCamOver, 20)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
@ -530,7 +530,7 @@ EvtScript N(nextTurn_80239A3C) = {
|
||||
|
||||
EvtScript N(80239CA8) = {
|
||||
EVT_CALL(func_80280818)
|
||||
EVT_CALL(UseBattleCamPreset, 51)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_51)
|
||||
EVT_CALL(SetAnimation, 256, -1, 589825)
|
||||
EVT_THREAD
|
||||
EVT_WAIT_FRAMES(4)
|
||||
@ -581,7 +581,7 @@ EvtScript N(80239CA8) = {
|
||||
|
||||
EvtScript N(8023A06C) = {
|
||||
EVT_CALL(func_80280818)
|
||||
EVT_CALL(UseBattleCamPreset, 3)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D)
|
||||
EVT_CALL(SetAnimation, 256, -1, 589825)
|
||||
EVT_CALL(SetGoalToHome, 256)
|
||||
EVT_CALL(GetGoalPos, 256, EVT_VAR(0), EVT_VAR(1), EVT_VAR(2))
|
||||
@ -657,7 +657,7 @@ EvtScript N(8023A52C) = {
|
||||
EVT_SET(EVT_VAR(3), EVT_VAR(0))
|
||||
EVT_END_IF
|
||||
EVT_CALL(SetGoalPos, 256, EVT_VAR(3), EVT_VAR(4), EVT_VAR(5))
|
||||
EVT_CALL(UseBattleCamPreset, 47)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_47)
|
||||
EVT_CALL(SetActorSpeed, 256, EVT_FIXED(5.0))
|
||||
EVT_CALL(SetAnimation, 256, -1, 589827)
|
||||
EVT_CALL(RunToGoal, 256, 0)
|
||||
@ -694,9 +694,9 @@ EvtScript N(8023A754) = {
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(SetActorDispOffset, 256, 0, 19, 0)
|
||||
EVT_WAIT_FRAMES(1)
|
||||
EVT_CALL(UseBattleCamPreset, 52)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_52)
|
||||
EVT_CALL(func_802A9120_421B10, EVT_VAR(10), 3)
|
||||
EVT_CALL(UseBattleCamPreset, 52)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_52)
|
||||
EVT_CALL(SetAnimation, -127, 1, 589830)
|
||||
EVT_CALL(SetActorDispOffset, 256, 0, 9, 0)
|
||||
EVT_CALL(SetGoalToTarget, 256)
|
||||
@ -746,10 +746,10 @@ EvtScript N(8023A754) = {
|
||||
EVT_END_CASE_GROUP
|
||||
EVT_END_SWITCH
|
||||
EVT_THREAD
|
||||
EVT_CALL(UseBattleCamPreset, 50)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_50)
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(SetGoalToTarget, 256)
|
||||
EVT_CALL(UseBattleCamPreset, 53)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_53)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(func_80269524, EVT_VAR(15))
|
||||
EVT_CALL(CloseActionCommandInfo)
|
||||
@ -799,9 +799,9 @@ EvtScript N(8023ADC4) = {
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(SetActorDispOffset, 256, 0, 19, 0)
|
||||
EVT_WAIT_FRAMES(1)
|
||||
EVT_CALL(UseBattleCamPreset, 52)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_52)
|
||||
EVT_CALL(func_802A9120_421B10, EVT_VAR(10), 3)
|
||||
EVT_CALL(UseBattleCamPreset, 52)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_52)
|
||||
EVT_CALL(SetAnimation, -127, 1, 589830)
|
||||
EVT_CALL(SetActorDispOffset, 256, 0, 9, 0)
|
||||
EVT_CALL(SetGoalToTarget, 256)
|
||||
@ -851,10 +851,10 @@ EvtScript N(8023ADC4) = {
|
||||
EVT_END_CASE_GROUP
|
||||
EVT_END_SWITCH
|
||||
EVT_THREAD
|
||||
EVT_CALL(UseBattleCamPreset, 50)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_50)
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(SetGoalToTarget, 256)
|
||||
EVT_CALL(UseBattleCamPreset, 53)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_53)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(func_80269524, EVT_VAR(15))
|
||||
EVT_CALL(CloseActionCommandInfo)
|
||||
@ -906,9 +906,9 @@ EvtScript N(8023B45C) = {
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(SetActorDispOffset, 256, 0, 19, 0)
|
||||
EVT_WAIT_FRAMES(1)
|
||||
EVT_CALL(UseBattleCamPreset, 52)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_52)
|
||||
EVT_CALL(func_802A9120_421B10, EVT_VAR(10), 3)
|
||||
EVT_CALL(UseBattleCamPreset, 52)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_52)
|
||||
EVT_CALL(SetAnimation, -127, 1, 589830)
|
||||
EVT_CALL(SetActorDispOffset, 256, 0, 9, 0)
|
||||
EVT_CALL(SetGoalToTarget, 256)
|
||||
@ -958,10 +958,10 @@ EvtScript N(8023B45C) = {
|
||||
EVT_END_CASE_GROUP
|
||||
EVT_END_SWITCH
|
||||
EVT_THREAD
|
||||
EVT_CALL(UseBattleCamPreset, 50)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_50)
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(SetGoalToTarget, 256)
|
||||
EVT_CALL(UseBattleCamPreset, 53)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_53)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(func_80269524, EVT_VAR(15))
|
||||
EVT_CALL(CloseActionCommandInfo)
|
||||
@ -1028,9 +1028,9 @@ EvtScript N(8023BB9C) = {
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(SetActorDispOffset, 256, 0, 19, 0)
|
||||
EVT_WAIT_FRAMES(1)
|
||||
EVT_CALL(UseBattleCamPreset, 52)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_52)
|
||||
EVT_CALL(func_802A9120_421B10, EVT_VAR(10), 1)
|
||||
EVT_CALL(UseBattleCamPreset, 52)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_52)
|
||||
EVT_CALL(SetAnimation, -127, 1, 589830)
|
||||
EVT_CALL(SetActorDispOffset, 256, 0, 9, 0)
|
||||
EVT_CALL(SetGoalToTarget, 256)
|
||||
@ -1080,10 +1080,10 @@ EvtScript N(8023BB9C) = {
|
||||
EVT_END_CASE_GROUP
|
||||
EVT_END_SWITCH
|
||||
EVT_THREAD
|
||||
EVT_CALL(UseBattleCamPreset, 50)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_50)
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(SetGoalToTarget, 256)
|
||||
EVT_CALL(UseBattleCamPreset, 53)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_53)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(func_80269524, EVT_VAR(15))
|
||||
EVT_SET(EVT_VAR(13), 0)
|
||||
@ -1091,10 +1091,10 @@ EvtScript N(8023BB9C) = {
|
||||
EVT_SET(EVT_FLAG(0), 0)
|
||||
EVT_LABEL(10)
|
||||
EVT_THREAD
|
||||
EVT_CALL(UseBattleCamPreset, 50)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_50)
|
||||
EVT_WAIT_FRAMES(5)
|
||||
EVT_CALL(SetGoalToTarget, 256)
|
||||
EVT_CALL(UseBattleCamPreset, 53)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_53)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(CloseActionCommandInfo)
|
||||
EVT_CALL(func_8026919C, EVT_PTR(battle_partner_goombario_D_8023BB78_6ECC58))
|
||||
@ -1224,7 +1224,7 @@ EvtScript N(8023C5B8) = {
|
||||
EVT_WAIT_FRAMES(12)
|
||||
EVT_CALL(SetCamEnabled, 2, 0)
|
||||
EVT_WAIT_FRAMES(32)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetBattleFlagBits, 4, 0)
|
||||
EVT_CALL(func_80280818)
|
||||
EVT_CALL(SetGoalToHome, 256)
|
||||
@ -1238,7 +1238,7 @@ EvtScript N(8023C5B8) = {
|
||||
};
|
||||
|
||||
EvtScript N(8023C90C) = {
|
||||
EVT_CALL(UseBattleCamPreset, 55)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_55)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, 256, -1, 589831)
|
||||
EVT_CALL(SetActorDispOffset, 256, 0, 19, 0)
|
||||
@ -1259,7 +1259,7 @@ EvtScript N(8023C90C) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, 256, -1, 589825)
|
||||
EVT_CALL(SetActorDispOffset, 256, 0, 0, 0)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(MoveBattleCamOver, 10)
|
||||
EVT_CALL(func_80238E74_6F1F54)
|
||||
EVT_IF_EQ(EVT_VAR(0), 0)
|
||||
|
@ -57,7 +57,7 @@ INCLUDE_ASM(s32, "battle/star/chill_out/7900D0", func_802A16F4_7907C4);
|
||||
EvtScript N(802A18F0) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -80,7 +80,7 @@ EvtScript N(802A18F0) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -112,7 +112,7 @@ EvtScript N(802A18F0) = {
|
||||
EvtScript N(802A1C88) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -135,7 +135,7 @@ EvtScript N(802A1C88) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -167,7 +167,7 @@ EvtScript N(802A1C88) = {
|
||||
EvtScript N(802A2020) = {
|
||||
EVT_WAIT_FRAMES(8)
|
||||
EVT_CALL(SetForegroundModelsVisible, 0)
|
||||
EVT_CALL(func_8024E664, 73)
|
||||
EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_73)
|
||||
EVT_CALL(MoveBattleCamOver, 1)
|
||||
EVT_CALL(PlaySound, 0x2041)
|
||||
EVT_CALL(CreateNpc, 100, LW(0))
|
||||
@ -188,7 +188,7 @@ EvtScript N(802A2020) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_THREAD
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
EVT_ADD(LW(1), 50)
|
||||
@ -201,7 +201,7 @@ EvtScript N(802A2020) = {
|
||||
EvtScript N(802A222C) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2047)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -233,7 +233,7 @@ EvtScript N(802A222C) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_CALL(DeleteNpc, 100)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2045)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -299,7 +299,7 @@ EvtScript N(usePower) = {
|
||||
EVT_EXEC_WAIT(N(802A2020))
|
||||
EVT_CALL(SetNpcAnimation, 100, NPC_ANIM_battle_muskular_Palette_00_Anim_2)
|
||||
EVT_WAIT_FRAMES(16)
|
||||
EVT_CALL(UseBattleCamPreset, 3)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D)
|
||||
EVT_CALL(PlaySound, 0x244)
|
||||
EVT_CALL(InitTargetIterator)
|
||||
EVT_LABEL(10)
|
||||
|
@ -51,7 +51,7 @@ ApiStatus func_802A15B0_78A410(Evt* script, s32 isInitialCall) {
|
||||
EvtScript N(802A1630) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -74,7 +74,7 @@ EvtScript N(802A1630) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -106,7 +106,7 @@ EvtScript N(802A1630) = {
|
||||
EvtScript N(802A19C8) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -129,7 +129,7 @@ EvtScript N(802A19C8) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -161,7 +161,7 @@ EvtScript N(802A19C8) = {
|
||||
EvtScript N(802A1D60) = {
|
||||
EVT_WAIT_FRAMES(8)
|
||||
EVT_CALL(SetForegroundModelsVisible, 0)
|
||||
EVT_CALL(func_8024E664, 73)
|
||||
EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_73)
|
||||
EVT_CALL(MoveBattleCamOver, 1)
|
||||
EVT_CALL(PlaySound, 0x2041)
|
||||
EVT_CALL(CreateNpc, 100, LW(0))
|
||||
@ -182,7 +182,7 @@ EvtScript N(802A1D60) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_THREAD
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
EVT_ADD(LW(1), 50)
|
||||
@ -195,7 +195,7 @@ EvtScript N(802A1D60) = {
|
||||
EvtScript N(802A1F6C) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2047)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -227,7 +227,7 @@ EvtScript N(802A1F6C) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_CALL(DeleteNpc, 100)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2045)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -295,7 +295,7 @@ EvtScript N(usePower) = {
|
||||
EVT_CALL(func_802A1518_78A378)
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(N(UnkBackgroundFunc))
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_EQ(0)
|
||||
EVT_CALL(ShowMessageBox, 26, 60)
|
||||
@ -316,7 +316,7 @@ EvtScript N(usePower) = {
|
||||
EVT_CALL(func_802A15B0_78A410)
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(N(UnkBackgroundFunc))
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_SWITCH(LW(0))
|
||||
EVT_CASE_EQ(0)
|
||||
EVT_CALL(ShowMessageBox, 26, 60)
|
||||
|
@ -37,7 +37,7 @@ ApiStatus func_802A1518_78D668(Evt* script, s32 isInitialCall) {
|
||||
EvtScript N(802A1620) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -60,7 +60,7 @@ EvtScript N(802A1620) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -92,7 +92,7 @@ EvtScript N(802A1620) = {
|
||||
EvtScript N(802A19B8) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -115,7 +115,7 @@ EvtScript N(802A19B8) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -147,7 +147,7 @@ EvtScript N(802A19B8) = {
|
||||
EvtScript N(802A1D50) = {
|
||||
EVT_WAIT_FRAMES(8)
|
||||
EVT_CALL(SetForegroundModelsVisible, 0)
|
||||
EVT_CALL(func_8024E664, 73)
|
||||
EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_73)
|
||||
EVT_CALL(MoveBattleCamOver, 1)
|
||||
EVT_CALL(PlaySound, 0x2041)
|
||||
EVT_CALL(CreateNpc, 100, LW(0))
|
||||
@ -168,7 +168,7 @@ EvtScript N(802A1D50) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_THREAD
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
EVT_ADD(LW(1), 50)
|
||||
@ -181,7 +181,7 @@ EvtScript N(802A1D50) = {
|
||||
EvtScript N(802A1F5C) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2047)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -213,7 +213,7 @@ EvtScript N(802A1F5C) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_CALL(DeleteNpc, 100)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2045)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -278,7 +278,7 @@ EvtScript N(usePower) = {
|
||||
EVT_EXEC_WAIT(N(802A1D50))
|
||||
EVT_CALL(SetNpcAnimation, 100, NPC_ANIM_battle_mamar_Palette_00_Anim_2)
|
||||
EVT_WAIT_FRAMES(16)
|
||||
EVT_CALL(UseBattleCamPreset, 3)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D)
|
||||
EVT_WAIT_FRAMES(15)
|
||||
EVT_CALL(PlaySound, 0x3F4)
|
||||
EVT_CALL(func_802A1518_78D668)
|
||||
|
@ -35,7 +35,7 @@ ApiStatus func_802A247C_79AC2C(Evt* script, s32 isInitialCall) {
|
||||
EvtScript N(802A24F0) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -58,7 +58,7 @@ EvtScript N(802A24F0) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -90,7 +90,7 @@ EvtScript N(802A24F0) = {
|
||||
EvtScript N(802A2888) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -113,7 +113,7 @@ EvtScript N(802A2888) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -145,7 +145,7 @@ EvtScript N(802A2888) = {
|
||||
EvtScript N(802A2C20) = {
|
||||
EVT_WAIT_FRAMES(8)
|
||||
EVT_CALL(SetForegroundModelsVisible, 0)
|
||||
EVT_CALL(func_8024E664, 73)
|
||||
EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_73)
|
||||
EVT_CALL(MoveBattleCamOver, 1)
|
||||
EVT_CALL(PlaySound, 0x2041)
|
||||
EVT_CALL(CreateNpc, 100, LW(0))
|
||||
@ -166,7 +166,7 @@ EvtScript N(802A2C20) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_THREAD
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
EVT_ADD(LW(1), 50)
|
||||
@ -179,7 +179,7 @@ EvtScript N(802A2C20) = {
|
||||
EvtScript N(802A2E2C) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2047)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -211,7 +211,7 @@ EvtScript N(802A2E2C) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_CALL(DeleteNpc, 100)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2045)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -332,7 +332,7 @@ EvtScript N(usePower) = {
|
||||
EVT_BREAK_LOOP
|
||||
EVT_END_IF
|
||||
EVT_END_LOOP
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(func_802A247C_79AC2C)
|
||||
EVT_CALL(func_80276EFC)
|
||||
EVT_EXEC_WAIT(N(802A327C))
|
||||
|
@ -28,7 +28,7 @@ ApiStatus func_802A1518_79DDB8(Evt* script, s32 isInitialCall) {
|
||||
EvtScript N(802A15B0) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -51,7 +51,7 @@ EvtScript N(802A15B0) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -83,7 +83,7 @@ EvtScript N(802A15B0) = {
|
||||
EvtScript N(802A1948) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -106,7 +106,7 @@ EvtScript N(802A1948) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -138,7 +138,7 @@ EvtScript N(802A1948) = {
|
||||
EvtScript N(802A1CE0) = {
|
||||
EVT_WAIT_FRAMES(8)
|
||||
EVT_CALL(SetForegroundModelsVisible, 0)
|
||||
EVT_CALL(func_8024E664, 73)
|
||||
EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_73)
|
||||
EVT_CALL(MoveBattleCamOver, 1)
|
||||
EVT_CALL(PlaySound, 0x2041)
|
||||
EVT_CALL(CreateNpc, 100, LW(0))
|
||||
@ -159,7 +159,7 @@ EvtScript N(802A1CE0) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_THREAD
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
EVT_ADD(LW(1), 50)
|
||||
@ -172,7 +172,7 @@ EvtScript N(802A1CE0) = {
|
||||
EvtScript N(802A1EEC) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2047)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -204,7 +204,7 @@ EvtScript N(802A1EEC) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_CALL(DeleteNpc, 100)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2045)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -264,7 +264,7 @@ EvtScript N(802A233C) = {
|
||||
};
|
||||
|
||||
EvtScript N(usePower) = {
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x0C0010)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
|
@ -15,7 +15,7 @@ ApiStatus func_802A1518_79C4B8(Evt* script, s32 isInitialCall) {
|
||||
EvtScript N(802A1530) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -38,7 +38,7 @@ EvtScript N(802A1530) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -70,7 +70,7 @@ EvtScript N(802A1530) = {
|
||||
EvtScript N(802A18C8) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -93,7 +93,7 @@ EvtScript N(802A18C8) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -125,7 +125,7 @@ EvtScript N(802A18C8) = {
|
||||
EvtScript N(802A1C60) = {
|
||||
EVT_WAIT_FRAMES(8)
|
||||
EVT_CALL(SetForegroundModelsVisible, 0)
|
||||
EVT_CALL(func_8024E664, 73)
|
||||
EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_73)
|
||||
EVT_CALL(MoveBattleCamOver, 1)
|
||||
EVT_CALL(PlaySound, 0x2041)
|
||||
EVT_CALL(CreateNpc, 100, LW(0))
|
||||
@ -146,7 +146,7 @@ EvtScript N(802A1C60) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_THREAD
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
EVT_ADD(LW(1), 50)
|
||||
@ -159,7 +159,7 @@ EvtScript N(802A1C60) = {
|
||||
EvtScript N(802A1E6C) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2047)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -191,7 +191,7 @@ EvtScript N(802A1E6C) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_CALL(DeleteNpc, 100)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2045)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -251,7 +251,7 @@ EvtScript N(802A22BC) = {
|
||||
};
|
||||
|
||||
EvtScript N(usePower) = {
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x0A0003)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -271,7 +271,7 @@ EvtScript N(usePower) = {
|
||||
EVT_CALL(SetActorYaw, ACTOR_PLAYER, 150)
|
||||
EVT_WAIT_FRAMES(1)
|
||||
EVT_CALL(SetActorYaw, ACTOR_PLAYER, 180)
|
||||
EVT_CALL(UseBattleCamPreset, 19)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19)
|
||||
EVT_CALL(SetBattleCamTarget, -105, -7, 0)
|
||||
EVT_CALL(SetBattleCamZoom, 213)
|
||||
EVT_CALL(MoveBattleCamOver, 60)
|
||||
@ -301,7 +301,7 @@ EvtScript N(usePower) = {
|
||||
EVT_CALL(GetActorVar, ACTOR_PARTNER, 1, LW(0))
|
||||
EVT_CALL(func_802A1518_79C4B8)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 150)
|
||||
EVT_WAIT_FRAMES(1)
|
||||
EVT_CALL(SetActorYaw, ACTOR_SELF, 120)
|
||||
|
@ -60,7 +60,7 @@ ApiStatus func_802A19A8_78BFA8(Evt* script, s32 isInitialCall) {
|
||||
EvtScript N(802A1A70) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -83,7 +83,7 @@ EvtScript N(802A1A70) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -115,7 +115,7 @@ EvtScript N(802A1A70) = {
|
||||
EvtScript N(802A1E08) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -138,7 +138,7 @@ EvtScript N(802A1E08) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -170,7 +170,7 @@ EvtScript N(802A1E08) = {
|
||||
EvtScript N(802A21A0) = {
|
||||
EVT_WAIT_FRAMES(8)
|
||||
EVT_CALL(SetForegroundModelsVisible, 0)
|
||||
EVT_CALL(func_8024E664, 73)
|
||||
EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_73)
|
||||
EVT_CALL(MoveBattleCamOver, 1)
|
||||
EVT_CALL(PlaySound, 0x2041)
|
||||
EVT_CALL(CreateNpc, 100, LW(0))
|
||||
@ -191,7 +191,7 @@ EvtScript N(802A21A0) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_THREAD
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
EVT_ADD(LW(1), 50)
|
||||
@ -204,7 +204,7 @@ EvtScript N(802A21A0) = {
|
||||
EvtScript N(802A23AC) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2047)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -236,7 +236,7 @@ EvtScript N(802A23AC) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_CALL(DeleteNpc, 100)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2045)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -303,7 +303,7 @@ EvtScript N(usePower) = {
|
||||
EVT_WAIT_FRAMES(16)
|
||||
EVT_THREAD
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(PlaySound, 0x242)
|
||||
EVT_CALL(EnableNpcBlur, 100, 1)
|
||||
|
@ -23,7 +23,7 @@ ApiStatus func_802A156C_7922FC(Evt* script, s32 isInitialCall) {
|
||||
EvtScript N(802A1630) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -46,7 +46,7 @@ EvtScript N(802A1630) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -78,7 +78,7 @@ EvtScript N(802A1630) = {
|
||||
EvtScript N(802A19C8) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -101,7 +101,7 @@ EvtScript N(802A19C8) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -133,7 +133,7 @@ EvtScript N(802A19C8) = {
|
||||
EvtScript N(802A1D60) = {
|
||||
EVT_WAIT_FRAMES(8)
|
||||
EVT_CALL(SetForegroundModelsVisible, 0)
|
||||
EVT_CALL(func_8024E664, 73)
|
||||
EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_73)
|
||||
EVT_CALL(MoveBattleCamOver, 1)
|
||||
EVT_CALL(PlaySound, 0x2041)
|
||||
EVT_CALL(CreateNpc, 100, LW(0))
|
||||
@ -154,7 +154,7 @@ EvtScript N(802A1D60) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_THREAD
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
EVT_ADD(LW(1), 50)
|
||||
@ -167,7 +167,7 @@ EvtScript N(802A1D60) = {
|
||||
EvtScript N(802A1F6C) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2047)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -199,7 +199,7 @@ EvtScript N(802A1F6C) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_CALL(DeleteNpc, 100)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2045)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -375,7 +375,7 @@ EvtScript N(usePower) = {
|
||||
EVT_LOOP(10)
|
||||
EVT_WAIT_FRAMES(3)
|
||||
EVT_END_LOOP
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
EVT_ADD(LW(0), 0)
|
||||
EVT_ADD(LW(1), 35)
|
||||
|
@ -32,7 +32,7 @@ ApiStatus func_802A247C_79843C(Evt* script, s32 isInitialCall) {
|
||||
EvtScript N(802A24F0) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -55,7 +55,7 @@ EvtScript N(802A24F0) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -87,7 +87,7 @@ EvtScript N(802A24F0) = {
|
||||
EvtScript N(802A2888) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -110,7 +110,7 @@ EvtScript N(802A2888) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -142,7 +142,7 @@ EvtScript N(802A2888) = {
|
||||
EvtScript N(802A2C20) = {
|
||||
EVT_WAIT_FRAMES(8)
|
||||
EVT_CALL(SetForegroundModelsVisible, 0)
|
||||
EVT_CALL(func_8024E664, 73)
|
||||
EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_73)
|
||||
EVT_CALL(MoveBattleCamOver, 1)
|
||||
EVT_CALL(PlaySound, 0x2041)
|
||||
EVT_CALL(CreateNpc, 100, LW(0))
|
||||
@ -163,7 +163,7 @@ EvtScript N(802A2C20) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_THREAD
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
EVT_ADD(LW(1), 50)
|
||||
@ -176,7 +176,7 @@ EvtScript N(802A2C20) = {
|
||||
EvtScript N(802A2E2C) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2047)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -208,7 +208,7 @@ EvtScript N(802A2E2C) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_CALL(DeleteNpc, 100)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2045)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -330,7 +330,7 @@ EvtScript N(usePower) = {
|
||||
EVT_BREAK_LOOP
|
||||
EVT_END_IF
|
||||
EVT_END_LOOP
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(func_802A247C_79843C)
|
||||
EVT_CALL(func_80276EFC)
|
||||
EVT_EXEC_WAIT(N(802A327C))
|
||||
|
@ -37,7 +37,7 @@ ApiStatus func_802A1628_78EDF8(Evt* script, s32 isInitialCall) {
|
||||
EvtScript N(802A16F0) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -60,7 +60,7 @@ EvtScript N(802A16F0) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -92,7 +92,7 @@ EvtScript N(802A16F0) = {
|
||||
EvtScript N(802A1A88) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -115,7 +115,7 @@ EvtScript N(802A1A88) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -147,7 +147,7 @@ EvtScript N(802A1A88) = {
|
||||
EvtScript N(802A1E20) = {
|
||||
EVT_WAIT_FRAMES(8)
|
||||
EVT_CALL(SetForegroundModelsVisible, 0)
|
||||
EVT_CALL(func_8024E664, 73)
|
||||
EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_73)
|
||||
EVT_CALL(MoveBattleCamOver, 1)
|
||||
EVT_CALL(PlaySound, 0x2041)
|
||||
EVT_CALL(CreateNpc, 100, LW(0))
|
||||
@ -168,7 +168,7 @@ EvtScript N(802A1E20) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_THREAD
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
EVT_ADD(LW(1), 50)
|
||||
@ -181,7 +181,7 @@ EvtScript N(802A1E20) = {
|
||||
EvtScript N(802A202C) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2047)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -213,7 +213,7 @@ EvtScript N(802A202C) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_CALL(DeleteNpc, 100)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2045)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -278,7 +278,7 @@ EvtScript N(usePower) = {
|
||||
EVT_EXEC_WAIT(N(802A1E20))
|
||||
EVT_CALL(SetNpcAnimation, 100, NPC_ANIM_battle_skolar_Palette_00_Anim_2)
|
||||
EVT_WAIT_FRAMES(16)
|
||||
EVT_CALL(UseBattleCamPreset, 3)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D)
|
||||
EVT_THREAD
|
||||
EVT_SET(LW(0), 0)
|
||||
EVT_LOOP(10)
|
||||
|
@ -9,7 +9,7 @@
|
||||
EvtScript N(802A1520) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -32,7 +32,7 @@ EvtScript N(802A1520) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -64,7 +64,7 @@ EvtScript N(802A1520) = {
|
||||
EvtScript N(802A18B8) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -87,7 +87,7 @@ EvtScript N(802A18B8) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -119,7 +119,7 @@ EvtScript N(802A18B8) = {
|
||||
EvtScript N(802A1C50) = {
|
||||
EVT_WAIT_FRAMES(8)
|
||||
EVT_CALL(SetForegroundModelsVisible, 0)
|
||||
EVT_CALL(func_8024E664, 73)
|
||||
EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_73)
|
||||
EVT_CALL(MoveBattleCamOver, 1)
|
||||
EVT_CALL(PlaySound, 0x2041)
|
||||
EVT_CALL(CreateNpc, 100, LW(0))
|
||||
@ -140,7 +140,7 @@ EvtScript N(802A1C50) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_THREAD
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
EVT_ADD(LW(1), 50)
|
||||
@ -153,7 +153,7 @@ EvtScript N(802A1C50) = {
|
||||
EvtScript N(802A1E5C) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2047)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -185,7 +185,7 @@ EvtScript N(802A1E5C) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_CALL(DeleteNpc, 100)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2045)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -250,7 +250,7 @@ EvtScript N(usePower) = {
|
||||
EVT_EXEC_WAIT(N(802A1C50))
|
||||
EVT_CALL(SetNpcAnimation, 100, NPC_ANIM_battle_klevar_Palette_00_Anim_2)
|
||||
EVT_WAIT_FRAMES(16)
|
||||
EVT_CALL(UseBattleCamPreset, 3)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D)
|
||||
EVT_CALL(PlaySound, SOUND_246)
|
||||
EVT_CALL(PlayEffect, 0x62, 0, 0, 0, 0, EVT_FLOAT(1.0), 200, 0, 0, 0, 0, 0, 0, 0)
|
||||
EVT_CALL(PlaySoundAtActor, ACTOR_PLAYER, SOUND_246)
|
||||
|
@ -66,7 +66,7 @@ ApiStatus func_802A1628_795908(Evt* script, s32 isInitialCall) {
|
||||
EvtScript N(802A16D0) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -89,7 +89,7 @@ EvtScript N(802A16D0) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -121,7 +121,7 @@ EvtScript N(802A16D0) = {
|
||||
EvtScript N(802A1A68) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_GOT_ITEM)
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
@ -144,7 +144,7 @@ EvtScript N(802A1A68) = {
|
||||
EVT_WAIT_FRAMES(30)
|
||||
EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, 0x01002A)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(N(UnkStarFunc), 0)
|
||||
EVT_CALL(GetActorPos, ACTOR_PARTNER, LW(0), LW(1), LW(2))
|
||||
@ -176,7 +176,7 @@ EvtScript N(802A1A68) = {
|
||||
EvtScript N(802A1E00) = {
|
||||
EVT_WAIT_FRAMES(8)
|
||||
EVT_CALL(SetForegroundModelsVisible, 0)
|
||||
EVT_CALL(func_8024E664, 73)
|
||||
EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_73)
|
||||
EVT_CALL(MoveBattleCamOver, 1)
|
||||
EVT_CALL(PlaySound, 0x2041)
|
||||
EVT_CALL(CreateNpc, 100, LW(0))
|
||||
@ -197,7 +197,7 @@ EvtScript N(802A1E00) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_THREAD
|
||||
EVT_WAIT_FRAMES(10)
|
||||
EVT_CALL(UseBattleCamPreset, 69)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_69)
|
||||
EVT_END_THREAD
|
||||
EVT_CALL(GetActorPos, ACTOR_PLAYER, LW(0), LW(1), LW(2))
|
||||
EVT_ADD(LW(1), 50)
|
||||
@ -210,7 +210,7 @@ EvtScript N(802A1E00) = {
|
||||
EvtScript N(802A200C) = {
|
||||
EVT_CALL(GetOwnerID, LW(10))
|
||||
EVT_IF_EQ(LW(10), 0)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2047)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -242,7 +242,7 @@ EvtScript N(802A200C) = {
|
||||
EVT_CALL(EnableNpcBlur, 100, 0)
|
||||
EVT_CALL(DeleteNpc, 100)
|
||||
EVT_ELSE
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_CALL(PlaySound, 0x2045)
|
||||
EVT_THREAD
|
||||
EVT_LOOP(5)
|
||||
@ -306,7 +306,7 @@ EvtScript N(usePower) = {
|
||||
EVT_SET_CONST(LW(0), NPC_ANIM_battle_kalmar_Palette_00_Anim_1)
|
||||
EVT_EXEC_WAIT(N(802A1E00))
|
||||
EVT_CALL(SetNpcAnimation, 100, NPC_ANIM_battle_kalmar_Palette_00_Anim_2)
|
||||
EVT_CALL(UseBattleCamPreset, 2)
|
||||
EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C)
|
||||
EVT_WAIT_FRAMES(20)
|
||||
EVT_CALL(Spawn802D9D50, 0, 0, 0, 320, 240, 128, 10)
|
||||
EVT_CALL(func_802A1518_7957F8)
|
||||
|
2562
src/battle_cam.c
Normal file
2562
src/battle_cam.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -228,7 +228,7 @@ dlabel MerleeExpBonus
|
||||
.word 0x00000043, 0x00000003, UseIdleAnimation, 0x00000000, 0x00000000, 0x00000043, 0x00000001, func_80261530, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000004, SetBattleCamTarget, 0x00000000, 0x00000050, 0x00000000, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000000F6, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, CreateNpc, 0xFFFFFFF6, 0x00BB0001, 0x00000043, 0x00000004, SetNpcFlagBits, 0xFFFFFFF6, 0x00040000, 0x00000001, 0x00000043, 0x00000003, SetNpcRenderMode, 0xFFFFFFF6, 0x00000022, 0x00000043, 0x00000005, SetNpcPos, 0xFFFFFFF6, 0x00000000, 0x00000041, 0x00000014, 0x00000058, 0x00000000, 0x00000043, 0x00000001, func_802616F4, 0x00000059, 0x00000000, 0x00000043, 0x00000001, func_80261648, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, SetNpcAnimation, 0xFFFFFFF6, 0x00BB0000, 0x00000043, 0x00000001, func_802619B4, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000004, 0x00000043, 0x00000001, func_802615C8, 0x00000008, 0x00000001, 0x00000014, 0x00000058, 0x00000000, 0x00000043, 0x00000001, func_802616B4, 0x00000043, 0x00000002, DeleteNpc, 0xFFFFFFF6, 0x00000059, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0x00000000, 0x00002075, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, func_802613BC, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, func_80261478, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A81B4, 0x00000043, 0x00000006, SetJumpAnimations, 0x00000000, 0x00000000, 0x00010007, 0x00010008, 0x00010009, 0x00000043, 0x00000005, SetGoalPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, func_80273444, 0x00000012, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0x00000000, 0x00000000, 0x00010009, 0x00000008, 0x00000001, 0x00000004, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000000, 0x00010002, 0x00000043, 0x00000003, ShowMessageBox, 0x00000002, 0x0000003C, 0x00000043, 0x00000001, WaitForMessageBoxDone, 0x00000046, 0x00000001, MerleeRunOut, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
dlabel PlayerHappy
|
||||
.word 0x00000043, 0x00000003, UseIdleAnimation, 0x00000000, 0x00000000, 0x00000043, 0x00000002, func_8024E6B4, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0x00000000, 0x00000000, 0x00010032, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, func_802619E8, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000023, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C8A, 0x00000027, 0x00000002, 0xFE363C83, 0xFE363C8B, 0x0000000D, 0x00000002, 0xFE363C83, 0x00000000, 0x00000043, 0x00000005, FXRecoverHP, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C81, 0x00000019, 0x0000000D, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000043, 0x00000005, FXRecoverFP, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C8C, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C8A, 0x00000027, 0x00000002, 0xFE363C83, 0xFE363C8B, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000019, 0x00000043, 0x00000005, func_802D7520, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000008, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0xFE363C8A, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0xFE363C80, 0x00000043, 0x00000001, IncrementPlayerHP, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0xFE363C8B, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0xFE363C80, 0x00000043, 0x00000001, IncrementPlayerHP, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0xFE363C8C, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0xFE363C80, 0x00000043, 0x00000001, IncrementPlayerFP, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000000, 0x00010002, 0x00000043, 0x00000001, func_80261B40, 0x00000043, 0x00000003, UseIdleAnimation, 0x00000000, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
.word 0x00000043, 0x00000003, UseIdleAnimation, 0x00000000, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPresetWait, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0x00000000, 0x00000000, 0x00010032, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, func_802619E8, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000023, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C8A, 0x00000027, 0x00000002, 0xFE363C83, 0xFE363C8B, 0x0000000D, 0x00000002, 0xFE363C83, 0x00000000, 0x00000043, 0x00000005, FXRecoverHP, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C81, 0x00000019, 0x0000000D, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000043, 0x00000005, FXRecoverFP, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C8C, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C8A, 0x00000027, 0x00000002, 0xFE363C83, 0xFE363C8B, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000019, 0x00000043, 0x00000005, func_802D7520, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000008, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C80, 0xFE363C8A, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0xFE363C80, 0x00000043, 0x00000001, IncrementPlayerHP, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0xFE363C8B, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0xFE363C80, 0x00000043, 0x00000001, IncrementPlayerHP, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0xFE363C8C, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0xFE363C80, 0x00000043, 0x00000001, IncrementPlayerFP, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000000, 0x00010002, 0x00000043, 0x00000001, func_80261B40, 0x00000043, 0x00000003, UseIdleAnimation, 0x00000000, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
dlabel DoDizzyAttack
|
||||
.word 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x00000028, 0x00000027, 0x00000002, 0xFE363C80, 0x00000048, 0x00000043, 0x00000005, SetActorRotation, 0x00000200, 0x00000000, 0xFE363C80, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000001, func_80261D98, 0x00000043, 0x00000005, SetActorRotation, 0x00000200, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
@ -900,7 +900,7 @@ dlabel HudScript_AimTarget
|
||||
.word 0x00000008, 0x00000005, 0x00000002, 0x00000004, 0x00000002, 0x00000002, D_8028F3C0, D_8028F4E0, 0x00000002, 0x00000002, D_8028F500, D_8028F620, 0x00000003, 0x00000000, 0x00000008, 0x00000005, 0x00000001, 0x00000004, 0x00000019, 0x00200000, 0x00000002, 0x00000003, D_8028E580, D_8028E600, 0x00000018, 0x00200000, 0x00000002, 0x00000003, D_8028E580, D_8028E600, 0x00000002, 0x00000003, D_8028E580, D_8028E600, 0x00000003, 0x00000000, 0x00000008, 0x00000005, 0x00000001, 0x00000004, 0x00000018, 0x00200000, 0x00000002, 0x00000003, D_8028E580, D_8028E600, 0x00000019, 0x00200000, 0x00000002, 0x00000003, D_8028E580, D_8028E600, 0x00000018, 0x00200000, 0x00000002, 0x00000003, D_8028E580, D_8028E600, 0x00000003, 0x00000000, 0x00000008, 0x00000005, 0x00000001, 0x00000004, 0x00000018, 0x00200000, 0x00000002, 0x00000003, D_8028E580, D_8028E600, 0x00000002, 0x00000003, D_8028E580, D_8028E600, 0x00000019, 0x00200000, 0x00000002, 0x00000003, D_8028E580, D_8028E600, 0x00000003, 0x00000000, 0x00000000
|
||||
|
||||
dlabel D_80293820
|
||||
.word 0x00000008, 0x00000001, 0xFE363C80, 0x00000005, 0x00000001, 0x00000004, 0x00000043, 0x00000003, func_8024E748, 0x00000004, 0x0000000B, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, func_8024E748, 0x00000004, 0x00000005, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000003, func_8024E748, 0x00000004, 0x00000008, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
.word 0x00000008, 0x00000001, 0xFE363C80, 0x00000005, 0x00000001, 0x00000004, 0x00000043, 0x00000003, SetBattleCamParam, 0x00000004, 0x0000000B, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, SetBattleCamParam, 0x00000004, 0x00000005, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000003, SetBattleCamParam, 0x00000004, 0x00000008, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
dlabel D_802938A4
|
||||
.float 0.0
|
||||
|
File diff suppressed because one or more lines are too long
@ -69,7 +69,7 @@ dlabel D_80219298_6CD308
|
||||
.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000009, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002D0105, 0x00000046, 0x00000001, DoNormalHit, 0x00000016, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002D0105, 0x00000046, 0x00000001, DoNormalHit, 0x00000016, 0x00000001, 0x0000000E, 0x00000046, 0x00000001, D_80219240_6CD2B0, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000024, 0x00000046, 0x00000001, D_80219240_6CD2B0, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000046, 0x00000001, D_80219240_6CD2B0, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000021, 0x00000046, 0x00000001, D_80219240_6CD2B0, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002D0105, 0x00000046, 0x00000001, DoShockHit, 0x00000046, 0x00000001, D_80219240_6CD2B0, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000026, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002D0105, 0x00000046, 0x00000001, DoShockHit, 0x00000046, 0x00000001, D_80219240_6CD2B0, 0x00000002, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002D0101, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002D0105, 0x00000046, 0x00000001, DoNormalHit, 0x00000046, 0x00000001, D_80219240_6CD2B0, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000022, 0x00000046, 0x00000001, D_80219240_6CD2B0, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002D0101, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002D0105, 0x00000046, 0x00000001, DoNormalHit, 0x00000046, 0x00000001, D_80219240_6CD2B0, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002D0103, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002D0103, 0x00000046, 0x00000001, DoBlowAway, 0x00000002, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
dlabel D_80219670_6CD6E0
|
||||
.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x002D0104, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFFFFFFFE, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, func_8024E664, 0x00000013, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000006, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C81, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C83, 0x00000028, 0x00000002, 0xFE363C80, 0x0000005A, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7A8B, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000012, 0x00000000, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000002, func_8027D32C, 0xFFFFFF81, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, RemoveActor, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C81, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C83, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7A8B, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000C, 0x00000000, 0x00000001, 0x00000000, 0x00000046, 0x00000001, D_80219A90_6CDB00, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x08000000, 0x00000000, 0x00000000, 0x00000006, 0x00000020, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002D0107, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFCFC7, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x002D0104, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFFFFFFFF, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFFFFFFFE, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, UseBattleCamPresetImmediately, 0x00000013, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000006, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C81, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C83, 0x00000028, 0x00000002, 0xFE363C80, 0x0000005A, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7A8B, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000012, 0x00000000, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000002, func_8027D32C, 0xFFFFFF81, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, RemoveActor, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C81, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C83, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7A8B, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000C, 0x00000000, 0x00000001, 0x00000000, 0x00000046, 0x00000001, D_80219A90_6CDB00, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x08000000, 0x00000000, 0x00000000, 0x00000006, 0x00000020, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002D0107, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFCFC7, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
dlabel D_80219A90_6CDB00
|
||||
.word 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000017, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000010, 0x00000027, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x0000003E, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A8680, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002078, 0x00000043, 0x00000002, StartRumble, 0x0000000B, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A7E80, 0x00000057, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -31,7 +31,7 @@ glabel btl_state_update_begin_partner_turn
|
||||
/* 1714F4 80242C14 00431024 */ and $v0, $v0, $v1
|
||||
/* 1714F8 80242C18 144000AE */ bnez $v0, .L80242ED4
|
||||
/* 1714FC 80242C1C 24040009 */ addiu $a0, $zero, 9
|
||||
/* 171500 80242C20 0C093903 */ jal func_8024E40C
|
||||
/* 171500 80242C20 0C093903 */ jal btl_cam_use_preset
|
||||
/* 171504 80242C24 24040002 */ addiu $a0, $zero, 2
|
||||
/* 171508 80242C28 0C093936 */ jal btl_cam_move
|
||||
/* 17150C 80242C2C 24040005 */ addiu $a0, $zero, 5
|
||||
@ -44,7 +44,7 @@ glabel btl_state_update_begin_partner_turn
|
||||
/* 171520 80242C40 24020064 */ addiu $v0, $zero, 0x64
|
||||
/* 171524 80242C44 14620048 */ bne $v1, $v0, .L80242D68
|
||||
/* 171528 80242C48 24020001 */ addiu $v0, $zero, 1
|
||||
/* 17152C 80242C4C 0C093961 */ jal func_8024E584
|
||||
/* 17152C 80242C4C 0C093961 */ jal btl_cam_is_moving_done
|
||||
/* 171530 80242C50 00000000 */ nop
|
||||
/* 171534 80242C54 10400041 */ beqz $v0, .L80242D5C
|
||||
/* 171538 80242C58 00000000 */ nop
|
||||
|
@ -25,7 +25,7 @@ glabel btl_state_update_begin_player_turn
|
||||
/* 170954 80242074 8E420000 */ lw $v0, ($s2)
|
||||
/* 170958 80242078 14400007 */ bnez $v0, .L80242098
|
||||
/* 17095C 8024207C 8E3401F4 */ lw $s4, 0x1f4($s1)
|
||||
/* 170960 80242080 0C093903 */ jal func_8024E40C
|
||||
/* 170960 80242080 0C093903 */ jal btl_cam_use_preset
|
||||
/* 170964 80242084 24040002 */ addiu $a0, $zero, 2
|
||||
/* 170968 80242088 0C093936 */ jal btl_cam_move
|
||||
/* 17096C 8024208C 24040005 */ addiu $a0, $zero, 5
|
||||
@ -38,7 +38,7 @@ glabel btl_state_update_begin_player_turn
|
||||
/* 170984 802420A4 24020064 */ addiu $v0, $zero, 0x64
|
||||
/* 170988 802420A8 14620041 */ bne $v1, $v0, .L802421B0
|
||||
/* 17098C 802420AC 00000000 */ nop
|
||||
/* 170990 802420B0 0C093961 */ jal func_8024E584
|
||||
/* 170990 802420B0 0C093961 */ jal btl_cam_is_moving_done
|
||||
/* 170994 802420B4 00000000 */ nop
|
||||
/* 170998 802420B8 1040003D */ beqz $v0, .L802421B0
|
||||
/* 17099C 802420BC 3C03FFF7 */ lui $v1, 0xfff7
|
||||
|
@ -57,7 +57,7 @@ glabel btl_state_update_end_battle
|
||||
/* 1733D0 80244AF0 24020001 */ addiu $v0, $zero, 1
|
||||
/* 1733D4 80244AF4 0C093980 */ jal btl_cam_unfreeze
|
||||
/* 1733D8 80244AF8 00000000 */ nop
|
||||
/* 1733DC 80244AFC 0C093903 */ jal func_8024E40C
|
||||
/* 1733DC 80244AFC 0C093903 */ jal btl_cam_use_preset
|
||||
/* 1733E0 80244B00 24040001 */ addiu $a0, $zero, 1
|
||||
/* 1733E4 80244B04 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 1733E8 80244B08 0080282D */ daddu $a1, $a0, $zero
|
||||
|
@ -341,7 +341,7 @@ glabel btl_state_update_end_player_turn
|
||||
/* 175218 80246938 28420002 */ slti $v0, $v0, 2
|
||||
/* 17521C 8024693C 1440000C */ bnez $v0, .L80246970
|
||||
/* 175220 80246940 00000000 */ nop
|
||||
/* 175224 80246944 0C093903 */ jal func_8024E40C
|
||||
/* 175224 80246944 0C093903 */ jal btl_cam_use_preset
|
||||
/* 175228 80246948 24040002 */ addiu $a0, $zero, 2
|
||||
/* 17522C 8024694C 0C093936 */ jal btl_cam_move
|
||||
/* 175230 80246950 2404000A */ addiu $a0, $zero, 0xa
|
||||
|
@ -71,7 +71,7 @@ glabel btl_state_update_end_turn
|
||||
/* 1723A8 80243AC8 26520004 */ addiu $s2, $s2, 4
|
||||
/* 1723AC 80243ACC 16800006 */ bnez $s4, .L80243AE8
|
||||
/* 1723B0 80243AD0 00000000 */ nop
|
||||
/* 1723B4 80243AD4 0C093903 */ jal func_8024E40C
|
||||
/* 1723B4 80243AD4 0C093903 */ jal btl_cam_use_preset
|
||||
/* 1723B8 80243AD8 24040002 */ addiu $a0, $zero, 2
|
||||
/* 1723BC 80243ADC 24020001 */ addiu $v0, $zero, 1
|
||||
/* 1723C0 80243AE0 3C01800E */ lui $at, %hi(gBattleState2)
|
||||
@ -384,7 +384,7 @@ glabel btl_state_update_end_turn
|
||||
.L80243F5C:
|
||||
/* 17283C 80243F5C 16800006 */ bnez $s4, .L80243F78
|
||||
/* 172840 80243F60 00000000 */ nop
|
||||
/* 172844 80243F64 0C093903 */ jal func_8024E40C
|
||||
/* 172844 80243F64 0C093903 */ jal btl_cam_use_preset
|
||||
/* 172848 80243F68 24040002 */ addiu $a0, $zero, 2
|
||||
/* 17284C 80243F6C 24020003 */ addiu $v0, $zero, 3
|
||||
/* 172850 80243F70 3C01800E */ lui $at, %hi(gBattleState2)
|
||||
|
@ -253,7 +253,7 @@ glabel btl_state_update_enemy_move
|
||||
/* 1761BC 802478DC 00431025 */ or $v0, $v0, $v1
|
||||
/* 1761C0 802478E0 AE820000 */ sw $v0, ($s4)
|
||||
.L802478E4:
|
||||
/* 1761C4 802478E4 0C093903 */ jal func_8024E40C
|
||||
/* 1761C4 802478E4 0C093903 */ jal btl_cam_use_preset
|
||||
/* 1761C8 802478E8 24040021 */ addiu $a0, $zero, 0x21
|
||||
/* 1761CC 802478EC 92A2021C */ lbu $v0, 0x21c($s5)
|
||||
/* 1761D0 802478F0 2442FFFC */ addiu $v0, $v0, -4
|
||||
@ -301,7 +301,7 @@ glabel btl_state_update_enemy_move
|
||||
/* 176254 80247974 00000000 */ nop
|
||||
/* 176258 80247978 14400014 */ bnez $v0, .L802479CC_1762AC
|
||||
/* 17625C 8024797C 00000000 */ nop
|
||||
/* 176260 80247980 0C093903 */ jal func_8024E40C
|
||||
/* 176260 80247980 0C093903 */ jal btl_cam_use_preset
|
||||
/* 176264 80247984 24040002 */ addiu $a0, $zero, 2
|
||||
/* 176268 80247988 0C093936 */ jal btl_cam_move
|
||||
/* 17626C 8024798C 2404000F */ addiu $a0, $zero, 0xf
|
||||
@ -355,7 +355,7 @@ glabel btl_state_update_enemy_move
|
||||
/* 176314 80247A34 8E820000 */ lw $v0, ($s4)
|
||||
/* 176318 80247A38 24040036 */ addiu $a0, $zero, 0x36
|
||||
/* 17631C 80247A3C 00431025 */ or $v0, $v0, $v1
|
||||
/* 176320 80247A40 0C093903 */ jal func_8024E40C
|
||||
/* 176320 80247A40 0C093903 */ jal btl_cam_use_preset
|
||||
/* 176324 80247A44 AE820000 */ sw $v0, ($s4)
|
||||
/* 176328 80247A48 24040023 */ addiu $a0, $zero, 0x23
|
||||
/* 17632C 80247A4C 0C093E58 */ jal btl_show_battle_message
|
||||
@ -368,7 +368,7 @@ glabel btl_state_update_enemy_move
|
||||
/* 176344 80247A64 00000000 */ nop
|
||||
/* 176348 80247A68 14400013 */ bnez $v0, .L80247AB8
|
||||
/* 17634C 80247A6C 00000000 */ nop
|
||||
/* 176350 80247A70 0C093903 */ jal func_8024E40C
|
||||
/* 176350 80247A70 0C093903 */ jal btl_cam_use_preset
|
||||
/* 176354 80247A74 24040002 */ addiu $a0, $zero, 2
|
||||
/* 176358 80247A78 0C093936 */ jal btl_cam_move
|
||||
/* 17635C 80247A7C 2404000F */ addiu $a0, $zero, 0xf
|
||||
|
@ -186,7 +186,7 @@ glabel btl_state_update_first_strike
|
||||
/* 176684 80247DA4 00431025 */ or $v0, $v0, $v1
|
||||
/* 176688 80247DA8 0C03A6D5 */ jal increment_status_menu_disabled
|
||||
/* 17668C 80247DAC AE820004 */ sw $v0, 4($s4)
|
||||
/* 176690 80247DB0 0C093903 */ jal func_8024E40C
|
||||
/* 176690 80247DB0 0C093903 */ jal btl_cam_use_preset
|
||||
/* 176694 80247DB4 2404000A */ addiu $a0, $zero, 0xa
|
||||
/* 176698 80247DB8 0C09390F */ jal btl_cam_target_actor
|
||||
/* 17669C 80247DBC 0000202D */ daddu $a0, $zero, $zero
|
||||
|
@ -563,7 +563,7 @@ glabel btl_state_update_normal_start
|
||||
/* 1702E4 80241A04 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* 1702E8 80241A08 14620003 */ bne $v1, $v0, .L80241A18
|
||||
/* 1702EC 80241A0C 00000000 */ nop
|
||||
/* 1702F0 80241A10 0C093903 */ jal func_8024E40C
|
||||
/* 1702F0 80241A10 0C093903 */ jal btl_cam_use_preset
|
||||
/* 1702F4 80241A14 24040002 */ addiu $a0, $zero, 2
|
||||
.L80241A18:
|
||||
/* 1702F8 80241A18 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
|
@ -116,7 +116,7 @@ glabel btl_state_update_partner_striking_first
|
||||
/* 176C0C 8024832C 00822025 */ or $a0, $a0, $v0
|
||||
/* 176C10 80248330 0C03A6D5 */ jal increment_status_menu_disabled
|
||||
/* 176C14 80248334 AEA40000 */ sw $a0, ($s5)
|
||||
/* 176C18 80248338 0C093903 */ jal func_8024E40C
|
||||
/* 176C18 80248338 0C093903 */ jal btl_cam_use_preset
|
||||
/* 176C1C 8024833C 2404000A */ addiu $a0, $zero, 0xa
|
||||
/* 176C20 80248340 0C09390F */ jal btl_cam_target_actor
|
||||
/* 176C24 80248344 24040100 */ addiu $a0, $zero, 0x100
|
||||
|
@ -472,7 +472,7 @@ glabel btl_state_update_player_move
|
||||
/* 174A34 80246154 080918A2 */ j .L80246288
|
||||
/* 174A38 80246158 00000000 */ nop
|
||||
.L8024615C:
|
||||
/* 174A3C 8024615C 0C093903 */ jal func_8024E40C
|
||||
/* 174A3C 8024615C 0C093903 */ jal btl_cam_use_preset
|
||||
/* 174A40 80246160 24040003 */ addiu $a0, $zero, 3
|
||||
/* 174A44 80246164 9202021C */ lbu $v0, 0x21c($s0)
|
||||
/* 174A48 80246168 2442FFFC */ addiu $v0, $v0, -4
|
||||
@ -542,7 +542,7 @@ glabel btl_state_update_player_move
|
||||
/* 174B14 80246234 00000000 */ nop
|
||||
/* 174B18 80246238 14400013 */ bnez $v0, .L80246288
|
||||
/* 174B1C 8024623C 00000000 */ nop
|
||||
/* 174B20 80246240 0C093903 */ jal func_8024E40C
|
||||
/* 174B20 80246240 0C093903 */ jal btl_cam_use_preset
|
||||
/* 174B24 80246244 24040002 */ addiu $a0, $zero, 2
|
||||
/* 174B28 80246248 0C093936 */ jal btl_cam_move
|
||||
/* 174B2C 8024624C 2404000F */ addiu $a0, $zero, 0xf
|
||||
@ -587,7 +587,7 @@ glabel btl_state_update_player_move
|
||||
/* 174BAC 802462CC 82A2021C */ lb $v0, 0x21c($s5)
|
||||
/* 174BB0 802462D0 10400043 */ beqz $v0, .L802463E0
|
||||
/* 174BB4 802462D4 2402001E */ addiu $v0, $zero, 0x1e
|
||||
/* 174BB8 802462D8 0C093903 */ jal func_8024E40C
|
||||
/* 174BB8 802462D8 0C093903 */ jal btl_cam_use_preset
|
||||
/* 174BBC 802462DC 24040021 */ addiu $a0, $zero, 0x21
|
||||
/* 174BC0 802462E0 92A2021C */ lbu $v0, 0x21c($s5)
|
||||
/* 174BC4 802462E4 2442FFFC */ addiu $v0, $v0, -4
|
||||
@ -646,7 +646,7 @@ glabel btl_state_update_player_move
|
||||
/* 174C70 80246390 00000000 */ nop
|
||||
/* 174C74 80246394 14400013 */ bnez $v0, .L802463E4
|
||||
/* 174C78 80246398 00000000 */ nop
|
||||
/* 174C7C 8024639C 0C093903 */ jal func_8024E40C
|
||||
/* 174C7C 8024639C 0C093903 */ jal btl_cam_use_preset
|
||||
/* 174C80 802463A0 24040002 */ addiu $a0, $zero, 2
|
||||
/* 174C84 802463A4 0C093936 */ jal btl_cam_move
|
||||
/* 174C88 802463A8 2404000F */ addiu $a0, $zero, 0xf
|
||||
|
@ -39,7 +39,7 @@ glabel btl_state_update_run_away
|
||||
/* 173864 80244F84 3442001E */ ori $v0, $v0, 0x1e
|
||||
/* 173868 80244F88 24630001 */ addiu $v1, $v1, 1
|
||||
/* 17386C 80244F8C AE220004 */ sw $v0, 4($s1)
|
||||
/* 173870 80244F90 0C093903 */ jal func_8024E40C
|
||||
/* 173870 80244F90 0C093903 */ jal btl_cam_use_preset
|
||||
/* 173874 80244F94 A6A302A6 */ sh $v1, 0x2a6($s5)
|
||||
/* 173878 80244F98 0C09390F */ jal btl_cam_target_actor
|
||||
/* 17387C 80244F9C 0200202D */ daddu $a0, $s0, $zero
|
||||
|
@ -286,7 +286,7 @@ glabel func_80242FE0
|
||||
/* 171CC8 802433E8 00000000 */ nop
|
||||
/* 171CCC 802433EC 1440013B */ bnez $v0, .L802438DC
|
||||
/* 171CD0 802433F0 00000000 */ nop
|
||||
/* 171CD4 802433F4 0C093903 */ jal func_8024E40C
|
||||
/* 171CD4 802433F4 0C093903 */ jal btl_cam_use_preset
|
||||
/* 171CD8 802433F8 24040002 */ addiu $a0, $zero, 2
|
||||
/* 171CDC 802433FC 12400007 */ beqz $s2, .L8024341C
|
||||
/* 171CE0 80243400 3C030010 */ lui $v1, 0x10
|
||||
|
@ -1,682 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel D_8029CC00
|
||||
.double 0.4
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_80248DE4
|
||||
/* 1776C4 80248DE4 27BDFF88 */ addiu $sp, $sp, -0x78
|
||||
/* 1776C8 80248DE8 AFB1003C */ sw $s1, 0x3c($sp)
|
||||
/* 1776CC 80248DEC 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* 1776D0 80248DF0 AFB00038 */ sw $s0, 0x38($sp)
|
||||
/* 1776D4 80248DF4 3C10800B */ lui $s0, %hi(gCameras+0x558)
|
||||
/* 1776D8 80248DF8 261022D8 */ addiu $s0, $s0, %lo(gCameras+0x558)
|
||||
/* 1776DC 80248DFC 3C02802A */ lui $v0, %hi(BattleCam_TargetActor)
|
||||
/* 1776E0 80248E00 9442F27C */ lhu $v0, %lo(BattleCam_TargetActor)($v0)
|
||||
/* 1776E4 80248E04 3C04800E */ lui $a0, %hi(gBattleStatus)
|
||||
/* 1776E8 80248E08 2484C070 */ addiu $a0, $a0, %lo(gBattleStatus)
|
||||
/* 1776EC 80248E0C AFBF0040 */ sw $ra, 0x40($sp)
|
||||
/* 1776F0 80248E10 F7BE0070 */ sdc1 $f30, 0x70($sp)
|
||||
/* 1776F4 80248E14 F7BC0068 */ sdc1 $f28, 0x68($sp)
|
||||
/* 1776F8 80248E18 F7BA0060 */ sdc1 $f26, 0x60($sp)
|
||||
/* 1776FC 80248E1C F7B80058 */ sdc1 $f24, 0x58($sp)
|
||||
/* 177700 80248E20 F7B60050 */ sdc1 $f22, 0x50($sp)
|
||||
/* 177704 80248E24 F7B40048 */ sdc1 $f20, 0x48($sp)
|
||||
/* 177708 80248E28 30430700 */ andi $v1, $v0, 0x700
|
||||
/* 17770C 80248E2C 304500FF */ andi $a1, $v0, 0xff
|
||||
/* 177710 80248E30 24020100 */ addiu $v0, $zero, 0x100
|
||||
/* 177714 80248E34 10620065 */ beq $v1, $v0, .L80248FCC
|
||||
/* 177718 80248E38 28620101 */ slti $v0, $v1, 0x101
|
||||
/* 17771C 80248E3C 10400005 */ beqz $v0, .L80248E54
|
||||
/* 177720 80248E40 24020200 */ addiu $v0, $zero, 0x200
|
||||
/* 177724 80248E44 10600007 */ beqz $v1, .L80248E64
|
||||
/* 177728 80248E48 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 17772C 80248E4C 080925F6 */ j .L802497D8
|
||||
/* 177730 80248E50 00000000 */ nop
|
||||
.L80248E54:
|
||||
/* 177734 80248E54 106200B8 */ beq $v1, $v0, .L80249138
|
||||
/* 177738 80248E58 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 17773C 80248E5C 080925F6 */ j .L802497D8
|
||||
/* 177740 80248E60 00000000 */ nop
|
||||
.L80248E64:
|
||||
/* 177744 80248E64 8C8400D8 */ lw $a0, 0xd8($a0)
|
||||
/* 177748 80248E68 1080025B */ beqz $a0, .L802497D8
|
||||
/* 17774C 80248E6C 00000000 */ nop
|
||||
/* 177750 80248E70 C4980144 */ lwc1 $f24, 0x144($a0)
|
||||
/* 177754 80248E74 90830191 */ lbu $v1, 0x191($a0)
|
||||
/* 177758 80248E78 C490014C */ lwc1 $f16, 0x14c($a0)
|
||||
/* 17775C 80248E7C 00031042 */ srl $v0, $v1, 1
|
||||
/* 177760 80248E80 44820000 */ mtc1 $v0, $f0
|
||||
/* 177764 80248E84 00000000 */ nop
|
||||
/* 177768 80248E88 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 17776C 80248E8C E7B00018 */ swc1 $f16, 0x18($sp)
|
||||
/* 177770 80248E90 C4820148 */ lwc1 $f2, 0x148($a0)
|
||||
/* 177774 80248E94 00031082 */ srl $v0, $v1, 2
|
||||
/* 177778 80248E98 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 17777C 80248E9C 44820000 */ mtc1 $v0, $f0
|
||||
/* 177780 80248EA0 00000000 */ nop
|
||||
/* 177784 80248EA4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 177788 80248EA8 90820190 */ lbu $v0, 0x190($a0)
|
||||
/* 17778C 80248EAC 46001500 */ add.s $f20, $f2, $f0
|
||||
/* 177790 80248EB0 4483D000 */ mtc1 $v1, $f26
|
||||
/* 177794 80248EB4 00000000 */ nop
|
||||
/* 177798 80248EB8 4680D6A0 */ cvt.s.w $f26, $f26
|
||||
/* 17779C 80248EBC 4482B000 */ mtc1 $v0, $f22
|
||||
/* 1777A0 80248EC0 00000000 */ nop
|
||||
/* 1777A4 80248EC4 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* 1777A8 80248EC8 4616D000 */ add.s $f0, $f26, $f22
|
||||
/* 1777AC 80248ECC 3C013F00 */ lui $at, 0x3f00
|
||||
/* 1777B0 80248ED0 4481E000 */ mtc1 $at, $f28
|
||||
/* 1777B4 80248ED4 00000000 */ nop
|
||||
/* 1777B8 80248ED8 461C0002 */ mul.s $f0, $f0, $f28
|
||||
/* 1777BC 80248EDC 00000000 */ nop
|
||||
/* 1777C0 80248EE0 84840428 */ lh $a0, 0x428($a0)
|
||||
/* 1777C4 80248EE4 0C09A75B */ jal get_actor
|
||||
/* 1777C8 80248EE8 E7A0002C */ swc1 $f0, 0x2c($sp)
|
||||
/* 1777CC 80248EEC 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1777D0 80248EF0 10800239 */ beqz $a0, .L802497D8
|
||||
/* 1777D4 80248EF4 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 1777D8 80248EF8 90830191 */ lbu $v1, 0x191($a0)
|
||||
/* 1777DC 80248EFC C4820148 */ lwc1 $f2, 0x148($a0)
|
||||
/* 1777E0 80248F00 00031042 */ srl $v0, $v1, 1
|
||||
/* 1777E4 80248F04 44820000 */ mtc1 $v0, $f0
|
||||
/* 1777E8 80248F08 00000000 */ nop
|
||||
/* 1777EC 80248F0C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 1777F0 80248F10 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 1777F4 80248F14 00031082 */ srl $v0, $v1, 2
|
||||
/* 1777F8 80248F18 44820000 */ mtc1 $v0, $f0
|
||||
/* 1777FC 80248F1C 00000000 */ nop
|
||||
/* 177800 80248F20 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 177804 80248F24 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 177808 80248F28 E7A20024 */ swc1 $f2, 0x24($sp)
|
||||
/* 17780C 80248F2C C4920144 */ lwc1 $f18, 0x144($a0)
|
||||
/* 177810 80248F30 E7B20020 */ swc1 $f18, 0x20($sp)
|
||||
/* 177814 80248F34 C490014C */ lwc1 $f16, 0x14c($a0)
|
||||
/* 177818 80248F38 E7B00028 */ swc1 $f16, 0x28($sp)
|
||||
/* 17781C 80248F3C 90820190 */ lbu $v0, 0x190($a0)
|
||||
/* 177820 80248F40 46189001 */ sub.s $f0, $f18, $f24
|
||||
/* 177824 80248F44 00621821 */ addu $v1, $v1, $v0
|
||||
/* 177828 80248F48 00031843 */ sra $v1, $v1, 1
|
||||
/* 17782C 80248F4C 461C0002 */ mul.s $f0, $f0, $f28
|
||||
/* 177830 80248F50 00000000 */ nop
|
||||
/* 177834 80248F54 44839000 */ mtc1 $v1, $f18
|
||||
/* 177838 80248F58 00000000 */ nop
|
||||
/* 17783C 80248F5C 468094A0 */ cvt.s.w $f18, $f18
|
||||
/* 177840 80248F60 3C03802A */ lui $v1, %hi(D_8029F2A2)
|
||||
/* 177844 80248F64 8063F2A2 */ lb $v1, %lo(D_8029F2A2)($v1)
|
||||
/* 177848 80248F68 E7B20030 */ swc1 $f18, 0x30($sp)
|
||||
/* 17784C 80248F6C 0460000B */ bltz $v1, .L80248F9C
|
||||
/* 177850 80248F70 4600C780 */ add.s $f30, $f24, $f0
|
||||
/* 177854 80248F74 506000C6 */ beql $v1, $zero, .L80249290
|
||||
/* 177858 80248F78 4600A706 */ mov.s $f28, $f20
|
||||
/* 17785C 80248F7C 4602A001 */ sub.s $f0, $f20, $f2
|
||||
/* 177860 80248F80 461C0082 */ mul.s $f2, $f0, $f28
|
||||
/* 177864 80248F84 00000000 */ nop
|
||||
/* 177868 80248F88 C7B00024 */ lwc1 $f16, 0x24($sp)
|
||||
/* 17786C 80248F8C 3C0140C0 */ lui $at, 0x40c0
|
||||
/* 177870 80248F90 44812000 */ mtc1 $at, $f4
|
||||
/* 177874 80248F94 0809249D */ j .L80249274
|
||||
/* 177878 80248F98 46028080 */ add.s $f2, $f16, $f2
|
||||
.L80248F9C:
|
||||
/* 17787C 80248F9C 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 177880 80248FA0 106200BA */ beq $v1, $v0, .L8024928C
|
||||
/* 177884 80248FA4 00000000 */ nop
|
||||
/* 177888 80248FA8 C7B20024 */ lwc1 $f18, 0x24($sp)
|
||||
/* 17788C 80248FAC 46149001 */ sub.s $f0, $f18, $f20
|
||||
/* 177890 80248FB0 3C013E80 */ lui $at, 0x3e80
|
||||
/* 177894 80248FB4 44811000 */ mtc1 $at, $f2
|
||||
/* 177898 80248FB8 00000000 */ nop
|
||||
/* 17789C 80248FBC 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 1778A0 80248FC0 00000000 */ nop
|
||||
/* 1778A4 80248FC4 080924A4 */ j .L80249290
|
||||
/* 1778A8 80248FC8 4600A700 */ add.s $f28, $f20, $f0
|
||||
.L80248FCC:
|
||||
/* 1778AC 80248FCC 8C8400DC */ lw $a0, 0xdc($a0)
|
||||
/* 1778B0 80248FD0 10800201 */ beqz $a0, .L802497D8
|
||||
/* 1778B4 80248FD4 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 1778B8 80248FD8 C4980144 */ lwc1 $f24, 0x144($a0)
|
||||
/* 1778BC 80248FDC 90830191 */ lbu $v1, 0x191($a0)
|
||||
/* 1778C0 80248FE0 C490014C */ lwc1 $f16, 0x14c($a0)
|
||||
/* 1778C4 80248FE4 00031042 */ srl $v0, $v1, 1
|
||||
/* 1778C8 80248FE8 44820000 */ mtc1 $v0, $f0
|
||||
/* 1778CC 80248FEC 00000000 */ nop
|
||||
/* 1778D0 80248FF0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 1778D4 80248FF4 E7B00018 */ swc1 $f16, 0x18($sp)
|
||||
/* 1778D8 80248FF8 C4820148 */ lwc1 $f2, 0x148($a0)
|
||||
/* 1778DC 80248FFC 00031082 */ srl $v0, $v1, 2
|
||||
/* 1778E0 80249000 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 1778E4 80249004 44820000 */ mtc1 $v0, $f0
|
||||
/* 1778E8 80249008 00000000 */ nop
|
||||
/* 1778EC 8024900C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 1778F0 80249010 90820190 */ lbu $v0, 0x190($a0)
|
||||
/* 1778F4 80249014 46001500 */ add.s $f20, $f2, $f0
|
||||
/* 1778F8 80249018 4483D000 */ mtc1 $v1, $f26
|
||||
/* 1778FC 8024901C 00000000 */ nop
|
||||
/* 177900 80249020 4680D6A0 */ cvt.s.w $f26, $f26
|
||||
/* 177904 80249024 4482B000 */ mtc1 $v0, $f22
|
||||
/* 177908 80249028 00000000 */ nop
|
||||
/* 17790C 8024902C 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* 177910 80249030 4616D000 */ add.s $f0, $f26, $f22
|
||||
/* 177914 80249034 3C013F00 */ lui $at, 0x3f00
|
||||
/* 177918 80249038 4481E000 */ mtc1 $at, $f28
|
||||
/* 17791C 8024903C 00000000 */ nop
|
||||
/* 177920 80249040 461C0002 */ mul.s $f0, $f0, $f28
|
||||
/* 177924 80249044 00000000 */ nop
|
||||
/* 177928 80249048 84840428 */ lh $a0, 0x428($a0)
|
||||
/* 17792C 8024904C 0C09A75B */ jal get_actor
|
||||
/* 177930 80249050 E7A0002C */ swc1 $f0, 0x2c($sp)
|
||||
/* 177934 80249054 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 177938 80249058 108001DF */ beqz $a0, .L802497D8
|
||||
/* 17793C 8024905C 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 177940 80249060 90830191 */ lbu $v1, 0x191($a0)
|
||||
/* 177944 80249064 C4820148 */ lwc1 $f2, 0x148($a0)
|
||||
/* 177948 80249068 00031042 */ srl $v0, $v1, 1
|
||||
/* 17794C 8024906C 44820000 */ mtc1 $v0, $f0
|
||||
/* 177950 80249070 00000000 */ nop
|
||||
/* 177954 80249074 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 177958 80249078 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 17795C 8024907C 00031082 */ srl $v0, $v1, 2
|
||||
/* 177960 80249080 44820000 */ mtc1 $v0, $f0
|
||||
/* 177964 80249084 00000000 */ nop
|
||||
/* 177968 80249088 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 17796C 8024908C 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 177970 80249090 E7A20024 */ swc1 $f2, 0x24($sp)
|
||||
/* 177974 80249094 C4920144 */ lwc1 $f18, 0x144($a0)
|
||||
/* 177978 80249098 E7B20020 */ swc1 $f18, 0x20($sp)
|
||||
/* 17797C 8024909C C490014C */ lwc1 $f16, 0x14c($a0)
|
||||
/* 177980 802490A0 46189001 */ sub.s $f0, $f18, $f24
|
||||
/* 177984 802490A4 E7B00028 */ swc1 $f16, 0x28($sp)
|
||||
/* 177988 802490A8 90820190 */ lbu $v0, 0x190($a0)
|
||||
/* 17798C 802490AC 00621821 */ addu $v1, $v1, $v0
|
||||
/* 177990 802490B0 461C0002 */ mul.s $f0, $f0, $f28
|
||||
/* 177994 802490B4 00000000 */ nop
|
||||
/* 177998 802490B8 00031843 */ sra $v1, $v1, 1
|
||||
/* 17799C 802490BC 3C02802A */ lui $v0, %hi(D_8029F2A2)
|
||||
/* 1779A0 802490C0 8042F2A2 */ lb $v0, %lo(D_8029F2A2)($v0)
|
||||
/* 1779A4 802490C4 44839000 */ mtc1 $v1, $f18
|
||||
/* 1779A8 802490C8 00000000 */ nop
|
||||
/* 1779AC 802490CC 468094A0 */ cvt.s.w $f18, $f18
|
||||
/* 1779B0 802490D0 E7B20030 */ swc1 $f18, 0x30($sp)
|
||||
/* 1779B4 802490D4 0440000D */ bltz $v0, .L8024910C
|
||||
/* 1779B8 802490D8 4600C780 */ add.s $f30, $f24, $f0
|
||||
/* 1779BC 802490DC 5040000C */ beql $v0, $zero, .L80249110
|
||||
/* 1779C0 802490E0 4600A706 */ mov.s $f28, $f20
|
||||
/* 1779C4 802490E4 4602A001 */ sub.s $f0, $f20, $f2
|
||||
/* 1779C8 802490E8 461C0082 */ mul.s $f2, $f0, $f28
|
||||
/* 1779CC 802490EC 00000000 */ nop
|
||||
/* 1779D0 802490F0 C7B00024 */ lwc1 $f16, 0x24($sp)
|
||||
/* 1779D4 802490F4 3C0140C0 */ lui $at, 0x40c0
|
||||
/* 1779D8 802490F8 44812000 */ mtc1 $at, $f4
|
||||
/* 1779DC 802490FC 46028080 */ add.s $f2, $f16, $f2
|
||||
/* 1779E0 80249100 46040003 */ div.s $f0, $f0, $f4
|
||||
/* 1779E4 80249104 08092444 */ j .L80249110
|
||||
/* 1779E8 80249108 46001700 */ add.s $f28, $f2, $f0
|
||||
.L8024910C:
|
||||
/* 1779EC 8024910C C7BC0024 */ lwc1 $f28, 0x24($sp)
|
||||
.L80249110:
|
||||
/* 1779F0 80249110 C7B20028 */ lwc1 $f18, 0x28($sp)
|
||||
/* 1779F4 80249114 C7B00018 */ lwc1 $f16, 0x18($sp)
|
||||
/* 1779F8 80249118 46109001 */ sub.s $f0, $f18, $f16
|
||||
/* 1779FC 8024911C 3C013F00 */ lui $at, 0x3f00
|
||||
/* 177A00 80249120 44811000 */ mtc1 $at, $f2
|
||||
/* 177A04 80249124 00000000 */ nop
|
||||
/* 177A08 80249128 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 177A0C 8024912C 00000000 */ nop
|
||||
/* 177A10 80249130 080924AD */ j .L802492B4
|
||||
/* 177A14 80249134 46008000 */ add.s $f0, $f16, $f0
|
||||
.L80249138:
|
||||
/* 177A18 80249138 00051080 */ sll $v0, $a1, 2
|
||||
/* 177A1C 8024913C 00441021 */ addu $v0, $v0, $a0
|
||||
/* 177A20 80249140 8C4400E0 */ lw $a0, 0xe0($v0)
|
||||
/* 177A24 80249144 108001A4 */ beqz $a0, .L802497D8
|
||||
/* 177A28 80249148 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 177A2C 8024914C C4980144 */ lwc1 $f24, 0x144($a0)
|
||||
/* 177A30 80249150 90830191 */ lbu $v1, 0x191($a0)
|
||||
/* 177A34 80249154 C492014C */ lwc1 $f18, 0x14c($a0)
|
||||
/* 177A38 80249158 00031042 */ srl $v0, $v1, 1
|
||||
/* 177A3C 8024915C 44820000 */ mtc1 $v0, $f0
|
||||
/* 177A40 80249160 00000000 */ nop
|
||||
/* 177A44 80249164 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 177A48 80249168 E7B20018 */ swc1 $f18, 0x18($sp)
|
||||
/* 177A4C 8024916C C4820148 */ lwc1 $f2, 0x148($a0)
|
||||
/* 177A50 80249170 00031082 */ srl $v0, $v1, 2
|
||||
/* 177A54 80249174 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 177A58 80249178 44820000 */ mtc1 $v0, $f0
|
||||
/* 177A5C 8024917C 00000000 */ nop
|
||||
/* 177A60 80249180 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 177A64 80249184 90820190 */ lbu $v0, 0x190($a0)
|
||||
/* 177A68 80249188 46001500 */ add.s $f20, $f2, $f0
|
||||
/* 177A6C 8024918C 4483D000 */ mtc1 $v1, $f26
|
||||
/* 177A70 80249190 00000000 */ nop
|
||||
/* 177A74 80249194 4680D6A0 */ cvt.s.w $f26, $f26
|
||||
/* 177A78 80249198 4482B000 */ mtc1 $v0, $f22
|
||||
/* 177A7C 8024919C 00000000 */ nop
|
||||
/* 177A80 802491A0 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* 177A84 802491A4 4616D000 */ add.s $f0, $f26, $f22
|
||||
/* 177A88 802491A8 3C013F00 */ lui $at, 0x3f00
|
||||
/* 177A8C 802491AC 4481E000 */ mtc1 $at, $f28
|
||||
/* 177A90 802491B0 00000000 */ nop
|
||||
/* 177A94 802491B4 461C0002 */ mul.s $f0, $f0, $f28
|
||||
/* 177A98 802491B8 00000000 */ nop
|
||||
/* 177A9C 802491BC 84840428 */ lh $a0, 0x428($a0)
|
||||
/* 177AA0 802491C0 0C09A75B */ jal get_actor
|
||||
/* 177AA4 802491C4 E7A0002C */ swc1 $f0, 0x2c($sp)
|
||||
/* 177AA8 802491C8 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 177AAC 802491CC 10800182 */ beqz $a0, .L802497D8
|
||||
/* 177AB0 802491D0 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 177AB4 802491D4 90830191 */ lbu $v1, 0x191($a0)
|
||||
/* 177AB8 802491D8 C4820148 */ lwc1 $f2, 0x148($a0)
|
||||
/* 177ABC 802491DC 00031042 */ srl $v0, $v1, 1
|
||||
/* 177AC0 802491E0 44820000 */ mtc1 $v0, $f0
|
||||
/* 177AC4 802491E4 00000000 */ nop
|
||||
/* 177AC8 802491E8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 177ACC 802491EC 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 177AD0 802491F0 00031082 */ srl $v0, $v1, 2
|
||||
/* 177AD4 802491F4 44820000 */ mtc1 $v0, $f0
|
||||
/* 177AD8 802491F8 00000000 */ nop
|
||||
/* 177ADC 802491FC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 177AE0 80249200 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 177AE4 80249204 E7A20024 */ swc1 $f2, 0x24($sp)
|
||||
/* 177AE8 80249208 C4900144 */ lwc1 $f16, 0x144($a0)
|
||||
/* 177AEC 8024920C E7B00020 */ swc1 $f16, 0x20($sp)
|
||||
/* 177AF0 80249210 C492014C */ lwc1 $f18, 0x14c($a0)
|
||||
/* 177AF4 80249214 E7B20028 */ swc1 $f18, 0x28($sp)
|
||||
/* 177AF8 80249218 90820190 */ lbu $v0, 0x190($a0)
|
||||
/* 177AFC 8024921C 46188001 */ sub.s $f0, $f16, $f24
|
||||
/* 177B00 80249220 00621821 */ addu $v1, $v1, $v0
|
||||
/* 177B04 80249224 00031843 */ sra $v1, $v1, 1
|
||||
/* 177B08 80249228 461C0002 */ mul.s $f0, $f0, $f28
|
||||
/* 177B0C 8024922C 00000000 */ nop
|
||||
/* 177B10 80249230 44838000 */ mtc1 $v1, $f16
|
||||
/* 177B14 80249234 00000000 */ nop
|
||||
/* 177B18 80249238 46808420 */ cvt.s.w $f16, $f16
|
||||
/* 177B1C 8024923C 3C03802A */ lui $v1, %hi(D_8029F2A2)
|
||||
/* 177B20 80249240 8063F2A2 */ lb $v1, %lo(D_8029F2A2)($v1)
|
||||
/* 177B24 80249244 E7B00030 */ swc1 $f16, 0x30($sp)
|
||||
/* 177B28 80249248 0460000D */ bltz $v1, .L80249280
|
||||
/* 177B2C 8024924C 4600C780 */ add.s $f30, $f24, $f0
|
||||
/* 177B30 80249250 5060000F */ beql $v1, $zero, .L80249290
|
||||
/* 177B34 80249254 4600A706 */ mov.s $f28, $f20
|
||||
/* 177B38 80249258 4602A001 */ sub.s $f0, $f20, $f2
|
||||
/* 177B3C 8024925C 461C0082 */ mul.s $f2, $f0, $f28
|
||||
/* 177B40 80249260 00000000 */ nop
|
||||
/* 177B44 80249264 C7B20024 */ lwc1 $f18, 0x24($sp)
|
||||
/* 177B48 80249268 3C0140C0 */ lui $at, 0x40c0
|
||||
/* 177B4C 8024926C 44812000 */ mtc1 $at, $f4
|
||||
/* 177B50 80249270 46029080 */ add.s $f2, $f18, $f2
|
||||
.L80249274:
|
||||
/* 177B54 80249274 46040003 */ div.s $f0, $f0, $f4
|
||||
/* 177B58 80249278 080924A4 */ j .L80249290
|
||||
/* 177B5C 8024927C 46001700 */ add.s $f28, $f2, $f0
|
||||
.L80249280:
|
||||
/* 177B60 80249280 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 177B64 80249284 14620002 */ bne $v1, $v0, .L80249290
|
||||
/* 177B68 80249288 4600A706 */ mov.s $f28, $f20
|
||||
.L8024928C:
|
||||
/* 177B6C 8024928C C7BC0024 */ lwc1 $f28, 0x24($sp)
|
||||
.L80249290:
|
||||
/* 177B70 80249290 C7B00028 */ lwc1 $f16, 0x28($sp)
|
||||
/* 177B74 80249294 C7B20018 */ lwc1 $f18, 0x18($sp)
|
||||
/* 177B78 80249298 46128001 */ sub.s $f0, $f16, $f18
|
||||
/* 177B7C 8024929C 3C013F00 */ lui $at, 0x3f00
|
||||
/* 177B80 802492A0 44811000 */ mtc1 $at, $f2
|
||||
/* 177B84 802492A4 00000000 */ nop
|
||||
/* 177B88 802492A8 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 177B8C 802492AC 00000000 */ nop
|
||||
/* 177B90 802492B0 46009000 */ add.s $f0, $f18, $f0
|
||||
.L802492B4:
|
||||
/* 177B94 802492B4 E7A0001C */ swc1 $f0, 0x1c($sp)
|
||||
/* 177B98 802492B8 3C02802A */ lui $v0, %hi(D_8029F2A6)
|
||||
/* 177B9C 802492BC 8042F2A6 */ lb $v0, %lo(D_8029F2A6)($v0)
|
||||
/* 177BA0 802492C0 10400029 */ beqz $v0, .L80249368
|
||||
/* 177BA4 802492C4 00000000 */ nop
|
||||
/* 177BA8 802492C8 3C01802A */ lui $at, %hi(BattleCam_TargetBoomLength)
|
||||
/* 177BAC 802492CC C422F28C */ lwc1 $f2, %lo(BattleCam_TargetBoomLength)($at)
|
||||
/* 177BB0 802492D0 3C0143FA */ lui $at, 0x43fa
|
||||
/* 177BB4 802492D4 44810000 */ mtc1 $at, $f0
|
||||
/* 177BB8 802492D8 00000000 */ nop
|
||||
/* 177BBC 802492DC 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 177BC0 802492E0 3C01802A */ lui $at, %hi(D_8029CC00)
|
||||
/* 177BC4 802492E4 D422CC00 */ ldc1 $f2, %lo(D_8029CC00)($at)
|
||||
/* 177BC8 802492E8 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 177BCC 802492EC 46220002 */ mul.d $f0, $f0, $f2
|
||||
/* 177BD0 802492F0 00000000 */ nop
|
||||
/* 177BD4 802492F4 3C01403E */ lui $at, 0x403e
|
||||
/* 177BD8 802492F8 44811800 */ mtc1 $at, $f3
|
||||
/* 177BDC 802492FC 44801000 */ mtc1 $zero, $f2
|
||||
/* 177BE0 80249300 00000000 */ nop
|
||||
/* 177BE4 80249304 46220000 */ add.d $f0, $f0, $f2
|
||||
/* 177BE8 80249308 46200120 */ cvt.s.d $f4, $f0
|
||||
/* 177BEC 8024930C 46002007 */ neg.s $f0, $f4
|
||||
/* 177BF0 80249310 4600F03C */ c.lt.s $f30, $f0
|
||||
/* 177BF4 80249314 00000000 */ nop
|
||||
/* 177BF8 80249318 45000008 */ bc1f .L8024933C
|
||||
/* 177BFC 8024931C 00000000 */ nop
|
||||
/* 177C00 80249320 461E0001 */ sub.s $f0, $f0, $f30
|
||||
/* 177C04 80249324 3C013F00 */ lui $at, 0x3f00
|
||||
/* 177C08 80249328 44811000 */ mtc1 $at, $f2
|
||||
/* 177C0C 8024932C 00000000 */ nop
|
||||
/* 177C10 80249330 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 177C14 80249334 00000000 */ nop
|
||||
/* 177C18 80249338 4600F780 */ add.s $f30, $f30, $f0
|
||||
.L8024933C:
|
||||
/* 177C1C 8024933C 461E203C */ c.lt.s $f4, $f30
|
||||
/* 177C20 80249340 00000000 */ nop
|
||||
/* 177C24 80249344 45000008 */ bc1f .L80249368
|
||||
/* 177C28 80249348 00000000 */ nop
|
||||
/* 177C2C 8024934C 461E2001 */ sub.s $f0, $f4, $f30
|
||||
/* 177C30 80249350 3C013F00 */ lui $at, 0x3f00
|
||||
/* 177C34 80249354 44811000 */ mtc1 $at, $f2
|
||||
/* 177C38 80249358 00000000 */ nop
|
||||
/* 177C3C 8024935C 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 177C40 80249360 00000000 */ nop
|
||||
/* 177C44 80249364 4600F780 */ add.s $f30, $f30, $f0
|
||||
.L80249368:
|
||||
/* 177C48 80249368 12200055 */ beqz $s1, .L802494C0
|
||||
/* 177C4C 8024936C 00000000 */ nop
|
||||
/* 177C50 80249370 3C0141C0 */ lui $at, 0x41c0
|
||||
/* 177C54 80249374 44810000 */ mtc1 $at, $f0
|
||||
/* 177C58 80249378 00000000 */ nop
|
||||
/* 177C5C 8024937C 4600B581 */ sub.s $f22, $f22, $f0
|
||||
/* 177C60 80249380 4600D681 */ sub.s $f26, $f26, $f0
|
||||
/* 177C64 80249384 44800000 */ mtc1 $zero, $f0
|
||||
/* 177C68 80249388 00000000 */ nop
|
||||
/* 177C6C 8024938C 4600B03C */ c.lt.s $f22, $f0
|
||||
/* 177C70 80249390 00000000 */ nop
|
||||
/* 177C74 80249394 45030001 */ bc1tl .L8024939C
|
||||
/* 177C78 80249398 46000586 */ mov.s $f22, $f0
|
||||
.L8024939C:
|
||||
/* 177C7C 8024939C 4600D03C */ c.lt.s $f26, $f0
|
||||
/* 177C80 802493A0 00000000 */ nop
|
||||
/* 177C84 802493A4 45030001 */ bc1tl .L802493AC
|
||||
/* 177C88 802493A8 46000686 */ mov.s $f26, $f0
|
||||
.L802493AC:
|
||||
/* 177C8C 802493AC 3C03802A */ lui $v1, %hi(BattleCam_BoomLength)
|
||||
/* 177C90 802493B0 2463F280 */ addiu $v1, $v1, %lo(BattleCam_BoomLength)
|
||||
/* 177C94 802493B4 84620000 */ lh $v0, ($v1)
|
||||
/* 177C98 802493B8 461AB080 */ add.s $f2, $f22, $f26
|
||||
/* 177C9C 802493BC 44820000 */ mtc1 $v0, $f0
|
||||
/* 177CA0 802493C0 00000000 */ nop
|
||||
/* 177CA4 802493C4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 177CA8 802493C8 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 177CAC 802493CC 3C02802A */ lui $v0, %hi(D_8029F2A4)
|
||||
/* 177CB0 802493D0 8042F2A4 */ lb $v0, %lo(D_8029F2A4)($v0)
|
||||
/* 177CB4 802493D4 4600040D */ trunc.w.s $f16, $f0
|
||||
/* 177CB8 802493D8 44048000 */ mfc1 $a0, $f16
|
||||
/* 177CBC 802493DC 10400010 */ beqz $v0, .L80249420
|
||||
/* 177CC0 802493E0 A4640000 */ sh $a0, ($v1)
|
||||
/* 177CC4 802493E4 E61E0054 */ swc1 $f30, 0x54($s0)
|
||||
/* 177CC8 802493E8 E61C0058 */ swc1 $f28, 0x58($s0)
|
||||
/* 177CCC 802493EC C7B0001C */ lwc1 $f16, 0x1c($sp)
|
||||
/* 177CD0 802493F0 3C02802A */ lui $v0, %hi(BattleCam_BoomZOffset)
|
||||
/* 177CD4 802493F4 8442F286 */ lh $v0, %lo(BattleCam_BoomZOffset)($v0)
|
||||
/* 177CD8 802493F8 3C03802A */ lui $v1, %hi(BattleCam_BoomYaw)
|
||||
/* 177CDC 802493FC 9463F282 */ lhu $v1, %lo(BattleCam_BoomYaw)($v1)
|
||||
/* 177CE0 80249400 A604001E */ sh $a0, 0x1e($s0)
|
||||
/* 177CE4 80249404 3C04802A */ lui $a0, %hi(BattleCam_BoomPitch)
|
||||
/* 177CE8 80249408 9484F284 */ lhu $a0, %lo(BattleCam_BoomPitch)($a0)
|
||||
/* 177CEC 8024940C 00021200 */ sll $v0, $v0, 8
|
||||
/* 177CF0 80249410 E610005C */ swc1 $f16, 0x5c($s0)
|
||||
/* 177CF4 80249414 A6020026 */ sh $v0, 0x26($s0)
|
||||
/* 177CF8 80249418 A6030024 */ sh $v1, 0x24($s0)
|
||||
/* 177CFC 8024941C A6040022 */ sh $a0, 0x22($s0)
|
||||
.L80249420:
|
||||
/* 177D00 80249420 8602001E */ lh $v0, 0x1e($s0)
|
||||
/* 177D04 80249424 86040026 */ lh $a0, 0x26($s0)
|
||||
/* 177D08 80249428 86030024 */ lh $v1, 0x24($s0)
|
||||
/* 177D0C 8024942C 44820000 */ mtc1 $v0, $f0
|
||||
/* 177D10 80249430 00000000 */ nop
|
||||
/* 177D14 80249434 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 177D18 80249438 86020022 */ lh $v0, 0x22($s0)
|
||||
/* 177D1C 8024943C 3C01802A */ lui $at, %hi(BattleCam_TargetBoomLength)
|
||||
/* 177D20 80249440 E420F28C */ swc1 $f0, %lo(BattleCam_TargetBoomLength)($at)
|
||||
/* 177D24 80249444 44820000 */ mtc1 $v0, $f0
|
||||
/* 177D28 80249448 00000000 */ nop
|
||||
/* 177D2C 8024944C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 177D30 80249450 3C01802A */ lui $at, %hi(BattleCam_TargetBoomPitch)
|
||||
/* 177D34 80249454 E420F294 */ swc1 $f0, %lo(BattleCam_TargetBoomPitch)($at)
|
||||
/* 177D38 80249458 44830000 */ mtc1 $v1, $f0
|
||||
/* 177D3C 8024945C 00000000 */ nop
|
||||
/* 177D40 80249460 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 177D44 80249464 3C01802A */ lui $at, %hi(BattleCam_TargetBoomYaw)
|
||||
/* 177D48 80249468 E420F290 */ swc1 $f0, %lo(BattleCam_TargetBoomYaw)($at)
|
||||
/* 177D4C 8024946C 04820001 */ bltzl $a0, .L80249474
|
||||
/* 177D50 80249470 248400FF */ addiu $a0, $a0, 0xff
|
||||
.L80249474:
|
||||
/* 177D54 80249474 00041203 */ sra $v0, $a0, 8
|
||||
/* 177D58 80249478 C6020054 */ lwc1 $f2, 0x54($s0)
|
||||
/* 177D5C 8024947C C6040058 */ lwc1 $f4, 0x58($s0)
|
||||
/* 177D60 80249480 C606005C */ lwc1 $f6, 0x5c($s0)
|
||||
/* 177D64 80249484 3C03802A */ lui $v1, %hi(BattleCam_MoveTimeLeft)
|
||||
/* 177D68 80249488 9463F29E */ lhu $v1, %lo(BattleCam_MoveTimeLeft)($v1)
|
||||
/* 177D6C 8024948C 44820000 */ mtc1 $v0, $f0
|
||||
/* 177D70 80249490 00000000 */ nop
|
||||
/* 177D74 80249494 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 177D78 80249498 3C01802A */ lui $at, %hi(BattleCam_TargetBoomZOffset)
|
||||
/* 177D7C 8024949C E420F298 */ swc1 $f0, %lo(BattleCam_TargetBoomZOffset)($at)
|
||||
/* 177D80 802494A0 3C01802A */ lui $at, %hi(BattleCam_TargetPosX)
|
||||
/* 177D84 802494A4 E422F2A8 */ swc1 $f2, %lo(BattleCam_TargetPosX)($at)
|
||||
/* 177D88 802494A8 3C01802A */ lui $at, %hi(BattleCam_TargetPosY)
|
||||
/* 177D8C 802494AC E424F2AC */ swc1 $f4, %lo(BattleCam_TargetPosY)($at)
|
||||
/* 177D90 802494B0 3C01802A */ lui $at, %hi(BattleCam_TargetPosZ)
|
||||
/* 177D94 802494B4 E426F2B0 */ swc1 $f6, %lo(BattleCam_TargetPosZ)($at)
|
||||
/* 177D98 802494B8 3C01802A */ lui $at, %hi(BattleCam_MoveTimeTotal)
|
||||
/* 177D9C 802494BC A423F2A0 */ sh $v1, %lo(BattleCam_MoveTimeTotal)($at)
|
||||
.L802494C0:
|
||||
/* 177DA0 802494C0 3C02802A */ lui $v0, %hi(BattleCam_UseLinearInterp)
|
||||
/* 177DA4 802494C4 8042F2A5 */ lb $v0, %lo(BattleCam_UseLinearInterp)($v0)
|
||||
/* 177DA8 802494C8 14400027 */ bnez $v0, .L80249568
|
||||
/* 177DAC 802494CC 00000000 */ nop
|
||||
/* 177DB0 802494D0 3C02802A */ lui $v0, %hi(BattleCam_MoveTimeLeft)
|
||||
/* 177DB4 802494D4 8442F29E */ lh $v0, %lo(BattleCam_MoveTimeLeft)($v0)
|
||||
/* 177DB8 802494D8 3C03802A */ lui $v1, %hi(BattleCam_MoveTimeTotal)
|
||||
/* 177DBC 802494DC 8463F2A0 */ lh $v1, %lo(BattleCam_MoveTimeTotal)($v1)
|
||||
/* 177DC0 802494E0 3C013F80 */ lui $at, 0x3f80
|
||||
/* 177DC4 802494E4 4481C000 */ mtc1 $at, $f24
|
||||
/* 177DC8 802494E8 4482D000 */ mtc1 $v0, $f26
|
||||
/* 177DCC 802494EC 00000000 */ nop
|
||||
/* 177DD0 802494F0 4680D6A0 */ cvt.s.w $f26, $f26
|
||||
/* 177DD4 802494F4 44830000 */ mtc1 $v1, $f0
|
||||
/* 177DD8 802494F8 00000000 */ nop
|
||||
/* 177DDC 802494FC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 177DE0 80249500 4600D683 */ div.s $f26, $f26, $f0
|
||||
/* 177DE4 80249504 461AC301 */ sub.s $f12, $f24, $f26
|
||||
/* 177DE8 80249508 3C014049 */ lui $at, 0x4049
|
||||
/* 177DEC 8024950C 34210FD0 */ ori $at, $at, 0xfd0
|
||||
/* 177DF0 80249510 4481B000 */ mtc1 $at, $f22
|
||||
/* 177DF4 80249514 00000000 */ nop
|
||||
/* 177DF8 80249518 46166302 */ mul.s $f12, $f12, $f22
|
||||
/* 177DFC 8024951C 00000000 */ nop
|
||||
/* 177E00 80249520 3C013F00 */ lui $at, 0x3f00
|
||||
/* 177E04 80249524 4481A000 */ mtc1 $at, $f20
|
||||
/* 177E08 80249528 00000000 */ nop
|
||||
/* 177E0C 8024952C 46146302 */ mul.s $f12, $f12, $f20
|
||||
/* 177E10 80249530 0C00A85B */ jal sin_rad
|
||||
/* 177E14 80249534 00000000 */ nop
|
||||
/* 177E18 80249538 46160002 */ mul.s $f0, $f0, $f22
|
||||
/* 177E1C 8024953C 00000000 */ nop
|
||||
/* 177E20 80249540 46140302 */ mul.s $f12, $f0, $f20
|
||||
/* 177E24 80249544 0C00A85B */ jal sin_rad
|
||||
/* 177E28 80249548 00000000 */ nop
|
||||
/* 177E2C 8024954C 46160002 */ mul.s $f0, $f0, $f22
|
||||
/* 177E30 80249550 00000000 */ nop
|
||||
/* 177E34 80249554 46140302 */ mul.s $f12, $f0, $f20
|
||||
/* 177E38 80249558 0C00A85B */ jal sin_rad
|
||||
/* 177E3C 8024955C 00000000 */ nop
|
||||
/* 177E40 80249560 08092565 */ j .L80249594
|
||||
/* 177E44 80249564 4600C681 */ sub.s $f26, $f24, $f0
|
||||
.L80249568:
|
||||
/* 177E48 80249568 3C02802A */ lui $v0, %hi(BattleCam_MoveTimeLeft)
|
||||
/* 177E4C 8024956C 8442F29E */ lh $v0, %lo(BattleCam_MoveTimeLeft)($v0)
|
||||
/* 177E50 80249570 3C03802A */ lui $v1, %hi(BattleCam_MoveTimeTotal)
|
||||
/* 177E54 80249574 8463F2A0 */ lh $v1, %lo(BattleCam_MoveTimeTotal)($v1)
|
||||
/* 177E58 80249578 4482D000 */ mtc1 $v0, $f26
|
||||
/* 177E5C 8024957C 00000000 */ nop
|
||||
/* 177E60 80249580 4680D6A0 */ cvt.s.w $f26, $f26
|
||||
/* 177E64 80249584 44830000 */ mtc1 $v1, $f0
|
||||
/* 177E68 80249588 00000000 */ nop
|
||||
/* 177E6C 8024958C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 177E70 80249590 4600D683 */ div.s $f26, $f26, $f0
|
||||
.L80249594:
|
||||
/* 177E74 80249594 3C01802A */ lui $at, %hi(BattleCam_TargetPosX)
|
||||
/* 177E78 80249598 C426F2A8 */ lwc1 $f6, %lo(BattleCam_TargetPosX)($at)
|
||||
/* 177E7C 8024959C 461A3182 */ mul.s $f6, $f6, $f26
|
||||
/* 177E80 802495A0 00000000 */ nop
|
||||
/* 177E84 802495A4 3C01802A */ lui $at, %hi(BattleCam_TargetPosY)
|
||||
/* 177E88 802495A8 C428F2AC */ lwc1 $f8, %lo(BattleCam_TargetPosY)($at)
|
||||
/* 177E8C 802495AC 461A4202 */ mul.s $f8, $f8, $f26
|
||||
/* 177E90 802495B0 00000000 */ nop
|
||||
/* 177E94 802495B4 3C01802A */ lui $at, %hi(BattleCam_TargetPosZ)
|
||||
/* 177E98 802495B8 C424F2B0 */ lwc1 $f4, %lo(BattleCam_TargetPosZ)($at)
|
||||
/* 177E9C 802495BC 461A2102 */ mul.s $f4, $f4, $f26
|
||||
/* 177EA0 802495C0 00000000 */ nop
|
||||
/* 177EA4 802495C4 3C01802A */ lui $at, %hi(BattleCam_TargetBoomZOffset)
|
||||
/* 177EA8 802495C8 C422F298 */ lwc1 $f2, %lo(BattleCam_TargetBoomZOffset)($at)
|
||||
/* 177EAC 802495CC 461A1082 */ mul.s $f2, $f2, $f26
|
||||
/* 177EB0 802495D0 00000000 */ nop
|
||||
/* 177EB4 802495D4 3C013F80 */ lui $at, 0x3f80
|
||||
/* 177EB8 802495D8 4481B000 */ mtc1 $at, $f22
|
||||
/* 177EBC 802495DC 00000000 */ nop
|
||||
/* 177EC0 802495E0 461AB581 */ sub.s $f22, $f22, $f26
|
||||
/* 177EC4 802495E4 4616F302 */ mul.s $f12, $f30, $f22
|
||||
/* 177EC8 802495E8 00000000 */ nop
|
||||
/* 177ECC 802495EC 4616E382 */ mul.s $f14, $f28, $f22
|
||||
/* 177ED0 802495F0 00000000 */ nop
|
||||
/* 177ED4 802495F4 3C02802A */ lui $v0, %hi(BattleCam_BoomZOffset)
|
||||
/* 177ED8 802495F8 8442F286 */ lh $v0, %lo(BattleCam_BoomZOffset)($v0)
|
||||
/* 177EDC 802495FC 44820000 */ mtc1 $v0, $f0
|
||||
/* 177EE0 80249600 00000000 */ nop
|
||||
/* 177EE4 80249604 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 177EE8 80249608 46160002 */ mul.s $f0, $f0, $f22
|
||||
/* 177EEC 8024960C 00000000 */ nop
|
||||
/* 177EF0 80249610 C7B2001C */ lwc1 $f18, 0x1c($sp)
|
||||
/* 177EF4 80249614 46169282 */ mul.s $f10, $f18, $f22
|
||||
/* 177EF8 80249618 00000000 */ nop
|
||||
/* 177EFC 8024961C 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 177F00 80249620 C6180054 */ lwc1 $f24, 0x54($s0)
|
||||
/* 177F04 80249624 C6140058 */ lwc1 $f20, 0x58($s0)
|
||||
/* 177F08 80249628 460C3180 */ add.s $f6, $f6, $f12
|
||||
/* 177F0C 8024962C C610005C */ lwc1 $f16, 0x5c($s0)
|
||||
/* 177F10 80249630 4406F000 */ mfc1 $a2, $f30
|
||||
/* 177F14 80249634 460A2100 */ add.s $f4, $f4, $f10
|
||||
/* 177F18 80249638 44079000 */ mfc1 $a3, $f18
|
||||
/* 177F1C 8024963C 3C014380 */ lui $at, 0x4380
|
||||
/* 177F20 80249640 44810000 */ mtc1 $at, $f0
|
||||
/* 177F24 80249644 460E4200 */ add.s $f8, $f8, $f14
|
||||
/* 177F28 80249648 E7B00018 */ swc1 $f16, 0x18($sp)
|
||||
/* 177F2C 8024964C E6060054 */ swc1 $f6, 0x54($s0)
|
||||
/* 177F30 80249650 46001082 */ mul.s $f2, $f2, $f0
|
||||
/* 177F34 80249654 00000000 */ nop
|
||||
/* 177F38 80249658 46003306 */ mov.s $f12, $f6
|
||||
/* 177F3C 8024965C E604005C */ swc1 $f4, 0x5c($s0)
|
||||
/* 177F40 80249660 46002386 */ mov.s $f14, $f4
|
||||
/* 177F44 80249664 E6080058 */ swc1 $f8, 0x58($s0)
|
||||
/* 177F48 80249668 4600148D */ trunc.w.s $f18, $f2
|
||||
/* 177F4C 8024966C 44029000 */ mfc1 $v0, $f18
|
||||
/* 177F50 80249670 0C00A7B5 */ jal dist2D
|
||||
/* 177F54 80249674 A6020026 */ sh $v0, 0x26($s0)
|
||||
/* 177F58 80249678 4600C306 */ mov.s $f12, $f24
|
||||
/* 177F5C 8024967C C7B0002C */ lwc1 $f16, 0x2c($sp)
|
||||
/* 177F60 80249680 C7B20030 */ lwc1 $f18, 0x30($sp)
|
||||
/* 177F64 80249684 4600A386 */ mov.s $f14, $f20
|
||||
/* 177F68 80249688 46128080 */ add.s $f2, $f16, $f18
|
||||
/* 177F6C 8024968C 3C013E00 */ lui $at, 0x3e00
|
||||
/* 177F70 80249690 44812000 */ mtc1 $at, $f4
|
||||
/* 177F74 80249694 8FA60018 */ lw $a2, 0x18($sp)
|
||||
/* 177F78 80249698 46041082 */ mul.s $f2, $f2, $f4
|
||||
/* 177F7C 8024969C 00000000 */ nop
|
||||
/* 177F80 802496A0 8FA70020 */ lw $a3, 0x20($sp)
|
||||
/* 177F84 802496A4 C7B00024 */ lwc1 $f16, 0x24($sp)
|
||||
/* 177F88 802496A8 C7B20028 */ lwc1 $f18, 0x28($sp)
|
||||
/* 177F8C 802496AC 3C014280 */ lui $at, 0x4280
|
||||
/* 177F90 802496B0 44812000 */ mtc1 $at, $f4
|
||||
/* 177F94 802496B4 46020500 */ add.s $f20, $f0, $f2
|
||||
/* 177F98 802496B8 E7B00010 */ swc1 $f16, 0x10($sp)
|
||||
/* 177F9C 802496BC E7B20014 */ swc1 $f18, 0x14($sp)
|
||||
/* 177FA0 802496C0 0C00A7CB */ jal dist3D
|
||||
/* 177FA4 802496C4 4604A501 */ sub.s $f20, $f20, $f4
|
||||
/* 177FA8 802496C8 3C013F00 */ lui $at, 0x3f00
|
||||
/* 177FAC 802496CC 44811000 */ mtc1 $at, $f2
|
||||
/* 177FB0 802496D0 00000000 */ nop
|
||||
/* 177FB4 802496D4 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 177FB8 802496D8 00000000 */ nop
|
||||
/* 177FBC 802496DC 3C01802A */ lui $at, %hi(BattleCam_TargetBoomLength)
|
||||
/* 177FC0 802496E0 C42AF28C */ lwc1 $f10, %lo(BattleCam_TargetBoomLength)($at)
|
||||
/* 177FC4 802496E4 461A5282 */ mul.s $f10, $f10, $f26
|
||||
/* 177FC8 802496E8 00000000 */ nop
|
||||
/* 177FCC 802496EC 3C01802A */ lui $at, %hi(BattleCam_TargetBoomYaw)
|
||||
/* 177FD0 802496F0 C428F290 */ lwc1 $f8, %lo(BattleCam_TargetBoomYaw)($at)
|
||||
/* 177FD4 802496F4 461A4202 */ mul.s $f8, $f8, $f26
|
||||
/* 177FD8 802496F8 00000000 */ nop
|
||||
/* 177FDC 802496FC 3C01802A */ lui $at, %hi(BattleCam_TargetBoomPitch)
|
||||
/* 177FE0 80249700 C424F294 */ lwc1 $f4, %lo(BattleCam_TargetBoomPitch)($at)
|
||||
/* 177FE4 80249704 3C02802A */ lui $v0, %hi(BattleCam_BoomLength)
|
||||
/* 177FE8 80249708 8442F280 */ lh $v0, %lo(BattleCam_BoomLength)($v0)
|
||||
/* 177FEC 8024970C 461A2102 */ mul.s $f4, $f4, $f26
|
||||
/* 177FF0 80249710 00000000 */ nop
|
||||
/* 177FF4 80249714 44821000 */ mtc1 $v0, $f2
|
||||
/* 177FF8 80249718 00000000 */ nop
|
||||
/* 177FFC 8024971C 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 178000 80249720 3C02802A */ lui $v0, %hi(BattleCam_BoomYaw)
|
||||
/* 178004 80249724 8442F282 */ lh $v0, %lo(BattleCam_BoomYaw)($v0)
|
||||
/* 178008 80249728 44823000 */ mtc1 $v0, $f6
|
||||
/* 17800C 8024972C 00000000 */ nop
|
||||
/* 178010 80249730 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* 178014 80249734 46163182 */ mul.s $f6, $f6, $f22
|
||||
/* 178018 80249738 00000000 */ nop
|
||||
/* 17801C 8024973C 46141080 */ add.s $f2, $f2, $f20
|
||||
/* 178020 80249740 3C02802A */ lui $v0, %hi(BattleCam_BoomPitch)
|
||||
/* 178024 80249744 8442F284 */ lh $v0, %lo(BattleCam_BoomPitch)($v0)
|
||||
/* 178028 80249748 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 17802C 8024974C 44820000 */ mtc1 $v0, $f0
|
||||
/* 178030 80249750 00000000 */ nop
|
||||
/* 178034 80249754 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178038 80249758 46160002 */ mul.s $f0, $f0, $f22
|
||||
/* 17803C 8024975C 00000000 */ nop
|
||||
/* 178040 80249760 46161082 */ mul.s $f2, $f2, $f22
|
||||
/* 178044 80249764 00000000 */ nop
|
||||
/* 178048 80249768 46064200 */ add.s $f8, $f8, $f6
|
||||
/* 17804C 8024976C 3C04802A */ lui $a0, %hi(BattleCam_MoveTimeLeft)
|
||||
/* 178050 80249770 2484F29E */ addiu $a0, $a0, %lo(BattleCam_MoveTimeLeft)
|
||||
/* 178054 80249774 46002100 */ add.s $f4, $f4, $f0
|
||||
/* 178058 80249778 4600440D */ trunc.w.s $f16, $f8
|
||||
/* 17805C 8024977C 44028000 */ mfc1 $v0, $f16
|
||||
/* 178060 80249780 00000000 */ nop
|
||||
/* 178064 80249784 A6020024 */ sh $v0, 0x24($s0)
|
||||
/* 178068 80249788 46025280 */ add.s $f10, $f10, $f2
|
||||
/* 17806C 8024978C 4600240D */ trunc.w.s $f16, $f4
|
||||
/* 178070 80249790 44028000 */ mfc1 $v0, $f16
|
||||
/* 178074 80249794 00000000 */ nop
|
||||
/* 178078 80249798 A6020022 */ sh $v0, 0x22($s0)
|
||||
/* 17807C 8024979C 4600540D */ trunc.w.s $f16, $f10
|
||||
/* 178080 802497A0 44028000 */ mfc1 $v0, $f16
|
||||
/* 178084 802497A4 00000000 */ nop
|
||||
/* 178088 802497A8 A602001E */ sh $v0, 0x1e($s0)
|
||||
/* 17808C 802497AC 84820000 */ lh $v0, ($a0)
|
||||
/* 178090 802497B0 94830000 */ lhu $v1, ($a0)
|
||||
/* 178094 802497B4 14400006 */ bnez $v0, .L802497D0
|
||||
/* 178098 802497B8 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* 17809C 802497BC 24020001 */ addiu $v0, $zero, 1
|
||||
/* 1780A0 802497C0 3C01802A */ lui $at, %hi(BattleCam_DoneMoving)
|
||||
/* 1780A4 802497C4 A022F29C */ sb $v0, %lo(BattleCam_DoneMoving)($at)
|
||||
/* 1780A8 802497C8 080925F6 */ j .L802497D8
|
||||
/* 1780AC 802497CC 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802497D0:
|
||||
/* 1780B0 802497D0 A4820000 */ sh $v0, ($a0)
|
||||
/* 1780B4 802497D4 0000102D */ daddu $v0, $zero, $zero
|
||||
.L802497D8:
|
||||
/* 1780B8 802497D8 8FBF0040 */ lw $ra, 0x40($sp)
|
||||
/* 1780BC 802497DC 8FB1003C */ lw $s1, 0x3c($sp)
|
||||
/* 1780C0 802497E0 8FB00038 */ lw $s0, 0x38($sp)
|
||||
/* 1780C4 802497E4 D7BE0070 */ ldc1 $f30, 0x70($sp)
|
||||
/* 1780C8 802497E8 D7BC0068 */ ldc1 $f28, 0x68($sp)
|
||||
/* 1780CC 802497EC D7BA0060 */ ldc1 $f26, 0x60($sp)
|
||||
/* 1780D0 802497F0 D7B80058 */ ldc1 $f24, 0x58($sp)
|
||||
/* 1780D4 802497F4 D7B60050 */ ldc1 $f22, 0x50($sp)
|
||||
/* 1780D8 802497F8 D7B40048 */ ldc1 $f20, 0x48($sp)
|
||||
/* 1780DC 802497FC 03E00008 */ jr $ra
|
||||
/* 1780E0 80249800 27BD0078 */ addiu $sp, $sp, 0x78
|
@ -1,678 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel D_8029CC08
|
||||
.double 0.4
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_80249804
|
||||
/* 1780E4 80249804 27BDFF88 */ addiu $sp, $sp, -0x78
|
||||
/* 1780E8 80249808 AFB1003C */ sw $s1, 0x3c($sp)
|
||||
/* 1780EC 8024980C 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* 1780F0 80249810 AFB00038 */ sw $s0, 0x38($sp)
|
||||
/* 1780F4 80249814 3C10800B */ lui $s0, %hi(gCameras+0x558)
|
||||
/* 1780F8 80249818 261022D8 */ addiu $s0, $s0, %lo(gCameras+0x558)
|
||||
/* 1780FC 8024981C 3C02802A */ lui $v0, %hi(BattleCam_TargetActor)
|
||||
/* 178100 80249820 9442F27C */ lhu $v0, %lo(BattleCam_TargetActor)($v0)
|
||||
/* 178104 80249824 3C04800E */ lui $a0, %hi(gBattleStatus)
|
||||
/* 178108 80249828 2484C070 */ addiu $a0, $a0, %lo(gBattleStatus)
|
||||
/* 17810C 8024982C AFBF0040 */ sw $ra, 0x40($sp)
|
||||
/* 178110 80249830 F7BE0070 */ sdc1 $f30, 0x70($sp)
|
||||
/* 178114 80249834 F7BC0068 */ sdc1 $f28, 0x68($sp)
|
||||
/* 178118 80249838 F7BA0060 */ sdc1 $f26, 0x60($sp)
|
||||
/* 17811C 8024983C F7B80058 */ sdc1 $f24, 0x58($sp)
|
||||
/* 178120 80249840 F7B60050 */ sdc1 $f22, 0x50($sp)
|
||||
/* 178124 80249844 F7B40048 */ sdc1 $f20, 0x48($sp)
|
||||
/* 178128 80249848 30430700 */ andi $v1, $v0, 0x700
|
||||
/* 17812C 8024984C 304500FF */ andi $a1, $v0, 0xff
|
||||
/* 178130 80249850 24020100 */ addiu $v0, $zero, 0x100
|
||||
/* 178134 80249854 10620065 */ beq $v1, $v0, .L802499EC
|
||||
/* 178138 80249858 28620101 */ slti $v0, $v1, 0x101
|
||||
/* 17813C 8024985C 10400005 */ beqz $v0, .L80249874
|
||||
/* 178140 80249860 24020200 */ addiu $v0, $zero, 0x200
|
||||
/* 178144 80249864 10600007 */ beqz $v1, .L80249884
|
||||
/* 178148 80249868 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 17814C 8024986C 0809287A */ j .L8024A1E8
|
||||
/* 178150 80249870 00000000 */ nop
|
||||
.L80249874:
|
||||
/* 178154 80249874 106200B8 */ beq $v1, $v0, .L80249B58
|
||||
/* 178158 80249878 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 17815C 8024987C 0809287A */ j .L8024A1E8
|
||||
/* 178160 80249880 00000000 */ nop
|
||||
.L80249884:
|
||||
/* 178164 80249884 8C8400D8 */ lw $a0, 0xd8($a0)
|
||||
/* 178168 80249888 10800257 */ beqz $a0, .L8024A1E8
|
||||
/* 17816C 8024988C 00000000 */ nop
|
||||
/* 178170 80249890 C4980144 */ lwc1 $f24, 0x144($a0)
|
||||
/* 178174 80249894 90830191 */ lbu $v1, 0x191($a0)
|
||||
/* 178178 80249898 C490014C */ lwc1 $f16, 0x14c($a0)
|
||||
/* 17817C 8024989C 00031042 */ srl $v0, $v1, 1
|
||||
/* 178180 802498A0 44820000 */ mtc1 $v0, $f0
|
||||
/* 178184 802498A4 00000000 */ nop
|
||||
/* 178188 802498A8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 17818C 802498AC E7B00018 */ swc1 $f16, 0x18($sp)
|
||||
/* 178190 802498B0 C4820148 */ lwc1 $f2, 0x148($a0)
|
||||
/* 178194 802498B4 00031082 */ srl $v0, $v1, 2
|
||||
/* 178198 802498B8 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 17819C 802498BC 44820000 */ mtc1 $v0, $f0
|
||||
/* 1781A0 802498C0 00000000 */ nop
|
||||
/* 1781A4 802498C4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 1781A8 802498C8 90820190 */ lbu $v0, 0x190($a0)
|
||||
/* 1781AC 802498CC 46001500 */ add.s $f20, $f2, $f0
|
||||
/* 1781B0 802498D0 4483D000 */ mtc1 $v1, $f26
|
||||
/* 1781B4 802498D4 00000000 */ nop
|
||||
/* 1781B8 802498D8 4680D6A0 */ cvt.s.w $f26, $f26
|
||||
/* 1781BC 802498DC 4482B000 */ mtc1 $v0, $f22
|
||||
/* 1781C0 802498E0 00000000 */ nop
|
||||
/* 1781C4 802498E4 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* 1781C8 802498E8 4616D000 */ add.s $f0, $f26, $f22
|
||||
/* 1781CC 802498EC 3C013F00 */ lui $at, 0x3f00
|
||||
/* 1781D0 802498F0 4481E000 */ mtc1 $at, $f28
|
||||
/* 1781D4 802498F4 00000000 */ nop
|
||||
/* 1781D8 802498F8 461C0002 */ mul.s $f0, $f0, $f28
|
||||
/* 1781DC 802498FC 00000000 */ nop
|
||||
/* 1781E0 80249900 84840428 */ lh $a0, 0x428($a0)
|
||||
/* 1781E4 80249904 0C09A75B */ jal get_actor
|
||||
/* 1781E8 80249908 E7A0002C */ swc1 $f0, 0x2c($sp)
|
||||
/* 1781EC 8024990C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1781F0 80249910 10800235 */ beqz $a0, .L8024A1E8
|
||||
/* 1781F4 80249914 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 1781F8 80249918 90830191 */ lbu $v1, 0x191($a0)
|
||||
/* 1781FC 8024991C C4820148 */ lwc1 $f2, 0x148($a0)
|
||||
/* 178200 80249920 00031042 */ srl $v0, $v1, 1
|
||||
/* 178204 80249924 44820000 */ mtc1 $v0, $f0
|
||||
/* 178208 80249928 00000000 */ nop
|
||||
/* 17820C 8024992C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178210 80249930 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 178214 80249934 00031082 */ srl $v0, $v1, 2
|
||||
/* 178218 80249938 44820000 */ mtc1 $v0, $f0
|
||||
/* 17821C 8024993C 00000000 */ nop
|
||||
/* 178220 80249940 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178224 80249944 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 178228 80249948 E7A20024 */ swc1 $f2, 0x24($sp)
|
||||
/* 17822C 8024994C C4920144 */ lwc1 $f18, 0x144($a0)
|
||||
/* 178230 80249950 E7B20020 */ swc1 $f18, 0x20($sp)
|
||||
/* 178234 80249954 C490014C */ lwc1 $f16, 0x14c($a0)
|
||||
/* 178238 80249958 E7B00028 */ swc1 $f16, 0x28($sp)
|
||||
/* 17823C 8024995C 90820190 */ lbu $v0, 0x190($a0)
|
||||
/* 178240 80249960 46189001 */ sub.s $f0, $f18, $f24
|
||||
/* 178244 80249964 00621821 */ addu $v1, $v1, $v0
|
||||
/* 178248 80249968 00031843 */ sra $v1, $v1, 1
|
||||
/* 17824C 8024996C 461C0002 */ mul.s $f0, $f0, $f28
|
||||
/* 178250 80249970 00000000 */ nop
|
||||
/* 178254 80249974 44839000 */ mtc1 $v1, $f18
|
||||
/* 178258 80249978 00000000 */ nop
|
||||
/* 17825C 8024997C 468094A0 */ cvt.s.w $f18, $f18
|
||||
/* 178260 80249980 3C03802A */ lui $v1, %hi(D_8029F2A2)
|
||||
/* 178264 80249984 8063F2A2 */ lb $v1, %lo(D_8029F2A2)($v1)
|
||||
/* 178268 80249988 E7B20030 */ swc1 $f18, 0x30($sp)
|
||||
/* 17826C 8024998C 0460000B */ bltz $v1, .L802499BC
|
||||
/* 178270 80249990 4600C780 */ add.s $f30, $f24, $f0
|
||||
/* 178274 80249994 506000C6 */ beql $v1, $zero, .L80249CB0
|
||||
/* 178278 80249998 4600A706 */ mov.s $f28, $f20
|
||||
/* 17827C 8024999C 4602A001 */ sub.s $f0, $f20, $f2
|
||||
/* 178280 802499A0 461C0082 */ mul.s $f2, $f0, $f28
|
||||
/* 178284 802499A4 00000000 */ nop
|
||||
/* 178288 802499A8 C7B00024 */ lwc1 $f16, 0x24($sp)
|
||||
/* 17828C 802499AC 3C0140C0 */ lui $at, 0x40c0
|
||||
/* 178290 802499B0 44812000 */ mtc1 $at, $f4
|
||||
/* 178294 802499B4 08092725 */ j .L80249C94
|
||||
/* 178298 802499B8 46028080 */ add.s $f2, $f16, $f2
|
||||
.L802499BC:
|
||||
/* 17829C 802499BC 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 1782A0 802499C0 106200BA */ beq $v1, $v0, .L80249CAC
|
||||
/* 1782A4 802499C4 00000000 */ nop
|
||||
/* 1782A8 802499C8 C7B20024 */ lwc1 $f18, 0x24($sp)
|
||||
/* 1782AC 802499CC 46149001 */ sub.s $f0, $f18, $f20
|
||||
/* 1782B0 802499D0 3C013E80 */ lui $at, 0x3e80
|
||||
/* 1782B4 802499D4 44811000 */ mtc1 $at, $f2
|
||||
/* 1782B8 802499D8 00000000 */ nop
|
||||
/* 1782BC 802499DC 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 1782C0 802499E0 00000000 */ nop
|
||||
/* 1782C4 802499E4 0809272C */ j .L80249CB0
|
||||
/* 1782C8 802499E8 4600A700 */ add.s $f28, $f20, $f0
|
||||
.L802499EC:
|
||||
/* 1782CC 802499EC 8C8400DC */ lw $a0, 0xdc($a0)
|
||||
/* 1782D0 802499F0 108001FD */ beqz $a0, .L8024A1E8
|
||||
/* 1782D4 802499F4 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 1782D8 802499F8 C4980144 */ lwc1 $f24, 0x144($a0)
|
||||
/* 1782DC 802499FC 90830191 */ lbu $v1, 0x191($a0)
|
||||
/* 1782E0 80249A00 C490014C */ lwc1 $f16, 0x14c($a0)
|
||||
/* 1782E4 80249A04 00031042 */ srl $v0, $v1, 1
|
||||
/* 1782E8 80249A08 44820000 */ mtc1 $v0, $f0
|
||||
/* 1782EC 80249A0C 00000000 */ nop
|
||||
/* 1782F0 80249A10 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 1782F4 80249A14 E7B00018 */ swc1 $f16, 0x18($sp)
|
||||
/* 1782F8 80249A18 C4820148 */ lwc1 $f2, 0x148($a0)
|
||||
/* 1782FC 80249A1C 00031082 */ srl $v0, $v1, 2
|
||||
/* 178300 80249A20 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 178304 80249A24 44820000 */ mtc1 $v0, $f0
|
||||
/* 178308 80249A28 00000000 */ nop
|
||||
/* 17830C 80249A2C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178310 80249A30 90820190 */ lbu $v0, 0x190($a0)
|
||||
/* 178314 80249A34 46001500 */ add.s $f20, $f2, $f0
|
||||
/* 178318 80249A38 4483D000 */ mtc1 $v1, $f26
|
||||
/* 17831C 80249A3C 00000000 */ nop
|
||||
/* 178320 80249A40 4680D6A0 */ cvt.s.w $f26, $f26
|
||||
/* 178324 80249A44 4482B000 */ mtc1 $v0, $f22
|
||||
/* 178328 80249A48 00000000 */ nop
|
||||
/* 17832C 80249A4C 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* 178330 80249A50 4616D000 */ add.s $f0, $f26, $f22
|
||||
/* 178334 80249A54 3C013F00 */ lui $at, 0x3f00
|
||||
/* 178338 80249A58 4481E000 */ mtc1 $at, $f28
|
||||
/* 17833C 80249A5C 00000000 */ nop
|
||||
/* 178340 80249A60 461C0002 */ mul.s $f0, $f0, $f28
|
||||
/* 178344 80249A64 00000000 */ nop
|
||||
/* 178348 80249A68 84840428 */ lh $a0, 0x428($a0)
|
||||
/* 17834C 80249A6C 0C09A75B */ jal get_actor
|
||||
/* 178350 80249A70 E7A0002C */ swc1 $f0, 0x2c($sp)
|
||||
/* 178354 80249A74 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 178358 80249A78 108001DB */ beqz $a0, .L8024A1E8
|
||||
/* 17835C 80249A7C 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 178360 80249A80 90830191 */ lbu $v1, 0x191($a0)
|
||||
/* 178364 80249A84 C4820148 */ lwc1 $f2, 0x148($a0)
|
||||
/* 178368 80249A88 00031042 */ srl $v0, $v1, 1
|
||||
/* 17836C 80249A8C 44820000 */ mtc1 $v0, $f0
|
||||
/* 178370 80249A90 00000000 */ nop
|
||||
/* 178374 80249A94 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178378 80249A98 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 17837C 80249A9C 00031082 */ srl $v0, $v1, 2
|
||||
/* 178380 80249AA0 44820000 */ mtc1 $v0, $f0
|
||||
/* 178384 80249AA4 00000000 */ nop
|
||||
/* 178388 80249AA8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 17838C 80249AAC 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 178390 80249AB0 E7A20024 */ swc1 $f2, 0x24($sp)
|
||||
/* 178394 80249AB4 C4920144 */ lwc1 $f18, 0x144($a0)
|
||||
/* 178398 80249AB8 E7B20020 */ swc1 $f18, 0x20($sp)
|
||||
/* 17839C 80249ABC C490014C */ lwc1 $f16, 0x14c($a0)
|
||||
/* 1783A0 80249AC0 46189001 */ sub.s $f0, $f18, $f24
|
||||
/* 1783A4 80249AC4 E7B00028 */ swc1 $f16, 0x28($sp)
|
||||
/* 1783A8 80249AC8 90820190 */ lbu $v0, 0x190($a0)
|
||||
/* 1783AC 80249ACC 00621821 */ addu $v1, $v1, $v0
|
||||
/* 1783B0 80249AD0 461C0002 */ mul.s $f0, $f0, $f28
|
||||
/* 1783B4 80249AD4 00000000 */ nop
|
||||
/* 1783B8 80249AD8 00031843 */ sra $v1, $v1, 1
|
||||
/* 1783BC 80249ADC 3C02802A */ lui $v0, %hi(D_8029F2A2)
|
||||
/* 1783C0 80249AE0 8042F2A2 */ lb $v0, %lo(D_8029F2A2)($v0)
|
||||
/* 1783C4 80249AE4 44839000 */ mtc1 $v1, $f18
|
||||
/* 1783C8 80249AE8 00000000 */ nop
|
||||
/* 1783CC 80249AEC 468094A0 */ cvt.s.w $f18, $f18
|
||||
/* 1783D0 80249AF0 E7B20030 */ swc1 $f18, 0x30($sp)
|
||||
/* 1783D4 80249AF4 0440000D */ bltz $v0, .L80249B2C
|
||||
/* 1783D8 80249AF8 4600C780 */ add.s $f30, $f24, $f0
|
||||
/* 1783DC 80249AFC 5040000C */ beql $v0, $zero, .L80249B30
|
||||
/* 1783E0 80249B00 4600A706 */ mov.s $f28, $f20
|
||||
/* 1783E4 80249B04 4602A001 */ sub.s $f0, $f20, $f2
|
||||
/* 1783E8 80249B08 461C0082 */ mul.s $f2, $f0, $f28
|
||||
/* 1783EC 80249B0C 00000000 */ nop
|
||||
/* 1783F0 80249B10 C7B00024 */ lwc1 $f16, 0x24($sp)
|
||||
/* 1783F4 80249B14 3C0140C0 */ lui $at, 0x40c0
|
||||
/* 1783F8 80249B18 44812000 */ mtc1 $at, $f4
|
||||
/* 1783FC 80249B1C 46028080 */ add.s $f2, $f16, $f2
|
||||
/* 178400 80249B20 46040003 */ div.s $f0, $f0, $f4
|
||||
/* 178404 80249B24 080926CC */ j .L80249B30
|
||||
/* 178408 80249B28 46001700 */ add.s $f28, $f2, $f0
|
||||
.L80249B2C:
|
||||
/* 17840C 80249B2C C7BC0024 */ lwc1 $f28, 0x24($sp)
|
||||
.L80249B30:
|
||||
/* 178410 80249B30 C7B20028 */ lwc1 $f18, 0x28($sp)
|
||||
/* 178414 80249B34 C7B00018 */ lwc1 $f16, 0x18($sp)
|
||||
/* 178418 80249B38 46109001 */ sub.s $f0, $f18, $f16
|
||||
/* 17841C 80249B3C 3C013F00 */ lui $at, 0x3f00
|
||||
/* 178420 80249B40 44811000 */ mtc1 $at, $f2
|
||||
/* 178424 80249B44 00000000 */ nop
|
||||
/* 178428 80249B48 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 17842C 80249B4C 00000000 */ nop
|
||||
/* 178430 80249B50 08092735 */ j .L80249CD4
|
||||
/* 178434 80249B54 46008000 */ add.s $f0, $f16, $f0
|
||||
.L80249B58:
|
||||
/* 178438 80249B58 00051080 */ sll $v0, $a1, 2
|
||||
/* 17843C 80249B5C 00441021 */ addu $v0, $v0, $a0
|
||||
/* 178440 80249B60 8C4400E0 */ lw $a0, 0xe0($v0)
|
||||
/* 178444 80249B64 108001A0 */ beqz $a0, .L8024A1E8
|
||||
/* 178448 80249B68 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 17844C 80249B6C C4980144 */ lwc1 $f24, 0x144($a0)
|
||||
/* 178450 80249B70 90830191 */ lbu $v1, 0x191($a0)
|
||||
/* 178454 80249B74 C492014C */ lwc1 $f18, 0x14c($a0)
|
||||
/* 178458 80249B78 00031042 */ srl $v0, $v1, 1
|
||||
/* 17845C 80249B7C 44820000 */ mtc1 $v0, $f0
|
||||
/* 178460 80249B80 00000000 */ nop
|
||||
/* 178464 80249B84 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178468 80249B88 E7B20018 */ swc1 $f18, 0x18($sp)
|
||||
/* 17846C 80249B8C C4820148 */ lwc1 $f2, 0x148($a0)
|
||||
/* 178470 80249B90 00031082 */ srl $v0, $v1, 2
|
||||
/* 178474 80249B94 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 178478 80249B98 44820000 */ mtc1 $v0, $f0
|
||||
/* 17847C 80249B9C 00000000 */ nop
|
||||
/* 178480 80249BA0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178484 80249BA4 90820190 */ lbu $v0, 0x190($a0)
|
||||
/* 178488 80249BA8 46001500 */ add.s $f20, $f2, $f0
|
||||
/* 17848C 80249BAC 4483D000 */ mtc1 $v1, $f26
|
||||
/* 178490 80249BB0 00000000 */ nop
|
||||
/* 178494 80249BB4 4680D6A0 */ cvt.s.w $f26, $f26
|
||||
/* 178498 80249BB8 4482B000 */ mtc1 $v0, $f22
|
||||
/* 17849C 80249BBC 00000000 */ nop
|
||||
/* 1784A0 80249BC0 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* 1784A4 80249BC4 4616D000 */ add.s $f0, $f26, $f22
|
||||
/* 1784A8 80249BC8 3C013F00 */ lui $at, 0x3f00
|
||||
/* 1784AC 80249BCC 4481E000 */ mtc1 $at, $f28
|
||||
/* 1784B0 80249BD0 00000000 */ nop
|
||||
/* 1784B4 80249BD4 461C0002 */ mul.s $f0, $f0, $f28
|
||||
/* 1784B8 80249BD8 00000000 */ nop
|
||||
/* 1784BC 80249BDC 84840428 */ lh $a0, 0x428($a0)
|
||||
/* 1784C0 80249BE0 0C09A75B */ jal get_actor
|
||||
/* 1784C4 80249BE4 E7A0002C */ swc1 $f0, 0x2c($sp)
|
||||
/* 1784C8 80249BE8 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1784CC 80249BEC 1080017E */ beqz $a0, .L8024A1E8
|
||||
/* 1784D0 80249BF0 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 1784D4 80249BF4 90830191 */ lbu $v1, 0x191($a0)
|
||||
/* 1784D8 80249BF8 C4820148 */ lwc1 $f2, 0x148($a0)
|
||||
/* 1784DC 80249BFC 00031042 */ srl $v0, $v1, 1
|
||||
/* 1784E0 80249C00 44820000 */ mtc1 $v0, $f0
|
||||
/* 1784E4 80249C04 00000000 */ nop
|
||||
/* 1784E8 80249C08 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 1784EC 80249C0C 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 1784F0 80249C10 00031082 */ srl $v0, $v1, 2
|
||||
/* 1784F4 80249C14 44820000 */ mtc1 $v0, $f0
|
||||
/* 1784F8 80249C18 00000000 */ nop
|
||||
/* 1784FC 80249C1C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178500 80249C20 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 178504 80249C24 E7A20024 */ swc1 $f2, 0x24($sp)
|
||||
/* 178508 80249C28 C4900144 */ lwc1 $f16, 0x144($a0)
|
||||
/* 17850C 80249C2C E7B00020 */ swc1 $f16, 0x20($sp)
|
||||
/* 178510 80249C30 C492014C */ lwc1 $f18, 0x14c($a0)
|
||||
/* 178514 80249C34 E7B20028 */ swc1 $f18, 0x28($sp)
|
||||
/* 178518 80249C38 90820190 */ lbu $v0, 0x190($a0)
|
||||
/* 17851C 80249C3C 46188001 */ sub.s $f0, $f16, $f24
|
||||
/* 178520 80249C40 00621821 */ addu $v1, $v1, $v0
|
||||
/* 178524 80249C44 00031843 */ sra $v1, $v1, 1
|
||||
/* 178528 80249C48 461C0002 */ mul.s $f0, $f0, $f28
|
||||
/* 17852C 80249C4C 00000000 */ nop
|
||||
/* 178530 80249C50 44838000 */ mtc1 $v1, $f16
|
||||
/* 178534 80249C54 00000000 */ nop
|
||||
/* 178538 80249C58 46808420 */ cvt.s.w $f16, $f16
|
||||
/* 17853C 80249C5C 3C03802A */ lui $v1, %hi(D_8029F2A2)
|
||||
/* 178540 80249C60 8063F2A2 */ lb $v1, %lo(D_8029F2A2)($v1)
|
||||
/* 178544 80249C64 E7B00030 */ swc1 $f16, 0x30($sp)
|
||||
/* 178548 80249C68 0460000D */ bltz $v1, .L80249CA0
|
||||
/* 17854C 80249C6C 4600C780 */ add.s $f30, $f24, $f0
|
||||
/* 178550 80249C70 5060000F */ beql $v1, $zero, .L80249CB0
|
||||
/* 178554 80249C74 4600A706 */ mov.s $f28, $f20
|
||||
/* 178558 80249C78 4602A001 */ sub.s $f0, $f20, $f2
|
||||
/* 17855C 80249C7C 461C0082 */ mul.s $f2, $f0, $f28
|
||||
/* 178560 80249C80 00000000 */ nop
|
||||
/* 178564 80249C84 C7B20024 */ lwc1 $f18, 0x24($sp)
|
||||
/* 178568 80249C88 3C0140C0 */ lui $at, 0x40c0
|
||||
/* 17856C 80249C8C 44812000 */ mtc1 $at, $f4
|
||||
/* 178570 80249C90 46029080 */ add.s $f2, $f18, $f2
|
||||
.L80249C94:
|
||||
/* 178574 80249C94 46040003 */ div.s $f0, $f0, $f4
|
||||
/* 178578 80249C98 0809272C */ j .L80249CB0
|
||||
/* 17857C 80249C9C 46001700 */ add.s $f28, $f2, $f0
|
||||
.L80249CA0:
|
||||
/* 178580 80249CA0 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 178584 80249CA4 14620002 */ bne $v1, $v0, .L80249CB0
|
||||
/* 178588 80249CA8 4600A706 */ mov.s $f28, $f20
|
||||
.L80249CAC:
|
||||
/* 17858C 80249CAC C7BC0024 */ lwc1 $f28, 0x24($sp)
|
||||
.L80249CB0:
|
||||
/* 178590 80249CB0 C7B00028 */ lwc1 $f16, 0x28($sp)
|
||||
/* 178594 80249CB4 C7B20018 */ lwc1 $f18, 0x18($sp)
|
||||
/* 178598 80249CB8 46128001 */ sub.s $f0, $f16, $f18
|
||||
/* 17859C 80249CBC 3C013F00 */ lui $at, 0x3f00
|
||||
/* 1785A0 80249CC0 44811000 */ mtc1 $at, $f2
|
||||
/* 1785A4 80249CC4 00000000 */ nop
|
||||
/* 1785A8 80249CC8 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 1785AC 80249CCC 00000000 */ nop
|
||||
/* 1785B0 80249CD0 46009000 */ add.s $f0, $f18, $f0
|
||||
.L80249CD4:
|
||||
/* 1785B4 80249CD4 E7A0001C */ swc1 $f0, 0x1c($sp)
|
||||
/* 1785B8 80249CD8 3C02802A */ lui $v0, %hi(D_8029F2A6)
|
||||
/* 1785BC 80249CDC 8042F2A6 */ lb $v0, %lo(D_8029F2A6)($v0)
|
||||
/* 1785C0 80249CE0 10400029 */ beqz $v0, .L80249D88
|
||||
/* 1785C4 80249CE4 00000000 */ nop
|
||||
/* 1785C8 80249CE8 3C01802A */ lui $at, %hi(BattleCam_TargetBoomLength)
|
||||
/* 1785CC 80249CEC C422F28C */ lwc1 $f2, %lo(BattleCam_TargetBoomLength)($at)
|
||||
/* 1785D0 80249CF0 3C0143FA */ lui $at, 0x43fa
|
||||
/* 1785D4 80249CF4 44810000 */ mtc1 $at, $f0
|
||||
/* 1785D8 80249CF8 00000000 */ nop
|
||||
/* 1785DC 80249CFC 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 1785E0 80249D00 3C01802A */ lui $at, %hi(D_8029CC08)
|
||||
/* 1785E4 80249D04 D422CC08 */ ldc1 $f2, %lo(D_8029CC08)($at)
|
||||
/* 1785E8 80249D08 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 1785EC 80249D0C 46220002 */ mul.d $f0, $f0, $f2
|
||||
/* 1785F0 80249D10 00000000 */ nop
|
||||
/* 1785F4 80249D14 3C01403E */ lui $at, 0x403e
|
||||
/* 1785F8 80249D18 44811800 */ mtc1 $at, $f3
|
||||
/* 1785FC 80249D1C 44801000 */ mtc1 $zero, $f2
|
||||
/* 178600 80249D20 00000000 */ nop
|
||||
/* 178604 80249D24 46220000 */ add.d $f0, $f0, $f2
|
||||
/* 178608 80249D28 46200120 */ cvt.s.d $f4, $f0
|
||||
/* 17860C 80249D2C 46002007 */ neg.s $f0, $f4
|
||||
/* 178610 80249D30 4600F03C */ c.lt.s $f30, $f0
|
||||
/* 178614 80249D34 00000000 */ nop
|
||||
/* 178618 80249D38 45000008 */ bc1f .L80249D5C
|
||||
/* 17861C 80249D3C 00000000 */ nop
|
||||
/* 178620 80249D40 461E0001 */ sub.s $f0, $f0, $f30
|
||||
/* 178624 80249D44 3C013F00 */ lui $at, 0x3f00
|
||||
/* 178628 80249D48 44811000 */ mtc1 $at, $f2
|
||||
/* 17862C 80249D4C 00000000 */ nop
|
||||
/* 178630 80249D50 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 178634 80249D54 00000000 */ nop
|
||||
/* 178638 80249D58 4600F780 */ add.s $f30, $f30, $f0
|
||||
.L80249D5C:
|
||||
/* 17863C 80249D5C 461E203C */ c.lt.s $f4, $f30
|
||||
/* 178640 80249D60 00000000 */ nop
|
||||
/* 178644 80249D64 45000008 */ bc1f .L80249D88
|
||||
/* 178648 80249D68 00000000 */ nop
|
||||
/* 17864C 80249D6C 461E2001 */ sub.s $f0, $f4, $f30
|
||||
/* 178650 80249D70 3C013F00 */ lui $at, 0x3f00
|
||||
/* 178654 80249D74 44811000 */ mtc1 $at, $f2
|
||||
/* 178658 80249D78 00000000 */ nop
|
||||
/* 17865C 80249D7C 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 178660 80249D80 00000000 */ nop
|
||||
/* 178664 80249D84 4600F780 */ add.s $f30, $f30, $f0
|
||||
.L80249D88:
|
||||
/* 178668 80249D88 12200055 */ beqz $s1, .L80249EE0
|
||||
/* 17866C 80249D8C 00000000 */ nop
|
||||
/* 178670 80249D90 3C0141C0 */ lui $at, 0x41c0
|
||||
/* 178674 80249D94 44810000 */ mtc1 $at, $f0
|
||||
/* 178678 80249D98 00000000 */ nop
|
||||
/* 17867C 80249D9C 4600B581 */ sub.s $f22, $f22, $f0
|
||||
/* 178680 80249DA0 4600D681 */ sub.s $f26, $f26, $f0
|
||||
/* 178684 80249DA4 44800000 */ mtc1 $zero, $f0
|
||||
/* 178688 80249DA8 00000000 */ nop
|
||||
/* 17868C 80249DAC 4600B03C */ c.lt.s $f22, $f0
|
||||
/* 178690 80249DB0 00000000 */ nop
|
||||
/* 178694 80249DB4 45030001 */ bc1tl .L80249DBC
|
||||
/* 178698 80249DB8 46000586 */ mov.s $f22, $f0
|
||||
.L80249DBC:
|
||||
/* 17869C 80249DBC 4600D03C */ c.lt.s $f26, $f0
|
||||
/* 1786A0 80249DC0 00000000 */ nop
|
||||
/* 1786A4 80249DC4 45030001 */ bc1tl .L80249DCC
|
||||
/* 1786A8 80249DC8 46000686 */ mov.s $f26, $f0
|
||||
.L80249DCC:
|
||||
/* 1786AC 80249DCC 3C03802A */ lui $v1, %hi(BattleCam_BoomLength)
|
||||
/* 1786B0 80249DD0 2463F280 */ addiu $v1, $v1, %lo(BattleCam_BoomLength)
|
||||
/* 1786B4 80249DD4 84620000 */ lh $v0, ($v1)
|
||||
/* 1786B8 80249DD8 461AB080 */ add.s $f2, $f22, $f26
|
||||
/* 1786BC 80249DDC 44820000 */ mtc1 $v0, $f0
|
||||
/* 1786C0 80249DE0 00000000 */ nop
|
||||
/* 1786C4 80249DE4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 1786C8 80249DE8 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 1786CC 80249DEC 3C02802A */ lui $v0, %hi(D_8029F2A4)
|
||||
/* 1786D0 80249DF0 8042F2A4 */ lb $v0, %lo(D_8029F2A4)($v0)
|
||||
/* 1786D4 80249DF4 4600040D */ trunc.w.s $f16, $f0
|
||||
/* 1786D8 80249DF8 44048000 */ mfc1 $a0, $f16
|
||||
/* 1786DC 80249DFC 10400010 */ beqz $v0, .L80249E40
|
||||
/* 1786E0 80249E00 A4640000 */ sh $a0, ($v1)
|
||||
/* 1786E4 80249E04 E61E0054 */ swc1 $f30, 0x54($s0)
|
||||
/* 1786E8 80249E08 E61C0058 */ swc1 $f28, 0x58($s0)
|
||||
/* 1786EC 80249E0C C7B0001C */ lwc1 $f16, 0x1c($sp)
|
||||
/* 1786F0 80249E10 3C02802A */ lui $v0, %hi(BattleCam_BoomZOffset)
|
||||
/* 1786F4 80249E14 8442F286 */ lh $v0, %lo(BattleCam_BoomZOffset)($v0)
|
||||
/* 1786F8 80249E18 3C03802A */ lui $v1, %hi(BattleCam_BoomYaw)
|
||||
/* 1786FC 80249E1C 9463F282 */ lhu $v1, %lo(BattleCam_BoomYaw)($v1)
|
||||
/* 178700 80249E20 A604001E */ sh $a0, 0x1e($s0)
|
||||
/* 178704 80249E24 3C04802A */ lui $a0, %hi(BattleCam_BoomPitch)
|
||||
/* 178708 80249E28 9484F284 */ lhu $a0, %lo(BattleCam_BoomPitch)($a0)
|
||||
/* 17870C 80249E2C 00021200 */ sll $v0, $v0, 8
|
||||
/* 178710 80249E30 E610005C */ swc1 $f16, 0x5c($s0)
|
||||
/* 178714 80249E34 A6020026 */ sh $v0, 0x26($s0)
|
||||
/* 178718 80249E38 A6030024 */ sh $v1, 0x24($s0)
|
||||
/* 17871C 80249E3C A6040022 */ sh $a0, 0x22($s0)
|
||||
.L80249E40:
|
||||
/* 178720 80249E40 8602001E */ lh $v0, 0x1e($s0)
|
||||
/* 178724 80249E44 86040026 */ lh $a0, 0x26($s0)
|
||||
/* 178728 80249E48 86030024 */ lh $v1, 0x24($s0)
|
||||
/* 17872C 80249E4C 44820000 */ mtc1 $v0, $f0
|
||||
/* 178730 80249E50 00000000 */ nop
|
||||
/* 178734 80249E54 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178738 80249E58 86020022 */ lh $v0, 0x22($s0)
|
||||
/* 17873C 80249E5C 3C01802A */ lui $at, %hi(BattleCam_TargetBoomLength)
|
||||
/* 178740 80249E60 E420F28C */ swc1 $f0, %lo(BattleCam_TargetBoomLength)($at)
|
||||
/* 178744 80249E64 44820000 */ mtc1 $v0, $f0
|
||||
/* 178748 80249E68 00000000 */ nop
|
||||
/* 17874C 80249E6C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178750 80249E70 3C01802A */ lui $at, %hi(BattleCam_TargetBoomPitch)
|
||||
/* 178754 80249E74 E420F294 */ swc1 $f0, %lo(BattleCam_TargetBoomPitch)($at)
|
||||
/* 178758 80249E78 44830000 */ mtc1 $v1, $f0
|
||||
/* 17875C 80249E7C 00000000 */ nop
|
||||
/* 178760 80249E80 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178764 80249E84 3C01802A */ lui $at, %hi(BattleCam_TargetBoomYaw)
|
||||
/* 178768 80249E88 E420F290 */ swc1 $f0, %lo(BattleCam_TargetBoomYaw)($at)
|
||||
/* 17876C 80249E8C 04820001 */ bltzl $a0, .L80249E94
|
||||
/* 178770 80249E90 248400FF */ addiu $a0, $a0, 0xff
|
||||
.L80249E94:
|
||||
/* 178774 80249E94 00041203 */ sra $v0, $a0, 8
|
||||
/* 178778 80249E98 C6020054 */ lwc1 $f2, 0x54($s0)
|
||||
/* 17877C 80249E9C C6040058 */ lwc1 $f4, 0x58($s0)
|
||||
/* 178780 80249EA0 C606005C */ lwc1 $f6, 0x5c($s0)
|
||||
/* 178784 80249EA4 3C03802A */ lui $v1, %hi(BattleCam_MoveTimeLeft)
|
||||
/* 178788 80249EA8 9463F29E */ lhu $v1, %lo(BattleCam_MoveTimeLeft)($v1)
|
||||
/* 17878C 80249EAC 44820000 */ mtc1 $v0, $f0
|
||||
/* 178790 80249EB0 00000000 */ nop
|
||||
/* 178794 80249EB4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178798 80249EB8 3C01802A */ lui $at, %hi(BattleCam_TargetBoomZOffset)
|
||||
/* 17879C 80249EBC E420F298 */ swc1 $f0, %lo(BattleCam_TargetBoomZOffset)($at)
|
||||
/* 1787A0 80249EC0 3C01802A */ lui $at, %hi(BattleCam_TargetPosX)
|
||||
/* 1787A4 80249EC4 E422F2A8 */ swc1 $f2, %lo(BattleCam_TargetPosX)($at)
|
||||
/* 1787A8 80249EC8 3C01802A */ lui $at, %hi(BattleCam_TargetPosY)
|
||||
/* 1787AC 80249ECC E424F2AC */ swc1 $f4, %lo(BattleCam_TargetPosY)($at)
|
||||
/* 1787B0 80249ED0 3C01802A */ lui $at, %hi(BattleCam_TargetPosZ)
|
||||
/* 1787B4 80249ED4 E426F2B0 */ swc1 $f6, %lo(BattleCam_TargetPosZ)($at)
|
||||
/* 1787B8 80249ED8 3C01802A */ lui $at, %hi(BattleCam_MoveTimeTotal)
|
||||
/* 1787BC 80249EDC A423F2A0 */ sh $v1, %lo(BattleCam_MoveTimeTotal)($at)
|
||||
.L80249EE0:
|
||||
/* 1787C0 80249EE0 3C02802A */ lui $v0, %hi(BattleCam_UseLinearInterp)
|
||||
/* 1787C4 80249EE4 8042F2A5 */ lb $v0, %lo(BattleCam_UseLinearInterp)($v0)
|
||||
/* 1787C8 80249EE8 14400027 */ bnez $v0, .L80249F88
|
||||
/* 1787CC 80249EEC 00000000 */ nop
|
||||
/* 1787D0 80249EF0 3C02802A */ lui $v0, %hi(BattleCam_MoveTimeLeft)
|
||||
/* 1787D4 80249EF4 8442F29E */ lh $v0, %lo(BattleCam_MoveTimeLeft)($v0)
|
||||
/* 1787D8 80249EF8 3C03802A */ lui $v1, %hi(BattleCam_MoveTimeTotal)
|
||||
/* 1787DC 80249EFC 8463F2A0 */ lh $v1, %lo(BattleCam_MoveTimeTotal)($v1)
|
||||
/* 1787E0 80249F00 3C013F80 */ lui $at, 0x3f80
|
||||
/* 1787E4 80249F04 4481C000 */ mtc1 $at, $f24
|
||||
/* 1787E8 80249F08 4482D000 */ mtc1 $v0, $f26
|
||||
/* 1787EC 80249F0C 00000000 */ nop
|
||||
/* 1787F0 80249F10 4680D6A0 */ cvt.s.w $f26, $f26
|
||||
/* 1787F4 80249F14 44830000 */ mtc1 $v1, $f0
|
||||
/* 1787F8 80249F18 00000000 */ nop
|
||||
/* 1787FC 80249F1C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178800 80249F20 4600D683 */ div.s $f26, $f26, $f0
|
||||
/* 178804 80249F24 461AC301 */ sub.s $f12, $f24, $f26
|
||||
/* 178808 80249F28 3C014049 */ lui $at, 0x4049
|
||||
/* 17880C 80249F2C 34210FD0 */ ori $at, $at, 0xfd0
|
||||
/* 178810 80249F30 4481B000 */ mtc1 $at, $f22
|
||||
/* 178814 80249F34 00000000 */ nop
|
||||
/* 178818 80249F38 46166302 */ mul.s $f12, $f12, $f22
|
||||
/* 17881C 80249F3C 00000000 */ nop
|
||||
/* 178820 80249F40 3C013F00 */ lui $at, 0x3f00
|
||||
/* 178824 80249F44 4481A000 */ mtc1 $at, $f20
|
||||
/* 178828 80249F48 00000000 */ nop
|
||||
/* 17882C 80249F4C 46146302 */ mul.s $f12, $f12, $f20
|
||||
/* 178830 80249F50 0C00A85B */ jal sin_rad
|
||||
/* 178834 80249F54 00000000 */ nop
|
||||
/* 178838 80249F58 46160002 */ mul.s $f0, $f0, $f22
|
||||
/* 17883C 80249F5C 00000000 */ nop
|
||||
/* 178840 80249F60 46140302 */ mul.s $f12, $f0, $f20
|
||||
/* 178844 80249F64 0C00A85B */ jal sin_rad
|
||||
/* 178848 80249F68 00000000 */ nop
|
||||
/* 17884C 80249F6C 46160002 */ mul.s $f0, $f0, $f22
|
||||
/* 178850 80249F70 00000000 */ nop
|
||||
/* 178854 80249F74 46140302 */ mul.s $f12, $f0, $f20
|
||||
/* 178858 80249F78 0C00A85B */ jal sin_rad
|
||||
/* 17885C 80249F7C 00000000 */ nop
|
||||
/* 178860 80249F80 080927ED */ j .L80249FB4
|
||||
/* 178864 80249F84 4600C681 */ sub.s $f26, $f24, $f0
|
||||
.L80249F88:
|
||||
/* 178868 80249F88 3C02802A */ lui $v0, %hi(BattleCam_MoveTimeLeft)
|
||||
/* 17886C 80249F8C 8442F29E */ lh $v0, %lo(BattleCam_MoveTimeLeft)($v0)
|
||||
/* 178870 80249F90 3C03802A */ lui $v1, %hi(BattleCam_MoveTimeTotal)
|
||||
/* 178874 80249F94 8463F2A0 */ lh $v1, %lo(BattleCam_MoveTimeTotal)($v1)
|
||||
/* 178878 80249F98 4482D000 */ mtc1 $v0, $f26
|
||||
/* 17887C 80249F9C 00000000 */ nop
|
||||
/* 178880 80249FA0 4680D6A0 */ cvt.s.w $f26, $f26
|
||||
/* 178884 80249FA4 44830000 */ mtc1 $v1, $f0
|
||||
/* 178888 80249FA8 00000000 */ nop
|
||||
/* 17888C 80249FAC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178890 80249FB0 4600D683 */ div.s $f26, $f26, $f0
|
||||
.L80249FB4:
|
||||
/* 178894 80249FB4 3C01802A */ lui $at, %hi(BattleCam_TargetPosX)
|
||||
/* 178898 80249FB8 C426F2A8 */ lwc1 $f6, %lo(BattleCam_TargetPosX)($at)
|
||||
/* 17889C 80249FBC 461A3182 */ mul.s $f6, $f6, $f26
|
||||
/* 1788A0 80249FC0 00000000 */ nop
|
||||
/* 1788A4 80249FC4 3C01802A */ lui $at, %hi(BattleCam_TargetPosY)
|
||||
/* 1788A8 80249FC8 C428F2AC */ lwc1 $f8, %lo(BattleCam_TargetPosY)($at)
|
||||
/* 1788AC 80249FCC 461A4202 */ mul.s $f8, $f8, $f26
|
||||
/* 1788B0 80249FD0 00000000 */ nop
|
||||
/* 1788B4 80249FD4 3C01802A */ lui $at, %hi(BattleCam_TargetPosZ)
|
||||
/* 1788B8 80249FD8 C424F2B0 */ lwc1 $f4, %lo(BattleCam_TargetPosZ)($at)
|
||||
/* 1788BC 80249FDC 461A2102 */ mul.s $f4, $f4, $f26
|
||||
/* 1788C0 80249FE0 00000000 */ nop
|
||||
/* 1788C4 80249FE4 3C01802A */ lui $at, %hi(BattleCam_TargetBoomZOffset)
|
||||
/* 1788C8 80249FE8 C422F298 */ lwc1 $f2, %lo(BattleCam_TargetBoomZOffset)($at)
|
||||
/* 1788CC 80249FEC 461A1082 */ mul.s $f2, $f2, $f26
|
||||
/* 1788D0 80249FF0 00000000 */ nop
|
||||
/* 1788D4 80249FF4 3C013F80 */ lui $at, 0x3f80
|
||||
/* 1788D8 80249FF8 4481B000 */ mtc1 $at, $f22
|
||||
/* 1788DC 80249FFC 00000000 */ nop
|
||||
/* 1788E0 8024A000 461AB581 */ sub.s $f22, $f22, $f26
|
||||
/* 1788E4 8024A004 4616F302 */ mul.s $f12, $f30, $f22
|
||||
/* 1788E8 8024A008 00000000 */ nop
|
||||
/* 1788EC 8024A00C 4616E382 */ mul.s $f14, $f28, $f22
|
||||
/* 1788F0 8024A010 00000000 */ nop
|
||||
/* 1788F4 8024A014 3C02802A */ lui $v0, %hi(BattleCam_BoomZOffset)
|
||||
/* 1788F8 8024A018 8442F286 */ lh $v0, %lo(BattleCam_BoomZOffset)($v0)
|
||||
/* 1788FC 8024A01C 44820000 */ mtc1 $v0, $f0
|
||||
/* 178900 8024A020 00000000 */ nop
|
||||
/* 178904 8024A024 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178908 8024A028 46160002 */ mul.s $f0, $f0, $f22
|
||||
/* 17890C 8024A02C 00000000 */ nop
|
||||
/* 178910 8024A030 C7B2001C */ lwc1 $f18, 0x1c($sp)
|
||||
/* 178914 8024A034 46169282 */ mul.s $f10, $f18, $f22
|
||||
/* 178918 8024A038 00000000 */ nop
|
||||
/* 17891C 8024A03C 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 178920 8024A040 C6180054 */ lwc1 $f24, 0x54($s0)
|
||||
/* 178924 8024A044 C6140058 */ lwc1 $f20, 0x58($s0)
|
||||
/* 178928 8024A048 460C3180 */ add.s $f6, $f6, $f12
|
||||
/* 17892C 8024A04C C610005C */ lwc1 $f16, 0x5c($s0)
|
||||
/* 178930 8024A050 4406F000 */ mfc1 $a2, $f30
|
||||
/* 178934 8024A054 460A2100 */ add.s $f4, $f4, $f10
|
||||
/* 178938 8024A058 44079000 */ mfc1 $a3, $f18
|
||||
/* 17893C 8024A05C 3C014380 */ lui $at, 0x4380
|
||||
/* 178940 8024A060 44810000 */ mtc1 $at, $f0
|
||||
/* 178944 8024A064 460E4200 */ add.s $f8, $f8, $f14
|
||||
/* 178948 8024A068 E7B00018 */ swc1 $f16, 0x18($sp)
|
||||
/* 17894C 8024A06C E6060054 */ swc1 $f6, 0x54($s0)
|
||||
/* 178950 8024A070 46001082 */ mul.s $f2, $f2, $f0
|
||||
/* 178954 8024A074 00000000 */ nop
|
||||
/* 178958 8024A078 46003306 */ mov.s $f12, $f6
|
||||
/* 17895C 8024A07C E604005C */ swc1 $f4, 0x5c($s0)
|
||||
/* 178960 8024A080 46002386 */ mov.s $f14, $f4
|
||||
/* 178964 8024A084 E6080058 */ swc1 $f8, 0x58($s0)
|
||||
/* 178968 8024A088 4600148D */ trunc.w.s $f18, $f2
|
||||
/* 17896C 8024A08C 44029000 */ mfc1 $v0, $f18
|
||||
/* 178970 8024A090 0C00A7B5 */ jal dist2D
|
||||
/* 178974 8024A094 A6020026 */ sh $v0, 0x26($s0)
|
||||
/* 178978 8024A098 4600A386 */ mov.s $f14, $f20
|
||||
/* 17897C 8024A09C 8FA60018 */ lw $a2, 0x18($sp)
|
||||
/* 178980 8024A0A0 C7B0002C */ lwc1 $f16, 0x2c($sp)
|
||||
/* 178984 8024A0A4 8FA70020 */ lw $a3, 0x20($sp)
|
||||
/* 178988 8024A0A8 C7B20030 */ lwc1 $f18, 0x30($sp)
|
||||
/* 17898C 8024A0AC 46100500 */ add.s $f20, $f0, $f16
|
||||
/* 178990 8024A0B0 3C014280 */ lui $at, 0x4280
|
||||
/* 178994 8024A0B4 44810000 */ mtc1 $at, $f0
|
||||
/* 178998 8024A0B8 C7B00024 */ lwc1 $f16, 0x24($sp)
|
||||
/* 17899C 8024A0BC 4612A500 */ add.s $f20, $f20, $f18
|
||||
/* 1789A0 8024A0C0 C7B20028 */ lwc1 $f18, 0x28($sp)
|
||||
/* 1789A4 8024A0C4 4600C306 */ mov.s $f12, $f24
|
||||
/* 1789A8 8024A0C8 E7B00010 */ swc1 $f16, 0x10($sp)
|
||||
/* 1789AC 8024A0CC E7B20014 */ swc1 $f18, 0x14($sp)
|
||||
/* 1789B0 8024A0D0 0C00A7CB */ jal dist3D
|
||||
/* 1789B4 8024A0D4 4600A501 */ sub.s $f20, $f20, $f0
|
||||
/* 1789B8 8024A0D8 3C013F00 */ lui $at, 0x3f00
|
||||
/* 1789BC 8024A0DC 44811000 */ mtc1 $at, $f2
|
||||
/* 1789C0 8024A0E0 00000000 */ nop
|
||||
/* 1789C4 8024A0E4 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 1789C8 8024A0E8 00000000 */ nop
|
||||
/* 1789CC 8024A0EC 3C01802A */ lui $at, %hi(BattleCam_TargetBoomLength)
|
||||
/* 1789D0 8024A0F0 C42AF28C */ lwc1 $f10, %lo(BattleCam_TargetBoomLength)($at)
|
||||
/* 1789D4 8024A0F4 461A5282 */ mul.s $f10, $f10, $f26
|
||||
/* 1789D8 8024A0F8 00000000 */ nop
|
||||
/* 1789DC 8024A0FC 3C01802A */ lui $at, %hi(BattleCam_TargetBoomYaw)
|
||||
/* 1789E0 8024A100 C428F290 */ lwc1 $f8, %lo(BattleCam_TargetBoomYaw)($at)
|
||||
/* 1789E4 8024A104 461A4202 */ mul.s $f8, $f8, $f26
|
||||
/* 1789E8 8024A108 00000000 */ nop
|
||||
/* 1789EC 8024A10C 3C01802A */ lui $at, %hi(BattleCam_TargetBoomPitch)
|
||||
/* 1789F0 8024A110 C424F294 */ lwc1 $f4, %lo(BattleCam_TargetBoomPitch)($at)
|
||||
/* 1789F4 8024A114 3C02802A */ lui $v0, %hi(BattleCam_BoomLength)
|
||||
/* 1789F8 8024A118 8442F280 */ lh $v0, %lo(BattleCam_BoomLength)($v0)
|
||||
/* 1789FC 8024A11C 461A2102 */ mul.s $f4, $f4, $f26
|
||||
/* 178A00 8024A120 00000000 */ nop
|
||||
/* 178A04 8024A124 44821000 */ mtc1 $v0, $f2
|
||||
/* 178A08 8024A128 00000000 */ nop
|
||||
/* 178A0C 8024A12C 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 178A10 8024A130 3C02802A */ lui $v0, %hi(BattleCam_BoomYaw)
|
||||
/* 178A14 8024A134 8442F282 */ lh $v0, %lo(BattleCam_BoomYaw)($v0)
|
||||
/* 178A18 8024A138 44823000 */ mtc1 $v0, $f6
|
||||
/* 178A1C 8024A13C 00000000 */ nop
|
||||
/* 178A20 8024A140 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* 178A24 8024A144 46163182 */ mul.s $f6, $f6, $f22
|
||||
/* 178A28 8024A148 00000000 */ nop
|
||||
/* 178A2C 8024A14C 46141080 */ add.s $f2, $f2, $f20
|
||||
/* 178A30 8024A150 3C02802A */ lui $v0, %hi(BattleCam_BoomPitch)
|
||||
/* 178A34 8024A154 8442F284 */ lh $v0, %lo(BattleCam_BoomPitch)($v0)
|
||||
/* 178A38 8024A158 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 178A3C 8024A15C 44820000 */ mtc1 $v0, $f0
|
||||
/* 178A40 8024A160 00000000 */ nop
|
||||
/* 178A44 8024A164 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178A48 8024A168 46160002 */ mul.s $f0, $f0, $f22
|
||||
/* 178A4C 8024A16C 00000000 */ nop
|
||||
/* 178A50 8024A170 46161082 */ mul.s $f2, $f2, $f22
|
||||
/* 178A54 8024A174 00000000 */ nop
|
||||
/* 178A58 8024A178 46064200 */ add.s $f8, $f8, $f6
|
||||
/* 178A5C 8024A17C 3C04802A */ lui $a0, %hi(BattleCam_MoveTimeLeft)
|
||||
/* 178A60 8024A180 2484F29E */ addiu $a0, $a0, %lo(BattleCam_MoveTimeLeft)
|
||||
/* 178A64 8024A184 46002100 */ add.s $f4, $f4, $f0
|
||||
/* 178A68 8024A188 4600440D */ trunc.w.s $f16, $f8
|
||||
/* 178A6C 8024A18C 44028000 */ mfc1 $v0, $f16
|
||||
/* 178A70 8024A190 00000000 */ nop
|
||||
/* 178A74 8024A194 A6020024 */ sh $v0, 0x24($s0)
|
||||
/* 178A78 8024A198 46025280 */ add.s $f10, $f10, $f2
|
||||
/* 178A7C 8024A19C 4600240D */ trunc.w.s $f16, $f4
|
||||
/* 178A80 8024A1A0 44028000 */ mfc1 $v0, $f16
|
||||
/* 178A84 8024A1A4 00000000 */ nop
|
||||
/* 178A88 8024A1A8 A6020022 */ sh $v0, 0x22($s0)
|
||||
/* 178A8C 8024A1AC 4600540D */ trunc.w.s $f16, $f10
|
||||
/* 178A90 8024A1B0 44028000 */ mfc1 $v0, $f16
|
||||
/* 178A94 8024A1B4 00000000 */ nop
|
||||
/* 178A98 8024A1B8 A602001E */ sh $v0, 0x1e($s0)
|
||||
/* 178A9C 8024A1BC 84820000 */ lh $v0, ($a0)
|
||||
/* 178AA0 8024A1C0 94830000 */ lhu $v1, ($a0)
|
||||
/* 178AA4 8024A1C4 14400006 */ bnez $v0, .L8024A1E0
|
||||
/* 178AA8 8024A1C8 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* 178AAC 8024A1CC 24020001 */ addiu $v0, $zero, 1
|
||||
/* 178AB0 8024A1D0 3C01802A */ lui $at, %hi(BattleCam_DoneMoving)
|
||||
/* 178AB4 8024A1D4 A022F29C */ sb $v0, %lo(BattleCam_DoneMoving)($at)
|
||||
/* 178AB8 8024A1D8 0809287A */ j .L8024A1E8
|
||||
/* 178ABC 8024A1DC 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8024A1E0:
|
||||
/* 178AC0 8024A1E0 A4820000 */ sh $v0, ($a0)
|
||||
/* 178AC4 8024A1E4 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8024A1E8:
|
||||
/* 178AC8 8024A1E8 8FBF0040 */ lw $ra, 0x40($sp)
|
||||
/* 178ACC 8024A1EC 8FB1003C */ lw $s1, 0x3c($sp)
|
||||
/* 178AD0 8024A1F0 8FB00038 */ lw $s0, 0x38($sp)
|
||||
/* 178AD4 8024A1F4 D7BE0070 */ ldc1 $f30, 0x70($sp)
|
||||
/* 178AD8 8024A1F8 D7BC0068 */ ldc1 $f28, 0x68($sp)
|
||||
/* 178ADC 8024A1FC D7BA0060 */ ldc1 $f26, 0x60($sp)
|
||||
/* 178AE0 8024A200 D7B80058 */ ldc1 $f24, 0x58($sp)
|
||||
/* 178AE4 8024A204 D7B60050 */ ldc1 $f22, 0x50($sp)
|
||||
/* 178AE8 8024A208 D7B40048 */ ldc1 $f20, 0x48($sp)
|
||||
/* 178AEC 8024A20C 03E00008 */ jr $ra
|
||||
/* 178AF0 8024A210 27BD0078 */ addiu $sp, $sp, 0x78
|
@ -1,509 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel D_8029CC10
|
||||
.double 0.4
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_8024A214
|
||||
/* 178AF4 8024A214 27BDFFA0 */ addiu $sp, $sp, -0x60
|
||||
/* 178AF8 8024A218 AFB20028 */ sw $s2, 0x28($sp)
|
||||
/* 178AFC 8024A21C 00A0902D */ daddu $s2, $a1, $zero
|
||||
/* 178B00 8024A220 AFB10024 */ sw $s1, 0x24($sp)
|
||||
/* 178B04 8024A224 3C11800B */ lui $s1, %hi(gCameras+0x558)
|
||||
/* 178B08 8024A228 263122D8 */ addiu $s1, $s1, %lo(gCameras+0x558)
|
||||
/* 178B0C 8024A22C 3C02802A */ lui $v0, %hi(BattleCam_TargetActor)
|
||||
/* 178B10 8024A230 9442F27C */ lhu $v0, %lo(BattleCam_TargetActor)($v0)
|
||||
/* 178B14 8024A234 3C04800E */ lui $a0, %hi(gBattleStatus)
|
||||
/* 178B18 8024A238 2484C070 */ addiu $a0, $a0, %lo(gBattleStatus)
|
||||
/* 178B1C 8024A23C AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* 178B20 8024A240 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 178B24 8024A244 F7BE0058 */ sdc1 $f30, 0x58($sp)
|
||||
/* 178B28 8024A248 F7BC0050 */ sdc1 $f28, 0x50($sp)
|
||||
/* 178B2C 8024A24C F7BA0048 */ sdc1 $f26, 0x48($sp)
|
||||
/* 178B30 8024A250 F7B80040 */ sdc1 $f24, 0x40($sp)
|
||||
/* 178B34 8024A254 F7B60038 */ sdc1 $f22, 0x38($sp)
|
||||
/* 178B38 8024A258 F7B40030 */ sdc1 $f20, 0x30($sp)
|
||||
/* 178B3C 8024A25C 30430700 */ andi $v1, $v0, 0x700
|
||||
/* 178B40 8024A260 304500FF */ andi $a1, $v0, 0xff
|
||||
/* 178B44 8024A264 24020100 */ addiu $v0, $zero, 0x100
|
||||
/* 178B48 8024A268 10620044 */ beq $v1, $v0, .L8024A37C
|
||||
/* 178B4C 8024A26C 28620101 */ slti $v0, $v1, 0x101
|
||||
/* 178B50 8024A270 10400005 */ beqz $v0, .L8024A288
|
||||
/* 178B54 8024A274 24020200 */ addiu $v0, $zero, 0x200
|
||||
/* 178B58 8024A278 10600007 */ beqz $v1, .L8024A298
|
||||
/* 178B5C 8024A27C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 178B60 8024A280 08092A58 */ j .L8024A960
|
||||
/* 178B64 8024A284 00000000 */ nop
|
||||
.L8024A288:
|
||||
/* 178B68 8024A288 1062003F */ beq $v1, $v0, .L8024A388
|
||||
/* 178B6C 8024A28C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 178B70 8024A290 08092A58 */ j .L8024A960
|
||||
/* 178B74 8024A294 00000000 */ nop
|
||||
.L8024A298:
|
||||
/* 178B78 8024A298 8C8500D8 */ lw $a1, 0xd8($a0)
|
||||
.L8024A29C:
|
||||
/* 178B7C 8024A29C 10A001B0 */ beqz $a1, .L8024A960
|
||||
/* 178B80 8024A2A0 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 178B84 8024A2A4 C4BA0144 */ lwc1 $f26, 0x144($a1)
|
||||
/* 178B88 8024A2A8 C4B6014C */ lwc1 $f22, 0x14c($a1)
|
||||
/* 178B8C 8024A2AC 84A40428 */ lh $a0, 0x428($a1)
|
||||
/* 178B90 8024A2B0 90A20191 */ lbu $v0, 0x191($a1)
|
||||
/* 178B94 8024A2B4 90A30190 */ lbu $v1, 0x190($a1)
|
||||
/* 178B98 8024A2B8 C4A20148 */ lwc1 $f2, 0x148($a1)
|
||||
/* 178B9C 8024A2BC 4482F000 */ mtc1 $v0, $f30
|
||||
/* 178BA0 8024A2C0 00000000 */ nop
|
||||
/* 178BA4 8024A2C4 4680F7A0 */ cvt.s.w $f30, $f30
|
||||
/* 178BA8 8024A2C8 4483A000 */ mtc1 $v1, $f20
|
||||
/* 178BAC 8024A2CC 00000000 */ nop
|
||||
/* 178BB0 8024A2D0 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 178BB4 8024A2D4 00021842 */ srl $v1, $v0, 1
|
||||
/* 178BB8 8024A2D8 44830000 */ mtc1 $v1, $f0
|
||||
/* 178BBC 8024A2DC 00000000 */ nop
|
||||
/* 178BC0 8024A2E0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178BC4 8024A2E4 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 178BC8 8024A2E8 00021082 */ srl $v0, $v0, 2
|
||||
/* 178BCC 8024A2EC 44820000 */ mtc1 $v0, $f0
|
||||
/* 178BD0 8024A2F0 00000000 */ nop
|
||||
/* 178BD4 8024A2F4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178BD8 8024A2F8 0C09A75B */ jal get_actor
|
||||
/* 178BDC 8024A2FC 46001600 */ add.s $f24, $f2, $f0
|
||||
/* 178BE0 8024A300 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 178BE4 8024A304 12000196 */ beqz $s0, .L8024A960
|
||||
/* 178BE8 8024A308 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 178BEC 8024A30C C6040144 */ lwc1 $f4, 0x144($s0)
|
||||
/* 178BF0 8024A310 461A2101 */ sub.s $f4, $f4, $f26
|
||||
/* 178BF4 8024A314 3C013F00 */ lui $at, 0x3f00
|
||||
/* 178BF8 8024A318 44815000 */ mtc1 $at, $f10
|
||||
/* 178BFC 8024A31C 00000000 */ nop
|
||||
/* 178C00 8024A320 460A2102 */ mul.s $f4, $f4, $f10
|
||||
/* 178C04 8024A324 00000000 */ nop
|
||||
/* 178C08 8024A328 92020191 */ lbu $v0, 0x191($s0)
|
||||
/* 178C0C 8024A32C C6020148 */ lwc1 $f2, 0x148($s0)
|
||||
/* 178C10 8024A330 00021842 */ srl $v1, $v0, 1
|
||||
/* 178C14 8024A334 44830000 */ mtc1 $v1, $f0
|
||||
/* 178C18 8024A338 00000000 */ nop
|
||||
/* 178C1C 8024A33C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178C20 8024A340 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 178C24 8024A344 00021082 */ srl $v0, $v0, 2
|
||||
/* 178C28 8024A348 44820000 */ mtc1 $v0, $f0
|
||||
/* 178C2C 8024A34C 00000000 */ nop
|
||||
/* 178C30 8024A350 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178C34 8024A354 46001180 */ add.s $f6, $f2, $f0
|
||||
/* 178C38 8024A358 C608014C */ lwc1 $f8, 0x14c($s0)
|
||||
/* 178C3C 8024A35C 3C02802A */ lui $v0, %hi(D_8029F2A2)
|
||||
/* 178C40 8024A360 8042F2A2 */ lb $v0, %lo(D_8029F2A2)($v0)
|
||||
/* 178C44 8024A364 0440004E */ bltz $v0, .L8024A4A0
|
||||
/* 178C48 8024A368 4604D680 */ add.s $f26, $f26, $f4
|
||||
/* 178C4C 8024A36C 54400044 */ bnel $v0, $zero, .L8024A480
|
||||
/* 178C50 8024A370 4606C001 */ sub.s $f0, $f24, $f6
|
||||
/* 178C54 8024A374 08092929 */ j .L8024A4A4
|
||||
/* 178C58 8024A378 4600C706 */ mov.s $f28, $f24
|
||||
.L8024A37C:
|
||||
/* 178C5C 8024A37C 8C8500DC */ lw $a1, 0xdc($a0)
|
||||
/* 178C60 8024A380 080928A7 */ j .L8024A29C
|
||||
/* 178C64 8024A384 00000000 */ nop
|
||||
.L8024A388:
|
||||
/* 178C68 8024A388 00051080 */ sll $v0, $a1, 2
|
||||
/* 178C6C 8024A38C 00441021 */ addu $v0, $v0, $a0
|
||||
/* 178C70 8024A390 8C5000E0 */ lw $s0, 0xe0($v0)
|
||||
/* 178C74 8024A394 12000172 */ beqz $s0, .L8024A960
|
||||
/* 178C78 8024A398 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 178C7C 8024A39C 3C05802A */ lui $a1, %hi(BattleCam_TargetActorPart)
|
||||
/* 178C80 8024A3A0 84A5F27E */ lh $a1, %lo(BattleCam_TargetActorPart)($a1)
|
||||
/* 178C84 8024A3A4 0C099117 */ jal get_actor_part
|
||||
/* 178C88 8024A3A8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 178C8C 8024A3AC C45A002C */ lwc1 $f26, 0x2c($v0)
|
||||
/* 178C90 8024A3B0 C4560034 */ lwc1 $f22, 0x34($v0)
|
||||
/* 178C94 8024A3B4 86040428 */ lh $a0, 0x428($s0)
|
||||
/* 178C98 8024A3B8 90430073 */ lbu $v1, 0x73($v0)
|
||||
/* 178C9C 8024A3BC 90450072 */ lbu $a1, 0x72($v0)
|
||||
/* 178CA0 8024A3C0 C4420030 */ lwc1 $f2, 0x30($v0)
|
||||
/* 178CA4 8024A3C4 4483F000 */ mtc1 $v1, $f30
|
||||
/* 178CA8 8024A3C8 00000000 */ nop
|
||||
/* 178CAC 8024A3CC 4680F7A0 */ cvt.s.w $f30, $f30
|
||||
/* 178CB0 8024A3D0 4485A000 */ mtc1 $a1, $f20
|
||||
/* 178CB4 8024A3D4 00000000 */ nop
|
||||
/* 178CB8 8024A3D8 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 178CBC 8024A3DC 00032842 */ srl $a1, $v1, 1
|
||||
/* 178CC0 8024A3E0 44850000 */ mtc1 $a1, $f0
|
||||
/* 178CC4 8024A3E4 00000000 */ nop
|
||||
/* 178CC8 8024A3E8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178CCC 8024A3EC 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 178CD0 8024A3F0 00031882 */ srl $v1, $v1, 2
|
||||
/* 178CD4 8024A3F4 44830000 */ mtc1 $v1, $f0
|
||||
/* 178CD8 8024A3F8 00000000 */ nop
|
||||
/* 178CDC 8024A3FC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178CE0 8024A400 0C09A75B */ jal get_actor
|
||||
/* 178CE4 8024A404 46001600 */ add.s $f24, $f2, $f0
|
||||
/* 178CE8 8024A408 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 178CEC 8024A40C 12000154 */ beqz $s0, .L8024A960
|
||||
/* 178CF0 8024A410 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 178CF4 8024A414 C6040144 */ lwc1 $f4, 0x144($s0)
|
||||
/* 178CF8 8024A418 461A2101 */ sub.s $f4, $f4, $f26
|
||||
/* 178CFC 8024A41C 3C013F00 */ lui $at, 0x3f00
|
||||
/* 178D00 8024A420 44815000 */ mtc1 $at, $f10
|
||||
/* 178D04 8024A424 00000000 */ nop
|
||||
/* 178D08 8024A428 460A2102 */ mul.s $f4, $f4, $f10
|
||||
/* 178D0C 8024A42C 00000000 */ nop
|
||||
/* 178D10 8024A430 92020191 */ lbu $v0, 0x191($s0)
|
||||
/* 178D14 8024A434 C6020148 */ lwc1 $f2, 0x148($s0)
|
||||
/* 178D18 8024A438 00021842 */ srl $v1, $v0, 1
|
||||
/* 178D1C 8024A43C 44830000 */ mtc1 $v1, $f0
|
||||
/* 178D20 8024A440 00000000 */ nop
|
||||
/* 178D24 8024A444 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178D28 8024A448 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 178D2C 8024A44C 00021082 */ srl $v0, $v0, 2
|
||||
/* 178D30 8024A450 44820000 */ mtc1 $v0, $f0
|
||||
/* 178D34 8024A454 00000000 */ nop
|
||||
/* 178D38 8024A458 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178D3C 8024A45C 46001180 */ add.s $f6, $f2, $f0
|
||||
/* 178D40 8024A460 C608014C */ lwc1 $f8, 0x14c($s0)
|
||||
/* 178D44 8024A464 3C02802A */ lui $v0, %hi(D_8029F2A2)
|
||||
/* 178D48 8024A468 8042F2A2 */ lb $v0, %lo(D_8029F2A2)($v0)
|
||||
/* 178D4C 8024A46C 0440000C */ bltz $v0, .L8024A4A0
|
||||
/* 178D50 8024A470 4604D680 */ add.s $f26, $f26, $f4
|
||||
/* 178D54 8024A474 1040000B */ beqz $v0, .L8024A4A4
|
||||
/* 178D58 8024A478 4600C706 */ mov.s $f28, $f24
|
||||
/* 178D5C 8024A47C 4606C001 */ sub.s $f0, $f24, $f6
|
||||
.L8024A480:
|
||||
/* 178D60 8024A480 460A0082 */ mul.s $f2, $f0, $f10
|
||||
/* 178D64 8024A484 00000000 */ nop
|
||||
/* 178D68 8024A488 3C0140C0 */ lui $at, 0x40c0
|
||||
/* 178D6C 8024A48C 44812000 */ mtc1 $at, $f4
|
||||
/* 178D70 8024A490 46023080 */ add.s $f2, $f6, $f2
|
||||
/* 178D74 8024A494 46040003 */ div.s $f0, $f0, $f4
|
||||
/* 178D78 8024A498 08092929 */ j .L8024A4A4
|
||||
/* 178D7C 8024A49C 46001700 */ add.s $f28, $f2, $f0
|
||||
.L8024A4A0:
|
||||
/* 178D80 8024A4A0 C63C0058 */ lwc1 $f28, 0x58($s1)
|
||||
.L8024A4A4:
|
||||
/* 178D84 8024A4A4 46164001 */ sub.s $f0, $f8, $f22
|
||||
/* 178D88 8024A4A8 3C013F00 */ lui $at, 0x3f00
|
||||
/* 178D8C 8024A4AC 44811000 */ mtc1 $at, $f2
|
||||
/* 178D90 8024A4B0 00000000 */ nop
|
||||
/* 178D94 8024A4B4 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 178D98 8024A4B8 00000000 */ nop
|
||||
/* 178D9C 8024A4BC 4600B580 */ add.s $f22, $f22, $f0
|
||||
/* 178DA0 8024A4C0 E7B60010 */ swc1 $f22, 0x10($sp)
|
||||
/* 178DA4 8024A4C4 3C02802A */ lui $v0, %hi(D_8029F2A6)
|
||||
/* 178DA8 8024A4C8 8042F2A6 */ lb $v0, %lo(D_8029F2A6)($v0)
|
||||
/* 178DAC 8024A4CC 10400029 */ beqz $v0, .L8024A574
|
||||
/* 178DB0 8024A4D0 00000000 */ nop
|
||||
/* 178DB4 8024A4D4 3C01802A */ lui $at, %hi(BattleCam_TargetBoomLength)
|
||||
/* 178DB8 8024A4D8 C422F28C */ lwc1 $f2, %lo(BattleCam_TargetBoomLength)($at)
|
||||
/* 178DBC 8024A4DC 3C0143FA */ lui $at, 0x43fa
|
||||
/* 178DC0 8024A4E0 44810000 */ mtc1 $at, $f0
|
||||
/* 178DC4 8024A4E4 00000000 */ nop
|
||||
/* 178DC8 8024A4E8 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 178DCC 8024A4EC 3C01802A */ lui $at, %hi(D_8029CC10)
|
||||
/* 178DD0 8024A4F0 D422CC10 */ ldc1 $f2, %lo(D_8029CC10)($at)
|
||||
/* 178DD4 8024A4F4 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 178DD8 8024A4F8 46220002 */ mul.d $f0, $f0, $f2
|
||||
/* 178DDC 8024A4FC 00000000 */ nop
|
||||
/* 178DE0 8024A500 3C01403E */ lui $at, 0x403e
|
||||
/* 178DE4 8024A504 44811800 */ mtc1 $at, $f3
|
||||
/* 178DE8 8024A508 44801000 */ mtc1 $zero, $f2
|
||||
/* 178DEC 8024A50C 00000000 */ nop
|
||||
/* 178DF0 8024A510 46220000 */ add.d $f0, $f0, $f2
|
||||
/* 178DF4 8024A514 46200120 */ cvt.s.d $f4, $f0
|
||||
/* 178DF8 8024A518 46002007 */ neg.s $f0, $f4
|
||||
/* 178DFC 8024A51C 4600D03C */ c.lt.s $f26, $f0
|
||||
/* 178E00 8024A520 00000000 */ nop
|
||||
/* 178E04 8024A524 45000008 */ bc1f .L8024A548
|
||||
/* 178E08 8024A528 00000000 */ nop
|
||||
/* 178E0C 8024A52C 461A0001 */ sub.s $f0, $f0, $f26
|
||||
/* 178E10 8024A530 3C013F00 */ lui $at, 0x3f00
|
||||
/* 178E14 8024A534 44811000 */ mtc1 $at, $f2
|
||||
/* 178E18 8024A538 00000000 */ nop
|
||||
/* 178E1C 8024A53C 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 178E20 8024A540 00000000 */ nop
|
||||
/* 178E24 8024A544 4600D680 */ add.s $f26, $f26, $f0
|
||||
.L8024A548:
|
||||
/* 178E28 8024A548 461A203C */ c.lt.s $f4, $f26
|
||||
/* 178E2C 8024A54C 00000000 */ nop
|
||||
/* 178E30 8024A550 45000008 */ bc1f .L8024A574
|
||||
/* 178E34 8024A554 00000000 */ nop
|
||||
/* 178E38 8024A558 461A2001 */ sub.s $f0, $f4, $f26
|
||||
/* 178E3C 8024A55C 3C013F00 */ lui $at, 0x3f00
|
||||
/* 178E40 8024A560 44811000 */ mtc1 $at, $f2
|
||||
/* 178E44 8024A564 00000000 */ nop
|
||||
/* 178E48 8024A568 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 178E4C 8024A56C 00000000 */ nop
|
||||
/* 178E50 8024A570 4600D680 */ add.s $f26, $f26, $f0
|
||||
.L8024A574:
|
||||
/* 178E54 8024A574 12400055 */ beqz $s2, .L8024A6CC
|
||||
/* 178E58 8024A578 00000000 */ nop
|
||||
/* 178E5C 8024A57C 3C0141C0 */ lui $at, 0x41c0
|
||||
/* 178E60 8024A580 44810000 */ mtc1 $at, $f0
|
||||
/* 178E64 8024A584 00000000 */ nop
|
||||
/* 178E68 8024A588 4600A501 */ sub.s $f20, $f20, $f0
|
||||
/* 178E6C 8024A58C 4600F781 */ sub.s $f30, $f30, $f0
|
||||
/* 178E70 8024A590 44800000 */ mtc1 $zero, $f0
|
||||
/* 178E74 8024A594 00000000 */ nop
|
||||
/* 178E78 8024A598 4600A03C */ c.lt.s $f20, $f0
|
||||
/* 178E7C 8024A59C 00000000 */ nop
|
||||
/* 178E80 8024A5A0 45030001 */ bc1tl .L8024A5A8
|
||||
/* 178E84 8024A5A4 46000506 */ mov.s $f20, $f0
|
||||
.L8024A5A8:
|
||||
/* 178E88 8024A5A8 4600F03C */ c.lt.s $f30, $f0
|
||||
/* 178E8C 8024A5AC 00000000 */ nop
|
||||
/* 178E90 8024A5B0 45030001 */ bc1tl .L8024A5B8
|
||||
/* 178E94 8024A5B4 46000786 */ mov.s $f30, $f0
|
||||
.L8024A5B8:
|
||||
/* 178E98 8024A5B8 3C03802A */ lui $v1, %hi(BattleCam_BoomLength)
|
||||
/* 178E9C 8024A5BC 2463F280 */ addiu $v1, $v1, %lo(BattleCam_BoomLength)
|
||||
/* 178EA0 8024A5C0 84620000 */ lh $v0, ($v1)
|
||||
/* 178EA4 8024A5C4 461EA080 */ add.s $f2, $f20, $f30
|
||||
/* 178EA8 8024A5C8 44820000 */ mtc1 $v0, $f0
|
||||
/* 178EAC 8024A5CC 00000000 */ nop
|
||||
/* 178EB0 8024A5D0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178EB4 8024A5D4 46020000 */ add.s $f0, $f0, $f2
|
||||
/* 178EB8 8024A5D8 3C02802A */ lui $v0, %hi(D_8029F2A4)
|
||||
/* 178EBC 8024A5DC 8042F2A4 */ lb $v0, %lo(D_8029F2A4)($v0)
|
||||
/* 178EC0 8024A5E0 4600038D */ trunc.w.s $f14, $f0
|
||||
/* 178EC4 8024A5E4 44047000 */ mfc1 $a0, $f14
|
||||
/* 178EC8 8024A5E8 10400010 */ beqz $v0, .L8024A62C
|
||||
/* 178ECC 8024A5EC A4640000 */ sh $a0, ($v1)
|
||||
/* 178ED0 8024A5F0 E63A0054 */ swc1 $f26, 0x54($s1)
|
||||
/* 178ED4 8024A5F4 E63C0058 */ swc1 $f28, 0x58($s1)
|
||||
/* 178ED8 8024A5F8 C7AE0010 */ lwc1 $f14, 0x10($sp)
|
||||
/* 178EDC 8024A5FC 3C02802A */ lui $v0, %hi(BattleCam_BoomZOffset)
|
||||
/* 178EE0 8024A600 8442F286 */ lh $v0, %lo(BattleCam_BoomZOffset)($v0)
|
||||
/* 178EE4 8024A604 3C03802A */ lui $v1, %hi(BattleCam_BoomYaw)
|
||||
/* 178EE8 8024A608 9463F282 */ lhu $v1, %lo(BattleCam_BoomYaw)($v1)
|
||||
/* 178EEC 8024A60C A624001E */ sh $a0, 0x1e($s1)
|
||||
/* 178EF0 8024A610 3C04802A */ lui $a0, %hi(BattleCam_BoomPitch)
|
||||
/* 178EF4 8024A614 9484F284 */ lhu $a0, %lo(BattleCam_BoomPitch)($a0)
|
||||
/* 178EF8 8024A618 00021200 */ sll $v0, $v0, 8
|
||||
/* 178EFC 8024A61C E62E005C */ swc1 $f14, 0x5c($s1)
|
||||
/* 178F00 8024A620 A6220026 */ sh $v0, 0x26($s1)
|
||||
/* 178F04 8024A624 A6230024 */ sh $v1, 0x24($s1)
|
||||
/* 178F08 8024A628 A6240022 */ sh $a0, 0x22($s1)
|
||||
.L8024A62C:
|
||||
/* 178F0C 8024A62C 8622001E */ lh $v0, 0x1e($s1)
|
||||
/* 178F10 8024A630 86240026 */ lh $a0, 0x26($s1)
|
||||
/* 178F14 8024A634 86230024 */ lh $v1, 0x24($s1)
|
||||
/* 178F18 8024A638 44820000 */ mtc1 $v0, $f0
|
||||
/* 178F1C 8024A63C 00000000 */ nop
|
||||
/* 178F20 8024A640 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178F24 8024A644 86220022 */ lh $v0, 0x22($s1)
|
||||
/* 178F28 8024A648 3C01802A */ lui $at, %hi(BattleCam_TargetBoomLength)
|
||||
/* 178F2C 8024A64C E420F28C */ swc1 $f0, %lo(BattleCam_TargetBoomLength)($at)
|
||||
/* 178F30 8024A650 44820000 */ mtc1 $v0, $f0
|
||||
/* 178F34 8024A654 00000000 */ nop
|
||||
/* 178F38 8024A658 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178F3C 8024A65C 3C01802A */ lui $at, %hi(BattleCam_TargetBoomPitch)
|
||||
/* 178F40 8024A660 E420F294 */ swc1 $f0, %lo(BattleCam_TargetBoomPitch)($at)
|
||||
/* 178F44 8024A664 44830000 */ mtc1 $v1, $f0
|
||||
/* 178F48 8024A668 00000000 */ nop
|
||||
/* 178F4C 8024A66C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178F50 8024A670 3C01802A */ lui $at, %hi(BattleCam_TargetBoomYaw)
|
||||
/* 178F54 8024A674 E420F290 */ swc1 $f0, %lo(BattleCam_TargetBoomYaw)($at)
|
||||
/* 178F58 8024A678 04820001 */ bltzl $a0, .L8024A680
|
||||
/* 178F5C 8024A67C 248400FF */ addiu $a0, $a0, 0xff
|
||||
.L8024A680:
|
||||
/* 178F60 8024A680 00041203 */ sra $v0, $a0, 8
|
||||
/* 178F64 8024A684 C6220054 */ lwc1 $f2, 0x54($s1)
|
||||
/* 178F68 8024A688 C6240058 */ lwc1 $f4, 0x58($s1)
|
||||
/* 178F6C 8024A68C C626005C */ lwc1 $f6, 0x5c($s1)
|
||||
/* 178F70 8024A690 3C03802A */ lui $v1, %hi(BattleCam_MoveTimeLeft)
|
||||
/* 178F74 8024A694 9463F29E */ lhu $v1, %lo(BattleCam_MoveTimeLeft)($v1)
|
||||
/* 178F78 8024A698 44820000 */ mtc1 $v0, $f0
|
||||
/* 178F7C 8024A69C 00000000 */ nop
|
||||
/* 178F80 8024A6A0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178F84 8024A6A4 3C01802A */ lui $at, %hi(BattleCam_TargetBoomZOffset)
|
||||
/* 178F88 8024A6A8 E420F298 */ swc1 $f0, %lo(BattleCam_TargetBoomZOffset)($at)
|
||||
/* 178F8C 8024A6AC 3C01802A */ lui $at, %hi(BattleCam_TargetPosX)
|
||||
/* 178F90 8024A6B0 E422F2A8 */ swc1 $f2, %lo(BattleCam_TargetPosX)($at)
|
||||
/* 178F94 8024A6B4 3C01802A */ lui $at, %hi(BattleCam_TargetPosY)
|
||||
/* 178F98 8024A6B8 E424F2AC */ swc1 $f4, %lo(BattleCam_TargetPosY)($at)
|
||||
/* 178F9C 8024A6BC 3C01802A */ lui $at, %hi(BattleCam_TargetPosZ)
|
||||
/* 178FA0 8024A6C0 E426F2B0 */ swc1 $f6, %lo(BattleCam_TargetPosZ)($at)
|
||||
/* 178FA4 8024A6C4 3C01802A */ lui $at, %hi(BattleCam_MoveTimeTotal)
|
||||
/* 178FA8 8024A6C8 A423F2A0 */ sh $v1, %lo(BattleCam_MoveTimeTotal)($at)
|
||||
.L8024A6CC:
|
||||
/* 178FAC 8024A6CC 3C02802A */ lui $v0, %hi(BattleCam_UseLinearInterp)
|
||||
/* 178FB0 8024A6D0 8042F2A5 */ lb $v0, %lo(BattleCam_UseLinearInterp)($v0)
|
||||
/* 178FB4 8024A6D4 14400027 */ bnez $v0, .L8024A774
|
||||
/* 178FB8 8024A6D8 00000000 */ nop
|
||||
/* 178FBC 8024A6DC 3C02802A */ lui $v0, %hi(BattleCam_MoveTimeLeft)
|
||||
/* 178FC0 8024A6E0 8442F29E */ lh $v0, %lo(BattleCam_MoveTimeLeft)($v0)
|
||||
/* 178FC4 8024A6E4 3C03802A */ lui $v1, %hi(BattleCam_MoveTimeTotal)
|
||||
/* 178FC8 8024A6E8 8463F2A0 */ lh $v1, %lo(BattleCam_MoveTimeTotal)($v1)
|
||||
/* 178FCC 8024A6EC 3C013F80 */ lui $at, 0x3f80
|
||||
/* 178FD0 8024A6F0 4481C000 */ mtc1 $at, $f24
|
||||
/* 178FD4 8024A6F4 44822000 */ mtc1 $v0, $f4
|
||||
/* 178FD8 8024A6F8 00000000 */ nop
|
||||
/* 178FDC 8024A6FC 46802120 */ cvt.s.w $f4, $f4
|
||||
/* 178FE0 8024A700 44830000 */ mtc1 $v1, $f0
|
||||
/* 178FE4 8024A704 00000000 */ nop
|
||||
/* 178FE8 8024A708 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 178FEC 8024A70C 46002103 */ div.s $f4, $f4, $f0
|
||||
/* 178FF0 8024A710 4604C301 */ sub.s $f12, $f24, $f4
|
||||
/* 178FF4 8024A714 3C014049 */ lui $at, 0x4049
|
||||
/* 178FF8 8024A718 34210FD0 */ ori $at, $at, 0xfd0
|
||||
/* 178FFC 8024A71C 4481B000 */ mtc1 $at, $f22
|
||||
/* 179000 8024A720 00000000 */ nop
|
||||
/* 179004 8024A724 46166302 */ mul.s $f12, $f12, $f22
|
||||
/* 179008 8024A728 00000000 */ nop
|
||||
/* 17900C 8024A72C 3C013F00 */ lui $at, 0x3f00
|
||||
/* 179010 8024A730 4481A000 */ mtc1 $at, $f20
|
||||
/* 179014 8024A734 00000000 */ nop
|
||||
/* 179018 8024A738 46146302 */ mul.s $f12, $f12, $f20
|
||||
/* 17901C 8024A73C 0C00A85B */ jal sin_rad
|
||||
/* 179020 8024A740 00000000 */ nop
|
||||
/* 179024 8024A744 46160002 */ mul.s $f0, $f0, $f22
|
||||
/* 179028 8024A748 00000000 */ nop
|
||||
/* 17902C 8024A74C 46140302 */ mul.s $f12, $f0, $f20
|
||||
/* 179030 8024A750 0C00A85B */ jal sin_rad
|
||||
/* 179034 8024A754 00000000 */ nop
|
||||
/* 179038 8024A758 46160002 */ mul.s $f0, $f0, $f22
|
||||
/* 17903C 8024A75C 00000000 */ nop
|
||||
/* 179040 8024A760 46140302 */ mul.s $f12, $f0, $f20
|
||||
/* 179044 8024A764 0C00A85B */ jal sin_rad
|
||||
/* 179048 8024A768 00000000 */ nop
|
||||
/* 17904C 8024A76C 080929E8 */ j .L8024A7A0
|
||||
/* 179050 8024A770 4600C101 */ sub.s $f4, $f24, $f0
|
||||
.L8024A774:
|
||||
/* 179054 8024A774 3C02802A */ lui $v0, %hi(BattleCam_MoveTimeLeft)
|
||||
/* 179058 8024A778 8442F29E */ lh $v0, %lo(BattleCam_MoveTimeLeft)($v0)
|
||||
/* 17905C 8024A77C 3C03802A */ lui $v1, %hi(BattleCam_MoveTimeTotal)
|
||||
/* 179060 8024A780 8463F2A0 */ lh $v1, %lo(BattleCam_MoveTimeTotal)($v1)
|
||||
/* 179064 8024A784 44822000 */ mtc1 $v0, $f4
|
||||
/* 179068 8024A788 00000000 */ nop
|
||||
/* 17906C 8024A78C 46802120 */ cvt.s.w $f4, $f4
|
||||
/* 179070 8024A790 44830000 */ mtc1 $v1, $f0
|
||||
/* 179074 8024A794 00000000 */ nop
|
||||
/* 179078 8024A798 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 17907C 8024A79C 46002103 */ div.s $f4, $f4, $f0
|
||||
.L8024A7A0:
|
||||
/* 179080 8024A7A0 3C01802A */ lui $at, %hi(BattleCam_TargetPosX)
|
||||
/* 179084 8024A7A4 C434F2A8 */ lwc1 $f20, %lo(BattleCam_TargetPosX)($at)
|
||||
/* 179088 8024A7A8 4604A502 */ mul.s $f20, $f20, $f4
|
||||
/* 17908C 8024A7AC 00000000 */ nop
|
||||
/* 179090 8024A7B0 3C01802A */ lui $at, %hi(BattleCam_TargetPosY)
|
||||
/* 179094 8024A7B4 C432F2AC */ lwc1 $f18, %lo(BattleCam_TargetPosY)($at)
|
||||
/* 179098 8024A7B8 46049482 */ mul.s $f18, $f18, $f4
|
||||
/* 17909C 8024A7BC 00000000 */ nop
|
||||
/* 1790A0 8024A7C0 3C01802A */ lui $at, %hi(BattleCam_TargetPosZ)
|
||||
/* 1790A4 8024A7C4 C430F2B0 */ lwc1 $f16, %lo(BattleCam_TargetPosZ)($at)
|
||||
/* 1790A8 8024A7C8 46048402 */ mul.s $f16, $f16, $f4
|
||||
/* 1790AC 8024A7CC 00000000 */ nop
|
||||
/* 1790B0 8024A7D0 3C01802A */ lui $at, %hi(BattleCam_TargetBoomZOffset)
|
||||
/* 1790B4 8024A7D4 C426F298 */ lwc1 $f6, %lo(BattleCam_TargetBoomZOffset)($at)
|
||||
/* 1790B8 8024A7D8 46043182 */ mul.s $f6, $f6, $f4
|
||||
/* 1790BC 8024A7DC 00000000 */ nop
|
||||
/* 1790C0 8024A7E0 3C01802A */ lui $at, %hi(BattleCam_TargetBoomLength)
|
||||
/* 1790C4 8024A7E4 C42CF28C */ lwc1 $f12, %lo(BattleCam_TargetBoomLength)($at)
|
||||
/* 1790C8 8024A7E8 46046302 */ mul.s $f12, $f12, $f4
|
||||
/* 1790CC 8024A7EC 00000000 */ nop
|
||||
/* 1790D0 8024A7F0 3C01802A */ lui $at, %hi(BattleCam_TargetBoomYaw)
|
||||
/* 1790D4 8024A7F4 C428F290 */ lwc1 $f8, %lo(BattleCam_TargetBoomYaw)($at)
|
||||
/* 1790D8 8024A7F8 46044202 */ mul.s $f8, $f8, $f4
|
||||
/* 1790DC 8024A7FC 00000000 */ nop
|
||||
/* 1790E0 8024A800 3C013F80 */ lui $at, 0x3f80
|
||||
/* 1790E4 8024A804 44811000 */ mtc1 $at, $f2
|
||||
/* 1790E8 8024A808 00000000 */ nop
|
||||
/* 1790EC 8024A80C 46041081 */ sub.s $f2, $f2, $f4
|
||||
/* 1790F0 8024A810 4602D682 */ mul.s $f26, $f26, $f2
|
||||
/* 1790F4 8024A814 00000000 */ nop
|
||||
/* 1790F8 8024A818 4602E602 */ mul.s $f24, $f28, $f2
|
||||
/* 1790FC 8024A81C 00000000 */ nop
|
||||
/* 179100 8024A820 3C02802A */ lui $v0, %hi(BattleCam_BoomZOffset)
|
||||
/* 179104 8024A824 8442F286 */ lh $v0, %lo(BattleCam_BoomZOffset)($v0)
|
||||
/* 179108 8024A828 44820000 */ mtc1 $v0, $f0
|
||||
/* 17910C 8024A82C 00000000 */ nop
|
||||
/* 179110 8024A830 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 179114 8024A834 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 179118 8024A838 00000000 */ nop
|
||||
/* 17911C 8024A83C C7AE0010 */ lwc1 $f14, 0x10($sp)
|
||||
/* 179120 8024A840 46027582 */ mul.s $f22, $f14, $f2
|
||||
/* 179124 8024A844 00000000 */ nop
|
||||
/* 179128 8024A848 3C02802A */ lui $v0, %hi(BattleCam_BoomLength)
|
||||
/* 17912C 8024A84C 8442F280 */ lh $v0, %lo(BattleCam_BoomLength)($v0)
|
||||
/* 179130 8024A850 44827000 */ mtc1 $v0, $f14
|
||||
/* 179134 8024A854 00000000 */ nop
|
||||
/* 179138 8024A858 468073A0 */ cvt.s.w $f14, $f14
|
||||
/* 17913C 8024A85C 46027382 */ mul.s $f14, $f14, $f2
|
||||
/* 179140 8024A860 00000000 */ nop
|
||||
/* 179144 8024A864 3C02802A */ lui $v0, %hi(BattleCam_BoomYaw)
|
||||
/* 179148 8024A868 8442F282 */ lh $v0, %lo(BattleCam_BoomYaw)($v0)
|
||||
/* 17914C 8024A86C 44825000 */ mtc1 $v0, $f10
|
||||
/* 179150 8024A870 00000000 */ nop
|
||||
/* 179154 8024A874 468052A0 */ cvt.s.w $f10, $f10
|
||||
/* 179158 8024A878 46025282 */ mul.s $f10, $f10, $f2
|
||||
/* 17915C 8024A87C 00000000 */ nop
|
||||
/* 179160 8024A880 46003180 */ add.s $f6, $f6, $f0
|
||||
/* 179164 8024A884 3C014380 */ lui $at, 0x4380
|
||||
/* 179168 8024A888 44810000 */ mtc1 $at, $f0
|
||||
/* 17916C 8024A88C 00000000 */ nop
|
||||
/* 179170 8024A890 46003182 */ mul.s $f6, $f6, $f0
|
||||
/* 179174 8024A894 00000000 */ nop
|
||||
/* 179178 8024A898 3C01802A */ lui $at, %hi(BattleCam_TargetBoomPitch)
|
||||
/* 17917C 8024A89C C420F294 */ lwc1 $f0, %lo(BattleCam_TargetBoomPitch)($at)
|
||||
/* 179180 8024A8A0 46040002 */ mul.s $f0, $f0, $f4
|
||||
/* 179184 8024A8A4 00000000 */ nop
|
||||
/* 179188 8024A8A8 461AA500 */ add.s $f20, $f20, $f26
|
||||
/* 17918C 8024A8AC 46189480 */ add.s $f18, $f18, $f24
|
||||
/* 179190 8024A8B0 46168400 */ add.s $f16, $f16, $f22
|
||||
/* 179194 8024A8B4 3C02802A */ lui $v0, %hi(BattleCam_BoomPitch)
|
||||
/* 179198 8024A8B8 8442F284 */ lh $v0, %lo(BattleCam_BoomPitch)($v0)
|
||||
/* 17919C 8024A8BC 460A4200 */ add.s $f8, $f8, $f10
|
||||
/* 1791A0 8024A8C0 E7AE0018 */ swc1 $f14, 0x18($sp)
|
||||
/* 1791A4 8024A8C4 E6340054 */ swc1 $f20, 0x54($s1)
|
||||
/* 1791A8 8024A8C8 460E6300 */ add.s $f12, $f12, $f14
|
||||
/* 1791AC 8024A8CC 3C04802A */ lui $a0, %hi(BattleCam_MoveTimeLeft)
|
||||
/* 1791B0 8024A8D0 2484F29E */ addiu $a0, $a0, %lo(BattleCam_MoveTimeLeft)
|
||||
/* 1791B4 8024A8D4 44822000 */ mtc1 $v0, $f4
|
||||
/* 1791B8 8024A8D8 00000000 */ nop
|
||||
/* 1791BC 8024A8DC 46802120 */ cvt.s.w $f4, $f4
|
||||
/* 1791C0 8024A8E0 46022102 */ mul.s $f4, $f4, $f2
|
||||
/* 1791C4 8024A8E4 00000000 */ nop
|
||||
/* 1791C8 8024A8E8 E6320058 */ swc1 $f18, 0x58($s1)
|
||||
/* 1791CC 8024A8EC E630005C */ swc1 $f16, 0x5c($s1)
|
||||
/* 1791D0 8024A8F0 4600638D */ trunc.w.s $f14, $f12
|
||||
/* 1791D4 8024A8F4 44027000 */ mfc1 $v0, $f14
|
||||
/* 1791D8 8024A8F8 00000000 */ nop
|
||||
/* 1791DC 8024A8FC A622001E */ sh $v0, 0x1e($s1)
|
||||
/* 1791E0 8024A900 46040000 */ add.s $f0, $f0, $f4
|
||||
/* 1791E4 8024A904 4600438D */ trunc.w.s $f14, $f8
|
||||
/* 1791E8 8024A908 44027000 */ mfc1 $v0, $f14
|
||||
/* 1791EC 8024A90C 00000000 */ nop
|
||||
/* 1791F0 8024A910 A6220024 */ sh $v0, 0x24($s1)
|
||||
/* 1791F4 8024A914 4600038D */ trunc.w.s $f14, $f0
|
||||
/* 1791F8 8024A918 44027000 */ mfc1 $v0, $f14
|
||||
/* 1791FC 8024A91C 00000000 */ nop
|
||||
/* 179200 8024A920 A6220022 */ sh $v0, 0x22($s1)
|
||||
/* 179204 8024A924 4600338D */ trunc.w.s $f14, $f6
|
||||
/* 179208 8024A928 44027000 */ mfc1 $v0, $f14
|
||||
/* 17920C 8024A92C 00000000 */ nop
|
||||
/* 179210 8024A930 A6220026 */ sh $v0, 0x26($s1)
|
||||
/* 179214 8024A934 84820000 */ lh $v0, ($a0)
|
||||
/* 179218 8024A938 94830000 */ lhu $v1, ($a0)
|
||||
/* 17921C 8024A93C 14400006 */ bnez $v0, .L8024A958
|
||||
/* 179220 8024A940 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* 179224 8024A944 24020001 */ addiu $v0, $zero, 1
|
||||
/* 179228 8024A948 3C01802A */ lui $at, %hi(BattleCam_DoneMoving)
|
||||
/* 17922C 8024A94C A022F29C */ sb $v0, %lo(BattleCam_DoneMoving)($at)
|
||||
/* 179230 8024A950 08092A58 */ j .L8024A960
|
||||
/* 179234 8024A954 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8024A958:
|
||||
/* 179238 8024A958 A4820000 */ sh $v0, ($a0)
|
||||
/* 17923C 8024A95C 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8024A960:
|
||||
/* 179240 8024A960 8FBF002C */ lw $ra, 0x2c($sp)
|
||||
/* 179244 8024A964 8FB20028 */ lw $s2, 0x28($sp)
|
||||
/* 179248 8024A968 8FB10024 */ lw $s1, 0x24($sp)
|
||||
/* 17924C 8024A96C 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* 179250 8024A970 D7BE0058 */ ldc1 $f30, 0x58($sp)
|
||||
/* 179254 8024A974 D7BC0050 */ ldc1 $f28, 0x50($sp)
|
||||
/* 179258 8024A978 D7BA0048 */ ldc1 $f26, 0x48($sp)
|
||||
/* 17925C 8024A97C D7B80040 */ ldc1 $f24, 0x40($sp)
|
||||
/* 179260 8024A980 D7B60038 */ ldc1 $f22, 0x38($sp)
|
||||
/* 179264 8024A984 D7B40030 */ ldc1 $f20, 0x30($sp)
|
||||
/* 179268 8024A988 03E00008 */ jr $ra
|
||||
/* 17926C 8024A98C 27BD0060 */ addiu $sp, $sp, 0x60
|
@ -1,436 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel D_8029CC18
|
||||
.double 0.4
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_8024A990
|
||||
/* 179270 8024A990 27BDFFA8 */ addiu $sp, $sp, -0x58
|
||||
/* 179274 8024A994 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 179278 8024A998 3C10800B */ lui $s0, %hi(gCameras+0x558)
|
||||
/* 17927C 8024A99C 261022D8 */ addiu $s0, $s0, %lo(gCameras+0x558)
|
||||
/* 179280 8024A9A0 3C02802A */ lui $v0, %hi(BattleCam_TargetActor)
|
||||
/* 179284 8024A9A4 9442F27C */ lhu $v0, %lo(BattleCam_TargetActor)($v0)
|
||||
/* 179288 8024A9A8 3C04800E */ lui $a0, %hi(gBattleStatus)
|
||||
/* 17928C 8024A9AC 2484C070 */ addiu $a0, $a0, %lo(gBattleStatus)
|
||||
/* 179290 8024A9B0 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 179294 8024A9B4 F7BE0050 */ sdc1 $f30, 0x50($sp)
|
||||
/* 179298 8024A9B8 F7BC0048 */ sdc1 $f28, 0x48($sp)
|
||||
/* 17929C 8024A9BC F7BA0040 */ sdc1 $f26, 0x40($sp)
|
||||
/* 1792A0 8024A9C0 F7B80038 */ sdc1 $f24, 0x38($sp)
|
||||
/* 1792A4 8024A9C4 F7B60030 */ sdc1 $f22, 0x30($sp)
|
||||
/* 1792A8 8024A9C8 F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* 1792AC 8024A9CC 30430700 */ andi $v1, $v0, 0x700
|
||||
/* 1792B0 8024A9D0 304600FF */ andi $a2, $v0, 0xff
|
||||
/* 1792B4 8024A9D4 24020100 */ addiu $v0, $zero, 0x100
|
||||
/* 1792B8 8024A9D8 1062002B */ beq $v1, $v0, .L8024AA88
|
||||
/* 1792BC 8024A9DC 28620101 */ slti $v0, $v1, 0x101
|
||||
/* 1792C0 8024A9E0 10400005 */ beqz $v0, .L8024A9F8
|
||||
/* 1792C4 8024A9E4 24020200 */ addiu $v0, $zero, 0x200
|
||||
/* 1792C8 8024A9E8 10600007 */ beqz $v1, .L8024AA08
|
||||
/* 1792CC 8024A9EC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1792D0 8024A9F0 08092BEF */ j .L8024AFBC
|
||||
/* 1792D4 8024A9F4 00000000 */ nop
|
||||
.L8024A9F8:
|
||||
/* 1792D8 8024A9F8 10620026 */ beq $v1, $v0, .L8024AA94
|
||||
/* 1792DC 8024A9FC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1792E0 8024AA00 08092BEF */ j .L8024AFBC
|
||||
/* 1792E4 8024AA04 00000000 */ nop
|
||||
.L8024AA08:
|
||||
/* 1792E8 8024AA08 8C8400D8 */ lw $a0, 0xd8($a0)
|
||||
/* 1792EC 8024AA0C 14800005 */ bnez $a0, .L8024AA24
|
||||
/* 1792F0 8024AA10 00000000 */ nop
|
||||
.L8024AA14:
|
||||
/* 1792F4 8024AA14 0C093903 */ jal func_8024E40C
|
||||
/* 1792F8 8024AA18 24040002 */ addiu $a0, $zero, 2
|
||||
/* 1792FC 8024AA1C 08092BEF */ j .L8024AFBC
|
||||
/* 179300 8024AA20 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8024AA24:
|
||||
/* 179304 8024AA24 3C028011 */ lui $v0, %hi(gPlayerStatus)
|
||||
/* 179308 8024AA28 2442EFC8 */ addiu $v0, $v0, %lo(gPlayerStatus)
|
||||
/* 17930C 8024AA2C 944200B0 */ lhu $v0, 0xb0($v0)
|
||||
/* 179310 8024AA30 C4820148 */ lwc1 $f2, 0x148($a0)
|
||||
/* 179314 8024AA34 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 179318 8024AA38 00021C03 */ sra $v1, $v0, 0x10
|
||||
/* 17931C 8024AA3C 000217C2 */ srl $v0, $v0, 0x1f
|
||||
/* 179320 8024AA40 00621821 */ addu $v1, $v1, $v0
|
||||
/* 179324 8024AA44 00031843 */ sra $v1, $v1, 1
|
||||
/* 179328 8024AA48 44830000 */ mtc1 $v1, $f0
|
||||
/* 17932C 8024AA4C 00000000 */ nop
|
||||
/* 179330 8024AA50 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 179334 8024AA54 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 179338 8024AA58 C49A0144 */ lwc1 $f26, 0x144($a0)
|
||||
/* 17933C 8024AA5C E7A20010 */ swc1 $f2, 0x10($sp)
|
||||
/* 179340 8024AA60 90820191 */ lbu $v0, 0x191($a0)
|
||||
/* 179344 8024AA64 90830190 */ lbu $v1, 0x190($a0)
|
||||
/* 179348 8024AA68 44824000 */ mtc1 $v0, $f8
|
||||
/* 17934C 8024AA6C 00000000 */ nop
|
||||
/* 179350 8024AA70 46804220 */ cvt.s.w $f8, $f8
|
||||
/* 179354 8024AA74 44833000 */ mtc1 $v1, $f6
|
||||
/* 179358 8024AA78 00000000 */ nop
|
||||
/* 17935C 8024AA7C 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* 179360 8024AA80 08092ABB */ j .L8024AAEC
|
||||
/* 179364 8024AA84 46064080 */ add.s $f2, $f8, $f6
|
||||
.L8024AA88:
|
||||
/* 179368 8024AA88 8C8400DC */ lw $a0, 0xdc($a0)
|
||||
/* 17936C 8024AA8C 08092AA8 */ j .L8024AAA0
|
||||
/* 179370 8024AA90 00000000 */ nop
|
||||
.L8024AA94:
|
||||
/* 179374 8024AA94 00061080 */ sll $v0, $a2, 2
|
||||
/* 179378 8024AA98 00441021 */ addu $v0, $v0, $a0
|
||||
/* 17937C 8024AA9C 8C4400E0 */ lw $a0, 0xe0($v0)
|
||||
.L8024AAA0:
|
||||
/* 179380 8024AAA0 1080FFDC */ beqz $a0, .L8024AA14
|
||||
/* 179384 8024AAA4 00000000 */ nop
|
||||
/* 179388 8024AAA8 90830191 */ lbu $v1, 0x191($a0)
|
||||
/* 17938C 8024AAAC C4820148 */ lwc1 $f2, 0x148($a0)
|
||||
/* 179390 8024AAB0 00031042 */ srl $v0, $v1, 1
|
||||
/* 179394 8024AAB4 44820000 */ mtc1 $v0, $f0
|
||||
/* 179398 8024AAB8 00000000 */ nop
|
||||
/* 17939C 8024AABC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 1793A0 8024AAC0 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 1793A4 8024AAC4 C49A0144 */ lwc1 $f26, 0x144($a0)
|
||||
/* 1793A8 8024AAC8 E7A20010 */ swc1 $f2, 0x10($sp)
|
||||
/* 1793AC 8024AACC 90820190 */ lbu $v0, 0x190($a0)
|
||||
/* 1793B0 8024AAD0 44834000 */ mtc1 $v1, $f8
|
||||
/* 1793B4 8024AAD4 00000000 */ nop
|
||||
/* 1793B8 8024AAD8 46804220 */ cvt.s.w $f8, $f8
|
||||
/* 1793BC 8024AADC 44823000 */ mtc1 $v0, $f6
|
||||
/* 1793C0 8024AAE0 00000000 */ nop
|
||||
/* 1793C4 8024AAE4 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* 1793C8 8024AAE8 46064080 */ add.s $f2, $f8, $f6
|
||||
.L8024AAEC:
|
||||
/* 1793CC 8024AAEC 3C013F00 */ lui $at, 0x3f00
|
||||
/* 1793D0 8024AAF0 44810000 */ mtc1 $at, $f0
|
||||
/* 1793D4 8024AAF4 C49C014C */ lwc1 $f28, 0x14c($a0)
|
||||
/* 1793D8 8024AAF8 46001782 */ mul.s $f30, $f2, $f0
|
||||
/* 1793DC 8024AAFC 00000000 */ nop
|
||||
/* 1793E0 8024AB00 3C02802A */ lui $v0, %hi(D_8029F2A6)
|
||||
/* 1793E4 8024AB04 8042F2A6 */ lb $v0, %lo(D_8029F2A6)($v0)
|
||||
/* 1793E8 8024AB08 10400029 */ beqz $v0, .L8024ABB0
|
||||
/* 1793EC 8024AB0C 00000000 */ nop
|
||||
/* 1793F0 8024AB10 3C01802A */ lui $at, %hi(BattleCam_TargetBoomLength)
|
||||
/* 1793F4 8024AB14 C422F28C */ lwc1 $f2, %lo(BattleCam_TargetBoomLength)($at)
|
||||
/* 1793F8 8024AB18 3C0143FA */ lui $at, 0x43fa
|
||||
/* 1793FC 8024AB1C 44810000 */ mtc1 $at, $f0
|
||||
/* 179400 8024AB20 00000000 */ nop
|
||||
/* 179404 8024AB24 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 179408 8024AB28 3C01802A */ lui $at, %hi(D_8029CC18)
|
||||
/* 17940C 8024AB2C D422CC18 */ ldc1 $f2, %lo(D_8029CC18)($at)
|
||||
/* 179410 8024AB30 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 179414 8024AB34 46220002 */ mul.d $f0, $f0, $f2
|
||||
/* 179418 8024AB38 00000000 */ nop
|
||||
/* 17941C 8024AB3C 3C01403E */ lui $at, 0x403e
|
||||
/* 179420 8024AB40 44811800 */ mtc1 $at, $f3
|
||||
/* 179424 8024AB44 44801000 */ mtc1 $zero, $f2
|
||||
/* 179428 8024AB48 00000000 */ nop
|
||||
/* 17942C 8024AB4C 46220000 */ add.d $f0, $f0, $f2
|
||||
/* 179430 8024AB50 46200120 */ cvt.s.d $f4, $f0
|
||||
/* 179434 8024AB54 46002007 */ neg.s $f0, $f4
|
||||
/* 179438 8024AB58 4600D03C */ c.lt.s $f26, $f0
|
||||
/* 17943C 8024AB5C 00000000 */ nop
|
||||
/* 179440 8024AB60 45000008 */ bc1f .L8024AB84
|
||||
/* 179444 8024AB64 00000000 */ nop
|
||||
/* 179448 8024AB68 461A0001 */ sub.s $f0, $f0, $f26
|
||||
/* 17944C 8024AB6C 3C013F00 */ lui $at, 0x3f00
|
||||
/* 179450 8024AB70 44811000 */ mtc1 $at, $f2
|
||||
/* 179454 8024AB74 00000000 */ nop
|
||||
/* 179458 8024AB78 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 17945C 8024AB7C 00000000 */ nop
|
||||
/* 179460 8024AB80 4600D680 */ add.s $f26, $f26, $f0
|
||||
.L8024AB84:
|
||||
/* 179464 8024AB84 461A203C */ c.lt.s $f4, $f26
|
||||
/* 179468 8024AB88 00000000 */ nop
|
||||
/* 17946C 8024AB8C 45000008 */ bc1f .L8024ABB0
|
||||
/* 179470 8024AB90 00000000 */ nop
|
||||
/* 179474 8024AB94 461A2001 */ sub.s $f0, $f4, $f26
|
||||
/* 179478 8024AB98 3C013F00 */ lui $at, 0x3f00
|
||||
/* 17947C 8024AB9C 44811000 */ mtc1 $at, $f2
|
||||
/* 179480 8024ABA0 00000000 */ nop
|
||||
/* 179484 8024ABA4 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 179488 8024ABA8 00000000 */ nop
|
||||
/* 17948C 8024ABAC 4600D680 */ add.s $f26, $f26, $f0
|
||||
.L8024ABB0:
|
||||
/* 179490 8024ABB0 10A00043 */ beqz $a1, .L8024ACC0
|
||||
/* 179494 8024ABB4 00000000 */ nop
|
||||
/* 179498 8024ABB8 3C0141C0 */ lui $at, 0x41c0
|
||||
/* 17949C 8024ABBC 44810000 */ mtc1 $at, $f0
|
||||
/* 1794A0 8024ABC0 00000000 */ nop
|
||||
/* 1794A4 8024ABC4 46003181 */ sub.s $f6, $f6, $f0
|
||||
/* 1794A8 8024ABC8 46004201 */ sub.s $f8, $f8, $f0
|
||||
/* 1794AC 8024ABCC 44800000 */ mtc1 $zero, $f0
|
||||
/* 1794B0 8024ABD0 00000000 */ nop
|
||||
/* 1794B4 8024ABD4 4600303C */ c.lt.s $f6, $f0
|
||||
/* 1794B8 8024ABD8 00000000 */ nop
|
||||
/* 1794BC 8024ABDC 45030001 */ bc1tl .L8024ABE4
|
||||
/* 1794C0 8024ABE0 46000186 */ mov.s $f6, $f0
|
||||
.L8024ABE4:
|
||||
/* 1794C4 8024ABE4 4600403C */ c.lt.s $f8, $f0
|
||||
/* 1794C8 8024ABE8 00000000 */ nop
|
||||
/* 1794CC 8024ABEC 45030001 */ bc1tl .L8024ABF4
|
||||
/* 1794D0 8024ABF0 46000206 */ mov.s $f8, $f0
|
||||
.L8024ABF4:
|
||||
/* 1794D4 8024ABF4 86040026 */ lh $a0, 0x26($s0)
|
||||
/* 1794D8 8024ABF8 8602001E */ lh $v0, 0x1e($s0)
|
||||
/* 1794DC 8024ABFC 86030022 */ lh $v1, 0x22($s0)
|
||||
/* 1794E0 8024AC00 44820000 */ mtc1 $v0, $f0
|
||||
/* 1794E4 8024AC04 00000000 */ nop
|
||||
/* 1794E8 8024AC08 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 1794EC 8024AC0C 3C01802A */ lui $at, %hi(BattleCam_TargetBoomLength)
|
||||
/* 1794F0 8024AC10 E420F28C */ swc1 $f0, %lo(BattleCam_TargetBoomLength)($at)
|
||||
/* 1794F4 8024AC14 44830000 */ mtc1 $v1, $f0
|
||||
/* 1794F8 8024AC18 00000000 */ nop
|
||||
/* 1794FC 8024AC1C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 179500 8024AC20 3C03802A */ lui $v1, %hi(BattleCam_BoomLength)
|
||||
/* 179504 8024AC24 2463F280 */ addiu $v1, $v1, %lo(BattleCam_BoomLength)
|
||||
/* 179508 8024AC28 3C01802A */ lui $at, %hi(BattleCam_TargetBoomPitch)
|
||||
/* 17950C 8024AC2C E420F294 */ swc1 $f0, %lo(BattleCam_TargetBoomPitch)($at)
|
||||
/* 179510 8024AC30 84620000 */ lh $v0, ($v1)
|
||||
/* 179514 8024AC34 46083000 */ add.s $f0, $f6, $f8
|
||||
/* 179518 8024AC38 44821000 */ mtc1 $v0, $f2
|
||||
/* 17951C 8024AC3C 00000000 */ nop
|
||||
/* 179520 8024AC40 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 179524 8024AC44 86020024 */ lh $v0, 0x24($s0)
|
||||
/* 179528 8024AC48 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 17952C 8024AC4C 44820000 */ mtc1 $v0, $f0
|
||||
/* 179530 8024AC50 00000000 */ nop
|
||||
/* 179534 8024AC54 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 179538 8024AC58 3C01802A */ lui $at, %hi(BattleCam_TargetBoomYaw)
|
||||
/* 17953C 8024AC5C E420F290 */ swc1 $f0, %lo(BattleCam_TargetBoomYaw)($at)
|
||||
/* 179540 8024AC60 4600148D */ trunc.w.s $f18, $f2
|
||||
/* 179544 8024AC64 44029000 */ mfc1 $v0, $f18
|
||||
/* 179548 8024AC68 04810002 */ bgez $a0, .L8024AC74
|
||||
/* 17954C 8024AC6C A4620000 */ sh $v0, ($v1)
|
||||
/* 179550 8024AC70 248400FF */ addiu $a0, $a0, 0xff
|
||||
.L8024AC74:
|
||||
/* 179554 8024AC74 00041203 */ sra $v0, $a0, 8
|
||||
/* 179558 8024AC78 C6020054 */ lwc1 $f2, 0x54($s0)
|
||||
/* 17955C 8024AC7C C6040058 */ lwc1 $f4, 0x58($s0)
|
||||
/* 179560 8024AC80 C606005C */ lwc1 $f6, 0x5c($s0)
|
||||
/* 179564 8024AC84 3C03802A */ lui $v1, %hi(BattleCam_MoveTimeLeft)
|
||||
/* 179568 8024AC88 9463F29E */ lhu $v1, %lo(BattleCam_MoveTimeLeft)($v1)
|
||||
/* 17956C 8024AC8C 44820000 */ mtc1 $v0, $f0
|
||||
/* 179570 8024AC90 00000000 */ nop
|
||||
/* 179574 8024AC94 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 179578 8024AC98 3C01802A */ lui $at, %hi(BattleCam_TargetBoomZOffset)
|
||||
/* 17957C 8024AC9C E420F298 */ swc1 $f0, %lo(BattleCam_TargetBoomZOffset)($at)
|
||||
/* 179580 8024ACA0 3C01802A */ lui $at, %hi(BattleCam_TargetPosX)
|
||||
/* 179584 8024ACA4 E422F2A8 */ swc1 $f2, %lo(BattleCam_TargetPosX)($at)
|
||||
/* 179588 8024ACA8 3C01802A */ lui $at, %hi(BattleCam_TargetPosY)
|
||||
/* 17958C 8024ACAC E424F2AC */ swc1 $f4, %lo(BattleCam_TargetPosY)($at)
|
||||
/* 179590 8024ACB0 3C01802A */ lui $at, %hi(BattleCam_TargetPosZ)
|
||||
/* 179594 8024ACB4 E426F2B0 */ swc1 $f6, %lo(BattleCam_TargetPosZ)($at)
|
||||
/* 179598 8024ACB8 3C01802A */ lui $at, %hi(BattleCam_MoveTimeTotal)
|
||||
/* 17959C 8024ACBC A423F2A0 */ sh $v1, %lo(BattleCam_MoveTimeTotal)($at)
|
||||
.L8024ACC0:
|
||||
/* 1795A0 8024ACC0 3C02802A */ lui $v0, %hi(BattleCam_UseLinearInterp)
|
||||
/* 1795A4 8024ACC4 8042F2A5 */ lb $v0, %lo(BattleCam_UseLinearInterp)($v0)
|
||||
/* 1795A8 8024ACC8 14400027 */ bnez $v0, .L8024AD68
|
||||
/* 1795AC 8024ACCC 00000000 */ nop
|
||||
/* 1795B0 8024ACD0 3C02802A */ lui $v0, %hi(BattleCam_MoveTimeLeft)
|
||||
/* 1795B4 8024ACD4 8442F29E */ lh $v0, %lo(BattleCam_MoveTimeLeft)($v0)
|
||||
/* 1795B8 8024ACD8 3C03802A */ lui $v1, %hi(BattleCam_MoveTimeTotal)
|
||||
/* 1795BC 8024ACDC 8463F2A0 */ lh $v1, %lo(BattleCam_MoveTimeTotal)($v1)
|
||||
/* 1795C0 8024ACE0 3C013F80 */ lui $at, 0x3f80
|
||||
/* 1795C4 8024ACE4 4481C000 */ mtc1 $at, $f24
|
||||
/* 1795C8 8024ACE8 4482A000 */ mtc1 $v0, $f20
|
||||
/* 1795CC 8024ACEC 00000000 */ nop
|
||||
/* 1795D0 8024ACF0 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 1795D4 8024ACF4 44830000 */ mtc1 $v1, $f0
|
||||
/* 1795D8 8024ACF8 00000000 */ nop
|
||||
/* 1795DC 8024ACFC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 1795E0 8024AD00 4600A503 */ div.s $f20, $f20, $f0
|
||||
/* 1795E4 8024AD04 4614C301 */ sub.s $f12, $f24, $f20
|
||||
/* 1795E8 8024AD08 3C014049 */ lui $at, 0x4049
|
||||
/* 1795EC 8024AD0C 34210FD0 */ ori $at, $at, 0xfd0
|
||||
/* 1795F0 8024AD10 4481B000 */ mtc1 $at, $f22
|
||||
/* 1795F4 8024AD14 00000000 */ nop
|
||||
/* 1795F8 8024AD18 46166302 */ mul.s $f12, $f12, $f22
|
||||
/* 1795FC 8024AD1C 00000000 */ nop
|
||||
/* 179600 8024AD20 3C013F00 */ lui $at, 0x3f00
|
||||
/* 179604 8024AD24 4481A000 */ mtc1 $at, $f20
|
||||
/* 179608 8024AD28 00000000 */ nop
|
||||
/* 17960C 8024AD2C 46146302 */ mul.s $f12, $f12, $f20
|
||||
/* 179610 8024AD30 0C00A85B */ jal sin_rad
|
||||
/* 179614 8024AD34 00000000 */ nop
|
||||
/* 179618 8024AD38 46160002 */ mul.s $f0, $f0, $f22
|
||||
/* 17961C 8024AD3C 00000000 */ nop
|
||||
/* 179620 8024AD40 46140302 */ mul.s $f12, $f0, $f20
|
||||
/* 179624 8024AD44 0C00A85B */ jal sin_rad
|
||||
/* 179628 8024AD48 00000000 */ nop
|
||||
/* 17962C 8024AD4C 46160002 */ mul.s $f0, $f0, $f22
|
||||
/* 179630 8024AD50 00000000 */ nop
|
||||
/* 179634 8024AD54 46140302 */ mul.s $f12, $f0, $f20
|
||||
/* 179638 8024AD58 0C00A85B */ jal sin_rad
|
||||
/* 17963C 8024AD5C 00000000 */ nop
|
||||
/* 179640 8024AD60 08092B65 */ j .L8024AD94
|
||||
/* 179644 8024AD64 4600C501 */ sub.s $f20, $f24, $f0
|
||||
.L8024AD68:
|
||||
/* 179648 8024AD68 3C02802A */ lui $v0, %hi(BattleCam_MoveTimeLeft)
|
||||
/* 17964C 8024AD6C 8442F29E */ lh $v0, %lo(BattleCam_MoveTimeLeft)($v0)
|
||||
/* 179650 8024AD70 3C03802A */ lui $v1, %hi(BattleCam_MoveTimeTotal)
|
||||
/* 179654 8024AD74 8463F2A0 */ lh $v1, %lo(BattleCam_MoveTimeTotal)($v1)
|
||||
/* 179658 8024AD78 4482A000 */ mtc1 $v0, $f20
|
||||
/* 17965C 8024AD7C 00000000 */ nop
|
||||
/* 179660 8024AD80 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 179664 8024AD84 44830000 */ mtc1 $v1, $f0
|
||||
/* 179668 8024AD88 00000000 */ nop
|
||||
/* 17966C 8024AD8C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 179670 8024AD90 4600A503 */ div.s $f20, $f20, $f0
|
||||
.L8024AD94:
|
||||
/* 179674 8024AD94 3C02802A */ lui $v0, %hi(D_8029F2A3)
|
||||
/* 179678 8024AD98 8042F2A3 */ lb $v0, %lo(D_8029F2A3)($v0)
|
||||
/* 17967C 8024AD9C 10400013 */ beqz $v0, .L8024ADEC
|
||||
/* 179680 8024ADA0 00000000 */ nop
|
||||
/* 179684 8024ADA4 3C01802A */ lui $at, %hi(BattleCam_TargetPosX)
|
||||
/* 179688 8024ADA8 C424F2A8 */ lwc1 $f4, %lo(BattleCam_TargetPosX)($at)
|
||||
/* 17968C 8024ADAC 46142102 */ mul.s $f4, $f4, $f20
|
||||
/* 179690 8024ADB0 00000000 */ nop
|
||||
/* 179694 8024ADB4 3C02802A */ lui $v0, %hi(D_8029F2A7)
|
||||
/* 179698 8024ADB8 8042F2A7 */ lb $v0, %lo(D_8029F2A7)($v0)
|
||||
/* 17969C 8024ADBC 44821000 */ mtc1 $v0, $f2
|
||||
/* 1796A0 8024ADC0 00000000 */ nop
|
||||
/* 1796A4 8024ADC4 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 1796A8 8024ADC8 4602D080 */ add.s $f2, $f26, $f2
|
||||
/* 1796AC 8024ADCC 3C013F80 */ lui $at, 0x3f80
|
||||
/* 1796B0 8024ADD0 44810000 */ mtc1 $at, $f0
|
||||
/* 1796B4 8024ADD4 00000000 */ nop
|
||||
/* 1796B8 8024ADD8 46140001 */ sub.s $f0, $f0, $f20
|
||||
/* 1796BC 8024ADDC 46001082 */ mul.s $f2, $f2, $f0
|
||||
/* 1796C0 8024ADE0 00000000 */ nop
|
||||
/* 1796C4 8024ADE4 46022100 */ add.s $f4, $f4, $f2
|
||||
/* 1796C8 8024ADE8 E6040054 */ swc1 $f4, 0x54($s0)
|
||||
.L8024ADEC:
|
||||
/* 1796CC 8024ADEC 3C02802A */ lui $v0, %hi(D_8029F2A2)
|
||||
/* 1796D0 8024ADF0 8042F2A2 */ lb $v0, %lo(D_8029F2A2)($v0)
|
||||
/* 1796D4 8024ADF4 1040000E */ beqz $v0, .L8024AE30
|
||||
/* 1796D8 8024ADF8 00000000 */ nop
|
||||
/* 1796DC 8024ADFC 3C01802A */ lui $at, %hi(BattleCam_TargetPosY)
|
||||
/* 1796E0 8024AE00 C422F2AC */ lwc1 $f2, %lo(BattleCam_TargetPosY)($at)
|
||||
/* 1796E4 8024AE04 46141082 */ mul.s $f2, $f2, $f20
|
||||
/* 1796E8 8024AE08 00000000 */ nop
|
||||
/* 1796EC 8024AE0C 3C013F80 */ lui $at, 0x3f80
|
||||
/* 1796F0 8024AE10 44810000 */ mtc1 $at, $f0
|
||||
/* 1796F4 8024AE14 00000000 */ nop
|
||||
/* 1796F8 8024AE18 46140001 */ sub.s $f0, $f0, $f20
|
||||
/* 1796FC 8024AE1C C7B20010 */ lwc1 $f18, 0x10($sp)
|
||||
/* 179700 8024AE20 46009002 */ mul.s $f0, $f18, $f0
|
||||
/* 179704 8024AE24 00000000 */ nop
|
||||
/* 179708 8024AE28 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 17970C 8024AE2C E6020058 */ swc1 $f2, 0x58($s0)
|
||||
.L8024AE30:
|
||||
/* 179710 8024AE30 3C01802A */ lui $at, %hi(BattleCam_TargetPosZ)
|
||||
/* 179714 8024AE34 C430F2B0 */ lwc1 $f16, %lo(BattleCam_TargetPosZ)($at)
|
||||
/* 179718 8024AE38 46148402 */ mul.s $f16, $f16, $f20
|
||||
/* 17971C 8024AE3C 00000000 */ nop
|
||||
/* 179720 8024AE40 3C01802A */ lui $at, %hi(BattleCam_TargetBoomZOffset)
|
||||
/* 179724 8024AE44 C42CF298 */ lwc1 $f12, %lo(BattleCam_TargetBoomZOffset)($at)
|
||||
/* 179728 8024AE48 46146302 */ mul.s $f12, $f12, $f20
|
||||
/* 17972C 8024AE4C 00000000 */ nop
|
||||
/* 179730 8024AE50 3C01802A */ lui $at, %hi(BattleCam_TargetBoomLength)
|
||||
/* 179734 8024AE54 C42EF28C */ lwc1 $f14, %lo(BattleCam_TargetBoomLength)($at)
|
||||
/* 179738 8024AE58 46147382 */ mul.s $f14, $f14, $f20
|
||||
/* 17973C 8024AE5C 00000000 */ nop
|
||||
/* 179740 8024AE60 3C01802A */ lui $at, %hi(BattleCam_TargetBoomYaw)
|
||||
/* 179744 8024AE64 C428F290 */ lwc1 $f8, %lo(BattleCam_TargetBoomYaw)($at)
|
||||
/* 179748 8024AE68 46144202 */ mul.s $f8, $f8, $f20
|
||||
/* 17974C 8024AE6C 00000000 */ nop
|
||||
/* 179750 8024AE70 3C01802A */ lui $at, %hi(BattleCam_TargetBoomPitch)
|
||||
/* 179754 8024AE74 C426F294 */ lwc1 $f6, %lo(BattleCam_TargetBoomPitch)($at)
|
||||
/* 179758 8024AE78 46143182 */ mul.s $f6, $f6, $f20
|
||||
/* 17975C 8024AE7C 00000000 */ nop
|
||||
/* 179760 8024AE80 3C013F80 */ lui $at, 0x3f80
|
||||
/* 179764 8024AE84 44812000 */ mtc1 $at, $f4
|
||||
/* 179768 8024AE88 3C02802A */ lui $v0, %hi(BattleCam_BoomZOffset)
|
||||
/* 17976C 8024AE8C 8442F286 */ lh $v0, %lo(BattleCam_BoomZOffset)($v0)
|
||||
/* 179770 8024AE90 46142101 */ sub.s $f4, $f4, $f20
|
||||
/* 179774 8024AE94 44820000 */ mtc1 $v0, $f0
|
||||
/* 179778 8024AE98 00000000 */ nop
|
||||
/* 17977C 8024AE9C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 179780 8024AEA0 46040002 */ mul.s $f0, $f0, $f4
|
||||
/* 179784 8024AEA4 00000000 */ nop
|
||||
/* 179788 8024AEA8 3C02802A */ lui $v0, %hi(BattleCam_BoomLength)
|
||||
/* 17978C 8024AEAC 8442F280 */ lh $v0, %lo(BattleCam_BoomLength)($v0)
|
||||
/* 179790 8024AEB0 4604E702 */ mul.s $f28, $f28, $f4
|
||||
/* 179794 8024AEB4 00000000 */ nop
|
||||
/* 179798 8024AEB8 44825000 */ mtc1 $v0, $f10
|
||||
/* 17979C 8024AEBC 00000000 */ nop
|
||||
/* 1797A0 8024AEC0 468052A0 */ cvt.s.w $f10, $f10
|
||||
/* 1797A4 8024AEC4 3C02802A */ lui $v0, %hi(BattleCam_BoomYaw)
|
||||
/* 1797A8 8024AEC8 8442F282 */ lh $v0, %lo(BattleCam_BoomYaw)($v0)
|
||||
/* 1797AC 8024AECC 44821000 */ mtc1 $v0, $f2
|
||||
/* 1797B0 8024AED0 00000000 */ nop
|
||||
/* 1797B4 8024AED4 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 1797B8 8024AED8 46041082 */ mul.s $f2, $f2, $f4
|
||||
/* 1797BC 8024AEDC 00000000 */ nop
|
||||
/* 1797C0 8024AEE0 46006300 */ add.s $f12, $f12, $f0
|
||||
/* 1797C4 8024AEE4 3C014380 */ lui $at, 0x4380
|
||||
/* 1797C8 8024AEE8 44810000 */ mtc1 $at, $f0
|
||||
/* 1797CC 8024AEEC 00000000 */ nop
|
||||
/* 1797D0 8024AEF0 46006302 */ mul.s $f12, $f12, $f0
|
||||
/* 1797D4 8024AEF4 00000000 */ nop
|
||||
/* 1797D8 8024AEF8 3C014200 */ lui $at, 0x4200
|
||||
/* 1797DC 8024AEFC 44810000 */ mtc1 $at, $f0
|
||||
/* 1797E0 8024AF00 00000000 */ nop
|
||||
/* 1797E4 8024AF04 4600F001 */ sub.s $f0, $f30, $f0
|
||||
/* 1797E8 8024AF08 3C02802A */ lui $v0, %hi(BattleCam_BoomPitch)
|
||||
/* 1797EC 8024AF0C 8442F284 */ lh $v0, %lo(BattleCam_BoomPitch)($v0)
|
||||
/* 1797F0 8024AF10 46005280 */ add.s $f10, $f10, $f0
|
||||
/* 1797F4 8024AF14 44820000 */ mtc1 $v0, $f0
|
||||
/* 1797F8 8024AF18 00000000 */ nop
|
||||
/* 1797FC 8024AF1C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 179800 8024AF20 46040002 */ mul.s $f0, $f0, $f4
|
||||
/* 179804 8024AF24 00000000 */ nop
|
||||
/* 179808 8024AF28 46045282 */ mul.s $f10, $f10, $f4
|
||||
/* 17980C 8024AF2C 00000000 */ nop
|
||||
/* 179810 8024AF30 E7BC0018 */ swc1 $f28, 0x18($sp)
|
||||
/* 179814 8024AF34 461C8400 */ add.s $f16, $f16, $f28
|
||||
/* 179818 8024AF38 46024200 */ add.s $f8, $f8, $f2
|
||||
/* 17981C 8024AF3C 3C04802A */ lui $a0, %hi(BattleCam_MoveTimeLeft)
|
||||
/* 179820 8024AF40 2484F29E */ addiu $a0, $a0, %lo(BattleCam_MoveTimeLeft)
|
||||
/* 179824 8024AF44 E610005C */ swc1 $f16, 0x5c($s0)
|
||||
/* 179828 8024AF48 46003180 */ add.s $f6, $f6, $f0
|
||||
/* 17982C 8024AF4C 4600448D */ trunc.w.s $f18, $f8
|
||||
/* 179830 8024AF50 44029000 */ mfc1 $v0, $f18
|
||||
/* 179834 8024AF54 00000000 */ nop
|
||||
/* 179838 8024AF58 A6020024 */ sh $v0, 0x24($s0)
|
||||
/* 17983C 8024AF5C 460A7380 */ add.s $f14, $f14, $f10
|
||||
/* 179840 8024AF60 4600348D */ trunc.w.s $f18, $f6
|
||||
/* 179844 8024AF64 44029000 */ mfc1 $v0, $f18
|
||||
/* 179848 8024AF68 00000000 */ nop
|
||||
/* 17984C 8024AF6C A6020022 */ sh $v0, 0x22($s0)
|
||||
/* 179850 8024AF70 4600748D */ trunc.w.s $f18, $f14
|
||||
/* 179854 8024AF74 44029000 */ mfc1 $v0, $f18
|
||||
/* 179858 8024AF78 00000000 */ nop
|
||||
/* 17985C 8024AF7C A602001E */ sh $v0, 0x1e($s0)
|
||||
/* 179860 8024AF80 4600648D */ trunc.w.s $f18, $f12
|
||||
/* 179864 8024AF84 44029000 */ mfc1 $v0, $f18
|
||||
/* 179868 8024AF88 00000000 */ nop
|
||||
/* 17986C 8024AF8C A6020026 */ sh $v0, 0x26($s0)
|
||||
/* 179870 8024AF90 84820000 */ lh $v0, ($a0)
|
||||
/* 179874 8024AF94 94830000 */ lhu $v1, ($a0)
|
||||
/* 179878 8024AF98 14400006 */ bnez $v0, .L8024AFB4
|
||||
/* 17987C 8024AF9C 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* 179880 8024AFA0 24020001 */ addiu $v0, $zero, 1
|
||||
/* 179884 8024AFA4 3C01802A */ lui $at, %hi(BattleCam_DoneMoving)
|
||||
/* 179888 8024AFA8 A022F29C */ sb $v0, %lo(BattleCam_DoneMoving)($at)
|
||||
/* 17988C 8024AFAC 08092BEF */ j .L8024AFBC
|
||||
/* 179890 8024AFB0 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8024AFB4:
|
||||
/* 179894 8024AFB4 A4820000 */ sh $v0, ($a0)
|
||||
/* 179898 8024AFB8 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8024AFBC:
|
||||
/* 17989C 8024AFBC 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 1798A0 8024AFC0 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* 1798A4 8024AFC4 D7BE0050 */ ldc1 $f30, 0x50($sp)
|
||||
/* 1798A8 8024AFC8 D7BC0048 */ ldc1 $f28, 0x48($sp)
|
||||
/* 1798AC 8024AFCC D7BA0040 */ ldc1 $f26, 0x40($sp)
|
||||
/* 1798B0 8024AFD0 D7B80038 */ ldc1 $f24, 0x38($sp)
|
||||
/* 1798B4 8024AFD4 D7B60030 */ ldc1 $f22, 0x30($sp)
|
||||
/* 1798B8 8024AFD8 D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* 1798BC 8024AFDC 03E00008 */ jr $ra
|
||||
/* 1798C0 8024AFE0 27BD0058 */ addiu $sp, $sp, 0x58
|
@ -1,417 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
.section .rodata
|
||||
|
||||
dlabel D_8029CC20
|
||||
.double 0.4
|
||||
|
||||
.section .text
|
||||
|
||||
glabel func_8024AFE4
|
||||
/* 1798C4 8024AFE4 27BDFFA8 */ addiu $sp, $sp, -0x58
|
||||
/* 1798C8 8024AFE8 AFB00020 */ sw $s0, 0x20($sp)
|
||||
/* 1798CC 8024AFEC 3C10800B */ lui $s0, %hi(gCameras+0x558)
|
||||
/* 1798D0 8024AFF0 261022D8 */ addiu $s0, $s0, %lo(gCameras+0x558)
|
||||
/* 1798D4 8024AFF4 3C02802A */ lui $v0, %hi(BattleCam_TargetActor)
|
||||
/* 1798D8 8024AFF8 9442F27C */ lhu $v0, %lo(BattleCam_TargetActor)($v0)
|
||||
/* 1798DC 8024AFFC 3C04800E */ lui $a0, %hi(gBattleStatus)
|
||||
/* 1798E0 8024B000 2484C070 */ addiu $a0, $a0, %lo(gBattleStatus)
|
||||
/* 1798E4 8024B004 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 1798E8 8024B008 F7BE0050 */ sdc1 $f30, 0x50($sp)
|
||||
/* 1798EC 8024B00C F7BC0048 */ sdc1 $f28, 0x48($sp)
|
||||
/* 1798F0 8024B010 F7BA0040 */ sdc1 $f26, 0x40($sp)
|
||||
/* 1798F4 8024B014 F7B80038 */ sdc1 $f24, 0x38($sp)
|
||||
/* 1798F8 8024B018 F7B60030 */ sdc1 $f22, 0x30($sp)
|
||||
/* 1798FC 8024B01C F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* 179900 8024B020 30430700 */ andi $v1, $v0, 0x700
|
||||
/* 179904 8024B024 304600FF */ andi $a2, $v0, 0xff
|
||||
/* 179908 8024B028 24020100 */ addiu $v0, $zero, 0x100
|
||||
/* 17990C 8024B02C 10620026 */ beq $v1, $v0, .L8024B0C8
|
||||
/* 179910 8024B030 28620101 */ slti $v0, $v1, 0x101
|
||||
/* 179914 8024B034 10400005 */ beqz $v0, .L8024B04C
|
||||
/* 179918 8024B038 24020200 */ addiu $v0, $zero, 0x200
|
||||
/* 17991C 8024B03C 10600007 */ beqz $v1, .L8024B05C
|
||||
/* 179920 8024B040 24020002 */ addiu $v0, $zero, 2
|
||||
/* 179924 8024B044 08092D75 */ j .L8024B5D4
|
||||
/* 179928 8024B048 00000000 */ nop
|
||||
.L8024B04C:
|
||||
/* 17992C 8024B04C 10620021 */ beq $v1, $v0, .L8024B0D4
|
||||
/* 179930 8024B050 24020002 */ addiu $v0, $zero, 2
|
||||
/* 179934 8024B054 08092D75 */ j .L8024B5D4
|
||||
/* 179938 8024B058 00000000 */ nop
|
||||
.L8024B05C:
|
||||
/* 17993C 8024B05C 8C8400D8 */ lw $a0, 0xd8($a0)
|
||||
/* 179940 8024B060 1080015C */ beqz $a0, .L8024B5D4
|
||||
/* 179944 8024B064 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 179948 8024B068 C49E001C */ lwc1 $f30, 0x1c($a0)
|
||||
/* 17994C 8024B06C C4860144 */ lwc1 $f6, 0x144($a0)
|
||||
/* 179950 8024B070 C49A0018 */ lwc1 $f26, 0x18($a0)
|
||||
/* 179954 8024B074 E7BE0018 */ swc1 $f30, 0x18($sp)
|
||||
/* 179958 8024B078 90830191 */ lbu $v1, 0x191($a0)
|
||||
/* 17995C 8024B07C 90820190 */ lbu $v0, 0x190($a0)
|
||||
/* 179960 8024B080 C49E0020 */ lwc1 $f30, 0x20($a0)
|
||||
/* 179964 8024B084 00621821 */ addu $v1, $v1, $v0
|
||||
/* 179968 8024B088 00031843 */ sra $v1, $v1, 1
|
||||
/* 17996C 8024B08C 3C028011 */ lui $v0, %hi(gPlayerStatus)
|
||||
/* 179970 8024B090 2442EFC8 */ addiu $v0, $v0, %lo(gPlayerStatus)
|
||||
/* 179974 8024B094 E7BE0010 */ swc1 $f30, 0x10($sp)
|
||||
/* 179978 8024B098 944200B0 */ lhu $v0, 0xb0($v0)
|
||||
/* 17997C 8024B09C 4483F000 */ mtc1 $v1, $f30
|
||||
/* 179980 8024B0A0 00000000 */ nop
|
||||
/* 179984 8024B0A4 4680F7A0 */ cvt.s.w $f30, $f30
|
||||
/* 179988 8024B0A8 E7BE0014 */ swc1 $f30, 0x14($sp)
|
||||
/* 17998C 8024B0AC C4820148 */ lwc1 $f2, 0x148($a0)
|
||||
/* 179990 8024B0B0 00021400 */ sll $v0, $v0, 0x10
|
||||
/* 179994 8024B0B4 00021C03 */ sra $v1, $v0, 0x10
|
||||
/* 179998 8024B0B8 000217C2 */ srl $v0, $v0, 0x1f
|
||||
/* 17999C 8024B0BC 00621821 */ addu $v1, $v1, $v0
|
||||
/* 1799A0 8024B0C0 08092C4A */ j .L8024B128
|
||||
/* 1799A4 8024B0C4 00031843 */ sra $v1, $v1, 1
|
||||
.L8024B0C8:
|
||||
/* 1799A8 8024B0C8 8C8400DC */ lw $a0, 0xdc($a0)
|
||||
/* 1799AC 8024B0CC 08092C38 */ j .L8024B0E0
|
||||
/* 1799B0 8024B0D0 00000000 */ nop
|
||||
.L8024B0D4:
|
||||
/* 1799B4 8024B0D4 00061080 */ sll $v0, $a2, 2
|
||||
/* 1799B8 8024B0D8 00441021 */ addu $v0, $v0, $a0
|
||||
/* 1799BC 8024B0DC 8C4400E0 */ lw $a0, 0xe0($v0)
|
||||
.L8024B0E0:
|
||||
/* 1799C0 8024B0E0 1080013C */ beqz $a0, .L8024B5D4
|
||||
/* 1799C4 8024B0E4 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 1799C8 8024B0E8 C49E001C */ lwc1 $f30, 0x1c($a0)
|
||||
/* 1799CC 8024B0EC C4860144 */ lwc1 $f6, 0x144($a0)
|
||||
/* 1799D0 8024B0F0 C49A0018 */ lwc1 $f26, 0x18($a0)
|
||||
/* 1799D4 8024B0F4 E7BE0018 */ swc1 $f30, 0x18($sp)
|
||||
/* 1799D8 8024B0F8 90830191 */ lbu $v1, 0x191($a0)
|
||||
/* 1799DC 8024B0FC 90820190 */ lbu $v0, 0x190($a0)
|
||||
/* 1799E0 8024B100 C49E0020 */ lwc1 $f30, 0x20($a0)
|
||||
/* 1799E4 8024B104 00621021 */ addu $v0, $v1, $v0
|
||||
/* 1799E8 8024B108 00021043 */ sra $v0, $v0, 1
|
||||
/* 1799EC 8024B10C E7BE0010 */ swc1 $f30, 0x10($sp)
|
||||
/* 1799F0 8024B110 4482F000 */ mtc1 $v0, $f30
|
||||
/* 1799F4 8024B114 00000000 */ nop
|
||||
/* 1799F8 8024B118 4680F7A0 */ cvt.s.w $f30, $f30
|
||||
/* 1799FC 8024B11C 00031842 */ srl $v1, $v1, 1
|
||||
/* 179A00 8024B120 E7BE0014 */ swc1 $f30, 0x14($sp)
|
||||
/* 179A04 8024B124 C4820148 */ lwc1 $f2, 0x148($a0)
|
||||
.L8024B128:
|
||||
/* 179A08 8024B128 44830000 */ mtc1 $v1, $f0
|
||||
/* 179A0C 8024B12C 00000000 */ nop
|
||||
/* 179A10 8024B130 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 179A14 8024B134 3C02802A */ lui $v0, %hi(D_8029F2A2)
|
||||
/* 179A18 8024B138 8042F2A2 */ lb $v0, %lo(D_8029F2A2)($v0)
|
||||
/* 179A1C 8024B13C 1040000F */ beqz $v0, .L8024B17C
|
||||
/* 179A20 8024B140 46001000 */ add.s $f0, $f2, $f0
|
||||
/* 179A24 8024B144 C7BE0018 */ lwc1 $f30, 0x18($sp)
|
||||
/* 179A28 8024B148 461E0001 */ sub.s $f0, $f0, $f30
|
||||
/* 179A2C 8024B14C 3C013F00 */ lui $at, 0x3f00
|
||||
/* 179A30 8024B150 44811000 */ mtc1 $at, $f2
|
||||
/* 179A34 8024B154 00000000 */ nop
|
||||
/* 179A38 8024B158 46020082 */ mul.s $f2, $f0, $f2
|
||||
/* 179A3C 8024B15C 00000000 */ nop
|
||||
/* 179A40 8024B160 3C0140C0 */ lui $at, 0x40c0
|
||||
/* 179A44 8024B164 44812000 */ mtc1 $at, $f4
|
||||
/* 179A48 8024B168 00000000 */ nop
|
||||
/* 179A4C 8024B16C 46040003 */ div.s $f0, $f0, $f4
|
||||
/* 179A50 8024B170 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 179A54 8024B174 4602F780 */ add.s $f30, $f30, $f2
|
||||
/* 179A58 8024B178 E7BE0018 */ swc1 $f30, 0x18($sp)
|
||||
.L8024B17C:
|
||||
/* 179A5C 8024B17C 3C02802A */ lui $v0, %hi(D_8029F2A3)
|
||||
/* 179A60 8024B180 8042F2A3 */ lb $v0, %lo(D_8029F2A3)($v0)
|
||||
/* 179A64 8024B184 10400012 */ beqz $v0, .L8024B1D0
|
||||
/* 179A68 8024B188 00000000 */ nop
|
||||
/* 179A6C 8024B18C 461A3001 */ sub.s $f0, $f6, $f26
|
||||
/* 179A70 8024B190 3C013F00 */ lui $at, 0x3f00
|
||||
/* 179A74 8024B194 44811000 */ mtc1 $at, $f2
|
||||
/* 179A78 8024B198 00000000 */ nop
|
||||
/* 179A7C 8024B19C 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 179A80 8024B1A0 00000000 */ nop
|
||||
/* 179A84 8024B1A4 4600D680 */ add.s $f26, $f26, $f0
|
||||
/* 179A88 8024B1A8 3C014296 */ lui $at, 0x4296
|
||||
/* 179A8C 8024B1AC 44810000 */ mtc1 $at, $f0
|
||||
/* 179A90 8024B1B0 00000000 */ nop
|
||||
/* 179A94 8024B1B4 461A003C */ c.lt.s $f0, $f26
|
||||
/* 179A98 8024B1B8 00000000 */ nop
|
||||
/* 179A9C 8024B1BC 45000004 */ bc1f .L8024B1D0
|
||||
/* 179AA0 8024B1C0 00000000 */ nop
|
||||
/* 179AA4 8024B1C4 461A0001 */ sub.s $f0, $f0, $f26
|
||||
/* 179AA8 8024B1C8 46000005 */ abs.s $f0, $f0
|
||||
/* 179AAC 8024B1CC 4600D681 */ sub.s $f26, $f26, $f0
|
||||
.L8024B1D0:
|
||||
/* 179AB0 8024B1D0 3C02802A */ lui $v0, %hi(D_8029F2A6)
|
||||
/* 179AB4 8024B1D4 8042F2A6 */ lb $v0, %lo(D_8029F2A6)($v0)
|
||||
/* 179AB8 8024B1D8 10400029 */ beqz $v0, .L8024B280
|
||||
/* 179ABC 8024B1DC 00000000 */ nop
|
||||
/* 179AC0 8024B1E0 3C01802A */ lui $at, %hi(BattleCam_TargetBoomLength)
|
||||
/* 179AC4 8024B1E4 C422F28C */ lwc1 $f2, %lo(BattleCam_TargetBoomLength)($at)
|
||||
/* 179AC8 8024B1E8 3C0143FA */ lui $at, 0x43fa
|
||||
/* 179ACC 8024B1EC 44810000 */ mtc1 $at, $f0
|
||||
/* 179AD0 8024B1F0 00000000 */ nop
|
||||
/* 179AD4 8024B1F4 46020001 */ sub.s $f0, $f0, $f2
|
||||
/* 179AD8 8024B1F8 3C01802A */ lui $at, %hi(D_8029CC20)
|
||||
/* 179ADC 8024B1FC D422CC20 */ ldc1 $f2, %lo(D_8029CC20)($at)
|
||||
/* 179AE0 8024B200 46000021 */ cvt.d.s $f0, $f0
|
||||
/* 179AE4 8024B204 46220002 */ mul.d $f0, $f0, $f2
|
||||
/* 179AE8 8024B208 00000000 */ nop
|
||||
/* 179AEC 8024B20C 3C01403E */ lui $at, 0x403e
|
||||
/* 179AF0 8024B210 44811800 */ mtc1 $at, $f3
|
||||
/* 179AF4 8024B214 44801000 */ mtc1 $zero, $f2
|
||||
/* 179AF8 8024B218 00000000 */ nop
|
||||
/* 179AFC 8024B21C 46220000 */ add.d $f0, $f0, $f2
|
||||
/* 179B00 8024B220 46200120 */ cvt.s.d $f4, $f0
|
||||
/* 179B04 8024B224 46002007 */ neg.s $f0, $f4
|
||||
/* 179B08 8024B228 4600D03C */ c.lt.s $f26, $f0
|
||||
/* 179B0C 8024B22C 00000000 */ nop
|
||||
/* 179B10 8024B230 45000008 */ bc1f .L8024B254
|
||||
/* 179B14 8024B234 00000000 */ nop
|
||||
/* 179B18 8024B238 461A0001 */ sub.s $f0, $f0, $f26
|
||||
/* 179B1C 8024B23C 3C013F00 */ lui $at, 0x3f00
|
||||
/* 179B20 8024B240 44811000 */ mtc1 $at, $f2
|
||||
/* 179B24 8024B244 00000000 */ nop
|
||||
/* 179B28 8024B248 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 179B2C 8024B24C 00000000 */ nop
|
||||
/* 179B30 8024B250 4600D680 */ add.s $f26, $f26, $f0
|
||||
.L8024B254:
|
||||
/* 179B34 8024B254 461A203C */ c.lt.s $f4, $f26
|
||||
/* 179B38 8024B258 00000000 */ nop
|
||||
/* 179B3C 8024B25C 45000008 */ bc1f .L8024B280
|
||||
/* 179B40 8024B260 00000000 */ nop
|
||||
/* 179B44 8024B264 461A2001 */ sub.s $f0, $f4, $f26
|
||||
/* 179B48 8024B268 3C013F00 */ lui $at, 0x3f00
|
||||
/* 179B4C 8024B26C 44811000 */ mtc1 $at, $f2
|
||||
/* 179B50 8024B270 00000000 */ nop
|
||||
/* 179B54 8024B274 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 179B58 8024B278 00000000 */ nop
|
||||
/* 179B5C 8024B27C 4600D680 */ add.s $f26, $f26, $f0
|
||||
.L8024B280:
|
||||
/* 179B60 8024B280 10A00029 */ beqz $a1, .L8024B328
|
||||
/* 179B64 8024B284 00000000 */ nop
|
||||
/* 179B68 8024B288 8602001E */ lh $v0, 0x1e($s0)
|
||||
/* 179B6C 8024B28C 86040026 */ lh $a0, 0x26($s0)
|
||||
/* 179B70 8024B290 86030024 */ lh $v1, 0x24($s0)
|
||||
/* 179B74 8024B294 44820000 */ mtc1 $v0, $f0
|
||||
/* 179B78 8024B298 00000000 */ nop
|
||||
/* 179B7C 8024B29C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 179B80 8024B2A0 86020022 */ lh $v0, 0x22($s0)
|
||||
/* 179B84 8024B2A4 3C01802A */ lui $at, %hi(BattleCam_TargetBoomLength)
|
||||
/* 179B88 8024B2A8 E420F28C */ swc1 $f0, %lo(BattleCam_TargetBoomLength)($at)
|
||||
/* 179B8C 8024B2AC 44820000 */ mtc1 $v0, $f0
|
||||
/* 179B90 8024B2B0 00000000 */ nop
|
||||
/* 179B94 8024B2B4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 179B98 8024B2B8 3C01802A */ lui $at, %hi(BattleCam_TargetBoomPitch)
|
||||
/* 179B9C 8024B2BC E420F294 */ swc1 $f0, %lo(BattleCam_TargetBoomPitch)($at)
|
||||
/* 179BA0 8024B2C0 44830000 */ mtc1 $v1, $f0
|
||||
/* 179BA4 8024B2C4 00000000 */ nop
|
||||
/* 179BA8 8024B2C8 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 179BAC 8024B2CC 3C01802A */ lui $at, %hi(BattleCam_TargetBoomYaw)
|
||||
/* 179BB0 8024B2D0 E420F290 */ swc1 $f0, %lo(BattleCam_TargetBoomYaw)($at)
|
||||
/* 179BB4 8024B2D4 04820001 */ bltzl $a0, .L8024B2DC
|
||||
/* 179BB8 8024B2D8 248400FF */ addiu $a0, $a0, 0xff
|
||||
.L8024B2DC:
|
||||
/* 179BBC 8024B2DC 00041203 */ sra $v0, $a0, 8
|
||||
/* 179BC0 8024B2E0 C6020054 */ lwc1 $f2, 0x54($s0)
|
||||
/* 179BC4 8024B2E4 C6040058 */ lwc1 $f4, 0x58($s0)
|
||||
/* 179BC8 8024B2E8 C606005C */ lwc1 $f6, 0x5c($s0)
|
||||
/* 179BCC 8024B2EC 3C03802A */ lui $v1, %hi(BattleCam_MoveTimeLeft)
|
||||
/* 179BD0 8024B2F0 9463F29E */ lhu $v1, %lo(BattleCam_MoveTimeLeft)($v1)
|
||||
/* 179BD4 8024B2F4 44820000 */ mtc1 $v0, $f0
|
||||
/* 179BD8 8024B2F8 00000000 */ nop
|
||||
/* 179BDC 8024B2FC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 179BE0 8024B300 3C01802A */ lui $at, %hi(BattleCam_TargetBoomZOffset)
|
||||
/* 179BE4 8024B304 E420F298 */ swc1 $f0, %lo(BattleCam_TargetBoomZOffset)($at)
|
||||
/* 179BE8 8024B308 3C01802A */ lui $at, %hi(BattleCam_TargetPosX)
|
||||
/* 179BEC 8024B30C E422F2A8 */ swc1 $f2, %lo(BattleCam_TargetPosX)($at)
|
||||
/* 179BF0 8024B310 3C01802A */ lui $at, %hi(BattleCam_TargetPosY)
|
||||
/* 179BF4 8024B314 E424F2AC */ swc1 $f4, %lo(BattleCam_TargetPosY)($at)
|
||||
/* 179BF8 8024B318 3C01802A */ lui $at, %hi(BattleCam_TargetPosZ)
|
||||
/* 179BFC 8024B31C E426F2B0 */ swc1 $f6, %lo(BattleCam_TargetPosZ)($at)
|
||||
/* 179C00 8024B320 3C01802A */ lui $at, %hi(BattleCam_MoveTimeTotal)
|
||||
/* 179C04 8024B324 A423F2A0 */ sh $v1, %lo(BattleCam_MoveTimeTotal)($at)
|
||||
.L8024B328:
|
||||
/* 179C08 8024B328 3C02802A */ lui $v0, %hi(BattleCam_UseLinearInterp)
|
||||
/* 179C0C 8024B32C 8042F2A5 */ lb $v0, %lo(BattleCam_UseLinearInterp)($v0)
|
||||
/* 179C10 8024B330 14400027 */ bnez $v0, .L8024B3D0
|
||||
/* 179C14 8024B334 00000000 */ nop
|
||||
/* 179C18 8024B338 3C02802A */ lui $v0, %hi(BattleCam_MoveTimeLeft)
|
||||
/* 179C1C 8024B33C 8442F29E */ lh $v0, %lo(BattleCam_MoveTimeLeft)($v0)
|
||||
/* 179C20 8024B340 3C03802A */ lui $v1, %hi(BattleCam_MoveTimeTotal)
|
||||
/* 179C24 8024B344 8463F2A0 */ lh $v1, %lo(BattleCam_MoveTimeTotal)($v1)
|
||||
/* 179C28 8024B348 3C013F80 */ lui $at, 0x3f80
|
||||
/* 179C2C 8024B34C 4481C000 */ mtc1 $at, $f24
|
||||
/* 179C30 8024B350 4482E000 */ mtc1 $v0, $f28
|
||||
/* 179C34 8024B354 00000000 */ nop
|
||||
/* 179C38 8024B358 4680E720 */ cvt.s.w $f28, $f28
|
||||
/* 179C3C 8024B35C 44830000 */ mtc1 $v1, $f0
|
||||
/* 179C40 8024B360 00000000 */ nop
|
||||
/* 179C44 8024B364 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 179C48 8024B368 4600E703 */ div.s $f28, $f28, $f0
|
||||
/* 179C4C 8024B36C 461CC301 */ sub.s $f12, $f24, $f28
|
||||
/* 179C50 8024B370 3C014049 */ lui $at, 0x4049
|
||||
/* 179C54 8024B374 34210FD0 */ ori $at, $at, 0xfd0
|
||||
/* 179C58 8024B378 4481B000 */ mtc1 $at, $f22
|
||||
/* 179C5C 8024B37C 00000000 */ nop
|
||||
/* 179C60 8024B380 46166302 */ mul.s $f12, $f12, $f22
|
||||
/* 179C64 8024B384 00000000 */ nop
|
||||
/* 179C68 8024B388 3C013F00 */ lui $at, 0x3f00
|
||||
/* 179C6C 8024B38C 4481A000 */ mtc1 $at, $f20
|
||||
/* 179C70 8024B390 00000000 */ nop
|
||||
/* 179C74 8024B394 46146302 */ mul.s $f12, $f12, $f20
|
||||
/* 179C78 8024B398 0C00A85B */ jal sin_rad
|
||||
/* 179C7C 8024B39C 00000000 */ nop
|
||||
/* 179C80 8024B3A0 46160002 */ mul.s $f0, $f0, $f22
|
||||
/* 179C84 8024B3A4 00000000 */ nop
|
||||
/* 179C88 8024B3A8 46140302 */ mul.s $f12, $f0, $f20
|
||||
/* 179C8C 8024B3AC 0C00A85B */ jal sin_rad
|
||||
/* 179C90 8024B3B0 00000000 */ nop
|
||||
/* 179C94 8024B3B4 46160002 */ mul.s $f0, $f0, $f22
|
||||
/* 179C98 8024B3B8 00000000 */ nop
|
||||
/* 179C9C 8024B3BC 46140302 */ mul.s $f12, $f0, $f20
|
||||
/* 179CA0 8024B3C0 0C00A85B */ jal sin_rad
|
||||
/* 179CA4 8024B3C4 00000000 */ nop
|
||||
/* 179CA8 8024B3C8 08092CFF */ j .L8024B3FC
|
||||
/* 179CAC 8024B3CC 4600C701 */ sub.s $f28, $f24, $f0
|
||||
.L8024B3D0:
|
||||
/* 179CB0 8024B3D0 3C02802A */ lui $v0, %hi(BattleCam_MoveTimeLeft)
|
||||
/* 179CB4 8024B3D4 8442F29E */ lh $v0, %lo(BattleCam_MoveTimeLeft)($v0)
|
||||
/* 179CB8 8024B3D8 3C03802A */ lui $v1, %hi(BattleCam_MoveTimeTotal)
|
||||
/* 179CBC 8024B3DC 8463F2A0 */ lh $v1, %lo(BattleCam_MoveTimeTotal)($v1)
|
||||
/* 179CC0 8024B3E0 4482E000 */ mtc1 $v0, $f28
|
||||
/* 179CC4 8024B3E4 00000000 */ nop
|
||||
/* 179CC8 8024B3E8 4680E720 */ cvt.s.w $f28, $f28
|
||||
/* 179CCC 8024B3EC 44830000 */ mtc1 $v1, $f0
|
||||
/* 179CD0 8024B3F0 00000000 */ nop
|
||||
/* 179CD4 8024B3F4 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 179CD8 8024B3F8 4600E703 */ div.s $f28, $f28, $f0
|
||||
.L8024B3FC:
|
||||
/* 179CDC 8024B3FC 3C01802A */ lui $at, %hi(BattleCam_TargetPosX)
|
||||
/* 179CE0 8024B400 C434F2A8 */ lwc1 $f20, %lo(BattleCam_TargetPosX)($at)
|
||||
/* 179CE4 8024B404 461CA502 */ mul.s $f20, $f20, $f28
|
||||
/* 179CE8 8024B408 00000000 */ nop
|
||||
/* 179CEC 8024B40C 3C01802A */ lui $at, %hi(BattleCam_TargetPosY)
|
||||
/* 179CF0 8024B410 C432F2AC */ lwc1 $f18, %lo(BattleCam_TargetPosY)($at)
|
||||
/* 179CF4 8024B414 461C9482 */ mul.s $f18, $f18, $f28
|
||||
/* 179CF8 8024B418 00000000 */ nop
|
||||
/* 179CFC 8024B41C 3C01802A */ lui $at, %hi(BattleCam_TargetPosZ)
|
||||
/* 179D00 8024B420 C430F2B0 */ lwc1 $f16, %lo(BattleCam_TargetPosZ)($at)
|
||||
/* 179D04 8024B424 461C8402 */ mul.s $f16, $f16, $f28
|
||||
/* 179D08 8024B428 00000000 */ nop
|
||||
/* 179D0C 8024B42C 3C01802A */ lui $at, %hi(BattleCam_TargetBoomZOffset)
|
||||
/* 179D10 8024B430 C42AF298 */ lwc1 $f10, %lo(BattleCam_TargetBoomZOffset)($at)
|
||||
/* 179D14 8024B434 461C5282 */ mul.s $f10, $f10, $f28
|
||||
/* 179D18 8024B438 00000000 */ nop
|
||||
/* 179D1C 8024B43C 3C01802A */ lui $at, %hi(BattleCam_TargetBoomLength)
|
||||
/* 179D20 8024B440 C42EF28C */ lwc1 $f14, %lo(BattleCam_TargetBoomLength)($at)
|
||||
/* 179D24 8024B444 461C7382 */ mul.s $f14, $f14, $f28
|
||||
/* 179D28 8024B448 00000000 */ nop
|
||||
/* 179D2C 8024B44C 3C01802A */ lui $at, %hi(BattleCam_TargetBoomYaw)
|
||||
/* 179D30 8024B450 C428F290 */ lwc1 $f8, %lo(BattleCam_TargetBoomYaw)($at)
|
||||
/* 179D34 8024B454 461C4202 */ mul.s $f8, $f8, $f28
|
||||
/* 179D38 8024B458 00000000 */ nop
|
||||
/* 179D3C 8024B45C 3C01802A */ lui $at, %hi(BattleCam_TargetBoomPitch)
|
||||
/* 179D40 8024B460 C424F294 */ lwc1 $f4, %lo(BattleCam_TargetBoomPitch)($at)
|
||||
/* 179D44 8024B464 461C2102 */ mul.s $f4, $f4, $f28
|
||||
/* 179D48 8024B468 00000000 */ nop
|
||||
/* 179D4C 8024B46C 3C013F80 */ lui $at, 0x3f80
|
||||
/* 179D50 8024B470 44811000 */ mtc1 $at, $f2
|
||||
/* 179D54 8024B474 00000000 */ nop
|
||||
/* 179D58 8024B478 461C1081 */ sub.s $f2, $f2, $f28
|
||||
/* 179D5C 8024B47C 4602D682 */ mul.s $f26, $f26, $f2
|
||||
/* 179D60 8024B480 00000000 */ nop
|
||||
/* 179D64 8024B484 C7BE0018 */ lwc1 $f30, 0x18($sp)
|
||||
/* 179D68 8024B488 4602F602 */ mul.s $f24, $f30, $f2
|
||||
/* 179D6C 8024B48C 00000000 */ nop
|
||||
/* 179D70 8024B490 3C02802A */ lui $v0, %hi(BattleCam_BoomZOffset)
|
||||
/* 179D74 8024B494 8442F286 */ lh $v0, %lo(BattleCam_BoomZOffset)($v0)
|
||||
/* 179D78 8024B498 44820000 */ mtc1 $v0, $f0
|
||||
/* 179D7C 8024B49C 00000000 */ nop
|
||||
/* 179D80 8024B4A0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 179D84 8024B4A4 3C02802A */ lui $v0, %hi(BattleCam_BoomLength)
|
||||
/* 179D88 8024B4A8 8442F280 */ lh $v0, %lo(BattleCam_BoomLength)($v0)
|
||||
/* 179D8C 8024B4AC 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 179D90 8024B4B0 00000000 */ nop
|
||||
/* 179D94 8024B4B4 44826000 */ mtc1 $v0, $f12
|
||||
/* 179D98 8024B4B8 00000000 */ nop
|
||||
/* 179D9C 8024B4BC 46806320 */ cvt.s.w $f12, $f12
|
||||
/* 179DA0 8024B4C0 3C02802A */ lui $v0, %hi(BattleCam_BoomYaw)
|
||||
/* 179DA4 8024B4C4 8442F282 */ lh $v0, %lo(BattleCam_BoomYaw)($v0)
|
||||
/* 179DA8 8024B4C8 44823000 */ mtc1 $v0, $f6
|
||||
/* 179DAC 8024B4CC 00000000 */ nop
|
||||
/* 179DB0 8024B4D0 468031A0 */ cvt.s.w $f6, $f6
|
||||
/* 179DB4 8024B4D4 46023182 */ mul.s $f6, $f6, $f2
|
||||
/* 179DB8 8024B4D8 00000000 */ nop
|
||||
/* 179DBC 8024B4DC C7BE0010 */ lwc1 $f30, 0x10($sp)
|
||||
/* 179DC0 8024B4E0 4602F582 */ mul.s $f22, $f30, $f2
|
||||
/* 179DC4 8024B4E4 00000000 */ nop
|
||||
/* 179DC8 8024B4E8 46005280 */ add.s $f10, $f10, $f0
|
||||
/* 179DCC 8024B4EC 3C014380 */ lui $at, 0x4380
|
||||
/* 179DD0 8024B4F0 44810000 */ mtc1 $at, $f0
|
||||
/* 179DD4 8024B4F4 00000000 */ nop
|
||||
/* 179DD8 8024B4F8 46005282 */ mul.s $f10, $f10, $f0
|
||||
/* 179DDC 8024B4FC 00000000 */ nop
|
||||
/* 179DE0 8024B500 C7BE0014 */ lwc1 $f30, 0x14($sp)
|
||||
/* 179DE4 8024B504 3C014200 */ lui $at, 0x4200
|
||||
/* 179DE8 8024B508 44810000 */ mtc1 $at, $f0
|
||||
/* 179DEC 8024B50C 00000000 */ nop
|
||||
/* 179DF0 8024B510 4600F001 */ sub.s $f0, $f30, $f0
|
||||
/* 179DF4 8024B514 3C02802A */ lui $v0, %hi(BattleCam_BoomPitch)
|
||||
/* 179DF8 8024B518 8442F284 */ lh $v0, %lo(BattleCam_BoomPitch)($v0)
|
||||
/* 179DFC 8024B51C 46006300 */ add.s $f12, $f12, $f0
|
||||
/* 179E00 8024B520 44820000 */ mtc1 $v0, $f0
|
||||
/* 179E04 8024B524 00000000 */ nop
|
||||
/* 179E08 8024B528 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 179E0C 8024B52C 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 179E10 8024B530 00000000 */ nop
|
||||
/* 179E14 8024B534 46026302 */ mul.s $f12, $f12, $f2
|
||||
/* 179E18 8024B538 00000000 */ nop
|
||||
/* 179E1C 8024B53C 461AA500 */ add.s $f20, $f20, $f26
|
||||
/* 179E20 8024B540 46189480 */ add.s $f18, $f18, $f24
|
||||
/* 179E24 8024B544 46064200 */ add.s $f8, $f8, $f6
|
||||
/* 179E28 8024B548 3C04802A */ lui $a0, %hi(BattleCam_MoveTimeLeft)
|
||||
/* 179E2C 8024B54C 2484F29E */ addiu $a0, $a0, %lo(BattleCam_MoveTimeLeft)
|
||||
/* 179E30 8024B550 46168400 */ add.s $f16, $f16, $f22
|
||||
/* 179E34 8024B554 E6140054 */ swc1 $f20, 0x54($s0)
|
||||
/* 179E38 8024B558 E6120058 */ swc1 $f18, 0x58($s0)
|
||||
/* 179E3C 8024B55C E610005C */ swc1 $f16, 0x5c($s0)
|
||||
/* 179E40 8024B560 46002100 */ add.s $f4, $f4, $f0
|
||||
/* 179E44 8024B564 4600478D */ trunc.w.s $f30, $f8
|
||||
/* 179E48 8024B568 4402F000 */ mfc1 $v0, $f30
|
||||
/* 179E4C 8024B56C 00000000 */ nop
|
||||
/* 179E50 8024B570 A6020024 */ sh $v0, 0x24($s0)
|
||||
/* 179E54 8024B574 460C7380 */ add.s $f14, $f14, $f12
|
||||
/* 179E58 8024B578 4600278D */ trunc.w.s $f30, $f4
|
||||
/* 179E5C 8024B57C 4402F000 */ mfc1 $v0, $f30
|
||||
/* 179E60 8024B580 00000000 */ nop
|
||||
/* 179E64 8024B584 A6020022 */ sh $v0, 0x22($s0)
|
||||
/* 179E68 8024B588 4600778D */ trunc.w.s $f30, $f14
|
||||
/* 179E6C 8024B58C 4402F000 */ mfc1 $v0, $f30
|
||||
/* 179E70 8024B590 00000000 */ nop
|
||||
/* 179E74 8024B594 A602001E */ sh $v0, 0x1e($s0)
|
||||
/* 179E78 8024B598 4600578D */ trunc.w.s $f30, $f10
|
||||
/* 179E7C 8024B59C 4402F000 */ mfc1 $v0, $f30
|
||||
/* 179E80 8024B5A0 00000000 */ nop
|
||||
/* 179E84 8024B5A4 A6020026 */ sh $v0, 0x26($s0)
|
||||
/* 179E88 8024B5A8 84820000 */ lh $v0, ($a0)
|
||||
/* 179E8C 8024B5AC 94830000 */ lhu $v1, ($a0)
|
||||
/* 179E90 8024B5B0 14400006 */ bnez $v0, .L8024B5CC
|
||||
/* 179E94 8024B5B4 2462FFFF */ addiu $v0, $v1, -1
|
||||
/* 179E98 8024B5B8 24020001 */ addiu $v0, $zero, 1
|
||||
/* 179E9C 8024B5BC 3C01802A */ lui $at, %hi(BattleCam_DoneMoving)
|
||||
/* 179EA0 8024B5C0 A022F29C */ sb $v0, %lo(BattleCam_DoneMoving)($at)
|
||||
/* 179EA4 8024B5C4 08092D75 */ j .L8024B5D4
|
||||
/* 179EA8 8024B5C8 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8024B5CC:
|
||||
/* 179EAC 8024B5CC A4820000 */ sh $v0, ($a0)
|
||||
/* 179EB0 8024B5D0 0000102D */ daddu $v0, $zero, $zero
|
||||
.L8024B5D4:
|
||||
/* 179EB4 8024B5D4 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 179EB8 8024B5D8 8FB00020 */ lw $s0, 0x20($sp)
|
||||
/* 179EBC 8024B5DC D7BE0050 */ ldc1 $f30, 0x50($sp)
|
||||
/* 179EC0 8024B5E0 D7BC0048 */ ldc1 $f28, 0x48($sp)
|
||||
/* 179EC4 8024B5E4 D7BA0040 */ ldc1 $f26, 0x40($sp)
|
||||
/* 179EC8 8024B5E8 D7B80038 */ ldc1 $f24, 0x38($sp)
|
||||
/* 179ECC 8024B5EC D7B60030 */ ldc1 $f22, 0x30($sp)
|
||||
/* 179ED0 8024B5F0 D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* 179ED4 8024B5F4 03E00008 */ jr $ra
|
||||
/* 179ED8 8024B5F8 27BD0058 */ addiu $sp, $sp, 0x58
|
@ -47,7 +47,7 @@ glabel btl_state_update_partner_menu
|
||||
/* 41CFE4 802A8254 080AA0B8 */ j .L802A82E0
|
||||
/* 41CFE8 802A8258 00000000 */ nop
|
||||
.L802A825C:
|
||||
/* 41CFEC 802A825C 0C093903 */ jal func_8024E40C
|
||||
/* 41CFEC 802A825C 0C093903 */ jal btl_cam_use_preset
|
||||
/* 41CFF0 802A8260 24040002 */ addiu $a0, $zero, 2
|
||||
/* 41CFF4 802A8264 8E820000 */ lw $v0, ($s4)
|
||||
/* 41CFF8 802A8268 3C03F3FF */ lui $v1, 0xf3ff
|
||||
|
@ -32,7 +32,7 @@ glabel btl_state_update_peach_menu
|
||||
/* 41E924 802A9B94 00400008 */ jr $v0
|
||||
/* 41E928 802A9B98 00000000 */ nop
|
||||
.L802A9B9C_41E92C:
|
||||
/* 41E92C 802A9B9C 0C093903 */ jal func_8024E40C
|
||||
/* 41E92C 802A9B9C 0C093903 */ jal btl_cam_use_preset
|
||||
/* 41E930 802A9BA0 24040002 */ addiu $a0, $zero, 2
|
||||
/* 41E934 802A9BA4 0C093936 */ jal btl_cam_move
|
||||
/* 41E938 802A9BA8 2404000A */ addiu $a0, $zero, 0xa
|
||||
|
@ -46,7 +46,7 @@ glabel btl_state_update_player_menu
|
||||
/* 41A79C 802A5A0C AEC00188 */ sw $zero, 0x188($s6)
|
||||
/* 41A7A0 802A5A10 104008D8 */ beqz $v0, .L802A7D74
|
||||
/* 41A7A4 802A5A14 00000000 */ nop
|
||||
/* 41A7A8 802A5A18 0C093903 */ jal func_8024E40C
|
||||
/* 41A7A8 802A5A18 0C093903 */ jal btl_cam_use_preset
|
||||
/* 41A7AC 802A5A1C 24040002 */ addiu $a0, $zero, 2
|
||||
/* 41A7B0 802A5A20 0C093936 */ jal btl_cam_move
|
||||
/* 41A7B4 802A5A24 2404000A */ addiu $a0, $zero, 0xa
|
||||
|
@ -72,7 +72,7 @@ glabel btl_state_update_twink_menu
|
||||
/* 41EF18 802AA188 080AA987 */ j .L802AA61C_41F3AC
|
||||
/* 41EF1C 802AA18C 00000000 */ nop
|
||||
.L802AA190:
|
||||
/* 41EF20 802AA190 0C093903 */ jal func_8024E40C
|
||||
/* 41EF20 802AA190 0C093903 */ jal btl_cam_use_preset
|
||||
/* 41EF24 802AA194 24040002 */ addiu $a0, $zero, 2
|
||||
/* 41EF28 802AA198 0C093936 */ jal btl_cam_move
|
||||
/* 41EF2C 802AA19C 2404000A */ addiu $a0, $zero, 0xa
|
||||
|
@ -391,7 +391,7 @@ glabel func_802A1518_799CC8
|
||||
/* 797A48 802A1A88 8FC20074 */ lw $v0, 0x74($fp)
|
||||
/* 797A4C 802A1A8C 1440016F */ bnez $v0, .L802A204C
|
||||
/* 797A50 802A1A90 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 797A54 802A1A94 0C093903 */ jal func_8024E40C
|
||||
/* 797A54 802A1A94 0C093903 */ jal btl_cam_use_preset
|
||||
/* 797A58 802A1A98 24040002 */ addiu $a0, $zero, 2
|
||||
/* 797A5C 802A1A9C 0C093936 */ jal btl_cam_move
|
||||
/* 797A60 802A1AA0 2404000A */ addiu $a0, $zero, 0xa
|
||||
@ -628,7 +628,7 @@ glabel func_802A1518_799CC8
|
||||
/* 797DC4 802A1E04 2A420008 */ slti $v0, $s2, 8
|
||||
/* 797DC8 802A1E08 1440FFF1 */ bnez $v0, .L802A1DD0
|
||||
/* 797DCC 802A1E0C 2484001C */ addiu $a0, $a0, 0x1c
|
||||
/* 797DD0 802A1E10 0C093903 */ jal func_8024E40C
|
||||
/* 797DD0 802A1E10 0C093903 */ jal btl_cam_use_preset
|
||||
/* 797DD4 802A1E14 24040003 */ addiu $a0, $zero, 3
|
||||
/* 797DD8 802A1E18 0C093936 */ jal btl_cam_move
|
||||
/* 797DDC 802A1E1C 2404001E */ addiu $a0, $zero, 0x1e
|
||||
|
@ -391,7 +391,7 @@ glabel func_802A1518_7974D8
|
||||
/* 797A48 802A1A88 8FC20074 */ lw $v0, 0x74($fp)
|
||||
/* 797A4C 802A1A8C 1440016F */ bnez $v0, .L802A204C
|
||||
/* 797A50 802A1A90 2442FFFF */ addiu $v0, $v0, -1
|
||||
/* 797A54 802A1A94 0C093903 */ jal func_8024E40C
|
||||
/* 797A54 802A1A94 0C093903 */ jal btl_cam_use_preset
|
||||
/* 797A58 802A1A98 24040002 */ addiu $a0, $zero, 2
|
||||
/* 797A5C 802A1A9C 0C093936 */ jal btl_cam_move
|
||||
/* 797A60 802A1AA0 2404000A */ addiu $a0, $zero, 0xa
|
||||
@ -628,7 +628,7 @@ glabel func_802A1518_7974D8
|
||||
/* 797DC4 802A1E04 2A420008 */ slti $v0, $s2, 8
|
||||
/* 797DC8 802A1E08 1440FFF1 */ bnez $v0, .L802A1DD0
|
||||
/* 797DCC 802A1E0C 2484001C */ addiu $a0, $a0, 0x1c
|
||||
/* 797DD0 802A1E10 0C093903 */ jal func_8024E40C
|
||||
/* 797DD0 802A1E10 0C093903 */ jal btl_cam_use_preset
|
||||
/* 797DD4 802A1E14 24040003 */ addiu $a0, $zero, 3
|
||||
/* 797DD8 802A1E18 0C093936 */ jal btl_cam_move
|
||||
/* 797DDC 802A1E1C 2404001E */ addiu $a0, $zero, 0x1e
|
||||
|
@ -1100,7 +1100,7 @@ segments:
|
||||
subsegments:
|
||||
- [0x16C8E0, c, 16c8e0]
|
||||
- [0x16F740, c, 16F740]
|
||||
- [0x1776B0, c, 1776B0]
|
||||
- [0x1776B0, c, battle_cam]
|
||||
- [0x17D6A0, c, 17D6A0]
|
||||
- [0x17FEB0, c]
|
||||
- [0x181810, c]
|
||||
@ -1118,7 +1118,7 @@ segments:
|
||||
- [0x1AF120, c]
|
||||
- [0x1AF230, c]
|
||||
- [0x1AF2D0, .data, 16c8e0]
|
||||
- [0x1AF5C0, .data, 1776B0]
|
||||
- [0x1AF5C0, .data, battle_cam]
|
||||
- [0x1AF8A0, .data, 190B20]
|
||||
- [0x1B21E0, data, 1AF2D0] # begins with image?
|
||||
- [0x1C2EC0, .data, 19FAF0]
|
||||
@ -1127,7 +1127,7 @@ segments:
|
||||
- [0x1CB0B0, .data, 1AF230]
|
||||
- [0x1CB240, .rodata, 16c8e0]
|
||||
- [0x1CB368, .rodata, 16F740]
|
||||
- [0x1CB4E0, .rodata, 1776B0]
|
||||
- [0x1CB4E0, .rodata, battle_cam]
|
||||
- [0x1CB670, .rodata, 17D6A0]
|
||||
- [0x1CBC30, .rodata, 182B30]
|
||||
- [0x1CBDD0, .rodata, 18C790]
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user