diff --git a/include/common_structs.h b/include/common_structs.h index 8ee107cdf0..d3fdb4d912 100644 --- a/include/common_structs.h +++ b/include/common_structs.h @@ -1794,8 +1794,11 @@ typedef struct ActorState { // TODO: Make the first field of this an ActorMoveme /* 0x66 */ s16 moveArcAmplitude; /* 0x68 */ char unk_68[3]; /* 0x6B */ u8 jumpPartIndex; - /* 0x6C */ ChompChainAnimationState* unk_6C; - /* 0x70 */ char unk_70[12]; + /* 0x6C */ union { + /* */ s32 functionTemp[4]; + /* */ f32 functionTempF[4]; + /* */ void* functionTempPtr[4]; + /* */ }; /* 0x7C */ union { /* */ s32 varTable[16]; /* */ f32 varTableF[16]; diff --git a/include/effects.h b/include/effects.h index 4b23130f79..0a24a6d5e8 100644 --- a/include/effects.h +++ b/include/effects.h @@ -1982,7 +1982,15 @@ typedef struct PinkSparklesFXData { } PinkSparklesFXData; // size = unknown typedef struct StarOutlineFXData { - /* 0x00 */ char todo[0]; + /* 0x00 */ s16 unk_00; + /* 0x02 */ char unk_02[0x2]; + /* 0x04 */ Vec3f pos; + /* 0x10 */ char unk_10[0x14]; + /* 0x24 */ s32 unk_24; + /* 0x28 */ char unk_28[0xC]; + /* 0x34 */ s32 unk_34; + /* 0x38 */ f32 unk_38; + /* 0x3C */ Vec3f unk_3C; } StarOutlineFXData; // size = unknown typedef struct Effect86FXData { diff --git a/include/enums.h b/include/enums.h index e04ac7b749..3f0d6a06be 100644 --- a/include/enums.h +++ b/include/enums.h @@ -867,6 +867,10 @@ enum SoundIDs { SOUND_SMOKE_BURST = 0x000002CD, SOUND_2CE = 0x000002CE, SOUND_2CF = 0x000002CF, + SOUND_2D1 = 0x000002D1, + SOUND_2D2 = 0x000002D2, + SOUND_2D3 = 0x000002D3, + SOUND_2D4 = 0x000002D4, SOUND_2D5 = 0x000002D5, SOUND_2D6 = 0x000002D6, SOUND_DAYZEE_SONG = 0x000002D7, @@ -1030,6 +1034,7 @@ enum SoundIDs { SOUND_3B9 = 0x000003B9, SOUND_3BB = 0x000003BB, SOUND_3BC = 0x000003BC, + SOUND_3BD = 0x000003BD, SOUND_3BE = 0x000003BE, SOUND_3C0 = 0x000003C0, SOUND_3C1 = 0x000003C1, @@ -1098,6 +1103,7 @@ enum SoundIDs { SOUND_76D = 0x0000076D, SOUND_791 = 0x00000791, SOUND_7BC = 0x000007BC, + SOUND_7BD = 0x000007BD, SOUND_B88 = 0x00000B88, SOUND_2003 = 0x00002003, SOUND_2004 = 0x00002004, @@ -1248,6 +1254,8 @@ enum SoundIDs { SOUND_20CB = 0x000020CB, SOUND_20CC = 0x000020CC, SOUND_20CD = 0x000020CD, + SOUND_20CE = 0x000020CE, + SOUND_20CF = 0x000020CF, SOUND_20D0 = 0x000020D0, SOUND_20D1 = 0x000020D1, SOUND_20D2 = 0x000020D2, @@ -1306,7 +1314,14 @@ enum SoundIDs { SOUND_2119 = 0x00002119, SOUND_211A = 0x0000211A, SOUND_2121 = 0x00002121, + SOUND_2122 = 0x00002122, + SOUND_2123 = 0x00002123, + SOUND_2124 = 0x00002124, + SOUND_2125 = 0x00002125, + SOUND_2126 = 0x00002126, SOUND_2127 = 0x00002127, + SOUND_2128 = 0x00002128, + SOUND_2129 = 0x00002129, SOUND_212A = 0x0000212A, SOUND_212B = 0x0000212B, SOUND_212C = 0x0000212C, @@ -2502,7 +2517,7 @@ enum Events { EVENT_SPIN_SMASH_LAUNCH_HIT = 0x00000011, EVENT_SHELL_CRACK_HIT = 0x00000012, EVENT_STAR_BEAM = 0x00000013, - EVENT_14 = 0x00000014, + EVENT_PEACH_BEAM = 0x00000014, EVENT_POWER_BOUNCE_HIT = 0x00000015, EVENT_BLOW_AWAY = 0x00000016, EVENT_UNKNOWN_TRIGGER = 0x00000017, @@ -3913,39 +3928,39 @@ enum IntroStates { }; enum BattleStatusFlags1 { - BS_FLAGS1_0 = 0x00000000, - BS_FLAGS1_1 = 0x00000001, // show actors - BS_FLAGS1_2 = 0x00000002, // menu is open - BS_FLAGS1_4 = 0x00000004, - BS_FLAGS1_8 = 0x00000008, - BS_FLAGS1_10 = 0x00000010, // enable attack bonuses (power plus, etc)? - BS_FLAGS1_SP_EVT_ACTIVE = 0x00000020, // enable special events (other than hit/death/immune?) - BS_FLAGS1_40 = 0x00000040, - BS_FLAGS1_80 = 0x00000080, - BS_FLAGS1_100 = 0x00000100, - BS_FLAGS1_200 = 0x00000200, - BS_FLAGS1_400 = 0x00000400, - BS_FLAGS1_800 = 0x00000800, - BS_FLAGS1_1000 = 0x00001000, - BS_FLAGS1_2000 = 0x00002000, - BS_FLAGS1_4000 = 0x00004000, - BS_FLAGS1_8000 = 0x00008000, - BS_FLAGS1_10000 = 0x00010000, - BS_FLAGS1_20000 = 0x00020000, - BS_FLAGS1_40000 = 0x00040000, - BS_FLAGS1_80000 = 0x00080000, // partner will act (partner turn?) - BS_FLAGS1_100000 = 0x00100000, // player in back (after pressing z) - BS_FLAGS1_200000 = 0x00200000, // enemy turn pending - BS_FLAGS1_PLAYER_DEFENDING = 0x00400000, // player is defending - BS_FLAGS1_800000 = 0x00800000, // don’t game over on loss - BS_FLAGS1_1000000 = 0x01000000, - BS_FLAGS1_2000000 = 0x02000000, - BS_FLAGS1_4000000 = 0x04000000, - BS_FLAGS1_8000000 = 0x08000000, - BS_FLAGS1_10000000 = 0x10000000, // prevent hammer charge - BS_FLAGS1_20000000 = 0x20000000, // prevent jump charge - BS_FLAGS1_40000000 = 0x40000000, - BS_FLAGS1_ATK_BLOCKED = 0x80000000, + BS_FLAGS1_0 = 0x00000000, + BS_FLAGS1_1 = 0x00000001, // show actors + BS_FLAGS1_2 = 0x00000002, // menu is open + BS_FLAGS1_4 = 0x00000004, + BS_FLAGS1_8 = 0x00000008, + BS_FLAGS1_10 = 0x00000010, // enable attack bonuses (power plus, etc)? + BS_FLAGS1_SP_EVT_ACTIVE = 0x00000020, // enable special events (other than hit/death/immune?) + BS_FLAGS1_40 = 0x00000040, + BS_FLAGS1_80 = 0x00000080, + BS_FLAGS1_100 = 0x00000100, + BS_FLAGS1_200 = 0x00000200, + BS_FLAGS1_400 = 0x00000400, + BS_FLAGS1_800 = 0x00000800, + BS_FLAGS1_1000 = 0x00001000, + BS_FLAGS1_2000 = 0x00002000, + BS_FLAGS1_4000 = 0x00004000, + BS_FLAGS1_8000 = 0x00008000, + BS_FLAGS1_10000 = 0x00010000, + BS_FLAGS1_DISABLE_CELEBRATION = 0x00020000, + BS_FLAGS1_ENEMY_FLED = 0x00040000, + BS_FLAGS1_80000 = 0x00080000, // partner will act (partner turn?) + BS_FLAGS1_100000 = 0x00100000, // player in back (after pressing z) + BS_FLAGS1_200000 = 0x00200000, // enemy turn pending + BS_FLAGS1_PLAYER_DEFENDING = 0x00400000, // player is defending + BS_FLAGS1_800000 = 0x00800000, // don’t game over on loss + BS_FLAGS1_STAR_POINTS_DROPPED = 0x01000000, + BS_FLAGS1_2000000 = 0x02000000, + BS_FLAGS1_HUSTLE_DRINK_ON = 0x04000000, + BS_FLAGS1_8000000 = 0x08000000, + BS_FLAGS1_10000000 = 0x10000000, // prevent hammer charge + BS_FLAGS1_20000000 = 0x20000000, // prevent jump charge + BS_FLAGS1_40000000 = 0x40000000, + BS_FLAGS1_ATK_BLOCKED = 0x80000000, }; enum BattleStatusFlags2 { diff --git a/src/16F740.c b/src/16F740.c index 6a8e7be7d4..046553f27e 100644 --- a/src/16F740.c +++ b/src/16F740.c @@ -541,7 +541,7 @@ void btl_state_update_begin_turn(void) { } if (battleStatus->hustleTurns != 0) { - gBattleStatus.flags1 |= BS_FLAGS1_4000000; + gBattleStatus.flags1 |= BS_FLAGS1_HUSTLE_DRINK_ON; } numEnemyActors = 0; @@ -1322,7 +1322,7 @@ void func_80242FE0(void) { actor->disableEffect->data.disableX->unk_3C = 0; } if (actor->debuff == 9) { - gBattleStatus.flags1 |= 0x20; + gBattleStatus.flags1 |= BS_FLAGS1_SP_EVT_ACTIVE; dispatch_damage_event_actor_0(actor, 1, 0xA); D_8029F258 = 0x14; } @@ -1359,7 +1359,7 @@ block_52: } btl_cam_use_preset(2); - if (partner == NULL || !(gBattleStatus.flags1 & 0x100000)) { + if (partner == NULL || !(gBattleStatus.flags1 & BS_FLAGS1_100000)) { gBattleState2 = 4; } else if (gBattleStatus.flags2 & 0x40) { gBattleState2 = 4; @@ -1873,18 +1873,18 @@ void btl_state_update_victory(void) { } if (gBattleState2 == BATTLE_STATE2_UNK_4 && battleStatus->pendingStarPoints <= 0) { - if (gBattleStatus.flags1 & BS_FLAGS1_1000000) { - gBattleStatus.flags1 &= ~BS_FLAGS1_40000; + if (gBattleStatus.flags1 & BS_FLAGS1_STAR_POINTS_DROPPED) { + gBattleStatus.flags1 &= ~BS_FLAGS1_ENEMY_FLED; } if (playerData->battlesWon < 9999) { playerData->battlesWon++; } - if (gBattleStatus.flags1 & BS_FLAGS1_40000) { + if (gBattleStatus.flags1 & BS_FLAGS1_ENEMY_FLED) { currentEncounter->battleOutcome = OUTCOME_ENEMY_FLED; } else { currentEncounter->battleOutcome = OUTCOME_PLAYER_WON; } - if (gBattleStatus.flags1 & BS_FLAGS1_20000) { + if (gBattleStatus.flags1 & BS_FLAGS1_DISABLE_CELEBRATION) { if (!(gBattleStatus.flags2 & BS_FLAGS2_2000000)) { bgm_set_song(0, -1, 0, 1500, 8); } @@ -2172,7 +2172,7 @@ void btl_state_update_run_away(void) { switch (gBattleState2) { case BATTLE_STATE2_UNK_0: battleStatus->unk_8C = 0; - gBattleStatus.flags1 &= ~BS_FLAGS1_40000; + gBattleStatus.flags1 &= ~BS_FLAGS1_ENEMY_FLED; gBattleStatus.flags2 |= BS_FLAGS2_10 | BS_FLAGS2_8 | BS_FLAGS2_4 | BS_FLAGS2_2; playerData->unk_2A6++; btl_cam_use_preset(BTL_CAM_PRESET_25); @@ -2222,7 +2222,7 @@ void btl_state_update_run_away(void) { break; case 2: if (!does_script_exist(player->takeTurnID) && battleStatus->unk_8C == 0) { - if (!(gBattleStatus.flags1 & BS_FLAGS1_40000)) { + if (!(gBattleStatus.flags1 & BS_FLAGS1_ENEMY_FLED)) { gBattleState2 = BATTLE_STATE2_UNK_3; } else { currentEncounter->battleOutcome = 2; @@ -3418,7 +3418,7 @@ void btl_state_update_next_enemy(void) { battleStatus->unk_8C = 0; gBattleStatus.flags1 &= ~BS_FLAGS1_2; - gBattleStatus.flags1 &= ~BS_FLAGS1_40000; + gBattleStatus.flags1 &= ~BS_FLAGS1_ENEMY_FLED; gBattleStatus.flags1 &= ~BS_FLAGS1_1000; gBattleStatus.flags1 &= ~BS_FLAGS1_80000; @@ -4092,7 +4092,7 @@ void btl_state_update_enemy_striking_first(void) { battleStatus->lastAttackDamage = 0; battleStatus->unk_19A = 0; playerData->enemyFirstStrikes++; - battleStatus->flags1 &= ~2; + battleStatus->flags1 &= ~BS_FLAGS1_2; D_8029F254 = 0; player->flags &= ~ACTOR_FLAG_8000000; if (partner != NULL) { diff --git a/src/16c8e0.c b/src/16c8e0.c index 81ec1713f3..16acef5f8e 100644 --- a/src/16c8e0.c +++ b/src/16c8e0.c @@ -242,7 +242,7 @@ void func_8023E3FC(void) { } void update_actor_shadows(void) { - if (gBattleStatus.flags1 & 1) { + if (gBattleStatus.flags1 & BS_FLAGS1_1) { update_enemy_shadows(); update_hero_shadows(); } @@ -762,7 +762,7 @@ void btl_draw_enemy_health_bars(void) { } if (!(enemy->flags & (ACTOR_FLAG_40000 | ACTOR_FLAG_TARGET_ONLY)) && - ((gBattleStatus.flags1 & 2) || (enemy->flags & ENEMY_FLAGS_80000)) && + ((gBattleStatus.flags1 & BS_FLAGS1_2) || (enemy->flags & ENEMY_FLAGS_80000)) && is_actor_hp_bar_visible(enemy)) { f32 x = enemy->healthBarPosition.x; diff --git a/src/17FEB0.c b/src/17FEB0.c index a8b43042ea..2a61afbd4e 100644 --- a/src/17FEB0.c +++ b/src/17FEB0.c @@ -225,7 +225,7 @@ s32 calc_item_damage_enemy(void) { } if (battleStatus->currentAttackElement & DAMAGE_TYPE_REMOVE_BUFFS) { - if (gBattleStatus.flags1 & 0x20) { + if (gBattleStatus.flags1 & BS_FLAGS1_SP_EVT_ACTIVE) { if ((target->attackBoost > 0 || target->defenseBoost > 0) || ((target->staticStatus == 0 && target->transparentStatus != 0) || target->staticStatus != 0)) { @@ -253,11 +253,11 @@ s32 calc_item_damage_enemy(void) { if (battleStatus->currentAttackElement & DAMAGE_TYPE_PEACH_BEAM) { dispatchEvent = EVENT_IMMUNE; if (targetPart->eventFlags & ACTOR_EVENT_FLAG_ENCHANTED) { - dispatchEvent = EVENT_14; + dispatchEvent = EVENT_PEACH_BEAM; wasStatusInflicted = TRUE; } if (targetPart->eventFlags & ACTOR_EVENT_FLAG_80000) { - dispatchEvent = EVENT_14; + dispatchEvent = EVENT_PEACH_BEAM; wasStatusInflicted = TRUE; } } @@ -380,10 +380,10 @@ s32 calc_item_damage_enemy(void) { dispatchEvent = EVENT_SCARE_AWAY; ret = 0; sp1C = TRUE; - gBattleStatus.flags1 |= 0x39; + gBattleStatus.flags1 |= BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10 | BS_FLAGS1_8 | BS_FLAGS1_1; sfx_play_sound_at_position(SOUND_231, 0, state->goalPos.x, state->goalPos.y, state->goalPos.z); wasStatusInflicted = TRUE; - gBattleStatus.flags1 |= 0x40; + gBattleStatus.flags1 |= BS_FLAGS1_40; } else { dispatchEvent = EVENT_IMMUNE; ret = 2; diff --git a/src/18F340.c b/src/18F340.c index a6ff4195ac..5bfaa82faf 100644 --- a/src/18F340.c +++ b/src/18F340.c @@ -72,7 +72,7 @@ ApiStatus func_80260BF4(Evt* script, s32 isInitialCall); INCLUDE_ASM(s32, "18F340", func_80260BF4); ApiStatus func_80260DB8(Evt* script, s32 isInitialCall) { - gBattleStatus.flags1 |= BS_FLAGS1_40000; + gBattleStatus.flags1 |= BS_FLAGS1_ENEMY_FLED; return ApiStatus_DONE2; } diff --git a/src/190B20.c b/src/190B20.c index b4757c4bfd..b9d2aa201e 100644 --- a/src/190B20.c +++ b/src/190B20.c @@ -2492,7 +2492,7 @@ void remove_player_buffs(s32 buffs) { } if (buffs & 0x10) { battleStatus->hustleTurns = 0; - battleStatus->flags1 &= ~BS_FLAGS1_4000000; + battleStatus->flags1 &= ~BS_FLAGS1_HUSTLE_DRINK_ON; } if (buffs & 0x20 && (player->staticStatus != 0)) { player->staticDuration = 0; diff --git a/src/196AA0.c b/src/196AA0.c index 086fb72875..6e586f3d76 100644 --- a/src/196AA0.c +++ b/src/196AA0.c @@ -220,12 +220,12 @@ void func_80268858(void) { actionCommandStatus->autoSucceed = FALSE; actionCommandStatus->unk_6A = FALSE; - if (!(gBattleStatus.flags1 & 0x80000)) { + if (!(gBattleStatus.flags1 & BS_FLAGS1_80000)) { if (is_ability_active(ABILITY_RIGHT_ON)) { actionCommandStatus->autoSucceed = TRUE; } - if (!(gBattleStatus.flags1 & 0x80000) && is_ability_active(ABILITY_BERSERKER)) { + if (!(gBattleStatus.flags1 & BS_FLAGS1_80000) && is_ability_active(ABILITY_BERSERKER)) { actionCommandStatus->unk_61 = FALSE; actionCommandStatus->unk_6A = TRUE; @@ -239,7 +239,7 @@ void func_80268858(void) { actionCommandStatus->autoSucceed = TRUE; } - if (gBattleStatus.flags1 & 0x1000) { + if (gBattleStatus.flags1 & BS_FLAGS1_1000) { actionCommandStatus->autoSucceed = TRUE; actionCommandStatus->unk_61 = FALSE; } diff --git a/src/1A5830.c b/src/1A5830.c index afdc3d6c5f..384d5bb79c 100644 --- a/src/1A5830.c +++ b/src/1A5830.c @@ -1902,7 +1902,7 @@ ApiStatus DropStarPoints(Evt* script, s32 isInitialCall) { battleStatus->pendingStarPoints += numToDrop; } - gBattleStatus.flags1 |= 0x1000000; + gBattleStatus.flags1 |= BS_FLAGS1_STAR_POINTS_DROPPED; return ApiStatus_DONE2; } @@ -1995,30 +1995,30 @@ ApiStatus EnemyDamageTarget(Evt *script, s32 isInitialCall) { battleFlagsModifier = *args++; if (battleFlagsModifier & 0x10) { - gBattleStatus.flags1 |= 0x10; - gBattleStatus.flags1 &= ~0x20; - } else if (battleFlagsModifier & 0x20) { - gBattleStatus.flags1 &= ~0x10; - gBattleStatus.flags1 |= 0x20; + gBattleStatus.flags1 |= BS_FLAGS1_10; + gBattleStatus.flags1 &= ~BS_FLAGS1_SP_EVT_ACTIVE; + } else if (battleFlagsModifier & BS_FLAGS1_SP_EVT_ACTIVE) { + gBattleStatus.flags1 &= ~BS_FLAGS1_10; + gBattleStatus.flags1 |= BS_FLAGS1_SP_EVT_ACTIVE; } else { - gBattleStatus.flags1 &= ~0x10; - gBattleStatus.flags1 &= ~0x20; + gBattleStatus.flags1 &= ~BS_FLAGS1_10; + gBattleStatus.flags1 &= ~BS_FLAGS1_SP_EVT_ACTIVE; } - if (battleFlagsModifier & 0x40) { - gBattleStatus.flags1 |= 0x40; + if (battleFlagsModifier & BS_FLAGS1_40) { + gBattleStatus.flags1 |= BS_FLAGS1_40; } else { - gBattleStatus.flags1 &= ~0x40; + gBattleStatus.flags1 &= ~BS_FLAGS1_40; } - if (battleFlagsModifier & 0x200) { - gBattleStatus.flags1 |= 0x200; + if (battleFlagsModifier & BS_FLAGS1_200) { + gBattleStatus.flags1 |= BS_FLAGS1_200; } else { - gBattleStatus.flags1 &= ~0x200; + gBattleStatus.flags1 &= ~BS_FLAGS1_200; } - if (battleFlagsModifier & 0x80) { - gBattleStatus.flags1 |= 0x80; + if (battleFlagsModifier & BS_FLAGS1_80) { + gBattleStatus.flags1 |= BS_FLAGS1_80; } else { - gBattleStatus.flags1 &= ~0x80; + gBattleStatus.flags1 &= ~BS_FLAGS1_80; } attackStatus = battleStatus->currentAttackStatus; @@ -2107,31 +2107,31 @@ ApiStatus EnemyTestTarget(Evt *script, s32 isInitialCall) { battleStatus->currentAttackDamage = evt_get_variable(script, *args++); battleFlagsModifier = *args++; - if (battleFlagsModifier & 0x10) { - gBattleStatus.flags1 |= 0x10; - gBattleStatus.flags1 &= ~0x20; - } else if (battleFlagsModifier & 0x20) { - gBattleStatus.flags1 &= ~0x10; - gBattleStatus.flags1 |= 0x20; + if (battleFlagsModifier & BS_FLAGS1_10) { + gBattleStatus.flags1 |= BS_FLAGS1_10; + gBattleStatus.flags1 &= ~BS_FLAGS1_SP_EVT_ACTIVE; + } else if (battleFlagsModifier & BS_FLAGS1_SP_EVT_ACTIVE) { + gBattleStatus.flags1 &= ~BS_FLAGS1_10; + gBattleStatus.flags1 |= BS_FLAGS1_SP_EVT_ACTIVE; } else { - gBattleStatus.flags1 &= ~0x10; - gBattleStatus.flags1 &= ~0x20; + gBattleStatus.flags1 &= ~BS_FLAGS1_10; + gBattleStatus.flags1 &= ~BS_FLAGS1_SP_EVT_ACTIVE; } - if (battleFlagsModifier & 0x40) { - gBattleStatus.flags1 |= 0x40; + if (battleFlagsModifier & BS_FLAGS1_40) { + gBattleStatus.flags1 |= BS_FLAGS1_40; } else { - gBattleStatus.flags1 &= ~0x40; + gBattleStatus.flags1 &= ~BS_FLAGS1_40; } - if (battleFlagsModifier & 0x200) { - gBattleStatus.flags1 |= 0x200; + if (battleFlagsModifier & BS_FLAGS1_200) { + gBattleStatus.flags1 |= BS_FLAGS1_200; } else { - gBattleStatus.flags1 &= ~0x200; + gBattleStatus.flags1 &= ~BS_FLAGS1_200; } - if (battleFlagsModifier & 0x80) { - gBattleStatus.flags1 |= 0x80; + if (battleFlagsModifier & BS_FLAGS1_80) { + gBattleStatus.flags1 |= BS_FLAGS1_80; } else { - gBattleStatus.flags1 &= ~0x80; + gBattleStatus.flags1 &= ~BS_FLAGS1_80; } attackStatus = battleStatus->currentAttackStatus; @@ -2367,7 +2367,7 @@ ApiStatus GetEncounterState(Evt* script, s32 isInitialCall) { } ApiStatus YieldTurn(Evt* script, s32 isInitialCall) { - gBattleStatus.flags1 |= 0x200000; + gBattleStatus.flags1 |= BS_FLAGS1_200000; return ApiStatus_DONE2; } diff --git a/src/1AC760.c b/src/1AC760.c index e24c9c0f64..8f05123165 100644 --- a/src/1AC760.c +++ b/src/1AC760.c @@ -820,7 +820,7 @@ s32 dispatch_damage_event_partner(s32 damageAmount, s32 event, s32 stopMotion) { partner->lastDamageTaken = battleStatus->lastAttackDamage; battleStatus->unk_19A = 0; - if (battleStatus->flags1 & 0x20) { + if (battleStatus->flags1 & BS_FLAGS1_SP_EVT_ACTIVE) { if (event == 0x9) { event = 0xA; } @@ -830,7 +830,7 @@ s32 dispatch_damage_event_partner(s32 damageAmount, s32 event, s32 stopMotion) { } if (battleStatus->lastAttackDamage > 0) { - gBattleStatus.flags1 |= 0x20; + gBattleStatus.flags1 |= BS_FLAGS1_SP_EVT_ACTIVE; inflict_status(partner, 0xD, battleStatus->lastAttackDamage); } @@ -850,7 +850,7 @@ s32 dispatch_damage_event_partner(s32 damageAmount, s32 event, s32 stopMotion) { partner->flags |= 0x80000; - flagCheck = (gBattleStatus.flags1 & 0x240) != 0; + flagCheck = (gBattleStatus.flags1 & (BS_FLAGS1_200 | BS_FLAGS1_40))) != 0; dispatch_event_partner(event); return flagCheck; } @@ -952,13 +952,13 @@ ApiStatus PartnerDamageEnemy(Evt* script, s32 isInitialCall) { gBattleStatus.powerBounceCounter = 0; flags = *args++; - if ((flags & 0x30) == 0x30) { + if ((flags & (BS_FLAGS1_10 | BS_FLAGS1_SP_EVT_ACTIVE)) == (BS_FLAGS1_10 | BS_FLAGS1_SP_EVT_ACTIVE)) { battleStatus->flags1 |= BS_FLAGS1_10; battleStatus->flags1 |= BS_FLAGS1_SP_EVT_ACTIVE; - } else if (flags & 0x10) { + } else if (flags & BS_FLAGS1_10) { battleStatus->flags1 |= BS_FLAGS1_10; battleStatus->flags1 &= ~BS_FLAGS1_SP_EVT_ACTIVE; - } else if (flags & 0x20) { + } else if (flags & BS_FLAGS1_SP_EVT_ACTIVE) { battleStatus->flags1 &= ~BS_FLAGS1_10; battleStatus->flags1 |= BS_FLAGS1_SP_EVT_ACTIVE; } else { @@ -966,25 +966,25 @@ ApiStatus PartnerDamageEnemy(Evt* script, s32 isInitialCall) { battleStatus->flags1 &= ~BS_FLAGS1_SP_EVT_ACTIVE; } - if (flags & 0x40) { + if (flags & BS_FLAGS1_40) { gBattleStatus.flags1 |= BS_FLAGS1_40; } else { gBattleStatus.flags1 &= ~BS_FLAGS1_40; } - if (flags & 0x200) { + if (flags & BS_FLAGS1_200) { gBattleStatus.flags1 |= BS_FLAGS1_200; } else { gBattleStatus.flags1 &= ~BS_FLAGS1_200; } - if (flags & 0x80) { + if (flags & BS_FLAGS1_80) { gBattleStatus.flags1 |= BS_FLAGS1_80; } else { gBattleStatus.flags1 &= ~BS_FLAGS1_80; } - if (flags & 0x800) { + if (flags & BS_FLAGS1_800) { gBattleStatus.flags1 |= BS_FLAGS1_800; } else { gBattleStatus.flags1 &= ~BS_FLAGS1_800; @@ -1032,13 +1032,13 @@ ApiStatus PartnerAfflictEnemy(Evt* script, s32 isInitialCall) { battleStatus->powerBounceCounter = 0; flags = *args++; - if ((flags & 0x30) == 0x30) { + if ((flags & (BS_FLAGS1_10 | BS_FLAGS1_SP_EVT_ACTIVE)) == (BS_FLAGS1_10 | BS_FLAGS1_SP_EVT_ACTIVE)) { battleStatus->flags1 |= BS_FLAGS1_10; battleStatus->flags1 |= BS_FLAGS1_SP_EVT_ACTIVE; - } else if (flags & 0x10) { + } else if (flags & BS_FLAGS1_10) { battleStatus->flags1 |= BS_FLAGS1_10; battleStatus->flags1 &= ~BS_FLAGS1_SP_EVT_ACTIVE; - } else if (flags & 0x20) { + } else if (flags & BS_FLAGS1_SP_EVT_ACTIVE) { battleStatus->flags1 &= ~BS_FLAGS1_10; battleStatus->flags1 |= BS_FLAGS1_SP_EVT_ACTIVE; } else { @@ -1046,22 +1046,22 @@ ApiStatus PartnerAfflictEnemy(Evt* script, s32 isInitialCall) { battleStatus->flags1 &= ~BS_FLAGS1_SP_EVT_ACTIVE; } - if (flags & 0x40) { + if (flags & BS_FLAGS1_40) { gBattleStatus.flags1 |= BS_FLAGS1_40; } else { gBattleStatus.flags1 &= ~BS_FLAGS1_40; } - if (flags & 0x200) { + if (flags & BS_FLAGS1_200) { gBattleStatus.flags1 |= BS_FLAGS1_200; } else { gBattleStatus.flags1 &= ~BS_FLAGS1_200; } - if (flags & 0x80) { + if (flags & BS_FLAGS1_80) { gBattleStatus.flags1 |= BS_FLAGS1_80; } else { gBattleStatus.flags1 &= ~BS_FLAGS1_80; } - if (flags & 0x800) { + if (flags & BS_FLAGS1_800) { gBattleStatus.flags1 |= BS_FLAGS1_800; } else { gBattleStatus.flags1 &= ~BS_FLAGS1_800; @@ -1108,13 +1108,13 @@ ApiStatus PartnerPowerBounceEnemy(Evt* script, s32 isInitialCall) { battleStatus->powerBounceCounter = evt_get_variable(script, *args++); flags = *args++; - if ((flags & 0x30) == 0x30) { + if ((flags & (BS_FLAGS1_10 | BS_FLAGS1_SP_EVT_ACTIVE)) == (BS_FLAGS1_10 | BS_FLAGS1_SP_EVT_ACTIVE)) { battleStatus->flags1 |= BS_FLAGS1_10; battleStatus->flags1 |= BS_FLAGS1_SP_EVT_ACTIVE; - } else if (flags & 0x10) { + } else if (flags & BS_FLAGS1_10) { battleStatus->flags1 |= BS_FLAGS1_10; battleStatus->flags1 &= ~BS_FLAGS1_SP_EVT_ACTIVE; - } else if (flags & 0x20) { + } else if (flags & BS_FLAGS1_SP_EVT_ACTIVE) { battleStatus->flags1 &= ~BS_FLAGS1_10; battleStatus->flags1 |= BS_FLAGS1_SP_EVT_ACTIVE; } else { @@ -1122,22 +1122,22 @@ ApiStatus PartnerPowerBounceEnemy(Evt* script, s32 isInitialCall) { battleStatus->flags1 &= ~BS_FLAGS1_SP_EVT_ACTIVE; } - if (flags & 0x40) { + if (flags & BS_FLAGS1_40) { gBattleStatus.flags1 |= BS_FLAGS1_40; } else { gBattleStatus.flags1 &= ~BS_FLAGS1_40; } - if (flags & 0x200) { + if (flags & BS_FLAGS1_200) { gBattleStatus.flags1 |= BS_FLAGS1_200; } else { gBattleStatus.flags1 &= ~BS_FLAGS1_200; } - if (flags & 0x80) { + if (flags & BS_FLAGS1_80) { gBattleStatus.flags1 |= BS_FLAGS1_80; } else { gBattleStatus.flags1 &= ~BS_FLAGS1_80; } - if (flags & 0x800) { + if (flags & BS_FLAGS1_800) { gBattleStatus.flags1 |= BS_FLAGS1_800; } else { gBattleStatus.flags1 &= ~BS_FLAGS1_800; @@ -1186,13 +1186,13 @@ ApiStatus PartnerTestEnemy(Evt* script, s32 isInitialCall) { gBattleStatus.powerBounceCounter = 0; flags = *args++; - if ((flags & 0x30) == 0x30) { + if ((flags & (BS_FLAGS1_10 | BS_FLAGS1_SP_EVT_ACTIVE)) == (BS_FLAGS1_10 | BS_FLAGS1_SP_EVT_ACTIVE)) { battleStatus->flags1 |= BS_FLAGS1_10; battleStatus->flags1 |= BS_FLAGS1_SP_EVT_ACTIVE; - } else if (flags & 0x10) { + } else if (flags & BS_FLAGS1_10) { battleStatus->flags1 |= BS_FLAGS1_10; battleStatus->flags1 &= ~BS_FLAGS1_SP_EVT_ACTIVE; - } else if (flags & 0x20) { + } else if (flags & BS_FLAGS1_SP_EVT_ACTIVE) { battleStatus->flags1 &= ~BS_FLAGS1_10; battleStatus->flags1 |= BS_FLAGS1_SP_EVT_ACTIVE; } else { @@ -1200,25 +1200,25 @@ ApiStatus PartnerTestEnemy(Evt* script, s32 isInitialCall) { battleStatus->flags1 &= ~BS_FLAGS1_SP_EVT_ACTIVE; } - if (flags & 0x40) { + if (flags & BS_FLAGS1_40) { gBattleStatus.flags1 |= BS_FLAGS1_40; } else { gBattleStatus.flags1 &= ~BS_FLAGS1_40; } - if (flags & 0x200) { + if (flags & BS_FLAGS1_200) { gBattleStatus.flags1 |= BS_FLAGS1_200; } else { gBattleStatus.flags1 &= ~BS_FLAGS1_200; } - if (flags & 0x80) { + if (flags & BS_FLAGS1_80) { gBattleStatus.flags1 |= BS_FLAGS1_80; } else { gBattleStatus.flags1 &= ~BS_FLAGS1_80; } - if (flags & 0x800) { + if (flags & BS_FLAGS1_800) { gBattleStatus.flags1 |= BS_FLAGS1_800; } else { gBattleStatus.flags1 &= ~BS_FLAGS1_800; @@ -1289,6 +1289,6 @@ ApiStatus GetActionCommandResult(Evt* script, s32 isInitialCall) { /// Seems to be the same functionality as YieldTurn in 1A5830.c ApiStatus func_80280818(Evt* script, s32 isInitialCall) { - gBattleStatus.flags1 |= 0x200000; + gBattleStatus.flags1 |= BS_FLAGS1_200000; return ApiStatus_DONE2; } diff --git a/src/415D90.c b/src/415D90.c index 43f18c7b49..1496a9d4b5 100644 --- a/src/415D90.c +++ b/src/415D90.c @@ -838,7 +838,7 @@ void btl_draw_menu_wheel(void) { draw_msg(battle_menu_messageIDs[D_802AD002 + D_802AD06B], msgX, msgY, opacity, 0x35, 0); } - if ((gBattleStatus.flags1 & 0x02000000) || (gBattleStatus.flags2 & 0x40)) { + if ((gBattleStatus.flags1 & BS_FLAGS1_2000000) || (gBattleStatus.flags2 & 0x40)) { D_802AD104 = 0; } diff --git a/src/80850_len_3060.c b/src/80850_len_3060.c index 7beb93f34c..fb05f5694a 100644 --- a/src/80850_len_3060.c +++ b/src/80850_len_3060.c @@ -416,51 +416,43 @@ void initialize_status_menu(void) { func_800F0D5C(); } -// close but maybe just regalloc remaining? -#ifdef NON_EQUIVALENT void status_menu_draw_number(s32 iconID, s32 x, s32 y, s32 value, s32 numDigits) { s8 digits[4]; s32 i; - s32 y2; + s32 x2, y2; s32 keepDrawing; s32 digit; - s32 place; hud_element_set_script(iconID, TimesHudScript); - x += 8; + x2 = x + 8; y2 = y + 8; - hud_element_set_render_pos(iconID, x, y + 7); + hud_element_set_render_pos(iconID, x2, y2 - 1); hud_element_clear_flags(iconID, HUD_ELEMENT_FLAGS_DISABLED); hud_element_draw_next(iconID); // Write each digit of the input number into the digits array for (i = 0; i < numDigits; i++) { - digit = value / 10; - place = (digit) * 10; - digit = value - place; + digit = value % 10; digits[(numDigits - i) - 1] = digit; value /= 10; } - x += 13; + x2 += 13; keepDrawing = FALSE; - for (i = 0; i < numDigits; i++, x += 8) { + for (i = 0; i < numDigits; i++, x2 += 8) { digit = digits[i]; // Once we have encountered our first non-zero digit, we need to keep drawing the remaining digits if (digit != 0 || keepDrawing || (i == numDigits - 1)) { keepDrawing = TRUE; hud_element_set_script(iconID, DigitHudScripts[digit]); - hud_element_set_render_pos(iconID, x, y2); + hud_element_set_render_pos(iconID, x2, y2); hud_element_clear_flags(iconID, HUD_ELEMENT_FLAGS_DISABLED); hud_element_draw_next(iconID); } } } -#else -INCLUDE_ASM(s32, "80850_len_3060", status_menu_draw_number); -#endif // close but some ordering / reg issues #ifdef NON_MATCHING diff --git a/src/battle/action_cmd/07.c b/src/battle/action_cmd/07.c index 2a71d1a0d7..70925fb7d2 100644 --- a/src/battle/action_cmd/07.c +++ b/src/battle/action_cmd/07.c @@ -55,7 +55,7 @@ ApiStatus func_802A9000_425B50(Evt* script, s32 isInitialCall) { hud_element_set_render_depth(hudElement, 0); hud_element_set_flags(hudElement, HUD_ELEMENT_FLAGS_80 | HUD_ELEMENT_FLAGS_DISABLED); - battleStatus->flags1 &= ~0x8000; + battleStatus->flags1 &= ~BS_FLAGS1_8000; return ApiStatus_DONE2; } @@ -76,7 +76,7 @@ ApiStatus func_802A916C_425CBC(Evt* script, s32 isInitialCall) { battleStatus->actionSuccess = 0; battleStatus->unk_86 = 0; - battleStatus->flags1 &= ~0x8000; + battleStatus->flags1 &= ~BS_FLAGS1_8000; func_8024FAFC(battleStatus->flags1); actionCommandStatus->state = 10; diff --git a/src/battle/action_cmd/break_free.c b/src/battle/action_cmd/break_free.c index 36680e4dd0..b7141759e8 100644 --- a/src/battle/action_cmd/break_free.c +++ b/src/battle/action_cmd/break_free.c @@ -93,7 +93,7 @@ ApiStatus func_802A91B0_4235A0(Evt* script, s32 isInitialCall) { actionCommandStatus->unk_46 = rand_int(actionCommandStatus->unk_5A); actionCommandStatus->unk_5C = 0; actionCommandStatus->state = 10; - battleStatus->flags1 &= ~0x8000; + battleStatus->flags1 &= ~BS_FLAGS1_8000; return ApiStatus_DONE2; } diff --git a/src/battle/action_cmd/flee.c b/src/battle/action_cmd/flee.c index 5e68f08de5..b2b2ca3cd4 100644 --- a/src/battle/action_cmd/flee.c +++ b/src/battle/action_cmd/flee.c @@ -89,7 +89,7 @@ ApiStatus func_802A92A0_422D70(Evt* script) { battleStatus->actionSuccess = 0; battleStatus->unk_86 = 127; battleStatus->unk_82 = actionCommandStatus->mashMeterCutoffs[actionCommandStatus->mashMeterIntervals - 1]; - battleStatus->flags1 &= ~0x8000; + battleStatus->flags1 &= ~BS_FLAGS1_8000; actionCommandStatus->state = 10; return ApiStatus_DONE2; } diff --git a/src/battle/action_cmd/hammer.c b/src/battle/action_cmd/hammer.c index 2d1013944b..efb22c3808 100644 --- a/src/battle/action_cmd/hammer.c +++ b/src/battle/action_cmd/hammer.c @@ -115,7 +115,7 @@ ApiStatus func_802A9258_422258(Evt* script, s32 isInitialCall) { battleStatus->unk_84 = 0; battleStatus->unk_86 = 0; actionCommandStatus->state = 10; - battleStatus->flags1 &= ~0x8000; + battleStatus->flags1 &= ~BS_FLAGS1_8000; func_80269118(); return ApiStatus_DONE2; } diff --git a/src/battle/action_cmd/hurricane.c b/src/battle/action_cmd/hurricane.c index e190e2ab83..89aa5fa7db 100644 --- a/src/battle/action_cmd/hurricane.c +++ b/src/battle/action_cmd/hurricane.c @@ -88,7 +88,7 @@ ApiStatus func_802A91A0_42F880(Evt* script, s32 isInitialCall) { battleStatus->actionSuccess = 0; battleStatus->unk_86 = 0; actionCommandStatus->state = 10; - battleStatus->flags1 &= ~0x8000; + battleStatus->flags1 &= ~BS_FLAGS1_8000; func_80269118(); diff --git a/src/battle/action_cmd/jump.c b/src/battle/action_cmd/jump.c index f5a90894e1..b6c3c62ecb 100644 --- a/src/battle/action_cmd/jump.c +++ b/src/battle/action_cmd/jump.c @@ -67,8 +67,8 @@ ApiStatus func_802A9120_421B10(Evt* script, s32 isInitialCall) { hudElement = actionCommandStatus->hudElements[0]; actionCommandStatus->hudElementX = 50; - battleStatus->flags1 &= ~0x8000; - battleStatus->flags1 &= ~0x2000; + battleStatus->flags1 &= ~BS_FLAGS1_8000; + battleStatus->flags1 &= ~BS_FLAGS1_2000; hud_element_set_render_pos(hudElement, actionCommandStatus->hudElementX, actionCommandStatus->hudElementY); if (actionCommandStatus->unk_61 != 0) { hud_element_clear_flags(hudElement, HUD_ELEMENT_FLAGS_DISABLED); @@ -163,7 +163,7 @@ void N(update)(void) { (actionCommandStatus->autoSucceed != 0)) { battleStatus->actionSuccess = 1; battleStatus->unk_86 = 1; - gBattleStatus.flags1 |= 0x2000; + gBattleStatus.flags1 |= BS_FLAGS1_2000; } } diff --git a/src/battle/action_cmd/mega_shock.c b/src/battle/action_cmd/mega_shock.c index e004240b3c..547465ee1f 100644 --- a/src/battle/action_cmd/mega_shock.c +++ b/src/battle/action_cmd/mega_shock.c @@ -90,7 +90,7 @@ ApiStatus func_802A91A0_42DBB0(Evt* script, s32 isInitialCall) { battleStatus->actionSuccess = 0; battleStatus->unk_86 = 0; actionCommandStatus->state = 0xA; - battleStatus->flags1 &= ~0x8000; + battleStatus->flags1 &= ~BS_FLAGS1_8000; func_80269118(); result = 2; diff --git a/src/battle/action_cmd/power_shock.c b/src/battle/action_cmd/power_shock.c index f606c8a779..4897bd64e5 100644 --- a/src/battle/action_cmd/power_shock.c +++ b/src/battle/action_cmd/power_shock.c @@ -95,7 +95,7 @@ ApiStatus func_802A9210_42D120(Evt* script, s32 isInitialCall) { battleStatus->actionSuccess = 0; battleStatus->unk_86 = 0; actionCommandStatus->state = 10; - battleStatus->flags1 &= ~0x8000; + battleStatus->flags1 &= ~BS_FLAGS1_8000; func_80269118(); return ApiStatus_DONE2; } diff --git a/src/battle/action_cmd/spiny_surge.c b/src/battle/action_cmd/spiny_surge.c index bef2a5e396..7256d116bf 100644 --- a/src/battle/action_cmd/spiny_surge.c +++ b/src/battle/action_cmd/spiny_surge.c @@ -82,7 +82,7 @@ ApiStatus func_802A916C_42EF8C(Evt* script, s32 isInitialCall) { actionCommandStatus->unk_48 = 0; battleStatus->actionSuccess = 0; actionCommandStatus->state = 10; - battleStatus->flags1 &= ~0x8000; + battleStatus->flags1 &= ~BS_FLAGS1_8000; func_80269118(); diff --git a/src/battle/action_cmd/squirt.c b/src/battle/action_cmd/squirt.c index d6d65c1a17..2e479705a8 100644 --- a/src/battle/action_cmd/squirt.c +++ b/src/battle/action_cmd/squirt.c @@ -71,7 +71,7 @@ ApiStatus func_802A911C_429E3C(Evt* script) { battleStatus->actionSuccess = 0; battleStatus->unk_86 = 0; actionCommandStatus->state = 10; - battleStatus->flags1 &= ~0x8000; + battleStatus->flags1 &= ~BS_FLAGS1_8000; func_80269118(); return ApiStatus_DONE2; } diff --git a/src/battle/action_cmd/stop_leech.c b/src/battle/action_cmd/stop_leech.c index 3e240f47ef..0a590c6545 100644 --- a/src/battle/action_cmd/stop_leech.c +++ b/src/battle/action_cmd/stop_leech.c @@ -64,7 +64,7 @@ ApiStatus func_802A9110_4256A0(Evt* script, s32 isInitialCall) { battleStatus->actionSuccess = 0; battleStatus->unk_86 = 0; actionCommandStatus->state = 10; - battleStatus->flags1 &= ~0x8000; + battleStatus->flags1 &= ~BS_FLAGS1_8000; return ApiStatus_DONE2; } diff --git a/src/battle/action_cmd/tidal_wave.c b/src/battle/action_cmd/tidal_wave.c index 78f30c7737..43b4701ac8 100644 --- a/src/battle/action_cmd/tidal_wave.c +++ b/src/battle/action_cmd/tidal_wave.c @@ -79,7 +79,7 @@ ApiStatus func_802A9138_42C828(Evt* script, s32 isInitialCall) { battleStatus->unk_84 = 0; battleStatus->unk_86 = 0; actionCommandStatus->state = 10; - battleStatus->flags1 &= ~0x8000; + battleStatus->flags1 &= ~BS_FLAGS1_8000; func_80269118(); return ApiStatus_DONE2; } diff --git a/src/battle/area_arn/actor/tubbas_heart.c b/src/battle/area_arn/actor/tubbas_heart.c index 47255171a2..f86cb9bdee 100644 --- a/src/battle/area_arn/actor/tubbas_heart.c +++ b/src/battle/area_arn/actor/tubbas_heart.c @@ -279,7 +279,7 @@ EvtScript N(80224414) = { EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) EVT_CALL(MoveBattleCamOver, 25) EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_NO_DMG_APPLY, 1) - EVT_CALL(SetBattleFlagBits, BS_FLAGS1_20000 | BS_FLAGS1_40000, 1) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_DISABLE_CELEBRATION | BS_FLAGS1_ENEMY_FLED, 1) EVT_CALL(func_8026F60C, 20) EVT_RETURN EVT_END diff --git a/src/battle/area_dgb/actor/tubba_blubba.c b/src/battle/area_dgb/actor/tubba_blubba.c index b745dddb83..0c2133b66f 100644 --- a/src/battle/area_dgb/actor/tubba_blubba.c +++ b/src/battle/area_dgb/actor/tubba_blubba.c @@ -341,7 +341,7 @@ EvtScript N(takeTurn_80219750) = { EVT_CALL(GetActorVar, ACTOR_SELF, 2, LVar0) EVT_KILL_THREAD(LVar0) EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_NO_DMG_APPLY, 1) - EVT_CALL(SetBattleFlagBits, BS_FLAGS1_20000 | BS_FLAGS1_40000, 1) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_DISABLE_CELEBRATION | BS_FLAGS1_ENEMY_FLED, 1) EVT_CALL(func_8026F60C, 10) EVT_RETURN EVT_END_IF diff --git a/src/battle/area_dig/actor/tubba_blubba.c b/src/battle/area_dig/actor/tubba_blubba.c index 38ce5efc49..a915ee600b 100644 --- a/src/battle/area_dig/actor/tubba_blubba.c +++ b/src/battle/area_dig/actor/tubba_blubba.c @@ -213,7 +213,7 @@ EvtScript N(takeTurn) = { EVT_CALL(GetActorVar, ACTOR_SELF, 2, LVar0) EVT_KILL_THREAD(LVar0) EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_NO_DMG_APPLY, 1) - EVT_CALL(SetBattleFlagBits, BS_FLAGS1_20000 | BS_FLAGS1_40000, 1) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_DISABLE_CELEBRATION | BS_FLAGS1_ENEMY_FLED, 1) EVT_CALL(func_8026F60C, 10) EVT_RETURN EVT_END_IF diff --git a/src/battle/area_flo/actor/amazy_dayzee.c b/src/battle/area_flo/actor/amazy_dayzee.c index 3cc2f7b01b..719a87dae7 100644 --- a/src/battle/area_flo/actor/amazy_dayzee.c +++ b/src/battle/area_flo/actor/amazy_dayzee.c @@ -352,7 +352,7 @@ EvtScript N(flee) = { EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) EVT_CALL(EnableActorBlur, ACTOR_SELF, 0) - EVT_CALL(SetBattleFlagBits, BS_FLAGS1_40000, 1) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_ENEMY_FLED, 1) EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) EVT_CALL(RemoveActor, ACTOR_SELF) EVT_RETURN diff --git a/src/battle/area_flo/actor/crazee_dayzee.c b/src/battle/area_flo/actor/crazee_dayzee.c index 182f0fc482..67cdf09b66 100644 --- a/src/battle/area_flo/actor/crazee_dayzee.c +++ b/src/battle/area_flo/actor/crazee_dayzee.c @@ -345,7 +345,7 @@ EvtScript N(flee) = { EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) EVT_CALL(EnableActorBlur, ACTOR_SELF, 0) - EVT_CALL(SetBattleFlagBits, BS_FLAGS1_40000, 1) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_ENEMY_FLED, 1) EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) EVT_CALL(RemoveActor, ACTOR_SELF) EVT_RETURN diff --git a/src/battle/area_hos/actor/ember.c b/src/battle/area_hos/actor/ember.c index 8e47e314a4..e59f9d7d9e 100644 --- a/src/battle/area_hos/actor/ember.c +++ b/src/battle/area_hos/actor/ember.c @@ -1,786 +1,5 @@ #include "common.h" -#include "battle/battle.h" -#include "script_api/battle.h" -#include "sprite/npc/LavaBubble.h" #define NAMESPACE b_area_hos_ember -s32 N(defenseTable_8021ACB0)[] = { - ELEMENT_NORMAL, 0, - ELEMENT_WATER, -2, - ELEMENT_ICE, -2, - ELEMENT_FIRE, 99, - ELEMENT_END, -}; - -s32 N(statusTable_8021ACD4)[] = { - STATUS_NORMAL, 0, - STATUS_DEFAULT, 0, - STATUS_SLEEP, 0, - STATUS_POISON, 50, - STATUS_FROZEN, 0, - STATUS_DIZZY, 100, - STATUS_FEAR, 0, - STATUS_STATIC, 50, - STATUS_PARALYZE, 0, - STATUS_SHRINK, 90, - STATUS_STOP, 85, - STATUS_DEFAULT_TURN_MOD, 0, - STATUS_SLEEP_TURN_MOD, 0, - STATUS_POISON_TURN_MOD, 0, - STATUS_FROZEN_TURN_MOD, 0, - STATUS_DIZZY_TURN_MOD, 1, - STATUS_FEAR_TURN_MOD, 0, - STATUS_STATIC_TURN_MOD, 0, - STATUS_PARALYZE_TURN_MOD, 0, - STATUS_SHRINK_TURN_MOD, 0, - STATUS_STOP_TURN_MOD, 0, - STATUS_END, -}; - -extern s32 N(idleAnimations_8021AE5C)[]; -extern s32 N(idleAnimations_8021AEA8)[]; - -ActorPartBlueprint N(partsTable_8021AD80)[] = { - { - .flags = ACTOR_PART_FLAG_MULTI_TARGET, - .index = 1, - .posOffset = { 0, 0, 0 }, - .targetOffset = { -2, 25 }, - .opacity = 255, - .idleAnimations = N(idleAnimations_8021AE5C), - .defenseTable = N(defenseTable_8021ACB0), - .eventFlags = ACTOR_EVENT_FLAG_FIREY, - .elementImmunityFlags = 0, - .unk_1C = 0xFD, - .unk_1D = 0xF6, - }, - { - .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_USE_ABSOLUTE_POSITION, - .index = 2, - .posOffset = { 0, 0, 0 }, - .targetOffset = { 0, 24 }, - .opacity = 255, - .idleAnimations = N(idleAnimations_8021AEA8), - .defenseTable = N(defenseTable_8021ACB0), - .eventFlags = ACTOR_EVENT_FLAG_0, - .elementImmunityFlags = 0, - .unk_1C = 0xFF, - .unk_1D = 0xF6, - }, - { - .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_USE_ABSOLUTE_POSITION, - .index = 3, - .posOffset = { 0, 0, 0 }, - .targetOffset = { 0, 24 }, - .opacity = 255, - .idleAnimations = N(idleAnimations_8021AEA8), - .defenseTable = N(defenseTable_8021ACB0), - .eventFlags = ACTOR_EVENT_FLAG_0, - .elementImmunityFlags = 0, - .unk_1C = 0xFF, - .unk_1D = 0xF6, - }, - { - .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_USE_ABSOLUTE_POSITION, - .index = 4, - .posOffset = { 0, 0, 0 }, - .targetOffset = { 0, 24 }, - .opacity = 255, - .idleAnimations = N(idleAnimations_8021AEA8), - .defenseTable = N(defenseTable_8021ACB0), - .eventFlags = ACTOR_EVENT_FLAG_0, - .elementImmunityFlags = 0, - .unk_1C = 0xFF, - .unk_1D = 0xF6, - }, - { - .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_USE_ABSOLUTE_POSITION, - .index = 5, - .posOffset = { 0, 0, 0 }, - .targetOffset = { 0, 24 }, - .opacity = 255, - .idleAnimations = N(idleAnimations_8021AEA8), - .defenseTable = N(defenseTable_8021ACB0), - .eventFlags = ACTOR_EVENT_FLAG_0, - .elementImmunityFlags = 0, - .unk_1C = 0xFF, - .unk_1D = 0xF6, - }, -}; - -extern EvtScript N(init_8021AEB4); - -ActorBlueprint NAMESPACE = { - .flags = ACTOR_FLAG_FLYING, - .type = ACTOR_TYPE_EMBER, - .level = 24, - .maxHP = 10, - .partCount = ARRAY_COUNT(N(partsTable_8021AD80)), - .partsData = N(partsTable_8021AD80), - .script = &N(init_8021AEB4), - .statusTable = N(statusTable_8021ACD4), - .escapeChance = 60, - .airLiftChance = 80, - .spookChance = 75, - .baseStatusChance = 50, - .upAndAwayChance = 95, - .spinSmashReq = 0, - .powerBounceChance = 80, - .coinReward = 2, - .size = { 33, 32 }, - .hpBarOffset = { 0, 0 }, - .statusIconOffset = { -10, 20 }, - .statusMessageOffset = { 10, 20 }, -}; - -s32 N(idleAnimations_8021AE5C)[] = { - STATUS_NORMAL, ANIM_LavaBubble_Blue_Anim01, - STATUS_STONE, ANIM_LavaBubble_Blue_Anim00, - STATUS_SLEEP, ANIM_LavaBubble_Blue_Anim01, - STATUS_POISON, ANIM_LavaBubble_Blue_Anim01, - STATUS_STOP, ANIM_LavaBubble_Blue_Anim00, - STATUS_STATIC, ANIM_LavaBubble_Blue_Anim01, - STATUS_PARALYZE, ANIM_LavaBubble_Blue_Anim00, - STATUS_DIZZY, ANIM_LavaBubble_Blue_Anim0A, - STATUS_FEAR, ANIM_LavaBubble_Blue_Anim0A, - STATUS_END, -}; - -s32 N(idleAnimations_8021AEA8)[] = { - STATUS_NORMAL, ANIM_LavaBubble_Blue_Anim01, - STATUS_END, -}; - -extern EvtScript N(takeTurn_8021D284); -extern EvtScript N(idle_8021B07C); -extern EvtScript N(handleEvent_8021B8BC); - -EvtScript N(init_8021AEB4) = { - EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_PTR(N(takeTurn_8021D284))) - EVT_CALL(BindIdle, ACTOR_SELF, EVT_PTR(N(idle_8021B07C))) - EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_PTR(N(handleEvent_8021B8BC))) - EVT_CALL(GetActorVar, -127, 0, LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_EQ(0) - EVT_CALL(SetActorVar, -127, 0, 1) - EVT_CASE_EQ(1) - EVT_CALL(SetActorVar, -127, 0, 0) - EVT_END_SWITCH - EVT_CALL(SetPartScale, -127, 2, EVT_FLOAT(0.5), EVT_FLOAT(0.5), EVT_FLOAT(0.5)) - EVT_CALL(SetPartScale, -127, 3, EVT_FLOAT(0.5), EVT_FLOAT(0.5), EVT_FLOAT(0.5)) - EVT_CALL(SetPartScale, -127, 4, EVT_FLOAT(0.5), EVT_FLOAT(0.5), EVT_FLOAT(0.5)) - EVT_CALL(SetPartScale, -127, 5, EVT_FLOAT(0.5), EVT_FLOAT(0.5), EVT_FLOAT(0.5)) - EVT_CALL(SetActorVar, -127, 1, 0) - EVT_CALL(SetActorVar, -127, 2, 0) - EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_ADD(LVar1, 5) - EVT_CALL(ForceHomePos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(HPBarToHome, ACTOR_SELF) - EVT_RETURN - EVT_END -}; - -EvtScript N(idle_8021B07C) = { - EVT_LABEL(0) - EVT_CALL(MakeLerp, 0, 10, 25, 10) - EVT_LABEL(1) - EVT_CALL(UpdateLerp) - EVT_CALL(GetHomePos, -127, LVar2, LVar3, LVar4) - EVT_ADD(LVar0, LVar3) - EVT_CALL(SetActorPos, ACTOR_SELF, LVar2, LVar0, LVar4) - EVT_IF_EQ(LVar1, 1) - EVT_LABEL(11) - EVT_WAIT(1) - EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) - EVT_IF_FLAG(LVar0, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) - EVT_GOTO(11) - EVT_END_IF - EVT_CALL(GetActorVar, -127, 2, LVar0) - EVT_IF_EQ(LVar0, 1) - EVT_GOTO(11) - EVT_END_IF - EVT_GOTO(1) - EVT_END_IF - EVT_CALL(MakeLerp, 10, 0, 25, 10) - EVT_LABEL(2) - EVT_CALL(UpdateLerp) - EVT_CALL(GetHomePos, -127, LVar2, LVar3, LVar4) - EVT_ADD(LVar0, LVar3) - EVT_CALL(SetActorPos, ACTOR_SELF, LVar2, LVar0, LVar4) - EVT_IF_EQ(LVar1, 1) - EVT_LABEL(22) - EVT_WAIT(1) - EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) - EVT_IF_FLAG(LVar0, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) - EVT_GOTO(22) - EVT_END_IF - EVT_CALL(GetActorVar, -127, 2, LVar0) - EVT_IF_EQ(LVar0, 1) - EVT_GOTO(22) - EVT_END_IF - EVT_GOTO(2) - EVT_END_IF - EVT_GOTO(0) - EVT_RETURN - EVT_END -}; - -#include "common/UnkSfxFunc.inc.c" - -EvtScript N(8021B2FC) = { - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim03) - EVT_CALL(SetGoalToHome, ACTOR_SELF) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) - EVT_THREAD - EVT_CALL(N(UnkSfxFunc)) - EVT_END_THREAD - EVT_CALL(FlyToGoal, ACTOR_SELF, 0, 1, 11) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim01) - EVT_RETURN - EVT_END -}; - -EvtScript N(8021B398) = { - EVT_CALL(EnemyCreateTargetList, 32770) - EVT_CALL(InitTargetIterator) - EVT_LABEL(0) - EVT_CALL(GetOwnerTarget, LVar0, LVar5) - EVT_CALL(GetIndexFromHome, LVar0, LVar5) - EVT_MOD(LVar5, 4) - EVT_SWITCH(LVar5) - EVT_CASE_EQ(0) - EVT_SET(LocalFlag(1), 1) - EVT_CASE_EQ(1) - EVT_SET(LocalFlag(2), 1) - EVT_CASE_EQ(2) - EVT_SET(LocalFlag(3), 1) - EVT_CASE_EQ(3) - EVT_SET(LocalFlag(4), 1) - EVT_END_SWITCH - EVT_CALL(ChooseNextTarget, 0, LVar0) - EVT_IF_NE(LVar0, -1) - EVT_GOTO(0) - EVT_END_IF - EVT_IF_EQ(LocalFlag(1), 0) - EVT_SET(LVarA, 0) - EVT_RETURN - EVT_END_IF - EVT_IF_EQ(LocalFlag(2), 0) - EVT_SET(LVarA, 1) - EVT_RETURN - EVT_END_IF - EVT_IF_EQ(LocalFlag(3), 0) - EVT_SET(LVarA, 2) - EVT_RETURN - EVT_END_IF - EVT_IF_EQ(LocalFlag(4), 0) - EVT_SET(LVarA, 3) - EVT_RETURN - EVT_END_IF - EVT_SET(LVarA, -1) - EVT_RETURN - EVT_END -}; - -Vec3i N(vector3D_8021B594) = { 0, -1000, 0, }; - -Formation N(specialFormation_8021B5A0) = { - { .actor = &NAMESPACE, .home = { .vec = &N(vector3D_8021B594) }}, -}; - -EvtScript N(split) = { - EVT_CALL(GetLastDamage, -127, LVar0) - EVT_IF_EQ(LVar0, 0) - EVT_RETURN - EVT_END_IF - EVT_CALL(GetActorHP, -127, LVar0) - EVT_IF_LE(LVar0, 0) - EVT_RETURN - EVT_END_IF - EVT_CALL(GetLastElement, LVar0) - EVT_IF_FLAG(LVar0, 0x20000000) - EVT_RETURN - EVT_END_IF - EVT_CALL(GetActorVar, -127, 1, LVar0) - EVT_IF_GE(LVar0, 2) - EVT_RETURN - EVT_END_IF - EVT_EXEC_WAIT(N(8021B398)) - EVT_SWITCH(LVarA) - EVT_CASE_OR_EQ(0) - EVT_CASE_OR_EQ(1) - EVT_CASE_OR_EQ(2) - EVT_CASE_OR_EQ(3) - EVT_CALL(SummonEnemy, EVT_PTR(N(specialFormation_8021B5A0)), 0) - EVT_CALL(SetActorVar, LVar0, 2, 1) - EVT_CALL(GetActorHP, -127, LVarB) - EVT_CALL(SetEnemyHP, LVar0, LVarB) - EVT_CALL(GetActorPos, ACTOR_SELF, LVarB, LVarC, LVarD) - EVT_CALL(SetActorPos, LVar0, LVarB, LVarC, LVarD) - EVT_CALL(SetGoalToIndex, LVar0, LVarA) - EVT_CALL(GetGoalPos, LVar0, LVarB, LVarC, LVarD) - EVT_CALL(SetHomePos, LVar0, LVarB, LVarC, LVarD) - EVT_CALL(SetActorJumpGravity, LVar0, EVT_FLOAT(1.2)) - EVT_CALL(JumpToGoal, LVar0, 20, FALSE, TRUE, FALSE) - EVT_CALL(HPBarToHome, LVar0) - EVT_CALL(GetActorVar, -127, 1, LVar1) - EVT_SWITCH(LVar1) - EVT_CASE_EQ(0) - EVT_CALL(SetActorVar, LVar0, 1, 1) - EVT_CASE_EQ(1) - EVT_CALL(SetActorVar, LVar0, 1, 2) - EVT_END_SWITCH - EVT_CALL(SetActorVar, -127, 1, 3) - EVT_CALL(SetActorVar, LVar0, 2, 0) - EVT_END_CASE_GROUP - EVT_CASE_DEFAULT - EVT_END_SWITCH - EVT_RETURN - EVT_END -}; - -EvtScript N(handleEvent_8021B8BC) = { - EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) - EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) - EVT_CALL(GetLastEvent, ACTOR_SELF, LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(9) - EVT_CASE_OR_EQ(10) - EVT_EXEC(N(split)) - EVT_SET_CONST(LVar0, 0x00000001) - EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim07) - EVT_EXEC_WAIT(DoNormalHit) - EVT_END_CASE_GROUP - EVT_CASE_EQ(14) - EVT_EXEC(N(split)) - EVT_SET_CONST(LVar0, 0x00000001) - EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim08) - EVT_SET_CONST(LVar2, ANIM_LavaBubble_Blue_Anim09) - EVT_EXEC_WAIT(DoBurnHit) - EVT_CASE_EQ(36) - EVT_SET_CONST(LVar0, 0x00000001) - EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim08) - EVT_SET_CONST(LVar2, ANIM_LavaBubble_Blue_Anim09) - EVT_EXEC_WAIT(DoBurnHit) - EVT_SET_CONST(LVar0, 0x00000001) - EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim09) - EVT_EXEC_WAIT(DoDeath) - EVT_RETURN - EVT_CASE_EQ(11) - EVT_EXEC(N(split)) - EVT_SET_CONST(LVar0, 0x00000001) - EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim07) - EVT_EXEC_WAIT(DoSpinSmashHit) - EVT_CASE_EQ(33) - EVT_SET_CONST(LVar0, 0x00000001) - EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim07) - EVT_EXEC_WAIT(DoSpinSmashHit) - EVT_SET_CONST(LVar0, 0x00000001) - EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim07) - EVT_EXEC_WAIT(DoDeath) - EVT_RETURN - EVT_CASE_EQ(47) - EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_759) - EVT_SET_CONST(LVar0, 0x00000001) - EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim07) - EVT_EXEC_WAIT(DoShockHit) - EVT_SET_CONST(LVar0, 0x00000001) - EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim07) - EVT_EXEC_WAIT(DoJumpBack) - EVT_EXEC_WAIT(N(8021B2FC)) - EVT_CASE_EQ(38) - EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_759) - EVT_SET_CONST(LVar0, 0x00000001) - EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim07) - EVT_EXEC_WAIT(DoShockHit) - EVT_SET_CONST(LVar0, 0x00000001) - EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim07) - EVT_EXEC_WAIT(DoDeath) - EVT_RETURN - EVT_CASE_OR_EQ(23) - EVT_CASE_OR_EQ(25) - EVT_CASE_OR_EQ(31) - EVT_CASE_OR_EQ(28) - EVT_SET_CONST(LVar0, 0x00000001) - EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim01) - EVT_EXEC_WAIT(DoImmune) - EVT_END_CASE_GROUP - EVT_CASE_EQ(32) - EVT_SET_CONST(LVar0, 0x00000001) - EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim07) - EVT_EXEC_WAIT(DoNormalHit) - EVT_SET_CONST(LVar0, 0x00000001) - EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim07) - EVT_EXEC_WAIT(DoDeath) - EVT_RETURN - EVT_CASE_EQ(56) - EVT_CALL(SetActorPos, ACTOR_SELF, 20, 0, 0) - EVT_CALL(HPBarToCurrent, ACTOR_SELF) - EVT_CASE_EQ(53) - EVT_EXEC_WAIT(N(8021B2FC)) - EVT_CALL(HPBarToHome, ACTOR_SELF) - EVT_CASE_EQ(49) - EVT_SET_CONST(LVar0, 0x00000001) - EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim01) - EVT_EXEC_WAIT(DoRecover) - EVT_CASE_EQ(57) - EVT_SET_CONST(LVar0, 0x00000001) - EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim03) - EVT_SET_CONST(LVar2, ANIM_LavaBubble_Blue_Anim07) - EVT_EXEC_WAIT(DoScareAway) - EVT_RETURN - EVT_CASE_EQ(58) - EVT_SET_CONST(LVar0, 0x00000001) - EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim03) - EVT_EXEC_WAIT(DoAirLift) - EVT_CASE_EQ(22) - EVT_SET_CONST(LVar0, 0x00000001) - EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim03) - EVT_EXEC_WAIT(DoBlowAway) - EVT_RETURN - EVT_CASE_EQ(61) - EVT_CASE_DEFAULT - EVT_END_SWITCH - EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) - EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) - EVT_RETURN - EVT_END -}; - -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, BTL_CAM_PRESET_63) - EVT_CALL(BattleCamTargetActor, ACTOR_SELF) - EVT_CALL(func_8024ECF8, -1, 1, 0) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim03) - EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_ADD(LVar0, 30) - EVT_SET(LVar1, 5) - EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) - EVT_THREAD - EVT_CALL(N(UnkSfxFunc)) - EVT_END_THREAD - EVT_CALL(FlyToGoal, ACTOR_SELF, 0, 0, 11) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim01) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, 16) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(6) - EVT_CASE_OR_EQ(5) - EVT_SET(LVarA, LVar0) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim04) - EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_SUB(LVar0, 20) - EVT_SET(LVar1, 0) - EVT_ADD(LVar2, 1) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) - EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) - EVT_IF_EQ(LVarA, 5) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) - EVT_END_IF - EVT_SUB(LVar0, 30) - EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) - EVT_SUB(LVar0, 20) - EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) - EVT_SUB(LVar0, 10) - EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(JumpToGoal, ACTOR_SELF, 3, FALSE, TRUE, FALSE) - EVT_WAIT(14) - 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)) - EVT_CALL(SetActorYaw, ACTOR_SELF, 0) - EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) - EVT_CALL(EnableIdleScript, ACTOR_SELF, -1) - EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) - EVT_RETURN - EVT_END_CASE_GROUP - EVT_END_SWITCH - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim04) - EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_ADD(LVar2, 1) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) - EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) - EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_FIRE, 0, 0, 4, 32) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(0) - EVT_CASE_OR_EQ(2) - EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) - EVT_SET(LVar0, 1) - EVT_SET(LVar1, 4587780) - EVT_EXEC_WAIT(DoJumpBack) - EVT_WAIT(5) - EVT_EXEC_WAIT(N(8021B2FC)) - EVT_END_CASE_GROUP - EVT_END_SWITCH - EVT_CALL(EnableIdleScript, ACTOR_SELF, -1) - EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) - EVT_RETURN - EVT_END -}; - -EvtScript N(8021C454) = { - EVT_SET(LVar6, 2) - EVT_LOOP(4) - EVT_THREAD - EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarA) - EVT_IF_FLAG(LVarA, 0x80000) - EVT_CALL(SetPartScale, -127, LVar6, EVT_FLOAT(0.2), EVT_FLOAT(0.2), EVT_FLOAT(0.2)) - EVT_ELSE - EVT_CALL(SetPartScale, -127, LVar6, EVT_FLOAT(0.5), EVT_FLOAT(0.5), EVT_FLOAT(0.5)) - EVT_END_IF - EVT_CALL(SetPartPos, ACTOR_SELF, LVar6, LVar0, LVar1, LVar2) - EVT_CALL(SetPartFlagBits, -127, LVar6, 1, 0) - EVT_CALL(SetPartMoveSpeed, -127, LVar6, EVT_FLOAT(8.0)) - EVT_CALL(SetPartJumpGravity, -127, LVar6, EVT_FLOAT(0.01)) - EVT_CALL(SetPartSounds, -127, LVar6, 2, 720, 0) - EVT_CALL(JumpPartTo, -127, LVar6, LVar3, LVar4, LVar5, 0, 0) - EVT_CALL(SetPartFlagBits, -127, LVar6, 1, 1) - EVT_END_THREAD - EVT_WAIT(3) - EVT_ADD(LVar6, 1) - EVT_END_LOOP - EVT_RETURN - EVT_END -}; - -EvtScript N(8021C5F8) = { - EVT_EXEC(N(8021C454)) - EVT_CALL(GetDistanceToGoal, -127, LVar0) - EVT_DIVF(LVar0, EVT_FLOAT(8.0)) - EVT_ADD(LVar0, 1) - EVT_WAIT(LVar0) - EVT_RETURN - EVT_END -}; - -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, BTL_CAM_PRESET_63) - EVT_CALL(BattleCamTargetActor, ACTOR_SELF) - EVT_CALL(func_8024ECF8, -1, 1, 0) - EVT_CALL(GetActorPos, ACTOR_PLAYER, LVar0, LVar1, LVar2) - EVT_CALL(GetActorVar, -127, 0, LVarA) - EVT_IF_EQ(LVarA, 1) - EVT_ADD(LVar0, 100) - EVT_SET(LVar1, 5) - EVT_ELSE - EVT_ADD(LVar0, 30) - EVT_SET(LVar1, 50) - EVT_END_IF - EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim03) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) - EVT_THREAD - EVT_CALL(N(UnkSfxFunc)) - EVT_END_THREAD - EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -4, 11) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim01) - EVT_WAIT(10) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim05) - EVT_WAIT(30) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, 16) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(6) - EVT_CASE_OR_EQ(5) - EVT_SET(LVarA, LVar0) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim06) - EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_SUB(LVar0, 5) - EVT_ADD(LVar1, 4) - EVT_ADD(LVar2, 2) - EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(GetGoalPos, ACTOR_SELF, LVar3, LVar4, LVar5) - EVT_SUB(LVar3, 100) - EVT_ADD(LVar5, 2) - EVT_EXEC_WAIT(N(8021C5F8)) - EVT_IF_EQ(LVarA, 5) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) - EVT_END_IF - EVT_WAIT(20) - 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)) - EVT_WAIT(20) - EVT_CALL(SetActorYaw, ACTOR_SELF, 0) - EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) - EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) - EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) - EVT_RETURN - EVT_END_CASE_GROUP - EVT_END_SWITCH - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim06) - EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_SUB(LVar0, 5) - EVT_ADD(LVar1, 4) - EVT_ADD(LVar2, 2) - EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(GetGoalPos, ACTOR_SELF, LVar3, LVar4, LVar5) - EVT_SUB(LVar4, 6) - EVT_ADD(LVar5, 2) - EVT_EXEC_WAIT(N(8021C5F8)) - EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, (DAMAGE_TYPE_FIRE | DAMAGE_TYPE_NO_CONTACT), 0, 0, 3, 32) - EVT_WAIT(20) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(0) - EVT_CASE_OR_EQ(2) - EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) - EVT_EXEC_WAIT(N(8021B2FC)) - EVT_END_CASE_GROUP - EVT_END_SWITCH - EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) - EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) - EVT_RETURN - EVT_END -}; - -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, BTL_CAM_PRESET_63) - EVT_CALL(BattleCamTargetActor, ACTOR_SELF) - EVT_CALL(func_8024ECF8, -1, 1, 0) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim03) - EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(AddGoalPos, ACTOR_SELF, 30, 0, 0) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_THREAD - EVT_CALL(N(UnkSfxFunc)) - EVT_END_THREAD - EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -4, 11) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, 16) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(6) - EVT_CASE_OR_EQ(5) - EVT_SET(LVarA, LVar0) - EVT_WAIT(10) - EVT_CALL(SetActorSounds, -127, 2, 0, 0) - EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2CF) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim04) - EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, FALSE, FALSE) - EVT_CALL(ResetActorSounds, -127, 2) - EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2EF) - EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_SUB(LVar0, 30) - EVT_ADD(LVar2, 2) - EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim04) - EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -10, 4) - EVT_IF_EQ(LVarA, 5) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) - EVT_END_IF - EVT_WAIT(30) - 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)) - EVT_CALL(SetActorYaw, ACTOR_SELF, 0) - EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) - EVT_CALL(EnableIdleScript, ACTOR_SELF, -1) - EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) - EVT_RETURN - EVT_END_CASE_GROUP - EVT_END_SWITCH - EVT_WAIT(5) - EVT_CALL(SetActorSounds, -127, 2, 0, 0) - EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2CF) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim04) - EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, FALSE, FALSE) - EVT_CALL(ResetActorSounds, -127, 2) - EVT_SET(LVarA, LVar0) - EVT_SET(LVarB, LVar1) - EVT_SET(LVarC, LVar2) - EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2EF) - EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_ADD(LVar2, 2) - EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) - EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -10, 4) - EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_FIRE, 0, 0, 4, 32) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(0) - EVT_CASE_OR_EQ(2) - EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) - EVT_CALL(SetGoalPos, ACTOR_SELF, LVarA, LVarB, LVarC) - EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -10, 0) - EVT_WAIT(20) - EVT_EXEC_WAIT(N(8021B2FC)) - EVT_END_CASE_GROUP - EVT_END_SWITCH - EVT_CALL(EnableIdleScript, ACTOR_SELF, -1) - EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) - EVT_RETURN - EVT_END -}; - -EvtScript N(takeTurn_8021D284) = { - EVT_CALL(GetBattlePhase, LVar0) - EVT_IF_EQ(LVar0, 1) - EVT_CALL(GetActorVar, -127, 0, LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_EQ(1) - EVT_EXEC_WAIT(N(8021BE64)) - EVT_CASE_EQ(0) - EVT_EXEC_WAIT(N(8021CBC8)) - EVT_END_SWITCH - EVT_RETURN - EVT_END_IF - EVT_CALL(GetActorVar, -127, 0, LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_EQ(1) - EVT_CALL(GetStatusFlags, ACTOR_PARTNER, LVar0) - EVT_IF_FLAG(LVar0, 0x1000000) - EVT_EXEC_WAIT(N(8021BE64)) - EVT_ELSE - EVT_CALL(RandInt, 1000, LVar0) - EVT_IF_LE(LVar0, 300) - EVT_EXEC_WAIT(N(8021C654)) - EVT_ELSE - EVT_EXEC_WAIT(N(8021BE64)) - EVT_END_IF - EVT_END_IF - EVT_CASE_EQ(0) - EVT_CALL(GetStatusFlags, ACTOR_PARTNER, LVar0) - EVT_IF_FLAG(LVar0, 0x1000000) - EVT_EXEC_WAIT(N(8021CBC8)) - EVT_ELSE - EVT_CALL(RandInt, 1000, LVar0) - EVT_IF_LE(LVar0, 300) - EVT_EXEC_WAIT(N(8021C654)) - EVT_ELSE - EVT_EXEC_WAIT(N(8021CBC8)) - EVT_END_IF - EVT_END_IF - EVT_END_SWITCH - EVT_RETURN - EVT_END -}; +#include "battle/common/actor/ember.inc.c" diff --git a/src/battle/area_hos/actor/goombario_tutor.c b/src/battle/area_hos/actor/goombario_tutor.c index fad161d476..83199637ac 100644 --- a/src/battle/area_hos/actor/goombario_tutor.c +++ b/src/battle/area_hos/actor/goombario_tutor.c @@ -228,7 +228,7 @@ EvtScript N(takeTurn_80219444) = { EVT_CALL(func_80269EAC, 5) EVT_END_IF EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 1, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(CloseActionCommandInfo) EVT_SET(LVarF, LVar0) EVT_SWITCH(LVarF) @@ -282,7 +282,7 @@ ApiStatus func_80218000_47F0B0(Evt* script, s32 isInitialCall) { } EvtScript N(80219C74) = { - EVT_CALL(SetBattleFlagBits, 33554432, 1) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_2000000, 1) EVT_CALL(func_802535B4, 0) EVT_CALL(WaitForState, 13) EVT_WAIT(15) @@ -306,7 +306,7 @@ EvtScript N(80219C74) = { EVT_CALL(ActorSpeak, 655386, 256, 1, 2097161, 2097157) EVT_CALL(UseIdleAnimation, ACTOR_PARTNER, TRUE) EVT_CALL(SetActionCommandMode, 1) - EVT_CALL(SetBattleFlagBits, 16384, 0) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_4000, 0) EVT_CALL(SetMessageBoxDuration, -1) EVT_THREAD EVT_LOOP(15) diff --git a/src/battle/area_hos/actor/magikoopa.c b/src/battle/area_hos/actor/magikoopa.c index 8d978cbd94..6aba4bfb1f 100644 --- a/src/battle/area_hos/actor/magikoopa.c +++ b/src/battle/area_hos/actor/magikoopa.c @@ -219,8 +219,8 @@ EvtScript N(idle_8021D774) = { EvtScript N(8021D784) = { EVT_CALL(GetBattleFlags, LVar0) - EVT_IF_NOT_FLAG(LVar0, 0x80000) - EVT_IF_FLAG(LVar0, 0x240) + EVT_IF_NOT_FLAG(LVar0, BS_FLAGS1_80000) + EVT_IF_FLAG(LVar0, BS_FLAGS1_200 | BS_FLAGS1_40) EVT_CALL(SetActorVar, -127, 2, 1) EVT_END_IF EVT_ELSE @@ -231,7 +231,7 @@ EvtScript N(8021D784) = { EVT_CASE_OR_EQ(133) EVT_CASE_OR_EQ(136) EVT_CALL(GetBattleFlags, LVar0) - EVT_IF_FLAG(LVar0, 0x240) + EVT_IF_FLAG(LVar0, BS_FLAGS1_200 | BS_FLAGS1_40) EVT_CALL(SetActorVar, -127, 2, 1) EVT_END_IF EVT_END_CASE_GROUP @@ -433,7 +433,7 @@ EvtScript N(8021E46C) = { EVT_IF_FLAG(LVarA, 0x20000000) EVT_LABEL(0) EVT_CALL(GetBattleFlags, LVarA) - EVT_IF_FLAG(LVarA, 0x100) + EVT_IF_FLAG(LVarA, BS_FLAGS1_100) EVT_WAIT(1) EVT_GOTO(0) EVT_END_IF @@ -1109,10 +1109,10 @@ EvtScript N(shapeSpell) = { EVT_WAIT(18) EVT_IF_EQ(LocalFlag(0), 1) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, (DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_NO_CONTACT), 0, 0, 0, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, (DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_NO_CONTACT), 0, 0, 0, BS_FLAGS1_SP_EVT_ACTIVE) EVT_ELSE EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, (DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_NO_CONTACT), 0, 0, 3, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, (DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_NO_CONTACT), 0, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE) EVT_END_IF EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) diff --git a/src/battle/area_hos/stage/hos_01.c b/src/battle/area_hos/stage/hos_01.c index feaf7cef69..986c332950 100644 --- a/src/battle/area_hos/stage/hos_01.c +++ b/src/battle/area_hos/stage/hos_01.c @@ -4,21 +4,104 @@ #define NAMESPACE b_area_hos_hos_01 -s32 func_802184C0_47F570(void); -INCLUDE_ASM(s32, "battle/area_hos/47F570", func_802184C0_47F570); +u16 D_80224BB0_48BC60[16] = { }; -s32 func_802186B8_47F768(void); -INCLUDE_ASM(s32, "battle/area_hos/47F570", func_802186B8_47F768); +void func_802184C0_47F570(s32 arg0) { + Vtx* firstVertex; + Vtx* copiedVertices; + s32 numVertices; + s32 i; + s32 temp3; -s32 func_802189D0_47FA80(void); -INCLUDE_ASM(s32, "battle/area_hos/47F570", func_802189D0_47FA80); + arg0--; + mdl_get_copied_vertices(arg0, &firstVertex, &copiedVertices, &numVertices); -s32 func_80218CEC_47FD9C(void); -INCLUDE_ASM(s32, "battle/area_hos/47F570", func_80218CEC_47FD9C); + for (i = 0; i < numVertices; i++) { + Vtx* vtx = &copiedVertices[i]; + s16 temp1 = (sins(D_80224BB0_48BC60[arg0] * (i % 3 + 1) + i) + 0x8000) / 2; + s32 temp2 = temp1 * 155; + vtx->v.cn[0] = temp2 / 0x8000 + 100; + vtx->v.cn[1] = temp2 / 0x8000 + 100; -s32 D_80224BB0_48BC60[] = { - 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, -}; + temp3 = sins(D_80224BB0_48BC60[arg0] / 0x8000 * (((i / 2) % 3 + 1) << 15) + D_80224BB0_48BC60[arg0] / 0x4000 * 0x8000 + i) + 0x8000; + vtx->v.cn[2] = vtx->v.cn[0] * temp3 / 0x10000; + } + + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(arg0)); + D_80224BB0_48BC60[arg0] += 0x253; +} + +void func_802186B8_47F768(s32 arg0) { + Vtx* firstVertex; + Vtx* copiedVertices; + s32 numVertices; + s32 i; + s32 temp3; + + arg0--; + mdl_get_copied_vertices(arg0, &firstVertex, &copiedVertices, &numVertices); + + for (i = 0; i < numVertices; i++) { + u8* colors = copiedVertices[i].v.cn; + s16 temp1 = (sins(D_80224BB0_48BC60[arg0] * (i % 3 + 1) + i) + 0x8000) / 2; + colors[0] = temp1 * 155 / 0x8000 + 48.62745098039216; + colors[1] = temp1 * 155 / 0x8000 + 89.41176470588236; + + temp3 = sins(D_80224BB0_48BC60[arg0] / 0x8000 * (((i / 2) % 3 + 1) << 15) + D_80224BB0_48BC60[arg0] / 0x4000 * 0x8000 + i) + 0x8000; + colors[2] = colors[0] * temp3 / 0x10000 + 99.6078431372549; + } + + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(arg0)); + D_80224BB0_48BC60[arg0] += 0x253; +} + +void func_802189D0_47FA80(s32 arg0) { + Vtx* firstVertex; + Vtx* copiedVertices; + s32 numVertices; + s32 i; + s32 temp3; + + arg0--; + mdl_get_copied_vertices(arg0, &firstVertex, &copiedVertices, &numVertices); + + for (i = 0; i < numVertices; i++) { + u8* colors = copiedVertices[i].v.cn; + s16 temp1 = (sins(D_80224BB0_48BC60[arg0] * (i % 3 + 1) + i) + 0x8000) / 2; + colors[0] = temp1 * 155 / 0x8000 + 67.45098039215686; + colors[1] = temp1 * 155 / 0x8000 + 100.0; + + temp3 = sins(D_80224BB0_48BC60[arg0] / 0x8000 * (((i / 2) % 3 + 1) << 15) + D_80224BB0_48BC60[arg0] / 0x4000 * 0x8000 + i) + 0x8000; + colors[2] = colors[0] * temp3 / 0x10000 + 59.21568627450981; + } + + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(arg0)); + D_80224BB0_48BC60[arg0] += 0x253; +} + +void func_80218CEC_47FD9C(s32 arg0) { + Vtx* firstVertex; + Vtx* copiedVertices; + s32 numVertices; + s32 i; + s32 temp3; + + arg0--; + mdl_get_copied_vertices(arg0, &firstVertex, &copiedVertices, &numVertices); + + for (i = 0; i < numVertices; i++) { + u8* colors = copiedVertices[i].v.cn; + s16 temp1 = (sins(D_80224BB0_48BC60[arg0] * (i % 3 + 1) + i) + 0x8000) / 2; + colors[0] = temp1 * 155 / 0x8000 + 100.0; + colors[1] = temp1 * 155 / 0x8000 + 80.3921568627451; + + temp3 = sins(D_80224BB0_48BC60[arg0] / 0x8000 * (((i / 2) % 3 + 1) << 15) + D_80224BB0_48BC60[arg0] / 0x4000 * 0x8000 + i) + 0x8000; + colors[2] = colors[0] * temp3 / 0x10000 + 96.07843137254902; + } + + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(arg0)); + D_80224BB0_48BC60[arg0] += 0x253; +} EvtScript N(beforeBattle_80224BD0) = { EVT_CALL(SetSpriteShading, -1) diff --git a/src/battle/area_isk_part_1/actor/stone_chomp.c b/src/battle/area_isk_part_1/actor/stone_chomp.c index f0564b36c5..b8077fae0c 100644 --- a/src/battle/area_isk_part_1/actor/stone_chomp.c +++ b/src/battle/area_isk_part_1/actor/stone_chomp.c @@ -261,7 +261,7 @@ ApiStatus b_area_isk_part_1_ChompChainUpdate(Evt* script, s32 isInitialCall) { three = 3; - animState = actor->state.unk_6C; + animState = actor->state.functionTempPtr[0]; if (actor->debuff == STATUS_SHRINK) { ax = actor->currentPos.x + 6.0; ay = actor->currentPos.y + 2.5; diff --git a/src/battle/area_isk_part_2/actor/chain_chomp.c b/src/battle/area_isk_part_2/actor/chain_chomp.c index 88c08f79cd..86399f4967 100644 --- a/src/battle/area_isk_part_2/actor/chain_chomp.c +++ b/src/battle/area_isk_part_2/actor/chain_chomp.c @@ -276,7 +276,7 @@ ApiStatus b_area_isk_part_2_chain_chomp_ChompChainUpdate(Evt* script, s32 isInit three = 3; - animState = actor->state.unk_6C; + animState = actor->state.functionTempPtr[0]; if (actor->debuff == STATUS_SHRINK) { ax = actor->currentPos.x + 6.0; ay = actor->currentPos.y + 2.5; diff --git a/src/battle/area_kkj/actor/kammy_koopa.c b/src/battle/area_kkj/actor/kammy_koopa.c index 3e77256fa1..3a9480b869 100644 --- a/src/battle/area_kkj/actor/kammy_koopa.c +++ b/src/battle/area_kkj/actor/kammy_koopa.c @@ -519,7 +519,7 @@ EvtScript N(onDeath) = { EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 3) EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleKammy_Anim03) EVT_WAIT(50) - EVT_CALL(SetBattleFlagBits, BS_FLAGS1_20000 | BS_FLAGS1_40000, 1) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_DISABLE_CELEBRATION | BS_FLAGS1_ENEMY_FLED, 1) EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_NO_DMG_APPLY, 1) EVT_CALL(ActorSpeak, MSG_CH8_009B, ACTOR_SELF, 1, ANIM_BattleKammy_Anim03, ANIM_BattleKammy_Anim03) EVT_WAIT(10) diff --git a/src/battle/area_kmr_part_2/actor/blue_goomba.c b/src/battle/area_kmr_part_2/actor/blue_goomba.c index 37de0e084c..ee20ffbab0 100644 --- a/src/battle/area_kmr_part_2/actor/blue_goomba.c +++ b/src/battle/area_kmr_part_2/actor/blue_goomba.c @@ -303,7 +303,7 @@ EvtScript N(takeTurn_8021A5A0) = { EVT_WAIT(5) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_GoombaBros_Blue_Midair) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -415,7 +415,7 @@ EvtScript N(takeTurn_8021A5A0) = { EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_WAIT(1) EVT_END_SWITCH - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 1, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) diff --git a/src/battle/area_kmr_part_2/actor/blue_goomba2.c b/src/battle/area_kmr_part_2/actor/blue_goomba2.c index 30fda81f6d..29a0bb3101 100644 --- a/src/battle/area_kmr_part_2/actor/blue_goomba2.c +++ b/src/battle/area_kmr_part_2/actor/blue_goomba2.c @@ -301,7 +301,7 @@ EvtScript N(takeTurn_8021E0F0) = { EVT_WAIT(5) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_GoombaBros_Blue_Midair) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -413,7 +413,7 @@ EvtScript N(takeTurn_8021E0F0) = { EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_WAIT(1) EVT_END_SWITCH - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 1, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) diff --git a/src/battle/area_kmr_part_2/actor/goomba_king.c b/src/battle/area_kmr_part_2/actor/goomba_king.c index baea06f545..83fcde28f6 100644 --- a/src/battle/area_kmr_part_2/actor/goomba_king.c +++ b/src/battle/area_kmr_part_2/actor/goomba_king.c @@ -405,7 +405,7 @@ EvtScript N(80221680) = { EVT_WAIT(1) EVT_END_LOOP EVT_CALL(SetActorYaw, ACTOR_SELF, 0) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 2, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 2, BS_FLAGS1_10) EVT_SWITCH(LVarA) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -437,7 +437,7 @@ EvtScript N(80221680) = { EVT_CALL(MoveBattleCamOver, 20) EVT_WAIT(2) EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarA, 0, 0, 0, 1, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarA, 0, 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) EVT_CALL(SetActorYaw, ACTOR_SELF, 0) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) @@ -484,7 +484,7 @@ EvtScript N(80221CD4) = { EVT_CALL(PlayEffect, 0x14, 0, -15, 135, 0, 85, 0, 0, 0, 0, 0, 0, 0, 0) EVT_CALL(PlayEffect, 0x14, 0, 100, 103, 0, 70, 0, 0, 0, 0, 0, 0, 0, 0) EVT_END_THREAD - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 2, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 2, BS_FLAGS1_10) EVT_SWITCH(LVarA) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -620,7 +620,7 @@ EvtScript N(80221CD4) = { EVT_WAIT(24) EVT_WAIT(2) EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 65535, 0, 2, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 65535, 0, 2, BS_FLAGS1_SP_EVT_ACTIVE) EVT_SWITCH(LVar0) EVT_CASE_EQ(10) EVT_RETURN diff --git a/src/battle/area_kmr_part_2/actor/goomnut_tree.c b/src/battle/area_kmr_part_2/actor/goomnut_tree.c index 963686916d..62092dde20 100644 --- a/src/battle/area_kmr_part_2/actor/goomnut_tree.c +++ b/src/battle/area_kmr_part_2/actor/goomnut_tree.c @@ -378,7 +378,7 @@ EvtScript N(80223DBC) = { EVT_CALL(MoveBattleCamOver, 30) EVT_CALL(SetOwnerTarget, 512, 2) EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, ((DAMAGE_TYPE_IGNORE_DEFENSE)), 0, 0, 3, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, ((DAMAGE_TYPE_IGNORE_DEFENSE)), 0, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(ActorExists, 513, LVar0) EVT_IF_EQ(LVar0, 0) EVT_CALL(GetPartOffset, -127, 2, LVar0, LVar1, LVar2) @@ -407,7 +407,7 @@ EvtScript N(80223DBC) = { EVT_CALL(JumpPartTo, -127, 2, LVar0, LVar1, LVar2, 20, 1) EVT_CALL(SetOwnerTarget, 513, 1) EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, ((DAMAGE_TYPE_IGNORE_DEFENSE)), 0, 0, 3, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, ((DAMAGE_TYPE_IGNORE_DEFENSE)), 0, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(ActorExists, 514, LVar0) EVT_IF_EQ(LVar0, 0) EVT_CALL(GetPartOffset, -127, 2, LVar0, LVar1, LVar2) @@ -436,7 +436,7 @@ EvtScript N(80223DBC) = { EVT_CALL(JumpPartTo, -127, 2, LVar0, LVar1, LVar2, 20, 1) EVT_CALL(SetOwnerTarget, 514, 1) EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, ((DAMAGE_TYPE_IGNORE_DEFENSE)), 0, 0, 3, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, ((DAMAGE_TYPE_IGNORE_DEFENSE)), 0, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(GetPartOffset, -127, 2, LVar0, LVar1, LVar2) EVT_ADD(LVar0, 20) EVT_SET(LVar1, 20) diff --git a/src/battle/area_kmr_part_2/actor/red_goomba.c b/src/battle/area_kmr_part_2/actor/red_goomba.c index f98de473e3..6148416a77 100644 --- a/src/battle/area_kmr_part_2/actor/red_goomba.c +++ b/src/battle/area_kmr_part_2/actor/red_goomba.c @@ -303,7 +303,7 @@ EvtScript N(takeTurn_8021C3B0) = { EVT_WAIT(5) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_GoombaBros_Red_Midair) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -415,7 +415,7 @@ EvtScript N(takeTurn_8021C3B0) = { EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_WAIT(1) EVT_END_SWITCH - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 1, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) diff --git a/src/battle/area_kmr_part_2/actor/red_goomba2.c b/src/battle/area_kmr_part_2/actor/red_goomba2.c index 235af49773..3d711a78b8 100644 --- a/src/battle/area_kmr_part_2/actor/red_goomba2.c +++ b/src/battle/area_kmr_part_2/actor/red_goomba2.c @@ -301,7 +301,7 @@ EvtScript N(takeTurn_8021FAF0) = { EVT_WAIT(5) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_GoombaBros_Red_Midair) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -413,7 +413,7 @@ EvtScript N(takeTurn_8021FAF0) = { EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_WAIT(1) EVT_END_SWITCH - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 1, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) diff --git a/src/battle/area_kmr_part_3/actor/egg_jr_troopa.c b/src/battle/area_kmr_part_3/actor/egg_jr_troopa.c index 8bf68c9e17..c3a7fc5c47 100644 --- a/src/battle/area_kmr_part_3/actor/egg_jr_troopa.c +++ b/src/battle/area_kmr_part_3/actor/egg_jr_troopa.c @@ -340,7 +340,7 @@ EvtScript N(802250E4) = { EVT_IF_EQ(LVar0, 0) EVT_CALL(GetLastDamage, -127, LVar1) EVT_CALL(GetBattleFlags, LVar2) - EVT_IF_NOT_FLAG(LVar2, 0x80000) + EVT_IF_NOT_FLAG(LVar2, BS_FLAGS1_80000) EVT_IF_NE(LVar1, 0) EVT_CALL(SetActorVar, -127, 1, 1) EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) @@ -402,7 +402,7 @@ EvtScript N(takeTurn_80225314) = { EVT_WAIT(5) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_JrTroopa_Jump) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 2, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 2, BS_FLAGS1_10) EVT_SWITCH(LVarA) EVT_CASE_OR_EQ(5) EVT_CASE_OR_EQ(6) @@ -456,7 +456,7 @@ EvtScript N(takeTurn_80225314) = { EVT_END_THREAD EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 2, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 2, BS_FLAGS1_SP_EVT_ACTIVE) EVT_SWITCH(LVar0) EVT_CASE_DEFAULT EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) diff --git a/src/battle/area_kmr_part_3/actor/final_jr_troopa.c b/src/battle/area_kmr_part_3/actor/final_jr_troopa.c index eac141c5b4..ed4ce8fba0 100644 --- a/src/battle/area_kmr_part_3/actor/final_jr_troopa.c +++ b/src/battle/area_kmr_part_3/actor/final_jr_troopa.c @@ -206,7 +206,7 @@ EvtScript N(8022C6D4) = { EVT_RETURN EVT_END_IF EVT_CALL(GetBattleFlags, LVar2) - EVT_IF_FLAG(LVar2, 0x80000) + EVT_IF_FLAG(LVar2, BS_FLAGS1_80000) EVT_CALL(GetMenuSelection, LVar0, LVar1, LVar2) EVT_IF_EQ(LVar2, 183) EVT_CALL(SetActorVar, -127, 1, 1) @@ -679,7 +679,7 @@ EvtScript N(8022E198) = { EVT_SET(LVar0, 20) EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, 0, LVar2) EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarF, 0, 0, 8, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarF, 0, 0, 8, BS_FLAGS1_10) EVT_SWITCH(LVarF) EVT_CASE_EQ(5) EVT_THREAD @@ -780,7 +780,7 @@ EvtScript N(8022E198) = { EVT_END_THREAD EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, 0, 0, 0, 8, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, 0, 0, 0, 8, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(ResetAllActorSounds, ACTOR_SELF) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) @@ -822,7 +822,7 @@ EvtScript N(8022ED10) = { EVT_CALL(AddGoalPos, ACTOR_SELF, 50, 0, 0) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -4, 0) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 6, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 6, BS_FLAGS1_10) EVT_SWITCH(LVarA) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -884,7 +884,7 @@ EvtScript N(8022ED10) = { EVT_CALL(SetAnimation, ACTOR_SELF, 2, ANIM_SpikedParaJrTroopa_Dive) EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -10, 0) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 8, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 8, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(AddGoalPos, ACTOR_SELF, 50, 10, 0) @@ -924,7 +924,7 @@ EvtScript N(8022F468) = { EVT_WAIT(10) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_UNUSED_2C1) EVT_CALL(SetActorSounds, -127, 2, 0, 0) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarF, 0, 0, 6, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarF, 0, 0, 6, BS_FLAGS1_10) EVT_SWITCH(LVarF) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -1011,7 +1011,7 @@ EvtScript N(8022F468) = { EVT_END_LOOP EVT_WAIT(2) EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, 0, 0, 0, 9, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, 0, 0, 0, 9, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) EVT_CALL(ResetAllActorSounds, ACTOR_SELF) EVT_THREAD @@ -1075,7 +1075,7 @@ EvtScript N(80230034) = { EVT_CALL(PlayEffect, 0x13, 0, LVar0, LVar1, LVar2, LVar5, 30, 0, 0, 0, 0, 0, 0, 0) EVT_WAIT(30) EVT_CALL(SetAnimation, ACTOR_SELF, 3, ANIM_MageJrTroopa_SwingStaff) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, DAMAGE_TYPE_NO_CONTACT, 0, 1, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, DAMAGE_TYPE_NO_CONTACT, 0, 1, BS_FLAGS1_10) EVT_SWITCH(LVarA) EVT_CASE_EQ(6) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_SPELL_CAST2) @@ -1140,7 +1140,7 @@ EvtScript N(80230034) = { EVT_ADD(LVar1, LVar7) EVT_CALL(PlayEffect, 0x12, 0, LVar0, LVar1, LVar2, LVar3, LVar4, LVar5, 15, 0, 0, 0, 0, 0) EVT_WAIT(15) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, (DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_NO_CONTACT), 0, 0, 8, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, (DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_NO_CONTACT), 0, 0, 8, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) @@ -1196,7 +1196,7 @@ EvtScript N(80230794) = { EVT_ADD(LVar0, 50) EVT_SET(LVar1, 200) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_366) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, DAMAGE_TYPE_NO_CONTACT, 0, 1, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, DAMAGE_TYPE_NO_CONTACT, 0, 1, BS_FLAGS1_10) EVT_SWITCH(LVarA) EVT_CASE_EQ(6) EVT_CALL(SetGoalToTarget, ACTOR_SELF) @@ -1258,7 +1258,7 @@ EvtScript N(80230794) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LVar3, 0, LVar5) EVT_CALL(PlayEffect, 0x5E, 0, LVar0, LVar1, LVar2, LVar3, LVar4, LVar5, EVT_FLOAT(1.0), 18, 0, 0, 0, 0) EVT_WAIT(14) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, (DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_ELECTRIC | DAMAGE_TYPE_NO_CONTACT), 0, 65536, 9, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, (DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_ELECTRIC | DAMAGE_TYPE_NO_CONTACT), 0, 65536, 9, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) EVT_CALL(MakeLerp, 200, 0, 60, 0) EVT_LABEL(2) diff --git a/src/battle/area_kmr_part_3/actor/jr_troopa.c b/src/battle/area_kmr_part_3/actor/jr_troopa.c index 94461dd8fd..4ede584228 100644 --- a/src/battle/area_kmr_part_3/actor/jr_troopa.c +++ b/src/battle/area_kmr_part_3/actor/jr_troopa.c @@ -309,7 +309,7 @@ EvtScript N(takeTurn_802234A4) = { EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_JrTroopa_Jump) EVT_CALL(SetActorSounds, -127, 2, 8418, 0) EVT_CALL(GetActorVar, -127, 4, LVar1) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, LVar1, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, LVar1, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_EQ(6) EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) @@ -349,7 +349,7 @@ EvtScript N(takeTurn_802234A4) = { EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) EVT_WAIT(2) EVT_CALL(GetActorVar, -127, 4, LVar1) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, LVar1, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, LVar1, BS_FLAGS1_SP_EVT_ACTIVE) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) diff --git a/src/battle/area_kmr_part_3/actor/mage_jr_troopa.c b/src/battle/area_kmr_part_3/actor/mage_jr_troopa.c index 262fe5596c..60a6459d05 100644 --- a/src/battle/area_kmr_part_3/actor/mage_jr_troopa.c +++ b/src/battle/area_kmr_part_3/actor/mage_jr_troopa.c @@ -137,7 +137,7 @@ EvtScript N(8022A750) = { EVT_RETURN EVT_END_IF EVT_CALL(GetBattleFlags, LVar2) - EVT_IF_FLAG(LVar2, 0x80000) + EVT_IF_FLAG(LVar2, BS_FLAGS1_80000) EVT_CALL(GetMenuSelection, LVar0, LVar1, LVar2) EVT_IF_EQ(LVar2, 183) EVT_CALL(SetActorVar, -127, 3, 1) @@ -393,7 +393,7 @@ EvtScript N(takeTurn_8022B4F0) = { EVT_WAIT(30) EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_MageJrTroopa_SwingStaff) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, DAMAGE_TYPE_NO_CONTACT, 0, 1, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, DAMAGE_TYPE_NO_CONTACT, 0, 1, BS_FLAGS1_10) EVT_SWITCH(LVarA) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -442,7 +442,7 @@ EvtScript N(takeTurn_8022B4F0) = { EVT_ADD(LVar1, LVar7) EVT_CALL(PlayEffect, 0x12, 0, LVar0, LVar1, LVar2, LVar3, LVar4, LVar5, 15, 0, 0, 0, 0, 0) EVT_WAIT(15) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, (DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_NO_CONTACT), 0, 0, 8, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, (DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_NO_CONTACT), 0, 0, 8, BS_FLAGS1_SP_EVT_ACTIVE) EVT_SWITCH(LVar0) EVT_CASE_EQ(0) EVT_CALL(GetActorVar, -127, 1, LVar0) diff --git a/src/battle/area_kmr_part_3/actor/para_jr_troopa.c b/src/battle/area_kmr_part_3/actor/para_jr_troopa.c index 3754343cf7..61b92e6e50 100644 --- a/src/battle/area_kmr_part_3/actor/para_jr_troopa.c +++ b/src/battle/area_kmr_part_3/actor/para_jr_troopa.c @@ -123,7 +123,7 @@ EvtScript N(80225F7C) = { EVT_RETURN EVT_END_IF EVT_CALL(GetBattleFlags, LVar2) - EVT_IF_FLAG(LVar2, 0x80000) + EVT_IF_FLAG(LVar2, BS_FLAGS1_80000) EVT_CALL(GetMenuSelection, LVar0, LVar1, LVar2) EVT_IF_EQ(LVar2, 183) EVT_CALL(SetActorVar, -127, 1, 1) @@ -401,7 +401,7 @@ EvtScript N(takeTurn_80226F58) = { EVT_CALL(AddGoalPos, ACTOR_SELF, 50, 0, 0) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -4, 0) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 5, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 5, BS_FLAGS1_10) EVT_SWITCH(LVarA) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -463,7 +463,7 @@ EvtScript N(takeTurn_80226F58) = { EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -10, 0) EVT_END_SWITCH EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 5, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 5, BS_FLAGS1_SP_EVT_ACTIVE) EVT_SET(LVarF, LVar0) EVT_SWITCH(LVarF) EVT_CASE_OR_EQ(0) diff --git a/src/battle/area_kmr_part_3/actor/paragoomba.c b/src/battle/area_kmr_part_3/actor/paragoomba.c index 38a69dead4..83a6318934 100644 --- a/src/battle/area_kmr_part_3/actor/paragoomba.c +++ b/src/battle/area_kmr_part_3/actor/paragoomba.c @@ -378,7 +378,7 @@ EvtScript N(takeTurn_8021CDFC) = { EVT_CALL(AddGoalPos, ACTOR_SELF, 50, 0, 0) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -4, 0) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, ((0)), 0, 1, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, ((0)), 0, 1, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -454,7 +454,7 @@ EvtScript N(takeTurn_8021CDFC) = { EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -10, 0) EVT_END_SWITCH EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, ((0)), 0, 0, 1, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, ((0)), 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) @@ -774,7 +774,7 @@ EvtScript N(takeTurn_8021E788) = { EVT_WAIT(5) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Goomba_Midair) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, ((0)), 0, 1, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, ((0)), 0, 1, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -886,7 +886,7 @@ EvtScript N(takeTurn_8021E788) = { EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_WAIT(1) EVT_END_SWITCH - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, ((0)), 0, 0, 1, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, ((0)), 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) diff --git a/src/battle/area_kmr_part_3/actor/spiked_goomba.c b/src/battle/area_kmr_part_3/actor/spiked_goomba.c index 64a5c422fc..931cda0470 100644 --- a/src/battle/area_kmr_part_3/actor/spiked_goomba.c +++ b/src/battle/area_kmr_part_3/actor/spiked_goomba.c @@ -316,7 +316,7 @@ EvtScript N(takeTurn_8021B19C) = { EVT_WAIT(5) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_SpikedGoomba_Midair) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, ((0)), 0, 1, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, ((0)), 0, 1, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -428,7 +428,7 @@ EvtScript N(takeTurn_8021B19C) = { EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.3), EVT_FLOAT(0.5), EVT_FLOAT(1.0)) EVT_WAIT(1) EVT_END_SWITCH - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, ((0)), 0, 0, 2, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, ((0)), 0, 0, 2, BS_FLAGS1_SP_EVT_ACTIVE) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) diff --git a/src/battle/area_kmr_part_3/actor/spiked_para_jr_troopa.c b/src/battle/area_kmr_part_3/actor/spiked_para_jr_troopa.c index b232159bc9..575cd9949f 100644 --- a/src/battle/area_kmr_part_3/actor/spiked_para_jr_troopa.c +++ b/src/battle/area_kmr_part_3/actor/spiked_para_jr_troopa.c @@ -117,7 +117,7 @@ EvtScript N(80228084) = { EVT_RETURN EVT_END_IF EVT_CALL(GetBattleFlags, LVar2) - EVT_IF_FLAG(LVar2, 0x80000) + EVT_IF_FLAG(LVar2, BS_FLAGS1_80000) EVT_CALL(GetMenuSelection, LVar0, LVar1, LVar2) EVT_IF_EQ(LVar2, 183) EVT_CALL(SetActorVar, -127, 2, 1) @@ -451,7 +451,7 @@ EvtScript N(takeTurn_8022936C) = { EVT_CALL(AddGoalPos, ACTOR_SELF, 50, 0, 0) EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -4, 0) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 6, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 6, BS_FLAGS1_10) EVT_SWITCH(LVarA) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -513,7 +513,7 @@ EvtScript N(takeTurn_8022936C) = { EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -10, 0) EVT_END_SWITCH EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 6, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 6, BS_FLAGS1_SP_EVT_ACTIVE) EVT_SET(LVarF, LVar0) EVT_SWITCH(LVarF) EVT_CASE_OR_EQ(0) diff --git a/src/battle/area_kpa/684A30.c b/src/battle/area_kpa/684A30.c deleted file mode 100644 index 4cc8496fcc..0000000000 --- a/src/battle/area_kpa/684A30.c +++ /dev/null @@ -1,5 +0,0 @@ -#include "common.h" - -#define NAMESPACE b_area_kpa - -#include "common/UnkBattleFunc1.inc.c" diff --git a/src/battle/area_kpa/684B00.c b/src/battle/area_kpa/684B00.c deleted file mode 100644 index 76081f3792..0000000000 --- a/src/battle/area_kpa/684B00.c +++ /dev/null @@ -1,9 +0,0 @@ -#include "common.h" - -#define NAMESPACE b_area_kpa - -#define NAMESPACE dup_b_area_kpa -#include "common/UnkBattleFunc1.inc.c" -#define NAMESPACE b_area_kpa - -#include "common/StartRumbleWithParams.inc.c" diff --git a/src/battle/area_kpa/684C30.c b/src/battle/area_kpa/684C30.c deleted file mode 100644 index cc6e67c74b..0000000000 --- a/src/battle/area_kpa/684C30.c +++ /dev/null @@ -1,19 +0,0 @@ -#include "common.h" - -#define NAMESPACE b_area_kpa - -#include "common/ShrinkActor.inc.c" - -#include "common/CosInterpMinMax.inc.c" - -#include "common/GetSelectedMoveID.inc.c" - -#define NAMESPACE dup2_b_area_kpa -#include "common/UnkBattleFunc1.inc.c" -#define NAMESPACE b_area_kpa - -#define NAMESPACE dup_b_area_kpa -#include "common/StartRumbleWithParams.inc.c" -#define NAMESPACE b_area_kpa - -#include "world/common/UnkFunc52.inc.c" diff --git a/src/battle/area_kpa/685130.c b/src/battle/area_kpa/685130.c deleted file mode 100644 index 299ee103a0..0000000000 --- a/src/battle/area_kpa/685130.c +++ /dev/null @@ -1,5 +0,0 @@ -#include "common.h" - -#define NAMESPACE b_area_kpa - -#include "common/UnkSfxFunc.inc.c" diff --git a/src/battle/area_kpa/actor/bony_beetle.c b/src/battle/area_kpa/actor/bony_beetle.c new file mode 100644 index 0000000000..1cd1dcbe7c --- /dev/null +++ b/src/battle/area_kpa/actor/bony_beetle.c @@ -0,0 +1,1159 @@ +#include "common.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/BonyBeetle.h" +#include "effects.h" + +#define NAMESPACE b_area_kpa_bony_beetle + +enum N(ActorVars) { + N(VAR_WAS_HIT) = 1, + N(VAR_STATE) = 8, + N(VAR_FLIP_TRIGGERED) = 9, +}; + +enum N(States) { + N(STATE_NORMAL) = 0, + N(STATE_SPIKY) = 1, + N(STATE_FLIPPED) = 2, + N(STATE_SPIKY_FLIPPED) = 3, +}; + +extern EvtScript N(init); +extern EvtScript N(idle); +extern EvtScript N(takeTurn); +extern EvtScript N(handleEvent); +extern EvtScript N(handleEvent_normal); +extern EvtScript N(handleEvent_spiky); +extern EvtScript N(handleEvent_flipped); +extern EvtScript N(handleEvent_spiky_flipped); +extern EvtScript N(changeSpikesState); +extern EvtScript N(attackShellToss); +extern EvtScript N(attackSpikeBounce); +extern EvtScript N(standUp); +extern EvtScript N(standUp_spiky); + +s32 N(idleAnimations_normal)[] = { + STATUS_NORMAL, ANIM_BonyBeetle_Anim04, + STATUS_STONE, ANIM_BonyBeetle_Anim00, + STATUS_SLEEP, ANIM_BonyBeetle_Anim2A, + STATUS_POISON, ANIM_BonyBeetle_Anim04, + STATUS_STOP, ANIM_BonyBeetle_Anim00, + STATUS_STATIC, ANIM_BonyBeetle_Anim04, + STATUS_PARALYZE, ANIM_BonyBeetle_Anim00, + STATUS_DIZZY, ANIM_BonyBeetle_Anim26, + STATUS_FEAR, ANIM_BonyBeetle_Anim26, + STATUS_END, +}; + +s32 N(idleAnimations_spiky)[] = { + STATUS_NORMAL, ANIM_BonyBeetle_Anim05, + STATUS_STONE, ANIM_BonyBeetle_Anim01, + STATUS_SLEEP, ANIM_BonyBeetle_Anim2B, + STATUS_POISON, ANIM_BonyBeetle_Anim05, + STATUS_STOP, ANIM_BonyBeetle_Anim01, + STATUS_STATIC, ANIM_BonyBeetle_Anim05, + STATUS_PARALYZE, ANIM_BonyBeetle_Anim01, + STATUS_DIZZY, ANIM_BonyBeetle_Anim27, + STATUS_FEAR, ANIM_BonyBeetle_Anim27, + STATUS_END, +}; + +s32 N(idleAnimations_flipped)[] = { + STATUS_NORMAL, ANIM_BonyBeetle_Anim06, + STATUS_STONE, ANIM_BonyBeetle_Anim02, + STATUS_SLEEP, ANIM_BonyBeetle_Anim2C, + STATUS_POISON, ANIM_BonyBeetle_Anim06, + STATUS_STOP, ANIM_BonyBeetle_Anim02, + STATUS_STATIC, ANIM_BonyBeetle_Anim06, + STATUS_PARALYZE, ANIM_BonyBeetle_Anim02, + STATUS_DIZZY, ANIM_BonyBeetle_Anim28, + STATUS_FEAR, ANIM_BonyBeetle_Anim28, + STATUS_END, +}; + +s32 N(idleAnimations_spiky_flipped)[] = { + STATUS_NORMAL, ANIM_BonyBeetle_Anim07, + STATUS_STONE, ANIM_BonyBeetle_Anim03, + STATUS_SLEEP, ANIM_BonyBeetle_Anim2D, + STATUS_POISON, ANIM_BonyBeetle_Anim07, + STATUS_STOP, ANIM_BonyBeetle_Anim03, + STATUS_STATIC, ANIM_BonyBeetle_Anim07, + STATUS_PARALYZE, ANIM_BonyBeetle_Anim03, + STATUS_DIZZY, ANIM_BonyBeetle_Anim29, + STATUS_FEAR, ANIM_BonyBeetle_Anim29, + STATUS_END, +}; + +s32 N(defenseTable)[] = { + ELEMENT_NORMAL, 4, + ELEMENT_END, +}; + +s32 N(defenseTable_flipped)[] = { + ELEMENT_NORMAL, 0, + ELEMENT_END, +}; + +s32 N(statusTable)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 60, + STATUS_POISON, 50, + STATUS_FROZEN, 0, + STATUS_DIZZY, 75, + STATUS_FEAR, 0, + STATUS_STATIC, 50, + STATUS_PARALYZE, 75, + STATUS_SHRINK, 75, + STATUS_STOP, 85, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, -1, + STATUS_POISON_TURN_MOD, 0, + STATUS_FROZEN_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, 0, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, -1, + STATUS_SHRINK_TURN_MOD, 0, + STATUS_STOP_TURN_MOD, -1, + STATUS_END, +}; + +ActorPartBlueprint N(parts)[] = { + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { -3, 21 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_spiky), + .defenseTable = N(defenseTable), + .eventFlags = ACTOR_EVENT_FLAG_SPIKY_TOP | ACTOR_EVENT_FLAG_FLIPABLE, + .elementImmunityFlags = 0, + .unk_1C = 0, + .unk_1D = -8, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = 0, + .type = ACTOR_TYPE_BONY_BEETLE, + .level = 25, + .maxHP = 8, + .partCount = ARRAY_COUNT(N(parts)), + .partsData = N(parts), + .script = &N(init), + .statusTable = N(statusTable), + .escapeChance = 50, + .airLiftChance = 70, + .spookChance = 60, + .baseStatusChance = 60, + .upAndAwayChance = 95, + .spinSmashReq = 0, + .powerBounceChance = 90, + .coinReward = 1, + .size = { 27, 27 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -10, 20 }, + .statusMessageOffset = { 10, 20 }, +}; + +EvtScript N(init) = { + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LVar0) + EVT_CALL(func_8027D75C, ACTOR_SELF, LVar1) + EVT_IF_EQ(LVar0, 1) + EVT_IF_EQ(LVar1, 1) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_SPIKY)) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_spiky))) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_SPIKY_TOP, 1) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim05) + EVT_ELSE + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_NORMAL)) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_normal))) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_SPIKY_TOP, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim04) + EVT_END_IF + EVT_ELSE + EVT_CALL(RandInt, 1000, LVar0) + EVT_IF_LT(LVar0, 500) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_NORMAL)) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_normal))) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_SPIKY_TOP, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim04) + EVT_ELSE + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_SPIKY)) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_spiky))) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_SPIKY_TOP, 1) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim05) + EVT_END_IF + EVT_END_IF +EVT_END_IF +EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, -8) +EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -3, 21) +EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_HP_OFFSET_BELOW, 0) +EVT_CALL(BindIdle, ACTOR_SELF, EVT_PTR(N(idle))) +EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_PTR(N(handleEvent))) +EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_PTR(N(takeTurn))) +EVT_CALL(HPBarToHome, ACTOR_SELF) +EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_WAS_HIT), 0) +EVT_RETURN +EVT_END +}; + +EvtScript N(idle) = { + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(N(STATE_NORMAL)) + EVT_EXEC_WAIT(N(handleEvent_normal)) + EVT_CASE_EQ(N(STATE_SPIKY)) + EVT_EXEC_WAIT(N(handleEvent_spiky)) + EVT_CASE_EQ(N(STATE_FLIPPED)) + EVT_EXEC_WAIT(N(handleEvent_flipped)) + EVT_CASE_EQ(N(STATE_SPIKY_FLIPPED)) + EVT_EXEC_WAIT(N(handleEvent_spiky_flipped)) + EVT_END_SWITCH + EVT_CALL(ActorExists, ACTOR_SELF, LVar0) + EVT_IF_EQ(LVar0, 1) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_WAS_HIT), LVar0) + EVT_IF_EQ(LVar0, 1) + EVT_EXEC_WAIT(N(changeSpikesState)) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_WAS_HIT), 0) + EVT_END_IF + EVT_END_IF + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(changeSpikesState) = { + EVT_CALL(GetLastDamage, ACTOR_SELF, LVar0) + EVT_IF_LE(LVar0, 0) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_FLAG(LVar0, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_RETURN + EVT_END_IF + EVT_LABEL(0) + EVT_CALL(GetBattleFlags, LVarA) + EVT_IF_FLAG(LVarA, BS_FLAGS1_100) + EVT_WAIT(1) + EVT_GOTO(0) + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(N(STATE_NORMAL)) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20CE) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_SPIKY)) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_SPIKY_TOP, 1) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim2E) + EVT_WAIT(25) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_spiky))) + EVT_CASE_EQ(N(STATE_SPIKY)) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20CF) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_NORMAL)) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_SPIKY_TOP, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim2F) + EVT_WAIT(25) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_normal))) + EVT_CASE_EQ(N(STATE_FLIPPED)) + EVT_CASE_EQ(N(STATE_SPIKY_FLIPPED)) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(takeTurn) = { + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(N(STATE_NORMAL)) + EVT_EXEC_WAIT(N(attackShellToss)) + EVT_CASE_EQ(N(STATE_SPIKY)) + EVT_EXEC_WAIT(N(attackSpikeBounce)) + EVT_CASE_EQ(N(STATE_FLIPPED)) + EVT_EXEC_WAIT(N(standUp)) + EVT_CASE_EQ(N(STATE_SPIKY_FLIPPED)) + EVT_EXEC_WAIT(N(standUp_spiky)) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +s32 N(bounceTable)[] = { 7, 13, 17, 21, 23, 24, 23, 21, 17, 13, 7, 0, 4, 6, 7, 6, 4, 0, 2, 0, }; + +EvtScript N(handleEvent_normal) = { + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(EVENT_HIT_COMBO) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim18) + EVT_EXEC_WAIT(DoNormalHit) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_WAS_HIT), 1) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim1E) + EVT_SET_CONST(LVar2, ANIM_BonyBeetle_Anim1F) + EVT_EXEC_WAIT(DoBurnHit) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_WAS_HIT), 1) + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim1E) + EVT_SET_CONST(LVar2, ANIM_BonyBeetle_Anim1F) + EVT_EXEC_WAIT(DoBurnHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim1F) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim18) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_WAS_HIT), 1) + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim18) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim18) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_FLIP_TRIGGER) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_FLIPPED)) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, -8) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -3, 21) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLIP_TRIGGERED), 1) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable_flipped))) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_flipped))) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_SPIKY_TOP, 0) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_400, 1) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim08) + EVT_USE_BUF(N(bounceTable)) + EVT_LOOP(20) + EVT_BUF_READ1(LVar0) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, LVar0, 0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_WAIT(20) + EVT_CASE_EQ(EVENT_SHOCK_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim18) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim18) + EVT_EXEC_WAIT(DoJumpBack) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim0E) + EVT_EXEC_WAIT(DoReturnHome) + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_CASE_OR_EQ(EVENT_AIR_LIFT_FAILED) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim10) + EVT_EXEC_WAIT(DoImmune) + EVT_WAIT(20) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim12) + EVT_WAIT(10) + EVT_END_IF + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_SHOCK_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim18) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim18) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim18) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT(10) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim18) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim04) + EVT_EXEC_WAIT(DoRecover) + EVT_CASE_EQ(EVENT_SCARE_AWAY) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim0E) + EVT_SET_CONST(LVar2, ANIM_BonyBeetle_Anim18) + EVT_EXEC_WAIT(DoScareAway) + EVT_RETURN + EVT_CASE_EQ(EVENT_BEGIN_AIR_LIFT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim0E) + EVT_EXEC_WAIT(DoAirLift) + EVT_CASE_EQ(EVENT_BLOW_AWAY) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim18) + EVT_EXEC_WAIT(DoBlowAway) + EVT_RETURN + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(attackShellToss) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(GetBattlePhase, LVar0) + EVT_IF_EQ(LVar0, PHASE_FIRST_STRIKE) + 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, ANIM_BonyBeetle_Anim16) + EVT_GOTO(100) + EVT_END_IF + 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, ANIM_BonyBeetle_Anim10) + EVT_WAIT(10) + EVT_THREAD + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(PlayEffect, EFFECT_SMOKE_IMPACT, 1, LVar0, LVar1, LVar2, 32, 4, 0, 10, 0, 0, 0, 0, 0) + EVT_WAIT(10) + EVT_CALL(PlayEffect, EFFECT_SMOKE_IMPACT, 1, LVar0, LVar1, LVar2, 32, 4, 0, 10, 0, 0, 0, 0, 0) + EVT_WAIT(5) + EVT_CALL(PlayEffect, EFFECT_SMOKE_IMPACT, 1, LVar0, LVar1, LVar2, 32, 4, 0, 10, 0, 0, 0, 0, 0) + EVT_END_THREAD + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2021) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim16) + EVT_WAIT(15) + EVT_LABEL(100) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20D3) + EVT_CALL(SetActorSounds, ACTOR_SELF, 0, 0, 0) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 3, BS_FLAGS1_10) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LVarA, LVar0) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 40) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(16.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT(20) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim12) + EVT_WAIT(15) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_CALL(SetActorYaw, ACTOR_SELF, 180) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim0E) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim04) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(16.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_WAIT(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 65535, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 40) + EVT_SET(LVar1, 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_ADD(LVar0, 30) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) + EVT_ADD(LVar0, 20) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 6, FALSE, TRUE, FALSE) + EVT_WAIT(15) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim12) + EVT_WAIT(5) + EVT_CALL(YieldTurn) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim0E) + EVT_EXEC_WAIT(DoReturnHome) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim04) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent_spiky) = { + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(EVENT_HIT_COMBO) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim19) + EVT_EXEC_WAIT(DoNormalHit) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_WAS_HIT), 1) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim20) + EVT_SET_CONST(LVar2, ANIM_BonyBeetle_Anim21) + EVT_EXEC_WAIT(DoBurnHit) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_WAS_HIT), 1) + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim20) + EVT_SET_CONST(LVar2, ANIM_BonyBeetle_Anim21) + EVT_EXEC_WAIT(DoBurnHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim21) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim19) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_WAS_HIT), 1) + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim19) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim19) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_FLIP_TRIGGER) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_SPIKY_FLIPPED)) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, -8) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -3, 21) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLIP_TRIGGERED), 1) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable_flipped))) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_spiky_flipped))) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_SPIKY_TOP, 0) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_400, 1) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim09) + EVT_USE_BUF(N(bounceTable)) + EVT_LOOP(20) + EVT_BUF_READ1(LVar0) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, LVar0, 0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_WAIT(20) + EVT_CASE_EQ(EVENT_SHOCK_HIT) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim19) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim19) + EVT_EXEC_WAIT(DoJumpBack) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim0F) + EVT_EXEC_WAIT(DoReturnHome) + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim11) + EVT_EXEC_WAIT(DoImmune) + EVT_WAIT(20) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim13) + EVT_END_IF + EVT_WAIT(10) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_SPIKE_TAUNT) + EVT_WAIT(10) + EVT_SET(LocalFlag(0), 0) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_ADD(LVar0, -3) + EVT_ADD(LVar1, 10) + EVT_SET(LocalFlag(0), 1) + EVT_END_IF + EVT_IF_FLAG(LVar3, STATUS_FLAG_DIZZY) + EVT_ADD(LVar0, 0) + EVT_ADD(LVar1, 26) + EVT_SET(LocalFlag(0), 1) + EVT_END_IF + EVT_IF_EQ(LocalFlag(0), 0) + EVT_ADD(LVar0, -8) + EVT_ADD(LVar1, 26) + EVT_END_IF + EVT_CALL(PlayEffect, EFFECT_LENS_FLARE, 0, LVar0, LVar1, LVar2, 20, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT(20) + EVT_CASE_EQ(EVENT_SHOCK_DEATH) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim19) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim19) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim19) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT(10) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim19) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim05) + EVT_EXEC_WAIT(DoRecover) + EVT_CASE_EQ(EVENT_SCARE_AWAY) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim0F) + EVT_SET_CONST(LVar2, ANIM_BonyBeetle_Anim19) + EVT_EXEC_WAIT(DoScareAway) + EVT_RETURN + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(attackSpikeBounce) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(GetBattlePhase, LVar0) + EVT_IF_EQ(LVar0, PHASE_FIRST_STRIKE) + 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, ANIM_BonyBeetle_Anim17) + EVT_WAIT(10) + EVT_GOTO(100) + EVT_END_IF + 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, ANIM_BonyBeetle_Anim11) + EVT_WAIT(10) + EVT_THREAD + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(PlayEffect, EFFECT_SMOKE_IMPACT, 0, LVar0, LVar1, LVar2, 32, 4, 0, 10, 0, 0, 0, 0, 0) + EVT_WAIT(10) + EVT_CALL(PlayEffect, EFFECT_SMOKE_IMPACT, 0, LVar0, LVar1, LVar2, 32, 6, 0, 10, 0, 0, 0, 0, 0) + EVT_WAIT(5) + EVT_CALL(PlayEffect, EFFECT_SMOKE_IMPACT, 0, LVar0, LVar1, LVar2, 32, 8, 0, 10, 0, 0, 0, 0, 0) + EVT_WAIT(5) + EVT_CALL(PlayEffect, EFFECT_SMOKE_IMPACT, 0, LVar0, LVar1, LVar2, 32, 10, 0, 10, 0, 0, 0, 0, 0) + EVT_WAIT(5) + EVT_CALL(PlayEffect, EFFECT_SMOKE_IMPACT, 0, LVar0, LVar1, LVar2, 32, 12, 0, 10, 0, 0, 0, 0, 0) + EVT_END_THREAD + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2021) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim17) + EVT_WAIT(15) + EVT_LABEL(100) + EVT_THREAD + EVT_LOOP(20) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(PlayEffect, EFFECT_WALKING_DUST, 0, LVar0, LVar1, LVar2, 0, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20D3) + EVT_CALL(SetActorSounds, ACTOR_SELF, 0, 0, 0) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 5, BS_FLAGS1_10) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LVarA, LVar0) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, 50, 0, 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(24.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_B) + EVT_THREAD + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 16, 0) + EVT_SET(LVar0, 0) + EVT_LOOP(10) + EVT_ADD(LVar0, 18) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LVar0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.5)) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 20) + EVT_SET(LVar1, 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_THREAD + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 16, 0) + EVT_SET(LVar0, 180) + EVT_LOOP(15) + EVT_ADD(LVar0, 12) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LVar0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.5)) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 50) + EVT_SET(LVar1, 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 16, 0) + EVT_SET(LVar0, 0) + EVT_LOOP(10) + EVT_ADD(LVar0, 18) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LVar0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_SUB(LVar0, 40) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 16, 0) + EVT_SET(LVar0, 180) + EVT_LOOP(5) + EVT_ADD(LVar0, 18) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LVar0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_SUB(LVar0, 30) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_WAIT(5) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(YieldTurn) + EVT_CALL(SetActorYaw, ACTOR_SELF, 180) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim0F) + EVT_EXEC_WAIT(DoReturnHome) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, 50, 0, 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(24.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_THREAD + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 16, 0) + EVT_SET(LVar0, 0) + EVT_LOOP(10) + EVT_ADD(LVar0, 18) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LVar0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.5)) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_WAIT(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 65535, 0, 5, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_THREAD + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 16, 0) + EVT_SET(LVar0, 180) + EVT_LOOP(15) + EVT_ADD(LVar0, 12) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LVar0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.5)) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 50) + EVT_SET(LVar1, 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 16, 0) + EVT_SET(LVar0, 0) + EVT_LOOP(10) + EVT_ADD(LVar0, 18) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LVar0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_SUB(LVar0, 40) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 16, 0) + EVT_SET(LVar0, 180) + EVT_LOOP(5) + EVT_ADD(LVar0, 18) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LVar0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_SUB(LVar0, 30) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_WAIT(5) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim13) + EVT_WAIT(5) + EVT_CALL(YieldTurn) + EVT_CALL(SetActorYaw, ACTOR_SELF, 180) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim0F) + EVT_EXEC_WAIT(DoReturnHome) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +#include "common/UnkBattleFunc1.inc.c" + +EvtScript N(8021B7C8) = { + EVT_CALL(func_8027D32C, ACTOR_SELF) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_FLIPPED)) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLIP_TRIGGERED), 1) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable_flipped))) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_flipped))) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_HP_OFFSET_BELOW, 0) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, -8) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -3, 21) + EVT_CALL(N(UnkBattleFunc1), -10, 20, 10, 20) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim06) + EVT_CALL(SetActorYaw, ACTOR_SELF, 180) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar1, 24) + EVT_CALL(SetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SET(LVar1, 0) + EVT_CALL(SetHomePos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_301) + EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 0, 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_CALL(HPBarToHome, ACTOR_SELF) + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent_flipped) = { + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(EVENT_HIT_COMBO) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim1A) + EVT_EXEC_WAIT(DoNormalHit) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim22) + EVT_SET_CONST(LVar2, ANIM_BonyBeetle_Anim23) + EVT_EXEC_WAIT(DoBurnHit) + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim22) + EVT_SET_CONST(LVar2, ANIM_BonyBeetle_Anim23) + EVT_EXEC_WAIT(DoBurnHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim23) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim1A) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim1A) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim1A) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_FLIP_TRIGGER) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_FLIPPED)) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, -8) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -3, 21) + EVT_CALL(N(UnkBattleFunc1), -10, 20, 10, 20) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLIP_TRIGGERED), 1) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable_flipped))) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_flipped))) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim1A) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_400, 1) + EVT_USE_BUF(N(bounceTable)) + EVT_LOOP(20) + EVT_BUF_READ1(LVar0) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, LVar0, 0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_WAIT(20) + EVT_CASE_OR_EQ(EVENT_SCARE_AWAY) + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_CASE_OR_EQ(EVENT_AIR_LIFT_FAILED) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim06) + EVT_EXEC_WAIT(DoImmune) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_SHOCK_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim1A) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim1A) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim1A) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT(10) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim1A) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim06) + EVT_EXEC_WAIT(DoRecover) + EVT_CASE_EQ(EVENT_BEGIN_AIR_LIFT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim06) + EVT_EXEC_WAIT(DoAirLift) + EVT_CASE_EQ(EVENT_BLOW_AWAY) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim1A) + EVT_EXEC_WAIT(DoBlowAway) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(standUp) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_FLIP_TRIGGERED), LVar0) + EVT_SUB(LVar0, 1) + EVT_IF_GT(LVar0, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLIP_TRIGGERED), LVar0) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim1C) + EVT_WAIT(20) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim06) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_15) + EVT_CALL(SetBattleCamZoom, 350) + EVT_CALL(SetBattleCamOffsetZ, 20) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim1C) + EVT_WAIT(20) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim06) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim0A) + EVT_WAIT(20) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_NORMAL)) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable))) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_normal))) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_400, 0) + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent_spiky_flipped) = { + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(EVENT_HIT_COMBO) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim1B) + EVT_EXEC_WAIT(DoNormalHit) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim24) + EVT_SET_CONST(LVar2, ANIM_BonyBeetle_Anim25) + EVT_EXEC_WAIT(DoBurnHit) + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim24) + EVT_SET_CONST(LVar2, ANIM_BonyBeetle_Anim25) + EVT_EXEC_WAIT(DoBurnHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim25) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim1B) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim1B) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim1B) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_FLIP_TRIGGER) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_SPIKY_FLIPPED)) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, -8) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -3, 21) + EVT_CALL(N(UnkBattleFunc1), -10, 20, 10, 20) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLIP_TRIGGERED), 1) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable_flipped))) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_spiky_flipped))) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim1B) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_400, 1) + EVT_USE_BUF(N(bounceTable)) + EVT_LOOP(20) + EVT_BUF_READ1(LVar0) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, LVar0, 0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_WAIT(20) + EVT_CASE_OR_EQ(EVENT_SCARE_AWAY) + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_CASE_OR_EQ(EVENT_AIR_LIFT_FAILED) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim07) + EVT_EXEC_WAIT(DoImmune) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_SHOCK_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim1B) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim1B) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim1B) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT(10) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim1B) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim07) + EVT_EXEC_WAIT(DoRecover) + EVT_CASE_EQ(EVENT_BEGIN_AIR_LIFT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim07) + EVT_EXEC_WAIT(DoAirLift) + EVT_CASE_EQ(EVENT_BLOW_AWAY) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BonyBeetle_Anim1B) + EVT_EXEC_WAIT(DoBlowAway) + EVT_RETURN + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(standUp_spiky) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_FLIP_TRIGGERED), LVar0) + EVT_SUB(LVar0, 1) + EVT_IF_GT(LVar0, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLIP_TRIGGERED), LVar0) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim1D) + EVT_WAIT(20) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim07) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_15) + EVT_CALL(SetBattleCamZoom, 350) + EVT_CALL(SetBattleCamOffsetZ, 20) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim1D) + EVT_WAIT(20) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim07) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BonyBeetle_Anim0B) + EVT_WAIT(20) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_SPIKY)) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable))) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_spiky))) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_SPIKY_TOP, 1) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_400, 0) + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + diff --git a/src/battle/area_kpa/actor/dry_bones.c b/src/battle/area_kpa/actor/dry_bones.c new file mode 100644 index 0000000000..fbc1e17e44 --- /dev/null +++ b/src/battle/area_kpa/actor/dry_bones.c @@ -0,0 +1,546 @@ +#include "common.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/DryBones.h" + +#define NAMESPACE b_area_kpa_dry_bones + +extern EvtScript N(init); +extern EvtScript N(idle); +extern EvtScript N(takeTurn); +extern EvtScript N(handleEvent); +extern EvtScript N(nextTurn); + +s32 N(idleAnimations)[] = { + STATUS_NORMAL, ANIM_DryBones_Anim02, + STATUS_STONE, ANIM_DryBones_Anim00, + STATUS_SLEEP, ANIM_DryBones_Anim0E, + STATUS_POISON, ANIM_DryBones_Anim02, + STATUS_STOP, ANIM_DryBones_Anim00, + STATUS_STATIC, ANIM_DryBones_Anim02, + STATUS_PARALYZE, ANIM_DryBones_Anim00, + STATUS_DIZZY, ANIM_DryBones_Anim0D, + STATUS_FEAR, ANIM_DryBones_Anim0D, + STATUS_END, +}; + +s32 N(idleAnimations_dead)[] = { + STATUS_NORMAL, ANIM_DryBones_Anim01, + STATUS_END, +}; + +s32 N(idleAnimations_bone)[] = { + STATUS_NORMAL, ANIM_DryBones_Anim0F, + STATUS_END, +}; + +s32 N(defenseTable)[] = { + ELEMENT_NORMAL, 2, + ELEMENT_FIRE, -10, + ELEMENT_BLAST, -10, + ELEMENT_END, +}; + +s32 N(defenseTable_dead)[] = { + ELEMENT_NORMAL, 99, + ELEMENT_FIRE, -10, + ELEMENT_BLAST, -10, + ELEMENT_END, +}; + +s32 N(statusTable)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 0, + STATUS_POISON, 0, + STATUS_FROZEN, 0, + STATUS_DIZZY, 0, + STATUS_FEAR, 0, + STATUS_STATIC, 0, + STATUS_PARALYZE, 50, + STATUS_SHRINK, 60, + STATUS_STOP, 85, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, 0, + STATUS_POISON_TURN_MOD, 0, + STATUS_FROZEN_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, 0, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, 0, + STATUS_SHRINK_TURN_MOD, 0, + STATUS_STOP_TURN_MOD, -1, + STATUS_END, +}; + +s32 N(statusTable_dead)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 0, + STATUS_POISON, 0, + STATUS_FROZEN, 0, + STATUS_DIZZY, 0, + STATUS_FEAR, 0, + STATUS_STATIC, 0, + STATUS_PARALYZE, 0, + STATUS_SHRINK, 0, + STATUS_STOP, 0, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, 0, + STATUS_POISON_TURN_MOD, 0, + STATUS_FROZEN_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, 0, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, 0, + STATUS_SHRINK_TURN_MOD, 0, + STATUS_STOP_TURN_MOD, 0, + STATUS_END, +}; + +ActorPartBlueprint N(parts)[] = { + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { -8, 30 }, + .opacity = 255, + .idleAnimations = N(idleAnimations), + .defenseTable = N(defenseTable), + .eventFlags = 0, + .elementImmunityFlags = 0, + .unk_1C = -1, + .unk_1D = -10, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_USE_ABSOLUTE_POSITION, + .index = 2, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 0 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_bone), + .defenseTable = N(defenseTable), + .eventFlags = 0, + .elementImmunityFlags = 0, + .unk_1C = 0, + .unk_1D = 0, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = 0, + .type = ACTOR_TYPE_DRY_BONES, + .level = 30, + .maxHP = 8, + .partCount = ARRAY_COUNT(N(parts)), + .partsData = N(parts), + .script = &N(init), + .statusTable = N(statusTable), + .escapeChance = 50, + .airLiftChance = 75, + .spookChance = 70, + .baseStatusChance = 10, + .upAndAwayChance = 95, + .spinSmashReq = 0, + .powerBounceChance = 95, + .coinReward = 1, + .size = { 28, 32 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -15, 15 }, + .statusMessageOffset = { 3, 27 }, +}; + +EvtScript N(init) = { + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_PTR(N(takeTurn))) + EVT_CALL(BindIdle, ACTOR_SELF, EVT_PTR(N(idle))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_PTR(N(handleEvent))) + EVT_CALL(BindNextTurn, ACTOR_SELF, EVT_PTR(N(nextTurn))) + EVT_CALL(SetActorVar, ACTOR_SELF, 8, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(nextTurn) = { + EVT_CALL(GetOriginalActorType, ACTOR_SELF, LVarA) + EVT_CALL(EnemyCreateTargetList, 32770) + EVT_CALL(InitTargetIterator) + EVT_LABEL(0) + EVT_CALL(GetOwnerTarget, LVar0, LVar1) + EVT_CALL(GetOriginalActorType, LVar0, LVar2) + EVT_IF_NE(LVar2, LVarA) + EVT_CALL(GetActorHP, LVar0, LVar3) + EVT_IF_NE(LVar3, 0) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_CALL(ChooseNextTarget, 0, LVar0) + EVT_IF_NE(LVar0, -1) + EVT_GOTO(0) + EVT_END_IF + EVT_CALL(EnemyCreateTargetList, 32770) + EVT_CALL(InitTargetIterator) + EVT_LABEL(1) + EVT_CALL(GetOwnerTarget, LVar0, LVar1) + EVT_CALL(GetActorVar, LVar0, 8, LVar3) + EVT_IF_NE(LVar3, 1) + EVT_RETURN + EVT_END_IF + EVT_CALL(ChooseNextTarget, 0, LVar0) + EVT_IF_NE(LVar0, -1) + EVT_GOTO(1) + EVT_END_IF + EVT_CALL(EnemyCreateTargetList, 32770) + EVT_CALL(InitTargetIterator) + EVT_LABEL(2) + EVT_CALL(GetOwnerTarget, LVar0, LVar1) + EVT_CALL(SetActorFlagBits, LVar0, ACTOR_FLAG_NO_ATTACK | ACTOR_FLAG_NO_DMG_APPLY, 1) + EVT_CALL(ChooseNextTarget, 0, LVar0) + EVT_IF_NE(LVar0, -1) + EVT_GOTO(2) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(idle) = { + EVT_LABEL(0) + EVT_CALL(GetActorVar, ACTOR_SELF, 8, LVar0) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar1) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(0) + EVT_SWITCH(LVar1) + EVT_CASE_FLAG(STATUS_FLAG_SLEEP) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -6, 24) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 1, -5) + EVT_CASE_DEFAULT + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -8, 30) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, -1, -10) + EVT_END_SWITCH + EVT_CASE_EQ(1) + EVT_SWITCH(LVar1) + EVT_CASE_FLAG(STATUS_FLAG_SLEEP) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -1, 10) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, 0) + EVT_CASE_DEFAULT + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -1, 10) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, 0) + EVT_END_SWITCH + EVT_END_SWITCH + EVT_WAIT(1) + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +EvtScript N(reassemble) = { + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2D2) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_DryBones_Anim08) + EVT_WAIT(20) + EVT_CALL(SetActorVar, ACTOR_SELF, 8, 1) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_dead))) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable_dead))) + EVT_CALL(SetStatusTable, ACTOR_SELF, EVT_PTR(N(statusTable_dead))) + EVT_CALL(ClearStatusEffects, ACTOR_SELF) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -1, 10) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, 0) + EVT_CALL(RandInt, 0, LVar0) + EVT_ADD(LVar0, 2) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, LVar0) + EVT_CALL(GetOriginalActorType, ACTOR_SELF, LVarA) + EVT_CALL(EnemyCreateTargetList, 32770) + EVT_CALL(InitTargetIterator) + EVT_LABEL(0) + EVT_CALL(GetOwnerTarget, LVar0, LVar1) + EVT_CALL(GetOriginalActorType, LVar0, LVar2) + EVT_IF_NE(LVar2, LVarA) + EVT_RETURN + EVT_END_IF + EVT_CALL(ChooseNextTarget, 0, LVar0) + EVT_IF_NE(LVar0, -1) + EVT_GOTO(0) + EVT_END_IF + EVT_CALL(EnemyCreateTargetList, 32770) + EVT_CALL(InitTargetIterator) + EVT_LABEL(1) + EVT_CALL(GetOwnerTarget, LVar0, LVar1) + EVT_CALL(GetActorVar, LVar0, 8, LVar3) + EVT_IF_NE(LVar3, 1) + EVT_RETURN + EVT_END_IF + EVT_CALL(ChooseNextTarget, 0, LVar0) + EVT_IF_NE(LVar0, -1) + EVT_GOTO(1) + EVT_END_IF + EVT_CALL(EnemyCreateTargetList, 32770) + EVT_CALL(InitTargetIterator) + EVT_LABEL(2) + EVT_CALL(GetOwnerTarget, LVar0, LVar1) + EVT_CALL(SetActorFlagBits, LVar0, ACTOR_FLAG_NO_ATTACK | ACTOR_FLAG_NO_DMG_APPLY, 1) + EVT_CALL(ChooseNextTarget, 0, LVar0) + EVT_IF_NE(LVar0, -1) + EVT_GOTO(2) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(EVENT_HIT_COMBO) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_DryBones_Anim07) + EVT_EXEC_WAIT(DoNormalHit) + EVT_CASE_EQ(EVENT_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_DryBones_Anim07) + EVT_EXEC_WAIT(DoNormalHit) + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_EXPLOSIVE, 1) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_DryBones_Anim0B) + EVT_SET_CONST(LVar2, ANIM_DryBones_Anim0C) + EVT_EXEC_WAIT(DoBurnHit) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_EXPLOSIVE, 0) + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_DryBones_Anim0B) + EVT_SET_CONST(LVar2, ANIM_DryBones_Anim0C) + EVT_EXEC_WAIT(DoBurnHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_DryBones_Anim0C) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_DryBones_Anim07) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_DryBones_Anim07) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_EXEC_WAIT(N(reassemble)) + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_CALL(GetActorVar, ACTOR_SELF, 8, LVar0) + EVT_IF_EQ(LVar0, 0) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_DryBones_Anim02) + EVT_EXEC_WAIT(DoImmune) + EVT_ELSE + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_DryBones_Anim01) + EVT_EXEC_WAIT(DoImmune) + EVT_END_IF + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_DryBones_Anim07) + EVT_EXEC_WAIT(DoNormalHit) + EVT_CALL(GetActorVar, ACTOR_SELF, 8, LVar0) + EVT_IF_EQ(LVar0, 0) + EVT_WAIT(10) + EVT_EXEC_WAIT(N(reassemble)) + EVT_END_IF + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_CALL(GetActorVar, ACTOR_SELF, 8, LVar0) + EVT_IF_EQ(LVar0, 0) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_DryBones_Anim02) + EVT_EXEC_WAIT(DoRecover) + EVT_END_IF + EVT_CASE_EQ(EVENT_SCARE_AWAY) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_DryBones_Anim04) + EVT_SET_CONST(LVar2, ANIM_DryBones_Anim07) + EVT_EXEC_WAIT(DoScareAway) + EVT_RETURN + EVT_CASE_EQ(EVENT_BEGIN_AIR_LIFT) + EVT_CALL(GetActorVar, ACTOR_SELF, 8, LVar0) + EVT_IF_EQ(LVar0, 0) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_DryBones_Anim04) + EVT_EXEC_WAIT(DoAirLift) + EVT_ELSE + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_DryBones_Anim09) + EVT_EXEC_WAIT(DoAirLift) + EVT_END_IF + EVT_CASE_EQ(EVENT_BLOW_AWAY) + EVT_CALL(GetActorVar, ACTOR_SELF, 8, LVar0) + EVT_IF_EQ(LVar0, 0) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_IF_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, -1, -2, 0) + EVT_ELSE + EVT_CALL(SetActorDispOffset, ACTOR_SELF, -3, -5, 0) + EVT_END_IF + EVT_END_IF + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_DryBones_Anim07) + EVT_EXEC_WAIT(DoBlowAway) + EVT_ELSE + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_DryBones_Anim09) + EVT_EXEC_WAIT(DoBlowAway) + EVT_END_IF + EVT_RETURN + EVT_CASE_EQ(EVENT_AIR_LIFT_FAILED) + EVT_CALL(GetActorVar, ACTOR_SELF, 8, LVar0) + EVT_IF_EQ(LVar0, 0) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_DryBones_Anim02) + EVT_EXEC_WAIT(DoImmune) + EVT_ELSE + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_DryBones_Anim01) + EVT_EXEC_WAIT(DoImmune) + EVT_END_IF + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(rotateBone) = { + EVT_SET(LVar0, 0) + EVT_LABEL(0) + EVT_CALL(SetPartRotation, ACTOR_SELF, 2, 0, 0, LVar0) + EVT_ADD(LVar0, 60) + EVT_MOD(LVar0, 360) + EVT_WAIT(1) + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +EvtScript N(takeTurn) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(GetBattlePhase, LVar0) + EVT_IF_EQ(LVar0, PHASE_FIRST_STRIKE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 1) + EVT_END_IF + EVT_CALL(GetBattlePhase, LVar0) + EVT_IF_EQ(LVar0, PHASE_FIRST_STRIKE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_DryBones_Anim06) + EVT_GOTO(100) + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, 8, LVar0) + EVT_IF_EQ(LVar0, 1) + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LVar0) + EVT_SUB(LVar0, 1) + EVT_IF_EQ(LVar0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2D4) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_DryBones_Anim09) + EVT_WAIT(10) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2D3) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_DryBones_Anim0A) + EVT_WAIT(20) + EVT_CALL(SetActorVar, ACTOR_SELF, 8, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, 0) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations))) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable))) + EVT_CALL(SetStatusTable, ACTOR_SELF, EVT_PTR(N(statusTable))) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 1, ACTOR_PART_FLAG_2000, 0) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -8, 30) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, -1, -10) + EVT_CALL(GetEnemyMaxHP, ACTOR_SELF, LVar0) + EVT_CALL(SetEnemyHP, ACTOR_SELF, LVar0) + EVT_ELSE + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2D4) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_DryBones_Anim09) + EVT_WAIT(10) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, LVar0) + EVT_END_IF + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_DryBones_Anim05) + EVT_WAIT(15) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_DryBones_Anim06) + EVT_THREAD + EVT_WAIT(8) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_DryBones_Anim02) + EVT_END_THREAD + EVT_LABEL(100) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(SetPartScale, ACTOR_SELF, 2, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(0.4)) + EVT_ELSE + EVT_CALL(SetPartScale, ACTOR_SELF, 2, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_END_IF + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LVarF, LVar0) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 20) + EVT_CALL(SetPartPos, ACTOR_SELF, 2, LVar0, LVar1, LVar2) + EVT_WAIT(1) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 2, ACTOR_PART_FLAG_INVISIBLE, 0) + EVT_CALL(PlaySoundAtPart, ACTOR_SELF, 2, SOUND_2D1) + EVT_CALL(SetPartSounds, ACTOR_SELF, 2, 0, 0, 0) + EVT_CALL(SetPartSounds, ACTOR_SELF, 2, 2, 0, 0) + EVT_EXEC_GET_TID(N(rotateBone), LVarA) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 100) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 2, EVT_FLOAT(12.0)) + EVT_CALL(RunPartTo, ACTOR_SELF, 2, LVar0, LVar1, LVar2, 0) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 2, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_KILL_THREAD(LVarA) + EVT_IF_EQ(LVarF, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT(15) + EVT_CALL(YieldTurn) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) + EVT_WAIT(20) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 20) + EVT_CALL(SetPartPos, ACTOR_SELF, 2, LVar0, LVar1, LVar2) + EVT_WAIT(1) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 2, ACTOR_PART_FLAG_INVISIBLE, 0) + EVT_CALL(PlaySoundAtPart, ACTOR_SELF, 2, SOUND_2D1) + EVT_CALL(SetPartSounds, ACTOR_SELF, 2, 0, 0, 0) + EVT_CALL(SetPartSounds, ACTOR_SELF, 2, 2, 0, 0) + EVT_EXEC_GET_TID(N(rotateBone), LVarA) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(SetPartMoveSpeed, ACTOR_SELF, 2, EVT_FLOAT(12.0)) + EVT_CALL(RunPartTo, ACTOR_SELF, 2, LVar0, LVar1, LVar2, 0) + EVT_WAIT(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_NO_CONTACT, 0, 0, 4, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CALL(GetPartOffset, ACTOR_SELF, 2, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 100) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 2, EVT_FLOAT(0.7)) + EVT_CALL(JumpPartTo, ACTOR_SELF, 2, LVar0, 0, LVar2, 30, 1) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 2, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_KILL_THREAD(LVarA) + EVT_CALL(YieldTurn) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; diff --git a/src/battle/area_kpa/actor/ember.c b/src/battle/area_kpa/actor/ember.c new file mode 100644 index 0000000000..08d0b03334 --- /dev/null +++ b/src/battle/area_kpa/actor/ember.c @@ -0,0 +1,5 @@ +#include "common.h" + +#define NAMESPACE b_area_kpa_ember + +#include "battle/common/actor/ember.inc.c" diff --git a/src/battle/area_kpa/actor/hammer_bro.c b/src/battle/area_kpa/actor/hammer_bro.c new file mode 100644 index 0000000000..a745d8fc81 --- /dev/null +++ b/src/battle/area_kpa/actor/hammer_bro.c @@ -0,0 +1,5 @@ +#include "common.h" + +#define NAMESPACE b_area_kpa_hammer_bro + +#include "battle/common/actor/hammer_bro.inc.c" diff --git a/src/battle/area_kpa/actor/koopatrol.c b/src/battle/area_kpa/actor/koopatrol.c new file mode 100644 index 0000000000..e4fe1100dd --- /dev/null +++ b/src/battle/area_kpa/actor/koopatrol.c @@ -0,0 +1,5 @@ +#include "common.h" + +#define NAMESPACE b_area_kpa_koopatrol + +#include "battle/common/actor/koopatrol.inc.c" diff --git a/src/battle/area_kpa/actor/magikoopa.c b/src/battle/area_kpa/actor/magikoopa.c new file mode 100644 index 0000000000..11fa6c54c8 --- /dev/null +++ b/src/battle/area_kpa/actor/magikoopa.c @@ -0,0 +1,5 @@ +#include "common.h" + +#define NAMESPACE b_area_kpa_magikoopa + +#include "battle/common/actor/magikoopa.inc.c" diff --git a/src/battle/area_kpa/area.c b/src/battle/area_kpa/area.c new file mode 100644 index 0000000000..a3ccfb780b --- /dev/null +++ b/src/battle/area_kpa/area.c @@ -0,0 +1,463 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_kpa + +extern ActorBlueprint N(bony_beetle); +extern ActorBlueprint N(dry_bones); +extern ActorBlueprint N(magikoopa); +extern ActorBlueprint N(magikoopa_flying); +extern ActorBlueprint N(ember); +extern ActorBlueprint N(koopatrol); +extern ActorBlueprint N(hammer_bro); + +extern Stage N(kpa_01); +extern Stage N(kpa_01b); +extern Stage N(kpa_02); +extern Stage N(kpa_03); +extern Stage N(kpa_04); +extern Stage N(kpa_04b); +extern Stage N(kpa_04c); +extern Stage N(kpa_05); +extern Stage N(kpa_07); +extern Stage N(kpa_08); +extern Stage N(kpa_09); +extern Stage N(kpa_11); +extern Stage N(kpa_13); +extern Stage N(kpa_14); + +Formation N(formation_00) = { + { .actor = &N(bony_beetle), .home = { .index = 1 }, .priority = 10, .var0 = 1, }, + { .actor = &N(bony_beetle), .home = { .index = 2 }, .priority = 9, }, +}; + +Formation N(formation_01) = { + { .actor = &N(bony_beetle), .home = { .index = 0 }, .priority = 10, .var0 = 1, }, + { .actor = &N(bony_beetle), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(bony_beetle), .home = { .index = 2 }, .priority = 8, }, +}; + +Formation N(formation_02) = { + { .actor = &N(bony_beetle), .home = { .index = 0 }, .priority = 10, .var0 = 1, }, + { .actor = &N(dry_bones), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(dry_bones), .home = { .index = 2 }, .priority = 8, }, +}; + +Formation N(formation_03) = { + { .actor = &N(bony_beetle), .home = { .index = 0 }, .priority = 10, .var0 = 1, }, + { .actor = &N(bony_beetle), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(dry_bones), .home = { .index = 2 }, .priority = 8, }, +}; + +Formation N(formation_04) = { + { .actor = &N(bony_beetle), .home = { .index = 0 }, .priority = 10, .var0 = 1, }, + { .actor = &N(bony_beetle), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(magikoopa), .home = { .index = 2 }, .priority = 8, }, +}; + +Formation N(formation_05) = { + { .actor = &N(bony_beetle), .home = { .index = 0 }, .priority = 10, .var0 = 1, }, + { .actor = &N(bony_beetle), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(bony_beetle), .home = { .index = 2 }, .priority = 8, }, + { .actor = &N(magikoopa), .home = { .index = 3 }, .priority = 7, }, +}; + +Formation N(formation_06) = { + { .actor = &N(bony_beetle), .home = { .index = 0 }, .priority = 10, .var0 = 1, }, + { .actor = &N(dry_bones), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(bony_beetle), .home = { .index = 2 }, .priority = 8, }, + { .actor = &N(magikoopa), .home = { .index = 3 }, .priority = 7, }, +}; + +Formation N(formation_07) = { + { .actor = &N(dry_bones), .home = { .index = 1 }, .priority = 10, }, + { .actor = &N(dry_bones), .home = { .index = 2 }, .priority = 9, }, +}; + +Formation N(formation_08) = { + { .actor = &N(dry_bones), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(dry_bones), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(dry_bones), .home = { .index = 2 }, .priority = 8, }, +}; + +Formation N(formation_09) = { + { .actor = &N(dry_bones), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(dry_bones), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(dry_bones), .home = { .index = 2 }, .priority = 8, }, + { .actor = &N(dry_bones), .home = { .index = 3 }, .priority = 7, }, +}; + +Formation N(formation_0A) = { + { .actor = &N(dry_bones), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(ember), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(ember), .home = { .index = 2 }, .priority = 8, }, + { .actor = &N(ember), .home = { .index = 3 }, .priority = 7, }, +}; + +Formation N(formation_0B) = { + { .actor = &N(dry_bones), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(dry_bones), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(magikoopa), .home = { .index = 2 }, .priority = 8, }, +}; + +Formation N(formation_0C) = { + { .actor = &N(dry_bones), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(koopatrol), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(koopatrol), .home = { .index = 2 }, .priority = 8, }, +}; + +Formation N(formation_0D) = { + { .actor = &N(dry_bones), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(dry_bones), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(bony_beetle), .home = { .index = 2 }, .priority = 8, }, +}; + +Formation N(formation_0E) = { + { .actor = &N(dry_bones), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(dry_bones), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(bony_beetle), .home = { .index = 2 }, .priority = 8, }, + { .actor = &N(bony_beetle), .home = { .index = 3 }, .priority = 7, }, +}; + +Formation N(formation_0F) = { + { .actor = &N(hammer_bro), .home = { .index = 1 }, .priority = 10, }, + { .actor = &N(hammer_bro), .home = { .index = 2 }, .priority = 9, }, +}; + +Formation N(formation_10) = { + { .actor = &N(hammer_bro), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(hammer_bro), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(hammer_bro), .home = { .index = 2 }, .priority = 8, }, +}; + +Formation N(formation_11) = { + { .actor = &N(hammer_bro), .home = { .index = 1 }, .priority = 10, }, + { .actor = &N(koopatrol), .home = { .index = 2 }, .priority = 9, }, +}; + +Formation N(formation_12) = { + { .actor = &N(hammer_bro), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(hammer_bro), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(koopatrol), .home = { .index = 2 }, .priority = 8, }, +}; + +Formation N(formation_13) = { + { .actor = &N(hammer_bro), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(koopatrol), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(koopatrol), .home = { .index = 2 }, .priority = 8, }, +}; + +Formation N(formation_14) = { + { .actor = &N(hammer_bro), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(dry_bones), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(hammer_bro), .home = { .index = 2 }, .priority = 8, }, + { .actor = &N(magikoopa), .home = { .index = 3 }, .priority = 9, }, +}; + +Formation N(formation_15) = { + { .actor = &N(hammer_bro), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(hammer_bro), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(magikoopa_flying), .home = { .index = 6 }, .priority = 8, }, +}; + +Formation N(formation_16) = { + { .actor = &N(hammer_bro), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(hammer_bro), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(hammer_bro), .home = { .index = 2 }, .priority = 8, }, + { .actor = &N(magikoopa_flying), .home = { .index = 7 }, .priority = 9, }, +}; + +Formation N(formation_17) = { + { .actor = &N(koopatrol), .home = { .index = 1 }, .priority = 10, }, +}; + +Formation N(formation_18) = { + { .actor = &N(koopatrol), .home = { .index = 1 }, .priority = 10, }, + { .actor = &N(koopatrol), .home = { .index = 2 }, .priority = 9, }, +}; + +Formation N(formation_19) = { + { .actor = &N(koopatrol), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(koopatrol), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(koopatrol), .home = { .index = 2 }, .priority = 8, }, +}; + +Formation N(formation_1A) = { + { .actor = &N(koopatrol), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(koopatrol), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(koopatrol), .home = { .index = 2 }, .priority = 8, }, + { .actor = &N(koopatrol), .home = { .index = 3 }, .priority = 7, }, +}; + +Formation N(formation_1B) = { + { .actor = &N(koopatrol), .home = { .index = 1 }, .priority = 10, }, + { .actor = &N(hammer_bro), .home = { .index = 2 }, .priority = 9, }, +}; + +Formation N(formation_1C) = { + { .actor = &N(koopatrol), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(hammer_bro), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(koopatrol), .home = { .index = 2 }, .priority = 8, }, + { .actor = &N(hammer_bro), .home = { .index = 3 }, .priority = 7, }, +}; + +Vec3i N(formation_1D_pos1) = { 5, 0, -20 }; + +Vec3i N(formation_1D_pos2) = { 45, 0, -10 }; + +Vec3i N(formation_1D_pos3) = { 85, 0, 0 }; + +Vec3i N(formation_1D_pos4) = { 125, 0, 5 }; + +Formation N(formation_1D) = { + { .actor = &N(koopatrol), .home = { .vec = &N(formation_1D_pos1) }, .priority = 10, }, + { .actor = &N(koopatrol), .home = { .vec = &N(formation_1D_pos2) }, .priority = 9, }, + { .actor = &N(koopatrol), .home = { .vec = &N(formation_1D_pos3) }, .priority = 8, }, + { .actor = &N(magikoopa), .home = { .vec = &N(formation_1D_pos4) }, .priority = 7, }, +}; + +Formation N(formation_1E) = { + { .actor = &N(koopatrol), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(koopatrol), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(magikoopa), .home = { .index = 2 }, .priority = 8, }, + { .actor = &N(magikoopa), .home = { .index = 3 }, .priority = 7, }, +}; + +Formation N(formation_1F) = { + { .actor = &N(koopatrol), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(hammer_bro), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(magikoopa), .home = { .index = 2 }, .priority = 8, }, + { .actor = &N(magikoopa), .home = { .index = 3 }, .priority = 7, }, +}; + +Formation N(formation_20) = { + { .actor = &N(koopatrol), .home = { .index = 1 }, .priority = 10, }, + { .actor = &N(bony_beetle), .home = { .index = 2 }, .priority = 9, }, +}; + +Formation N(formation_21) = { + { .actor = &N(koopatrol), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(koopatrol), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(bony_beetle), .home = { .index = 2 }, .priority = 8, }, +}; + +Formation N(formation_22) = { + { .actor = &N(koopatrol), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(bony_beetle), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(bony_beetle), .home = { .index = 2 }, .priority = 8, }, +}; + +Formation N(formation_23) = { + { .actor = &N(koopatrol), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(bony_beetle), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(koopatrol), .home = { .index = 2 }, .priority = 8, }, +}; + +Formation N(formation_24) = { + { .actor = &N(koopatrol), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(dry_bones), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(dry_bones), .home = { .index = 2 }, .priority = 8, }, +}; + +Formation N(formation_25) = { + { .actor = &N(koopatrol), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(koopatrol), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(magikoopa), .home = { .index = 2 }, .priority = 8, }, + { .actor = &N(magikoopa_flying), .home = { .index = 7 }, .priority = 7, }, +}; + +Formation N(formation_26) = { + { .actor = &N(koopatrol), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(magikoopa), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(koopatrol), .home = { .index = 2 }, .priority = 8, }, + { .actor = &N(magikoopa), .home = { .index = 3 }, .priority = 7, }, +}; + +Formation N(formation_27) = { + { .actor = &N(magikoopa), .home = { .index = 1 }, .priority = 10, }, + { .actor = &N(magikoopa), .home = { .index = 2 }, .priority = 9, }, +}; + +Formation N(formation_28) = { + { .actor = &N(magikoopa), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(magikoopa), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(magikoopa), .home = { .index = 2 }, .priority = 8, }, +}; + +Formation N(formation_29) = { + { .actor = &N(magikoopa), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(magikoopa_flying), .home = { .index = 5 }, .priority = 9, }, + { .actor = &N(magikoopa_flying), .home = { .index = 6 }, .priority = 8, }, +}; + +Formation N(formation_2A) = { + { .actor = &N(magikoopa), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(magikoopa), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(magikoopa_flying), .home = { .index = 6 }, .priority = 8, }, + { .actor = &N(magikoopa_flying), .home = { .index = 7 }, .priority = 7, }, +}; + +Formation N(formation_2B) = { + { .actor = &N(magikoopa), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(koopatrol), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(koopatrol), .home = { .index = 2 }, .priority = 8, }, + { .actor = &N(koopatrol), .home = { .index = 3 }, .priority = 7, }, +}; + +Formation N(formation_2C) = { + { .actor = &N(magikoopa), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(magikoopa), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(dry_bones), .home = { .index = 2 }, .priority = 8, }, +}; + +Formation N(formation_2D) = { + { .actor = &N(magikoopa), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(bony_beetle), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(magikoopa), .home = { .index = 2 }, .priority = 8, }, +}; + +Formation N(formation_2E) = { + { .actor = &N(magikoopa), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(bony_beetle), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(bony_beetle), .home = { .index = 2 }, .priority = 8, }, + { .actor = &N(magikoopa), .home = { .index = 3 }, .priority = 7, }, +}; + +Formation N(formation_2F) = { + { .actor = &N(magikoopa), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(magikoopa), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(magikoopa_flying), .home = { .index = 6 }, .priority = 8, }, +}; + +Formation N(formation_30) = { + { .actor = &N(magikoopa), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(koopatrol), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(magikoopa), .home = { .index = 2 }, .priority = 8, }, + { .actor = &N(koopatrol), .home = { .index = 3 }, .priority = 7, }, +}; + +Formation N(formation_31) = { + { .actor = &N(magikoopa_flying), .home = { .index = 5 }, .priority = 10, }, + { .actor = &N(magikoopa_flying), .home = { .index = 6 }, .priority = 9, }, +}; + +Formation N(formation_32) = { + { .actor = &N(magikoopa_flying), .home = { .index = 4 }, .priority = 10, }, + { .actor = &N(magikoopa_flying), .home = { .index = 5 }, .priority = 9, }, + { .actor = &N(magikoopa_flying), .home = { .index = 6 }, .priority = 8, }, +}; + +Formation N(formation_33) = { + { .actor = &N(magikoopa_flying), .home = { .index = 4 }, .priority = 10, }, + { .actor = &N(magikoopa), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(magikoopa_flying), .home = { .index = 6 }, .priority = 8, }, + { .actor = &N(magikoopa), .home = { .index = 3 }, .priority = 7, }, +}; + +Formation N(formation_34) = { + { .actor = &N(magikoopa_flying), .home = { .index = 4 }, .priority = 10, }, + { .actor = &N(koopatrol), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(koopatrol), .home = { .index = 2 }, .priority = 8, }, +}; + +Formation N(formation_35) = { + { .actor = &N(magikoopa_flying), .home = { .index = 5 }, .priority = 10, }, + { .actor = &N(hammer_bro), .home = { .index = 2 }, .priority = 9, }, +}; + +Formation N(formation_36) = { + { .actor = &N(magikoopa_flying), .home = { .index = 4 }, .priority = 10, }, + { .actor = &N(dry_bones), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(dry_bones), .home = { .index = 2 }, .priority = 8, }, +}; + +Formation N(formation_37) = { + { .actor = &N(magikoopa_flying), .home = { .index = 4 }, .priority = 10, }, + { .actor = &N(koopatrol), .home = { .index = 1 }, .priority = 10, }, + { .actor = &N(magikoopa_flying), .home = { .index = 6 }, .priority = 9, }, +}; + +Formation N(formation_38) = { + { .actor = &N(magikoopa_flying), .home = { .index = 4 }, .priority = 10, }, + { .actor = &N(hammer_bro), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(hammer_bro), .home = { .index = 2 }, .priority = 8, }, + { .actor = &N(magikoopa_flying), .home = { .index = 7 }, .priority = 7, }, +}; + +BattleList N(formationTable) = { + BATTLE("ホネメットx2", N(formation_00), &N(kpa_01)), + BATTLE("ホネメットx3", N(formation_01), &N(kpa_01)), + BATTLE("ホネメット,カロンx2", N(formation_02), &N(kpa_01)), + BATTLE("ホネメットx2,カロン", N(formation_03), &N(kpa_01)), + BATTLE("ホネメットx2,カメック", N(formation_04), &N(kpa_01)), + BATTLE("ホネメットx3,カメック", N(formation_05), &N(kpa_01)), + BATTLE("ホネメット,カロン,ホネメット,カメック", N(formation_06), &N(kpa_01)), + BATTLE("カロンx2", N(formation_07), &N(kpa_01)), + BATTLE("カロンx3", N(formation_08), &N(kpa_01)), + BATTLE("カロンx4", N(formation_09), &N(kpa_01)), + BATTLE("カロン,エルモスx3", N(formation_0A), &N(kpa_01)), + BATTLE("カロンx2,カメック", N(formation_0B), &N(kpa_01)), + BATTLE("カロン,トゲノコx2", N(formation_0C), &N(kpa_01)), + BATTLE("カロンx2,ホネメット", N(formation_0D), &N(kpa_01)), + BATTLE("カロンx2,ホネメットx2", N(formation_0E), &N(kpa_01)), + BATTLE("ハンマーブロスx2", N(formation_0F), &N(kpa_01)), + BATTLE("ハンマーブロスx3", N(formation_10), &N(kpa_01)), + BATTLE("ハンマーブロス,トゲノコ", N(formation_11), &N(kpa_01)), + BATTLE("ハンマーブロスx2,トゲノコ", N(formation_12), &N(kpa_01)), + BATTLE("ハンマーブロス,トゲノコx2", N(formation_13), &N(kpa_01)), + BATTLE("ハンマーブロス,カロン,ハンンマーブロス,カメック", N(formation_14), &N(kpa_01)), + BATTLE("ハンマーブロスx2,くうちゅうカメック", N(formation_15), &N(kpa_01)), + BATTLE("ハンマーブロスx3,くうちゅうカメック", N(formation_16), &N(kpa_01)), + BATTLE("トゲノコ", N(formation_17), &N(kpa_01)), + BATTLE("トゲノコx2", N(formation_18), &N(kpa_01)), + BATTLE("トゲノコx3", N(formation_19), &N(kpa_01)), + BATTLE("トゲノコx4", N(formation_1A), &N(kpa_01)), + BATTLE("トゲノコ,ハンマーブロス", N(formation_1B), &N(kpa_01)), + BATTLE("トゲノコ,ハンマーブロス,トゲノコ,ハンマーブロス", N(formation_1C), &N(kpa_01)), + BATTLE("トゲノコx3,カメック", N(formation_1D), &N(kpa_01)), + BATTLE("トゲノコx2,カメックx2", N(formation_1E), &N(kpa_01)), + BATTLE("トゲノコ,ホネメット", N(formation_20), &N(kpa_01)), + BATTLE("トゲノコx2,ホネメット", N(formation_21), &N(kpa_01)), + BATTLE("トゲノコ,ホネメットx2", N(formation_22), &N(kpa_01)), + BATTLE("トゲノコ,ホネメット,トゲノコ", N(formation_23), &N(kpa_01)), + BATTLE("トゲノコ,カロンx2", N(formation_24), &N(kpa_01)), + BATTLE("トゲノコx2,カメック,くうちゅうカメック", N(formation_25), &N(kpa_01)), + BATTLE("トゲノコ,カメック,トゲノコ,カメック", N(formation_26), &N(kpa_01)), + BATTLE("カメックx2", N(formation_27), &N(kpa_01)), + BATTLE("カメックx3", N(formation_28), &N(kpa_01)), + BATTLE("カメック,くうちゅうカメックx2", N(formation_29), &N(kpa_01)), + BATTLE("カメックx2,くうちゅうカメックx2", N(formation_2A), &N(kpa_01)), + BATTLE("カメック,トゲノコx3", N(formation_2B), &N(kpa_01)), + BATTLE("カメックx2,カロン", N(formation_2C), &N(kpa_01)), + BATTLE("カメック,ホネメット,カメック", N(formation_2D), &N(kpa_01)), + BATTLE("カメック,ホネメットx2,カメック", N(formation_2E), &N(kpa_01)), + BATTLE("カメックx2,くうちゅうカメック", N(formation_2F), &N(kpa_01)), + BATTLE("カメック,トゲノコ,カメック,トゲノコ", N(formation_30), &N(kpa_01)), + BATTLE("くうちゅうカメックx2", N(formation_31), &N(kpa_01)), + BATTLE("くうちゅうカメックx3", N(formation_32), &N(kpa_01)), + BATTLE("くうちゅうカメック,カメック,くうちゅうカメック,カメック", N(formation_33), &N(kpa_01)), + BATTLE("くうちゅうカメック,トゲノコx2", N(formation_34), &N(kpa_01)), + BATTLE("くうちゅうカメック,ハンマーブロス", N(formation_35), &N(kpa_01)), + BATTLE("くうちゅうカメック,カロンx2", N(formation_36), &N(kpa_01)), + BATTLE("くうちゅうカメック,トゲノコ,くうちゅうカメック", N(formation_37), &N(kpa_01)), + BATTLE("くうちゅうカメック,ハンマーブロスx2,くうちゅうカメック", N(formation_38), &N(kpa_01)), + {}, +}; + +StageList N(stageTable) = { + { "kpa_01", &N(kpa_01) }, + { "kpa_01b", &N(kpa_01b) }, + { "kpa_02", &N(kpa_02) }, + { "kpa_03", &N(kpa_03) }, + { "kpa_04", &N(kpa_04) }, + { "kpa_04b", &N(kpa_04b) }, + { "kpa_04c", &N(kpa_04c) }, + { "kpa_05", &N(kpa_05) }, + { "kpa_07", &N(kpa_07) }, + { "kpa_08", &N(kpa_08) }, + { "kpa_09", &N(kpa_09) }, + { "kpa_11", &N(kpa_11) }, + { "kpa_13", &N(kpa_13) }, + { "kpa_14", &N(kpa_14) }, + {}, +}; diff --git a/src/battle/area_kpa/stage/kpa_01.c b/src/battle/area_kpa/stage/kpa_01.c new file mode 100644 index 0000000000..2a366fa189 --- /dev/null +++ b/src/battle/area_kpa/stage/kpa_01.c @@ -0,0 +1,53 @@ +#include "common.h" +#include "battle/battle.h" +#include "mapfs/kpa_bt01_shape.h" + +#define NAMESPACE b_area_kpa_kpa_01 + +EvtScript N(8022EFE0) = { + EVT_SET(LVarA, LVar0) + EVT_CALL(SetTexPanner, LVarA, 1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, 1, 0, LVar0, LVar1) + EVT_ADD(LVar0, 32768) + EVT_ADD(LVar1, 0) + EVT_WAIT(5) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_CALL(SetGroupEnabled, 36, 0) + EVT_THREAD + EVT_SET(LVar0, 37) + EVT_EXEC(N(8022EFE0)) + EVT_WAIT(5) + EVT_SET(LVar0, 39) + EVT_EXEC(N(8022EFE0)) + EVT_END_THREAD + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList)[] = { + MODEL_o383, MODEL_o382, MODEL_o381, 0, +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt01_shape", + .hit = "kpa_bt01_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), + .foregroundModelList = N(foregroundModelList), +}; diff --git a/src/battle/area_kpa/stage/kpa_01b.c b/src/battle/area_kpa/stage/kpa_01b.c new file mode 100644 index 0000000000..a548ffdec1 --- /dev/null +++ b/src/battle/area_kpa/stage/kpa_01b.c @@ -0,0 +1,50 @@ +#include "common.h" +#include "battle/battle.h" +#include "mapfs/kpa_bt01_shape.h" + +#define NAMESPACE b_area_kpa_kpa_01b + +EvtScript N(8022F180) = { + EVT_SET(LVarA, LVar0) + EVT_CALL(SetTexPanner, LVarA, 1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, 1, 0, LVar0, LVar1) + EVT_ADD(LVar0, 32768) + EVT_ADD(LVar1, 0) + EVT_WAIT(5) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_CALL(SetGroupEnabled, 25, 0) + EVT_SET(LVar0, 37) + EVT_EXEC(N(8022F180)) + EVT_SET(LVar0, 39) + EVT_EXEC(N(8022F180)) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList)[] = { + MODEL_o383, MODEL_o382, MODEL_o381, 0, +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt01_shape", + .hit = "kpa_bt01_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), + .foregroundModelList = N(foregroundModelList), +}; diff --git a/src/battle/area_kpa/stage/kpa_02.c b/src/battle/area_kpa/stage/kpa_02.c new file mode 100644 index 0000000000..7c6d14d81c --- /dev/null +++ b/src/battle/area_kpa/stage/kpa_02.c @@ -0,0 +1,103 @@ +#include "common.h" +#include "battle/battle.h" +#include "mapfs/kpa_bt02_shape.h" + +#define NAMESPACE b_area_kpa_kpa_02 + +EvtScript N(8022F300) = { + EVT_SET(LVarA, LVar1) + EVT_SET(LVarB, LVar2) + EVT_SET(LVarC, LVar3) + EVT_CALL(SetTexPanner, LVar0, LVar1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, LVarA, 0, LVar0, LVar1) + EVT_ADD(LVar0, LVarB) + EVT_ADD(LVar1, LVarC) + EVT_WAIT(1) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(8022F3D0) = { + EVT_SET(LVarA, LVar1) + EVT_SET(LVarB, LVar2) + EVT_SET(LVarC, LVar3) + EVT_CALL(SetTexPanner, LVar0, LVar1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, LVarA, 0, LVar0, 0) + EVT_CALL(SetTexPanOffset, LVarA, 1, LVar1, 0) + EVT_ADD(LVar0, LVarB) + EVT_ADD(LVar1, LVarC) + EVT_WAIT(1) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(8022F4BC) = { + EVT_SET(LVarA, LVar1) + EVT_SET(LVarB, LVar2) + EVT_SET(LVarC, LVar3) + EVT_CALL(SetTexPanner, LVar0, LVar1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, LVarA, 0, 0, LVar0) + EVT_CALL(SetTexPanOffset, LVarA, 1, 0, LVar1) + EVT_ADD(LVar0, LVarB) + EVT_ADD(LVar1, LVarC) + EVT_WAIT(1) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_SET(LVar0, 16) + EVT_SET(LVar1, 1) + EVT_SET(LVar2, -400) + EVT_SET(LVar3, -800) + EVT_EXEC(N(8022F3D0)) + EVT_SET(LVar0, 19) + EVT_SET(LVar1, 3) + EVT_SET(LVar2, -400) + EVT_SET(LVar3, -800) + EVT_EXEC(N(8022F3D0)) + EVT_SET(LVar0, 17) + EVT_SET(LVar1, 0) + EVT_SET(LVar2, -400) + EVT_SET(LVar3, -800) + EVT_EXEC(N(8022F4BC)) + EVT_SET(LVar0, 18) + EVT_SET(LVar1, 2) + EVT_SET(LVar2, -400) + EVT_SET(LVar3, -800) + EVT_EXEC(N(8022F4BC)) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList)[] = { + MODEL_saku, 0, +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt02_shape", + .hit = "kpa_bt02_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), + .foregroundModelList = N(foregroundModelList), +}; diff --git a/src/battle/area_kpa/stage/kpa_03.c b/src/battle/area_kpa/stage/kpa_03.c new file mode 100644 index 0000000000..e5c6a8249d --- /dev/null +++ b/src/battle/area_kpa/stage/kpa_03.c @@ -0,0 +1,32 @@ +#include "common.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "mapfs/kpa_bt03_shape.h" + +#define NAMESPACE b_area_kpa_kpa_03 + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_CALL(func_80253734, 1) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList)[] = { + MODEL_tar1, 0, +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt03_shape", + .hit = "kpa_bt03_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), + .foregroundModelList = N(foregroundModelList), +}; diff --git a/src/battle/area_kpa/stage/kpa_04.c b/src/battle/area_kpa/stage/kpa_04.c new file mode 100644 index 0000000000..97bc6f482b --- /dev/null +++ b/src/battle/area_kpa/stage/kpa_04.c @@ -0,0 +1,53 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_kpa_kpa_04 + +EvtScript N(8022F7F0) = { + EVT_SET(LVarA, LVar0) + EVT_CALL(SetTexPanner, LVarA, 1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, 1, 0, LVar0, LVar1) + EVT_ADD(LVar0, 32768) + EVT_ADD(LVar1, 0) + EVT_WAIT(5) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_CALL(SetGroupEnabled, 15, 0) + EVT_CALL(SetGroupEnabled, 17, 0) + EVT_CALL(SetGroupEnabled, 16, 0) + EVT_CALL(SetGroupEnabled, 26, 0) + EVT_CALL(SetGroupEnabled, 18, 0) + EVT_CALL(SetGroupEnabled, 20, 0) + EVT_CALL(SetGroupEnabled, 22, 0) + EVT_CALL(SetGroupEnabled, 24, 0) + EVT_SET(LVar0, 32) + EVT_EXEC(N(8022F7F0)) + EVT_SET(LVar0, 34) + EVT_EXEC(N(8022F7F0)) + EVT_SET(LVar0, 36) + EVT_EXEC(N(8022F7F0)) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt04_shape", + .hit = "kpa_bt04_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), +}; diff --git a/src/battle/area_kpa/stage/kpa_04b.c b/src/battle/area_kpa/stage/kpa_04b.c new file mode 100644 index 0000000000..e4dd0e4d40 --- /dev/null +++ b/src/battle/area_kpa/stage/kpa_04b.c @@ -0,0 +1,52 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_kpa_kpa_04b + +EvtScript N(8022FA10) = { + EVT_SET(LVarA, LVar0) + EVT_CALL(SetTexPanner, LVarA, 1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, 1, 0, LVar0, LVar1) + EVT_ADD(LVar0, 32768) + EVT_ADD(LVar1, 0) + EVT_WAIT(5) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_CALL(SetGroupEnabled, 13, 0) + EVT_CALL(SetGroupEnabled, 17, 0) + EVT_CALL(SetGroupEnabled, 16, 0) + EVT_CALL(SetGroupEnabled, 18, 0) + EVT_CALL(SetGroupEnabled, 20, 0) + EVT_CALL(SetGroupEnabled, 22, 0) + EVT_CALL(SetGroupEnabled, 24, 0) + EVT_SET(LVar0, 32) + EVT_EXEC(N(8022FA10)) + EVT_SET(LVar0, 34) + EVT_EXEC(N(8022FA10)) + EVT_SET(LVar0, 36) + EVT_EXEC(N(8022FA10)) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt04_shape", + .hit = "kpa_bt04_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), +}; diff --git a/src/battle/area_kpa/stage/kpa_04c.c b/src/battle/area_kpa/stage/kpa_04c.c new file mode 100644 index 0000000000..eb28d29440 --- /dev/null +++ b/src/battle/area_kpa/stage/kpa_04c.c @@ -0,0 +1,53 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_kpa_kpa_04c + +EvtScript N(8022FC20) = { + EVT_SET(LVarA, LVar0) + EVT_CALL(SetTexPanner, LVarA, 1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, 1, 0, LVar0, LVar1) + EVT_ADD(LVar0, 32768) + EVT_ADD(LVar1, 0) + EVT_WAIT(5) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_CALL(SetGroupEnabled, 30, 0) + EVT_CALL(SetGroupEnabled, 39, 0) + EVT_CALL(SetGroupEnabled, 38, 0) + EVT_CALL(SetGroupEnabled, 36, 0) + EVT_CALL(SetGroupEnabled, 34, 0) + EVT_CALL(SetGroupEnabled, 32, 0) + EVT_SET(LVar0, 18) + EVT_EXEC(N(8022FC20)) + EVT_SET(LVar0, 20) + EVT_EXEC(N(8022FC20)) + EVT_SET(LVar0, 22) + EVT_EXEC(N(8022FC20)) + EVT_SET(LVar0, 24) + EVT_EXEC(N(8022FC20)) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt04_shape", + .hit = "kpa_bt04_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), +}; diff --git a/src/battle/area_kpa/stage/kpa_05.c b/src/battle/area_kpa/stage/kpa_05.c new file mode 100644 index 0000000000..c0f768003c --- /dev/null +++ b/src/battle/area_kpa/stage/kpa_05.c @@ -0,0 +1,30 @@ +#include "common.h" +#include "battle/battle.h" +#include "mapfs/kpa_bt05_shape.h" + +#define NAMESPACE b_area_kpa_kpa_05 + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList)[] = { + MODEL_saku, 0, +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt05_shape", + .hit = "kpa_bt05_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), + .foregroundModelList = N(foregroundModelList), +}; diff --git a/src/battle/area_kpa/stage/kpa_07.c b/src/battle/area_kpa/stage/kpa_07.c new file mode 100644 index 0000000000..f3b66d7660 --- /dev/null +++ b/src/battle/area_kpa/stage/kpa_07.c @@ -0,0 +1,98 @@ +#include "common.h" +#include "battle/battle.h" +#include "mapfs/kpa_bt07_shape.h" + +#define NAMESPACE b_area_kpa_kpa_07 + +EvtScript N(8022FEB0) = { + EVT_SET(LVarA, LVar1) + EVT_SET(LVarB, LVar2) + EVT_SET(LVarC, LVar3) + EVT_CALL(SetTexPanner, LVar0, LVar1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, LVarA, 0, LVar0, LVar1) + EVT_ADD(LVar0, LVarB) + EVT_ADD(LVar1, LVarC) + EVT_WAIT(1) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(8022FF80) = { + EVT_SET(LVarA, LVar1) + EVT_SET(LVarB, LVar2) + EVT_SET(LVarC, LVar3) + EVT_CALL(SetTexPanner, LVar0, LVar1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, LVarA, 0, LVar0, 0) + EVT_CALL(SetTexPanOffset, LVarA, 1, LVar1, 0) + EVT_ADD(LVar0, LVarB) + EVT_ADD(LVar1, LVarC) + EVT_WAIT(1) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(8023006C) = { + EVT_SET(LVarA, LVar1) + EVT_SET(LVarB, LVar2) + EVT_SET(LVarC, LVar3) + EVT_CALL(SetTexPanner, LVar0, LVar1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, LVarA, 0, 0, LVar0) + EVT_CALL(SetTexPanOffset, LVarA, 1, 0, LVar1) + EVT_ADD(LVar0, LVarB) + EVT_ADD(LVar1, LVarC) + EVT_WAIT(1) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_SET(LVar0, 16) + EVT_SET(LVar1, 0) + EVT_SET(LVar2, -200) + EVT_SET(LVar3, 0) + EVT_EXEC(N(8022FEB0)) + EVT_SET(LVar0, 17) + EVT_SET(LVar1, 1) + EVT_SET(LVar2, -120) + EVT_SET(LVar3, 0) + EVT_EXEC(N(8022FEB0)) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 2) + EVT_SET(LVar2, -100) + EVT_SET(LVar3, 0) + EVT_EXEC(N(8022FEB0)) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList)[] = { + MODEL_kemu1, 0, +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt07_shape", + .hit = "kpa_bt07_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), + .foregroundModelList = N(foregroundModelList), +}; diff --git a/src/battle/area_kpa/stage/kpa_08.c b/src/battle/area_kpa/stage/kpa_08.c new file mode 100644 index 0000000000..83cb7f5cf9 --- /dev/null +++ b/src/battle/area_kpa/stage/kpa_08.c @@ -0,0 +1,30 @@ +#include "common.h" +#include "battle/battle.h" +#include "mapfs/kpa_bt08_shape.h" + +#define NAMESPACE b_area_kpa_kpa_08 + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList)[] = { + MODEL_o478, 0, +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt08_shape", + .hit = "kpa_bt08_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), + .foregroundModelList = N(foregroundModelList), +}; diff --git a/src/battle/area_kpa/stage/kpa_09.c b/src/battle/area_kpa/stage/kpa_09.c new file mode 100644 index 0000000000..25c55cb5cc --- /dev/null +++ b/src/battle/area_kpa/stage/kpa_09.c @@ -0,0 +1,30 @@ +#include "common.h" +#include "battle/battle.h" +#include "mapfs/kpa_bt09_shape.h" + +#define NAMESPACE b_area_kpa_kpa_09 + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList)[] = { + MODEL_o353, 0, +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt09_shape", + .hit = "kpa_bt09_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), + .foregroundModelList = N(foregroundModelList), +}; diff --git a/src/battle/area_kpa/stage/kpa_11.c b/src/battle/area_kpa/stage/kpa_11.c new file mode 100644 index 0000000000..7baff2bbd9 --- /dev/null +++ b/src/battle/area_kpa/stage/kpa_11.c @@ -0,0 +1,30 @@ +#include "common.h" +#include "battle/battle.h" +#include "mapfs/kpa_bt11_shape.h" + +#define NAMESPACE b_area_kpa_kpa_11 + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList)[] = { + MODEL_h2, 0, +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt11_shape", + .hit = "kpa_bt11_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), + .foregroundModelList = N(foregroundModelList), +}; diff --git a/src/battle/area_kpa/stage/kpa_13.c b/src/battle/area_kpa/stage/kpa_13.c new file mode 100644 index 0000000000..630c26d22b --- /dev/null +++ b/src/battle/area_kpa/stage/kpa_13.c @@ -0,0 +1,39 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_kpa_kpa_13 + +EvtScript N(80230440) = { + EVT_SET(LVarA, LVar0) + EVT_CALL(SetTexPanner, LVarA, 1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, 1, 0, LVar0, LVar1) + EVT_ADD(LVar0, 32768) + EVT_ADD(LVar1, 0) + EVT_WAIT(5) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt13_shape", + .hit = "kpa_bt13_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), +}; diff --git a/src/battle/area_kpa/stage/kpa_14.c b/src/battle/area_kpa/stage/kpa_14.c new file mode 100644 index 0000000000..d1f21b0c66 --- /dev/null +++ b/src/battle/area_kpa/stage/kpa_14.c @@ -0,0 +1,39 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_kpa_kpa_14 + +EvtScript N(80230570) = { + EVT_SET(LVarA, LVar0) + EVT_CALL(SetTexPanner, LVarA, 1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, 1, 0, LVar0, LVar1) + EVT_ADD(LVar0, 32768) + EVT_ADD(LVar1, 0) + EVT_WAIT(5) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt14_shape", + .hit = "kpa_bt14_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), +}; diff --git a/src/battle/area_kpa2/69F200.c b/src/battle/area_kpa2/69F200.c deleted file mode 100644 index 6eb6688e6a..0000000000 --- a/src/battle/area_kpa2/69F200.c +++ /dev/null @@ -1,11 +0,0 @@ -#include "common.h" - -#define NAMESPACE b_area_kpa2 - -#define NAMESPACE dup_b_area_kpa2 -#include "common/FadeBackgroundToBlack.inc.c" -#define NAMESPACE b_area_kpa2 - -#define NAMESPACE dup_b_area_kpa2 -#include "common/UnfadeBackgroundToBlack.inc.c" -#define NAMESPACE b_area_kpa2 diff --git a/src/battle/area_kpa2/69F320.c b/src/battle/area_kpa2/69F320.c deleted file mode 100644 index a2d7c47aef..0000000000 --- a/src/battle/area_kpa2/69F320.c +++ /dev/null @@ -1,134 +0,0 @@ -#include "common.h" -#include "sprite/npc/BattleBowser.h" -#include "sprite/npc/ParadePeach.h" -#include "battle/battle.h" -#include "script_api/battle.h" -#include "effects.h" - -#define NAMESPACE b_area_kpa2 - -#define NAMESPACE dup_b_area_kpa2 -#include "common/StartRumbleWithParams.inc.c" -#define NAMESPACE b_area_kpa2 - -#define NAMESPACE dup3_b_area_kpa2 -#include "common/UnkFireBreathFXFunc.inc.c" -#define NAMESPACE b_area_kpa2 - -INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_802181E4_69F3E4); - -#define NAMESPACE dup2_b_area_kpa2 -#include "common/FadeBackgroundToBlack.inc.c" -#define NAMESPACE b_area_kpa2 - -#define NAMESPACE dup2_b_area_kpa2 -#include "common/UnfadeBackgroundToBlack.inc.c" -#define NAMESPACE b_area_kpa2 - -#define NAMESPACE dup2_b_area_kpa2 -#include "common/RemoveChillOut.inc.c" -#define NAMESPACE b_area_kpa2 - -INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_802186D0_69F8D0); - -INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_80218AA4_69FCA4); - -#define NAMESPACE dup2_b_area_kpa2 -#include "common/StartRumbleWithParams.inc.c" -#define NAMESPACE b_area_kpa2 - -INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_80218F58_6A0158); - -#define NAMESPACE dup3_b_area_kpa2 -#include "common/FadeBackgroundToBlack.inc.c" -#define NAMESPACE b_area_kpa2 - -#define NAMESPACE dup3_b_area_kpa2 -#include "common/UnfadeBackgroundToBlack.inc.c" -#define NAMESPACE b_area_kpa2 - -#define NAMESPACE dup3_b_area_kpa2 -#include "common/RemoveChillOut.inc.c" -#define NAMESPACE b_area_kpa2 - -INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_80219444_6A0644); - -INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_80219818_6A0A18); - -#define NAMESPACE dup3_b_area_kpa2 -#include "common/GetJumpHammerCharge.inc.c" -#define NAMESPACE b_area_kpa2 - -#define NAMESPACE dup3_b_area_kpa2 -#include "common/GetPlayerHpPercent.inc.c" -#define NAMESPACE b_area_kpa2 - -#define NAMESPACE dup3_b_area_kpa2 -#include "common/ItemEntityJumpToPos.inc.c" -#define NAMESPACE b_area_kpa2 - -#define NAMESPACE dup_b_area_kpa2 -#include "common/GetItemEntityPosition.inc.c" -#define NAMESPACE b_area_kpa2 - -INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_80219FFC_6A11FC); -// #define NAMESPACE dup_b_area_kpa2 -// #include "common/DisableRandomAbility.inc.c" -// #define NAMESPACE dup_b_area_kpa2 - -#define NAMESPACE dup_b_area_kpa2 -#include "common/CanPlayerLoseAction.inc.c" -#define NAMESPACE b_area_kpa2 - -#define NAMESPACE dup_b_area_kpa2 -#include "common/UnkFireBreathFXFunc.inc.c" -#define NAMESPACE b_area_kpa2 - -#define NAMESPACE dup3_b_area_kpa2 -#include "common/StartRumbleWithParams.inc.c" -#define NAMESPACE b_area_kpa2 - -INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021A318_6A1518); - -#define NAMESPACE dup4_b_area_kpa2 -#include "common/FadeBackgroundToBlack.inc.c" -#define NAMESPACE b_area_kpa2 - -#define NAMESPACE dup4_b_area_kpa2 -#include "common/UnfadeBackgroundToBlack.inc.c" -#define NAMESPACE b_area_kpa2 - -#define NAMESPACE dup4_b_area_kpa2 -#include "common/RemoveChillOut.inc.c" -#define NAMESPACE b_area_kpa2 - -INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021A804_6A1A04); - -INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021ABD8_6A1DD8); - -#define NAMESPACE dup6_b_area_kpa2 -#include "common/GetJumpHammerCharge.inc.c" -#define NAMESPACE b_area_kpa2 - -#define NAMESPACE dup6_b_area_kpa2 -#include "common/GetPlayerHpPercent.inc.c" -#define NAMESPACE b_area_kpa2 - -#define NAMESPACE dup6_b_area_kpa2 -#include "common/ItemEntityJumpToPos.inc.c" -#define NAMESPACE b_area_kpa2 - -#include "common/GetItemEntityPosition.inc.c" - -//#include "common/DisableRandomAbility.inc.c" -INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021B3B4_6A25B4); - -#define NAMESPACE dup6_b_area_kpa2 -#include "common/CanPlayerLoseAction.inc.c" -#define NAMESPACE b_area_kpa2 - -#define NAMESPACE dup2_b_area_kpa2 -#include "common/UnkFireBreathFXFunc.inc.c" -#define NAMESPACE b_area_kpa2 - -INCLUDE_ASM(s32, "battle/area_kpa2/69F320", func_8021B678_6A2878); diff --git a/src/battle/area_kpa2/6A2B50.c b/src/battle/area_kpa2/6A2B50.c deleted file mode 100644 index 17a9ed0e73..0000000000 --- a/src/battle/area_kpa2/6A2B50.c +++ /dev/null @@ -1,123 +0,0 @@ -#include "common.h" -#include "effects.h" -#include "sprite.h" -#include "effects.h" - -#define NAMESPACE b_area_kpa2 - -typedef struct KpaStruct { - /* 0x00 */ s32 unk_00[6]; -} KpaStruct; // size = 0x14 - -extern KpaStruct D_80234810_6BBA10; - -#include "common/StartRumbleWithParams.inc.c" - -#ifdef NON_MATCHING -ApiStatus func_8021B9A8_6A2BA8(Evt* script, s32 isInitialCall) { - static KpaStruct D_80234810_6BBA10 = {90, 135, 225, 270, 315, 405}; - - Bytecode* args = script->ptrReadPos; - KpaStruct numbers = D_80234810_6BBA10; - Actor* actor = get_actor(script->owner1.actorID); - s32 temp_fp; - s32 temp_s5; - s32 temp_s6; - f32 temp_f24; - f32 temp_f20; - s32 temp_s0_4; - s32 temp_s1; - s32 temp_s2; - s32 temp_v0_2; - s32 t1; - EffectInstance* effect; - s32 asdf; - s32 i; - - if (actor == NULL) { - return ApiStatus_DONE2; - } - - temp_fp = evt_get_variable(script, *args++); - temp_s5 = evt_get_variable(script, *args++); - temp_s6 = evt_get_variable(script, *args++); - temp_f24 = evt_get_float_variable(script, *args++); - if (actor->debuff != 0xA) { - temp_s5 += temp_f24 * 36.0f; - } else { - temp_s5 += temp_f24 * 14.4; - } - - for (i = 0; i < ARRAY_COUNT(numbers.unk_00); i++) { - temp_f20 = numbers.unk_00[i] + rand_int(30) - 15; - temp_s0_4 = (sin_deg(temp_f20) * 200.0f) + temp_fp; - t1 = (cos_deg(temp_f20) * 200.0f) + temp_s5; - asdf = temp_s6 + 20; - effect = fx_lightning_bolt(1, temp_fp, temp_s5, temp_s6, temp_s0_4, t1, asdf, temp_f24, 11); - temp_s1 = rand_int(256); - temp_s2 = rand_int(256); - temp_v0_2 = rand_int(256); - effect->data.lightning->unk_30 = temp_s1; - effect->data.lightning->unk_34 = temp_s2; - effect->data.lightning->unk_38 = temp_v0_2; - } - - return ApiStatus_DONE2; -} -#else -INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021B9A8_6A2BA8); -#endif - -INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021BC60_6A2E60); - -#include "common/FadeBackgroundToBlack.inc.c" - -#include "common/UnfadeBackgroundToBlack.inc.c" - -#include "common/RemoveChillOut.inc.c" - -INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021C14C_6A334C); - -INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021C520_6A3720); - -#include "common/GetJumpHammerCharge.inc.c" - -#include "common/GetPlayerHpPercent.inc.c" - -#include "common/ItemEntityJumpToPos.inc.c" - -#define NAMESPACE dup2_b_area_kpa2 -#include "common/GetItemEntityPosition.inc.c" -#define NAMESPACE b_area_kpa2 - -//#include "common/DisableRandomAbility.inc.c" -INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021CCFC_6A3EFC); - -#include "common/CanPlayerLoseAction.inc.c" - -#include "common/UnkFireBreathFXFunc.inc.c" - -INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021CFC0_6A41C0); - -//#include "common/UnkLightningFXFunc.inc.c" -INCLUDE_ASM(s32, "battle/area_kpa2/6A2B50", func_8021D290_6A4490); - -// const char* D_80234880_6BBA80 = "kpa_bt01_hit"; -// const char* D_80234890_6BBA90 = "kpa_bt01_shape"; -// const char* D_802348A0_6BBAA0 = "kpa_tex"; -// const char* D_802348A8_6BBAA8 = "kpa_bg"; -// const char* D_802348B0_6BBAB0 = "kkj_bt01_hit"; -// const char* D_802348C0_6BBAC0 = "kkj_bt01_shape"; -// const char* D_802348D0_6BBAD0 = "kkj_tex"; -// const char* D_802348D8_6BBAD8 = "kpa_bg"; -// const char* D_802348E0_6BBAE0 = "kkj_bt02_hit"; -// const char* D_802348F0_6BBAF0 = "kkj_bt02_shape"; -// const char* D_80234900_6BBB00 = "kkj_tex"; -// const char* D_80234908_6BBB08 = "クッパ(ラストバトル3)"; -// const char* D_80234920_6BBB20 = "クッパ(ラストバトル2)"; -// const char* D_80234938_6BBB38 = "クッパ(ラストバトル1)"; -// const char* D_80234950_6BBB50 = "クッパ(オープニング)"; -// const char* D_80234968_6BBB68 = "クッパ"; -// const char* D_80234970_6BBB70 = "kpa_03"; -// const char* D_80234978_6BBB78 = "kpa_02"; -// const char* D_80234980_6BBB80 = "kpa_01"; diff --git a/src/battle/area_kpa2/actor/bowser.c b/src/battle/area_kpa2/actor/bowser.c new file mode 100644 index 0000000000..73ba847bb8 --- /dev/null +++ b/src/battle/area_kpa2/actor/bowser.c @@ -0,0 +1,615 @@ +#include "common.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/BattleBowser.h" +#include "effects.h" + +#define NAMESPACE b_area_kpa2_bowser + +enum N(ActorVars) { + N(VAR_TURN_COUNTER) = 1, + N(VAR_TURNS_AFTER_SHOCKWAVE) = 2, + N(VAR_3) = 3, +}; + +extern EvtScript N(init); +extern EvtScript N(idle); +extern EvtScript N(takeTurn); +extern EvtScript N(handleEvent); +extern EvtScript N(onHit); +extern EvtScript N(onDeath); +extern EvtScript N(normalAttack); +extern EvtScript N(attackShockwaveDrain); +extern EvtScript N(attackFlameBreath); +extern EvtScript N(attackClawSwipe); +extern EvtScript N(attackHeavyJump); +extern EvtScript N(returnHome); +extern EvtScript N(recover); + +s32 N(idleAnimations)[] = { + STATUS_NORMAL, ANIM_BattleBowser_Idle, + STATUS_STONE, ANIM_BattleBowser_Still, + STATUS_SLEEP, ANIM_BattleBowser_Idle, + STATUS_POISON, ANIM_BattleBowser_Idle, + STATUS_STOP, ANIM_BattleBowser_Still, + STATUS_STATIC, ANIM_BattleBowser_Still, + STATUS_PARALYZE, ANIM_BattleBowser_Still, + STATUS_PARALYZE, ANIM_BattleBowser_Still, + STATUS_DIZZY, ANIM_BattleBowser_Idle, + STATUS_DIZZY, ANIM_BattleBowser_Idle, + STATUS_END, +}; + +s32 N(defenseTable)[] = { + ELEMENT_NORMAL, 1, + ELEMENT_END, +}; + +s32 N(statusTable)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 30, + STATUS_POISON, 0, + STATUS_FROZEN, 0, + STATUS_DIZZY, 30, + STATUS_FEAR, 0, + STATUS_STATIC, 0, + STATUS_PARALYZE, 30, + STATUS_SHRINK, 50, + STATUS_STOP, 30, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, -1, + STATUS_POISON_TURN_MOD, 0, + STATUS_FROZEN_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, -1, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, -1, + STATUS_SHRINK_TURN_MOD, -1, + STATUS_STOP_TURN_MOD, -2, + STATUS_END, +}; + +ActorPartBlueprint N(parts)[] = { + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { -18, 72 }, + .opacity = 255, + .idleAnimations = N(idleAnimations), + .defenseTable = N(defenseTable), + .eventFlags = 0, + .elementImmunityFlags = 2, + .unk_1C = 0, + .unk_1D = -8, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = 0, + .type = ACTOR_TYPE_BOWSER_PHASE_1, + .level = 100, + .maxHP = 50, + .partCount = ARRAY_COUNT(N(parts)), + .partsData = N(parts), + .script = &N(init), + .statusTable = N(statusTable), + .escapeChance = 0, + .airLiftChance = 0, + .spookChance = 0, + .baseStatusChance = 0, + .upAndAwayChance = 0, + .spinSmashReq = 4, + .powerBounceChance = 65, + .coinReward = 0, + .size = { 80, 82 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -40, 67 }, + .statusMessageOffset = { 10, 60 }, +}; + +EvtScript N(init) = { + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_PTR(N(takeTurn))) + EVT_CALL(BindIdle, ACTOR_SELF, EVT_PTR(N(idle))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_PTR(N(handleEvent))) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_AFTER_SHOCKWAVE), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_3), 1) + EVT_RETURN + EVT_END +}; + +EvtScript N(idle) = { + EVT_LABEL(0) + EVT_WAIT(1) + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(GetLastElement, LVarE) + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(EVENT_BEGIN_FIRST_STRIKE) + EVT_CASE_OR_EQ(EVENT_HIT_COMBO) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_SET(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onHit)) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onHit)) + EVT_CASE_OR_EQ(EVENT_BURN_DEATH) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onDeath)) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_SET(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onHit)) + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onDeath)) + EVT_RETURN + EVT_CASE_EQ(EVENT_SHOCK_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(DoShockHit) + EVT_CASE_EQ(EVENT_SHOCK_DEATH) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onDeath)) + EVT_RETURN + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_SET(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onHit)) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_SPIKE_TAUNT) + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onDeath)) + EVT_RETURN + EVT_CASE_EQ(EVENT_END_FIRST_STRIKE) + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Idle) + EVT_EXEC_WAIT(DoRecover) + EVT_CASE_EQ(EVENT_30) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT(1000) + EVT_CASE_DEFAULT + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, LVar1) + EVT_WAIT(20) + EVT_END_SWITCH + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(onHit) = { + EVT_SET_CONST(LVar0, 1) + EVT_EXEC_WAIT(DoNormalHit) + EVT_RETURN + EVT_END +}; + +EvtScript N(onDeath) = { + EVT_SET_CONST(LVar0, 1) + EVT_EXEC_WAIT(DoNormalHit) + EVT_SET_CONST(LVar0, 1) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_END +}; + +EvtScript N(takeTurn) = { + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), LVar0) + EVT_ADD(LVar0, 1) + EVT_IF_LT(LVar0, 5) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), LVar0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_AFTER_SHOCKWAVE), 5) + EVT_EXEC_WAIT(N(normalAttack)) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURNS_AFTER_SHOCKWAVE), LVar0) + EVT_ADD(LVar0, 1) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_AFTER_SHOCKWAVE), LVar0) + EVT_IF_LT(LVar0, 4) + EVT_EXEC_WAIT(N(normalAttack)) + EVT_RETURN + EVT_END_IF + EVT_IF_GT(LVar0, 6) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_AFTER_SHOCKWAVE), 0) + EVT_EXEC_WAIT(N(attackShockwaveDrain)) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorHP, ACTOR_SELF, LVar0) + EVT_IF_LT(LVar0, 8) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_AFTER_SHOCKWAVE), 0) + EVT_EXEC_WAIT(N(attackShockwaveDrain)) + EVT_RETURN + EVT_END_IF + EVT_EXEC_WAIT(N(normalAttack)) + EVT_RETURN + EVT_END +}; + +EvtScript N(normalAttack) = { + EVT_CALL(GetStatusFlags, ACTOR_PLAYER, LVar0) + EVT_IF_FLAG(LVar0, STATUS_FLAG_STATIC) + EVT_EXEC_WAIT(N(attackFlameBreath)) + EVT_RETURN + EVT_END_IF + EVT_CALL(RandInt, 2, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(0) + EVT_EXEC_WAIT(N(attackClawSwipe)) + EVT_RETURN + EVT_CASE_EQ(1) + EVT_EXEC_WAIT(N(attackHeavyJump)) + EVT_RETURN + EVT_CASE_DEFAULT + EVT_EXEC_WAIT(N(attackFlameBreath)) + EVT_RETURN + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(attackClawSwipe) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(SetBattleCamZoom, 150) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 40) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Walk) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, 40, 0, 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_RearUpMock) + EVT_WAIT(25) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Swipe) + EVT_WAIT(3) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVarA) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_WAIT(20) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Tantrum) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_WAIT(50) + EVT_ELSE + EVT_WAIT(30) + EVT_END_IF + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_3), LVar0) + EVT_MUL(LVar0, 6) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, DAMAGE_TYPE_NO_CONTACT, 0, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LVarF) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CASE_OR_EQ(HIT_RESULT_10) + EVT_WAIT(30) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Mock) + EVT_WAIT(45) + EVT_IF_EQ(LVarF, HIT_RESULT_10) + EVT_RETURN + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(attackHeavyJump) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(SetBattleCamZoom, 150) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 40) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Walk) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, 80, 0, 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(15) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PreJump) + EVT_WAIT(3) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Jump) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVarA) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.5)) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 30) + EVT_SET(LVar1, 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 28, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(3.0)) + EVT_END_THREAD + EVT_SUB(LVar0, 35) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 14, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(2.0)) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostJump) + EVT_WAIT(3) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(25) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.5)) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(JumpToGoal, ACTOR_SELF, 24, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(3.0)) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Land) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_3), LVar0) + EVT_MUL(LVar0, 6) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, DAMAGE_TYPE_NO_CONTACT, 0, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LVarF) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CASE_OR_EQ(HIT_RESULT_10) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 40) + EVT_SET(LVar1, 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 18, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(3.0)) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostJump) + EVT_WAIT(3) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(20) + EVT_IF_EQ(LVarF, HIT_RESULT_10) + EVT_RETURN + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(attackFlameBreath) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(SetBattleCamZoom, 150) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 40) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PreFireBreath) + EVT_WAIT(35) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_FireBreathStill) + EVT_WAIT(10) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 70) + EVT_ADD(LVar1, 35) + EVT_ADD(LVar2, 10) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar3, LVar4, LVar5) + EVT_SUB(LVar3, 40) + EVT_SET(LVar4, 20) + EVT_CALL(PlayEffect, EFFECT_FIRE_BREATH, 0, LVar0, LVar1, LVar2, LVar3, LVar4, LVar5, 50, 1, 24, 0, 0, 0) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 100) + EVT_WAIT(20) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_FireBreathLoop) + EVT_WAIT(30) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVarA) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostFireBreath) + EVT_WAIT(15) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(30) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Tantrum) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT(30) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_3), LVar0) + EVT_MUL(LVar0, 8) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, DAMAGE_TYPE_FIRE, 65535, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LVarF) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CASE_OR_EQ(HIT_RESULT_10) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostFireBreath) + EVT_WAIT(15) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(30) + EVT_IF_EQ(LVarF, HIT_RESULT_10) + EVT_RETURN + EVT_END_IF + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +#include "common/FadeBackgroundToBlack.inc.c" +#include "common/UnfadeBackgroundToBlack.inc.c" + +EvtScript N(attackShockwaveDrain) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_13) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 30) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Brandish) + EVT_WAIT(10) + EVT_CALL(N(FadeBackgroundToBlack)) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 15) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_LIGHT_RAYS, 2, LVar0, 90, LVar2, EVT_FLOAT(1.0), LVarF, 0, 0, 0, 0, 0, 0, 0) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 90, LVar2, EVT_FLOAT(1.0), LVarE, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT(16) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 45) + EVT_WAIT(19) + EVT_CALL(RemoveEffect, LVarF) + EVT_CALL(RemoveEffect, LVarE) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 13) + EVT_SET(LVar1, 55) + EVT_CALL(PlayEffect, EFFECT_ENERGY_SHOCKWAVE, 0, LVar0, LVar1, LVar2, EVT_FLOAT(1.0), 60, 0, 0, 0, 0, 0, 0, 0) + EVT_THREAD + EVT_CALL(N(UnfadeBackgroundToBlack)) + EVT_END_THREAD + EVT_WAIT(8) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVarA) + EVT_CASE_EQ(HIT_RESULT_MISS) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(15) + EVT_EXEC_WAIT(N(recover)) + EVT_WAIT(30) + EVT_RETURN + EVT_CASE_EQ(HIT_RESULT_LUCKY) + EVT_CALL(func_8026BF48, 1) + EVT_THREAD + EVT_WAIT(2) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PARTNER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PARTNER) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_COSMIC, 0, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_CALL(func_8026BF48, 0) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(15) + EVT_EXEC_WAIT(N(recover)) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT(30) + EVT_RETURN + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(func_8026BF48, 1) + EVT_THREAD + EVT_WAIT(2) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PARTNER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PARTNER) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_COSMIC, 0, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_CALL(func_8026BF48, 0) + EVT_END_THREAD + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_COSMIC, 0, STATUS_FLAG_POISON, 4, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_CALL(RemovePlayerBuffs, 268435455) + EVT_SWITCH(LVarF) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CASE_OR_EQ(HIT_RESULT_10) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(15) + EVT_EXEC_WAIT(N(recover)) + EVT_IF_EQ(LVarF, HIT_RESULT_10) + EVT_RETURN + EVT_END_IF + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(returnHome) = { + EVT_SET(LVar0, 1) + EVT_CALL(GetActorPos, ACTOR_SELF, LVarA, LVarB, LVarC) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVarD, LVarE, LVarF) + EVT_IF_LT(LVarA, LVarD) + EVT_CALL(SetActorYaw, ACTOR_SELF, 180) + EVT_ELSE + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_END_IF + EVT_CALL(GetDist2D, LVar9, LVarA, LVarC, LVarD, LVarF) + EVT_IF_GE(LVar9, EVT_FLOAT(4.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, LVar0, LVar1) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_END_IF + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(recover) = { + EVT_CALL(GetActorPos, ACTOR_SELF, LVar1, LVar2, LVar3) + EVT_ADD(LVar2, 60) + EVT_CALL(PlayEffect, EFFECT_SPARKLES, 0, LVar1, LVar2, LVar3, EVT_FLOAT(1.0), 0, 0, 0, 0, 0, 0, 0, 0) + EVT_ADD(LVar1, 30) + EVT_ADD(LVar2, 20) + EVT_CALL(PlayEffect, EFFECT_RECOVER, 0, LVar1, LVar2, LVar3, 10, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(GetActorHP, ACTOR_SELF, LVar0) + EVT_ADD(LVar0, 10) + EVT_CALL(GetEnemyMaxHP, ACTOR_SELF, LVar1) + EVT_IF_GT(LVar0, LVar1) + EVT_SET(LVar0, LVar1) + EVT_END_IF + EVT_CALL(SetEnemyHP, ACTOR_SELF, LVar0) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_3), LVar0) + EVT_ADD(LVar0, 1) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_3), LVar0) + EVT_RETURN + EVT_END +}; diff --git a/src/battle/area_kpa2/actor/bowser_intro.c b/src/battle/area_kpa2/actor/bowser_intro.c new file mode 100644 index 0000000000..0b0c7bf194 --- /dev/null +++ b/src/battle/area_kpa2/actor/bowser_intro.c @@ -0,0 +1,679 @@ +#include "common.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/BattleBowser.h" +#include "sprite/npc/ParadePeach.h" +#include "effects.h" +#include "sprite.h" + +#define NAMESPACE b_area_kpa2_bowser_intro + +enum N(ActorVars) { + N(VAR_TURN_COUNTER) = 0, + N(VAR_PEACH_SPOKE) = 1, +}; + +extern EvtScript N(init); +extern EvtScript N(idle); +extern EvtScript N(takeTurn); +extern EvtScript N(handleEvent); +extern EvtScript N(nextTurn); +extern EvtScript N(unkDecorationScript); +extern EvtScript N(makeWalkingSounds); +extern EvtScript N(onHit); +extern EvtScript N(onDeath); +extern EvtScript N(attackClawSwipe); +extern EvtScript N(powerUp); +extern EvtScript N(attackFireBreath); +extern EvtScript N(returnHome); +extern EvtScript N(useStarRod); + +s32 N(idleAnimations)[] = { + STATUS_NORMAL, ANIM_BattleBowser_Idle, + STATUS_STONE, ANIM_BattleBowser_Still, + STATUS_SLEEP, ANIM_BattleBowser_Idle, + STATUS_POISON, ANIM_BattleBowser_Idle, + STATUS_STOP, ANIM_BattleBowser_Still, + STATUS_STATIC, ANIM_BattleBowser_Still, + STATUS_PARALYZE, ANIM_BattleBowser_Still, + STATUS_PARALYZE, ANIM_BattleBowser_Still, + STATUS_DIZZY, ANIM_BattleBowser_Idle, + STATUS_DIZZY, ANIM_BattleBowser_Idle, + STATUS_END, +}; + +s32 N(defenseTable)[] = { + ELEMENT_NORMAL, 0, + ELEMENT_END, +}; + +s32 N(defenseTable_boosted)[] = { + ELEMENT_NORMAL, 1, + ELEMENT_END, +}; + +s32 N(statusTable)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 0, + STATUS_POISON, 0, + STATUS_FROZEN, 0, + STATUS_DIZZY, 0, + STATUS_FEAR, 0, + STATUS_STATIC, 0, + STATUS_PARALYZE, 0, + STATUS_SHRINK, 0, + STATUS_STOP, 0, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, 0, + STATUS_POISON_TURN_MOD, 0, + STATUS_FROZEN_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, 0, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, 0, + STATUS_SHRINK_TURN_MOD, 0, + STATUS_STOP_TURN_MOD, 0, + STATUS_END, +}; + +s32 N(statusTable_boosted)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 0, + STATUS_POISON, 0, + STATUS_FROZEN, 0, + STATUS_DIZZY, 0, + STATUS_FEAR, 0, + STATUS_STATIC, 0, + STATUS_PARALYZE, 0, + STATUS_SHRINK, 0, + STATUS_STOP, 0, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, 0, + STATUS_POISON_TURN_MOD, 0, + STATUS_FROZEN_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, 0, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, 0, + STATUS_SHRINK_TURN_MOD, 0, + STATUS_STOP_TURN_MOD, 0, + STATUS_END, +}; + +ActorPartBlueprint N(parts)[] = { + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { -18, 72 }, + .opacity = 255, + .idleAnimations = N(idleAnimations), + .defenseTable = N(defenseTable), + .eventFlags = 0, + .elementImmunityFlags = 0, + .unk_1C = 0, + .unk_1D = -8, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = 0, + .type = ACTOR_TYPE_INTRO_BOWSER, + .level = 0, + .maxHP = 10, + .partCount = ARRAY_COUNT(N(parts)), + .partsData = N(parts), + .script = &N(init), + .statusTable = N(statusTable), + .escapeChance = 0, + .airLiftChance = 0, + .spookChance = 0, + .baseStatusChance = 0, + .upAndAwayChance = 0, + .spinSmashReq = 4, + .powerBounceChance = 80, + .coinReward = 0, + .size = { 80, 82 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -10, 20 }, + .statusMessageOffset = { 10, 20 }, +}; + +#include "common/StartRumbleWithParams.inc.c" +#include "common/UnkFireBreathFXFunc.inc.c" +#include "common/UnkBowserFunc1.inc.c" +#include "common/FadeBackgroundToBlack.inc.c" +#include "common/UnfadeBackgroundToBlack.inc.c" +#include "common/RemoveChillOut.inc.c" +#include "common/StarRodAppearEffect.inc.c" +#include "common/StarRodPowerUpEffect.inc.c" + +EvtScript N(init) = { + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_PEACH_SPOKE), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 14, 0) + EVT_CALL(func_8026E020, 1) + EVT_CALL(CreateNpc, 0, ANIM_ParadePeach_IdleRaisedArms) + EVT_CALL(SetNpcYaw, 0, 90) + EVT_CALL(SetNpcPos, 0, -130, 0, -12) + EVT_CALL(EnableNpcShadow, 0, TRUE) + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_PTR(N(takeTurn))) + EVT_CALL(BindIdle, ACTOR_SELF, EVT_PTR(N(idle))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_PTR(N(handleEvent))) + EVT_CALL(BindNextTurn, ACTOR_SELF, EVT_PTR(N(nextTurn))) + EVT_CALL(ModifyActorDecoration, ACTOR_SELF, 1, 1, 100, 0, 0, 0) + EVT_EXEC(N(unkDecorationScript)) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_800000, 1) + EVT_CALL(SetBattleFlagBits2, BS_FLAGS2_2000000, 1) + EVT_RETURN + EVT_END +}; + +EvtScript N(idle) = { + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_LABEL(0) + EVT_EXEC_WAIT(N(makeWalkingSounds)) + EVT_WAIT(1) + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +EvtScript N(nextTurn) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(GetBattlePhase, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(PHASE_PLAYER_BEGIN) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_PEACH_SPOKE), LVar0) + EVT_IF_EQ(LVar0, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_PEACH_SPOKE), 1) + EVT_CALL(func_802535B4, 0) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(SetBattleCamTarget, -115, 0, 0) + EVT_CALL(SetBattleCamZoom, 320) + EVT_CALL(SetBattleCamOffsetZ, 50) + EVT_CALL(MoveBattleCamOver, 20) + EVT_WAIT(20) + EVT_CALL(UseIdleAnimation, ACTOR_PLAYER, FALSE) + EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_Mario_10002) + EVT_CALL(SetActorYaw, ACTOR_PLAYER, 180) + EVT_CALL(SpeakToPlayer, 0, ANIM_ParadePeach_Talk, ANIM_ParadePeach_IdleRaisedArms, 5, MSG_Intro_0057) + EVT_CALL(SetJumpAnimations, ACTOR_PLAYER, 0, ANIM_Mario_AnimMidairStill, ANIM_Mario_AnimMidairStill, ANIM_Mario_AnimMidair) + EVT_CALL(SetActorSpeed, ACTOR_PLAYER, EVT_FLOAT(5.0)) + EVT_CALL(SetActorJumpGravity, ACTOR_PLAYER, EVT_FLOAT(1.5)) + EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_Mario_3000B) + EVT_WAIT(24) + EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_Mario_10002) + EVT_WAIT(10) + EVT_CALL(SetActorYaw, ACTOR_PLAYER, 0) + EVT_CALL(UseIdleAnimation, ACTOR_PLAYER, TRUE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_WAIT(20) + EVT_CALL(func_802535B4, 1) + EVT_END_IF + EVT_END_SWITCH + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(GetLastElement, LVarE) + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(EVENT_BEGIN_FIRST_STRIKE) + EVT_CASE_OR_EQ(EVENT_HIT_COMBO) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_SET(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onHit)) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onHit)) + EVT_CASE_OR_EQ(EVENT_BURN_DEATH) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onDeath)) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_SET(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onHit)) + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onDeath)) + EVT_RETURN + EVT_CASE_EQ(EVENT_SHOCK_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(DoShockHit) + EVT_CASE_EQ(EVENT_SHOCK_DEATH) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onDeath)) + EVT_RETURN + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_SET_CONST(LVar0, 1) + EVT_SET(LVar1, ANIM_BattleBowser_Idle) + EVT_EXEC_WAIT(DoImmune) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), LVar0) + EVT_IF_EQ(LVar0, 3) + EVT_CALL(ActorSpeak, MSG_Intro_005B, ACTOR_SELF, 1, ANIM_BattleBowser_Talk, ANIM_BattleBowser_Idle) + EVT_END_IF + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_SPIKE_TAUNT) + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onDeath)) + EVT_RETURN + EVT_CASE_EQ(EVENT_END_FIRST_STRIKE) + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Jump) + EVT_EXEC_WAIT(DoRecover) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostJump) + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(3.0)) + EVT_CASE_EQ(EVENT_30) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT(1000) + EVT_CASE_DEFAULT + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, LVar1) + EVT_WAIT(20) + EVT_END_SWITCH + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(onHit) = { + EVT_SET_CONST(LVar0, 1) + EVT_EXEC_WAIT(DoNormalHit) + EVT_RETURN + EVT_END +}; + +EvtScript N(onDeath) = { + EVT_SET_CONST(LVar0, 1) + EVT_EXEC_WAIT(DoNormalHit) + EVT_SET_CONST(LVar0, 1) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_END +}; + +EvtScript N(takeTurn) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), LVar0) + EVT_ADD(LVar0, 1) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_LT(3) + EVT_EXEC_WAIT(N(attackClawSwipe)) + EVT_CASE_EQ(3) + EVT_EXEC_WAIT(N(powerUp)) + EVT_EXEC_WAIT(N(attackClawSwipe)) + EVT_CASE_EQ(4) + EVT_EXEC_WAIT(N(attackClawSwipe)) + EVT_CASE_EQ(5) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_13) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 30) + EVT_WAIT(30) + EVT_CALL(ActorSpeak, MSG_Intro_005C, ACTOR_SELF, 1, ANIM_BattleBowser_Talk, ANIM_BattleBowser_Idle) + EVT_EXEC_WAIT(N(attackFireBreath)) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(attackClawSwipe) = { + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(SetBattleCamZoom, 200) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 40) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Walk) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, 40, 0, 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_RearUpMock) + EVT_WAIT(25) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Swipe) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_35E) + EVT_WAIT(3) + EVT_WAIT(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), LVar1) + EVT_IF_LT(LVar1, 3) + EVT_SET(LVar0, 1) + EVT_CALL(func_80269EAC, 12) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, DAMAGE_TYPE_NO_CONTACT, 0, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_ELSE + EVT_SET(LVar0, 3) + EVT_CALL(func_80269EAC, 12) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, DAMAGE_TYPE_NO_CONTACT, 0, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_THREAD + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), LVar0) + EVT_IF_GE(LVar0, 3) + EVT_CALL(SetNpcAnimation, 0, ANIM_ParadePeach_Weep) + EVT_ELSE + EVT_CALL(SetNpcAnimation, 0, ANIM_ParadePeach_HorrorLoop) + EVT_END_IF + EVT_WAIT(45) + EVT_CALL(SetNpcAnimation, 0, ANIM_ParadePeach_IdleRaisedArms) + EVT_END_THREAD + EVT_SWITCH(LVarF) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CASE_OR_EQ(HIT_RESULT_10) + EVT_WAIT(30) + EVT_IF_EQ(LVarF, HIT_RESULT_10) + EVT_RETURN + EVT_END_IF + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(attackFireBreath) = { + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 30) + EVT_ADD(LVar1, 65) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 400) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 40) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PreFireBreath) + EVT_WAIT(35) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_FireBreathStill) + EVT_WAIT(10) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 50) + EVT_ADD(LVar1, 33) + EVT_ADD(LVar2, 10) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar3, LVar4, LVar5) + EVT_SUB(LVar3, 40) + EVT_SET(LVar4, 20) + EVT_CALL(PlayEffect, EFFECT_FIRE_BREATH, 2, LVar0, LVar1, LVar2, LVar3, LVar4, LVar5, 50, 1, 24, 0, 0, 0) + EVT_CALL(N(UnkFireBreathFXFunc), LVarF) + EVT_THREAD + EVT_CALL(N(StartRumbleWithParams), 50, 148) + EVT_CALL(PlaySound, SOUND_3BD) + EVT_WAIT(70) + EVT_CALL(PlaySound, SOUND_7BD) + EVT_END_THREAD + EVT_CALL(SetNpcAnimation, 0, ANIM_ParadePeach_Weep) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 55) + EVT_WAIT(20) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_FireBreathLoop) + EVT_WAIT(30) + EVT_WAIT(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, DAMAGE_TYPE_FIRE, 65535, 0, 10, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LVarF) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CASE_OR_EQ(HIT_RESULT_10) + EVT_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostFireBreath) + EVT_WAIT(15) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_END_THREAD + EVT_WAIT(60) + EVT_CALL(SetNpcAnimation, 0, ANIM_ParadePeach_HorrorLoop) + EVT_LOOP(68) + EVT_CALL(GetAnimation, ACTOR_PLAYER, 0, LVar0) + EVT_IF_EQ(LVar0, ANIM_Mario_FallDown) + EVT_BREAK_LOOP + EVT_END_IF + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(SetNpcAnimation, 0, ANIM_ParadePeach_Bow) + EVT_WAIT(30) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(powerUp) = { + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_13) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 30) + EVT_WAIT(30) + EVT_CALL(ActorSpeak, MSG_Intro_0058, ACTOR_SELF, 1, ANIM_BattleBowser_Talk, ANIM_BattleBowser_Idle) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 15) + EVT_ADD(LVar1, 65) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 320) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 20) + EVT_WAIT(20) + EVT_THREAD + EVT_WAIT(2) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 20) + EVT_ADD(LVar1, 90) + EVT_CALL(PlayEffect, EFFECT_STARS_SHIMMER, 3, LVar0, LVar1, LVar2, 30, 30, 7, 30, 0, 0, 0, 0, 0) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Brandish) + EVT_WAIT(30) + EVT_CALL(ActorSpeak, MSG_Intro_0059, ACTOR_SELF, 1, ANIM_BattleBowser_BrandishTalk, ANIM_BattleBowser_BrandishIdle) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Brandish) + EVT_EXEC_WAIT(N(useStarRod)) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 15) + EVT_ADD(LVar1, 65) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 320) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 25) + EVT_CALL(ActorSpeak, MSG_Intro_005A, ACTOR_SELF, 1, ANIM_BattleBowser_RearUpMock, ANIM_BattleBowser_RearUpStill) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable_boosted))) + EVT_CALL(SetStatusTable, ACTOR_SELF, EVT_PTR(N(statusTable_boosted))) + EVT_RETURN + EVT_END +}; + +EvtScript N(returnHome) = { + EVT_SET(LVar0, 1) + EVT_CALL(GetActorPos, ACTOR_SELF, LVarA, LVarB, LVarC) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVarD, LVarE, LVarF) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(GetDist2D, LVar9, LVarA, LVarC, LVarD, LVarF) + EVT_IF_GE(LVar9, EVT_FLOAT(5.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, LVar0, LVar1) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_END_IF + EVT_IF_EQ(LVarB, 180) + EVT_LOOP(15) + EVT_SUB(LVarB, 12) + EVT_CALL(SetActorYaw, ACTOR_SELF, LVarB) + EVT_WAIT(1) + EVT_END_LOOP + EVT_END_IF + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(unkDecorationScript) = { + EVT_CALL(N(UnkBowserFunc1)) + EVT_RETURN + EVT_END +}; + +EvtScript N(useStarRod) = { + EVT_CALL(N(FadeBackgroundToBlack)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_ADD(LVar0, 15) + EVT_ADD(LVar1, 90) + EVT_THREAD + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2123) + EVT_ADD(LVar2, 10) + EVT_CALL(N(StarRodAppearEffect), LVar0, LVar1, LVar2, EVT_FLOAT(2.5), EVT_FLOAT(0.05)) + EVT_END_THREAD + EVT_ELSE + EVT_ADD(LVar0, 6) + EVT_ADD(LVar1, 36) + EVT_THREAD + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2123) + EVT_ADD(LVar2, 10) + EVT_CALL(N(StarRodAppearEffect), LVar0, LVar1, LVar2, EVT_FLOAT(2.5), EVT_FLOAT(0.02)) + EVT_END_THREAD + EVT_END_IF + EVT_WAIT(65) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_ADD(LVar0, 15) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_LIGHT_RAYS, 2, LVar0, 90, LVar2, EVT_FLOAT(1.0), LVarF, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 90, LVar2, EVT_FLOAT(1.0), LVarE, 0, 0, 0, 0, 0, 0, 0) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 90, LVar2, EVT_FLOAT(1.0), LVarD, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_ADD(LVar0, 6) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_LIGHT_RAYS, 2, LVar0, 36, LVar2, EVT_FLOAT(0.4), LVarF, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 36, LVar2, EVT_FLOAT(0.4), LVarE, 0, 0, 0, 0, 0, 0, 0) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 36, LVar2, EVT_FLOAT(0.4), LVarD, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2121) + EVT_WAIT(30) + EVT_CALL(RemoveEffect, LVarF) + EVT_CALL(RemoveEffect, LVarE) + EVT_CALL(RemoveEffect, LVarD) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_ENCHANTED, 1) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 1, 11) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable_boosted))) + EVT_CALL(SetStatusTable, ACTOR_SELF, EVT_PTR(N(statusTable_boosted))) + EVT_CALL(N(RemoveChillOut)) + EVT_WAIT(3) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 40) + EVT_ADD(LVar2, 12) + EVT_CALL(PlayEffect, EFFECT_STARS_SHIMMER, 3, LVar0, LVar1, LVar2, 70, 80, 25, 60, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 16) + EVT_ADD(LVar2, 12) + EVT_CALL(PlayEffect, EFFECT_STARS_SHIMMER, 3, LVar0, LVar1, LVar2, 28, 32, 10, 60, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2125) + EVT_THREAD + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(N(StarRodPowerUpEffect), LVar0, LVar1, LVar2, EVT_FLOAT(0.8)) + EVT_END_THREAD + EVT_WAIT(75) + EVT_THREAD + EVT_CALL(N(UnfadeBackgroundToBlack)) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_RearUpLaugh) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_ADD(LVar1, 40) + EVT_ELSE + EVT_ADD(LVar1, 16) + EVT_END_IF + EVT_CALL(PlayEffect, EFFECT_ENERGY_ORB_WAVE, 4, LVar0, LVar1, LVar2, EVT_FLOAT(1.0), 15, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2124) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 15) + EVT_ADD(LVar1, 65) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 400) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 32) + EVT_WAIT(32) + EVT_RETURN + EVT_END +}; + +EvtScript N(jumpHome) = { + EVT_IF_NE(LVar1, -1) + EVT_CALL(SetAnimation, ACTOR_SELF, LVar0, LVar1) + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.4)) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar2, LVar3, LVar4) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar5, LVar6, LVar7) + EVT_SET(LVar8, LVar2) + EVT_ADD(LVar8, LVar5) + EVT_DIV(LVar8, 2) + EVT_SET(LVar9, LVar4) + EVT_ADD(LVar9, LVar7) + EVT_DIV(LVar9, 2) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar8, 0, LVar9) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_ADD(LVar8, LVar2) + EVT_DIV(LVar8, 2) + EVT_ADD(LVar9, LVar4) + EVT_DIV(LVar9, 2) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar8, 0, LVar9) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar2, LVar3, LVar4) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(makeWalkingSounds) = { + EVT_CALL(GetAnimation, ACTOR_SELF, 1, LVar7) + EVT_IF_NE(LVar7, ANIM_BattleBowser_Walk) + EVT_IF_EQ(LVar3, ANIM_BattleBowser_Walk) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20B4) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20F6) + EVT_END_IF + EVT_SET(LVar3, LVar7) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorPos, ACTOR_SELF, LVar5, LVar6, LVar7) + EVT_SUB(LVar5, LVar0) + EVT_IF_GT(LVar5, -30) + EVT_IF_LT(LVar5, 30) + EVT_SET(LVar3, LVar7) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20B4) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20F6) + EVT_SET(LVar3, LVar7) + EVT_RETURN + EVT_END +}; diff --git a/src/battle/area_kpa2/actor/bowser_phase_1.c b/src/battle/area_kpa2/actor/bowser_phase_1.c new file mode 100644 index 0000000000..b02653c9c9 --- /dev/null +++ b/src/battle/area_kpa2/actor/bowser_phase_1.c @@ -0,0 +1,1655 @@ +#include "common.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/BattleBowser.h" +#include "effects.h" + +#define NAMESPACE b_area_kpa2_bowser_phase_1 + +enum N(ActorVars) { + N(VAR_TURN_COUNTER) = 0, + N(VAR_FLAGS) = 1, + N(VAR_TURNS_SINCE_LAST_SHOCKWAVE_DRAIN) = 2, + N(VAR_TURNS_SINCE_LAST_STAR_BEAM) = 3, + N(VAR_TURNS_SINCE_LAST_CLAW_SWIPE) = 4, + N(VAR_TURNS_SINCE_LAST_HEAVY_JUMP) = 5, + N(VAR_TURNS_SINCE_LAST_RECOVER) = 6, + N(VAR_RECOVERS_LEFT) = 7, + N(VAR_COMMAND_LOSS_STATE) = 9, + N(VAR_LOST_ABILITY_ITEM) = 10, +}; + +extern EvtScript N(init); +extern EvtScript N(idle); +extern EvtScript N(takeTurn); +extern EvtScript N(handleEvent); +extern EvtScript N(nextTurn); +extern EvtScript N(unkDecorationScript); +extern EvtScript N(attackFlameBreath); +extern EvtScript N(attackClawSwipe); +extern EvtScript N(attackHeavyJump); +extern EvtScript N(normalAttack); +extern EvtScript N(attackShockwaveDrain); +extern EvtScript N(attack); +extern EvtScript N(useStarRod); +extern EvtScript N(doTakeTurn); +extern EvtScript N(onHit); +extern EvtScript N(onImmune); +extern EvtScript N(onDeath); +extern EvtScript N(jumpHome); +extern EvtScript N(returnHome); +extern EvtScript N(onSpinSmashOrNormalHit); +extern EvtScript N(onBurnHit); +extern EvtScript N(makeWalkingSounds); + +s32 N(idleAnimations)[] = { + STATUS_NORMAL, ANIM_BattleBowser_Idle, + STATUS_STONE, ANIM_BattleBowser_Still, + STATUS_SLEEP, ANIM_BattleBowser_Idle, + STATUS_POISON, ANIM_BattleBowser_Idle, + STATUS_STOP, ANIM_BattleBowser_Still, + STATUS_STATIC, ANIM_BattleBowser_Still, + STATUS_PARALYZE, ANIM_BattleBowser_Still, + STATUS_PARALYZE, ANIM_BattleBowser_Still, + STATUS_DIZZY, ANIM_BattleBowser_Idle, + STATUS_DIZZY, ANIM_BattleBowser_Idle, + STATUS_END, +}; + +s32 N(defenseTable)[] = { + ELEMENT_NORMAL, 1, + ELEMENT_END, +}; + +s32 N(defenseTable_boosted)[] = { + ELEMENT_NORMAL, 4, + ELEMENT_END, +}; + +s32 N(statusTable)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 30, + STATUS_POISON, 0, + STATUS_FROZEN, 0, + STATUS_DIZZY, 30, + STATUS_FEAR, 0, + STATUS_STATIC, 0, + STATUS_PARALYZE, 30, + STATUS_SHRINK, 50, + STATUS_STOP, 30, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, -1, + STATUS_POISON_TURN_MOD, 0, + STATUS_FROZEN_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, -1, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, -1, + STATUS_SHRINK_TURN_MOD, -1, + STATUS_STOP_TURN_MOD, -2, + STATUS_END, +}; + +s32 N(statusTable_boosted)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 0, + STATUS_POISON, 0, + STATUS_FROZEN, 0, + STATUS_DIZZY, 0, + STATUS_FEAR, 0, + STATUS_STATIC, 0, + STATUS_PARALYZE, 0, + STATUS_SHRINK, 0, + STATUS_STOP, 0, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, -1, + STATUS_POISON_TURN_MOD, 0, + STATUS_FROZEN_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, -1, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, -1, + STATUS_SHRINK_TURN_MOD, -1, + STATUS_STOP_TURN_MOD, -2, + STATUS_END, +}; + +ActorPartBlueprint N(parts)[] = { + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { -18, 72 }, + .opacity = 255, + .idleAnimations = N(idleAnimations), + .defenseTable = N(defenseTable), + .eventFlags = 0, + .elementImmunityFlags = 0, + .unk_1C = 0, + .unk_1D = -8, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = 0, + .type = ACTOR_TYPE_BOWSER_PHASE_1, + .level = 100, + .maxHP = 50, + .partCount = ARRAY_COUNT(N(parts)), + .partsData = N(parts), + .script = &N(init), + .statusTable = N(statusTable), + .escapeChance = 0, + .airLiftChance = 0, + .spookChance = 0, + .baseStatusChance = 0, + .upAndAwayChance = 0, + .spinSmashReq = 4, + .powerBounceChance = 65, + .coinReward = 0, + .size = { 80, 82 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -40, 67 }, + .statusMessageOffset = { 10, 60 }, +}; + +#include "common/StartRumbleWithParams.inc.c" +#include "common/UnkBowserFunc1.inc.c" +#include "common/FadeBackgroundToBlack.inc.c" +#include "common/UnfadeBackgroundToBlack.inc.c" +#include "common/RemoveChillOut.inc.c" +#include "common/StarRodAppearEffect.inc.c" +#include "common/StarRodPowerUpEffect.inc.c" +#include "common/GetJumpHammerCharge.inc.c" +#include "common/GetPlayerHpPercent.inc.c" +#include "common/ItemEntityJumpToPos.inc.c" +#include "common/GetItemEntityPosition.inc.c" + +EvtScript N(init) = { + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_SHOCKWAVE_DRAIN), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_CLAW_SWIPE), 3) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_HEAVY_JUMP), 3) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_COMMAND_LOSS_STATE), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LOST_ABILITY_ITEM), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_STAR_BEAM), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_RECOVER), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_RECOVERS_LEFT), 1) + EVT_CALL(SetActorVar, ACTOR_SELF, 14, 0) + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_PTR(N(takeTurn))) + EVT_CALL(BindIdle, ACTOR_SELF, EVT_PTR(N(idle))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_PTR(N(handleEvent))) + EVT_CALL(BindNextTurn, ACTOR_SELF, EVT_PTR(N(nextTurn))) + EVT_CALL(ModifyActorDecoration, ACTOR_SELF, 1, 1, 100, 0, 0, 0) + EVT_EXEC(N(unkDecorationScript)) + EVT_RETURN + EVT_END +}; + +EvtScript N(idle) = { + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetAnimation, ACTOR_SELF, 1, LVar3) + EVT_LABEL(0) + EVT_CALL(ActorExists, ACTOR_SELF, LVarB) + EVT_IF_EQ(LVarB, 0) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarB) + EVT_IF_NOT_FLAG(LVarB, STATUS_FLAG_SHRINK) + EVT_CALL(ModifyActorDecoration, ACTOR_SELF, 1, 1, 100, 0, 0, 0) + EVT_ELSE + EVT_CALL(ModifyActorDecoration, ACTOR_SELF, 1, 1, 40, 0, 0, 0) + EVT_END_IF + EVT_EXEC_WAIT(N(makeWalkingSounds)) + EVT_WAIT(1) + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +EvtScript N(nextTurn) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(GetBattlePhase, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(PHASE_PLAYER_BEGIN) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_FLAGS), LVar0) + EVT_IF_NOT_FLAG(LVar0, 1) + EVT_BITWISE_OR_CONST(LVar0, 1) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLAGS), LVar0) + EVT_CALL(func_802535B4, 0) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_13) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 20) + EVT_WAIT(20) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(ActorSpeak, MSG_CH8_0073, ACTOR_SELF, 1, ANIM_BattleBowser_Talk, ANIM_BattleBowser_Idle) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_WAIT(20) + EVT_CALL(func_802535B4, 1) + EVT_END_IF + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(GetLastElement, LVarE) + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(EVENT_BEGIN_FIRST_STRIKE) + EVT_CASE_EQ(EVENT_HIT_COMBO) + EVT_SET(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onHit)) + EVT_RETURN + EVT_CASE_EQ(EVENT_HIT) + EVT_SET(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onSpinSmashOrNormalHit)) + EVT_RETURN + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onHit)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onDeath)) + EVT_RETURN + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET(LVar0, 1) + EVT_SET(LVar1, ANIM_BattleBowser_BurnHurt) + EVT_SET(LVar2, ANIM_BattleBowser_BurnStill) + EVT_EXEC_WAIT(N(onBurnHit)) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, 1, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_EVENT_FLAG_ENCHANTED) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_FLAGS), LVar0) + EVT_IF_FLAG(LVar0, 4) + EVT_IF_NOT_FLAG(LVar0, 8) + EVT_BITWISE_OR_CONST(LVar0, 8) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLAGS), LVar0) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SLEEP | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_13) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 30) + EVT_CALL(ActorSpeak, MSG_CH8_0077, ACTOR_SELF, 1, ANIM_BattleBowser_AnnoyedTalk, ANIM_BattleBowser_AnnoyedTalk) + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET(LVar0, 1) + EVT_SET(LVar1, ANIM_BattleBowser_BurnHurt) + EVT_SET(LVar2, ANIM_BattleBowser_BurnStill) + EVT_EXEC_WAIT(N(onBurnHit)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_BurnStill) + EVT_EXEC_WAIT(N(onDeath)) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_SET(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onSpinSmashOrNormalHit)) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onHit)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onDeath)) + EVT_RETURN + EVT_CASE_EQ(EVENT_SHOCK_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(jumpHome)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_CASE_EQ(EVENT_SHOCK_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(jumpHome)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onDeath)) + EVT_RETURN + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_CALL(func_80269E80, LVar2) + EVT_SWITCH(LVar2) + EVT_CASE_OR_EQ(18) + EVT_CASE_OR_EQ(21) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Mock) + EVT_WAIT(30) + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_SET(LVar1, ANIM_BattleBowser_Mock) + EVT_EXEC_WAIT(N(onImmune)) + EVT_END_SWITCH + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_AIR_LIFT_FAILED) + EVT_SET_CONST(LVar0, 1) + EVT_SET(LVar1, ANIM_BattleBowser_Idle) + EVT_EXEC_WAIT(DoImmune) + EVT_CASE_EQ(EVENT_SPIKE_TAUNT) + EVT_CASE_EQ(EVENT_END_FIRST_STRIKE) + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Jump) + EVT_EXEC_WAIT(DoRecover) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostJump) + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(3.0)) + EVT_CASE_EQ(EVENT_30) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT(1000) + EVT_CASE_EQ(EVENT_SWAP_PARTNER) + EVT_CALL(N(UnfadeBackgroundToBlack)) + EVT_CASE_EQ(EVENT_STAR_BEAM) + EVT_CALL(FreezeBattleCam, 1) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 1) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_SET(LVar3, 50) + EVT_SET(LVar4, 40) + EVT_ELSE + EVT_SET(LVar3, 20) + EVT_SET(LVar4, 16) + EVT_END_IF + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, LVar3) + EVT_CALL(PlayEffect, EFFECT_SPARKLES, 0, LVar0, LVar1, LVar2, 50, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, LVar4) + EVT_CALL(PlayEffect, EFFECT_SHIMMER_BURST, 1, LVar0, LVar1, LVar2, EVT_FLOAT(0.7), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_ENCHANTED, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_STAR_BEAM), 0) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable))) + EVT_CALL(SetStatusTable, ACTOR_SELF, EVT_PTR(N(statusTable))) + EVT_SET(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onHit)) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_FLAGS), LVar0) + EVT_IF_NOT_FLAG(LVar0, 2) + EVT_BITWISE_OR_CONST(LVar0, 2) + EVT_BITWISE_OR_CONST(LVar0, 4) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLAGS), LVar0) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_13) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 30) + EVT_CALL(ActorSpeak, MSG_CH8_0075, ACTOR_SELF, 1, ANIM_BattleBowser_Hurt, ANIM_BattleBowser_Hurt) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_RearUpStill) + EVT_LOOP(2) + EVT_SET(LVar0, 0) + EVT_LOOP(10) + EVT_ADD(LVar0, 18) + EVT_CALL(SetActorYaw, ACTOR_SELF, LVar0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_WAIT(5) + EVT_SET(LVar0, 180) + EVT_LOOP(10) + EVT_SUB(LVar0, 18) + EVT_CALL(SetActorYaw, ACTOR_SELF, LVar0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_WAIT(5) + EVT_END_LOOP + EVT_WAIT(20) + EVT_CALL(ActorSpeak, MSG_CH8_0076, ACTOR_SELF, 1, ANIM_BattleBowser_Hurt, ANIM_BattleBowser_Hurt) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_END_IF + EVT_CALL(FreezeBattleCam, 0) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 30) + EVT_WAIT(30) + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(onSpinSmashOrNormalHit) = { + EVT_CALL(GetPartEventFlags, ACTOR_SELF, 1, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_EVENT_FLAG_ENCHANTED) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_FLAGS), LVar0) + EVT_IF_FLAG(LVar0, 4) + EVT_IF_NOT_FLAG(LVar0, 8) + EVT_BITWISE_OR_CONST(LVar0, 8) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLAGS), LVar0) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SLEEP | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_CALL(FreezeBattleCam, 1) + EVT_EXEC_WAIT(N(onHit)) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_13) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 30) + EVT_CALL(ActorSpeak, MSG_CH8_0077, ACTOR_SELF, 1, ANIM_BattleBowser_AnnoyedTalk, ANIM_BattleBowser_AnnoyedTalk) + EVT_CALL(FreezeBattleCam, 0) + EVT_ELSE + EVT_EXEC_WAIT(N(onHit)) + EVT_END_IF + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_EXEC_WAIT(N(onHit)) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(onHit) = { + EVT_SET_CONST(LVar0, 1) + EVT_EXEC_WAIT(DoNormalHit) + EVT_RETURN + EVT_END +}; + +EvtScript N(onDeath) = { + EVT_CALL(func_8027D32C, ACTOR_SELF) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_IF_NE(LVar1, -1) + EVT_CALL(SetAnimation, ACTOR_SELF, LVar0, LVar1) + EVT_WAIT(10) + EVT_END_IF + EVT_CALL(func_80269E80, LVar5) + EVT_SWITCH(LVar5) + EVT_CASE_OR_EQ(10) + EVT_CASE_OR_EQ(14) + EVT_CASE_OR_EQ(12) + EVT_CASE_OR_EQ(16) + EVT_CASE_OR_EQ(11) + EVT_CASE_OR_EQ(15) + EVT_CASE_OR_EQ(13) + EVT_CASE_OR_EQ(17) + EVT_CASE_OR_EQ(2) + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_SET(LocalFlag(0), 0) + EVT_CALL(GetOriginalActorType, ACTOR_SELF, LVar1) + EVT_SWITCH(LVar1) + EVT_CASE_OR_EQ(ACTOR_TYPE_BOB_OMB) + EVT_CASE_OR_EQ(ACTOR_TYPE_BULLET_BILL) + EVT_CASE_OR_EQ(ACTOR_TYPE_BOMBSHELL_BILL) + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_IF_NE(LVar2, -12345) + EVT_SET(LVar2, 0) + EVT_LOOP(24) + EVT_CALL(SetActorYaw, ACTOR_SELF, LVar2) + EVT_ADD(LVar2, 30) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_END_IF + EVT_END_SWITCH + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 10) + EVT_ADD(LVar2, 10) + EVT_CALL(PlayEffect, EFFECT_BIG_SMOKE_PUFF, LVar0, LVar1, LVar2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_DEATH) + EVT_CALL(DropStarPoints, ACTOR_SELF) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_SET(LVar3, 0) + EVT_LOOP(12) + EVT_CALL(SetActorRotation, ACTOR_SELF, LVar3, 0, 0) + EVT_ADD(LVar3, 8) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_EXEC_WAIT(ForceNextTarget) + EVT_CALL(RemoveActor, ACTOR_SELF) + EVT_RETURN + EVT_END +}; + +EvtScript N(onImmune) = { + EVT_SET_CONST(LVar0, 1) + EVT_EXEC_WAIT(DoImmune) + EVT_RETURN + EVT_END +}; + +EvtScript N(takeTurn) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_EXEC_WAIT(N(doTakeTurn)) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(powerUp) = { + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_FLAGS), LVar0) + EVT_IF_NOT_FLAG(LVar0, 0x40) + EVT_BITWISE_OR_CONST(LVar0, 0x40) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLAGS), LVar0) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_13) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 20) + EVT_WAIT(20) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Brandish) + EVT_WAIT(5) + EVT_CALL(ActorSpeak, MSG_CH8_0074, ACTOR_SELF, 1, ANIM_BattleBowser_BrandishTalk, ANIM_BattleBowser_BrandishIdle) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_BrandishStill) + EVT_ELSE + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Brandish) + EVT_END_IF + EVT_WAIT(2) + EVT_EXEC_WAIT(N(useStarRod)) + EVT_RETURN + EVT_END +}; + +EvtScript N(returnHome) = { + EVT_SET(LVar0, 1) + EVT_CALL(GetActorPos, ACTOR_SELF, LVarA, LVarB, LVarC) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVarD, LVarE, LVarF) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(GetDist2D, LVar9, LVarA, LVarC, LVarD, LVarF) + EVT_IF_GE(LVar9, EVT_FLOAT(5.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, LVar0, LVar1) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_END_IF + EVT_IF_EQ(LVarB, 180) + EVT_LOOP(15) + EVT_SUB(LVarB, 12) + EVT_CALL(SetActorYaw, ACTOR_SELF, LVarB) + EVT_WAIT(1) + EVT_END_LOOP + EVT_END_IF + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(unkDecorationScript) = { + EVT_CALL(N(UnkBowserFunc1)) + EVT_RETURN + EVT_END +}; + +EvtScript N(useStarRod) = { + EVT_CALL(N(FadeBackgroundToBlack)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_ADD(LVar0, 15) + EVT_ADD(LVar1, 90) + EVT_THREAD + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2123) + EVT_ADD(LVar2, 10) + EVT_CALL(N(StarRodAppearEffect), LVar0, LVar1, LVar2, EVT_FLOAT(2.5), EVT_FLOAT(0.05)) + EVT_END_THREAD + EVT_ELSE + EVT_ADD(LVar0, 6) + EVT_ADD(LVar1, 36) + EVT_THREAD + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2123) + EVT_ADD(LVar2, 10) + EVT_CALL(N(StarRodAppearEffect), LVar0, LVar1, LVar2, EVT_FLOAT(2.5), EVT_FLOAT(0.02)) + EVT_END_THREAD + EVT_END_IF + EVT_WAIT(65) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_ADD(LVar0, 15) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_LIGHT_RAYS, 2, LVar0, 90, LVar2, EVT_FLOAT(1.0), LVarF, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 90, LVar2, EVT_FLOAT(1.0), LVarE, 0, 0, 0, 0, 0, 0, 0) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 90, LVar2, EVT_FLOAT(1.0), LVarD, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_ADD(LVar0, 6) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_LIGHT_RAYS, 2, LVar0, 36, LVar2, EVT_FLOAT(0.4), LVarF, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 36, LVar2, EVT_FLOAT(0.4), LVarE, 0, 0, 0, 0, 0, 0, 0) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 36, LVar2, EVT_FLOAT(0.4), LVarD, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2121) + EVT_WAIT(30) + EVT_CALL(RemoveEffect, LVarF) + EVT_CALL(RemoveEffect, LVarE) + EVT_CALL(RemoveEffect, LVarD) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_ENCHANTED, 1) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 1, 11) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable_boosted))) + EVT_CALL(SetStatusTable, ACTOR_SELF, EVT_PTR(N(statusTable_boosted))) + EVT_CALL(N(RemoveChillOut)) + EVT_WAIT(3) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 40) + EVT_ADD(LVar2, 12) + EVT_CALL(PlayEffect, EFFECT_STARS_SHIMMER, 3, LVar0, LVar1, LVar2, 70, 80, 25, 60, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 16) + EVT_ADD(LVar2, 12) + EVT_CALL(PlayEffect, EFFECT_STARS_SHIMMER, 3, LVar0, LVar1, LVar2, 28, 32, 10, 60, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2125) + EVT_THREAD + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(N(StarRodPowerUpEffect), LVar0, LVar1, LVar2, EVT_FLOAT(0.8)) + EVT_END_THREAD + EVT_WAIT(75) + EVT_THREAD + EVT_CALL(N(UnfadeBackgroundToBlack)) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_RearUpLaugh) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_ADD(LVar1, 40) + EVT_ELSE + EVT_ADD(LVar1, 16) + EVT_END_IF + EVT_CALL(PlayEffect, EFFECT_ENERGY_ORB_WAVE, 4, LVar0, LVar1, LVar2, EVT_FLOAT(1.0), 15, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2124) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 39) + EVT_WAIT(30) + EVT_RETURN + EVT_END +}; + +EvtScript N(jumpHome) = { + EVT_IF_NE(LVar1, -1) + EVT_CALL(SetAnimation, ACTOR_SELF, LVar0, LVar1) + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.4)) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar2, LVar3, LVar4) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar5, LVar6, LVar7) + EVT_SET(LVar8, LVar2) + EVT_ADD(LVar8, LVar5) + EVT_DIV(LVar8, 2) + EVT_SET(LVar9, LVar4) + EVT_ADD(LVar9, LVar7) + EVT_DIV(LVar9, 2) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar8, 0, LVar9) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_ADD(LVar8, LVar2) + EVT_DIV(LVar8, 2) + EVT_ADD(LVar9, LVar4) + EVT_DIV(LVar9, 2) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar8, 0, LVar9) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar2, LVar3, LVar4) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(makeWalkingSounds) = { + EVT_CALL(GetAnimation, ACTOR_SELF, 1, LVar7) + EVT_IF_NE(LVar7, ANIM_BattleBowser_Walk) + EVT_IF_EQ(LVar3, ANIM_BattleBowser_Walk) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20B4) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20F6) + EVT_END_IF + EVT_SET(LVar3, LVar7) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorPos, ACTOR_SELF, LVar5, LVar6, LVar7) + EVT_SUB(LVar5, LVar0) + EVT_IF_GT(LVar5, -30) + EVT_IF_LT(LVar5, 30) + EVT_SET(LVar3, LVar7) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20B4) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20F6) + EVT_SET(LVar3, LVar7) + EVT_RETURN + EVT_END +}; + +EvtScript N(recover) = { + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_RECOVERS_LEFT), LVar0) + EVT_SUB(LVar0, 1) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_RECOVERS_LEFT), LVar0) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 15) + EVT_ADD(LVar1, 65) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 420) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 40) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 6) + EVT_ADD(LVar1, 26) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 294) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 40) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Brandish) + EVT_CALL(N(FadeBackgroundToBlack)) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2126) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 15) + EVT_ADD(LVar1, 90) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_ENERGY_IN_OUT, 2, LVar0, LVar1, LVar2, EVT_FLOAT(1.0), 50, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 15) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 5, LVar0, 90, LVar2, EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 6) + EVT_ADD(LVar1, 36) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_ENERGY_IN_OUT, 2, LVar0, LVar1, LVar2, EVT_FLOAT(0.4), 50, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 6) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 5, LVar0, 36, LVar2, EVT_FLOAT(0.12), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_WAIT(30) + EVT_CALL(GetEnemyMaxHP, ACTOR_SELF, LVar0) + EVT_MUL(LVar0, 40) + EVT_DIV(LVar0, 100) + EVT_THREAD + EVT_WAIT(5) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_206D) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_214) + EVT_WAIT(30) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_25C) + EVT_END_THREAD + EVT_THREAD + EVT_CALL(func_8026BF48, 1) + EVT_CALL(HealActor, ACTOR_SELF, LVar0, 0) + EVT_CALL(func_8026BF48, 0) + EVT_END_THREAD + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(doTakeTurn) = { + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), 1) + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_CLAW_SWIPE), 1) + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_HEAVY_JUMP), 1) + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_SHOCKWAVE_DRAIN), 1) + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_STAR_BEAM), 1) + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_RECOVER), 1) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), LVar0) + EVT_IF_EQ(LVar0, 2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 15) + EVT_ADD(LVar1, 60) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 420) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 30) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 6) + EVT_ADD(LVar1, 24) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 420) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 30) + EVT_END_IF + EVT_EXEC_WAIT(N(powerUp)) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorHP, ACTOR_SELF, LVar0) + EVT_CALL(GetEnemyMaxHP, ACTOR_SELF, LVar1) + EVT_MUL(LVar0, 100) + EVT_DIV(LVar0, LVar1) + EVT_CALL(N(GetPlayerHpPercent), LVar2) + EVT_SUB(LVar2, LVar0) + EVT_IF_GT(LVar2, 30) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_RECOVERS_LEFT), LVar0) + EVT_IF_NE(LVar0, 0) + EVT_CALL(RandInt, 100, LVar0) + EVT_IF_LT(LVar0, 80) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_RECOVER), LVar0) + EVT_IF_GT(LVar0, 1) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_RECOVER), 0) + EVT_EXEC_WAIT(N(recover)) + EVT_RETURN + EVT_ELSE + EVT_CALL(RandInt, 100, LVar0) + EVT_IF_LT(LVar0, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_RECOVER), 0) + EVT_EXEC_WAIT(N(recover)) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), LVar0) + EVT_IF_GT(LVar0, 1) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, 1, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_EVENT_FLAG_ENCHANTED) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_STAR_BEAM), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(1) + EVT_SET(LVar0, 0) + EVT_CASE_EQ(2) + EVT_SET(LVar0, 20) + EVT_CASE_EQ(3) + EVT_SET(LVar0, 30) + EVT_CASE_DEFAULT + EVT_SET(LVar0, 100) + EVT_END_SWITCH + EVT_CALL(RandInt, 100, LVar1) + EVT_IF_LT(LVar1, LVar0) + EVT_EXEC_WAIT(N(powerUp)) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_SHOCKWAVE_DRAIN), LVar0) + EVT_IF_LT(LVar0, 3) + EVT_EXEC_WAIT(N(normalAttack)) + EVT_RETURN + EVT_END_IF + EVT_EXEC_WAIT(N(attack)) + EVT_RETURN + EVT_END +}; + +EvtScript N(attack) = { + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), LVar0) + EVT_IF_LE(LVar0, 3) + EVT_EXEC_WAIT(N(normalAttack)) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_SHOCKWAVE_DRAIN), LVar0) + EVT_IF_GE(LVar0, 6) + EVT_CALL(RandInt, 20, LVar0) + EVT_IF_LT(LVar0, 20) + EVT_EXEC_WAIT(N(attackShockwaveDrain)) + EVT_ELSE + EVT_EXEC_WAIT(N(attackShockwaveDrain)) + EVT_END_IF + EVT_RETURN + EVT_END_IF + EVT_CALL(RandInt, 100, LVar0) + EVT_IF_LT(LVar0, 75) + EVT_CALL(N(GetJumpHammerCharge), LVar0, LVar1) + EVT_IF_GT(LVar0, 0) + EVT_EXEC_WAIT(N(attackShockwaveDrain)) + EVT_RETURN + EVT_END_IF + EVT_IF_GT(LVar1, 0) + EVT_EXEC_WAIT(N(attackShockwaveDrain)) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_CALL(RandInt, 100, LVar0) + EVT_IF_LT(LVar0, 20) + EVT_IF_LT(LVar0, 20) + EVT_EXEC_WAIT(N(attackShockwaveDrain)) + EVT_ELSE + EVT_EXEC_WAIT(N(attackShockwaveDrain)) + EVT_END_IF + EVT_RETURN + EVT_END_IF + EVT_EXEC_WAIT(N(normalAttack)) + EVT_RETURN + EVT_RETURN + EVT_END +}; + +EvtScript N(normalAttack) = { + EVT_CALL(RandInt, 80, LVar0) + EVT_IF_LT(LVar0, 20) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_HEAVY_JUMP), LVar0) + EVT_IF_GE(LVar0, 2) + EVT_EXEC_WAIT(N(attackHeavyJump)) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_CALL(RandInt, 60, LVar0) + EVT_IF_LT(LVar0, 20) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_CLAW_SWIPE), LVar0) + EVT_IF_GE(LVar0, 2) + EVT_EXEC_WAIT(N(attackClawSwipe)) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_EXEC_WAIT(N(attackFlameBreath)) + EVT_RETURN + EVT_END +}; + +#include "common/DisableRandomAbility.inc.c" +#include "common/CanPlayerLoseAction.inc.c" +#include "common/UnkFireBreathFXFunc.inc.c" + +EvtScript N(inflictCommandLoss) = { + EVT_LABEL(0) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_COMMAND_LOSS_STATE), LVarA) + EVT_SWITCH(LVarA) + EVT_CASE_EQ(0) + EVT_CASE_EQ(1) + EVT_CALL(GetActorPos, ACTOR_PLAYER, LVar1, LVar2, LVar3) + EVT_SET(LVar2, 0) + EVT_SUB(LVar3, 1) + EVT_CALL(N(DisableRandomAbility), LVar4, LVar5) + EVT_CALL(MakeItemEntity, LVar4, LVar1, LVar2, LVar3, 1, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LOST_ABILITY_ITEM), LVar0) + EVT_ADD(LVar1, 7) + EVT_CALL(N(ItemEntityJumpToPos), LVar0, LVar1, LVar2, LVar3, 8, EVT_FLOAT(1.0)) + EVT_ADD(LVar1, 12) + EVT_CALL(N(ItemEntityJumpToPos), LVar0, LVar1, LVar2, LVar3, 8, EVT_FLOAT(1.0)) + EVT_ADD(LVar1, 7) + EVT_CALL(N(ItemEntityJumpToPos), LVar0, LVar1, LVar2, LVar3, 5, EVT_FLOAT(1.0)) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_COMMAND_LOSS_STATE), 0) + EVT_CASE_EQ(2) + EVT_CALL(ShowMessageBox, LVar5, 60) + EVT_CALL(RemoveItemEntity, LVar0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_COMMAND_LOSS_STATE), 3) + EVT_RETURN + EVT_END_SWITCH + EVT_WAIT(1) + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +EvtScript N(attackHeavyJump) = { + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_HEAVY_JUMP), 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(SetBattleCamZoom, 300) + EVT_CALL(SetBattleCamOffsetZ, 36) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 40) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(SetBattleCamZoom, 240) + EVT_CALL(SetBattleCamOffsetZ, 14) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 40) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Walk) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, 60, 0, 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(15) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PreJump) + EVT_WAIT(3) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Jump) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVarA) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 30) + EVT_SET(LVar1, 0) + EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 0, 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 18, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(3.0)) + EVT_END_THREAD + EVT_SUB(LVar0, 35) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 14, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(2.0)) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostJump) + EVT_WAIT(3) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(25) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(3.0)) + EVT_END_THREAD + EVT_WAIT(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Land) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, 1, LVar1) + EVT_IF_FLAG(LVar1, ACTOR_EVENT_FLAG_80000) + EVT_SET(LVar0, 12) + EVT_ELSE + EVT_SET(LVar0, 6) + EVT_END_IF + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarF) + EVT_IF_NOT_FLAG(LVarF, ACTOR_EVENT_FLAG_80000) + EVT_CALL(func_80269EAC, 24) + EVT_END_IF + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, 0, 0, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SET(LVar0, -1) + EVT_CALL(GetBattleFlags, LVar1) + EVT_IF_NOT_FLAG(LVar1, BS_FLAGS1_ATK_BLOCKED) + EVT_CALL(GetStatusFlags, ACTOR_PLAYER, LVar1) + EVT_IF_NOT_FLAG(LVar1, STATUS_FLAG_STONE | STATUS_FLAG_RIGHT_ON) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar1) + EVT_IF_NOT_FLAG(LVar1, STATUS_FLAG_SHRINK) + EVT_CALL(N(CanPlayerLoseAction), LVar0) + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_IF_NE(LVar0, -1) + EVT_CALL(LandJump, ACTOR_SELF) + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20EA) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_COMMAND_LOSS_STATE), 1) + EVT_EXEC(N(inflictCommandLoss)) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 52) + EVT_SET(LVar1, 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20EA) + EVT_THREAD + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(3.0)) + EVT_END_THREAD + EVT_ADD(LVar0, 30) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(ShakeCam, 1, 0, 3, EVT_FLOAT(2.0)) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostJump) + EVT_WAIT(3) + EVT_LABEL(0) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_COMMAND_LOSS_STATE), LVar0) + EVT_IF_NE(LVar0, 0) + EVT_WAIT(1) + EVT_GOTO(0) + EVT_END_IF + EVT_WAIT(8) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Walk) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_LOST_ABILITY_ITEM), LVar0) + EVT_CALL(N(GetItemEntityPosition), LVar0, LVar1, LVar2, LVar3) + EVT_ADD(LVar1, 30) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(2.0)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar1, LVar2, LVar3) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(8) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(2.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_StompOnce) + EVT_WAIT(2) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_LOST_ABILITY_ITEM), LVar0) + EVT_CALL(N(GetItemEntityPosition), LVar0, LVar1, LVar2, LVar3) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_COMMAND_LOSS_STATE), 2) + EVT_CALL(PlayEffect, EFFECT_FIREWORK, 0, LVar1, 0, LVar3, EVT_FLOAT(0.5), 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, EFFECT_LANDING_DUST, 1, LVar1, 0, LVar3, EVT_FLOAT(2.0), 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20F6) + EVT_WAIT(4) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_StompOnce) + EVT_WAIT(2) + EVT_CALL(PlayEffect, EFFECT_FIREWORK, 0, LVar1, 0, LVar3, EVT_FLOAT(0.5), 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, EFFECT_LANDING_DUST, 1, LVar1, 0, LVar3, EVT_FLOAT(2.0), 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20F6) + EVT_WAIT(4) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_StompOnce) + EVT_WAIT(2) + EVT_CALL(PlayEffect, EFFECT_FIREWORK, 0, LVar1, 0, LVar3, EVT_FLOAT(0.5), 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, EFFECT_LANDING_DUST, 1, LVar1, 0, LVar3, EVT_FLOAT(2.0), 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20F6) + EVT_WAIT(20) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Mock) + EVT_WAIT(20) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) + EVT_ELSE + EVT_CALL(GetBattleFlags, LVar1) + EVT_IF_NOT_FLAG(LVar1, BS_FLAGS1_ATK_BLOCKED) + EVT_CALL(GetStatusFlags, ACTOR_PLAYER, LVar1) + EVT_IF_NOT_FLAG(LVar1, STATUS_FLAG_STONE) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar1) + EVT_IF_NOT_FLAG(LVar1, STATUS_FLAG_SHRINK) + EVT_CALL(LandJump, ACTOR_SELF) + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 40) + EVT_SET(LVar1, 0) + EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 0, 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 18, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20EA) + EVT_THREAD + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(3.0)) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostJump) + EVT_WAIT(3) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(20) + EVT_END_IF + EVT_IF_EQ(LVarF, 10) + EVT_RETURN + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_RETURN + EVT_END +}; + +EvtScript N(onAttackMissed) = { + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Tantrum) + EVT_THREAD + EVT_WAIT(5) + EVT_LOOP(4) + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(2.0)) + EVT_WAIT(4) + EVT_END_LOOP + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_END_THREAD + EVT_RETURN + EVT_END +}; + +EvtScript N(attackClawSwipe) = { + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_CLAW_SWIPE), 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(SetBattleCamZoom, 200) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 40) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(SetBattleCamZoom, 160) + EVT_CALL(SetBattleCamOffsetZ, 5) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 40) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Walk) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(AddGoalPos, ACTOR_SELF, 40, 0, 0) + EVT_ELSE + EVT_CALL(AddGoalPos, ACTOR_SELF, 16, 0, 0) + EVT_END_IF + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_RearUpMock) + EVT_WAIT(25) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Swipe) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_35E) + EVT_WAIT(3) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVarA) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_WAIT(20) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_EXEC_WAIT(N(onAttackMissed)) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_WAIT(30) + EVT_ELSE + EVT_WAIT(30) + EVT_END_IF + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_WAIT(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, 1, LVar0) + EVT_IF_FLAG(LVar0, ACTOR_EVENT_FLAG_ENCHANTED) + EVT_SET(LVar0, 12) + EVT_CALL(func_80269EAC, 12) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, 0, 0, STATUS_FLAG_4 | STATUS_FLAG_20 | STATUS_FLAG_40 | STATUS_FLAG_100 | STATUS_FLAG_200 | STATUS_FLAG_POISON | STATUS_FLAG_80000000, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_ELSE + EVT_SET(LVar0, 6) + EVT_CALL(func_80269EAC, 12) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, 0, 0, STATUS_FLAG_4 | STATUS_FLAG_20 | STATUS_FLAG_40 | STATUS_FLAG_100 | STATUS_FLAG_200 | STATUS_FLAG_POISON | STATUS_FLAG_80000000, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_SWITCH(LVarF) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CASE_OR_EQ(HIT_RESULT_10) + EVT_WAIT(30) + EVT_IF_EQ(LVarF, HIT_RESULT_10) + EVT_RETURN + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(attackShockwaveDrain) = { + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_SHOCKWAVE_DRAIN), 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 24) + EVT_ADD(LVar1, 65) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 420) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 40) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 9) + EVT_ADD(LVar1, 26) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 250) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 40) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Brandish) + EVT_WAIT(10) + EVT_CALL(N(FadeBackgroundToBlack)) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2121) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 15) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_LIGHT_RAYS, 2, LVar0, 90, LVar2, EVT_FLOAT(1.0), LVarF, 0, 0, 0, 0, 0, 0, 0) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 90, LVar2, EVT_FLOAT(1.0), LVarE, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 6) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_LIGHT_RAYS, 2, LVar0, 36, LVar2, EVT_FLOAT(0.4), LVarF, 0, 0, 0, 0, 0, 0, 0) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 36, LVar2, EVT_FLOAT(0.4), LVarE, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_WAIT(25) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(SetBattleCamTarget, -45, 60, 0) + EVT_CALL(SetBattleCamZoom, 530) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 80) + EVT_WAIT(10) + EVT_CALL(RemoveEffect, LVarF) + EVT_CALL(RemoveEffect, LVarE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2122) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 13) + EVT_SET(LVar1, 55) + EVT_CALL(PlayEffect, EFFECT_ENERGY_SHOCKWAVE, 0, LVar0, LVar1, LVar2, EVT_FLOAT(1.0), 60, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 5) + EVT_SET(LVar1, 22) + EVT_CALL(PlayEffect, EFFECT_ENERGY_SHOCKWAVE, 0, LVar0, LVar1, LVar2, EVT_FLOAT(1.0), 60, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_THREAD + EVT_CALL(N(UnfadeBackgroundToBlack)) + EVT_END_THREAD + EVT_WAIT(8) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVarA) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PARTNER) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarB, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVarB) + EVT_CASE_EQ(HIT_RESULT_MISS) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(30) + EVT_RETURN + EVT_CASE_DEFAULT + EVT_WAIT(2) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_EXEC_WAIT(N(onAttackMissed)) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT(2) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PARTNER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_IF_FLAG(LVar0, 0x00040000) // ??? + EVT_SET(LVar1, 3) + EVT_ELSE + EVT_SET(LVar1, 3) + EVT_END_IF + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_COSMIC | DAMAGE_TYPE_NO_OTHER_DAMAGE_POPUPS, 65535, 0, LVar1, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_CALL(RemovePlayerBuffs, 65536) + EVT_IF_NE(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_END_IF + EVT_WAIT(30) + EVT_RETURN + EVT_END_SWITCH + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(func_8026BF48, 1) + EVT_THREAD + EVT_WAIT(4) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PARTNER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_IF_FLAG(LVar0, 0x00040000) // ??? + EVT_SET(LVar1, 3) + EVT_ELSE + EVT_SET(LVar1, 3) + EVT_END_IF + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_COSMIC | DAMAGE_TYPE_NO_OTHER_DAMAGE_POPUPS, 65535, 0, LVar1, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_CALL(func_8026BF48, 0) + EVT_END_THREAD + EVT_WAIT(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_IF_FLAG(LVar0, 0x00040000) // ??? + EVT_SET(LVar1, 4) + EVT_ELSE + EVT_SET(LVar1, 4) + EVT_END_IF + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_COSMIC | DAMAGE_TYPE_NO_OTHER_DAMAGE_POPUPS, 65535, 0, LVar1, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_CALL(RemovePlayerBuffs, 268435455) + EVT_SWITCH(LVarF) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CASE_OR_EQ(HIT_RESULT_10) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(15) + EVT_IF_EQ(LVarF, HIT_RESULT_10) + EVT_RETURN + EVT_END_IF + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(attackFlameBreath) = { + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 30) + EVT_ADD(LVar1, 65) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 400) + EVT_CALL(MoveBattleCamOver, 40) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 30) + EVT_ADD(LVar1, 45) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 350) + EVT_CALL(MoveBattleCamOver, 40) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PreFireBreath) + EVT_WAIT(35) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_FireBreathStill) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 55) + EVT_WAIT(10) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, 1, LVar3) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar4) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_IF_FLAG(LVar3, ACTOR_EVENT_FLAG_ENCHANTED) + EVT_IF_NOT_FLAG(LVar4, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 70) + EVT_ADD(LVar1, 35) + EVT_ELSE + EVT_SUB(LVar0, 28) + EVT_ADD(LVar1, 14) + EVT_END_IF + EVT_ELSE + EVT_IF_NOT_FLAG(LVar4, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 50) + EVT_ADD(LVar1, 33) + EVT_ELSE + EVT_SUB(LVar0, 20) + EVT_ADD(LVar1, 13) + EVT_END_IF + EVT_END_IF + EVT_ADD(LVar2, 10) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar3, LVar4, LVar5) + EVT_SUB(LVar3, 40) + EVT_SET(LVar4, 20) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, 1, LVar6) + EVT_IF_FLAG(LVar6, ACTOR_EVENT_FLAG_ENCHANTED) + EVT_CALL(PlayEffect, EFFECT_FIRE_BREATH, 0, LVar0, LVar1, LVar2, LVar3, LVar4, LVar5, 50, 1, 24, 0, 0, 0) + EVT_ELSE + EVT_CALL(PlayEffect, EFFECT_FIRE_BREATH, 2, LVar0, LVar1, LVar2, LVar3, LVar4, LVar5, 50, 1, 24, 0, 0, 0) + EVT_CALL(N(UnkFireBreathFXFunc), LVarF) + EVT_END_IF + EVT_THREAD + EVT_CALL(N(StartRumbleWithParams), 50, 148) + EVT_CALL(PlaySound, SOUND_3BD) + EVT_WAIT(70) + EVT_CALL(PlaySound, SOUND_7BD) + EVT_END_THREAD + EVT_WAIT(10) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVarA) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_WAIT(10) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_FireBreathLoop) + EVT_WAIT(30) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostFireBreath) + EVT_WAIT(15) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(30) + EVT_EXEC_WAIT(N(onAttackMissed)) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT(30) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_WAIT(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, 1, LVar0) + EVT_IF_FLAG(LVar0, ACTOR_EVENT_FLAG_ENCHANTED) + EVT_SET(LVar0, 16) + EVT_ELSE + EVT_SET(LVar0, 8) + EVT_END_IF + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, DAMAGE_TYPE_FIRE, 65535, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LVarF) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CASE_OR_EQ(HIT_RESULT_10) + EVT_WAIT(10) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_FireBreathLoop) + EVT_WAIT(30) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostFireBreath) + EVT_WAIT(15) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(30) + EVT_IF_EQ(LVarF, HIT_RESULT_10) + EVT_RETURN + EVT_END_IF + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(onBurnHit) = { + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar3) + EVT_IF_EQ(LVar3, 36) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 1) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_ENCHANTED, 0) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, LVar0, LVar1) + EVT_CALL(func_80269E80, LVar3) + EVT_SWITCH(LVar3) + EVT_CASE_EQ(9) + EVT_CALL(GetOriginalActorType, ACTOR_SELF, LVar7) + EVT_SWITCH(LVar7) + EVT_CASE_OR_EQ(ACTOR_TYPE_MONTY_MOLE) + EVT_CASE_OR_EQ(ACTOR_TYPE_MONTY_MOLE_BOSS) + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_CALL(GetActorPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.01)) + EVT_ADD(LVar5, 55) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, FALSE, FALSE) + EVT_END_SWITCH + EVT_SET(LVar7, 0) + EVT_LOOP(30) + EVT_ADD(LVar7, 48) + EVT_CALL(SetActorYaw, ACTOR_SELF, LVar7) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(GetOriginalActorType, ACTOR_SELF, LVar7) + EVT_SWITCH(LVar7) + EVT_CASE_OR_EQ(ACTOR_TYPE_MONTY_MOLE) + EVT_CASE_OR_EQ(ACTOR_TYPE_MONTY_MOLE_BOSS) + EVT_WAIT(30) + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_SUB(LVar5, 55) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) + EVT_IF_EQ(LVar5, 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_ELSE + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, FALSE, FALSE) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, FALSE, FALSE) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, FALSE, FALSE) + EVT_END_IF + EVT_END_SWITCH + EVT_CASE_DEFAULT + EVT_WAIT(20) + EVT_END_SWITCH + EVT_IF_NE(LVar2, -1) + EVT_CALL(SetAnimation, ACTOR_SELF, LVar0, LVar2) + EVT_END_IF + EVT_WAIT(10) + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar1) + EVT_SWITCH(LVar1) + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, LVar0, LVar1) + EVT_IF_NOT_FLAG(LVar1, ACTOR_EVENT_FLAG_FIREY | ACTOR_EVENT_FLAG_EXPLOSIVE) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetActorSize, ACTOR_SELF, LVar3, LVar4) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar5) + EVT_IF_FLAG(LVar5, STATUS_FLAG_SHRINK) + EVT_MULF(LVar3, EVT_FLOAT(0.4)) + EVT_MULF(LVar4, EVT_FLOAT(0.4)) + EVT_END_IF + EVT_DIVF(LVar3, EVT_FLOAT(2.0)) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar5) + EVT_IF_FLAG(LVar5, ACTOR_FLAG_HP_OFFSET_BELOW) + EVT_SUBF(LVar1, LVar3) + EVT_ELSE + EVT_ADDF(LVar1, LVar3) + EVT_END_IF + EVT_ADDF(LVar2, EVT_FLOAT(5.0)) + EVT_DIVF(LVar3, EVT_FLOAT(10.0)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar5) + EVT_IF_FLAG(LVar5, STATUS_FLAG_SHRINK) + EVT_MULF(LVar3, EVT_FLOAT(0.4)) + EVT_IF_LT(LVar3, 1) + EVT_SETF(LVar3, EVT_FLOAT(1.0)) + EVT_END_IF + EVT_END_IF + EVT_CALL(PlayEffect, EFFECT_SMOKE_BURST, 0, LVar0, LVar1, LVar2, LVar3, 10, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; diff --git a/src/battle/area_kpa2/actor/bowser_phase_2.c b/src/battle/area_kpa2/actor/bowser_phase_2.c new file mode 100644 index 0000000000..d9b8143b52 --- /dev/null +++ b/src/battle/area_kpa2/actor/bowser_phase_2.c @@ -0,0 +1,1606 @@ +#include "common.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/BattleBowser.h" +#include "effects.h" + +#define NAMESPACE b_area_kpa2_bowser_phase_2 + +enum N(ActorVars) { + N(VAR_TURN_COUNTER) = 0, + N(VAR_TURNS_SINCE_LAST_SHOCKWAVE_DRAIN) = 2, + N(VAR_TURNS_SINCE_LAST_STAR_BEAM) = 3, + N(VAR_TURNS_SINCE_LAST_CLAW_SWIPE) = 4, + N(VAR_TURNS_SINCE_LAST_HEAVY_JUMP) = 5, + N(VAR_TURNS_SINCE_LAST_RECOVER) = 6, + N(VAR_RECOVERS_LEFT) = 7, + N(VAR_COMMAND_LOSS_STATE) = 9, + N(VAR_LOST_ABILITY_ITEM) = 10, +}; + +extern EvtScript N(init); +extern EvtScript N(idle); +extern EvtScript N(takeTurn); +extern EvtScript N(handleEvent); +extern EvtScript N(attackFlameBreath); +extern EvtScript N(attackLightningBlast); +extern EvtScript N(attackShockwaveDrain); +extern EvtScript N(attackClawSwipe); +extern EvtScript N(attackHeavyJump); +extern EvtScript N(normalAttack); +extern EvtScript N(attack); +extern EvtScript N(useStarRod); +extern EvtScript N(doTakeTurn); +extern EvtScript N(doOnHit); +extern EvtScript N(onHit); +extern EvtScript N(onImmune); +extern EvtScript N(returnHome); +extern EvtScript N(jumpHome); +extern EvtScript N(onBurnHit); +extern EvtScript N(makeWalkingSounds); +extern EvtScript N(unkDecorationScript); + +s32 N(idleAnimations)[] = { + STATUS_NORMAL, ANIM_BattleBowser_Idle, + STATUS_STONE, ANIM_BattleBowser_Still, + STATUS_SLEEP, ANIM_BattleBowser_Idle, + STATUS_POISON, ANIM_BattleBowser_Idle, + STATUS_STOP, ANIM_BattleBowser_Still, + STATUS_STATIC, ANIM_BattleBowser_Still, + STATUS_PARALYZE, ANIM_BattleBowser_Still, + STATUS_PARALYZE, ANIM_BattleBowser_Still, + STATUS_DIZZY, ANIM_BattleBowser_Idle, + STATUS_DIZZY, ANIM_BattleBowser_Idle, + STATUS_END, +}; + +s32 N(defenseTable)[] = { + ELEMENT_NORMAL, 2, + ELEMENT_END, +}; + +s32 N(defenseTable_boosted)[] = { + ELEMENT_NORMAL, 99, + ELEMENT_END, +}; + +s32 N(statusTable)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 0, + STATUS_POISON, 0, + STATUS_FROZEN, 0, + STATUS_DIZZY, 0, + STATUS_FEAR, 0, + STATUS_STATIC, 0, + STATUS_PARALYZE, 0, + STATUS_SHRINK, 0, + STATUS_STOP, 0, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, -1, + STATUS_POISON_TURN_MOD, 0, + STATUS_FROZEN_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, -1, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, -1, + STATUS_SHRINK_TURN_MOD, -1, + STATUS_STOP_TURN_MOD, -2, + STATUS_END, +}; + +s32 N(statusTable_boosted)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 0, + STATUS_POISON, 0, + STATUS_FROZEN, 0, + STATUS_DIZZY, 0, + STATUS_FEAR, 0, + STATUS_STATIC, 0, + STATUS_PARALYZE, 0, + STATUS_SHRINK, 0, + STATUS_STOP, 0, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, -1, + STATUS_POISON_TURN_MOD, 0, + STATUS_FROZEN_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, -1, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, -1, + STATUS_SHRINK_TURN_MOD, -1, + STATUS_STOP_TURN_MOD, -2, + STATUS_END, +}; + +ActorPartBlueprint N(parts)[] = { + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { -27, 108 }, + .opacity = 255, + .idleAnimations = N(idleAnimations), + .defenseTable = N(defenseTable), + .eventFlags = 0, + .elementImmunityFlags = 0, + .unk_1C = 0, + .unk_1D = -8, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = 0, + .type = ACTOR_TYPE_BOWSER_PHASE_2, + .level = 0, + .maxHP = 99, + .partCount = ARRAY_COUNT(N(parts)), + .partsData = N(parts), + .script = &N(init), + .statusTable = N(statusTable), + .escapeChance = 0, + .airLiftChance = 0, + .spookChance = 0, + .baseStatusChance = 0, + .upAndAwayChance = 0, + .spinSmashReq = 4, + .powerBounceChance = 50, + .coinReward = 0, + .size = { 123, 119 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -53, 103 }, + .statusMessageOffset = { 33, 92 }, +}; + +#define BOWSER_LARGE +#include "common/StartRumbleWithParams.inc.c" +#include "common/UnkBowserFunc1.inc.c" +#include "common/FadeBackgroundToBlack.inc.c" +#include "common/UnfadeBackgroundToBlack.inc.c" +#include "common/RemoveChillOut.inc.c" +#include "common/StarRodAppearEffect.inc.c" +#include "common/StarRodPowerUpEffect.inc.c" +#include "common/GetJumpHammerCharge.inc.c" +#include "common/GetPlayerHpPercent.inc.c" +#include "common/ItemEntityJumpToPos.inc.c" +#include "common/GetItemEntityPosition.inc.c" + +EvtScript N(init) = { + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_SHOCKWAVE_DRAIN), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_CLAW_SWIPE), 3) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_HEAVY_JUMP), 3) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_STAR_BEAM), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_RECOVER), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_RECOVERS_LEFT), 3) + EVT_CALL(SetActorVar, ACTOR_SELF, 14, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_COMMAND_LOSS_STATE), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LOST_ABILITY_ITEM), 0) + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.5), EVT_FLOAT(1.5), EVT_FLOAT(1.0)) + EVT_CALL(ModifyActorDecoration, ACTOR_SELF, 1, 1, 150, 0, 0, 0) + EVT_EXEC(N(unkDecorationScript)) + EVT_CALL(ModifyActorDecoration, ACTOR_SELF, 1, 0, 150, 150, 0, 0) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 10) + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_PTR(N(takeTurn))) + EVT_CALL(BindIdle, ACTOR_SELF, EVT_PTR(N(idle))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_PTR(N(handleEvent))) + EVT_CALL(SetBattleFlagBits2, BS_FLAGS2_400 | BS_FLAGS2_2000000, 1) + EVT_RETURN + EVT_END +}; + +EvtScript N(idle) = { + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetAnimation, ACTOR_SELF, 1, LVar3) + EVT_LABEL(0) + EVT_CALL(ActorExists, ACTOR_SELF, LVarB) + EVT_IF_EQ(LVarB, 0) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarB) + EVT_IF_NOT_FLAG(LVarB, STATUS_FLAG_SHRINK) + EVT_CALL(ModifyActorDecoration, ACTOR_SELF, 1, 0, 150, 150, 255, 0) + EVT_CALL(ModifyActorDecoration, ACTOR_SELF, 1, 1, 150, 0, 0, 0) + EVT_ELSE + EVT_CALL(ModifyActorDecoration, ACTOR_SELF, 1, 0, 60, 60, 255, 0) + EVT_CALL(ModifyActorDecoration, ACTOR_SELF, 1, 1, 60, 0, 0, 0) + EVT_END_IF + EVT_EXEC_WAIT(N(makeWalkingSounds)) + EVT_WAIT(1) + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(GetLastElement, LVarE) + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(EVENT_BEGIN_FIRST_STRIKE) + EVT_CASE_OR_EQ(EVENT_HIT_COMBO) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_SET(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onHit)) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET(LVar0, 1) + EVT_SET(LVar1, ANIM_BattleBowser_BurnHurt) + EVT_SET(LVar2, ANIM_BattleBowser_BurnStill) + EVT_EXEC_WAIT(N(onBurnHit)) + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET(LVar0, 1) + EVT_SET(LVar1, ANIM_BattleBowser_BurnHurt) + EVT_SET(LVar2, ANIM_BattleBowser_BurnStill) + EVT_EXEC_WAIT(N(onBurnHit)) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_SET(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onHit)) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onHit)) + EVT_RETURN + EVT_CASE_EQ(EVENT_SHOCK_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(jumpHome)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_CASE_EQ(EVENT_SHOCK_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(jumpHome)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_CALL(func_80269E80, LVar2) + EVT_SWITCH(LVar2) + EVT_CASE_OR_EQ(18) + EVT_CASE_OR_EQ(21) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Mock) + EVT_WAIT(30) + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_SET(LVar1, ANIM_BattleBowser_Mock) + EVT_EXEC_WAIT(N(onImmune)) + EVT_END_SWITCH + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_AIR_LIFT_FAILED) + EVT_SET_CONST(LVar0, 1) + EVT_SET(LVar1, ANIM_BattleBowser_Idle) + EVT_EXEC_WAIT(DoImmune) + EVT_CASE_EQ(EVENT_SPIKE_TAUNT) + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onHit)) + EVT_RETURN + EVT_CASE_EQ(EVENT_END_FIRST_STRIKE) + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Jump) + EVT_EXEC_WAIT(DoRecover) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostJump) + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(3.0)) + EVT_CASE_EQ(EVENT_SWAP_PARTNER) + EVT_CALL(N(UnfadeBackgroundToBlack)) + EVT_CASE_EQ(EVENT_30) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT(1000) + EVT_CASE_EQ(EVENT_1D) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_SET(LVar3, 60) + EVT_SET(LVar4, 97) + EVT_ELSE + EVT_SET(LVar3, 24) + EVT_SET(LVar4, 39) + EVT_END_IF + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, LVar3) + EVT_CALL(PlayEffect, EFFECT_ENERGY_ORB_WAVE, 4, LVar0, LVar1, LVar2, EVT_FLOAT(1.5), 20, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_RearUpLaugh) + EVT_WAIT(30) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 15) + EVT_ADD(LVar1, LVar4) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 420) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 30) + EVT_WAIT(30) + EVT_CALL(ActorSpeak, MSG_CH8_0085, ACTOR_SELF, 1, ANIM_BattleBowser_Mock, ANIM_BattleBowser_Mock) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14) + EVT_CALL(BattleCamTargetActor, ACTOR_PLAYER) + EVT_CALL(MoveBattleCamOver, 20) + EVT_WAIT(20) + EVT_CALL(GetCurrentPartnerID, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(PARTNER_KOOPER) + EVT_CALL(ActorSpeak, MSG_CH8_0087, ACTOR_PARTNER, 0, -1, -1) + EVT_CASE_EQ(PARTNER_BOMBETTE) + EVT_CALL(ActorSpeak, MSG_CH8_0088, ACTOR_PARTNER, 0, -1, -1) + EVT_CASE_EQ(PARTNER_PARAKARRY) + EVT_CALL(ActorSpeak, MSG_CH8_0089, ACTOR_PARTNER, 0, -1, -1) + EVT_CASE_EQ(PARTNER_BOW) + EVT_CALL(ActorSpeak, MSG_CH8_008A, ACTOR_PARTNER, 0, -1, -1) + EVT_CASE_EQ(PARTNER_WATT) + EVT_CALL(ActorSpeak, MSG_CH8_008B, ACTOR_PARTNER, 0, -1, -1) + EVT_CASE_EQ(PARTNER_SUSHIE) + EVT_CALL(ActorSpeak, MSG_CH8_008C, ACTOR_PARTNER, 0, -1, -1) + EVT_CASE_EQ(PARTNER_LAKILESTER) + EVT_CALL(ActorSpeak, MSG_CH8_008D, ACTOR_PARTNER, 0, -1, -1) + EVT_CASE_DEFAULT + EVT_CALL(ActorSpeak, MSG_CH8_0086, ACTOR_PARTNER, 0, -1, -1) + EVT_END_SWITCH + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 30) + EVT_CALL(GetActorHP, ACTOR_SELF, GB_FinalBowserHP) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_NO_DMG_APPLY, 1) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_DISABLE_CELEBRATION | BS_FLAGS1_ENEMY_FLED, 1) + EVT_CALL(func_8026F60C, 20) + EVT_RETURN + EVT_CASE_EQ(20) + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(onHit) = { + EVT_EXEC_WAIT(N(doOnHit)) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(doOnHit) = { + EVT_SET_CONST(LVar0, 1) + EVT_EXEC_WAIT(DoNormalHit) + EVT_RETURN + EVT_END +}; + +EvtScript N(onDeath) = { + EVT_SET_CONST(LVar0, 1) + EVT_EXEC_WAIT(DoNormalHit) + EVT_SET_CONST(LVar0, 1) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_END +}; + +EvtScript N(onImmune) = { + EVT_SET_CONST(LVar0, 1) + EVT_EXEC_WAIT(DoImmune) + EVT_RETURN + EVT_END +}; + +EvtScript N(takeTurn) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_EXEC_WAIT(N(doTakeTurn)) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(powerUp) = { + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Brandish) + EVT_EXEC_WAIT(N(useStarRod)) + EVT_RETURN + EVT_END +}; + +EvtScript N(returnHome) = { + EVT_SET(LVar0, 1) + EVT_CALL(GetActorPos, ACTOR_SELF, LVarA, LVarB, LVarC) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVarD, LVarE, LVarF) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(GetDist2D, LVar9, LVarA, LVarC, LVarD, LVarF) + EVT_IF_GE(LVar9, EVT_FLOAT(5.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, LVar0, LVar1) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_END_IF + EVT_IF_EQ(LVarB, 180) + EVT_LOOP(15) + EVT_SUB(LVarB, 12) + EVT_CALL(SetActorYaw, ACTOR_SELF, LVarB) + EVT_WAIT(1) + EVT_END_LOOP + EVT_END_IF + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(unkDecorationScript) = { + EVT_CALL(N(UnkBowserFunc1)) + EVT_RETURN + EVT_END +}; + +EvtScript N(useStarRod) = { + EVT_CALL(N(FadeBackgroundToBlack)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_ADD(LVar0, 22) + EVT_ADD(LVar1, 135) + EVT_THREAD + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2123) + EVT_ADD(LVar2, 10) + EVT_CALL(N(StarRodAppearEffect), LVar0, LVar1, LVar2, EVT_FLOAT(2.5), EVT_FLOAT(0.0751953125)) + EVT_END_THREAD + EVT_ELSE + EVT_ADD(LVar0, 9) + EVT_ADD(LVar1, 54) + EVT_THREAD + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2123) + EVT_ADD(LVar2, 10) + EVT_CALL(N(StarRodAppearEffect), LVar0, LVar1, LVar2, EVT_FLOAT(2.5), EVT_FLOAT(0.03)) + EVT_END_THREAD + EVT_END_IF + EVT_WAIT(65) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_ADD(LVar0, 22) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_LIGHT_RAYS, 2, LVar0, 135, LVar2, EVT_FLOAT(1.5), LVarF, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 135, LVar2, EVT_FLOAT(1.0), LVarE, 0, 0, 0, 0, 0, 0, 0) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 135, LVar2, EVT_FLOAT(1.5), LVarD, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_ADD(LVar0, 9) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_LIGHT_RAYS, 2, LVar0, 54, LVar2, EVT_FLOAT(0.6), LVarF, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 54, LVar2, EVT_FLOAT(0.4), LVarE, 0, 0, 0, 0, 0, 0, 0) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 54, LVar2, EVT_FLOAT(0.6), LVarD, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2121) + EVT_WAIT(30) + EVT_CALL(RemoveEffect, LVarF) + EVT_CALL(RemoveEffect, LVarE) + EVT_CALL(RemoveEffect, LVarD) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_80000, 1) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 1, 11) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable_boosted))) + EVT_CALL(SetStatusTable, ACTOR_SELF, EVT_PTR(N(statusTable_boosted))) + EVT_CALL(N(RemoveChillOut)) + EVT_WAIT(3) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 60) + EVT_ADD(LVar2, 12) + EVT_CALL(PlayEffect, EFFECT_STARS_SHIMMER, 3, LVar0, LVar1, LVar2, 105, 120, 37, 60, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 24) + EVT_ADD(LVar2, 12) + EVT_CALL(PlayEffect, EFFECT_STARS_SHIMMER, 3, LVar0, LVar1, LVar2, 42, 48, 15, 60, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2125) + EVT_THREAD + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(N(StarRodPowerUpEffect), LVar0, LVar1, LVar2, EVT_FLOAT(1.2)) + EVT_END_THREAD + EVT_WAIT(75) + EVT_THREAD + EVT_CALL(N(UnfadeBackgroundToBlack)) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_RearUpLaugh) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_ADD(LVar1, 60) + EVT_ELSE + EVT_ADD(LVar1, 24) + EVT_END_IF + EVT_CALL(PlayEffect, EFFECT_ENERGY_ORB_WAVE, 4, LVar0, LVar1, LVar2, EVT_FLOAT(1.5), 15, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2124) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 39) + EVT_WAIT(30) + EVT_RETURN + EVT_END +}; + +EvtScript N(jumpHome) = { + EVT_IF_NE(LVar1, -1) + EVT_CALL(SetAnimation, ACTOR_SELF, LVar0, LVar1) + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.4)) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar2, LVar3, LVar4) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar5, LVar6, LVar7) + EVT_SET(LVar8, LVar2) + EVT_ADD(LVar8, LVar5) + EVT_DIV(LVar8, 2) + EVT_SET(LVar9, LVar4) + EVT_ADD(LVar9, LVar7) + EVT_DIV(LVar9, 2) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar8, 0, LVar9) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_ADD(LVar8, LVar2) + EVT_DIV(LVar8, 2) + EVT_ADD(LVar9, LVar4) + EVT_DIV(LVar9, 2) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar8, 0, LVar9) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar2, LVar3, LVar4) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(makeWalkingSounds) = { + EVT_CALL(GetAnimation, ACTOR_SELF, 1, LVar7) + EVT_IF_NE(LVar7, ANIM_BattleBowser_Walk) + EVT_IF_EQ(LVar3, ANIM_BattleBowser_Walk) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20B4) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20F6) + EVT_END_IF + EVT_SET(LVar3, LVar7) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorPos, ACTOR_SELF, LVar5, LVar6, LVar7) + EVT_SUB(LVar5, LVar0) + EVT_IF_GT(LVar5, -30) + EVT_IF_LT(LVar5, 30) + EVT_SET(LVar3, LVar7) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20B4) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20F6) + EVT_SET(LVar3, LVar7) + EVT_RETURN + EVT_END +}; + +EvtScript N(recover) = { + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_RECOVERS_LEFT), LVar0) + EVT_SUB(LVar0, 1) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_RECOVERS_LEFT), LVar0) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 15) + EVT_ADD(LVar1, 97) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 420) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 40) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 6) + EVT_ADD(LVar1, 39) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 294) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 40) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Brandish) + EVT_CALL(N(FadeBackgroundToBlack)) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2126) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 22) + EVT_ADD(LVar1, 135) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_ENERGY_IN_OUT, 2, LVar0, LVar1, LVar2, EVT_FLOAT(1.5), 50, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 22) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 5, LVar0, 135, LVar2, EVT_FLOAT(0.45), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 9) + EVT_ADD(LVar1, 54) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_ENERGY_IN_OUT, 2, LVar0, LVar1, LVar2, EVT_FLOAT(0.6), 50, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 9) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 5, LVar0, 54, LVar2, EVT_FLOAT(0.18), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_WAIT(30) + EVT_CALL(GetEnemyMaxHP, ACTOR_SELF, LVar0) + EVT_MUL(LVar0, 31) + EVT_DIV(LVar0, 100) + EVT_THREAD + EVT_WAIT(5) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_206D) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_214) + EVT_WAIT(30) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_25C) + EVT_END_THREAD + EVT_THREAD + EVT_CALL(func_8026BF48, 1) + EVT_CALL(HealActor, ACTOR_SELF, LVar0, 0) + EVT_CALL(func_8026BF48, 0) + EVT_END_THREAD + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(doTakeTurn) = { + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), 1) + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_CLAW_SWIPE), 1) + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_HEAVY_JUMP), 1) + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_SHOCKWAVE_DRAIN), 1) + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_STAR_BEAM), 1) + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_RECOVER), 1) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), LVar0) + EVT_IF_EQ(LVar0, 2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 15) + EVT_ADD(LVar1, 90) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 420) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 30) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 6) + EVT_ADD(LVar1, 36) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 420) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 30) + EVT_END_IF + EVT_CALL(ActorSpeak, MSG_CH8_0084, ACTOR_SELF, 1, ANIM_BattleBowser_Mock, ANIM_BattleBowser_Mock) + EVT_EXEC_WAIT(N(powerUp)) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorHP, ACTOR_SELF, LVar0) + EVT_CALL(GetEnemyMaxHP, ACTOR_SELF, LVar1) + EVT_MUL(LVar0, 100) + EVT_DIV(LVar0, LVar1) + EVT_CALL(N(GetPlayerHpPercent), LVar2) + EVT_SUB(LVar2, LVar0) + EVT_IF_GT(LVar2, 25) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_RECOVERS_LEFT), LVar0) + EVT_IF_NE(LVar0, 0) + EVT_CALL(RandInt, 100, LVar0) + EVT_IF_LT(LVar0, 75) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_RECOVER), LVar0) + EVT_IF_GT(LVar0, 1) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_RECOVER), 0) + EVT_EXEC_WAIT(N(recover)) + EVT_RETURN + EVT_ELSE + EVT_CALL(RandInt, 100, LVar0) + EVT_IF_LT(LVar0, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_RECOVER), 0) + EVT_EXEC_WAIT(N(recover)) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), LVar0) + EVT_IF_GT(LVar0, 1) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, 1, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_EVENT_FLAG_80000) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_STAR_BEAM), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(1) + EVT_SET(LVar0, 0) + EVT_CASE_EQ(2) + EVT_SET(LVar0, 0) + EVT_CASE_EQ(3) + EVT_SET(LVar0, 15) + EVT_CASE_DEFAULT + EVT_SET(LVar0, 75) + EVT_END_SWITCH + EVT_CALL(RandInt, 100, LVar1) + EVT_IF_LT(LVar1, LVar0) + EVT_EXEC_WAIT(N(powerUp)) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_SHOCKWAVE_DRAIN), LVar0) + EVT_IF_LT(LVar0, 3) + EVT_EXEC_WAIT(N(normalAttack)) + EVT_RETURN + EVT_END_IF + EVT_EXEC_WAIT(N(attack)) + EVT_RETURN + EVT_END +}; + +EvtScript N(attack) = { + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), LVar0) + EVT_IF_LE(LVar0, 3) + EVT_EXEC_WAIT(N(normalAttack)) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_SHOCKWAVE_DRAIN), LVar0) + EVT_IF_GE(LVar0, 6) + EVT_CALL(RandInt, 30, LVar0) + EVT_IF_LT(LVar0, 20) + EVT_EXEC_WAIT(N(attackShockwaveDrain)) + EVT_ELSE + EVT_EXEC_WAIT(N(attackLightningBlast)) + EVT_END_IF + EVT_RETURN + EVT_END_IF + EVT_CALL(RandInt, 100, LVar0) + EVT_IF_LT(LVar0, 75) + EVT_CALL(N(GetJumpHammerCharge), LVar0, LVar1) + EVT_IF_GT(LVar0, 0) + EVT_EXEC_WAIT(N(attackShockwaveDrain)) + EVT_RETURN + EVT_END_IF + EVT_IF_GT(LVar1, 0) + EVT_EXEC_WAIT(N(attackShockwaveDrain)) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_CALL(RandInt, 110, LVar0) + EVT_IF_LT(LVar0, 30) + EVT_IF_LT(LVar0, 20) + EVT_EXEC_WAIT(N(attackShockwaveDrain)) + EVT_ELSE + EVT_EXEC_WAIT(N(attackLightningBlast)) + EVT_END_IF + EVT_RETURN + EVT_END_IF + EVT_EXEC_WAIT(N(normalAttack)) + EVT_RETURN + EVT_RETURN + EVT_END +}; + +EvtScript N(normalAttack) = { + EVT_CALL(RandInt, 80, LVar0) + EVT_IF_LT(LVar0, 20) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_HEAVY_JUMP), LVar0) + EVT_IF_GE(LVar0, 2) + EVT_EXEC_WAIT(N(attackHeavyJump)) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_CALL(RandInt, 60, LVar0) + EVT_IF_LT(LVar0, 20) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_CLAW_SWIPE), LVar0) + EVT_IF_GE(LVar0, 2) + EVT_EXEC_WAIT(N(attackClawSwipe)) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_EXEC_WAIT(N(attackFlameBreath)) + EVT_RETURN + EVT_END +}; + +#include "common/DisableRandomAbility.inc.c" +#include "common/CanPlayerLoseAction.inc.c" +#include "common/UnkFireBreathFXFunc.inc.c" +#include "common/UnkLightningBoltFxFunc1.inc.c" + +EvtScript N(inflictCommandLoss) = { + EVT_LABEL(0) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_COMMAND_LOSS_STATE), LVarA) + EVT_SWITCH(LVarA) + EVT_CASE_EQ(0) + EVT_CASE_EQ(1) + EVT_CALL(GetActorPos, ACTOR_PLAYER, LVar1, LVar2, LVar3) + EVT_SET(LVar2, 0) + EVT_SUB(LVar3, 1) + EVT_CALL(N(DisableRandomAbility), LVar4, LVar5) + EVT_CALL(MakeItemEntity, LVar4, LVar1, LVar2, LVar3, 1, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LOST_ABILITY_ITEM), LVar0) + EVT_ADD(LVar1, 7) + EVT_CALL(N(ItemEntityJumpToPos), LVar0, LVar1, LVar2, LVar3, 8, EVT_FLOAT(1.0)) + EVT_ADD(LVar1, 12) + EVT_CALL(N(ItemEntityJumpToPos), LVar0, LVar1, LVar2, LVar3, 8, EVT_FLOAT(1.0)) + EVT_ADD(LVar1, 7) + EVT_CALL(N(ItemEntityJumpToPos), LVar0, LVar1, LVar2, LVar3, 5, EVT_FLOAT(1.0)) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_COMMAND_LOSS_STATE), 0) + EVT_CASE_EQ(2) + EVT_CALL(ShowMessageBox, LVar5, 60) + EVT_CALL(RemoveItemEntity, LVar0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_COMMAND_LOSS_STATE), 3) + EVT_RETURN + EVT_END_SWITCH + EVT_WAIT(1) + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +EvtScript N(attackHeavyJump) = { + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_HEAVY_JUMP), 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(SetBattleCamZoom, 300) + EVT_CALL(SetBattleCamOffsetZ, 54) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 40) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(SetBattleCamZoom, 240) + EVT_CALL(SetBattleCamOffsetZ, 21) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 40) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Walk) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, 60, 0, 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(15) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PreJump) + EVT_WAIT(3) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Jump) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVarA) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 30) + EVT_SET(LVar1, 0) + EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 0, 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 18, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(3.0)) + EVT_END_THREAD + EVT_SUB(LVar0, 35) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 14, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(2.0)) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostJump) + EVT_WAIT(3) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(25) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(3.0)) + EVT_END_THREAD + EVT_WAIT(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Land) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, 1, LVar1) + EVT_IF_FLAG(LVar1, ACTOR_EVENT_FLAG_80000) + EVT_SET(LVar0, 16) + EVT_ELSE + EVT_SET(LVar0, 8) + EVT_END_IF + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarF) + EVT_IF_NOT_FLAG(LVarF, STATUS_FLAG_SHRINK) + EVT_CALL(func_80269EAC, 24) + EVT_END_IF + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, 0, 0, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SET(LVar0, -1) + EVT_CALL(GetBattleFlags, LVar1) + EVT_IF_NOT_FLAG(LVar1, BS_FLAGS1_ATK_BLOCKED) + EVT_CALL(GetStatusFlags, ACTOR_PLAYER, LVar1) + EVT_IF_NOT_FLAG(LVar1, STATUS_FLAG_STONE | STATUS_FLAG_RIGHT_ON) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar1) + EVT_IF_NOT_FLAG(LVar1, STATUS_FLAG_SHRINK) + EVT_CALL(N(CanPlayerLoseAction), LVar0) + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_IF_NE(LVar0, -1) + EVT_CALL(LandJump, ACTOR_SELF) + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20EA) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_COMMAND_LOSS_STATE), 1) + EVT_EXEC(N(inflictCommandLoss)) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 52) + EVT_SET(LVar1, 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20EA) + EVT_THREAD + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(3.0)) + EVT_END_THREAD + EVT_ADD(LVar0, 30) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(ShakeCam, 1, 0, 3, EVT_FLOAT(2.0)) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostJump) + EVT_WAIT(3) + EVT_LABEL(0) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_COMMAND_LOSS_STATE), LVar0) + EVT_IF_NE(LVar0, 0) + EVT_WAIT(1) + EVT_GOTO(0) + EVT_END_IF + EVT_WAIT(8) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Walk) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_LOST_ABILITY_ITEM), LVar0) + EVT_CALL(N(GetItemEntityPosition), LVar0, LVar1, LVar2, LVar3) + EVT_ADD(LVar1, 38) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(2.0)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar1, LVar2, LVar3) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(8) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(2.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_StompOnce) + EVT_WAIT(2) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_LOST_ABILITY_ITEM), LVar0) + EVT_CALL(N(GetItemEntityPosition), LVar0, LVar1, LVar2, LVar3) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_COMMAND_LOSS_STATE), 2) + EVT_CALL(PlayEffect, EFFECT_FIREWORK, 0, LVar1, 0, LVar3, EVT_FLOAT(0.75), 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, EFFECT_LANDING_DUST, 1, LVar1, 0, LVar3, EVT_FLOAT(3.0), 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20F6) + EVT_WAIT(4) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_StompOnce) + EVT_WAIT(2) + EVT_CALL(PlayEffect, EFFECT_FIREWORK, 0, LVar1, 0, LVar3, EVT_FLOAT(0.75), 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, EFFECT_LANDING_DUST, 1, LVar1, 0, LVar3, EVT_FLOAT(3.0), 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20F6) + EVT_WAIT(4) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_StompOnce) + EVT_WAIT(2) + EVT_CALL(PlayEffect, EFFECT_FIREWORK, 0, LVar1, 0, LVar3, EVT_FLOAT(0.75), 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, EFFECT_LANDING_DUST, 1, LVar1, 0, LVar3, EVT_FLOAT(3.0), 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20F6) + EVT_WAIT(20) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Mock) + EVT_WAIT(20) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) + EVT_ELSE + EVT_CALL(GetBattleFlags, LVar1) + EVT_IF_NOT_FLAG(LVar1, BS_FLAGS1_ATK_BLOCKED) + EVT_CALL(GetStatusFlags, ACTOR_PLAYER, LVar1) + EVT_IF_NOT_FLAG(LVar1, STATUS_FLAG_STONE) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar1) + EVT_IF_NOT_FLAG(LVar1, STATUS_FLAG_SHRINK) + EVT_CALL(LandJump, ACTOR_SELF) + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 40) + EVT_SET(LVar1, 0) + EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 0, 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 18, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20EA) + EVT_THREAD + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(3.0)) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostJump) + EVT_WAIT(3) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(20) + EVT_END_IF + EVT_IF_EQ(LVarF, 10) + EVT_RETURN + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_RETURN + EVT_END +}; + +EvtScript N(onAttackMissed) = { + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Tantrum) + EVT_THREAD + EVT_WAIT(5) + EVT_LOOP(4) + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(2.0)) + EVT_WAIT(4) + EVT_END_LOOP + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_END_THREAD + EVT_RETURN + EVT_END +}; + +EvtScript N(attackClawSwipe) = { + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_CLAW_SWIPE), 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(SetBattleCamZoom, 200) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 40) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(SetBattleCamZoom, 160) + EVT_CALL(SetBattleCamOffsetZ, 5) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 40) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Walk) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(AddGoalPos, ACTOR_SELF, 60, 0, 0) + EVT_ELSE + EVT_CALL(AddGoalPos, ACTOR_SELF, 24, 0, 0) + EVT_END_IF + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_RearUpMock) + EVT_WAIT(25) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Swipe) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_35E) + EVT_WAIT(3) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVarA) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_WAIT(20) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_EXEC_WAIT(N(onAttackMissed)) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_WAIT(30) + EVT_ELSE + EVT_WAIT(30) + EVT_END_IF + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_WAIT(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, 1, LVar0) + EVT_IF_FLAG(LVar0, ACTOR_EVENT_FLAG_80000) + EVT_SET(LVar0, 16) + EVT_CALL(func_80269EAC, 12) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, 0, 0, STATUS_FLAG_4 | STATUS_FLAG_20 | STATUS_FLAG_40 | STATUS_FLAG_100 | STATUS_FLAG_200 | STATUS_FLAG_POISON | STATUS_FLAG_80000000, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_ELSE + EVT_SET(LVar0, 8) + EVT_CALL(func_80269EAC, 12) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, 0, 0, STATUS_FLAG_4 | STATUS_FLAG_20 | STATUS_FLAG_40 | STATUS_FLAG_100 | STATUS_FLAG_200 | STATUS_FLAG_POISON | STATUS_FLAG_80000000, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_END_IF + EVT_SWITCH(LVarF) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CASE_OR_EQ(HIT_RESULT_10) + EVT_WAIT(30) + EVT_IF_EQ(LVarF, HIT_RESULT_10) + EVT_RETURN + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(attackShockwaveDrain) = { + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_SHOCKWAVE_DRAIN), 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 24) + EVT_ADD(LVar1, 97) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 420) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 40) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 9) + EVT_ADD(LVar1, 39) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 375) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 40) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Brandish) + EVT_WAIT(10) + EVT_CALL(N(FadeBackgroundToBlack)) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2121) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 22) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_LIGHT_RAYS, 2, LVar0, 135, LVar2, EVT_FLOAT(1.0), LVarF, 0, 0, 0, 0, 0, 0, 0) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 135, LVar2, EVT_FLOAT(1.0), LVarE, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 9) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_LIGHT_RAYS, 2, LVar0, 54, LVar2, EVT_FLOAT(0.4), LVarF, 0, 0, 0, 0, 0, 0, 0) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 54, LVar2, EVT_FLOAT(0.4), LVarE, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_WAIT(25) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(SetBattleCamTarget, -45, 60, 0) + EVT_CALL(SetBattleCamZoom, 530) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 80) + EVT_WAIT(10) + EVT_CALL(RemoveEffect, LVarF) + EVT_CALL(RemoveEffect, LVarE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2122) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 19) + EVT_SET(LVar1, 55) + EVT_CALL(PlayEffect, EFFECT_ENERGY_SHOCKWAVE, 0, LVar0, LVar1, LVar2, EVT_FLOAT(1.0), 60, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 7) + EVT_SET(LVar1, 22) + EVT_CALL(PlayEffect, EFFECT_ENERGY_SHOCKWAVE, 0, LVar0, LVar1, LVar2, EVT_FLOAT(1.0), 60, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_THREAD + EVT_CALL(N(UnfadeBackgroundToBlack)) + EVT_END_THREAD + EVT_WAIT(8) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVarA) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PARTNER) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarB, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVarB) + EVT_CASE_EQ(HIT_RESULT_MISS) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(30) + EVT_RETURN + EVT_CASE_DEFAULT + EVT_WAIT(2) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_EXEC_WAIT(N(onAttackMissed)) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT(2) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PARTNER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_IF_FLAG(LVar0, 0x00040000) // ??? + EVT_SET(LVar1, 3) + EVT_ELSE + EVT_SET(LVar1, 3) + EVT_END_IF + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_COSMIC | DAMAGE_TYPE_NO_OTHER_DAMAGE_POPUPS, 65535, 0, LVar1, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_CALL(RemovePlayerBuffs, 65536) + EVT_IF_NE(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_END_IF + EVT_WAIT(30) + EVT_RETURN + EVT_END_SWITCH + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(func_8026BF48, 1) + EVT_THREAD + EVT_WAIT(4) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PARTNER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_IF_FLAG(LVar0, 0x00040000) // ??? + EVT_SET(LVar1, 3) + EVT_ELSE + EVT_SET(LVar1, 3) + EVT_END_IF + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_COSMIC | DAMAGE_TYPE_NO_OTHER_DAMAGE_POPUPS, 65535, 0, LVar1, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_CALL(func_8026BF48, 0) + EVT_END_THREAD + EVT_WAIT(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_IF_FLAG(LVar0, 0x00040000) // ??? + EVT_SET(LVar1, 6) + EVT_ELSE + EVT_SET(LVar1, 6) + EVT_END_IF + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_COSMIC | DAMAGE_TYPE_NO_OTHER_DAMAGE_POPUPS, 65535, 0, LVar1, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_CALL(RemovePlayerBuffs, 268435455) + EVT_SWITCH(LVarF) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CASE_OR_EQ(HIT_RESULT_10) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(15) + EVT_IF_EQ(LVarF, HIT_RESULT_10) + EVT_RETURN + EVT_END_IF + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(attackFlameBreath) = { + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 30) + EVT_ADD(LVar1, 81) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 400) + EVT_CALL(MoveBattleCamOver, 40) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 30) + EVT_ADD(LVar1, 56) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 350) + EVT_CALL(MoveBattleCamOver, 40) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PreFireBreath) + EVT_WAIT(35) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_FireBreathStill) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 55) + EVT_WAIT(10) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, 1, LVar3) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar4) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_IF_FLAG(LVar3, ACTOR_EVENT_FLAG_80000) + EVT_IF_NOT_FLAG(LVar4, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 70) + EVT_ADD(LVar1, 35) + EVT_ELSE + EVT_SUB(LVar0, 28) + EVT_ADD(LVar1, 14) + EVT_END_IF + EVT_ELSE + EVT_IF_NOT_FLAG(LVar4, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 75) + EVT_ADD(LVar1, 49) + EVT_ELSE + EVT_SUB(LVar0, 30) + EVT_ADD(LVar1, 19) + EVT_END_IF + EVT_END_IF + EVT_ADD(LVar2, 10) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar3, LVar4, LVar5) + EVT_SUB(LVar3, 40) + EVT_SET(LVar4, 20) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, 1, LVar6) + EVT_IF_FLAG(LVar6, ACTOR_EVENT_FLAG_80000) + EVT_CALL(PlayEffect, EFFECT_FIRE_BREATH, 0, LVar0, LVar1, LVar2, LVar3, LVar4, LVar5, 50, 1, 24, 0, 0, 0) + EVT_ELSE + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar7) + EVT_IF_NOT_FLAG(LVar7, STATUS_FLAG_SHRINK) + EVT_ADD(LVar0, 15) + EVT_ELSE + EVT_ADD(LVar0, 6) + EVT_END_IF + EVT_SUB(LVar3, 10) + EVT_CALL(PlayEffect, EFFECT_FIRE_BREATH, 2, LVar0, LVar1, LVar2, LVar3, LVar4, LVar5, 50, 1, 24, 0, 0, 0) + EVT_CALL(N(UnkFireBreathFXFunc), LVarF) + EVT_END_IF + EVT_THREAD + EVT_CALL(N(StartRumbleWithParams), 50, 148) + EVT_CALL(PlaySound, SOUND_3BD) + EVT_WAIT(70) + EVT_CALL(PlaySound, SOUND_7BD) + EVT_END_THREAD + EVT_WAIT(10) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVarA) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_WAIT(10) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_FireBreathLoop) + EVT_WAIT(30) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostFireBreath) + EVT_WAIT(15) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(30) + EVT_EXEC_WAIT(N(onAttackMissed)) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT(30) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_WAIT(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, 1, LVar0) + EVT_IF_FLAG(LVar0, ACTOR_EVENT_FLAG_80000) + EVT_SET(LVar0, 20) + EVT_ELSE + EVT_SET(LVar0, 10) + EVT_END_IF + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, DAMAGE_TYPE_FIRE, 65535, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LVarF) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CASE_OR_EQ(HIT_RESULT_10) + EVT_WAIT(10) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_FireBreathLoop) + EVT_WAIT(30) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostFireBreath) + EVT_WAIT(15) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(30) + EVT_IF_EQ(LVarF, HIT_RESULT_10) + EVT_RETURN + EVT_END_IF + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(onBurnHit) = { + EVT_CALL(SetAnimation, ACTOR_SELF, LVar0, LVar1) + EVT_CALL(func_80269E80, LVar3) + EVT_SWITCH(LVar3) + EVT_CASE_EQ(9) + EVT_CALL(GetOriginalActorType, ACTOR_SELF, LVar7) + EVT_SWITCH(LVar7) + EVT_CASE_OR_EQ(ACTOR_TYPE_MONTY_MOLE) + EVT_CASE_OR_EQ(ACTOR_TYPE_MONTY_MOLE_BOSS) + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_CALL(GetActorPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.01)) + EVT_ADD(LVar5, 55) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, FALSE, FALSE) + EVT_END_SWITCH + EVT_SET(LVar7, 0) + EVT_LOOP(30) + EVT_ADD(LVar7, 48) + EVT_CALL(SetActorYaw, ACTOR_SELF, LVar7) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(GetOriginalActorType, ACTOR_SELF, LVar7) + EVT_SWITCH(LVar7) + EVT_CASE_OR_EQ(ACTOR_TYPE_MONTY_MOLE) + EVT_CASE_OR_EQ(ACTOR_TYPE_MONTY_MOLE_BOSS) + EVT_WAIT(30) + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_SUB(LVar5, 55) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) + EVT_IF_EQ(LVar5, 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_ELSE + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, FALSE, FALSE) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, FALSE, FALSE) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, FALSE, FALSE) + EVT_END_IF + EVT_END_SWITCH + EVT_CASE_DEFAULT + EVT_WAIT(20) + EVT_END_SWITCH + EVT_IF_NE(LVar2, -1) + EVT_CALL(SetAnimation, ACTOR_SELF, LVar0, LVar2) + EVT_END_IF + EVT_WAIT(10) + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar1) + EVT_SWITCH(LVar1) + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, LVar0, LVar1) + EVT_IF_NOT_FLAG(LVar1, ACTOR_EVENT_FLAG_FIREY | ACTOR_EVENT_FLAG_EXPLOSIVE) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetActorSize, ACTOR_SELF, LVar3, LVar4) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar5) + EVT_IF_FLAG(LVar5, STATUS_FLAG_SHRINK) + EVT_MULF(LVar3, EVT_FLOAT(0.4)) + EVT_MULF(LVar4, EVT_FLOAT(0.4)) + EVT_END_IF + EVT_DIVF(LVar3, EVT_FLOAT(2.0)) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar5) + EVT_IF_FLAG(LVar5, ACTOR_FLAG_HP_OFFSET_BELOW) + EVT_SUBF(LVar1, LVar3) + EVT_ELSE + EVT_ADDF(LVar1, LVar3) + EVT_END_IF + EVT_ADDF(LVar2, EVT_FLOAT(5.0)) + EVT_DIVF(LVar3, EVT_FLOAT(10.0)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar5) + EVT_IF_FLAG(LVar5, STATUS_FLAG_SHRINK) + EVT_MULF(LVar3, EVT_FLOAT(0.4)) + EVT_IF_LT(LVar3, 1) + EVT_SETF(LVar3, EVT_FLOAT(1.0)) + EVT_END_IF + EVT_END_IF + EVT_CALL(PlayEffect, EFFECT_SMOKE_BURST, 0, LVar0, LVar1, LVar2, LVar3, 10, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(attackLightningBlast) = { + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_13) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 30) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 30) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_3EF) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Brandish) + EVT_CALL(N(FadeBackgroundToBlack)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 54) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_ENERGY_IN_OUT, 2, LVar0, LVar1, LVar2, EVT_FLOAT(1.5), 50, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT(50) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 22) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_LIGHT_RAYS, 2, LVar0, 135, LVar2, EVT_FLOAT(1.5), LVarF, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2121) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 135, LVar2, EVT_FLOAT(1.5), LVarE, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT(30) + EVT_CALL(RemoveEffect, LVarF) + EVT_CALL(RemoveEffect, LVarE) + EVT_ELSE + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 21) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_ENERGY_IN_OUT, 2, LVar0, LVar1, LVar2, EVT_FLOAT(0.6), 50, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT(50) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 9) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_LIGHT_RAYS, 2, LVar0, 54, LVar2, EVT_FLOAT(0.6), LVarF, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2121) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 54, LVar2, EVT_FLOAT(0.6), LVarE, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT(30) + EVT_CALL(RemoveEffect, LVarF) + EVT_CALL(RemoveEffect, LVarE) + EVT_END_IF + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2127) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_THREAD + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, 0, LVar1) + EVT_CALL(N(UnkLightningBoltFxFunc1), LVar0, LVar1) + EVT_END_THREAD + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVarA) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_WAIT(10) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_WAIT(20) + EVT_CALL(N(UnfadeBackgroundToBlack)) + EVT_ELSE + EVT_WAIT(20) + EVT_CALL(N(UnfadeBackgroundToBlack)) + EVT_END_IF + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_WAIT(5) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, 1, LVar0) + EVT_IF_FLAG(LVar0, ACTOR_EVENT_FLAG_80000) + EVT_SET(LVar0, 20) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, DAMAGE_TYPE_ELECTRIC | DAMAGE_TYPE_NO_CONTACT, 0, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_ELSE + EVT_SET(LVar0, 10) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, DAMAGE_TYPE_ELECTRIC | DAMAGE_TYPE_NO_CONTACT, 0, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_END_IF + EVT_SWITCH(LVarF) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CASE_OR_EQ(HIT_RESULT_10) + EVT_WAIT(30) + EVT_CALL(N(UnfadeBackgroundToBlack)) + EVT_IF_EQ(LVarF, HIT_RESULT_10) + EVT_RETURN + EVT_END_IF + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; diff --git a/src/battle/area_kpa2/actor/bowser_phase_3.c b/src/battle/area_kpa2/actor/bowser_phase_3.c new file mode 100644 index 0000000000..59ff41b1bd --- /dev/null +++ b/src/battle/area_kpa2/actor/bowser_phase_3.c @@ -0,0 +1,1839 @@ +#include "common.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/BattleBowser.h" +#include "effects.h" + +#define NAMESPACE b_area_kpa2_bowser_phase_3 + +enum N(ActorVars) { + N(VAR_TURN_COUNTER) = 0, + N(VAR_FLAGS) = 1, + N(VAR_TURNS_SINCE_LAST_SHOCKWAVE_DRAIN) = 2, + N(VAR_TURNS_SINCE_LAST_STAR_BEAM) = 3, + N(VAR_TURNS_SINCE_LAST_CLAW_SWIPE) = 4, + N(VAR_TURNS_SINCE_LAST_HEAVY_JUMP) = 5, + N(VAR_TURNS_SINCE_LAST_RECOVER) = 6, + N(VAR_RECOVERS_LEFT) = 7, + N(VAR_COMMAND_LOSS_STATE) = 9, + N(VAR_LOST_ABILITY_ITEM) = 10, +}; + +extern EvtScript N(init); +extern EvtScript N(idle); +extern EvtScript N(takeTurn); +extern EvtScript N(handleEvent); +extern EvtScript N(nextTurn); +extern EvtScript N(attackFlameBreath); +extern EvtScript N(attackClawSwipe); +extern EvtScript N(attackHeavyJump); +extern EvtScript N(normalAttack); +extern EvtScript N(attackLightningBlast); +extern EvtScript N(attackShockwaveDrain); +extern EvtScript N(attack); +extern EvtScript N(useStarRod); +extern EvtScript N(doTakeTurn); +extern EvtScript N(doOnHit); +extern EvtScript N(onImmune); +extern EvtScript N(onDeath); +extern EvtScript N(jumpHome); +extern EvtScript N(returnHome); +extern EvtScript N(onHit); +extern EvtScript N(onBurnHit); +extern EvtScript N(makeWalkingSounds); +extern EvtScript N(unkDecorationScript); + +s32 N(idleAnimations)[] = { + STATUS_NORMAL, ANIM_BattleBowser_Idle, + STATUS_STONE, ANIM_BattleBowser_Still, + STATUS_SLEEP, ANIM_BattleBowser_Idle, + STATUS_POISON, ANIM_BattleBowser_Idle, + STATUS_STOP, ANIM_BattleBowser_Still, + STATUS_STATIC, ANIM_BattleBowser_Still, + STATUS_PARALYZE, ANIM_BattleBowser_Still, + STATUS_PARALYZE, ANIM_BattleBowser_Still, + STATUS_DIZZY, ANIM_BattleBowser_Idle, + STATUS_DIZZY, ANIM_BattleBowser_Idle, + STATUS_END, +}; + +s32 N(defenseTable)[] = { + ELEMENT_NORMAL, 2, + ELEMENT_END, +}; + +s32 N(defenseTable_boosted)[] = { + ELEMENT_NORMAL, 99, + ELEMENT_END, +}; + +s32 N(statusTable)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 0, + STATUS_POISON, 0, + STATUS_FROZEN, 0, + STATUS_DIZZY, 0, + STATUS_FEAR, 0, + STATUS_STATIC, 0, + STATUS_PARALYZE, 0, + STATUS_SHRINK, 0, + STATUS_STOP, 0, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, -1, + STATUS_POISON_TURN_MOD, 0, + STATUS_FROZEN_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, -1, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, -1, + STATUS_SHRINK_TURN_MOD, -1, + STATUS_STOP_TURN_MOD, -2, + STATUS_END, +}; + +s32 N(statusTable_boosted)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 0, + STATUS_POISON, 0, + STATUS_FROZEN, 0, + STATUS_DIZZY, 0, + STATUS_FEAR, 0, + STATUS_STATIC, 0, + STATUS_PARALYZE, 0, + STATUS_SHRINK, 0, + STATUS_STOP, 0, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, -1, + STATUS_POISON_TURN_MOD, 0, + STATUS_FROZEN_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, -1, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, -1, + STATUS_SHRINK_TURN_MOD, -1, + STATUS_STOP_TURN_MOD, -2, + STATUS_END, +}; + +ActorPartBlueprint N(parts)[] = { + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { -27, 108 }, + .opacity = 255, + .idleAnimations = N(idleAnimations), + .defenseTable = N(defenseTable), + .eventFlags = 0, + .elementImmunityFlags = 0, + .unk_1C = 0, + .unk_1D = -8, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = 0, + .type = ACTOR_TYPE_BOWSER_PHASE_3, + .level = 0, + .maxHP = 99, + .partCount = ARRAY_COUNT(N(parts)), + .partsData = N(parts), + .script = &N(init), + .statusTable = N(statusTable), + .escapeChance = 0, + .airLiftChance = 0, + .spookChance = 0, + .baseStatusChance = 0, + .upAndAwayChance = 0, + .spinSmashReq = 4, + .powerBounceChance = 60, + .coinReward = 0, + .size = { 123, 119 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -53, 103 }, + .statusMessageOffset = { 33, 92 }, +}; + +#define BOWSER_LARGE +#include "common/StartRumbleWithParams.inc.c" + +ApiStatus N(MakeLightnings)(Evt* script, s32 isInitialCall) { + Bytecode* args = script->ptrReadPos; + s32 angles[] = { 90, 135, 225, 270, 315, 405 }; + Actor* actor = get_actor(script->owner1.actorID); + s32 x, y, z; + f32 scale; + s32 i; + + if (actor == NULL) { + return ApiStatus_DONE2; + } + + x = evt_get_variable(script, *args++); + y = evt_get_variable(script, *args++); + z = evt_get_variable(script, *args++); + scale = evt_get_float_variable(script, *args++); + + if (actor->debuff != STATUS_SHRINK) { + y += scale * 36.0f; + } else { + y += scale * 14.4; + } + + for (i = 0; i < ARRAY_COUNT(angles); i++) { + f32 angle = angles[i] + rand_int(30) - 15; + s32 x1 = sin_deg(angle) * 200.0f + x; + s32 y1 = cos_deg(angle) * 200.0f + y; + s32 z1 = z + 20; + EffectInstance* effect = fx_lightning_bolt(1, x, y, z, x1, y1, z1, scale, 11); + s32 temp1 = rand_int(256); + s32 temp2 = rand_int(256); + s32 temp3 = rand_int(256); + + effect->data.lightningBolt->unk_30 = temp1; + effect->data.lightningBolt->unk_34 = temp2; + effect->data.lightningBolt->unk_38 = temp3; + } + return ApiStatus_DONE2; +} +#include "common/UnkBowserFunc1.inc.c" +#include "common/FadeBackgroundToBlack.inc.c" +#include "common/UnfadeBackgroundToBlack.inc.c" +#include "common/RemoveChillOut.inc.c" +#include "common/StarRodAppearEffect.inc.c" +#include "common/StarRodPowerUpEffect.inc.c" +#include "common/GetJumpHammerCharge.inc.c" +#include "common/GetPlayerHpPercent.inc.c" +#include "common/ItemEntityJumpToPos.inc.c" +#include "common/GetItemEntityPosition.inc.c" + +EvtScript N(init) = { + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_SHOCKWAVE_DRAIN), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_CLAW_SWIPE), 3) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_HEAVY_JUMP), 3) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_COMMAND_LOSS_STATE), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LOST_ABILITY_ITEM), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_STAR_BEAM), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_RECOVER), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_RECOVERS_LEFT), 3) + EVT_CALL(SetActorVar, ACTOR_SELF, 14, 0) + EVT_CALL(SetEnemyHP, ACTOR_SELF, GB_FinalBowserHP) + EVT_IF_LT(GB_FinalBowserHP, 1) + EVT_CALL(SetEnemyHP, ACTOR_SELF, 1) + EVT_END_IF + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.5), EVT_FLOAT(1.5), EVT_FLOAT(1.0)) + EVT_CALL(ModifyActorDecoration, ACTOR_SELF, 1, 1, 150, 0, 0, 0) + EVT_EXEC(N(unkDecorationScript)) + EVT_CALL(ModifyActorDecoration, ACTOR_SELF, 1, 0, 150, 150, 0, 0) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 10) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_80000, 1) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 1, 11) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable_boosted))) + EVT_CALL(SetStatusTable, ACTOR_SELF, EVT_PTR(N(statusTable_boosted))) + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_PTR(N(takeTurn))) + EVT_CALL(BindIdle, ACTOR_SELF, EVT_PTR(N(idle))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_PTR(N(handleEvent))) + EVT_CALL(BindNextTurn, ACTOR_SELF, EVT_PTR(N(nextTurn))) + EVT_CALL(SetBattleFlagBits2, BS_FLAGS2_2000000, 1) + EVT_RETURN + EVT_END +}; + +EvtScript N(idle) = { + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetAnimation, ACTOR_SELF, 1, LVar3) + EVT_LABEL(0) + EVT_CALL(ActorExists, ACTOR_SELF, LVarB) + EVT_IF_EQ(LVarB, 0) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarB) + EVT_IF_NOT_FLAG(LVarB, STATUS_FLAG_SHRINK) + EVT_CALL(ModifyActorDecoration, ACTOR_SELF, 1, 0, 150, 150, 255, 0) + EVT_CALL(ModifyActorDecoration, ACTOR_SELF, 1, 1, 150, 0, 0, 0) + EVT_ELSE + EVT_CALL(ModifyActorDecoration, ACTOR_SELF, 1, 0, 60, 60, 255, 0) + EVT_CALL(ModifyActorDecoration, ACTOR_SELF, 1, 1, 60, 0, 0, 0) + EVT_END_IF + EVT_EXEC_WAIT(N(makeWalkingSounds)) + EVT_WAIT(1) + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +EvtScript N(nextTurn) = { + EVT_CALL(GetBattlePhase, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(PHASE_PLAYER_BEGIN) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), LVar0) + EVT_IF_EQ(LVar0, 0) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(func_802535B4, 0) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 15) + EVT_ADD(LVar1, 90) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 420) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 30) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 6) + EVT_ADD(LVar1, 36) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 420) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 30) + EVT_END_IF + EVT_CALL(ActorSpeak, MSG_CH8_00A6, ACTOR_SELF, 1, ANIM_BattleBowser_Talk, ANIM_BattleBowser_Idle) + EVT_CALL(func_802535B4, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_END_IF + EVT_CASE_EQ(PHASE_ENEMY_BEGIN) + EVT_CALL(GetActorHP, ACTOR_SELF, LVar0) + EVT_CALL(GetEnemyMaxHP, ACTOR_SELF, LVar1) + EVT_MUL(LVar0, 100) + EVT_DIV(LVar0, LVar1) + EVT_IF_LT(LVar0, 50) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_FLAGS), LVar0) + EVT_IF_NOT_FLAG(LVar0, 0x10) + EVT_BITWISE_OR_CONST(LVar0, 0x10) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLAGS), LVar0) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(func_802535B4, 0) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 15) + EVT_ADD(LVar1, 90) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 420) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 30) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 6) + EVT_ADD(LVar1, 36) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 420) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 30) + EVT_END_IF + EVT_CALL(ActorSpeak, MSG_CH8_00A8, ACTOR_SELF, 1, ANIM_BattleBowser_Talk, ANIM_BattleBowser_Idle) + EVT_CALL(func_802535B4, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_END_IF + EVT_END_IF + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(GetLastElement, LVarE) + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(EVENT_BEGIN_FIRST_STRIKE) + EVT_CASE_OR_EQ(EVENT_HIT_COMBO) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_SET(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onHit)) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(DoNormalHit) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onDeath)) + EVT_RETURN + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET(LVar0, 1) + EVT_SET(LVar1, ANIM_BattleBowser_BurnHurt) + EVT_SET(LVar2, ANIM_BattleBowser_BurnStill) + EVT_EXEC_WAIT(N(onBurnHit)) + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET(LVar0, 1) + EVT_SET(LVar1, ANIM_BattleBowser_BurnHurt) + EVT_SET(LVar2, ANIM_BattleBowser_BurnStill) + EVT_EXEC_WAIT(N(onBurnHit)) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_BurnStill) + EVT_EXEC_WAIT(N(onDeath)) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_SET(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onHit)) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(DoNormalHit) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onDeath)) + EVT_RETURN + EVT_CASE_EQ(EVENT_SHOCK_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(jumpHome)) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_CASE_EQ(EVENT_SHOCK_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(jumpHome)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(onDeath)) + EVT_RETURN + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_CALL(func_80269E80, LVar2) + EVT_SWITCH(LVar2) + EVT_CASE_OR_EQ(18) + EVT_CASE_OR_EQ(21) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Mock) + EVT_WAIT(30) + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_SET(LVar1, ANIM_BattleBowser_Mock) + EVT_EXEC_WAIT(N(onImmune)) + EVT_END_SWITCH + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_AIR_LIFT_FAILED) + EVT_SET_CONST(LVar0, 1) + EVT_SET(LVar1, ANIM_BattleBowser_Idle) + EVT_EXEC_WAIT(DoImmune) + EVT_CASE_EQ(EVENT_SPIKE_TAUNT) + EVT_CASE_EQ(EVENT_END_FIRST_STRIKE) + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Jump) + EVT_EXEC_WAIT(DoRecover) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostJump) + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(3.0)) + EVT_CASE_EQ(EVENT_SWAP_PARTNER) + EVT_CALL(N(UnfadeBackgroundToBlack)) + EVT_CASE_EQ(EVENT_30) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT(1000) + EVT_CASE_EQ(EVENT_1D) + EVT_SET(LVar1, ANIM_BattleBowser_Idle) + EVT_EXEC_WAIT(N(onImmune)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_NO_DMG_APPLY, 1) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_DISABLE_CELEBRATION | BS_FLAGS1_ENEMY_FLED, 1) + EVT_CALL(func_8026F60C, 10) + EVT_RETURN + EVT_CASE_EQ(EVENT_PEACH_BEAM) + EVT_CALL(FreezeBattleCam, 1) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 1) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_SET(LVar3, 75) + EVT_SET(LVar4, 60) + EVT_ELSE + EVT_SET(LVar3, 30) + EVT_SET(LVar4, 24) + EVT_END_IF + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, LVar3) + EVT_CALL(PlayEffect, EFFECT_SPARKLES, 0, LVar0, LVar1, LVar2, 75, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, LVar4) + EVT_CALL(PlayEffect, EFFECT_SHIMMER_BURST, 1, LVar0, LVar1, LVar2, EVT_FLOAT(1.05), 50, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_80000, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_STAR_BEAM), 0) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable))) + EVT_CALL(SetStatusTable, ACTOR_SELF, EVT_PTR(N(statusTable))) + EVT_SET(LVar1, ANIM_BattleBowser_Hurt) + EVT_EXEC_WAIT(N(doOnHit)) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_FLAGS), LVar0) + EVT_IF_NOT_FLAG(LVar0, 0x20) + EVT_BITWISE_OR_CONST(LVar0, 0x20) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLAGS), LVar0) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_SET(LVar3, 90) + EVT_ELSE + EVT_SET(LVar3, 36) + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 15) + EVT_ADD(LVar1, LVar3) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 420) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 30) + EVT_CALL(ActorSpeak, MSG_CH8_00A7, ACTOR_SELF, 1, ANIM_BattleBowser_Hurt, ANIM_BattleBowser_Hurt) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 45) + EVT_END_IF + EVT_CALL(FreezeBattleCam, 0) + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(onHit) = { + EVT_EXEC_WAIT(N(doOnHit)) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(doOnHit) = { + EVT_SET_CONST(LVar0, 1) + EVT_EXEC_WAIT(DoNormalHit) + EVT_RETURN + EVT_END +}; + +EvtScript N(onDeath) = { + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_80000, 0) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 1) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_WAIT(14) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_HurtStill) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 15) + EVT_ADD(LVar1, 67) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 420) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 15) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 6) + EVT_ADD(LVar1, 27) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 420) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 15) + EVT_END_IF + EVT_WAIT(30) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2128) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Hurt) + EVT_THREAD + EVT_CALL(MakeLerp, 0, 80, 8, 4) + EVT_SET(LVar2, 0) + EVT_LABEL(0) + EVT_CALL(UpdateLerp) + EVT_LABEL(1) + EVT_IF_GE(LVar2, LVar0) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar3, LVar4, LVar5) + EVT_CALL(GetActorScale, ACTOR_SELF, LVar6, LVar6, LVar7) + EVT_CALL(N(MakeLightnings), LVar3, LVar4, LVar5, LVar6) + EVT_IF_EQ(LVar1, 1) + EVT_GOTO(0) + EVT_END_IF + EVT_ELSE + EVT_WAIT(1) + EVT_ADD(LVar2, 1) + EVT_GOTO(1) + EVT_END_IF + EVT_END_THREAD + EVT_WAIT(20) + EVT_THREAD + EVT_WAIT(30) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarA) + EVT_IF_NOT_FLAG(LVarA, STATUS_FLAG_SHRINK) + EVT_ADD(LVar1, 60) + EVT_ELSE + EVT_ADD(LVar1, 24) + EVT_END_IF + EVT_CALL(PlayEffect, EFFECT_SHIMMER_BURST, 1, LVar0, LVar1, LVar2, EVT_FLOAT(1.05), 50, 0, 0, 0, 0, 0, 0, 0) + EVT_SET(LVar1, 50) + EVT_IF_GT(LVar1, 0) + EVT_SETF(LVar0, EVT_FLOAT(1.5)) + EVT_LOOP(LVar1) + EVT_SUBF(LVar0, EVT_FLOAT(0.01)) + EVT_CALL(SetActorScale, ACTOR_SELF, LVar0, LVar0, EVT_FLOAT(1.0)) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_END_IF + EVT_END_THREAD + EVT_CALL(EnableActorBlur, ACTOR_SELF, 1) + EVT_CALL(MakeLerp, 0, 6480, 100, 10) + EVT_LABEL(2) + EVT_CALL(UpdateLerp) + EVT_MOD(LVar0, 360) + EVT_CALL(SetActorYaw, ACTOR_SELF, LVar0) + EVT_WAIT(1) + EVT_IF_EQ(LVar1, 1) + EVT_GOTO(2) + EVT_END_IF + EVT_CALL(EnableActorBlur, ACTOR_SELF, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_HurtStill) + EVT_WAIT(15) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2129) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_DefeatedIdle) + EVT_THREAD + EVT_CALL(N(StartRumbleWithParams), 180, 16) + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(3.0)) + EVT_END_THREAD + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(PlayEffect, EFFECT_LANDING_DUST, 4, LVar0, LVar1, LVar2, 0, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(SetPartScale, ACTOR_SELF, 1, EVT_FLOAT(1.1), EVT_FLOAT(0.93), EVT_FLOAT(1.0)) + EVT_WAIT(1) + EVT_CALL(SetPartScale, ACTOR_SELF, 1, EVT_FLOAT(1.2), EVT_FLOAT(0.85), EVT_FLOAT(1.0)) + EVT_WAIT(1) + EVT_CALL(SetPartScale, ACTOR_SELF, 1, EVT_FLOAT(1.25), EVT_FLOAT(0.8), EVT_FLOAT(1.0)) + EVT_WAIT(1) + EVT_CALL(SetPartScale, ACTOR_SELF, 1, EVT_FLOAT(1.3), EVT_FLOAT(0.75), EVT_FLOAT(1.0)) + EVT_WAIT(1) + EVT_CALL(SetPartScale, ACTOR_SELF, 1, EVT_FLOAT(1.2), EVT_FLOAT(0.87), EVT_FLOAT(1.0)) + EVT_WAIT(1) + EVT_CALL(SetPartScale, ACTOR_SELF, 1, EVT_FLOAT(1.1), EVT_FLOAT(0.9201), EVT_FLOAT(1.0)) + EVT_WAIT(1) + EVT_CALL(SetPartScale, ACTOR_SELF, 1, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_WAIT(30) + EVT_CALL(SetActorSize, ACTOR_SELF, 52, 115) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 15) + EVT_ADD(LVar1, 45) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 300) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 40) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 6) + EVT_ADD(LVar1, 18) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 300) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 40) + EVT_END_IF + EVT_CALL(ActorSpeak, MSG_CH8_00A9, ACTOR_SELF, 1, ANIM_BattleBowser_DefeatedTalk, ANIM_BattleBowser_DefeatedIdle) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_NO_DMG_APPLY, 1) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_DISABLE_CELEBRATION | BS_FLAGS1_ENEMY_FLED, 1) + EVT_CALL(func_8026F60C, 20) + EVT_RETURN + EVT_END +}; + +EvtScript N(onImmune) = { + EVT_SET_CONST(LVar0, 1) + EVT_EXEC_WAIT(DoImmune) + EVT_RETURN + EVT_END +}; + +EvtScript N(takeTurn) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_EXEC_WAIT(N(doTakeTurn)) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(powerUp) = { + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Brandish) + EVT_EXEC_WAIT(N(useStarRod)) + EVT_RETURN + EVT_END +}; + +EvtScript N(returnHome) = { + EVT_SET(LVar0, 1) + EVT_CALL(GetActorPos, ACTOR_SELF, LVarA, LVarB, LVarC) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVarD, LVarE, LVarF) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(GetDist2D, LVar9, LVarA, LVarC, LVarD, LVarF) + EVT_IF_GE(LVar9, EVT_FLOAT(5.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, LVar0, LVar1) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_END_IF + EVT_IF_EQ(LVarB, 180) + EVT_LOOP(15) + EVT_SUB(LVarB, 12) + EVT_CALL(SetActorYaw, ACTOR_SELF, LVarB) + EVT_WAIT(1) + EVT_END_LOOP + EVT_END_IF + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(unkDecorationScript) = { + EVT_CALL(N(UnkBowserFunc1)) + EVT_RETURN + EVT_END +}; + +EvtScript N(useStarRod) = { + EVT_CALL(N(FadeBackgroundToBlack)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_ADD(LVar0, 22) + EVT_ADD(LVar1, 135) + EVT_THREAD + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2123) + EVT_ADD(LVar2, 10) + EVT_CALL(N(StarRodAppearEffect), LVar0, LVar1, LVar2, EVT_FLOAT(2.5), EVT_FLOAT(0.0751953125)) + EVT_END_THREAD + EVT_ELSE + EVT_ADD(LVar0, 9) + EVT_ADD(LVar1, 54) + EVT_THREAD + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2123) + EVT_ADD(LVar2, 10) + EVT_CALL(N(StarRodAppearEffect), LVar0, LVar1, LVar2, EVT_FLOAT(2.5), EVT_FLOAT(0.03)) + EVT_END_THREAD + EVT_END_IF + EVT_WAIT(65) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_ADD(LVar0, 22) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_LIGHT_RAYS, 2, LVar0, 135, LVar2, EVT_FLOAT(1.5), LVarF, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 135, LVar2, EVT_FLOAT(1.0), LVarE, 0, 0, 0, 0, 0, 0, 0) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 135, LVar2, EVT_FLOAT(1.5), LVarD, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_ADD(LVar0, 9) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_LIGHT_RAYS, 2, LVar0, 54, LVar2, EVT_FLOAT(0.6), LVarF, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 54, LVar2, EVT_FLOAT(0.4), LVarE, 0, 0, 0, 0, 0, 0, 0) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 54, LVar2, EVT_FLOAT(0.6), LVarD, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2121) + EVT_WAIT(30) + EVT_CALL(RemoveEffect, LVarF) + EVT_CALL(RemoveEffect, LVarE) + EVT_CALL(RemoveEffect, LVarD) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_80000, 1) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 1, 11) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable_boosted))) + EVT_CALL(SetStatusTable, ACTOR_SELF, EVT_PTR(N(statusTable_boosted))) + EVT_CALL(N(RemoveChillOut)) + EVT_WAIT(3) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 60) + EVT_ADD(LVar2, 12) + EVT_CALL(PlayEffect, EFFECT_STARS_SHIMMER, 3, LVar0, LVar1, LVar2, 105, 120, 37, 60, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 24) + EVT_ADD(LVar2, 12) + EVT_CALL(PlayEffect, EFFECT_STARS_SHIMMER, 3, LVar0, LVar1, LVar2, 42, 48, 15, 60, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2125) + EVT_THREAD + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(N(StarRodPowerUpEffect), LVar0, LVar1, LVar2, EVT_FLOAT(1.2)) + EVT_END_THREAD + EVT_WAIT(75) + EVT_THREAD + EVT_CALL(N(UnfadeBackgroundToBlack)) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_RearUpLaugh) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_ADD(LVar1, 60) + EVT_ELSE + EVT_ADD(LVar1, 24) + EVT_END_IF + EVT_CALL(PlayEffect, EFFECT_ENERGY_ORB_WAVE, 4, LVar0, LVar1, LVar2, EVT_FLOAT(1.5), 15, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2124) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 39) + EVT_WAIT(30) + EVT_RETURN + EVT_END +}; + +EvtScript N(jumpHome) = { + EVT_IF_NE(LVar1, -1) + EVT_CALL(SetAnimation, ACTOR_SELF, LVar0, LVar1) + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.4)) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar2, LVar3, LVar4) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar5, LVar6, LVar7) + EVT_SET(LVar8, LVar2) + EVT_ADD(LVar8, LVar5) + EVT_DIV(LVar8, 2) + EVT_SET(LVar9, LVar4) + EVT_ADD(LVar9, LVar7) + EVT_DIV(LVar9, 2) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar8, 0, LVar9) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_ADD(LVar8, LVar2) + EVT_DIV(LVar8, 2) + EVT_ADD(LVar9, LVar4) + EVT_DIV(LVar9, 2) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar8, 0, LVar9) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar2, LVar3, LVar4) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_RETURN + EVT_END +}; + +EvtScript N(makeWalkingSounds) = { + EVT_CALL(GetAnimation, ACTOR_SELF, 1, LVar7) + EVT_IF_NE(LVar7, ANIM_BattleBowser_Walk) + EVT_IF_EQ(LVar3, ANIM_BattleBowser_Walk) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20B4) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20F6) + EVT_END_IF + EVT_SET(LVar3, LVar7) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorPos, ACTOR_SELF, LVar5, LVar6, LVar7) + EVT_SUB(LVar5, LVar0) + EVT_IF_GT(LVar5, -30) + EVT_IF_LT(LVar5, 30) + EVT_SET(LVar3, LVar7) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20B4) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20F6) + EVT_SET(LVar3, LVar7) + EVT_RETURN + EVT_END +}; + +EvtScript N(recover) = { + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_RECOVERS_LEFT), LVar0) + EVT_SUB(LVar0, 1) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_RECOVERS_LEFT), LVar0) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 15) + EVT_ADD(LVar1, 97) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 420) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 40) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 6) + EVT_ADD(LVar1, 39) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 294) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 40) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Brandish) + EVT_CALL(N(FadeBackgroundToBlack)) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2126) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 22) + EVT_ADD(LVar1, 135) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_ENERGY_IN_OUT, 2, LVar0, LVar1, LVar2, EVT_FLOAT(1.5), 50, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 22) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 5, LVar0, 135, LVar2, EVT_FLOAT(0.45), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 9) + EVT_ADD(LVar1, 54) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_ENERGY_IN_OUT, 2, LVar0, LVar1, LVar2, EVT_FLOAT(0.6), 50, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 9) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 5, LVar0, 54, LVar2, EVT_FLOAT(0.18), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_WAIT(30) + EVT_CALL(GetEnemyMaxHP, ACTOR_SELF, LVar0) + EVT_MUL(LVar0, 31) + EVT_DIV(LVar0, 100) + EVT_THREAD + EVT_WAIT(5) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_206D) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_214) + EVT_WAIT(30) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_25C) + EVT_END_THREAD + EVT_THREAD + EVT_CALL(func_8026BF48, 1) + EVT_CALL(HealActor, ACTOR_SELF, LVar0, 0) + EVT_CALL(func_8026BF48, 0) + EVT_END_THREAD + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(doTakeTurn) = { + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), 1) + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_CLAW_SWIPE), 1) + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_HEAVY_JUMP), 1) + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_SHOCKWAVE_DRAIN), 1) + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_STAR_BEAM), 1) + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_RECOVER), 1) + EVT_CALL(GetActorHP, ACTOR_SELF, LVar0) + EVT_CALL(GetEnemyMaxHP, ACTOR_SELF, LVar1) + EVT_MUL(LVar0, 100) + EVT_DIV(LVar0, LVar1) + EVT_CALL(N(GetPlayerHpPercent), LVar2) + EVT_SUB(LVar2, LVar0) + EVT_IF_GT(LVar2, 25) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_RECOVERS_LEFT), LVar0) + EVT_IF_NE(LVar0, 0) + EVT_CALL(RandInt, 100, LVar0) + EVT_IF_LT(LVar0, 75) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_RECOVER), LVar0) + EVT_IF_GT(LVar0, 1) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_RECOVER), 0) + EVT_EXEC_WAIT(N(recover)) + EVT_RETURN + EVT_ELSE + EVT_CALL(RandInt, 100, LVar0) + EVT_IF_LT(LVar0, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_RECOVER), 0) + EVT_EXEC_WAIT(N(recover)) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), LVar0) + EVT_IF_GT(LVar0, 1) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, 1, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_EVENT_FLAG_80000) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_STAR_BEAM), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(1) + EVT_SET(LVar0, 0) + EVT_CASE_EQ(2) + EVT_SET(LVar0, 0) + EVT_CASE_EQ(3) + EVT_SET(LVar0, 15) + EVT_CASE_DEFAULT + EVT_SET(LVar0, 75) + EVT_END_SWITCH + EVT_CALL(RandInt, 100, LVar1) + EVT_IF_LT(LVar1, LVar0) + EVT_EXEC_WAIT(N(powerUp)) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_SHOCKWAVE_DRAIN), LVar0) + EVT_IF_LT(LVar0, 3) + EVT_EXEC_WAIT(N(normalAttack)) + EVT_RETURN + EVT_END_IF + EVT_EXEC_WAIT(N(attack)) + EVT_RETURN + EVT_END +}; + +EvtScript N(attack) = { + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURN_COUNTER), LVar0) + EVT_IF_LE(LVar0, 3) + EVT_EXEC_WAIT(N(normalAttack)) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_SHOCKWAVE_DRAIN), LVar0) + EVT_IF_GE(LVar0, 6) + EVT_CALL(RandInt, 30, LVar0) + EVT_IF_LT(LVar0, 20) + EVT_EXEC_WAIT(N(attackShockwaveDrain)) + EVT_ELSE + EVT_EXEC_WAIT(N(attackLightningBlast)) + EVT_END_IF + EVT_RETURN + EVT_END_IF + EVT_CALL(RandInt, 100, LVar0) + EVT_IF_LT(LVar0, 75) + EVT_CALL(N(GetJumpHammerCharge), LVar0, LVar1) + EVT_IF_GT(LVar0, 0) + EVT_EXEC_WAIT(N(attackShockwaveDrain)) + EVT_RETURN + EVT_END_IF + EVT_IF_GT(LVar1, 0) + EVT_EXEC_WAIT(N(attackShockwaveDrain)) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_CALL(RandInt, 110, LVar0) + EVT_IF_LT(LVar0, 30) + EVT_IF_LT(LVar0, 20) + EVT_EXEC_WAIT(N(attackShockwaveDrain)) + EVT_ELSE + EVT_EXEC_WAIT(N(attackLightningBlast)) + EVT_END_IF + EVT_RETURN + EVT_END_IF + EVT_EXEC_WAIT(N(normalAttack)) + EVT_RETURN + EVT_RETURN + EVT_END +}; + +EvtScript N(normalAttack) = { + EVT_CALL(RandInt, 80, LVar0) + EVT_IF_LT(LVar0, 20) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_HEAVY_JUMP), LVar0) + EVT_IF_GE(LVar0, 2) + EVT_EXEC_WAIT(N(attackHeavyJump)) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_CALL(RandInt, 60, LVar0) + EVT_IF_LT(LVar0, 20) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_CLAW_SWIPE), LVar0) + EVT_IF_GE(LVar0, 2) + EVT_EXEC_WAIT(N(attackClawSwipe)) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_EXEC_WAIT(N(attackFlameBreath)) + EVT_RETURN + EVT_END +}; + +#include "common/DisableRandomAbility.inc.c" +#include "common/CanPlayerLoseAction.inc.c" +#include "common/UnkFireBreathFXFunc.inc.c" +#include "common/UnkLightningBoltFxFunc1.inc.c" + +EvtScript N(inflictCommandLoss) = { + EVT_LABEL(0) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_COMMAND_LOSS_STATE), LVarA) + EVT_SWITCH(LVarA) + EVT_CASE_EQ(0) + EVT_CASE_EQ(1) + EVT_CALL(GetActorPos, ACTOR_PLAYER, LVar1, LVar2, LVar3) + EVT_SET(LVar2, 0) + EVT_SUB(LVar3, 1) + EVT_CALL(N(DisableRandomAbility), LVar4, LVar5) + EVT_CALL(MakeItemEntity, LVar4, LVar1, LVar2, LVar3, 1, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LOST_ABILITY_ITEM), LVar0) + EVT_ADD(LVar1, 7) + EVT_CALL(N(ItemEntityJumpToPos), LVar0, LVar1, LVar2, LVar3, 8, EVT_FLOAT(1.0)) + EVT_ADD(LVar1, 12) + EVT_CALL(N(ItemEntityJumpToPos), LVar0, LVar1, LVar2, LVar3, 8, EVT_FLOAT(1.0)) + EVT_ADD(LVar1, 7) + EVT_CALL(N(ItemEntityJumpToPos), LVar0, LVar1, LVar2, LVar3, 5, EVT_FLOAT(1.0)) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_COMMAND_LOSS_STATE), 0) + EVT_CASE_EQ(2) + EVT_CALL(ShowMessageBox, LVar5, 60) + EVT_CALL(RemoveItemEntity, LVar0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_COMMAND_LOSS_STATE), 3) + EVT_RETURN + EVT_END_SWITCH + EVT_WAIT(1) + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +EvtScript N(attackHeavyJump) = { + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_HEAVY_JUMP), 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(SetBattleCamZoom, 300) + EVT_CALL(SetBattleCamOffsetZ, 54) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 40) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(SetBattleCamZoom, 240) + EVT_CALL(SetBattleCamOffsetZ, 21) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 40) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Walk) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, 60, 0, 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(15) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PreJump) + EVT_WAIT(3) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Jump) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.2)) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVarA) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 30) + EVT_SET(LVar1, 0) + EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 0, 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 18, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(3.0)) + EVT_END_THREAD + EVT_SUB(LVar0, 35) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 14, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(2.0)) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostJump) + EVT_WAIT(3) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(25) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(3.0)) + EVT_END_THREAD + EVT_WAIT(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Land) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, 1, LVar1) + EVT_IF_FLAG(LVar1, ACTOR_EVENT_FLAG_80000) + EVT_SET(LVar0, 16) + EVT_ELSE + EVT_SET(LVar0, 8) + EVT_END_IF + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarF) + EVT_IF_NOT_FLAG(LVarF, STATUS_FLAG_SHRINK) + EVT_CALL(func_80269EAC, 24) + EVT_END_IF + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, 0, 0, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SET(LVar0, -1) + EVT_CALL(GetBattleFlags, LVar1) + EVT_IF_NOT_FLAG(LVar1, BS_FLAGS1_ATK_BLOCKED) + EVT_CALL(GetStatusFlags, ACTOR_PLAYER, LVar1) + EVT_IF_NOT_FLAG(LVar1, STATUS_FLAG_STONE | STATUS_FLAG_RIGHT_ON) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar1) + EVT_IF_NOT_FLAG(LVar1, STATUS_FLAG_SHRINK) + EVT_CALL(N(CanPlayerLoseAction), LVar0) + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_IF_NE(LVar0, -1) + EVT_CALL(LandJump, ACTOR_SELF) + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20EA) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_COMMAND_LOSS_STATE), 1) + EVT_EXEC(N(inflictCommandLoss)) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 52) + EVT_SET(LVar1, 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20EA) + EVT_THREAD + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(3.0)) + EVT_END_THREAD + EVT_ADD(LVar0, 30) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_THREAD + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(ShakeCam, 1, 0, 3, EVT_FLOAT(2.0)) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostJump) + EVT_WAIT(3) + EVT_LABEL(0) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_COMMAND_LOSS_STATE), LVar0) + EVT_IF_NE(LVar0, 0) + EVT_WAIT(1) + EVT_GOTO(0) + EVT_END_IF + EVT_WAIT(8) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Walk) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_LOST_ABILITY_ITEM), LVar0) + EVT_CALL(N(GetItemEntityPosition), LVar0, LVar1, LVar2, LVar3) + EVT_ADD(LVar1, 38) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(2.0)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar1, LVar2, LVar3) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(8) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(2.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_StompOnce) + EVT_WAIT(2) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_LOST_ABILITY_ITEM), LVar0) + EVT_CALL(N(GetItemEntityPosition), LVar0, LVar1, LVar2, LVar3) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_COMMAND_LOSS_STATE), 2) + EVT_CALL(PlayEffect, EFFECT_FIREWORK, 0, LVar1, 0, LVar3, EVT_FLOAT(0.75), 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, EFFECT_LANDING_DUST, 1, LVar1, 0, LVar3, EVT_FLOAT(3.0), 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20F6) + EVT_WAIT(4) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_StompOnce) + EVT_WAIT(2) + EVT_CALL(PlayEffect, EFFECT_FIREWORK, 0, LVar1, 0, LVar3, EVT_FLOAT(0.75), 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, EFFECT_LANDING_DUST, 1, LVar1, 0, LVar3, EVT_FLOAT(3.0), 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20F6) + EVT_WAIT(4) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_StompOnce) + EVT_WAIT(2) + EVT_CALL(PlayEffect, EFFECT_FIREWORK, 0, LVar1, 0, LVar3, EVT_FLOAT(0.75), 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, EFFECT_LANDING_DUST, 1, LVar1, 0, LVar3, EVT_FLOAT(3.0), 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20F6) + EVT_WAIT(20) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Mock) + EVT_WAIT(20) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) + EVT_ELSE + EVT_CALL(GetBattleFlags, LVar1) + EVT_IF_NOT_FLAG(LVar1, BS_FLAGS1_ATK_BLOCKED) + EVT_CALL(GetStatusFlags, ACTOR_PLAYER, LVar1) + EVT_IF_NOT_FLAG(LVar1, STATUS_FLAG_STONE) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar1) + EVT_IF_NOT_FLAG(LVar1, STATUS_FLAG_SHRINK) + EVT_CALL(LandJump, ACTOR_SELF) + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 40) + EVT_SET(LVar1, 0) + EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 0, 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 18, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20EA) + EVT_THREAD + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(ShakeCam, 1, 0, 4, EVT_FLOAT(3.0)) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostJump) + EVT_WAIT(3) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(20) + EVT_END_IF + EVT_IF_EQ(LVarF, 10) + EVT_RETURN + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_RETURN + EVT_END +}; + +EvtScript N(onAttackMissed) = { + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Tantrum) + EVT_THREAD + EVT_WAIT(5) + EVT_LOOP(4) + EVT_CALL(N(StartRumbleWithParams), 80, 14) + EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(2.0)) + EVT_WAIT(4) + EVT_END_LOOP + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_END_THREAD + EVT_RETURN + EVT_END +}; + +EvtScript N(attackClawSwipe) = { + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_CLAW_SWIPE), 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(SetBattleCamZoom, 200) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 40) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(SetBattleCamZoom, 160) + EVT_CALL(SetBattleCamOffsetZ, 5) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 40) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Walk) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(AddGoalPos, ACTOR_SELF, 60, 0, 0) + EVT_ELSE + EVT_CALL(AddGoalPos, ACTOR_SELF, 24, 0, 0) + EVT_END_IF + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_RearUpMock) + EVT_WAIT(25) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Swipe) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_35E) + EVT_WAIT(3) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVarA) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_WAIT(20) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_EXEC_WAIT(N(onAttackMissed)) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_WAIT(30) + EVT_ELSE + EVT_WAIT(30) + EVT_END_IF + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_WAIT(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, 1, LVar0) + EVT_IF_FLAG(LVar0, ACTOR_EVENT_FLAG_80000) + EVT_SET(LVar0, 16) + EVT_CALL(func_80269EAC, 12) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, 0, 0, STATUS_FLAG_4 | STATUS_FLAG_20 | STATUS_FLAG_40 | STATUS_FLAG_100 | STATUS_FLAG_200 | STATUS_FLAG_POISON | STATUS_FLAG_80000000, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_ELSE + EVT_SET(LVar0, 8) + EVT_CALL(func_80269EAC, 12) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, 0, 0, STATUS_FLAG_4 | STATUS_FLAG_20 | STATUS_FLAG_40 | STATUS_FLAG_100 | STATUS_FLAG_200 | STATUS_FLAG_POISON | STATUS_FLAG_80000000, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_END_IF + EVT_SWITCH(LVarF) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CASE_OR_EQ(HIT_RESULT_10) + EVT_WAIT(30) + EVT_IF_EQ(LVarF, HIT_RESULT_10) + EVT_RETURN + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(attackShockwaveDrain) = { + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_TURNS_SINCE_LAST_SHOCKWAVE_DRAIN), 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 24) + EVT_ADD(LVar1, 97) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 420) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 40) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 9) + EVT_ADD(LVar1, 39) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 375) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 40) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Brandish) + EVT_WAIT(10) + EVT_CALL(N(FadeBackgroundToBlack)) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2121) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 22) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_LIGHT_RAYS, 2, LVar0, 135, LVar2, EVT_FLOAT(1.0), LVarF, 0, 0, 0, 0, 0, 0, 0) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 135, LVar2, EVT_FLOAT(1.0), LVarE, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 9) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_LIGHT_RAYS, 2, LVar0, 54, LVar2, EVT_FLOAT(0.4), LVarF, 0, 0, 0, 0, 0, 0, 0) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 54, LVar2, EVT_FLOAT(0.4), LVarE, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_WAIT(25) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(SetBattleCamTarget, -45, 60, 0) + EVT_CALL(SetBattleCamZoom, 530) + EVT_CALL(SetBattleCamOffsetZ, 0) + EVT_CALL(MoveBattleCamOver, 80) + EVT_WAIT(10) + EVT_CALL(RemoveEffect, LVarF) + EVT_CALL(RemoveEffect, LVarE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2122) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 19) + EVT_SET(LVar1, 55) + EVT_CALL(PlayEffect, EFFECT_ENERGY_SHOCKWAVE, 0, LVar0, LVar1, LVar2, EVT_FLOAT(1.0), 60, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 7) + EVT_SET(LVar1, 22) + EVT_CALL(PlayEffect, EFFECT_ENERGY_SHOCKWAVE, 0, LVar0, LVar1, LVar2, EVT_FLOAT(1.0), 60, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_THREAD + EVT_CALL(N(UnfadeBackgroundToBlack)) + EVT_END_THREAD + EVT_WAIT(8) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVarA) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PARTNER) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarB, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVarB) + EVT_CASE_EQ(HIT_RESULT_MISS) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(30) + EVT_RETURN + EVT_CASE_DEFAULT + EVT_WAIT(2) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_EXEC_WAIT(N(onAttackMissed)) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT(2) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PARTNER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_IF_FLAG(LVar0, 0x00040000) // ??? + EVT_SET(LVar1, 3) + EVT_ELSE + EVT_SET(LVar1, 3) + EVT_END_IF + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_COSMIC | DAMAGE_TYPE_NO_OTHER_DAMAGE_POPUPS, 65535, 0, LVar1, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_CALL(RemovePlayerBuffs, 65536) + EVT_IF_NE(LVarA, 5) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_END_IF + EVT_WAIT(30) + EVT_RETURN + EVT_END_SWITCH + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(func_8026BF48, 1) + EVT_THREAD + EVT_WAIT(4) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PARTNER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_IF_FLAG(LVar0, 0x00040000) // ??? + EVT_SET(LVar1, 3) + EVT_ELSE + EVT_SET(LVar1, 3) + EVT_END_IF + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_COSMIC | DAMAGE_TYPE_NO_OTHER_DAMAGE_POPUPS, 65535, 0, LVar1, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_CALL(func_8026BF48, 0) + EVT_END_THREAD + EVT_WAIT(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_IF_FLAG(LVar0, 0x00040000) // ??? + EVT_SET(LVar1, 6) + EVT_ELSE + EVT_SET(LVar1, 6) + EVT_END_IF + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_COSMIC | DAMAGE_TYPE_NO_OTHER_DAMAGE_POPUPS, 65535, 0, LVar1, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_CALL(RemovePlayerBuffs, 268435455) + EVT_SWITCH(LVarF) + EVT_CASE_OR_EQ(0) + EVT_CASE_OR_EQ(2) + EVT_CASE_OR_EQ(10) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(15) + EVT_IF_EQ(LVarF, 10) + EVT_RETURN + EVT_END_IF + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(attackFlameBreath) = { + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 30) + EVT_ADD(LVar1, 81) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 400) + EVT_CALL(MoveBattleCamOver, 40) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_19) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 30) + EVT_ADD(LVar1, 56) + EVT_CALL(SetBattleCamTarget, LVar0, LVar1, LVar2) + EVT_CALL(SetBattleCamZoom, 350) + EVT_CALL(MoveBattleCamOver, 40) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PreFireBreath) + EVT_WAIT(35) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_FireBreathStill) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 55) + EVT_WAIT(10) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, 1, LVar3) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar4) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_IF_FLAG(LVar3, ACTOR_EVENT_FLAG_80000) + EVT_IF_NOT_FLAG(LVar4, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 70) + EVT_ADD(LVar1, 35) + EVT_ELSE + EVT_SUB(LVar0, 28) + EVT_ADD(LVar1, 14) + EVT_END_IF + EVT_ELSE + EVT_IF_NOT_FLAG(LVar4, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 75) + EVT_ADD(LVar1, 49) + EVT_ELSE + EVT_SUB(LVar0, 30) + EVT_ADD(LVar1, 19) + EVT_END_IF + EVT_END_IF + EVT_ADD(LVar2, 10) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar3, LVar4, LVar5) + EVT_SUB(LVar3, 40) + EVT_SET(LVar4, 20) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, 1, LVar6) + EVT_IF_FLAG(LVar6, ACTOR_EVENT_FLAG_80000) + EVT_CALL(PlayEffect, EFFECT_FIRE_BREATH, 0, LVar0, LVar1, LVar2, LVar3, LVar4, LVar5, 50, 1, 24, 0, 0, 0) + EVT_ELSE + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar7) + EVT_IF_NOT_FLAG(LVar7, STATUS_FLAG_SHRINK) + EVT_ADD(LVar0, 15) + EVT_ELSE + EVT_ADD(LVar0, 6) + EVT_END_IF + EVT_SUB(LVar3, 10) + EVT_CALL(PlayEffect, EFFECT_FIRE_BREATH, 2, LVar0, LVar1, LVar2, LVar3, LVar4, LVar5, 50, 1, 24, 0, 0, 0) + EVT_CALL(N(UnkFireBreathFXFunc), LVarF) + EVT_END_IF + EVT_THREAD + EVT_CALL(N(StartRumbleWithParams), 50, 148) + EVT_CALL(PlaySound, SOUND_3BD) + EVT_WAIT(70) + EVT_CALL(PlaySound, SOUND_7BD) + EVT_END_THREAD + EVT_WAIT(10) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVarA) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_WAIT(10) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_FireBreathLoop) + EVT_WAIT(30) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostFireBreath) + EVT_WAIT(15) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(30) + EVT_EXEC_WAIT(N(onAttackMissed)) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT(30) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_WAIT(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, 1, LVar0) + EVT_IF_FLAG(LVar0, ACTOR_EVENT_FLAG_80000) + EVT_SET(LVar0, 20) + EVT_ELSE + EVT_SET(LVar0, 10) + EVT_END_IF + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, DAMAGE_TYPE_FIRE, 65535, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LVarF) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CASE_OR_EQ(HIT_RESULT_10) + EVT_WAIT(10) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_FireBreathLoop) + EVT_WAIT(30) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_PostFireBreath) + EVT_WAIT(15) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Idle) + EVT_WAIT(30) + EVT_IF_EQ(LVarF, HIT_RESULT_10) + EVT_RETURN + EVT_END_IF + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(onBurnHit) = { + EVT_CALL(SetAnimation, ACTOR_SELF, LVar0, LVar1) + EVT_CALL(func_80269E80, LVar3) + EVT_SWITCH(LVar3) + EVT_CASE_EQ(9) + EVT_CALL(GetOriginalActorType, ACTOR_SELF, LVar7) + EVT_SWITCH(LVar7) + EVT_CASE_OR_EQ(ACTOR_TYPE_MONTY_MOLE) + EVT_CASE_OR_EQ(ACTOR_TYPE_MONTY_MOLE_BOSS) + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_CALL(GetActorPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.01)) + EVT_ADD(LVar5, 55) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, FALSE, FALSE) + EVT_END_SWITCH + EVT_SET(LVar7, 0) + EVT_LOOP(30) + EVT_ADD(LVar7, 48) + EVT_CALL(SetActorYaw, ACTOR_SELF, LVar7) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(GetOriginalActorType, ACTOR_SELF, LVar7) + EVT_SWITCH(LVar7) + EVT_CASE_OR_EQ(ACTOR_TYPE_MONTY_MOLE) + EVT_CASE_OR_EQ(ACTOR_TYPE_MONTY_MOLE_BOSS) + EVT_WAIT(30) + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_SUB(LVar5, 55) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) + EVT_IF_EQ(LVar5, 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_ELSE + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, FALSE, FALSE) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, FALSE, FALSE) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, FALSE, FALSE) + EVT_END_IF + EVT_END_SWITCH + EVT_CASE_DEFAULT + EVT_WAIT(20) + EVT_END_SWITCH + EVT_IF_NE(LVar2, -1) + EVT_CALL(SetAnimation, ACTOR_SELF, LVar0, LVar2) + EVT_END_IF + EVT_WAIT(10) + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar1) + EVT_SWITCH(LVar1) + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, LVar0, LVar1) + EVT_IF_NOT_FLAG(LVar1, ACTOR_EVENT_FLAG_FIREY | ACTOR_EVENT_FLAG_EXPLOSIVE) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetActorSize, ACTOR_SELF, LVar3, LVar4) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar5) + EVT_IF_FLAG(LVar5, STATUS_FLAG_SHRINK) + EVT_MULF(LVar3, EVT_FLOAT(0.4)) + EVT_MULF(LVar4, EVT_FLOAT(0.4)) + EVT_END_IF + EVT_DIVF(LVar3, EVT_FLOAT(2.0)) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar5) + EVT_IF_FLAG(LVar5, ACTOR_FLAG_HP_OFFSET_BELOW) + EVT_SUBF(LVar1, LVar3) + EVT_ELSE + EVT_ADDF(LVar1, LVar3) + EVT_END_IF + EVT_ADDF(LVar2, EVT_FLOAT(5.0)) + EVT_DIVF(LVar3, EVT_FLOAT(10.0)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar5) + EVT_IF_FLAG(LVar5, STATUS_FLAG_SHRINK) + EVT_MULF(LVar3, EVT_FLOAT(0.4)) + EVT_IF_LT(LVar3, 1) + EVT_SETF(LVar3, EVT_FLOAT(1.0)) + EVT_END_IF + EVT_END_IF + EVT_CALL(PlayEffect, EFFECT_SMOKE_BURST, 0, LVar0, LVar1, LVar2, LVar3, 10, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(attackLightningBlast) = { + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_13) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 30) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 30) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_3EF) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBowser_Brandish) + EVT_CALL(N(FadeBackgroundToBlack)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 54) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_ENERGY_IN_OUT, 2, LVar0, LVar1, LVar2, EVT_FLOAT(1.5), 50, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT(50) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 22) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_LIGHT_RAYS, 2, LVar0, 135, LVar2, EVT_FLOAT(1.5), LVarF, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2121) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 135, LVar2, EVT_FLOAT(1.5), LVarE, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT(30) + EVT_CALL(RemoveEffect, LVarF) + EVT_CALL(RemoveEffect, LVarE) + EVT_ELSE + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 21) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_ENERGY_IN_OUT, 2, LVar0, LVar1, LVar2, EVT_FLOAT(0.6), 50, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT(50) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 9) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_LIGHT_RAYS, 2, LVar0, 54, LVar2, EVT_FLOAT(0.6), LVarF, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2121) + EVT_SUB(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_BULB_GLOW, 2, LVar0, 54, LVar2, EVT_FLOAT(0.6), LVarE, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT(30) + EVT_CALL(RemoveEffect, LVarF) + EVT_CALL(RemoveEffect, LVarE) + EVT_END_IF + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2127) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_THREAD + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, 0, LVar1) + EVT_CALL(N(UnkLightningBoltFxFunc1), LVar0, LVar1) + EVT_END_THREAD + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVarA) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_WAIT(10) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_WAIT(20) + EVT_CALL(N(UnfadeBackgroundToBlack)) + EVT_ELSE + EVT_WAIT(20) + EVT_CALL(N(UnfadeBackgroundToBlack)) + EVT_END_IF + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_WAIT(5) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetPartEventFlags, ACTOR_SELF, 1, LVar0) + EVT_IF_FLAG(LVar0, ACTOR_EVENT_FLAG_80000) + EVT_SET(LVar0, 20) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, DAMAGE_TYPE_ELECTRIC | DAMAGE_TYPE_NO_CONTACT, 0, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_ELSE + EVT_SET(LVar0, 10) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, DAMAGE_TYPE_ELECTRIC | DAMAGE_TYPE_NO_CONTACT, 0, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_END_IF + EVT_SWITCH(LVarF) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CASE_OR_EQ(HIT_RESULT_10) + EVT_WAIT(30) + EVT_CALL(N(UnfadeBackgroundToBlack)) + EVT_IF_EQ(LVarF, HIT_RESULT_10) + EVT_RETURN + EVT_END_IF + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) + EVT_SET(LVar1, ANIM_BattleBowser_Walk) + EVT_EXEC_WAIT(N(returnHome)) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; diff --git a/src/battle/area_kpa2/area.c b/src/battle/area_kpa2/area.c new file mode 100644 index 0000000000..388e372bdd --- /dev/null +++ b/src/battle/area_kpa2/area.c @@ -0,0 +1,52 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_kpa2 + +extern ActorBlueprint N(bowser); +extern ActorBlueprint N(bowser_intro); +extern ActorBlueprint N(bowser_phase_1); +extern ActorBlueprint N(bowser_phase_2); +extern ActorBlueprint N(bowser_phase_3); + +extern Stage N(kpa_01); +extern Stage N(kpa_02); +extern Stage N(kpa_03); + +Vec3i N(bowser_pos) = { 80, 0, -10 }; + +Formation N(formation_00) = { + { .actor = &N(bowser), .home = { .index = 2 }, .priority = 10, }, +}; + +Formation N(formation_01) = { + { .actor = &N(bowser_intro), .home = { .index = 2 }, .priority = 10, }, +}; + +Formation N(formation_02) = { + { .actor = &N(bowser_phase_1), .home = { .index = 2 }, .priority = 10, }, +}; + +Formation N(formation_03) = { + { .actor = &N(bowser_phase_2), .home = { .vec = &N(bowser_pos) }, .priority = 10, }, +}; + +Formation N(formation_04) = { + { .actor = &N(bowser_phase_3), .home = { .vec = &N(bowser_pos) }, .priority = 10, }, +}; + +BattleList N(formationTable) = { + BATTLE("クッパ", N(formation_00), &N(kpa_01)), + BATTLE("クッパ(オープニング)", N(formation_01), &N(kpa_02)), + BATTLE("クッパ(ラストバトル1)", N(formation_02), &N(kpa_02)), + BATTLE("クッパ(ラストバトル2)", N(formation_03), &N(kpa_03)), + BATTLE("クッパ(ラストバトル3)", N(formation_04), &N(kpa_03)), + {}, +}; + +StageList N(stageTable) = { + { "kpa_01", &N(kpa_01) }, + { "kpa_02", &N(kpa_02) }, + { "kpa_03", &N(kpa_03) }, + {}, +}; diff --git a/src/battle/area_kpa2/stage/kpa_01.c b/src/battle/area_kpa2/stage/kpa_01.c new file mode 100644 index 0000000000..5cc3fac44f --- /dev/null +++ b/src/battle/area_kpa2/stage/kpa_01.c @@ -0,0 +1,53 @@ +#include "common.h" +#include "battle/battle.h" +#include "mapfs/kpa_bt01_shape.h" + +#define NAMESPACE b_area_kpa2_kpa_01 + +EvtScript N(8022EFE0) = { + EVT_SET(LVarA, LVar0) + EVT_CALL(SetTexPanner, LVarA, 1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, 1, 0, LVar0, LVar1) + EVT_ADD(LVar0, 32768) + EVT_ADD(LVar1, 0) + EVT_WAIT(5) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_CALL(SetGroupEnabled, 36, 0) + EVT_THREAD + EVT_SET(LVar0, 37) + EVT_EXEC(N(8022EFE0)) + EVT_WAIT(5) + EVT_SET(LVar0, 39) + EVT_EXEC(N(8022EFE0)) + EVT_END_THREAD + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList)[] = { + MODEL_o383, MODEL_o382, MODEL_o381, 0, +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt01_shape", + .hit = "kpa_bt01_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), + .foregroundModelList = N(foregroundModelList), +}; diff --git a/src/battle/area_kpa2/stage/kpa_02.c b/src/battle/area_kpa2/stage/kpa_02.c new file mode 100644 index 0000000000..5ce31c0308 --- /dev/null +++ b/src/battle/area_kpa2/stage/kpa_02.c @@ -0,0 +1,30 @@ +#include "common.h" +#include "battle/battle.h" +#include "mapfs/kkj_bt01_shape.h" + +#define NAMESPACE b_area_kpa2_kpa_02 + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList)[] = { + MODEL_hana, MODEL_ha1, MODEL_ha2, 0, +}; + +Stage NAMESPACE = { + .texture = "kkj_tex", + .shape = "kkj_bt01_shape", + .hit = "kkj_bt01_hit", + .bg = "kpa_bg", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), + .foregroundModelList = N(foregroundModelList), +}; diff --git a/src/battle/area_kpa2/stage/kpa_03.c b/src/battle/area_kpa2/stage/kpa_03.c new file mode 100644 index 0000000000..cf7d680893 --- /dev/null +++ b/src/battle/area_kpa2/stage/kpa_03.c @@ -0,0 +1,74 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_kpa2_kpa_03 + +#include "common/UnkLightningFXFunc.inc.c" + +s32 N(lightningsSettings1)[] = { + 0xFFFFFFEA, 0x000000BE, 0xFFFFFFA5, 0xFFFFFFA8, 0x00000015, 0xFFFFFFA5, 0x0000003C, + 0xFFFFFFFF, 0x000000BE, 0xFFFFFFA5, 0x00000058, 0x00000018, 0xFFFFFFA5, 0x0000000A, + 0xFFFFFFBD, 0x000000BE, 0xFFFFFFA5, 0xFFFFFF86, 0x0000000A, 0xFFFFFFA5, 0x0000005A, + 0x00000039, 0x000000BE, 0xFFFFFFA5, 0xFFFFFFFC, 0x00000011, 0xFFFFFFA5, 0x0000003C, +}; + +EvtScript N(createLightnings1) = { + EVT_LABEL(0) + EVT_USE_BUF(N(lightningsSettings1)) + EVT_LOOP(4) + EVT_BUF_READ3(LVar0, LVar1, LVar2) + EVT_BUF_READ3(LVar3, LVar4, LVar5) + EVT_CALL(PlayEffect, EFFECT_LIGHTNING_BOLT, 0, LVar0, LVar1, LVar2, LVar3, LVar4, LVar5, 1, 8, 0, 0, 0, 0) + EVT_CALL(N(UnkLightningFXFunc)) + EVT_BUF_READ1(LVar0) + EVT_WAIT(LVar0) + EVT_END_LOOP + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +s32 N(lightningsSettings2)[] = { + 0xFFFFFF87, 0x00000021, 0xFFFFFF98, 0xFFFFFFE8, 0x00000029, 0xFFFFFF98, 0x00000005, + 0x00000024, 0x00000029, 0xFFFFFF98, 0x00000080, 0x00000022, 0xFFFFFF98, 0x0000001E, + 0x00000092, 0x00000001, 0x00000071, 0x00000026, 0xFFFFFFF1, 0x00000079, 0x00000005, + 0xFFFFFFBE, 0xFFFFFFF6, 0x00000073, 0xFFFFFF65, 0x00000001, 0x00000061, 0x0000005A, +}; + +EvtScript N(createLightnings2) = { + EVT_LABEL(0) + EVT_USE_BUF(N(lightningsSettings2)) + EVT_LOOP(4) + EVT_BUF_READ3(LVar0, LVar1, LVar2) + EVT_BUF_READ3(LVar3, LVar4, LVar5) + EVT_CALL(PlayEffect, EFFECT_LIGHTNING_BOLT, 0, LVar0, LVar1, LVar2, LVar3, LVar4, LVar5, 1, 5, 0, 0, 0, 0) + EVT_CALL(N(UnkLightningFXFunc)) + EVT_BUF_READ1(LVar0) + EVT_WAIT(LVar0) + EVT_END_LOOP + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_EXEC(N(createLightnings1)) + EVT_EXEC(N(createLightnings2)) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +Stage NAMESPACE = { + .texture = "kkj_tex", + .shape = "kkj_bt02_shape", + .hit = "kkj_bt02_hit", + .bg = "kpa_bg", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), +}; diff --git a/src/battle/area_kpa3/6BBB90.c b/src/battle/area_kpa3/6BBB90.c deleted file mode 100644 index dbe12886f1..0000000000 --- a/src/battle/area_kpa3/6BBB90.c +++ /dev/null @@ -1,5 +0,0 @@ -#include "common.h" - -#define NAMESPACE b_area_kpa3 - -#include "common/UnkBattleFunc1.inc.c" diff --git a/src/battle/area_kpa3/6BBC60.c b/src/battle/area_kpa3/6BBC60.c deleted file mode 100644 index cb9eee9563..0000000000 --- a/src/battle/area_kpa3/6BBC60.c +++ /dev/null @@ -1,93 +0,0 @@ -#include "common.h" - -#define NAMESPACE b_area_kpa3 - -#include "world/common/UnkFunc62.inc.c" - -#include "common/ActorJumpToPos.inc.c" - -#include "common/UnkActorSizeFunc.inc.c" - -#include "common/UnkEffect6CFunc.inc.c" - -ApiStatus func_80218BC4_6BC754(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - EffectInstance* tattleEffect = (EffectInstance*) evt_get_variable(script, *args++); - - tattleEffect->data.tattleWindow->pos.y = -1000.0f; - return ApiStatus_DONE2; -} - -ApiStatus func_80218BFC_6BC78C(Evt* script, s32 isInitialCall) { - EffectInstance* tattleEffect = (EffectInstance*) evt_get_variable(script, *script->ptrReadPos); - - tattleEffect->data.tattleWindow->pos.y = 144.0f; - tattleEffect->flags |= EFFECT_INSTANCE_FLAGS_10; - return ApiStatus_DONE2; -} - -#define NAMESPACE dup_b_area_kpa3 -#include "common/UnkBattleFunc1.inc.c" -#define NAMESPACE b_area_kpa3 - -#include "common/UnkActorPosFunc.inc.c" - -#define NAMESPACE dup_b_area_kpa3 -#include "common/UnkActorPosFunc.inc.c" -#define NAMESPACE b_area_kpa3 - -INCLUDE_ASM(s32, "battle/area_kpa3/6BBC60", func_80218F58_6BCAE8); - -ApiStatus func_802193D4_6BCF64(Evt* script, s32 isInitialCall) { - WattEffectData* unkDuplighost = (WattEffectData*)get_actor(script->owner1.actorID)->state.varTable[2]; - - unkDuplighost->flags = 0; - - if (unkDuplighost->effect1 != NULL) { - unkDuplighost->effect1->flags |= EFFECT_INSTANCE_FLAGS_10; - } - - if (unkDuplighost->effect2 != NULL) { - unkDuplighost->effect2->flags |= EFFECT_INSTANCE_FLAGS_10; - } - - return ApiStatus_DONE2; -} - -ApiStatus func_80219428_6BCFB8(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - WattEffectData* unkDuplighost = (WattEffectData*)get_actor(script->owner1.actorID)->state.varTable[2]; - - unkDuplighost->unk_04 = evt_get_variable(script, *args++); - return ApiStatus_DONE2; -} - -ApiStatus func_80219474_6BD004(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - WattEffectData* unkDuplighost = (WattEffectData*)get_actor(script->owner1.enemyID)->state.varTable[2]; - - unkDuplighost->unk_0C = evt_get_variable(script, *args++); - return ApiStatus_DONE2; -} - -ApiStatus func_802194C0_6BD050(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - WattEffectData* unkDuplighost = (WattEffectData*)get_actor(script->owner1.enemyID)->state.varTable[2]; - - unkDuplighost->unk_10 = evt_get_variable(script, *args++); - return ApiStatus_DONE2; -} - -#include "common/UnkBackgroundFunc3.inc.c" - -#include "common/SetBackgroundAlpha.inc.c" - -ApiStatus func_80219588_6BD118(Evt* script, s32 isInitialCall) { - Bytecode* args = script->ptrReadPos; - - evt_set_variable(script, *args++, gPlayerData.currentPartner); - evt_set_variable(script, *args++, gPlayerData.partners[gPlayerData.currentPartner].level); - return ApiStatus_DONE2; -} - -INCLUDE_ASM(s32, "battle/area_kpa3/6BBC60", func_802195F4_6BD184); diff --git a/src/battle/area_kpa3/actor/anti_guy.c b/src/battle/area_kpa3/actor/anti_guy.c new file mode 100644 index 0000000000..5cee344d19 --- /dev/null +++ b/src/battle/area_kpa3/actor/anti_guy.c @@ -0,0 +1,494 @@ +#include "common.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/ShyGuy.h" + +#define NAMESPACE b_area_kpa3_anti_guy + +extern s32 N(idleAnimations)[]; +extern EvtScript N(init); +extern EvtScript N(takeTurn); +extern EvtScript N(idle); +extern EvtScript N(handleEvent); + +s32 N(defenseTable)[] = { + ELEMENT_NORMAL, 0, + ELEMENT_END, +}; + +s32 N(statusTable)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 50, + STATUS_POISON, 0, + STATUS_FROZEN, 0, + STATUS_DIZZY, 50, + STATUS_FEAR, 0, + STATUS_STATIC, 0, + STATUS_PARALYZE, 50, + STATUS_SHRINK, 50, + STATUS_STOP, 50, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, -1, + STATUS_POISON_TURN_MOD, 0, + STATUS_FROZEN_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, -1, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, 0, + STATUS_SHRINK_TURN_MOD, -1, + STATUS_STOP_TURN_MOD, -2, + STATUS_END, +}; + +ActorPartBlueprint N(parts)[] = { + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 24 }, + .opacity = 255, + .idleAnimations = N(idleAnimations), + .defenseTable = N(defenseTable), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 0xFF, + .unk_1D = 0xF6, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = 0, + .type = ACTOR_TYPE_ANTI_GUY_DUP, + .level = 42, + .maxHP = 50, + .partCount = ARRAY_COUNT(N(parts)), + .partsData = N(parts), + .script = &N(init), + .statusTable = N(statusTable), + .escapeChance = 0, + .airLiftChance = 0, + .spookChance = 0, + .baseStatusChance = 0, + .upAndAwayChance = 0, + .spinSmashReq = 0, + .powerBounceChance = 75, + .coinReward = 0, + .size = { 30, 30 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -10, 20 }, + .statusMessageOffset = { 10, 20 }, +}; + +s32 N(idleAnimations)[] = { + STATUS_NORMAL, ANIM_ShyGuy_Black_Anim01, + STATUS_STONE, ANIM_ShyGuy_Black_Anim00, + STATUS_SLEEP, ANIM_ShyGuy_Black_Anim12, + STATUS_POISON, ANIM_ShyGuy_Black_Anim01, + STATUS_STOP, ANIM_ShyGuy_Black_Anim00, + STATUS_STATIC, ANIM_ShyGuy_Black_Anim01, + STATUS_PARALYZE, ANIM_ShyGuy_Black_Anim00, + STATUS_DIZZY, ANIM_ShyGuy_Black_Anim13, + STATUS_FEAR, ANIM_ShyGuy_Black_Anim13, + STATUS_END, +}; + +EvtScript N(init) = { + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_PTR(N(takeTurn))) + EVT_CALL(BindIdle, ACTOR_SELF, EVT_PTR(N(idle))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_PTR(N(handleEvent))) + EVT_RETURN + EVT_END +}; + +#include "common/UnkBattleFunc1.inc.c" + +EvtScript N(idle) = { + EVT_LABEL(0) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_FLAG(LVar0, STATUS_FLAG_SLEEP) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -4, 14) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, 0) + EVT_CALL(N(UnkBattleFunc1), -10, 13, 10, 13) + EVT_ELSE + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, 0, 24) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, -1, -10) + EVT_CALL(N(UnkBattleFunc1), -10, 20, 10, 20) + EVT_END_IF + EVT_WAIT(1) + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +EvtScript N(returnHome) = { + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_ShyGuy_Black_Anim03) + EVT_EXEC_WAIT(DoReturnHome) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim01) + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(EVENT_HIT_COMBO) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_ShyGuy_Black_Anim0C) + EVT_EXEC_WAIT(DoNormalHit) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_ShyGuy_Black_Anim0D) + EVT_SET_CONST(LVar2, ANIM_ShyGuy_Black_Anim0E) + EVT_EXEC_WAIT(DoBurnHit) + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_ShyGuy_Black_Anim0D) + EVT_SET_CONST(LVar2, ANIM_ShyGuy_Black_Anim0E) + EVT_EXEC_WAIT(DoBurnHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_ShyGuy_Black_Anim0E) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_ShyGuy_Black_Anim0C) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_ShyGuy_Black_Anim0C) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_ShyGuy_Black_Anim0C) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SHOCK_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_ShyGuy_Black_Anim0C) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_ShyGuy_Black_Anim0C) + EVT_EXEC_WAIT(DoJumpBack) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(4.0)) + EVT_EXEC_WAIT(N(returnHome)) + EVT_CASE_EQ(EVENT_SHOCK_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_ShyGuy_Black_Anim0C) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_ShyGuy_Black_Anim0C) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_CASE_OR_EQ(EVENT_AIR_LIFT_FAILED) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_ShyGuy_Black_Anim01) + EVT_EXEC_WAIT(DoImmune) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_ShyGuy_Black_Anim0C) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT(10) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_ShyGuy_Black_Anim0C) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_ShyGuy_Black_Anim01) + EVT_EXEC_WAIT(DoRecover) + EVT_CASE_EQ(EVENT_SCARE_AWAY) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_ShyGuy_Black_Anim03) + EVT_SET_CONST(LVar2, ANIM_ShyGuy_Black_Anim14) + EVT_EXEC_WAIT(DoScareAway) + EVT_RETURN + EVT_CASE_EQ(EVENT_BEGIN_AIR_LIFT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_ShyGuy_Black_Anim0C) + EVT_EXEC_WAIT(DoAirLift) + EVT_CASE_EQ(EVENT_BLOW_AWAY) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_ShyGuy_Black_Anim0C) + EVT_EXEC_WAIT(DoBlowAway) + EVT_RETURN + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(bumpAttack) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 20) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim03) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(4.0)) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 50) + EVT_SET(LVar1, 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LVarA, LVar0) + EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 751, 0) + EVT_CALL(SetActorSounds, ACTOR_SELF, 0, 8378, 948) + EVT_CALL(SetActorSounds, ACTOR_SELF, 4, 10, 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim04) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim05) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.5)) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 30) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_SUB(LVar0, 20) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) + EVT_WAIT(15) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(SetActorYaw, ACTOR_SELF, 180) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(4.0)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_ShyGuy_Black_Anim04) + EVT_EXEC_WAIT(DoReturnHome) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim01) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_THREAD + EVT_WAIT(3) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2EF) + EVT_END_THREAD + EVT_CALL(SetActorSounds, ACTOR_SELF, 0, 8378, 948) + EVT_CALL(SetActorSounds, ACTOR_SELF, 4, 10, 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim04) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 10) + EVT_SET(LVar1, 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim05) + EVT_WAIT(2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 10, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 15) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 30) + EVT_SET(LVar1, 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim01) + EVT_WAIT(8) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_EXEC_WAIT(N(returnHome)) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(acrobaticAttack) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 20) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_234) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim09) + EVT_WAIT(20) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim03) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(3.0)) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 80) + EVT_SET(LVar1, 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetActorSounds, ACTOR_SELF, 0, 8378, 948) + EVT_CALL(SetActorSounds, ACTOR_SELF, 4, 10, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim04) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) + EVT_SUB(LVar0, 40) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LVarA, LVar0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim09) + EVT_THREAD + EVT_WAIT(12) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim0A) + EVT_END_THREAD + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 10) + EVT_SET(LVar1, 0) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 24, FALSE, TRUE, FALSE) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim05) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.5)) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 30) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) + EVT_SUB(LVar0, 20) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) + EVT_WAIT(15) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 15) + EVT_CALL(SetActorYaw, ACTOR_SELF, 180) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_ShyGuy_Black_Anim04) + EVT_EXEC_WAIT(DoReturnHome) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim01) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim09) + EVT_THREAD + EVT_WAIT(9) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim0A) + EVT_END_THREAD + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(JumpToGoal, ACTOR_SELF, 18, FALSE, TRUE, FALSE) + EVT_WAIT(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 12, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 15) + EVT_THREAD + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 14, 0) + EVT_SET(LVar3, 0) + EVT_LOOP(20) + EVT_SUB(LVar3, 30) + EVT_IF_LT(LVar3, 0) + EVT_ADD(LVar3, 360) + EVT_END_IF + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LVar3) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_END_THREAD + EVT_CALL(GetBattleFlags, LVar0) + EVT_IF_FLAG(LVar0, BS_FLAGS1_ATK_BLOCKED) + EVT_GOTO(1) + EVT_END_IF + EVT_CALL(GetLastDamage, ACTOR_PLAYER, LVar0) + EVT_IF_EQ(LVar0, 0) + EVT_GOTO(1) + EVT_END_IF + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 40) + EVT_SET(LVar1, 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_349) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_749) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim09) + EVT_WAIT(10) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim07) + EVT_WAIT(15) + EVT_GOTO(2) + EVT_LABEL(1) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 40) + EVT_SET(LVar1, 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20E4) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim10) + EVT_WAIT(10) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20C3) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) + EVT_CALL(RandInt, 100, LVar0) + EVT_IF_LT(LVar0, 50) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim11) + EVT_ELSE + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim13) + EVT_END_IF + EVT_WAIT(25) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_CALL(SetActorYaw, ACTOR_SELF, 180) + EVT_LABEL(2) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_ShyGuy_Black_Anim04) + EVT_EXEC_WAIT(DoReturnHome) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_ShyGuy_Black_Anim01) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(takeTurn) = { + EVT_CALL(RandInt, 1, LVar0) + EVT_IF_EQ(LVar0, 0) + EVT_EXEC_WAIT(N(bumpAttack)) + EVT_ELSE + EVT_EXEC_WAIT(N(acrobaticAttack)) + EVT_END_IF + EVT_RETURN + EVT_END +}; diff --git a/src/battle/area_kpa3/actor/duplighost.c b/src/battle/area_kpa3/actor/duplighost.c new file mode 100644 index 0000000000..66027108a5 --- /dev/null +++ b/src/battle/area_kpa3/actor/duplighost.c @@ -0,0 +1,5 @@ +#include "common.h" + +#define NAMESPACE b_area_kpa3_duplighost + +#include "battle/common/actor/duplighost.inc.c" diff --git a/src/battle/area_kpa3/area.c b/src/battle/area_kpa3/area.c new file mode 100644 index 0000000000..46d4d8788a --- /dev/null +++ b/src/battle/area_kpa3/area.c @@ -0,0 +1,39 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_kpa3 + +extern ActorBlueprint N(duplighost); +extern ActorBlueprint N(anti_guy); + +extern Stage N(kpa_01); + +Formation N(formation_00) = { + { .actor = &N(anti_guy), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(anti_guy), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(anti_guy), .home = { .index = 2 }, .priority = 8, }, +}; + +Formation N(formation_01) = { + { .actor = &N(duplighost), .home = { .index = 1 }, .priority = 10, }, + { .actor = &N(duplighost), .home = { .index = 2 }, .priority = 9, }, +}; + +Formation N(formation_02) = { + { .actor = &N(duplighost), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(duplighost), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(duplighost), .home = { .index = 2 }, .priority = 8, }, + { .actor = &N(duplighost), .home = { .index = 3 }, .priority = 7, }, +}; + +BattleList N(formationTable) = { + BATTLE("ブラックヘイホーx3", N(formation_00), &N(kpa_01)), + BATTLE("バケバケx2", N(formation_01), &N(kpa_01)), + BATTLE("バケバケx4", N(formation_02), &N(kpa_01)), + {}, +}; + +StageList N(stageTable) = { + { "kpa_01", &N(kpa_01) }, + {}, +}; diff --git a/src/battle/area_kpa3/stage/kpa_01.c b/src/battle/area_kpa3/stage/kpa_01.c new file mode 100644 index 0000000000..957c48cf4a --- /dev/null +++ b/src/battle/area_kpa3/stage/kpa_01.c @@ -0,0 +1,53 @@ +#include "common.h" +#include "battle/battle.h" +#include "mapfs/kpa_bt01_shape.h" + +#define NAMESPACE b_area_kpa3_kpa_01 + +EvtScript N(8022EFE0) = { + EVT_SET(LVarA, LVar0) + EVT_CALL(SetTexPanner, LVarA, 1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, 1, 0, LVar0, LVar1) + EVT_ADD(LVar0, 32768) + EVT_ADD(LVar1, 0) + EVT_WAIT(5) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_CALL(SetGroupEnabled, 36, 0) + EVT_THREAD + EVT_SET(LVar0, 37) + EVT_EXEC(N(8022EFE0)) + EVT_WAIT(5) + EVT_SET(LVar0, 39) + EVT_EXEC(N(8022EFE0)) + EVT_END_THREAD + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList)[] = { + MODEL_o383, MODEL_o382, MODEL_o381, 0, +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt01_shape", + .hit = "kpa_bt01_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), + .foregroundModelList = N(foregroundModelList), +}; diff --git a/src/battle/area_kpa4/6CC070.c b/src/battle/area_kpa4/6CC070.c deleted file mode 100644 index b89c37ba9c..0000000000 --- a/src/battle/area_kpa4/6CC070.c +++ /dev/null @@ -1,13 +0,0 @@ -#include "common.h" - -#define NAMESPACE b_area_kpa4 - -INCLUDE_ASM(s32, "battle/area_kpa4/6CC070", func_80218000_6CC070); - -#define NAMESPACE dup_b_area_kpa4 -#include "common/UnkBattleFunc1.inc.c" -#define NAMESPACE b_area_kpa4 - -#define NAMESPACE dup_p_area_kpa4 -#include "common/StartRumbleWithParams.inc.c" -#define NAMESPACE b_area_kpa4 diff --git a/src/battle/area_kpa4/6CC1C0.c b/src/battle/area_kpa4/6CC1C0.c deleted file mode 100644 index 351b5dd3ef..0000000000 --- a/src/battle/area_kpa4/6CC1C0.c +++ /dev/null @@ -1,15 +0,0 @@ -#include "common.h" - -#define NAMESPACE b_area_kpa4 - -#include "common/ShrinkActor.inc.c" - -#include "common/CosInterpMinMax.inc.c" - -#include "common/GetSelectedMoveID.inc.c" - -#include "common/UnkBattleFunc1.inc.c" - -#include "common/StartRumbleWithParams.inc.c" - -#include "world/common/UnkFunc52.inc.c" diff --git a/src/battle/area_kpa4/actor/bombshell_bill.c b/src/battle/area_kpa4/actor/bombshell_bill.c new file mode 100644 index 0000000000..0d57ede4e9 --- /dev/null +++ b/src/battle/area_kpa4/actor/bombshell_bill.c @@ -0,0 +1,305 @@ +#include "common.h" +#include "effects.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/BulletBill.h" + +#define NAMESPACE b_area_kpa4_bombshell_bill + +extern EvtScript N(init); +extern EvtScript N(idle); +extern EvtScript N(takeTurn); +extern EvtScript N(handleEvent); +extern EvtScript N(playExplosionEffects); + +extern s32 N(idleAnimations)[]; + +s32 N(defenseTable)[] = { + ELEMENT_NORMAL, 0, + ELEMENT_END, +}; + +s32 N(statusTable)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 0, + STATUS_POISON, 0, + STATUS_FROZEN, 0, + STATUS_DIZZY, 100, + STATUS_FEAR, 0, + STATUS_STATIC, 0, + STATUS_PARALYZE, 0, + STATUS_SHRINK, 100, + STATUS_STOP, 0, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, -1, + STATUS_POISON_TURN_MOD, 0, + STATUS_FROZEN_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, 0, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, -1, + STATUS_SHRINK_TURN_MOD, 0, + STATUS_STOP_TURN_MOD, -2, + STATUS_END, +}; + +ActorPartBlueprint N(parts)[] = { + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 16 }, + .opacity = 255, + .idleAnimations = N(idleAnimations), + .defenseTable = N(defenseTable), + .eventFlags = ACTOR_EVENT_FLAG_400, + .elementImmunityFlags = 0, + .unk_1C = 0, + .unk_1D = -6, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = ACTOR_FLAG_FLYING, + .type = ACTOR_TYPE_BOMBSHELL_BILL, + .level = 24, + .maxHP = 3, + .partCount = ARRAY_COUNT(N(parts)), + .partsData = N(parts), + .script = &N(init), + .statusTable = N(statusTable), + .escapeChance = 40, + .airLiftChance = 100, + .spookChance = 95, + .baseStatusChance = 0, + .upAndAwayChance = 95, + .spinSmashReq = 0, + .powerBounceChance = 80, + .coinReward = 0, + .size = { 28, 22 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -10, 20 }, + .statusMessageOffset = { 10, 20 }, +}; + +s32 N(idleAnimations)[] = { + STATUS_NORMAL, ANIM_BulletBill_Gold_Anim01, + STATUS_STONE, ANIM_BulletBill_Gold_Anim00, + STATUS_STOP, ANIM_BulletBill_Gold_Anim00, + STATUS_PARALYZE, ANIM_BulletBill_Gold_Anim00, + STATUS_END, +}; + +EvtScript N(init) = { + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_PTR(N(takeTurn))) + EVT_CALL(BindIdle, ACTOR_SELF, EVT_PTR(N(idle))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_PTR(N(handleEvent))) + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LVar0) + EVT_IF_EQ(LVar0, 0) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 16) + EVT_CALL(SetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(ForceHomePos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(HPBarToHome, ACTOR_SELF) + EVT_ELSE + EVT_CALL(GetActorVar, ACTOR_SELF, 1, LVar0) + EVT_CALL(GetActorPos, LVar0, LVar1, LVar2, LVar3) + EVT_CALL(GetStatusFlags, LVar0, LVar4) + EVT_IF_FLAG(LVar4, STATUS_FLAG_SHRINK) + EVT_SET(LVar5, -13) + EVT_SET(LVar6, 4) + EVT_ELSE + EVT_SET(LVar5, -33) + EVT_SET(LVar6, 11) + EVT_END_IF + EVT_ADD(LVar1, LVar5) + EVT_ADD(LVar2, LVar6) + EVT_CALL(SetActorPos, ACTOR_SELF, LVar1, LVar2, LVar3) + EVT_CALL(CopyStatusEffects, LVar0, ACTOR_SELF) + EVT_CALL(CopyBuffs, LVar0, ACTOR_SELF) + EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 0, 0) + EVT_CALL(GetActorPos, LVar0, LVar1, LVarB, LVarC) + EVT_SUB(LVar1, 90) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.01)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BulletBill_Gold_Anim03) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar1, LVar2, LVar3) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BulletBill_Gold_Anim01) + EVT_CALL(ForceHomePos, ACTOR_SELF, LVar1, LVar2, LVar3) + EVT_CALL(HPBarToHome, ACTOR_SELF) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(idle) = { + EVT_RETURN + EVT_END +}; + +EvtScript N(explode) = { + EVT_EXEC_WAIT(N(playExplosionEffects)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BulletBill_Gold_Anim07) + EVT_SET(LVar2, -12345) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(EVENT_HIT_COMBO) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BulletBill_Gold_Anim05) + EVT_EXEC_WAIT(DoNormalHit) + EVT_CASE_EQ(EVENT_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BulletBill_Gold_Anim05) + EVT_EXEC_WAIT(DoNormalHit) + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_EXEC_WAIT(N(explode)) + EVT_RETURN + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_EXEC_WAIT(N(explode)) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_EXEC_WAIT(N(explode)) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_EXEC_WAIT(N(explode)) + EVT_RETURN + EVT_CASE_EQ(EVENT_SHOCK_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BulletBill_Gold_Anim05) + EVT_EXEC_WAIT(DoShockHit) + EVT_EXEC_WAIT(N(explode)) + EVT_RETURN + EVT_CASE_EQ(EVENT_SHOCK_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BulletBill_Gold_Anim05) + EVT_EXEC_WAIT(DoShockHit) + EVT_EXEC_WAIT(N(explode)) + EVT_RETURN + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_CASE_OR_EQ(EVENT_AIR_LIFT_FAILED) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BulletBill_Gold_Anim01) + EVT_EXEC_WAIT(DoImmune) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BulletBill_Gold_Anim05) + EVT_EXEC_WAIT(DoNormalHit) + EVT_EXEC_WAIT(N(explode)) + EVT_RETURN + EVT_CASE_EQ(EVENT_EXPLODE_TRIGGER) + EVT_EXEC_WAIT(N(explode)) + EVT_RETURN + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BulletBill_Gold_Anim01) + EVT_EXEC_WAIT(DoRecover) + EVT_CASE_EQ(EVENT_SCARE_AWAY) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BulletBill_Gold_Anim05) + EVT_EXEC_WAIT(DoNormalHit) + EVT_EXEC_WAIT(N(explode)) + EVT_RETURN + EVT_CASE_EQ(EVENT_BEGIN_AIR_LIFT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BulletBill_Gold_Anim03) + EVT_EXEC_WAIT(DoAirLift) + EVT_CASE_EQ(EVENT_BLOW_AWAY) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BulletBill_Gold_Anim03) + EVT_EXEC_WAIT(DoBlowAway) + EVT_RETURN + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(takeTurn) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + 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, ANIM_BulletBill_Gold_Anim04) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, -1, 0) + EVT_WAIT(1) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, -2, 0) + EVT_WAIT(15) + EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_19) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 6, BS_FLAGS1_10) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LVarA, LVar0) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SET(LVar3, LVar1) + EVT_CALL(GetActorPos, ACTOR_PLAYER, LVar0, LVar1, LVar2) + EVT_SET(LVar1, LVar3) + EVT_SUB(LVar0, 90) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.01)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 18, FALSE, TRUE, FALSE) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(YieldTurn) + EVT_CALL(func_8027D32C, ACTOR_SELF) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(RemoveActor, ACTOR_SELF) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SET(LVar3, LVar1) + EVT_CALL(GetActorPos, ACTOR_PLAYER, LVar0, LVar1, LVar2) + EVT_SET(LVar1, LVar3) + EVT_ADD(LVar0, 10) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.01)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 12, FALSE, TRUE, FALSE) + EVT_EXEC_WAIT(N(playExplosionEffects)) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_WAIT(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_IGNORE_DEFENSE, 0, 0, 6, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(YieldTurn) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BulletBill_Gold_Anim07) + EVT_SET(LVar2, -12345) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_END +}; + +EvtScript N(playExplosionEffects) = { + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_SMOKE_RING, 0, LVar0, LVar1, LVar2, 0, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_ADD(LVar1, 16) + EVT_ADD(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_BLAST, 0, LVar0, LVar1, LVar2, EVT_FLOAT(3.0), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2078) + EVT_CALL(StartRumble, 11) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(1.0)) + EVT_END_THREAD + EVT_RETURN + EVT_END +}; diff --git a/src/battle/area_kpa4/actor/bombshell_bill_blaster.c b/src/battle/area_kpa4/actor/bombshell_bill_blaster.c new file mode 100644 index 0000000000..b626a97a9b --- /dev/null +++ b/src/battle/area_kpa4/actor/bombshell_bill_blaster.c @@ -0,0 +1,237 @@ +#include "common.h" +#include "effects.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/BillBlaster.h" + +#define AREA b_area_kpa4 + +#define NAMESPACE A(bombshell_bill_blaster) + +extern EvtScript N(init); +extern EvtScript N(idle); +extern EvtScript N(takeTurn); +extern EvtScript N(handleEvent); +extern EvtScript N(bulletShot); +extern EvtScript N(wait); + +extern s32 N(idleAnimations)[]; + +s32 N(defenseTable)[] = { + ELEMENT_NORMAL, 4, + ELEMENT_END, +}; + +s32 N(statusTable)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 0, + STATUS_POISON, 0, + STATUS_FROZEN, 0, + STATUS_DIZZY, 0, + STATUS_FEAR, 0, + STATUS_STATIC, 0, + STATUS_PARALYZE, 0, + STATUS_SHRINK, 50, + STATUS_STOP, 0, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, 0, + STATUS_POISON_TURN_MOD, 0, + STATUS_FROZEN_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, 0, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, 0, + STATUS_SHRINK_TURN_MOD, 0, + STATUS_STOP_TURN_MOD, -1, + STATUS_END, +}; + +ActorPartBlueprint N(parts)[] = { + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { -6, 29 }, + .opacity = 255, + .idleAnimations = N(idleAnimations), + .defenseTable = N(defenseTable), + .eventFlags = 0, + .elementImmunityFlags = 0, + .unk_1C = 0, + .unk_1D = -9, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = 0, + .type = ACTOR_TYPE_BOMBSHELL_BLASTER, + .level = 27, + .maxHP = 10, + .partCount = ARRAY_COUNT(N(parts)), + .partsData = N(parts), + .script = &N(init), + .statusTable = N(statusTable), + .escapeChance = 0, + .airLiftChance = 15, + .spookChance = 10, + .baseStatusChance = 0, + .upAndAwayChance = 95, + .spinSmashReq = 4, + .powerBounceChance = 100, + .coinReward = 2, + .size = { 55, 32 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -24, 20 }, + .statusMessageOffset = { 5, 25 }, +}; + +s32 N(idleAnimations)[] = { + STATUS_NORMAL, ANIM_BillBlaster_Gold_Anim01, + STATUS_STONE, ANIM_BillBlaster_Gold_Anim00, + STATUS_STOP, ANIM_BillBlaster_Gold_Anim00, + STATUS_PARALYZE, ANIM_BillBlaster_Gold_Anim00, + STATUS_END, +}; + +EvtScript N(init) = { + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_PTR(N(takeTurn))) + EVT_CALL(BindIdle, ACTOR_SELF, EVT_PTR(N(idle))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_PTR(N(handleEvent))) + EVT_CALL(SetActorVar, ACTOR_SELF, 8, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(idle) = { + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(EVENT_HIT_COMBO) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BillBlaster_Gold_Anim03) + EVT_EXEC_WAIT(DoNormalHit) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BillBlaster_Gold_Anim03) + EVT_SET_CONST(LVar2, -1) + EVT_EXEC_WAIT(DoBurnHit) + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BillBlaster_Gold_Anim03) + EVT_SET_CONST(LVar2, -1) + EVT_EXEC_WAIT(DoBurnHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BillBlaster_Gold_Anim03) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_CASE_OR_EQ(EVENT_AIR_LIFT_FAILED) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BillBlaster_Gold_Anim01) + EVT_EXEC_WAIT(DoImmune) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BillBlaster_Gold_Anim03) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT(10) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BillBlaster_Gold_Anim03) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BillBlaster_Gold_Anim01) + EVT_EXEC_WAIT(DoRecover) + EVT_CASE_EQ(EVENT_BEGIN_AIR_LIFT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BillBlaster_Gold_Anim03) + EVT_EXEC_WAIT(DoAirLift) + EVT_CASE_EQ(EVENT_BLOW_AWAY) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_BillBlaster_Gold_Anim03) + EVT_EXEC_WAIT(DoBlowAway) + EVT_RETURN + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(takeTurn) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(GetActorVar, ACTOR_SELF, 8, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(0) + EVT_EXEC_WAIT(N(bulletShot)) + EVT_CASE_EQ(1) + EVT_EXEC_WAIT(N(wait)) + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +extern Formation N(formation_bill); + +ApiStatus ApplyBillSettings(Evt* script, s32 isInitialCall) { + N(formation_bill)[0].var0 = 1; + N(formation_bill)[0].var1 = script->owner1.actorID; + + return ApiStatus_DONE2; +} + +EvtScript N(bulletShot) = { + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BillBlaster_Gold_Anim02) + EVT_WAIT(13) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 10, EVT_FLOAT(1.0)) + EVT_END_THREAD + EVT_CALL(StartRumble, 9) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2C8) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 33) + EVT_ADD(LVar1, 19) + EVT_ADD(LVar2, 3) + EVT_CALL(PlayEffect, EFFECT_00, LVar0, LVar1, LVar2, 2, 5, 0, 2, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlayEffect, EFFECT_00, LVar0, LVar1, LVar2, 2, 5, 2, 2, 0, 0, 0, 0, 0, 0) + EVT_WAIT(2) + EVT_CALL(ApplyBillSettings) + EVT_CALL(SummonEnemy, EVT_PTR(N(formation_bill)), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 0, LVar0) + EVT_CALL(SetActorVar, ACTOR_SELF, 8, 1) + EVT_RETURN + EVT_END +}; + +EvtScript N(wait) = { + EVT_CALL(GetActorVar, ACTOR_SELF, 0, LVar0) + EVT_CALL(ActorExists, LVar0, LVar1) + EVT_IF_EQ(LVar1, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, 8, 0) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +extern ActorBlueprint A(bombshell_bill); + +Vec3i N(bill_pos) = { 0, -1000, 0 }; + +Formation N(formation_bill) = { + { .actor = &A(bombshell_bill), .home = { .vec = &N(bill_pos) }, .priority = 100, }, +}; diff --git a/src/battle/area_kpa4/actor/koopatrol.c b/src/battle/area_kpa4/actor/koopatrol.c new file mode 100644 index 0000000000..ab7feeace9 --- /dev/null +++ b/src/battle/area_kpa4/actor/koopatrol.c @@ -0,0 +1,5 @@ +#include "common.h" + +#define NAMESPACE b_area_kpa4_koopatrol + +#include "battle/common/actor/koopatrol.inc.c" diff --git a/src/battle/area_kpa4/actor/magikoopa.c b/src/battle/area_kpa4/actor/magikoopa.c new file mode 100644 index 0000000000..3760818e05 --- /dev/null +++ b/src/battle/area_kpa4/actor/magikoopa.c @@ -0,0 +1,5 @@ +#include "common.h" + +#define NAMESPACE b_area_kpa4_magikoopa + +#include "battle/common/actor/magikoopa.inc.c" diff --git a/src/battle/area_kpa4/area.c b/src/battle/area_kpa4/area.c new file mode 100644 index 0000000000..b9fc7ad045 --- /dev/null +++ b/src/battle/area_kpa4/area.c @@ -0,0 +1,85 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_kpa4 + +extern ActorBlueprint N(bombshell_bill_blaster); +extern ActorBlueprint N(bombshell_bill); +extern ActorBlueprint N(magikoopa); +extern ActorBlueprint N(koopatrol); + +extern Stage N(kpa_01); +extern Stage N(kpa_01b); +extern Stage N(kpa_02); +extern Stage N(kpa_03); +extern Stage N(kpa_04); +extern Stage N(kpa_04b); +extern Stage N(kpa_04c); +extern Stage N(kpa_05); +extern Stage N(kpa_07); +extern Stage N(kpa_08); +extern Stage N(kpa_09); +extern Stage N(kpa_11); +extern Stage N(kpa_13); +extern Stage N(kpa_14); + +Formation N(formation_00) = { + { .actor = &N(bombshell_bill), .home = { .index = 1 }, .priority = 10, }, + { .actor = &N(bombshell_bill), .home = { .index = 2 }, .priority = 9, }, +}; + +Formation N(formation_01) = { + { .actor = &N(bombshell_bill), .home = { .index = 0 }, .priority = 10, }, + { .actor = &N(bombshell_bill), .home = { .index = 1 }, .priority = 9, }, + { .actor = &N(bombshell_bill), .home = { .index = 2 }, .priority = 8, }, +}; + +Vec3i N(blaster_pos_1) = { 70, 0, -20 }; + +Vec3i N(blaster_pos_2) = { 100, 0, 0 }; + +Formation N(formation_02) = { + { .actor = &N(bombshell_bill_blaster), .home = { .vec = &N(blaster_pos_1) }, .priority = 10, }, + { .actor = &N(bombshell_bill_blaster), .home = { .vec = &N(blaster_pos_2) }, .priority = 9, }, +}; + +Vec3i N(pos_3) = { 130, 0, 25 }; + +Formation N(formation_03) = { + { .actor = &N(bombshell_bill_blaster), .home = { .vec = &N(blaster_pos_1) }, .priority = 10, }, + { .actor = &N(bombshell_bill_blaster), .home = { .vec = &N(blaster_pos_2) }, .priority = 9, }, + { .actor = &N(koopatrol), .home = { .vec = &N(pos_3) }, .priority = 8, }, +}; + +Formation N(formation_04) = { + { .actor = &N(bombshell_bill_blaster), .home = { .vec = &N(blaster_pos_1) }, .priority = 10, }, + { .actor = &N(bombshell_bill_blaster), .home = { .vec = &N(blaster_pos_2) }, .priority = 9, }, + { .actor = &N(magikoopa), .home = { .vec = &N(pos_3) }, .priority = 8, }, +}; + +BattleList N(formationTable) = { + BATTLE("スーパーキラーx2", N(formation_00), &N(kpa_01)), + BATTLE("スーパーキラーx3", N(formation_01), &N(kpa_01)), + BATTLE("スーパーキラーたいほうx2", N(formation_02), &N(kpa_01)), + BATTLE("スーパーキラーたいほうx2,トゲノコ", N(formation_03), &N(kpa_01)), + BATTLE("スーパーキラーたいほうx2,カメック", N(formation_04), &N(kpa_01)), + {}, +}; + +StageList N(stageTable) = { + { "kpa_01", &N(kpa_01) }, + { "kpa_01b", &N(kpa_01b) }, + { "kpa_02", &N(kpa_02) }, + { "kpa_03", &N(kpa_04) }, // @bug should be &N(kpa_03) + { "kpa_04", &N(kpa_04) }, + { "kpa_04b", &N(kpa_04b) }, + { "kpa_04c", &N(kpa_04c) }, + { "kpa_05", &N(kpa_05) }, + { "kpa_07", &N(kpa_07) }, + { "kpa_08", &N(kpa_08) }, + { "kpa_09", &N(kpa_09) }, + { "kpa_11", &N(kpa_11) }, + { "kpa_13", &N(kpa_13) }, + { "kpa_14", &N(kpa_14) }, + {}, +}; diff --git a/src/battle/area_kpa4/stage/kpa_01.c b/src/battle/area_kpa4/stage/kpa_01.c new file mode 100644 index 0000000000..da1984125b --- /dev/null +++ b/src/battle/area_kpa4/stage/kpa_01.c @@ -0,0 +1,53 @@ +#include "common.h" +#include "battle/battle.h" +#include "mapfs/kpa_bt01_shape.h" + +#define NAMESPACE b_area_kpa4_kpa_01 + +EvtScript N(8022EFE0) = { + EVT_SET(LVarA, LVar0) + EVT_CALL(SetTexPanner, LVarA, 1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, 1, 0, LVar0, LVar1) + EVT_ADD(LVar0, 32768) + EVT_ADD(LVar1, 0) + EVT_WAIT(5) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_CALL(SetGroupEnabled, 36, 0) + EVT_THREAD + EVT_SET(LVar0, 37) + EVT_EXEC(N(8022EFE0)) + EVT_WAIT(5) + EVT_SET(LVar0, 39) + EVT_EXEC(N(8022EFE0)) + EVT_END_THREAD + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList)[] = { + MODEL_o383, MODEL_o382, MODEL_o381, 0, +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt01_shape", + .hit = "kpa_bt01_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), + .foregroundModelList = N(foregroundModelList), +}; diff --git a/src/battle/area_kpa4/stage/kpa_01b.c b/src/battle/area_kpa4/stage/kpa_01b.c new file mode 100644 index 0000000000..92659dd33e --- /dev/null +++ b/src/battle/area_kpa4/stage/kpa_01b.c @@ -0,0 +1,50 @@ +#include "common.h" +#include "battle/battle.h" +#include "mapfs/kpa_bt01_shape.h" + +#define NAMESPACE b_area_kpa4_kpa_01b + +EvtScript N(8022F180) = { + EVT_SET(LVarA, LVar0) + EVT_CALL(SetTexPanner, LVarA, 1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, 1, 0, LVar0, LVar1) + EVT_ADD(LVar0, 32768) + EVT_ADD(LVar1, 0) + EVT_WAIT(5) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_CALL(SetGroupEnabled, 25, 0) + EVT_SET(LVar0, 37) + EVT_EXEC(N(8022F180)) + EVT_SET(LVar0, 39) + EVT_EXEC(N(8022F180)) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList)[] = { + MODEL_o383, MODEL_o382, MODEL_o381, 0, +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt01_shape", + .hit = "kpa_bt01_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), + .foregroundModelList = N(foregroundModelList), +}; diff --git a/src/battle/area_kpa4/stage/kpa_02.c b/src/battle/area_kpa4/stage/kpa_02.c new file mode 100644 index 0000000000..c015b70cf6 --- /dev/null +++ b/src/battle/area_kpa4/stage/kpa_02.c @@ -0,0 +1,103 @@ +#include "common.h" +#include "battle/battle.h" +#include "mapfs/kpa_bt02_shape.h" + +#define NAMESPACE b_area_kpa4_kpa_02 + +EvtScript N(8022F300) = { + EVT_SET(LVarA, LVar1) + EVT_SET(LVarB, LVar2) + EVT_SET(LVarC, LVar3) + EVT_CALL(SetTexPanner, LVar0, LVar1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, LVarA, 0, LVar0, LVar1) + EVT_ADD(LVar0, LVarB) + EVT_ADD(LVar1, LVarC) + EVT_WAIT(1) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(8022F3D0) = { + EVT_SET(LVarA, LVar1) + EVT_SET(LVarB, LVar2) + EVT_SET(LVarC, LVar3) + EVT_CALL(SetTexPanner, LVar0, LVar1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, LVarA, 0, LVar0, 0) + EVT_CALL(SetTexPanOffset, LVarA, 1, LVar1, 0) + EVT_ADD(LVar0, LVarB) + EVT_ADD(LVar1, LVarC) + EVT_WAIT(1) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(8022F4BC) = { + EVT_SET(LVarA, LVar1) + EVT_SET(LVarB, LVar2) + EVT_SET(LVarC, LVar3) + EVT_CALL(SetTexPanner, LVar0, LVar1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, LVarA, 0, 0, LVar0) + EVT_CALL(SetTexPanOffset, LVarA, 1, 0, LVar1) + EVT_ADD(LVar0, LVarB) + EVT_ADD(LVar1, LVarC) + EVT_WAIT(1) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_SET(LVar0, 16) + EVT_SET(LVar1, 1) + EVT_SET(LVar2, -400) + EVT_SET(LVar3, -800) + EVT_EXEC(N(8022F3D0)) + EVT_SET(LVar0, 19) + EVT_SET(LVar1, 3) + EVT_SET(LVar2, -400) + EVT_SET(LVar3, -800) + EVT_EXEC(N(8022F3D0)) + EVT_SET(LVar0, 17) + EVT_SET(LVar1, 0) + EVT_SET(LVar2, -400) + EVT_SET(LVar3, -800) + EVT_EXEC(N(8022F4BC)) + EVT_SET(LVar0, 18) + EVT_SET(LVar1, 2) + EVT_SET(LVar2, -400) + EVT_SET(LVar3, -800) + EVT_EXEC(N(8022F4BC)) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList)[] = { + MODEL_saku, 0, +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt02_shape", + .hit = "kpa_bt02_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), + .foregroundModelList = N(foregroundModelList), +}; diff --git a/src/battle/area_kpa4/stage/kpa_03.c b/src/battle/area_kpa4/stage/kpa_03.c new file mode 100644 index 0000000000..a9fb693873 --- /dev/null +++ b/src/battle/area_kpa4/stage/kpa_03.c @@ -0,0 +1,32 @@ +#include "common.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "mapfs/kpa_bt03_shape.h" + +#define NAMESPACE b_area_kpa4_kpa_03 + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_CALL(func_80253734, 1) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList)[] = { + MODEL_tar1, 0, +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt03_shape", + .hit = "kpa_bt03_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), + .foregroundModelList = N(foregroundModelList), +}; diff --git a/src/battle/area_kpa4/stage/kpa_04.c b/src/battle/area_kpa4/stage/kpa_04.c new file mode 100644 index 0000000000..d18ff97911 --- /dev/null +++ b/src/battle/area_kpa4/stage/kpa_04.c @@ -0,0 +1,53 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_kpa4_kpa_04 + +EvtScript N(8022F7F0) = { + EVT_SET(LVarA, LVar0) + EVT_CALL(SetTexPanner, LVarA, 1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, 1, 0, LVar0, LVar1) + EVT_ADD(LVar0, 32768) + EVT_ADD(LVar1, 0) + EVT_WAIT(5) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_CALL(SetGroupEnabled, 15, 0) + EVT_CALL(SetGroupEnabled, 17, 0) + EVT_CALL(SetGroupEnabled, 16, 0) + EVT_CALL(SetGroupEnabled, 26, 0) + EVT_CALL(SetGroupEnabled, 18, 0) + EVT_CALL(SetGroupEnabled, 20, 0) + EVT_CALL(SetGroupEnabled, 22, 0) + EVT_CALL(SetGroupEnabled, 24, 0) + EVT_SET(LVar0, 32) + EVT_EXEC(N(8022F7F0)) + EVT_SET(LVar0, 34) + EVT_EXEC(N(8022F7F0)) + EVT_SET(LVar0, 36) + EVT_EXEC(N(8022F7F0)) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt04_shape", + .hit = "kpa_bt04_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), +}; diff --git a/src/battle/area_kpa4/stage/kpa_04b.c b/src/battle/area_kpa4/stage/kpa_04b.c new file mode 100644 index 0000000000..58199c6ebb --- /dev/null +++ b/src/battle/area_kpa4/stage/kpa_04b.c @@ -0,0 +1,52 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_kpa4_kpa_04b + +EvtScript N(8022FA10) = { + EVT_SET(LVarA, LVar0) + EVT_CALL(SetTexPanner, LVarA, 1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, 1, 0, LVar0, LVar1) + EVT_ADD(LVar0, 32768) + EVT_ADD(LVar1, 0) + EVT_WAIT(5) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_CALL(SetGroupEnabled, 13, 0) + EVT_CALL(SetGroupEnabled, 17, 0) + EVT_CALL(SetGroupEnabled, 16, 0) + EVT_CALL(SetGroupEnabled, 18, 0) + EVT_CALL(SetGroupEnabled, 20, 0) + EVT_CALL(SetGroupEnabled, 22, 0) + EVT_CALL(SetGroupEnabled, 24, 0) + EVT_SET(LVar0, 32) + EVT_EXEC(N(8022FA10)) + EVT_SET(LVar0, 34) + EVT_EXEC(N(8022FA10)) + EVT_SET(LVar0, 36) + EVT_EXEC(N(8022FA10)) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt04_shape", + .hit = "kpa_bt04_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), +}; diff --git a/src/battle/area_kpa4/stage/kpa_04c.c b/src/battle/area_kpa4/stage/kpa_04c.c new file mode 100644 index 0000000000..0e1dcc432b --- /dev/null +++ b/src/battle/area_kpa4/stage/kpa_04c.c @@ -0,0 +1,53 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_kpa4_kpa_04c + +EvtScript N(8022FC20) = { + EVT_SET(LVarA, LVar0) + EVT_CALL(SetTexPanner, LVarA, 1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, 1, 0, LVar0, LVar1) + EVT_ADD(LVar0, 32768) + EVT_ADD(LVar1, 0) + EVT_WAIT(5) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_CALL(SetGroupEnabled, 30, 0) + EVT_CALL(SetGroupEnabled, 39, 0) + EVT_CALL(SetGroupEnabled, 38, 0) + EVT_CALL(SetGroupEnabled, 36, 0) + EVT_CALL(SetGroupEnabled, 34, 0) + EVT_CALL(SetGroupEnabled, 32, 0) + EVT_SET(LVar0, 18) + EVT_EXEC(N(8022FC20)) + EVT_SET(LVar0, 20) + EVT_EXEC(N(8022FC20)) + EVT_SET(LVar0, 22) + EVT_EXEC(N(8022FC20)) + EVT_SET(LVar0, 24) + EVT_EXEC(N(8022FC20)) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt04_shape", + .hit = "kpa_bt04_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), +}; diff --git a/src/battle/area_kpa4/stage/kpa_05.c b/src/battle/area_kpa4/stage/kpa_05.c new file mode 100644 index 0000000000..8c0f928ec0 --- /dev/null +++ b/src/battle/area_kpa4/stage/kpa_05.c @@ -0,0 +1,30 @@ +#include "common.h" +#include "battle/battle.h" +#include "mapfs/kpa_bt05_shape.h" + +#define NAMESPACE b_area_kpa4_kpa_05 + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList)[] = { + MODEL_saku, 0, +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt05_shape", + .hit = "kpa_bt05_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), + .foregroundModelList = N(foregroundModelList), +}; diff --git a/src/battle/area_kpa4/stage/kpa_07.c b/src/battle/area_kpa4/stage/kpa_07.c new file mode 100644 index 0000000000..d199305e9e --- /dev/null +++ b/src/battle/area_kpa4/stage/kpa_07.c @@ -0,0 +1,98 @@ +#include "common.h" +#include "battle/battle.h" +#include "mapfs/kpa_bt07_shape.h" + +#define NAMESPACE b_area_kpa4_kpa_07 + +EvtScript N(8022FEB0) = { + EVT_SET(LVarA, LVar1) + EVT_SET(LVarB, LVar2) + EVT_SET(LVarC, LVar3) + EVT_CALL(SetTexPanner, LVar0, LVar1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, LVarA, 0, LVar0, LVar1) + EVT_ADD(LVar0, LVarB) + EVT_ADD(LVar1, LVarC) + EVT_WAIT(1) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(8022FF80) = { + EVT_SET(LVarA, LVar1) + EVT_SET(LVarB, LVar2) + EVT_SET(LVarC, LVar3) + EVT_CALL(SetTexPanner, LVar0, LVar1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, LVarA, 0, LVar0, 0) + EVT_CALL(SetTexPanOffset, LVarA, 1, LVar1, 0) + EVT_ADD(LVar0, LVarB) + EVT_ADD(LVar1, LVarC) + EVT_WAIT(1) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(8023006C) = { + EVT_SET(LVarA, LVar1) + EVT_SET(LVarB, LVar2) + EVT_SET(LVarC, LVar3) + EVT_CALL(SetTexPanner, LVar0, LVar1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, LVarA, 0, 0, LVar0) + EVT_CALL(SetTexPanOffset, LVarA, 1, 0, LVar1) + EVT_ADD(LVar0, LVarB) + EVT_ADD(LVar1, LVarC) + EVT_WAIT(1) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_SET(LVar0, 16) + EVT_SET(LVar1, 0) + EVT_SET(LVar2, -200) + EVT_SET(LVar3, 0) + EVT_EXEC(N(8022FEB0)) + EVT_SET(LVar0, 17) + EVT_SET(LVar1, 1) + EVT_SET(LVar2, -120) + EVT_SET(LVar3, 0) + EVT_EXEC(N(8022FEB0)) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 2) + EVT_SET(LVar2, -100) + EVT_SET(LVar3, 0) + EVT_EXEC(N(8022FEB0)) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList)[] = { + MODEL_kemu1, 0, +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt07_shape", + .hit = "kpa_bt07_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), + .foregroundModelList = N(foregroundModelList), +}; diff --git a/src/battle/area_kpa4/stage/kpa_08.c b/src/battle/area_kpa4/stage/kpa_08.c new file mode 100644 index 0000000000..5bc5f9de4b --- /dev/null +++ b/src/battle/area_kpa4/stage/kpa_08.c @@ -0,0 +1,30 @@ +#include "common.h" +#include "battle/battle.h" +#include "mapfs/kpa_bt08_shape.h" + +#define NAMESPACE b_area_kpa4_kpa_08 + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList)[] = { + MODEL_o478, 0, +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt08_shape", + .hit = "kpa_bt08_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), + .foregroundModelList = N(foregroundModelList), +}; diff --git a/src/battle/area_kpa4/stage/kpa_09.c b/src/battle/area_kpa4/stage/kpa_09.c new file mode 100644 index 0000000000..e82f9d96da --- /dev/null +++ b/src/battle/area_kpa4/stage/kpa_09.c @@ -0,0 +1,30 @@ +#include "common.h" +#include "battle/battle.h" +#include "mapfs/kpa_bt09_shape.h" + +#define NAMESPACE b_area_kpa4_kpa_09 + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList)[] = { + MODEL_o353, 0, +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt09_shape", + .hit = "kpa_bt09_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), + .foregroundModelList = N(foregroundModelList), +}; diff --git a/src/battle/area_kpa4/stage/kpa_11.c b/src/battle/area_kpa4/stage/kpa_11.c new file mode 100644 index 0000000000..819845813d --- /dev/null +++ b/src/battle/area_kpa4/stage/kpa_11.c @@ -0,0 +1,30 @@ +#include "common.h" +#include "battle/battle.h" +#include "mapfs/kpa_bt11_shape.h" + +#define NAMESPACE b_area_kpa4_kpa_11 + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +s32 N(foregroundModelList)[] = { + MODEL_h2, 0, +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt11_shape", + .hit = "kpa_bt11_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), + .foregroundModelList = N(foregroundModelList), +}; diff --git a/src/battle/area_kpa4/stage/kpa_13.c b/src/battle/area_kpa4/stage/kpa_13.c new file mode 100644 index 0000000000..2b4c852285 --- /dev/null +++ b/src/battle/area_kpa4/stage/kpa_13.c @@ -0,0 +1,39 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_kpa4_kpa_13 + +EvtScript N(80230440) = { + EVT_SET(LVarA, LVar0) + EVT_CALL(SetTexPanner, LVarA, 1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, 1, 0, LVar0, LVar1) + EVT_ADD(LVar0, 32768) + EVT_ADD(LVar1, 0) + EVT_WAIT(5) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt13_shape", + .hit = "kpa_bt13_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), +}; diff --git a/src/battle/area_kpa4/stage/kpa_14.c b/src/battle/area_kpa4/stage/kpa_14.c new file mode 100644 index 0000000000..6baddea03d --- /dev/null +++ b/src/battle/area_kpa4/stage/kpa_14.c @@ -0,0 +1,39 @@ +#include "common.h" +#include "battle/battle.h" + +#define NAMESPACE b_area_kpa4_kpa_14 + +EvtScript N(80230570) = { + EVT_SET(LVarA, LVar0) + EVT_CALL(SetTexPanner, LVarA, 1) + EVT_SET(LVar0, 0) + EVT_SET(LVar1, 0) + EVT_LOOP(0) + EVT_CALL(SetTexPanOffset, 1, 0, LVar0, LVar1) + EVT_ADD(LVar0, 32768) + EVT_ADD(LVar1, 0) + EVT_WAIT(5) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(beforeBattle) = { + EVT_CALL(SetSpriteShading, -1) + EVT_CALL(SetCamBGColor, 1, 0, 0, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(afterBattle) = { + EVT_RETURN + EVT_END +}; + +Stage NAMESPACE = { + .texture = "kpa_tex", + .shape = "kpa_bt14_shape", + .hit = "kpa_bt14_hit", + .preBattle = &N(beforeBattle), + .postBattle = &N(afterBattle), +}; diff --git a/src/battle/area_mac/actor/chan.c b/src/battle/area_mac/actor/chan.c index 940a6789c4..29beb31d83 100644 --- a/src/battle/area_mac/actor/chan.c +++ b/src/battle/area_mac/actor/chan.c @@ -57,7 +57,7 @@ ActorPartBlueprint N(partsTable_80219E24)[] = { .eventFlags = ACTOR_EVENT_FLAG_FLIPABLE, .elementImmunityFlags = 0, .unk_1C = 1, - .unk_1D = 263, + .unk_1D = 7, }, }; @@ -595,7 +595,7 @@ EvtScript N(takeTurn_8021B81C) = { EVT_CALL(MoveBattleCamOver, 10) EVT_CALL(func_8024ECF8, -1, 1, 0) EVT_END_IF - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 3, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 3, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -655,7 +655,7 @@ EvtScript N(takeTurn_8021B81C) = { EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) EVT_CALL(ResetAllActorSounds, ACTOR_SELF) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 65535, 0, 3, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 65535, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) @@ -741,7 +741,7 @@ EvtScript N(takeTurn_Chan) = { EVT_WAIT(20) EVT_CALL(SetActorSounds, -127, 0, 0, 0) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20D3) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 2, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 2, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -790,7 +790,7 @@ EvtScript N(takeTurn_Chan) = { EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(14.0)) EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 65535, 0, 2, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 65535, 0, 2, BS_FLAGS1_SP_EVT_ACTIVE) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) @@ -833,7 +833,7 @@ EvtScript N(init_8021CCDC) = { EVT_CALL(SetActorVar, -127, 0, 0) EVT_CALL(SetActorVar, -127, 1, 0) EVT_CALL(SetActorVar, -127, 2, 0) - EVT_CALL(SetBattleFlagBits, 8388608, 1) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_800000, 1) EVT_RETURN EVT_END }; @@ -900,7 +900,7 @@ EvtScript N(handleEvent_8021D0CC) = { EVT_SWITCH(LVar0) EVT_CASE_EQ(13) EVT_CALL(GetBattleFlags, LVar0) - EVT_IF_NOT_FLAG(LVar0, 0x20) + EVT_IF_NOT_FLAG(LVar0, BS_FLAGS1_SP_EVT_ACTIVE) EVT_BREAK_SWITCH EVT_END_IF EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) diff --git a/src/battle/area_mac/actor/lee.c b/src/battle/area_mac/actor/lee.c index 62521a5258..95d06d8808 100644 --- a/src/battle/area_mac/actor/lee.c +++ b/src/battle/area_mac/actor/lee.c @@ -138,7 +138,7 @@ EvtScript N(init_8021D4C8) = { EVT_CALL(func_8026BF48, 0) EVT_END_THREAD EVT_CALL(func_802180D0_464560) - EVT_CALL(SetBattleFlagBits, 8388608, 1) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_800000, 1) EVT_RETURN EVT_END }; @@ -265,7 +265,7 @@ EvtScript N(flyingTackle) = { EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Lee_Crouch) EVT_WAIT(20) EVT_CALL(SetActorSounds, -127, 2, 715, 0) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -309,7 +309,7 @@ EvtScript N(flyingTackle) = { EVT_CALL(JumpToGoal, ACTOR_SELF, 12, FALSE, TRUE, FALSE) EVT_WAIT(2) EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 5, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 5, BS_FLAGS1_SP_EVT_ACTIVE) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) @@ -750,9 +750,66 @@ EvtScript N(8021F5F8) = { EVT_END }; -ApiStatus func_80218100_464590(Evt*, s32); -INCLUDE_ASM(s32, "battle/area_mac/actor/lee", func_80218100_464590); +ApiStatus func_80218100_464590(Evt* script, s32 isInitialCall) { + PlayerData* playerData = &gPlayerData; + s32 currentPartner = script->varTable[5]; + s32 partnerId; + s32 i; + s32 sp10[12]; + if (D_80232C50 < 0) { + D_80232C50 = currentPartner; + D_80232C20[currentPartner] = TRUE; + return ApiStatus_DONE2; + } + + if (D_80232C50 != currentPartner && !D_80232C20[currentPartner]) { + D_80232C50 = currentPartner; + D_80232C20[currentPartner] = TRUE; + return ApiStatus_DONE2; + } + + for (i = 0; i < 12; i++) { + sp10[i] = i; + } + + for (i = 0; i < 100; i++) { + s32 index1 = rand_int(11); + s32 index2 = rand_int(11); + s32 tempValue = sp10[index1]; + sp10[index1] = sp10[index2]; + sp10[index2] = tempValue; + } + + for (i = 0; i < 12; i++) { + partnerId = sp10[i]; + + if (playerData->partners[partnerId].enabled && + partnerId != PARTNER_GOOMPA && + partnerId != PARTNER_GOOMBARIA && + partnerId != PARTNER_TWINK && + partnerId != currentPartner && + !D_80232C20[partnerId] + ) { + break; + } + } + + if (i < 12) { + D_80232C20[partnerId] = TRUE; + D_80232C50 = partnerId; + script->varTable[5] = partnerId; + script->varTable[6] = playerData->partners[partnerId].level; + return ApiStatus_DONE2; + } else { + for (i = 0; i < 12; i++) { + D_80232C20[i] = FALSE; + } + D_80232C50 = currentPartner; + D_80232C20[currentPartner] = TRUE; + return ApiStatus_DONE2; + } +} #include "world/common/UnkFunc62.inc.c" @@ -784,7 +841,7 @@ EvtScript N(8021F6E0) = { EVT_CALL(AddGoalPos, ACTOR_SELF, 0, 0, 5) EVT_CALL(SetJumpAnimations, ACTOR_SELF, 1, ANIM_BattleGoombario_Headbonk, ANIM_BattleGoombario_Headbonk, ANIM_BattleGoombario_Headbonk) EVT_CALL(N(UnkFunc62), LVarA, 0) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -817,11 +874,11 @@ EvtScript N(8021F6E0) = { EVT_CALL(GetActorVar, -127, 1, LVar9) EVT_SWITCH(LVar9) EVT_CASE_EQ(0) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 1, 16) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 1, BS_FLAGS1_10) EVT_CASE_EQ(1) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 2, 16) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 2, BS_FLAGS1_10) EVT_CASE_EQ(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 3, 16) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 3, BS_FLAGS1_10) EVT_END_SWITCH EVT_CALL(GetActorHP, 0, LVar0) EVT_IF_EQ(LVar0, 0) @@ -895,11 +952,11 @@ EvtScript N(8021F6E0) = { EVT_CALL(GetActorVar, -127, 1, LVar9) EVT_SWITCH(LVar9) EVT_CASE_EQ(0) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 1, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CASE_EQ(1) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 2, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 2, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CASE_EQ(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 3, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE) EVT_END_SWITCH EVT_LABEL(100) EVT_SWITCH(LVar0) @@ -945,7 +1002,7 @@ EvtScript N(80220100) = { EVT_WAIT(10) EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(SetBattleFlagBits, 4, 1) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_4, 1) EVT_CALL(N(UnkEffect6CFunc), LVar5) EVT_WAIT(12) EVT_CALL(SetCamEnabled, 2, 1) @@ -970,7 +1027,7 @@ EvtScript N(80220100) = { EVT_CALL(SetCamEnabled, 2, 0) EVT_WAIT(32) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) - EVT_CALL(SetBattleFlagBits, 4, 0) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_4, 0) EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) EVT_RETURN @@ -1418,7 +1475,7 @@ EvtScript N(takeTurn_80221200) = { EVT_CALL(AddActorDecoration, ACTOR_SELF, 0, 0, 5) EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -1473,13 +1530,13 @@ EvtScript N(takeTurn_80221200) = { EVT_SWITCH(LVar9) EVT_CASE_EQ(0) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 65535, 0, 2, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 65535, 0, 2, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CASE_EQ(1) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 65535, 0, 3, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 65535, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CASE_EQ(2) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 65535, 0, 5, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 65535, 0, 5, BS_FLAGS1_SP_EVT_ACTIVE) EVT_END_SWITCH EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) @@ -1767,7 +1824,7 @@ EvtScript N(takeTurn_802229C4) = { EVT_WAIT(15) EVT_CALL(SetActorSounds, -127, 0, 0, 0) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2020) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -1816,13 +1873,13 @@ EvtScript N(takeTurn_802229C4) = { EVT_SWITCH(LVar9) EVT_CASE_EQ(0) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 2, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 2, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CASE_EQ(1) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 3, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CASE_EQ(2) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 5, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 5, BS_FLAGS1_SP_EVT_ACTIVE) EVT_END_SWITCH EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) @@ -2153,7 +2210,7 @@ EvtScript N(80223B74) = { EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleParakarry_Dive) EVT_CALL(FlyToGoal, ACTOR_SELF, 5, 0, 0) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -2189,13 +2246,13 @@ EvtScript N(80223B74) = { EVT_SWITCH(LVar9) EVT_CASE_EQ(0) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 2, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 2, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CASE_EQ(1) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 3, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CASE_EQ(2) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 5, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 5, BS_FLAGS1_SP_EVT_ACTIVE) EVT_END_SWITCH EVT_CALL(PlaySound, SOUND_0) EVT_SWITCH(LVar0) @@ -2537,7 +2594,7 @@ EvtScript N(takeTurn_80224CA0) = { EVT_WAIT(10) EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_WAIT(15) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -2635,13 +2692,13 @@ EvtScript N(takeTurn_80224CA0) = { EVT_SWITCH(LVar9) EVT_CASE_EQ(0) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 1, 16) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 1, BS_FLAGS1_10) EVT_CASE_EQ(1) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 1, 16) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 1, BS_FLAGS1_10) EVT_CASE_EQ(2) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 1, 16) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 1, BS_FLAGS1_10) EVT_END_SWITCH EVT_WAIT(8) EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleBow_Idle) @@ -2819,20 +2876,102 @@ EvtScript N(init_Watt) = { EVT_END }; -ApiStatus func_80219188_465618(Evt* script, s32 isInitialCall); -INCLUDE_ASM(s32, "battle/area_mac/actor/lee", func_80219188_465618); +ApiStatus func_80219188_465618(Evt* script, s32 isInitialCall) { + WattEffectData* wattEffectData; + f32 x, y, z; + Actor* actor = get_actor(script->owner1.enemyID); + ActorState* state = &actor->state; -ApiStatus func_80219604_465A94(Evt* script, s32 isInitialCall) { - WattEffectData* unkDuplighost = (WattEffectData*)get_actor(script->owner1.actorID)->state.varTable[3]; - - unkDuplighost->flags = 0; - - if (unkDuplighost->effect1 != NULL) { - unkDuplighost->effect1->flags |= EFFECT_INSTANCE_FLAGS_10; + if (isInitialCall) { + wattEffectData = heap_malloc(sizeof(*wattEffectData)); + actor->state.varTablePtr[3] = wattEffectData; + wattEffectData->unk_04 = TRUE; + wattEffectData->angle = 0; + wattEffectData->unk_0C = TRUE; + wattEffectData->unk_10 = 0; + wattEffectData->effect1 = fx_static_status(0, actor->currentPos.x, actor->currentPos.y, actor->currentPos.z, (actor->debuff != STATUS_SHRINK) ? 1.0f : 0.4f, 5, 0); + wattEffectData->effect2 = fx_static_status(1, actor->currentPos.x, -1000.0f, actor->currentPos.z, (actor->debuff != STATUS_SHRINK) ? 1.0f : 0.4f, 5, 0); + wattEffectData->flags = TRUE; + wattEffectData->debuff = actor->debuff; } - if (unkDuplighost->effect2 != NULL) { - unkDuplighost->effect2->flags |= EFFECT_INSTANCE_FLAGS_10; + wattEffectData = state->varTablePtr[3]; + if (wattEffectData->flags) { + if (wattEffectData->unk_04 && actor->debuff != STATUS_STOP) { + wattEffectData->angle += 15; + wattEffectData->angle = clamp_angle(wattEffectData->angle); + } + actor->unk_19A = sin_rad(DEG_TO_RAD(wattEffectData->angle)) * 3.0f; + + x = actor->currentPos.x + actor->headOffset.x; + y = actor->currentPos.y + actor->headOffset.y + actor->unk_19A + (actor->debuff != STATUS_SHRINK ? 12.0 : 4.800000000000001); // 4.8 doesn't match + z = actor->currentPos.z + actor->headOffset.z; + if (wattEffectData->unk_0C) { + switch (wattEffectData->unk_10) { + case 0: + if (wattEffectData->effect1 == NULL) { + wattEffectData->effect1 = fx_static_status(0, x, y, z, (actor->debuff != STATUS_SHRINK) ? 1.0f : 0.4f, 5, 0); + } + + if (wattEffectData->effect2 != NULL) { + wattEffectData->effect2->flags |= EFFECT_INSTANCE_FLAGS_10; + wattEffectData->effect2 = NULL; + } + wattEffectData->effect1->data.staticStatus->unk_04 = x; + wattEffectData->effect1->data.staticStatus->unk_08 = y; + wattEffectData->effect1->data.staticStatus->unk_0C = z; + break; + case 1: + if (wattEffectData->effect1 != NULL) { + wattEffectData->effect1->flags |= EFFECT_INSTANCE_FLAGS_10; + wattEffectData->effect1 = NULL; + } + if (wattEffectData->effect2 == NULL) { + wattEffectData->effect2 = fx_static_status(1, x, y, z, (actor->debuff != STATUS_SHRINK) ? 1.0f : 0.4f, 5, 0); + + } + wattEffectData->effect2->data.staticStatus->unk_04 = x; + wattEffectData->effect2->data.staticStatus->unk_08 = y; + wattEffectData->effect2->data.staticStatus->unk_0C = z; + break; + } + } else { + if (wattEffectData->effect1 != NULL) { + wattEffectData->effect1->flags |= EFFECT_INSTANCE_FLAGS_10; + wattEffectData->effect1 = NULL; + } + if (wattEffectData->effect2 != NULL) { + wattEffectData->effect2->flags |= EFFECT_INSTANCE_FLAGS_10; + wattEffectData->effect2 = NULL; + } + } + if (wattEffectData->debuff != actor->debuff && wattEffectData->unk_0C) { + if (wattEffectData->effect1 != NULL) { + wattEffectData->effect1->flags |= EFFECT_INSTANCE_FLAGS_10; + wattEffectData->effect1 = NULL; + } + if (wattEffectData->effect2 != NULL) { + wattEffectData->effect2->flags |= EFFECT_INSTANCE_FLAGS_10; + wattEffectData->effect2 = NULL; + } + } + wattEffectData->debuff = actor->debuff; + return ApiStatus_BLOCK; + } + return ApiStatus_DONE2; +} + +ApiStatus func_80219604_465A94(Evt* script, s32 isInitialCall) { + WattEffectData* wattEffectData = (WattEffectData*)get_actor(script->owner1.actorID)->state.varTable[3]; + + wattEffectData->flags = 0; + + if (wattEffectData->effect1 != NULL) { + wattEffectData->effect1->flags |= EFFECT_INSTANCE_FLAGS_10; + } + + if (wattEffectData->effect2 != NULL) { + wattEffectData->effect2->flags |= EFFECT_INSTANCE_FLAGS_10; } return ApiStatus_DONE2; @@ -2985,7 +3124,7 @@ EvtScript N(takeTurn_80226004) = { EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleWatt_Strain) EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(FlyToGoal, ACTOR_SELF, 5, 0, 10) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -3052,13 +3191,13 @@ EvtScript N(takeTurn_80226004) = { EVT_SWITCH(LVar9) EVT_CASE_EQ(0) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, (DAMAGE_TYPE_ELECTRIC | DAMAGE_TYPE_IGNORE_DEFENSE), 65535, 0, 3, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, (DAMAGE_TYPE_ELECTRIC | DAMAGE_TYPE_IGNORE_DEFENSE), 65535, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CASE_EQ(1) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, (DAMAGE_TYPE_ELECTRIC | DAMAGE_TYPE_IGNORE_DEFENSE), 65535, 0, 4, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, (DAMAGE_TYPE_ELECTRIC | DAMAGE_TYPE_IGNORE_DEFENSE), 65535, 0, 4, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CASE_EQ(2) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, (DAMAGE_TYPE_ELECTRIC | DAMAGE_TYPE_IGNORE_DEFENSE), 65535, 0, 5, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, (DAMAGE_TYPE_ELECTRIC | DAMAGE_TYPE_IGNORE_DEFENSE), 65535, 0, 5, BS_FLAGS1_SP_EVT_ACTIVE) EVT_END_SWITCH EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) @@ -3342,7 +3481,7 @@ EvtScript N(takeTurn_802270BC) = { EVT_WAIT(15) EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleSushie_Tense2) EVT_WAIT(15) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -3509,13 +3648,13 @@ EvtScript N(takeTurn_802270BC) = { EVT_SWITCH(LVarA) EVT_CASE_EQ(0) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 3, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CASE_EQ(1) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 4, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 4, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CASE_EQ(2) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 5, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 5, BS_FLAGS1_SP_EVT_ACTIVE) EVT_END_SWITCH EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) @@ -3880,7 +4019,7 @@ EvtScript N(takeTurn_80228B78) = { EVT_WAIT(3) EVT_CALL(SetPartSounds, -127, 3, 2, 0, 0) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_201B) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -3926,13 +4065,13 @@ EvtScript N(takeTurn_80228B78) = { EVT_SWITCH(LVar9) EVT_CASE_EQ(0) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_NO_CONTACT, 0, 0, 3, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_NO_CONTACT, 0, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CASE_EQ(1) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_NO_CONTACT, 0, 0, 4, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_NO_CONTACT, 0, 0, 4, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CASE_EQ(2) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_NO_CONTACT, 0, 0, 5, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_NO_CONTACT, 0, 0, 5, BS_FLAGS1_SP_EVT_ACTIVE) EVT_END_SWITCH EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) diff --git a/src/battle/area_mac/actor/master1.c b/src/battle/area_mac/actor/master1.c index 95cfb784ef..40d56ad610 100644 --- a/src/battle/area_mac/actor/master1.c +++ b/src/battle/area_mac/actor/master1.c @@ -104,7 +104,7 @@ EvtScript N(init_8022A3B0) = { EVT_CALL(SetActorVar, -127, 2, 0) EVT_CALL(SetActorVar, -127, 3, 2) EVT_SET(GF_FoughtTheMaster, 1) - EVT_CALL(SetBattleFlagBits, 8388608, 1) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_800000, 1) EVT_RETURN EVT_END }; @@ -244,7 +244,7 @@ EvtScript N(takeTurn_8022AA54) = { EVT_END_THREAD EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(RunToGoal, ACTOR_SELF, 8, TRUE) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 0, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 0, BS_FLAGS1_10) EVT_SWITCH(LVarA) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -275,7 +275,7 @@ EvtScript N(takeTurn_8022AA54) = { EVT_END_SWITCH EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_3ED) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 6, 48) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 6, BS_FLAGS1_10 | BS_FLAGS1_SP_EVT_ACTIVE) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) @@ -352,7 +352,7 @@ EvtScript N(handleEvent_8022B2CC) = { EVT_RETURN EVT_END_IF EVT_CALL(GetBattleFlags, LVar0) - EVT_IF_FLAG(LVar0, 0x240) + EVT_IF_FLAG(LVar0, BS_FLAGS1_200 | BS_FLAGS1_40) EVT_CALL(GetLastDamage, -127, LVar0) EVT_IF_GT(LVar0, 0) EVT_CALL(SetActorVar, -127, 2, 1) diff --git a/src/battle/area_mac/actor/master2.c b/src/battle/area_mac/actor/master2.c index b2518c18b9..74231c1aa9 100644 --- a/src/battle/area_mac/actor/master2.c +++ b/src/battle/area_mac/actor/master2.c @@ -116,7 +116,7 @@ EvtScript N(init_8022B7DC) = { EVT_CALL(SetActorVar, -127, 1, 0) EVT_CALL(SetActorVar, -127, 2, 0) EVT_CALL(SetActorVar, -127, 3, 2) - EVT_CALL(SetBattleFlagBits, 8388608, 1) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_800000, 1) EVT_RETURN EVT_END }; @@ -250,7 +250,7 @@ EvtScript N(singleStrike2) = { EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_TheMaster_AscendedKick) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20BC) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20BB) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 0, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 0, BS_FLAGS1_10) EVT_SWITCH(LVarA) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -282,7 +282,7 @@ EvtScript N(singleStrike2) = { EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_3ED) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20BB) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 8, 48) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 8, BS_FLAGS1_10 | BS_FLAGS1_SP_EVT_ACTIVE) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) @@ -347,7 +347,7 @@ EvtScript N(doubleStrike2) = { EVT_WAIT(10) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_3B9) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20BB) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 0, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 0, BS_FLAGS1_10) EVT_SWITCH(LVarA) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -389,7 +389,7 @@ EvtScript N(doubleStrike2) = { EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_3ED) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20BB) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 5, 16) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 5, BS_FLAGS1_10) EVT_WAIT(15) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) EVT_THREAD @@ -410,7 +410,7 @@ EvtScript N(doubleStrike2) = { EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_3ED) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20BB) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 6, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 6, BS_FLAGS1_SP_EVT_ACTIVE) EVT_WAIT(15) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) @@ -577,7 +577,7 @@ EvtScript N(handleEvent_8022D634) = { EVT_RETURN EVT_END_IF EVT_CALL(GetBattleFlags, LVar0) - EVT_IF_FLAG(LVar0, 0x240) + EVT_IF_FLAG(LVar0, BS_FLAGS1_200 | BS_FLAGS1_40) EVT_CALL(GetLastDamage, -127, LVar0) EVT_IF_GT(LVar0, 0) EVT_CALL(SetActorVar, -127, 2, 1) diff --git a/src/battle/area_mac/actor/master3.c b/src/battle/area_mac/actor/master3.c index 6382108beb..b81f7dfce9 100644 --- a/src/battle/area_mac/actor/master3.c +++ b/src/battle/area_mac/actor/master3.c @@ -128,7 +128,7 @@ EvtScript N(init_8022DB60) = { EVT_CALL(SetActorVar, -127, 1, 0) EVT_CALL(SetActorVar, -127, 2, 0) EVT_CALL(SetActorVar, -127, 3, 2) - EVT_CALL(SetBattleFlagBits, 8388608, 1) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_800000, 1) EVT_RETURN EVT_END }; @@ -275,7 +275,7 @@ EvtScript N(singleStrike3) = { EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_TheMaster_AscendedKick) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20BC) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20BB) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 0, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 0, BS_FLAGS1_10) EVT_SWITCH(LVarA) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -307,7 +307,7 @@ EvtScript N(singleStrike3) = { EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_3ED) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20BB) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 10, 48) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 10, BS_FLAGS1_10 | BS_FLAGS1_SP_EVT_ACTIVE) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) @@ -372,7 +372,7 @@ EvtScript N(doubleStrike3) = { EVT_WAIT(10) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_3B9) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20BB) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 0, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 0, BS_FLAGS1_10) EVT_SWITCH(LVarA) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -414,7 +414,7 @@ EvtScript N(doubleStrike3) = { EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_3ED) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20BB) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 6, 16) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 6, BS_FLAGS1_10) EVT_WAIT(15) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) EVT_THREAD @@ -435,7 +435,7 @@ EvtScript N(doubleStrike3) = { EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_3ED) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20BB) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 7, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 7, BS_FLAGS1_SP_EVT_ACTIVE) EVT_WAIT(15) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) @@ -503,7 +503,7 @@ EvtScript N(tripleStrike3) = { EVT_WAIT(10) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_3B9) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20BB) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 0, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 0, BS_FLAGS1_10) EVT_SWITCH(LVarA) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -545,7 +545,7 @@ EvtScript N(tripleStrike3) = { EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_3ED) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20BB) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 5, 16) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 5, BS_FLAGS1_10) EVT_WAIT(15) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) EVT_THREAD @@ -625,7 +625,7 @@ EvtScript N(tripleStrike3) = { EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_3EE) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20BB) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 7, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 7, BS_FLAGS1_SP_EVT_ACTIVE) EVT_WAIT(15) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) @@ -764,7 +764,7 @@ EvtScript N(8023059C) = { EVT_CALL(JumpPartTo, -127, 2, LVar0, LVar1, LVar2, 10, 1) EVT_CALL(SetPartFlagBits, -127, 2, 1, 1) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 10, 16) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 10, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) @@ -797,7 +797,7 @@ EvtScript N(80230914) = { EVT_CALL(FlyToGoal, ACTOR_SELF, 30, 0, 0) EVT_WAIT(10000) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 10, 16) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 0, 0, 10, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) @@ -960,7 +960,7 @@ EvtScript N(handleEvent_80231408) = { EVT_RETURN EVT_END_IF EVT_CALL(GetBattleFlags, LVar0) - EVT_IF_FLAG(LVar0, 0x240) + EVT_IF_FLAG(LVar0, BS_FLAGS1_200 | BS_FLAGS1_40) EVT_CALL(GetLastDamage, -127, LVar0) EVT_IF_GT(LVar0, 0) EVT_CALL(SetActorVar, -127, 2, 1) diff --git a/src/battle/area_nok/actor/kent_c_koopa.c b/src/battle/area_nok/actor/kent_c_koopa.c index 618d089ae3..77fb7d4b57 100644 --- a/src/battle/area_nok/actor/kent_c_koopa.c +++ b/src/battle/area_nok/actor/kent_c_koopa.c @@ -441,13 +441,13 @@ EvtScript N(handleEvent_80227E08) = { EVT_CALL(GetActorVar, -127, 4, LVar0) EVT_IF_EQ(LVar0, 0) EVT_CALL(GetBattleFlags, LVarD) - EVT_IF_FLAG(LVarD, 0x20) + EVT_IF_FLAG(LVarD, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(SetActorVar, -127, 4, 2) EVT_END_IF EVT_EXEC_WAIT(N(flipOver_KentC)) EVT_ELSE EVT_CALL(GetBattleFlags, LVarD) - EVT_IF_FLAG(LVarD, 0x20) + EVT_IF_FLAG(LVarD, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(SetActorVar, -127, 4, 2) EVT_CALL(GetLastDamage, -127, LVar0) EVT_IF_GT(LVar0, 0) @@ -609,12 +609,12 @@ EvtScript N(shellToss_KentC) = { EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_370) EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_KentCKoopa_Anim0A) EVT_WAIT(10) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 3, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, 0, 0, 3, BS_FLAGS1_10) EVT_SWITCH(LVarA) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PARTNER) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarB, 0, 0, 3, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarB, 0, 0, 3, BS_FLAGS1_10) EVT_SWITCH(LVarB) EVT_CASE_EQ(6) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) @@ -696,11 +696,11 @@ EvtScript N(shellToss_KentC) = { EVT_IF_NOT_FLAG(LVarE, 0x80000) EVT_CALL(func_80269EAC, 24) EVT_END_IF - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, 0, 65535, 0, 3, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, 0, 65535, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE) EVT_SET(LVarA, 0) EVT_IF_NOT_FLAG(LVarE, 0x80000) EVT_CALL(GetBattleFlags, LVar0) - EVT_IF_NOT_FLAG(LVar0, 0x80000000) + EVT_IF_NOT_FLAG(LVar0, BS_FLAGS1_ATK_BLOCKED) EVT_CALL(GetStatusFlags, ACTOR_PLAYER, LVar0) EVT_IF_NOT_FLAG(LVar0, 0x100000) EVT_SET(LVarA, 1) @@ -718,9 +718,9 @@ EvtScript N(shellToss_KentC) = { EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(func_80269EAC, 25) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 65535, 0, 3, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 65535, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(GetBattleFlags, LVar0) - EVT_IF_NOT_FLAG(LVar0, 0x80000000) + EVT_IF_NOT_FLAG(LVar0, BS_FLAGS1_ATK_BLOCKED) EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) EVT_CALL(SetGoalPos, ACTOR_SELF, -240, 0, LVar2) @@ -817,7 +817,7 @@ EvtScript N(tackle_KentC) = { EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_KentCKoopa_Anim01) EVT_WAIT(8) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_3E7) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(6) EVT_CASE_OR_EQ(5) @@ -916,7 +916,7 @@ EvtScript N(tackle_KentC) = { EVT_IF_NOT_FLAG(LVarF, 0x80000) EVT_CALL(func_80269EAC, 24) EVT_END_IF - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, 0, 65535, 0, 10, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, 0, 65535, 0, 10, BS_FLAGS1_SP_EVT_ACTIVE) EVT_SWITCH(LVarF) EVT_CASE_OR_EQ(0) EVT_CASE_OR_EQ(2) @@ -924,7 +924,7 @@ EvtScript N(tackle_KentC) = { EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) EVT_CALL(MoveBattleCamOver, 30) EVT_CALL(GetBattleFlags, LVar0) - EVT_IF_NOT_FLAG(LVar0, 0x80000000) + EVT_IF_NOT_FLAG(LVar0, BS_FLAGS1_ATK_BLOCKED) EVT_CALL(GetStatusFlags, ACTOR_PLAYER, LVar0) EVT_IF_NOT_FLAG(LVar0, 0x100000) EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarE) diff --git a/src/battle/area_omo2_5/actor/shy_squad_dup.c b/src/battle/area_omo2_5/actor/shy_squad_dup.c index 4fee7e5387..3953c7d604 100644 --- a/src/battle/area_omo2_5/actor/shy_squad_dup.c +++ b/src/battle/area_omo2_5/actor/shy_squad_dup.c @@ -1159,9 +1159,9 @@ EvtScript N(attack) = { EVT_SET(LVarD, LVarE) EVT_LOOP(LVarD) EVT_IF_GT(LVarE, 1) - EVT_SET(LVar0, 64) + EVT_SET(LVar0, BS_FLAGS1_40) EVT_ELSE - EVT_SET(LVar0, 32) + EVT_SET(LVar0, BS_FLAGS1_SP_EVT_ACTIVE) EVT_END_IF EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarF, 0, 0, 0, 1, LVar0) diff --git a/src/battle/area_omo3/actor/hammer_bro.c b/src/battle/area_omo3/actor/hammer_bro.c index 6a303b385e..4e3476b0f7 100644 --- a/src/battle/area_omo3/actor/hammer_bro.c +++ b/src/battle/area_omo3/actor/hammer_bro.c @@ -1,595 +1,5 @@ #include "common.h" -#include "battle/battle.h" -#include "script_api/battle.h" -#include "sprite/npc/HammerBros.h" #define NAMESPACE b_area_omo3_hammer_bro -extern EvtScript N(init); -extern EvtScript N(takeTurn); -extern EvtScript N(idle); -extern EvtScript N(handleEvent); - -s32 N(idleAnimations)[] = { - STATUS_NORMAL, ANIM_HammerBros_Anim02, - STATUS_STONE, ANIM_HammerBros_Anim00, - STATUS_SLEEP, ANIM_HammerBros_Anim11, - STATUS_POISON, ANIM_HammerBros_Anim02, - STATUS_STOP, ANIM_HammerBros_Anim00, - STATUS_STATIC, ANIM_HammerBros_Anim02, - STATUS_PARALYZE, ANIM_HammerBros_Anim00, - STATUS_DIZZY, ANIM_HammerBros_Anim12, - STATUS_FEAR, ANIM_HammerBros_Anim12, - STATUS_END, -}; - -s32 N(idleAnimations2)[] = { - STATUS_NORMAL, ANIM_HammerBros_Anim0D, - STATUS_END, -}; - -s32 N(defenseTable)[] = { - ELEMENT_NORMAL, 1, - ELEMENT_END, -}; - -s32 N(statusTable)[] = { - STATUS_NORMAL, 0, - STATUS_DEFAULT, 0, - STATUS_SLEEP, 50, - STATUS_POISON, 60, - STATUS_FROZEN, 0, - STATUS_DIZZY, 70, - STATUS_FEAR, 0, - STATUS_STATIC, 80, - STATUS_PARALYZE, 70, - STATUS_SHRINK, 70, - STATUS_STOP, 80, - STATUS_DEFAULT_TURN_MOD, 0, - STATUS_SLEEP_TURN_MOD, -1, - STATUS_POISON_TURN_MOD, 0, - STATUS_FROZEN_TURN_MOD, 0, - STATUS_DIZZY_TURN_MOD, -1, - STATUS_FEAR_TURN_MOD, 0, - STATUS_STATIC_TURN_MOD, 0, - STATUS_PARALYZE_TURN_MOD, 0, - STATUS_SHRINK_TURN_MOD, 0, - STATUS_STOP_TURN_MOD, -2, - STATUS_END, -}; - -ActorPartBlueprint N(parts)[] = { - { - .flags = ACTOR_PART_FLAG_MULTI_TARGET, - .index = 1, - .posOffset = { 0, 0, 0 }, - .targetOffset = { -3, 35 }, - .opacity = 255, - .idleAnimations = N(idleAnimations), - .defenseTable = N(defenseTable), - .eventFlags = 0, - .elementImmunityFlags = 0, - .unk_1C = -3, - .unk_1D = -10, - }, - { - .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_USE_ABSOLUTE_POSITION, - .index = 2, - .posOffset = { 0, 0, 0 }, - .targetOffset = { 0, 0 }, - .opacity = 255, - .idleAnimations = N(idleAnimations2), - .defenseTable = N(defenseTable), - .eventFlags = 0, - .elementImmunityFlags = 0, - .unk_1C = 0, - .unk_1D = 0, - }, - { - .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_USE_ABSOLUTE_POSITION, - .index = 3, - .posOffset = { 0, 0, 0 }, - .targetOffset = { 0, 0 }, - .opacity = 255, - .idleAnimations = N(idleAnimations2), - .defenseTable = N(defenseTable), - .eventFlags = 0, - .elementImmunityFlags = 0, - .unk_1C = 0, - .unk_1D = 0, - }, - { - .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_USE_ABSOLUTE_POSITION, - .index = 4, - .posOffset = { 0, 0, 0 }, - .targetOffset = { 0, 0 }, - .opacity = 255, - .idleAnimations = N(idleAnimations2), - .defenseTable = N(defenseTable), - .eventFlags = 0, - .elementImmunityFlags = 0, - .unk_1C = 0, - .unk_1D = 0, - }, - { - .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_USE_ABSOLUTE_POSITION, - .index = 5, - .posOffset = { 0, 0, 0 }, - .targetOffset = { 0, 0 }, - .opacity = 255, - .idleAnimations = N(idleAnimations2), - .defenseTable = N(defenseTable), - .eventFlags = 0, - .elementImmunityFlags = 0, - .unk_1C = 0, - .unk_1D = 0, - }, - { - .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_USE_ABSOLUTE_POSITION, - .index = 6, - .posOffset = { 0, 0, 0 }, - .targetOffset = { 0, 0 }, - .opacity = 255, - .idleAnimations = N(idleAnimations2), - .defenseTable = N(defenseTable), - .eventFlags = 0, - .elementImmunityFlags = 0, - .unk_1C = 0, - .unk_1D = 0, - }, -}; - -ActorBlueprint NAMESPACE = { - .flags = 0, - .type = ACTOR_TYPE_HAMMER_BROS, - .level = 27, - .maxHP = 12, - .partCount = ARRAY_COUNT(N(parts)), - .partsData = N(parts), - .script = &N(init), - .statusTable = N(statusTable), - .escapeChance = 30, - .airLiftChance = 75, - .spookChance = 60, - .baseStatusChance = 40, - .upAndAwayChance = 95, - .spinSmashReq = 0, - .powerBounceChance = 80, - .coinReward = 2, - .size = { 28, 38 }, - .hpBarOffset = { 0, 0 }, - .statusIconOffset = { -10, 20 }, - .statusMessageOffset = { 10, 35 }, -}; - -EvtScript N(init) = { - EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_PTR(N(takeTurn))) - EVT_CALL(BindIdle, ACTOR_SELF, EVT_PTR(N(idle))) - EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_PTR(N(handleEvent))) - EVT_CALL(SetActorVar, ACTOR_SELF, 8, 0) - EVT_RETURN - EVT_END -}; - -EvtScript N(idle) = { - EVT_LABEL(0) - EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_FLAG(STATUS_FLAG_SLEEP) - EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -5, 15) - EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, 0) - EVT_CASE_DEFAULT - EVT_CALL(GetActorVar, ACTOR_SELF, 8, LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_EQ(0) - EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -3, 35) - EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, -3, -10) - EVT_CASE_EQ(1) - EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -5, 15) - EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, 0) - EVT_END_SWITCH - EVT_END_SWITCH - EVT_WAIT(1) - EVT_GOTO(0) - EVT_RETURN - EVT_END -}; - -EvtScript N(handleEvent) = { - EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) - EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) - EVT_CALL(GetLastEvent, ACTOR_SELF, LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(EVENT_HIT_COMBO) - EVT_CASE_OR_EQ(EVENT_HIT) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim0E) - EVT_EXEC_WAIT(DoNormalHit) - EVT_END_CASE_GROUP - EVT_CASE_EQ(EVENT_BURN_HIT) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim0F) - EVT_SET_CONST(LVar2, ANIM_HammerBros_Anim10) - EVT_EXEC_WAIT(DoBurnHit) - EVT_CASE_EQ(EVENT_BURN_DEATH) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim0F) - EVT_SET_CONST(LVar2, ANIM_HammerBros_Anim10) - EVT_EXEC_WAIT(DoBurnHit) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim10) - EVT_EXEC_WAIT(DoDeath) - EVT_RETURN - EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim0E) - EVT_EXEC_WAIT(DoSpinSmashHit) - EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim0E) - EVT_EXEC_WAIT(DoSpinSmashHit) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim0E) - EVT_EXEC_WAIT(DoDeath) - EVT_RETURN - EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) - EVT_CASE_OR_EQ(EVENT_IMMUNE) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim15) - EVT_EXEC_WAIT(DoImmune) - EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) - EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_HammerBros_Anim17) - EVT_WAIT(10) - EVT_END_IF - EVT_END_CASE_GROUP - EVT_CASE_EQ(EVENT_DEATH) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim0E) - EVT_EXEC_WAIT(DoNormalHit) - EVT_WAIT(10) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim0E) - EVT_EXEC_WAIT(DoDeath) - EVT_RETURN - EVT_CASE_EQ(EVENT_RECOVER_STATUS) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim02) - EVT_EXEC_WAIT(DoRecover) - EVT_CASE_EQ(EVENT_SCARE_AWAY) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim07) - EVT_SET_CONST(LVar2, ANIM_HammerBros_Anim0E) - EVT_EXEC_WAIT(DoScareAway) - EVT_RETURN - EVT_CASE_EQ(EVENT_BEGIN_AIR_LIFT) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim07) - EVT_EXEC_WAIT(DoAirLift) - EVT_CASE_EQ(EVENT_BLOW_AWAY) - EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) - EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) - EVT_IF_FLAG(LVar0, STATUS_FLAG_SHRINK) - EVT_CALL(SetActorDispOffset, ACTOR_SELF, -2, 1, 0) - EVT_ELSE - EVT_CALL(SetActorDispOffset, ACTOR_SELF, -5, 3, 0) - EVT_END_IF - EVT_END_IF - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim0E) - EVT_EXEC_WAIT(DoBlowAway) - EVT_RETURN - EVT_CASE_EQ(EVENT_AIR_LIFT_FAILED) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim02) - EVT_EXEC_WAIT(DoImmune) - EVT_CASE_DEFAULT - EVT_END_SWITCH - EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) - EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) - EVT_RETURN - EVT_END -}; - -EvtScript N(attackHammerThrow) = { - EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) - EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) - EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) - EVT_CALL(GetBattlePhase, LVar0) - EVT_IF_EQ(LVar0, PHASE_FIRST_STRIKE) - EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) - EVT_CALL(MoveBattleCamOver, 1) - EVT_END_IF - EVT_CALL(GetBattlePhase, LVar0) - EVT_IF_EQ(LVar0, PHASE_FIRST_STRIKE) - EVT_CHILD_THREAD - EVT_SET(LVar0, 0) - EVT_LABEL(0) - EVT_ADD(LVar0, 20) - EVT_MOD(LVar0, 360) - EVT_CALL(SetPartRotation, ACTOR_SELF, 2, 0, 0, LVar0) - EVT_WAIT(1) - EVT_GOTO(0) - EVT_END_CHILD_THREAD - EVT_CALL(SetPartPos, ACTOR_SELF, 2, 0, 50, 0) - EVT_CALL(SetPartFlagBits, ACTOR_SELF, 2, ACTOR_PART_FLAG_INVISIBLE, 0) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_HammerBros_Anim0C) - EVT_GOTO(100) - EVT_END_IF - EVT_CHILD_THREAD - EVT_SET(LVar0, 0) - EVT_LABEL(0) - EVT_ADD(LVar0, 20) - EVT_MOD(LVar0, 360) - EVT_CALL(SetPartRotation, ACTOR_SELF, 2, 0, 0, LVar0) - EVT_WAIT(1) - EVT_GOTO(0) - EVT_END_CHILD_THREAD - EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_SUB(LVar0, 23) - EVT_ADD(LVar1, 23) - EVT_SUB(LVar2, 2) - EVT_CALL(SetPartPos, ACTOR_SELF, 2, LVar0, LVar1, LVar2) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_HammerBros_Anim0C) - EVT_WAIT(8) - EVT_CALL(SetPartFlagBits, ACTOR_SELF, 2, ACTOR_PART_FLAG_INVISIBLE, 0) - EVT_LABEL(100) - EVT_THREAD - EVT_WAIT(15) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_HammerBros_Anim02) - EVT_END_THREAD - EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) - EVT_IF_FLAG(LVar0, STATUS_FLAG_SHRINK) - EVT_CALL(SetPartScale, ACTOR_SELF, 2, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(0.4)) - EVT_ELSE - EVT_CALL(SetPartScale, ACTOR_SELF, 2, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) - EVT_END_IF - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, BS_FLAGS1_10) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(HIT_RESULT_MISS) - EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) - EVT_SET(LVarA, LVar0) - EVT_CALL(SetPartSounds, ACTOR_SELF, 2, 2, 0, 0) - EVT_CALL(PlaySoundAtPart, ACTOR_SELF, 2, SOUND_2E9) - EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_SUB(LVar0, 20) - EVT_SET(LVar1, 10) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 2, EVT_FLOAT(1.3)) - EVT_CALL(JumpPartTo, ACTOR_SELF, 2, LVar0, LVar1, LVar2, 15, 1) - EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) - EVT_END_IF - EVT_SUB(LVar0, 40) - EVT_CALL(JumpPartTo, ACTOR_SELF, 2, LVar0, LVar1, LVar2, 15, 1) - EVT_SUB(LVar0, 30) - EVT_CALL(JumpPartTo, ACTOR_SELF, 2, LVar0, LVar1, LVar2, 10, 1) - EVT_SUB(LVar0, 20) - EVT_CALL(JumpPartTo, ACTOR_SELF, 2, LVar0, LVar1, LVar2, 5, 1) - EVT_CALL(SetPartFlagBits, ACTOR_SELF, 2, ACTOR_PART_FLAG_INVISIBLE, 1) - EVT_WAIT(15) - EVT_CALL(YieldTurn) - EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) - EVT_WAIT(20) - EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) - EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) - EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) - EVT_RETURN - EVT_END_CASE_GROUP - EVT_END_SWITCH - EVT_CALL(SetPartSounds, ACTOR_SELF, 2, 2, 0, 0) - EVT_CALL(PlaySoundAtPart, ACTOR_SELF, 2, SOUND_2E9) - EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 2, EVT_FLOAT(1.3)) - EVT_CALL(JumpPartTo, ACTOR_SELF, 2, LVar0, LVar1, LVar2, 15, 1) - EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_NO_CONTACT, 0, 0x00000002 | 0x00000010 | STATUS_FLAG_20 | STATUS_FLAG_100 | STATUS_FLAG_200 | STATUS_FLAG_SHRINK | STATUS_FLAG_80000000, 5, BS_FLAGS1_SP_EVT_ACTIVE) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(HIT_RESULT_HIT) - EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) - EVT_CALL(GetPartOffset, ACTOR_SELF, 2, LVar0, LVar1, LVar2) - EVT_SUB(LVar0, 50) - EVT_SET(LVar1, 10) - EVT_CALL(JumpPartTo, ACTOR_SELF, 2, LVar0, LVar1, LVar2, 20, 1) - EVT_SUB(LVar0, 30) - EVT_CALL(JumpPartTo, ACTOR_SELF, 2, LVar0, LVar1, LVar2, 10, 1) - EVT_SUB(LVar0, 20) - EVT_CALL(JumpPartTo, ACTOR_SELF, 2, LVar0, LVar1, LVar2, 5, 1) - EVT_CALL(SetPartFlagBits, ACTOR_SELF, 2, ACTOR_PART_FLAG_INVISIBLE, 1) - EVT_WAIT(20) - EVT_CALL(YieldTurn) - EVT_END_CASE_GROUP - EVT_END_SWITCH - EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) - EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) - EVT_RETURN - EVT_END -}; - -EvtScript N(hammerMiss) = { - EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(2.0)) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_HammerBros_Anim02) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_HammerBros_Anim0C) - EVT_WAIT(4) - EVT_CALL(SetPartFlagBits, ACTOR_SELF, LVar0, ACTOR_PART_FLAG_INVISIBLE, 0) - EVT_CALL(SetPartSounds, ACTOR_SELF, LVar0, 2, 0, 0) - EVT_CALL(PlaySoundAtPart, ACTOR_SELF, LVar0, SOUND_2E9) - EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(GetGoalPos, ACTOR_SELF, LVar1, LVar2, LVar3) - EVT_SET(LVar2, 10) - EVT_CALL(RandInt, 60, LVar4) - EVT_SET(LVar5, 30) - EVT_SUB(LVar5, LVar4) - EVT_ADD(LVar1, LVar5) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, LVar0, EVT_FLOAT(1.3)) - EVT_CALL(JumpPartTo, ACTOR_SELF, LVar0, LVar1, LVar2, LVar3, 15, 1) - EVT_SUB(LVar1, 50) - EVT_SET(LVar2, 10) - EVT_CALL(JumpPartTo, ACTOR_SELF, LVar0, LVar1, LVar2, LVar3, 20, 1) - EVT_SUB(LVar1, 30) - EVT_CALL(JumpPartTo, ACTOR_SELF, LVar0, LVar1, LVar2, LVar3, 10, 1) - EVT_SUB(LVar1, 20) - EVT_CALL(JumpPartTo, ACTOR_SELF, LVar0, LVar1, LVar2, LVar3, 5, 1) - EVT_CALL(SetPartFlagBits, ACTOR_SELF, LVar0, ACTOR_PART_FLAG_INVISIBLE, 1) - EVT_RETURN - EVT_END -}; - -EvtScript N(hammerHit) = { - EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(2.0)) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_HammerBros_Anim02) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_HammerBros_Anim0C) - EVT_WAIT(4) - EVT_CALL(SetPartFlagBits, ACTOR_SELF, LVar0, ACTOR_PART_FLAG_INVISIBLE, 0) - EVT_CALL(SetPartSounds, ACTOR_SELF, LVar0, 2, 0, 0) - EVT_CALL(PlaySoundAtPart, ACTOR_SELF, LVar0, SOUND_2E9) - EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(GetGoalPos, ACTOR_SELF, LVar1, LVar2, LVar3) - EVT_CALL(SetPartJumpGravity, ACTOR_SELF, LVar0, EVT_FLOAT(1.3)) - EVT_CALL(JumpPartTo, ACTOR_SELF, LVar0, LVar1, LVar2, LVar3, 15, 1) - EVT_SUB(LVar1, 50) - EVT_SET(LVar2, 10) - EVT_CALL(JumpPartTo, ACTOR_SELF, LVar0, LVar1, LVar2, LVar3, 20, 1) - EVT_SUB(LVar1, 30) - EVT_CALL(JumpPartTo, ACTOR_SELF, LVar0, LVar1, LVar2, LVar3, 10, 1) - EVT_SUB(LVar1, 20) - EVT_CALL(JumpPartTo, ACTOR_SELF, LVar0, LVar1, LVar2, LVar3, 5, 1) - EVT_CALL(SetPartFlagBits, ACTOR_SELF, LVar0, ACTOR_PART_FLAG_INVISIBLE, 1) - EVT_RETURN - EVT_END -}; - -EvtScript N(attackHammerSurge) = { - EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) - EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) - EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) - EVT_THREAD - EVT_SET(LVar0, 0) - EVT_LOOP(100) - EVT_ADD(LVar0, 20) - EVT_MOD(LVar0, 360) - EVT_CALL(SetPartRotation, ACTOR_SELF, 2, 0, 0, LVar0) - EVT_CALL(SetPartRotation, ACTOR_SELF, 3, 0, 0, LVar0) - EVT_CALL(SetPartRotation, ACTOR_SELF, 4, 0, 0, LVar0) - EVT_CALL(SetPartRotation, ACTOR_SELF, 5, 0, 0, LVar0) - EVT_CALL(SetPartRotation, ACTOR_SELF, 6, 0, 0, LVar0) - EVT_WAIT(1) - EVT_END_LOOP - EVT_END_THREAD - EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_SUB(LVar0, 23) - EVT_ADD(LVar1, 23) - EVT_SUB(LVar2, 2) - EVT_CALL(SetPartPos, ACTOR_SELF, 2, LVar0, LVar1, LVar2) - EVT_CALL(SetPartPos, ACTOR_SELF, 3, LVar0, LVar1, LVar2) - EVT_CALL(SetPartPos, ACTOR_SELF, 4, LVar0, LVar1, LVar2) - EVT_CALL(SetPartPos, ACTOR_SELF, 5, LVar0, LVar1, LVar2) - EVT_CALL(SetPartPos, ACTOR_SELF, 6, LVar0, LVar1, LVar2) - EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) - EVT_IF_FLAG(LVar0, STATUS_FLAG_SHRINK) - EVT_CALL(SetPartScale, ACTOR_SELF, 2, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(0.4)) - EVT_CALL(SetPartScale, ACTOR_SELF, 3, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(0.4)) - EVT_CALL(SetPartScale, ACTOR_SELF, 4, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(0.4)) - EVT_CALL(SetPartScale, ACTOR_SELF, 5, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(0.4)) - EVT_CALL(SetPartScale, ACTOR_SELF, 6, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(0.4)) - EVT_ELSE - EVT_CALL(SetPartScale, ACTOR_SELF, 2, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) - EVT_CALL(SetPartScale, ACTOR_SELF, 3, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) - EVT_CALL(SetPartScale, ACTOR_SELF, 4, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) - EVT_CALL(SetPartScale, ACTOR_SELF, 5, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) - EVT_CALL(SetPartScale, ACTOR_SELF, 6, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) - EVT_END_IF - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, BS_FLAGS1_10) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(HIT_RESULT_MISS) - EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) - EVT_SET(LVarA, LVar0) - EVT_SET(LVar0, 2) - EVT_EXEC(N(hammerMiss)) - EVT_WAIT(5) - EVT_SET(LVar0, 3) - EVT_EXEC(N(hammerMiss)) - EVT_WAIT(5) - EVT_SET(LVar0, 4) - EVT_EXEC(N(hammerMiss)) - EVT_WAIT(5) - EVT_SET(LVar0, 5) - EVT_EXEC(N(hammerMiss)) - EVT_WAIT(5) - EVT_SET(LVar0, 6) - EVT_EXEC(N(hammerMiss)) - EVT_WAIT(5) - EVT_WAIT(20) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_HammerBros_Anim02) - EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) - EVT_END_IF - EVT_WAIT(15) - EVT_CALL(YieldTurn) - EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) - EVT_WAIT(20) - EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) - EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) - EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) - EVT_RETURN - EVT_END_CASE_GROUP - EVT_END_SWITCH - EVT_THREAD - EVT_SET(LVar0, 2) - EVT_EXEC(N(hammerHit)) - EVT_WAIT(5) - EVT_SET(LVar0, 3) - EVT_EXEC(N(hammerHit)) - EVT_WAIT(5) - EVT_SET(LVar0, 4) - EVT_EXEC(N(hammerHit)) - EVT_WAIT(5) - EVT_SET(LVar0, 5) - EVT_EXEC(N(hammerHit)) - EVT_WAIT(5) - EVT_SET(LVar0, 6) - EVT_EXEC(N(hammerHit)) - EVT_END_THREAD - EVT_WAIT(21) - EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_NO_CONTACT, 0, 0, 2, BS_FLAGS1_10) - EVT_WAIT(5) - EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_NO_CONTACT, 0, 0, 2, BS_FLAGS1_40) - EVT_WAIT(5) - EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_NO_CONTACT, 0, 0, 2, BS_FLAGS1_40) - EVT_WAIT(5) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_HammerBros_Anim02) - EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_NO_CONTACT, 0, 0, 2, BS_FLAGS1_40) - EVT_WAIT(5) - EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_NO_CONTACT, 0, 0x00000002 | 0x00000010 | STATUS_FLAG_20 | STATUS_FLAG_100 | STATUS_FLAG_200 | STATUS_FLAG_SHRINK | STATUS_FLAG_80000000, 2, BS_FLAGS1_SP_EVT_ACTIVE) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(HIT_RESULT_HIT) - EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) - EVT_WAIT(20) - EVT_CALL(YieldTurn) - EVT_END_CASE_GROUP - EVT_END_SWITCH - EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) - EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) - EVT_RETURN - EVT_END -}; - -EvtScript N(takeTurn) = { - EVT_CALL(GetActorHP, ACTOR_SELF, LVar0) - EVT_CALL(GetEnemyMaxHP, ACTOR_SELF, LVar1) - EVT_MULF(LVar0, EVT_FLOAT(100.0)) - EVT_DIVF(LVar0, LVar1) - EVT_IF_GT(LVar0, 34) - EVT_EXEC_WAIT(N(attackHammerThrow)) - EVT_ELSE - EVT_EXEC_WAIT(N(attackHammerSurge)) - EVT_END_IF - EVT_RETURN - EVT_END -}; +#include "battle/common/actor/hammer_bro.inc.c" diff --git a/src/battle/area_omo3/actor/koopatrol.c b/src/battle/area_omo3/actor/koopatrol.c index b9c4f2387e..1187a313ef 100644 --- a/src/battle/area_omo3/actor/koopatrol.c +++ b/src/battle/area_omo3/actor/koopatrol.c @@ -1,1350 +1,5 @@ #include "common.h" -#include "battle/battle.h" -#include "script_api/battle.h" -#include "sprite/npc/Koopatrol.h" -#include "effects.h" #define NAMESPACE b_area_omo3_koopatrol -enum N(ActorVars) { - N(VAR_STATE) = 0, - N(VAR_SUMMON_COUNT) = 1, - N(VAR_INDEX_FROM_HOME) = 2, - N(VAR_FLIPPED) = 9, -}; - -enum N(States) { - N(STATE_NORMAL) = 0, - N(STATE_FLIPPED) = 1, - N(STATE_CHARGED) = 2, -}; - -extern EvtScript N(init); -extern EvtScript N(takeTurn); -extern EvtScript N(idle); -extern EvtScript N(handleEvent); -extern EvtScript N(nextTurn); - -s32 N(idleAnimations)[] = { - STATUS_NORMAL, ANIM_Koopatrol_Anim01, - STATUS_STONE, ANIM_Koopatrol_Anim00, - STATUS_SLEEP, ANIM_Koopatrol_Anim11, - STATUS_POISON, ANIM_Koopatrol_Anim01, - STATUS_STOP, ANIM_Koopatrol_Anim00, - STATUS_STATIC, ANIM_Koopatrol_Anim01, - STATUS_PARALYZE, ANIM_Koopatrol_Anim00, - STATUS_DIZZY, ANIM_Koopatrol_Anim13, - STATUS_FEAR, ANIM_Koopatrol_Anim13, - STATUS_END, -}; - -s32 N(idleAnimations_stepBack)[] = { - STATUS_NORMAL, ANIM_Koopatrol_Anim03, - STATUS_STONE, ANIM_Koopatrol_Anim00, - STATUS_SLEEP, ANIM_Koopatrol_Anim11, - STATUS_POISON, ANIM_Koopatrol_Anim03, - STATUS_STOP, ANIM_Koopatrol_Anim00, - STATUS_STATIC, ANIM_Koopatrol_Anim03, - STATUS_PARALYZE, ANIM_Koopatrol_Anim00, - STATUS_DIZZY, ANIM_Koopatrol_Anim13, - STATUS_FEAR, ANIM_Koopatrol_Anim13, - STATUS_END, -}; - -s32 N(idleAnimations_flipped)[] = { - STATUS_NORMAL, ANIM_Koopatrol_Anim0F, - STATUS_STONE, ANIM_Koopatrol_Anim10, - STATUS_SLEEP, ANIM_Koopatrol_Anim12, - STATUS_POISON, ANIM_Koopatrol_Anim0F, - STATUS_STOP, ANIM_Koopatrol_Anim10, - STATUS_STATIC, ANIM_Koopatrol_Anim0F, - STATUS_PARALYZE, ANIM_Koopatrol_Anim10, - STATUS_DIZZY, ANIM_Koopatrol_Anim14, - STATUS_FEAR, ANIM_Koopatrol_Anim14, - STATUS_END, -}; - -s32 N(idleAnimations_charged)[] = { - STATUS_NORMAL, ANIM_Koopatrol_Anim06, - STATUS_STONE, ANIM_Koopatrol_Anim06, - STATUS_SLEEP, ANIM_Koopatrol_Anim06, - STATUS_POISON, ANIM_Koopatrol_Anim06, - STATUS_STOP, ANIM_Koopatrol_Anim06, - STATUS_STATIC, ANIM_Koopatrol_Anim06, - STATUS_PARALYZE, ANIM_Koopatrol_Anim06, - STATUS_DIZZY, ANIM_Koopatrol_Anim06, - STATUS_FEAR, ANIM_Koopatrol_Anim06, - STATUS_END, -}; - -s32 N(defenseTable)[] = { - ELEMENT_NORMAL, 3, - ELEMENT_SHOCK, 3, - ELEMENT_END, -}; - -s32 N(defenseTable_flipped)[] = { - ELEMENT_NORMAL, 0, - ELEMENT_END, -}; - -s32 N(defenseTable_charged)[] = { - ELEMENT_NORMAL, 3, - ELEMENT_FIRE, 3, - ELEMENT_END, -}; - -s32 N(statusTable)[] = { - STATUS_NORMAL, 0, - STATUS_DEFAULT, 0, - STATUS_SLEEP, 50, - STATUS_POISON, 60, - STATUS_FROZEN, 0, - STATUS_DIZZY, 75, - STATUS_FEAR, 0, - STATUS_STATIC, 80, - STATUS_PARALYZE, 75, - STATUS_SHRINK, 70, - STATUS_STOP, 80, - STATUS_DEFAULT_TURN_MOD, 0, - STATUS_SLEEP_TURN_MOD, -1, - STATUS_POISON_TURN_MOD, 0, - STATUS_FROZEN_TURN_MOD, 0, - STATUS_DIZZY_TURN_MOD, 0, - STATUS_FEAR_TURN_MOD, 0, - STATUS_STATIC_TURN_MOD, 0, - STATUS_PARALYZE_TURN_MOD, 0, - STATUS_SHRINK_TURN_MOD, 0, - STATUS_STOP_TURN_MOD, -1, - STATUS_END, -}; - -s32 N(statusTable_charged)[] = { - STATUS_NORMAL, 0, - STATUS_DEFAULT, 0, - STATUS_SLEEP, 0, - STATUS_POISON, 0, - STATUS_DIZZY, 0, - STATUS_FEAR, 0, - STATUS_STATIC, 0, - STATUS_PARALYZE, 0, - STATUS_SHRINK, 0, - STATUS_STOP, 0, - STATUS_DEFAULT_TURN_MOD, 0, - STATUS_SLEEP_TURN_MOD, 0, - STATUS_POISON_TURN_MOD, 0, - STATUS_DIZZY_TURN_MOD, 0, - STATUS_FEAR_TURN_MOD, 0, - STATUS_STATIC_TURN_MOD, 0, - STATUS_PARALYZE_TURN_MOD, 0, - STATUS_SHRINK_TURN_MOD, 0, - STATUS_STOP_TURN_MOD, 0, - STATUS_END, -}; - -ActorPartBlueprint N(parts)[] = { - { - .flags = ACTOR_PART_FLAG_MULTI_TARGET, - .index = 1, - .posOffset = { 0, 0, 0 }, - .targetOffset = { 0, 32 }, - .opacity = 255, - .idleAnimations = N(idleAnimations), - .defenseTable = N(defenseTable), - .eventFlags = ACTOR_EVENT_FLAG_SPIKY_TOP | ACTOR_EVENT_FLAG_FLIPABLE, - .elementImmunityFlags = 0, - .unk_1C = 0, - .unk_1D = -12, - }, -}; - -ActorBlueprint NAMESPACE = { - .flags = 0, - .type = ACTOR_TYPE_KOOPATROL, - .level = 25, - .maxHP = 8, - .partCount = ARRAY_COUNT(N(parts)), - .partsData = N(parts), - .script = &N(init), - .statusTable = N(statusTable), - .escapeChance = 50, - .airLiftChance = 75, - .spookChance = 65, - .baseStatusChance = 60, - .upAndAwayChance = 95, - .spinSmashReq = 0, - .powerBounceChance = 85, - .coinReward = 2, - .size = { 32, 42 }, - .hpBarOffset = { 0, 0 }, - .statusIconOffset = { -15, 32 }, - .statusMessageOffset = { 5, 32 }, -}; - -#include "common/UnkBattleFunc1.inc.c" -#include "common/StartRumbleWithParams.inc.c" - -EvtScript N(init) = { - EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_PTR(N(takeTurn))) - EVT_CALL(BindIdle, ACTOR_SELF, EVT_PTR(N(idle))) - EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_PTR(N(handleEvent))) - EVT_CALL(BindNextTurn, ACTOR_SELF, EVT_PTR(N(nextTurn))) - EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_NORMAL)) - EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_SUMMON_COUNT), 0) - EVT_CALL(GetIndexFromHome, ACTOR_SELF, LVar0) - EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_INDEX_FROM_HOME), LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_EQ(0) - EVT_CALL(SetBattleVar, 4, 0) - EVT_CASE_EQ(1) - EVT_CALL(SetBattleVar, 5, 0) - EVT_CASE_EQ(2) - EVT_CALL(SetBattleVar, 6, 0) - EVT_CASE_EQ(3) - EVT_CALL(SetBattleVar, 7, 0) - EVT_END_SWITCH - EVT_RETURN - EVT_END -}; - -EvtScript N(nextTurn) = { - EVT_CALL(GetBattlePhase, LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_EQ(PHASE_PLAYER_BEGIN) - EVT_CASE_EQ(PHASE_ENEMY_BEGIN) - EVT_CASE_EQ(PHASE_ENEMY_END) - EVT_CALL(SetBattleVar, 1, 0) - EVT_END_SWITCH - EVT_RETURN - EVT_END -}; - -EvtScript N(update_unknown) = { - EVT_SWITCH(LVar0) - EVT_CASE_EQ(N(STATE_NORMAL)) - EVT_IF_FLAG(LVar1, STATUS_FLAG_SLEEP | STATUS_FLAG_DIZZY) - EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -5, 15) - EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, 0) - EVT_CALL(N(UnkBattleFunc1), -10, 20, 10, 20) - EVT_ELSE - EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -4, 32) - EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, -1, -4) - EVT_CALL(N(UnkBattleFunc1), -15, 32, 5, 32) - EVT_END_IF - EVT_CASE_EQ(N(STATE_FLIPPED)) - EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -5, 15) - EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, 0) - EVT_CALL(N(UnkBattleFunc1), -10, 20, 10, 20) - EVT_CASE_EQ(N(STATE_CHARGED)) - EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -4, 20) - EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, -6) - EVT_CALL(N(UnkBattleFunc1), -15, 22, 5, 22) - EVT_END_SWITCH - EVT_RETURN - EVT_END -}; - -EvtScript N(idle) = { - EVT_LABEL(0) - EVT_CALL(RandInt, 80, LVarA) - EVT_ADD(LVarA, 80) - EVT_LOOP(LVarA) - EVT_LABEL(1) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) - EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar1) - EVT_EXEC_WAIT(N(update_unknown)) - EVT_IF_EQ(LVar0, N(STATE_FLIPPED)) - EVT_WAIT(1) - EVT_GOTO(1) - EVT_END_IF - EVT_IF_FLAG(LVar1, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP | STATUS_FLAG_GLOWING) - EVT_WAIT(1) - EVT_GOTO(1) - EVT_END_IF - EVT_WAIT(1) - EVT_END_LOOP - EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_ADD(LVar0, 5) - EVT_CALL(SetActorIdleSpeed, ACTOR_SELF, EVT_FLOAT(1.0)) - EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_stepBack))) - EVT_CALL(SetIdleGoal, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(IdleRunToGoal, ACTOR_SELF, 0) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_EQ(N(STATE_NORMAL)) - EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations))) - EVT_CASE_EQ(N(STATE_FLIPPED)) - EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_flipped))) - EVT_END_SWITCH - EVT_LOOP(20) - EVT_LABEL(2) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) - EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar1) - EVT_EXEC_WAIT(N(update_unknown)) - EVT_IF_EQ(LVar0, N(STATE_FLIPPED)) - EVT_WAIT(1) - EVT_GOTO(2) - EVT_END_IF - EVT_IF_FLAG(LVar1, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP | STATUS_FLAG_GLOWING) - EVT_WAIT(1) - EVT_GOTO(2) - EVT_END_IF - EVT_WAIT(1) - EVT_END_LOOP - EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_SUB(LVar0, 5) - EVT_CALL(SetActorIdleSpeed, ACTOR_SELF, EVT_FLOAT(1.0)) - EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_stepBack))) - EVT_CALL(SetIdleGoal, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(IdleRunToGoal, ACTOR_SELF, 0) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_EQ(N(STATE_NORMAL)) - EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations))) - EVT_CASE_EQ(N(STATE_FLIPPED)) - EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_flipped))) - EVT_END_SWITCH - EVT_LOOP(80) - EVT_LABEL(3) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) - EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar1) - EVT_EXEC_WAIT(N(update_unknown)) - EVT_IF_EQ(LVar0, N(STATE_FLIPPED)) - EVT_WAIT(1) - EVT_GOTO(3) - EVT_END_IF - EVT_IF_FLAG(LVar1, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP | STATUS_FLAG_GLOWING) - EVT_WAIT(1) - EVT_GOTO(3) - EVT_END_IF - EVT_WAIT(1) - EVT_END_LOOP - EVT_GOTO(0) - EVT_RETURN - EVT_END -}; - -s32 N(flipPos)[] = { - 9, 16, 22, 26, 30, 32, 33, 32, 30, 26, 22, 16, 9, 0, 4, 6, 7, 6, 4, 0, 2, 0, -}; - -EvtScript N(handleEvent) = { - EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) - EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) - EVT_CALL(SetActorYaw, ACTOR_SELF, 0) - EVT_CALL(GetLastEvent, ACTOR_SELF, LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(EVENT_HIT_COMBO) - EVT_CASE_OR_EQ(EVENT_HIT) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(N(STATE_NORMAL)) - EVT_CASE_OR_EQ(N(STATE_FLIPPED)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) - EVT_EXEC_WAIT(DoNormalHit) - EVT_END_CASE_GROUP - EVT_CASE_EQ(N(STATE_CHARGED)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim06) - EVT_EXEC_WAIT(DoNormalHit) - EVT_END_SWITCH - EVT_END_CASE_GROUP - EVT_CASE_EQ(EVENT_BURN_HIT) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0C) - EVT_SET_CONST(LVar2, ANIM_Koopatrol_Anim0D) - EVT_EXEC_WAIT(DoBurnHit) - EVT_CASE_EQ(EVENT_BURN_DEATH) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0C) - EVT_SET_CONST(LVar2, ANIM_Koopatrol_Anim0D) - EVT_EXEC_WAIT(DoBurnHit) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0D) - EVT_EXEC_WAIT(DoDeath) - EVT_RETURN - EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(N(STATE_NORMAL)) - EVT_CASE_OR_EQ(N(STATE_FLIPPED)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) - EVT_EXEC_WAIT(DoSpinSmashHit) - EVT_END_CASE_GROUP - EVT_CASE_EQ(N(STATE_CHARGED)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim06) - EVT_EXEC_WAIT(DoSpinSmashHit) - EVT_END_SWITCH - EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(N(STATE_NORMAL)) - EVT_CASE_OR_EQ(N(STATE_FLIPPED)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) - EVT_EXEC_WAIT(DoSpinSmashHit) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) - EVT_EXEC_WAIT(DoDeath) - EVT_END_CASE_GROUP - EVT_CASE_EQ(N(STATE_CHARGED)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim06) - EVT_EXEC_WAIT(DoSpinSmashHit) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim08) - EVT_WAIT(5) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) - EVT_EXEC_WAIT(DoDeath) - EVT_END_SWITCH - EVT_CASE_EQ(EVENT_FLIP_TRIGGER) - EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_FLIPPED)) - EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLIPPED), 1) - EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable_flipped))) - EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_flipped))) - EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -5, 15) - EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, 0) - EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_SPIKY_TOP, 0) - EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_400, 1) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim0B) - EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 12, 0) - EVT_THREAD - EVT_WAIT(4) - EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 30) - EVT_WAIT(1) - EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) - EVT_WAIT(1) - EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, -30) - EVT_WAIT(1) - EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, -60) - EVT_WAIT(1) - EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, -75) - EVT_WAIT(1) - EVT_END_THREAD - EVT_USE_BUF(N(flipPos)) - EVT_LOOP(22) - EVT_BUF_READ1(LVar0) - EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, LVar0, 0) - EVT_WAIT(1) - EVT_END_LOOP - EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) - EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim0F) - EVT_CASE_EQ(EVENT_SHOCK_HIT) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) - EVT_EXEC_WAIT(DoShockHit) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) - EVT_EXEC_WAIT(DoJumpBack) - EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim04) - EVT_EXEC_WAIT(DoReturnHome) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) - EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) - EVT_CASE_EQ(EVENT_SHOCK_DEATH) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) - EVT_EXEC_WAIT(DoShockHit) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) - EVT_EXEC_WAIT(DoDeath) - EVT_RETURN - EVT_CASE_EQ(EVENT_STAR_BEAM) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) - EVT_IF_EQ(LVar0, N(STATE_CHARGED)) - EVT_CALL(SetStatusTable, ACTOR_SELF, EVT_PTR(N(statusTable))) - EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable))) - EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_FLIPABLE, 1) - EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_NORMAL)) - EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations))) - EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarA) - EVT_IF_NOT_FLAG(LVarA, STATUS_FLAG_DEFENSE_BOOST | STATUS_FLAG_ATTACK_BOOST) - EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) - EVT_END_IF - EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 0) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim08) - EVT_EXEC_WAIT(DoImmune) - EVT_END_IF - EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) - EVT_CASE_OR_EQ(EVENT_IMMUNE) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_EQ(N(STATE_NORMAL)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim07) - EVT_EXEC_WAIT(DoImmune) - EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) - EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim08) - EVT_WAIT(10) - EVT_END_IF - EVT_CASE_EQ(N(STATE_FLIPPED)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0F) - EVT_EXEC_WAIT(DoImmune) - EVT_CASE_EQ(N(STATE_CHARGED)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim06) - EVT_EXEC_WAIT(DoImmune) - EVT_END_SWITCH - EVT_END_CASE_GROUP - EVT_CASE_EQ(EVENT_SPIKE_TAUNT) - EVT_WAIT(10) - EVT_SET(LocalFlag(0), 0) - EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) - EVT_IF_FLAG(LVar3, STATUS_FLAG_SHRINK) - EVT_ADD(LVar1, 16) - EVT_SET(LocalFlag(0), 1) - EVT_END_IF - EVT_IF_FLAG(LVar3, STATUS_FLAG_DIZZY) - EVT_ADD(LVar0, -14) - EVT_ADD(LVar1, 20) - EVT_SET(LocalFlag(0), 1) - EVT_END_IF - EVT_IF_FLAG(LVar3, STATUS_FLAG_SLEEP) - EVT_ADD(LVar0, -14) - EVT_ADD(LVar1, 20) - EVT_SET(LocalFlag(0), 1) - EVT_END_IF - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVarA) - EVT_IF_EQ(LVarA, N(STATE_CHARGED)) - EVT_ADD(LVar1, 23) - EVT_SET(LocalFlag(0), 1) - EVT_END_IF - EVT_IF_EQ(LocalFlag(0), 0) - EVT_ADD(LVar1, 42) - EVT_END_IF - EVT_CALL(PlayEffect, EFFECT_LENS_FLARE, 0, LVar0, LVar1, LVar2, 20, 0, 0, 0, 0, 0, 0, 0, 0) - EVT_WAIT(20) - EVT_CASE_EQ(EVENT_DEATH) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(N(STATE_NORMAL)) - EVT_CASE_OR_EQ(N(STATE_FLIPPED)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) - EVT_EXEC_WAIT(DoNormalHit) - EVT_WAIT(10) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) - EVT_EXEC_WAIT(DoDeath) - EVT_RETURN - EVT_END_CASE_GROUP - EVT_CASE_EQ(N(STATE_CHARGED)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim06) - EVT_EXEC_WAIT(DoNormalHit) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim08) - EVT_WAIT(5) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) - EVT_EXEC_WAIT(DoDeath) - EVT_RETURN - EVT_END_SWITCH - EVT_CASE_EQ(EVENT_RECOVER_STATUS) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_EQ(N(STATE_NORMAL)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim01) - EVT_EXEC_WAIT(DoRecover) - EVT_CASE_EQ(N(STATE_FLIPPED)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0F) - EVT_EXEC_WAIT(DoImmune) - EVT_CASE_EQ(N(STATE_CHARGED)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim06) - EVT_EXEC_WAIT(DoRecover) - EVT_END_SWITCH - EVT_CASE_EQ(EVENT_SCARE_AWAY) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(N(STATE_NORMAL)) - EVT_CASE_OR_EQ(N(STATE_CHARGED)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim04) - EVT_SET_CONST(LVar2, ANIM_Koopatrol_Anim0B) - EVT_EXEC_WAIT(DoScareAway) - EVT_RETURN - EVT_END_CASE_GROUP - EVT_CASE_EQ(N(STATE_FLIPPED)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0F) - EVT_EXEC_WAIT(DoImmune) - EVT_END_SWITCH - EVT_CASE_EQ(EVENT_BEGIN_AIR_LIFT) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_EQ(N(STATE_NORMAL)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim16) - EVT_EXEC_WAIT(DoAirLift) - EVT_CASE_EQ(N(STATE_FLIPPED)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0F) - EVT_EXEC_WAIT(DoAirLift) - EVT_CASE_EQ(N(STATE_CHARGED)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0F) - EVT_EXEC_WAIT(DoAirLift) - EVT_END_SWITCH - EVT_CASE_EQ(EVENT_BLOW_AWAY) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_EQ(N(STATE_NORMAL)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim16) - EVT_CASE_EQ(N(STATE_FLIPPED)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0F) - EVT_CASE_EQ(N(STATE_CHARGED)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0F) - EVT_END_SWITCH - EVT_EXEC_WAIT(DoBlowAway) - EVT_RETURN - EVT_CASE_EQ(EVENT_AIR_LIFT_FAILED) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_EQ(N(STATE_NORMAL)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim01) - EVT_CASE_EQ(N(STATE_FLIPPED)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0F) - EVT_CASE_EQ(N(STATE_CHARGED)) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0F) - EVT_END_SWITCH - EVT_EXEC_WAIT(DoImmune) - EVT_END_SWITCH - EVT_CALL(EnableIdleScript, ACTOR_SELF, -1) - EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) - EVT_RETURN - EVT_END -}; - -EvtScript N(attackShellToss) = { - EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) - EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) - EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) - EVT_CALL(GetBattlePhase, LVar0) - EVT_IF_EQ(LVar0, PHASE_FIRST_STRIKE) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim06) - EVT_ELSE - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) - EVT_IF_EQ(LVar0, N(STATE_FLIPPED)) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_FLIPPED), LVar0) - EVT_SUB(LVar0, 1) - EVT_IF_GT(LVar0, 0) - EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLIPPED), LVar0) - EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) - EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(3.0)) - EVT_WAIT(15) - EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) - EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) - EVT_ELSE - EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) - EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(3.0)) - EVT_WAIT(10) - EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) - EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) - EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 0, 0) - EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_JUMP_3E2) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim0F) - EVT_SET(LVar0, 0) - EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 12, 0) - EVT_THREAD - EVT_LOOP(5) - EVT_ADD(LVar0, 15) - EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LVar0) - EVT_WAIT(1) - EVT_END_LOOP - EVT_END_THREAD - EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(3.0)) - EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) - EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20BA) - EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) - EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) - EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim01) - EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_NORMAL)) - EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations))) - EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable))) - EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -4, 32) - EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, -1, -4) - EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_SPIKY_TOP, 1) - EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_400, 0) - EVT_END_IF - EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) - EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) - EVT_RETURN - EVT_END_IF - EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) - EVT_CALL(BattleCamTargetActor, ACTOR_SELF) - EVT_CALL(func_8024ECF8, -1, 1, 0) - EVT_WAIT(10) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim07) - EVT_WAIT(10) - EVT_THREAD - EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_ADD(LVar1, 4) - EVT_CALL(PlayEffect, EFFECT_SMOKE_IMPACT, 1, LVar0, LVar1, LVar2, 32, 4, 0, 10, 0, 0, 0, 0, 0) - EVT_WAIT(3) - EVT_CALL(PlayEffect, EFFECT_SMOKE_IMPACT, 1, LVar0, LVar1, LVar2, 32, 4, 0, 10, 0, 0, 0, 0, 0) - EVT_WAIT(2) - EVT_CALL(PlayEffect, EFFECT_SMOKE_IMPACT, 1, LVar0, LVar1, LVar2, 32, 4, 0, 10, 0, 0, 0, 0, 0) - EVT_END_THREAD - EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2021) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim06) - EVT_WAIT(10) - EVT_CALL(func_8024ECF8, -1, 1, 0) - EVT_END_IF - EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20D3) - EVT_CALL(SetActorSounds, ACTOR_SELF, 0, 0, 0) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 4, BS_FLAGS1_10) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(HIT_RESULT_MISS) - EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) - EVT_SET(LVarA, LVar0) - EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(AddGoalPos, ACTOR_SELF, -40, 0, 0) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(16.0)) - EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) - EVT_CALL(GetBattlePhase, LVar0) - EVT_IF_EQ(LVar0, PHASE_FIRST_STRIKE) - EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_F) - EVT_CALL(SetBattleCamZoom, 300) - EVT_CALL(SetBattleCamOffsetZ, 20) - EVT_CALL(MoveBattleCamOver, 10) - EVT_CALL(func_8024ECF8, -1, 1, 0) - EVT_END_IF - EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) - EVT_END_IF - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim08) - EVT_WAIT(8) - EVT_CALL(ResetAllActorSounds, ACTOR_SELF) - EVT_CALL(SetActorYaw, ACTOR_SELF, 180) - EVT_WAIT(4) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim16) - EVT_WAIT(1) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim16) - EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_ADD(LVar1, 20) - EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(2.0)) - EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim16) - EVT_WAIT(6) - EVT_SUB(LVar1, 20) - EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) - EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) - EVT_CALL(YieldTurn) - EVT_CALL(SetActorYaw, ACTOR_SELF, 180) - EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim16) - EVT_CALL(SetGoalToHome, ACTOR_SELF) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) - EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim01) - EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) - EVT_CALL(SetPartYaw, ACTOR_SELF, 1, 0) - EVT_CALL(SetActorYaw, ACTOR_SELF, 0) - EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) - EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) - EVT_RETURN - EVT_END_CASE_GROUP - EVT_END_SWITCH - EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(16.0)) - EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) - EVT_CALL(ResetAllActorSounds, ACTOR_SELF) - EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 65535, 0, 4, BS_FLAGS1_SP_EVT_ACTIVE) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(HIT_RESULT_HIT) - EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) - EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) - EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_ADD(LVar0, 40) - EVT_SET(LVar1, 0) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) - EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) - EVT_ADD(LVar0, 30) - EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) - EVT_ADD(LVar0, 20) - EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(JumpToGoal, ACTOR_SELF, 6, FALSE, TRUE, FALSE) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim08) - EVT_WAIT(8) - EVT_CALL(YieldTurn) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim04) - EVT_EXEC_WAIT(DoReturnHome) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim01) - EVT_END_CASE_GROUP - EVT_END_SWITCH - EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) - EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) - EVT_RETURN - EVT_END -}; - -EvtScript N(attackShellMissile) = { - EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) - EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) - EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) - EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) - EVT_IF_EQ(LVar0, N(STATE_NORMAL)) // charge for attack - EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14) - EVT_CALL(BattleCamTargetActor, ACTOR_SELF) - EVT_CALL(MoveBattleCamOver, 20) - EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_POWER_UP) - EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_ADD(LVar1, 10) - EVT_CALL(PlayEffect, EFFECT_ENERGY_IN_OUT, 6, LVar0, LVar1, LVar2, EVT_FLOAT(1.0), 45, 0, 0, 0, 0, 0, 0, 0) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim15) - EVT_WAIT(30) - EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) - EVT_CALL(MoveBattleCamOver, 20) - EVT_THREAD - EVT_WAIT(8) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim07) - EVT_END_THREAD - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) - EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) - EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20BA) - EVT_CALL(N(StartRumbleWithParams), 128, 10) - EVT_THREAD - EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.5)) - EVT_END_THREAD - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim06) - EVT_CALL(SetStatusTable, ACTOR_SELF, EVT_PTR(N(statusTable_charged))) - EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable_charged))) - EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_FLIPABLE, 0) - EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_CHARGED)) - EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_charged))) - EVT_CALL(EnableActorGlow, ACTOR_SELF, TRUE) - EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 1) - EVT_WAIT(10) - EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) - EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) - EVT_RETURN - EVT_END_IF - EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) - EVT_CALL(BattleCamTargetActor, ACTOR_SELF) - EVT_CALL(func_8024ECF8, -1, 1, 0) - EVT_LOOP(20) - EVT_CALL(SetActorDispOffset, ACTOR_SELF, 1, 0, 0) - EVT_WAIT(1) - EVT_CALL(SetActorDispOffset, ACTOR_SELF, -1, 0, 0) - EVT_WAIT(1) - EVT_END_LOOP - EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) - EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_37C) - EVT_CALL(SetActorSounds, ACTOR_SELF, 0, 0, 0) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 4, BS_FLAGS1_10) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(HIT_RESULT_MISS) - EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) - EVT_SET(LVarA, LVar0) - EVT_THREAD - EVT_LOOP(0) - EVT_CALL(GetActorPos, ACTOR_PLAYER, LVar0, LVar1, LVar2) - EVT_ADD(LVar0, 30) - EVT_CALL(GetActorPos, ACTOR_SELF, LVar3, LVar4, LVar5) - EVT_IF_GT(LVar0, LVar3) - EVT_BREAK_LOOP - EVT_END_IF - EVT_WAIT(1) - EVT_END_LOOP - EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_B) - EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) - EVT_END_IF - EVT_WAIT(15) - EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) - EVT_END_THREAD - EVT_THREAD - EVT_LOOP(30) - EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(PlayEffect, EFFECT_WALKING_DUST, 2, LVar0, LVar1, LVar2, 0, 0, 0, 0, 0, 0, 0, 0, 0) - EVT_WAIT(1) - EVT_END_LOOP - EVT_END_THREAD - EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(AddGoalPos, ACTOR_SELF, -200, 0, 0) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(16.0)) - EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) - EVT_WAIT(15) - EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarA) - EVT_IF_NOT_FLAG(LVarA, STATUS_FLAG_DEFENSE_BOOST | STATUS_FLAG_ATTACK_BOOST) - EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) - EVT_END_IF - EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 0) - EVT_CALL(YieldTurn) - EVT_CALL(ResetAllActorSounds, ACTOR_SELF) - EVT_CALL(SetActorPos, ACTOR_SELF, 300, 0, 0) - EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(16.0)) - EVT_CALL(SetGoalToHome, ACTOR_SELF) - EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim08) - EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) - EVT_CALL(SetStatusTable, ACTOR_SELF, EVT_PTR(N(statusTable))) - EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable))) - EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_FLIPABLE, 1) - EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_NORMAL)) - EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations))) - EVT_WAIT(10) - EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) - EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) - EVT_RETURN - EVT_END_CASE_GROUP - EVT_END_SWITCH - EVT_THREAD - EVT_LOOP(30) - EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(PlayEffect, EFFECT_WALKING_DUST, 2, LVar0, LVar1, LVar2, 0, 0, 0, 0, 0, 0, 0, 0, 0) - EVT_WAIT(1) - EVT_END_LOOP - EVT_END_THREAD - EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(16.0)) - EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) - EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarA, 0, 65535, 0, 10, BS_FLAGS1_SP_EVT_ACTIVE) - EVT_SWITCH(LVarA) - EVT_CASE_OR_EQ(HIT_RESULT_HIT) - EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) - EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) - EVT_THREAD - EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 16, 0) - EVT_SET(LVar0, 0) - EVT_LOOP(60) - EVT_ADD(LVar0, 18) - EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LVar0) - EVT_WAIT(1) - EVT_END_LOOP - EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) - EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) - EVT_END_THREAD - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) - EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_SUB(LVar0, 50) - EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(JumpToGoal, ACTOR_SELF, 30, FALSE, TRUE, FALSE) - EVT_SUB(LVar0, 40) - EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, TRUE, FALSE) - EVT_SUB(LVar0, 30) - EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) - EVT_WAIT(20) - EVT_CALL(YieldTurn) - EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarA) - EVT_IF_NOT_FLAG(LVarA, STATUS_FLAG_DEFENSE_BOOST | STATUS_FLAG_ATTACK_BOOST) - EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) - EVT_END_IF - EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 0) - EVT_CALL(ResetAllActorSounds, ACTOR_SELF) - EVT_CALL(SetActorPos, ACTOR_SELF, 300, 0, 0) - EVT_SET_CONST(LVar0, 1) - EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim04) - EVT_EXEC_WAIT(DoReturnHome) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim01) - EVT_CALL(SetStatusTable, ACTOR_SELF, EVT_PTR(N(statusTable))) - EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable))) - EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_FLIPABLE, 1) - EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_NORMAL)) - EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations))) - EVT_END_CASE_GROUP - EVT_END_SWITCH - EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) - EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) - EVT_RETURN - EVT_END -}; - -EvtScript N(findTarget) = { - EVT_CALL(EnemyCreateTargetList, 32770) - EVT_CALL(InitTargetIterator) - EVT_LABEL(1) - EVT_CALL(GetOwnerTarget, LVar0, LVar1) - EVT_CALL(GetOriginalActorType, LVar0, LVar2) - EVT_SWITCH(LVar2) - EVT_CASE_OR_EQ(ACTOR_TYPE_BILL_BLASTER) - EVT_CASE_OR_EQ(ACTOR_TYPE_BOMBSHELL_BLASTER) - EVT_SET(LVarA, -1) - EVT_RETURN - EVT_END_CASE_GROUP - EVT_END_SWITCH - EVT_CALL(ChooseNextTarget, 0, LVar0) - EVT_IF_NE(LVar0, -1) - EVT_GOTO(1) - EVT_END_IF - EVT_SET(LocalFlag(1), 0) - EVT_SET(LocalFlag(2), 0) - EVT_SET(LocalFlag(3), 0) - EVT_SET(LocalFlag(4), 0) - EVT_CALL(EnemyCreateTargetList, 32770) - EVT_CALL(InitTargetIterator) - EVT_LABEL(0) - EVT_CALL(GetOwnerTarget, LVar0, LVar1) - EVT_CALL(GetIndexFromHome, LVar0, LVar1) - EVT_MOD(LVar1, 4) - EVT_SWITCH(LVar1) - EVT_CASE_EQ(0) - EVT_SET(LocalFlag(1), 1) - EVT_CASE_EQ(1) - EVT_SET(LocalFlag(2), 1) - EVT_CASE_EQ(2) - EVT_SET(LocalFlag(3), 1) - EVT_CASE_EQ(3) - EVT_SET(LocalFlag(4), 1) - EVT_END_SWITCH - EVT_CALL(ChooseNextTarget, 0, LVar0) - EVT_IF_NE(LVar0, -1) - EVT_GOTO(0) - EVT_END_IF - EVT_IF_EQ(LocalFlag(1), 0) - EVT_SET(LVarA, 0) - EVT_RETURN - EVT_END_IF - EVT_IF_EQ(LocalFlag(2), 0) - EVT_SET(LVarA, 1) - EVT_RETURN - EVT_END_IF - EVT_IF_EQ(LocalFlag(3), 0) - EVT_SET(LVarA, 2) - EVT_RETURN - EVT_END_IF - EVT_IF_EQ(LocalFlag(4), 0) - EVT_SET(LVarA, 3) - EVT_RETURN - EVT_END_IF - EVT_SET(LVarA, -1) - EVT_RETURN - EVT_END -}; - -Vec3i N(summon_pos) = { 0, -1000, 0 }; - -Formation N(summon_formation) = { - { .actor = &NAMESPACE, .home = { .vec = &N(summon_pos) }, .priority = 100, } -}; - -EvtScript N(summonFriend) = { - EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) - EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) - EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14) - EVT_CALL(BattleCamTargetActor, ACTOR_SELF) - EVT_CALL(MoveBattleCamOver, 20) - EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2E5) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim02) - EVT_WAIT(20) - EVT_LOOP(2) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim02) - EVT_WAIT(8) - EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2E5) - EVT_CALL(SetActorYaw, ACTOR_SELF, 180) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim09) - EVT_WAIT(8) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim02) - EVT_WAIT(8) - EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2E5) - EVT_CALL(SetActorYaw, ACTOR_SELF, 0) - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim09) - EVT_WAIT(8) - EVT_END_LOOP - EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) - EVT_CALL(MoveBattleCamOver, 15) - EVT_THREAD - EVT_WAIT(8) - EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(PlayEffect, EFFECT_SPARKLES, 0, LVar0, LVar1, LVar2, 30, 0, 0, 0, 0, 0, 0, 0, 0) - EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_206D) - EVT_END_THREAD - EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim16) - EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) - EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) - EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) - EVT_CALL(SummonEnemy, EVT_PTR(N(summon_formation)), 0) - EVT_CALL(GetActorPos, ACTOR_SELF, LVar1, LVar2, LVar3) - EVT_ADD(LVar1, 200) - EVT_CALL(SetActorPos, LVar0, LVar1, LVar2, LVar3) - EVT_CALL(SetGoalToIndex, LVar0, LVarA) - EVT_CALL(PlaySoundAtActor, LVar0, SOUND_20D3) - EVT_CALL(SetActorSounds, LVar0, 0, 0, 0) - EVT_CALL(SetAnimation, LVar0, 1, ANIM_Koopatrol_Anim06) - EVT_CALL(SetActorSpeed, LVar0, EVT_FLOAT(6.0)) - EVT_CALL(RunToGoal, LVar0, 0, FALSE) - EVT_CALL(SetAnimation, LVar0, 1, ANIM_Koopatrol_Anim08) - EVT_WAIT(10) - EVT_CALL(SetAnimation, LVar0, 1, ANIM_Koopatrol_Anim01) - EVT_CALL(GetActorPos, LVar0, LVar1, LVar2, LVar3) - EVT_CALL(ForceHomePos, LVar0, LVar1, LVar2, LVar3) - EVT_CALL(HPBarToHome, LVar0) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_SUMMON_COUNT), LVar1) - EVT_SWITCH(LVar1) - EVT_CASE_EQ(0) - EVT_CALL(SetActorVar, LVar0, N(VAR_SUMMON_COUNT), 1) - EVT_CASE_EQ(1) - EVT_CALL(SetActorVar, LVar0, N(VAR_SUMMON_COUNT), 2) - EVT_END_SWITCH - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_INDEX_FROM_HOME), LVar1) - EVT_CALL(SetActorVar, LVar0, N(VAR_INDEX_FROM_HOME), LVar1) - EVT_SWITCH(LVar1) - EVT_CASE_EQ(0) - EVT_CALL(GetBattleVar, 4, LVar0) - EVT_ADD(LVar0, 1) - EVT_CALL(SetBattleVar, 4, LVar0) - EVT_CASE_EQ(1) - EVT_CALL(GetBattleVar, 5, LVar0) - EVT_ADD(LVar0, 1) - EVT_CALL(SetBattleVar, 5, LVar0) - EVT_CASE_EQ(2) - EVT_CALL(GetBattleVar, 6, LVar0) - EVT_ADD(LVar0, 1) - EVT_CALL(SetBattleVar, 6, LVar0) - EVT_CASE_EQ(3) - EVT_CALL(GetBattleVar, 7, LVar0) - EVT_ADD(LVar0, 1) - EVT_CALL(SetBattleVar, 7, LVar0) - EVT_END_SWITCH - EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) - EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) - EVT_RETURN - EVT_END -}; - -EvtScript N(findPlacesToSummon) = { - EVT_SET(LVar9, 0) - EVT_CALL(EnemyCreateTargetList, 32770) - EVT_CALL(InitTargetIterator) - EVT_LABEL(0) - EVT_CALL(GetOwnerTarget, LVar0, LVar1) - EVT_CALL(GetOriginalActorType, LVar0, LVar2) - EVT_SWITCH(LVar2) - EVT_CASE_EQ(ACTOR_TYPE_KOOPATROL) - EVT_CALL(GetStatusFlags, LVar0, LVar3) - EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) - EVT_CALL(GetActorVar, LVar0, N(VAR_STATE), LVar3) - EVT_IF_EQ(LVar3, N(STATE_NORMAL)) - EVT_CALL(GetActorVar, LVar0, N(VAR_SUMMON_COUNT), LVar3) - EVT_SWITCH(LVar3) - EVT_CASE_OR_EQ(0) - EVT_CASE_OR_EQ(1) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_INDEX_FROM_HOME), LVar3) - EVT_SWITCH(LVar3) - EVT_CASE_EQ(0) - EVT_CALL(GetBattleVar, 4, LVar4) - EVT_CASE_EQ(1) - EVT_CALL(GetBattleVar, 5, LVar4) - EVT_CASE_EQ(2) - EVT_CALL(GetBattleVar, 6, LVar4) - EVT_CASE_EQ(3) - EVT_CALL(GetBattleVar, 7, LVar4) - EVT_END_SWITCH - EVT_IF_LT(LVar4, 2) - EVT_ADD(LVar9, 1) - EVT_END_IF - EVT_END_CASE_GROUP - EVT_CASE_EQ(2) - EVT_END_SWITCH - EVT_END_IF - EVT_END_IF - EVT_END_SWITCH - EVT_CALL(ChooseNextTarget, 0, LVar0) - EVT_IF_NE(LVar0, -1) - EVT_GOTO(0) - EVT_END_IF - EVT_RETURN - EVT_END -}; - -EvtScript N(takeTurn) = { - EVT_CALL(GetBattlePhase, LVar0) - EVT_IF_EQ(LVar0, PHASE_FIRST_STRIKE) - EVT_CALL(SetBattleVar, 1, 1) - EVT_EXEC_WAIT(N(attackShellToss)) - EVT_RETURN - EVT_END_IF - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_EQ(N(STATE_NORMAL)) - EVT_CALL(GetBattleVar, 1, LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_EQ(0) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_SUMMON_COUNT), LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(0) - EVT_CASE_OR_EQ(1) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_INDEX_FROM_HOME), LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_EQ(0) - EVT_CALL(GetBattleVar, 4, LVar1) - EVT_CASE_EQ(1) - EVT_CALL(GetBattleVar, 5, LVar1) - EVT_CASE_EQ(2) - EVT_CALL(GetBattleVar, 6, LVar1) - EVT_CASE_EQ(3) - EVT_CALL(GetBattleVar, 7, LVar1) - EVT_END_SWITCH - EVT_IF_GE(LVar1, 2) - EVT_CALL(RandInt, 1000, LVar0) - EVT_IF_LT(LVar0, 300) - EVT_CALL(SetBattleVar, 1, 2) - EVT_EXEC_WAIT(N(attackShellMissile)) - EVT_ELSE - EVT_CALL(SetBattleVar, 1, 1) - EVT_EXEC_WAIT(N(attackShellToss)) - EVT_END_IF - EVT_RETURN - EVT_END_IF - EVT_END_CASE_GROUP - EVT_CASE_EQ(2) - EVT_CALL(RandInt, 1000, LVar0) - EVT_IF_LT(LVar0, 300) - EVT_CALL(SetBattleVar, 1, 2) - EVT_EXEC_WAIT(N(attackShellMissile)) - EVT_ELSE - EVT_CALL(SetBattleVar, 1, 1) - EVT_EXEC_WAIT(N(attackShellToss)) - EVT_END_IF - EVT_RETURN - EVT_END_SWITCH - EVT_EXEC_WAIT(N(findTarget)) - EVT_IF_EQ(LVarA, -1) - EVT_CALL(RandInt, 1000, LVar0) - EVT_IF_LT(LVar0, 300) - EVT_CALL(SetBattleVar, 1, 2) - EVT_EXEC_WAIT(N(attackShellMissile)) - EVT_ELSE - EVT_CALL(SetBattleVar, 1, 1) - EVT_EXEC_WAIT(N(attackShellToss)) - EVT_END_IF - EVT_RETURN - EVT_END_IF - EVT_EXEC_WAIT(N(findPlacesToSummon)) - EVT_SWITCH(LVar9) - EVT_CASE_EQ(1) - EVT_CALL(RandInt, 1000, LVar0) - EVT_IF_LT(LVar0, 400) - EVT_CALL(SetBattleVar, 1, 1) - EVT_EXEC_WAIT(N(summonFriend)) - EVT_RETURN - EVT_END_IF - EVT_CASE_EQ(2) - EVT_CALL(RandInt, 1000, LVar0) - EVT_IF_LT(LVar0, 200) - EVT_CALL(SetBattleVar, 1, 1) - EVT_EXEC_WAIT(N(summonFriend)) - EVT_RETURN - EVT_END_IF - EVT_CASE_EQ(3) - EVT_CALL(RandInt, 1000, LVar0) - EVT_IF_LT(LVar0, 100) - EVT_CALL(SetBattleVar, 1, 1) - EVT_EXEC_WAIT(N(summonFriend)) - EVT_RETURN - EVT_END_IF - EVT_END_SWITCH - EVT_CALL(RandInt, 1000, LVar0) - EVT_IF_LT(LVar0, 300) - EVT_CALL(SetBattleVar, 1, 2) - EVT_EXEC_WAIT(N(attackShellMissile)) - EVT_ELSE - EVT_CALL(SetBattleVar, 1, 1) - EVT_EXEC_WAIT(N(attackShellToss)) - EVT_END_IF - EVT_CASE_EQ(1) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_SUMMON_COUNT), LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_OR_EQ(0) - EVT_CASE_OR_EQ(1) - EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_INDEX_FROM_HOME), LVar0) - EVT_SWITCH(LVar0) - EVT_CASE_EQ(0) - EVT_CALL(GetBattleVar, 4, LVar1) - EVT_CASE_EQ(1) - EVT_CALL(GetBattleVar, 5, LVar1) - EVT_CASE_EQ(2) - EVT_CALL(GetBattleVar, 6, LVar1) - EVT_CASE_EQ(3) - EVT_CALL(GetBattleVar, 7, LVar1) - EVT_END_SWITCH - EVT_IF_GE(LVar1, 2) - EVT_CALL(RandInt, 1000, LVar0) - EVT_IF_LT(LVar0, 300) - EVT_CALL(SetBattleVar, 1, 2) - EVT_EXEC_WAIT(N(attackShellMissile)) - EVT_ELSE - EVT_CALL(SetBattleVar, 1, 1) - EVT_EXEC_WAIT(N(attackShellToss)) - EVT_END_IF - EVT_RETURN - EVT_END_IF - EVT_END_CASE_GROUP - EVT_CASE_EQ(2) - EVT_EXEC_WAIT(N(attackShellToss)) - EVT_RETURN - EVT_END_SWITCH - EVT_EXEC_WAIT(N(findTarget)) - EVT_IF_EQ(LVarA, -1) - EVT_EXEC_WAIT(N(attackShellToss)) - EVT_RETURN - EVT_END_IF - EVT_EXEC_WAIT(N(findPlacesToSummon)) - EVT_SWITCH(LVar9) - EVT_CASE_EQ(1) - EVT_CALL(RandInt, 1000, LVar0) - EVT_IF_LT(LVar0, 400) - EVT_EXEC_WAIT(N(summonFriend)) - EVT_RETURN - EVT_END_IF - EVT_CASE_EQ(2) - EVT_CALL(RandInt, 1000, LVar0) - EVT_IF_LT(LVar0, 200) - EVT_EXEC_WAIT(N(summonFriend)) - EVT_RETURN - EVT_END_IF - EVT_CASE_EQ(3) - EVT_CALL(RandInt, 1000, LVar0) - EVT_IF_LT(LVar0, 100) - EVT_EXEC_WAIT(N(summonFriend)) - EVT_RETURN - EVT_END_IF - EVT_END_SWITCH - EVT_EXEC_WAIT(N(attackShellToss)) - EVT_CASE_EQ(2) - EVT_EXEC_WAIT(N(attackShellMissile)) - EVT_END_SWITCH - EVT_CASE_EQ(N(STATE_FLIPPED)) - EVT_CALL(SetBattleVar, 1, 1) - EVT_EXEC_WAIT(N(attackShellToss)) - EVT_CASE_EQ(N(STATE_CHARGED)) - EVT_EXEC_WAIT(N(attackShellMissile)) - EVT_END_SWITCH - EVT_RETURN - EVT_END -}; - +#include "battle/common/actor/koopatrol.inc.c" diff --git a/src/battle/area_sam2/actor/monstar.c b/src/battle/area_sam2/actor/monstar.c index 893731a977..68c2c26c3a 100644 --- a/src/battle/area_sam2/actor/monstar.c +++ b/src/battle/area_sam2/actor/monstar.c @@ -163,7 +163,7 @@ ApiStatus func_80218000_63D1E0(Evt* script, s32 isInitialCall) { func_802DE780(part->unk_84, 0, 17, 20, 0, 0, 255, 0); } - func_802DE780(part->unk_84, 1, 15, &D_8021A2B8_63F498, 255, 0, 255, 0); + func_802DE780(part->unk_84, 1, 15, (s32)&D_8021A2B8_63F498, 255, 0, 255, 0); script->functionTemp[1] += 10; if (script->functionTemp[1] >= 360) { script->functionTemp[1] %= 360; diff --git a/src/battle/area_tik/actor/dark_paratroopa.c b/src/battle/area_tik/actor/dark_paratroopa.c index dd768711dd..b629a71432 100644 --- a/src/battle/area_tik/actor/dark_paratroopa.c +++ b/src/battle/area_tik/actor/dark_paratroopa.c @@ -439,7 +439,7 @@ EvtScript N(takeTurn) = { 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(UseBattleCamPresetImmediately, 1) + EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_B) EVT_WAIT(5) EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 3, BS_FLAGS1_10) EVT_SWITCH(LVar0) diff --git a/src/battle/area_tik2/actor/electro_blooper.c b/src/battle/area_tik2/actor/electro_blooper.c index ad4ac59ddf..0e14fdc1c5 100644 --- a/src/battle/area_tik2/actor/electro_blooper.c +++ b/src/battle/area_tik2/actor/electro_blooper.c @@ -440,7 +440,7 @@ EvtScript N(handleEvent) = { EVT_EXEC_WAIT(DoImmune) EVT_END_CASE_GROUP EVT_CASE_OR_EQ(EVENT_STAR_BEAM) - EVT_CASE_OR_EQ(EVENT_14) + EVT_CASE_OR_EQ(EVENT_PEACH_BEAM) EVT_EXEC_WAIT(N(discharge)) EVT_SET_CONST(LVar0, 1) EVT_SET_CONST(LVar1, ANIM_Blooper_Anim04) diff --git a/src/battle/area_tik2/actor/super_blooper.c b/src/battle/area_tik2/actor/super_blooper.c index ad083789fa..6bf1fd7372 100644 --- a/src/battle/area_tik2/actor/super_blooper.c +++ b/src/battle/area_tik2/actor/super_blooper.c @@ -391,7 +391,7 @@ EvtScript N(handleEvent) = { EVT_EXEC_WAIT(DoImmune) EVT_END_CASE_GROUP EVT_CASE_OR_EQ(EVENT_STAR_BEAM) - EVT_CASE_OR_EQ(EVENT_14) + EVT_CASE_OR_EQ(EVENT_PEACH_BEAM) EVT_EXEC_WAIT(N(unEnrage)) EVT_SET_CONST(LVar0, 1) EVT_SET_CONST(LVar1, ANIM_Blooper_Anim04) diff --git a/src/battle/battle.c b/src/battle/battle.c index cb022aa211..75e45d1190 100644 --- a/src/battle/battle.c +++ b/src/battle/battle.c @@ -217,26 +217,26 @@ BattleArea gBattleAreas[] = { [BTL_AREA_KPA] = { BTL_AREA(area_kpa), .name = "エリア KPA", - .battles = 0x80231A64, - .stages = 0x80231ED8, + .battles = &b_area_kpa_formationTable, + .stages = &b_area_kpa_stageTable, }, [BTL_AREA_KPA2] = { BTL_AREA(area_kpa2), .name = "エリア KPA2", - .battles = 0x802346A8, - .stages = 0x80234720, + .battles = &b_area_kpa2_formationTable, + .stages = &b_area_kpa2_stageTable, }, [BTL_AREA_KPA3] = { BTL_AREA(area_kpa3), .name = "エリア KPA3", - .battles = 0x8022839C, - .stages = 0x802283EC, + .battles = &b_area_kpa3_formationTable, + .stages = &b_area_kpa3_stageTable, }, [BTL_AREA_KPA4] = { BTL_AREA(area_kpa4), .name = "エリア KPA4", - .battles = 0x80227910, - .stages = 0x80227988, + .battles = &b_area_kpa4_formationTable, + .stages = &b_area_kpa4_stageTable, }, [BTL_AREA_KKJ] = { BTL_AREA(area_kkj), diff --git a/src/battle/battle_tables.h b/src/battle/battle_tables.h index b9e75c24f4..de78975022 100644 --- a/src/battle/battle_tables.h +++ b/src/battle/battle_tables.h @@ -107,6 +107,18 @@ extern StageList b_area_pra2_stageTable; extern BattleList b_area_pra3_formationTable; extern StageList b_area_pra3_stageTable; +extern BattleList b_area_kpa_formationTable; +extern StageList b_area_kpa_stageTable; + +extern BattleList b_area_kpa2_formationTable; +extern StageList b_area_kpa2_stageTable; + +extern BattleList b_area_kpa3_formationTable; +extern StageList b_area_kpa3_stageTable; + +extern BattleList b_area_kpa4_formationTable; +extern StageList b_area_kpa4_stageTable; + extern BattleList b_area_kkj_formationTable; extern StageList b_area_kkj_stageTable; diff --git a/src/battle/common/actor/bandit.inc.c b/src/battle/common/actor/bandit.inc.c index 2547e15318..53f80312bb 100644 --- a/src/battle/common/actor/bandit.inc.c +++ b/src/battle/common/actor/bandit.inc.c @@ -494,7 +494,7 @@ EvtScript N(takeTurn) = { EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(10.0)) EVT_CALL(SetGoalPos, ACTOR_SELF, 300, 0, 0) EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) - EVT_CALL(SetBattleFlagBits, BS_FLAGS1_40000, 1) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_ENEMY_FLED, 1) EVT_CALL(func_8027D32C, ACTOR_SELF) EVT_CALL(RemoveActor, ACTOR_SELF) EVT_RETURN diff --git a/src/battle/common/actor/ember.inc.c b/src/battle/common/actor/ember.inc.c new file mode 100644 index 0000000000..9908fcabce --- /dev/null +++ b/src/battle/common/actor/ember.inc.c @@ -0,0 +1,784 @@ +#include "common.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/LavaBubble.h" + +s32 N(defenseTable_8021ACB0)[] = { + ELEMENT_NORMAL, 0, + ELEMENT_WATER, -2, + ELEMENT_ICE, -2, + ELEMENT_FIRE, 99, + ELEMENT_END, +}; + +s32 N(statusTable_8021ACD4)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 0, + STATUS_POISON, 50, + STATUS_FROZEN, 0, + STATUS_DIZZY, 100, + STATUS_FEAR, 0, + STATUS_STATIC, 50, + STATUS_PARALYZE, 0, + STATUS_SHRINK, 90, + STATUS_STOP, 85, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, 0, + STATUS_POISON_TURN_MOD, 0, + STATUS_FROZEN_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, 1, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, 0, + STATUS_SHRINK_TURN_MOD, 0, + STATUS_STOP_TURN_MOD, 0, + STATUS_END, +}; + +extern s32 N(idleAnimations_8021AE5C)[]; +extern s32 N(idleAnimations_8021AEA8)[]; + +ActorPartBlueprint N(partsTable_8021AD80)[] = { + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { -2, 25 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021AE5C), + .defenseTable = N(defenseTable_8021ACB0), + .eventFlags = ACTOR_EVENT_FLAG_FIREY, + .elementImmunityFlags = 0, + .unk_1C = 0xFD, + .unk_1D = 0xF6, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_USE_ABSOLUTE_POSITION, + .index = 2, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 24 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021AEA8), + .defenseTable = N(defenseTable_8021ACB0), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 0xFF, + .unk_1D = 0xF6, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_USE_ABSOLUTE_POSITION, + .index = 3, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 24 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021AEA8), + .defenseTable = N(defenseTable_8021ACB0), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 0xFF, + .unk_1D = 0xF6, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_USE_ABSOLUTE_POSITION, + .index = 4, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 24 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021AEA8), + .defenseTable = N(defenseTable_8021ACB0), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 0xFF, + .unk_1D = 0xF6, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_USE_ABSOLUTE_POSITION, + .index = 5, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 24 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_8021AEA8), + .defenseTable = N(defenseTable_8021ACB0), + .eventFlags = ACTOR_EVENT_FLAG_0, + .elementImmunityFlags = 0, + .unk_1C = 0xFF, + .unk_1D = 0xF6, + }, +}; + +extern EvtScript N(init_8021AEB4); + +ActorBlueprint NAMESPACE = { + .flags = ACTOR_FLAG_FLYING, + .type = ACTOR_TYPE_EMBER, + .level = 24, + .maxHP = 10, + .partCount = ARRAY_COUNT(N(partsTable_8021AD80)), + .partsData = N(partsTable_8021AD80), + .script = &N(init_8021AEB4), + .statusTable = N(statusTable_8021ACD4), + .escapeChance = 60, + .airLiftChance = 80, + .spookChance = 75, + .baseStatusChance = 50, + .upAndAwayChance = 95, + .spinSmashReq = 0, + .powerBounceChance = 80, + .coinReward = 2, + .size = { 33, 32 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -10, 20 }, + .statusMessageOffset = { 10, 20 }, +}; + +s32 N(idleAnimations_8021AE5C)[] = { + STATUS_NORMAL, ANIM_LavaBubble_Blue_Anim01, + STATUS_STONE, ANIM_LavaBubble_Blue_Anim00, + STATUS_SLEEP, ANIM_LavaBubble_Blue_Anim01, + STATUS_POISON, ANIM_LavaBubble_Blue_Anim01, + STATUS_STOP, ANIM_LavaBubble_Blue_Anim00, + STATUS_STATIC, ANIM_LavaBubble_Blue_Anim01, + STATUS_PARALYZE, ANIM_LavaBubble_Blue_Anim00, + STATUS_DIZZY, ANIM_LavaBubble_Blue_Anim0A, + STATUS_FEAR, ANIM_LavaBubble_Blue_Anim0A, + STATUS_END, +}; + +s32 N(idleAnimations_8021AEA8)[] = { + STATUS_NORMAL, ANIM_LavaBubble_Blue_Anim01, + STATUS_END, +}; + +extern EvtScript N(takeTurn_8021D284); +extern EvtScript N(idle_8021B07C); +extern EvtScript N(handleEvent_8021B8BC); + +EvtScript N(init_8021AEB4) = { + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_PTR(N(takeTurn_8021D284))) + EVT_CALL(BindIdle, ACTOR_SELF, EVT_PTR(N(idle_8021B07C))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_PTR(N(handleEvent_8021B8BC))) + EVT_CALL(GetActorVar, -127, 0, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(0) + EVT_CALL(SetActorVar, -127, 0, 1) + EVT_CASE_EQ(1) + EVT_CALL(SetActorVar, -127, 0, 0) + EVT_END_SWITCH + EVT_CALL(SetPartScale, -127, 2, EVT_FLOAT(0.5), EVT_FLOAT(0.5), EVT_FLOAT(0.5)) + EVT_CALL(SetPartScale, -127, 3, EVT_FLOAT(0.5), EVT_FLOAT(0.5), EVT_FLOAT(0.5)) + EVT_CALL(SetPartScale, -127, 4, EVT_FLOAT(0.5), EVT_FLOAT(0.5), EVT_FLOAT(0.5)) + EVT_CALL(SetPartScale, -127, 5, EVT_FLOAT(0.5), EVT_FLOAT(0.5), EVT_FLOAT(0.5)) + EVT_CALL(SetActorVar, -127, 1, 0) + EVT_CALL(SetActorVar, -127, 2, 0) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 5) + EVT_CALL(ForceHomePos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(HPBarToHome, ACTOR_SELF) + EVT_RETURN + EVT_END +}; + +EvtScript N(idle_8021B07C) = { + EVT_LABEL(0) + EVT_CALL(MakeLerp, 0, 10, 25, 10) + EVT_LABEL(1) + EVT_CALL(UpdateLerp) + EVT_CALL(GetHomePos, -127, LVar2, LVar3, LVar4) + EVT_ADD(LVar0, LVar3) + EVT_CALL(SetActorPos, ACTOR_SELF, LVar2, LVar0, LVar4) + EVT_IF_EQ(LVar1, 1) + EVT_LABEL(11) + EVT_WAIT(1) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_FLAG(LVar0, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_GOTO(11) + EVT_END_IF + EVT_CALL(GetActorVar, -127, 2, LVar0) + EVT_IF_EQ(LVar0, 1) + EVT_GOTO(11) + EVT_END_IF + EVT_GOTO(1) + EVT_END_IF + EVT_CALL(MakeLerp, 10, 0, 25, 10) + EVT_LABEL(2) + EVT_CALL(UpdateLerp) + EVT_CALL(GetHomePos, -127, LVar2, LVar3, LVar4) + EVT_ADD(LVar0, LVar3) + EVT_CALL(SetActorPos, ACTOR_SELF, LVar2, LVar0, LVar4) + EVT_IF_EQ(LVar1, 1) + EVT_LABEL(22) + EVT_WAIT(1) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_FLAG(LVar0, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_GOTO(22) + EVT_END_IF + EVT_CALL(GetActorVar, -127, 2, LVar0) + EVT_IF_EQ(LVar0, 1) + EVT_GOTO(22) + EVT_END_IF + EVT_GOTO(2) + EVT_END_IF + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +#include "common/UnkSfxFunc.inc.c" + +EvtScript N(8021B2FC) = { + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim03) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_THREAD + EVT_CALL(N(UnkSfxFunc)) + EVT_END_THREAD + EVT_CALL(FlyToGoal, ACTOR_SELF, 0, 1, 11) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim01) + EVT_RETURN + EVT_END +}; + +EvtScript N(8021B398) = { + EVT_CALL(EnemyCreateTargetList, 32770) + EVT_CALL(InitTargetIterator) + EVT_LABEL(0) + EVT_CALL(GetOwnerTarget, LVar0, LVar5) + EVT_CALL(GetIndexFromHome, LVar0, LVar5) + EVT_MOD(LVar5, 4) + EVT_SWITCH(LVar5) + EVT_CASE_EQ(0) + EVT_SET(LocalFlag(1), 1) + EVT_CASE_EQ(1) + EVT_SET(LocalFlag(2), 1) + EVT_CASE_EQ(2) + EVT_SET(LocalFlag(3), 1) + EVT_CASE_EQ(3) + EVT_SET(LocalFlag(4), 1) + EVT_END_SWITCH + EVT_CALL(ChooseNextTarget, 0, LVar0) + EVT_IF_NE(LVar0, -1) + EVT_GOTO(0) + EVT_END_IF + EVT_IF_EQ(LocalFlag(1), 0) + EVT_SET(LVarA, 0) + EVT_RETURN + EVT_END_IF + EVT_IF_EQ(LocalFlag(2), 0) + EVT_SET(LVarA, 1) + EVT_RETURN + EVT_END_IF + EVT_IF_EQ(LocalFlag(3), 0) + EVT_SET(LVarA, 2) + EVT_RETURN + EVT_END_IF + EVT_IF_EQ(LocalFlag(4), 0) + EVT_SET(LVarA, 3) + EVT_RETURN + EVT_END_IF + EVT_SET(LVarA, -1) + EVT_RETURN + EVT_END +}; + +Vec3i N(vector3D_8021B594) = { 0, -1000, 0, }; + +Formation N(specialFormation_8021B5A0) = { + { .actor = &NAMESPACE, .home = { .vec = &N(vector3D_8021B594) }}, +}; + +EvtScript N(split) = { + EVT_CALL(GetLastDamage, -127, LVar0) + EVT_IF_EQ(LVar0, 0) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorHP, -127, LVar0) + EVT_IF_LE(LVar0, 0) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetLastElement, LVar0) + EVT_IF_FLAG(LVar0, 0x20000000) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorVar, -127, 1, LVar0) + EVT_IF_GE(LVar0, 2) + EVT_RETURN + EVT_END_IF + EVT_EXEC_WAIT(N(8021B398)) + EVT_SWITCH(LVarA) + EVT_CASE_OR_EQ(0) + EVT_CASE_OR_EQ(1) + EVT_CASE_OR_EQ(2) + EVT_CASE_OR_EQ(3) + EVT_CALL(SummonEnemy, EVT_PTR(N(specialFormation_8021B5A0)), 0) + EVT_CALL(SetActorVar, LVar0, 2, 1) + EVT_CALL(GetActorHP, -127, LVarB) + EVT_CALL(SetEnemyHP, LVar0, LVarB) + EVT_CALL(GetActorPos, ACTOR_SELF, LVarB, LVarC, LVarD) + EVT_CALL(SetActorPos, LVar0, LVarB, LVarC, LVarD) + EVT_CALL(SetGoalToIndex, LVar0, LVarA) + EVT_CALL(GetGoalPos, LVar0, LVarB, LVarC, LVarD) + EVT_CALL(SetHomePos, LVar0, LVarB, LVarC, LVarD) + EVT_CALL(SetActorJumpGravity, LVar0, EVT_FLOAT(1.2)) + EVT_CALL(JumpToGoal, LVar0, 20, FALSE, TRUE, FALSE) + EVT_CALL(HPBarToHome, LVar0) + EVT_CALL(GetActorVar, -127, 1, LVar1) + EVT_SWITCH(LVar1) + EVT_CASE_EQ(0) + EVT_CALL(SetActorVar, LVar0, 1, 1) + EVT_CASE_EQ(1) + EVT_CALL(SetActorVar, LVar0, 1, 2) + EVT_END_SWITCH + EVT_CALL(SetActorVar, -127, 1, 3) + EVT_CALL(SetActorVar, LVar0, 2, 0) + EVT_END_CASE_GROUP + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent_8021B8BC) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(9) + EVT_CASE_OR_EQ(10) + EVT_EXEC(N(split)) + EVT_SET_CONST(LVar0, 0x00000001) + EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim07) + EVT_EXEC_WAIT(DoNormalHit) + EVT_END_CASE_GROUP + EVT_CASE_EQ(14) + EVT_EXEC(N(split)) + EVT_SET_CONST(LVar0, 0x00000001) + EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim08) + EVT_SET_CONST(LVar2, ANIM_LavaBubble_Blue_Anim09) + EVT_EXEC_WAIT(DoBurnHit) + EVT_CASE_EQ(36) + EVT_SET_CONST(LVar0, 0x00000001) + EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim08) + EVT_SET_CONST(LVar2, ANIM_LavaBubble_Blue_Anim09) + EVT_EXEC_WAIT(DoBurnHit) + EVT_SET_CONST(LVar0, 0x00000001) + EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim09) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(11) + EVT_EXEC(N(split)) + EVT_SET_CONST(LVar0, 0x00000001) + EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim07) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_CASE_EQ(33) + EVT_SET_CONST(LVar0, 0x00000001) + EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim07) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_SET_CONST(LVar0, 0x00000001) + EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim07) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(47) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_759) + EVT_SET_CONST(LVar0, 0x00000001) + EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim07) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LVar0, 0x00000001) + EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim07) + EVT_EXEC_WAIT(DoJumpBack) + EVT_EXEC_WAIT(N(8021B2FC)) + EVT_CASE_EQ(38) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_759) + EVT_SET_CONST(LVar0, 0x00000001) + EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim07) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LVar0, 0x00000001) + EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim07) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_OR_EQ(23) + EVT_CASE_OR_EQ(25) + EVT_CASE_OR_EQ(31) + EVT_CASE_OR_EQ(28) + EVT_SET_CONST(LVar0, 0x00000001) + EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim01) + EVT_EXEC_WAIT(DoImmune) + EVT_END_CASE_GROUP + EVT_CASE_EQ(32) + EVT_SET_CONST(LVar0, 0x00000001) + EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim07) + EVT_EXEC_WAIT(DoNormalHit) + EVT_SET_CONST(LVar0, 0x00000001) + EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim07) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(56) + EVT_CALL(SetActorPos, ACTOR_SELF, 20, 0, 0) + EVT_CALL(HPBarToCurrent, ACTOR_SELF) + EVT_CASE_EQ(53) + EVT_EXEC_WAIT(N(8021B2FC)) + EVT_CALL(HPBarToHome, ACTOR_SELF) + EVT_CASE_EQ(49) + EVT_SET_CONST(LVar0, 0x00000001) + EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim01) + EVT_EXEC_WAIT(DoRecover) + EVT_CASE_EQ(57) + EVT_SET_CONST(LVar0, 0x00000001) + EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim03) + EVT_SET_CONST(LVar2, ANIM_LavaBubble_Blue_Anim07) + EVT_EXEC_WAIT(DoScareAway) + EVT_RETURN + EVT_CASE_EQ(58) + EVT_SET_CONST(LVar0, 0x00000001) + EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim03) + EVT_EXEC_WAIT(DoAirLift) + EVT_CASE_EQ(22) + EVT_SET_CONST(LVar0, 0x00000001) + EVT_SET_CONST(LVar1, ANIM_LavaBubble_Blue_Anim03) + EVT_EXEC_WAIT(DoBlowAway) + EVT_RETURN + EVT_CASE_EQ(61) + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +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, BTL_CAM_PRESET_63) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim03) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 30) + EVT_SET(LVar1, 5) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_THREAD + EVT_CALL(N(UnkSfxFunc)) + EVT_END_THREAD + EVT_CALL(FlyToGoal, ACTOR_SELF, 0, 0, 11) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim01) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, 16) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(6) + EVT_CASE_OR_EQ(5) + EVT_SET(LVarA, LVar0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim04) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 20) + EVT_SET(LVar1, 0) + EVT_ADD(LVar2, 1) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_IF_EQ(LVarA, 5) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_SUB(LVar0, 30) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_SUB(LVar0, 20) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_SUB(LVar0, 10) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 3, FALSE, TRUE, FALSE) + EVT_WAIT(14) + 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)) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_CALL(EnableIdleScript, ACTOR_SELF, -1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim04) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar2, 1) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_WAIT(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_FIRE, 0, 0, 4, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(0) + EVT_CASE_OR_EQ(2) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_SET(LVar0, 1) + EVT_SET(LVar1, 4587780) + EVT_EXEC_WAIT(DoJumpBack) + EVT_WAIT(5) + EVT_EXEC_WAIT(N(8021B2FC)) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, -1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(8021C454) = { + EVT_SET(LVar6, 2) + EVT_LOOP(4) + EVT_THREAD + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarA) + EVT_IF_FLAG(LVarA, 0x80000) + EVT_CALL(SetPartScale, -127, LVar6, EVT_FLOAT(0.2), EVT_FLOAT(0.2), EVT_FLOAT(0.2)) + EVT_ELSE + EVT_CALL(SetPartScale, -127, LVar6, EVT_FLOAT(0.5), EVT_FLOAT(0.5), EVT_FLOAT(0.5)) + EVT_END_IF + EVT_CALL(SetPartPos, ACTOR_SELF, LVar6, LVar0, LVar1, LVar2) + EVT_CALL(SetPartFlagBits, -127, LVar6, 1, 0) + EVT_CALL(SetPartMoveSpeed, -127, LVar6, EVT_FLOAT(8.0)) + EVT_CALL(SetPartJumpGravity, -127, LVar6, EVT_FLOAT(0.01)) + EVT_CALL(SetPartSounds, -127, LVar6, 2, 720, 0) + EVT_CALL(JumpPartTo, -127, LVar6, LVar3, LVar4, LVar5, 0, 0) + EVT_CALL(SetPartFlagBits, -127, LVar6, 1, 1) + EVT_END_THREAD + EVT_WAIT(3) + EVT_ADD(LVar6, 1) + EVT_END_LOOP + EVT_RETURN + EVT_END +}; + +EvtScript N(8021C5F8) = { + EVT_EXEC(N(8021C454)) + EVT_CALL(GetDistanceToGoal, -127, LVar0) + EVT_DIVF(LVar0, EVT_FLOAT(8.0)) + EVT_ADD(LVar0, 1) + EVT_WAIT(LVar0) + EVT_RETURN + EVT_END +}; + +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, BTL_CAM_PRESET_63) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_CALL(GetActorPos, ACTOR_PLAYER, LVar0, LVar1, LVar2) + EVT_CALL(GetActorVar, -127, 0, LVarA) + EVT_IF_EQ(LVarA, 1) + EVT_ADD(LVar0, 100) + EVT_SET(LVar1, 5) + EVT_ELSE + EVT_ADD(LVar0, 30) + EVT_SET(LVar1, 50) + EVT_END_IF + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim03) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(6.0)) + EVT_THREAD + EVT_CALL(N(UnkSfxFunc)) + EVT_END_THREAD + EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -4, 11) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim01) + EVT_WAIT(10) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim05) + EVT_WAIT(30) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, 16) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(6) + EVT_CASE_OR_EQ(5) + EVT_SET(LVarA, LVar0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim06) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 5) + EVT_ADD(LVar1, 4) + EVT_ADD(LVar2, 2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar3, LVar4, LVar5) + EVT_SUB(LVar3, 100) + EVT_ADD(LVar5, 2) + EVT_EXEC_WAIT(N(8021C5F8)) + EVT_IF_EQ(LVarA, 5) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT(20) + 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)) + EVT_WAIT(20) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim06) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 5) + EVT_ADD(LVar1, 4) + EVT_ADD(LVar2, 2) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar3, LVar4, LVar5) + EVT_SUB(LVar4, 6) + EVT_ADD(LVar5, 2) + EVT_EXEC_WAIT(N(8021C5F8)) + EVT_WAIT(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, (DAMAGE_TYPE_FIRE | DAMAGE_TYPE_NO_CONTACT), 0, 0, 3, 32) + EVT_WAIT(20) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(0) + EVT_CASE_OR_EQ(2) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_EXEC_WAIT(N(8021B2FC)) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +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, BTL_CAM_PRESET_63) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim03) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, 30, 0, 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) + EVT_THREAD + EVT_CALL(N(UnkSfxFunc)) + EVT_END_THREAD + EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -4, 11) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, 16) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(6) + EVT_CASE_OR_EQ(5) + EVT_SET(LVarA, LVar0) + EVT_WAIT(10) + EVT_CALL(SetActorSounds, -127, 2, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2CF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim04) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, FALSE, FALSE) + EVT_CALL(ResetActorSounds, -127, 2) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2EF) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 30) + EVT_ADD(LVar2, 2) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim04) + EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -10, 4) + EVT_IF_EQ(LVarA, 5) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT(30) + 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)) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_CALL(EnableIdleScript, ACTOR_SELF, -1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_WAIT(5) + EVT_CALL(SetActorSounds, -127, 2, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2CF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(5.0)) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_LavaBubble_Blue_Anim04) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, FALSE, FALSE) + EVT_CALL(ResetActorSounds, -127, 2) + EVT_SET(LVarA, LVar0) + EVT_SET(LVarB, LVar1) + EVT_SET(LVarC, LVar2) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, 0x2EF) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar2, 2) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -10, 4) + EVT_WAIT(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_FIRE, 0, 0, 4, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(0) + EVT_CASE_OR_EQ(2) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVarA, LVarB, LVarC) + EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -10, 0) + EVT_WAIT(20) + EVT_EXEC_WAIT(N(8021B2FC)) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, -1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(takeTurn_8021D284) = { + EVT_CALL(GetBattlePhase, LVar0) + EVT_IF_EQ(LVar0, 1) + EVT_CALL(GetActorVar, -127, 0, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(1) + EVT_EXEC_WAIT(N(8021BE64)) + EVT_CASE_EQ(0) + EVT_EXEC_WAIT(N(8021CBC8)) + EVT_END_SWITCH + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorVar, -127, 0, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(1) + EVT_CALL(GetStatusFlags, ACTOR_PARTNER, LVar0) + EVT_IF_FLAG(LVar0, 0x1000000) + EVT_EXEC_WAIT(N(8021BE64)) + EVT_ELSE + EVT_CALL(RandInt, 1000, LVar0) + EVT_IF_LE(LVar0, 300) + EVT_EXEC_WAIT(N(8021C654)) + EVT_ELSE + EVT_EXEC_WAIT(N(8021BE64)) + EVT_END_IF + EVT_END_IF + EVT_CASE_EQ(0) + EVT_CALL(GetStatusFlags, ACTOR_PARTNER, LVar0) + EVT_IF_FLAG(LVar0, 0x1000000) + EVT_EXEC_WAIT(N(8021CBC8)) + EVT_ELSE + EVT_CALL(RandInt, 1000, LVar0) + EVT_IF_LE(LVar0, 300) + EVT_EXEC_WAIT(N(8021C654)) + EVT_ELSE + EVT_EXEC_WAIT(N(8021CBC8)) + EVT_END_IF + EVT_END_IF + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; diff --git a/src/battle/common/actor/fuzzy.inc.c b/src/battle/common/actor/fuzzy.inc.c index 4b76a532fb..3f0fbeff91 100644 --- a/src/battle/common/actor/fuzzy.inc.c +++ b/src/battle/common/actor/fuzzy.inc.c @@ -259,7 +259,7 @@ EvtScript N(takeTurn) = { EVT_WAIT(1) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 8, 0) EVT_WAIT(5) - EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_IGNORE_DEFENSE, 0, 1, 16) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_IGNORE_DEFENSE, 0, 1, BS_FLAGS1_10) EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(HIT_RESULT_MISS) EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) @@ -322,7 +322,7 @@ EvtScript N(takeTurn) = { EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Fuzzy_Anim05) EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) EVT_IF_EQ(LocalFlag(0), 1) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_IGNORE_DEFENSE, 0, 0, 0, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_IGNORE_DEFENSE, 0, 0, 0, BS_FLAGS1_SP_EVT_ACTIVE) EVT_RETURN EVT_END_IF EVT_WAIT(10) @@ -348,7 +348,7 @@ EvtScript N(takeTurn) = { EVT_CALL(SetActorScale, ACTOR_SELF, EVT_FLOAT(0.6), EVT_FLOAT(1.6), EVT_FLOAT(1.0)) EVT_WAIT(10) EVT_WAIT(2) - EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_IGNORE_DEFENSE, 0, 0, 1, 32) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_IGNORE_DEFENSE, 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Fuzzy_Anim01) EVT_SWITCH(LVar0) diff --git a/src/battle/common/actor/ghost_parakarry.inc.c b/src/battle/common/actor/ghost_parakarry.inc.c index 9fd1c69798..ea7a31fee5 100644 --- a/src/battle/common/actor/ghost_parakarry.inc.c +++ b/src/battle/common/actor/ghost_parakarry.inc.c @@ -242,7 +242,7 @@ EvtScript N(parakarry_doTakeTurn) = { EVT_CALL(FlyToGoal, ACTOR_SELF, 0, -10, 10) EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleParakarry_Still) EVT_WAIT(3) - EVT_CALL(UseBattleCamPresetImmediately, 1) + EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_B) EVT_CALL(SetActorSounds, ACTOR_SELF, 1, 0, 0) EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2004) EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_BattleParakarry_FlyFast) diff --git a/src/battle/common/actor/hammer_bro.inc.c b/src/battle/common/actor/hammer_bro.inc.c new file mode 100644 index 0000000000..23572382fb --- /dev/null +++ b/src/battle/common/actor/hammer_bro.inc.c @@ -0,0 +1,593 @@ +#include "common.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/HammerBros.h" + +extern EvtScript N(init); +extern EvtScript N(takeTurn); +extern EvtScript N(idle); +extern EvtScript N(handleEvent); + +s32 N(idleAnimations)[] = { + STATUS_NORMAL, ANIM_HammerBros_Anim02, + STATUS_STONE, ANIM_HammerBros_Anim00, + STATUS_SLEEP, ANIM_HammerBros_Anim11, + STATUS_POISON, ANIM_HammerBros_Anim02, + STATUS_STOP, ANIM_HammerBros_Anim00, + STATUS_STATIC, ANIM_HammerBros_Anim02, + STATUS_PARALYZE, ANIM_HammerBros_Anim00, + STATUS_DIZZY, ANIM_HammerBros_Anim12, + STATUS_FEAR, ANIM_HammerBros_Anim12, + STATUS_END, +}; + +s32 N(idleAnimations2)[] = { + STATUS_NORMAL, ANIM_HammerBros_Anim0D, + STATUS_END, +}; + +s32 N(defenseTable)[] = { + ELEMENT_NORMAL, 1, + ELEMENT_END, +}; + +s32 N(statusTable)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 50, + STATUS_POISON, 60, + STATUS_FROZEN, 0, + STATUS_DIZZY, 70, + STATUS_FEAR, 0, + STATUS_STATIC, 80, + STATUS_PARALYZE, 70, + STATUS_SHRINK, 70, + STATUS_STOP, 80, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, -1, + STATUS_POISON_TURN_MOD, 0, + STATUS_FROZEN_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, -1, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, 0, + STATUS_SHRINK_TURN_MOD, 0, + STATUS_STOP_TURN_MOD, -2, + STATUS_END, +}; + +ActorPartBlueprint N(parts)[] = { + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { -3, 35 }, + .opacity = 255, + .idleAnimations = N(idleAnimations), + .defenseTable = N(defenseTable), + .eventFlags = 0, + .elementImmunityFlags = 0, + .unk_1C = -3, + .unk_1D = -10, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_USE_ABSOLUTE_POSITION, + .index = 2, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 0 }, + .opacity = 255, + .idleAnimations = N(idleAnimations2), + .defenseTable = N(defenseTable), + .eventFlags = 0, + .elementImmunityFlags = 0, + .unk_1C = 0, + .unk_1D = 0, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_USE_ABSOLUTE_POSITION, + .index = 3, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 0 }, + .opacity = 255, + .idleAnimations = N(idleAnimations2), + .defenseTable = N(defenseTable), + .eventFlags = 0, + .elementImmunityFlags = 0, + .unk_1C = 0, + .unk_1D = 0, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_USE_ABSOLUTE_POSITION, + .index = 4, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 0 }, + .opacity = 255, + .idleAnimations = N(idleAnimations2), + .defenseTable = N(defenseTable), + .eventFlags = 0, + .elementImmunityFlags = 0, + .unk_1C = 0, + .unk_1D = 0, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_USE_ABSOLUTE_POSITION, + .index = 5, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 0 }, + .opacity = 255, + .idleAnimations = N(idleAnimations2), + .defenseTable = N(defenseTable), + .eventFlags = 0, + .elementImmunityFlags = 0, + .unk_1C = 0, + .unk_1D = 0, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET | ACTOR_PART_FLAG_USE_ABSOLUTE_POSITION, + .index = 6, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 0 }, + .opacity = 255, + .idleAnimations = N(idleAnimations2), + .defenseTable = N(defenseTable), + .eventFlags = 0, + .elementImmunityFlags = 0, + .unk_1C = 0, + .unk_1D = 0, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = 0, + .type = ACTOR_TYPE_HAMMER_BROS, + .level = 27, + .maxHP = 12, + .partCount = ARRAY_COUNT(N(parts)), + .partsData = N(parts), + .script = &N(init), + .statusTable = N(statusTable), + .escapeChance = 30, + .airLiftChance = 75, + .spookChance = 60, + .baseStatusChance = 40, + .upAndAwayChance = 95, + .spinSmashReq = 0, + .powerBounceChance = 80, + .coinReward = 2, + .size = { 28, 38 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -10, 20 }, + .statusMessageOffset = { 10, 35 }, +}; + +EvtScript N(init) = { + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_PTR(N(takeTurn))) + EVT_CALL(BindIdle, ACTOR_SELF, EVT_PTR(N(idle))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_PTR(N(handleEvent))) + EVT_CALL(SetActorVar, ACTOR_SELF, 8, 0) + EVT_RETURN + EVT_END +}; + +EvtScript N(idle) = { + EVT_LABEL(0) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_FLAG(STATUS_FLAG_SLEEP) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -5, 15) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, 0) + EVT_CASE_DEFAULT + EVT_CALL(GetActorVar, ACTOR_SELF, 8, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(0) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -3, 35) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, -3, -10) + EVT_CASE_EQ(1) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -5, 15) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, 0) + EVT_END_SWITCH + EVT_END_SWITCH + EVT_WAIT(1) + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(EVENT_HIT_COMBO) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim0E) + EVT_EXEC_WAIT(DoNormalHit) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim0F) + EVT_SET_CONST(LVar2, ANIM_HammerBros_Anim10) + EVT_EXEC_WAIT(DoBurnHit) + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim0F) + EVT_SET_CONST(LVar2, ANIM_HammerBros_Anim10) + EVT_EXEC_WAIT(DoBurnHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim10) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim0E) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim0E) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim0E) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim15) + EVT_EXEC_WAIT(DoImmune) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_HammerBros_Anim17) + EVT_WAIT(10) + EVT_END_IF + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim0E) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT(10) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim0E) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim02) + EVT_EXEC_WAIT(DoRecover) + EVT_CASE_EQ(EVENT_SCARE_AWAY) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim07) + EVT_SET_CONST(LVar2, ANIM_HammerBros_Anim0E) + EVT_EXEC_WAIT(DoScareAway) + EVT_RETURN + EVT_CASE_EQ(EVENT_BEGIN_AIR_LIFT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim07) + EVT_EXEC_WAIT(DoAirLift) + EVT_CASE_EQ(EVENT_BLOW_AWAY) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_IF_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, -2, 1, 0) + EVT_ELSE + EVT_CALL(SetActorDispOffset, ACTOR_SELF, -5, 3, 0) + EVT_END_IF + EVT_END_IF + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim0E) + EVT_EXEC_WAIT(DoBlowAway) + EVT_RETURN + EVT_CASE_EQ(EVENT_AIR_LIFT_FAILED) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_HammerBros_Anim02) + EVT_EXEC_WAIT(DoImmune) + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(attackHammerThrow) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(GetBattlePhase, LVar0) + EVT_IF_EQ(LVar0, PHASE_FIRST_STRIKE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 1) + EVT_END_IF + EVT_CALL(GetBattlePhase, LVar0) + EVT_IF_EQ(LVar0, PHASE_FIRST_STRIKE) + EVT_CHILD_THREAD + EVT_SET(LVar0, 0) + EVT_LABEL(0) + EVT_ADD(LVar0, 20) + EVT_MOD(LVar0, 360) + EVT_CALL(SetPartRotation, ACTOR_SELF, 2, 0, 0, LVar0) + EVT_WAIT(1) + EVT_GOTO(0) + EVT_END_CHILD_THREAD + EVT_CALL(SetPartPos, ACTOR_SELF, 2, 0, 50, 0) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 2, ACTOR_PART_FLAG_INVISIBLE, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_HammerBros_Anim0C) + EVT_GOTO(100) + EVT_END_IF + EVT_CHILD_THREAD + EVT_SET(LVar0, 0) + EVT_LABEL(0) + EVT_ADD(LVar0, 20) + EVT_MOD(LVar0, 360) + EVT_CALL(SetPartRotation, ACTOR_SELF, 2, 0, 0, LVar0) + EVT_WAIT(1) + EVT_GOTO(0) + EVT_END_CHILD_THREAD + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 23) + EVT_ADD(LVar1, 23) + EVT_SUB(LVar2, 2) + EVT_CALL(SetPartPos, ACTOR_SELF, 2, LVar0, LVar1, LVar2) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_HammerBros_Anim0C) + EVT_WAIT(8) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 2, ACTOR_PART_FLAG_INVISIBLE, 0) + EVT_LABEL(100) + EVT_THREAD + EVT_WAIT(15) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_HammerBros_Anim02) + EVT_END_THREAD + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(SetPartScale, ACTOR_SELF, 2, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(0.4)) + EVT_ELSE + EVT_CALL(SetPartScale, ACTOR_SELF, 2, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_END_IF + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LVarA, LVar0) + EVT_CALL(SetPartSounds, ACTOR_SELF, 2, 2, 0, 0) + EVT_CALL(PlaySoundAtPart, ACTOR_SELF, 2, SOUND_2E9) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 20) + EVT_SET(LVar1, 10) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 2, EVT_FLOAT(1.3)) + EVT_CALL(JumpPartTo, ACTOR_SELF, 2, LVar0, LVar1, LVar2, 15, 1) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVarA, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_SUB(LVar0, 40) + EVT_CALL(JumpPartTo, ACTOR_SELF, 2, LVar0, LVar1, LVar2, 15, 1) + EVT_SUB(LVar0, 30) + EVT_CALL(JumpPartTo, ACTOR_SELF, 2, LVar0, LVar1, LVar2, 10, 1) + EVT_SUB(LVar0, 20) + EVT_CALL(JumpPartTo, ACTOR_SELF, 2, LVar0, LVar1, LVar2, 5, 1) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 2, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_WAIT(15) + EVT_CALL(YieldTurn) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) + EVT_WAIT(20) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(SetPartSounds, ACTOR_SELF, 2, 2, 0, 0) + EVT_CALL(PlaySoundAtPart, ACTOR_SELF, 2, SOUND_2E9) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, 2, EVT_FLOAT(1.3)) + EVT_CALL(JumpPartTo, ACTOR_SELF, 2, LVar0, LVar1, LVar2, 15, 1) + EVT_WAIT(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_NO_CONTACT, 0, 0x00000002 | 0x00000010 | STATUS_FLAG_20 | STATUS_FLAG_100 | STATUS_FLAG_200 | STATUS_FLAG_SHRINK | STATUS_FLAG_80000000, 5, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CALL(GetPartOffset, ACTOR_SELF, 2, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 50) + EVT_SET(LVar1, 10) + EVT_CALL(JumpPartTo, ACTOR_SELF, 2, LVar0, LVar1, LVar2, 20, 1) + EVT_SUB(LVar0, 30) + EVT_CALL(JumpPartTo, ACTOR_SELF, 2, LVar0, LVar1, LVar2, 10, 1) + EVT_SUB(LVar0, 20) + EVT_CALL(JumpPartTo, ACTOR_SELF, 2, LVar0, LVar1, LVar2, 5, 1) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 2, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_WAIT(20) + EVT_CALL(YieldTurn) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(hammerMiss) = { + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(2.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_HammerBros_Anim02) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_HammerBros_Anim0C) + EVT_WAIT(4) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, LVar0, ACTOR_PART_FLAG_INVISIBLE, 0) + EVT_CALL(SetPartSounds, ACTOR_SELF, LVar0, 2, 0, 0) + EVT_CALL(PlaySoundAtPart, ACTOR_SELF, LVar0, SOUND_2E9) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar1, LVar2, LVar3) + EVT_SET(LVar2, 10) + EVT_CALL(RandInt, 60, LVar4) + EVT_SET(LVar5, 30) + EVT_SUB(LVar5, LVar4) + EVT_ADD(LVar1, LVar5) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, LVar0, EVT_FLOAT(1.3)) + EVT_CALL(JumpPartTo, ACTOR_SELF, LVar0, LVar1, LVar2, LVar3, 15, 1) + EVT_SUB(LVar1, 50) + EVT_SET(LVar2, 10) + EVT_CALL(JumpPartTo, ACTOR_SELF, LVar0, LVar1, LVar2, LVar3, 20, 1) + EVT_SUB(LVar1, 30) + EVT_CALL(JumpPartTo, ACTOR_SELF, LVar0, LVar1, LVar2, LVar3, 10, 1) + EVT_SUB(LVar1, 20) + EVT_CALL(JumpPartTo, ACTOR_SELF, LVar0, LVar1, LVar2, LVar3, 5, 1) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, LVar0, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_RETURN + EVT_END +}; + +EvtScript N(hammerHit) = { + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(2.0)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_HammerBros_Anim02) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_HammerBros_Anim0C) + EVT_WAIT(4) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, LVar0, ACTOR_PART_FLAG_INVISIBLE, 0) + EVT_CALL(SetPartSounds, ACTOR_SELF, LVar0, 2, 0, 0) + EVT_CALL(PlaySoundAtPart, ACTOR_SELF, LVar0, SOUND_2E9) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar1, LVar2, LVar3) + EVT_CALL(SetPartJumpGravity, ACTOR_SELF, LVar0, EVT_FLOAT(1.3)) + EVT_CALL(JumpPartTo, ACTOR_SELF, LVar0, LVar1, LVar2, LVar3, 15, 1) + EVT_SUB(LVar1, 50) + EVT_SET(LVar2, 10) + EVT_CALL(JumpPartTo, ACTOR_SELF, LVar0, LVar1, LVar2, LVar3, 20, 1) + EVT_SUB(LVar1, 30) + EVT_CALL(JumpPartTo, ACTOR_SELF, LVar0, LVar1, LVar2, LVar3, 10, 1) + EVT_SUB(LVar1, 20) + EVT_CALL(JumpPartTo, ACTOR_SELF, LVar0, LVar1, LVar2, LVar3, 5, 1) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, LVar0, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_RETURN + EVT_END +}; + +EvtScript N(attackHammerSurge) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_THREAD + EVT_SET(LVar0, 0) + EVT_LOOP(100) + EVT_ADD(LVar0, 20) + EVT_MOD(LVar0, 360) + EVT_CALL(SetPartRotation, ACTOR_SELF, 2, 0, 0, LVar0) + EVT_CALL(SetPartRotation, ACTOR_SELF, 3, 0, 0, LVar0) + EVT_CALL(SetPartRotation, ACTOR_SELF, 4, 0, 0, LVar0) + EVT_CALL(SetPartRotation, ACTOR_SELF, 5, 0, 0, LVar0) + EVT_CALL(SetPartRotation, ACTOR_SELF, 6, 0, 0, LVar0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 23) + EVT_ADD(LVar1, 23) + EVT_SUB(LVar2, 2) + EVT_CALL(SetPartPos, ACTOR_SELF, 2, LVar0, LVar1, LVar2) + EVT_CALL(SetPartPos, ACTOR_SELF, 3, LVar0, LVar1, LVar2) + EVT_CALL(SetPartPos, ACTOR_SELF, 4, LVar0, LVar1, LVar2) + EVT_CALL(SetPartPos, ACTOR_SELF, 5, LVar0, LVar1, LVar2) + EVT_CALL(SetPartPos, ACTOR_SELF, 6, LVar0, LVar1, LVar2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(SetPartScale, ACTOR_SELF, 2, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(0.4)) + EVT_CALL(SetPartScale, ACTOR_SELF, 3, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(0.4)) + EVT_CALL(SetPartScale, ACTOR_SELF, 4, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(0.4)) + EVT_CALL(SetPartScale, ACTOR_SELF, 5, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(0.4)) + EVT_CALL(SetPartScale, ACTOR_SELF, 6, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(0.4)) + EVT_ELSE + EVT_CALL(SetPartScale, ACTOR_SELF, 2, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_CALL(SetPartScale, ACTOR_SELF, 3, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_CALL(SetPartScale, ACTOR_SELF, 4, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_CALL(SetPartScale, ACTOR_SELF, 5, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_CALL(SetPartScale, ACTOR_SELF, 6, EVT_FLOAT(1.0), EVT_FLOAT(1.0), EVT_FLOAT(1.0)) + EVT_END_IF + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LVarA, LVar0) + EVT_SET(LVar0, 2) + EVT_EXEC(N(hammerMiss)) + EVT_WAIT(5) + EVT_SET(LVar0, 3) + EVT_EXEC(N(hammerMiss)) + EVT_WAIT(5) + EVT_SET(LVar0, 4) + EVT_EXEC(N(hammerMiss)) + EVT_WAIT(5) + EVT_SET(LVar0, 5) + EVT_EXEC(N(hammerMiss)) + EVT_WAIT(5) + EVT_SET(LVar0, 6) + EVT_EXEC(N(hammerMiss)) + EVT_WAIT(5) + EVT_WAIT(20) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_HammerBros_Anim02) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT(15) + EVT_CALL(YieldTurn) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) + EVT_WAIT(20) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_THREAD + EVT_SET(LVar0, 2) + EVT_EXEC(N(hammerHit)) + EVT_WAIT(5) + EVT_SET(LVar0, 3) + EVT_EXEC(N(hammerHit)) + EVT_WAIT(5) + EVT_SET(LVar0, 4) + EVT_EXEC(N(hammerHit)) + EVT_WAIT(5) + EVT_SET(LVar0, 5) + EVT_EXEC(N(hammerHit)) + EVT_WAIT(5) + EVT_SET(LVar0, 6) + EVT_EXEC(N(hammerHit)) + EVT_END_THREAD + EVT_WAIT(21) + EVT_WAIT(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_NO_CONTACT, 0, 0, 2, BS_FLAGS1_10) + EVT_WAIT(5) + EVT_WAIT(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_NO_CONTACT, 0, 0, 2, BS_FLAGS1_40) + EVT_WAIT(5) + EVT_WAIT(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_NO_CONTACT, 0, 0, 2, BS_FLAGS1_40) + EVT_WAIT(5) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_HammerBros_Anim02) + EVT_WAIT(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_NO_CONTACT, 0, 0, 2, BS_FLAGS1_40) + EVT_WAIT(5) + EVT_WAIT(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_NO_CONTACT, 0, 0x00000002 | 0x00000010 | STATUS_FLAG_20 | STATUS_FLAG_100 | STATUS_FLAG_200 | STATUS_FLAG_SHRINK | STATUS_FLAG_80000000, 2, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_WAIT(20) + EVT_CALL(YieldTurn) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(takeTurn) = { + EVT_CALL(GetActorHP, ACTOR_SELF, LVar0) + EVT_CALL(GetEnemyMaxHP, ACTOR_SELF, LVar1) + EVT_MULF(LVar0, EVT_FLOAT(100.0)) + EVT_DIVF(LVar0, LVar1) + EVT_IF_GT(LVar0, 34) + EVT_EXEC_WAIT(N(attackHammerThrow)) + EVT_ELSE + EVT_EXEC_WAIT(N(attackHammerSurge)) + EVT_END_IF + EVT_RETURN + EVT_END +}; diff --git a/src/battle/common/actor/koopatrol.inc.c b/src/battle/common/actor/koopatrol.inc.c new file mode 100644 index 0000000000..4765189ded --- /dev/null +++ b/src/battle/common/actor/koopatrol.inc.c @@ -0,0 +1,1348 @@ +#include "common.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/Koopatrol.h" +#include "effects.h" + +enum N(ActorVars) { + N(VAR_STATE) = 0, + N(VAR_SUMMON_COUNT) = 1, + N(VAR_INDEX_FROM_HOME) = 2, + N(VAR_FLIPPED) = 9, +}; + +enum N(States) { + N(STATE_NORMAL) = 0, + N(STATE_FLIPPED) = 1, + N(STATE_CHARGED) = 2, +}; + +extern EvtScript N(init); +extern EvtScript N(takeTurn); +extern EvtScript N(idle); +extern EvtScript N(handleEvent); +extern EvtScript N(nextTurn); + +s32 N(idleAnimations)[] = { + STATUS_NORMAL, ANIM_Koopatrol_Anim01, + STATUS_STONE, ANIM_Koopatrol_Anim00, + STATUS_SLEEP, ANIM_Koopatrol_Anim11, + STATUS_POISON, ANIM_Koopatrol_Anim01, + STATUS_STOP, ANIM_Koopatrol_Anim00, + STATUS_STATIC, ANIM_Koopatrol_Anim01, + STATUS_PARALYZE, ANIM_Koopatrol_Anim00, + STATUS_DIZZY, ANIM_Koopatrol_Anim13, + STATUS_FEAR, ANIM_Koopatrol_Anim13, + STATUS_END, +}; + +s32 N(idleAnimations_stepBack)[] = { + STATUS_NORMAL, ANIM_Koopatrol_Anim03, + STATUS_STONE, ANIM_Koopatrol_Anim00, + STATUS_SLEEP, ANIM_Koopatrol_Anim11, + STATUS_POISON, ANIM_Koopatrol_Anim03, + STATUS_STOP, ANIM_Koopatrol_Anim00, + STATUS_STATIC, ANIM_Koopatrol_Anim03, + STATUS_PARALYZE, ANIM_Koopatrol_Anim00, + STATUS_DIZZY, ANIM_Koopatrol_Anim13, + STATUS_FEAR, ANIM_Koopatrol_Anim13, + STATUS_END, +}; + +s32 N(idleAnimations_flipped)[] = { + STATUS_NORMAL, ANIM_Koopatrol_Anim0F, + STATUS_STONE, ANIM_Koopatrol_Anim10, + STATUS_SLEEP, ANIM_Koopatrol_Anim12, + STATUS_POISON, ANIM_Koopatrol_Anim0F, + STATUS_STOP, ANIM_Koopatrol_Anim10, + STATUS_STATIC, ANIM_Koopatrol_Anim0F, + STATUS_PARALYZE, ANIM_Koopatrol_Anim10, + STATUS_DIZZY, ANIM_Koopatrol_Anim14, + STATUS_FEAR, ANIM_Koopatrol_Anim14, + STATUS_END, +}; + +s32 N(idleAnimations_charged)[] = { + STATUS_NORMAL, ANIM_Koopatrol_Anim06, + STATUS_STONE, ANIM_Koopatrol_Anim06, + STATUS_SLEEP, ANIM_Koopatrol_Anim06, + STATUS_POISON, ANIM_Koopatrol_Anim06, + STATUS_STOP, ANIM_Koopatrol_Anim06, + STATUS_STATIC, ANIM_Koopatrol_Anim06, + STATUS_PARALYZE, ANIM_Koopatrol_Anim06, + STATUS_DIZZY, ANIM_Koopatrol_Anim06, + STATUS_FEAR, ANIM_Koopatrol_Anim06, + STATUS_END, +}; + +s32 N(defenseTable)[] = { + ELEMENT_NORMAL, 3, + ELEMENT_SHOCK, 3, + ELEMENT_END, +}; + +s32 N(defenseTable_flipped)[] = { + ELEMENT_NORMAL, 0, + ELEMENT_END, +}; + +s32 N(defenseTable_charged)[] = { + ELEMENT_NORMAL, 3, + ELEMENT_FIRE, 3, + ELEMENT_END, +}; + +s32 N(statusTable)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 50, + STATUS_POISON, 60, + STATUS_FROZEN, 0, + STATUS_DIZZY, 75, + STATUS_FEAR, 0, + STATUS_STATIC, 80, + STATUS_PARALYZE, 75, + STATUS_SHRINK, 70, + STATUS_STOP, 80, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, -1, + STATUS_POISON_TURN_MOD, 0, + STATUS_FROZEN_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, 0, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, 0, + STATUS_SHRINK_TURN_MOD, 0, + STATUS_STOP_TURN_MOD, -1, + STATUS_END, +}; + +s32 N(statusTable_charged)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 0, + STATUS_POISON, 0, + STATUS_DIZZY, 0, + STATUS_FEAR, 0, + STATUS_STATIC, 0, + STATUS_PARALYZE, 0, + STATUS_SHRINK, 0, + STATUS_STOP, 0, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, 0, + STATUS_POISON_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, 0, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, 0, + STATUS_SHRINK_TURN_MOD, 0, + STATUS_STOP_TURN_MOD, 0, + STATUS_END, +}; + +ActorPartBlueprint N(parts)[] = { + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 32 }, + .opacity = 255, + .idleAnimations = N(idleAnimations), + .defenseTable = N(defenseTable), + .eventFlags = ACTOR_EVENT_FLAG_SPIKY_TOP | ACTOR_EVENT_FLAG_FLIPABLE, + .elementImmunityFlags = 0, + .unk_1C = 0, + .unk_1D = -12, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = 0, + .type = ACTOR_TYPE_KOOPATROL, + .level = 25, + .maxHP = 8, + .partCount = ARRAY_COUNT(N(parts)), + .partsData = N(parts), + .script = &N(init), + .statusTable = N(statusTable), + .escapeChance = 50, + .airLiftChance = 75, + .spookChance = 65, + .baseStatusChance = 60, + .upAndAwayChance = 95, + .spinSmashReq = 0, + .powerBounceChance = 85, + .coinReward = 2, + .size = { 32, 42 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -15, 32 }, + .statusMessageOffset = { 5, 32 }, +}; + +#include "common/UnkBattleFunc1.inc.c" +#include "common/StartRumbleWithParams.inc.c" + +EvtScript N(init) = { + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_PTR(N(takeTurn))) + EVT_CALL(BindIdle, ACTOR_SELF, EVT_PTR(N(idle))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_PTR(N(handleEvent))) + EVT_CALL(BindNextTurn, ACTOR_SELF, EVT_PTR(N(nextTurn))) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_NORMAL)) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_SUMMON_COUNT), 0) + EVT_CALL(GetIndexFromHome, ACTOR_SELF, LVar0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_INDEX_FROM_HOME), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(0) + EVT_CALL(SetBattleVar, 4, 0) + EVT_CASE_EQ(1) + EVT_CALL(SetBattleVar, 5, 0) + EVT_CASE_EQ(2) + EVT_CALL(SetBattleVar, 6, 0) + EVT_CASE_EQ(3) + EVT_CALL(SetBattleVar, 7, 0) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(nextTurn) = { + EVT_CALL(GetBattlePhase, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(PHASE_PLAYER_BEGIN) + EVT_CASE_EQ(PHASE_ENEMY_BEGIN) + EVT_CASE_EQ(PHASE_ENEMY_END) + EVT_CALL(SetBattleVar, 1, 0) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(update_unknown) = { + EVT_SWITCH(LVar0) + EVT_CASE_EQ(N(STATE_NORMAL)) + EVT_IF_FLAG(LVar1, STATUS_FLAG_SLEEP | STATUS_FLAG_DIZZY) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -5, 15) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, 0) + EVT_CALL(N(UnkBattleFunc1), -10, 20, 10, 20) + EVT_ELSE + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -4, 32) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, -1, -4) + EVT_CALL(N(UnkBattleFunc1), -15, 32, 5, 32) + EVT_END_IF + EVT_CASE_EQ(N(STATE_FLIPPED)) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -5, 15) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, 0) + EVT_CALL(N(UnkBattleFunc1), -10, 20, 10, 20) + EVT_CASE_EQ(N(STATE_CHARGED)) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -4, 20) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, -6) + EVT_CALL(N(UnkBattleFunc1), -15, 22, 5, 22) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + +EvtScript N(idle) = { + EVT_LABEL(0) + EVT_CALL(RandInt, 80, LVarA) + EVT_ADD(LVarA, 80) + EVT_LOOP(LVarA) + EVT_LABEL(1) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar1) + EVT_EXEC_WAIT(N(update_unknown)) + EVT_IF_EQ(LVar0, N(STATE_FLIPPED)) + EVT_WAIT(1) + EVT_GOTO(1) + EVT_END_IF + EVT_IF_FLAG(LVar1, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP | STATUS_FLAG_GLOWING) + EVT_WAIT(1) + EVT_GOTO(1) + EVT_END_IF + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 5) + EVT_CALL(SetActorIdleSpeed, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_stepBack))) + EVT_CALL(SetIdleGoal, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(IdleRunToGoal, ACTOR_SELF, 0) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(N(STATE_NORMAL)) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations))) + EVT_CASE_EQ(N(STATE_FLIPPED)) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_flipped))) + EVT_END_SWITCH + EVT_LOOP(20) + EVT_LABEL(2) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar1) + EVT_EXEC_WAIT(N(update_unknown)) + EVT_IF_EQ(LVar0, N(STATE_FLIPPED)) + EVT_WAIT(1) + EVT_GOTO(2) + EVT_END_IF + EVT_IF_FLAG(LVar1, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP | STATUS_FLAG_GLOWING) + EVT_WAIT(1) + EVT_GOTO(2) + EVT_END_IF + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 5) + EVT_CALL(SetActorIdleSpeed, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_stepBack))) + EVT_CALL(SetIdleGoal, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(IdleRunToGoal, ACTOR_SELF, 0) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(N(STATE_NORMAL)) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations))) + EVT_CASE_EQ(N(STATE_FLIPPED)) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_flipped))) + EVT_END_SWITCH + EVT_LOOP(80) + EVT_LABEL(3) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar1) + EVT_EXEC_WAIT(N(update_unknown)) + EVT_IF_EQ(LVar0, N(STATE_FLIPPED)) + EVT_WAIT(1) + EVT_GOTO(3) + EVT_END_IF + EVT_IF_FLAG(LVar1, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP | STATUS_FLAG_GLOWING) + EVT_WAIT(1) + EVT_GOTO(3) + EVT_END_IF + EVT_WAIT(1) + EVT_END_LOOP + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +s32 N(flipPos)[] = { + 9, 16, 22, 26, 30, 32, 33, 32, 30, 26, 22, 16, 9, 0, 4, 6, 7, 6, 4, 0, 2, 0, +}; + +EvtScript N(handleEvent) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(EVENT_HIT_COMBO) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(N(STATE_NORMAL)) + EVT_CASE_OR_EQ(N(STATE_FLIPPED)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) + EVT_EXEC_WAIT(DoNormalHit) + EVT_END_CASE_GROUP + EVT_CASE_EQ(N(STATE_CHARGED)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim06) + EVT_EXEC_WAIT(DoNormalHit) + EVT_END_SWITCH + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0C) + EVT_SET_CONST(LVar2, ANIM_Koopatrol_Anim0D) + EVT_EXEC_WAIT(DoBurnHit) + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0C) + EVT_SET_CONST(LVar2, ANIM_Koopatrol_Anim0D) + EVT_EXEC_WAIT(DoBurnHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0D) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(N(STATE_NORMAL)) + EVT_CASE_OR_EQ(N(STATE_FLIPPED)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_END_CASE_GROUP + EVT_CASE_EQ(N(STATE_CHARGED)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim06) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_END_SWITCH + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(N(STATE_NORMAL)) + EVT_CASE_OR_EQ(N(STATE_FLIPPED)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) + EVT_EXEC_WAIT(DoDeath) + EVT_END_CASE_GROUP + EVT_CASE_EQ(N(STATE_CHARGED)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim06) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim08) + EVT_WAIT(5) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) + EVT_EXEC_WAIT(DoDeath) + EVT_END_SWITCH + EVT_CASE_EQ(EVENT_FLIP_TRIGGER) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_FLIPPED)) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLIPPED), 1) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable_flipped))) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_flipped))) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -5, 15) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, 0, 0) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_SPIKY_TOP, 0) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_400, 1) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim0B) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 12, 0) + EVT_THREAD + EVT_WAIT(4) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 30) + EVT_WAIT(1) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_WAIT(1) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, -30) + EVT_WAIT(1) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, -60) + EVT_WAIT(1) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, -75) + EVT_WAIT(1) + EVT_END_THREAD + EVT_USE_BUF(N(flipPos)) + EVT_LOOP(22) + EVT_BUF_READ1(LVar0) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, LVar0, 0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim0F) + EVT_CASE_EQ(EVENT_SHOCK_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) + EVT_EXEC_WAIT(DoJumpBack) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim04) + EVT_EXEC_WAIT(DoReturnHome) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.6)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_CASE_EQ(EVENT_SHOCK_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) + EVT_EXEC_WAIT(DoShockHit) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_STAR_BEAM) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) + EVT_IF_EQ(LVar0, N(STATE_CHARGED)) + EVT_CALL(SetStatusTable, ACTOR_SELF, EVT_PTR(N(statusTable))) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable))) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_FLIPABLE, 1) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_NORMAL)) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations))) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarA) + EVT_IF_NOT_FLAG(LVarA, STATUS_FLAG_DEFENSE_BOOST | STATUS_FLAG_ATTACK_BOOST) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_END_IF + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 0) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim08) + EVT_EXEC_WAIT(DoImmune) + EVT_END_IF + EVT_CASE_OR_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_CASE_OR_EQ(EVENT_IMMUNE) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(N(STATE_NORMAL)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim07) + EVT_EXEC_WAIT(DoImmune) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim08) + EVT_WAIT(10) + EVT_END_IF + EVT_CASE_EQ(N(STATE_FLIPPED)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0F) + EVT_EXEC_WAIT(DoImmune) + EVT_CASE_EQ(N(STATE_CHARGED)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim06) + EVT_EXEC_WAIT(DoImmune) + EVT_END_SWITCH + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_SPIKE_TAUNT) + EVT_WAIT(10) + EVT_SET(LocalFlag(0), 0) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_ADD(LVar1, 16) + EVT_SET(LocalFlag(0), 1) + EVT_END_IF + EVT_IF_FLAG(LVar3, STATUS_FLAG_DIZZY) + EVT_ADD(LVar0, -14) + EVT_ADD(LVar1, 20) + EVT_SET(LocalFlag(0), 1) + EVT_END_IF + EVT_IF_FLAG(LVar3, STATUS_FLAG_SLEEP) + EVT_ADD(LVar0, -14) + EVT_ADD(LVar1, 20) + EVT_SET(LocalFlag(0), 1) + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVarA) + EVT_IF_EQ(LVarA, N(STATE_CHARGED)) + EVT_ADD(LVar1, 23) + EVT_SET(LocalFlag(0), 1) + EVT_END_IF + EVT_IF_EQ(LocalFlag(0), 0) + EVT_ADD(LVar1, 42) + EVT_END_IF + EVT_CALL(PlayEffect, EFFECT_LENS_FLARE, 0, LVar0, LVar1, LVar2, 20, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT(20) + EVT_CASE_EQ(EVENT_DEATH) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(N(STATE_NORMAL)) + EVT_CASE_OR_EQ(N(STATE_FLIPPED)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) + EVT_EXEC_WAIT(DoNormalHit) + EVT_WAIT(10) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_EQ(N(STATE_CHARGED)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim06) + EVT_EXEC_WAIT(DoNormalHit) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim08) + EVT_WAIT(5) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0B) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_END_SWITCH + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(N(STATE_NORMAL)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim01) + EVT_EXEC_WAIT(DoRecover) + EVT_CASE_EQ(N(STATE_FLIPPED)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0F) + EVT_EXEC_WAIT(DoImmune) + EVT_CASE_EQ(N(STATE_CHARGED)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim06) + EVT_EXEC_WAIT(DoRecover) + EVT_END_SWITCH + EVT_CASE_EQ(EVENT_SCARE_AWAY) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(N(STATE_NORMAL)) + EVT_CASE_OR_EQ(N(STATE_CHARGED)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim04) + EVT_SET_CONST(LVar2, ANIM_Koopatrol_Anim0B) + EVT_EXEC_WAIT(DoScareAway) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_CASE_EQ(N(STATE_FLIPPED)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0F) + EVT_EXEC_WAIT(DoImmune) + EVT_END_SWITCH + EVT_CASE_EQ(EVENT_BEGIN_AIR_LIFT) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(N(STATE_NORMAL)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim16) + EVT_EXEC_WAIT(DoAirLift) + EVT_CASE_EQ(N(STATE_FLIPPED)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0F) + EVT_EXEC_WAIT(DoAirLift) + EVT_CASE_EQ(N(STATE_CHARGED)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0F) + EVT_EXEC_WAIT(DoAirLift) + EVT_END_SWITCH + EVT_CASE_EQ(EVENT_BLOW_AWAY) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(N(STATE_NORMAL)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim16) + EVT_CASE_EQ(N(STATE_FLIPPED)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0F) + EVT_CASE_EQ(N(STATE_CHARGED)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0F) + EVT_END_SWITCH + EVT_EXEC_WAIT(DoBlowAway) + EVT_RETURN + EVT_CASE_EQ(EVENT_AIR_LIFT_FAILED) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(N(STATE_NORMAL)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim01) + EVT_CASE_EQ(N(STATE_FLIPPED)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0F) + EVT_CASE_EQ(N(STATE_CHARGED)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim0F) + EVT_END_SWITCH + EVT_EXEC_WAIT(DoImmune) + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, -1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(attackShellToss) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(GetBattlePhase, LVar0) + EVT_IF_EQ(LVar0, PHASE_FIRST_STRIKE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim06) + EVT_ELSE + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) + EVT_IF_EQ(LVar0, N(STATE_FLIPPED)) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_FLIPPED), LVar0) + EVT_SUB(LVar0, 1) + EVT_IF_GT(LVar0, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLIPPED), LVar0) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(3.0)) + EVT_WAIT(15) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_ELSE + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(3.0)) + EVT_WAIT(10) + EVT_CALL(SetAnimationRate, ACTOR_SELF, 1, EVT_FLOAT(1.0)) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_CALL(SetActorSounds, ACTOR_SELF, 2, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_JUMP_3E2) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim0F) + EVT_SET(LVar0, 0) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 12, 0) + EVT_THREAD + EVT_LOOP(5) + EVT_ADD(LVar0, 15) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LVar0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(3.0)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20BA) + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim01) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_NORMAL)) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations))) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable))) + EVT_CALL(SetTargetOffset, ACTOR_SELF, 1, -4, 32) + EVT_CALL(func_8027D4C8, ACTOR_SELF, 1, -1, -4) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_SPIKY_TOP, 1) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_400, 0) + EVT_END_IF + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_WAIT(10) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim07) + EVT_WAIT(10) + EVT_THREAD + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 4) + EVT_CALL(PlayEffect, EFFECT_SMOKE_IMPACT, 1, LVar0, LVar1, LVar2, 32, 4, 0, 10, 0, 0, 0, 0, 0) + EVT_WAIT(3) + EVT_CALL(PlayEffect, EFFECT_SMOKE_IMPACT, 1, LVar0, LVar1, LVar2, 32, 4, 0, 10, 0, 0, 0, 0, 0) + EVT_WAIT(2) + EVT_CALL(PlayEffect, EFFECT_SMOKE_IMPACT, 1, LVar0, LVar1, LVar2, 32, 4, 0, 10, 0, 0, 0, 0, 0) + EVT_END_THREAD + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2021) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim06) + EVT_WAIT(10) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_END_IF + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20D3) + EVT_CALL(SetActorSounds, ACTOR_SELF, 0, 0, 0) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 4, BS_FLAGS1_10) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LVarA, LVar0) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, -40, 0, 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(16.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(GetBattlePhase, LVar0) + EVT_IF_EQ(LVar0, PHASE_FIRST_STRIKE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_F) + EVT_CALL(SetBattleCamZoom, 300) + EVT_CALL(SetBattleCamOffsetZ, 20) + EVT_CALL(MoveBattleCamOver, 10) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_END_IF + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim08) + EVT_WAIT(8) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_CALL(SetActorYaw, ACTOR_SELF, 180) + EVT_WAIT(4) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim16) + EVT_WAIT(1) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim16) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 20) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(2.0)) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim16) + EVT_WAIT(6) + EVT_SUB(LVar1, 20) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(YieldTurn) + EVT_CALL(SetActorYaw, ACTOR_SELF, 180) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim16) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(8.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim01) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_CALL(SetPartYaw, ACTOR_SELF, 1, 0) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(16.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_WAIT(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, 0, 65535, 0, 4, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 40) + EVT_SET(LVar1, 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.8)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_ADD(LVar0, 30) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 8, FALSE, TRUE, FALSE) + EVT_ADD(LVar0, 20) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 6, FALSE, TRUE, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim08) + EVT_WAIT(8) + EVT_CALL(YieldTurn) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim04) + EVT_EXEC_WAIT(DoReturnHome) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim01) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(attackShellMissile) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) + EVT_IF_EQ(LVar0, N(STATE_NORMAL)) // charge for attack + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 20) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_POWER_UP) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 10) + EVT_CALL(PlayEffect, EFFECT_ENERGY_IN_OUT, 6, LVar0, LVar1, LVar2, EVT_FLOAT(1.0), 45, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim15) + EVT_WAIT(30) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 20) + EVT_THREAD + EVT_WAIT(8) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim07) + EVT_END_THREAD + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_20BA) + EVT_CALL(N(StartRumbleWithParams), 128, 10) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.5)) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim06) + EVT_CALL(SetStatusTable, ACTOR_SELF, EVT_PTR(N(statusTable_charged))) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable_charged))) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_FLIPABLE, 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_CHARGED)) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations_charged))) + EVT_CALL(EnableActorGlow, ACTOR_SELF, TRUE) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 1) + EVT_WAIT(10) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_RETURN + EVT_END_IF + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_63) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(func_8024ECF8, -1, 1, 0) + EVT_LOOP(20) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 1, 0, 0) + EVT_WAIT(1) + EVT_CALL(SetActorDispOffset, ACTOR_SELF, -1, 0, 0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(SetActorDispOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_37C) + EVT_CALL(SetActorSounds, ACTOR_SELF, 0, 0, 0) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, 0, 0, 4, BS_FLAGS1_10) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_SET(LVarA, LVar0) + EVT_THREAD + EVT_LOOP(0) + EVT_CALL(GetActorPos, ACTOR_PLAYER, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 30) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar3, LVar4, LVar5) + EVT_IF_GT(LVar0, LVar3) + EVT_BREAK_LOOP + EVT_END_IF + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_B) + EVT_IF_EQ(LVarA, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT(15) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_END_THREAD + EVT_THREAD + EVT_LOOP(30) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(PlayEffect, EFFECT_WALKING_DUST, 2, LVar0, LVar1, LVar2, 0, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(AddGoalPos, ACTOR_SELF, -200, 0, 0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(16.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_WAIT(15) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarA) + EVT_IF_NOT_FLAG(LVarA, STATUS_FLAG_DEFENSE_BOOST | STATUS_FLAG_ATTACK_BOOST) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_END_IF + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 0) + EVT_CALL(YieldTurn) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_CALL(SetActorPos, ACTOR_SELF, 300, 0, 0) + EVT_CALL(AddActorDecoration, ACTOR_SELF, 1, 0, 2) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(16.0)) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim08) + EVT_CALL(RemoveActorDecoration, ACTOR_SELF, 1, 0) + EVT_CALL(SetStatusTable, ACTOR_SELF, EVT_PTR(N(statusTable))) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable))) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_FLIPABLE, 1) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_NORMAL)) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations))) + EVT_WAIT(10) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_THREAD + EVT_LOOP(30) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(PlayEffect, EFFECT_WALKING_DUST, 2, LVar0, LVar1, LVar2, 0, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_END_THREAD + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(16.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_WAIT(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVarA, 0, 65535, 0, 10, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_SWITCH(LVarA) + EVT_CASE_OR_EQ(HIT_RESULT_HIT) + EVT_CASE_OR_EQ(HIT_RESULT_QUAKE_IMMUNE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_THREAD + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 16, 0) + EVT_SET(LVar0, 0) + EVT_LOOP(60) + EVT_ADD(LVar0, 18) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, LVar0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(SetActorRotationOffset, ACTOR_SELF, 0, 0, 0) + EVT_CALL(SetActorRotation, ACTOR_SELF, 0, 0, 0) + EVT_END_THREAD + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 50) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 30, FALSE, TRUE, FALSE) + EVT_SUB(LVar0, 40) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 20, FALSE, TRUE, FALSE) + EVT_SUB(LVar0, 30) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_WAIT(20) + EVT_CALL(YieldTurn) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarA) + EVT_IF_NOT_FLAG(LVarA, STATUS_FLAG_DEFENSE_BOOST | STATUS_FLAG_ATTACK_BOOST) + EVT_CALL(EnableActorGlow, ACTOR_SELF, FALSE) + EVT_END_IF + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 0) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_CALL(SetActorPos, ACTOR_SELF, 300, 0, 0) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Koopatrol_Anim04) + EVT_EXEC_WAIT(DoReturnHome) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim01) + EVT_CALL(SetStatusTable, ACTOR_SELF, EVT_PTR(N(statusTable))) + EVT_CALL(SetDefenseTable, ACTOR_SELF, 1, EVT_PTR(N(defenseTable))) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_FLIPABLE, 1) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_STATE), N(STATE_NORMAL)) + EVT_CALL(SetIdleAnimations, ACTOR_SELF, 1, EVT_PTR(N(idleAnimations))) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(findTarget) = { + EVT_CALL(EnemyCreateTargetList, 32770) + EVT_CALL(InitTargetIterator) + EVT_LABEL(1) + EVT_CALL(GetOwnerTarget, LVar0, LVar1) + EVT_CALL(GetOriginalActorType, LVar0, LVar2) + EVT_SWITCH(LVar2) + EVT_CASE_OR_EQ(ACTOR_TYPE_BILL_BLASTER) + EVT_CASE_OR_EQ(ACTOR_TYPE_BOMBSHELL_BLASTER) + EVT_SET(LVarA, -1) + EVT_RETURN + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(ChooseNextTarget, 0, LVar0) + EVT_IF_NE(LVar0, -1) + EVT_GOTO(1) + EVT_END_IF + EVT_SET(LocalFlag(1), 0) + EVT_SET(LocalFlag(2), 0) + EVT_SET(LocalFlag(3), 0) + EVT_SET(LocalFlag(4), 0) + EVT_CALL(EnemyCreateTargetList, 32770) + EVT_CALL(InitTargetIterator) + EVT_LABEL(0) + EVT_CALL(GetOwnerTarget, LVar0, LVar1) + EVT_CALL(GetIndexFromHome, LVar0, LVar1) + EVT_MOD(LVar1, 4) + EVT_SWITCH(LVar1) + EVT_CASE_EQ(0) + EVT_SET(LocalFlag(1), 1) + EVT_CASE_EQ(1) + EVT_SET(LocalFlag(2), 1) + EVT_CASE_EQ(2) + EVT_SET(LocalFlag(3), 1) + EVT_CASE_EQ(3) + EVT_SET(LocalFlag(4), 1) + EVT_END_SWITCH + EVT_CALL(ChooseNextTarget, 0, LVar0) + EVT_IF_NE(LVar0, -1) + EVT_GOTO(0) + EVT_END_IF + EVT_IF_EQ(LocalFlag(1), 0) + EVT_SET(LVarA, 0) + EVT_RETURN + EVT_END_IF + EVT_IF_EQ(LocalFlag(2), 0) + EVT_SET(LVarA, 1) + EVT_RETURN + EVT_END_IF + EVT_IF_EQ(LocalFlag(3), 0) + EVT_SET(LVarA, 2) + EVT_RETURN + EVT_END_IF + EVT_IF_EQ(LocalFlag(4), 0) + EVT_SET(LVarA, 3) + EVT_RETURN + EVT_END_IF + EVT_SET(LVarA, -1) + EVT_RETURN + EVT_END +}; + +Vec3i N(summon_pos) = { 0, -1000, 0 }; + +Formation N(summon_formation) = { + { .actor = &NAMESPACE, .home = { .vec = &N(summon_pos) }, .priority = 100, } +}; + +EvtScript N(summonFriend) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 20) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2E5) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim02) + EVT_WAIT(20) + EVT_LOOP(2) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim02) + EVT_WAIT(8) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2E5) + EVT_CALL(SetActorYaw, ACTOR_SELF, 180) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim09) + EVT_WAIT(8) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim02) + EVT_WAIT(8) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2E5) + EVT_CALL(SetActorYaw, ACTOR_SELF, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim09) + EVT_WAIT(8) + EVT_END_LOOP + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 15) + EVT_THREAD + EVT_WAIT(8) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(PlayEffect, EFFECT_SPARKLES, 0, LVar0, LVar1, LVar2, 30, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_206D) + EVT_END_THREAD + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Koopatrol_Anim16) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 16, FALSE, TRUE, FALSE) + EVT_CALL(SummonEnemy, EVT_PTR(N(summon_formation)), 0) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar1, LVar2, LVar3) + EVT_ADD(LVar1, 200) + EVT_CALL(SetActorPos, LVar0, LVar1, LVar2, LVar3) + EVT_CALL(SetGoalToIndex, LVar0, LVarA) + EVT_CALL(PlaySoundAtActor, LVar0, SOUND_20D3) + EVT_CALL(SetActorSounds, LVar0, 0, 0, 0) + EVT_CALL(SetAnimation, LVar0, 1, ANIM_Koopatrol_Anim06) + EVT_CALL(SetActorSpeed, LVar0, EVT_FLOAT(6.0)) + EVT_CALL(RunToGoal, LVar0, 0, FALSE) + EVT_CALL(SetAnimation, LVar0, 1, ANIM_Koopatrol_Anim08) + EVT_WAIT(10) + EVT_CALL(SetAnimation, LVar0, 1, ANIM_Koopatrol_Anim01) + EVT_CALL(GetActorPos, LVar0, LVar1, LVar2, LVar3) + EVT_CALL(ForceHomePos, LVar0, LVar1, LVar2, LVar3) + EVT_CALL(HPBarToHome, LVar0) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_SUMMON_COUNT), LVar1) + EVT_SWITCH(LVar1) + EVT_CASE_EQ(0) + EVT_CALL(SetActorVar, LVar0, N(VAR_SUMMON_COUNT), 1) + EVT_CASE_EQ(1) + EVT_CALL(SetActorVar, LVar0, N(VAR_SUMMON_COUNT), 2) + EVT_END_SWITCH + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_INDEX_FROM_HOME), LVar1) + EVT_CALL(SetActorVar, LVar0, N(VAR_INDEX_FROM_HOME), LVar1) + EVT_SWITCH(LVar1) + EVT_CASE_EQ(0) + EVT_CALL(GetBattleVar, 4, LVar0) + EVT_ADD(LVar0, 1) + EVT_CALL(SetBattleVar, 4, LVar0) + EVT_CASE_EQ(1) + EVT_CALL(GetBattleVar, 5, LVar0) + EVT_ADD(LVar0, 1) + EVT_CALL(SetBattleVar, 5, LVar0) + EVT_CASE_EQ(2) + EVT_CALL(GetBattleVar, 6, LVar0) + EVT_ADD(LVar0, 1) + EVT_CALL(SetBattleVar, 6, LVar0) + EVT_CASE_EQ(3) + EVT_CALL(GetBattleVar, 7, LVar0) + EVT_ADD(LVar0, 1) + EVT_CALL(SetBattleVar, 7, LVar0) + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(findPlacesToSummon) = { + EVT_SET(LVar9, 0) + EVT_CALL(EnemyCreateTargetList, 32770) + EVT_CALL(InitTargetIterator) + EVT_LABEL(0) + EVT_CALL(GetOwnerTarget, LVar0, LVar1) + EVT_CALL(GetOriginalActorType, LVar0, LVar2) + EVT_SWITCH(LVar2) + EVT_CASE_EQ(ACTOR_TYPE_KOOPATROL) + EVT_CALL(GetStatusFlags, LVar0, LVar3) + EVT_IF_NOT_FLAG(LVar3, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_CALL(GetActorVar, LVar0, N(VAR_STATE), LVar3) + EVT_IF_EQ(LVar3, N(STATE_NORMAL)) + EVT_CALL(GetActorVar, LVar0, N(VAR_SUMMON_COUNT), LVar3) + EVT_SWITCH(LVar3) + EVT_CASE_OR_EQ(0) + EVT_CASE_OR_EQ(1) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_INDEX_FROM_HOME), LVar3) + EVT_SWITCH(LVar3) + EVT_CASE_EQ(0) + EVT_CALL(GetBattleVar, 4, LVar4) + EVT_CASE_EQ(1) + EVT_CALL(GetBattleVar, 5, LVar4) + EVT_CASE_EQ(2) + EVT_CALL(GetBattleVar, 6, LVar4) + EVT_CASE_EQ(3) + EVT_CALL(GetBattleVar, 7, LVar4) + EVT_END_SWITCH + EVT_IF_LT(LVar4, 2) + EVT_ADD(LVar9, 1) + EVT_END_IF + EVT_END_CASE_GROUP + EVT_CASE_EQ(2) + EVT_END_SWITCH + EVT_END_IF + EVT_END_IF + EVT_END_SWITCH + EVT_CALL(ChooseNextTarget, 0, LVar0) + EVT_IF_NE(LVar0, -1) + EVT_GOTO(0) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(takeTurn) = { + EVT_CALL(GetBattlePhase, LVar0) + EVT_IF_EQ(LVar0, PHASE_FIRST_STRIKE) + EVT_CALL(SetBattleVar, 1, 1) + EVT_EXEC_WAIT(N(attackShellToss)) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_STATE), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(N(STATE_NORMAL)) + EVT_CALL(GetBattleVar, 1, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(0) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_SUMMON_COUNT), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(0) + EVT_CASE_OR_EQ(1) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_INDEX_FROM_HOME), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(0) + EVT_CALL(GetBattleVar, 4, LVar1) + EVT_CASE_EQ(1) + EVT_CALL(GetBattleVar, 5, LVar1) + EVT_CASE_EQ(2) + EVT_CALL(GetBattleVar, 6, LVar1) + EVT_CASE_EQ(3) + EVT_CALL(GetBattleVar, 7, LVar1) + EVT_END_SWITCH + EVT_IF_GE(LVar1, 2) + EVT_CALL(RandInt, 1000, LVar0) + EVT_IF_LT(LVar0, 300) + EVT_CALL(SetBattleVar, 1, 2) + EVT_EXEC_WAIT(N(attackShellMissile)) + EVT_ELSE + EVT_CALL(SetBattleVar, 1, 1) + EVT_EXEC_WAIT(N(attackShellToss)) + EVT_END_IF + EVT_RETURN + EVT_END_IF + EVT_END_CASE_GROUP + EVT_CASE_EQ(2) + EVT_CALL(RandInt, 1000, LVar0) + EVT_IF_LT(LVar0, 300) + EVT_CALL(SetBattleVar, 1, 2) + EVT_EXEC_WAIT(N(attackShellMissile)) + EVT_ELSE + EVT_CALL(SetBattleVar, 1, 1) + EVT_EXEC_WAIT(N(attackShellToss)) + EVT_END_IF + EVT_RETURN + EVT_END_SWITCH + EVT_EXEC_WAIT(N(findTarget)) + EVT_IF_EQ(LVarA, -1) + EVT_CALL(RandInt, 1000, LVar0) + EVT_IF_LT(LVar0, 300) + EVT_CALL(SetBattleVar, 1, 2) + EVT_EXEC_WAIT(N(attackShellMissile)) + EVT_ELSE + EVT_CALL(SetBattleVar, 1, 1) + EVT_EXEC_WAIT(N(attackShellToss)) + EVT_END_IF + EVT_RETURN + EVT_END_IF + EVT_EXEC_WAIT(N(findPlacesToSummon)) + EVT_SWITCH(LVar9) + EVT_CASE_EQ(1) + EVT_CALL(RandInt, 1000, LVar0) + EVT_IF_LT(LVar0, 400) + EVT_CALL(SetBattleVar, 1, 1) + EVT_EXEC_WAIT(N(summonFriend)) + EVT_RETURN + EVT_END_IF + EVT_CASE_EQ(2) + EVT_CALL(RandInt, 1000, LVar0) + EVT_IF_LT(LVar0, 200) + EVT_CALL(SetBattleVar, 1, 1) + EVT_EXEC_WAIT(N(summonFriend)) + EVT_RETURN + EVT_END_IF + EVT_CASE_EQ(3) + EVT_CALL(RandInt, 1000, LVar0) + EVT_IF_LT(LVar0, 100) + EVT_CALL(SetBattleVar, 1, 1) + EVT_EXEC_WAIT(N(summonFriend)) + EVT_RETURN + EVT_END_IF + EVT_END_SWITCH + EVT_CALL(RandInt, 1000, LVar0) + EVT_IF_LT(LVar0, 300) + EVT_CALL(SetBattleVar, 1, 2) + EVT_EXEC_WAIT(N(attackShellMissile)) + EVT_ELSE + EVT_CALL(SetBattleVar, 1, 1) + EVT_EXEC_WAIT(N(attackShellToss)) + EVT_END_IF + EVT_CASE_EQ(1) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_SUMMON_COUNT), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(0) + EVT_CASE_OR_EQ(1) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_INDEX_FROM_HOME), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(0) + EVT_CALL(GetBattleVar, 4, LVar1) + EVT_CASE_EQ(1) + EVT_CALL(GetBattleVar, 5, LVar1) + EVT_CASE_EQ(2) + EVT_CALL(GetBattleVar, 6, LVar1) + EVT_CASE_EQ(3) + EVT_CALL(GetBattleVar, 7, LVar1) + EVT_END_SWITCH + EVT_IF_GE(LVar1, 2) + EVT_CALL(RandInt, 1000, LVar0) + EVT_IF_LT(LVar0, 300) + EVT_CALL(SetBattleVar, 1, 2) + EVT_EXEC_WAIT(N(attackShellMissile)) + EVT_ELSE + EVT_CALL(SetBattleVar, 1, 1) + EVT_EXEC_WAIT(N(attackShellToss)) + EVT_END_IF + EVT_RETURN + EVT_END_IF + EVT_END_CASE_GROUP + EVT_CASE_EQ(2) + EVT_EXEC_WAIT(N(attackShellToss)) + EVT_RETURN + EVT_END_SWITCH + EVT_EXEC_WAIT(N(findTarget)) + EVT_IF_EQ(LVarA, -1) + EVT_EXEC_WAIT(N(attackShellToss)) + EVT_RETURN + EVT_END_IF + EVT_EXEC_WAIT(N(findPlacesToSummon)) + EVT_SWITCH(LVar9) + EVT_CASE_EQ(1) + EVT_CALL(RandInt, 1000, LVar0) + EVT_IF_LT(LVar0, 400) + EVT_EXEC_WAIT(N(summonFriend)) + EVT_RETURN + EVT_END_IF + EVT_CASE_EQ(2) + EVT_CALL(RandInt, 1000, LVar0) + EVT_IF_LT(LVar0, 200) + EVT_EXEC_WAIT(N(summonFriend)) + EVT_RETURN + EVT_END_IF + EVT_CASE_EQ(3) + EVT_CALL(RandInt, 1000, LVar0) + EVT_IF_LT(LVar0, 100) + EVT_EXEC_WAIT(N(summonFriend)) + EVT_RETURN + EVT_END_IF + EVT_END_SWITCH + EVT_EXEC_WAIT(N(attackShellToss)) + EVT_CASE_EQ(2) + EVT_EXEC_WAIT(N(attackShellMissile)) + EVT_END_SWITCH + EVT_CASE_EQ(N(STATE_FLIPPED)) + EVT_CALL(SetBattleVar, 1, 1) + EVT_EXEC_WAIT(N(attackShellToss)) + EVT_CASE_EQ(N(STATE_CHARGED)) + EVT_EXEC_WAIT(N(attackShellMissile)) + EVT_END_SWITCH + EVT_RETURN + EVT_END +}; + diff --git a/src/battle/common/actor/magikoopa.inc.c b/src/battle/common/actor/magikoopa.inc.c new file mode 100644 index 0000000000..37cc8b0983 --- /dev/null +++ b/src/battle/common/actor/magikoopa.inc.c @@ -0,0 +1,2251 @@ +#include "common.h" +#include "battle/battle.h" +#include "script_api/battle.h" +#include "sprite/npc/Magikoopa.h" +#include "sprite/npc/FlyingMagikoopa.h" +#include "effects.h" + +enum N(ActorVars) { + N(VAR_FLAGS_HIT_COMBO) = 0, + N(VAR_HAS_CLONE) = 1, + N(VAR_CAN_FALL) = 2, + N(VAR_HEAL_ALL_COUNTER) = 3, + N(VAR_HEAL_ONE_COUNTER) = 4, + N(VAR_BOOST_ATTACK_COUNTER) = 5, + N(VAR_BOOST_DEFENSE_COUNTER) = 6, + N(VAR_ELECTRIFY_COUNTER) = 7, + N(VAR_MAKE_TRANSPARENT_COUNTER) = 8, + N(VAR_CLONE_ID) = 9, + N(VAR_LAST_ACTION_IS_MAKE_CLONE) = 10, + N(VAR_LAST_ACTION) = 11, +}; + +enum N(ActionIds) { + N(ACTION_NONE) = -1, + N(ACTION_HEAL_ONE) = 0, + N(ACTION_HEAL_ALL) = 1, + N(ACTION_MAGIC_BLAST) = 2, + N(ACTION_MAKE_CLONE) = 3, + N(ACTION_BOOST_ATTACK) = 4, + N(ACTION_BOOST_DEFENSE) = 5, + N(ACTION_ELECTRIFY) = 6, + N(ACTION_MAKE_TRANSPARENT) = 7, +}; + +extern EvtScript N(init); +extern EvtScript N(idle); +extern EvtScript N(takeTurn); +extern EvtScript N(handleEvent); +extern EvtScript N(init_flying); +extern EvtScript N(handleEvent_flying); + +extern s32 N(idleAnimations)[]; +extern s32 N(idleAnimations_flying)[]; +extern s32 N(idleAnimtions_broomstick)[]; + +s32 N(defenseTable)[] = { + ELEMENT_NORMAL, 0, + ELEMENT_END, +}; + +s32 N(defenseTable_flying)[] = { + ELEMENT_NORMAL, 0, + ELEMENT_END, +}; + +s32 N(statusTable)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 40, + STATUS_POISON, 50, + STATUS_FROZEN, 0, + STATUS_DIZZY, 75, + STATUS_FEAR, 0, + STATUS_STATIC, 50, + STATUS_PARALYZE, 75, + STATUS_SHRINK, 60, + STATUS_STOP, 80, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, -1, + STATUS_POISON_TURN_MOD, 0, + STATUS_FROZEN_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, -1, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, -1, + STATUS_SHRINK_TURN_MOD, -1, + STATUS_STOP_TURN_MOD, -2, + STATUS_END, +}; + +s32 N(statusTable_flying)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 40, + STATUS_POISON, 50, + STATUS_FROZEN, 0, + STATUS_DIZZY, 100, + STATUS_FEAR, 0, + STATUS_STATIC, 50, + STATUS_PARALYZE, 75, + STATUS_SHRINK, 60, + STATUS_STOP, 80, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, -1, + STATUS_POISON_TURN_MOD, 0, + STATUS_FROZEN_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, -1, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, -1, + STATUS_SHRINK_TURN_MOD, -1, + STATUS_STOP_TURN_MOD, -2, + STATUS_END, +}; + +ActorPartBlueprint N(parts)[] = { + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 2, 35 }, + .opacity = 255, + .idleAnimations = N(idleAnimations), + .defenseTable = N(defenseTable), + .eventFlags = 0, + .elementImmunityFlags = 0, + .unk_1C = -5, + .unk_1D = -12, + }, +}; + +ActorPartBlueprint N(parts_flying)[] = { + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 2, 35 }, + .opacity = 255, + .idleAnimations = N(idleAnimations), + .defenseTable = N(defenseTable_flying), + .eventFlags = 0, + .elementImmunityFlags = 0, + .unk_1C = -5, + .unk_1D = -12, + }, + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 2, + .posOffset = { 0, 0, 0 }, + .targetOffset = { -10, 35 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_flying), + .defenseTable = N(defenseTable_flying), + .eventFlags = ACTOR_EVENT_FLAG_800000, + .elementImmunityFlags = 0, + .unk_1C = 0, + .unk_1D = -8, + }, + { + .flags = ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET, + .index = 3, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 0, 0 }, + .opacity = 255, + .idleAnimations = N(idleAnimtions_broomstick), + .defenseTable = N(defenseTable_flying), + .eventFlags = 0, + .elementImmunityFlags = 0, + .unk_1C = 0, + .unk_1D = 0, + }, +}; + +ActorBlueprint NAMESPACE = { + .flags = 0, + .type = ACTOR_TYPE_MAGIKOOPA, + .level = 26, + .maxHP = 11, + .partCount = ARRAY_COUNT(N(parts)), + .partsData = N(parts), + .script = &N(init), + .statusTable = N(statusTable), + .escapeChance = 40, + .airLiftChance = 80, + .spookChance = 70, + .baseStatusChance = 40, + .upAndAwayChance = 95, + .spinSmashReq = 0, + .powerBounceChance = 80, + .coinReward = 2, + .size = { 36, 40 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -10, 20 }, + .statusMessageOffset = { 10, 32 }, +}; + +ActorBlueprint N(flying) = { + .flags = ACTOR_FLAG_FLYING, + .type = ACTOR_TYPE_FLYING_MAGIKOOPA, + .level = 26, + .maxHP = 11, + .partCount = ARRAY_COUNT(N(parts_flying)), + .partsData = N(parts_flying), + .script = &N(init_flying), + .statusTable = N(statusTable_flying), + .escapeChance = 40, + .airLiftChance = 85, + .spookChance = 75, + .baseStatusChance = 40, + .upAndAwayChance = 95, + .spinSmashReq = 0, + .powerBounceChance = 80, + .coinReward = 2, + .size = { 48, 40 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -25, 20 }, + .statusMessageOffset = { 1, 34 }, +}; + +s32 N(idleAnimations)[] = { + STATUS_NORMAL, ANIM_Magikoopa_Anim01, + STATUS_STONE, ANIM_Magikoopa_Anim00, + STATUS_SLEEP, ANIM_Magikoopa_Anim08, + STATUS_POISON, ANIM_Magikoopa_Anim01, + STATUS_STOP, ANIM_Magikoopa_Anim00, + STATUS_STATIC, ANIM_Magikoopa_Anim01, + STATUS_PARALYZE, ANIM_Magikoopa_Anim00, + STATUS_DIZZY, ANIM_Magikoopa_Anim07, + STATUS_FEAR, ANIM_Magikoopa_Anim07, + STATUS_END, +}; + +s32 N(idleAnimations_flying)[] = { + STATUS_NORMAL, ANIM_FlyingMagikoopa_Anim01, + STATUS_STONE, ANIM_FlyingMagikoopa_Anim00, + STATUS_SLEEP, ANIM_FlyingMagikoopa_Anim08, + STATUS_POISON, ANIM_FlyingMagikoopa_Anim01, + STATUS_STOP, ANIM_FlyingMagikoopa_Anim00, + STATUS_STATIC, ANIM_FlyingMagikoopa_Anim01, + STATUS_PARALYZE, ANIM_FlyingMagikoopa_Anim00, + STATUS_DIZZY, ANIM_FlyingMagikoopa_Anim07, + STATUS_FEAR, ANIM_FlyingMagikoopa_Anim07, + STATUS_END, +}; + +s32 N(idleAnimtions_broomstick)[] = { + STATUS_NORMAL, ANIM_FlyingMagikoopa_Anim0A, + STATUS_END, +}; + +#include "common/ShrinkActor.inc.c" +#include "common/CosInterpMinMax.inc.c" + +EvtScript N(idle) = { + EVT_SET(LVarF, 0) + EVT_LABEL(0) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_CLONE_ID), LVar0) + EVT_CALL(ActorExists, LVar0, LVar1) + EVT_IF_EQ(LVar1, 1) + EVT_CALL(N(CosInterpMinMax), LVarF, LVar1, EVT_FLOAT(254.0), EVT_FLOAT(100.0), 20, 0, 0) + EVT_ADD(LVarF, 1) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar2) + EVT_IF_FLAG(LVar2, ACTOR_FLAG_FLYING) + EVT_CALL(SetPartAlpha, ACTOR_SELF, 2, LVar1) + EVT_CALL(SetPartAlpha, LVar0, 1, LVar1) + EVT_ELSE + EVT_CALL(SetPartAlpha, ACTOR_SELF, 1, LVar1) + EVT_CALL(SetPartAlpha, LVar0, 1, LVar1) + EVT_END_IF + EVT_ELSE + EVT_SET(LVarF, 0) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar2) + EVT_IF_FLAG(LVar2, ACTOR_FLAG_FLYING) + EVT_CALL(SetPartAlpha, ACTOR_SELF, 2, 255) + EVT_ELSE + EVT_CALL(SetPartAlpha, ACTOR_SELF, 1, 255) + EVT_END_IF + EVT_END_IF + EVT_WAIT(1) + EVT_GOTO(0) + EVT_RETURN + EVT_END +}; + +#include "common/GetSelectedMoveID.inc.c" + +EvtScript N(canBeKnockedOff) = { + EVT_CALL(GetBattleFlags, LVar0) + EVT_IF_NOT_FLAG(LVar0, BS_FLAGS1_80000) + EVT_IF_FLAG(LVar0, BS_FLAGS1_200 | BS_FLAGS1_40) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_CAN_FALL), 1) + EVT_END_IF + EVT_ELSE + EVT_CALL(N(GetSelectedMoveID), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(MOVE_HEADBONK1) + EVT_CASE_OR_EQ(MOVE_HEADBONK2) + EVT_CASE_OR_EQ(MOVE_HEADBONK3) + EVT_CASE_OR_EQ(MOVE_MULTIBONK) + EVT_CALL(GetBattleFlags, LVar0) + EVT_IF_FLAG(LVar0, BS_FLAGS1_200 | BS_FLAGS1_40) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_CAN_FALL), 1) + EVT_END_IF + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_END_IF + EVT_RETURN + EVT_END +}; + +#include "common/UnkBattleFunc1.inc.c" +#include "common/StartRumbleWithParams.inc.c" + +EvtScript N(knockOff) = { + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_CAN_FALL), LVar0) + EVT_IF_EQ(LVar0, 1) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim04) + EVT_GOTO(0) + EVT_END_IF + EVT_CALL(GetLastElement, LVar0) + EVT_IF_FLAG(LVar0, DAMAGE_TYPE_POW) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim04) + EVT_GOTO(0) + EVT_END_IF + EVT_RETURN + EVT_LABEL(0) + EVT_CALL(func_8027D32C, ACTOR_SELF) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(SetPartScale, ACTOR_SELF, 3, EVT_FLOAT(0.4), EVT_FLOAT(0.4), EVT_FLOAT(0.4)) + EVT_END_IF + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 1, ACTOR_PART_FLAG_MULTI_TARGET, 1) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 1, ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET, 0) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 2, ACTOR_PART_FLAG_INVISIBLE | ACTOR_PART_FLAG_NO_TARGET, 1) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 2, ACTOR_PART_FLAG_MULTI_TARGET, 0) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 3, ACTOR_PART_FLAG_USE_ABSOLUTE_POSITION, 1) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 3, ACTOR_PART_FLAG_INVISIBLE, 0) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SUB(LVar2, 1) + EVT_CALL(SetPartPos, ACTOR_SELF, 3, LVar0, LVar1, LVar2) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_301) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_SET(LVar1, 0) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(0.8)) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_CALL(N(StartRumbleWithParams), 150, 10) + EVT_THREAD + EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(0.7)) + EVT_END_THREAD + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar3) + EVT_IF_EQ(LVar3, EVENT_15) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim04) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar3, LVar4, LVar5) + EVT_ADD(LVar4, 10) + EVT_ADD(LVar5, 5) + EVT_CALL(PlayEffect, EFFECT_SMOKE_BURST, 0, LVar3, LVar4, LVar5, EVT_FLOAT(1.0), 10, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 10, FALSE, TRUE, FALSE) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 5, FALSE, TRUE, FALSE) + EVT_LOOP(20) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 3, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_WAIT(1) + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 3, ACTOR_PART_FLAG_INVISIBLE, 0) + EVT_WAIT(1) + EVT_END_LOOP + EVT_CALL(SetPartFlagBits, ACTOR_SELF, 3, ACTOR_PART_FLAG_INVISIBLE, 1) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim01) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_FLYING, 0) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_PTR(N(handleEvent))) + EVT_CALL(SetActorType, ACTOR_SELF, ACTOR_TYPE_MAGIKOOPA) + EVT_CALL(SetStatusTable, ACTOR_SELF, EVT_PTR(N(statusTable))) + EVT_CALL(N(UnkBattleFunc1), -10, 20, 10, 32) + EVT_CALL(SetActorFlagBits, ACTOR_SELF, ACTOR_FLAG_1000, 1) + EVT_CALL(ResetAllActorSounds, ACTOR_SELF) + EVT_CALL(GetIndexFromPos, ACTOR_SELF, LVar0) + EVT_MOD(LVar0, 4) + EVT_CALL(SetGoalToIndex, ACTOR_SELF, LVar0) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(4.0)) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(ForceHomePos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(HPBarToHome, ACTOR_SELF) + EVT_RETURN + EVT_END +}; + +EvtScript N(flee) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(func_8027D32C, ACTOR_SELF) + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar0) + EVT_IF_NE(LVar0, EVENT_SCARE_AWAY) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 15) + EVT_WAIT(15) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_B) + EVT_END_IF + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(1.0)) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 20) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_WAIT(10) + EVT_CALL(SetActorYaw, ACTOR_SELF, 180) + EVT_CALL(EnableActorBlur, ACTOR_SELF, 1) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(10.0)) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar0, 200) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(RunToGoal, ACTOR_SELF, 0, FALSE) + EVT_CALL(YieldTurn) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_EXEC_WAIT(ForceNextTarget) + EVT_CALL(func_8027D32C, ACTOR_SELF) + EVT_CALL(RemoveActor, ACTOR_SELF) + EVT_RETURN + EVT_END +}; + +EvtScript N(nextTurn) = { + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_FLAGS_HIT_COMBO), LVar0) + EVT_BITWISE_AND_CONST(LVar0, ~0x1) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLAGS_HIT_COMBO), LVar0) + EVT_RETURN + EVT_END +}; + +EvtScript N(init) = { + EVT_CALL(BindIdle, ACTOR_SELF, EVT_PTR(N(idle))) + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_PTR(N(takeTurn))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_PTR(N(handleEvent))) + EVT_CALL(BindNextTurn, ACTOR_SELF, EVT_PTR(N(nextTurn))) + EVT_CALL(GetBattleVar, 2, LVar0) + EVT_IF_EQ(LVar0, 0) + EVT_CALL(SetBattleVar, 2, -1) + EVT_END_IF + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLAGS_HIT_COMBO), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_HAS_CLONE), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_CAN_FALL), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_HEAL_ALL_COUNTER), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_HEAL_ONE_COUNTER), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_BOOST_ATTACK_COUNTER), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_BOOST_DEFENSE_COUNTER), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_ELECTRIFY_COUNTER), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_MAKE_TRANSPARENT_COUNTER), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_CLONE_ID), -1) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION_IS_MAKE_CLONE), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION), N(ACTION_NONE)) + EVT_RETURN + EVT_END +}; + +EvtScript N(init_flying) = { + EVT_CALL(BindIdle, ACTOR_SELF, EVT_PTR(N(idle))) + EVT_CALL(BindTakeTurn, ACTOR_SELF, EVT_PTR(N(takeTurn))) + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_PTR(N(handleEvent_flying))) + EVT_CALL(GetBattleVar, 2, LVar0) + EVT_IF_EQ(LVar0, 0) + EVT_CALL(SetBattleVar, 2, -1) + EVT_END_IF + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLAGS_HIT_COMBO), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_HAS_CLONE), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_CAN_FALL), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_HEAL_ALL_COUNTER), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_HEAL_ONE_COUNTER), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_BOOST_ATTACK_COUNTER), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_BOOST_DEFENSE_COUNTER), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_ELECTRIFY_COUNTER), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_MAKE_TRANSPARENT_COUNTER), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_CLONE_ID), -1) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION_IS_MAKE_CLONE), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION), N(ACTION_NONE)) + EVT_RETURN + EVT_END +}; + +EvtScript N(removeClone) = { + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_HAS_CLONE), LVar0) + EVT_IF_EQ(LVar0, 1) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_CLONE_ID), LVar0) + EVT_CALL(ActorExists, LVar0, LVar1) + EVT_IF_EQ(LVar1, 0) + EVT_RETURN + EVT_END_IF + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION_IS_MAKE_CLONE), 0) + EVT_CALL(GetLastElement, LVarA) + EVT_IF_FLAG(LVarA, DAMAGE_TYPE_NO_OTHER_DAMAGE_POPUPS) + EVT_LABEL(0) + EVT_CALL(GetBattleFlags, LVarA) + EVT_IF_FLAG(LVarA, BS_FLAGS1_100) + EVT_WAIT(1) + EVT_GOTO(0) + EVT_END_IF + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_CLONE_ID), LVar0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_CLONE_ID), -1) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVarA) + EVT_IF_FLAG(LVarA, ACTOR_FLAG_FLYING) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 2, ACTOR_EVENT_FLAG_400000, 0) + EVT_ELSE + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 0) + EVT_END_IF + EVT_CALL(GetActorPos, LVar0, LVar1, LVar2, LVar3) + EVT_CALL(RemoveActor, LVar0) + EVT_THREAD + EVT_ADD(LVar3, 2) + EVT_LOOP(2) + EVT_CALL(PlayEffect, EFFECT_BIG_SMOKE_PUFF, LVar1, LVar2, LVar3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT(2) + EVT_END_LOOP + EVT_END_THREAD + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetPartAlpha, ACTOR_SELF, 1, 255) + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(EVENT_HIT_COMBO) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_FLAGS_HIT_COMBO), LVar0) + EVT_BITWISE_OR_CONST(LVar0, 0x1) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLAGS_HIT_COMBO), LVar0) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Magikoopa_Anim04) + EVT_EXEC_WAIT(DoNormalHit) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_CASE_OR_EQ(EVENT_UP_AND_AWAY) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Magikoopa_Anim04) + EVT_EXEC_WAIT(DoNormalHit) + EVT_EXEC_WAIT(N(removeClone)) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_BURN_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Magikoopa_Anim05) + EVT_SET_CONST(LVar2, ANIM_Magikoopa_Anim06) + EVT_EXEC_WAIT(DoBurnHit) + EVT_EXEC_WAIT(N(removeClone)) + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Magikoopa_Anim05) + EVT_SET_CONST(LVar2, ANIM_Magikoopa_Anim06) + EVT_EXEC_WAIT(DoBurnHit) + EVT_EXEC_WAIT(N(removeClone)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Magikoopa_Anim06) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Magikoopa_Anim04) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_EXEC_WAIT(N(removeClone)) + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Magikoopa_Anim04) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_EXEC_WAIT(N(removeClone)) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Magikoopa_Anim04) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Magikoopa_Anim01) + EVT_EXEC_WAIT(DoImmune) + EVT_CASE_EQ(EVENT_IMMUNE) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Magikoopa_Anim01) + EVT_EXEC_WAIT(DoImmune) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_FLAGS_HIT_COMBO), LVar0) + EVT_IF_FLAG(LVar0, 1) + EVT_EXEC_WAIT(N(removeClone)) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NE(LVar0, 0) + EVT_EXEC_WAIT(N(removeClone)) + EVT_END_IF + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Magikoopa_Anim04) + EVT_EXEC_WAIT(DoNormalHit) + EVT_EXEC_WAIT(N(removeClone)) + EVT_WAIT(10) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Magikoopa_Anim04) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Magikoopa_Anim01) + EVT_EXEC_WAIT(DoRecover) + EVT_CASE_EQ(EVENT_SCARE_AWAY) + EVT_EXEC_WAIT(N(removeClone)) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim04) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.5)) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_WAIT(15) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim02) + EVT_EXEC_WAIT(N(flee)) + EVT_RETURN + EVT_CASE_EQ(EVENT_BEGIN_AIR_LIFT) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Magikoopa_Anim02) + EVT_EXEC_WAIT(DoAirLift) + EVT_CASE_EQ(EVENT_BLOW_AWAY) + EVT_EXEC_WAIT(N(removeClone)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_IF_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(SetPartDispOffset, ACTOR_SELF, 1, 0, 2, 0) + EVT_ELSE + EVT_CALL(SetPartDispOffset, ACTOR_SELF, 1, -4, 5, 0) + EVT_END_IF + EVT_END_IF + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Magikoopa_Anim04) + EVT_EXEC_WAIT(DoBlowAway) + EVT_RETURN + EVT_CASE_EQ(EVENT_AIR_LIFT_FAILED) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Magikoopa_Anim01) + EVT_EXEC_WAIT(DoImmune) + EVT_CASE_EQ(EVENT_STAR_BEAM) + EVT_SET_CONST(LVar0, 1) + EVT_SET_CONST(LVar1, ANIM_Magikoopa_Anim04) + EVT_EXEC_WAIT(DoNormalHit) + EVT_EXEC_WAIT(N(removeClone)) + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent_flying) = { + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetPartAlpha, ACTOR_SELF, 2, 255) + EVT_CALL(GetLastEvent, ACTOR_SELF, LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(EVENT_HIT_COMBO) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_FLAGS_HIT_COMBO), LVar0) + EVT_BITWISE_OR_CONST(LVar0, 1) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_FLAGS_HIT_COMBO), LVar0) + EVT_EXEC_WAIT(N(canBeKnockedOff)) + EVT_SET_CONST(LVar0, 2) + EVT_SET_CONST(LVar1, ANIM_FlyingMagikoopa_Anim04) + EVT_EXEC_WAIT(DoNormalHit) + EVT_CASE_OR_EQ(EVENT_HIT) + EVT_CASE_OR_EQ(EVENT_FALL_TRIGGER) + EVT_EXEC_WAIT(N(canBeKnockedOff)) + EVT_SET_CONST(LVar0, 2) + EVT_SET_CONST(LVar1, ANIM_FlyingMagikoopa_Anim04) + EVT_EXEC_WAIT(DoNormalHit) + EVT_EXEC_WAIT(N(removeClone)) + EVT_EXEC_WAIT(N(knockOff)) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_UP_AND_AWAY) + EVT_SET_CONST(LVar0, 2) + EVT_SET_CONST(LVar1, ANIM_FlyingMagikoopa_Anim04) + EVT_EXEC_WAIT(DoNormalHit) + EVT_EXEC_WAIT(N(removeClone)) + EVT_CASE_OR_EQ(EVENT_BURN_HIT) + EVT_CASE_OR_EQ(EVENT_15) + EVT_EXEC_WAIT(N(canBeKnockedOff)) + EVT_SET_CONST(LVar0, 2) + EVT_SET_CONST(LVar1, ANIM_FlyingMagikoopa_Anim05) + EVT_SET_CONST(LVar2, ANIM_FlyingMagikoopa_Anim06) + EVT_EXEC_WAIT(DoBurnHit) + EVT_EXEC_WAIT(N(removeClone)) + EVT_EXEC_WAIT(N(knockOff)) + EVT_END_CASE_GROUP + EVT_CASE_EQ(EVENT_BURN_DEATH) + EVT_SET_CONST(LVar0, 2) + EVT_SET_CONST(LVar1, ANIM_FlyingMagikoopa_Anim05) + EVT_SET_CONST(LVar2, ANIM_FlyingMagikoopa_Anim06) + EVT_EXEC_WAIT(DoBurnHit) + EVT_EXEC_WAIT(N(removeClone)) + EVT_SET_CONST(LVar0, 2) + EVT_SET_CONST(LVar1, ANIM_FlyingMagikoopa_Anim06) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_SPIN_SMASH_HIT) + EVT_SET_CONST(LVar0, 2) + EVT_SET_CONST(LVar1, ANIM_FlyingMagikoopa_Anim04) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_EXEC_WAIT(N(removeClone)) + EVT_CASE_EQ(EVENT_SPIN_SMASH_DEATH) + EVT_SET_CONST(LVar0, 2) + EVT_SET_CONST(LVar1, ANIM_FlyingMagikoopa_Anim04) + EVT_EXEC_WAIT(DoSpinSmashHit) + EVT_EXEC_WAIT(N(removeClone)) + EVT_SET_CONST(LVar0, 2) + EVT_SET_CONST(LVar1, ANIM_FlyingMagikoopa_Anim04) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_UNKNOWN_TRIGGER) + EVT_SET_CONST(LVar0, 2) + EVT_SET_CONST(LVar1, ANIM_FlyingMagikoopa_Anim01) + EVT_EXEC_WAIT(DoImmune) + EVT_CASE_EQ(EVENT_IMMUNE) + EVT_SET_CONST(LVar0, 2) + EVT_SET_CONST(LVar1, ANIM_FlyingMagikoopa_Anim01) + EVT_EXEC_WAIT(DoImmune) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_FLAGS_HIT_COMBO), LVar0) + EVT_IF_FLAG(LVar0, 1) + EVT_EXEC_WAIT(N(removeClone)) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NE(LVar0, 0) + EVT_EXEC_WAIT(N(removeClone)) + EVT_END_IF + EVT_CASE_EQ(EVENT_DEATH) + EVT_SET_CONST(LVar0, 2) + EVT_SET_CONST(LVar1, ANIM_FlyingMagikoopa_Anim04) + EVT_EXEC_WAIT(DoNormalHit) + EVT_EXEC_WAIT(N(removeClone)) + EVT_WAIT(10) + EVT_SET_CONST(LVar0, 2) + EVT_SET_CONST(LVar1, ANIM_FlyingMagikoopa_Anim04) + EVT_EXEC_WAIT(DoDeath) + EVT_RETURN + EVT_CASE_EQ(EVENT_BEGIN_FIRST_STRIKE) + EVT_CALL(SetActorPos, ACTOR_SELF, 20, 0, 0) + EVT_CALL(HPBarToCurrent, ACTOR_SELF) + EVT_CASE_EQ(EVENT_END_FIRST_STRIKE) + EVT_CALL(SetAnimation, ACTOR_SELF, 2, ANIM_FlyingMagikoopa_Anim01) + EVT_CALL(SetGoalToHome, ACTOR_SELF) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(4.0)) + EVT_CALL(FlyToGoal, ACTOR_SELF, 0, 1, 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 2, ANIM_FlyingMagikoopa_Anim01) + EVT_CALL(HPBarToHome, ACTOR_SELF) + EVT_CASE_EQ(EVENT_RECOVER_STATUS) + EVT_SET_CONST(LVar0, 2) + EVT_SET_CONST(LVar1, ANIM_FlyingMagikoopa_Anim01) + EVT_EXEC_WAIT(DoRecover) + EVT_CASE_EQ(EVENT_SCARE_AWAY) + EVT_EXEC_WAIT(N(removeClone)) + EVT_CALL(SetAnimation, ACTOR_SELF, 2, ANIM_FlyingMagikoopa_Anim04) + EVT_CALL(SetActorJumpGravity, ACTOR_SELF, EVT_FLOAT(1.5)) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(SetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(JumpToGoal, ACTOR_SELF, 15, FALSE, TRUE, FALSE) + EVT_WAIT(15) + EVT_CALL(SetAnimation, ACTOR_SELF, 2, ANIM_FlyingMagikoopa_Anim02) + EVT_EXEC_WAIT(N(flee)) + EVT_RETURN + EVT_CASE_EQ(EVENT_BEGIN_AIR_LIFT) + EVT_SET_CONST(LVar0, 2) + EVT_SET_CONST(LVar1, ANIM_FlyingMagikoopa_Anim02) + EVT_EXEC_WAIT(DoAirLift) + EVT_CASE_EQ(EVENT_BLOW_AWAY) + EVT_EXEC_WAIT(N(removeClone)) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, STATUS_FLAG_SLEEP | STATUS_FLAG_FROZEN | STATUS_FLAG_FEAR | STATUS_FLAG_PARALYZE | STATUS_FLAG_DIZZY | STATUS_FLAG_STONE | STATUS_FLAG_STOP) + EVT_IF_FLAG(LVar0, STATUS_FLAG_SHRINK) + EVT_CALL(SetPartDispOffset, ACTOR_SELF, 2, -3, 0, 0) + EVT_ELSE + EVT_CALL(SetPartDispOffset, ACTOR_SELF, 2, -15, 0, 0) + EVT_END_IF + EVT_END_IF + EVT_SET_CONST(LVar0, 2) + EVT_SET_CONST(LVar1, ANIM_FlyingMagikoopa_Anim04) + EVT_EXEC_WAIT(DoBlowAway) + EVT_RETURN + EVT_CASE_EQ(EVENT_AIR_LIFT_FAILED) + EVT_SET_CONST(LVar0, 2) + EVT_SET_CONST(LVar1, ANIM_FlyingMagikoopa_Anim01) + EVT_EXEC_WAIT(DoImmune) + EVT_CASE_EQ(EVENT_STAR_BEAM) + EVT_SET_CONST(LVar0, 2) + EVT_SET_CONST(LVar1, ANIM_FlyingMagikoopa_Anim04) + EVT_EXEC_WAIT(DoNormalHit) + EVT_EXEC_WAIT(N(removeClone)) + EVT_CASE_DEFAULT + EVT_END_SWITCH + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(healOne) = { + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION_IS_MAKE_CLONE), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION), N(ACTION_HEAL_ONE)) + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_HEAL_ONE_COUNTER), 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 15) + EVT_WAIT(15) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_FLAG_FLYING) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim02) + EVT_ELSE + EVT_CALL(SetAnimation, ACTOR_SELF, 2, ANIM_FlyingMagikoopa_Anim02) + EVT_END_IF + EVT_WAIT(5) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_SPELL_CAST1) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_FLAG_FLYING) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarA) + EVT_IF_FLAG(LVarA, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 6) + EVT_ADD(LVar1, 12) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 7, LVar0, LVar1, LVar2, EVT_FLOAT(0.12), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_SUB(LVar0, 16) + EVT_ADD(LVar1, 31) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 7, LVar0, LVar1, LVar2, EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_ELSE + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarA) + EVT_IF_FLAG(LVarA, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 12) + EVT_ADD(LVar1, 14) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 7, LVar0, LVar1, LVar2, EVT_FLOAT(0.12), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_SUB(LVar0, 30) + EVT_ADD(LVar1, 36) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 7, LVar0, LVar1, LVar2, EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_END_IF + EVT_WAIT(30) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_FLAG_FLYING) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim01) + EVT_ELSE + EVT_CALL(SetAnimation, ACTOR_SELF, 2, ANIM_FlyingMagikoopa_Anim01) + EVT_END_IF + EVT_WAIT(5) + EVT_THREAD + EVT_WAIT(5) + EVT_CALL(PlaySoundAtActor, LVarB, SOUND_206D) + EVT_CALL(PlaySoundAtActor, LVarB, SOUND_214) + EVT_WAIT(30) + EVT_CALL(PlaySoundAtActor, LVarB, SOUND_25C) + EVT_END_THREAD + EVT_THREAD + EVT_CALL(func_8026BF48, 1) + EVT_CALL(HealActor, LVarB, 5, 0) + EVT_CALL(func_8026BF48, 0) + EVT_END_THREAD + EVT_CALL(WaitForBuffDone) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 10) + EVT_WAIT(10) + EVT_CALL(YieldTurn) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(healAll) = { + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION_IS_MAKE_CLONE), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION), N(ACTION_HEAL_ALL)) + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_HEAL_ALL_COUNTER), 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 15) + EVT_WAIT(15) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_FLAG_FLYING) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim02) + EVT_ELSE + EVT_CALL(SetAnimation, ACTOR_SELF, 2, ANIM_FlyingMagikoopa_Anim02) + EVT_END_IF + EVT_WAIT(5) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_SPELL_CAST1) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_FLAG_FLYING) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarA) + EVT_IF_FLAG(LVarA, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 6) + EVT_ADD(LVar1, 12) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 7, LVar0, LVar1, LVar2, EVT_FLOAT(0.12), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_SUB(LVar0, 16) + EVT_ADD(LVar1, 31) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 7, LVar0, LVar1, LVar2, EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_ELSE + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarA) + EVT_IF_FLAG(LVarA, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 12) + EVT_ADD(LVar1, 14) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 7, LVar0, LVar1, LVar2, EVT_FLOAT(0.12), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_SUB(LVar0, 30) + EVT_ADD(LVar1, 36) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 7, LVar0, LVar1, LVar2, EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_END_IF + EVT_WAIT(30) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_FLAG_FLYING) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim01) + EVT_ELSE + EVT_CALL(SetAnimation, ACTOR_SELF, 2, ANIM_FlyingMagikoopa_Anim01) + EVT_END_IF + EVT_WAIT(5) + EVT_CALL(EnemyCreateTargetList, 32770) + EVT_CALL(InitTargetIterator) + EVT_LABEL(0) + EVT_SET(LocalFlag(0), 0) + EVT_CALL(GetOwnerTarget, LVar0, LVar1) + EVT_CALL(GetOriginalActorType, LVar0, LVar1) + EVT_IF_EQ(LVar1, ACTOR_TYPE_DRY_BONES) + EVT_CALL(GetActorVar, LVar0, 8, LVar1) + EVT_IF_EQ(LVar1, 1) + EVT_SET(LocalFlag(0), 1) + EVT_END_IF + EVT_END_IF + EVT_IF_EQ(LocalFlag(0), 0) + EVT_THREAD + EVT_WAIT(5) + EVT_CALL(PlaySoundAtActor, LVar0, SOUND_206D) + EVT_CALL(PlaySoundAtActor, LVar0, SOUND_214) + EVT_WAIT(30) + EVT_CALL(PlaySoundAtActor, LVar0, SOUND_25C) + EVT_END_THREAD + EVT_THREAD + EVT_CALL(func_8026BF48, 1) + EVT_CALL(HealActor, LVar0, 3, 1) + EVT_CALL(func_8026BF48, 0) + EVT_END_THREAD + EVT_END_IF + EVT_CALL(ChooseNextTarget, 0, LVar0) + EVT_IF_NE(LVar0, -1) + EVT_GOTO(0) + EVT_END_IF + EVT_CALL(WaitForBuffDone) + EVT_WAIT(1) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 10) + EVT_WAIT(10) + EVT_CALL(YieldTurn) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(attackMagicBlast) = { + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION), N(ACTION_MAGIC_BLAST)) + EVT_SET(LocalFlag(0), 0) + EVT_SET(LocalFlag(1), 0) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION_IS_MAKE_CLONE), LVar0) + EVT_IF_EQ(LVar0, 1) + EVT_SET(LocalFlag(0), 1) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_CLONE_ID), LVarA) + EVT_END_IF + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar0) + EVT_IF_FLAG(LVar0, ACTOR_FLAG_FLYING) + EVT_SET(LocalFlag(1), 1) + EVT_END_IF + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_IF_EQ(LocalFlag(0), 1) + EVT_CALL(UseIdleAnimation, LVarA, FALSE) + EVT_END_IF + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(GetBattlePhase, LVar0) + EVT_IF_EQ(LVar0, PHASE_FIRST_STRIKE) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 1) + EVT_ELSE + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 10) + EVT_END_IF + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_SPELL_CAST1) + EVT_IF_EQ(LocalFlag(1), 0) + EVT_IF_EQ(LocalFlag(0), 1) + EVT_CALL(SetAnimation, LVarA, 1, ANIM_Magikoopa_Anim02) + EVT_CALL(GetActorPos, LVarA, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 17) + EVT_ADD(LVar1, 33) + EVT_CALL(PlayEffect, EFFECT_GATHER_MAGIC, 0, LVar0, LVar1, LVar2, EVT_FLOAT(0.5), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim02) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 6) + EVT_ADD(LVar1, 13) + EVT_ELSE + EVT_SUB(LVar0, 17) + EVT_ADD(LVar1, 33) + EVT_END_IF + EVT_CALL(PlayEffect, EFFECT_GATHER_MAGIC, 0, LVar0, LVar1, LVar2, EVT_FLOAT(0.5), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_IF_EQ(LocalFlag(0), 1) + EVT_CALL(SetAnimation, LVarA, 1, ANIM_FlyingMagikoopa_Anim02) + EVT_CALL(GetActorPos, LVarA, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 30) + EVT_ADD(LVar1, 36) + EVT_CALL(PlayEffect, EFFECT_GATHER_MAGIC, 0, LVar0, LVar1, LVar2, EVT_FLOAT(0.5), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 2, ANIM_FlyingMagikoopa_Anim02) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 12) + EVT_ADD(LVar1, 14) + EVT_ELSE + EVT_SUB(LVar0, 30) + EVT_ADD(LVar1, 36) + EVT_END_IF + EVT_CALL(PlayEffect, EFFECT_GATHER_MAGIC, 0, LVar0, LVar1, LVar2, EVT_FLOAT(0.5), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_WAIT(30) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar9, 0, 0, 1, BS_FLAGS1_10) + EVT_SWITCH(LVar9) + EVT_CASE_OR_EQ(HIT_RESULT_MISS) + EVT_CASE_OR_EQ(HIT_RESULT_LUCKY) + EVT_IF_EQ(LocalFlag(0), 1) + EVT_CALL(PlaySoundAtActor, LVarA, SOUND_SPELL_CAST2) + EVT_END_IF + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_SPELL_CAST2) + EVT_IF_EQ(LocalFlag(1), 0) + EVT_IF_EQ(LocalFlag(0), 1) + EVT_CALL(SetAnimation, LVarA, 1, ANIM_Magikoopa_Anim03) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim03) + EVT_ELSE + EVT_IF_EQ(LocalFlag(0), 1) + EVT_CALL(SetAnimation, LVarA, 1, ANIM_FlyingMagikoopa_Anim03) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 2, ANIM_FlyingMagikoopa_Anim03) + EVT_END_IF + EVT_WAIT(5) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_SUB(LVar4, 50) + EVT_SET(LVar5, 0) + EVT_IF_EQ(LocalFlag(1), 0) + EVT_IF_EQ(LocalFlag(0), 1) + EVT_CALL(GetActorPos, LVarA, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 20) + EVT_ADD(LVar1, 20) + EVT_CALL(N(ShrinkActor), LVar0, LVar1, LVar6, LVar4, LVar5, LVar6, 30) + EVT_END_IF + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 8) + EVT_ADD(LVar1, 8) + EVT_ELSE + EVT_SUB(LVar0, 20) + EVT_ADD(LVar1, 20) + EVT_END_IF + EVT_CALL(N(ShrinkActor), LVar0, LVar1, LVar6, LVar4, LVar5, LVar6, 30) + EVT_ELSE + EVT_IF_EQ(LocalFlag(0), 1) + EVT_CALL(GetActorPos, LVarA, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 20) + EVT_ADD(LVar1, 20) + EVT_CALL(N(ShrinkActor), LVar0, LVar1, LVar6, LVar4, LVar5, LVar6, 30) + EVT_END_IF + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 8) + EVT_ADD(LVar1, 8) + EVT_ELSE + EVT_SUB(LVar0, 20) + EVT_ADD(LVar1, 20) + EVT_END_IF + EVT_CALL(N(ShrinkActor), LVar0, LVar1, LVar6, LVar4, LVar5, LVar6, 30) + EVT_END_IF + EVT_WAIT(50) + EVT_IF_EQ(LVar9, HIT_RESULT_LUCKY) + EVT_CALL(EnemyTestTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_TRIGGER_LUCKY, 0, 0, 0) + EVT_END_IF + EVT_WAIT(15) + EVT_CALL(YieldTurn) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_IF_EQ(LocalFlag(0), 1) + EVT_CALL(UseIdleAnimation, LVarA, TRUE) + EVT_END_IF + EVT_RETURN + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_IF_EQ(LocalFlag(0), 1) + EVT_CALL(PlaySoundAtActor, LVarA, SOUND_SPELL_CAST2) + EVT_END_IF + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_SPELL_CAST2) + EVT_IF_EQ(LocalFlag(1), 0) + EVT_IF_EQ(LocalFlag(0), 1) + EVT_CALL(SetAnimation, LVarA, 1, ANIM_Magikoopa_Anim03) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim03) + EVT_ELSE + EVT_IF_EQ(LocalFlag(0), 1) + EVT_CALL(SetAnimation, LVarA, 1, ANIM_FlyingMagikoopa_Anim03) + EVT_END_IF + EVT_CALL(SetAnimation, ACTOR_SELF, 2, ANIM_FlyingMagikoopa_Anim03) + EVT_END_IF + EVT_WAIT(5) + EVT_CALL(SetGoalToTarget, ACTOR_SELF) + EVT_CALL(GetGoalPos, ACTOR_SELF, LVar4, LVar5, LVar6) + EVT_IF_EQ(LocalFlag(1), 0) + EVT_IF_EQ(LocalFlag(0), 1) + EVT_CALL(GetActorPos, LVarA, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 20) + EVT_ADD(LVar1, 20) + EVT_CALL(N(ShrinkActor), LVar0, LVar1, LVar6, LVar4, LVar5, LVar6, 20) + EVT_END_IF + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 8) + EVT_ADD(LVar1, 8) + EVT_ELSE + EVT_SUB(LVar0, 20) + EVT_ADD(LVar1, 20) + EVT_END_IF + EVT_CALL(N(ShrinkActor), LVar0, LVar1, LVar6, LVar4, LVar5, LVar6, 20) + EVT_ELSE + EVT_IF_EQ(LocalFlag(0), 1) + EVT_CALL(GetActorPos, LVarA, LVar0, LVar1, LVar2) + EVT_SUB(LVar0, 20) + EVT_ADD(LVar1, 20) + EVT_CALL(N(ShrinkActor), LVar0, LVar1, LVar6, LVar4, LVar5, LVar6, 20) + EVT_END_IF + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar3) + EVT_IF_FLAG(LVar3, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 8) + EVT_ADD(LVar1, 8) + EVT_ELSE + EVT_SUB(LVar0, 20) + EVT_ADD(LVar1, 20) + EVT_END_IF + EVT_CALL(N(ShrinkActor), LVar0, LVar1, LVar6, LVar4, LVar5, LVar6, 20) + EVT_END_IF + EVT_WAIT(18) + EVT_IF_EQ(LocalFlag(0), 1) + EVT_WAIT(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_NO_CONTACT, 0, 0, 6, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_ELSE + EVT_WAIT(2) + EVT_CALL(EnemyDamageTarget, ACTOR_SELF, LVar0, DAMAGE_TYPE_MAGIC | DAMAGE_TYPE_NO_CONTACT, 0, 0, 6, BS_FLAGS1_SP_EVT_ACTIVE) + EVT_END_IF + EVT_SWITCH(LVar0) + EVT_CASE_OR_EQ(0) + EVT_CASE_OR_EQ(2) + EVT_WAIT(20) + EVT_CALL(YieldTurn) + EVT_END_CASE_GROUP + EVT_END_SWITCH + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_IF_EQ(LocalFlag(0), 1) + EVT_CALL(UseIdleAnimation, LVarA, TRUE) + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(findPlaceForClone) = { + EVT_CALL(EnemyCreateTargetList, 32770) + EVT_CALL(InitTargetIterator) + EVT_LABEL(0) + EVT_CALL(GetOwnerTarget, LVar0, LVar1) + EVT_CALL(GetIndexFromHome, LVar0, LVar1) + EVT_MOD(LVar1, 4) + EVT_SWITCH(LVar1) + EVT_CASE_EQ(0) + EVT_SET(LocalFlag(11), 1) + EVT_CASE_EQ(1) + EVT_SET(LocalFlag(12), 1) + EVT_CASE_EQ(2) + EVT_SET(LocalFlag(13), 1) + EVT_CASE_EQ(3) + EVT_SET(LocalFlag(14), 1) + EVT_END_SWITCH + EVT_CALL(ChooseNextTarget, 0, LVar0) + EVT_IF_NE(LVar0, -1) + EVT_GOTO(0) + EVT_END_IF + EVT_SET(LVar0, -1) + EVT_CALL(GetIndexFromHome, ACTOR_SELF, LVar1) + EVT_MOD(LVar1, 4) + EVT_SWITCH(LVar1) + EVT_CASE_EQ(0) + EVT_IF_EQ(LocalFlag(12), 0) + EVT_SET(LVar0, 1) + EVT_END_IF + EVT_CASE_EQ(1) + EVT_IF_EQ(LocalFlag(11), 0) + EVT_SET(LVar0, 0) + EVT_END_IF + EVT_IF_EQ(LocalFlag(13), 0) + EVT_SET(LVar0, 2) + EVT_END_IF + EVT_CASE_EQ(2) + EVT_IF_EQ(LocalFlag(12), 0) + EVT_SET(LVar0, 1) + EVT_END_IF + EVT_IF_EQ(LocalFlag(14), 0) + EVT_SET(LVar0, 3) + EVT_END_IF + EVT_CASE_EQ(3) + EVT_IF_EQ(LocalFlag(13), 0) + EVT_SET(LVar0, 2) + EVT_END_IF + EVT_END_SWITCH + EVT_IF_NE(LVar0, -1) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar1) + EVT_IF_FLAG(LVar1, ACTOR_FLAG_FLYING) + EVT_ADD(LVar0, 4) + EVT_END_IF + EVT_END_IF + EVT_RETURN + EVT_END +}; + +EvtScript N(handleEvent_clone) = { + EVT_RETURN + EVT_END +}; + +EvtScript N(init_clone) = { + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_PTR(N(handleEvent_clone))) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_HAS_CLONE), 1) + EVT_RETURN + EVT_END +}; + +EvtScript N(init_clone_flying) = { + EVT_CALL(BindHandleEvent, ACTOR_SELF, EVT_PTR(N(handleEvent_clone))) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_HAS_CLONE), 1) + EVT_RETURN + EVT_END +}; + +s32 N(defenseTable_clone)[] = { + ELEMENT_NORMAL, 0, + ELEMENT_END, +}; + +s32 N(defenseTable_clone_flying)[] = { + ELEMENT_NORMAL, 0, + ELEMENT_END, +}; + +s32 N(statusTable_clone)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 0, + STATUS_POISON, 0, + STATUS_FROZEN, 0, + STATUS_DIZZY, 0, + STATUS_FEAR, 0, + STATUS_STATIC, 0, + STATUS_PARALYZE, 0, + STATUS_SHRINK, 0, + STATUS_STOP, 0, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, 0, + STATUS_POISON_TURN_MOD, 0, + STATUS_FROZEN_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, 0, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, 0, + STATUS_SHRINK_TURN_MOD, 0, + STATUS_STOP_TURN_MOD, 0, + STATUS_END, +}; + +s32 N(statusTable_clone_flying)[] = { + STATUS_NORMAL, 0, + STATUS_DEFAULT, 0, + STATUS_SLEEP, 0, + STATUS_POISON, 0, + STATUS_FROZEN, 0, + STATUS_DIZZY, 0, + STATUS_FEAR, 0, + STATUS_STATIC, 0, + STATUS_PARALYZE, 0, + STATUS_SHRINK, 0, + STATUS_STOP, 0, + STATUS_DEFAULT_TURN_MOD, 0, + STATUS_SLEEP_TURN_MOD, 0, + STATUS_POISON_TURN_MOD, 0, + STATUS_FROZEN_TURN_MOD, 0, + STATUS_DIZZY_TURN_MOD, 0, + STATUS_FEAR_TURN_MOD, 0, + STATUS_STATIC_TURN_MOD, 0, + STATUS_PARALYZE_TURN_MOD, 0, + STATUS_SHRINK_TURN_MOD, 0, + STATUS_STOP_TURN_MOD, 0, + STATUS_END, +}; + +ActorPartBlueprint N(parts_clone)[] = { + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { 2, 35 }, + .opacity = 255, + .idleAnimations = N(idleAnimations), + .defenseTable = N(defenseTable_clone), + .eventFlags = ACTOR_EVENT_FLAG_ILLUSORY, + .elementImmunityFlags = 0, + .unk_1C = -5, + .unk_1D = -12, + }, +}; + +ActorPartBlueprint N(parts_clone_flying)[] = { + { + .flags = ACTOR_PART_FLAG_MULTI_TARGET, + .index = 1, + .posOffset = { 0, 0, 0 }, + .targetOffset = { -10, 35 }, + .opacity = 255, + .idleAnimations = N(idleAnimations_flying), + .defenseTable = N(defenseTable_clone_flying), + .eventFlags = ACTOR_EVENT_FLAG_ILLUSORY, + .elementImmunityFlags = 0, + .unk_1C = 0, + .unk_1D = -8, + }, +}; + +ActorBlueprint N(clone) = { + .flags = ACTOR_FLAG_NO_ATTACK, + .type = ACTOR_TYPE_MAGICLONE, + .level = 26, + .maxHP = 11, + .partCount = ARRAY_COUNT(N(parts_clone)), + .partsData = N(parts_clone), + .script = &N(init_clone), + .statusTable = N(statusTable_clone), + .escapeChance = 40, + .airLiftChance = 0, + .spookChance = 0, + .baseStatusChance = 0, + .upAndAwayChance = 0, + .spinSmashReq = 0, + .powerBounceChance = 75, + .coinReward = 0, + .size = { 36, 40 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -10, 20 }, + .statusMessageOffset = { 10, 32 }, +}; + +ActorBlueprint N(clone_flying) = { + .flags = ACTOR_FLAG_FLYING | ACTOR_FLAG_NO_ATTACK, + .type = ACTOR_TYPE_FLYING_MAGICLONE, + .level = 26, + .maxHP = 11, + .partCount = ARRAY_COUNT(N(parts_clone_flying)), + .partsData = N(parts_clone_flying), + .script = &N(init_clone_flying), + .statusTable = N(statusTable_clone_flying), + .escapeChance = 40, + .airLiftChance = 0, + .spookChance = 0, + .baseStatusChance = 0, + .upAndAwayChance = 0, + .spinSmashReq = 0, + .powerBounceChance = 75, + .coinReward = 2, + .size = { 48, 40 }, + .hpBarOffset = { 0, 0 }, + .statusIconOffset = { -25, 20 }, + .statusMessageOffset = { 1, 34 }, +}; + +Vec3i N(clone_pos) = { 0, -1000, 0 }; + +Formation N(formation_clone) = { + { .actor = &N(clone), .home = { .vec = &N(clone_pos) }, .priority = 0, }, +}; + +Formation N(formation_clone_flying) = { + { .actor = &N(clone_flying), .home = { .vec = &N(clone_pos) }, .priority = 0, }, +}; + +EvtScript N(makeClone) = { + EVT_CALL(CountPlayerTargets, ACTOR_SELF, 32770, LVar0) + EVT_IF_EQ(LVar0, 1) + EVT_EXEC_WAIT(N(flee)) + EVT_RETURN + EVT_END_IF + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION_IS_MAKE_CLONE), 1) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION), N(ACTION_MAKE_CLONE)) + EVT_SET(LocalFlag(0), 0) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar0) + EVT_IF_FLAG(LVar0, ACTOR_FLAG_FLYING) + EVT_SET(LocalFlag(0), 1) + EVT_END_IF + EVT_IF_EQ(LocalFlag(0), 0) + EVT_CALL(SummonEnemy, EVT_PTR(N(formation_clone)), 0) + EVT_ELSE + EVT_CALL(SummonEnemy, EVT_PTR(N(formation_clone_flying)), 0) + EVT_END_IF + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_CLONE_ID), LVar0) + EVT_SET(LVarA, LVar0) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(EnableIdleScript, LVarA, 0) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(UseIdleAnimation, LVarA, FALSE) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 25) + EVT_WAIT(25) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_SPELL_CAST3) + EVT_IF_EQ(LocalFlag(0), 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim02) + EVT_CALL(SetAnimation, LVarA, 1, ANIM_Magikoopa_Anim02) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 23) + EVT_ELSE + EVT_CALL(SetAnimation, ACTOR_SELF, 2, ANIM_FlyingMagikoopa_Anim02) + EVT_CALL(SetAnimation, LVarA, 1, ANIM_FlyingMagikoopa_Anim02) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar1, 23) + EVT_END_IF + EVT_CALL(PlayEffect, EFFECT_ENERGY_IN_OUT, 1, LVar0, LVar1, LVar2, EVT_FLOAT(1.0), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_WAIT(10) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(EnableIdleScript, LVar9, 1) + EVT_WAIT(30) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_ADD(LVar2, -3) + EVT_CALL(SetActorPos, LVarA, LVar0, LVar1, LVar2) + EVT_SET(LVar9, LVarA) + EVT_WAIT(15) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_CALL(MoveBattleCamOver, 30) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_SPELL_CAST4) + EVT_CALL(PlaySoundAtActor, LVar9, SOUND_SPELL_CAST4) + EVT_CALL(SetPartFlagBits, LVar9, 1, ACTOR_PART_FLAG_MULTI_TARGET, 0) + EVT_CALL(RandInt, 1000, LVar0) + EVT_IF_LT(LVar0, 500) + EVT_CALL(SetActorSpeed, ACTOR_SELF, EVT_FLOAT(2.0)) + EVT_EXEC_WAIT(N(findPlaceForClone)) + EVT_CALL(SetGoalToIndex, ACTOR_SELF, LVar0) + EVT_CALL(FlyToGoal, ACTOR_SELF, 0, 0, 0) + EVT_ELSE + EVT_CALL(SetActorSpeed, LVar9, EVT_FLOAT(2.0)) + EVT_EXEC_WAIT(N(findPlaceForClone)) + EVT_CALL(SetGoalToIndex, LVar9, LVar0) + EVT_CALL(FlyToGoal, LVar9, 0, 0, 0) + EVT_END_IF + EVT_CALL(SetPartFlagBits, LVar9, 1, ACTOR_PART_FLAG_MULTI_TARGET, 1) + EVT_CALL(GetActorHP, ACTOR_SELF, LVar0) + EVT_CALL(SetEnemyHP, LVar9, LVar0) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(ForceHomePos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(HPBarToHome, ACTOR_SELF) + EVT_CALL(GetActorPos, LVar9, LVar0, LVar1, LVar2) + EVT_CALL(ForceHomePos, LVar9, LVar0, LVar1, LVar2) + EVT_CALL(HPBarToHome, LVar9) + EVT_IF_EQ(LocalFlag(0), 0) + EVT_CALL(SetPartEventBits, ACTOR_SELF, 1, ACTOR_EVENT_FLAG_400000, 1) + EVT_ELSE + EVT_CALL(SetPartEventBits, ACTOR_SELF, 2, ACTOR_EVENT_FLAG_400000, 1) + EVT_END_IF + EVT_IF_EQ(LocalFlag(0), 0) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim01) + EVT_CALL(SetAnimation, LVar9, 1, ANIM_Magikoopa_Anim01) + EVT_ELSE + EVT_CALL(SetAnimation, ACTOR_SELF, 2, ANIM_FlyingMagikoopa_Anim01) + EVT_CALL(SetAnimation, LVar9, 1, ANIM_FlyingMagikoopa_Anim01) + EVT_END_IF + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_CALL(UseIdleAnimation, LVar9, TRUE) + EVT_RETURN + EVT_END +}; + +#include "world/common/UnkFunc52.inc.c" + +EvtScript N(boostAttack) = { + EVT_SET(LocalFlag(0), 0) + EVT_LABEL(10) + EVT_CALL(EnemyCreateTargetList, 32770) + EVT_CALL(InitTargetIterator) + EVT_LABEL(0) + EVT_CALL(GetOwnerTarget, LVar0, LVar1) + EVT_CALL(GetIndexFromHome, LVar0, LVar1) + EVT_CALL(GetBattleVar, 2, LVar2) + EVT_IF_GT(LVar1, LVar2) + EVT_CALL(N(UnkFunc52), LVar0, LVar3) + EVT_IF_EQ(LVar3, 0) + EVT_CALL(GetActorAttackBoost, LVar0, LVar4) + EVT_IF_LT(LVar4, 3) + EVT_SET(LVar8, LVar0) + EVT_CALL(SetBattleVar, 2, LVar1) + EVT_GOTO(100) + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_CALL(ChooseNextTarget, 0, LVar0) + EVT_IF_NE(LVar0, -1) + EVT_GOTO(0) + EVT_END_IF + EVT_IF_EQ(LocalFlag(0), 0) + EVT_SET(LocalFlag(0), 1) + EVT_CALL(SetBattleVar, 2, -1) + EVT_GOTO(10) + EVT_END_IF + EVT_CALL(CountPlayerTargets, ACTOR_SELF, 32770, LVar0) + EVT_IF_EQ(LVar0, 1) + EVT_EXEC_WAIT(N(flee)) + EVT_RETURN + EVT_END_IF + EVT_EXEC_WAIT(N(attackMagicBlast)) + EVT_RETURN + EVT_LABEL(100) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION_IS_MAKE_CLONE), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION), N(ACTION_BOOST_ATTACK)) + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_BOOST_ATTACK_COUNTER), 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 15) + EVT_WAIT(15) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_FLAG_FLYING) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim02) + EVT_ELSE + EVT_CALL(SetAnimation, ACTOR_SELF, 2, ANIM_FlyingMagikoopa_Anim02) + EVT_END_IF + EVT_WAIT(5) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_SPELL_CAST1) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_FLAG_FLYING) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarA) + EVT_IF_FLAG(LVarA, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 6) + EVT_ADD(LVar1, 12) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 5, LVar0, LVar1, LVar2, EVT_FLOAT(0.12), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_SUB(LVar0, 16) + EVT_ADD(LVar1, 31) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 5, LVar0, LVar1, LVar2, EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_ELSE + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarA) + EVT_IF_FLAG(LVarA, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 12) + EVT_ADD(LVar1, 14) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 5, LVar0, LVar1, LVar2, EVT_FLOAT(0.12), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_SUB(LVar0, 30) + EVT_ADD(LVar1, 36) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 5, LVar0, LVar1, LVar2, EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_END_IF + EVT_WAIT(30) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_FLAG_FLYING) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim01) + EVT_ELSE + EVT_CALL(SetAnimation, ACTOR_SELF, 2, ANIM_FlyingMagikoopa_Anim01) + EVT_END_IF + EVT_WAIT(5) + EVT_THREAD + EVT_WAIT(10) + EVT_CALL(PlaySoundAtActor, LVar8, SOUND_2DD) + EVT_END_THREAD + EVT_THREAD + EVT_CALL(func_8026BF48, 1) + EVT_CALL(BoostAttack, LVar8, 1) + EVT_CALL(func_8026BF48, 0) + EVT_END_THREAD + EVT_CALL(WaitForBuffDone) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_WAIT(10) + EVT_CALL(YieldTurn) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(boostDefense) = { + EVT_SET(LocalFlag(0), 0) + EVT_LABEL(10) + EVT_CALL(EnemyCreateTargetList, 32770) + EVT_CALL(InitTargetIterator) + EVT_LABEL(0) + EVT_CALL(GetOwnerTarget, LVar0, LVar1) + EVT_CALL(GetIndexFromHome, LVar0, LVar1) + EVT_CALL(GetBattleVar, 2, LVar2) + EVT_IF_GT(LVar1, LVar2) + EVT_CALL(N(UnkFunc52), LVar0, LVar3) + EVT_IF_EQ(LVar3, 0) + EVT_CALL(GetActorDefenseBoost, LVar0, LVar4) + EVT_IF_LT(LVar4, 3) + EVT_SET(LVar8, LVar0) + EVT_CALL(SetBattleVar, 2, LVar1) + EVT_GOTO(100) + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_CALL(ChooseNextTarget, 0, LVar0) + EVT_IF_NE(LVar0, -1) + EVT_GOTO(0) + EVT_END_IF + EVT_IF_EQ(LocalFlag(0), 0) + EVT_SET(LocalFlag(0), 1) + EVT_CALL(SetBattleVar, 2, -1) + EVT_GOTO(10) + EVT_END_IF + EVT_CALL(CountPlayerTargets, ACTOR_SELF, 32770, LVar0) + EVT_IF_EQ(LVar0, 1) + EVT_EXEC_WAIT(N(flee)) + EVT_RETURN + EVT_END_IF + EVT_EXEC_WAIT(N(attackMagicBlast)) + EVT_RETURN + EVT_LABEL(100) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION_IS_MAKE_CLONE), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION), N(ACTION_BOOST_DEFENSE)) + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_BOOST_DEFENSE_COUNTER), 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 15) + EVT_WAIT(15) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_FLAG_FLYING) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim02) + EVT_ELSE + EVT_CALL(SetAnimation, ACTOR_SELF, 2, ANIM_FlyingMagikoopa_Anim02) + EVT_END_IF + EVT_WAIT(5) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_SPELL_CAST1) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_FLAG_FLYING) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarA) + EVT_IF_FLAG(LVarA, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 6) + EVT_ADD(LVar1, 12) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 5, LVar0, LVar1, LVar2, EVT_FLOAT(0.12), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_SUB(LVar0, 16) + EVT_ADD(LVar1, 31) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 5, LVar0, LVar1, LVar2, EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_ELSE + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarA) + EVT_IF_FLAG(LVarA, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 12) + EVT_ADD(LVar1, 14) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 5, LVar0, LVar1, LVar2, EVT_FLOAT(0.12), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_SUB(LVar0, 30) + EVT_ADD(LVar1, 36) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 5, LVar0, LVar1, LVar2, EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_END_IF + EVT_WAIT(30) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_FLAG_FLYING) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim01) + EVT_ELSE + EVT_CALL(SetAnimation, ACTOR_SELF, 2, ANIM_FlyingMagikoopa_Anim01) + EVT_END_IF + EVT_WAIT(5) + EVT_THREAD + EVT_WAIT(10) + EVT_CALL(PlaySoundAtActor, LVar8, SOUND_2DD) + EVT_END_THREAD + EVT_THREAD + EVT_CALL(func_8026BF48, 1) + EVT_CALL(BoostDefense, LVar8, 1) + EVT_CALL(func_8026BF48, 0) + EVT_END_THREAD + EVT_CALL(WaitForBuffDone) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_WAIT(10) + EVT_CALL(YieldTurn) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(electrify) = { + EVT_SET(LocalFlag(0), 0) + EVT_LABEL(10) + EVT_CALL(EnemyCreateTargetList, 32770) + EVT_CALL(InitTargetIterator) + EVT_LABEL(0) + EVT_CALL(GetOwnerTarget, LVar0, LVar1) + EVT_CALL(GetIndexFromHome, LVar0, LVar1) + EVT_CALL(GetBattleVar, 2, LVar2) + EVT_IF_GT(LVar1, LVar2) + EVT_CALL(N(UnkFunc52), LVar0, LVar3) + EVT_IF_EQ(LVar3, 0) + EVT_CALL(GetStatusFlags, LVar0, LVar4) + EVT_IF_NOT_FLAG(LVar4, STATUS_FLAG_STATIC | STATUS_FLAG_TRANSPARENT) + EVT_SET(LVar8, LVar0) + EVT_CALL(SetBattleVar, 2, LVar1) + EVT_GOTO(100) + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_CALL(ChooseNextTarget, 0, LVar0) + EVT_IF_NE(LVar0, -1) + EVT_GOTO(0) + EVT_END_IF + EVT_IF_EQ(LocalFlag(0), 0) + EVT_SET(LocalFlag(0), 1) + EVT_CALL(SetBattleVar, 2, -1) + EVT_GOTO(10) + EVT_END_IF + EVT_CALL(CountPlayerTargets, ACTOR_SELF, 32770, LVar0) + EVT_IF_EQ(LVar0, 1) + EVT_EXEC_WAIT(N(flee)) + EVT_RETURN + EVT_END_IF + EVT_EXEC_WAIT(N(attackMagicBlast)) + EVT_RETURN + EVT_LABEL(100) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION_IS_MAKE_CLONE), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION), N(ACTION_ELECTRIFY)) + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_ELECTRIFY_COUNTER), 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 15) + EVT_WAIT(15) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_FLAG_FLYING) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim02) + EVT_ELSE + EVT_CALL(SetAnimation, ACTOR_SELF, 2, ANIM_FlyingMagikoopa_Anim02) + EVT_END_IF + EVT_WAIT(5) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_2F0) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_FLAG_FLYING) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarA) + EVT_IF_FLAG(LVarA, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 6) + EVT_ADD(LVar1, 12) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_SNAKING_STATIC, 0, LVar0, LVar1, LVar2, EVT_FLOAT(0.12), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_SUB(LVar0, 16) + EVT_ADD(LVar1, 31) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_SNAKING_STATIC, 0, LVar0, LVar1, LVar2, EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_ELSE + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarA) + EVT_IF_FLAG(LVarA, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 12) + EVT_ADD(LVar1, 14) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_SNAKING_STATIC, 0, LVar0, LVar1, LVar2, EVT_FLOAT(0.12), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_SUB(LVar0, 30) + EVT_ADD(LVar1, 36) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_SNAKING_STATIC, 0, LVar0, LVar1, LVar2, EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_END_IF + EVT_WAIT(30) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_FLAG_FLYING) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim01) + EVT_ELSE + EVT_CALL(SetAnimation, ACTOR_SELF, 2, ANIM_FlyingMagikoopa_Anim01) + EVT_END_IF + EVT_WAIT(5) + EVT_THREAD + EVT_WAIT(10) + EVT_LOOP(4) + EVT_CALL(PlaySoundAtActor, LVar8, SOUND_3D2) + EVT_CALL(RandInt, 3, LVar0) + EVT_ADD(LVar0, 3) + EVT_WAIT(LVar0) + EVT_END_LOOP + EVT_END_THREAD + EVT_THREAD + EVT_CALL(func_8026BF48, 1) + EVT_CALL(ElectrifyActor, LVar8, 3) + EVT_CALL(func_8026BF48, 0) + EVT_END_THREAD + EVT_CALL(WaitForBuffDone) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_WAIT(10) + EVT_CALL(YieldTurn) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(makeTransparent) = { + EVT_SET(LocalFlag(0), 0) + EVT_LABEL(10) + EVT_CALL(EnemyCreateTargetList, 32770) + EVT_CALL(InitTargetIterator) + EVT_LABEL(0) + EVT_CALL(GetOwnerTarget, LVar0, LVar1) + EVT_CALL(GetIndexFromHome, LVar0, LVar1) + EVT_CALL(GetBattleVar, 2, LVar2) + EVT_IF_GT(LVar1, LVar2) + EVT_CALL(N(UnkFunc52), LVar0, LVar3) + EVT_IF_EQ(LVar3, 0) + EVT_CALL(GetStatusFlags, LVar0, LVar4) + EVT_IF_NOT_FLAG(LVar4, STATUS_FLAG_STATIC | STATUS_FLAG_TRANSPARENT) + EVT_SET(LVar8, LVar0) + EVT_CALL(SetBattleVar, 2, LVar1) + EVT_GOTO(100) + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_CALL(ChooseNextTarget, 0, LVar0) + EVT_IF_NE(LVar0, -1) + EVT_GOTO(0) + EVT_END_IF + EVT_IF_EQ(LocalFlag(0), 0) + EVT_SET(LocalFlag(0), 1) + EVT_CALL(SetBattleVar, 2, -1) + EVT_GOTO(10) + EVT_END_IF + EVT_CALL(CountPlayerTargets, ACTOR_SELF, 32770, LVar0) + EVT_IF_EQ(LVar0, 1) + EVT_EXEC_WAIT(N(flee)) + EVT_RETURN + EVT_END_IF + EVT_EXEC_WAIT(N(attackMagicBlast)) + EVT_RETURN + EVT_LABEL(100) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION_IS_MAKE_CLONE), 0) + EVT_CALL(SetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION), N(ACTION_MAKE_TRANSPARENT)) + EVT_CALL(AddActorVar, ACTOR_SELF, N(VAR_MAKE_TRANSPARENT_COUNTER), 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, FALSE) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 0) + EVT_CALL(SetTargetActor, ACTOR_SELF, ACTOR_PLAYER) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_14) + EVT_CALL(BattleCamTargetActor, ACTOR_SELF) + EVT_CALL(MoveBattleCamOver, 15) + EVT_WAIT(15) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_FLAG_FLYING) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim02) + EVT_ELSE + EVT_CALL(SetAnimation, ACTOR_SELF, 2, ANIM_FlyingMagikoopa_Anim02) + EVT_END_IF + EVT_WAIT(5) + EVT_CALL(PlaySoundAtActor, ACTOR_SELF, SOUND_SPELL_CAST1) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_FLAG_FLYING) + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarA) + EVT_IF_FLAG(LVarA, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 6) + EVT_ADD(LVar1, 12) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 6, LVar0, LVar1, LVar2, EVT_FLOAT(0.12), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_SUB(LVar0, 16) + EVT_ADD(LVar1, 31) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 6, LVar0, LVar1, LVar2, EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_ELSE + EVT_CALL(GetActorPos, ACTOR_SELF, LVar0, LVar1, LVar2) + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVarA) + EVT_IF_FLAG(LVarA, STATUS_FLAG_SHRINK) + EVT_SUB(LVar0, 12) + EVT_ADD(LVar1, 14) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 6, LVar0, LVar1, LVar2, EVT_FLOAT(0.12), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_ELSE + EVT_SUB(LVar0, 30) + EVT_ADD(LVar1, 36) + EVT_SUB(LVar2, 2) + EVT_CALL(PlayEffect, EFFECT_RADIAL_SHIMMER, 6, LVar0, LVar1, LVar2, EVT_FLOAT(0.3), 30, 0, 0, 0, 0, 0, 0, 0) + EVT_END_IF + EVT_END_IF + EVT_WAIT(30) + EVT_CALL(GetActorFlags, ACTOR_SELF, LVar0) + EVT_IF_NOT_FLAG(LVar0, ACTOR_FLAG_FLYING) + EVT_CALL(SetAnimation, ACTOR_SELF, 1, ANIM_Magikoopa_Anim01) + EVT_ELSE + EVT_CALL(SetAnimation, ACTOR_SELF, 2, ANIM_FlyingMagikoopa_Anim01) + EVT_END_IF + EVT_WAIT(5) + EVT_THREAD + EVT_WAIT(10) + EVT_CALL(PlaySoundAtActor, LVar8, SOUND_2DB) + EVT_END_THREAD + EVT_THREAD + EVT_CALL(func_8026BF48, 1) + EVT_CALL(VanishActor, LVar8, 2) + EVT_CALL(func_8026BF48, 0) + EVT_END_THREAD + EVT_CALL(WaitForBuffDone) + EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) + EVT_WAIT(10) + EVT_CALL(YieldTurn) + EVT_CALL(EnableIdleScript, ACTOR_SELF, 1) + EVT_CALL(UseIdleAnimation, ACTOR_SELF, TRUE) + EVT_RETURN + EVT_END +}; + +EvtScript N(takeTurn) = { + EVT_CALL(GetBattlePhase, LVar0) + EVT_IF_EQ(LVar0, PHASE_FIRST_STRIKE) + EVT_EXEC_WAIT(N(attackMagicBlast)) + EVT_RETURN + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION_IS_MAKE_CLONE), LVar0) + EVT_IF_EQ(LVar0, 1) + EVT_GOTO(20) + EVT_END_IF + EVT_SET(LVarA, 0) + EVT_CALL(EnemyCreateTargetList, 32770) + EVT_CALL(InitTargetIterator) + EVT_LABEL(0) + EVT_SET(LocalFlag(0), 0) + EVT_CALL(GetOwnerTarget, LVar0, LVar1) + EVT_CALL(GetOriginalActorType, LVar0, LVar1) + EVT_IF_EQ(LVar1, ACTOR_TYPE_DRY_BONES) + EVT_CALL(GetActorVar, LVar0, 8, LVar1) + EVT_IF_EQ(LVar1, 1) + EVT_SET(LocalFlag(0), 1) + EVT_END_IF + EVT_END_IF + EVT_CALL(GetActorHP, LVar0, LVar2) + EVT_CALL(GetEnemyMaxHP, LVar0, LVar3) + EVT_MULF(LVar2, EVT_FLOAT(100.0)) + EVT_DIVF(LVar2, LVar3) + EVT_IF_EQ(LocalFlag(0), 0) + EVT_IF_LE(LVar2, 25) + EVT_CALL(RandInt, 99, LVar4) + EVT_ADD(LVar4, 1) + EVT_IF_LT(LVar4, 75) + EVT_ADD(LVarA, 1) + EVT_SET(LVarB, LVar0) + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_CALL(ChooseNextTarget, 0, LVar0) + EVT_IF_NE(LVar0, -1) + EVT_GOTO(0) + EVT_END_IF + EVT_IF_GT(LVarA, 0) + EVT_GOTO(10) + EVT_END_IF + EVT_SET(LVarA, 0) + EVT_CALL(EnemyCreateTargetList, 32770) + EVT_CALL(InitTargetIterator) + EVT_LABEL(1) + EVT_SET(LocalFlag(0), 0) + EVT_CALL(GetOwnerTarget, LVar0, LVar1) + EVT_CALL(GetOriginalActorType, LVar0, LVar1) + EVT_IF_EQ(LVar1, ACTOR_TYPE_DRY_BONES) + EVT_CALL(GetActorVar, LVar0, 8, LVar1) + EVT_IF_EQ(LVar1, 1) + EVT_SET(LocalFlag(0), 1) + EVT_END_IF + EVT_END_IF + EVT_CALL(GetActorHP, LVar0, LVar2) + EVT_CALL(GetEnemyMaxHP, LVar0, LVar3) + EVT_MULF(LVar2, EVT_FLOAT(100.0)) + EVT_DIVF(LVar2, LVar3) + EVT_IF_EQ(LocalFlag(0), 0) + EVT_IF_LE(LVar2, 20) + EVT_CALL(RandInt, 99, LVar4) + EVT_ADD(LVar4, 1) + EVT_IF_LT(LVar4, 80) + EVT_ADD(LVarA, 1) + EVT_SET(LVarB, LVar0) + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_CALL(ChooseNextTarget, 0, LVar0) + EVT_IF_NE(LVar0, -1) + EVT_GOTO(1) + EVT_END_IF + EVT_IF_GT(LVarA, 0) + EVT_GOTO(10) + EVT_END_IF + EVT_SET(LVarA, 0) + EVT_CALL(EnemyCreateTargetList, 32770) + EVT_CALL(InitTargetIterator) + EVT_LABEL(2) + EVT_SET(LocalFlag(0), 0) + EVT_CALL(GetOwnerTarget, LVar0, LVar1) + EVT_CALL(GetOriginalActorType, LVar0, LVar1) + EVT_IF_EQ(LVar1, ACTOR_TYPE_DRY_BONES) + EVT_CALL(GetActorVar, LVar0, 8, LVar1) + EVT_IF_EQ(LVar1, 1) + EVT_SET(LocalFlag(0), 1) + EVT_END_IF + EVT_END_IF + EVT_CALL(GetActorHP, LVar0, LVar2) + EVT_CALL(GetEnemyMaxHP, LVar0, LVar3) + EVT_MULF(LVar2, EVT_FLOAT(100.0)) + EVT_DIVF(LVar2, LVar3) + EVT_IF_EQ(LocalFlag(0), 0) + EVT_IF_LE(LVar2, 15) + EVT_CALL(RandInt, 99, LVar4) + EVT_ADD(LVar4, 1) + EVT_IF_LT(LVar4, 100) + EVT_ADD(LVarA, 1) + EVT_SET(LVarB, LVar0) + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_CALL(ChooseNextTarget, 0, LVar0) + EVT_IF_NE(LVar0, -1) + EVT_GOTO(2) + EVT_END_IF + EVT_IF_GT(LVarA, 0) + EVT_GOTO(10) + EVT_END_IF + EVT_GOTO(20) + EVT_LABEL(10) + EVT_CALL(CountPlayerTargets, ACTOR_SELF, 32770, LVar0) + EVT_IF_EQ(LVar0, 1) + EVT_EXEC_WAIT(N(flee)) + EVT_RETURN + EVT_END_IF + EVT_IF_EQ(LVarA, 1) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_HEAL_ONE_COUNTER), LVar0) + EVT_IF_LT(LVar0, 2) + EVT_CALL(RandInt, 1000, LVar0) + EVT_IF_LT(LVar0, 500) + EVT_EXEC_WAIT(N(healOne)) + EVT_RETURN + EVT_END_IF + EVT_ELSE + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_HEAL_ALL_COUNTER), LVar0) + EVT_IF_LT(LVar0, 2) + EVT_CALL(RandInt, 1000, LVar0) + EVT_IF_LT(LVar0, 500) + EVT_EXEC_WAIT(N(healAll)) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_ELSE + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_HEAL_ALL_COUNTER), LVar0) + EVT_IF_LT(LVar0, 2) + EVT_CALL(RandInt, 1000, LVar0) + EVT_IF_LT(LVar0, 500) + EVT_EXEC_WAIT(N(healAll)) + EVT_RETURN + EVT_END_IF + EVT_ELSE + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_HEAL_ONE_COUNTER), LVar0) + EVT_IF_LT(LVar0, 2) + EVT_SETF(LVar9, EVT_FLOAT(100.0)) + EVT_CALL(EnemyCreateTargetList, 32770) + EVT_CALL(InitTargetIterator) + EVT_LABEL(11) + EVT_SET(LocalFlag(0), 0) + EVT_CALL(GetOwnerTarget, LVar0, LVar1) + EVT_CALL(GetOriginalActorType, LVar0, LVar1) + EVT_IF_EQ(LVar1, ACTOR_TYPE_DRY_BONES) + EVT_CALL(GetActorVar, LVar0, 8, LVar1) + EVT_IF_EQ(LVar1, 1) + EVT_SET(LocalFlag(0), 1) + EVT_END_IF + EVT_END_IF + EVT_CALL(GetActorHP, LVar0, LVar2) + EVT_CALL(GetEnemyMaxHP, LVar0, LVar3) + EVT_MULF(LVar2, EVT_FLOAT(100.0)) + EVT_DIVF(LVar2, LVar3) + EVT_IF_EQ(LocalFlag(0), 0) + EVT_IF_LE(LVar2, LVar9) + EVT_SETF(LVar9, LVar2) + EVT_SET(LVarB, LVar0) + EVT_END_IF + EVT_END_IF + EVT_CALL(ChooseNextTarget, 0, LVar0) + EVT_IF_NE(LVar0, -1) + EVT_GOTO(11) + EVT_END_IF + EVT_CALL(RandInt, 1000, LVar0) + EVT_IF_LT(LVar0, 500) + EVT_EXEC_WAIT(N(healOne)) + EVT_RETURN + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_END_IF + EVT_LABEL(20) + EVT_SET(LVarA, 10) + EVT_SET(LVarB, 10) + EVT_SET(LVarC, 10) + EVT_SET(LVarD, 10) + EVT_SET(LVarE, 10) + EVT_SET(LVarF, 10) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION_IS_MAKE_CLONE), LVar0) + EVT_IF_EQ(LVar0, 1) + EVT_SET(LVarA, 100) + EVT_SET(LVarB, 0) + EVT_SET(LVarC, 0) + EVT_SET(LVarD, 0) + EVT_SET(LVarE, 0) + EVT_SET(LVarF, 0) + EVT_GOTO(123) + EVT_ELSE + EVT_EXEC_WAIT(N(findPlaceForClone)) + EVT_IF_EQ(LVar0, -1) + EVT_SET(LVarB, 0) + EVT_END_IF + EVT_END_IF + EVT_CALL(GetStatusFlags, ACTOR_SELF, LVar0) + EVT_IF_NE(LVar0, 0) + EVT_SET(LVarB, 0) + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_LAST_ACTION), LVar0) + EVT_SWITCH(LVar0) + EVT_CASE_EQ(N(ACTION_BOOST_ATTACK)) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_BOOST_ATTACK_COUNTER), LVar1) + EVT_IF_LT(LVar1, 3) + EVT_CALL(RandInt, 99, LVar0) + EVT_ADD(LVar0, 1) + EVT_IF_LE(LVar0, 50) + EVT_SET(LVarA, 0) + EVT_SET(LVarB, 0) + EVT_SET(LVarC, 100) + EVT_SET(LVarD, 0) + EVT_SET(LVarE, 0) + EVT_SET(LVarF, 0) + EVT_END_IF + EVT_END_IF + EVT_CASE_EQ(N(ACTION_BOOST_DEFENSE)) + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_BOOST_DEFENSE_COUNTER), LVar1) + EVT_IF_LT(LVar1, 3) + EVT_CALL(RandInt, 99, LVar0) + EVT_ADD(LVar0, 1) + EVT_IF_LE(LVar0, 50) + EVT_SET(LVarA, 0) + EVT_SET(LVarB, 0) + EVT_SET(LVarC, 0) + EVT_SET(LVarD, 100) + EVT_SET(LVarE, 0) + EVT_SET(LVarF, 0) + EVT_END_IF + EVT_END_IF + EVT_END_SWITCH + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_BOOST_ATTACK_COUNTER), LVar0) + EVT_IF_GE(LVar0, 3) + EVT_SET(LVarC, 0) + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_BOOST_DEFENSE_COUNTER), LVar0) + EVT_IF_GE(LVar0, 3) + EVT_SET(LVarD, 0) + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_ELECTRIFY_COUNTER), LVar0) + EVT_IF_GE(LVar0, 3) + EVT_SET(LVarE, 0) + EVT_END_IF + EVT_CALL(GetActorVar, ACTOR_SELF, N(VAR_MAKE_TRANSPARENT_COUNTER), LVar0) + EVT_IF_GE(LVar0, 3) + EVT_SET(LVarF, 0) + EVT_END_IF + EVT_LABEL(123) + EVT_SET(LVar9, 0) + EVT_ADD(LVar9, LVarA) + EVT_ADD(LVar9, LVarB) + EVT_ADD(LVar9, LVarC) + EVT_ADD(LVar9, LVarD) + EVT_ADD(LVar9, LVarE) + EVT_ADD(LVar9, LVarF) + EVT_SUB(LVar9, 1) + EVT_CALL(RandInt, LVar9, LVar0) + EVT_ADD(LVar0, 1) + EVT_IF_LE(LVar0, LVarA) + EVT_EXEC_WAIT(N(attackMagicBlast)) + EVT_RETURN + EVT_END_IF + EVT_ADD(LVarA, LVarB) + EVT_IF_LE(LVar0, LVarA) + EVT_EXEC_WAIT(N(makeClone)) + EVT_RETURN + EVT_END_IF + EVT_ADD(LVarA, LVarC) + EVT_IF_LE(LVar0, LVarA) + EVT_EXEC_WAIT(N(boostAttack)) + EVT_RETURN + EVT_END_IF + EVT_ADD(LVarA, LVarD) + EVT_IF_LE(LVar0, LVarA) + EVT_EXEC_WAIT(N(boostDefense)) + EVT_RETURN + EVT_END_IF + EVT_ADD(LVarA, LVarE) + EVT_IF_LE(LVar0, LVarA) + EVT_EXEC_WAIT(N(electrify)) + EVT_RETURN + EVT_END_IF + EVT_EXEC_WAIT(N(makeTransparent)) + EVT_RETURN + EVT_END +}; diff --git a/src/battle/item/coconut.c b/src/battle/item/coconut.c index 62c3806b0f..d465816ea0 100644 --- a/src/battle/item/coconut.c +++ b/src/battle/item/coconut.c @@ -82,7 +82,7 @@ EvtScript N(main) = { EVT_CALL(VirtualEntityJumpTo, LVarA, LVar0, LVar1, LVar2, 18) EVT_CALL(GetItemPower, ITEM_COCONUT, LVar3, LVar4) EVT_CALL(ApplyShrinkFromOwner, LVar3) - EVT_CALL(ItemDamageEnemy, LVar9, 0x18000000, 0, LVar3, 32) + EVT_CALL(ItemDamageEnemy, LVar9, 0x18000000, 0, LVar3, BS_FLAGS1_SP_EVT_ACTIVE) EVT_ADD(LVar0, 60) EVT_ADD(LVar1, 0) EVT_CALL(VirtualEntityJumpTo, LVarA, LVar0, LVar1, LVar2, 16) diff --git a/src/battle/item/dizzy_dial.c b/src/battle/item/dizzy_dial.c index 83e30a47a7..4b952e7ce3 100644 --- a/src/battle/item/dizzy_dial.c +++ b/src/battle/item/dizzy_dial.c @@ -84,7 +84,7 @@ EvtScript N(main) = { EVT_END_IF EVT_CALL(GetItemPower, ITEM_DIZZY_DIAL, LVar0, LVar1) EVT_CALL(MakeStatusField, LVar0, 262144, 100, LVar0) - EVT_CALL(func_80252B3C, LVar0, 1342177280, LVar0, 0, 32) + EVT_CALL(func_80252B3C, LVar0, 1342177280, LVar0, 0, BS_FLAGS1_SP_EVT_ACTIVE) EVT_LABEL(1) EVT_WAIT(5) EVT_CALL(ChooseNextTarget, 0, LVar0) diff --git a/src/battle/item/dusty_hammer.c b/src/battle/item/dusty_hammer.c index 24aeb7652c..1e46d5c374 100644 --- a/src/battle/item/dusty_hammer.c +++ b/src/battle/item/dusty_hammer.c @@ -81,7 +81,7 @@ EvtScript N(main) = { EVT_CALL(VirtualEntityJumpTo, LVarA, LVar0, LVar1, LVar2, 18) EVT_CALL(GetItemPower, ITEM_DUSTY_HAMMER, LVar3, LVar4) EVT_CALL(ApplyShrinkFromOwner, LVar3) - EVT_CALL(ItemDamageEnemy, LVar9, 402653184, 0, LVar3, 32) + EVT_CALL(ItemDamageEnemy, LVar9, 402653184, 0, LVar3, BS_FLAGS1_SP_EVT_ACTIVE) EVT_ADD(LVar0, 40) EVT_ADD(LVar1, 10) EVT_CALL(VirtualEntityJumpTo, LVarA, LVar0, LVar1, LVar2, 10) diff --git a/src/battle/item/egg_missile.c b/src/battle/item/egg_missile.c index 98c38c97f2..118d2bfe79 100644 --- a/src/battle/item/egg_missile.c +++ b/src/battle/item/egg_missile.c @@ -178,7 +178,7 @@ EvtScript N(main) = { EVT_CALL(ShakeCam, 1, 0, 2, EVT_FLOAT(0.4501953125)) EVT_END_THREAD EVT_CALL(GetItemPower, 200, LVar0, LVar1) - EVT_CALL(ItemDamageEnemy, LVar0, 402653698, 0, LVar0, 32) + EVT_CALL(ItemDamageEnemy, LVar0, 402653698, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) EVT_EXEC_WAIT(battle_item_egg_missile_PlayerGoHome) EVT_RETURN EVT_END diff --git a/src/battle/item/fire_flower.c b/src/battle/item/fire_flower.c index cbdda1f706..5d8f9b546e 100644 --- a/src/battle/item/fire_flower.c +++ b/src/battle/item/fire_flower.c @@ -84,7 +84,7 @@ EvtScript N(main) = { EVT_END_IF EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) EVT_CALL(GetItemPower, ITEM_FIRE_FLOWER, LVar0, LVar1) - EVT_CALL(ItemDamageEnemy, LVar0, 939524098, 0, LVar0, 32) + EVT_CALL(ItemDamageEnemy, LVar0, 939524098, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) EVT_LABEL(1) EVT_WAIT(5) EVT_CALL(ChooseNextTarget, 0, LVar0) diff --git a/src/battle/item/fright_jar.c b/src/battle/item/fright_jar.c index 9f251ead73..46d4d979bd 100644 --- a/src/battle/item/fright_jar.c +++ b/src/battle/item/fright_jar.c @@ -63,7 +63,7 @@ EvtScript N(main) = { EVT_GOTO(1) EVT_END_IF EVT_CALL(func_80269EAC, 21) - EVT_CALL(ItemAfflictEnemy, LVar0, 1879052288, 0, 100, 0, 32) + EVT_CALL(ItemAfflictEnemy, LVar0, 1879052288, 0, 100, 0, BS_FLAGS1_SP_EVT_ACTIVE) EVT_LABEL(1) EVT_CALL(ChooseNextTarget, 0, LVar0) EVT_IF_NE(LVar0, -1) diff --git a/src/battle/item/insecticide_herb.c b/src/battle/item/insecticide_herb.c index 6198d7bc37..1617f59a63 100644 --- a/src/battle/item/insecticide_herb.c +++ b/src/battle/item/insecticide_herb.c @@ -140,7 +140,7 @@ EvtScript N(main) = { EVT_CALL(N(func_802A123C_72A98C)) EVT_CALL(DeleteVirtualEntity, LVarA) EVT_IF_EQ(LVar9, 0) - EVT_CALL(ItemDamageEnemy, LVar0, 0, 0, 0, 32) + EVT_CALL(ItemDamageEnemy, LVar0, 0, 0, 0, BS_FLAGS1_SP_EVT_ACTIVE) EVT_ELSE EVT_CALL(InitTargetIterator) EVT_CALL(SetGoalToTarget, ACTOR_SELF) diff --git a/src/battle/item/mystery.c b/src/battle/item/mystery.c index 16219678bd..1413573cfc 100644 --- a/src/battle/item/mystery.c +++ b/src/battle/item/mystery.c @@ -260,7 +260,7 @@ EvtScript N(main) = { EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) EVT_CALL(N(func_802A188C_72CE3C), LVar0, LVar1, LVar2) - EVT_CALL(SetBattleFlagBits, 32, 1) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_SP_EVT_ACTIVE, 1) EVT_CALL(DispatchDamagePlayerEvent, 1, EVENT_HIT) EVT_RETURN EVT_END diff --git a/src/battle/item/pebble.c b/src/battle/item/pebble.c index 046949909f..dfaf9dfaca 100644 --- a/src/battle/item/pebble.c +++ b/src/battle/item/pebble.c @@ -81,7 +81,7 @@ EvtScript N(main) = { EVT_CALL(VirtualEntityJumpTo, LVarA, LVar0, LVar1, LVar2, 18) EVT_CALL(GetItemPower, ITEM_PEBBLE, LVar3, LVar4) EVT_CALL(ApplyShrinkFromOwner, LVar3) - EVT_CALL(ItemDamageEnemy, LVar9, 402653184, 0, LVar3, 32) + EVT_CALL(ItemDamageEnemy, LVar9, 402653184, 0, LVar3, BS_FLAGS1_SP_EVT_ACTIVE) EVT_ADD(LVar0, 60) EVT_ADD(LVar1, 0) EVT_CALL(VirtualEntityJumpTo, LVarA, LVar0, LVar1, LVar2, 16) diff --git a/src/battle/item/pow_block.c b/src/battle/item/pow_block.c index efdec3f200..3bf1624211 100644 --- a/src/battle/item/pow_block.c +++ b/src/battle/item/pow_block.c @@ -107,7 +107,7 @@ EvtScript N(main) = { EVT_CALL(GetItemPower, ITEM_POW_BLOCK, LVar3, LVar4) EVT_CALL(ApplyShrinkFromOwner, LVar3) EVT_CALL(func_80269EAC, 22) - EVT_CALL(ItemDamageEnemy, LVar0, 939525120, 0, LVar3, 32) + EVT_CALL(ItemDamageEnemy, LVar0, 939525120, 0, LVar3, BS_FLAGS1_SP_EVT_ACTIVE) EVT_LABEL(1) EVT_CALL(ChooseNextTarget, 0, LVar0) EVT_IF_NE(LVar0, -1) diff --git a/src/battle/item/shooting_star.c b/src/battle/item/shooting_star.c index 93245e38f1..ae01b9db90 100644 --- a/src/battle/item/shooting_star.c +++ b/src/battle/item/shooting_star.c @@ -117,7 +117,7 @@ EvtScript N(main) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) EVT_CALL(N(func_802A1388_71DAF8), LVar0, LVar1, LVar2) EVT_CALL(GetItemPower, ITEM_SHOOTING_STAR, LVar0, LVar1) - EVT_CALL(ItemDamageEnemy, LVar0, 939524352, 0, LVar0, 32) + EVT_CALL(ItemDamageEnemy, LVar0, 939524352, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) EVT_LABEL(1) EVT_WAIT(10) EVT_CALL(ChooseNextTarget, 0, LVar0) diff --git a/src/battle/item/sleepy_sheep.c b/src/battle/item/sleepy_sheep.c index 8bfbb9995d..b8472af648 100644 --- a/src/battle/item/sleepy_sheep.c +++ b/src/battle/item/sleepy_sheep.c @@ -472,7 +472,7 @@ EvtScript N(main) = { EVT_END_IF EVT_CALL(GetItemPower, ITEM_SLEEPY_SHEEP, LVar0, LVar1) EVT_CALL(MakeStatusField, LVar0, 4096, 100, LVar0) - EVT_CALL(func_80252B3C, LVar0, 1342177280, LVar0, 0, 32) + EVT_CALL(func_80252B3C, LVar0, 1342177280, LVar0, 0, BS_FLAGS1_SP_EVT_ACTIVE) EVT_LABEL(1) EVT_WAIT(5) EVT_CALL(ChooseNextTarget, 0, LVar0) diff --git a/src/battle/item/snowman_doll.c b/src/battle/item/snowman_doll.c index 3416952c8b..243b7ba299 100644 --- a/src/battle/item/snowman_doll.c +++ b/src/battle/item/snowman_doll.c @@ -90,7 +90,7 @@ EvtScript N(main) = { EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) EVT_CALL(N(func_802A123C_71C06C), LVar0, LVar1, LVar2) EVT_CALL(GetItemPower, ITEM_SNOWMAN_DOLL, LVar0, LVar1) - EVT_CALL(ItemDamageEnemy, LVar0, 939524104, 0, LVar0, 32) + EVT_CALL(ItemDamageEnemy, LVar0, 939524104, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) EVT_WAIT(5) EVT_LABEL(1) EVT_CALL(ChooseNextTarget, 0, LVar0) diff --git a/src/battle/item/stone_cap.c b/src/battle/item/stone_cap.c index 0adfcedd1f..a7ac0aa1d9 100644 --- a/src/battle/item/stone_cap.c +++ b/src/battle/item/stone_cap.c @@ -31,7 +31,7 @@ ApiStatus N(func_802A123C_7217DC)(Evt* script, s32 isInitialCall) { if (script->functionTemp[1] == 0) { BattleStatus* battleStatus2 = &gBattleStatus; - battleStatus2->flags1 &= ~0x04000000; + battleStatus2->flags1 &= ~BS_FLAGS1_HUSTLE_DRINK_ON; battleStatus->hustleTurns = 0; battleStatus->itemUsesLeft = 0; diff --git a/src/battle/item/stop_watch.c b/src/battle/item/stop_watch.c index 5a5cf267fa..bb054a1f3e 100644 --- a/src/battle/item/stop_watch.c +++ b/src/battle/item/stop_watch.c @@ -45,7 +45,7 @@ EvtScript N(main) = { EVT_END_IF EVT_CALL(GetItemPower, ITEM_STOP_WATCH, LVar0, LVar1) EVT_CALL(MakeStatusField, LVar0, 2097152, 100, LVar0) - EVT_CALL(func_80252B3C, LVar0, 1342177280, LVar0, 0, 32) + EVT_CALL(func_80252B3C, LVar0, 1342177280, LVar0, 0, BS_FLAGS1_SP_EVT_ACTIVE) EVT_LABEL(1) EVT_WAIT(5) EVT_CALL(ChooseNextTarget, 0, LVar0) diff --git a/src/battle/item/thunder_bolt.c b/src/battle/item/thunder_bolt.c index 461190096d..b44aae4047 100644 --- a/src/battle/item/thunder_bolt.c +++ b/src/battle/item/thunder_bolt.c @@ -73,7 +73,7 @@ EvtScript N(main) = { EVT_CALL(StartRumble, 10) EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(1.0)) EVT_CALL(GetItemPower, 130, LVar0, LVar1) - EVT_CALL(ItemDamageEnemy, LVar0, 939524128, 0, LVar0, 32) + EVT_CALL(ItemDamageEnemy, LVar0, 939524128, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) EVT_LABEL(1) EVT_WAIT(5) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_D) diff --git a/src/battle/item/thunder_rage.c b/src/battle/item/thunder_rage.c index a911246504..d9567d540b 100644 --- a/src/battle/item/thunder_rage.c +++ b/src/battle/item/thunder_rage.c @@ -75,7 +75,7 @@ EvtScript N(main) = { EVT_CALL(ShakeCam, 1, 0, 5, EVT_FLOAT(1.0)) EVT_CALL(SetGoalToTarget, ACTOR_SELF) EVT_CALL(GetItemPower, ITEM_THUNDER_RAGE, LVar0, LVar1) - EVT_CALL(ItemDamageEnemy, LVar0, 939524128, 0, LVar0, 32) + EVT_CALL(ItemDamageEnemy, LVar0, 939524128, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) EVT_LABEL(1) EVT_WAIT(5) EVT_CALL(ChooseNextTarget, 0, LVar0) diff --git a/src/battle/move/auto_jump/auto_jump.c b/src/battle/move/auto_jump/auto_jump.c index 98545fd8ac..7c93340a2d 100644 --- a/src/battle/move/auto_jump/auto_jump.c +++ b/src/battle/move/auto_jump/auto_jump.c @@ -407,10 +407,10 @@ EvtScript D_802A26BC_7672DC = { EVT_SWITCH(LVar0) EVT_CASE_GT(0) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 346, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, 80) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, BS_FLAGS1_40 | BS_FLAGS1_10) EVT_CASE_DEFAULT EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 346, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) @@ -439,7 +439,7 @@ EvtScript D_802A26BC_7672DC = { EVT_CALL(func_80274A18, 24, 3) EVT_WAIT(1) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 346, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, 224) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, BS_FLAGS1_80 | BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(func_80269550, LVarF) EVT_EXEC_WAIT(D_802A15D8_7661F8) EVT_RETURN @@ -458,10 +458,10 @@ EvtScript D_802A2A30_767650 = { EVT_SWITCH(LVar0) EVT_CASE_GT(0) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 347, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 2, 80) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 2, BS_FLAGS1_40 | BS_FLAGS1_10) EVT_CASE_DEFAULT EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 347, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 2, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 2, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) @@ -494,7 +494,7 @@ EvtScript D_802A2A30_767650 = { EVT_CALL(EnablePlayerBlur, 0) EVT_WAIT(1) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 347, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 2, 224) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 2, BS_FLAGS1_80 | BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(func_80269550, LVarF) EVT_EXEC_WAIT(D_802A15D8_7661F8) EVT_RETURN @@ -513,10 +513,10 @@ EvtScript D_802A2D5C_76797C = { EVT_SWITCH(LVar0) EVT_CASE_GT(0) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 348, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 3, 80) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 3, BS_FLAGS1_40 | BS_FLAGS1_10) EVT_CASE_DEFAULT EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 348, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 3, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) @@ -547,7 +547,7 @@ EvtScript D_802A2D5C_76797C = { EVT_CALL(EnablePlayerBlur, 0) EVT_WAIT(1) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 348, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 3, 224) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 3, BS_FLAGS1_80 | BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(func_80269550, LVarF) EVT_EXEC_WAIT(D_802A15D8_7661F8) EVT_RETURN diff --git a/src/battle/move/auto_multibounce/auto_multibounce.c b/src/battle/move/auto_multibounce/auto_multibounce.c index b008e06969..86434d792d 100644 --- a/src/battle/move/auto_multibounce/auto_multibounce.c +++ b/src/battle/move/auto_multibounce/auto_multibounce.c @@ -401,14 +401,14 @@ EvtScript N(D_802A26A8) = { EVT_CASE_GT(0) EVT_IF_EQ(LocalFlag(0), 0) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 346, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 1, 112) + EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 1, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_ELSE EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 346, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 1, 112) + EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 1, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_IF EVT_CASE_DEFAULT EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 346, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 1, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_CALL(PlaySoundAtActor, ACTOR_PLAYER, 0x235) EVT_SWITCH(LVar0) @@ -468,18 +468,18 @@ EvtScript N(D_802A26A8) = { EVT_CASE_GT(0) EVT_IF_EQ(LocalFlag(0), 0) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 346, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 1, 112) + EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 1, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_ELSE EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 346, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 1, 240) + EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 1, BS_FLAGS1_80 | BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_IF EVT_CASE_DEFAULT EVT_IF_EQ(LocalFlag(0), 0) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 346, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 1, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_ELSE EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 346, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 1, 240) + EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 1, BS_FLAGS1_80 | BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_IF EVT_END_SWITCH EVT_SWITCH(LVarF) @@ -543,14 +543,14 @@ EvtScript N(D_802A2EC0) = { EVT_CASE_GT(0) EVT_IF_EQ(LocalFlag(0), 0) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 347, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 2, 112) + EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 2, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_ELSE EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 347, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 2, 112) + EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 2, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_IF EVT_CASE_DEFAULT EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 347, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 2, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 2, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_CALL(PlaySoundAtActor, ACTOR_PLAYER, 0x235) EVT_SWITCH(LVar0) @@ -615,18 +615,18 @@ EvtScript N(D_802A2EC0) = { EVT_CASE_GT(0) EVT_IF_EQ(LocalFlag(0), 0) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 347, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 2, 112) + EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 2, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_ELSE EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 347, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 2, 240) + EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 2, BS_FLAGS1_80 | BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_IF EVT_CASE_DEFAULT EVT_IF_EQ(LocalFlag(0), 0) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 347, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 2, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 2, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_ELSE EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 347, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 2, 240) + EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 2, BS_FLAGS1_80 | BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_IF EVT_END_SWITCH EVT_SWITCH(LVarF) @@ -690,14 +690,14 @@ EvtScript N(D_802A372C) = { EVT_CASE_GT(0) EVT_IF_EQ(LocalFlag(0), 0) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 348, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 3, 112) + EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 3, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_ELSE EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 348, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 3, 112) + EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 3, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_IF EVT_CASE_DEFAULT EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 348, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 3, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_CALL(PlaySoundAtActor, ACTOR_PLAYER, 0x235) EVT_SWITCH(LVar0) @@ -755,18 +755,18 @@ EvtScript N(D_802A372C) = { EVT_CASE_GT(0) EVT_IF_EQ(LocalFlag(0), 0) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 348, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 3, 112) + EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 3, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_ELSE EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 348, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 3, 240) + EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 3, BS_FLAGS1_80 | BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_IF EVT_CASE_DEFAULT EVT_IF_EQ(LocalFlag(0), 0) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 348, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 3, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_ELSE EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 348, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 3, 240) + EVT_CALL(PlayerDamageEnemy, LVar0, 553648256, 0, 0, 3, BS_FLAGS1_80 | BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_IF EVT_END_SWITCH EVT_SWITCH(LVarF) diff --git a/src/battle/move/hammer/hammer.c b/src/battle/move/hammer/hammer.c index 624b683642..fc44156897 100644 --- a/src/battle/move/hammer/hammer.c +++ b/src/battle/move/hammer/hammer.c @@ -227,7 +227,7 @@ EvtScript N(D_802A1B40) = { EVT_CALL(SetGoalToTarget, ACTOR_PLAYER) EVT_CALL(AddGoalPos, ACTOR_PLAYER, 0, 0, 0) EVT_EXEC_WAIT(D_802A1204_007347A4) - EVT_CALL(PlayerTestEnemy, LVar0, 64, 0, 0, 0, 16) + EVT_CALL(PlayerTestEnemy, LVar0, 64, 0, 0, 0, BS_FLAGS1_10) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_43) EVT_CALL(SetBattleCamOffsetZ, 8) EVT_CALL(InitTargetIterator) @@ -313,7 +313,7 @@ EvtScript D_802A2000_007355A0 = { EVT_CALL(SetGoalToTarget, ACTOR_PLAYER) EVT_CALL(AddGoalPos, ACTOR_PLAYER, 0, 0, 0) EVT_EXEC_WAIT(D_802A1388_00734928) - EVT_CALL(PlayerTestEnemy, LVar0, 64, 0, 0, 0, 16) + EVT_CALL(PlayerTestEnemy, LVar0, 64, 0, 0, 0, BS_FLAGS1_10) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_43) EVT_CALL(SetBattleCamOffsetZ, 8) EVT_CALL(InitTargetIterator) @@ -382,7 +382,7 @@ EvtScript D_802A23E8_735988 = { EVT_CALL(SetGoalToTarget, ACTOR_PLAYER) EVT_CALL(AddGoalPos, ACTOR_PLAYER, 0, 0, 0) EVT_EXEC_WAIT(D_802A150C_00734AAC) - EVT_CALL(PlayerTestEnemy, LVar0, 64, 0, 0, 0, 16) + EVT_CALL(PlayerTestEnemy, LVar0, 64, 0, 0, 0, BS_FLAGS1_10) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_43) EVT_CALL(SetBattleCamOffsetZ, 8) EVT_CALL(InitTargetIterator) @@ -677,7 +677,7 @@ EvtScript D_802A3168_00736708 = { EVT_END_SWITCH EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_44) EVT_WAIT(1) - EVT_CALL(PlayerTestEnemy, LVar0, 64, 25, 0, 0, 16) + EVT_CALL(PlayerTestEnemy, LVar0, 64, 25, 0, 0, BS_FLAGS1_10) EVT_IF_EQ(LVar0, 6) EVT_EXEC_WAIT(D_802A1A64_00735004) EVT_RETURN @@ -694,7 +694,7 @@ EvtScript D_802A3168_00736708 = { EVT_CASE_EQ(2) EVT_CALL(PlaySoundAtActor, ACTOR_PLAYER, 0x10E) EVT_END_SWITCH - EVT_CALL(PlayerDamageEnemy, LVar0, 64, 25, 0, LVarF, 112) + EVT_CALL(PlayerDamageEnemy, LVar0, 64, 25, 0, LVarF, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_CASE_DEFAULT EVT_CALL(GetMenuSelection, LVar0, LVar1, LVar2) EVT_SWITCH(LVar1) @@ -705,7 +705,7 @@ EvtScript D_802A3168_00736708 = { EVT_CASE_EQ(2) EVT_CALL(PlaySoundAtActor, ACTOR_PLAYER, 0x10E) EVT_END_SWITCH - EVT_CALL(PlayerDamageEnemy, LVar0, 64, 25, 0, LVarE, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 64, 25, 0, LVarE, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(1) @@ -776,7 +776,7 @@ EvtScript battle_move_hammer_802A369C = { EVT_END_SWITCH EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_44) EVT_WAIT(1) - EVT_CALL(PlayerTestEnemy, LVar0, 64, 25, 0, 0, 16) + EVT_CALL(PlayerTestEnemy, LVar0, 64, 25, 0, 0, BS_FLAGS1_10) EVT_IF_EQ(LVar0, 6) EVT_EXEC_WAIT(D_802A1A64_00735004) EVT_RETURN @@ -790,7 +790,7 @@ EvtScript battle_move_hammer_802A369C = { EVT_CASE_EQ(2) EVT_CALL(PlaySoundAtActor, ACTOR_PLAYER, 0x10E) EVT_END_SWITCH - EVT_CALL(PlayerDamageEnemy, LVar0, 64, 25, 0, LVar9, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 64, 25, 0, LVar9, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_EXEC_WAIT(D_802A18AC_00734E4C) EVT_RETURN EVT_END @@ -830,7 +830,7 @@ EvtScript D_802A3C4C_007371EC = { EVT_CASE_EQ(2) EVT_EXEC_WAIT(D_802A23E8_735988) EVT_END_SWITCH - EVT_CALL(PlayerTestEnemy, LVar0, 64, 25, 0, LVar9, 16) + EVT_CALL(PlayerTestEnemy, LVar0, 64, 25, 0, LVar9, BS_FLAGS1_10) EVT_IF_EQ(LVar0, 6) EVT_CALL(GetMenuSelection, LVar0, LVar1, LVar2) EVT_SWITCH(LVar1) @@ -897,7 +897,7 @@ EvtScript D_802A3C4C_007371EC = { EVT_END_SWITCH EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_44) EVT_WAIT(1) - EVT_CALL(PlayerTestEnemy, LVar0, 64, 25, 0, 0, 16) + EVT_CALL(PlayerTestEnemy, LVar0, 64, 25, 0, 0, BS_FLAGS1_10) EVT_IF_EQ(LVar0, 6) EVT_EXEC_WAIT(D_802A1A64_00735004) EVT_RETURN @@ -914,7 +914,7 @@ EvtScript D_802A3C4C_007371EC = { EVT_CASE_EQ(2) EVT_CALL(PlaySoundAtActor, ACTOR_PLAYER, 0x10E) EVT_END_SWITCH - EVT_CALL(PlayerDamageEnemy, LVar0, 64, 25, 0, LVarF, 112) + EVT_CALL(PlayerDamageEnemy, LVar0, 64, 25, 0, LVarF, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_CASE_DEFAULT EVT_CALL(GetMenuSelection, LVar0, LVar1, LVar2) EVT_SWITCH(LVar1) @@ -925,7 +925,7 @@ EvtScript D_802A3C4C_007371EC = { EVT_CASE_EQ(2) EVT_CALL(PlaySoundAtActor, ACTOR_PLAYER, 0x10E) EVT_END_SWITCH - EVT_CALL(PlayerDamageEnemy, LVar0, 64, 25, 0, LVarE, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 64, 25, 0, LVarE, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(1) diff --git a/src/battle/move/hammer_charge_0/74F130.c b/src/battle/move/hammer_charge_0/74F130.c index e52539daa2..2c9c79a09b 100644 --- a/src/battle/move/hammer_charge_0/74F130.c +++ b/src/battle/move/hammer_charge_0/74F130.c @@ -24,8 +24,8 @@ ApiStatus func_802A10C8_74F1F8(Evt* script, s32 isInitialCall) { } battleStatus->jumpCharge = 0; - battleStatus->flags1 |= 0x10000000; - battleStatus->flags1 &= ~0x20000000; + battleStatus->flags1 |= BS_FLAGS1_10000000; + battleStatus->flags1 &= ~BS_FLAGS1_20000000; return ApiStatus_DONE2; } diff --git a/src/battle/move/hammer_charge_1/7595B0.c b/src/battle/move/hammer_charge_1/7595B0.c index 0fe79e7975..c92c441845 100644 --- a/src/battle/move/hammer_charge_1/7595B0.c +++ b/src/battle/move/hammer_charge_1/7595B0.c @@ -33,8 +33,8 @@ ApiStatus func_802A10C8_759678(Evt* script, s32 isInitialCall) { } battleStatus->jumpCharge = 0; - battleStatus->flags1 |= 0x10000000; - battleStatus->flags1 &= ~0x20000000; + battleStatus->flags1 |= BS_FLAGS1_10000000; + battleStatus->flags1 &= ~BS_FLAGS1_20000000; return ApiStatus_DONE2; } diff --git a/src/battle/move/hammer_charge_2/75E5D0.c b/src/battle/move/hammer_charge_2/75E5D0.c index edaf0a2537..5f5c1ee304 100644 --- a/src/battle/move/hammer_charge_2/75E5D0.c +++ b/src/battle/move/hammer_charge_2/75E5D0.c @@ -33,8 +33,8 @@ ApiStatus func_802A10C8_75E698(Evt* script, s32 isInitialCall) { } battleStatus->jumpCharge = 0; - battleStatus->flags1 |= 0x10000000; - battleStatus->flags1 &= ~0x20000000; + battleStatus->flags1 |= BS_FLAGS1_10000000; + battleStatus->flags1 &= ~BS_FLAGS1_20000000; return ApiStatus_DONE2; } diff --git a/src/battle/move/jump/jump.c b/src/battle/move/jump/jump.c index 7fac8787d1..03dafc44e5 100644 --- a/src/battle/move/jump/jump.c +++ b/src/battle/move/jump/jump.c @@ -422,10 +422,10 @@ EvtScript D_802A2720_73EF80 = { EVT_SWITCH(LVar0) EVT_CASE_GT(0) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 346, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, 80) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, BS_FLAGS1_40 | BS_FLAGS1_10) EVT_CASE_DEFAULT EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 346, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) @@ -454,7 +454,7 @@ EvtScript D_802A2720_73EF80 = { EVT_CALL(func_80274A18, 24, 3) EVT_WAIT(1) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 346, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, 224) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, BS_FLAGS1_80 | BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(func_80269550, LVarF) EVT_EXEC_WAIT(D_802A1628_73DE88) EVT_RETURN @@ -473,10 +473,10 @@ EvtScript D_802A2ABC_73F31C = { EVT_SWITCH(LVar0) EVT_CASE_GT(0) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 347, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 2, 80) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 2, BS_FLAGS1_40 | BS_FLAGS1_10) EVT_CASE_DEFAULT EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 347, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 2, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 2, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) @@ -509,7 +509,7 @@ EvtScript D_802A2ABC_73F31C = { EVT_CALL(EnablePlayerBlur, -1) EVT_WAIT(1) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 347, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 2, 224) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 2, BS_FLAGS1_80 | BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(func_80269550, LVarF) EVT_EXEC_WAIT(D_802A1628_73DE88) EVT_RETURN @@ -528,10 +528,10 @@ EvtScript D_802A2DE8_73F648 = { EVT_SWITCH(LVar0) EVT_CASE_GT(0) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 348, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 3, 80) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 3, BS_FLAGS1_40 | BS_FLAGS1_10) EVT_CASE_DEFAULT EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 348, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 3, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) @@ -562,7 +562,7 @@ EvtScript D_802A2DE8_73F648 = { EVT_CALL(EnablePlayerBlur, -1) EVT_WAIT(1) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 348, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 3, 224) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 3, BS_FLAGS1_80 | BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(func_80269550, LVarF) EVT_EXEC_WAIT(D_802A1628_73DE88) EVT_RETURN @@ -625,7 +625,7 @@ EvtScript D_802A3188_73F9E8 = { EVT_CALL(func_80274A18, LVarA, 0) EVT_CALL(N(GetJumpDamage)) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 346, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, LVarF, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, LVarF, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_EXEC_WAIT(D_802A1628_73DE88) EVT_RETURN EVT_END @@ -648,7 +648,7 @@ EvtScript D_802A3378_73FBD8 = { EVT_CALL(SetGoalToTarget, ACTOR_PLAYER) EVT_CALL(UseBattleCamPresetImmediately, BTL_CAM_PRESET_34) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 347, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 4, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 4, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_EXEC_WAIT(D_802A1628_73DE88) EVT_RETURN EVT_END @@ -669,7 +669,7 @@ EvtScript D_802A34EC_73FD4C = { EVT_SET(LVarA, 4) EVT_CALL(func_80275F00, LVarA, 1) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 348, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 6, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 6, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_EXEC_WAIT(D_802A1628_73DE88) EVT_RETURN EVT_END @@ -702,10 +702,10 @@ EvtScript D_802A36D8_73FF38 = { EVT_SWITCH(LVar0) EVT_CASE_GT(0) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 346, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, 80) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, BS_FLAGS1_40 | BS_FLAGS1_10) EVT_CASE_DEFAULT EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 346, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) @@ -734,7 +734,7 @@ EvtScript D_802A36D8_73FF38 = { EVT_CALL(func_80274A18, 24, 3) EVT_WAIT(1) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 346, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, 224) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, BS_FLAGS1_80 | BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(func_80269550, LVarF) EVT_EXEC_WAIT(D_802A1628_73DE88) EVT_RETURN @@ -753,10 +753,10 @@ EvtScript D_802A39C4_740224 = { EVT_SWITCH(LVar0) EVT_CASE_GT(0) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 347, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 2, 80) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 2, BS_FLAGS1_40 | BS_FLAGS1_10) EVT_CASE_DEFAULT EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 347, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 2, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 2, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) @@ -789,7 +789,7 @@ EvtScript D_802A39C4_740224 = { EVT_CALL(EnablePlayerBlur, -1) EVT_WAIT(1) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 347, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 2, 224) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 2, BS_FLAGS1_80 | BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(func_80269550, LVarF) EVT_EXEC_WAIT(D_802A1628_73DE88) EVT_RETURN @@ -810,10 +810,10 @@ EvtScript D_802A3CF0_740550 = { EVT_SWITCH(LVar0) EVT_CASE_GT(0) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 348, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 3, 80) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 3, BS_FLAGS1_40 | BS_FLAGS1_10) EVT_CASE_DEFAULT EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 348, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 3, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 3, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) @@ -844,7 +844,7 @@ EvtScript D_802A3CF0_740550 = { EVT_CALL(EnablePlayerBlur, -1) EVT_WAIT(1) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 348, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 3, 224) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 3, BS_FLAGS1_80 | BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(func_80269550, LVarF) EVT_EXEC_WAIT(D_802A1628_73DE88) EVT_RETURN @@ -886,10 +886,10 @@ EvtScript D_802A4018_740878 = { EVT_SWITCH(LVar0) EVT_CASE_GT(0) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 346, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, 80) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, BS_FLAGS1_40 | BS_FLAGS1_10) EVT_CASE_DEFAULT EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 346, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) @@ -918,7 +918,7 @@ EvtScript D_802A4018_740878 = { EVT_CALL(func_80274A18, 24, 3) EVT_WAIT(1) EVT_CALL(SetActorSounds, ACTOR_PLAYER, 3, 346, 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, 224) + EVT_CALL(PlayerDamageEnemy, LVar0, 128, 0, 0, 1, BS_FLAGS1_80 | BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(func_80269550, LVarF) EVT_EXEC_WAIT(D_802A1628_73DE88) EVT_RETURN diff --git a/src/battle/move/jump_charge_0/74D570.c b/src/battle/move/jump_charge_0/74D570.c index 9a4fbaf2b2..c075ffdd29 100644 --- a/src/battle/move/jump_charge_0/74D570.c +++ b/src/battle/move/jump_charge_0/74D570.c @@ -22,8 +22,8 @@ ApiStatus func_802A1108_74D678(Evt* script, s32 isInitialCall) { } battleStatus->hammerCharge = 0; - battleStatus->flags1 |= 0x20000000; - battleStatus->flags1 &= ~0x10000000; + battleStatus->flags1 |= BS_FLAGS1_20000000; + battleStatus->flags1 &= ~BS_FLAGS1_10000000; return ApiStatus_DONE2; } diff --git a/src/battle/move/jump_charge_1/75C980.c b/src/battle/move/jump_charge_1/75C980.c index e06e661913..41f18311cd 100644 --- a/src/battle/move/jump_charge_1/75C980.c +++ b/src/battle/move/jump_charge_1/75C980.c @@ -31,8 +31,8 @@ ApiStatus func_802A1108_75CA88(Evt* script, s32 isInitialCall) { } battleStatus->hammerCharge = 0; - battleStatus->flags1 |= 0x20000000; - battleStatus->flags1 &= ~0x10000000; + battleStatus->flags1 |= BS_FLAGS1_20000000; + battleStatus->flags1 &= ~BS_FLAGS1_10000000; return ApiStatus_DONE2; } diff --git a/src/battle/move/jump_charge_2/761920.c b/src/battle/move/jump_charge_2/761920.c index e8bd91b144..7b03b465e6 100644 --- a/src/battle/move/jump_charge_2/761920.c +++ b/src/battle/move/jump_charge_2/761920.c @@ -31,8 +31,8 @@ ApiStatus func_802A1108_761A28(Evt* script, s32 isInitialCall) { } battleStatus->hammerCharge = 0; - battleStatus->flags1 |= 0x20000000; - battleStatus->flags1 &= ~0x10000000; + battleStatus->flags1 |= BS_FLAGS1_20000000; + battleStatus->flags1 &= ~BS_FLAGS1_10000000; return ApiStatus_DONE2; } diff --git a/src/battle/move/quake_hammer/quake_hammer.c b/src/battle/move/quake_hammer/quake_hammer.c index 367d8779c8..5aaf2fd21d 100644 --- a/src/battle/move/quake_hammer/quake_hammer.c +++ b/src/battle/move/quake_hammer/quake_hammer.c @@ -226,7 +226,7 @@ EvtScript D_802A1B40 = { EVT_CALL(SetGoalToTarget, ACTOR_PLAYER) EVT_CALL(AddGoalPos, ACTOR_PLAYER, 0, 0, 0) EVT_EXEC_WAIT(D_802A1204_0073B0D4) - EVT_CALL(PlayerTestEnemy, LVar0, 64, 0, 0, 0, 16) + EVT_CALL(PlayerTestEnemy, LVar0, 64, 0, 0, 0, BS_FLAGS1_10) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_43) EVT_CALL(SetBattleCamOffsetZ, 8) EVT_CALL(InitTargetIterator) @@ -312,7 +312,7 @@ EvtScript D_802A2000_0073BED0 = { EVT_CALL(SetGoalToTarget, ACTOR_PLAYER) EVT_CALL(AddGoalPos, ACTOR_PLAYER, 0, 0, 0) EVT_EXEC_WAIT(D_802A1388_0073B258) - EVT_CALL(PlayerTestEnemy, LVar0, 64, 0, 0, 0, 16) + EVT_CALL(PlayerTestEnemy, LVar0, 64, 0, 0, 0, BS_FLAGS1_10) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_43) EVT_CALL(SetBattleCamOffsetZ, 8) EVT_CALL(InitTargetIterator) @@ -381,7 +381,7 @@ EvtScript D_802A23E8 = { EVT_CALL(SetGoalToTarget, ACTOR_PLAYER) EVT_CALL(AddGoalPos, ACTOR_PLAYER, 0, 0, 0) EVT_EXEC_WAIT(D_802A150C_0073B3DC) - EVT_CALL(PlayerTestEnemy, LVar0, 64, 0, 0, 0, 16) + EVT_CALL(PlayerTestEnemy, LVar0, 64, 0, 0, 0, BS_FLAGS1_10) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_43) EVT_CALL(SetBattleCamOffsetZ, 8) EVT_CALL(InitTargetIterator) @@ -709,16 +709,16 @@ EvtScript D_802A3168_0073D038 = { EVT_CALL(InitTargetIterator) EVT_LABEL(10) EVT_CALL(SetGoalToTarget, ACTOR_PLAYER) - EVT_CALL(PlayerTestEnemy, LVar0, 2097152, 29, 0, 0, 16) + EVT_CALL(PlayerTestEnemy, LVar0, 2097152, 29, 0, 0, BS_FLAGS1_10) EVT_IF_EQ(LVar0, 6) EVT_GOTO(11) EVT_END_IF EVT_CALL(DidActionSucceed, LVar0) EVT_SWITCH(LVar0) EVT_CASE_GT(0) - EVT_CALL(PlayerDamageEnemy, LVar0, 941623296, 25, 0, LVarF, 112) + EVT_CALL(PlayerDamageEnemy, LVar0, 941623296, 25, 0, LVarF, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_CASE_DEFAULT - EVT_CALL(PlayerDamageEnemy, LVar0, 941623296, 25, 0, LVarE, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 941623296, 25, 0, LVarE, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_LABEL(11) EVT_CALL(ChooseNextTarget, 0, LVar1) diff --git a/src/battle/move/spin_smash/spin_smash.c b/src/battle/move/spin_smash/spin_smash.c index c70db67ffe..9c1f8b92c6 100644 --- a/src/battle/move/spin_smash/spin_smash.c +++ b/src/battle/move/spin_smash/spin_smash.c @@ -252,7 +252,7 @@ EvtScript D_802A1C20_7384B0 = { EVT_CALL(SetGoalToTarget, ACTOR_PLAYER) EVT_CALL(AddGoalPos, ACTOR_PLAYER, 0, 0, 0) EVT_EXEC_WAIT(D_802A12E4_737B74) - EVT_CALL(PlayerTestEnemy, LVar0, 64, 0, 0, 0, 16) + EVT_CALL(PlayerTestEnemy, LVar0, 64, 0, 0, 0, BS_FLAGS1_10) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_43) EVT_CALL(SetBattleCamOffsetZ, 8) EVT_CALL(InitTargetIterator) @@ -338,7 +338,7 @@ EvtScript D_802A20E0_738970 = { EVT_CALL(SetGoalToTarget, ACTOR_PLAYER) EVT_CALL(AddGoalPos, ACTOR_PLAYER, 0, 0, 0) EVT_EXEC_WAIT(D_802A1468_737CF8) - EVT_CALL(PlayerTestEnemy, LVar0, 64, 0, 0, 0, 16) + EVT_CALL(PlayerTestEnemy, LVar0, 64, 0, 0, 0, BS_FLAGS1_10) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_43) EVT_CALL(SetBattleCamOffsetZ, 8) EVT_CALL(InitTargetIterator) @@ -407,7 +407,7 @@ EvtScript D_802A24C8_738D58 = { EVT_CALL(SetGoalToTarget, ACTOR_PLAYER) EVT_CALL(AddGoalPos, ACTOR_PLAYER, 0, 0, 0) EVT_EXEC_WAIT(D_802A15EC_737E7C) - EVT_CALL(PlayerTestEnemy, LVar0, 64, 0, 0, 0, 16) + EVT_CALL(PlayerTestEnemy, LVar0, 64, 0, 0, 0, BS_FLAGS1_10) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_43) EVT_CALL(SetBattleCamOffsetZ, 8) EVT_CALL(InitTargetIterator) @@ -679,7 +679,7 @@ EvtScript D_802A3258_739AE8 = { EVT_CASE_LT(11) EVT_WAIT(0) EVT_END_SWITCH - EVT_CALL(PlayerTestEnemy, LVar0, 64, 25, 0, LVar9, 16) + EVT_CALL(PlayerTestEnemy, LVar0, 64, 25, 0, LVar9, BS_FLAGS1_10) EVT_CALL(InitTargetIterator) EVT_CALL(SetGoalToTarget, ACTOR_PLAYER) EVT_CALL(AddGoalPos, ACTOR_PLAYER, 0, 0, 0) @@ -728,7 +728,7 @@ EvtScript D_802A3258_739AE8 = { EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_46) EVT_CALL(StartRumble, 7) EVT_CALL(PlaySoundAtActor, ACTOR_PLAYER, 0x211E) - EVT_CALL(PlayerTestEnemy, LVar0, 64, 25, 0, 0, 16) + EVT_CALL(PlayerTestEnemy, LVar0, 64, 25, 0, 0, BS_FLAGS1_10) EVT_IF_EQ(LVar0, 6) EVT_WAIT(10) EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_Mario_10002) @@ -740,10 +740,10 @@ EvtScript D_802A3258_739AE8 = { EVT_SWITCH(LVar0) EVT_CASE_GT(0) EVT_CALL(func_802A1000_737890) - EVT_CALL(PlayerDamageEnemy, LVar0, 603979840, 25, 0, LVarF, 112) + EVT_CALL(PlayerDamageEnemy, LVar0, 603979840, 25, 0, LVarF, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_CASE_DEFAULT EVT_CALL(func_802A1074_737904) - EVT_CALL(PlayerDamageEnemy, LVar0, 603979840, 25, 0, LVarE, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 603979840, 25, 0, LVarE, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) @@ -850,7 +850,7 @@ EvtScript D_802A3920_73A1B0 = { EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_46) EVT_CALL(StartRumble, 8) EVT_CALL(PlaySoundAtActor, ACTOR_PLAYER, 0x211F) - EVT_CALL(PlayerTestEnemy, LVar0, 64, 25, 0, 0, 16) + EVT_CALL(PlayerTestEnemy, LVar0, 64, 25, 0, 0, BS_FLAGS1_10) EVT_IF_EQ(LVar0, 6) EVT_WAIT(10) EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_Mario_10002) @@ -862,10 +862,10 @@ EvtScript D_802A3920_73A1B0 = { EVT_SWITCH(LVar0) EVT_CASE_GT(0) EVT_CALL(func_802A1000_737890) - EVT_CALL(PlayerDamageEnemy, LVar0, 603979840, 25, 0, LVarF, 112) + EVT_CALL(PlayerDamageEnemy, LVar0, 603979840, 25, 0, LVarF, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_CASE_DEFAULT EVT_CALL(func_802A1074_737904) - EVT_CALL(PlayerDamageEnemy, LVar0, 603979840, 25, 0, LVarE, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 603979840, 25, 0, LVarE, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) @@ -970,7 +970,7 @@ EvtScript D_802A3FC4_73A854 = { EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_46) EVT_CALL(StartRumble, 9) EVT_CALL(PlaySoundAtActor, ACTOR_PLAYER, 0x2120) - EVT_CALL(PlayerTestEnemy, LVar0, 64, 25, 0, 0, 16) + EVT_CALL(PlayerTestEnemy, LVar0, 64, 25, 0, 0, BS_FLAGS1_10) EVT_IF_EQ(LVar0, 6) EVT_WAIT(10) EVT_CALL(SetAnimation, ACTOR_PLAYER, 0, ANIM_Mario_10002) @@ -982,10 +982,10 @@ EvtScript D_802A3FC4_73A854 = { EVT_SWITCH(LVar0) EVT_CASE_GT(0) EVT_CALL(func_802A1000_737890) - EVT_CALL(PlayerDamageEnemy, LVar0, 603979840, 25, 0, LVarF, 112) + EVT_CALL(PlayerDamageEnemy, LVar0, 603979840, 25, 0, LVarF, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_CASE_DEFAULT EVT_CALL(func_802A1074_737904) - EVT_CALL(PlayerDamageEnemy, LVar0, 603979840, 25, 0, LVarE, 48) + EVT_CALL(PlayerDamageEnemy, LVar0, 603979840, 25, 0, LVarE, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) diff --git a/src/battle/partner/bombette.c b/src/battle/partner/bombette.c index 6930a341fe..6702eb6ff7 100644 --- a/src/battle/partner/bombette.c +++ b/src/battle/partner/bombette.c @@ -920,7 +920,7 @@ EvtScript N(8023A5F8) = { EVT_CALL(SetActorDispOffset, ACTOR_PARTNER, 0, 0, 0) EVT_WAIT(2) EVT_CALL(CloseActionCommandInfo) - EVT_CALL(PartnerTestEnemy, LVar0, 0, 149, 0, 1, 16) + EVT_CALL(PartnerTestEnemy, LVar0, 0, 149, 0, 1, BS_FLAGS1_10) EVT_IF_EQ(LVar0, 6) EVT_CALL(PlaySoundAtActor, ACTOR_PARTNER, 0x2020) EVT_CALL(SetGoalToTarget, ACTOR_PARTNER) @@ -986,9 +986,9 @@ EvtScript N(8023A5F8) = { EVT_END_IF EVT_SWITCH(LVar0) EVT_CASE_GT(0) - EVT_CALL(PartnerDamageEnemy, LVar0, 0, 1, 0, LVarF, 112) + EVT_CALL(PartnerDamageEnemy, LVar0, 0, 1, 0, LVarF, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_CASE_DEFAULT - EVT_CALL(PartnerDamageEnemy, LVar0, 0, 1, 0, LVarE, 48) + EVT_CALL(PartnerDamageEnemy, LVar0, 0, 1, 0, LVarE, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_SWITCH(LVar0) EVT_CASE_OR_EQ(0) @@ -1086,7 +1086,7 @@ EvtScript N(8023B228) = { EVT_CALL(GetMenuSelection, LVar0, LVar1, LVar2) EVT_SWITCH(LVar2) EVT_CASE_EQ(146) - EVT_CALL(PartnerTestEnemy, LVar0, 0, 16, 0, 1, 16) + EVT_CALL(PartnerTestEnemy, LVar0, 0, 16, 0, 1, BS_FLAGS1_10) EVT_END_SWITCH EVT_CALL(StopSound, 647) EVT_SWITCH(LVar2) @@ -1223,7 +1223,7 @@ EvtScript N(8023B228) = { EVT_CASE_EQ(146) EVT_CALL(SetGoalToTarget, ACTOR_PARTNER) EVT_CALL(PlaySoundAtActor, ACTOR_PARTNER, SOUND_CANNON1) - EVT_CALL(PartnerTestEnemy, LVar0, 0, 20, 0, 1, 16) + EVT_CALL(PartnerTestEnemy, LVar0, 0, 20, 0, 1, BS_FLAGS1_10) EVT_IF_EQ(LVar0, 6) EVT_BREAK_SWITCH EVT_END_IF @@ -1231,16 +1231,16 @@ EvtScript N(8023B228) = { EVT_CALL(func_80238358_6FB068, LVar0) EVT_SWITCH(LVar0) EVT_CASE_GT(0) - EVT_CALL(PartnerDamageEnemy, LVar0, 268435968, 0, 0, LVarF, 112) + EVT_CALL(PartnerDamageEnemy, LVar0, 268435968, 0, 0, LVarF, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_SET(LocalFlag(0), 1) EVT_CASE_DEFAULT - EVT_CALL(PartnerDamageEnemy, LVar0, 268435968, 0, 0, LVarF, 48) + EVT_CALL(PartnerDamageEnemy, LVar0, 268435968, 0, 0, LVarF, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_CASE_EQ(147) EVT_CALL(PlaySoundAtActor, ACTOR_PARTNER, SOUND_CANNON1) EVT_LABEL(5) EVT_CALL(SetGoalToTarget, ACTOR_PARTNER) - EVT_CALL(PartnerTestEnemy, LVar0, 0, 20, 0, 1, 16) + EVT_CALL(PartnerTestEnemy, LVar0, 0, 20, 0, 1, BS_FLAGS1_10) EVT_IF_EQ(LVar0, 6) EVT_GOTO(6) EVT_END_IF @@ -1248,10 +1248,10 @@ EvtScript N(8023B228) = { EVT_CALL(func_8023849C_6FB1AC, LVar0) EVT_SWITCH(LVar0) EVT_CASE_GT(0) - EVT_CALL(PartnerDamageEnemy, LVar0, 805306880, 0, 0, LVarF, 112) + EVT_CALL(PartnerDamageEnemy, LVar0, 805306880, 0, 0, LVarF, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_SET(LocalFlag(0), 1) EVT_CASE_DEFAULT - EVT_CALL(PartnerDamageEnemy, LVar0, 805306880, 0, 0, LVarF, 48) + EVT_CALL(PartnerDamageEnemy, LVar0, 805306880, 0, 0, LVarF, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_LABEL(6) EVT_CALL(ChooseNextTarget, 0, LVar0) @@ -1262,7 +1262,7 @@ EvtScript N(8023B228) = { EVT_CALL(PlaySoundAtActor, ACTOR_PARTNER, SOUND_CANNON3) EVT_LABEL(10) EVT_CALL(SetGoalToTarget, ACTOR_PARTNER) - EVT_CALL(PartnerTestEnemy, LVar0, 0, 20, 0, 1, 16) + EVT_CALL(PartnerTestEnemy, LVar0, 0, 20, 0, 1, BS_FLAGS1_10) EVT_IF_EQ(LVar0, 6) EVT_GOTO(11) EVT_END_IF @@ -1270,10 +1270,10 @@ EvtScript N(8023B228) = { EVT_CALL(func_80238590_6FB2A0, LVar0) EVT_SWITCH(LVar0) EVT_CASE_GT(0) - EVT_CALL(PartnerDamageEnemy, LVar0, 805306880, 0, 0, LVarF, 112) + EVT_CALL(PartnerDamageEnemy, LVar0, 805306880, 0, 0, LVarF, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_SET(LocalFlag(0), 1) EVT_CASE_DEFAULT - EVT_CALL(PartnerDamageEnemy, LVar0, 805306880, 0, 0, LVarF, 48) + EVT_CALL(PartnerDamageEnemy, LVar0, 805306880, 0, 0, LVarF, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_LABEL(11) EVT_WAIT(5) @@ -1341,7 +1341,7 @@ EvtScript N(8023C990) = { EVT_CALL(MoveBattleCamOver, 1) EVT_CALL(SetAnimation, ACTOR_PARTNER, -1, ANIM_BattleBombette_AboutToExplode) EVT_WAIT(5) - EVT_CALL(PartnerTestEnemy, LVar0, 0, 16, 0, 1, 16) + EVT_CALL(PartnerTestEnemy, LVar0, 0, 16, 0, 1, BS_FLAGS1_10) EVT_WAIT(10) EVT_CALL(StopSound, 647) EVT_LOOP(7) @@ -1370,7 +1370,7 @@ EvtScript N(8023C990) = { EVT_CALL(ShakeCam, 1, 0, 8, EVT_FLOAT(0.15)) EVT_END_THREAD EVT_CALL(PlaySoundAtActor, ACTOR_PARTNER, SOUND_CANNON1) - EVT_CALL(PartnerTestEnemy, LVar0, 0, 20, 0, 1, 16) + EVT_CALL(PartnerTestEnemy, LVar0, 0, 20, 0, 1, BS_FLAGS1_10) EVT_IF_EQ(LVar0, 6) EVT_GOTO(10) EVT_END_IF @@ -1384,7 +1384,7 @@ EvtScript N(8023C990) = { EVT_CASE_EQ(145) EVT_SET(LVarF, 7) EVT_END_SWITCH - EVT_CALL(PartnerDamageEnemy, LVar0, 268435968, 0, 0, LVarF, 48) + EVT_CALL(PartnerDamageEnemy, LVar0, 268435968, 0, 0, LVarF, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_LABEL(10) EVT_SET(LVar0, 0) EVT_SWITCH(LVar0) diff --git a/src/battle/partner/bow.c b/src/battle/partner/bow.c index c53a6140ab..dc17c96876 100644 --- a/src/battle/partner/bow.c +++ b/src/battle/partner/bow.c @@ -34,7 +34,7 @@ ApiStatus func_8023808C_710F7C(Evt* script, s32 isInitialCall) { playerActorPartTable->idleAnimations = bMarioHideAnims; gBattleStatus.hustleTurns = 0; - gBattleStatus.flags1 &= ~0x04000000; + gBattleStatus.flags1 &= ~BS_FLAGS1_HUSTLE_DRINK_ON; return ApiStatus_DONE2; } diff --git a/src/battle/partner/goombario.c b/src/battle/partner/goombario.c index 16c1afbcd7..bc28713bb3 100644 --- a/src/battle/partner/goombario.c +++ b/src/battle/partner/goombario.c @@ -502,7 +502,7 @@ EvtScript N(80239784) = { EvtScript N(802397E0) = { EVT_CALL(GetMenuSelection, LVar0, LVar1, LVar2) EVT_CALL(func_802694A4, 1) - EVT_CALL(SetBattleFlagBits, 16384, 0) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_4000, 0) EVT_SWITCH(LVar0) EVT_CASE_EQ(8) EVT_CALL(LoadStarPowerScript) @@ -775,7 +775,7 @@ EvtScript N(8023A754) = { EVT_CALL(SetJumpAnimations, 256, 0, 589830, 589830, 589830) EVT_CALL(PlaySoundAtActor, 256, 8205) EVT_CALL(func_8023817C_6F125C, LVarA, 0) - EVT_CALL(PartnerTestEnemy, LVar0, 128, 20, 0, 1, 16) + EVT_CALL(PartnerTestEnemy, LVar0, 128, 20, 0, 1, BS_FLAGS1_10) EVT_IF_EQ(LVar0, 6) EVT_CALL(SetJumpAnimations, 256, 0, 589830, 589830, 589830) EVT_CALL(battle_partner_goombario_func_80238A20_6F1B00) @@ -800,11 +800,11 @@ EvtScript N(8023A754) = { EVT_CASE_GT(0) EVT_CALL(battle_partner_goombario_IsGlowing) EVT_ADD(LVar0, 1) - EVT_CALL(PartnerDamageEnemy, LVar0, 128, 0, 0, LVar0, 80) + EVT_CALL(PartnerDamageEnemy, LVar0, 128, 0, 0, LVar0, BS_FLAGS1_40 | BS_FLAGS1_10) EVT_CASE_DEFAULT EVT_CALL(battle_partner_goombario_StopGlowingAndGet) EVT_ADD(LVar0, 1) - EVT_CALL(PartnerDamageEnemy, LVar0, 128, 0, 0, LVar0, 48) + EVT_CALL(PartnerDamageEnemy, LVar0, 128, 0, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_CALL(PlaySoundAtActor, 256, 0) EVT_SWITCH(LVar0) @@ -853,7 +853,7 @@ EvtScript N(8023A754) = { EVT_WAIT(1) EVT_CALL(battle_partner_goombario_StopGlowingAndGet) EVT_ADD(LVar0, 1) - EVT_CALL(PartnerDamageEnemy, LVar0, 128, 0, 0, LVar0, 32) + EVT_CALL(PartnerDamageEnemy, LVar0, 128, 0, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(PlaySoundAtActor, 256, 0) EVT_CALL(func_80269550, LVarF) EVT_EXEC_WAIT(battle_partner_goombario_8023A06C) @@ -880,7 +880,7 @@ EvtScript N(8023ADC4) = { EVT_CALL(SetJumpAnimations, 256, 0, 589830, 589830, 589830) EVT_CALL(PlaySoundAtActor, 256, 8205) EVT_CALL(func_8023817C_6F125C, LVarA, 0) - EVT_CALL(PartnerTestEnemy, LVar0, 128, 20, 0, 1, 16) + EVT_CALL(PartnerTestEnemy, LVar0, 128, 20, 0, 1, BS_FLAGS1_10) EVT_IF_EQ(LVar0, 6) EVT_CALL(SetJumpAnimations, 256, 0, 589830, 589830, 589830) EVT_CALL(battle_partner_goombario_func_80238A20_6F1B00) @@ -905,11 +905,11 @@ EvtScript N(8023ADC4) = { EVT_CASE_GT(0) EVT_CALL(battle_partner_goombario_IsGlowing) EVT_ADD(LVar0, 2) - EVT_CALL(PartnerDamageEnemy, LVar0, 128, 0, 0, LVar0, 80) + EVT_CALL(PartnerDamageEnemy, LVar0, 128, 0, 0, LVar0, BS_FLAGS1_40 | BS_FLAGS1_10) EVT_CASE_DEFAULT EVT_CALL(battle_partner_goombario_StopGlowingAndGet) EVT_ADD(LVar0, 2) - EVT_CALL(PartnerDamageEnemy, LVar0, 128, 0, 0, LVar0, 48) + EVT_CALL(PartnerDamageEnemy, LVar0, 128, 0, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_CALL(PlaySoundAtActor, 256, 0) EVT_SWITCH(LVar0) @@ -960,7 +960,7 @@ EvtScript N(8023ADC4) = { EVT_WAIT(1) EVT_CALL(battle_partner_goombario_StopGlowingAndGet) EVT_ADD(LVar0, 2) - EVT_CALL(PartnerDamageEnemy, LVar0, 128, 0, 0, LVar0, 32) + EVT_CALL(PartnerDamageEnemy, LVar0, 128, 0, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(PlaySoundAtActor, 256, 0) EVT_CALL(func_80269550, LVarF) EVT_EXEC_WAIT(battle_partner_goombario_8023A06C) @@ -987,7 +987,7 @@ EvtScript N(8023B45C) = { EVT_CALL(SetJumpAnimations, 256, 0, 589830, 589830, 589830) EVT_CALL(PlaySoundAtActor, 256, 8205) EVT_CALL(func_8023817C_6F125C, LVarA, 0) - EVT_CALL(PartnerTestEnemy, LVar0, 128, 20, 0, 1, 16) + EVT_CALL(PartnerTestEnemy, LVar0, 128, 20, 0, 1, BS_FLAGS1_10) EVT_IF_EQ(LVar0, 6) EVT_CALL(SetJumpAnimations, 256, 0, 589830, 589830, 589830) EVT_CALL(battle_partner_goombario_func_80238A20_6F1B00) @@ -1012,11 +1012,11 @@ EvtScript N(8023B45C) = { EVT_CASE_GT(0) EVT_CALL(battle_partner_goombario_IsGlowing) EVT_ADD(LVar0, 3) - EVT_CALL(PartnerDamageEnemy, LVar0, 128, 0, 0, LVar0, 80) + EVT_CALL(PartnerDamageEnemy, LVar0, 128, 0, 0, LVar0, BS_FLAGS1_40 | BS_FLAGS1_10) EVT_CASE_DEFAULT EVT_CALL(battle_partner_goombario_StopGlowingAndGet) EVT_ADD(LVar0, 3) - EVT_CALL(PartnerDamageEnemy, LVar0, 128, 0, 0, LVar0, 48) + EVT_CALL(PartnerDamageEnemy, LVar0, 128, 0, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_CALL(PlaySoundAtActor, 256, 0) EVT_SWITCH(LVar0) @@ -1076,7 +1076,7 @@ EvtScript N(8023B45C) = { EVT_WAIT(1) EVT_CALL(battle_partner_goombario_StopGlowingAndGet) EVT_ADD(LVar0, 3) - EVT_CALL(PartnerDamageEnemy, LVar0, 128, 0, 0, LVar0, 32) + EVT_CALL(PartnerDamageEnemy, LVar0, 128, 0, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(PlaySoundAtActor, 256, 0) EVT_CALL(func_80269550, LVarF) EVT_EXEC_WAIT(battle_partner_goombario_8023A06C) @@ -1109,7 +1109,7 @@ EvtScript N(8023BB9C) = { EVT_CALL(SetJumpAnimations, 256, 0, 589830, 589830, 589830) EVT_CALL(PlaySoundAtActor, 256, 8205) EVT_CALL(func_8023817C_6F125C, LVarA, 0) - EVT_CALL(PartnerTestEnemy, LVar0, 1048704, 20, 0, 1, 16) + EVT_CALL(PartnerTestEnemy, LVar0, 1048704, 20, 0, 1, BS_FLAGS1_10) EVT_IF_EQ(LVar0, 6) EVT_CALL(SetJumpAnimations, 256, 0, 589830, 589830, 589830) EVT_CALL(battle_partner_goombario_func_80238A20_6F1B00) @@ -1134,11 +1134,11 @@ EvtScript N(8023BB9C) = { EVT_CASE_GT(0) EVT_CALL(battle_partner_goombario_IsGlowing) EVT_ADD(LVar0, 3) - EVT_CALL(PartnerDamageEnemy, LVar0, 1048704, 0, 0, LVar0, 80) + EVT_CALL(PartnerDamageEnemy, LVar0, 1048704, 0, 0, LVar0, BS_FLAGS1_40 | BS_FLAGS1_10) EVT_CASE_DEFAULT EVT_CALL(battle_partner_goombario_StopGlowingAndGet) EVT_ADD(LVar0, 3) - EVT_CALL(PartnerDamageEnemy, LVar0, 1048704, 0, 0, LVar0, 48) + EVT_CALL(PartnerDamageEnemy, LVar0, 1048704, 0, 0, LVar0, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_CALL(PlaySoundAtActor, 256, 0) EVT_SWITCH(LVar0) @@ -1228,16 +1228,16 @@ EvtScript N(8023BB9C) = { EVT_IF_EQ(LocalFlag(0), 0) EVT_CALL(battle_partner_goombario_IsGlowing) EVT_ADD(LVar0, 3) - EVT_CALL(PartnerPowerBounceEnemy, LVar0, 1048704, 0, 0, LVar0, LVarD, 64) + EVT_CALL(PartnerPowerBounceEnemy, LVar0, 1048704, 0, 0, LVar0, LVarD, BS_FLAGS1_40) EVT_ELSE EVT_CALL(battle_partner_goombario_StopGlowingAndGet) EVT_ADD(LVar0, 3) - EVT_CALL(PartnerPowerBounceEnemy, LVar0, 1048704, 0, 0, LVar0, LVarD, 32) + EVT_CALL(PartnerPowerBounceEnemy, LVar0, 1048704, 0, 0, LVar0, LVarD, BS_FLAGS1_SP_EVT_ACTIVE) EVT_END_IF EVT_CASE_DEFAULT EVT_CALL(battle_partner_goombario_StopGlowingAndGet) EVT_ADD(LVar0, 3) - EVT_CALL(PartnerPowerBounceEnemy, LVar0, 1048704, 0, 0, LVar0, LVarD, 32) + EVT_CALL(PartnerPowerBounceEnemy, LVar0, 1048704, 0, 0, LVar0, LVarD, BS_FLAGS1_SP_EVT_ACTIVE) EVT_SET(LocalFlag(0), 0) EVT_END_SWITCH EVT_CALL(PlaySoundAtActor, 256, 0) @@ -1272,7 +1272,7 @@ EvtScript N(8023C5B8) = { EVT_CALL(SetAnimation, 256, -1, 589825) EVT_CALL(InitTargetIterator) EVT_CALL(SetGoalToTarget, 256) - EVT_CALL(SetBattleFlagBits, 4, 1) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_4, 1) EVT_CALL(func_80238E04_6F1EE4) EVT_WAIT(12) EVT_CALL(SetCamEnabled, 2, 1) @@ -1297,7 +1297,7 @@ EvtScript N(8023C5B8) = { EVT_CALL(SetCamEnabled, 2, 0) EVT_WAIT(32) EVT_CALL(UseBattleCamPreset, BTL_CAM_PRESET_C) - EVT_CALL(SetBattleFlagBits, 4, 0) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_4, 0) EVT_CALL(func_80280818) EVT_CALL(SetGoalToHome, 256) EVT_CALL(SetActorSpeed, 256, EVT_FLOAT(4.0)) diff --git a/src/battle/partner/kooper.c b/src/battle/partner/kooper.c index 8425a1a68a..3fa70de23d 100644 --- a/src/battle/partner/kooper.c +++ b/src/battle/partner/kooper.c @@ -627,7 +627,7 @@ EvtScript N(80239384) = { EVT_CALL(SetActorSpeed, ACTOR_PARTNER, LVarA) EVT_CALL(SetActorSounds, ACTOR_PARTNER, 0, 0, 0) EVT_CALL(RunToGoal, ACTOR_PARTNER, 0) - EVT_CALL(PartnerTestEnemy, LVar0, 0, 20, 0, 2, 16) + EVT_CALL(PartnerTestEnemy, LVar0, 0, 20, 0, 2, BS_FLAGS1_10) EVT_IF_EQ(LVar0, 6) EVT_THREAD EVT_CALL(func_80238000_6F5E80) @@ -669,9 +669,9 @@ EvtScript N(80239384) = { EVT_CALL(GetActionCommandResult, LVar0) EVT_SWITCH(LVar0) EVT_CASE_GT(0) - EVT_CALL(PartnerDamageEnemy, LVar0, 0, 159, 0, LVarF, 112) + EVT_CALL(PartnerDamageEnemy, LVar0, 0, 159, 0, LVarF, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_CASE_DEFAULT - EVT_CALL(PartnerDamageEnemy, LVar0, 0, 159, 0, LVarE, 48) + EVT_CALL(PartnerDamageEnemy, LVar0, 0, 159, 0, LVarE, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_CALL(PlaySoundAtActor, ACTOR_PARTNER, SOUND_0) EVT_SWITCH(LVar0) @@ -814,7 +814,7 @@ EvtScript N(80239E7C) = { EVT_IF_GT(LVar0, LVar3) EVT_GOTO(10) EVT_END_IF - EVT_CALL(PartnerTestEnemy, LVar0, 0, 20, 0, 2, 16) + EVT_CALL(PartnerTestEnemy, LVar0, 0, 20, 0, 2, BS_FLAGS1_10) EVT_IF_EQ(LVar0, 6) EVT_GOTO(12) EVT_END_IF @@ -831,9 +831,9 @@ EvtScript N(80239E7C) = { EVT_CALL(GetActionCommandResult, LVar0) EVT_SWITCH(LVar0) EVT_CASE_GT(0) - EVT_CALL(PartnerDamageEnemy, LVar0, 536870912, 159, 0, LVarF, 112) + EVT_CALL(PartnerDamageEnemy, LVar0, 536870912, 159, 0, LVarF, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_CASE_DEFAULT - EVT_CALL(PartnerDamageEnemy, LVar0, 536870912, 159, 0, LVarE, 48) + EVT_CALL(PartnerDamageEnemy, LVar0, 536870912, 159, 0, LVarE, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_CALL(PlaySoundAtActor, ACTOR_PARTNER, SOUND_0) EVT_LABEL(12) @@ -969,7 +969,7 @@ EvtScript N(8023AA38) = { EVT_IF_GT(LVar0, LVar3) EVT_GOTO(10) EVT_END_IF - EVT_CALL(PartnerTestEnemy, LVar0, 0, 20, 0, 2, 16) + EVT_CALL(PartnerTestEnemy, LVar0, 0, 20, 0, 2, BS_FLAGS1_10) EVT_IF_EQ(LVar0, 6) EVT_GOTO(12) EVT_END_IF @@ -989,18 +989,18 @@ EvtScript N(8023AA38) = { EVT_CASE_GT(0) EVT_IF_EQ(LVar9, 1) EVT_IF_EQ(LVarF, 100) - EVT_CALL(PartnerAfflictEnemy, LVar0, 1610612736, 159, -1073478912, 254, 0, 112) + EVT_CALL(PartnerAfflictEnemy, LVar0, 1610612736, 159, -1073478912, 254, 0, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_ELSE - EVT_CALL(PartnerAfflictEnemy, LVar0, 1610612736, 159, -1073478912, LVarF, 0, 112) + EVT_CALL(PartnerAfflictEnemy, LVar0, 1610612736, 159, -1073478912, LVarF, 0, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_IF EVT_ELSE - EVT_CALL(PartnerAfflictEnemy, LVar0, 1610612736, 159, -1073478912, LVarF, 0, 112) + EVT_CALL(PartnerAfflictEnemy, LVar0, 1610612736, 159, -1073478912, LVarF, 0, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_IF EVT_CASE_DEFAULT EVT_IF_EQ(LVar9, 1) - EVT_CALL(PartnerAfflictEnemy, LVar0, 1610612736, 159, -1073478912, 255, 0, 48) + EVT_CALL(PartnerAfflictEnemy, LVar0, 1610612736, 159, -1073478912, 255, 0, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_ELSE - EVT_CALL(PartnerAfflictEnemy, LVar0, 1610612736, 159, -1073478912, 255, 0, 48) + EVT_CALL(PartnerAfflictEnemy, LVar0, 1610612736, 159, -1073478912, 255, 0, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_IF EVT_END_SWITCH EVT_CALL(PlaySoundAtActor, ACTOR_PARTNER, SOUND_0) @@ -1214,7 +1214,7 @@ EvtScript N(8023B660) = { EVT_IF_GT(LVar0, LVar3) EVT_GOTO(10) EVT_END_IF - EVT_CALL(PartnerTestEnemy, LVar0, 0, 20, 0, 2, 16) + EVT_CALL(PartnerTestEnemy, LVar0, 0, 20, 0, 2, BS_FLAGS1_10) EVT_IF_EQ(LVar0, 6) EVT_GOTO(12) EVT_END_IF @@ -1232,9 +1232,9 @@ EvtScript N(8023B660) = { EVT_CALL(GetActionCommandResult, LVar0) EVT_SWITCH(LVar0) EVT_CASE_GT(99) - EVT_CALL(PartnerDamageEnemy, LVar0, 536870914, 159, 0, LVarF, 112) + EVT_CALL(PartnerDamageEnemy, LVar0, 536870914, 159, 0, LVarF, BS_FLAGS1_40 | BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_CASE_DEFAULT - EVT_CALL(PartnerDamageEnemy, LVar0, 536870914, 159, 0, LVarF, 48) + EVT_CALL(PartnerDamageEnemy, LVar0, 536870914, 159, 0, LVarF, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_END_SWITCH EVT_CALL(PlaySoundAtActor, ACTOR_PARTNER, SOUND_0) EVT_LABEL(12) @@ -1283,7 +1283,7 @@ EvtScript N(8023C754) = { EVT_CALL(SetActorSpeed, ACTOR_PARTNER, EVT_FLOAT(16.0)) EVT_CALL(SetActorSounds, ACTOR_PARTNER, 0, 0, 0) EVT_CALL(RunToGoal, ACTOR_PARTNER, 0) - EVT_CALL(PartnerTestEnemy, LVar0, 0, 20, 0, 2, 16) + EVT_CALL(PartnerTestEnemy, LVar0, 0, 20, 0, 2, BS_FLAGS1_10) EVT_IF_EQ(LVar0, 6) EVT_THREAD EVT_CALL(func_80238000_6F5E80) @@ -1331,7 +1331,7 @@ EvtScript N(8023C754) = { EVT_CASE_EQ(139) EVT_SET(LVarF, 3) EVT_END_SWITCH - EVT_CALL(PartnerDamageEnemy, LVar0, 0, 159, 0, LVarF, 48) + EVT_CALL(PartnerDamageEnemy, LVar0, 0, 159, 0, LVarF, BS_FLAGS1_SP_EVT_ACTIVE | BS_FLAGS1_10) EVT_CALL(GetMenuSelection, LVar0, LVar1, LVar2) EVT_SWITCH(LVar2) EVT_CASE_EQ(137) diff --git a/src/battle/star/chill_out/7900D0.c b/src/battle/star/chill_out/7900D0.c index f070377505..97e049dc1d 100644 --- a/src/battle/star/chill_out/7900D0.c +++ b/src/battle/star/chill_out/7900D0.c @@ -401,7 +401,7 @@ EvtScript N(usePower) = { EVT_IF_EQ(LVar0, 1) EVT_CALL(func_802A16F4_7907C4) EVT_ELSE - EVT_CALL(PlayerDamageEnemy, LVar0, 0, 65535, 0, 0, 2080) + EVT_CALL(PlayerDamageEnemy, LVar0, 0, 65535, 0, 0, BS_FLAGS1_800 | BS_FLAGS1_SP_EVT_ACTIVE) EVT_END_IF EVT_LABEL(1) EVT_WAIT(5) diff --git a/src/battle/star/lullaby/78D150.c b/src/battle/star/lullaby/78D150.c index 4f41afe3a2..41b6e9fc17 100644 --- a/src/battle/star/lullaby/78D150.c +++ b/src/battle/star/lullaby/78D150.c @@ -290,7 +290,7 @@ EvtScript N(usePower) = { EVT_IF_EQ(LVar0, 6) EVT_GOTO(1) EVT_END_IF - EVT_CALL(ItemDamageEnemy, LVar0, 1879048192, 0x80001364, 0, 32) + EVT_CALL(ItemDamageEnemy, LVar0, 1879048192, 0x80001364, 0, BS_FLAGS1_SP_EVT_ACTIVE) EVT_LABEL(1) EVT_WAIT(5) EVT_CALL(ChooseNextTarget, 0, LVar0) diff --git a/src/battle/star/peach_beam/7997B0.c b/src/battle/star/peach_beam/7997B0.c index d8a37b71cc..640621c5ef 100644 --- a/src/battle/star/peach_beam/7997B0.c +++ b/src/battle/star/peach_beam/7997B0.c @@ -320,7 +320,7 @@ EvtScript N(usePower) = { EVT_CALL(InitTargetIterator) EVT_LABEL(0) EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(ItemDamageEnemy, LVar0, 1082130432, 0, 0, 32) + EVT_CALL(ItemDamageEnemy, LVar0, 1082130432, 0, 0, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(ChooseNextTarget, 0, LVar0) EVT_IF_NE(LVar0, -1) EVT_GOTO(0) diff --git a/src/battle/star/star_beam/796FC0.c b/src/battle/star/star_beam/796FC0.c index 3646fd5a19..9b1792b7f6 100644 --- a/src/battle/star/star_beam/796FC0.c +++ b/src/battle/star/star_beam/796FC0.c @@ -318,7 +318,7 @@ EvtScript N(usePower) = { EVT_CALL(InitTargetIterator) EVT_LABEL(0) EVT_CALL(SetGoalToTarget, ACTOR_SELF) - EVT_CALL(ItemDamageEnemy, LVar0, 1077936128, 0, 0, 32) + EVT_CALL(ItemDamageEnemy, LVar0, 1077936128, 0, 0, BS_FLAGS1_SP_EVT_ACTIVE) EVT_CALL(ChooseNextTarget, 0, LVar0) EVT_IF_NE(LVar0, -1) EVT_GOTO(0) diff --git a/src/battle/star/star_storm/78E7D0.c b/src/battle/star/star_storm/78E7D0.c index ed2f51ca7b..3c9bc7c823 100644 --- a/src/battle/star/star_storm/78E7D0.c +++ b/src/battle/star/star_storm/78E7D0.c @@ -321,7 +321,7 @@ EvtScript N(usePower) = { EVT_END_IF EVT_CALL(GetGoalPos, ACTOR_SELF, LVar0, LVar1, LVar2) EVT_CALL(func_802A1628_78EDF8, LVar0, LVar1, LVar2) - EVT_CALL(ItemDamageEnemy, LVar0, 939524352, 0, 7, 32) + EVT_CALL(ItemDamageEnemy, LVar0, 939524352, 0, 7, BS_FLAGS1_SP_EVT_ACTIVE) EVT_LABEL(1) EVT_WAIT(10) EVT_CALL(ChooseNextTarget, 0, LVar0) diff --git a/src/battle/star/time_out/793D20.c b/src/battle/star/time_out/793D20.c index dd63d12cb4..4c2bd59a37 100644 --- a/src/battle/star/time_out/793D20.c +++ b/src/battle/star/time_out/793D20.c @@ -262,7 +262,7 @@ EvtScript N(usePower) = { EVT_IF_EQ(LVar0, 6) EVT_GOTO(1) EVT_END_IF - EVT_CALL(ItemDamageEnemy, LVar0, 1879048192, 0x80200564, 0, 32) + EVT_CALL(ItemDamageEnemy, LVar0, 1879048192, 0x80200564, 0, BS_FLAGS1_SP_EVT_ACTIVE) EVT_WAIT(5) EVT_LABEL(1) EVT_CALL(ChooseNextTarget, 0, LVar0) diff --git a/src/battle/star/up_and_away/7952E0.c b/src/battle/star/up_and_away/7952E0.c index d5c4c6004f..0b82f9a376 100644 --- a/src/battle/star/up_and_away/7952E0.c +++ b/src/battle/star/up_and_away/7952E0.c @@ -386,12 +386,12 @@ EvtScript N(usePower) = { EVT_ADD(LVar1, 30) EVT_WAIT(5) EVT_END_LOOP - EVT_CALL(SetBattleFlagBits, 16777216, 1) + EVT_CALL(SetBattleFlagBits, BS_FLAGS1_STAR_POINTS_DROPPED, 1) EVT_CALL(RemoveActor, LVarA) EVT_END_THREAD EVT_CASE_DEFAULT EVT_IF_EQ(LocalFlag(0), 0) - EVT_CALL(PlayerDamageEnemy, LVar0, 0, 65535, 0, 0, 2080) + EVT_CALL(PlayerDamageEnemy, LVar0, 0, 65535, 0, 0, BS_FLAGS1_800 | BS_FLAGS1_SP_EVT_ACTIVE) EVT_END_IF EVT_END_SWITCH EVT_WAIT(5) diff --git a/src/common/ChompChainInit.inc.c b/src/common/ChompChainInit.inc.c index 1124599c57..0fc2b4d6e6 100644 --- a/src/common/ChompChainInit.inc.c +++ b/src/common/ChompChainInit.inc.c @@ -9,7 +9,7 @@ ApiStatus N(ChompChainInit)(Evt* script, s32 isInitialCall) { s32 i; it = heap_malloc(8 * sizeof(ChompChainAnimationState)); - actor->state.unk_6C = it; + actor->state.functionTempPtr[0] = it; x = actor->currentPos.x + 12.0; y = actor->currentPos.y + 5.0; diff --git a/src/common/MashActionCommandInit.inc.c b/src/common/MashActionCommandInit.inc.c index 13c1246a02..b4d74db779 100644 --- a/src/common/MashActionCommandInit.inc.c +++ b/src/common/MashActionCommandInit.inc.c @@ -22,7 +22,7 @@ ApiStatus N(MashActionCommandInit)(Evt* script, s32 isInitialCall) { battleStatus->actionSuccess = 0; battleStatus->unk_86 = 127; mashMeterCutoff = actionCommandStatus->mashMeterCutoffs[(actionCommandStatus->mashMeterIntervals - 1)]; - battleStatus->flags1 &= ~0x8000; + battleStatus->flags1 &= ~BS_FLAGS1_8000; actionCommandStatus->state = 10; battleStatus->unk_82 = mashMeterCutoff; func_80269118(); diff --git a/src/common/StarRodAppearEffect.inc.c b/src/common/StarRodAppearEffect.inc.c new file mode 100644 index 0000000000..bdf8f3e324 --- /dev/null +++ b/src/common/StarRodAppearEffect.inc.c @@ -0,0 +1,109 @@ +#include "common.h" +#include "effects.h" + +typedef struct StarOutlineState { + /* 0x00 */ EffectInstance* effect; + /* 0x04 */ Vec3f pos; + /* 0x10 */ f32 unk_10; + /* 0x14 */ f32 unk_14; + /* 0x18 */ f32 unk_18; + /* 0x1C */ s32 delay; + /* 0x20 */ s32 duration; + /* 0x24 */ s32 unk_24; + /* 0x28 */ s32 unk_28; + /* 0x2C */ f32 unk_2C; + /* 0x30 */ f32 unk_30; + /* 0x34 */ f32 unk_34; + /* 0x38 */ s32 effectEnded; +} StarOutlineState; // size = 0x3C + +ApiStatus N(StarRodAppearEffect)(Evt* script, s32 isInitialCall) { + Bytecode* args = script->ptrReadPos; + Actor* actor = get_actor(script->owner1.actorID); + s32 i; + s32 endedCount; + StarOutlineState* effectState; + + if (actor == NULL) { + return ApiStatus_DONE2; + } + + if (isInitialCall) { + f32 x = evt_get_variable(script, *args++); + f32 y = evt_get_variable(script, *args++); + f32 z = evt_get_variable(script, *args++); + f32 arg4 = evt_get_float_variable(script, *args++); + f32 arg5 = evt_get_float_variable(script, *args++); + effectState = heap_malloc(sizeof(StarOutlineState) * 3); + actor->state.functionTempPtr[0] = effectState; + + for (i = 0; i < 3; effectState++, i++) { + effectState->pos.x = x; + effectState->pos.y = y; + effectState->pos.z = z; + effectState->unk_18 = arg4; + effectState->unk_10 = arg4; + effectState->unk_14 = arg5; + effectState->delay = 1 + i * 10; + effectState->duration = 40; + effectState->unk_24 = 255; + effectState->unk_28 = 255; + effectState->unk_2C = 0.0f; + effectState->unk_30 = 0.0f; + effectState->unk_34 = 0.0f; + effectState->effectEnded = FALSE; + } + return ApiStatus_BLOCK; + } + + effectState = actor->state.functionTempPtr[0]; + endedCount = 0; + + for (i = 0; i < 3; effectState++, i++) { + if (effectState->delay > 0) { + effectState->delay--; + if (effectState->delay <= 0) { + effectState->effect = fx_star_outline(0, effectState->pos.x, effectState->pos.y, effectState->pos.z, + effectState->unk_18, -1); + effectState->effect->data.starOutline->unk_3C.x = effectState->unk_2C; + effectState->effect->data.starOutline->unk_3C.y = effectState->unk_30; + effectState->effect->data.starOutline->unk_3C.z = effectState->unk_34; + effectState->effect->data.starOutline->unk_00 = 0; + } + } else if (effectState->effectEnded) { + endedCount++; + } else { + effectState->unk_34 += 9.0f; + effectState->unk_18 = fabsf(effectState->unk_10 - effectState->unk_14) * effectState->duration / 40.0f + effectState->unk_14; + + if (effectState->duration <= 10) { + effectState->unk_24 = (effectState->duration / 2 * 0.1f + 0.5f) * 255.0f; + effectState->unk_28 = (effectState->duration / 2 * 0.1f + 0.5f) * 255.0f; + } + + effectState->duration--; + + if (effectState->duration <= 0) { + remove_effect(effectState->effect); + effectState->effectEnded = TRUE; + } else { + effectState->effect->data.starOutline->pos.x = effectState->pos.x; + effectState->effect->data.starOutline->pos.y = effectState->pos.y; + effectState->effect->data.starOutline->pos.z = effectState->pos.z; + effectState->effect->data.starOutline->unk_3C.x = effectState->unk_2C; + effectState->effect->data.starOutline->unk_3C.y = effectState->unk_30; + effectState->effect->data.starOutline->unk_3C.z = effectState->unk_34; + effectState->effect->data.starOutline->unk_38 = effectState->unk_18; + effectState->effect->data.starOutline->unk_24 = effectState->unk_24; + effectState->effect->data.starOutline->unk_34 = effectState->unk_28; + } + } + } + + if (endedCount >= 3) { + heap_free(effectState);//@bug effectState doesn't point to allocated memory + return ApiStatus_DONE2; + } else { + return ApiStatus_BLOCK; + } +} diff --git a/src/common/StarRodPowerUpEffect.inc.c b/src/common/StarRodPowerUpEffect.inc.c new file mode 100644 index 0000000000..a379d79af2 --- /dev/null +++ b/src/common/StarRodPowerUpEffect.inc.c @@ -0,0 +1,152 @@ +#include "common.h" +#include "effects.h" + +typedef struct StarOutlineState2 { + /* 0x00 */ EffectInstance* effect; + /* 0x04 */ Vec3f pos; + /* 0x10 */ f32 unk_10; + /* 0x14 */ s32 delay; + /* 0x18 */ s32 duration; + /* 0x1C */ s32 unk_1C; + /* 0x20 */ s32 unk_20; + /* 0x24 */ f32 unk_24; + /* 0x38 */ f32 unk_28; + /* 0x2C */ f32 unk_2C; + /* 0x30 */ s32 effectEnded; +} StarOutlineState2; // size = 0x34 + +ApiStatus N(StarRodPowerUpEffect)(Evt* script, s32 isInitialCall) { + Bytecode* args = script->ptrReadPos; + Actor* actor = get_actor(script->owner1.actorID); + s32 i; + s32 endedCount; + StarOutlineState2* effectState; + + if (actor == NULL) { + return ApiStatus_DONE2; + } + + if (isInitialCall) { + f32 x = evt_get_variable(script, *args++); + f32 y = evt_get_variable(script, *args++); + f32 z = evt_get_variable(script, *args++); + f32 arg4 = evt_get_float_variable(script, *args++); + + if (actor->debuff == STATUS_SHRINK) { + arg4 *= 0.4; + } + + effectState = heap_malloc(sizeof(StarOutlineState2) * 3); + actor->state.functionTempPtr[0] = effectState; + + for (i = 0; i < 3; effectState++, i++) { + effectState->pos.x = x; + effectState->pos.y = y; + effectState->pos.z = z; + effectState->unk_10 = arg4; + effectState->delay = 1 + i * 16; + effectState->duration = 50; + effectState->unk_1C = 255; + effectState->unk_20 = 255; + effectState->unk_24 = 90.0f; + effectState->unk_28 = 0.0f; + effectState->unk_2C = 0.0f; + effectState->effectEnded = FALSE; + } + return ApiStatus_BLOCK; + } + + effectState = actor->state.functionTempPtr[0]; + endedCount = 0; + + for (i = 0; i < 3; effectState++, i++) { + if (effectState->delay > 0) { + effectState->delay--; + if (effectState->delay <= 0) { + effectState->effect = fx_star_outline(0, effectState->pos.x, effectState->pos.y, effectState->pos.z, + effectState->unk_10, -1); + effectState->effect->data.starOutline->unk_3C.x = effectState->unk_24; + effectState->effect->data.starOutline->unk_3C.y = effectState->unk_28; + effectState->effect->data.starOutline->unk_3C.z = effectState->unk_2C; + } + } else if (effectState->effectEnded) { + endedCount++; + } else { +#ifdef BOWSER_LARGE + if (actor->debuff != STATUS_SHRINK) { + if (effectState->pos.y < 60.0) { + effectState->pos.y += 4.5; + } else if (effectState->pos.y < 90.0) { + effectState->pos.y += 3.6000001430511475; + } else if (effectState->pos.y < 120.0) { + effectState->pos.y += 2.400000035762787; + } else { + effectState->pos.y += 1.5; + } + } else { + if (effectState->pos.y < 24.0) { + effectState->pos.y += 1.8; + } else if (effectState->pos.y < 36.0) { + effectState->pos.y += 1.440000057220459; + } else if (effectState->pos.y < 48.0) { + effectState->pos.y += 0.9600000143051148; + } else { + effectState->pos.y += 0.6000000000000001; + } + } +#else + if (actor->debuff != STATUS_SHRINK) { + if (effectState->pos.y < 40.0) { + effectState->pos.y += 3.0; + } else if (effectState->pos.y < 60.0) { + effectState->pos.y += 2.400000095367431640625; + } else if (effectState->pos.y < 80.0) { + effectState->pos.y += 1.60000002384185791015625; + } else { + effectState->pos.y += 1.0; + } + } else { + if (effectState->pos.y < 16.0) { + effectState->pos.y += 1.20000000000000017763568394003; + } else if (effectState->pos.y < 24.0) { + effectState->pos.y += 0.96000003814697265625; + } else if (effectState->pos.y < 32.0) { + effectState->pos.y += 0.640000009536743186266960492503; + } else { + effectState->pos.y += 0.4; + } + } +#endif + effectState->unk_28 += 18.0f; + + if (effectState->duration <= 16) { + effectState->unk_1C = effectState->duration * 255 / 16; + effectState->unk_20 = effectState->duration * 255 / 16; + } + + effectState->effect->data.starOutline->pos.x = effectState->pos.x; + effectState->effect->data.starOutline->pos.y = effectState->pos.y; + effectState->effect->data.starOutline->pos.z = effectState->pos.z; + effectState->effect->data.starOutline->unk_3C.x = effectState->unk_24; + effectState->effect->data.starOutline->unk_3C.y = effectState->unk_28; + effectState->effect->data.starOutline->unk_3C.z = effectState->unk_2C; + effectState->effect->data.starOutline->unk_38 = effectState->unk_10; + effectState->effect->data.starOutline->unk_24 = effectState->unk_1C; + effectState->effect->data.starOutline->unk_34 = effectState->unk_20; + + effectState->duration--; + + if (effectState->duration <= 0) { + remove_effect(effectState->effect); + effectState->effectEnded = TRUE; + } + } + } + + if (endedCount >= 3) { + heap_free(effectState);//@bug effectState doesn't point to allocated memory + return ApiStatus_DONE2; + } else { + return ApiStatus_BLOCK; + } +} diff --git a/src/common/UnkBowserFunc1.inc.c b/src/common/UnkBowserFunc1.inc.c new file mode 100644 index 0000000000..042dd0223f --- /dev/null +++ b/src/common/UnkBowserFunc1.inc.c @@ -0,0 +1,71 @@ +#include "common.h" +#include "sprite.h" + +#ifndef BOWSER_LARGE +#define BOWSER_FLAG_TOCHECK ACTOR_EVENT_FLAG_ENCHANTED +#else +#define BOWSER_FLAG_TOCHECK ACTOR_EVENT_FLAG_80000 +#endif + +ApiStatus N(UnkBowserFunc1)(Evt* script, s32 isInitialCall) { + Actor* actor = get_actor(script->owner1.actorID); + ActorPart* part; + s32 i, j; + u8 sp20[20]; + u8 sp38[20]; + u8 sp50[20]; + s32 colorRGBA; + s32 temp; + s32 lol; + + if (actor == NULL) { + return ApiStatus_DONE2; + } + + part = get_actor_part(actor, 1); + + if (isInitialCall) { + script->functionTemp[1] = 0; + script->functionTemp[2] = 0; + script->functionTemp[0] = 0; + + for (i = 0; i < 10; i++) { + func_802DE780(part->unk_84, i, 17, 20, 0, 0, 255, 0); + } + } + + script->functionTemp[1] += 10; + if (script->functionTemp[1] >= 360) { + script->functionTemp[1] %= 360; + } + + for (j = 0; j < 20; j++) { + sp20[j] = (cosine(script->functionTemp[1] + j * 25 + 120) + 1.0) * 56.0; + sp38[j] = (cosine(script->functionTemp[1] + j * 25 + 60) + 1.0) * 56.0; + sp50[j] = (cosine(script->functionTemp[1] + j * 25 + 180) + 1.0) * 56.0; + } + + if (part->eventFlags & BOWSER_FLAG_TOCHECK) { + + for (j = 0; j < 20; j++) { + colorRGBA = sp20[j] << 0x18 | sp38[j] << 0x10 | sp50[j] << 8 | 0xFF; + for (i = 0; i < 10; i++) { + func_802DE780(part->unk_84, i, 12, j, colorRGBA, 0, 255, 0); + } + } + return ApiStatus_BLOCK; + } else { + s32 opacity = 255; + for (j = 0; j < 20; j++) { + colorRGBA = 255; + for (i = 0; i < 10; i++) { + // TODO find better match for opacity + func_802DE780(part->unk_84, i, 12, j, colorRGBA, 0, opacity & 0xFFFF, 0); + } + } + script->functionTemp[1] = 0; + script->functionTemp[2] = 0; + script->functionTemp[0] = 0; + return ApiStatus_BLOCK; + } +} diff --git a/src/common/UnkLightningBoltFxFunc1.inc.c b/src/common/UnkLightningBoltFxFunc1.inc.c new file mode 100644 index 0000000000..21d2b5f4ca --- /dev/null +++ b/src/common/UnkLightningBoltFxFunc1.inc.c @@ -0,0 +1,82 @@ +#include "common.h" +#include "effects.h" + +typedef struct FxLightningBoltState { + /* 0x00 */ EffectInstance* effect; + /* 0x04 */ Vec3f pos; + /* 0x10 */ f32 radius; + /* 0x14 */ f32 yaw; + /* 0x18 */ f32 angularSpeed; + /* 0x1C */ s32 duration; +} FxLightningBoltState; // size = 0x20 + +ApiStatus N(UnkLightningBoltFxFunc1)(Evt* script, s32 isInitialCall) { + Bytecode* args = script->ptrReadPos; + Actor* actor = get_actor(script->owner1.actorID); + s32 i; + FxLightningBoltState* effectState; + ActorState* actorState; + + if (actor == NULL) { + return ApiStatus_DONE2; + } + + actorState = &actor->state; + + if (isInitialCall) { + s32 x, y, z; + + effectState = heap_malloc(sizeof(FxLightningBoltState) * 3); + actorState->functionTempPtr[0] = effectState; + + x = evt_get_variable(script, *args++); + y = 0; + z = evt_get_variable(script, *args++); + + for (i = 0; i < 3; effectState++, i++) { + effectState->effect = fx_lightning_bolt(2, x, 200.0f, z, x, 0.0f, z, 1.0f, 60); + effectState->duration = 45; + effectState->pos.x = x; + effectState->pos.y = y; + effectState->pos.z = z; + + effectState->radius = 10.0f; + effectState->yaw = i * 120; + effectState->angularSpeed = 15.0f; + + } + return ApiStatus_BLOCK; + } + + effectState = actorState->functionTempPtr[0]; + + for (i = 0; i < 3; effectState++, i++) { + f32 x = effectState->pos.x + cos_deg(effectState->yaw) * effectState->radius; + f32 z = effectState->pos.z + sin_deg(effectState->yaw) * effectState->radius; + + effectState->effect->data.lightningBolt->unk_04 = x; + effectState->effect->data.lightningBolt->unk_10 = x; + effectState->effect->data.lightningBolt->unk_1C = x; + + effectState->effect->data.lightningBolt->unk_0C = z; + effectState->effect->data.lightningBolt->unk_18 = z; + effectState->effect->data.lightningBolt->unk_24 = z; + + if (effectState->duration > 10) { + effectState->radius += 1.5; + } + effectState->yaw += effectState->angularSpeed; + if (effectState->duration > 30) { + effectState->angularSpeed -= 0.3; + } + effectState->duration--; + } + + effectState = actorState->functionTempPtr[0]; + if (effectState->duration <= 0) { + heap_free(effectState); + return ApiStatus_DONE2; + } else { + return ApiStatus_BLOCK; + } +} diff --git a/src/world/area_hos/hos_02/A16220.c b/src/world/area_hos/hos_02/A16220.c index bf20764035..b84aee4b09 100644 --- a/src/world/area_hos/hos_02/A16220.c +++ b/src/world/area_hos/hos_02/A16220.c @@ -4,6 +4,10 @@ static char* N(exit_str_0) = "hos_01"; static char* N(exit_str_1) = "hos_03"; extern u16 D_802433AC_A195CC; +extern u16 D_802433B0_A195D0; +extern u16 D_802433B2_A195D2; +extern u16 D_802433B4_A195D4; + #include "world/common/atomic/TexturePan.inc.c" @@ -18,11 +22,74 @@ void func_8024030C_A1652C(void) { INCLUDE_ASM(s32, "world/area_hos/hos_02/A16220", func_80240434_A16654); -INCLUDE_ASM(s32, "world/area_hos/hos_02/A16220", func_80240610_A16830); +void func_80240610_A16830(void) { + Vtx* firstVertex; + Vtx* copiedVertices; + s32 numVertices; + s32 i; + s32 temp3; -INCLUDE_ASM(s32, "world/area_hos/hos_02/A16220", func_80240904_A16B24); + mdl_get_copied_vertices(1, &firstVertex, &copiedVertices, &numVertices); -INCLUDE_ASM(s32, "world/area_hos/hos_02/A16220", func_80240BFC_A16E1C); + for (i = 0; i < numVertices; i++) { + u8* colors = copiedVertices[i].v.cn; + s16 temp1 = (sins(D_802433B0_A195D0 * (i % 3 + 1) + i) + 0x8000) / 2; + colors[0] = temp1 * 155 / 0x8000 + 48.62745098039216; + colors[1] = temp1 * 155 / 0x8000 + 89.41176470588236; + + temp3 = sins(D_802433B0_A195D0 / 0x8000 * (((i / 2) % 3 + 1) << 15) + D_802433B0_A195D0 / 0x4000 * 0x8000 + i) + 0x8000; + colors[2] = colors[0] * temp3 / 0x10000 + 99.6078431372549; + } + + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(1)); + D_802433B0_A195D0 += 0x253; +} + +void func_80240904_A16B24(void) { + Vtx* firstVertex; + Vtx* copiedVertices; + s32 numVertices; + s32 i; + s32 temp3; + + mdl_get_copied_vertices(2, &firstVertex, &copiedVertices, &numVertices); + + for (i = 0; i < numVertices; i++) { + u8* colors = copiedVertices[i].v.cn; + s16 temp1 = (sins(D_802433B2_A195D2 * (i % 3 + 1) + i) + 0x8000) / 2; + colors[0] = temp1 * 155 / 0x8000 + 67.45098039215686; + colors[1] = temp1 * 155 / 0x8000 + 100.0; + + temp3 = sins(D_802433B2_A195D2 / 0x8000 * (((i / 2) % 3 + 1) << 15) + D_802433B2_A195D2 / 0x4000 * 0x8000 + i) + 0x8000; + colors[2] = colors[0] * temp3 / 0x10000 + 59.21568627450981; + } + + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(2)); + D_802433B2_A195D2 += 0x253; +} + +void func_80240BFC_A16E1C(void) { + Vtx* firstVertex; + Vtx* copiedVertices; + s32 numVertices; + s32 i; + s32 temp3; + + mdl_get_copied_vertices(3, &firstVertex, &copiedVertices, &numVertices); + + for (i = 0; i < numVertices; i++) { + u8* colors = copiedVertices[i].v.cn; + s16 temp1 = (sins(D_802433B4_A195D4 * (i % 3 + 1) + i) + 0x8000) / 2; + colors[0] = temp1 * 155 / 0x8000 + 100.0; + colors[1] = temp1 * 155 / 0x8000 + 80.3921568627451; + + temp3 = sins(D_802433B4_A195D4 / 0x8000 * (((i / 2) % 3 + 1) << 15) + D_802433B4_A195D4 / 0x4000 * 0x8000 + i) + 0x8000; + colors[2] = colors[0] * temp3 / 0x10000 + 96.07843137254902; + } + + gSPDisplayList(gMasterGfxPos++, mdl_get_copied_gfx(3)); + D_802433B4_A195D4 += 0x253; +} INCLUDE_ASM(s32, "world/area_hos/hos_02/A16220", func_80240EF4_A17114); diff --git a/src/world/common/IsRightOnEquipped.inc.c b/src/world/common/IsRightOnEquipped.inc.c index 1e9de7b3d4..c3fc873c49 100644 --- a/src/world/common/IsRightOnEquipped.inc.c +++ b/src/world/common/IsRightOnEquipped.inc.c @@ -8,7 +8,7 @@ ApiStatus N(IsRightOnEquipped)(Evt* script, s32 isInitialCall) { script->varTable[0] = TRUE; } - if (gBattleStatus.flags1 & 0x1000) { + if (gBattleStatus.flags1 & BS_FLAGS1_1000) { script->varTable[0] = TRUE; } diff --git a/ver/us/asm/data/battle/area_kpa/685260.data.s b/ver/us/asm/data/battle/area_kpa/685260.data.s deleted file mode 100644 index e652ec563a..0000000000 --- a/ver/us/asm/data/battle/area_kpa/685260.data.s +++ /dev/null @@ -1,1125 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_80218830_685260 -.word 0x00000001, 0x00550004, 0x0000000C, 0x00550000, 0x00000006, 0x0055002A, 0x00000009, 0x00550004, 0x00000008, 0x00550000, 0x0000000B, 0x00550004, 0x00000005, 0x00550000, 0x00000004, 0x00550026, 0x00000003, 0x00550026, 0x00000000 - -dlabel D_8021887C_6852AC -.word 0x00000001, 0x00550005, 0x0000000C, 0x00550001, 0x00000006, 0x0055002B, 0x00000009, 0x00550005, 0x00000008, 0x00550001, 0x0000000B, 0x00550005, 0x00000005, 0x00550001, 0x00000004, 0x00550027, 0x00000003, 0x00550027, 0x00000000 - -dlabel D_802188C8_6852F8 -.word 0x00000001, 0x00550006, 0x0000000C, 0x00550002, 0x00000006, 0x0055002C, 0x00000009, 0x00550006, 0x00000008, 0x00550002, 0x0000000B, 0x00550006, 0x00000005, 0x00550002, 0x00000004, 0x00550028, 0x00000003, 0x00550028, 0x00000000 - -dlabel D_80218914_685344 -.word 0x00000001, 0x00550007, 0x0000000C, 0x00550003, 0x00000006, 0x0055002D, 0x00000009, 0x00550007, 0x00000008, 0x00550003, 0x0000000B, 0x00550007, 0x00000005, 0x00550003, 0x00000004, 0x00550029, 0x00000003, 0x00550029, 0x00000000 - -dlabel D_80218960_685390 -.word 0x00000001, 0x00000004, 0x00000000 - -dlabel D_8021896C_68539C -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_80218978_6853A8 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x0000003C, 0x00000009, 0x00000032, 0x00000007, 0x00000000, 0x00000004, 0x0000004B, 0x00000003, 0x00000000, 0x0000000B, 0x00000032, 0x00000005, 0x0000004B, 0x0000000A, 0x0000004B, 0x00000008, 0x00000055, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0xFFFFFFFF, 0x00000027, 0x00000000, 0x00000029, 0xFFFFFFFF, 0x00000000 - -dlabel D_80218A24_685454 -.word 0x00800000, 0x01000000, 0xFD1500FF, D_8021887C_6852AC, D_80218960_685390, 0x00001010, 0x00000000, 0x00F80000, 0x00000000 - -dlabel D_80218A48_685478 -.word 0x00000000, 0x00461908, 0x00010000, D_80218A24_685454, D_80218A70_6854A0, D_80218978_6853A8, 0x32463C3C, 0x5F005A01, 0x1B1B0000, 0xF6140A14 - -dlabel D_80218A70_6854A0 -.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000043, 0x00000003, func_8027D75C, 0xFFFFFF81, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000001, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_8021887C_6852AC, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00000010, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550005, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80218830_685260, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00000010, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550004, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000001F4, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80218830_685260, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00000010, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550004, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000001, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_8021887C_6852AC, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00000010, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550005, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0xFFFFFFF8, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFD, 0x00000015, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000800, 0x00000000, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_80218D6C_68579C, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80218D7C_6857AC, 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_80219110_685B40, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80218D6C_68579C -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80218D7C_6857AC -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000046, 0x00000001, D_802191FC_685C2C, 0x00000016, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021A060_686A90, 0x00000016, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_8021BA6C_68849C, 0x00000016, 0x00000001, 0x00000003, 0x00000046, 0x00000001, D_8021C234_688C64, 0x00000023, 0x00000000, 0x00000043, 0x00000003, ActorExists, 0xFFFFFF81, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_80218EE8_685918, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80218EE8_685918 -.word 0x00000043, 0x00000003, GetLastDamage, 0xFFFFFF81, 0xFE363C80, 0x0000000E, 0x00000002, 0xFE363C80, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000002, GetBattleFlags, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00000100, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020CE, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000001, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00000010, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0055002E, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_8021887C_6852AC, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020CF, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00000010, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0055002F, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80218830_685260, 0x00000016, 0x00000001, 0x00000002, 0x00000016, 0x00000001, 0x00000003, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80219110_685B40 -.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000046, 0x00000001, D_802198B0_6862E0, 0x00000016, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021A870_6872A0, 0x00000016, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_8021BF98_6889C8, 0x00000016, 0x00000001, 0x00000003, 0x00000046, 0x00000001, D_8021C768_689198, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802191AC_685BDC -.word 0x00000007, 0x0000000D, 0x00000011, 0x00000015, 0x00000017, 0x00000018, 0x00000017, 0x00000015, 0x00000011, 0x0000000D, 0x00000007, 0x00000000, 0x00000004, 0x00000006, 0x00000007, 0x00000006, 0x00000004, 0x00000000, 0x00000002, 0x00000000 - -dlabel D_802191FC_685C2C -.word 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550018, 0x00000046, 0x00000001, DoNormalHit, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055001E, 0x00000025, 0x00000002, 0xFE363C82, 0x0055001F, 0x00000046, 0x00000001, DoBurnHit, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055001E, 0x00000025, 0x00000002, 0xFE363C82, 0x0055001F, 0x00000046, 0x00000001, DoBurnHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055001F, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550018, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550018, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550018, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000D, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000002, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0xFFFFFFF8, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFD, 0x00000015, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0x00000001, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_8021896C_68539C, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_802188C8_6852F8, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00000010, 0x00000000, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000400, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550008, 0x00000030, 0x00000001, D_802191AC_685BDC, 0x00000005, 0x00000001, 0x00000014, 0x00000031, 0x00000001, 0xFE363C80, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000016, 0x00000001, 0x0000002F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550018, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550018, 0x00000046, 0x00000001, DoJumpBack, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055000E, 0x00000046, 0x00000001, DoReturnHome, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550010, 0x00000046, 0x00000001, DoImmune, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550012, 0x00000008, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000026, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550018, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550018, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550018, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550018, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550004, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055000E, 0x00000025, 0x00000002, 0xFE363C82, 0x00550018, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055000E, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550018, 0x00000046, 0x00000001, DoBlowAway, 0x00000002, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802198B0_6862E0 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550016, 0x00000004, 0x00000001, 0x00000064, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550010, 0x00000008, 0x00000001, 0x0000000A, 0x00000056, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000020, 0x00000004, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000020, 0x00000004, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000020, 0x00000004, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002021, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550016, 0x00000008, 0x00000001, 0x0000000F, 0x00000003, 0x00000001, 0x00000064, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D3, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000003, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000028, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24ABA80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550012, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0055000E, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550004, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24ABA80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x0000FFFF, 0x00000000, 0x00000003, 0x00000020, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000028, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A81B4, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550012, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000001, YieldTurn, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055000E, 0x00000046, 0x00000001, DoReturnHome, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550004, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021A060_686A90 -.word 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550019, 0x00000046, 0x00000001, DoNormalHit, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550020, 0x00000025, 0x00000002, 0xFE363C82, 0x00550021, 0x00000046, 0x00000001, DoBurnHit, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550020, 0x00000025, 0x00000002, 0xFE363C82, 0x00550021, 0x00000046, 0x00000001, DoBurnHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550021, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550019, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550019, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550019, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000D, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000003, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0xFFFFFFF8, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFD, 0x00000015, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0x00000001, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_8021896C_68539C, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80218914_685344, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00000010, 0x00000000, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000400, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550009, 0x00000030, 0x00000001, D_802191AC_685BDC, 0x00000005, 0x00000001, 0x00000014, 0x00000031, 0x00000001, 0xFE363C80, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000016, 0x00000001, 0x0000002F, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550019, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550019, 0x00000046, 0x00000001, DoJumpBack, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055000F, 0x00000046, 0x00000001, DoReturnHome, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550011, 0x00000046, 0x00000001, DoImmune, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550013, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000001B, 0x00000008, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000010, 0x00000002, 0xFE363C83, 0x00080000, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFFD, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000A, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000010, 0x00000002, 0xFE363C83, 0x00040000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001A, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFF8, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001A, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x0000001A, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000016, 0x00000001, 0x00000026, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550019, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550019, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550019, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550019, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550005, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055000F, 0x00000025, 0x00000002, 0xFE363C82, 0x00550019, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021A870_6872A0 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550017, 0x00000008, 0x00000001, 0x0000000A, 0x00000004, 0x00000001, 0x00000064, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550011, 0x00000008, 0x00000001, 0x0000000A, 0x00000056, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000020, 0x00000004, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000020, 0x00000006, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000020, 0x00000008, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000020, 0x0000000A, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000020, 0x0000000C, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002021, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550017, 0x00000008, 0x00000001, 0x0000000F, 0x00000003, 0x00000001, 0x00000064, 0x00000056, 0x00000000, 0x00000005, 0x00000001, 0x00000014, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x00000007, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D3, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000005, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000032, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24ADA80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000001, 0x00000056, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000010, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C80, 0x00000012, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A8080, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000010, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000000B4, 0x00000005, 0x00000001, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A8080, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000032, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000010, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C80, 0x00000012, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000028, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000010, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000000B4, 0x00000005, 0x00000001, 0x00000005, 0x00000027, 0x00000002, 0xFE363C80, 0x00000012, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055000F, 0x00000046, 0x00000001, DoReturnHome, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000032, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24ADA80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000010, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C80, 0x00000012, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A8080, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x0000FFFF, 0x00000000, 0x00000005, 0x00000020, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000056, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000010, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000000B4, 0x00000005, 0x00000001, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A8080, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000032, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000010, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C80, 0x00000012, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000028, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000010, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000000B4, 0x00000005, 0x00000001, 0x00000005, 0x00000027, 0x00000002, 0xFE363C80, 0x00000012, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550013, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055000F, 0x00000046, 0x00000001, DoReturnHome, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, func_8027D32C, 0xFFFFFF81, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000002, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0x00000001, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_8021896C_68539C, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_802188C8_6852F8, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000800, 0x00000000, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0xFFFFFFF8, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFD, 0x00000015, 0x00000043, 0x00000005, b_area_kpa_UnkBattleFunc1, 0xFFFFFFF6, 0x00000014, 0x0000000A, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550006, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C81, 0x00000018, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetHomePos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000301, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7DB4, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021BA6C_68849C -.word 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055001A, 0x00000046, 0x00000001, DoNormalHit, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550022, 0x00000025, 0x00000002, 0xFE363C82, 0x00550023, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550022, 0x00000025, 0x00000002, 0xFE363C82, 0x00550023, 0x00000046, 0x00000001, DoBurnHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550023, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055001A, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055001A, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055001A, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000D, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000002, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0xFFFFFFF8, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFD, 0x00000015, 0x00000043, 0x00000005, b_area_kpa_UnkBattleFunc1, 0xFFFFFFF6, 0x00000014, 0x0000000A, 0x00000014, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0x00000001, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_8021896C_68539C, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_802188C8_6852F8, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0055001A, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000400, 0x00000001, 0x00000030, 0x00000001, D_802191AC_685BDC, 0x00000005, 0x00000001, 0x00000014, 0x00000031, 0x00000001, 0xFE363C80, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x0000001D, 0x00000001, 0x00000039, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550006, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000026, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055001A, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055001A, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055001A, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055001A, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550006, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550006, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055001A, 0x00000046, 0x00000001, DoBlowAway, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021BF98_6889C8 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C80, 0x00000028, 0x00000002, 0xFE363C80, 0x00000001, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C80, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0055001C, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550006, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x0000015E, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000014, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0055001C, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550006, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0055000A, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_80218960_685390, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80218830_685260, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000400, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021C234_688C64 -.word 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055001B, 0x00000046, 0x00000001, DoNormalHit, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550024, 0x00000025, 0x00000002, 0xFE363C82, 0x00550025, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550024, 0x00000025, 0x00000002, 0xFE363C82, 0x00550025, 0x00000046, 0x00000001, DoBurnHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550025, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055001B, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055001B, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055001B, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000D, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000003, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0xFFFFFFF8, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFD, 0x00000015, 0x00000043, 0x00000005, b_area_kpa_UnkBattleFunc1, 0xFFFFFFF6, 0x00000014, 0x0000000A, 0x00000014, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0x00000001, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_8021896C_68539C, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80218914_685344, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0055001B, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000400, 0x00000001, 0x00000030, 0x00000001, D_802191AC_685BDC, 0x00000005, 0x00000001, 0x00000014, 0x00000031, 0x00000001, 0xFE363C80, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x0000001D, 0x00000001, 0x00000039, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550007, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000026, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055001B, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055001B, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055001B, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055001B, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550007, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00550007, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0055001B, 0x00000046, 0x00000001, DoBlowAway, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021C768_689198 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C80, 0x00000028, 0x00000002, 0xFE363C80, 0x00000001, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C80, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0055001D, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550007, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x0000015E, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000014, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0055001D, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00550007, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0055000B, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000001, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_80218960_685390, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_8021887C_6852AC, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00000010, 0x00000001, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000400, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021CA20_689450 -.word 0x00000001, 0x00530002, 0x0000000C, 0x00530000, 0x00000006, 0x0053000E, 0x00000009, 0x00530002, 0x00000008, 0x00530000, 0x0000000B, 0x00530002, 0x00000005, 0x00530000, 0x00000004, 0x0053000D, 0x00000003, 0x0053000D, 0x00000000 - -dlabel D_8021CA6C_68949C -.word 0x00000001, 0x00530001, 0x00000000 - -dlabel D_8021CA78_6894A8 -.word 0x00000001, 0x0053000F, 0x00000000 - -dlabel D_8021CA84_6894B4 -.word 0x00000001, 0x00000002, 0x00000002, 0xFFFFFFF6, 0x0000000B, 0xFFFFFFF6, 0x00000000 - -dlabel D_8021CAA0_6894D0 -.word 0x00000001, 0x00000063, 0x00000002, 0xFFFFFFF6, 0x0000000B, 0xFFFFFFF6, 0x00000000 - -dlabel D_8021CABC_6894EC -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000000, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x00000000, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x00000032, 0x0000000A, 0x0000003C, 0x00000008, 0x00000055, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0xFFFFFFFF, 0x00000000 - -dlabel D_8021CB68_689598 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000000, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x00000000, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x00000000, 0x0000000A, 0x00000000, 0x00000008, 0x00000000, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 - -dlabel D_8021CC14_689644 -.word 0x00800000, 0x01000000, 0xF81E00FF, D_8021CA20_689450, D_8021CA84_6894B4, 0x00000000, 0x00000000, 0xFFF60000, 0x00000000, 0x00120001, 0x02000000, 0x000000FF, D_8021CA78_6894A8, D_8021CA84_6894B4, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021CC5C_68968C -.word 0x00000000, 0x00471E08, 0x00020000, D_8021CC14_689644, D_8021CC84_6896B4, D_8021CABC_6894EC, 0x324B460A, 0x5F005F01, 0x1C200000, 0xF10F031B - -dlabel D_8021CC84_6896B4 -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8021DB48_68A578, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8021CF2C_68995C, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8021D404_689E34, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_8021CCFC_68972C, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021CCFC_68972C -.word 0x00000043, 0x00000003, GetOriginalActorType, 0xFFFFFF81, 0xFE363C8A, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetOriginalActorType, 0xFE363C80, 0xFE363C82, 0x0000000B, 0x00000002, 0xFE363C82, 0xFE363C8A, 0x00000043, 0x00000003, GetActorHP, 0xFE363C80, 0xFE363C83, 0x0000000B, 0x00000002, 0xFE363C83, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000004, GetActorVar, 0xFE363C80, 0x00000008, 0xFE363C83, 0x0000000B, 0x00000002, 0xFE363C83, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000002, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000004, SetActorFlagBits, 0xFE363C80, 0x00600000, 0x00000001, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000002, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021CF2C_68995C -.word 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C81, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000014, 0x00000001, 0xFE363C81, 0x0000001F, 0x00000001, 0x00001000, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFA, 0x00000018, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000001, 0xFFFFFFFB, 0x0000001C, 0x00000000, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFF8, 0x0000001E, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0xFFFFFFFF, 0xFFFFFFF6, 0x00000023, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000014, 0x00000001, 0xFE363C81, 0x0000001F, 0x00000001, 0x00001000, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFF, 0x0000000A, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x0000001C, 0x00000000, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFF, 0x0000000A, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x00000023, 0x00000000, 0x00000023, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021D0E8_689B18 -.word 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002D2, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00530008, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000001, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_8021CA6C_68949C, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_8021CAA0_6894D0, 0x00000043, 0x00000003, SetStatusTable, 0xFFFFFF81, D_8021CB68_689598, 0x00000043, 0x00000002, ClearStatusEffects, 0xFFFFFF81, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFF, 0x0000000A, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000000, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000002, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000043, 0x00000003, GetOriginalActorType, 0xFFFFFF81, 0xFE363C8A, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetOriginalActorType, 0xFE363C80, 0xFE363C82, 0x0000000B, 0x00000002, 0xFE363C82, 0xFE363C8A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000004, GetActorVar, 0xFE363C80, 0x00000008, 0xFE363C83, 0x0000000B, 0x00000002, 0xFE363C83, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000002, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000004, SetActorFlagBits, 0xFE363C80, 0x00600000, 0x00000001, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000002, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021D404_689E34 -.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, 0x00530007, 0x00000046, 0x00000001, DoNormalHit, 0x00000016, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00530007, 0x00000046, 0x00000001, DoNormalHit, 0x00000016, 0x00000001, 0x0000000E, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00000200, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0053000B, 0x00000025, 0x00000002, 0xFE363C82, 0x0053000C, 0x00000046, 0x00000001, DoBurnHit, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00000200, 0x00000000, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0053000B, 0x00000025, 0x00000002, 0xFE363C82, 0x0053000C, 0x00000046, 0x00000001, DoBurnHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0053000C, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00530007, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00530007, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000046, 0x00000001, D_8021D0E8_689B18, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00530002, 0x00000046, 0x00000001, DoImmune, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00530001, 0x00000046, 0x00000001, DoImmune, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00530007, 0x00000046, 0x00000001, DoNormalHit, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000046, 0x00000001, D_8021D0E8_689B18, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00530002, 0x00000046, 0x00000001, DoRecover, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000039, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00530004, 0x00000025, 0x00000002, 0xFE363C82, 0x00530007, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00530004, 0x00000046, 0x00000001, DoAirLift, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00530009, 0x00000046, 0x00000001, DoAirLift, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000016, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0xFFFFFFFF, 0xFFFFFFFE, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0xFFFFFFFD, 0xFFFFFFFB, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00530007, 0x00000046, 0x00000001, DoBlowAway, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00530009, 0x00000046, 0x00000001, DoBlowAway, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000001F, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00530002, 0x00000046, 0x00000001, DoImmune, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00530001, 0x00000046, 0x00000001, DoImmune, 0x00000013, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021DAC4_68A4F4 -.word 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000006, SetPartRotation, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x0000003C, 0x0000002B, 0x00000002, 0xFE363C80, 0x00000168, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021DB48_68A578 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00530006, 0x00000004, 0x00000001, 0x00000064, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000028, 0x00000002, 0xFE363C80, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002D4, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00530009, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002D3, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0053000A, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_8021CA20_689450, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_8021CA84_6894B4, 0x00000043, 0x00000003, SetStatusTable, 0xFFFFFF81, D_8021CABC_6894EC, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000001, 0x00002000, 0x00000000, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFF8, 0x0000001E, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0xFFFFFFFF, 0xFFFFFFF6, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000003, SetEnemyHP, 0xFFFFFF81, 0xFE363C80, 0x00000012, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002D4, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00530009, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000013, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00530005, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00530006, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00530002, 0x00000057, 0x00000000, 0x00000003, 0x00000001, 0x00000064, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000002, 0xF24A7C1A, 0xF24A7C1A, 0xF24A7C1A, 0x00000012, 0x00000000, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000002, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000013, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8F, 0xFE363C80, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtPart, 0xFFFFFF81, 0x00000002, 0x000002D1, 0x00000043, 0x00000006, SetPartSounds, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000006, SetPartSounds, 0xFFFFFF81, 0x00000002, 0x00000002, 0x00000000, 0x00000000, 0x00000045, 0x00000002, D_8021DAC4_68A4F4, 0xFE363C8A, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000064, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0x00000002, 0xF24AAA80, 0x00000043, 0x00000007, RunPartTo, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000001, 0x00000049, 0x00000001, 0xFE363C8A, 0x0000000A, 0x00000002, 0xFE363C8F, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtPart, 0xFFFFFF81, 0x00000002, 0x000002D1, 0x00000043, 0x00000006, SetPartSounds, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000006, SetPartSounds, 0xFFFFFF81, 0x00000002, 0x00000002, 0x00000000, 0x00000000, 0x00000045, 0x00000002, D_8021DAC4_68A4F4, 0xFE363C8A, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0x00000002, 0xF24AAA80, 0x00000043, 0x00000007, RunPartTo, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000000, 0x00000000, 0x00000000, 0x00000004, 0x00000020, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000006, GetPartOffset, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000064, 0x00000043, 0x00000004, SetPartJumpGravity, 0xFFFFFF81, 0x00000002, 0xF24A7D4D, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x00000000, 0xFE363C82, 0x0000001E, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000001, 0x00000049, 0x00000001, 0xFE363C8A, 0x00000043, 0x00000001, YieldTurn, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021E490_68AEC0 -.word 0x00000001, 0x005A0002, 0x0000000C, 0x005A0000, 0x00000006, 0x005A0011, 0x00000009, 0x005A0002, 0x00000008, 0x005A0000, 0x0000000B, 0x005A0002, 0x00000005, 0x005A0000, 0x00000004, 0x005A0012, 0x00000003, 0x005A0012, 0x00000000 - -dlabel D_8021E4DC_68AF0C -.word 0x00000001, 0x005A000D, 0x00000000 - -dlabel D_8021E4E8_68AF18 -.word 0x00000001, 0x00000001, 0x00000000 - -dlabel D_8021E4F4_68AF24 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000032, 0x00000009, 0x0000003C, 0x00000007, 0x00000000, 0x00000004, 0x00000046, 0x00000003, 0x00000000, 0x0000000B, 0x00000050, 0x00000005, 0x00000046, 0x0000000A, 0x00000046, 0x00000008, 0x00000050, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0xFFFFFFFE, 0x00000000 - -dlabel D_8021E5A0_68AFD0 -.word 0x00800000, 0x01000000, 0xFD2300FF, D_8021E490_68AEC0, D_8021E4E8_68AF18, 0x00000000, 0x00000000, 0xFDF60000, 0x00000000, 0x00120001, 0x02000000, 0x000000FF, D_8021E4DC_68AF0C, D_8021E4E8_68AF18, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00120001, 0x03000000, 0x000000FF, D_8021E4DC_68AF0C, D_8021E4E8_68AF18, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00120001, 0x04000000, 0x000000FF, D_8021E4DC_68AF0C, D_8021E4E8_68AF18, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00120001, 0x05000000, 0x000000FF, D_8021E4DC_68AF0C, D_8021E4E8_68AF18, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00120001, 0x06000000, 0x000000FF, D_8021E4DC_68AF0C, D_8021E4E8_68AF18, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021E678_68B0A8 -.word 0x00000000, 0x004B1B0C, 0x00060000, D_8021E5A0_68AFD0, D_8021E6A0_68B0D0, D_8021E4F4_68AF24, 0x1E4B3C28, 0x5F005002, 0x1C260000, 0xF6140A23 - -dlabel D_8021E6A0_68B0D0 -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8022028C_68CCBC, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8021E704_68B134, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8021E860_68B290, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021E704_68B134 -.word 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001F, 0x00000001, 0x00001000, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFB, 0x0000000F, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x0000001C, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFD, 0x00000023, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0xFFFFFFFD, 0xFFFFFFF6, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFB, 0x0000000F, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x00000023, 0x00000000, 0x00000023, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021E860_68B290 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x005A000E, 0x00000046, 0x00000001, DoNormalHit, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x005A000F, 0x00000025, 0x00000002, 0xFE363C82, 0x005A0010, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x005A000F, 0x00000025, 0x00000002, 0xFE363C82, 0x005A0010, 0x00000046, 0x00000001, DoBurnHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x005A0010, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x005A000E, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x005A000E, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x005A000E, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x005A0015, 0x00000046, 0x00000001, DoImmune, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x005A0017, 0x00000008, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x005A000E, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x005A000E, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x005A0002, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x005A0007, 0x00000025, 0x00000002, 0xFE363C82, 0x005A000E, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x005A0007, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0xFFFFFFFE, 0x00000001, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0xFFFFFFFB, 0x00000003, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x005A000E, 0x00000046, 0x00000001, DoBlowAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x005A0002, 0x00000046, 0x00000001, DoImmune, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021ED74_68B7A4 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000058, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x0000002B, 0x00000002, 0xFE363C80, 0x00000168, 0x00000043, 0x00000006, SetPartRotation, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000059, 0x00000000, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000032, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x005A000C, 0x00000004, 0x00000001, 0x00000064, 0x00000013, 0x00000000, 0x00000058, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x0000002B, 0x00000002, 0xFE363C80, 0x00000168, 0x00000043, 0x00000006, SetPartRotation, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000059, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000017, 0x00000027, 0x00000002, 0xFE363C81, 0x00000017, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x005A000C, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000000, 0x00000003, 0x00000001, 0x00000064, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x005A0002, 0x00000057, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000002, 0xF24A7C1A, 0xF24A7C1A, 0xF24A7C1A, 0x00000012, 0x00000000, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000002, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000013, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000006, SetPartSounds, 0xFFFFFF81, 0x00000002, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtPart, 0xFFFFFF81, 0x00000002, 0x000002E9, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000024, 0x00000002, 0xFE363C81, 0x0000000A, 0x00000043, 0x00000004, SetPartJumpGravity, 0xFFFFFF81, 0x00000002, 0xF24A7FB4, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000000F, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000028, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000000F, 0x00000001, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000000A, 0x00000001, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000005, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000001, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000006, SetPartSounds, 0xFFFFFF81, 0x00000002, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtPart, 0xFFFFFF81, 0x00000002, 0x000002E9, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetPartJumpGravity, 0xFFFFFF81, 0x00000002, 0xF24A7FB4, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000000F, 0x00000001, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000000, 0x00000000, 0x80080332, 0x00000005, 0x00000020, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000006, GetPartOffset, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000032, 0x00000024, 0x00000002, 0xFE363C81, 0x0000000A, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000014, 0x00000001, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000000A, 0x00000001, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000005, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000001, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000001, YieldTurn, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021F5EC_68C01C -.word 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A8280, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x005A0002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x005A000C, 0x00000008, 0x00000001, 0x00000004, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0xFE363C80, 0x00000001, 0x00000000, 0x00000043, 0x00000006, SetPartSounds, 0xFFFFFF81, 0xFE363C80, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtPart, 0xFFFFFF81, 0xFE363C80, 0x000002E9, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000024, 0x00000002, 0xFE363C82, 0x0000000A, 0x00000043, 0x00000003, RandInt, 0x0000003C, 0xFE363C84, 0x00000024, 0x00000002, 0xFE363C85, 0x0000001E, 0x00000028, 0x00000002, 0xFE363C85, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C85, 0x00000043, 0x00000004, SetPartJumpGravity, 0xFFFFFF81, 0xFE363C80, 0xF24A7FB4, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x0000000F, 0x00000001, 0x00000028, 0x00000002, 0xFE363C81, 0x00000032, 0x00000024, 0x00000002, 0xFE363C82, 0x0000000A, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000014, 0x00000001, 0x00000028, 0x00000002, 0xFE363C81, 0x0000001E, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x0000000A, 0x00000001, 0x00000028, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000005, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0xFE363C80, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021F838_68C268 -.word 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A8280, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x005A0002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x005A000C, 0x00000008, 0x00000001, 0x00000004, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0xFE363C80, 0x00000001, 0x00000000, 0x00000043, 0x00000006, SetPartSounds, 0xFFFFFF81, 0xFE363C80, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000004, PlaySoundAtPart, 0xFFFFFF81, 0xFE363C80, 0x000002E9, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000004, SetPartJumpGravity, 0xFFFFFF81, 0xFE363C80, 0xF24A7FB4, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x0000000F, 0x00000001, 0x00000028, 0x00000002, 0xFE363C81, 0x00000032, 0x00000024, 0x00000002, 0xFE363C82, 0x0000000A, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000014, 0x00000001, 0x00000028, 0x00000002, 0xFE363C81, 0x0000001E, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x0000000A, 0x00000001, 0x00000028, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000005, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0xFE363C80, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021FA30_68C460 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x00000064, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x0000002B, 0x00000002, 0xFE363C80, 0x00000168, 0x00000043, 0x00000006, SetPartRotation, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0xFE363C80, 0x00000043, 0x00000006, SetPartRotation, 0xFFFFFF81, 0x00000003, 0x00000000, 0x00000000, 0xFE363C80, 0x00000043, 0x00000006, SetPartRotation, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000000, 0xFE363C80, 0x00000043, 0x00000006, SetPartRotation, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000000, 0xFE363C80, 0x00000043, 0x00000006, SetPartRotation, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000017, 0x00000027, 0x00000002, 0xFE363C81, 0x00000017, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000005, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000006, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000002, 0xF24A7C1A, 0xF24A7C1A, 0xF24A7C1A, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000003, 0xF24A7C1A, 0xF24A7C1A, 0xF24A7C1A, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000004, 0xF24A7C1A, 0xF24A7C1A, 0xF24A7C1A, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000005, 0xF24A7C1A, 0xF24A7C1A, 0xF24A7C1A, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000006, 0xF24A7C1A, 0xF24A7C1A, 0xF24A7C1A, 0x00000012, 0x00000000, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000002, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000003, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000004, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000005, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000006, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000013, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000044, 0x00000001, D_8021F5EC_68C01C, 0x00000008, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000044, 0x00000001, D_8021F5EC_68C01C, 0x00000008, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C80, 0x00000004, 0x00000044, 0x00000001, D_8021F5EC_68C01C, 0x00000008, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C80, 0x00000005, 0x00000044, 0x00000001, D_8021F5EC_68C01C, 0x00000008, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C80, 0x00000006, 0x00000044, 0x00000001, D_8021F5EC_68C01C, 0x00000008, 0x00000001, 0x00000005, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x005A0002, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000044, 0x00000001, D_8021F838_68C268, 0x00000008, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000044, 0x00000001, D_8021F838_68C268, 0x00000008, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C80, 0x00000004, 0x00000044, 0x00000001, D_8021F838_68C268, 0x00000008, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C80, 0x00000005, 0x00000044, 0x00000001, D_8021F838_68C268, 0x00000008, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C80, 0x00000006, 0x00000044, 0x00000001, D_8021F838_68C268, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000015, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000000, 0x00000000, 0x00000000, 0x00000002, 0x00000010, 0x00000008, 0x00000001, 0x00000005, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000000, 0x00000000, 0x00000000, 0x00000002, 0x00000040, 0x00000008, 0x00000001, 0x00000005, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000000, 0x00000000, 0x00000000, 0x00000002, 0x00000040, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x005A0002, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000000, 0x00000000, 0x00000000, 0x00000002, 0x00000040, 0x00000008, 0x00000001, 0x00000005, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000000, 0x00000000, 0x80080332, 0x00000002, 0x00000020, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000001, YieldTurn, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022028C_68CCBC -.word 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFFFFFF81, 0xFE363C81, 0x0000002E, 0x00000002, 0xFE363C80, 0xF24C0A80, 0x0000002F, 0x00000002, 0xFE363C80, 0xFE363C81, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000022, 0x00000046, 0x00000001, D_8021ED74_68B7A4, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_8021FA30_68C460, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 - -dlabel D_80220320_68CD50 -.word 0x00000001, 0x00590001, 0x0000000C, 0x00590000, 0x00000006, 0x00590011, 0x00000009, 0x00590001, 0x00000008, 0x00590000, 0x0000000B, 0x00590001, 0x00000005, 0x00590000, 0x00000004, 0x00590013, 0x00000003, 0x00590013, 0x00000000 - -dlabel D_8022036C_68CD9C -.word 0x00000001, 0x00590003, 0x0000000C, 0x00590000, 0x00000006, 0x00590011, 0x00000009, 0x00590003, 0x00000008, 0x00590000, 0x0000000B, 0x00590003, 0x00000005, 0x00590000, 0x00000004, 0x00590013, 0x00000003, 0x00590013, 0x00000000 - -dlabel D_802203B8_68CDE8 -.word 0x00000001, 0x0059000F, 0x0000000C, 0x00590010, 0x00000006, 0x00590012, 0x00000009, 0x0059000F, 0x00000008, 0x00590010, 0x0000000B, 0x0059000F, 0x00000005, 0x00590010, 0x00000004, 0x00590014, 0x00000003, 0x00590014, 0x00000000 - -dlabel D_80220404_68CE34 -.word 0x00000001, 0x00590006, 0x0000000C, 0x00590006, 0x00000006, 0x00590006, 0x00000009, 0x00590006, 0x00000008, 0x00590006, 0x0000000B, 0x00590006, 0x00000005, 0x00590006, 0x00000004, 0x00590006, 0x00000003, 0x00590006, 0x00000000 - -dlabel D_80220450_68CE80 -.word 0x00000001, 0x00000003, 0x0000000C, 0x00000003, 0x00000000 - -dlabel D_80220464_68CE94 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_80220470_68CEA0 -.word 0x00000001, 0x00000003, 0x00000002, 0x00000003, 0x00000000 - -dlabel D_80220484_68CEB4 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000032, 0x00000009, 0x0000003C, 0x00000007, 0x00000000, 0x00000004, 0x0000004B, 0x00000003, 0x00000000, 0x0000000B, 0x00000050, 0x00000005, 0x0000004B, 0x0000000A, 0x00000046, 0x00000008, 0x00000050, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0xFFFFFFFF, 0x00000000 - -dlabel D_80220530_68CF60 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000000, 0x00000009, 0x00000000, 0x00000004, 0x00000000, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x00000000, 0x0000000A, 0x00000000, 0x00000008, 0x00000000, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 - -dlabel D_802205CC_68CFFC -.word 0x00800000, 0x01000000, 0x002000FF, D_80220320_68CD50, D_80220450_68CE80, 0x00001010, 0x00000000, 0x00F40000, 0x00000000 - -dlabel D_802205F0_68D020 -.word 0x00000000, 0x004C1908, 0x00010000, D_802205CC_68CFFC, D_80220618_68D048, D_80220484_68CEB4, 0x324B413C, 0x5F005502, 0x202A0000, 0xF1200520 - -dlabel D_80220618_68D048 -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_80224684_6910B4, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8022098C_68D3BC, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80220E74_68D8A4, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_80220768_68D198, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetIndexFromHome, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000004, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000005, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000003, SetBattleVar, 0x00000006, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, SetBattleVar, 0x00000007, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80220768_68D198 -.word 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x0000000A, 0x00000016, 0x00000001, 0x0000000C, 0x00000016, 0x00000001, 0x0000000B, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802207D4_68D204 -.word 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000010, 0x00000002, 0xFE363C81, 0x00041000, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFB, 0x0000000F, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000005, dup_b_area_kpa_UnkBattleFunc1, 0xFFFFFFF6, 0x00000014, 0x0000000A, 0x00000014, 0x00000012, 0x00000000, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFC, 0x00000020, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0xFFFFFFFF, 0xFFFFFFFC, 0x00000043, 0x00000005, dup_b_area_kpa_UnkBattleFunc1, 0xFFFFFFF1, 0x00000020, 0x00000005, 0x00000020, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFB, 0x0000000F, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000005, dup_b_area_kpa_UnkBattleFunc1, 0xFFFFFFF6, 0x00000014, 0x0000000A, 0x00000014, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFC, 0x00000014, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0xFFFFFFFA, 0x00000043, 0x00000005, dup_b_area_kpa_UnkBattleFunc1, 0xFFFFFFF1, 0x00000016, 0x00000005, 0x00000016, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022098C_68D3BC -.word 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000050, 0xFE363C8A, 0x00000027, 0x00000002, 0xFE363C8A, 0x00000050, 0x00000005, 0x00000001, 0xFE363C8A, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C81, 0x00000046, 0x00000001, D_802207D4_68D204, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000010, 0x00000002, 0xFE363C81, 0x0235D000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000005, 0x00000043, 0x00000003, SetActorIdleSpeed, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_8022036C_68CD9C, 0x00000043, 0x00000005, SetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, IdleRunToGoal, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80220320_68CD50, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_802203B8_68CDE8, 0x00000023, 0x00000000, 0x00000005, 0x00000001, 0x00000014, 0x00000003, 0x00000001, 0x00000002, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C81, 0x00000046, 0x00000001, D_802207D4_68D204, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000002, 0x00000013, 0x00000000, 0x00000010, 0x00000002, 0xFE363C81, 0x0235D000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000002, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000005, 0x00000043, 0x00000003, SetActorIdleSpeed, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_8022036C_68CD9C, 0x00000043, 0x00000005, SetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, IdleRunToGoal, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80220320_68CD50, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_802203B8_68CDE8, 0x00000023, 0x00000000, 0x00000005, 0x00000001, 0x00000050, 0x00000003, 0x00000001, 0x00000003, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C81, 0x00000046, 0x00000001, D_802207D4_68D204, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000003, 0x00000013, 0x00000000, 0x00000010, 0x00000002, 0xFE363C81, 0x0235D000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000003, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80220E1C_68D84C -.word 0x00000009, 0x00000010, 0x00000016, 0x0000001A, 0x0000001E, 0x00000020, 0x00000021, 0x00000020, 0x0000001E, 0x0000001A, 0x00000016, 0x00000010, 0x00000009, 0x00000000, 0x00000004, 0x00000006, 0x00000007, 0x00000006, 0x00000004, 0x00000000, 0x00000002, 0x00000000 - -dlabel D_80220E74_68D8A4 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoNormalHit, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590006, 0x00000046, 0x00000001, DoNormalHit, 0x00000023, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000C, 0x00000025, 0x00000002, 0xFE363C82, 0x0059000D, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000C, 0x00000025, 0x00000002, 0xFE363C82, 0x0059000D, 0x00000046, 0x00000001, DoBurnHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000D, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590006, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000023, 0x00000000, 0x00000016, 0x00000001, 0x00000021, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoDeath, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590006, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590008, 0x00000008, 0x00000001, 0x00000005, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoDeath, 0x00000023, 0x00000000, 0x00000016, 0x00000001, 0x0000000D, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0x00000001, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_80220464_68CE94, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_802203B8_68CDE8, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFB, 0x0000000F, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00000010, 0x00000000, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000400, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0059000B, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x0000000C, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000004, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x0000001E, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFFFFFFE2, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFFFFFFC4, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFFFFFFB5, 0x00000008, 0x00000001, 0x00000001, 0x00000057, 0x00000000, 0x00000030, 0x00000001, D_80220E1C_68D84C, 0x00000005, 0x00000001, 0x00000016, 0x00000031, 0x00000001, 0xFE363C80, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0059000F, 0x00000016, 0x00000001, 0x0000002F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoJumpBack, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590004, 0x00000046, 0x00000001, DoReturnHome, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A80E7, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000016, 0x00000001, 0x00000026, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000013, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000002, 0x00000043, 0x00000003, SetStatusTable, 0xFFFFFF81, D_80220484_68CEB4, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_80220450_68CE80, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00001000, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80220320_68CD50, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000011, 0x00000002, 0xFE363C8A, 0x18000000, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590008, 0x00000046, 0x00000001, DoImmune, 0x00000013, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590007, 0x00000046, 0x00000001, DoImmune, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590008, 0x00000008, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000F, 0x00000046, 0x00000001, DoImmune, 0x00000016, 0x00000001, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590006, 0x00000046, 0x00000001, DoImmune, 0x00000023, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000001B, 0x00000008, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000010, 0x00000002, 0xFE363C83, 0x00080000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000010, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000010, 0x00000002, 0xFE363C83, 0x00040000, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFF2, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000010, 0x00000002, 0xFE363C83, 0x00001000, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFF2, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C8A, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000002, 0x00000027, 0x00000002, 0xFE363C81, 0x00000017, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x0000002A, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x0000001A, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000016, 0x00000001, 0x00000020, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590006, 0x00000046, 0x00000001, DoNormalHit, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590008, 0x00000008, 0x00000001, 0x00000005, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590001, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000F, 0x00000046, 0x00000001, DoImmune, 0x00000016, 0x00000001, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590006, 0x00000046, 0x00000001, DoRecover, 0x00000023, 0x00000000, 0x00000016, 0x00000001, 0x00000039, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590004, 0x00000025, 0x00000002, 0xFE363C82, 0x0059000B, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000F, 0x00000046, 0x00000001, DoImmune, 0x00000023, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590016, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000F, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000F, 0x00000046, 0x00000001, DoAirLift, 0x00000023, 0x00000000, 0x00000016, 0x00000001, 0x00000016, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590016, 0x00000016, 0x00000001, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000F, 0x00000016, 0x00000001, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000F, 0x00000023, 0x00000000, 0x00000046, 0x00000001, DoBlowAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000001F, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590001, 0x00000016, 0x00000001, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000F, 0x00000016, 0x00000001, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000F, 0x00000023, 0x00000000, 0x00000046, 0x00000001, DoImmune, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0xFFFFFFFF, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80222064_68EA94 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590006, 0x00000012, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C80, 0x00000028, 0x00000002, 0xFE363C80, 0x00000001, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C80, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A8680, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A8680, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000003E2, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0059000F, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x0000000C, 0x00000000, 0x00000056, 0x00000000, 0x00000005, 0x00000001, 0x00000005, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A8680, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020BA, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80220320_68CD50, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_80220450_68CE80, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFC, 0x00000020, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0xFFFFFFFF, 0xFFFFFFFC, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00000010, 0x00000001, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000400, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590007, 0x00000008, 0x00000001, 0x0000000A, 0x00000056, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000004, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000020, 0x00000004, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000020, 0x00000004, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000020, 0x00000004, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002021, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590006, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D3, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000004, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFFD8, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24ABA80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000005, 0x00000043, 0x00000002, SetBattleCamZoom, 0x0000012C, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000014, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000A, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590008, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000008, 0x00000001, 0x00000004, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590016, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590016, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A8280, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590016, 0x00000008, 0x00000001, 0x00000006, 0x00000028, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590016, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590001, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetPartYaw, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24ABA80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x0000FFFF, 0x00000000, 0x00000004, 0x00000020, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000028, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A81B4, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590008, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000001, YieldTurn, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590004, 0x00000046, 0x00000001, DoReturnHome, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590001, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80222DB8_68F7E8 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002D8, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000A, 0x00000043, 0x0000000F, PlayEffect, 0x0000006B, 0x00000006, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7E80, 0x0000002D, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590015, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590007, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000010, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020BA, 0x00000043, 0x00000003, b_area_kpa_StartRumbleWithParams, 0x00000080, 0x0000000A, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A7C80, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590006, 0x00000043, 0x00000003, SetStatusTable, 0xFFFFFF81, D_80220530_68CF60, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_80220470_68CEA0, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00001000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80220404_68CE34, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000001, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000005, 0x00000001, 0x00000014, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000037C, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000004, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000056, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x0000000D, 0x00000002, 0xFE363C80, 0xFE363C83, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000005, 0x00000001, 0x0000001E, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x00000007, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFF38, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24ABA80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000011, 0x00000002, 0xFE363C8A, 0x18000000, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0x0000012C, 0x00000000, 0x00000000, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24ABA80, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590008, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetStatusTable, 0xFFFFFF81, D_80220484_68CEB4, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_80220450_68CE80, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00001000, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80220320_68CD50, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000056, 0x00000000, 0x00000005, 0x00000001, 0x0000001E, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x00000007, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24ABA80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x0000FFFF, 0x00000000, 0x0000000A, 0x00000020, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000056, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000010, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x0000003C, 0x00000027, 0x00000002, 0xFE363C80, 0x00000012, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000032, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000001E, 0x00000000, 0x00000001, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000028, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000014, 0x00000000, 0x00000001, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000011, 0x00000002, 0xFE363C8A, 0x18000000, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0x0000012C, 0x00000000, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590004, 0x00000046, 0x00000001, DoReturnHome, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590001, 0x00000043, 0x00000003, SetStatusTable, 0xFFFFFF81, D_80220484_68CEB4, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_80220450_68CE80, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00001000, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80220320_68CD50, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80223ADC_69050C -.word 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetOriginalActorType, 0xFE363C80, 0xFE363C82, 0x00000014, 0x00000001, 0xFE363C82, 0x0000001D, 0x00000001, 0x00000010, 0x0000001D, 0x00000001, 0x00000049, 0x00000024, 0x00000002, 0xFE363C8A, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E281, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E282, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E283, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E284, 0x00000000, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetIndexFromHome, 0xFE363C80, 0xFE363C81, 0x0000002B, 0x00000002, 0xFE363C81, 0x00000004, 0x00000014, 0x00000001, 0xFE363C81, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E281, 0x00000001, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFBD3E282, 0x00000001, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFBD3E283, 0x00000001, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFBD3E284, 0x00000001, 0x00000023, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E281, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E282, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E283, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000002, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E284, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000003, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80223DEC_69081C -.word 0x00000000, 0xFFFFFC18, 0x00000000 - -dlabel D_80223DF8_690828 -.word D_802205F0_68D020, D_80223DEC_69081C, 0x00000064, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80223E14_690844 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002E5, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590002, 0x00000008, 0x00000001, 0x00000014, 0x00000005, 0x00000001, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590002, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002E5, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590009, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590002, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002E5, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590009, 0x00000008, 0x00000001, 0x00000008, 0x00000006, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000F, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x00000011, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000206D, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590016, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000010, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SummonEnemy, D_80223DF8_690828, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000027, 0x00000002, 0xFE363C81, 0x000000C8, 0x00000043, 0x00000005, SetActorPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000003, SetGoalToIndex, 0xFE363C80, 0xFE363C8A, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C80, 0x000020D3, 0x00000043, 0x00000005, SetActorSounds, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFE363C80, 0x00000001, 0x00590006, 0x00000043, 0x00000003, SetActorSpeed, 0xFE363C80, 0xF24A9280, 0x00000043, 0x00000004, RunToGoal, 0xFE363C80, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFE363C80, 0x00000001, 0x00590008, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFE363C80, 0x00000001, 0x00590001, 0x00000043, 0x00000005, GetActorPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000005, ForceHomePos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000002, HPBarToHome, 0xFE363C80, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C81, 0x00000014, 0x00000001, 0xFE363C81, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFE363C80, 0x00000001, 0x00000001, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFE363C80, 0x00000001, 0x00000002, 0x00000023, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C81, 0x00000043, 0x00000004, SetActorVar, 0xFE363C80, 0x00000002, 0xFE363C81, 0x00000014, 0x00000001, 0xFE363C81, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetBattleVar, 0x00000004, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000004, 0xFE363C80, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetBattleVar, 0x00000005, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000005, 0xFE363C80, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000003, GetBattleVar, 0x00000006, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000006, 0xFE363C80, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, GetBattleVar, 0x00000007, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000007, 0xFE363C80, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80224434_690E64 -.word 0x00000024, 0x00000002, 0xFE363C89, 0x00000000, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetOriginalActorType, 0xFE363C80, 0xFE363C82, 0x00000014, 0x00000001, 0xFE363C82, 0x00000016, 0x00000001, 0x0000004C, 0x00000043, 0x00000003, GetStatusFlags, 0xFE363C80, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x0035D000, 0x00000043, 0x00000004, GetActorVar, 0xFE363C80, 0x00000000, 0xFE363C83, 0x0000000A, 0x00000002, 0xFE363C83, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFE363C80, 0x00000001, 0xFE363C83, 0x00000014, 0x00000001, 0xFE363C83, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C83, 0x00000014, 0x00000001, 0xFE363C83, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetBattleVar, 0x00000004, 0xFE363C84, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetBattleVar, 0x00000005, 0xFE363C84, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000003, GetBattleVar, 0x00000006, 0xFE363C84, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, GetBattleVar, 0x00000007, 0xFE363C84, 0x00000023, 0x00000000, 0x0000000C, 0x00000002, 0xFE363C84, 0x00000002, 0x00000027, 0x00000002, 0xFE363C89, 0x00000001, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000023, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80224684_6910B4 -.word 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_80222064_68EA94, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetBattleVar, 0x00000001, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetBattleVar, 0x00000004, 0xFE363C81, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetBattleVar, 0x00000005, 0xFE363C81, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000003, GetBattleVar, 0x00000006, 0xFE363C81, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, GetBattleVar, 0x00000007, 0xFE363C81, 0x00000023, 0x00000000, 0x0000000F, 0x00000002, 0xFE363C81, 0x00000002, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000012C, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_80222DB8_68F7E8, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_80222064_68EA94, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000012C, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_80222DB8_68F7E8, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_80222064_68EA94, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x00000046, 0x00000001, D_80223ADC_69050C, 0x0000000A, 0x00000002, 0xFE363C8A, 0xFFFFFFFF, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000012C, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_80222DB8_68F7E8, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_80222064_68EA94, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80224434_690E64, 0x00000014, 0x00000001, 0xFE363C89, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000190, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_80223E14_690844, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000000C8, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_80223E14_690844, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000064, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_80223E14_690844, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000012C, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_80222DB8_68F7E8, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_80222064_68EA94, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetBattleVar, 0x00000004, 0xFE363C81, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetBattleVar, 0x00000005, 0xFE363C81, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000003, GetBattleVar, 0x00000006, 0xFE363C81, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, GetBattleVar, 0x00000007, 0xFE363C81, 0x00000023, 0x00000000, 0x0000000F, 0x00000002, 0xFE363C81, 0x00000002, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000012C, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_80222DB8_68F7E8, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_80222064_68EA94, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_80222064_68EA94, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x00000046, 0x00000001, D_80223ADC_69050C, 0x0000000A, 0x00000002, 0xFE363C8A, 0xFFFFFFFF, 0x00000046, 0x00000001, D_80222064_68EA94, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80224434_690E64, 0x00000014, 0x00000001, 0xFE363C89, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000190, 0x00000046, 0x00000001, D_80223E14_690844, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000000C8, 0x00000046, 0x00000001, D_80223E14_690844, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000064, 0x00000046, 0x00000001, D_80223E14_690844, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000046, 0x00000001, D_80222064_68EA94, 0x00000016, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_80222DB8_68F7E8, 0x00000023, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_80222064_68EA94, 0x00000016, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_80222DB8_68F7E8, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80224F20_691950 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_80224F2C_69195C -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_80224F38_691968 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000028, 0x00000009, 0x00000032, 0x00000007, 0x00000000, 0x00000004, 0x0000004B, 0x00000003, 0x00000000, 0x0000000B, 0x00000032, 0x00000005, 0x0000004B, 0x0000000A, 0x0000003C, 0x00000008, 0x00000050, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0xFFFFFFFF, 0x00000027, 0xFFFFFFFF, 0x00000029, 0xFFFFFFFE, 0x00000000 - -dlabel D_80224FE4_691A14 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000028, 0x00000009, 0x00000032, 0x00000007, 0x00000000, 0x00000004, 0x00000064, 0x00000003, 0x00000000, 0x0000000B, 0x00000032, 0x00000005, 0x0000004B, 0x0000000A, 0x0000003C, 0x00000008, 0x00000050, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0xFFFFFFFF, 0x00000027, 0xFFFFFFFF, 0x00000029, 0xFFFFFFFE, 0x00000000 - -dlabel D_80225090_691AC0 -.word 0x00800000, 0x01000000, 0x022300FF, D_80225170_691BA0, D_80224F20_691950, 0x00000000, 0x00000000, 0xFBF40000, 0x00000000 - -dlabel D_802250B4_691AE4 -.word 0x00020001, 0x01000000, 0x022300FF, D_80225170_691BA0, D_80224F2C_69195C, 0x00000000, 0x00000000, 0xFBF40000, 0x00000000, 0x00800000, 0x02000000, 0xF62300FF, D_802251BC_691BEC, D_80224F2C_69195C, 0x00800000, 0x00000000, 0x00F80000, 0x00000000, 0x00020001, 0x03000000, 0x000000FF, D_80225208_691C38, D_80224F2C_69195C, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80225120_691B50 -.word 0x00000000, 0x004D1A0B, 0x00010000, D_80225090_691AC0, D_80225D60_692790, D_80224F38_691968, 0x28504628, 0x5F005002, 0x24280000, 0xF6140A20 - -dlabel D_80225148_691B78 -.word 0x00000200, 0x004E1A0B, 0x00030000, D_802250B4_691AE4, D_80225F20_692950, D_80224FE4_691A14, 0x28554B28, 0x5F005002, 0x30280000, 0xE7140122 - -dlabel D_80225170_691BA0 -.word 0x00000001, 0x00560001, 0x0000000C, 0x00560000, 0x00000006, 0x00560008, 0x00000009, 0x00560001, 0x00000008, 0x00560000, 0x0000000B, 0x00560001, 0x00000005, 0x00560000, 0x00000004, 0x00560007, 0x00000003, 0x00560007, 0x00000000 - -dlabel D_802251BC_691BEC -.word 0x00000001, 0x00570001, 0x0000000C, 0x00570000, 0x00000006, 0x00570008, 0x00000009, 0x00570001, 0x00000008, 0x00570000, 0x0000000B, 0x00570001, 0x00000005, 0x00570000, 0x00000004, 0x00570007, 0x00000003, 0x00570007, 0x00000000 - -dlabel D_80225208_691C38 -.word 0x00000001, 0x0057000A, 0x00000000 - -dlabel D_80225214_691C44 -.word 0x00000024, 0x00000002, 0xFE363C8F, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C80, 0x00000043, 0x00000003, ActorExists, 0xFE363C80, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000008, b_area_kpa_CosInterpMinMax, 0xFE363C8F, 0xFE363C81, 0xF24E7280, 0xF24C0A80, 0x00000014, 0x00000000, 0x00000000, 0x00000027, 0x00000002, 0xFE363C8F, 0x00000001, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C82, 0x00000010, 0x00000002, 0xFE363C82, 0x00000200, 0x00000043, 0x00000004, SetPartAlpha, 0xFFFFFF81, 0x00000002, 0xFE363C81, 0x00000043, 0x00000004, SetPartAlpha, 0xFE363C80, 0x00000001, 0xFE363C81, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetPartAlpha, 0xFFFFFF81, 0x00000001, 0xFE363C81, 0x00000043, 0x00000004, SetPartAlpha, 0xFE363C80, 0x00000001, 0xFE363C81, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8F, 0x00000000, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C82, 0x00000010, 0x00000002, 0xFE363C82, 0x00000200, 0x00000043, 0x00000004, SetPartAlpha, 0xFFFFFF81, 0x00000002, 0x000000FF, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetPartAlpha, 0xFFFFFF81, 0x00000001, 0x000000FF, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802253E4_691E14 -.word 0x00000043, 0x00000002, GetBattleFlags, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000010, 0x00000002, 0xFE363C80, 0x00000240, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000002, b_area_kpa_GetSelectedMoveID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000083, 0x0000001D, 0x00000001, 0x00000084, 0x0000001D, 0x00000001, 0x00000085, 0x0000001D, 0x00000001, 0x00000088, 0x00000043, 0x00000002, GetBattleFlags, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00000240, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802254F0_691F20 -.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560004, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, GetLastElement, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00000400, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560004, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000002, func_8027D32C, 0xFFFFFF81, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000003, 0xF24A7C1A, 0xF24A7C1A, 0xF24A7C1A, 0x00000013, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000001, 0x00800000, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000001, 0x00020001, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000002, 0x00020001, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000002, 0x00800000, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000003, 0x00100000, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C82, 0x00000001, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000301, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7DB4, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, dup_b_area_kpa_StartRumbleWithParams, 0x00000096, 0x0000000A, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A7D4D, 0x00000057, 0x00000000, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C83, 0x0000000A, 0x00000002, 0xFE363C83, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560004, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000027, 0x00000002, 0xFE363C84, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C85, 0x00000005, 0x00000043, 0x0000000F, PlayEffect, 0x00000027, 0x00000000, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0xF24A7E80, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000005, 0x00000001, 0x00000014, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560001, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000200, 0x00000000, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80226338_692D68, 0x00000043, 0x00000003, SetActorType, 0xFFFFFF81, 0x0000004D, 0x00000043, 0x00000003, SetStatusTable, 0xFFFFFF81, D_80224F38_691968, 0x00000043, 0x00000005, dup2_b_area_kpa_UnkBattleFunc1, 0xFFFFFFF6, 0x00000014, 0x0000000A, 0x00000020, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00001000, 0x00000001, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000003, GetIndexFromPos, 0xFFFFFF81, 0xFE363C80, 0x0000002B, 0x00000002, 0xFE363C80, 0x00000004, 0x00000043, 0x00000003, SetGoalToIndex, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8A80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, ForceHomePos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80225AEC_69251C -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, func_8027D32C, 0xFFFFFF81, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000039, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000F, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000003, EnableActorBlur, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24AA280, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x000000C8, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000046, 0x00000001, ForceNextTarget, 0x00000043, 0x00000002, func_8027D32C, 0xFFFFFF81, 0x00000043, 0x00000002, RemoveActor, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80225D10_692740 -.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000040, 0x00000002, 0xFE363C80, 0xFFFFFFFE, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80225D60_692790 -.word 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_80225214_691C44, 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8022B784_6981B4, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80226338_692D68, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_80225D10_692740, 0x00000043, 0x00000003, GetBattleVar, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000002, 0xFFFFFFFF, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000003, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000007, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0xFFFFFFFF, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000B, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80225F20_692950 -.word 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_80225214_691C44, 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8022B784_6981B4, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80226A50_693480, 0x00000043, 0x00000003, GetBattleVar, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000002, 0xFFFFFFFF, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000003, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000007, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0xFFFFFFFF, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000B, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802260CC_692AFC -.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C80, 0x00000043, 0x00000003, ActorExists, 0xFE363C80, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000002, GetLastElement, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x20000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000002, GetBattleFlags, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00000100, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C80, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0xFFFFFFFF, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00000200, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000002, 0x00400000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000002, RemoveActor, 0xFE363C80, 0x00000056, 0x00000000, 0x00000027, 0x00000002, 0xFE363C83, 0x00000002, 0x00000005, 0x00000001, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000001, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226338_692D68 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetPartAlpha, 0xFFFFFF81, 0x00000001, 0x000000FF, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000009, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000042, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560004, 0x00000046, 0x00000001, DoNormalHit, 0x0000001D, 0x00000001, 0x0000000A, 0x0000001D, 0x00000001, 0x0000003D, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560004, 0x00000046, 0x00000001, DoNormalHit, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560005, 0x00000025, 0x00000002, 0xFE363C82, 0x00560006, 0x00000046, 0x00000001, DoBurnHit, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560005, 0x00000025, 0x00000002, 0xFE363C82, 0x00560006, 0x00000046, 0x00000001, DoBurnHit, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560006, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560004, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560004, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560004, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000017, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560001, 0x00000046, 0x00000001, DoImmune, 0x00000016, 0x00000001, 0x00000019, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560001, 0x00000046, 0x00000001, DoImmune, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560004, 0x00000046, 0x00000001, DoNormalHit, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560004, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560001, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560004, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A8080, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560002, 0x00000046, 0x00000001, D_80225AEC_69251C, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560002, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000006, SetPartDispOffset, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000006, SetPartDispOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFC, 0x00000005, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560004, 0x00000046, 0x00000001, DoBlowAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560001, 0x00000046, 0x00000001, DoImmune, 0x00000016, 0x00000001, 0x00000013, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560004, 0x00000046, 0x00000001, DoNormalHit, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226A50_693480 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetPartAlpha, 0xFFFFFF81, 0x00000002, 0x000000FF, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000009, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000042, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000046, 0x00000001, D_802253E4_691E14, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570004, 0x00000046, 0x00000001, DoNormalHit, 0x0000001D, 0x00000001, 0x0000000A, 0x0000001D, 0x00000001, 0x0000000C, 0x00000046, 0x00000001, D_802253E4_691E14, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570004, 0x00000046, 0x00000001, DoNormalHit, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x00000046, 0x00000001, D_802254F0_691F20, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000003D, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570004, 0x00000046, 0x00000001, DoNormalHit, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x0000001D, 0x00000001, 0x0000000E, 0x0000001D, 0x00000001, 0x0000000F, 0x00000046, 0x00000001, D_802253E4_691E14, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570005, 0x00000025, 0x00000002, 0xFE363C82, 0x00570006, 0x00000046, 0x00000001, DoBurnHit, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x00000046, 0x00000001, D_802254F0_691F20, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570005, 0x00000025, 0x00000002, 0xFE363C82, 0x00570006, 0x00000046, 0x00000001, DoBurnHit, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570006, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570004, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570004, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570004, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000017, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570001, 0x00000046, 0x00000001, DoImmune, 0x00000016, 0x00000001, 0x00000019, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570001, 0x00000046, 0x00000001, DoImmune, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570004, 0x00000046, 0x00000001, DoNormalHit, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570004, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000038, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0x00000014, 0x00000000, 0x00000000, 0x00000043, 0x00000002, HPBarToCurrent, 0xFFFFFF81, 0x00000016, 0x00000001, 0x00000035, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570001, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8A80, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570001, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570001, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570004, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A8080, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570002, 0x00000046, 0x00000001, D_80225AEC_69251C, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570002, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000006, SetPartDispOffset, 0xFFFFFF81, 0x00000002, 0xFFFFFFFD, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000006, SetPartDispOffset, 0xFFFFFF81, 0x00000002, 0xFFFFFFF1, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570004, 0x00000046, 0x00000001, DoBlowAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570001, 0x00000046, 0x00000001, DoImmune, 0x00000016, 0x00000001, 0x00000013, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570004, 0x00000046, 0x00000001, DoNormalHit, 0x00000046, 0x00000001, D_802260CC_692AFC, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802272C0_693CF0 -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000B, 0x00000000, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000F, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560002, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570002, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D4, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000C, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000007, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000010, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001F, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000007, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000E, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000007, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000007, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560001, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570001, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C8B, 0x0000206D, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C8B, 0x00000214, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C8B, 0x0000025C, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000001, 0x00000043, 0x00000004, HealActor, 0xFE363C8B, 0x00000005, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000001, WaitForBuffDone, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000A, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022784C_69427C -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000B, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000F, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560002, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570002, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D4, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000C, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000007, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000010, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001F, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000007, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000E, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000007, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000007, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560001, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570001, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetOriginalActorType, 0xFE363C80, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000047, 0x00000043, 0x00000004, GetActorVar, 0xFE363C80, 0x00000008, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C80, 0x0000206D, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C80, 0x00000214, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C80, 0x0000025C, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000001, 0x00000043, 0x00000004, HealActor, 0xFE363C80, 0x00000003, 0x00000001, 0x00000043, 0x00000002, func_8026BF48, 0x00000000, 0x00000057, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000001, WaitForBuffDone, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000A, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227EEC_69491C -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000B, 0x00000002, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E281, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x0000000A, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C8A, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00000200, 0x00000024, 0x00000002, 0xFBD3E281, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFE363C8A, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000001, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000A, 0x00000013, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D4, 0x0000000A, 0x00000002, 0xFBD3E281, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFE363C8A, 0x00000001, 0x00560002, 0x00000043, 0x00000005, GetActorPos, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000011, 0x00000027, 0x00000002, 0xFE363C81, 0x00000021, 0x00000043, 0x0000000F, PlayEffect, 0x00000047, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7C80, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560002, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000010, 0x00000002, 0xFE363C83, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000D, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000011, 0x00000027, 0x00000002, 0xFE363C81, 0x00000021, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000047, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7C80, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFE363C8A, 0x00000001, 0x00570002, 0x00000043, 0x00000005, GetActorPos, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000043, 0x0000000F, PlayEffect, 0x00000047, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7C80, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570002, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000010, 0x00000002, 0xFE363C83, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000E, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000047, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7C80, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C89, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C89, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C8A, 0x000020D5, 0x00000013, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D5, 0x0000000A, 0x00000002, 0xFBD3E281, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFE363C8A, 0x00000001, 0x00560003, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560003, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFE363C8A, 0x00000001, 0x00570003, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570003, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000028, 0x00000002, 0xFE363C84, 0x00000032, 0x00000024, 0x00000002, 0xFE363C85, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E281, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000005, GetActorPos, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x00000008, b_area_kpa_ShrinkActor, 0xFE363C80, 0xFE363C81, 0xFE363C86, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x0000001E, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000010, 0x00000002, 0xFE363C83, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000008, 0x00000027, 0x00000002, 0xFE363C81, 0x00000008, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000013, 0x00000000, 0x00000043, 0x00000008, b_area_kpa_ShrinkActor, 0xFE363C80, 0xFE363C81, 0xFE363C86, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x0000001E, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000005, GetActorPos, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x00000008, b_area_kpa_ShrinkActor, 0xFE363C80, 0xFE363C81, 0xFE363C86, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x0000001E, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000010, 0x00000002, 0xFE363C83, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000008, 0x00000027, 0x00000002, 0xFE363C81, 0x00000008, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000013, 0x00000000, 0x00000043, 0x00000008, b_area_kpa_ShrinkActor, 0xFE363C80, 0xFE363C81, 0xFE363C86, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x0000001E, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000032, 0x0000000A, 0x00000002, 0xFE363C89, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFE363C8A, 0x00000001, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C8A, 0x000020D5, 0x00000013, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D5, 0x0000000A, 0x00000002, 0xFBD3E281, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFE363C8A, 0x00000001, 0x00560003, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560003, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFE363C8A, 0x00000001, 0x00570003, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570003, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x0000000A, 0x00000002, 0xFBD3E281, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000005, GetActorPos, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x00000008, b_area_kpa_ShrinkActor, 0xFE363C80, 0xFE363C81, 0xFE363C86, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000014, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000010, 0x00000002, 0xFE363C83, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000008, 0x00000027, 0x00000002, 0xFE363C81, 0x00000008, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000013, 0x00000000, 0x00000043, 0x00000008, b_area_kpa_ShrinkActor, 0xFE363C80, 0xFE363C81, 0xFE363C86, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000014, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000005, GetActorPos, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x00000008, b_area_kpa_ShrinkActor, 0xFE363C80, 0xFE363C81, 0xFE363C86, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000014, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000010, 0x00000002, 0xFE363C83, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000008, 0x00000027, 0x00000002, 0xFE363C81, 0x00000008, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000013, 0x00000000, 0x00000043, 0x00000008, b_area_kpa_ShrinkActor, 0xFE363C80, 0xFE363C81, 0xFE363C86, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000014, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000012, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000010, 0x00000000, 0x00000000, 0x00000006, 0x00000020, 0x00000012, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000010, 0x00000000, 0x00000000, 0x00000006, 0x00000020, 0x00000013, 0x00000000, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000001, YieldTurn, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFE363C8A, 0x00000001, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80228DA4_6957D4 -.word 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetIndexFromHome, 0xFE363C80, 0xFE363C81, 0x0000002B, 0x00000002, 0xFE363C81, 0x00000004, 0x00000014, 0x00000001, 0xFE363C81, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E28B, 0x00000001, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFBD3E28C, 0x00000001, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFBD3E28D, 0x00000001, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFBD3E28E, 0x00000001, 0x00000023, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000043, 0x00000003, GetIndexFromHome, 0xFFFFFF81, 0xFE363C81, 0x0000002B, 0x00000002, 0xFE363C81, 0x00000004, 0x00000014, 0x00000001, 0xFE363C81, 0x00000016, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E28C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFBD3E28B, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E28D, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x0000000A, 0x00000002, 0xFBD3E28C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E28E, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x0000000A, 0x00000002, 0xFBD3E28D, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C81, 0x00000010, 0x00000002, 0xFE363C81, 0x00000200, 0x00000027, 0x00000002, 0xFE363C80, 0x00000004, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022908C_695ABC -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022909C_695ACC -.word 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8022908C_695ABC, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802290D8_695B08 -.word 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8022908C_695ABC, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80229114_695B44 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_80229120_695B50 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_8022912C_695B5C -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000000, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x00000000, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x00000000, 0x0000000A, 0x00000000, 0x00000008, 0x00000000, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 - -dlabel D_802291D8_695C08 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000000, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x00000000, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x00000000, 0x0000000A, 0x00000000, 0x00000008, 0x00000000, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 - -dlabel D_80229284_695CB4 -.word 0x00800000, 0x01000000, 0x022300FF, D_80225170_691BA0, D_80229114_695B44, 0x00000020, 0x00000000, 0xFBF40000, 0x00000000 - -dlabel D_802292A8_695CD8 -.word 0x00800000, 0x01000000, 0xF62300FF, D_802251BC_691BEC, D_80229120_695B50, 0x00000020, 0x00000000, 0x00F80000, 0x00000000 - -dlabel D_802292CC_695CFC -.word 0x00200000, 0x004F1A0B, 0x00010000, D_80229284_695CB4, D_8022909C_695ACC, D_8022912C_695B5C, 0x28000000, 0x00004B00, 0x24280000, 0xF6140A20 - -dlabel D_802292F4_695D24 -.word 0x00200200, 0x00501A0B, 0x00010000, D_802292A8_695CD8, D_802290D8_695B08, D_802291D8_695C08, 0x28000000, 0x00004B02, 0x30280000, 0xE7140122 - -dlabel D_8022931C_695D4C -.word 0x00000000, 0xFFFFFC18, 0x00000000 - -dlabel D_80229328_695D58 -.word D_802292CC_695CFC, D_8022931C_695D4C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80229344_695D74 -.word D_802292F4_695D24, D_8022931C_695D4C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80229360_695D90 -.word 0x00000043, 0x00000004, CountPlayerTargets, 0xFFFFFF81, 0x00008002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_80225AEC_69251C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000B, 0x00000003, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00000200, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000003, SummonEnemy, D_80229328_695D58, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SummonEnemy, D_80229344_695D74, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000019, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D6, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560002, 0x00000043, 0x00000004, SetAnimation, 0xFE363C8A, 0x00000001, 0x00560002, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000017, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570002, 0x00000043, 0x00000004, SetAnimation, 0xFE363C8A, 0x00000001, 0x00570002, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000017, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x0000006B, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7E80, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, EnableIdleScript, 0xFE363C89, 0x00000001, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C82, 0xFFFFFFFD, 0x00000043, 0x00000005, SetActorPos, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C8A, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D7, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C89, 0x000020D7, 0x00000043, 0x00000005, SetPartFlagBits, 0xFE363C89, 0x00000001, 0x00800000, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000001F4, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8280, 0x00000046, 0x00000001, D_80228DA4_6957D4, 0x00000043, 0x00000003, SetGoalToIndex, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFE363C89, 0xF24A8280, 0x00000046, 0x00000001, D_80228DA4_6957D4, 0x00000043, 0x00000003, SetGoalToIndex, 0xFE363C89, 0xFE363C80, 0x00000043, 0x00000005, FlyToGoal, 0xFE363C89, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFE363C89, 0x00000001, 0x00800000, 0x00000001, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000003, SetEnemyHP, 0xFE363C89, 0xFE363C80, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, ForceHomePos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetActorPos, 0xFE363C89, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, ForceHomePos, 0xFE363C89, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, HPBarToHome, 0xFE363C89, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000001, 0x00000012, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000002, 0x00400000, 0x00000001, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560001, 0x00000043, 0x00000004, SetAnimation, 0xFE363C89, 0x00000001, 0x00560001, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570001, 0x00000043, 0x00000004, SetAnimation, 0xFE363C89, 0x00000001, 0x00570001, 0x00000013, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFE363C89, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80229A20_696450 -.word 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000003, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetIndexFromHome, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetBattleVar, 0x00000002, 0xFE363C82, 0x0000000D, 0x00000002, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, b_area_kpa_UnkFunc52, 0xFE363C80, 0xFE363C83, 0x0000000A, 0x00000002, 0xFE363C83, 0x00000000, 0x00000043, 0x00000003, GetActorAttackBoost, 0xFE363C80, 0xFE363C84, 0x0000000C, 0x00000002, 0xFE363C84, 0x00000003, 0x00000024, 0x00000002, 0xFE363C88, 0xFE363C80, 0x00000043, 0x00000003, SetBattleVar, 0x00000002, 0xFE363C81, 0x00000004, 0x00000001, 0x00000064, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000002, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000043, 0x00000004, CountPlayerTargets, 0xFFFFFF81, 0x00008002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_80225AEC_69251C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80227EEC_69491C, 0x00000002, 0x00000000, 0x00000003, 0x00000001, 0x00000064, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000B, 0x00000004, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000005, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000F, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560002, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570002, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D4, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000C, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000005, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000010, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001F, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000005, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000E, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000005, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000005, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560001, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570001, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C88, 0x000002DD, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000001, 0x00000043, 0x00000003, BoostAttack, 0xFE363C88, 0x00000001, 0x00000043, 0x00000002, func_8026BF48, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000001, WaitForBuffDone, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022A168_696B98 -.word 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000003, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetIndexFromHome, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetBattleVar, 0x00000002, 0xFE363C82, 0x0000000D, 0x00000002, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, b_area_kpa_UnkFunc52, 0xFE363C80, 0xFE363C83, 0x0000000A, 0x00000002, 0xFE363C83, 0x00000000, 0x00000043, 0x00000003, GetActorDefenseBoost, 0xFE363C80, 0xFE363C84, 0x0000000C, 0x00000002, 0xFE363C84, 0x00000003, 0x00000024, 0x00000002, 0xFE363C88, 0xFE363C80, 0x00000043, 0x00000003, SetBattleVar, 0x00000002, 0xFE363C81, 0x00000004, 0x00000001, 0x00000064, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000002, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000043, 0x00000004, CountPlayerTargets, 0xFFFFFF81, 0x00008002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_80225AEC_69251C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80227EEC_69491C, 0x00000002, 0x00000000, 0x00000003, 0x00000001, 0x00000064, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000B, 0x00000005, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000006, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000F, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560002, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570002, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D4, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000C, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000005, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000010, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001F, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000005, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000E, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000005, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000005, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560001, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570001, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C88, 0x000002DD, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000001, 0x00000043, 0x00000003, BoostDefense, 0xFE363C88, 0x00000001, 0x00000043, 0x00000002, func_8026BF48, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000001, WaitForBuffDone, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022A8B0_6972E0 -.word 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000003, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetIndexFromHome, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetBattleVar, 0x00000002, 0xFE363C82, 0x0000000D, 0x00000002, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, b_area_kpa_UnkFunc52, 0xFE363C80, 0xFE363C83, 0x0000000A, 0x00000002, 0xFE363C83, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFE363C80, 0xFE363C84, 0x00000011, 0x00000002, 0xFE363C84, 0x04002000, 0x00000024, 0x00000002, 0xFE363C88, 0xFE363C80, 0x00000043, 0x00000003, SetBattleVar, 0x00000002, 0xFE363C81, 0x00000004, 0x00000001, 0x00000064, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000002, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000043, 0x00000004, CountPlayerTargets, 0xFFFFFF81, 0x00008002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_80225AEC_69251C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80227EEC_69491C, 0x00000002, 0x00000000, 0x00000003, 0x00000001, 0x00000064, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000B, 0x00000006, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000007, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000F, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560002, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570002, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002F0, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000C, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000057, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000010, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001F, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000057, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000E, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000057, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000057, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560001, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570001, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000005, 0x00000001, 0x00000004, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C88, 0x000003D2, 0x00000043, 0x00000003, RandInt, 0x00000003, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000003, 0x00000008, 0x00000001, 0xFE363C80, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000001, 0x00000043, 0x00000003, ElectrifyActor, 0xFE363C88, 0x00000003, 0x00000043, 0x00000002, func_8026BF48, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000001, WaitForBuffDone, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022B03C_697A6C -.word 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000003, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetIndexFromHome, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetBattleVar, 0x00000002, 0xFE363C82, 0x0000000D, 0x00000002, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, b_area_kpa_UnkFunc52, 0xFE363C80, 0xFE363C83, 0x0000000A, 0x00000002, 0xFE363C83, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFE363C80, 0xFE363C84, 0x00000011, 0x00000002, 0xFE363C84, 0x04002000, 0x00000024, 0x00000002, 0xFE363C88, 0xFE363C80, 0x00000043, 0x00000003, SetBattleVar, 0x00000002, 0xFE363C81, 0x00000004, 0x00000001, 0x00000064, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000002, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000043, 0x00000004, CountPlayerTargets, 0xFFFFFF81, 0x00008002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_80225AEC_69251C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80227EEC_69491C, 0x00000002, 0x00000000, 0x00000003, 0x00000001, 0x00000064, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000B, 0x00000007, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000008, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000F, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560002, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570002, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D4, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000C, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000006, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000010, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001F, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000006, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000E, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000006, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000006, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560001, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570001, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C88, 0x000002DB, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000001, 0x00000043, 0x00000003, VanishActor, 0xFE363C88, 0x00000002, 0x00000043, 0x00000002, func_8026BF48, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000001, WaitForBuffDone, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022B784_6981B4 -.word 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_80227EEC_69491C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x0000000A, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000004, 0x00000001, 0x00000014, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetOriginalActorType, 0xFE363C80, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000047, 0x00000043, 0x00000004, GetActorVar, 0xFE363C80, 0x00000008, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetActorHP, 0xFE363C80, 0xFE363C82, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFE363C80, 0xFE363C83, 0x0000002E, 0x00000002, 0xFE363C82, 0xF24C0A80, 0x0000002F, 0x00000002, 0xFE363C82, 0xFE363C83, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x0000000E, 0x00000002, 0xFE363C82, 0x00000019, 0x00000043, 0x00000003, RandInt, 0x00000063, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C84, 0x00000001, 0x0000000C, 0x00000002, 0xFE363C84, 0x0000004B, 0x00000027, 0x00000002, 0xFE363C8A, 0x00000001, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C80, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x0000000D, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetOriginalActorType, 0xFE363C80, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000047, 0x00000043, 0x00000004, GetActorVar, 0xFE363C80, 0x00000008, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetActorHP, 0xFE363C80, 0xFE363C82, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFE363C80, 0xFE363C83, 0x0000002E, 0x00000002, 0xFE363C82, 0xF24C0A80, 0x0000002F, 0x00000002, 0xFE363C82, 0xFE363C83, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x0000000E, 0x00000002, 0xFE363C82, 0x00000014, 0x00000043, 0x00000003, RandInt, 0x00000063, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C84, 0x00000001, 0x0000000C, 0x00000002, 0xFE363C84, 0x00000050, 0x00000027, 0x00000002, 0xFE363C8A, 0x00000001, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C80, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x0000000D, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetOriginalActorType, 0xFE363C80, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000047, 0x00000043, 0x00000004, GetActorVar, 0xFE363C80, 0x00000008, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetActorHP, 0xFE363C80, 0xFE363C82, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFE363C80, 0xFE363C83, 0x0000002E, 0x00000002, 0xFE363C82, 0xF24C0A80, 0x0000002F, 0x00000002, 0xFE363C82, 0xFE363C83, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x0000000E, 0x00000002, 0xFE363C82, 0x0000000F, 0x00000043, 0x00000003, RandInt, 0x00000063, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C84, 0x00000001, 0x0000000C, 0x00000002, 0xFE363C84, 0x00000064, 0x00000027, 0x00000002, 0xFE363C8A, 0x00000001, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C80, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000002, 0x00000013, 0x00000000, 0x0000000D, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000004, 0x00000001, 0x00000014, 0x00000003, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, CountPlayerTargets, 0xFFFFFF81, 0x00008002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_80225AEC_69251C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000002, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000001F4, 0x00000046, 0x00000001, D_802272C0_693CF0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000002, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000001F4, 0x00000046, 0x00000001, D_8022784C_69427C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000002, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000001F4, 0x00000046, 0x00000001, D_8022784C_69427C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000002, 0x00000026, 0x00000002, 0xFE363C89, 0xF24C0A80, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x0000000B, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetOriginalActorType, 0xFE363C80, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000047, 0x00000043, 0x00000004, GetActorVar, 0xFE363C80, 0x00000008, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetActorHP, 0xFE363C80, 0xFE363C82, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFE363C80, 0xFE363C83, 0x0000002E, 0x00000002, 0xFE363C82, 0xF24C0A80, 0x0000002F, 0x00000002, 0xFE363C82, 0xFE363C83, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x0000000E, 0x00000002, 0xFE363C82, 0xFE363C89, 0x00000026, 0x00000002, 0xFE363C89, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C80, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x0000000B, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000001F4, 0x00000046, 0x00000001, D_802272C0_693CF0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000003, 0x00000001, 0x00000014, 0x00000024, 0x00000002, 0xFE363C8A, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C8B, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C8C, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C8D, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C8E, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x0000000A, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000064, 0x00000024, 0x00000002, 0xFE363C8B, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8D, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8E, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8F, 0x00000000, 0x00000004, 0x00000001, 0x0000007B, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_80228DA4_6957D4, 0x0000000A, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000024, 0x00000002, 0xFE363C8B, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8B, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x0000000B, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000004, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000005, 0xFE363C81, 0x0000000C, 0x00000002, 0xFE363C81, 0x00000003, 0x00000043, 0x00000003, RandInt, 0x00000063, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x0000000E, 0x00000002, 0xFE363C80, 0x00000032, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8B, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8C, 0x00000064, 0x00000024, 0x00000002, 0xFE363C8D, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8E, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8F, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000005, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000006, 0xFE363C81, 0x0000000C, 0x00000002, 0xFE363C81, 0x00000003, 0x00000043, 0x00000003, RandInt, 0x00000063, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x0000000E, 0x00000002, 0xFE363C80, 0x00000032, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8B, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8D, 0x00000064, 0x00000024, 0x00000002, 0xFE363C8E, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8F, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000005, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000006, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C8D, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000007, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C8E, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C8F, 0x00000000, 0x00000013, 0x00000000, 0x00000003, 0x00000001, 0x0000007B, 0x00000024, 0x00000002, 0xFE363C89, 0x00000000, 0x00000027, 0x00000002, 0xFE363C89, 0xFE363C8A, 0x00000027, 0x00000002, 0xFE363C89, 0xFE363C8B, 0x00000027, 0x00000002, 0xFE363C89, 0xFE363C8C, 0x00000027, 0x00000002, 0xFE363C89, 0xFE363C8D, 0x00000027, 0x00000002, 0xFE363C89, 0xFE363C8E, 0x00000027, 0x00000002, 0xFE363C89, 0xFE363C8F, 0x00000028, 0x00000002, 0xFE363C89, 0x00000001, 0x00000043, 0x00000003, RandInt, 0xFE363C89, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x0000000E, 0x00000002, 0xFE363C80, 0xFE363C8A, 0x00000046, 0x00000001, D_80227EEC_69491C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000027, 0x00000002, 0xFE363C8A, 0xFE363C8B, 0x0000000E, 0x00000002, 0xFE363C80, 0xFE363C8A, 0x00000046, 0x00000001, D_80229360_695D90, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000027, 0x00000002, 0xFE363C8A, 0xFE363C8C, 0x0000000E, 0x00000002, 0xFE363C80, 0xFE363C8A, 0x00000046, 0x00000001, D_80229A20_696450, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000027, 0x00000002, 0xFE363C8A, 0xFE363C8D, 0x0000000E, 0x00000002, 0xFE363C80, 0xFE363C8A, 0x00000046, 0x00000001, D_8022A168_696B98, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000027, 0x00000002, 0xFE363C8A, 0xFE363C8E, 0x0000000E, 0x00000002, 0xFE363C80, 0xFE363C8A, 0x00000046, 0x00000001, D_8022A8B0_6972E0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_8022B03C_697A6C, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 - -dlabel D_8022C810_699240 -.word 0x00000001, 0x00000000, 0x00000003, 0xFFFFFFFE, 0x00000004, 0xFFFFFFFE, 0x00000002, 0x00000063, 0x00000000 - -dlabel D_8022C834_699264 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000000, 0x00000009, 0x00000032, 0x00000007, 0x00000000, 0x00000004, 0x00000064, 0x00000003, 0x00000000, 0x0000000B, 0x00000032, 0x00000005, 0x00000000, 0x0000000A, 0x0000005A, 0x00000008, 0x00000055, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000001, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 - -dlabel D_8022C8E0_699310 -.word 0x00800000, 0x01000000, 0xFE1900FF, D_8022C9BC_6993EC, D_8022C810_699240, 0x00000002, 0x00000000, 0xFDF60000, 0x00000000, 0x00120001, 0x02000000, 0x001800FF, D_8022CA08_699438, D_8022C810_699240, 0x00000000, 0x00000000, 0xFFF60000, 0x00000000, 0x00120001, 0x03000000, 0x001800FF, D_8022CA08_699438, D_8022C810_699240, 0x00000000, 0x00000000, 0xFFF60000, 0x00000000, 0x00120001, 0x04000000, 0x001800FF, D_8022CA08_699438, D_8022C810_699240, 0x00000000, 0x00000000, 0xFFF60000, 0x00000000, 0x00120001, 0x05000000, 0x001800FF, D_8022CA08_699438, D_8022C810_699240, 0x00000000, 0x00000000, 0xFFF60000, 0x00000000 - -dlabel D_8022C994_6993C4 -.word 0x00000200, 0x0045180A, 0x00050000, D_8022C8E0_699310, D_8022CA14_699444, D_8022C834_699264, 0x3C504B32, 0x5F005002, 0x21200000, 0xF6140A14 - -dlabel D_8022C9BC_6993EC -.word 0x00000001, 0x00460101, 0x0000000C, 0x00460100, 0x00000006, 0x00460101, 0x00000009, 0x00460101, 0x00000008, 0x00460100, 0x0000000B, 0x00460101, 0x00000005, 0x00460100, 0x00000004, 0x0046010A, 0x00000003, 0x0046010A, 0x00000000 - -dlabel D_8022CA08_699438 -.word 0x00000001, 0x00460101, 0x00000000 - -dlabel D_8022CA14_699444 -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8022EDE4_69B814, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8022CBDC_69960C, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8022D41C_699E4C, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000002, 0xF24A7C80, 0xF24A7C80, 0xF24A7C80, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000003, 0xF24A7C80, 0xF24A7C80, 0xF24A7C80, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000004, 0xF24A7C80, 0xF24A7C80, 0xF24A7C80, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000005, 0xF24A7C80, 0xF24A7C80, 0xF24A7C80, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000005, 0x00000043, 0x00000005, ForceHomePos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022CBDC_69960C -.word 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0x0000000A, 0x00000019, 0x0000000A, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000005, GetHomePos, 0xFFFFFF81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C83, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0xFE363C82, 0xFE363C80, 0xFE363C84, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000003, 0x00000001, 0x0000000B, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000004, 0x00000001, 0x0000000B, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000004, 0x00000001, 0x0000000B, 0x00000013, 0x00000000, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x0000000A, 0x00000000, 0x00000019, 0x0000000A, 0x00000003, 0x00000001, 0x00000002, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000005, GetHomePos, 0xFFFFFF81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C83, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0xFE363C82, 0xFE363C80, 0xFE363C84, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000003, 0x00000001, 0x00000016, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000004, 0x00000001, 0x00000016, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000004, 0x00000001, 0x00000016, 0x00000013, 0x00000000, 0x00000004, 0x00000001, 0x00000002, 0x00000013, 0x00000000, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022CE5C_69988C -.word 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00460103, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000056, 0x00000000, 0x00000043, 0x00000001, b_area_kpa_UnkSfxFunc, 0x00000057, 0x00000000, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0x00000001, 0x0000000B, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00460101, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022CEF8_699928 -.word 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C85, 0x00000043, 0x00000003, GetIndexFromHome, 0xFE363C80, 0xFE363C85, 0x0000002B, 0x00000002, 0xFE363C85, 0x00000004, 0x00000014, 0x00000001, 0xFE363C85, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E281, 0x00000001, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFBD3E282, 0x00000001, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFBD3E283, 0x00000001, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFBD3E284, 0x00000001, 0x00000023, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E281, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E282, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E283, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000002, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E284, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000003, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022D0F4_699B24 -.word 0x00000000, 0xFFFFFC18, 0x00000000 - -dlabel D_8022D100_699B30 -.word D_8022C994_6993C4, D_8022D0F4_699B24, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8022D11C_699B4C -.word 0x00000043, 0x00000003, GetLastDamage, 0xFFFFFF81, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C80, 0x0000000E, 0x00000002, 0xFE363C80, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, GetLastElement, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x20000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000002, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_8022CEF8_699928, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000001, 0x0000001D, 0x00000001, 0x00000002, 0x0000001D, 0x00000001, 0x00000003, 0x00000043, 0x00000003, SummonEnemy, D_8022D100_699B30, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFE363C80, 0x00000002, 0x00000001, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C8B, 0x00000043, 0x00000003, SetEnemyHP, 0xFE363C80, 0xFE363C8B, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C8B, 0xFE363C8C, 0xFE363C8D, 0x00000043, 0x00000005, SetActorPos, 0xFE363C80, 0xFE363C8B, 0xFE363C8C, 0xFE363C8D, 0x00000043, 0x00000003, SetGoalToIndex, 0xFE363C80, 0xFE363C8A, 0x00000043, 0x00000005, GetGoalPos, 0xFE363C80, 0xFE363C8B, 0xFE363C8C, 0xFE363C8D, 0x00000043, 0x00000005, SetHomePos, 0xFE363C80, 0xFE363C8B, 0xFE363C8C, 0xFE363C8D, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFE363C80, 0xF24A7F4D, 0x00000043, 0x00000006, JumpToGoal, 0xFE363C80, 0x00000014, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, HPBarToHome, 0xFE363C80, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C81, 0x00000014, 0x00000001, 0xFE363C81, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFE363C80, 0x00000001, 0x00000001, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFE363C80, 0x00000001, 0x00000002, 0x00000023, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000003, 0x00000043, 0x00000004, SetActorVar, 0xFE363C80, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022D41C_699E4C -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000044, 0x00000001, D_8022D11C_699B4C, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00460107, 0x00000046, 0x00000001, DoNormalHit, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000044, 0x00000001, D_8022D11C_699B4C, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00460108, 0x00000025, 0x00000002, 0xFE363C82, 0x00460109, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00460108, 0x00000025, 0x00000002, 0xFE363C82, 0x00460109, 0x00000046, 0x00000001, DoBurnHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00460109, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000044, 0x00000001, D_8022D11C_699B4C, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00460107, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00460107, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00460107, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002F, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000759, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00460107, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00460107, 0x00000046, 0x00000001, DoJumpBack, 0x00000046, 0x00000001, D_8022CE5C_69988C, 0x00000016, 0x00000001, 0x00000026, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000759, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00460107, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00460107, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x0000001D, 0x00000001, 0x0000001C, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00460101, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00460107, 0x00000046, 0x00000001, DoNormalHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00460107, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000038, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0x00000014, 0x00000000, 0x00000000, 0x00000043, 0x00000002, HPBarToCurrent, 0xFFFFFF81, 0x00000016, 0x00000001, 0x00000035, 0x00000046, 0x00000001, D_8022CE5C_69988C, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00460101, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00460103, 0x00000025, 0x00000002, 0xFE363C82, 0x00460107, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00460103, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00460103, 0x00000046, 0x00000001, DoBlowAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003D, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022D9C4_69A3F4 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00460103, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000024, 0x00000002, 0xFE363C81, 0x00000005, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000056, 0x00000000, 0x00000043, 0x00000001, b_area_kpa_UnkSfxFunc, 0x00000057, 0x00000000, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x0000000B, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00460101, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00460104, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000027, 0x00000002, 0xFE363C82, 0x00000001, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000003, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x0000000E, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000046, 0x00000001, D_8022CE5C_69988C, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0xFFFFFFFF, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00460104, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C82, 0x00000001, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A80E7, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000002, 0x00000000, 0x00000000, 0x00000004, 0x00000020, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00460104, 0x00000046, 0x00000001, DoJumpBack, 0x00000008, 0x00000001, 0x00000005, 0x00000046, 0x00000001, D_8022CE5C_69988C, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0xFFFFFFFF, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022DFB4_69A9E4 -.word 0x00000024, 0x00000002, 0xFE363C86, 0x00000002, 0x00000005, 0x00000001, 0x00000004, 0x00000056, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0xFE363C86, 0xF24A7B4D, 0xF24A7B4D, 0xF24A7B4D, 0x00000012, 0x00000000, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0xFE363C86, 0xF24A7C80, 0xF24A7C80, 0xF24A7C80, 0x00000013, 0x00000000, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0xFE363C86, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0xFE363C86, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetPartMoveSpeed, 0xFFFFFF81, 0xFE363C86, 0xF24A9A80, 0x00000043, 0x00000004, SetPartJumpGravity, 0xFFFFFF81, 0xFE363C86, 0xF24A7A8B, 0x00000043, 0x00000006, SetPartSounds, 0xFFFFFF81, 0xFE363C86, 0x00000002, 0x000002D0, 0x00000000, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0xFE363C86, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0xFE363C86, 0x00000001, 0x00000001, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000003, 0x00000027, 0x00000002, 0xFE363C86, 0x00000001, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022E158_69AB88 -.word 0x00000044, 0x00000001, D_8022DFB4_69A9E4, 0x00000043, 0x00000003, GetDistanceToGoal, 0xFFFFFF81, 0xFE363C80, 0x0000002F, 0x00000002, 0xFE363C80, 0xF24A9A80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x00000008, 0x00000001, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022E1B4_69ABE4 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000100, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C8A, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000001, 0x00000027, 0x00000002, 0xFE363C80, 0x00000064, 0x00000024, 0x00000002, 0xFE363C81, 0x00000005, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000024, 0x00000002, 0xFE363C81, 0x00000032, 0x00000013, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00460103, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000056, 0x00000000, 0x00000043, 0x00000001, b_area_kpa_UnkSfxFunc, 0x00000057, 0x00000000, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0xFFFFFFFC, 0x0000000B, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00460101, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00460105, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00460106, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000005, 0x00000027, 0x00000002, 0xFE363C81, 0x00000004, 0x00000027, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000028, 0x00000002, 0xFE363C83, 0x00000064, 0x00000027, 0x00000002, 0xFE363C85, 0x00000002, 0x00000046, 0x00000001, D_8022E158_69AB88, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000046, 0x00000001, D_8022CE5C_69988C, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00460106, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000005, 0x00000027, 0x00000002, 0xFE363C81, 0x00000004, 0x00000027, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000028, 0x00000002, 0xFE363C84, 0x00000006, 0x00000027, 0x00000002, 0xFE363C85, 0x00000002, 0x00000046, 0x00000001, D_8022E158_69AB88, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000002, 0x00000000, 0x00000000, 0x00000003, 0x00000020, 0x00000008, 0x00000001, 0x00000014, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000046, 0x00000001, D_8022CE5C_69988C, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022E728_69B158 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00460103, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x0000001E, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8E80, 0x00000056, 0x00000000, 0x00000043, 0x00000001, b_area_kpa_UnkSfxFunc, 0x00000057, 0x00000000, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0xFFFFFFFC, 0x0000000B, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002CF, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8E80, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A81B4, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00460104, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, ResetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002EF, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00460104, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0xFFFFFFF6, 0x00000004, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000046, 0x00000001, D_8022CE5C_69988C, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0xFFFFFFFF, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002CF, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8E80, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A81B4, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00460104, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, ResetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C8C, 0xFE363C82, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002EF, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0xFFFFFFF6, 0x00000004, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000002, 0x00000000, 0x00000000, 0x00000004, 0x00000020, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0xFFFFFFF6, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000046, 0x00000001, D_8022CE5C_69988C, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0xFFFFFFFF, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022EDE4_69B814 -.word 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8022D9C4_69A3F4, 0x00000016, 0x00000001, 0x00000000, 0x00000046, 0x00000001, D_8022E728_69B158, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetStatusFlags, 0x00000100, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x01000000, 0x00000046, 0x00000001, D_8022D9C4_69A3F4, 0x00000012, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000E, 0x00000002, 0xFE363C80, 0x0000012C, 0x00000046, 0x00000001, D_8022E1B4_69ABE4, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_8022D9C4_69A3F4, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0x00000100, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x01000000, 0x00000046, 0x00000001, D_8022E728_69B158, 0x00000012, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000E, 0x00000002, 0xFE363C80, 0x0000012C, 0x00000046, 0x00000001, D_8022E1B4_69ABE4, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_8022E728_69B158, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 - -dlabel D_8022EFE0_69BA10 -.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C8A, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0x00000001, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0x00008000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022F090_69BAC0 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000024, 0x00000000, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000025, 0x00000044, 0x00000001, D_8022EFE0_69BA10, 0x00000008, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C80, 0x00000027, 0x00000044, 0x00000001, D_8022EFE0_69BA10, 0x00000057, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022F134_69BB64 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022F144_69BB74 -.word 0x00000018, 0x00000017, 0x00000016, 0x00000000 - -dlabel D_8022F154_69BB84 -.word D_80231F70_69E9A0, D_80231F60_69E990, D_80231F50_69E980, D_8022F090_69BAC0, D_8022F134_69BB64, 0x00000000, D_8022F144_69BB74, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8022F180_69BBB0 -.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C8A, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0x00000001, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0x00008000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022F230_69BC60 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000019, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000025, 0x00000044, 0x00000001, D_8022F180_69BBB0, 0x00000024, 0x00000002, 0xFE363C80, 0x00000027, 0x00000044, 0x00000001, D_8022F180_69BBB0, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022F2B8_69BCE8 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022F2C8_69BCF8 -.word 0x00000018, 0x00000017, 0x00000016, 0x00000000 - -dlabel D_8022F2D8_69BD08 -.word D_80231F98_69E9C8, D_80231F88_69E9B8, D_80231F78_69E9A8, D_8022F230_69BC60, D_8022F2B8_69BCE8, 0x00000000, D_8022F2C8_69BCF8, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C8C, 0xFE363C83, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C80, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0xFE363C8A, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C8B, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C8C, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022F3D0_69BE00 -.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C8C, 0xFE363C83, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C80, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0xFE363C8A, 0x00000000, 0xFE363C80, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0xFE363C8A, 0x00000001, 0xFE363C81, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C8B, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C8C, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022F4BC_69BEEC -.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C8C, 0xFE363C83, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C80, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0xFE363C8A, 0x00000000, 0x00000000, 0xFE363C80, 0x00000043, 0x00000005, SetTexPanOffset, 0xFE363C8A, 0x00000001, 0x00000000, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C8B, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C8C, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022F5A8_69BFD8 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000010, 0x00000024, 0x00000002, 0xFE363C81, 0x00000001, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFFE70, 0x00000024, 0x00000002, 0xFE363C83, 0xFFFFFCE0, 0x00000044, 0x00000001, D_8022F3D0_69BE00, 0x00000024, 0x00000002, 0xFE363C80, 0x00000013, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFFE70, 0x00000024, 0x00000002, 0xFE363C83, 0xFFFFFCE0, 0x00000044, 0x00000001, D_8022F3D0_69BE00, 0x00000024, 0x00000002, 0xFE363C80, 0x00000011, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFFE70, 0x00000024, 0x00000002, 0xFE363C83, 0xFFFFFCE0, 0x00000044, 0x00000001, D_8022F4BC_69BEEC, 0x00000024, 0x00000002, 0xFE363C80, 0x00000012, 0x00000024, 0x00000002, 0xFE363C81, 0x00000002, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFFE70, 0x00000024, 0x00000002, 0xFE363C83, 0xFFFFFCE0, 0x00000044, 0x00000001, D_8022F4BC_69BEEC, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022F714_69C144 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022F724_69C154 -.word 0x0000000D, 0x00000000 - -dlabel D_8022F72C_69C15C -.word D_80231FC0_69E9F0, D_80231FB0_69E9E0, D_80231FA0_69E9D0, D_8022F5A8_69BFD8, D_8022F714_69C144, 0x00000000, D_8022F724_69C154, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8022F760_69C190 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, func_80253734, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022F7AC_69C1DC -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022F7BC_69C1EC -.word 0x00000019, 0x00000000 - -dlabel D_8022F7C4_69C1F4 -.word D_80231FE8_69EA18, D_80231FD8_69EA08, D_80231FC8_69E9F8, D_8022F760_69C190, D_8022F7AC_69C1DC, 0x00000000, D_8022F7BC_69C1EC, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8022F7F0_69C220 -.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C8A, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0x00000001, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0x00008000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022F8A0_69C2D0 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x0000000F, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000011, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000010, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x0000001A, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000014, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000016, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000018, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000020, 0x00000044, 0x00000001, D_8022F7F0_69C220, 0x00000024, 0x00000002, 0xFE363C80, 0x00000022, 0x00000044, 0x00000001, D_8022F7F0_69C220, 0x00000024, 0x00000002, 0xFE363C80, 0x00000024, 0x00000044, 0x00000001, D_8022F7F0_69C220, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022F9D0_69C400 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022F9E0_69C410 -.word D_80232010_69EA40, D_80232000_69EA30, D_80231FF0_69EA20, D_8022F8A0_69C2D0, D_8022F9D0_69C400, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8022FA10_69C440 -.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C8A, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0x00000001, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0x00008000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022FAC0_69C4F0 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x0000000D, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000011, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000010, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000014, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000016, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000018, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000020, 0x00000044, 0x00000001, D_8022FA10_69C440, 0x00000024, 0x00000002, 0xFE363C80, 0x00000022, 0x00000044, 0x00000001, D_8022FA10_69C440, 0x00000024, 0x00000002, 0xFE363C80, 0x00000024, 0x00000044, 0x00000001, D_8022FA10_69C440, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022FBDC_69C60C -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022FBEC_69C61C -.word D_80232038_69EA68, D_80232028_69EA58, D_80232018_69EA48, D_8022FAC0_69C4F0, D_8022FBDC_69C60C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8022FC20_69C650 -.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C8A, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0x00000001, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0x00008000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022FCD0_69C700 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x0000001E, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000027, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000026, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000024, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000022, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000020, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000012, 0x00000044, 0x00000001, D_8022FC20_69C650, 0x00000024, 0x00000002, 0xFE363C80, 0x00000014, 0x00000044, 0x00000001, D_8022FC20_69C650, 0x00000024, 0x00000002, 0xFE363C80, 0x00000016, 0x00000044, 0x00000001, D_8022FC20_69C650, 0x00000024, 0x00000002, 0xFE363C80, 0x00000018, 0x00000044, 0x00000001, D_8022FC20_69C650, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022FDF4_69C824 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022FE04_69C834 -.word D_80232060_69EA90, D_80232050_69EA80, D_80232040_69EA70, D_8022FCD0_69C700, D_8022FDF4_69C824, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8022FE30_69C860 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022FE6C_69C89C -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022FE7C_69C8AC -.word 0x00000010, 0x00000000 - -dlabel D_8022FE84_69C8B4 -.word D_80232088_69EAB8, D_80232078_69EAA8, D_80232068_69EA98, D_8022FE30_69C860, D_8022FE6C_69C89C, 0x00000000, D_8022FE7C_69C8AC, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8022FEB0_69C8E0 -.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C8C, 0xFE363C83, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C80, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0xFE363C8A, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C8B, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C8C, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C8C, 0xFE363C83, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C80, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0xFE363C8A, 0x00000000, 0xFE363C80, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0xFE363C8A, 0x00000001, 0xFE363C81, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C8B, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C8C, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C8C, 0xFE363C83, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C80, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0xFE363C8A, 0x00000000, 0x00000000, 0xFE363C80, 0x00000043, 0x00000005, SetTexPanOffset, 0xFE363C8A, 0x00000001, 0x00000000, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C8B, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C8C, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80230158_69CB88 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000010, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFFF38, 0x00000024, 0x00000002, 0xFE363C83, 0x00000000, 0x00000044, 0x00000001, D_8022FEB0_69C8E0, 0x00000024, 0x00000002, 0xFE363C80, 0x00000011, 0x00000024, 0x00000002, 0xFE363C81, 0x00000001, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFFF88, 0x00000024, 0x00000002, 0xFE363C83, 0x00000000, 0x00000044, 0x00000001, D_8022FEB0_69C8E0, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000002, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFFF9C, 0x00000024, 0x00000002, 0xFE363C83, 0x00000000, 0x00000044, 0x00000001, D_8022FEB0_69C8E0, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80230278_69CCA8 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80230288_69CCB8 -.word 0x00000011, 0x00000000 - -dlabel D_80230290_69CCC0 -.word D_802320B0_69EAE0, D_802320A0_69EAD0, D_80232090_69EAC0, D_80230158_69CB88, D_80230278_69CCA8, 0x00000000, D_80230288_69CCB8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802302C0_69CCF0 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802302FC_69CD2C -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8023030C_69CD3C -.word 0x00000016, 0x00000000 - -dlabel D_80230314_69CD44 -.word D_802320D8_69EB08, D_802320C8_69EAF8, D_802320B8_69EAE8, D_802302C0_69CCF0, D_802302FC_69CD2C, 0x00000000, D_8023030C_69CD3C, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230340_69CD70 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8023037C_69CDAC -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8023038C_69CDBC -.word 0x0000000C, 0x00000000 - -dlabel D_80230394_69CDC4 -.word D_80232100_69EB30, D_802320F0_69EB20, D_802320E0_69EB10, D_80230340_69CD70, D_8023037C_69CDAC, 0x00000000, D_8023038C_69CDBC, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802303C0_69CDF0 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802303FC_69CE2C -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8023040C_69CE3C -.word 0x0000000A, 0x00000000 - -dlabel D_80230414_69CE44 -.word D_80232128_69EB58, D_80232118_69EB48, D_80232108_69EB38, D_802303C0_69CDF0, D_802303FC_69CE2C, 0x00000000, D_8023040C_69CE3C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C8A, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0x00000001, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0x00008000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802304F0_69CF20 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8023052C_69CF5C -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8023053C_69CF6C -.word D_80232150_69EB80, D_80232140_69EB70, D_80232130_69EB60, D_802304F0_69CF20, D_8023052C_69CF5C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C8A, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0x00000001, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0x00008000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80230620_69D050 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8023065C_69D08C -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8023066C_69D09C -.word D_80232178_69EBA8, D_80232168_69EB98, D_80232158_69EB88, D_80230620_69D050, D_8023065C_69D08C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802306A0_69D0D0 -.word D_80218A48_685478, 0x00000001, 0x0000000A, 0x00000001, 0x00000000, 0x00000000, 0x00000000, D_80218A48_685478, 0x00000002, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802306D8_69D108 -.word D_80218A48_685478, 0x00000000, 0x0000000A, 0x00000001, 0x00000000, 0x00000000, 0x00000000, D_80218A48_685478, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80218A48_685478, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8023072C_69D15C -.word D_80218A48_685478, 0x00000000, 0x0000000A, 0x00000001, 0x00000000, 0x00000000, 0x00000000, D_8021CC5C_68968C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021CC5C_68968C, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230780_69D1B0 -.word D_80218A48_685478, 0x00000000, 0x0000000A, 0x00000001, 0x00000000, 0x00000000, 0x00000000, D_80218A48_685478, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021CC5C_68968C, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802307D4_69D204 -.word D_80218A48_685478, 0x00000000, 0x0000000A, 0x00000001, 0x00000000, 0x00000000, 0x00000000, D_80218A48_685478, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230828_69D258 -.word D_80218A48_685478, 0x00000000, 0x0000000A, 0x00000001, 0x00000000, 0x00000000, 0x00000000, D_80218A48_685478, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80218A48_685478, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000003, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230898_69D2C8 -.word D_80218A48_685478, 0x00000000, 0x0000000A, 0x00000001, 0x00000000, 0x00000000, 0x00000000, D_8021CC5C_68968C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80218A48_685478, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000003, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230908_69D338 -.word D_8021CC5C_68968C, 0x00000001, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021CC5C_68968C, 0x00000002, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230940_69D370 -.word D_8021CC5C_68968C, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021CC5C_68968C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021CC5C_68968C, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230994_69D3C4 -.word D_8021CC5C_68968C, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021CC5C_68968C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021CC5C_68968C, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021CC5C_68968C, 0x00000003, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230A04_69D434 -.word D_8021CC5C_68968C, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8022C994_6993C4, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8022C994_6993C4, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8022C994_6993C4, 0x00000003, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230A74_69D4A4 -.word D_8021CC5C_68968C, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021CC5C_68968C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230AC8_69D4F8 -.word D_8021CC5C_68968C, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230B1C_69D54C -.word D_8021CC5C_68968C, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021CC5C_68968C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80218A48_685478, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230B70_69D5A0 -.word D_8021CC5C_68968C, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021CC5C_68968C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80218A48_685478, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80218A48_685478, 0x00000003, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230BE0_69D610 -.word D_8021E678_68B0A8, 0x00000001, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021E678_68B0A8, 0x00000002, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230C18_69D648 -.word D_8021E678_68B0A8, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021E678_68B0A8, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021E678_68B0A8, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230C6C_69D69C -.word D_8021E678_68B0A8, 0x00000001, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000002, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230CA4_69D6D4 -.word D_8021E678_68B0A8, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021E678_68B0A8, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230CF8_69D728 -.word D_8021E678_68B0A8, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230D4C_69D77C -.word D_8021E678_68B0A8, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021CC5C_68968C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021E678_68B0A8, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000003, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230DBC_69D7EC -.word D_8021E678_68B0A8, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021E678_68B0A8, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225148_691B78, 0x00000006, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230E10_69D840 -.word D_8021E678_68B0A8, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021E678_68B0A8, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021E678_68B0A8, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225148_691B78, 0x00000007, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230E80_69D8B0 -.word D_802205F0_68D020, 0x00000001, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230E9C_69D8CC -.word D_802205F0_68D020, 0x00000001, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000002, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230ED4_69D904 -.word D_802205F0_68D020, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230F28_69D958 -.word D_802205F0_68D020, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000003, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230F98_69D9C8 -.word D_802205F0_68D020, 0x00000001, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021E678_68B0A8, 0x00000002, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80230FD0_69DA00 -.word D_802205F0_68D020, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021E678_68B0A8, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021E678_68B0A8, 0x00000003, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80231040_69DA70 -.word 0x00000005, 0x00000000, 0xFFFFFFEC - -dlabel D_8023104C_69DA7C -.word 0x0000002D, 0x00000000, 0xFFFFFFF6 - -dlabel D_80231058_69DA88 -.word 0x00000055, 0x00000000, 0x00000000 - -dlabel D_80231064_69DA94 -.word 0x0000007D, 0x00000000, 0x00000005 - -dlabel D_80231070_69DAA0 -.word D_802205F0_68D020, D_80231040_69DA70, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, D_8023104C_69DA7C, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, D_80231058_69DA88, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, D_80231064_69DA94, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802310E0_69DB10 -.word D_802205F0_68D020, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000003, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021E678_68B0A8, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000003, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802311C0_69DBF0 -.word D_802205F0_68D020, 0x00000001, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80218A48_685478, 0x00000002, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802311F8_69DC28 -.word D_802205F0_68D020, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80218A48_685478, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8023124C_69DC7C -.word D_802205F0_68D020, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80218A48_685478, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80218A48_685478, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802312A0_69DCD0 -.word D_802205F0_68D020, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80218A48_685478, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802312F4_69DD24 -.word D_802205F0_68D020, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021CC5C_68968C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021CC5C_68968C, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80231348_69DD78 -.word D_802205F0_68D020, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225148_691B78, 0x00000007, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802313B8_69DDE8 -.word D_802205F0_68D020, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000003, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80231428_69DE58 -.word D_80225120_691B50, 0x00000001, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000002, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80231460_69DE90 -.word D_80225120_691B50, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802314B4_69DEE4 -.word D_80225120_691B50, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225148_691B78, 0x00000005, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225148_691B78, 0x00000006, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80231508_69DF38 -.word D_80225120_691B50, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225148_691B78, 0x00000006, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225148_691B78, 0x00000007, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80231578_69DFA8 -.word D_80225120_691B50, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000003, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802315E8_69E018 -.word D_80225120_691B50, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021CC5C_68968C, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8023163C_69E06C -.word D_80225120_691B50, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80218A48_685478, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80231690_69E0C0 -.word D_80225120_691B50, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80218A48_685478, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80218A48_685478, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000003, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80231700_69E130 -.word D_80225120_691B50, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225148_691B78, 0x00000006, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80231754_69E184 -.word D_80225120_691B50, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000003, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802317C4_69E1F4 -.word D_80225148_691B78, 0x00000005, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225148_691B78, 0x00000006, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802317FC_69E22C -.word D_80225148_691B78, 0x00000004, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225148_691B78, 0x00000005, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225148_691B78, 0x00000006, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80231850_69E280 -.word D_80225148_691B78, 0x00000004, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225148_691B78, 0x00000006, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225120_691B50, 0x00000003, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802318C0_69E2F0 -.word D_80225148_691B78, 0x00000004, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80231914_69E344 -.word D_80225148_691B78, 0x00000005, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021E678_68B0A8, 0x00000002, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8023194C_69E37C -.word D_80225148_691B78, 0x00000004, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021CC5C_68968C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021CC5C_68968C, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802319A0_69E3D0 -.word D_80225148_691B78, 0x00000004, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802205F0_68D020, 0x00000001, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225148_691B78, 0x00000006, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802319F4_69E424 -.word D_80225148_691B78, 0x00000004, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021E678_68B0A8, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021E678_68B0A8, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80225148_691B78, 0x00000007, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8023274C_69F17C, 0x00000002, D_802306A0_69D0D0, D_8022F154_69BB84, 0x00000000, D_8023273C_69F16C, 0x00000003, D_802306D8_69D108, D_8022F154_69BB84, 0x00000000, D_80232724_69F154, 0x00000003, D_8023072C_69D15C, D_8022F154_69BB84, 0x00000000, D_8023270C_69F13C, 0x00000003, D_80230780_69D1B0, D_8022F154_69BB84, 0x00000000, D_802326F4_69F124, 0x00000003, D_802307D4_69D204, D_8022F154_69BB84, 0x00000000, D_802326DC_69F10C, 0x00000004, D_80230828_69D258, D_8022F154_69BB84, 0x00000000, D_802326B4_69F0E4, 0x00000004, D_80230898_69D2C8, D_8022F154_69BB84, 0x00000000, D_802326A8_69F0D8, 0x00000002, D_80230908_69D338, D_8022F154_69BB84, 0x00000000, D_8023269C_69F0CC, 0x00000003, D_80230940_69D370, D_8022F154_69BB84, 0x00000000, D_80232690_69F0C0, 0x00000004, D_80230994_69D3C4, D_8022F154_69BB84, 0x00000000, D_8023267C_69F0AC, 0x00000004, D_80230A04_69D434, D_8022F154_69BB84, 0x00000000, D_80232668_69F098, 0x00000003, D_80230A74_69D4A4, D_8022F154_69BB84, 0x00000000, D_80232654_69F084, 0x00000003, D_80230AC8_69D4F8, D_8022F154_69BB84, 0x00000000, D_8023263C_69F06C, 0x00000003, D_80230B1C_69D54C, D_8022F154_69BB84, 0x00000000, D_80232624_69F054, 0x00000004, D_80230B70_69D5A0, D_8022F154_69BB84, 0x00000000, D_80232610_69F040, 0x00000002, D_80230BE0_69D610, D_8022F154_69BB84, 0x00000000, D_802325FC_69F02C, 0x00000003, D_80230C18_69D648, D_8022F154_69BB84, 0x00000000, D_802325E4_69F014, 0x00000002, D_80230C6C_69D69C, D_8022F154_69BB84, 0x00000000, D_802325C8_69EFF8, 0x00000003, D_80230CA4_69D6D4, D_8022F154_69BB84, 0x00000000, D_802325AC_69EFDC, 0x00000003, D_80230CF8_69D728, D_8022F154_69BB84, 0x00000000, D_8023257C_69EFAC, 0x00000004, D_80230D4C_69D77C, D_8022F154_69BB84, 0x00000000, D_80232554_69EF84, 0x00000003, D_80230DBC_69D7EC, D_8022F154_69BB84, 0x00000000, D_8023252C_69EF5C, 0x00000004, D_80230E10_69D840, D_8022F154_69BB84, 0x00000000, D_80232520_69EF50, 0x00000001, D_80230E80_69D8B0, D_8022F154_69BB84, 0x00000000, D_80232514_69EF44, 0x00000002, D_80230E9C_69D8CC, D_8022F154_69BB84, 0x00000000, D_80232508_69EF38, 0x00000003, D_80230ED4_69D904, D_8022F154_69BB84, 0x00000000, D_802324FC_69EF2C, 0x00000004, D_80230F28_69D958, D_8022F154_69BB84, 0x00000000, D_802324E4_69EF14, 0x00000002, D_80230F98_69D9C8, D_8022F154_69BB84, 0x00000000, D_802324B4_69EEE4, 0x00000004, D_80230FD0_69DA00, D_8022F154_69BB84, 0x00000000, D_8023249C_69EECC, 0x00000004, D_80231070_69DAA0, D_8022F154_69BB84, 0x00000000, D_80232484_69EEB4, 0x00000004, D_802310E0_69DB10, D_8022F154_69BB84, 0x00000000, D_80232470_69EEA0, 0x00000002, D_802311C0_69DBF0, D_8022F154_69BB84, 0x00000000, D_80232458_69EE88, 0x00000003, D_802311F8_69DC28, D_8022F154_69BB84, 0x00000000, D_80232440_69EE70, 0x00000003, D_8023124C_69DC7C, D_8022F154_69BB84, 0x00000000, D_80232420_69EE50, 0x00000003, D_802312A0_69DCD0, D_8022F154_69BB84, 0x00000000, D_8023240C_69EE3C, 0x00000003, D_802312F4_69DD24, D_8022F154_69BB84, 0x00000000, D_802323E4_69EE14, 0x00000004, D_80231348_69DD78, D_8022F154_69BB84, 0x00000000, D_802323C0_69EDF0, 0x00000004, D_802313B8_69DDE8, D_8022F154_69BB84, 0x00000000, D_802323B4_69EDE4, 0x00000002, D_80231428_69DE58, D_8022F154_69BB84, 0x00000000, D_802323A8_69EDD8, 0x00000003, D_80231460_69DE90, D_8022F154_69BB84, 0x00000000, D_80232388_69EDB8, 0x00000003, D_802314B4_69DEE4, D_8022F154_69BB84, 0x00000000, D_80232364_69ED94, 0x00000004, D_80231508_69DF38, D_8022F154_69BB84, 0x00000000, D_8023234C_69ED7C, 0x00000004, D_80231578_69DFA8, D_8022F154_69BB84, 0x00000000, D_80232338_69ED68, 0x00000003, D_802315E8_69E018, D_8022F154_69BB84, 0x00000000, D_80232318_69ED48, 0x00000003, D_8023163C_69E06C, D_8022F154_69BB84, 0x00000000, D_802322F8_69ED28, 0x00000004, D_80231690_69E0C0, D_8022F154_69BB84, 0x00000000, D_802322D8_69ED08, 0x00000003, D_80231700_69E130, D_8022F154_69BB84, 0x00000000, D_802322B4_69ECE4, 0x00000004, D_80231754_69E184, D_8022F154_69BB84, 0x00000000, D_8023229C_69ECCC, 0x00000002, D_802317C4_69E1F4, D_8022F154_69BB84, 0x00000000, D_80232284_69ECB4, 0x00000003, D_802317FC_69E22C, D_8022F154_69BB84, 0x00000000, D_8023224C_69EC7C, 0x00000004, D_80231850_69E280, D_8022F154_69BB84, 0x00000000, D_8023222C_69EC5C, 0x00000003, D_802318C0_69E2F0, D_8022F154_69BB84, 0x00000000, D_80232208_69EC38, 0x00000002, D_80231914_69E344, D_8022F154_69BB84, 0x00000000, D_802321E8_69EC18, 0x00000003, D_8023194C_69E37C, D_8022F154_69BB84, 0x00000000, D_802321B8_69EBE8, 0x00000003, D_802319A0_69E3D0, D_8022F154_69BB84, 0x00000000, D_80232180_69EBB0, 0x00000004, D_802319F4_69E424, D_8022F154_69BB84, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802327C4_69F1F4, D_8022F154_69BB84, D_802327BC_69F1EC, D_8022F2D8_69BD08, D_802327B4_69F1E4, D_8022F72C_69C15C, D_802327AC_69F1DC, D_8022F7C4_69C1F4, D_802327A4_69F1D4, D_8022F9E0_69C410, D_8023279C_69F1CC, D_8022FBEC_69C61C, D_80232794_69F1C4, D_8022FE04_69C834, D_8023278C_69F1BC, D_8022FE84_69C8B4, D_80232784_69F1B4, D_80230290_69CCC0, D_8023277C_69F1AC, D_80230314_69CD44, D_80232774_69F1A4, D_80230394_69CDC4, D_8023276C_69F19C, D_80230414_69CE44, D_80232764_69F194, D_8023053C_69CF6C, D_8023275C_69F18C, D_8023066C_69D09C, 0x00000000, 0x00000000 - -dlabel D_80231F50_69E980 -.word 0x6B70615F, 0x62743031, 0x5F686974, 0x00000000 - -dlabel D_80231F60_69E990 -.word 0x6B70615F, 0x62743031, 0x5F736861, 0x70650000 - -dlabel D_80231F70_69E9A0 -.word 0x6B70615F, 0x74657800 - -dlabel D_80231F78_69E9A8 -.word 0x6B70615F, 0x62743031, 0x5F686974, 0x00000000 - -dlabel D_80231F88_69E9B8 -.word 0x6B70615F, 0x62743031, 0x5F736861, 0x70650000 - -dlabel D_80231F98_69E9C8 -.word 0x6B70615F, 0x74657800 - -dlabel D_80231FA0_69E9D0 -.word 0x6B70615F, 0x62743032, 0x5F686974, 0x00000000 - -dlabel D_80231FB0_69E9E0 -.word 0x6B70615F, 0x62743032, 0x5F736861, 0x70650000 - -dlabel D_80231FC0_69E9F0 -.word 0x6B70615F, 0x74657800 - -dlabel D_80231FC8_69E9F8 -.word 0x6B70615F, 0x62743033, 0x5F686974, 0x00000000 - -dlabel D_80231FD8_69EA08 -.word 0x6B70615F, 0x62743033, 0x5F736861, 0x70650000 - -dlabel D_80231FE8_69EA18 -.word 0x6B70615F, 0x74657800 - -dlabel D_80231FF0_69EA20 -.word 0x6B70615F, 0x62743034, 0x5F686974, 0x00000000 - -dlabel D_80232000_69EA30 -.word 0x6B70615F, 0x62743034, 0x5F736861, 0x70650000 - -dlabel D_80232010_69EA40 -.word 0x6B70615F, 0x74657800 - -dlabel D_80232018_69EA48 -.word 0x6B70615F, 0x62743034, 0x5F686974, 0x00000000 - -dlabel D_80232028_69EA58 -.word 0x6B70615F, 0x62743034, 0x5F736861, 0x70650000 - -dlabel D_80232038_69EA68 -.word 0x6B70615F, 0x74657800 - -dlabel D_80232040_69EA70 -.word 0x6B70615F, 0x62743034, 0x5F686974, 0x00000000 - -dlabel D_80232050_69EA80 -.word 0x6B70615F, 0x62743034, 0x5F736861, 0x70650000 - -dlabel D_80232060_69EA90 -.word 0x6B70615F, 0x74657800 - -dlabel D_80232068_69EA98 -.word 0x6B70615F, 0x62743035, 0x5F686974, 0x00000000 - -dlabel D_80232078_69EAA8 -.word 0x6B70615F, 0x62743035, 0x5F736861, 0x70650000 - -dlabel D_80232088_69EAB8 -.word 0x6B70615F, 0x74657800 - -dlabel D_80232090_69EAC0 -.word 0x6B70615F, 0x62743037, 0x5F686974, 0x00000000 - -dlabel D_802320A0_69EAD0 -.word 0x6B70615F, 0x62743037, 0x5F736861, 0x70650000 - -dlabel D_802320B0_69EAE0 -.word 0x6B70615F, 0x74657800 - -dlabel D_802320B8_69EAE8 -.word 0x6B70615F, 0x62743038, 0x5F686974, 0x00000000 - -dlabel D_802320C8_69EAF8 -.word 0x6B70615F, 0x62743038, 0x5F736861, 0x70650000 - -dlabel D_802320D8_69EB08 -.word 0x6B70615F, 0x74657800 - -dlabel D_802320E0_69EB10 -.word 0x6B70615F, 0x62743039, 0x5F686974, 0x00000000 - -dlabel D_802320F0_69EB20 -.word 0x6B70615F, 0x62743039, 0x5F736861, 0x70650000 - -dlabel D_80232100_69EB30 -.word 0x6B70615F, 0x74657800 - -dlabel D_80232108_69EB38 -.word 0x6B70615F, 0x62743131, 0x5F686974, 0x00000000 - -dlabel D_80232118_69EB48 -.word 0x6B70615F, 0x62743131, 0x5F736861, 0x70650000 - -dlabel D_80232128_69EB58 -.word 0x6B70615F, 0x74657800 - -dlabel D_80232130_69EB60 -.word 0x6B70615F, 0x62743133, 0x5F686974, 0x00000000 - -dlabel D_80232140_69EB70 -.word 0x6B70615F, 0x62743133, 0x5F736861, 0x70650000 - -dlabel D_80232150_69EB80 -.word 0x6B70615F, 0x74657800 - -dlabel D_80232158_69EB88 -.word 0x6B70615F, 0x62743134, 0x5F686974, 0x00000000 - -dlabel D_80232168_69EB98 -.word 0x6B70615F, 0x62743134, 0x5F736861, 0x70650000 - -dlabel D_80232178_69EBA8 -.word 0x6B70615F, 0x74657800 - -dlabel D_80232180_69EBB0 -.word 0x82AD82A4, 0x82BF82E3, 0x82A4834A, 0x83818362, 0x834E2C83, 0x6E839383, 0x7D815B83, 0x75838D83, 0x58788251, 0x2C82AD82, 0xA482BF82, 0xE382A483, 0x4A838183, 0x62834E00 - -dlabel D_802321B8_69EBE8 -.word 0x82AD82A4, 0x82BF82E3, 0x82A4834A, 0x83818362, 0x834E2C83, 0x67835183, 0x6D83522C, 0x82AD82A4, 0x82BF82E3, 0x82A4834A, 0x83818362, 0x834E0000 - -dlabel D_802321E8_69EC18 -.word 0x82AD82A4, 0x82BF82E3, 0x82A4834A, 0x83818362, 0x834E2C83, 0x4A838D83, 0x93788251, 0x00000000 - -dlabel D_80232208_69EC38 -.word 0x82AD82A4, 0x82BF82E3, 0x82A4834A, 0x83818362, 0x834E2C83, 0x6E839383, 0x7D815B83, 0x75838D83, 0x58000000 - -dlabel D_8023222C_69EC5C -.word 0x82AD82A4, 0x82BF82E3, 0x82A4834A, 0x83818362, 0x834E2C83, 0x67835183, 0x6D835278, 0x82510000 - -dlabel D_8023224C_69EC7C -.word 0x82AD82A4, 0x82BF82E3, 0x82A4834A, 0x83818362, 0x834E2C83, 0x4A838183, 0x62834E2C, 0x82AD82A4, 0x82BF82E3, 0x82A4834A, 0x83818362, 0x834E2C83, 0x4A838183, 0x62834E00 - -dlabel D_80232284_69ECB4 -.word 0x82AD82A4, 0x82BF82E3, 0x82A4834A, 0x83818362, 0x834E7882, 0x52000000 - -dlabel D_8023229C_69ECCC -.word 0x82AD82A4, 0x82BF82E3, 0x82A4834A, 0x83818362, 0x834E7882, 0x51000000 - -dlabel D_802322B4_69ECE4 -.word 0x834A8381, 0x8362834E, 0x2C836783, 0x51836D83, 0x522C834A, 0x83818362, 0x834E2C83, 0x67835183, 0x6D835200 - -dlabel D_802322D8_69ED08 -.word 0x834A8381, 0x8362834E, 0x7882512C, 0x82AD82A4, 0x82BF82E3, 0x82A4834A, 0x83818362, 0x834E0000 - -dlabel D_802322F8_69ED28 -.word 0x834A8381, 0x8362834E, 0x2C837A83, 0x6C838183, 0x62836778, 0x82512C83, 0x4A838183, 0x62834E00 - -dlabel D_80232318_69ED48 -.word 0x834A8381, 0x8362834E, 0x2C837A83, 0x6C838183, 0x6283672C, 0x834A8381, 0x8362834E, 0x00000000 - -dlabel D_80232338_69ED68 -.word 0x834A8381, 0x8362834E, 0x7882512C, 0x834A838D, 0x83930000 - -dlabel D_8023234C_69ED7C -.word 0x834A8381, 0x8362834E, 0x2C836783, 0x51836D83, 0x52788252, 0x00000000 - -dlabel D_80232364_69ED94 -.word 0x834A8381, 0x8362834E, 0x7882512C, 0x82AD82A4, 0x82BF82E3, 0x82A4834A, 0x83818362, 0x834E7882, 0x51000000 - -dlabel D_80232388_69EDB8 -.word 0x834A8381, 0x8362834E, 0x2C82AD82, 0xA482BF82, 0xE382A483, 0x4A838183, 0x62834E78, 0x82510000 - -dlabel D_802323A8_69EDD8 -.word 0x834A8381, 0x8362834E, 0x78825200 - -dlabel D_802323B4_69EDE4 -.word 0x834A8381, 0x8362834E, 0x78825100 - -dlabel D_802323C0_69EDF0 -.word 0x83678351, 0x836D8352, 0x2C834A83, 0x81836283, 0x4E2C8367, 0x8351836D, 0x83522C83, 0x4A838183, 0x62834E00 - -dlabel D_802323E4_69EE14 -.word 0x83678351, 0x836D8352, 0x7882512C, 0x834A8381, 0x8362834E, 0x2C82AD82, 0xA482BF82, 0xE382A483, 0x4A838183, 0x62834E00 - -dlabel D_8023240C_69EE3C -.word 0x83678351, 0x836D8352, 0x2C834A83, 0x8D839378, 0x82510000 - -dlabel D_80232420_69EE50 -.word 0x83678351, 0x836D8352, 0x2C837A83, 0x6C838183, 0x6283672C, 0x83678351, 0x836D8352, 0x00000000 - -dlabel D_80232440_69EE70 -.word 0x83678351, 0x836D8352, 0x2C837A83, 0x6C838183, 0x62836778, 0x82510000 - -dlabel D_80232458_69EE88 -.word 0x83678351, 0x836D8352, 0x7882512C, 0x837A836C, 0x83818362, 0x83670000 - -dlabel D_80232470_69EEA0 -.word 0x83678351, 0x836D8352, 0x2C837A83, 0x6C838183, 0x62836700 - -dlabel D_80232484_69EEB4 -.word 0x83678351, 0x836D8352, 0x7882512C, 0x834A8381, 0x8362834E, 0x78825100 - -dlabel D_8023249C_69EECC -.word 0x83678351, 0x836D8352, 0x7882522C, 0x834A8381, 0x8362834E, 0x00000000 - -dlabel D_802324B4_69EEE4 -.word 0x83678351, 0x836D8352, 0x2C836E83, 0x93837D81, 0x5B837583, 0x8D83582C, 0x83678351, 0x836D8352, 0x2C836E83, 0x93837D81, 0x5B837583, 0x8D835800 - -dlabel D_802324E4_69EF14 -.word 0x83678351, 0x836D8352, 0x2C836E83, 0x93837D81, 0x5B837583, 0x8D835800 - -dlabel D_802324FC_69EF2C -.word 0x83678351, 0x836D8352, 0x78825300 - -dlabel D_80232508_69EF38 -.word 0x83678351, 0x836D8352, 0x78825200 - -dlabel D_80232514_69EF44 -.word 0x83678351, 0x836D8352, 0x78825100 - -dlabel D_80232520_69EF50 -.word 0x83678351, 0x836D8352, 0x00000000 - -dlabel D_8023252C_69EF5C -.word 0x836E8393, 0x837D815B, 0x8375838D, 0x83587882, 0x522C82AD, 0x82A482BF, 0x82E382A4, 0x834A8381, 0x8362834E, 0x00000000 - -dlabel D_80232554_69EF84 -.word 0x836E8393, 0x837D815B, 0x8375838D, 0x83587882, 0x512C82AD, 0x82A482BF, 0x82E382A4, 0x834A8381, 0x8362834E, 0x00000000 - -dlabel D_8023257C_69EFAC -.word 0x836E8393, 0x837D815B, 0x8375838D, 0x83582C83, 0x4A838D83, 0x932C836E, 0x83938393, 0x837D815B, 0x8375838D, 0x83582C83, 0x4A838183, 0x62834E00 - -dlabel D_802325AC_69EFDC -.word 0x836E8393, 0x837D815B, 0x8375838D, 0x83582C83, 0x67835183, 0x6D835278, 0x82510000 - -dlabel D_802325C8_69EFF8 -.word 0x836E8393, 0x837D815B, 0x8375838D, 0x83587882, 0x512C8367, 0x8351836D, 0x83520000 - -dlabel D_802325E4_69F014 -.word 0x836E8393, 0x837D815B, 0x8375838D, 0x83582C83, 0x67835183, 0x6D835200 - -dlabel D_802325FC_69F02C -.word 0x836E8393, 0x837D815B, 0x8375838D, 0x83587882, 0x52000000 - -dlabel D_80232610_69F040 -.word 0x836E8393, 0x837D815B, 0x8375838D, 0x83587882, 0x51000000 - -dlabel D_80232624_69F054 -.word 0x834A838D, 0x83937882, 0x512C837A, 0x836C8381, 0x83628367, 0x78825100 - -dlabel D_8023263C_69F06C -.word 0x834A838D, 0x83937882, 0x512C837A, 0x836C8381, 0x83628367, 0x00000000 - -dlabel D_80232654_69F084 -.word 0x834A838D, 0x83932C83, 0x67835183, 0x6D835278, 0x82510000 - -dlabel D_80232668_69F098 -.word 0x834A838D, 0x83937882, 0x512C834A, 0x83818362, 0x834E0000 - -dlabel D_8023267C_69F0AC -.word 0x834A838D, 0x83932C83, 0x47838B83, 0x82835878, 0x82520000 - -dlabel D_80232690_69F0C0 -.word 0x834A838D, 0x83937882, 0x53000000 - -dlabel D_8023269C_69F0CC -.word 0x834A838D, 0x83937882, 0x52000000 - -dlabel D_802326A8_69F0D8 -.word 0x834A838D, 0x83937882, 0x51000000 - -dlabel D_802326B4_69F0E4 -.word 0x837A836C, 0x83818362, 0x83672C83, 0x4A838D83, 0x932C837A, 0x836C8381, 0x83628367, 0x2C834A83, 0x81836283, 0x4E000000 - -dlabel D_802326DC_69F10C -.word 0x837A836C, 0x83818362, 0x83677882, 0x522C834A, 0x83818362, 0x834E0000 - -dlabel D_802326F4_69F124 -.word 0x837A836C, 0x83818362, 0x83677882, 0x512C834A, 0x83818362, 0x834E0000 - -dlabel D_8023270C_69F13C -.word 0x837A836C, 0x83818362, 0x83677882, 0x512C834A, 0x838D8393, 0x00000000 - -dlabel D_80232724_69F154 -.word 0x837A836C, 0x83818362, 0x83672C83, 0x4A838D83, 0x93788251, 0x00000000 - -dlabel D_8023273C_69F16C -.word 0x837A836C, 0x83818362, 0x83677882, 0x52000000 - -dlabel D_8023274C_69F17C -.word 0x837A836C, 0x83818362, 0x83677882, 0x51000000 - -dlabel D_8023275C_69F18C -.word 0x6B70615F, 0x31340000 - -dlabel D_80232764_69F194 -.word 0x6B70615F, 0x31330000 - -dlabel D_8023276C_69F19C -.word 0x6B70615F, 0x31310000 - -dlabel D_80232774_69F1A4 -.word 0x6B70615F, 0x30390000 - -dlabel D_8023277C_69F1AC -.word 0x6B70615F, 0x30380000 - -dlabel D_80232784_69F1B4 -.word 0x6B70615F, 0x30370000 - -dlabel D_8023278C_69F1BC -.word 0x6B70615F, 0x30350000 - -dlabel D_80232794_69F1C4 -.word 0x6B70615F, 0x30346300 - -dlabel D_8023279C_69F1CC -.word 0x6B70615F, 0x30346200 - -dlabel D_802327A4_69F1D4 -.word 0x6B70615F, 0x30340000 - -dlabel D_802327AC_69F1DC -.word 0x6B70615F, 0x30330000 - -dlabel D_802327B4_69F1E4 -.word 0x6B70615F, 0x30320000 - -dlabel D_802327BC_69F1EC -.word 0x6B70615F, 0x30316200 - -dlabel D_802327C4_69F1F4 -.word 0x6B70615F, 0x30310000, 0x00000000 diff --git a/ver/us/asm/data/battle/area_kpa2/6A44E0.data.s b/ver/us/asm/data/battle/area_kpa2/6A44E0.data.s deleted file mode 100644 index eb769dba79..0000000000 --- a/ver/us/asm/data/battle/area_kpa2/6A44E0.data.s +++ /dev/null @@ -1,519 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_8021D2E0_6A44E0 -.word 0x00000001, 0x00810002, 0x0000000C, 0x00810000, 0x00000006, 0x00810002, 0x00000009, 0x00810002, 0x00000008, 0x00810000, 0x0000000B, 0x00810000, 0x00000005, 0x00810000, 0x00000005, 0x00810000, 0x00000004, 0x00810002, 0x00000004, 0x00810002, 0x00000000 - -dlabel D_8021D334_6A4534 -.word 0x00000001, 0x00000001, 0x00000000 - -dlabel D_8021D340_6A4540 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x0000001E, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x0000001E, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x0000001E, 0x0000000A, 0x00000032, 0x00000008, 0x0000001E, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0xFFFFFFFF, 0x00000027, 0xFFFFFFFF, 0x00000029, 0xFFFFFFFE, 0x00000000 - -dlabel D_8021D3EC_6A45EC -.word 0x00800000, 0x01000000, 0xEE4800FF, D_8021D2E0_6A44E0, D_8021D334_6A4534, 0x00000000, 0x00000002, 0x00F80000, 0x00000000 - -dlabel D_8021D410_6A4610 -.word 0x00000000, 0x00C16432, 0x00010000, D_8021D3EC_6A45EC, D_8021D438_6A4638, D_8021D340_6A4540, 0x00000000, 0x00044100, 0x50520000, 0xD8430A3C - -dlabel D_8021D438_6A4638 -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8021D880_6A4A80, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8021D4CC_6A46CC, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8021D500_6A4700, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021D4CC_6A46CC -.word 0x00000003, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021D500_6A4700 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, GetLastElement, 0xFE363C8E, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000038, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8021D80C_6A4A0C, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000024, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8021D80C_6A4A0C, 0x0000001D, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8021D838_6A4A38, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000024, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8021D80C_6A4A0C, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8021D838_6A4A38, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, DoShockHit, 0x00000016, 0x00000001, 0x00000026, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8021D838_6A4A38, 0x00000002, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x00000024, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8021D80C_6A4A0C, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000001B, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8021D838_6A4A38, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000035, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00810002, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000030, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x000003E8, 0x0000001C, 0x00000000, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0xFE363C81, 0x00000008, 0x00000001, 0x00000014, 0x00000023, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021D80C_6A4A0C -.word 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoNormalHit, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021D838_6A4A38 -.word 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoNormalHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021D880_6A4A80 -.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000005, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0x00000005, 0x00000046, 0x00000001, D_8021DA28_6A4C28, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000004, 0x00000046, 0x00000001, D_8021DA28_6A4C28, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000006, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000046, 0x00000001, D_8021E93C_6A5B3C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000008, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000046, 0x00000001, D_8021E93C_6A5B3C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_8021DA28_6A4C28, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021DA28_6A4C28 -.word 0x00000043, 0x00000003, GetStatusFlags, 0x00000000, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00002000, 0x00000046, 0x00000001, D_8021E504_6A5704, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000002, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000046, 0x00000001, D_8021DAFC_6A4CFC, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021DEB0_6A50B0, 0x00000002, 0x00000000, 0x0000001C, 0x00000000, 0x00000046, 0x00000001, D_8021E504_6A5704, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021DAFC_6A4CFC -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000096, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810003, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000028, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8680, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810009, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810015, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000C, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000032, 0x00000012, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8680, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_8021EEF8_6A60F8, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x00000029, 0x00000002, 0xFE363C80, 0x00000006, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x10000000, 0x00000000, 0x00000000, 0xFE363C80, 0x00000020, 0x00000014, 0x00000001, 0xFE363C8F, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x0000001D, 0x00000001, 0x0000000A, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810007, 0x00000008, 0x00000001, 0x0000002D, 0x0000000A, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8680, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_8021EEF8_6A60F8, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021DEB0_6A50B0 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000096, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810003, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000050, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8680, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810011, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810012, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7C80, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000001C, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8680, 0x00000057, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000023, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000E, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8280, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810014, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8680, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_8021EEF8_6A60F8, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7C80, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000018, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8680, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810013, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x00000029, 0x00000002, 0xFE363C80, 0x00000006, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x10000000, 0x00000000, 0x00000000, 0xFE363C80, 0x00000020, 0x00000014, 0x00000001, 0xFE363C8F, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x0000001D, 0x00000001, 0x0000000A, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000028, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000012, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8680, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810014, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x00000014, 0x0000000A, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8680, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_8021EEF8_6A60F8, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021E504_6A5704 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000096, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810016, 0x00000008, 0x00000001, 0x00000023, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810017, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000046, 0x00000027, 0x00000002, 0xFE363C81, 0x00000023, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000A, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000028, 0x00000002, 0xFE363C83, 0x00000028, 0x00000024, 0x00000002, 0xFE363C84, 0x00000014, 0x00000043, 0x0000000F, PlayEffect, 0x00000037, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000032, 0x00000001, 0x00000018, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000064, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810018, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810019, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000C, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x00000029, 0x00000002, 0xFE363C80, 0x00000008, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x00000002, 0x0000FFFF, 0x00000000, 0xFE363C80, 0x00000020, 0x00000014, 0x00000001, 0xFE363C8F, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x0000001D, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810019, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x0000001E, 0x0000000A, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021E93C_6A5B3C -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000D, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000F, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000001, dup_b_area_kpa2_FadeBackgroundToBlack, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000035, 0x00000002, 0xFE363C80, 0x0000005A, 0xFE363C82, 0xF24A7E80, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x0000005A, 0xFE363C82, 0xF24A7E80, 0xFE363C8E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000010, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000002D, 0x00000008, 0x00000001, 0x00000013, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8F, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8E, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000D, 0x00000024, 0x00000002, 0xFE363C81, 0x00000037, 0x00000043, 0x0000000F, PlayEffect, 0x00000039, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7E80, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000001, dup_b_area_kpa2_UnfadeBackgroundToBlack, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8A, 0x00000016, 0x00000001, 0x00000006, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x0000000F, 0x00000046, 0x00000001, D_8021F024_6A6224, 0x00000008, 0x00000001, 0x0000001E, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000005, 0x00000043, 0x00000002, func_8026BF48, 0x00000001, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000100, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000100, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000110, 0x00000000, 0x00000000, 0x00000003, 0x00000020, 0x00000043, 0x00000002, func_8026BF48, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x0000000F, 0x00000046, 0x00000001, D_8021F024_6A6224, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000002, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000001, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000100, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000100, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000110, 0x00000000, 0x00000000, 0x00000003, 0x00000020, 0x00000043, 0x00000002, func_8026BF48, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x00000110, 0x00000000, 0x00020000, 0x00000004, 0x00000020, 0x00000043, 0x00000002, RemovePlayerBuffs, 0x0FFFFFFF, 0x00000014, 0x00000001, 0xFE363C8F, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x0000001D, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x0000000F, 0x00000046, 0x00000001, D_8021F024_6A6224, 0x0000000A, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021EEF8_6A60F8 -.word 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C8D, 0xFE363C8E, 0xFE363C8F, 0x0000000C, 0x00000002, 0xFE363C8A, 0xFE363C8D, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000006, GetDist2D, 0xFE363C89, 0xFE363C8A, 0xFE363C8C, 0xFE363C8D, 0xFE363C8F, 0x0000000F, 0x00000002, 0xFE363C89, 0xF24A8A80, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021F024_6A6224 -.word 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000027, 0x00000002, 0xFE363C82, 0x0000003C, 0x00000043, 0x0000000F, PlayEffect, 0x00000011, 0x00000000, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0xF24A7E80, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C82, 0x00000014, 0x00000043, 0x0000000F, PlayEffect, 0x00000040, 0x00000000, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFFFFFF81, 0xFE363C81, 0x0000000D, 0x00000002, 0xFE363C80, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C80, 0xFE363C81, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetEnemyHP, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 - -dlabel D_8021F1C0_6A63C0 -.word 0x00000001, 0x00810002, 0x0000000C, 0x00810000, 0x00000006, 0x00810002, 0x00000009, 0x00810002, 0x00000008, 0x00810000, 0x0000000B, 0x00810000, 0x00000005, 0x00810000, 0x00000005, 0x00810000, 0x00000004, 0x00810002, 0x00000004, 0x00810002, 0x00000000 - -dlabel D_8021F214_6A6414 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_8021F220_6A6420 -.word 0x00000001, 0x00000001, 0x00000000 - -dlabel D_8021F22C_6A642C -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000000, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x00000000, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x00000000, 0x0000000A, 0x00000000, 0x00000008, 0x00000000, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 - -dlabel D_8021F2D8_6A64D8 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000000, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x00000000, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x00000000, 0x0000000A, 0x00000000, 0x00000008, 0x00000000, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 - -dlabel D_8021F384_6A6584 -.word 0x00800000, 0x01000000, 0xEE4800FF, D_8021F1C0_6A63C0, D_8021F214_6A6414, 0x00000000, 0x00000000, 0x00F80000, 0x00000000 - -dlabel D_8021F3A8_6A65A8 -.word 0x00000000, 0x00C0000A, 0x00010000, D_8021F384_6A6584, D_8021F3D0_6A65D0, D_8021F22C_6A642C, 0x00000000, 0x00045000, 0x50520000, 0xF6140A14 - -dlabel D_8021F3D0_6A65D0 -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000E, 0x00000000, 0x00000043, 0x00000002, func_8026E020, 0x00000001, 0x00000043, 0x00000003, CreateNpc, 0x00000000, 0x00D60004, 0x00000043, 0x00000003, SetNpcYaw, 0x00000000, 0x0000005A, 0x00000043, 0x00000005, SetNpcPos, 0x00000000, 0xFFFFFF7E, 0x00000000, 0xFFFFFFF4, 0x00000043, 0x00000003, EnableNpcShadow, 0x00000000, 0x00000001, 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8021FC14_6A6E14, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8021F53C_6A673C, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8021F800_6A6A00, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_8021F598_6A6798, 0x00000043, 0x00000008, ModifyActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000064, 0x00000000, 0x00000000, 0x00000000, 0x00000044, 0x00000001, D_80220974_6A7B74, 0x00000043, 0x00000003, SetBattleFlagBits, 0x00800000, 0x00000001, 0x00000043, 0x00000003, SetBattleFlagBits2, 0x02000000, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021F53C_6A673C -.word 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000003, 0x00000001, 0x00000000, 0x00000046, 0x00000001, D_80221328_6A8528, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021F598_6A6798 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000043, 0x00000002, func_802535B4, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFFFFFF8D, 0x00000000, 0x00000000, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000140, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000032, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000003, UseIdleAnimation, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0x00000000, 0x00000000, 0x00010002, 0x00000043, 0x00000003, SetActorYaw, 0x00000000, 0x000000B4, 0x00000043, 0x00000006, SpeakToPlayer, 0x00000000, 0x00D60002, 0x00D60004, 0x00000005, 0x00000057, 0x00000043, 0x00000006, SetJumpAnimations, 0x00000000, 0x00000000, 0x00010007, 0x00010007, 0x00010008, 0x00000043, 0x00000003, SetActorSpeed, 0x00000000, 0xF24A8E80, 0x00000043, 0x00000003, SetActorJumpGravity, 0x00000000, 0xF24A8080, 0x00000043, 0x00000004, SetAnimation, 0x00000000, 0x00000000, 0x0003000B, 0x00000008, 0x00000001, 0x00000018, 0x00000043, 0x00000004, SetAnimation, 0x00000000, 0x00000000, 0x00010002, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, SetActorYaw, 0x00000000, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0x00000000, 0x00000001, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000002, func_802535B4, 0x00000001, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021F800_6A6A00 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, GetLastElement, 0xFE363C8E, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000038, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8021FBA0_6A6DA0, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000024, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8021FBA0_6A6DA0, 0x0000001D, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8021FBCC_6A6DCC, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000024, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8021FBA0_6A6DA0, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8021FBCC_6A6DCC, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, DoShockHit, 0x00000016, 0x00000001, 0x00000026, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8021FBCC_6A6DCC, 0x00000002, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00810002, 0x00000046, 0x00000001, DoImmune, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000003, 0x00000043, 0x00000006, ActorSpeak, 0x0000005B, 0xFFFFFF81, 0x00000001, 0x00810005, 0x00810002, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000001B, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8021FBCC_6A6DCC, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000035, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00810012, 0x00000046, 0x00000001, DoRecover, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810014, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8680, 0x00000016, 0x00000001, 0x00000030, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x000003E8, 0x0000001C, 0x00000000, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0xFE363C81, 0x00000008, 0x00000001, 0x00000014, 0x00000023, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021FBA0_6A6DA0 -.word 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoNormalHit, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021FBCC_6A6DCC -.word 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoNormalHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021FC14_6A6E14 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000018, 0x00000001, 0x00000003, 0x00000046, 0x00000001, D_8021FD54_6A6F54, 0x00000016, 0x00000001, 0x00000003, 0x00000046, 0x00000001, D_8022050C_6A770C, 0x00000046, 0x00000001, D_8021FD54_6A6F54, 0x00000016, 0x00000001, 0x00000004, 0x00000046, 0x00000001, D_8021FD54_6A6F54, 0x00000016, 0x00000001, 0x00000005, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000D, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000006, ActorSpeak, 0x0000005C, 0xFFFFFF81, 0x00000001, 0x00810005, 0x00810002, 0x00000046, 0x00000001, D_802200E0_6A72E0, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021FD54_6A6F54 -.word 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000000C8, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810003, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000028, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8680, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810009, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810015, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000035E, 0x00000008, 0x00000001, 0x00000003, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C81, 0x0000000C, 0x00000002, 0xFE363C81, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000002, func_80269EAC, 0x0000000C, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x10000000, 0x00000000, 0x00000000, 0xFE363C80, 0x00000020, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000043, 0x00000002, func_80269EAC, 0x0000000C, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x10000000, 0x00000000, 0x00000000, 0xFE363C80, 0x00000020, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000056, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000003, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00D60007, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00D60006, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000002D, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00D60004, 0x00000057, 0x00000000, 0x00000014, 0x00000001, 0xFE363C8F, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x0000001D, 0x00000001, 0x0000000A, 0x00000008, 0x00000001, 0x0000001E, 0x0000000A, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8E80, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_80220820_6A7A20, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802200E0_6A72E0 -.word 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000041, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000190, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810016, 0x00000008, 0x00000001, 0x00000023, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810017, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000032, 0x00000027, 0x00000002, 0xFE363C81, 0x00000021, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000A, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000028, 0x00000002, 0xFE363C83, 0x00000028, 0x00000024, 0x00000002, 0xFE363C84, 0x00000014, 0x00000043, 0x0000000F, PlayEffect, 0x00000037, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000032, 0x00000001, 0x00000018, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, dup3_b_area_kpa2_UnkFireBreathFXFunc, 0xFE363C8F, 0x00000056, 0x00000000, 0x00000043, 0x00000003, dup_b_area_kpa2_StartRumbleWithParams, 0x00000032, 0x00000094, 0x00000043, 0x00000002, PlaySound, 0x000003BD, 0x00000008, 0x00000001, 0x00000046, 0x00000043, 0x00000002, PlaySound, 0x000007BD, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00D60007, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000037, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810018, 0x00000008, 0x00000001, 0x0000001E, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x00000002, 0x0000FFFF, 0x00000000, 0x0000000A, 0x00000020, 0x00000014, 0x00000001, 0xFE363C8F, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x0000001D, 0x00000001, 0x0000000A, 0x00000056, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810019, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000003C, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00D60006, 0x00000005, 0x00000001, 0x00000044, 0x00000043, 0x00000004, GetAnimation, 0x00000000, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00010018, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000003, SetNpcAnimation, 0x00000000, 0x00D6000A, 0x00000008, 0x00000001, 0x0000001E, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022050C_6A770C -.word 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000D, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000006, ActorSpeak, 0x00000058, 0xFFFFFF81, 0x00000001, 0x00810005, 0x00810002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x00000041, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000140, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000008, 0x00000001, 0x00000014, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C81, 0x0000005A, 0x00000043, 0x0000000F, PlayEffect, 0x00000022, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000001E, 0x0000001E, 0x00000007, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000F, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000006, ActorSpeak, 0x00000059, 0xFFFFFF81, 0x00000001, 0x0081001F, 0x0081001E, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000F, 0x00000046, 0x00000001, D_80220990_6A7B90, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x00000041, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000140, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000019, 0x00000043, 0x00000006, ActorSpeak, 0x0000005A, 0xFFFFFF81, 0x00000001, 0x00810009, 0x00810001, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_8021F220_6A6420, 0x00000043, 0x00000003, SetStatusTable, 0xFFFFFF81, D_8021F2D8_6A64D8, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80220820_6A7A20 -.word 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C8D, 0xFE363C8E, 0xFE363C8F, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000006, GetDist2D, 0xFE363C89, 0xFE363C8A, 0xFE363C8C, 0xFE363C8D, 0xFE363C8F, 0x0000000F, 0x00000002, 0xFE363C89, 0xF24A8E80, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8B, 0x000000B4, 0x00000005, 0x00000001, 0x0000000F, 0x00000028, 0x00000002, 0xFE363C8B, 0x0000000C, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0xFE363C8B, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80220974_6A7B74 -.word 0x00000043, 0x00000001, func_802181E4_69F3E4, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80220990_6A7B90 -.word 0x00000043, 0x00000001, dup2_b_area_kpa2_FadeBackgroundToBlack, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x0000005A, 0x00000056, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002123, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000A, 0x00000043, 0x00000006, func_802186D0_69F8D0, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A8480, 0xF24A7AB4, 0x00000057, 0x00000000, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000056, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002123, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000A, 0x00000043, 0x00000006, func_802186D0_69F8D0, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A8480, 0xF24A7A95, 0x00000057, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000041, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000035, 0x00000002, 0xFE363C80, 0x0000005A, 0xFE363C82, 0xF24A7E80, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x0000005A, 0xFE363C82, 0xF24A7E80, 0xFE363C8E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x0000005A, 0xFE363C82, 0xF24A7E80, 0xFE363C8D, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000006, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000035, 0x00000002, 0xFE363C80, 0x00000024, 0xFE363C82, 0xF24A7C1A, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x00000024, 0xFE363C82, 0xF24A7C1A, 0xFE363C8E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x00000024, 0xFE363C82, 0xF24A7C1A, 0xFE363C8D, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002121, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8F, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8E, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8D, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00040000, 0x00000001, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000001, 0x0000000B, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_8021F220_6A6420, 0x00000043, 0x00000003, SetStatusTable, 0xFFFFFF81, D_8021F2D8_6A64D8, 0x00000043, 0x00000001, dup2_b_area_kpa2_RemoveChillOut, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000028, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000C, 0x00000043, 0x0000000F, PlayEffect, 0x00000022, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000046, 0x00000050, 0x00000019, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000010, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000C, 0x00000043, 0x0000000F, PlayEffect, 0x00000022, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000001C, 0x00000020, 0x0000000A, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002125, 0x00000056, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, func_80218AA4_69FCA4, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7DB4, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000004B, 0x00000056, 0x00000000, 0x00000043, 0x00000001, dup2_b_area_kpa2_UnfadeBackgroundToBlack, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810008, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000028, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000010, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000052, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7E80, 0x0000000F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002124, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x00000041, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000190, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000020, 0x00000008, 0x00000001, 0x00000020, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A801A, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C85, 0xFE363C86, 0xFE363C87, 0x00000024, 0x00000002, 0xFE363C88, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C88, 0xFE363C85, 0x0000002A, 0x00000002, 0xFE363C88, 0x00000002, 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C89, 0xFE363C87, 0x0000002A, 0x00000002, 0xFE363C89, 0x00000002, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C88, 0x00000000, 0xFE363C89, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C88, 0xFE363C82, 0x0000002A, 0x00000002, 0xFE363C88, 0x00000002, 0x00000027, 0x00000002, 0xFE363C89, 0xFE363C84, 0x0000002A, 0x00000002, 0xFE363C89, 0x00000002, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C88, 0x00000000, 0xFE363C89, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80221328_6A8528 -.word 0x00000043, 0x00000004, GetAnimation, 0xFFFFFF81, 0x00000001, 0xFE363C87, 0x0000000B, 0x00000002, 0xFE363C87, 0x00810003, 0x0000000A, 0x00000002, 0xFE363C83, 0x00810003, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020B4, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020F6, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C87, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C85, 0xFE363C86, 0xFE363C87, 0x00000028, 0x00000002, 0xFE363C85, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C85, 0xFFFFFFE2, 0x0000000C, 0x00000002, 0xFE363C85, 0x0000001E, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C87, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020B4, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020F6, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C87, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802214B0_6A86B0 -.word 0x00000001, 0x00810002, 0x0000000C, 0x00810000, 0x00000006, 0x00810002, 0x00000009, 0x00810002, 0x00000008, 0x00810000, 0x0000000B, 0x00810000, 0x00000005, 0x00810000, 0x00000005, 0x00810000, 0x00000004, 0x00810002, 0x00000004, 0x00810002, 0x00000000 - -dlabel D_80221504_6A8704 -.word 0x00000001, 0x00000001, 0x00000000 - -dlabel D_80221510_6A8710 -.word 0x00000001, 0x00000004, 0x00000000 - -dlabel D_8022151C_6A871C -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x0000001E, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x0000001E, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x0000001E, 0x0000000A, 0x00000032, 0x00000008, 0x0000001E, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0xFFFFFFFF, 0x00000027, 0xFFFFFFFF, 0x00000029, 0xFFFFFFFE, 0x00000000 - -dlabel D_802215C8_6A87C8 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000000, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x00000000, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x00000000, 0x0000000A, 0x00000000, 0x00000008, 0x00000000, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0xFFFFFFFF, 0x00000027, 0xFFFFFFFF, 0x00000029, 0xFFFFFFFE, 0x00000000 - -dlabel D_80221674_6A8874 -.word 0x00800000, 0x01000000, 0xEE4800FF, D_802214B0_6A86B0, D_80221504_6A8704, 0x00000000, 0x00000000, 0x00F80000, 0x00000000 - -dlabel D_80221698_6A8898 -.word 0x00000000, 0x00C16432, 0x00010000, D_80221674_6A8874, D_802216C0_6A88C0, D_8022151C_6A871C, 0x00000000, 0x00044100, 0x50520000, 0xD8430A3C - -dlabel D_802216C0_6A88C0 -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000004, 0x00000003, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000005, 0x00000003, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000003, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000007, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000E, 0x00000000, 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_80222B48_6A9D48, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_80221844_6A8A44, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80221B18_6A8D18, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_80221970_6A8B70, 0x00000043, 0x00000008, ModifyActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000064, 0x00000000, 0x00000000, 0x00000000, 0x00000044, 0x00000001, D_80222E2C_6AA02C, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80221844_6A8A44 -.word 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, GetAnimation, 0xFFFFFF81, 0x00000001, 0xFE363C83, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, ActorExists, 0xFFFFFF81, 0xFE363C8B, 0x0000000A, 0x00000002, 0xFE363C8B, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8B, 0x00000011, 0x00000002, 0xFE363C8B, 0x00080000, 0x00000043, 0x00000008, ModifyActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000064, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000008, ModifyActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000028, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_8022376C_6AA96C, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80221970_6A8B70 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000001, 0x00000042, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000043, 0x00000002, func_802535B4, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000D, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000006, ActorSpeak, 0x00130073, 0xFFFFFF81, 0x00000001, 0x00810005, 0x00810002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000002, func_802535B4, 0x00000001, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80221B18_6A8D18 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, GetLastElement, 0xFE363C8E, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000038, 0x00000016, 0x00000001, 0x00000009, 0x00000024, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_802227B4_6A99B4, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8022260C_6A980C, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_802227B4_6A99B4, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_802227E0_6A99E0, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00810020, 0x00000024, 0x00000002, 0xFE363C82, 0x00810021, 0x00000046, 0x00000001, D_80226F08_6AE108, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00040000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00000004, 0x00000011, 0x00000002, 0xFE363C80, 0x00000008, 0x00000042, 0x00000002, 0xFE363C80, 0x00000008, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00351000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000D, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000043, 0x00000006, ActorSpeak, 0x00130077, 0xFFFFFF81, 0x00000001, 0x0081000B, 0x0081000B, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000024, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00810020, 0x00000024, 0x00000002, 0xFE363C82, 0x00810021, 0x00000046, 0x00000001, D_80226F08_6AE108, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00810021, 0x00000046, 0x00000001, D_802227E0_6A99E0, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000024, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8022260C_6A980C, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_802227B4_6A99B4, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_802227E0_6A99E0, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8022356C_6AA76C, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_80222CD8_6A9ED8, 0x00000016, 0x00000001, 0x00000026, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8022356C_6AA76C, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_802227E0_6A99E0, 0x00000002, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x00000043, 0x00000002, func_80269E80, 0xFE363C82, 0x00000014, 0x00000001, 0xFE363C82, 0x0000001D, 0x00000001, 0x00000012, 0x0000001D, 0x00000001, 0x00000015, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810007, 0x00000008, 0x00000001, 0x0000001E, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00810007, 0x00000046, 0x00000001, D_80222B1C_6A9D1C, 0x00000023, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00810002, 0x00000046, 0x00000001, DoImmune, 0x00000016, 0x00000001, 0x0000001B, 0x00000016, 0x00000001, 0x00000035, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00810012, 0x00000046, 0x00000001, DoRecover, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810014, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8680, 0x00000016, 0x00000001, 0x00000030, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x000003E8, 0x00000016, 0x00000001, 0x0000003F, 0x00000043, 0x00000001, dup3_b_area_kpa2_UnfadeBackgroundToBlack, 0x00000016, 0x00000001, 0x00000013, 0x00000043, 0x00000002, FreezeBattleCam, 0x00000001, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000024, 0x00000002, 0xFE363C83, 0x00000032, 0x00000024, 0x00000002, 0xFE363C84, 0x00000028, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C83, 0x00000014, 0x00000024, 0x00000002, 0xFE363C84, 0x00000010, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C83, 0x00000043, 0x0000000F, PlayEffect, 0x00000011, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000032, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C84, 0x00000043, 0x0000000F, PlayEffect, 0x00000038, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7D4D, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00040000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000003, 0x00000000, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_80221504_6A8704, 0x00000043, 0x00000003, SetStatusTable, 0xFFFFFF81, D_8022151C_6A871C, 0x00000024, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_802227B4_6A99B4, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000002, 0x00000042, 0x00000002, 0xFE363C80, 0x00000002, 0x00000042, 0x00000002, 0xFE363C80, 0x00000004, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000D, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000043, 0x00000006, ActorSpeak, 0x00130075, 0xFFFFFF81, 0x00000001, 0x0081000D, 0x0081000D, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810001, 0x00000005, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C80, 0x00000012, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C80, 0x000000B4, 0x00000005, 0x00000001, 0x0000000A, 0x00000028, 0x00000002, 0xFE363C80, 0x00000012, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000006, ActorSpeak, 0x00130076, 0xFFFFFF81, 0x00000001, 0x0081000D, 0x0081000D, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000013, 0x00000000, 0x00000043, 0x00000002, FreezeBattleCam, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000008, 0x00000001, 0x0000001E, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022260C_6A980C -.word 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00040000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00000004, 0x00000011, 0x00000002, 0xFE363C80, 0x00000008, 0x00000042, 0x00000002, 0xFE363C80, 0x00000008, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00351000, 0x00000043, 0x00000002, FreezeBattleCam, 0x00000001, 0x00000046, 0x00000001, D_802227B4_6A99B4, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000D, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000043, 0x00000006, ActorSpeak, 0x00130077, 0xFFFFFF81, 0x00000001, 0x0081000B, 0x0081000B, 0x00000043, 0x00000002, FreezeBattleCam, 0x00000000, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_802227B4_6A99B4, 0x00000013, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_802227B4_6A99B4, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802227B4_6A99B4 -.word 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoNormalHit, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802227E0_6A99E0 -.word 0x00000043, 0x00000002, func_8027D32C, 0xFFFFFF81, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0x00000008, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000043, 0x00000002, func_80269E80, 0xFE363C85, 0x00000014, 0x00000001, 0xFE363C85, 0x0000001D, 0x00000001, 0x0000000A, 0x0000001D, 0x00000001, 0x0000000E, 0x0000001D, 0x00000001, 0x0000000C, 0x0000001D, 0x00000001, 0x00000010, 0x0000001D, 0x00000001, 0x0000000B, 0x0000001D, 0x00000001, 0x0000000F, 0x0000001D, 0x00000001, 0x0000000D, 0x0000001D, 0x00000001, 0x00000011, 0x0000001D, 0x00000001, 0x00000002, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000003, GetOriginalActorType, 0xFFFFFF81, 0xFE363C81, 0x00000014, 0x00000001, 0xFE363C81, 0x0000001D, 0x00000001, 0x0000000D, 0x0000001D, 0x00000001, 0x0000000F, 0x0000001D, 0x00000001, 0x0000004A, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C82, 0xFFFFCFC7, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000005, 0x00000001, 0x00000018, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C82, 0x0000001E, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000A, 0x00000043, 0x0000000F, PlayEffect, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000003E5, 0x00000043, 0x00000002, DropStarPoints, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000024, 0x00000002, 0xFE363C83, 0x00000000, 0x00000005, 0x00000001, 0x0000000C, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0xFE363C83, 0x00000000, 0x00000000, 0x00000027, 0x00000002, 0xFE363C83, 0x00000008, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000046, 0x00000001, ForceNextTarget, 0x00000043, 0x00000002, RemoveActor, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80222B1C_6A9D1C -.word 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoImmune, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80222B48_6A9D48 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000046, 0x00000001, D_80223E20_6AB020, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80222BA0_6A9DA0 -.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000040, 0x00000042, 0x00000002, 0xFE363C80, 0x00000040, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000D, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000F, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000006, ActorSpeak, 0x00130074, 0xFFFFFF81, 0x00000001, 0x0081001F, 0x0081001E, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810010, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000F, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_80222E48_6AA048, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80222CD8_6A9ED8 -.word 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C8D, 0xFE363C8E, 0xFE363C8F, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000006, GetDist2D, 0xFE363C89, 0xFE363C8A, 0xFE363C8C, 0xFE363C8D, 0xFE363C8F, 0x0000000F, 0x00000002, 0xFE363C89, 0xF24A8E80, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8B, 0x000000B4, 0x00000005, 0x00000001, 0x0000000F, 0x00000028, 0x00000002, 0xFE363C8B, 0x0000000C, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0xFE363C8B, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80222E2C_6AA02C -.word 0x00000043, 0x00000001, func_80218F58_6A0158, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80222E48_6AA048 -.word 0x00000043, 0x00000001, dup3_b_area_kpa2_FadeBackgroundToBlack, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x0000005A, 0x00000056, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002123, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000A, 0x00000043, 0x00000006, func_80219444_6A0644, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A8480, 0xF24A7AB4, 0x00000057, 0x00000000, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000056, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002123, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000A, 0x00000043, 0x00000006, func_80219444_6A0644, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A8480, 0xF24A7A95, 0x00000057, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000041, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000035, 0x00000002, 0xFE363C80, 0x0000005A, 0xFE363C82, 0xF24A7E80, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x0000005A, 0xFE363C82, 0xF24A7E80, 0xFE363C8E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x0000005A, 0xFE363C82, 0xF24A7E80, 0xFE363C8D, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000006, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000035, 0x00000002, 0xFE363C80, 0x00000024, 0xFE363C82, 0xF24A7C1A, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x00000024, 0xFE363C82, 0xF24A7C1A, 0xFE363C8E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x00000024, 0xFE363C82, 0xF24A7C1A, 0xFE363C8D, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002121, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8F, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8E, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8D, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00040000, 0x00000001, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000001, 0x0000000B, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_80221510_6A8710, 0x00000043, 0x00000003, SetStatusTable, 0xFFFFFF81, D_802215C8_6A87C8, 0x00000043, 0x00000001, dup3_b_area_kpa2_RemoveChillOut, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000028, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000C, 0x00000043, 0x0000000F, PlayEffect, 0x00000022, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000046, 0x00000050, 0x00000019, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000010, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000C, 0x00000043, 0x0000000F, PlayEffect, 0x00000022, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000001C, 0x00000020, 0x0000000A, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002125, 0x00000056, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, func_80219818_6A0A18, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7DB4, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000004B, 0x00000056, 0x00000000, 0x00000043, 0x00000001, dup3_b_area_kpa2_UnfadeBackgroundToBlack, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810008, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000028, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000010, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000052, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7E80, 0x0000000F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002124, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000027, 0x00000008, 0x00000001, 0x0000001E, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022356C_6AA76C -.word 0x0000000B, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A801A, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C85, 0xFE363C86, 0xFE363C87, 0x00000024, 0x00000002, 0xFE363C88, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C88, 0xFE363C85, 0x0000002A, 0x00000002, 0xFE363C88, 0x00000002, 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C89, 0xFE363C87, 0x0000002A, 0x00000002, 0xFE363C89, 0x00000002, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C88, 0x00000000, 0xFE363C89, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C88, 0xFE363C82, 0x0000002A, 0x00000002, 0xFE363C88, 0x00000002, 0x00000027, 0x00000002, 0xFE363C89, 0xFE363C84, 0x0000002A, 0x00000002, 0xFE363C89, 0x00000002, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C88, 0x00000000, 0xFE363C89, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022376C_6AA96C -.word 0x00000043, 0x00000004, GetAnimation, 0xFFFFFF81, 0x00000001, 0xFE363C87, 0x0000000B, 0x00000002, 0xFE363C87, 0x00810003, 0x0000000A, 0x00000002, 0xFE363C83, 0x00810003, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020B4, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020F6, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C87, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C85, 0xFE363C86, 0xFE363C87, 0x00000028, 0x00000002, 0xFE363C85, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C85, 0xFFFFFFE2, 0x0000000C, 0x00000002, 0xFE363C85, 0x0000001E, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C87, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020B4, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020F6, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C87, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802238E8_6AAAE8 -.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000007, 0xFE363C80, 0x00000028, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000007, 0xFE363C80, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x00000041, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001A, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000126, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000F, 0x00000043, 0x00000001, dup3_b_area_kpa2_FadeBackgroundToBlack, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002126, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x0000005A, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000006B, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7E80, 0x00000032, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000005, 0xFE363C80, 0x0000005A, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000006B, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7C1A, 0x00000032, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000006, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000005, 0xFE363C80, 0x00000024, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFFFFFF81, 0xFE363C80, 0x00000029, 0x00000002, 0xFE363C80, 0x00000028, 0x0000002A, 0x00000002, 0xFE363C80, 0x00000064, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000206D, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000214, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000025C, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000001, 0x00000043, 0x00000004, HealActor, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80223E20_6AB020 -.word 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000005, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000006, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000002, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x0000003C, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x00000018, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80222BA0_6A9DA0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFFFFFF81, 0xFE363C81, 0x00000029, 0x00000002, 0xFE363C80, 0x00000064, 0x0000002A, 0x00000002, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000002, dup3_b_area_kpa2_GetPlayerHpPercent, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C82, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C82, 0x0000001E, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000007, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000050, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000006, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000046, 0x00000001, D_802238E8_6AAAE8, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000046, 0x00000001, D_802238E8_6AAAE8, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00040000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x00000014, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x0000001E, 0x0000001C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000064, 0x00000023, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C81, 0x0000000C, 0x00000002, 0xFE363C81, 0xFE363C80, 0x00000046, 0x00000001, D_80222BA0_6A9DA0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000003, 0x00000046, 0x00000001, D_80224570_6AB770, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80224380_6AB580, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80224380_6AB580 -.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000E, 0x00000002, 0xFE363C80, 0x00000003, 0x00000046, 0x00000001, D_80224570_6AB770, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000006, 0x00000043, 0x00000003, RandInt, 0x00000014, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000046, 0x00000001, D_80225DD0_6ACFD0, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_80225DD0_6ACFD0, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000043, 0x00000003, dup3_b_area_kpa2_GetJumpHammerCharge, 0xFE363C80, 0xFE363C81, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000046, 0x00000001, D_80225DD0_6ACFD0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000D, 0x00000002, 0xFE363C81, 0x00000000, 0x00000046, 0x00000001, D_80225DD0_6ACFD0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000046, 0x00000001, D_80225DD0_6ACFD0, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_80225DD0_6ACFD0, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80224570_6AB770, 0x00000002, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80224570_6AB770 -.word 0x00000043, 0x00000003, RandInt, 0x00000050, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000005, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000002, 0x00000046, 0x00000001, D_802248A4_6ABAA4, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x0000003C, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000002, 0x00000046, 0x00000001, D_80225898_6ACA98, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_802267C8_6AD9C8, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022466C_6AB86C -.word 0x00000166, 0x00000167, 0x00000168 - -dlabel D_80224678_6AB878 -.word 0x00000049, 0x0000004A, 0x0000004B - -dlabel D_80224684_6AB884 -.word 0x00000169, 0x0000016A, 0x0000016B - -dlabel D_80224690_6AB890 -.word 0x0000004C, 0x0000004D, 0x0000004E - -dlabel D_8022469C_6AB89C -.word 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C8A, 0x00000014, 0x00000001, 0xFE363C8A, 0x00000016, 0x00000001, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000028, 0x00000002, 0xFE363C83, 0x00000001, 0x00000043, 0x00000003, func_80219FFC_6A11FC, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000007, MakeItemEntity, 0xFE363C84, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C81, 0x00000007, 0x00000043, 0x00000007, dup3_b_area_kpa2_ItemEntityJumpToPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000008, 0xF24A7E80, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000C, 0x00000043, 0x00000007, dup3_b_area_kpa2_ItemEntityJumpToPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000008, 0xF24A7E80, 0x00000027, 0x00000002, 0xFE363C81, 0x00000007, 0x00000043, 0x00000007, dup3_b_area_kpa2_ItemEntityJumpToPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000005, 0xF24A7E80, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000003, ShowMessageBox, 0xFE363C85, 0x0000003C, 0x00000043, 0x00000002, RemoveItemEntity, 0xFE363C80, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0x00000003, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802248A4_6ABAA4 -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x0000012C, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000024, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000000F0, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810003, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x0000003C, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8680, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810011, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810012, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7F4D, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000012, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000003, dup2_b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8680, 0x00000057, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000023, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000E, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000003, dup2_b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8280, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810014, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_80222CD8_6A9ED8, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8680, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810013, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C81, 0x00000010, 0x00000002, 0xFE363C81, 0x00080000, 0x00000024, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000006, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8F, 0x00000011, 0x00000002, 0xFE363C8F, 0x00080000, 0x00000043, 0x00000002, func_80269EAC, 0x00000018, 0x00000013, 0x00000000, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0xFE363C80, 0x00000020, 0x00000024, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000043, 0x00000002, GetBattleFlags, 0xFE363C81, 0x00000011, 0x00000002, 0xFE363C81, 0x80000000, 0x00000043, 0x00000003, GetStatusFlags, 0x00000000, 0xFE363C81, 0x00000011, 0x00000002, 0xFE363C81, 0x40100000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C81, 0x00000011, 0x00000002, 0xFE363C81, 0x00080000, 0x00000043, 0x00000002, dup_b_area_kpa2_CanPlayerLoseAction, 0xFE363C80, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000043, 0x00000002, LandJump, 0xFFFFFF81, 0x00000043, 0x00000003, dup2_b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020EA, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0x00000001, 0x00000044, 0x00000001, D_8022469C_6AB89C, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000034, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020EA, 0x00000056, 0x00000000, 0x00000043, 0x00000003, dup2_b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8680, 0x00000057, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000003, dup2_b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000003, 0xF24A8280, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810014, 0x00000008, 0x00000001, 0x00000003, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810003, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x0000000A, 0xFE363C80, 0x00000043, 0x00000005, dup_b_area_kpa2_GetItemEntityPosition, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001E, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8280, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A8280, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081001A, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x0000000A, 0xFE363C80, 0x00000043, 0x00000005, dup_b_area_kpa2_GetItemEntityPosition, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000043, 0x00000000, 0xFE363C81, 0x00000000, 0xFE363C83, 0xF24A7C80, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000006, 0x00000001, 0xFE363C81, 0x00000000, 0xFE363C83, 0xF24A8280, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020F6, 0x00000008, 0x00000001, 0x00000004, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081001A, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000043, 0x00000000, 0xFE363C81, 0x00000000, 0xFE363C83, 0xF24A7C80, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000006, 0x00000001, 0xFE363C81, 0x00000000, 0xFE363C83, 0xF24A8280, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020F6, 0x00000008, 0x00000001, 0x00000004, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081001A, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000043, 0x00000000, 0xFE363C81, 0x00000000, 0xFE363C83, 0xF24A7C80, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000006, 0x00000001, 0xFE363C81, 0x00000000, 0xFE363C83, 0xF24A8280, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020F6, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810007, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0x00000012, 0x00000000, 0x00000043, 0x00000002, GetBattleFlags, 0xFE363C81, 0x00000011, 0x00000002, 0xFE363C81, 0x80000000, 0x00000043, 0x00000003, GetStatusFlags, 0x00000000, 0xFE363C81, 0x00000011, 0x00000002, 0xFE363C81, 0x00100000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C81, 0x00000011, 0x00000002, 0xFE363C81, 0x00080000, 0x00000043, 0x00000002, LandJump, 0xFFFFFF81, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, dup2_b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000028, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000012, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020EA, 0x00000056, 0x00000000, 0x00000043, 0x00000003, dup2_b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8680, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810014, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x00000014, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_80222CD8_6A9ED8, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802257EC_6AC9EC -.word 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000C, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000005, 0x00000001, 0x00000004, 0x00000043, 0x00000003, dup2_b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000002, 0xF24A8280, 0x00000008, 0x00000001, 0x00000004, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000057, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80225898_6ACA98 -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000000C8, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000000A0, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000005, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810003, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000028, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000010, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8680, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810009, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810015, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000035E, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000046, 0x00000001, D_802257EC_6AC9EC, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000012, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_80222CD8_6A9ED8, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00040000, 0x00000024, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000043, 0x00000002, func_80269EAC, 0x0000000C, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x00000000, 0x00000000, 0x80020364, 0xFE363C80, 0x00000020, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000006, 0x00000043, 0x00000002, func_80269EAC, 0x0000000C, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x00000000, 0x00000000, 0x80020364, 0xFE363C80, 0x00000020, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000014, 0x00000001, 0xFE363C8F, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x0000001D, 0x00000001, 0x0000000A, 0x00000008, 0x00000001, 0x0000001E, 0x0000000A, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_80222CD8_6A9ED8, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80225DD0_6ACFD0 -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000018, 0x00000027, 0x00000002, 0xFE363C81, 0x00000041, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000009, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001A, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000000FA, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000F, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000001, dup3_b_area_kpa2_FadeBackgroundToBlack, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002121, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000035, 0x00000002, 0xFE363C80, 0x0000005A, 0xFE363C82, 0xF24A7E80, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x0000005A, 0xFE363C82, 0xF24A7E80, 0xFE363C8E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000006, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000035, 0x00000002, 0xFE363C80, 0x00000024, 0xFE363C82, 0xF24A7C1A, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x00000024, 0xFE363C82, 0xF24A7C1A, 0xFE363C8E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFFFFFFD3, 0x0000003C, 0x00000000, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000212, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000050, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8F, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8E, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002122, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000D, 0x00000024, 0x00000002, 0xFE363C81, 0x00000037, 0x00000043, 0x0000000F, PlayEffect, 0x00000039, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7E80, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000005, 0x00000024, 0x00000002, 0xFE363C81, 0x00000016, 0x00000043, 0x0000000F, PlayEffect, 0x00000039, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7E80, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000001, dup3_b_area_kpa2_UnfadeBackgroundToBlack, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000100, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8B, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8B, 0x00000016, 0x00000001, 0x00000006, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x0000001E, 0x00000002, 0x00000000, 0x0000001C, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000046, 0x00000001, D_802257EC_6AC9EC, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000100, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000010, 0x00000002, 0xFE363C80, 0x00040000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000013, 0x00000000, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x20000110, 0x0000FFFF, 0x00000000, 0xFE363C81, 0x00000020, 0x00000043, 0x00000002, RemovePlayerBuffs, 0x00010000, 0x0000000B, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000001, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000004, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000100, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000010, 0x00000002, 0xFE363C80, 0x00040000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000013, 0x00000000, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x20000110, 0x0000FFFF, 0x00000000, 0xFE363C81, 0x00000020, 0x00000043, 0x00000002, func_8026BF48, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000010, 0x00000002, 0xFE363C80, 0x00040000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000004, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000004, 0x00000013, 0x00000000, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x20000110, 0x0000FFFF, 0x00000000, 0xFE363C81, 0x00000020, 0x00000043, 0x00000002, RemovePlayerBuffs, 0x0FFFFFFF, 0x00000014, 0x00000001, 0xFE363C8F, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x0000001D, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x0000000F, 0x0000000A, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802267C8_6AD9C8 -.word 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000041, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000190, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x0000002D, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x0000015E, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810016, 0x00000008, 0x00000001, 0x00000023, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810017, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000037, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C83, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C84, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000010, 0x00000002, 0xFE363C83, 0x00040000, 0x00000011, 0x00000002, 0xFE363C84, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000046, 0x00000027, 0x00000002, 0xFE363C81, 0x00000023, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001C, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000E, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000011, 0x00000002, 0xFE363C84, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000032, 0x00000027, 0x00000002, 0xFE363C81, 0x00000021, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000D, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000A, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000028, 0x00000002, 0xFE363C83, 0x00000028, 0x00000024, 0x00000002, 0xFE363C84, 0x00000014, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C86, 0x00000010, 0x00000002, 0xFE363C86, 0x00040000, 0x00000043, 0x0000000F, PlayEffect, 0x00000037, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000032, 0x00000001, 0x00000018, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000037, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000032, 0x00000001, 0x00000018, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, dup_b_area_kpa2_UnkFireBreathFXFunc, 0xFE363C8F, 0x00000013, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000003, dup2_b_area_kpa2_StartRumbleWithParams, 0x00000032, 0x00000094, 0x00000043, 0x00000002, PlaySound, 0x000003BD, 0x00000008, 0x00000001, 0x00000046, 0x00000043, 0x00000002, PlaySound, 0x000007BD, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810018, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810019, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x0000001E, 0x00000046, 0x00000001, D_802257EC_6AC9EC, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00040000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000010, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000008, 0x00000013, 0x00000000, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x00000002, 0x0000FFFF, 0x00000000, 0xFE363C80, 0x00000020, 0x00000014, 0x00000001, 0xFE363C8F, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x0000001D, 0x00000001, 0x0000000A, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810018, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810019, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x0000001E, 0x0000000A, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226F08_6AE108 -.word 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C83, 0x0000000A, 0x00000002, 0xFE363C83, 0x00000024, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00040000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000002, func_80269E80, 0xFE363C83, 0x00000014, 0x00000001, 0xFE363C83, 0x00000016, 0x00000001, 0x00000009, 0x00000043, 0x00000003, GetOriginalActorType, 0xFFFFFF81, 0xFE363C87, 0x00000014, 0x00000001, 0xFE363C87, 0x0000001D, 0x00000001, 0x00000012, 0x0000001D, 0x00000001, 0x00000030, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7A8B, 0x00000027, 0x00000002, 0xFE363C85, 0x00000037, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000023, 0x00000000, 0x00000024, 0x00000002, 0xFE363C87, 0x00000000, 0x00000005, 0x00000001, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C87, 0x00000030, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0xFE363C87, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000003, GetOriginalActorType, 0xFFFFFF81, 0xFE363C87, 0x00000014, 0x00000001, 0xFE363C87, 0x0000001D, 0x00000001, 0x00000012, 0x0000001D, 0x00000001, 0x00000030, 0x00000008, 0x00000001, 0x0000001E, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000028, 0x00000002, 0xFE363C85, 0x00000037, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7DB4, 0x0000000A, 0x00000002, 0xFE363C85, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x0000001C, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000023, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C82, 0xFFFFFFFF, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C80, 0xFE363C82, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C81, 0x00000014, 0x00000001, 0xFE363C81, 0x00000016, 0x00000001, 0x0000000E, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0x00000011, 0x00000002, 0xFE363C81, 0x00000202, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, GetActorSize, 0xFFFFFF81, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C85, 0x00000010, 0x00000002, 0xFE363C85, 0x00080000, 0x0000002E, 0x00000002, 0xFE363C83, 0xF24A7C1A, 0x0000002E, 0x00000002, 0xFE363C84, 0xF24A7C1A, 0x00000013, 0x00000000, 0x0000002F, 0x00000002, 0xFE363C83, 0xF24A8280, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C85, 0x00000010, 0x00000002, 0xFE363C85, 0x00000800, 0x0000002D, 0x00000002, 0xFE363C81, 0xFE363C83, 0x00000012, 0x00000000, 0x0000002C, 0x00000002, 0xFE363C81, 0xFE363C83, 0x00000013, 0x00000000, 0x0000002C, 0x00000002, 0xFE363C82, 0xF24A8E80, 0x0000002F, 0x00000002, 0xFE363C83, 0xF24AA280, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C85, 0x00000010, 0x00000002, 0xFE363C85, 0x00080000, 0x0000002E, 0x00000002, 0xFE363C83, 0xF24A7C1A, 0x0000000C, 0x00000002, 0xFE363C83, 0x00000001, 0x00000026, 0x00000002, 0xFE363C83, 0xF24A7E80, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000027, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000024, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227560_6AE760 -.word 0x00000001, 0x00810002, 0x0000000C, 0x00810000, 0x00000006, 0x00810002, 0x00000009, 0x00810002, 0x00000008, 0x00810000, 0x0000000B, 0x00810000, 0x00000005, 0x00810000, 0x00000005, 0x00810000, 0x00000004, 0x00810002, 0x00000004, 0x00810002, 0x00000000 - -dlabel D_802275B4_6AE7B4 -.word 0x00000001, 0x00000002, 0x00000000 - -dlabel D_802275C0_6AE7C0 -.word 0x00000001, 0x00000063, 0x00000000 - -dlabel D_802275CC_6AE7CC -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000000, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x00000000, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x00000000, 0x0000000A, 0x00000000, 0x00000008, 0x00000000, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0xFFFFFFFF, 0x00000027, 0xFFFFFFFF, 0x00000029, 0xFFFFFFFE, 0x00000000 - -dlabel D_80227678_6AE878 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000000, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x00000000, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x00000000, 0x0000000A, 0x00000000, 0x00000008, 0x00000000, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0xFFFFFFFF, 0x00000027, 0xFFFFFFFF, 0x00000029, 0xFFFFFFFE, 0x00000000 - -dlabel D_80227724_6AE924 -.word 0x00800000, 0x01000000, 0xE56C00FF, D_80227560_6AE760, D_802275B4_6AE7B4, 0x00000000, 0x00000000, 0x00F80000, 0x00000000 - -dlabel D_80227748_6AE948 -.word 0x00000000, 0x00C30063, 0x00010000, D_80227724_6AE924, D_80227770_6AE970, D_802275CC_6AE7CC, 0x00000000, 0x00043200, 0x7B770000, 0xCB67215C - -dlabel D_80227770_6AE970 -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000004, 0x00000003, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000005, 0x00000003, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000003, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000007, 0x00000003, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000E, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A8080, 0xF24A8080, 0xF24A7E80, 0x00000043, 0x00000008, ModifyActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000096, 0x00000000, 0x00000000, 0x00000000, 0x00000044, 0x00000001, D_8022865C_6AF85C, 0x00000043, 0x00000008, ModifyActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000096, 0x00000096, 0x00000000, 0x00000000, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x0000000A, 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_80228490_6AF690, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_80227954_6AEB54, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80227AD0_6AECD0, 0x00000043, 0x00000003, SetBattleFlagBits2, 0x02000400, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227954_6AEB54 -.word 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, GetAnimation, 0xFFFFFF81, 0x00000001, 0xFE363C83, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, ActorExists, 0xFFFFFF81, 0xFE363C8B, 0x0000000A, 0x00000002, 0xFE363C8B, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8B, 0x00000011, 0x00000002, 0xFE363C8B, 0x00080000, 0x00000043, 0x00000008, ModifyActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000096, 0x00000096, 0x000000FF, 0x00000000, 0x00000043, 0x00000008, ModifyActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000096, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000008, ModifyActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x0000003C, 0x0000003C, 0x000000FF, 0x00000000, 0x00000043, 0x00000008, ModifyActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000001, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80228F9C_6B019C, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227AD0_6AECD0 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, GetLastElement, 0xFE363C8E, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000038, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_802283C0_6AF5C0, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00810020, 0x00000024, 0x00000002, 0xFE363C82, 0x00810021, 0x00000046, 0x00000001, D_8022C79C_6B399C, 0x00000016, 0x00000001, 0x00000024, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00810020, 0x00000024, 0x00000002, 0xFE363C82, 0x00810021, 0x00000046, 0x00000001, D_8022C79C_6B399C, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000024, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_802283C0_6AF5C0, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_802283C0_6AF5C0, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_80228D9C_6AFF9C, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_80228508_6AF708, 0x00000016, 0x00000001, 0x00000026, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_80228D9C_6AFF9C, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_80228508_6AF708, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x00000043, 0x00000002, func_80269E80, 0xFE363C82, 0x00000014, 0x00000001, 0xFE363C82, 0x0000001D, 0x00000001, 0x00000012, 0x0000001D, 0x00000001, 0x00000015, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810007, 0x00000008, 0x00000001, 0x0000001E, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00810007, 0x00000046, 0x00000001, D_80228464_6AF664, 0x00000023, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00810002, 0x00000046, 0x00000001, DoImmune, 0x00000016, 0x00000001, 0x0000001B, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_802283C0_6AF5C0, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000035, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00810012, 0x00000046, 0x00000001, DoRecover, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810014, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8680, 0x00000016, 0x00000001, 0x0000003F, 0x00000043, 0x00000001, dup4_b_area_kpa2_UnfadeBackgroundToBlack, 0x00000016, 0x00000001, 0x00000030, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x000003E8, 0x00000016, 0x00000001, 0x0000001D, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000024, 0x00000002, 0xFE363C83, 0x0000003C, 0x00000024, 0x00000002, 0xFE363C84, 0x00000061, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C83, 0x00000018, 0x00000024, 0x00000002, 0xFE363C84, 0x00000027, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C83, 0x00000043, 0x0000000F, PlayEffect, 0x00000052, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A8080, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810008, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C84, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000006, ActorSpeak, 0x00130085, 0xFFFFFF81, 0x00000001, 0x00810007, 0x00810007, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000002, GetCurrentPartnerID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000006, ActorSpeak, 0x00130087, 0x00000100, 0x00000000, 0xFFFFFFFF, 0xFFFFFFFF, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000006, ActorSpeak, 0x00130088, 0x00000100, 0x00000000, 0xFFFFFFFF, 0xFFFFFFFF, 0x00000016, 0x00000001, 0x00000004, 0x00000043, 0x00000006, ActorSpeak, 0x00130089, 0x00000100, 0x00000000, 0xFFFFFFFF, 0xFFFFFFFF, 0x00000016, 0x00000001, 0x00000009, 0x00000043, 0x00000006, ActorSpeak, 0x0013008A, 0x00000100, 0x00000000, 0xFFFFFFFF, 0xFFFFFFFF, 0x00000016, 0x00000001, 0x00000006, 0x00000043, 0x00000006, ActorSpeak, 0x0013008B, 0x00000100, 0x00000000, 0xFFFFFFFF, 0xFFFFFFFF, 0x00000016, 0x00000001, 0x00000007, 0x00000043, 0x00000006, ActorSpeak, 0x0013008C, 0x00000100, 0x00000000, 0xFFFFFFFF, 0xFFFFFFFF, 0x00000016, 0x00000001, 0x00000008, 0x00000043, 0x00000006, ActorSpeak, 0x0013008D, 0x00000100, 0x00000000, 0xFFFFFFFF, 0xFFFFFFFF, 0x0000001C, 0x00000000, 0x00000043, 0x00000006, ActorSpeak, 0x00130086, 0x00000100, 0x00000000, 0xFFFFFFFF, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xF5DE030A, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00400000, 0x00000001, 0x00000043, 0x00000003, SetBattleFlagBits, 0x00060000, 0x00000001, 0x00000043, 0x00000002, func_8026F60C, 0x00000014, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000014, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802283C0_6AF5C0 -.word 0x00000046, 0x00000001, D_802283F0_6AF5F0, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802283F0_6AF5F0 -.word 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoNormalHit, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoNormalHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80228464_6AF664 -.word 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoImmune, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80228490_6AF690 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000046, 0x00000001, D_80229650_6B0850, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802284D4_6AF6D4 -.word 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000F, 0x00000046, 0x00000001, D_80228678_6AF878, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80228508_6AF708 -.word 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C8D, 0xFE363C8E, 0xFE363C8F, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000006, GetDist2D, 0xFE363C89, 0xFE363C8A, 0xFE363C8C, 0xFE363C8D, 0xFE363C8F, 0x0000000F, 0x00000002, 0xFE363C89, 0xF24A8E80, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8B, 0x000000B4, 0x00000005, 0x00000001, 0x0000000F, 0x00000028, 0x00000002, 0xFE363C8B, 0x0000000C, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0xFE363C8B, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022865C_6AF85C -.word 0x00000043, 0x00000001, func_8021A318_6A1518, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80228678_6AF878 -.word 0x00000043, 0x00000001, dup4_b_area_kpa2_FadeBackgroundToBlack, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000016, 0x00000027, 0x00000002, 0xFE363C81, 0x00000087, 0x00000056, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002123, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000A, 0x00000043, 0x00000006, func_8021A804_6A1A04, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A8480, 0xF24A7ACD, 0x00000057, 0x00000000, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000009, 0x00000027, 0x00000002, 0xFE363C81, 0x00000036, 0x00000056, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002123, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000A, 0x00000043, 0x00000006, func_8021A804_6A1A04, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A8480, 0xF24A7A9F, 0x00000057, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000041, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000016, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000035, 0x00000002, 0xFE363C80, 0x00000087, 0xFE363C82, 0xF24A8080, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x00000087, 0xFE363C82, 0xF24A7E80, 0xFE363C8E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x00000087, 0xFE363C82, 0xF24A8080, 0xFE363C8D, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000009, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000035, 0x00000002, 0xFE363C80, 0x00000036, 0xFE363C82, 0xF24A7CE7, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x00000036, 0xFE363C82, 0xF24A7C1A, 0xFE363C8E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x00000036, 0xFE363C82, 0xF24A7CE7, 0xFE363C8D, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002121, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8F, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8E, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8D, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00080000, 0x00000001, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000001, 0x0000000B, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_802275C0_6AE7C0, 0x00000043, 0x00000003, SetStatusTable, 0xFFFFFF81, D_80227678_6AE878, 0x00000043, 0x00000001, dup4_b_area_kpa2_RemoveChillOut, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x0000003C, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000C, 0x00000043, 0x0000000F, PlayEffect, 0x00000022, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000069, 0x00000078, 0x00000025, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000018, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000C, 0x00000043, 0x0000000F, PlayEffect, 0x00000022, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000002A, 0x00000030, 0x0000000F, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002125, 0x00000056, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, func_8021ABD8_6A1DD8, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7F4D, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000004B, 0x00000056, 0x00000000, 0x00000043, 0x00000001, dup4_b_area_kpa2_UnfadeBackgroundToBlack, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810008, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000027, 0x00000002, 0xFE363C81, 0x0000003C, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000018, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000052, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A8080, 0x0000000F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002124, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000027, 0x00000008, 0x00000001, 0x0000001E, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80228D9C_6AFF9C -.word 0x0000000B, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A801A, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C85, 0xFE363C86, 0xFE363C87, 0x00000024, 0x00000002, 0xFE363C88, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C88, 0xFE363C85, 0x0000002A, 0x00000002, 0xFE363C88, 0x00000002, 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C89, 0xFE363C87, 0x0000002A, 0x00000002, 0xFE363C89, 0x00000002, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C88, 0x00000000, 0xFE363C89, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C88, 0xFE363C82, 0x0000002A, 0x00000002, 0xFE363C88, 0x00000002, 0x00000027, 0x00000002, 0xFE363C89, 0xFE363C84, 0x0000002A, 0x00000002, 0xFE363C89, 0x00000002, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C88, 0x00000000, 0xFE363C89, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80228F9C_6B019C -.word 0x00000043, 0x00000004, GetAnimation, 0xFFFFFF81, 0x00000001, 0xFE363C87, 0x0000000B, 0x00000002, 0xFE363C87, 0x00810003, 0x0000000A, 0x00000002, 0xFE363C83, 0x00810003, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020B4, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020F6, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C87, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C85, 0xFE363C86, 0xFE363C87, 0x00000028, 0x00000002, 0xFE363C85, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C85, 0xFFFFFFE2, 0x0000000C, 0x00000002, 0xFE363C85, 0x0000001E, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C87, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020B4, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020F6, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C87, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80229118_6B0318 -.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000007, 0xFE363C80, 0x00000028, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000007, 0xFE363C80, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x00000061, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x00000027, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000126, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000F, 0x00000043, 0x00000001, dup4_b_area_kpa2_FadeBackgroundToBlack, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002126, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000016, 0x00000027, 0x00000002, 0xFE363C81, 0x00000087, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000006B, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A8080, 0x00000032, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000016, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000005, 0xFE363C80, 0x00000087, 0xFE363C82, 0xF24A7C4D, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000009, 0x00000027, 0x00000002, 0xFE363C81, 0x00000036, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000006B, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7CE7, 0x00000032, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000009, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000005, 0xFE363C80, 0x00000036, 0xFE363C82, 0xF24A7B39, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFFFFFF81, 0xFE363C80, 0x00000029, 0x00000002, 0xFE363C80, 0x0000001F, 0x0000002A, 0x00000002, 0xFE363C80, 0x00000064, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000206D, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000214, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000025C, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000001, 0x00000043, 0x00000004, HealActor, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80229650_6B0850 -.word 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000005, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000006, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000002, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x0000005A, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000013, 0x00000000, 0x00000043, 0x00000006, ActorSpeak, 0x00130084, 0xFFFFFF81, 0x00000001, 0x00810007, 0x00810007, 0x00000046, 0x00000001, D_802284D4_6AF6D4, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFFFFFF81, 0xFE363C81, 0x00000029, 0x00000002, 0xFE363C80, 0x00000064, 0x0000002A, 0x00000002, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000002, dup6_b_area_kpa2_GetPlayerHpPercent, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C82, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C82, 0x00000019, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000007, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000006, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000046, 0x00000001, D_80229118_6B0318, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000046, 0x00000001, D_80229118_6B0318, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x0000000F, 0x0000001C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000023, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C81, 0x0000000C, 0x00000002, 0xFE363C81, 0xFE363C80, 0x00000046, 0x00000001, D_802284D4_6AF6D4, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000003, 0x00000046, 0x00000001, D_80229DC0_6B0FC0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80229BD0_6B0DD0, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80229BD0_6B0DD0 -.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000E, 0x00000002, 0xFE363C80, 0x00000003, 0x00000046, 0x00000001, D_80229DC0_6B0FC0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000006, 0x00000043, 0x00000003, RandInt, 0x0000001E, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000046, 0x00000001, D_8022B600_6B2800, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_8022CD88_6B3F88, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000043, 0x00000003, dup6_b_area_kpa2_GetJumpHammerCharge, 0xFE363C80, 0xFE363C81, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000046, 0x00000001, D_8022B600_6B2800, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000D, 0x00000002, 0xFE363C81, 0x00000000, 0x00000046, 0x00000001, D_8022B600_6B2800, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x0000006E, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000001E, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000046, 0x00000001, D_8022B600_6B2800, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_8022CD88_6B3F88, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80229DC0_6B0FC0, 0x00000002, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80229DC0_6B0FC0 -.word 0x00000043, 0x00000003, RandInt, 0x00000050, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000005, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000002, 0x00000046, 0x00000001, D_8022A0F4_6B12F4, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x0000003C, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000002, 0x00000046, 0x00000001, D_8022B0E8_6B22E8, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_8022BFF8_6B31F8, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80229EBC_6B10BC -.word 0x00000166, 0x00000167, 0x00000168 - -dlabel D_80229EC8_6B10C8 -.word 0x00000049, 0x0000004A, 0x0000004B - -dlabel D_80229ED4_6B10D4 -.word 0x00000169, 0x0000016A, 0x0000016B - -dlabel D_80229EE0_6B10E0 -.word 0x0000004C, 0x0000004D, 0x0000004E - -dlabel D_80229EEC_6B10EC -.word 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C8A, 0x00000014, 0x00000001, 0xFE363C8A, 0x00000016, 0x00000001, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000028, 0x00000002, 0xFE363C83, 0x00000001, 0x00000043, 0x00000003, func_8021B3B4_6A25B4, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000007, MakeItemEntity, 0xFE363C84, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C81, 0x00000007, 0x00000043, 0x00000007, dup6_b_area_kpa2_ItemEntityJumpToPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000008, 0xF24A7E80, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000C, 0x00000043, 0x00000007, dup6_b_area_kpa2_ItemEntityJumpToPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000008, 0xF24A7E80, 0x00000027, 0x00000002, 0xFE363C81, 0x00000007, 0x00000043, 0x00000007, dup6_b_area_kpa2_ItemEntityJumpToPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000005, 0xF24A7E80, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000003, ShowMessageBox, 0xFE363C85, 0x0000003C, 0x00000043, 0x00000002, RemoveItemEntity, 0xFE363C80, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0x00000003, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022A0F4_6B12F4 -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x0000012C, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000036, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000000F0, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000015, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810003, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x0000003C, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8680, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810011, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810012, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7F4D, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000012, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000003, dup3_b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8680, 0x00000057, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000023, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000E, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000003, dup3_b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8280, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810014, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_80228508_6AF708, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8680, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810013, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C81, 0x00000010, 0x00000002, 0xFE363C81, 0x00080000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000010, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000008, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8F, 0x00000011, 0x00000002, 0xFE363C8F, 0x00080000, 0x00000043, 0x00000002, func_80269EAC, 0x00000018, 0x00000013, 0x00000000, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0xFE363C80, 0x00000020, 0x00000024, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000043, 0x00000002, GetBattleFlags, 0xFE363C81, 0x00000011, 0x00000002, 0xFE363C81, 0x80000000, 0x00000043, 0x00000003, GetStatusFlags, 0x00000000, 0xFE363C81, 0x00000011, 0x00000002, 0xFE363C81, 0x40100000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C81, 0x00000011, 0x00000002, 0xFE363C81, 0x00080000, 0x00000043, 0x00000002, dup6_b_area_kpa2_CanPlayerLoseAction, 0xFE363C80, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000043, 0x00000002, LandJump, 0xFFFFFF81, 0x00000043, 0x00000003, dup3_b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020EA, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0x00000001, 0x00000044, 0x00000001, D_80229EEC_6B10EC, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000034, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020EA, 0x00000056, 0x00000000, 0x00000043, 0x00000003, dup3_b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8680, 0x00000057, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000003, dup3_b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000003, 0xF24A8280, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810014, 0x00000008, 0x00000001, 0x00000003, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810003, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x0000000A, 0xFE363C80, 0x00000043, 0x00000005, b_area_kpa2_GetItemEntityPosition, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000027, 0x00000002, 0xFE363C81, 0x00000026, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8280, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A8280, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081001A, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x0000000A, 0xFE363C80, 0x00000043, 0x00000005, b_area_kpa2_GetItemEntityPosition, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000043, 0x00000000, 0xFE363C81, 0x00000000, 0xFE363C83, 0xF24A7D80, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000006, 0x00000001, 0xFE363C81, 0x00000000, 0xFE363C83, 0xF24A8680, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020F6, 0x00000008, 0x00000001, 0x00000004, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081001A, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000043, 0x00000000, 0xFE363C81, 0x00000000, 0xFE363C83, 0xF24A7D80, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000006, 0x00000001, 0xFE363C81, 0x00000000, 0xFE363C83, 0xF24A8680, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020F6, 0x00000008, 0x00000001, 0x00000004, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081001A, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000043, 0x00000000, 0xFE363C81, 0x00000000, 0xFE363C83, 0xF24A7D80, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000006, 0x00000001, 0xFE363C81, 0x00000000, 0xFE363C83, 0xF24A8680, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020F6, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810007, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0x00000012, 0x00000000, 0x00000043, 0x00000002, GetBattleFlags, 0xFE363C81, 0x00000011, 0x00000002, 0xFE363C81, 0x80000000, 0x00000043, 0x00000003, GetStatusFlags, 0x00000000, 0xFE363C81, 0x00000011, 0x00000002, 0xFE363C81, 0x00100000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C81, 0x00000011, 0x00000002, 0xFE363C81, 0x00080000, 0x00000043, 0x00000002, LandJump, 0xFFFFFF81, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, dup3_b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000028, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000012, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020EA, 0x00000056, 0x00000000, 0x00000043, 0x00000003, dup3_b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8680, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810014, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x00000014, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_80228508_6AF708, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022B03C_6B223C -.word 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000C, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000005, 0x00000001, 0x00000004, 0x00000043, 0x00000003, dup3_b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000002, 0xF24A8280, 0x00000008, 0x00000001, 0x00000004, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000057, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022B0E8_6B22E8 -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000000C8, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000000A0, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000005, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810003, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x0000003C, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000018, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8680, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810009, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810015, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000035E, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000046, 0x00000001, D_8022B03C_6B223C, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000012, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_80228508_6AF708, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000010, 0x00000043, 0x00000002, func_80269EAC, 0x0000000C, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x00000000, 0x00000000, 0x80020364, 0xFE363C80, 0x00000020, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000008, 0x00000043, 0x00000002, func_80269EAC, 0x0000000C, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x00000000, 0x00000000, 0x80020364, 0xFE363C80, 0x00000020, 0x00000013, 0x00000000, 0x00000014, 0x00000001, 0xFE363C8F, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x0000001D, 0x00000001, 0x0000000A, 0x00000008, 0x00000001, 0x0000001E, 0x0000000A, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_80228508_6AF708, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022B600_6B2800 -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000018, 0x00000027, 0x00000002, 0xFE363C81, 0x00000061, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000009, 0x00000027, 0x00000002, 0xFE363C81, 0x00000027, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000177, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000F, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000001, dup4_b_area_kpa2_FadeBackgroundToBlack, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002121, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000016, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000035, 0x00000002, 0xFE363C80, 0x00000087, 0xFE363C82, 0xF24A7E80, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x00000087, 0xFE363C82, 0xF24A7E80, 0xFE363C8E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000009, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000035, 0x00000002, 0xFE363C80, 0x00000036, 0xFE363C82, 0xF24A7C1A, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x00000036, 0xFE363C82, 0xF24A7C1A, 0xFE363C8E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFFFFFFD3, 0x0000003C, 0x00000000, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000212, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000050, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8F, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8E, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002122, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000013, 0x00000024, 0x00000002, 0xFE363C81, 0x00000037, 0x00000043, 0x0000000F, PlayEffect, 0x00000039, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7E80, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000007, 0x00000024, 0x00000002, 0xFE363C81, 0x00000016, 0x00000043, 0x0000000F, PlayEffect, 0x00000039, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7E80, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000001, dup4_b_area_kpa2_UnfadeBackgroundToBlack, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000100, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8B, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8B, 0x00000016, 0x00000001, 0x00000006, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x0000001E, 0x00000002, 0x00000000, 0x0000001C, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000046, 0x00000001, D_8022B03C_6B223C, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000100, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000010, 0x00000002, 0xFE363C80, 0x00040000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000013, 0x00000000, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x20000110, 0x0000FFFF, 0x00000000, 0xFE363C81, 0x00000020, 0x00000043, 0x00000002, RemovePlayerBuffs, 0x00010000, 0x0000000B, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000001, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000004, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000100, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000010, 0x00000002, 0xFE363C80, 0x00040000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000013, 0x00000000, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x20000110, 0x0000FFFF, 0x00000000, 0xFE363C81, 0x00000020, 0x00000043, 0x00000002, func_8026BF48, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000010, 0x00000002, 0xFE363C80, 0x00040000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000006, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000006, 0x00000013, 0x00000000, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x20000110, 0x0000FFFF, 0x00000000, 0xFE363C81, 0x00000020, 0x00000043, 0x00000002, RemovePlayerBuffs, 0x0FFFFFFF, 0x00000014, 0x00000001, 0xFE363C8F, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x0000001D, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x0000000F, 0x0000000A, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022BFF8_6B31F8 -.word 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000051, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000190, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000038, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x0000015E, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810016, 0x00000008, 0x00000001, 0x00000023, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810017, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000037, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C83, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C84, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000010, 0x00000002, 0xFE363C83, 0x00080000, 0x00000011, 0x00000002, 0xFE363C84, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000046, 0x00000027, 0x00000002, 0xFE363C81, 0x00000023, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001C, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000E, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000011, 0x00000002, 0xFE363C84, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000027, 0x00000002, 0xFE363C81, 0x00000031, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000013, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000A, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000028, 0x00000002, 0xFE363C83, 0x00000028, 0x00000024, 0x00000002, 0xFE363C84, 0x00000014, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C86, 0x00000010, 0x00000002, 0xFE363C86, 0x00080000, 0x00000043, 0x0000000F, PlayEffect, 0x00000037, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000032, 0x00000001, 0x00000018, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C87, 0x00000011, 0x00000002, 0xFE363C87, 0x00080000, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000006, 0x00000013, 0x00000000, 0x00000028, 0x00000002, 0xFE363C83, 0x0000000A, 0x00000043, 0x0000000F, PlayEffect, 0x00000037, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000032, 0x00000001, 0x00000018, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, dup2_b_area_kpa2_UnkFireBreathFXFunc, 0xFE363C8F, 0x00000013, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000003, dup3_b_area_kpa2_StartRumbleWithParams, 0x00000032, 0x00000094, 0x00000043, 0x00000002, PlaySound, 0x000003BD, 0x00000008, 0x00000001, 0x00000046, 0x00000043, 0x00000002, PlaySound, 0x000007BD, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810018, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810019, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x0000001E, 0x00000046, 0x00000001, D_8022B03C_6B223C, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000014, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000013, 0x00000000, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x00000002, 0x0000FFFF, 0x00000000, 0xFE363C80, 0x00000020, 0x00000014, 0x00000001, 0xFE363C8F, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x0000001D, 0x00000001, 0x0000000A, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810018, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810019, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x0000001E, 0x0000000A, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022C79C_6B399C -.word 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000002, func_80269E80, 0xFE363C83, 0x00000014, 0x00000001, 0xFE363C83, 0x00000016, 0x00000001, 0x00000009, 0x00000043, 0x00000003, GetOriginalActorType, 0xFFFFFF81, 0xFE363C87, 0x00000014, 0x00000001, 0xFE363C87, 0x0000001D, 0x00000001, 0x00000012, 0x0000001D, 0x00000001, 0x00000030, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7A8B, 0x00000027, 0x00000002, 0xFE363C85, 0x00000037, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000023, 0x00000000, 0x00000024, 0x00000002, 0xFE363C87, 0x00000000, 0x00000005, 0x00000001, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C87, 0x00000030, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0xFE363C87, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000003, GetOriginalActorType, 0xFFFFFF81, 0xFE363C87, 0x00000014, 0x00000001, 0xFE363C87, 0x0000001D, 0x00000001, 0x00000012, 0x0000001D, 0x00000001, 0x00000030, 0x00000008, 0x00000001, 0x0000001E, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000028, 0x00000002, 0xFE363C85, 0x00000037, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7DB4, 0x0000000A, 0x00000002, 0xFE363C85, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x0000001C, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000023, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C82, 0xFFFFFFFF, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C80, 0xFE363C82, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C81, 0x00000014, 0x00000001, 0xFE363C81, 0x00000016, 0x00000001, 0x0000000E, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0x00000011, 0x00000002, 0xFE363C81, 0x00000202, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, GetActorSize, 0xFFFFFF81, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C85, 0x00000010, 0x00000002, 0xFE363C85, 0x00080000, 0x0000002E, 0x00000002, 0xFE363C83, 0xF24A7C1A, 0x0000002E, 0x00000002, 0xFE363C84, 0xF24A7C1A, 0x00000013, 0x00000000, 0x0000002F, 0x00000002, 0xFE363C83, 0xF24A8280, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C85, 0x00000010, 0x00000002, 0xFE363C85, 0x00000800, 0x0000002D, 0x00000002, 0xFE363C81, 0xFE363C83, 0x00000012, 0x00000000, 0x0000002C, 0x00000002, 0xFE363C81, 0xFE363C83, 0x00000013, 0x00000000, 0x0000002C, 0x00000002, 0xFE363C82, 0xF24A8E80, 0x0000002F, 0x00000002, 0xFE363C83, 0xF24AA280, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C85, 0x00000010, 0x00000002, 0xFE363C85, 0x00080000, 0x0000002E, 0x00000002, 0xFE363C83, 0xF24A7C1A, 0x0000000C, 0x00000002, 0xFE363C83, 0x00000001, 0x00000026, 0x00000002, 0xFE363C83, 0xF24A7E80, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000027, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000024, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022CD88_6B3F88 -.word 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000D, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000003EF, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000F, 0x00000043, 0x00000001, dup4_b_area_kpa2_FadeBackgroundToBlack, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000036, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000006B, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A8080, 0x00000032, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000032, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000016, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000035, 0x00000002, 0xFE363C80, 0x00000087, 0xFE363C82, 0xF24A8080, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002121, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x00000087, 0xFE363C82, 0xF24A8080, 0xFE363C8E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8F, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8E, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000015, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000006B, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7CE7, 0x00000032, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000032, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000009, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000035, 0x00000002, 0xFE363C80, 0x00000036, 0xFE363C82, 0xF24A7CE7, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002121, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x00000036, 0xFE363C82, 0xF24A7CE7, 0xFE363C8E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8F, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8E, 0x00000013, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002127, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000056, 0x00000000, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0xFE363C81, 0x00000043, 0x00000003, func_8021B678_6A2878, 0xFE363C80, 0xFE363C81, 0x00000057, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000008, 0x00000001, 0x0000000A, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000001, dup4_b_area_kpa2_UnfadeBackgroundToBlack, 0x00000012, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000001, dup4_b_area_kpa2_UnfadeBackgroundToBlack, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8E80, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_80228508_6AF708, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x10000020, 0x00000000, 0x00000000, 0xFE363C80, 0x00000020, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x10000020, 0x00000000, 0x00000000, 0xFE363C80, 0x00000020, 0x00000013, 0x00000000, 0x00000014, 0x00000001, 0xFE363C8F, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x0000001D, 0x00000001, 0x0000000A, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000001, dup4_b_area_kpa2_UnfadeBackgroundToBlack, 0x0000000A, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8E80, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_80228508_6AF708, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022D490_6B4690 -.word 0x00000001, 0x00810002, 0x0000000C, 0x00810000, 0x00000006, 0x00810002, 0x00000009, 0x00810002, 0x00000008, 0x00810000, 0x0000000B, 0x00810000, 0x00000005, 0x00810000, 0x00000005, 0x00810000, 0x00000004, 0x00810002, 0x00000004, 0x00810002, 0x00000000 - -dlabel D_8022D4E4_6B46E4 -.word 0x00000001, 0x00000002, 0x00000000 - -dlabel D_8022D4F0_6B46F0 -.word 0x00000001, 0x00000063, 0x00000000 - -dlabel D_8022D4FC_6B46FC -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000000, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x00000000, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x00000000, 0x0000000A, 0x00000000, 0x00000008, 0x00000000, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0xFFFFFFFF, 0x00000027, 0xFFFFFFFF, 0x00000029, 0xFFFFFFFE, 0x00000000 - -dlabel D_8022D5A8_6B47A8 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000000, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x00000000, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x00000000, 0x0000000A, 0x00000000, 0x00000008, 0x00000000, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0xFFFFFFFF, 0x00000027, 0xFFFFFFFF, 0x00000029, 0xFFFFFFFE, 0x00000000 - -dlabel D_8022D654_6B4854 -.word 0x00800000, 0x01000000, 0xE56C00FF, D_8022D490_6B4690, D_8022D4E4_6B46E4, 0x00000000, 0x00000000, 0x00F80000, 0x00000000 - -dlabel D_8022D678_6B4878 -.word 0x00000000, 0x00C50063, 0x00010000, D_8022D654_6B4854, D_8022D6A0_6B48A0, D_8022D4FC_6B46FC, 0x00000000, 0x00043C00, 0x7B770000, 0xCB67215C - -dlabel D_8022D6A0_6B48A0 -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000004, 0x00000003, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000005, 0x00000003, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000003, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000007, 0x00000003, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000E, 0x00000000, 0x00000043, 0x00000003, SetEnemyHP, 0xFFFFFF81, 0xF5DE030A, 0x0000000C, 0x00000002, 0xF5DE030A, 0x00000001, 0x00000043, 0x00000003, SetEnemyHP, 0xFFFFFF81, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A8080, 0xF24A8080, 0xF24A7E80, 0x00000043, 0x00000008, ModifyActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000096, 0x00000000, 0x00000000, 0x00000000, 0x00000044, 0x00000001, D_8022F488_6B6688, 0x00000043, 0x00000008, ModifyActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000096, 0x00000096, 0x00000000, 0x00000000, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x0000000A, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00080000, 0x00000001, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000001, 0x0000000B, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_8022D4F0_6B46F0, 0x00000043, 0x00000003, SetStatusTable, 0xFFFFFF81, D_8022D5A8_6B47A8, 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8022F2BC_6B64BC, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8022D93C_6B4B3C, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8022DF74_6B5174, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_8022DAB8_6B4CB8, 0x00000043, 0x00000003, SetBattleFlagBits2, 0x02000000, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022D93C_6B4B3C -.word 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, GetAnimation, 0xFFFFFF81, 0x00000001, 0xFE363C83, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, ActorExists, 0xFFFFFF81, 0xFE363C8B, 0x0000000A, 0x00000002, 0xFE363C8B, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8B, 0x00000011, 0x00000002, 0xFE363C8B, 0x00080000, 0x00000043, 0x00000008, ModifyActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000096, 0x00000096, 0x000000FF, 0x00000000, 0x00000043, 0x00000008, ModifyActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000096, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000008, ModifyActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x0000003C, 0x0000003C, 0x000000FF, 0x00000000, 0x00000043, 0x00000008, ModifyActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000001, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_8022FDC8_6B6FC8, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022DAB8_6B4CB8 -.word 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, func_802535B4, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x0000005A, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000013, 0x00000000, 0x00000043, 0x00000006, ActorSpeak, 0x001300A6, 0xFFFFFF81, 0x00000001, 0x00810005, 0x00810002, 0x00000043, 0x00000002, func_802535B4, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x0000000C, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFFFFFF81, 0xFE363C81, 0x00000029, 0x00000002, 0xFE363C80, 0x00000064, 0x0000002A, 0x00000002, 0xFE363C80, 0xFE363C81, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000032, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000010, 0x00000042, 0x00000002, 0xFE363C80, 0x00000010, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, func_802535B4, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x0000005A, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000013, 0x00000000, 0x00000043, 0x00000006, ActorSpeak, 0x001300A8, 0xFFFFFF81, 0x00000001, 0x00810005, 0x00810002, 0x00000043, 0x00000002, func_802535B4, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022DF74_6B5174 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, GetLastElement, 0xFE363C8E, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000038, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8022E8E0_6B5AE0, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, DoNormalHit, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8022E93C_6B5B3C, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00810020, 0x00000024, 0x00000002, 0xFE363C82, 0x00810021, 0x00000046, 0x00000001, D_80233408_6BA608, 0x00000016, 0x00000001, 0x00000024, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00810020, 0x00000024, 0x00000002, 0xFE363C82, 0x00810021, 0x00000046, 0x00000001, D_80233408_6BA608, 0x00000025, 0x00000002, 0xFE363C81, 0x00810021, 0x00000046, 0x00000001, D_8022E93C_6B5B3C, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000024, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8022E8E0_6B5AE0, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, DoNormalHit, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8022E93C_6B5B3C, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8022FBC8_6B6DC8, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_8022F334_6B6534, 0x00000016, 0x00000001, 0x00000026, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8022FBC8_6B6DC8, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8022E93C_6B5B3C, 0x00000002, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x00000043, 0x00000002, func_80269E80, 0xFE363C82, 0x00000014, 0x00000001, 0xFE363C82, 0x0000001D, 0x00000001, 0x00000012, 0x0000001D, 0x00000001, 0x00000015, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810007, 0x00000008, 0x00000001, 0x0000001E, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00810007, 0x00000046, 0x00000001, D_8022F290_6B6490, 0x00000023, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C81, 0x00810002, 0x00000046, 0x00000001, DoImmune, 0x00000016, 0x00000001, 0x0000001B, 0x00000016, 0x00000001, 0x00000035, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00810012, 0x00000046, 0x00000001, DoRecover, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810014, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8680, 0x00000016, 0x00000001, 0x0000003F, 0x00000043, 0x00000001, b_area_kpa2_UnfadeBackgroundToBlack, 0x00000016, 0x00000001, 0x00000030, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x000003E8, 0x00000016, 0x00000001, 0x0000001D, 0x00000024, 0x00000002, 0xFE363C81, 0x00810002, 0x00000046, 0x00000001, D_8022F290_6B6490, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00400000, 0x00000001, 0x00000043, 0x00000003, SetBattleFlagBits, 0x00060000, 0x00000001, 0x00000043, 0x00000002, func_8026F60C, 0x0000000A, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000014, 0x00000043, 0x00000002, FreezeBattleCam, 0x00000001, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000024, 0x00000002, 0xFE363C83, 0x0000004B, 0x00000024, 0x00000002, 0xFE363C84, 0x0000003C, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C83, 0x0000001E, 0x00000024, 0x00000002, 0xFE363C84, 0x00000018, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C83, 0x00000043, 0x0000000F, PlayEffect, 0x00000011, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000004B, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C84, 0x00000043, 0x0000000F, PlayEffect, 0x00000038, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7EB4, 0x00000032, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00080000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000003, 0x00000000, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_8022D4E4_6B46E4, 0x00000043, 0x00000003, SetStatusTable, 0xFFFFFF81, D_8022D4FC_6B46FC, 0x00000024, 0x00000002, 0xFE363C81, 0x0081000D, 0x00000046, 0x00000001, D_8022E910_6B5B10, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000020, 0x00000042, 0x00000002, 0xFE363C80, 0x00000020, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000024, 0x00000002, 0xFE363C83, 0x0000005A, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C83, 0x00000024, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C83, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000043, 0x00000006, ActorSpeak, 0x001300A7, 0xFFFFFF81, 0x00000001, 0x0081000D, 0x0081000D, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000002D, 0x00000013, 0x00000000, 0x00000043, 0x00000002, FreezeBattleCam, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022E8E0_6B5AE0 -.word 0x00000046, 0x00000001, D_8022E910_6B5B10, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022E910_6B5B10 -.word 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoNormalHit, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022E93C_6B5B3C -.word 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00080000, 0x00000000, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x0000000E, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000E, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x00000043, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000F, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001B, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000F, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002128, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000D, 0x00000056, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0x00000050, 0x00000008, 0x00000004, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000003, 0x00000001, 0x00000001, 0x0000000F, 0x00000002, 0xFE363C82, 0xFE363C80, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000005, GetActorScale, 0xFFFFFF81, 0xFE363C86, 0xFE363C86, 0xFE363C87, 0x00000043, 0x00000005, func_8021B9A8_6A2BA8, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C82, 0x00000001, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000011, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000027, 0x00000002, 0xFE363C81, 0x0000003C, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000018, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000038, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7EB4, 0x00000032, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000032, 0x0000000D, 0x00000002, 0xFE363C81, 0x00000000, 0x00000026, 0x00000002, 0xFE363C80, 0xF24A8080, 0x00000005, 0x00000001, 0xFE363C81, 0x0000002D, 0x00000002, 0xFE363C80, 0xF24A7A8B, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xFE363C80, 0xFE363C80, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, EnableActorBlur, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0x00001950, 0x00000064, 0x0000000A, 0x00000003, 0x00000001, 0x00000002, 0x00000043, 0x00000001, UpdateLerp, 0x0000002B, 0x00000002, 0xFE363C80, 0x00000168, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000004, 0x00000001, 0x00000002, 0x00000013, 0x00000000, 0x00000043, 0x00000003, EnableActorBlur, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000E, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002129, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081001C, 0x00000056, 0x00000000, 0x00000043, 0x00000003, b_area_kpa2_StartRumbleWithParams, 0x000000B4, 0x00000010, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8680, 0x00000057, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x00000006, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7EE7, 0xF24A7E39, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7F4D, 0xF24A7DE7, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7F80, 0xF24A7DB4, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7FB4, 0xF24A7D80, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7F4D, 0xF24A7DFB, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7EE7, 0xF24A7E2F, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000004, SetActorSize, 0xFFFFFF81, 0x00000034, 0x00000073, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x0000002D, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x0000012C, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x00000012, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x0000012C, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000013, 0x00000000, 0x00000043, 0x00000006, ActorSpeak, 0x001300A9, 0xFFFFFF81, 0x00000001, 0x0081001D, 0x0081001C, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00400000, 0x00000001, 0x00000043, 0x00000003, SetBattleFlagBits, 0x00060000, 0x00000001, 0x00000043, 0x00000002, func_8026F60C, 0x00000014, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022F290_6B6490 -.word 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, DoImmune, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022F2BC_6B64BC -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000046, 0x00000001, D_8023047C_6B767C, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022F300_6B6500 -.word 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000F, 0x00000046, 0x00000001, D_8022F4A4_6B66A4, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022F334_6B6534 -.word 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C8D, 0xFE363C8E, 0xFE363C8F, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000006, GetDist2D, 0xFE363C89, 0xFE363C8A, 0xFE363C8C, 0xFE363C8D, 0xFE363C8F, 0x0000000F, 0x00000002, 0xFE363C89, 0xF24A8E80, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8B, 0x000000B4, 0x00000005, 0x00000001, 0x0000000F, 0x00000028, 0x00000002, 0xFE363C8B, 0x0000000C, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0xFE363C8B, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022F488_6B6688 -.word 0x00000043, 0x00000001, func_8021BC60_6A2E60, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022F4A4_6B66A4 -.word 0x00000043, 0x00000001, b_area_kpa2_FadeBackgroundToBlack, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000016, 0x00000027, 0x00000002, 0xFE363C81, 0x00000087, 0x00000056, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002123, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000A, 0x00000043, 0x00000006, func_8021C14C_6A334C, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A8480, 0xF24A7ACD, 0x00000057, 0x00000000, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000009, 0x00000027, 0x00000002, 0xFE363C81, 0x00000036, 0x00000056, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002123, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000A, 0x00000043, 0x00000006, func_8021C14C_6A334C, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A8480, 0xF24A7A9F, 0x00000057, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000041, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000016, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000035, 0x00000002, 0xFE363C80, 0x00000087, 0xFE363C82, 0xF24A8080, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x00000087, 0xFE363C82, 0xF24A7E80, 0xFE363C8E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x00000087, 0xFE363C82, 0xF24A8080, 0xFE363C8D, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000009, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000035, 0x00000002, 0xFE363C80, 0x00000036, 0xFE363C82, 0xF24A7CE7, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x00000036, 0xFE363C82, 0xF24A7C1A, 0xFE363C8E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x00000036, 0xFE363C82, 0xF24A7CE7, 0xFE363C8D, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002121, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8F, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8E, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8D, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00080000, 0x00000001, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000001, 0x0000000B, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_8022D4F0_6B46F0, 0x00000043, 0x00000003, SetStatusTable, 0xFFFFFF81, D_8022D5A8_6B47A8, 0x00000043, 0x00000001, b_area_kpa2_RemoveChillOut, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x0000003C, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000C, 0x00000043, 0x0000000F, PlayEffect, 0x00000022, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000069, 0x00000078, 0x00000025, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000018, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000C, 0x00000043, 0x0000000F, PlayEffect, 0x00000022, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000002A, 0x00000030, 0x0000000F, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002125, 0x00000056, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, func_8021C520_6A3720, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7F4D, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000004B, 0x00000056, 0x00000000, 0x00000043, 0x00000001, b_area_kpa2_UnfadeBackgroundToBlack, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810008, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000027, 0x00000002, 0xFE363C81, 0x0000003C, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000018, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000052, 0x00000004, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A8080, 0x0000000F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002124, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000027, 0x00000008, 0x00000001, 0x0000001E, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022FBC8_6B6DC8 -.word 0x0000000B, 0x00000002, 0xFE363C81, 0xFFFFFFFF, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A801A, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C85, 0xFE363C86, 0xFE363C87, 0x00000024, 0x00000002, 0xFE363C88, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C88, 0xFE363C85, 0x0000002A, 0x00000002, 0xFE363C88, 0x00000002, 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C89, 0xFE363C87, 0x0000002A, 0x00000002, 0xFE363C89, 0x00000002, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C88, 0x00000000, 0xFE363C89, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C88, 0xFE363C82, 0x0000002A, 0x00000002, 0xFE363C88, 0x00000002, 0x00000027, 0x00000002, 0xFE363C89, 0xFE363C84, 0x0000002A, 0x00000002, 0xFE363C89, 0x00000002, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C88, 0x00000000, 0xFE363C89, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022FDC8_6B6FC8 -.word 0x00000043, 0x00000004, GetAnimation, 0xFFFFFF81, 0x00000001, 0xFE363C87, 0x0000000B, 0x00000002, 0xFE363C87, 0x00810003, 0x0000000A, 0x00000002, 0xFE363C83, 0x00810003, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020B4, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020F6, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C87, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C85, 0xFE363C86, 0xFE363C87, 0x00000028, 0x00000002, 0xFE363C85, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C85, 0xFFFFFFE2, 0x0000000C, 0x00000002, 0xFE363C85, 0x0000001E, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C87, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020B4, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020F6, 0x00000024, 0x00000002, 0xFE363C83, 0xFE363C87, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022FF44_6B7144 -.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000007, 0xFE363C80, 0x00000028, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000007, 0xFE363C80, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x00000061, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x00000027, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000126, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000F, 0x00000043, 0x00000001, b_area_kpa2_FadeBackgroundToBlack, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002126, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000016, 0x00000027, 0x00000002, 0xFE363C81, 0x00000087, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000006B, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A8080, 0x00000032, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000016, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000005, 0xFE363C80, 0x00000087, 0xFE363C82, 0xF24A7C4D, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000009, 0x00000027, 0x00000002, 0xFE363C81, 0x00000036, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000006B, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7CE7, 0x00000032, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000009, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000005, 0xFE363C80, 0x00000036, 0xFE363C82, 0xF24A7B39, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFFFFFF81, 0xFE363C80, 0x00000029, 0x00000002, 0xFE363C80, 0x0000001F, 0x0000002A, 0x00000002, 0xFE363C80, 0x00000064, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000206D, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000214, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000025C, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000001, 0x00000043, 0x00000004, HealActor, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8023047C_6B767C -.word 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000005, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000006, 0x00000001, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFFFFFF81, 0xFE363C81, 0x00000029, 0x00000002, 0xFE363C80, 0x00000064, 0x0000002A, 0x00000002, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000002, b_area_kpa2_GetPlayerHpPercent, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C82, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C82, 0x00000019, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000007, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000006, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000046, 0x00000001, D_8022FF44_6B7144, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000046, 0x00000001, D_8022FF44_6B7144, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFE363C80, 0x0000000F, 0x0000001C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000023, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C81, 0x0000000C, 0x00000002, 0xFE363C81, 0xFE363C80, 0x00000046, 0x00000001, D_8022F300_6B6500, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000003, 0x00000046, 0x00000001, D_80230A2C_6B7C2C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_8023083C_6B7A3C, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8023083C_6B7A3C -.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000E, 0x00000002, 0xFE363C80, 0x00000003, 0x00000046, 0x00000001, D_80230A2C_6B7C2C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000006, 0x00000043, 0x00000003, RandInt, 0x0000001E, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000046, 0x00000001, D_8023226C_6B946C, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_802339F4_6BABF4, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000043, 0x00000003, b_area_kpa2_GetJumpHammerCharge, 0xFE363C80, 0xFE363C81, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000046, 0x00000001, D_8023226C_6B946C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000D, 0x00000002, 0xFE363C81, 0x00000000, 0x00000046, 0x00000001, D_8023226C_6B946C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x0000006E, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000001E, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000046, 0x00000001, D_8023226C_6B946C, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_802339F4_6BABF4, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80230A2C_6B7C2C, 0x00000002, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80230A2C_6B7C2C -.word 0x00000043, 0x00000003, RandInt, 0x00000050, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000005, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000002, 0x00000046, 0x00000001, D_80230D60_6B7F60, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x0000003C, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000002, 0x00000046, 0x00000001, D_80231D54_6B8F54, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_80232C64_6B9E64, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80230B28_6B7D28 -.word 0x00000166, 0x00000167, 0x00000168 - -dlabel D_80230B34_6B7D34 -.word 0x00000049, 0x0000004A, 0x0000004B - -dlabel D_80230B40_6B7D40 -.word 0x00000169, 0x0000016A, 0x0000016B - -dlabel D_80230B4C_6B7D4C -.word 0x0000004C, 0x0000004D, 0x0000004E - -dlabel D_80230B58_6B7D58 -.word 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C8A, 0x00000014, 0x00000001, 0xFE363C8A, 0x00000016, 0x00000001, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000024, 0x00000002, 0xFE363C82, 0x00000000, 0x00000028, 0x00000002, 0xFE363C83, 0x00000001, 0x00000043, 0x00000003, func_8021CCFC_6A3EFC, 0xFE363C84, 0xFE363C85, 0x00000043, 0x00000007, MakeItemEntity, 0xFE363C84, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C81, 0x00000007, 0x00000043, 0x00000007, b_area_kpa2_ItemEntityJumpToPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000008, 0xF24A7E80, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000C, 0x00000043, 0x00000007, b_area_kpa2_ItemEntityJumpToPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000008, 0xF24A7E80, 0x00000027, 0x00000002, 0xFE363C81, 0x00000007, 0x00000043, 0x00000007, b_area_kpa2_ItemEntityJumpToPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000005, 0xF24A7E80, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000003, ShowMessageBox, 0xFE363C85, 0x0000003C, 0x00000043, 0x00000002, RemoveItemEntity, 0xFE363C80, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0x00000003, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80230D60_6B7F60 -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x0000012C, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000036, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000000F0, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000015, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810003, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x0000003C, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8680, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810011, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810012, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7F4D, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000012, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000003, b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8680, 0x00000057, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000023, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000E, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000003, b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8280, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810014, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_8022F334_6B6534, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8680, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810013, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C81, 0x00000010, 0x00000002, 0xFE363C81, 0x00080000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000010, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000008, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8F, 0x00000011, 0x00000002, 0xFE363C8F, 0x00080000, 0x00000043, 0x00000002, func_80269EAC, 0x00000018, 0x00000013, 0x00000000, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0xFE363C80, 0x00000020, 0x00000024, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000043, 0x00000002, GetBattleFlags, 0xFE363C81, 0x00000011, 0x00000002, 0xFE363C81, 0x80000000, 0x00000043, 0x00000003, GetStatusFlags, 0x00000000, 0xFE363C81, 0x00000011, 0x00000002, 0xFE363C81, 0x40100000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C81, 0x00000011, 0x00000002, 0xFE363C81, 0x00080000, 0x00000043, 0x00000002, b_area_kpa2_CanPlayerLoseAction, 0xFE363C80, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000043, 0x00000002, LandJump, 0xFFFFFF81, 0x00000043, 0x00000003, b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020EA, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0x00000001, 0x00000044, 0x00000001, D_80230B58_6B7D58, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000034, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020EA, 0x00000056, 0x00000000, 0x00000043, 0x00000003, b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8680, 0x00000057, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000003, b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000003, 0xF24A8280, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810014, 0x00000008, 0x00000001, 0x00000003, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810003, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x0000000A, 0xFE363C80, 0x00000043, 0x00000005, dup2_b_area_kpa2_GetItemEntityPosition, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000027, 0x00000002, 0xFE363C81, 0x00000026, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8280, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A8280, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081001A, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x0000000A, 0xFE363C80, 0x00000043, 0x00000005, dup2_b_area_kpa2_GetItemEntityPosition, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000043, 0x00000000, 0xFE363C81, 0x00000000, 0xFE363C83, 0xF24A7D80, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000006, 0x00000001, 0xFE363C81, 0x00000000, 0xFE363C83, 0xF24A8680, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020F6, 0x00000008, 0x00000001, 0x00000004, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081001A, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000043, 0x00000000, 0xFE363C81, 0x00000000, 0xFE363C83, 0xF24A7D80, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000006, 0x00000001, 0xFE363C81, 0x00000000, 0xFE363C83, 0xF24A8680, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020F6, 0x00000008, 0x00000001, 0x00000004, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081001A, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000043, 0x00000000, 0xFE363C81, 0x00000000, 0xFE363C83, 0xF24A7D80, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000006, 0x00000001, 0xFE363C81, 0x00000000, 0xFE363C83, 0xF24A8680, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020F6, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810007, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0x00000012, 0x00000000, 0x00000043, 0x00000002, GetBattleFlags, 0xFE363C81, 0x00000011, 0x00000002, 0xFE363C81, 0x80000000, 0x00000043, 0x00000003, GetStatusFlags, 0x00000000, 0xFE363C81, 0x00000011, 0x00000002, 0xFE363C81, 0x00100000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C81, 0x00000011, 0x00000002, 0xFE363C81, 0x00080000, 0x00000043, 0x00000002, LandJump, 0xFFFFFF81, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000028, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000012, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020EA, 0x00000056, 0x00000000, 0x00000043, 0x00000003, b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000004, 0xF24A8680, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810014, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x00000014, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_8022F334_6B6534, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80231CA8_6B8EA8 -.word 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000C, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000005, 0x00000001, 0x00000004, 0x00000043, 0x00000003, b_area_kpa2_StartRumbleWithParams, 0x00000050, 0x0000000E, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000002, 0xF24A8280, 0x00000008, 0x00000001, 0x00000004, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000057, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80231D54_6B8F54 -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000000C8, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000000A0, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000005, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810003, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x0000003C, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000018, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8680, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810009, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810015, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000035E, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000046, 0x00000001, D_80231CA8_6B8EA8, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000012, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_8022F334_6B6534, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000010, 0x00000043, 0x00000002, func_80269EAC, 0x0000000C, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x00000000, 0x00000000, 0x80020364, 0xFE363C80, 0x00000020, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000008, 0x00000043, 0x00000002, func_80269EAC, 0x0000000C, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x00000000, 0x00000000, 0x80020364, 0xFE363C80, 0x00000020, 0x00000013, 0x00000000, 0x00000014, 0x00000001, 0xFE363C8F, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x0000001D, 0x00000001, 0x0000000A, 0x00000008, 0x00000001, 0x0000001E, 0x0000000A, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_8022F334_6B6534, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8023226C_6B946C -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000018, 0x00000027, 0x00000002, 0xFE363C81, 0x00000061, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x000001A4, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000009, 0x00000027, 0x00000002, 0xFE363C81, 0x00000027, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000177, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000F, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000001, b_area_kpa2_FadeBackgroundToBlack, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002121, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000016, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000035, 0x00000002, 0xFE363C80, 0x00000087, 0xFE363C82, 0xF24A7E80, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x00000087, 0xFE363C82, 0xF24A7E80, 0xFE363C8E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000009, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000035, 0x00000002, 0xFE363C80, 0x00000036, 0xFE363C82, 0xF24A7C1A, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x00000036, 0xFE363C82, 0xF24A7C1A, 0xFE363C8E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFFFFFFD3, 0x0000003C, 0x00000000, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000212, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000050, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8F, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8E, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002122, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000013, 0x00000024, 0x00000002, 0xFE363C81, 0x00000037, 0x00000043, 0x0000000F, PlayEffect, 0x00000039, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7E80, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000007, 0x00000024, 0x00000002, 0xFE363C81, 0x00000016, 0x00000043, 0x0000000F, PlayEffect, 0x00000039, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7E80, 0x0000003C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000001, b_area_kpa2_UnfadeBackgroundToBlack, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000100, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8B, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8B, 0x00000016, 0x00000001, 0x00000006, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x0000001E, 0x00000002, 0x00000000, 0x0000001C, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000046, 0x00000001, D_80231CA8_6B8EA8, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000100, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000010, 0x00000002, 0xFE363C80, 0x00040000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000013, 0x00000000, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x20000110, 0x0000FFFF, 0x00000000, 0xFE363C81, 0x00000020, 0x00000043, 0x00000002, RemovePlayerBuffs, 0x00010000, 0x0000000B, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000001, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000004, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000100, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000010, 0x00000002, 0xFE363C80, 0x00040000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000013, 0x00000000, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x20000110, 0x0000FFFF, 0x00000000, 0xFE363C81, 0x00000020, 0x00000043, 0x00000002, func_8026BF48, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000010, 0x00000002, 0xFE363C80, 0x00040000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000006, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000006, 0x00000013, 0x00000000, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x20000110, 0x0000FFFF, 0x00000000, 0xFE363C81, 0x00000020, 0x00000043, 0x00000002, RemovePlayerBuffs, 0x0FFFFFFF, 0x00000014, 0x00000001, 0xFE363C8F, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x0000001D, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x0000000F, 0x0000000A, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80232C64_6B9E64 -.word 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000051, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x00000190, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000038, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x0000015E, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000028, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810016, 0x00000008, 0x00000001, 0x00000023, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810017, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000037, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C83, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C84, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000010, 0x00000002, 0xFE363C83, 0x00080000, 0x00000011, 0x00000002, 0xFE363C84, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000046, 0x00000027, 0x00000002, 0xFE363C81, 0x00000023, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001C, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000E, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000011, 0x00000002, 0xFE363C84, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000004B, 0x00000027, 0x00000002, 0xFE363C81, 0x00000031, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000013, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000A, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000028, 0x00000002, 0xFE363C83, 0x00000028, 0x00000024, 0x00000002, 0xFE363C84, 0x00000014, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C86, 0x00000010, 0x00000002, 0xFE363C86, 0x00080000, 0x00000043, 0x0000000F, PlayEffect, 0x00000037, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000032, 0x00000001, 0x00000018, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C87, 0x00000011, 0x00000002, 0xFE363C87, 0x00080000, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000006, 0x00000013, 0x00000000, 0x00000028, 0x00000002, 0xFE363C83, 0x0000000A, 0x00000043, 0x0000000F, PlayEffect, 0x00000037, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000032, 0x00000001, 0x00000018, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, b_area_kpa2_UnkFireBreathFXFunc, 0xFE363C8F, 0x00000013, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000003, b_area_kpa2_StartRumbleWithParams, 0x00000032, 0x00000094, 0x00000043, 0x00000002, PlaySound, 0x000003BD, 0x00000008, 0x00000001, 0x00000046, 0x00000043, 0x00000002, PlaySound, 0x000007BD, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810018, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810019, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x0000001E, 0x00000046, 0x00000001, D_80231CA8_6B8EA8, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000014, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000013, 0x00000000, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x00000002, 0x0000FFFF, 0x00000000, 0xFE363C80, 0x00000020, 0x00000014, 0x00000001, 0xFE363C8F, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x0000001D, 0x00000001, 0x0000000A, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810018, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810019, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00810002, 0x00000008, 0x00000001, 0x0000001E, 0x0000000A, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80233408_6BA608 -.word 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000002, func_80269E80, 0xFE363C83, 0x00000014, 0x00000001, 0xFE363C83, 0x00000016, 0x00000001, 0x00000009, 0x00000043, 0x00000003, GetOriginalActorType, 0xFFFFFF81, 0xFE363C87, 0x00000014, 0x00000001, 0xFE363C87, 0x0000001D, 0x00000001, 0x00000012, 0x0000001D, 0x00000001, 0x00000030, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7A8B, 0x00000027, 0x00000002, 0xFE363C85, 0x00000037, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000023, 0x00000000, 0x00000024, 0x00000002, 0xFE363C87, 0x00000000, 0x00000005, 0x00000001, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C87, 0x00000030, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0xFE363C87, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000003, GetOriginalActorType, 0xFFFFFF81, 0xFE363C87, 0x00000014, 0x00000001, 0xFE363C87, 0x0000001D, 0x00000001, 0x00000012, 0x0000001D, 0x00000001, 0x00000030, 0x00000008, 0x00000001, 0x0000001E, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000028, 0x00000002, 0xFE363C85, 0x00000037, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7DB4, 0x0000000A, 0x00000002, 0xFE363C85, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x0000001C, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000023, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C82, 0xFFFFFFFF, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C80, 0xFE363C82, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C81, 0x00000014, 0x00000001, 0xFE363C81, 0x00000016, 0x00000001, 0x0000000E, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0x00000011, 0x00000002, 0xFE363C81, 0x00000202, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, GetActorSize, 0xFFFFFF81, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C85, 0x00000010, 0x00000002, 0xFE363C85, 0x00080000, 0x0000002E, 0x00000002, 0xFE363C83, 0xF24A7C1A, 0x0000002E, 0x00000002, 0xFE363C84, 0xF24A7C1A, 0x00000013, 0x00000000, 0x0000002F, 0x00000002, 0xFE363C83, 0xF24A8280, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C85, 0x00000010, 0x00000002, 0xFE363C85, 0x00000800, 0x0000002D, 0x00000002, 0xFE363C81, 0xFE363C83, 0x00000012, 0x00000000, 0x0000002C, 0x00000002, 0xFE363C81, 0xFE363C83, 0x00000013, 0x00000000, 0x0000002C, 0x00000002, 0xFE363C82, 0xF24A8E80, 0x0000002F, 0x00000002, 0xFE363C83, 0xF24AA280, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C85, 0x00000010, 0x00000002, 0xFE363C85, 0x00080000, 0x0000002E, 0x00000002, 0xFE363C83, 0xF24A7C1A, 0x0000000C, 0x00000002, 0xFE363C83, 0x00000001, 0x00000026, 0x00000002, 0xFE363C83, 0xF24A7E80, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000027, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000024, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802339F4_6BABF4 -.word 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000D, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000003EF, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0081000F, 0x00000043, 0x00000001, b_area_kpa2_FadeBackgroundToBlack, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000036, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000006B, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A8080, 0x00000032, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000032, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000016, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000035, 0x00000002, 0xFE363C80, 0x00000087, 0xFE363C82, 0xF24A8080, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002121, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x00000087, 0xFE363C82, 0xF24A8080, 0xFE363C8E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8F, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8E, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000015, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000006B, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7CE7, 0x00000032, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000032, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000009, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000035, 0x00000002, 0xFE363C80, 0x00000036, 0xFE363C82, 0xF24A7CE7, 0xFE363C8F, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002121, 0x00000028, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000003C, 0x00000002, 0xFE363C80, 0x00000036, 0xFE363C82, 0xF24A7CE7, 0xFE363C8E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8F, 0x00000043, 0x00000002, RemoveEffect, 0xFE363C8E, 0x00000013, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002127, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000056, 0x00000000, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0xFE363C81, 0x00000043, 0x00000003, func_8021CFC0_6A41C0, 0xFE363C80, 0xFE363C81, 0x00000057, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000008, 0x00000001, 0x0000000A, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000001, b_area_kpa2_UnfadeBackgroundToBlack, 0x00000012, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000001, b_area_kpa2_UnfadeBackgroundToBlack, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8E80, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_8022F334_6B6534, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000004, GetPartEventFlags, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x10000020, 0x00000000, 0x00000000, 0xFE363C80, 0x00000020, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8F, 0x10000020, 0x00000000, 0x00000000, 0xFE363C80, 0x00000020, 0x00000013, 0x00000000, 0x00000014, 0x00000001, 0xFE363C8F, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x0000001D, 0x00000001, 0x0000000A, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000001, b_area_kpa2_UnfadeBackgroundToBlack, 0x0000000A, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8E80, 0x00000024, 0x00000002, 0xFE363C81, 0x00810003, 0x00000046, 0x00000001, D_8022F334_6B6534, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 - -dlabel D_80234100_6BB300 -.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C8A, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0x00000001, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0x00008000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802341B0_6BB3B0 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000024, 0x00000000, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000025, 0x00000044, 0x00000001, D_80234100_6BB300, 0x00000008, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C80, 0x00000027, 0x00000044, 0x00000001, D_80234100_6BB300, 0x00000057, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80234254_6BB454 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80234264_6BB464 -.word 0x00000018, 0x00000017, 0x00000016, 0x00000000 - -dlabel D_80234274_6BB474 -.word D_802348A0_6BBAA0, D_80234890_6BBA90, D_80234880_6BBA80, D_802341B0_6BB3B0, D_80234254_6BB454, 0x00000000, D_80234264_6BB464, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802342A0_6BB4A0 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802342C0_6BB4C0 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802342D0_6BB4D0 -.word 0x00000018, 0x00000017, 0x00000016, 0x00000000 - -dlabel D_802342E0_6BB4E0 -.word D_802348D0_6BBAD0, D_802348C0_6BBAC0, D_802348B0_6BBAB0, D_802342A0_6BB4A0, D_802342C0_6BB4C0, D_802348A8_6BBAA8, D_802342D0_6BB4D0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80234310_6BB510 -.word 0xFFFFFFEA, 0x000000BE, 0xFFFFFFA5, 0xFFFFFFA8, 0x00000015, 0xFFFFFFA5, 0x0000003C, 0xFFFFFFFF, 0x000000BE, 0xFFFFFFA5, 0x00000058, 0x00000018, 0xFFFFFFA5, 0x0000000A, 0xFFFFFFBD, 0x000000BE, 0xFFFFFFA5, 0xFFFFFF86, 0x0000000A, 0xFFFFFFA5, 0x0000005A, 0x00000039, 0x000000BE, 0xFFFFFFA5, 0xFFFFFFFC, 0x00000011, 0xFFFFFFA5, 0x0000003C - -dlabel D_80234380_6BB580 -.word 0x00000003, 0x00000001, 0x00000000, 0x00000030, 0x00000001, D_80234310_6BB510, 0x00000005, 0x00000001, 0x00000004, 0x00000033, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000033, 0x00000003, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x0000000F, PlayEffect, 0x0000005E, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000001, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000001, func_8021D290_6A4490, 0x00000031, 0x00000001, 0xFE363C80, 0x00000008, 0x00000001, 0xFE363C80, 0x00000006, 0x00000000, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80234458_6BB658 -.word 0xFFFFFF87, 0x00000021, 0xFFFFFF98, 0xFFFFFFE8, 0x00000029, 0xFFFFFF98, 0x00000005, 0x00000024, 0x00000029, 0xFFFFFF98, 0x00000080, 0x00000022, 0xFFFFFF98, 0x0000001E, 0x00000092, 0x00000001, 0x00000071, 0x00000026, 0xFFFFFFF1, 0x00000079, 0x00000005, 0xFFFFFFBE, 0xFFFFFFF6, 0x00000073, 0xFFFFFF65, 0x00000001, 0x00000061, 0x0000005A - -dlabel D_802344C8_6BB6C8 -.word 0x00000003, 0x00000001, 0x00000000, 0x00000030, 0x00000001, D_80234458_6BB658, 0x00000005, 0x00000001, 0x00000004, 0x00000033, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000033, 0x00000003, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000043, 0x0000000F, PlayEffect, 0x0000005E, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000001, 0x00000005, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000001, func_8021D290_6A4490, 0x00000031, 0x00000001, 0xFE363C80, 0x00000008, 0x00000001, 0xFE363C80, 0x00000006, 0x00000000, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802345A0_6BB7A0 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000044, 0x00000001, D_80234380_6BB580, 0x00000044, 0x00000001, D_802344C8_6BB6C8, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802345D8_6BB7D8 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802345E8_6BB7E8 -.word D_80234900_6BBB00, D_802348F0_6BBAF0, D_802348E0_6BBAE0, D_802345A0_6BB7A0, D_802345D8_6BB7D8, D_802348D8_6BBAD8, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80234610_6BB810 -.word 0x00000050, 0x00000000, 0xFFFFFFF6 - -dlabel D_8023461C_6BB81C -.word D_8021D410_6A4610, 0x00000002, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80234638_6BB838 -.word D_8021F3A8_6A65A8, 0x00000002, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80234654_6BB854 -.word D_80221698_6A8898, 0x00000002, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80234670_6BB870 -.word D_80227748_6AE948, D_80234610_6BB810, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8023468C_6BB88C -.word D_8022D678_6B4878, D_80234610_6BB810, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80234968_6BBB68, 0x00000001, D_8023461C_6BB81C, D_80234274_6BB474, 0x00000000, D_80234950_6BBB50, 0x00000001, D_80234638_6BB838, D_802342E0_6BB4E0, 0x00000000, D_80234938_6BBB38, 0x00000001, D_80234654_6BB854, D_802342E0_6BB4E0, 0x00000000, D_80234920_6BBB20, 0x00000001, D_80234670_6BB870, D_802345E8_6BB7E8, 0x00000000, D_80234908_6BBB08, 0x00000001, D_8023468C_6BB88C, D_802345E8_6BB7E8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80234980_6BBB80, D_80234274_6BB474, D_80234978_6BBB78, D_802342E0_6BB4E0, D_80234970_6BBB70, D_802345E8_6BB7E8, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/battle/area_kpa3/6BD250.data.s b/ver/us/asm/data/battle/area_kpa3/6BD250.data.s deleted file mode 100644 index 3f93607d4c..0000000000 --- a/ver/us/asm/data/battle/area_kpa3/6BD250.data.s +++ /dev/null @@ -1,396 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_802196C0_6BD250 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_802196CC_6BD25C -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000032, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x00000032, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x00000032, 0x0000000A, 0x00000032, 0x00000008, 0x00000032, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0xFFFFFFFF, 0x00000029, 0xFFFFFFFE, 0x00000000 - -dlabel D_80219778_6BD308 -.word 0x00800000, 0x01000000, 0x001800FF, D_802197C4_6BD354, D_802196C0_6BD250, 0x00000000, 0x00000000, 0xFFF60000, 0x00000000 - -dlabel D_8021979C_6BD32C -.word 0x00000000, 0x00B02A32, 0x00010000, D_80219778_6BD308, D_80219810_6BD3A0, D_802196CC_6BD25C, 0x00000000, 0x00004B00, 0x1E1E0000, 0xF6140A14 - -dlabel D_802197C4_6BD354 -.word 0x00000001, 0x003B0501, 0x0000000C, 0x003B0500, 0x00000006, 0x003B0512, 0x00000009, 0x003B0501, 0x00000008, 0x003B0500, 0x0000000B, 0x003B0501, 0x00000005, 0x003B0500, 0x00000004, 0x003B0513, 0x00000003, 0x003B0513, 0x00000000 - -dlabel D_80219810_6BD3A0 -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8021B15C_6BECEC, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8021985C_6BD3EC, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_802199D0_6BD560, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021985C_6BD3EC -.word 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00001000, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFC, 0x0000000E, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000005, b_area_kpa3_UnkBattleFunc1, 0xFFFFFFF6, 0x0000000D, 0x0000000A, 0x0000000D, 0x00000012, 0x00000000, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000018, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0xFFFFFFFF, 0xFFFFFFF6, 0x00000043, 0x00000005, b_area_kpa3_UnkBattleFunc1, 0xFFFFFFF6, 0x00000014, 0x0000000A, 0x00000014, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021996C_6BD4FC -.word 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x003B0503, 0x00000046, 0x00000001, DoReturnHome, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B0501, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802199D0_6BD560 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x003B050C, 0x00000046, 0x00000001, DoNormalHit, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x003B050D, 0x00000025, 0x00000002, 0xFE363C82, 0x003B050E, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x003B050D, 0x00000025, 0x00000002, 0xFE363C82, 0x003B050E, 0x00000046, 0x00000001, DoBurnHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x003B050E, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x003B050C, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x003B050C, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x003B050C, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x003B050C, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x003B050C, 0x00000046, 0x00000001, DoJumpBack, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8A80, 0x00000046, 0x00000001, D_8021996C_6BD4FC, 0x00000016, 0x00000001, 0x00000026, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x003B050C, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x003B050C, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x003B0501, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x003B050C, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x003B050C, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x003B0501, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x003B0503, 0x00000025, 0x00000002, 0xFE363C82, 0x003B0514, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x003B050C, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x003B050C, 0x00000046, 0x00000001, DoBlowAway, 0x00000002, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80219EAC_6BDA3C -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B0503, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8A80, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000032, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x000002EF, 0x00000000, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000000, 0x000020BA, 0x000003B4, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000004, 0x0000000A, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B0504, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B0505, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7C80, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C8A, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8A80, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x003B0504, 0x00000046, 0x00000001, DoReturnHome, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B0501, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002EF, 0x00000057, 0x00000000, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000000, 0x000020BA, 0x000003B4, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000004, 0x0000000A, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B0504, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B0505, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x0000000A, 0x00000020, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000F, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A81B4, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B0501, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000046, 0x00000001, D_8021996C_6BD4FC, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021A5D4_6BE164 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000234, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B0509, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B0503, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8680, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000050, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000000, 0x000020BA, 0x000003B4, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000004, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B0504, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8E80, 0x00000028, 0x00000002, 0xFE363C80, 0x00000028, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B0509, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000000C, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B050A, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7DB4, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000018, 0x00000000, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B0505, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7C80, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000F, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x003B0504, 0x00000046, 0x00000001, DoReturnHome, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B0501, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B0509, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000009, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B050A, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7DB4, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000012, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x0000000C, 0x00000020, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000F, 0x00000056, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x0000000E, 0x00000000, 0x00000024, 0x00000002, 0xFE363C83, 0x00000000, 0x00000005, 0x00000001, 0x00000014, 0x00000028, 0x00000002, 0xFE363C83, 0x0000001E, 0x0000000C, 0x00000002, 0xFE363C83, 0x00000000, 0x00000027, 0x00000002, 0xFE363C83, 0x00000168, 0x00000013, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C83, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, GetBattleFlags, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x80000000, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetLastDamage, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000028, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7DB4, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000014, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000349, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000749, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B0509, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B0507, 0x00000008, 0x00000001, 0x0000000F, 0x00000004, 0x00000001, 0x00000002, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000028, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7DB4, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000014, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020E4, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B0510, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020C3, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000032, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B0511, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B0513, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000003, 0x00000001, 0x00000002, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x003B0504, 0x00000046, 0x00000001, DoReturnHome, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x003B0501, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021B15C_6BECEC -.word 0x00000043, 0x00000003, RandInt, 0x00000001, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000046, 0x00000001, D_80219EAC_6BDA3C, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_8021A5D4_6BE164, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021B1C0_6BED50 -.word 0x00000001, 0x004E0002, 0x0000000C, 0x004E0000, 0x00000006, 0x004E000D, 0x00000009, 0x004E0002, 0x00000008, 0x004E0000, 0x0000000B, 0x004E0002, 0x00000005, 0x004E0000, 0x00000004, 0x004E000E, 0x00000003, 0x004E000E, 0x00000000 - -dlabel D_8021B20C_6BED9C -.word 0x00000001, 0x004E000A, 0x00000000 - -dlabel D_8021B218_6BEDA8 -.word 0x00000001, 0x004E0004, 0x00000000 - -dlabel D_8021B224_6BEDB4 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_8021B230_6BEDC0 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x0000003C, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x0000004B, 0x00000003, 0x00000000, 0x0000000B, 0x0000004B, 0x00000005, 0x0000004B, 0x0000000A, 0x0000004B, 0x00000008, 0x00000050, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000001, 0x00000027, 0x00000000, 0x00000029, 0xFFFFFFFF, 0x00000000 - -dlabel D_8021B2DC_6BEE6C -.word 0x00800000, 0x01000000, 0xFB1900FF, D_8021B1C0_6BED50, D_8021B224_6BEDB4, 0x00000000, 0x00000000, 0xFEF60000, 0x00000000 - -dlabel D_8021B300_6BEE90 -.word 0x00000000, 0x003B170F, 0x00010000, D_8021B2DC_6BEE6C, D_8021B328_6BEEB8, D_8021B230_6BEDC0, 0x32504632, 0x5F005A02, 0x24240000, 0xF6140A14 - -dlabel D_8021B328_6BEEB8 -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_80227F70_6CBB00, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8021B440_6BEFD0, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8021B48C_6BF01C, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_8021B3A0_6BEF30, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021B3A0_6BEF30 -.word 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x0000000A, 0x00000016, 0x00000001, 0x0000000C, 0x00000016, 0x00000001, 0x0000000B, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000003, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000002, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021B440_6BEFD0 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021B450_6BEFE0 -.word 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004E0004, 0x00000046, 0x00000001, DoReturnHome, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021B48C_6BF01C -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004E000A, 0x00000046, 0x00000001, DoNormalHit, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004E000C, 0x00000025, 0x00000002, 0xFE363C82, 0xFFFFFFFF, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004E000C, 0x00000025, 0x00000002, 0xFE363C82, 0xFFFFFFFF, 0x00000046, 0x00000001, DoBurnHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004E000C, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004E000A, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004E000A, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004E000A, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002F, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004E000A, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004E000A, 0x00000046, 0x00000001, DoJumpBack, 0x00000046, 0x00000001, D_8021B450_6BEFE0, 0x00000016, 0x00000001, 0x00000026, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004E000A, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004E000A, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004E0002, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004E000A, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004E000A, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004E0002, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004E0004, 0x00000025, 0x00000002, 0xFE363C82, 0x004E000A, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004E0004, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x004E000A, 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_8021B98C_6BF51C -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x004E0007, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x000002CB, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x004E0008, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFF9C, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7BB4, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000011, 0x00000000, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0xFE363C82, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x004E0002, 0x00000043, 0x00000003, ResetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000046, 0x00000001, D_8021B450_6BEFE0, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x004E0008, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xF24A8A80, 0xF24A6280, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x0000000A, 0xFFFFFFF1, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7BB4, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000C, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000004, 0x00000020, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000003, ResetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x004E0009, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7C80, 0x00000027, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000014, 0x00000000, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000001, YieldTurn, 0x00000046, 0x00000001, D_8021B450_6BEFE0, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021BF2C_6BFABC -.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000043, 0x00000002, RemoveActor, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021BF64_6BFAF4 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, func_8027D32C, 0xFFFFFF81, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C8A, 0x00000043, 0x00000003, UseIdleAnimation, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000002, func_8027D32C, 0xFE363C8A, 0x00000043, 0x00000003, CopyStatusEffects, 0xFFFFFF81, 0xFE363C8A, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002CD, 0x00000056, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000003, 0x00000027, 0x00000002, 0xFE363C82, 0x00000005, 0x00000005, 0x00000001, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000003, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C8B, 0x00000043, 0x00000003, SetEnemyHP, 0xFE363C8A, 0xFE363C8B, 0x00000043, 0x00000003, CopyBuffs, 0xFFFFFF81, 0xFE363C8A, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C8B, 0xFE363C8C, 0xFE363C8D, 0x00000043, 0x00000005, SetActorPos, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0xFE363C8D, 0x00000043, 0x00000005, SetPartFlagBits, 0xFE363C8A, 0x00000001, 0x00800000, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFE363C8A, 0x00000001, 0x00020001, 0x00000000, 0x00000043, 0x00000004, SetActorFlagBits, 0xFE363C8A, 0x00400004, 0x00000000, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFE363C8A, 0x00000008, 0x00000002, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0xFE363C80, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetIdleAnimations, 0xFE363C8A, 0x00000001, D_8021B20C_6BED9C, 0x00000043, 0x00000004, SetAnimation, 0xFE363C8A, 0x00000001, 0x004E000A, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000005, GetActorPos, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0xFE363C8D, 0x0000000D, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFE363C8A, 0xF24A7C80, 0x00000043, 0x00000005, SetActorSounds, 0xFE363C8A, 0x00000002, 0x00000301, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0xFE363C8D, 0x00000043, 0x00000006, JumpToGoal, 0xFE363C8A, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, ResetActorSounds, 0xFE363C8A, 0x00000002, 0x00000043, 0x00000005, SetGoalPos, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0xFE363C8D, 0x00000043, 0x00000006, JumpToGoal, 0xFE363C8A, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0xFE363C8D, 0x00000043, 0x00000006, JumpToGoal, 0xFE363C8A, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, ForceHomePos, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0xFE363C8D, 0x00000043, 0x00000002, HPBarToHome, 0xFE363C8A, 0x00000043, 0x00000004, SetIdleAnimations, 0xFE363C8A, 0x00000001, D_8021B1C0_6BED50, 0x00000043, 0x00000004, SetAnimation, 0xFE363C8A, 0x00000001, 0x004E0002, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000043, 0x00000005, ForceHomePos, 0xFFFFFF81, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000043, 0x00000002, RemoveActor, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021C428_6BFFB8 -.word 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C80, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, func_8027D32C, 0xFFFFFF81, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C82, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C83, 0x0000000A, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C82, 0xFE363C83, 0xFE363C84, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000046, 0x00000001, DoShockHit, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C8A, 0x00000043, 0x00000003, UseIdleAnimation, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000002, func_8027D32C, 0xFE363C8A, 0x00000043, 0x00000003, CopyStatusEffects, 0xFFFFFF81, 0xFE363C8A, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002CD, 0x00000056, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000003, 0x00000027, 0x00000002, 0xFE363C82, 0x00000005, 0x00000005, 0x00000001, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000003, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C8B, 0x00000043, 0x00000003, SetEnemyHP, 0xFE363C8A, 0xFE363C8B, 0x00000043, 0x00000003, CopyBuffs, 0xFFFFFF81, 0xFE363C8A, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C8B, 0xFE363C8C, 0xFE363C8D, 0x00000043, 0x00000005, SetActorPos, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0xFE363C8D, 0x00000043, 0x00000005, SetPartFlagBits, 0xFE363C8A, 0x00000001, 0x00800000, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFE363C8A, 0x00000001, 0x00020001, 0x00000000, 0x00000043, 0x00000004, SetActorFlagBits, 0xFE363C8A, 0x00400004, 0x00000000, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFE363C8A, 0x00000008, 0x00000003, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0xFE363C89, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetIdleAnimations, 0xFE363C8A, 0x00000001, D_8021B20C_6BED9C, 0x00000043, 0x00000004, SetAnimation, 0xFE363C8A, 0x00000001, 0x004E000A, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFE363C8A, 0xF24A7C80, 0x00000043, 0x00000005, GetActorPos, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0xFE363C8D, 0x00000027, 0x00000002, 0xFE363C8B, 0x0000001E, 0x00000024, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0xFE363C8D, 0x00000043, 0x00000006, JumpToGoal, 0xFE363C8A, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C8B, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0xFE363C8D, 0x00000043, 0x00000006, JumpToGoal, 0xFE363C8A, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C8B, 0x0000000A, 0x00000043, 0x00000005, SetGoalPos, 0xFE363C8A, 0xFE363C8B, 0xFE363C8C, 0xFE363C8D, 0x00000043, 0x00000006, JumpToGoal, 0xFE363C8A, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000005, AddActorDecoration, 0xFE363C8A, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000003, SetActorYaw, 0xFE363C8A, 0x000000B4, 0x00000043, 0x00000004, SetIdleAnimations, 0xFE363C8A, 0x00000001, D_8021B218_6BEDA8, 0x00000043, 0x00000004, SetAnimation, 0xFE363C8A, 0x00000001, 0x004E0004, 0x00000043, 0x00000003, SetActorSpeed, 0xFE363C8A, 0xF24A9A80, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C8B, 0xFE363C8C, 0xFE363C8D, 0x00000043, 0x00000005, SetGoalPos, 0xFE363C8A, 0xFE363C8B, 0x00000000, 0xFE363C8D, 0x00000043, 0x00000004, RunToGoal, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFE363C8A, 0x00000001, 0x004E0002, 0x00000043, 0x00000003, SetActorYaw, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFE363C8A, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFE363C8A, 0x00000001, D_8021B1C0_6BED50, 0x00000043, 0x00000005, ForceHomePos, 0xFE363C8A, 0xFE363C8B, 0x00000000, 0xFE363C8D, 0x00000043, 0x00000002, HPBarToHome, 0xFE363C8A, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000043, 0x00000005, ForceHomePos, 0xFFFFFF81, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000043, 0x00000002, RemoveActor, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021CAB4_6C0644 -.word 0x00000043, 0x00000002, func_8027D32C, 0xFFFFFF81, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C8C, 0xFE363C82, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorScale, 0xFFFFFF81, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C8A, 0xFE363C8B, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000A, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7AE7, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C8A, 0xFE363C8B, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0xFE363C8A, 0x00000024, 0x00000002, 0xFE363C81, 0xFE363C8B, 0x00000046, 0x00000001, DoShockHit, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000056, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0xFE363C8C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x0000000F, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFD0, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x0000003C, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A801A, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021CE18_6C09A8 -.word 0x00000000, 0xFFFFFC18, 0x00000000 - -dlabel D_8021CE24_6C09B4 -.word 0x00000001, 0x00090001, 0x0000000C, 0x00090000, 0x00000006, 0x00090000, 0x00000009, 0x00090001, 0x00000008, 0x00090000, 0x0000000B, 0x00090001, 0x00000005, 0x00090000, 0x00000004, 0x00090014, 0x00000003, 0x00090014, 0x00000000 - -dlabel D_8021CE70_6C0A00 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_8021CE7C_6C0A0C -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x0000003C, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x0000004B, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x0000004B, 0x0000000A, 0x0000004B, 0x00000008, 0x00000050, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0xFFFFFFFF, 0x00000000 - -dlabel D_8021CF28_6C0AB8 -.word 0x00800000, 0x01000000, 0x001400FF, D_8021CE24_6C09B4, D_8021CE70_6C0A00, 0x00000000, 0x00000000, 0xFFF70000, 0x00000000 - -dlabel D_8021CF4C_6C0ADC -.word 0x00000000, 0x003C170F, 0x00010000, D_8021CF28_6C0AB8, D_8021CF74_6C0B04, D_8021CE7C_6C0A0C, 0x32504632, 0x5F005A02, 0x1D1A0000, 0xF6140A14 - -dlabel D_8021CF74_6C0B04 -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8021E934_6C24C4, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8021CFC0_6C0B50, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8021CFD0_6C0B60, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021CFC0_6C0B50 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021CFD0_6C0B60 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, GetLastElement, 0xFE363C81, 0x00000010, 0x00000002, 0xFE363C81, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0009000A, 0x00000046, 0x00000001, D_8021BF64_6BFAF4, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0009000A, 0x00000046, 0x00000001, DoNormalHit, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0009000B, 0x00000025, 0x00000002, 0xFE363C82, 0x0009000C, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0009000B, 0x00000025, 0x00000002, 0xFE363C82, 0x0009000C, 0x00000046, 0x00000001, DoBurnHit, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0009000C, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0009000A, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x00000021, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0009000A, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0009000A, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0009000A, 0x00000046, 0x00000001, D_8021C428_6BFFB8, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000026, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0009000A, 0x00000024, 0x00000002, 0xFE363C82, 0x0000000C, 0x00000046, 0x00000001, D_8021CAB4_6C0644, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0009000A, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00090001, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0009000A, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0009000A, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00090001, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00090003, 0x00000025, 0x00000002, 0xFE363C82, 0x0009000A, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00090003, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0009000A, 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_8021D540_6C10D0 -.word 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00090001, 0x00000056, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x0000000C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000000B4, 0x00000005, 0x00000001, 0x0000000F, 0x00000028, 0x00000002, 0xFE363C80, 0x0000003C, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00090005, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x0000003C, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000026, 0x00000002, 0xFE363C85, 0xF24A974D, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C85, 0x00000012, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00090007, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFE363C85, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00090001, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00090007, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFE363C85, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00090001, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00090007, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFE363C85, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00090001, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00090003, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00090001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021D9C8_6C1558 -.word 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000046, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00090003, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8E80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00090001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021DAAC_6C163C -.word 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C8B, 0xFE363C8C, 0xFE363C8D, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C8C, 0xFE363C8D, 0xFE363C8E, 0x0000000D, 0x00000002, 0xFE363C8B, 0xFE363C8C, 0x00000028, 0x00000002, 0xFE363C8B, 0xFE363C8C, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C8C, 0xFE363C8B, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C8C, 0x00000013, 0x00000000, 0x00000028, 0x00000002, 0xFE363C8B, 0x00000014, 0x0000002F, 0x00000002, 0xFE363C8B, 0xF24AA4DB, 0x0000002C, 0x00000002, 0xFE363C8B, 0x0000000F, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C8B, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021DB94_6C1724 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000046, 0x00000001, D_8021D9C8_6C1558, 0x00000046, 0x00000001, D_8021DAAC_6C163C, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000026, 0x00000002, 0xFE363C80, 0xF24A974D, 0x00000026, 0x00000002, 0xFE363C81, 0xF24A98E7, 0x00000026, 0x00000002, 0xFE363C81, 0xF24A88E7, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000012, 0x00000024, 0x00000002, 0xFE363C81, 0x00000013, 0x00000024, 0x00000002, 0xFE363C82, 0x00000009, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00090007, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFE363C81, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00090006, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFE363C82, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000005, 0x00000043, 0x00000006, SetJumpAnimations, 0xFFFFFF81, 0x00000001, 0x00090006, 0x00090006, 0x00090006, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000200D, 0x00000043, 0x00000003, b_area_kpa3_UnkFunc62, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000006, SetJumpAnimations, 0xFFFFFF81, 0x00000001, 0x00090006, 0x00090006, 0x00090006, 0x00000043, 0x00000001, b_area_kpa3_ActorJumpToPos, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A7E80, 0x00000057, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000001, YieldTurn, 0x00000046, 0x00000001, D_8021D540_6C10D0, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000058, 0x00000000, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7EE7, 0xF24A7DB4, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7FB4, 0xF24A7C80, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000059, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C89, 0x00000014, 0x00000001, 0xFE363C89, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000010, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000003, 0x00000010, 0x00000023, 0x00000000, 0x00000043, 0x00000003, GetActorHP, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000004, 0x00000001, 0x00000064, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000018, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C89, 0x00000014, 0x00000001, 0xFE363C89, 0x00000016, 0x00000001, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000004, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x00000006, 0x00000027, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000006, SetJumpAnimations, 0xFFFFFF81, 0x00000001, 0x00090006, 0x00090006, 0x00090006, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000281, 0x00000043, 0x00000003, b_area_kpa3_UnkFunc62, 0xFE363C8A, 0x00000003, 0x00000016, 0x00000001, 0x00000001, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000004, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x00000006, 0x00000027, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, EnableActorBlur, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000006, SetJumpAnimations, 0xFFFFFF81, 0x00000001, 0x00090006, 0x00090006, 0x00090006, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000281, 0x00000043, 0x00000003, b_area_kpa3_UnkFunc62, 0xFE363C8A, 0x00000003, 0x00000043, 0x00000003, EnableActorBlur, 0xFFFFFF81, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000004, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x00000006, 0x00000027, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0xF1194D80, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00090006, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0xFE363C8A, 0x00000027, 0x00000002, 0xFE363C80, 0x00000085, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0xF1194D80, 0xFE363C80, 0xF1194D80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, EnableActorBlur, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000006, SetJumpAnimations, 0xFFFFFF81, 0x00000001, 0x00090006, 0x00090006, 0x00090006, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000281, 0x00000043, 0x00000003, b_area_kpa3_UnkFunc62, 0xFE363C8A, 0x00000003, 0x00000043, 0x00000003, EnableActorBlur, 0xFFFFFF81, 0x00000000, 0x00000023, 0x00000000, 0x00000058, 0x00000000, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7EE7, 0xF24A7DB4, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7FB4, 0xF24A7C80, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000059, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C89, 0x00000014, 0x00000001, 0xFE363C89, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000020, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000020, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000003, 0x00000020, 0x00000023, 0x00000000, 0x00000003, 0x00000001, 0x00000064, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000046, 0x00000001, D_8021D540_6C10D0, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021E620_6C21B0 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A81B4, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, SetBattleFlagBits, 0x00000004, 0x00000001, 0x00000043, 0x00000002, b_area_kpa3_UnkEffect6CFunc, 0xFE363C85, 0x00000008, 0x00000001, 0x0000000C, 0x00000043, 0x00000002, func_802535B4, 0x00000000, 0x00000043, 0x00000003, SetCamEnabled, 0x00000002, 0x00000001, 0x00000043, 0x00000003, SetCamFlag80, 0x00000002, 0x00000000, 0x00000043, 0x00000006, SetCamPerspective, 0x00000002, 0x00000006, 0x00000019, 0x00000010, 0x00000400, 0x00000043, 0x00000006, SetCamViewport, 0x00000002, 0x00000025, 0x0000005F, 0x0000008A, 0x00000063, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000008, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000001, b_area_kpa3_UnkActorSizeFunc, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, func_802CAE50, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, func_802CABE8, 0x00000002, 0x00000000, 0xFE363C83, 0x00000064, 0x00000004, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000282, 0x00000043, 0x00000003, SetCamFlag80, 0x00000002, 0x00000001, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000006, ActorSpeak, 0x001C0092, 0xFFFFFF81, 0x00000001, 0x0009000F, 0x00090001, 0x00000043, 0x00000002, func_80218BFC_6BC78C, 0xFE363C85, 0x00000008, 0x00000001, 0x0000000C, 0x00000043, 0x00000003, SetCamEnabled, 0x00000002, 0x00000000, 0x00000008, 0x00000001, 0x00000020, 0x00000043, 0x00000002, func_802535B4, 0x00000001, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000003, SetBattleFlagBits, 0x00000004, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021E934_6C24C4 -.word 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000046, 0x00000001, D_8021E620_6C21B0, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_8021DB94_6C1724, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021E990_6C2520 -.word D_8021CF4C_6C0ADC, D_8021CE18_6C09A8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021E9AC_6C253C -.word 0x00000001, 0x000A0004, 0x0000000C, 0x000A0000, 0x00000006, 0x000A0000, 0x00000009, 0x000A0004, 0x00000008, 0x000A0000, 0x0000000B, 0x000A0004, 0x00000005, 0x000A0000, 0x00000004, 0x000A001C, 0x00000003, 0x000A001C, 0x00000000 - -dlabel D_8021E9F8_6C2588 -.word 0x00000001, 0x000A0019, 0x0000000C, 0x000A0003, 0x00000006, 0x000A0003, 0x00000009, 0x000A0019, 0x00000008, 0x000A0003, 0x0000000B, 0x000A0019, 0x00000005, 0x000A0003, 0x00000004, 0x000A0019, 0x00000003, 0x000A0019, 0x00000000 - -dlabel D_8021EA44_6C25D4 -.word 0x00000001, 0x00000001, 0x00000000 - -dlabel D_8021EA50_6C25E0 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_8021EA5C_6C25EC -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x0000003C, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x0000004B, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x0000004B, 0x0000000A, 0x0000004B, 0x00000008, 0x00000050, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0xFFFFFFFF, 0x00000000 - -dlabel D_8021EB08_6C2698 -.word 0x00800000, 0x01000000, 0xFE2000FF, D_8021E9AC_6C253C, D_8021EA44_6C25D4, 0x00001000, 0x00000000, 0x00F00000, 0x00000000 - -dlabel D_8021EB2C_6C26BC -.word 0x00000000, 0x003D170F, 0x00010000, D_8021EB08_6C2698, D_8021EB54_6C26E4, D_8021EA5C_6C25EC, 0x32504632, 0x5F005A02, 0x20260000, 0xF6140A14 - -dlabel D_8021EB54_6C26E4 -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8021F6A4_6C3234, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8021EBD0_6C2760, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8021ED48_6C28D8, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000003, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021EBD0_6C2760 -.word 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFE, 0x00000026, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0xFFFFFFFD, 0xFFFFFFF7, 0x00000043, 0x00000005, dup_b_area_kpa3_UnkBattleFunc1, 0xFFFFFFF6, 0x00000019, 0x0000000A, 0x00000019, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0x00000005, 0x0000000F, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0xFFFFFFFA, 0x00000043, 0x00000005, dup_b_area_kpa3_UnkBattleFunc1, 0xFFFFFFF6, 0x00000014, 0x0000000A, 0x00000014, 0x00000023, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021ECF0_6C2880 -.word 0x00000009, 0x00000010, 0x00000016, 0x0000001A, 0x0000001E, 0x00000020, 0x00000021, 0x00000020, 0x0000001E, 0x0000001A, 0x00000016, 0x00000010, 0x00000009, 0x00000000, 0x00000004, 0x00000006, 0x00000007, 0x00000006, 0x00000004, 0x00000000, 0x00000002, 0x00000000 - -dlabel D_8021ED48_6C28D8 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, GetLastElement, 0xFE363C81, 0x00000010, 0x00000002, 0xFE363C81, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000A0011, 0x00000046, 0x00000001, D_8021BF64_6BFAF4, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000A0011, 0x00000046, 0x00000001, DoNormalHit, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000A0012, 0x00000025, 0x00000002, 0xFE363C82, 0x000A0013, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000A0012, 0x00000025, 0x00000002, 0xFE363C82, 0x000A0013, 0x00000046, 0x00000001, DoBurnHit, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000A0013, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000A0011, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x00000021, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000A0011, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000A0011, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000D, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_8021EA50_6C25E0, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_8021E9F8_6C2588, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0x00000005, 0x0000000F, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0xFFFFFFFA, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000A0011, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x0000000C, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000004, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x0000001E, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFFFFFFE2, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFFFFFFC4, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFFFFFFB5, 0x00000008, 0x00000001, 0x00000001, 0x00000057, 0x00000000, 0x00000030, 0x00000001, D_8021ECF0_6C2880, 0x00000005, 0x00000001, 0x00000016, 0x00000031, 0x00000001, 0xFE363C80, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000A0019, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000A0004, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000A0019, 0x00000023, 0x00000000, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000A0011, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000A0011, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000A0019, 0x00000046, 0x00000001, DoImmune, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000A0004, 0x00000046, 0x00000001, DoRecover, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000039, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000A0006, 0x00000025, 0x00000002, 0xFE363C82, 0x000A0011, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000A0006, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A8680, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000A0019, 0x00000023, 0x00000000, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000003, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000A0011, 0x00000016, 0x00000001, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000A0019, 0x00000023, 0x00000000, 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_8021F6A4_6C3234 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0x00000028, 0x00000002, 0xFE363C80, 0x00000001, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A8680, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A8680, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000A0019, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x0000000C, 0x00000000, 0x00000056, 0x00000000, 0x00000005, 0x00000001, 0x00000005, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A8680, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000A0004, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000003, 0x00000000, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_8021EA44_6C25D4, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_8021E9AC_6C253C, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFE, 0x00000026, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0xFFFFFFFD, 0xFFFFFFF7, 0x00000013, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000A000E, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000A000A, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000200C, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000004B, 0x00000043, 0x00000004, func_8024ECF8, 0x00000001, 0x00000001, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000014, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000023, 0x00000000, 0x00000024, 0x00000002, 0xFE363C89, 0x00000000, 0x00000005, 0x00000001, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C89, 0x00000001, 0x00000014, 0x00000001, 0xFE363C89, 0x00000018, 0x00000001, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000A000A, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24AA280, 0x00000016, 0x00000001, 0x00000014, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000001, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000020, 0x00000004, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000018, 0x00000001, 0x00000028, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000A000B, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24AAA80, 0x00000016, 0x00000001, 0x00000028, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000001, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000020, 0x00000004, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000018, 0x00000001, 0x00000032, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000A000C, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24AB280, 0x00000016, 0x00000001, 0x00000032, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000001, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000020, 0x00000004, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000018, 0x00000001, 0x0000003C, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000A000D, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24ABA80, 0x00000016, 0x00000001, 0x0000003C, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000001, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000020, 0x00000004, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000023, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000200A, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000F, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000005, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000056, 0x00000000, 0x00000043, 0x00000001, b_area_kpa3_UnkActorPosFunc, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000004, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000A0009, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0xFFFFFFF8, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x00000002, 0x00000027, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000001, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000010, 0x00000004, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000005, 0x00000001, 0x00000005, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFF4, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000002, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFFFFFFFE, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000A000F, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000A0006, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8C80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C89, 0x00000014, 0x00000001, 0xFE363C89, 0x00000016, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x0000FFFF, 0x00000000, 0x00000002, 0x00000020, 0x00000016, 0x00000001, 0x00000001, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x0000FFFF, 0x00000000, 0x00000003, 0x00000020, 0x00000016, 0x00000001, 0x00000002, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x0000FFFF, 0x00000000, 0x00000005, 0x00000020, 0x00000023, 0x00000000, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000008, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x0000003C, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A801A, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000014, 0x00000000, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000A000F, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000A0006, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8C80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80220644_6C41D4 -.word D_8021EB2C_6C26BC, D_8021CE18_6C09A8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80220660_6C41F0 -.word 0x00000001, 0x000B0004, 0x0000000C, 0x000B0000, 0x00000006, 0x000B0000, 0x00000009, 0x000B0004, 0x00000008, 0x000B0000, 0x0000000B, 0x000B0004, 0x00000005, 0x000B0000, 0x00000004, 0x000B001E, 0x00000003, 0x000B001E, 0x00000000 - -dlabel D_802206AC_6C423C -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_802206B8_6C4248 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x0000003C, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x0000004B, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x0000004B, 0x0000000A, 0x0000004B, 0x00000008, 0x00000050, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0xFFFFFFFF, 0x00000000 - -dlabel D_80220764_6C42F4 -.word 0x00800000, 0x01000000, 0x001600FF, D_80220660_6C41F0, D_802206AC_6C423C, 0x00000000, 0x00000000, 0xFEF90000, 0x00000000 - -dlabel D_80220788_6C4318 -.word 0x00000000, 0x003E170F, 0x00010000, D_80220764_6C42F4, D_802207B0_6C4340, D_802206B8_6C4248, 0x32504632, 0x5F005A02, 0x1E1C0000, 0xF6140A14 - -dlabel D_802207B0_6C4340 -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_80220FD0_6C4B60, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_802207FC_6C438C, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80220984_6C4514, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802207FC_6C438C -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022080C_6C439C -.word 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000002, 0xF24A7D80, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A8680, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x0000000A, 0xF24A8C80, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A8680, 0x00000057, 0x00000000, 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, 0x00000014, 0x00000027, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000019, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002076, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80220984_6C4514 -.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, 0x000B0012, 0x00000046, 0x00000001, DoNormalHit, 0x00000016, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000B0012, 0x00000046, 0x00000001, DoNormalHit, 0x00000043, 0x00000002, GetLastElement, 0xFE363C81, 0x00000010, 0x00000002, 0xFE363C81, 0x00000020, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000B0013, 0x00000008, 0x00000001, 0x00000014, 0x00000046, 0x00000001, D_8022080C_6C439C, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000B0014, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFCFC7, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000B0013, 0x00000025, 0x00000002, 0xFE363C82, 0x000B0014, 0x00000046, 0x00000001, DoBurnHit, 0x00000046, 0x00000001, D_8022080C_6C439C, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000B0014, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFCFC7, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000B0013, 0x00000025, 0x00000002, 0xFE363C82, 0x000B0014, 0x00000046, 0x00000001, DoBurnHit, 0x00000046, 0x00000001, D_8022080C_6C439C, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000B0014, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFCFC7, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000B0012, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x00000021, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000B0012, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000B0012, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x0000001D, 0x00000001, 0x0000002F, 0x0000001D, 0x00000001, 0x00000026, 0x00000043, 0x00000002, HPBarToCurrent, 0xFFFFFF81, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000B0013, 0x00000008, 0x00000001, 0x00000014, 0x00000046, 0x00000001, D_8022080C_6C439C, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000B0014, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFCFC7, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000B0004, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000B0012, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000B0012, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000B0004, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000B0008, 0x00000025, 0x00000002, 0xFE363C82, 0x000B0012, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000B0008, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000B0012, 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_80220FD0_6C4B60 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000028, 0x00000000, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000B0008, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x0000001E, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000B0004, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000B000F, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002020, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFFF6, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000B0010, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000B0004, 0x00000056, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x0000000F, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C80, 0x00000048, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFFC4, 0x00000000, 0x00000000, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000B0004, 0x00000056, 0x00000000, 0x00000043, 0x00000001, dup_b_area_kpa3_UnkActorPosFunc, 0x00000057, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000B0008, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8E80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000B0010, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C89, 0x00000014, 0x00000001, 0xFE363C89, 0x00000016, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000020, 0x00000016, 0x00000001, 0x00000001, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000003, 0x00000020, 0x00000016, 0x00000001, 0x00000002, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000005, 0x00000020, 0x00000023, 0x00000000, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000B0004, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000008, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000B0011, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000028, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A801A, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000014, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000B000E, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000B0011, 0x00000027, 0x00000002, 0xFE363C80, 0x00000028, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000B000E, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000B0011, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000B000E, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000B0011, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000B000E, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000B0004, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000B0008, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8E80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802218A4_6C5434 -.word D_80220788_6C4318, D_8021CE18_6C09A8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802218C0_6C5450 -.word 0x00000001, 0x000C0001, 0x0000000C, 0x000C0000, 0x00000006, 0x000C0000, 0x00000009, 0x000C0001, 0x00000008, 0x000C0000, 0x0000000B, 0x000C0001, 0x00000005, 0x000C0000, 0x00000004, 0x000C0001, 0x00000003, 0x000C0001, 0x00000000 - -dlabel D_8022190C_6C549C -.word 0x00000001, 0x00000001, 0x00000000 - -dlabel D_80221918_6C54A8 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x0000003C, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x0000004B, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x0000004B, 0x0000000A, 0x0000004B, 0x00000008, 0x00000050, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0xFFFFFFFF, 0x00000000 - -dlabel D_802219C4_6C5554 -.word 0x00020000, 0x01000000, 0xFD2000FF, D_802218C0_6C5450, D_8022190C_6C549C, 0x00000000, 0x00000000, 0x00F00000, 0x00000000, 0x80800001, 0x02003200, 0xFDEE00FF, 0x00000000, D_8022190C_6C549C, 0x00000000, 0x00000000, 0x00F00000, 0x00000000 - -dlabel D_80221A0C_6C559C -.word 0x00000200, 0x003F170F, 0x00020000, D_802219C4_6C5554, D_80221A34_6C55C4, D_80221918_6C54A8, 0x32504632, 0x5F005A02, 0x26260000, 0xF6140A14 - -dlabel D_80221A34_6C55C4 -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_80222814_6C63A4, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_80221A80_6C5610, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80221A90_6C5620, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80221A80_6C5610 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80221A90_6C5620 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, GetLastElement, 0xFE363C81, 0x00000010, 0x00000002, 0xFE363C81, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000C000E, 0x00000046, 0x00000001, D_8021BF64_6BFAF4, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000C000E, 0x00000046, 0x00000001, DoNormalHit, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000C000F, 0x00000025, 0x00000002, 0xFE363C82, 0x000C0010, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000C000F, 0x00000025, 0x00000002, 0xFE363C82, 0x000C0010, 0x00000046, 0x00000001, DoBurnHit, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000C0010, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000C000E, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x00000021, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000C000E, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000C000E, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000C000E, 0x00000046, 0x00000001, D_8021C428_6BFFB8, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000026, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000C000D, 0x00000024, 0x00000002, 0xFE363C82, 0x00000016, 0x00000046, 0x00000001, D_8021CAB4_6C0644, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000C000E, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000C0001, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000C000E, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000C000E, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000C0001, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000C0003, 0x00000025, 0x00000002, 0xFE363C82, 0x000C000E, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000C0003, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000003, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000C000E, 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_80222084_6C5C14 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000C0003, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000014, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8A80, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0xFFFFFFF6, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000C0000, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000002, UseBattleCamPresetImmediately, 0x00000001, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002004, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000C0014, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000000, 0x0000000A, 0x00000000, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000C0004, 0x00000057, 0x00000000, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000028, 0x0000000F, 0x00000000, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000014, 0xFFFFFFEC, 0x00000006, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002005, 0x00000043, 0x00000003, EnableActorBlur, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000C0005, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000C0001, 0x00000057, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFFD8, 0x0000000A, 0x00000000, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x0000000A, 0xFFFFFFEC, 0x00000004, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000003, EnableActorBlur, 0xFFFFFF81, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000C0003, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0xFFFFFFFB, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableActorBlur, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000C0006, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C89, 0x00000014, 0x00000001, 0xFE363C89, 0x00000016, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000020, 0x00000016, 0x00000001, 0x00000001, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000003, 0x00000020, 0x00000016, 0x00000001, 0x00000002, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000005, 0x00000020, 0x00000023, 0x00000000, 0x00000043, 0x00000002, PlaySound, 0x00000000, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000C0005, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A801A, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000032, 0x00000000, 0x00000000, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000C0000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000004, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000C0003, 0x00000057, 0x00000000, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x0000001E, 0x00000000, 0x00000000, 0x00000043, 0x00000004, JumpWithBounce, 0xFFFFFF81, 0x0000000A, 0xF24A8A80, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000C0001, 0x00000008, 0x00000001, 0x00000006, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9280, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000C0003, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0xFFFFFFFB, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80222814_6C63A4 -.word 0x00000046, 0x00000001, D_80222084_6C5C14, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80222830_6C63C0 -.word D_80221A0C_6C559C, D_8021CE18_6C09A8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8022284C_6C63DC -.word 0x00000001, 0x000D0001, 0x0000000C, 0x000D0000, 0x00000006, 0x000D0000, 0x00000009, 0x000D0001, 0x00000008, 0x000D0000, 0x0000000B, 0x000D0001, 0x00000005, 0x000D0000, 0x00000004, 0x000D001A, 0x00000003, 0x000D001A, 0x00000000 - -dlabel D_80222898_6C6428 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_802228A4_6C6434 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x0000003C, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x0000004B, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x0000004B, 0x0000000A, 0x0000004B, 0x00000008, 0x00000050, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0xFFFFFFFF, 0x00000000 - -dlabel D_80222950_6C64E0 -.word 0x00020000, 0x01000000, 0x001800FF, D_8022284C_6C63DC, D_80222898_6C6428, 0x00000000, 0x00000000, 0x00F60000, 0x00000000, 0x80800001, 0x02003200, 0x00E600FF, 0x00000000, D_80222898_6C6428, 0x00000000, 0x00000000, 0x00F60000, 0x00000000 - -dlabel D_80222998_6C6528 -.word 0x00000200, 0x0040170F, 0x00020000, D_80222950_6C64E0, D_802229C0_6C6550, D_802228A4_6C6434, 0x32504632, 0x5F005A02, 0x241D0000, 0xF6140A14 - -dlabel D_802229C0_6C6550 -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_80222FAC_6C6B3C, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_80222A0C_6C659C, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80222A1C_6C65AC, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80222A0C_6C659C -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80222A1C_6C65AC -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, GetLastElement, 0xFE363C81, 0x00000010, 0x00000002, 0xFE363C81, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000D0015, 0x00000046, 0x00000001, D_8021BF64_6BFAF4, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000D0015, 0x00000046, 0x00000001, DoNormalHit, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000D0018, 0x00000025, 0x00000002, 0xFE363C82, 0x000D0019, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000D0018, 0x00000025, 0x00000002, 0xFE363C82, 0x000D0019, 0x00000046, 0x00000001, DoBurnHit, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000D0019, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000D0015, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x00000021, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000D0015, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000D0015, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002F, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000D0015, 0x00000046, 0x00000001, D_8021C428_6BFFB8, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000026, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000D0015, 0x00000024, 0x00000002, 0xFE363C82, 0x0000000E, 0x00000046, 0x00000001, D_8021CAB4_6C0644, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000D0015, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000D0001, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000D0015, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000D0015, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000D0001, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000D0003, 0x00000025, 0x00000002, 0xFE363C82, 0x000D0015, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000D0003, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000D0015, 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_80222FAC_6C6B3C -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000000C3, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000000C8, 0x00000005, 0x00000001, 0x00000014, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000004, SetPartAlpha, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000001, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000056, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000D0003, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000004, 0xFFFFFFFC, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x0000000A, 0xFFFFFFF6, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x0000001E, 0x00000000, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000D0001, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000000C1, 0x00000024, 0x00000002, 0xFE363C80, 0x00000037, 0x00000005, 0x00000001, 0x00000014, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000004, SetPartAlpha, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetPartAlpha, 0xFFFFFF81, 0x00000001, 0x000000FF, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000D0005, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A801A, 0xF24A801A, 0xF24A7E80, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000D0007, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x00000014, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFD3, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000D001A, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000003, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000D0001, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000000C3, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000000C8, 0x00000005, 0x00000001, 0x00000014, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000004, SetPartAlpha, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000D0003, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x0000001E, 0x00000000, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000D0001, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000000C1, 0x00000043, 0x00000001, YieldTurn, 0x00000024, 0x00000002, 0xFE363C80, 0x00000037, 0x00000005, 0x00000001, 0x00000014, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000004, SetPartAlpha, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetPartAlpha, 0xFFFFFF81, 0x00000001, 0x000000FF, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C88, 0x00000014, 0x00000001, 0xFE363C88, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C88, 0x00000004, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFE363C88, 0x00000005, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFE363C88, 0x00000006, 0x00000023, 0x00000000, 0x00000024, 0x00000002, 0xFE363C87, 0xFE363C88, 0x00000005, 0x00000001, 0xFE363C87, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002019, 0x00000027, 0x00000002, 0xFE363C8A, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A801A, 0xF24A801A, 0xF24A7E80, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000D0007, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C8A, 0xFE363C88, 0x00000043, 0x00000002, func_80269EAC, 0x0000000C, 0x00000012, 0x00000000, 0x00000043, 0x00000002, func_80269EAC, 0x0000000A, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000D0008, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0xFE363C88, 0x00000043, 0x00000002, func_80269EAC, 0x0000000D, 0x00000012, 0x00000000, 0x00000043, 0x00000002, func_80269EAC, 0x0000000B, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000002, 0xF24A7C80, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000002, 0xF24A8080, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7C80, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000001, 0xF24A7B4D, 0x00000057, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C89, 0x00000014, 0x00000001, 0xFE363C89, 0x00000016, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000016, 0x00000001, 0x00000001, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000016, 0x00000001, 0x00000002, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000023, 0x00000000, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000D0001, 0x00000043, 0x00000003, GetActorHP, 0x00000000, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000006, 0x00000000, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000000C3, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x000000C8, 0x00000005, 0x00000001, 0x00000014, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000004, SetPartAlpha, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000D0003, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x0000001E, 0x00000000, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000D0001, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000000C1, 0x00000043, 0x00000001, YieldTurn, 0x00000024, 0x00000002, 0xFE363C80, 0x00000037, 0x00000005, 0x00000001, 0x00000014, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000004, SetPartAlpha, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetPartAlpha, 0xFFFFFF81, 0x00000001, 0x000000FF, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80223C00_6C7790 -.word D_80222998_6C6528, D_8021CE18_6C09A8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80223C1C_6C77AC -.word 0x00000001, 0x000E0001, 0x0000000C, 0x000E0000, 0x00000006, 0x000E0000, 0x00000009, 0x000E0001, 0x00000008, 0x000E0000, 0x0000000B, 0x000E0001, 0x00000005, 0x000E0000, 0x00000004, 0x000E000F, 0x00000003, 0x000E000F, 0x00000000 - -dlabel D_80223C68_6C77F8 -.word 0x00000001, 0x00000000, 0x0000000C, 0x00000063, 0x00000000 - -dlabel D_80223C7C_6C780C -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x0000003C, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x0000004B, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x0000004B, 0x0000000A, 0x0000004B, 0x00000008, 0x00000050, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0xFFFFFFFF, 0x00000000 - -dlabel D_80223D28_6C78B8 -.word 0x00020000, 0x01000000, 0xFF1400FF, D_80223C1C_6C77AC, D_80223C68_6C77F8, 0x00000080, 0x00000000, 0x00F80000, 0x00000000, 0x80800001, 0x02003200, 0xFFE200FF, 0x00000000, D_80223C68_6C77F8, 0x00000080, 0x00000000, 0x00F80000, 0x00000000 - -dlabel D_80223D70_6C7900 -.word 0x00000200, 0x0041170F, 0x00020000, D_80223D28_6C78B8, D_80223D98_6C7928, D_80223C7C_6C780C, 0x32504632, 0x5F005A02, 0x221C0000, 0xF6140A14 - -dlabel D_80223D98_6C7928 -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_80224280_6C7E10, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_80223DE4_6C7974, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80223E0C_6C799C, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80223DE4_6C7974 -.word 0x0000004B, 0x00000001, 0x00000063, 0x00000043, 0x00000001, func_80218F58_6BCAE8, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80223E0C_6C799C -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, func_80219428_6BCFB8, 0x00000000, 0x00000043, 0x00000002, func_80219474_6BD004, 0x00000001, 0x00000043, 0x00000002, func_802194C0_6BD050, 0x00000000, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000E000C, 0x00000046, 0x00000001, DoNormalHit, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000E000D, 0x00000025, 0x00000002, 0xFE363C82, 0x000E000E, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000E000D, 0x00000025, 0x00000002, 0xFE363C82, 0x000E000E, 0x00000046, 0x00000001, DoBurnHit, 0x00000043, 0x00000001, func_802193D4_6BCF64, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000E000E, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000E000C, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x00000021, 0x00000043, 0x00000001, func_802193D4_6BCF64, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000E000C, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000E000C, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000E0001, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000043, 0x00000001, func_802193D4_6BCF64, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000E000C, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000E000C, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000E0001, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000E0003, 0x00000025, 0x00000002, 0xFE363C82, 0x000E000C, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000E0003, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000E000C, 0x00000046, 0x00000001, DoBlowAway, 0x00000002, 0x00000000, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000002, func_80219428_6BCFB8, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80224280_6C7E10 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000013, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, SetBattleCamTarget, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, SetBattleCamZoom, 0x0000015E, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000028, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000050, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000E0003, 0x00000043, 0x00000002, func_802194C0_6BD050, 0x00000001, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x0000000F, 0xFFFFFFF6, 0x00000005, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x0000001E, 0x00000000, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000E0001, 0x00000043, 0x00000002, func_802194C0_6BD050, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000002, func_80219428_6BCFB8, 0x00000000, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000019, 0x00000014, 0x00000000, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x0000000F, 0xFFFFFFEC, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000E0005, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x0000000A, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000E0001, 0x00000057, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFFD8, 0x0000000A, 0x00000000, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x0000000A, 0xFFFFFFEC, 0x00000004, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, func_80219474_6BD004, 0x00000001, 0x00000043, 0x00000002, func_80219428_6BCFB8, 0x00000001, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000E0003, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x0000001E, 0x00000000, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000E0001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000002, func_80219474_6BD004, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000028, 0x00000043, 0x00000002, AddBattleCamZoom, 0xFFFFFFB5, 0x00000043, 0x00000002, MoveBattleCamOver, 0xFE363C8A, 0x00000043, 0x00000004, func_8024ECF8, 0x00000000, 0x00000000, 0x00000001, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000289, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000004, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000008, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7C95, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000C, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000008, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7FB4, 0xFE363C8A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000001, b_area_kpa3_UnkBackgroundFunc3, 0x00000024, 0x00000002, 0xFE363C89, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000E0006, 0x00000005, 0x00000001, 0xFE363C8A, 0x00000027, 0x00000002, 0xFE363C89, 0x00000003, 0x0000000D, 0x00000002, 0xFE363C89, 0x000000C8, 0x00000024, 0x00000002, 0xFE363C89, 0x000000C8, 0x00000013, 0x00000000, 0x00000043, 0x00000002, b_area_kpa3_SetBackgroundAlpha, 0xFE363C89, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000E0001, 0x00000043, 0x00000004, func_8026EA7C, 0xFFFFFF81, 0x00000001, 0x00000009, 0x00000043, 0x00000002, AddBattleCamZoom, 0x0000004B, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000005, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000002, b_area_kpa3_SetBackgroundAlpha, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C89, 0x00000014, 0x00000001, 0xFE363C89, 0x00000016, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x08000020, 0x0000FFFF, 0x00000000, 0x00000003, 0x00000020, 0x00000016, 0x00000001, 0x00000001, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x08000020, 0x0000FFFF, 0x00000000, 0x00000004, 0x00000020, 0x00000016, 0x00000001, 0x00000002, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x08000020, 0x0000FFFF, 0x00000000, 0x00000005, 0x00000020, 0x00000023, 0x00000000, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, func_80219474_6BD004, 0x00000001, 0x00000043, 0x00000002, func_80219428_6BCFB8, 0x00000001, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000019, 0x0000000A, 0x00000000, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x0000000F, 0xFFFFFFF6, 0x0000000A, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000E0003, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x0000001E, 0x00000000, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000E0001, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80224AFC_6C868C -.word D_80223D70_6C7900, D_8021CE18_6C09A8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80224B18_6C86A8 -.word 0x00000001, 0x000F0001, 0x0000000C, 0x000F0000, 0x00000006, 0x000F0000, 0x00000009, 0x000F0001, 0x00000008, 0x000F0000, 0x0000000B, 0x000F0001, 0x00000005, 0x000F0000, 0x00000004, 0x000F0010, 0x00000003, 0x000F0010, 0x00000000 - -dlabel D_80224B64_6C86F4 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_80224B70_6C8700 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x0000003C, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x0000004B, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x0000004B, 0x0000000A, 0x0000004B, 0x00000008, 0x00000050, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0xFFFFFFFF, 0x00000000 - -dlabel D_80224C1C_6C87AC -.word 0x00800000, 0x01000000, 0x001800FF, D_80224B18_6C86A8, D_80224B64_6C86F4, 0x00000000, 0x00000000, 0x00F40000, 0x00000000 - -dlabel D_80224C40_6C87D0 -.word 0x00000000, 0x0042170F, 0x00010000, D_80224C1C_6C87AC, D_80224C68_6C87F8, D_80224B70_6C8700, 0x32504632, 0x5F005A02, 0x251A0000, 0xF6140A14 - -dlabel D_80224C68_6C87F8 -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_80225234_6C8DC4, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_80224CB4_6C8844, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80224CC4_6C8854, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80224CB4_6C8844 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80224CC4_6C8854 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, GetLastElement, 0xFE363C81, 0x00000010, 0x00000002, 0xFE363C81, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000F000D, 0x00000046, 0x00000001, D_8021BF64_6BFAF4, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000F000D, 0x00000046, 0x00000001, DoNormalHit, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000F000E, 0x00000025, 0x00000002, 0xFE363C82, 0x000F000F, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000F000E, 0x00000025, 0x00000002, 0xFE363C82, 0x000F000F, 0x00000046, 0x00000001, DoBurnHit, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000F000F, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000F000D, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x00000021, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000F000D, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000F000D, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000F000D, 0x00000046, 0x00000001, D_8021C428_6BFFB8, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000026, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000F000D, 0x00000024, 0x00000002, 0xFE363C82, 0x00000014, 0x00000046, 0x00000001, D_8021CAB4_6C0644, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000F000D, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000F0001, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000F000D, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000F000D, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000F0001, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000F0003, 0x00000025, 0x00000002, 0xFE363C82, 0x000F000D, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000F0003, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x000F000D, 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_80225234_6C8DC4 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0x00000046, 0x00000000, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000028, 0x00000002, 0xFE363C83, 0xFE363C80, 0x0000002A, 0x00000002, 0xFE363C83, 0xF24A8680, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C83, 0x0000000C, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000029, 0x00000002, 0xFE363C8A, 0xFFFFFFFF, 0x00000013, 0x00000000, 0x00000043, 0x00000002, MoveBattleCamOver, 0xFE363C8A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000F0003, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000F0001, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000008, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, AddBattleCamZoom, 0xFFFFFFCE, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000043, 0x00000004, func_8024ECF8, 0x00000001, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000F0004, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000F0008, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000F0005, 0x00000056, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x0000000C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C80, 0x00000024, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000014, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x0000000D, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000016, 0x00000001, 0x00000001, 0x00000008, 0x00000001, 0x0000000D, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7EB4, 0xF24A7EB4, 0xF24A7EB4, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7EE7, 0xF24A7EE7, 0xF24A7EE7, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7F1A, 0xF24A7F1A, 0xF24A7F1A, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7F4D, 0xF24A7F4D, 0xF24A7F4D, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7F80, 0xF24A7F80, 0xF24A7F80, 0x00000016, 0x00000001, 0x00000002, 0x00000008, 0x00000001, 0x0000000D, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7EE7, 0xF24A7EE7, 0xF24A7EE7, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7F4D, 0xF24A7F4D, 0xF24A7F4D, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7FB4, 0xF24A7FB4, 0xF24A7FB4, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A801A, 0xF24A801A, 0xF24A801A, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A8080, 0xF24A8080, 0xF24A8080, 0x00000023, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002034, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000056, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000F0005, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000F0006, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000014, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000F0007, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000043, 0x00000002, LandJump, 0xFFFFFF81, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000029A, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFFF1, 0x00000000, 0x00000000, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000014, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000029A, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFFF6, 0x00000000, 0x00000000, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000029A, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000F0003, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8A80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000F0005, 0x00000056, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x0000000C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C80, 0x00000024, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000014, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x0000000D, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7EE7, 0xF24A7EE7, 0xF24A7EE7, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7EE7, 0xF24A7EE7, 0xF24A7EE7, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7F4D, 0xF24A7F4D, 0xF24A7F4D, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7F4D, 0xF24A7F4D, 0xF24A7F4D, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7FB4, 0xF24A7FB4, 0xF24A7FB4, 0x00000016, 0x00000001, 0x00000001, 0x00000008, 0x00000001, 0x0000000D, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7F1A, 0xF24A7F1A, 0xF24A7F1A, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7F4D, 0xF24A7F4D, 0xF24A7F4D, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7FE7, 0xF24A7FE7, 0xF24A7FE7, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A801A, 0xF24A801A, 0xF24A801A, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A80B4, 0xF24A80B4, 0xF24A80B4, 0x00000016, 0x00000001, 0x00000002, 0x00000008, 0x00000001, 0x0000000D, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7F4D, 0xF24A7F4D, 0xF24A7F4D, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7FB4, 0xF24A7FB4, 0xF24A7FB4, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A8080, 0xF24A8080, 0xF24A8080, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A80E7, 0xF24A80E7, 0xF24A80E7, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A81B4, 0xF24A81B4, 0xF24A81B4, 0x00000023, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002034, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000056, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000F0005, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000F0006, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A80E7, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000014, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000F0007, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000057, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C8A, 0x00000014, 0x00000001, 0xFE363C8A, 0x00000016, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000003, 0x00000020, 0x00000016, 0x00000001, 0x00000001, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000004, 0x00000020, 0x00000016, 0x00000001, 0x00000002, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000005, 0x00000020, 0x00000023, 0x00000000, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000F0006, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x0000003C, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A801A, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000014, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000029A, 0x00000027, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000029A, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000029A, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000029A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000F0001, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x000F0003, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8A80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226494_6CA024 -.word D_80224C40_6C87D0, D_8021CE18_6C09A8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802264B0_6CA040 -.word 0x00000001, 0x00100001, 0x0000000C, 0x00100000, 0x00000006, 0x00100000, 0x00000009, 0x00100001, 0x00000008, 0x00100000, 0x0000000B, 0x00100001, 0x00000005, 0x00100000, 0x00000004, 0x00100008, 0x00000003, 0x00100001, 0x00000000 - -dlabel D_802264FC_6CA08C -.word 0x00000001, 0x00100014, 0x00000000 - -dlabel D_80226508_6CA098 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_80226514_6CA0A4 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x0000003C, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x0000004B, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x0000004B, 0x0000000A, 0x0000004B, 0x00000008, 0x00000050, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0xFFFFFFFF, 0x00000000 - -dlabel D_802265C0_6CA150 -.word 0x00800000, 0x01000000, 0xFD2100FF, D_802264B0_6CA040, D_80226508_6CA098, 0x00000000, 0x00000000, 0xFEF60000, 0x00000000, 0x00120001, 0x03000000, 0x000000FF, D_802264FC_6CA08C, D_80226508_6CA098, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80226608_6CA198 -.word 0x00000200, 0x0043170F, 0x00020000, D_802265C0_6CA150, D_80226630_6CA1C0, D_80226514_6CA0A4, 0x32504632, 0x5F005A02, 0x2C280000, 0xF6140A14 - -dlabel D_80226630_6CA1C0 -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_80226C54_6CA7E4, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8022667C_6CA20C, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8022668C_6CA21C, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022667C_6CA20C -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022668C_6CA21C -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, GetLastElement, 0xFE363C81, 0x00000010, 0x00000002, 0xFE363C81, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0010000A, 0x00000046, 0x00000001, D_8021BF64_6BFAF4, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0010000A, 0x00000046, 0x00000001, DoNormalHit, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0010000C, 0x00000025, 0x00000002, 0xFE363C82, 0x0010000D, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0010000C, 0x00000025, 0x00000002, 0xFE363C82, 0x0010000D, 0x00000046, 0x00000001, DoBurnHit, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0010000D, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0010000A, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000016, 0x00000001, 0x00000021, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0010000A, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0010000B, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000002F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0010000A, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0010000A, 0x00000046, 0x00000001, DoJumpBack, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00100003, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x0000001E, 0x00000000, 0x0000000A, 0x00000016, 0x00000001, 0x00000026, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0010000A, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0010000B, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00100001, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000046, 0x00000001, D_8021BF2C_6BFABC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0010000A, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0010000B, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00100001, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00100003, 0x00000025, 0x00000002, 0xFE363C82, 0x0010000A, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00100003, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0010000A, 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_80226C54_6CA7E4 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00100003, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0x00000014, 0x0000001E, 0xFE363C82, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x0000001E, 0x00000000, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00100001, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000027, 0x00000002, 0xFE363C81, 0x00000004, 0x00000027, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000003, 0xF24A7C1A, 0xF24A7C1A, 0xF24A7C1A, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFFD, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C82, 0x00000005, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000003, 0xF24A7E80, 0xF24A7E80, 0xF24A7E80, 0x00000013, 0x00000000, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000003, 0x00100014, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0010000F, 0x00000005, 0x00000001, 0x00000004, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x0000002C, 0x00000002, 0xFE363C81, 0xF24A841A, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000006, 0x00000013, 0x00000000, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFFD, 0x00000027, 0x00000002, 0xFE363C81, 0x00000010, 0x00000027, 0x00000002, 0xFE363C82, 0x00000002, 0x00000026, 0x00000002, 0xFE363C83, 0xF24A7C1A, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFF8, 0x00000027, 0x00000002, 0xFE363C81, 0x00000028, 0x00000027, 0x00000002, 0xFE363C82, 0x00000005, 0x00000026, 0x00000002, 0xFE363C83, 0xF24A7E80, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x0000006B, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002C5, 0x00000056, 0x00000000, 0x00000005, 0x00000001, 0x0000000F, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000006, SetPartDispOffset, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000043, 0x00000006, SetPartDispOffset, 0xFFFFFF81, 0x00000003, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000006, SetPartDispOffset, 0xFFFFFF81, 0x00000003, 0x00000000, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00100010, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00100011, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00100012, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x00000006, SetPartSounds, 0xFFFFFF81, 0x00000003, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000201B, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000003, 0x00100015, 0x00000043, 0x00000004, SetPartJumpGravity, 0xFFFFFF81, 0x00000003, 0xF24A8080, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, RandInt, 0x00000064, 0xFE363C83, 0x00000028, 0x00000002, 0xFE363C83, 0x00000032, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C83, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x00000000, 0xFE363C82, 0x00000014, 0x00000001, 0x00000056, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFCE, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x00000000, 0xFE363C82, 0x0000000F, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000001, 0x00000057, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000003C, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00100003, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x0000001E, 0x00000000, 0x0000000A, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000003, 0x00100015, 0x00000043, 0x00000004, SetPartJumpGravity, 0xFFFFFF81, 0x00000003, 0xF24A8080, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000014, 0x00000001, 0x00000056, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFCE, 0x00000043, 0x00000008, JumpPartTo, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x00000000, 0xFE363C82, 0x0000000F, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000001, 0x00000057, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C89, 0x00000014, 0x00000001, 0xFE363C89, 0x00000016, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000000, 0x00000000, 0x00000000, 0x00000003, 0x00000020, 0x00000016, 0x00000001, 0x00000001, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000000, 0x00000000, 0x00000000, 0x00000004, 0x00000020, 0x00000016, 0x00000001, 0x00000002, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000000, 0x00000000, 0x00000000, 0x00000005, 0x00000020, 0x00000023, 0x00000000, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000008, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00100003, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x0000001E, 0x00000000, 0x0000000A, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227734_6CB2C4 -.word D_80226608_6CA198, D_8021CE18_6C09A8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227750_6CB2E0 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020B8, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x004E0006, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000008, 0x00000026, 0x00000002, 0xFE363C83, 0xF24A7C1A, 0x00000012, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000026, 0x00000002, 0xFE363C83, 0xF24A7E80, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000013, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000028, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000001, b_area_kpa3_UnkBackgroundFunc3, 0x00000043, 0x00000005, MakeLerp, 0x00000000, 0x000000C8, 0x00000014, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000002, b_area_kpa3_SetBackgroundAlpha, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, func_80219588_6BD118, 0xFE363C85, 0xFE363C86, 0x00000043, 0x00000002, func_802195F4_6BD184, 0xFE363C85, 0x00000014, 0x00000001, 0xFE363C85, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, SummonEnemy, D_8021E990_6C2520, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000003, SummonEnemy, D_80220644_6C41D4, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, SummonEnemy, D_802218A4_6C5434, 0x00000000, 0x00000016, 0x00000001, 0x00000004, 0x00000043, 0x00000003, SummonEnemy, D_80222830_6C63C0, 0x00000000, 0x00000016, 0x00000001, 0x00000009, 0x00000043, 0x00000003, SummonEnemy, D_80223C00_6C7790, 0x00000000, 0x00000016, 0x00000001, 0x00000006, 0x00000043, 0x00000003, SummonEnemy, D_80224AFC_6C868C, 0x00000000, 0x00000016, 0x00000001, 0x00000007, 0x00000043, 0x00000003, SummonEnemy, D_80226494_6CA024, 0x00000000, 0x00000016, 0x00000001, 0x00000008, 0x00000043, 0x00000003, SummonEnemy, D_80227734_6CB2C4, 0x00000000, 0x00000023, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000003, CopyStatusEffects, 0xFFFFFF81, 0xFE363C8A, 0x00000043, 0x00000003, SetBattleVar, 0x00000003, 0xFE363C85, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002CD, 0x00000056, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000003, 0x00000027, 0x00000002, 0xFE363C82, 0x00000005, 0x00000005, 0x00000001, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000003, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetActorPos, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000001, 0x00020001, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000001, 0x00800000, 0x00000000, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00400004, 0x00000001, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000003, SetEnemyHP, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000003, CopyBuffs, 0xFFFFFF81, 0xFE363C8A, 0x00000043, 0x00000002, GetOwnerID, 0xFE363C80, 0x00000043, 0x00000004, SetActorVar, 0xFE363C8A, 0x00000000, 0xFE363C80, 0x00000043, 0x00000004, SetActorVar, 0xFE363C8A, 0x00000001, 0xFE363C86, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000056, 0x00000000, 0x00000043, 0x00000005, MakeLerp, 0x000000C8, 0x00000000, 0x00000014, 0x00000000, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000001, UpdateLerp, 0x00000043, 0x00000002, b_area_kpa3_SetBackgroundAlpha, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000005, SetActorSounds, 0xFE363C8A, 0x00000002, 0x00000000, 0x00000000, 0x00000014, 0x00000001, 0xFE363C85, 0x00000016, 0x00000001, 0x00000008, 0x00000043, 0x00000005, GetActorPos, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFE363C8A, 0xF24A7A8B, 0x00000043, 0x00000005, SetGoalPos, 0xFE363C8A, 0xFE363C80, 0x0000000A, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFE363C8A, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x00000004, 0x00000043, 0x00000005, GetActorPos, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFE363C8A, 0xF24A7A8B, 0x00000043, 0x00000005, SetGoalPos, 0xFE363C8A, 0xFE363C80, 0x0000001E, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFE363C8A, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, ForceHomePos, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, HPBarToHome, 0xFE363C8A, 0x00000043, 0x00000003, ResetActorSounds, 0xFE363C8A, 0x00000002, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000043, 0x00000005, ForceHomePos, 0xFFFFFF81, 0x00000000, 0xFFFFFC18, 0x00000000, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000001, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227F70_6CBB00 -.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000258, 0x00000043, 0x00000003, GetBattleVar, 0x00000000, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000004, 0x00000043, 0x00000003, GetBattleVar, 0x00000000, 0xFE363C80, 0x00000042, 0x00000002, 0xFE363C80, 0x00000004, 0x00000043, 0x00000003, SetBattleVar, 0x00000000, 0xFE363C80, 0x00000046, 0x00000001, D_80227750_6CB2E0, 0x00000012, 0x00000000, 0x00000043, 0x00000003, GetBattleVar, 0x00000003, 0xFE363C80, 0x00000043, 0x00000003, func_80219588_6BD118, 0xFE363C81, 0xFE363C82, 0x0000000A, 0x00000002, 0xFE363C80, 0xFE363C81, 0x00000046, 0x00000001, D_80227750_6CB2E0, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_8021B98C_6BF51C, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_8021B98C_6BF51C, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000016, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_8021B98C_6BF51C, 0x00000016, 0x00000001, 0x00000003, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80228100_6CBC90 -.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C8A, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0x00000001, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0x00008000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802281B0_6CBD40 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000024, 0x00000000, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000025, 0x00000044, 0x00000001, D_80228100_6CBC90, 0x00000008, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C80, 0x00000027, 0x00000044, 0x00000001, D_80228100_6CBC90, 0x00000057, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80228254_6CBDE4 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80228264_6CBDF4 -.word 0x00000018, 0x00000017, 0x00000016, 0x00000000 - -dlabel D_80228274_6CBE04 -.word D_802284A0_6CC030, D_80228490_6CC020, D_80228480_6CC010, D_802281B0_6CBD40, D_80228254_6CBDE4, 0x00000000, D_80228264_6CBDF4, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802282A0_6CBE30 -.word D_8021979C_6BD32C, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021979C_6BD32C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021979C_6BD32C, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802282F4_6CBE84 -.word D_8021B300_6BEE90, 0x00000001, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021B300_6BEE90, 0x00000002, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8022832C_6CBEBC -.word D_8021B300_6BEE90, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021B300_6BEE90, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021B300_6BEE90, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021B300_6BEE90, 0x00000003, 0x00000007, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802284C0_6CC050, 0x00000003, D_802282A0_6CBE30, D_80228274_6CBE04, 0x00000000, D_802284B4_6CC044, 0x00000002, D_802282F4_6CBE84, D_80228274_6CBE04, 0x00000000, D_802284A8_6CC038, 0x00000004, D_8022832C_6CBEBC, D_80228274_6CBE04, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_802284D4_6CC064, D_80228274_6CBE04, 0x00000000, 0x00000000, 0x00000000 diff --git a/ver/us/asm/data/battle/area_kpa4/6CC6C0.data.s b/ver/us/asm/data/battle/area_kpa4/6CC6C0.data.s deleted file mode 100644 index e3b39105f3..0000000000 --- a/ver/us/asm/data/battle/area_kpa4/6CC6C0.data.s +++ /dev/null @@ -1,663 +0,0 @@ -.include "macro.inc" - -.section .data - -dlabel D_80218650_6CC6C0 -.word 0x00000001, 0x00000004, 0x00000000 - -dlabel D_8021865C_6CC6CC -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000000, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x00000000, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x00000000, 0x0000000A, 0x00000032, 0x00000008, 0x00000000, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0xFFFFFFFF, 0x00000000 - -dlabel D_80218708_6CC778 -.word 0x00800000, 0x01000000, 0xFA1D00FF, D_80218754_6CC7C4, D_80218650_6CC6C0, 0x00000000, 0x00000000, 0x00F70000, 0x00000000 - -dlabel D_8021872C_6CC79C -.word 0x00000000, 0x00491B0A, 0x00010000, D_80218708_6CC778, D_80218778_6CC7E8, D_8021865C_6CC6CC, 0x000F0A00, 0x5F046402, 0x37200000, 0xE8140519 - -dlabel D_80218754_6CC7C4 -.word 0x00000001, 0x002E0101, 0x0000000C, 0x002E0100, 0x00000008, 0x002E0100, 0x00000005, 0x002E0100, 0x00000000 - -dlabel D_80218778_6CC7E8 -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_80218B0C_6CCB7C, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_802187DC_6CC84C, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_802187EC_6CC85C, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802187DC_6CC84C -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802187EC_6CC85C -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002E0103, 0x00000046, 0x00000001, DoNormalHit, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002E0103, 0x00000025, 0x00000002, 0xFE363C82, 0xFFFFFFFF, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002E0103, 0x00000025, 0x00000002, 0xFE363C82, 0xFFFFFFFF, 0x00000046, 0x00000001, DoBurnHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002E0103, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x0000001D, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002E0101, 0x00000046, 0x00000001, DoImmune, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002E0103, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002E0103, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002E0101, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002E0103, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002E0103, 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_80218B0C_6CCB7C -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000046, 0x00000001, D_80218BC8_6CCC38, 0x00000016, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_80218D7C_6CCDEC, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80218BC8_6CCC38 -.word 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x002E0102, 0x00000008, 0x00000001, 0x0000000D, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x0000000A, 0xF24A7E80, 0x00000057, 0x00000000, 0x00000043, 0x00000002, StartRumble, 0x00000009, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002C8, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000021, 0x00000027, 0x00000002, 0xFE363C81, 0x00000013, 0x00000027, 0x00000002, 0xFE363C82, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000002, 0x00000005, 0x00000000, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000002, 0x00000005, 0x00000002, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000001, func_80218000_6CC070, 0x00000043, 0x00000003, SummonEnemy, D_80218DF4_6CCE64, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80218D7C_6CCDEC -.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000043, 0x00000003, ActorExists, 0xFE363C80, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80218DE8_6CCE58 -.word 0x00000000, 0xFFFFFC18, 0x00000000 - -dlabel D_80218DF4_6CCE64 -.word D_80218EEC_6CCF5C, D_80218DE8_6CCE58, 0x00000064, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80218E10_6CCE80 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_80218E1C_6CCE8C -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000000, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x00000064, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x00000000, 0x0000000A, 0x00000064, 0x00000008, 0x00000000, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0xFFFFFFFF, 0x00000027, 0x00000000, 0x00000029, 0xFFFFFFFE, 0x00000000 - -dlabel D_80218EC8_6CCF38 -.word 0x00800000, 0x01000000, 0x001000FF, D_80218F14_6CCF84, D_80218E10_6CCE80, 0x00000400, 0x00000000, 0x00FA0000, 0x00000000 - -dlabel D_80218EEC_6CCF5C -.word 0x00000200, 0x004A1803, 0x00010000, D_80218EC8_6CCF38, D_80218F38_6CCFA8, D_80218E1C_6CCE8C, 0x28645F00, 0x5F005000, 0x1C160000, 0xF6140A14 - -dlabel D_80218F14_6CCF84 -.word 0x00000001, 0x002D0101, 0x0000000C, 0x002D0100, 0x00000008, 0x002D0100, 0x00000005, 0x002D0100, 0x00000000 - -dlabel D_80218F38_6CCFA8 -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_80219670_6CD6E0, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_80219230_6CD2A0, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80219298_6CD308, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000010, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, ForceHomePos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000012, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000043, 0x00000005, GetActorPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000003, GetStatusFlags, 0xFE363C80, 0xFE363C84, 0x00000010, 0x00000002, 0xFE363C84, 0x00080000, 0x00000024, 0x00000002, 0xFE363C85, 0xFFFFFFF3, 0x00000024, 0x00000002, 0xFE363C86, 0x00000004, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C85, 0xFFFFFFDF, 0x00000024, 0x00000002, 0xFE363C86, 0x0000000B, 0x00000013, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C85, 0x00000027, 0x00000002, 0xFE363C82, 0xFE363C86, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000003, CopyStatusEffects, 0xFE363C80, 0xFFFFFF81, 0x00000043, 0x00000003, CopyBuffs, 0xFE363C80, 0xFFFFFF81, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFE363C80, 0xFE363C81, 0xFE363C8B, 0xFE363C8C, 0x00000028, 0x00000002, 0xFE363C81, 0x0000005A, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7A8B, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x002D0103, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x002D0101, 0x00000043, 0x00000005, ForceHomePos, 0xFFFFFF81, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80219230_6CD2A0 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80219240_6CD2B0 -.word 0x00000046, 0x00000001, D_80219A90_6CDB00, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x002D0107, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFCFC7, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -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, 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 - -dlabel D_80219BD0_6CDC40 -.word 0x00000001, 0x00590001, 0x0000000C, 0x00590000, 0x00000006, 0x00590011, 0x00000009, 0x00590001, 0x00000008, 0x00590000, 0x0000000B, 0x00590001, 0x00000005, 0x00590000, 0x00000004, 0x00590013, 0x00000003, 0x00590013, 0x00000000 - -dlabel D_80219C1C_6CDC8C -.word 0x00000001, 0x00590003, 0x0000000C, 0x00590000, 0x00000006, 0x00590011, 0x00000009, 0x00590003, 0x00000008, 0x00590000, 0x0000000B, 0x00590003, 0x00000005, 0x00590000, 0x00000004, 0x00590013, 0x00000003, 0x00590013, 0x00000000 - -dlabel D_80219C68_6CDCD8 -.word 0x00000001, 0x0059000F, 0x0000000C, 0x00590010, 0x00000006, 0x00590012, 0x00000009, 0x0059000F, 0x00000008, 0x00590010, 0x0000000B, 0x0059000F, 0x00000005, 0x00590010, 0x00000004, 0x00590014, 0x00000003, 0x00590014, 0x00000000 - -dlabel D_80219CB4_6CDD24 -.word 0x00000001, 0x00590006, 0x0000000C, 0x00590006, 0x00000006, 0x00590006, 0x00000009, 0x00590006, 0x00000008, 0x00590006, 0x0000000B, 0x00590006, 0x00000005, 0x00590006, 0x00000004, 0x00590006, 0x00000003, 0x00590006, 0x00000000 - -dlabel D_80219D00_6CDD70 -.word 0x00000001, 0x00000003, 0x0000000C, 0x00000003, 0x00000000 - -dlabel D_80219D14_6CDD84 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_80219D20_6CDD90 -.word 0x00000001, 0x00000003, 0x00000002, 0x00000003, 0x00000000 - -dlabel D_80219D34_6CDDA4 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000032, 0x00000009, 0x0000003C, 0x00000007, 0x00000000, 0x00000004, 0x0000004B, 0x00000003, 0x00000000, 0x0000000B, 0x00000050, 0x00000005, 0x0000004B, 0x0000000A, 0x00000046, 0x00000008, 0x00000050, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0xFFFFFFFF, 0x00000000 - -dlabel D_80219DE0_6CDE50 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000000, 0x00000009, 0x00000000, 0x00000004, 0x00000000, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x00000000, 0x0000000A, 0x00000000, 0x00000008, 0x00000000, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 - -dlabel D_80219E7C_6CDEEC -.word 0x00800000, 0x01000000, 0x002000FF, D_80219BD0_6CDC40, D_80219D00_6CDD70, 0x00001010, 0x00000000, 0x00F40000, 0x00000000 - -dlabel D_80219EA0_6CDF10 -.word 0x00000000, 0x004C1908, 0x00010000, D_80219E7C_6CDEEC, D_80219EC8_6CDF38, D_80219D34_6CDDA4, 0x324B413C, 0x5F005502, 0x202A0000, 0xF1200520 - -dlabel D_80219EC8_6CDF38 -.word 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_8021DF34_6D1FA4, 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8021A23C_6CE2AC, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8021A724_6CE794, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_8021A018_6CE088, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetIndexFromHome, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000004, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000005, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000003, SetBattleVar, 0x00000006, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, SetBattleVar, 0x00000007, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021A018_6CE088 -.word 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x0000000A, 0x00000016, 0x00000001, 0x0000000C, 0x00000016, 0x00000001, 0x0000000B, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000000, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021A084_6CE0F4 -.word 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000010, 0x00000002, 0xFE363C81, 0x00041000, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFB, 0x0000000F, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000005, dup_b_area_kpa4_UnkBattleFunc1, 0xFFFFFFF6, 0x00000014, 0x0000000A, 0x00000014, 0x00000012, 0x00000000, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFC, 0x00000020, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0xFFFFFFFF, 0xFFFFFFFC, 0x00000043, 0x00000005, dup_b_area_kpa4_UnkBattleFunc1, 0xFFFFFFF1, 0x00000020, 0x00000005, 0x00000020, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFB, 0x0000000F, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000005, dup_b_area_kpa4_UnkBattleFunc1, 0xFFFFFFF6, 0x00000014, 0x0000000A, 0x00000014, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFC, 0x00000014, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0xFFFFFFFA, 0x00000043, 0x00000005, dup_b_area_kpa4_UnkBattleFunc1, 0xFFFFFFF1, 0x00000016, 0x00000005, 0x00000016, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021A23C_6CE2AC -.word 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x00000050, 0xFE363C8A, 0x00000027, 0x00000002, 0xFE363C8A, 0x00000050, 0x00000005, 0x00000001, 0xFE363C8A, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C81, 0x00000046, 0x00000001, D_8021A084_6CE0F4, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000010, 0x00000002, 0xFE363C81, 0x0235D000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000005, 0x00000043, 0x00000003, SetActorIdleSpeed, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80219C1C_6CDC8C, 0x00000043, 0x00000005, SetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, IdleRunToGoal, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80219BD0_6CDC40, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80219C68_6CDCD8, 0x00000023, 0x00000000, 0x00000005, 0x00000001, 0x00000014, 0x00000003, 0x00000001, 0x00000002, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C81, 0x00000046, 0x00000001, D_8021A084_6CE0F4, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000002, 0x00000013, 0x00000000, 0x00000010, 0x00000002, 0xFE363C81, 0x0235D000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000002, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000005, 0x00000043, 0x00000003, SetActorIdleSpeed, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80219C1C_6CDC8C, 0x00000043, 0x00000005, SetIdleGoal, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, IdleRunToGoal, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80219BD0_6CDC40, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80219C68_6CDCD8, 0x00000023, 0x00000000, 0x00000005, 0x00000001, 0x00000050, 0x00000003, 0x00000001, 0x00000003, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C81, 0x00000046, 0x00000001, D_8021A084_6CE0F4, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000003, 0x00000013, 0x00000000, 0x00000010, 0x00000002, 0xFE363C81, 0x0235D000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000003, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021A6CC_6CE73C -.word 0x00000009, 0x00000010, 0x00000016, 0x0000001A, 0x0000001E, 0x00000020, 0x00000021, 0x00000020, 0x0000001E, 0x0000001A, 0x00000016, 0x00000010, 0x00000009, 0x00000000, 0x00000004, 0x00000006, 0x00000007, 0x00000006, 0x00000004, 0x00000000, 0x00000002, 0x00000000 - -dlabel D_8021A724_6CE794 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000009, 0x0000001D, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoNormalHit, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590006, 0x00000046, 0x00000001, DoNormalHit, 0x00000023, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000C, 0x00000025, 0x00000002, 0xFE363C82, 0x0059000D, 0x00000046, 0x00000001, DoBurnHit, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000C, 0x00000025, 0x00000002, 0xFE363C82, 0x0059000D, 0x00000046, 0x00000001, DoBurnHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000D, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590006, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000023, 0x00000000, 0x00000016, 0x00000001, 0x00000021, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoDeath, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590006, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590008, 0x00000008, 0x00000001, 0x00000005, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoDeath, 0x00000023, 0x00000000, 0x00000016, 0x00000001, 0x0000000D, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0x00000001, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_80219D14_6CDD84, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80219C68_6CDCD8, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFB, 0x0000000F, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00000010, 0x00000000, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000400, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0059000B, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x0000000C, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000004, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x0000001E, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFFFFFFE2, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFFFFFFC4, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFFFFFFB5, 0x00000008, 0x00000001, 0x00000001, 0x00000057, 0x00000000, 0x00000030, 0x00000001, D_8021A6CC_6CE73C, 0x00000005, 0x00000001, 0x00000016, 0x00000031, 0x00000001, 0xFE363C80, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0059000F, 0x00000016, 0x00000001, 0x0000002F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoJumpBack, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590004, 0x00000046, 0x00000001, DoReturnHome, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A80E7, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000016, 0x00000001, 0x00000026, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoShockHit, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000013, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000002, 0x00000043, 0x00000003, SetStatusTable, 0xFFFFFF81, D_80219D34_6CDDA4, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_80219D00_6CDD70, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00001000, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80219BD0_6CDC40, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000011, 0x00000002, 0xFE363C8A, 0x18000000, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590008, 0x00000046, 0x00000001, DoImmune, 0x00000013, 0x00000000, 0x0000001D, 0x00000001, 0x00000017, 0x0000001D, 0x00000001, 0x00000019, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590007, 0x00000046, 0x00000001, DoImmune, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590008, 0x00000008, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000F, 0x00000046, 0x00000001, DoImmune, 0x00000016, 0x00000001, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590006, 0x00000046, 0x00000001, DoImmune, 0x00000023, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000001B, 0x00000008, 0x00000001, 0x0000000A, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000010, 0x00000002, 0xFE363C83, 0x00080000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000010, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000010, 0x00000002, 0xFE363C83, 0x00040000, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFF2, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000010, 0x00000002, 0xFE363C83, 0x00001000, 0x00000027, 0x00000002, 0xFE363C80, 0xFFFFFFF2, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C8A, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000002, 0x00000027, 0x00000002, 0xFE363C81, 0x00000017, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000027, 0x00000002, 0xFE363C81, 0x0000002A, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x0000001A, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000014, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000016, 0x00000001, 0x00000020, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoNormalHit, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590006, 0x00000046, 0x00000001, DoNormalHit, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590008, 0x00000008, 0x00000001, 0x00000005, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000B, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590001, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000F, 0x00000046, 0x00000001, DoImmune, 0x00000016, 0x00000001, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590006, 0x00000046, 0x00000001, DoRecover, 0x00000023, 0x00000000, 0x00000016, 0x00000001, 0x00000039, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590004, 0x00000025, 0x00000002, 0xFE363C82, 0x0059000B, 0x00000046, 0x00000001, DoScareAway, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000F, 0x00000046, 0x00000001, DoImmune, 0x00000023, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590016, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000F, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000F, 0x00000046, 0x00000001, DoAirLift, 0x00000023, 0x00000000, 0x00000016, 0x00000001, 0x00000016, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590016, 0x00000016, 0x00000001, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000F, 0x00000016, 0x00000001, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000F, 0x00000023, 0x00000000, 0x00000046, 0x00000001, DoBlowAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000001F, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590001, 0x00000016, 0x00000001, 0x00000001, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000F, 0x00000016, 0x00000001, 0x00000002, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x0059000F, 0x00000023, 0x00000000, 0x00000046, 0x00000001, DoImmune, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0xFFFFFFFF, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021B914_6CF984 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590006, 0x00000012, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C80, 0x00000028, 0x00000002, 0xFE363C80, 0x00000001, 0x0000000D, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C80, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A8680, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A8680, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimationRate, 0xFFFFFF81, 0x00000001, 0xF24A7E80, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000003E2, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x0059000F, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x0000000C, 0x00000000, 0x00000056, 0x00000000, 0x00000005, 0x00000001, 0x00000005, 0x00000027, 0x00000002, 0xFE363C80, 0x0000000F, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A8680, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020BA, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80219BD0_6CDC40, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_80219D00_6CDD70, 0x00000043, 0x00000005, SetTargetOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFC, 0x00000020, 0x00000043, 0x00000005, func_8027D4C8, 0xFFFFFF81, 0x00000001, 0xFFFFFFFF, 0xFFFFFFFC, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00000010, 0x00000001, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000400, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590007, 0x00000008, 0x00000001, 0x0000000A, 0x00000056, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000004, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000020, 0x00000004, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000003, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000020, 0x00000004, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x0000001D, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000020, 0x00000004, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00002021, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590006, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D3, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000004, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFFD8, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24ABA80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000005, 0x00000043, 0x00000002, SetBattleCamZoom, 0x0000012C, 0x00000043, 0x00000002, SetBattleCamOffsetZ, 0x00000014, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000A, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590008, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000008, 0x00000001, 0x00000004, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590016, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590016, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A8280, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590016, 0x00000008, 0x00000001, 0x00000006, 0x00000028, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590016, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A9A80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590001, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetPartYaw, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24ABA80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x0000FFFF, 0x00000000, 0x00000004, 0x00000020, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000028, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A81B4, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000001, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590008, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000001, YieldTurn, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590004, 0x00000046, 0x00000001, DoReturnHome, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590001, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021C668_6D06D8 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002D8, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000A, 0x00000043, 0x0000000F, PlayEffect, 0x0000006B, 0x00000006, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7E80, 0x0000002D, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590015, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590007, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000010, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020BA, 0x00000043, 0x00000003, dup_p_area_kpa4_StartRumbleWithParams, 0x00000080, 0x0000000A, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A7C80, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590006, 0x00000043, 0x00000003, SetStatusTable, 0xFFFFFF81, D_80219DE0_6CDE50, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_80219D20_6CDD90, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00001000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000002, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80219CB4_6CDD24, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000001, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000003F, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000004, func_8024ECF8, 0xFFFFFFFF, 0x00000001, 0x00000000, 0x00000005, 0x00000001, 0x00000014, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0xFFFFFFFF, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetActorDispOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000037C, 0x00000043, 0x00000005, SetActorSounds, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x00000000, 0x00000000, 0x00000004, 0x00000010, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000056, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x0000000D, 0x00000002, 0xFE363C80, 0xFE363C83, 0x00000007, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000001, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000005, 0x00000001, 0x0000001E, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x00000007, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, AddGoalPos, 0xFFFFFF81, 0xFFFFFF38, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24ABA80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000011, 0x00000002, 0xFE363C8A, 0x18000000, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0x0000012C, 0x00000000, 0x00000000, 0x00000043, 0x00000005, AddActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24ABA80, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590008, 0x00000043, 0x00000004, RemoveActorDecoration, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SetStatusTable, 0xFFFFFF81, D_80219D34_6CDDA4, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_80219D00_6CDD70, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00001000, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80219BD0_6CDC40, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000056, 0x00000000, 0x00000005, 0x00000001, 0x0000001E, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x00000007, 0x00000002, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24ABA80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C8A, 0x00000000, 0x0000FFFF, 0x00000000, 0x0000000A, 0x00000020, 0x00000014, 0x00000001, 0xFE363C8A, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000056, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000010, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000005, 0x00000001, 0x0000003C, 0x00000027, 0x00000002, 0xFE363C80, 0x00000012, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0xFE363C80, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetActorRotationOffset, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000005, SetActorRotation, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000032, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000001E, 0x00000000, 0x00000001, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000028, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000014, 0x00000000, 0x00000001, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000011, 0x00000002, 0xFE363C8A, 0x18000000, 0x00000043, 0x00000003, EnableActorGlow, 0xFFFFFF81, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0x0000012C, 0x00000000, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00590004, 0x00000046, 0x00000001, DoReturnHome, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590001, 0x00000043, 0x00000003, SetStatusTable, 0xFFFFFF81, D_80219D34_6CDDA4, 0x00000043, 0x00000004, SetDefenseTable, 0xFFFFFF81, 0x00000001, D_80219D00_6CDD70, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00001000, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetIdleAnimations, 0xFFFFFF81, 0x00000001, D_80219BD0_6CDC40, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021D38C_6D13FC -.word 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetOriginalActorType, 0xFE363C80, 0xFE363C82, 0x00000014, 0x00000001, 0xFE363C82, 0x0000001D, 0x00000001, 0x00000010, 0x0000001D, 0x00000001, 0x00000049, 0x00000024, 0x00000002, 0xFE363C8A, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E281, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E282, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E283, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E284, 0x00000000, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetIndexFromHome, 0xFE363C80, 0xFE363C81, 0x0000002B, 0x00000002, 0xFE363C81, 0x00000004, 0x00000014, 0x00000001, 0xFE363C81, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E281, 0x00000001, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFBD3E282, 0x00000001, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFBD3E283, 0x00000001, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFBD3E284, 0x00000001, 0x00000023, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E281, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E282, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E283, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000002, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E284, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000003, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021D69C_6D170C -.word 0x00000000, 0xFFFFFC18, 0x00000000 - -dlabel D_8021D6A8_6D1718 -.word D_80219EA0_6CDF10, D_8021D69C_6D170C, 0x00000064, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021D6C4_6D1734 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000014, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002E5, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590002, 0x00000008, 0x00000001, 0x00000014, 0x00000005, 0x00000001, 0x00000002, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590002, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002E5, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590009, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590002, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002E5, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590009, 0x00000008, 0x00000001, 0x00000008, 0x00000006, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000F, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000008, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x0000000F, PlayEffect, 0x00000011, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x0000206D, 0x00000057, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00590016, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000010, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, SummonEnemy, D_8021D6A8_6D1718, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000027, 0x00000002, 0xFE363C81, 0x000000C8, 0x00000043, 0x00000005, SetActorPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000003, SetGoalToIndex, 0xFE363C80, 0xFE363C8A, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C80, 0x000020D3, 0x00000043, 0x00000005, SetActorSounds, 0xFE363C80, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFE363C80, 0x00000001, 0x00590006, 0x00000043, 0x00000003, SetActorSpeed, 0xFE363C80, 0xF24A9280, 0x00000043, 0x00000004, RunToGoal, 0xFE363C80, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFE363C80, 0x00000001, 0x00590008, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, SetAnimation, 0xFE363C80, 0x00000001, 0x00590001, 0x00000043, 0x00000005, GetActorPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000005, ForceHomePos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000002, HPBarToHome, 0xFE363C80, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C81, 0x00000014, 0x00000001, 0xFE363C81, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFE363C80, 0x00000001, 0x00000001, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFE363C80, 0x00000001, 0x00000002, 0x00000023, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C81, 0x00000043, 0x00000004, SetActorVar, 0xFE363C80, 0x00000002, 0xFE363C81, 0x00000014, 0x00000001, 0xFE363C81, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetBattleVar, 0x00000004, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000004, 0xFE363C80, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetBattleVar, 0x00000005, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000005, 0xFE363C80, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000003, GetBattleVar, 0x00000006, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000006, 0xFE363C80, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, GetBattleVar, 0x00000007, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000007, 0xFE363C80, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021DCE4_6D1D54 -.word 0x00000024, 0x00000002, 0xFE363C89, 0x00000000, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetOriginalActorType, 0xFE363C80, 0xFE363C82, 0x00000014, 0x00000001, 0xFE363C82, 0x00000016, 0x00000001, 0x0000004C, 0x00000043, 0x00000003, GetStatusFlags, 0xFE363C80, 0xFE363C83, 0x00000011, 0x00000002, 0xFE363C83, 0x0035D000, 0x00000043, 0x00000004, GetActorVar, 0xFE363C80, 0x00000000, 0xFE363C83, 0x0000000A, 0x00000002, 0xFE363C83, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFE363C80, 0x00000001, 0xFE363C83, 0x00000014, 0x00000001, 0xFE363C83, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C83, 0x00000014, 0x00000001, 0xFE363C83, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetBattleVar, 0x00000004, 0xFE363C84, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetBattleVar, 0x00000005, 0xFE363C84, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000003, GetBattleVar, 0x00000006, 0xFE363C84, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, GetBattleVar, 0x00000007, 0xFE363C84, 0x00000023, 0x00000000, 0x0000000C, 0x00000002, 0xFE363C84, 0x00000002, 0x00000027, 0x00000002, 0xFE363C89, 0x00000001, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000023, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021DF34_6D1FA4 -.word 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021B914_6CF984, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetBattleVar, 0x00000001, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetBattleVar, 0x00000004, 0xFE363C81, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetBattleVar, 0x00000005, 0xFE363C81, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000003, GetBattleVar, 0x00000006, 0xFE363C81, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, GetBattleVar, 0x00000007, 0xFE363C81, 0x00000023, 0x00000000, 0x0000000F, 0x00000002, 0xFE363C81, 0x00000002, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000012C, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_8021C668_6D06D8, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021B914_6CF984, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000012C, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_8021C668_6D06D8, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021B914_6CF984, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x00000046, 0x00000001, D_8021D38C_6D13FC, 0x0000000A, 0x00000002, 0xFE363C8A, 0xFFFFFFFF, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000012C, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_8021C668_6D06D8, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021B914_6CF984, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_8021DCE4_6D1D54, 0x00000014, 0x00000001, 0xFE363C89, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000190, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021D6C4_6D1734, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000000C8, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021D6C4_6D1734, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000064, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021D6C4_6D1734, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000012C, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_8021C668_6D06D8, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021B914_6CF984, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetBattleVar, 0x00000004, 0xFE363C81, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, GetBattleVar, 0x00000005, 0xFE363C81, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000003, GetBattleVar, 0x00000006, 0xFE363C81, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, GetBattleVar, 0x00000007, 0xFE363C81, 0x00000023, 0x00000000, 0x0000000F, 0x00000002, 0xFE363C81, 0x00000002, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x0000012C, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_8021C668_6D06D8, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021B914_6CF984, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_8021B914_6CF984, 0x00000002, 0x00000000, 0x00000023, 0x00000000, 0x00000046, 0x00000001, D_8021D38C_6D13FC, 0x0000000A, 0x00000002, 0xFE363C8A, 0xFFFFFFFF, 0x00000046, 0x00000001, D_8021B914_6CF984, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_8021DCE4_6D1D54, 0x00000014, 0x00000001, 0xFE363C89, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000190, 0x00000046, 0x00000001, D_8021D6C4_6D1734, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000000C8, 0x00000046, 0x00000001, D_8021D6C4_6D1734, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000064, 0x00000046, 0x00000001, D_8021D6C4_6D1734, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000046, 0x00000001, D_8021B914_6CF984, 0x00000016, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_8021C668_6D06D8, 0x00000023, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000001, 0x00000001, 0x00000046, 0x00000001, D_8021B914_6CF984, 0x00000016, 0x00000001, 0x00000002, 0x00000046, 0x00000001, D_8021C668_6D06D8, 0x00000023, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021E7D0_6D2840 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_8021E7DC_6D284C -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_8021E7E8_6D2858 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000028, 0x00000009, 0x00000032, 0x00000007, 0x00000000, 0x00000004, 0x0000004B, 0x00000003, 0x00000000, 0x0000000B, 0x00000032, 0x00000005, 0x0000004B, 0x0000000A, 0x0000003C, 0x00000008, 0x00000050, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0xFFFFFFFF, 0x00000027, 0xFFFFFFFF, 0x00000029, 0xFFFFFFFE, 0x00000000 - -dlabel D_8021E894_6D2904 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000028, 0x00000009, 0x00000032, 0x00000007, 0x00000000, 0x00000004, 0x00000064, 0x00000003, 0x00000000, 0x0000000B, 0x00000032, 0x00000005, 0x0000004B, 0x0000000A, 0x0000003C, 0x00000008, 0x00000050, 0x0000001F, 0x00000000, 0x00000020, 0xFFFFFFFF, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0xFFFFFFFF, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0xFFFFFFFF, 0x00000027, 0xFFFFFFFF, 0x00000029, 0xFFFFFFFE, 0x00000000 - -dlabel D_8021E940_6D29B0 -.word 0x00800000, 0x01000000, 0x022300FF, D_8021EA20_6D2A90, D_8021E7D0_6D2840, 0x00000000, 0x00000000, 0xFBF40000, 0x00000000 - -dlabel D_8021E964_6D29D4 -.word 0x00020001, 0x01000000, 0x022300FF, D_8021EA20_6D2A90, D_8021E7DC_6D284C, 0x00000000, 0x00000000, 0xFBF40000, 0x00000000, 0x00800000, 0x02000000, 0xF62300FF, D_8021EA6C_6D2ADC, D_8021E7DC_6D284C, 0x00800000, 0x00000000, 0x00F80000, 0x00000000, 0x00020001, 0x03000000, 0x000000FF, D_8021EAB8_6D2B28, D_8021E7DC_6D284C, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8021E9D0_6D2A40 -.word 0x00000000, 0x004D1A0B, 0x00010000, D_8021E940_6D29B0, D_8021F610_6D3680, D_8021E7E8_6D2858, 0x28504628, 0x5F005002, 0x24280000, 0xF6140A20, 0x00000200, 0x004E1A0B, 0x00030000, D_8021E964_6D29D4, D_8021F7D0_6D3840, D_8021E894_6D2904, 0x28554B28, 0x5F005002, 0x30280000, 0xE7140122 - -dlabel D_8021EA20_6D2A90 -.word 0x00000001, 0x00560001, 0x0000000C, 0x00560000, 0x00000006, 0x00560008, 0x00000009, 0x00560001, 0x00000008, 0x00560000, 0x0000000B, 0x00560001, 0x00000005, 0x00560000, 0x00000004, 0x00560007, 0x00000003, 0x00560007, 0x00000000 - -dlabel D_8021EA6C_6D2ADC -.word 0x00000001, 0x00570001, 0x0000000C, 0x00570000, 0x00000006, 0x00570008, 0x00000009, 0x00570001, 0x00000008, 0x00570000, 0x0000000B, 0x00570001, 0x00000005, 0x00570000, 0x00000004, 0x00570007, 0x00000003, 0x00570007, 0x00000000 - -dlabel D_8021EAB8_6D2B28 -.word 0x00000001, 0x0057000A, 0x00000000 - -dlabel D_8021EAC4_6D2B34 -.word 0x00000024, 0x00000002, 0xFE363C8F, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C80, 0x00000043, 0x00000003, ActorExists, 0xFE363C80, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000043, 0x00000008, b_area_kpa4_CosInterpMinMax, 0xFE363C8F, 0xFE363C81, 0xF24E7280, 0xF24C0A80, 0x00000014, 0x00000000, 0x00000000, 0x00000027, 0x00000002, 0xFE363C8F, 0x00000001, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C82, 0x00000010, 0x00000002, 0xFE363C82, 0x00000200, 0x00000043, 0x00000004, SetPartAlpha, 0xFFFFFF81, 0x00000002, 0xFE363C81, 0x00000043, 0x00000004, SetPartAlpha, 0xFE363C80, 0x00000001, 0xFE363C81, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetPartAlpha, 0xFFFFFF81, 0x00000001, 0xFE363C81, 0x00000043, 0x00000004, SetPartAlpha, 0xFE363C80, 0x00000001, 0xFE363C81, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8F, 0x00000000, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C82, 0x00000010, 0x00000002, 0xFE363C82, 0x00000200, 0x00000043, 0x00000004, SetPartAlpha, 0xFFFFFF81, 0x00000002, 0x000000FF, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetPartAlpha, 0xFFFFFF81, 0x00000001, 0x000000FF, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021EC94_6D2D04 -.word 0x00000043, 0x00000002, GetBattleFlags, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00080000, 0x00000010, 0x00000002, 0xFE363C80, 0x00000240, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000002, b_area_kpa4_GetSelectedMoveID, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000083, 0x0000001D, 0x00000001, 0x00000084, 0x0000001D, 0x00000001, 0x00000085, 0x0000001D, 0x00000001, 0x00000088, 0x00000043, 0x00000002, GetBattleFlags, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00000240, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0x00000001, 0x00000013, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021EDA0_6D2E10 -.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560004, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000002, GetLastElement, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00000400, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560004, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000002, func_8027D32C, 0xFFFFFF81, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000006, SetPartScale, 0xFFFFFF81, 0x00000003, 0xF24A7C1A, 0xF24A7C1A, 0xF24A7C1A, 0x00000013, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000001, 0x00800000, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000001, 0x00020001, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000002, 0x00020001, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000002, 0x00800000, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000003, 0x00100000, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C82, 0x00000001, 0x00000043, 0x00000006, SetPartPos, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x00000301, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A7DB4, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000003, b_area_kpa4_StartRumbleWithParams, 0x00000096, 0x0000000A, 0x00000056, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0x00000001, 0x00000000, 0x00000005, 0xF24A7D4D, 0x00000057, 0x00000000, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C83, 0x0000000A, 0x00000002, 0xFE363C83, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560004, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0x00000027, 0x00000002, 0xFE363C84, 0x0000000A, 0x00000027, 0x00000002, 0xFE363C85, 0x00000005, 0x00000043, 0x0000000F, PlayEffect, 0x00000027, 0x00000000, 0xFE363C83, 0xFE363C84, 0xFE363C85, 0xF24A7E80, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000001, 0x00000000, 0x00000005, 0x00000001, 0x00000014, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000001, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560001, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00000200, 0x00000000, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8021FBE8_6D3C58, 0x00000043, 0x00000003, SetActorType, 0xFFFFFF81, 0x0000004D, 0x00000043, 0x00000003, SetStatusTable, 0xFFFFFF81, D_8021E7E8_6D2858, 0x00000043, 0x00000005, b_area_kpa4_UnkBattleFunc1, 0xFFFFFFF6, 0x00000014, 0x0000000A, 0x00000020, 0x00000043, 0x00000004, SetActorFlagBits, 0xFFFFFF81, 0x00001000, 0x00000001, 0x00000043, 0x00000002, ResetAllActorSounds, 0xFFFFFF81, 0x00000043, 0x00000003, GetIndexFromPos, 0xFFFFFF81, 0xFE363C80, 0x0000002B, 0x00000002, 0xFE363C80, 0x00000004, 0x00000043, 0x00000003, SetGoalToIndex, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8A80, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, ForceHomePos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021F39C_6D340C -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, func_8027D32C, 0xFFFFFF81, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000039, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000F, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A7E80, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x00000014, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, SetActorYaw, 0xFFFFFF81, 0x000000B4, 0x00000043, 0x00000003, EnableActorBlur, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24AA280, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C80, 0x000000C8, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000004, RunToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000046, 0x00000001, ForceNextTarget, 0x00000043, 0x00000002, func_8027D32C, 0xFFFFFF81, 0x00000043, 0x00000002, RemoveActor, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021F5C0_6D3630 -.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000040, 0x00000002, 0xFE363C80, 0xFFFFFFFE, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021F610_6D3680 -.word 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8021EAC4_6D2B34, 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_80225034_6D90A4, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8021FBE8_6D3C58, 0x00000043, 0x00000003, BindNextTurn, 0xFFFFFF81, D_8021F5C0_6D3630, 0x00000043, 0x00000003, GetBattleVar, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000002, 0xFFFFFFFF, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000003, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000007, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0xFFFFFFFF, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000B, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021F7D0_6D3840 -.word 0x00000043, 0x00000003, BindIdle, 0xFFFFFF81, D_8021EAC4_6D2B34, 0x00000043, 0x00000003, BindTakeTurn, 0xFFFFFF81, D_80225034_6D90A4, 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_80220300_6D4370, 0x00000043, 0x00000003, GetBattleVar, 0x00000002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000000, 0x00000043, 0x00000003, SetBattleVar, 0x00000002, 0xFFFFFFFF, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000002, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000003, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000004, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000005, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000006, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000007, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000008, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0xFFFFFFFF, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000B, 0xFFFFFFFF, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021F97C_6D39EC -.word 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000001, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C80, 0x00000043, 0x00000003, ActorExists, 0xFE363C80, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000000, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000002, GetLastElement, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x20000000, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000002, GetBattleFlags, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00000100, 0x00000008, 0x00000001, 0x00000001, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C80, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0xFFFFFFFF, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00000200, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000002, 0x00400000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000043, 0x00000002, RemoveActor, 0xFE363C80, 0x00000056, 0x00000000, 0x00000027, 0x00000002, 0xFE363C83, 0x00000002, 0x00000005, 0x00000001, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000001, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8021FBE8_6D3C58 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetPartAlpha, 0xFFFFFF81, 0x00000001, 0x000000FF, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000009, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000042, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560004, 0x00000046, 0x00000001, DoNormalHit, 0x0000001D, 0x00000001, 0x0000000A, 0x0000001D, 0x00000001, 0x0000003D, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560004, 0x00000046, 0x00000001, DoNormalHit, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000000E, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560005, 0x00000025, 0x00000002, 0xFE363C82, 0x00560006, 0x00000046, 0x00000001, DoBurnHit, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560005, 0x00000025, 0x00000002, 0xFE363C82, 0x00560006, 0x00000046, 0x00000001, DoBurnHit, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560006, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560004, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560004, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560004, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000017, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560001, 0x00000046, 0x00000001, DoImmune, 0x00000016, 0x00000001, 0x00000019, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560001, 0x00000046, 0x00000001, DoImmune, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560004, 0x00000046, 0x00000001, DoNormalHit, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560004, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560001, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560004, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A8080, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560002, 0x00000046, 0x00000001, D_8021F39C_6D340C, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560002, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000006, SetPartDispOffset, 0xFFFFFF81, 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000006, SetPartDispOffset, 0xFFFFFF81, 0x00000001, 0xFFFFFFFC, 0x00000005, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560004, 0x00000046, 0x00000001, DoBlowAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560001, 0x00000046, 0x00000001, DoImmune, 0x00000016, 0x00000001, 0x00000013, 0x00000025, 0x00000002, 0xFE363C80, 0x00000001, 0x00000025, 0x00000002, 0xFE363C81, 0x00560004, 0x00000046, 0x00000001, DoNormalHit, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80220300_6D4370 -.word 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000004, SetPartAlpha, 0xFFFFFF81, 0x00000002, 0x000000FF, 0x00000043, 0x00000003, GetLastEvent, 0xFFFFFF81, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000009, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000042, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000046, 0x00000001, D_8021EC94_6D2D04, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570004, 0x00000046, 0x00000001, DoNormalHit, 0x0000001D, 0x00000001, 0x0000000A, 0x0000001D, 0x00000001, 0x0000000C, 0x00000046, 0x00000001, D_8021EC94_6D2D04, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570004, 0x00000046, 0x00000001, DoNormalHit, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x00000046, 0x00000001, D_8021EDA0_6D2E10, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x0000003D, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570004, 0x00000046, 0x00000001, DoNormalHit, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x0000001D, 0x00000001, 0x0000000E, 0x0000001D, 0x00000001, 0x0000000F, 0x00000046, 0x00000001, D_8021EC94_6D2D04, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570005, 0x00000025, 0x00000002, 0xFE363C82, 0x00570006, 0x00000046, 0x00000001, DoBurnHit, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x00000046, 0x00000001, D_8021EDA0_6D2E10, 0x00000020, 0x00000000, 0x00000016, 0x00000001, 0x00000024, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570005, 0x00000025, 0x00000002, 0xFE363C82, 0x00570006, 0x00000046, 0x00000001, DoBurnHit, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570006, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000000B, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570004, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x00000016, 0x00000001, 0x00000021, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570004, 0x00000046, 0x00000001, DoSpinSmashHit, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570004, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000017, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570001, 0x00000046, 0x00000001, DoImmune, 0x00000016, 0x00000001, 0x00000019, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570001, 0x00000046, 0x00000001, DoImmune, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000000, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000020, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570004, 0x00000046, 0x00000001, DoNormalHit, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x00000008, 0x00000001, 0x0000000A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570004, 0x00000046, 0x00000001, DoDeath, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x00000038, 0x00000043, 0x00000005, SetActorPos, 0xFFFFFF81, 0x00000014, 0x00000000, 0x00000000, 0x00000043, 0x00000002, HPBarToCurrent, 0xFFFFFF81, 0x00000016, 0x00000001, 0x00000035, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570001, 0x00000043, 0x00000002, SetGoalToHome, 0xFFFFFF81, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8A80, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0x00000001, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570001, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000016, 0x00000001, 0x00000031, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570001, 0x00000046, 0x00000001, DoRecover, 0x00000016, 0x00000001, 0x00000039, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570004, 0x00000043, 0x00000003, SetActorJumpGravity, 0xFFFFFF81, 0xF24A8080, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, SetGoalPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000006, JumpToGoal, 0xFFFFFF81, 0x0000000F, 0x00000000, 0x00000001, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570002, 0x00000046, 0x00000001, D_8021F39C_6D340C, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000003A, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570002, 0x00000046, 0x00000001, DoAirLift, 0x00000016, 0x00000001, 0x00000016, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x0035D000, 0x00000010, 0x00000002, 0xFE363C80, 0x00080000, 0x00000043, 0x00000006, SetPartDispOffset, 0xFFFFFF81, 0x00000002, 0xFFFFFFFD, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000006, SetPartDispOffset, 0xFFFFFF81, 0x00000002, 0xFFFFFFF1, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570004, 0x00000046, 0x00000001, DoBlowAway, 0x00000002, 0x00000000, 0x00000016, 0x00000001, 0x0000001F, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570001, 0x00000046, 0x00000001, DoImmune, 0x00000016, 0x00000001, 0x00000013, 0x00000025, 0x00000002, 0xFE363C80, 0x00000002, 0x00000025, 0x00000002, 0xFE363C81, 0x00570004, 0x00000046, 0x00000001, DoNormalHit, 0x00000046, 0x00000001, D_8021F97C_6D39EC, 0x0000001C, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80220B70_6D4BE0 -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000B, 0x00000000, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000004, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000F, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560002, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570002, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D4, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000C, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000007, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000010, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001F, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000007, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000E, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000007, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000007, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560001, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570001, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C8B, 0x0000206D, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C8B, 0x00000214, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C8B, 0x0000025C, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000001, 0x00000043, 0x00000004, HealActor, 0xFE363C8B, 0x00000005, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000001, WaitForBuffDone, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000A, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802210FC_6D516C -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000B, 0x00000001, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000003, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000F, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560002, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570002, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D4, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000C, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000007, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000010, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001F, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000007, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000E, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000007, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000007, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560001, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570001, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetOriginalActorType, 0xFE363C80, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000047, 0x00000043, 0x00000004, GetActorVar, 0xFE363C80, 0x00000008, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C80, 0x0000206D, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C80, 0x00000214, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C80, 0x0000025C, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000001, 0x00000043, 0x00000004, HealActor, 0xFE363C80, 0x00000003, 0x00000001, 0x00000043, 0x00000002, func_8026BF48, 0x00000000, 0x00000057, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000001, WaitForBuffDone, 0x00000008, 0x00000001, 0x00000001, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000A, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022179C_6D580C -.word 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000B, 0x00000002, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E281, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x0000000A, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C8A, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00000200, 0x00000024, 0x00000002, 0xFBD3E281, 0x00000001, 0x00000013, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFE363C8A, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000001, 0x00000012, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000A, 0x00000013, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D4, 0x0000000A, 0x00000002, 0xFBD3E281, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFE363C8A, 0x00000001, 0x00560002, 0x00000043, 0x00000005, GetActorPos, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000011, 0x00000027, 0x00000002, 0xFE363C81, 0x00000021, 0x00000043, 0x0000000F, PlayEffect, 0x00000047, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7C80, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560002, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000010, 0x00000002, 0xFE363C83, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000D, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000011, 0x00000027, 0x00000002, 0xFE363C81, 0x00000021, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000047, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7C80, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFE363C8A, 0x00000001, 0x00570002, 0x00000043, 0x00000005, GetActorPos, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000043, 0x0000000F, PlayEffect, 0x00000047, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7C80, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570002, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000010, 0x00000002, 0xFE363C83, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000E, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x00000047, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7C80, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C89, 0x00000000, 0x00000000, 0x00000001, 0x00000010, 0x00000014, 0x00000001, 0xFE363C89, 0x0000001D, 0x00000001, 0x00000006, 0x0000001D, 0x00000001, 0x00000005, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C8A, 0x000020D5, 0x00000013, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D5, 0x0000000A, 0x00000002, 0xFBD3E281, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFE363C8A, 0x00000001, 0x00560003, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560003, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFE363C8A, 0x00000001, 0x00570003, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570003, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000028, 0x00000002, 0xFE363C84, 0x00000032, 0x00000024, 0x00000002, 0xFE363C85, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E281, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000005, GetActorPos, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x00000008, b_area_kpa4_ShrinkActor, 0xFE363C80, 0xFE363C81, 0xFE363C86, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x0000001E, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000010, 0x00000002, 0xFE363C83, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000008, 0x00000027, 0x00000002, 0xFE363C81, 0x00000008, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000013, 0x00000000, 0x00000043, 0x00000008, b_area_kpa4_ShrinkActor, 0xFE363C80, 0xFE363C81, 0xFE363C86, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x0000001E, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000005, GetActorPos, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x00000008, b_area_kpa4_ShrinkActor, 0xFE363C80, 0xFE363C81, 0xFE363C86, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x0000001E, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000010, 0x00000002, 0xFE363C83, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000008, 0x00000027, 0x00000002, 0xFE363C81, 0x00000008, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000013, 0x00000000, 0x00000043, 0x00000008, b_area_kpa4_ShrinkActor, 0xFE363C80, 0xFE363C81, 0xFE363C86, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x0000001E, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000032, 0x0000000A, 0x00000002, 0xFE363C89, 0x00000005, 0x00000043, 0x00000007, EnemyTestTarget, 0xFFFFFF81, 0xFE363C80, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFE363C8A, 0x00000001, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C8A, 0x000020D5, 0x00000013, 0x00000000, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D5, 0x0000000A, 0x00000002, 0xFBD3E281, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFE363C8A, 0x00000001, 0x00560003, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560003, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFE363C8A, 0x00000001, 0x00570003, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570003, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000002, SetGoalToTarget, 0xFFFFFF81, 0x00000043, 0x00000005, GetGoalPos, 0xFFFFFF81, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x0000000A, 0x00000002, 0xFBD3E281, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000005, GetActorPos, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x00000008, b_area_kpa4_ShrinkActor, 0xFE363C80, 0xFE363C81, 0xFE363C86, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000014, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000010, 0x00000002, 0xFE363C83, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000008, 0x00000027, 0x00000002, 0xFE363C81, 0x00000008, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000013, 0x00000000, 0x00000043, 0x00000008, b_area_kpa4_ShrinkActor, 0xFE363C80, 0xFE363C81, 0xFE363C86, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000014, 0x00000012, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000005, GetActorPos, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000043, 0x00000008, b_area_kpa4_ShrinkActor, 0xFE363C80, 0xFE363C81, 0xFE363C86, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000014, 0x00000013, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C83, 0x00000010, 0x00000002, 0xFE363C83, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000008, 0x00000027, 0x00000002, 0xFE363C81, 0x00000008, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000014, 0x00000027, 0x00000002, 0xFE363C81, 0x00000014, 0x00000013, 0x00000000, 0x00000043, 0x00000008, b_area_kpa4_ShrinkActor, 0xFE363C80, 0xFE363C81, 0xFE363C86, 0xFE363C84, 0xFE363C85, 0xFE363C86, 0x00000014, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000012, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000010, 0x00000000, 0x00000000, 0x00000006, 0x00000020, 0x00000012, 0x00000000, 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000008, EnemyDamageTarget, 0xFFFFFF81, 0xFE363C80, 0x10000010, 0x00000000, 0x00000000, 0x00000006, 0x00000020, 0x00000013, 0x00000000, 0x00000014, 0x00000001, 0xFE363C80, 0x0000001D, 0x00000001, 0x00000000, 0x0000001D, 0x00000001, 0x00000002, 0x00000008, 0x00000001, 0x00000014, 0x00000043, 0x00000001, YieldTurn, 0x00000020, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFE363C8A, 0x00000001, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80222654_6D66C4 -.word 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetIndexFromHome, 0xFE363C80, 0xFE363C81, 0x0000002B, 0x00000002, 0xFE363C81, 0x00000004, 0x00000014, 0x00000001, 0xFE363C81, 0x00000016, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E28B, 0x00000001, 0x00000016, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFBD3E28C, 0x00000001, 0x00000016, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFBD3E28D, 0x00000001, 0x00000016, 0x00000001, 0x00000003, 0x00000024, 0x00000002, 0xFBD3E28E, 0x00000001, 0x00000023, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000043, 0x00000003, GetIndexFromHome, 0xFFFFFF81, 0xFE363C81, 0x0000002B, 0x00000002, 0xFE363C81, 0x00000004, 0x00000014, 0x00000001, 0xFE363C81, 0x00000016, 0x00000001, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E28C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000001, 0x0000000A, 0x00000002, 0xFBD3E28B, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E28D, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000002, 0x0000000A, 0x00000002, 0xFBD3E28C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000001, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E28E, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000003, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000003, 0x0000000A, 0x00000002, 0xFBD3E28D, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000002, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C81, 0x00000010, 0x00000002, 0xFE363C81, 0x00000200, 0x00000027, 0x00000002, 0xFE363C80, 0x00000004, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022293C_6D69AC -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022294C_6D69BC -.word 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8022293C_6D69AC, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80222988_6D69F8 -.word 0x00000043, 0x00000003, BindHandleEvent, 0xFFFFFF81, D_8022293C_6D69AC, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000001, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802229C4_6D6A34 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_802229D0_6D6A40 -.word 0x00000001, 0x00000000, 0x00000000 - -dlabel D_802229DC_6D6A4C -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000000, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x00000000, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x00000000, 0x0000000A, 0x00000000, 0x00000008, 0x00000000, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 - -dlabel D_80222A88_6D6AF8 -.word 0x00000001, 0x00000000, 0x00000002, 0x00000000, 0x00000006, 0x00000000, 0x00000009, 0x00000000, 0x00000007, 0x00000000, 0x00000004, 0x00000000, 0x00000003, 0x00000000, 0x0000000B, 0x00000000, 0x00000005, 0x00000000, 0x0000000A, 0x00000000, 0x00000008, 0x00000000, 0x0000001F, 0x00000000, 0x00000020, 0x00000000, 0x00000025, 0x00000000, 0x00000022, 0x00000000, 0x00000024, 0x00000000, 0x00000023, 0x00000000, 0x00000021, 0x00000000, 0x00000026, 0x00000000, 0x00000027, 0x00000000, 0x00000029, 0x00000000, 0x00000000 - -dlabel D_80222B34_6D6BA4 -.word 0x00800000, 0x01000000, 0x022300FF, D_8021EA20_6D2A90, D_802229C4_6D6A34, 0x00000020, 0x00000000, 0xFBF40000, 0x00000000 - -dlabel D_80222B58_6D6BC8 -.word 0x00800000, 0x01000000, 0xF62300FF, D_8021EA6C_6D2ADC, D_802229D0_6D6A40, 0x00000020, 0x00000000, 0x00F80000, 0x00000000 - -dlabel D_80222B7C_6D6BEC -.word 0x00200000, 0x004F1A0B, 0x00010000, D_80222B34_6D6BA4, D_8022294C_6D69BC, D_802229DC_6D6A4C, 0x28000000, 0x00004B00, 0x24280000, 0xF6140A20 - -dlabel D_80222BA4_6D6C14 -.word 0x00200200, 0x00501A0B, 0x00010000, D_80222B58_6D6BC8, D_80222988_6D69F8, D_80222A88_6D6AF8, 0x28000000, 0x00004B02, 0x30280000, 0xE7140122 - -dlabel D_80222BCC_6D6C3C -.word 0x00000000, 0xFFFFFC18, 0x00000000 - -dlabel D_80222BD8_6D6C48 -.word D_80222B7C_6D6BEC, D_80222BCC_6D6C3C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80222BF4_6D6C64 -.word D_80222BA4_6D6C14, D_80222BCC_6D6C3C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80222C10_6D6C80 -.word 0x00000043, 0x00000004, CountPlayerTargets, 0xFFFFFF81, 0x00008002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_8021F39C_6D340C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000001, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000B, 0x00000003, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000010, 0x00000002, 0xFE363C80, 0x00000200, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000003, SummonEnemy, D_80222BD8_6D6C48, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SummonEnemy, D_80222BF4_6D6C64, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x00000009, 0xFE363C80, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x00000019, 0x00000008, 0x00000001, 0x00000019, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D6, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560002, 0x00000043, 0x00000004, SetAnimation, 0xFE363C8A, 0x00000001, 0x00560002, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000017, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570002, 0x00000043, 0x00000004, SetAnimation, 0xFE363C8A, 0x00000001, 0x00570002, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C81, 0x00000017, 0x00000013, 0x00000000, 0x00000043, 0x0000000F, PlayEffect, 0x0000006B, 0x00000001, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7E80, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, EnableIdleScript, 0xFE363C89, 0x00000001, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000027, 0x00000002, 0xFE363C82, 0xFFFFFFFD, 0x00000043, 0x00000005, SetActorPos, 0xFE363C8A, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C89, 0xFE363C8A, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000001E, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D7, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C89, 0x000020D7, 0x00000043, 0x00000005, SetPartFlagBits, 0xFE363C89, 0x00000001, 0x00800000, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000001F4, 0x00000043, 0x00000003, SetActorSpeed, 0xFFFFFF81, 0xF24A8280, 0x00000046, 0x00000001, D_80222654_6D66C4, 0x00000043, 0x00000003, SetGoalToIndex, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000005, FlyToGoal, 0xFFFFFF81, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetActorSpeed, 0xFE363C89, 0xF24A8280, 0x00000046, 0x00000001, D_80222654_6D66C4, 0x00000043, 0x00000003, SetGoalToIndex, 0xFE363C89, 0xFE363C80, 0x00000043, 0x00000005, FlyToGoal, 0xFE363C89, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000005, SetPartFlagBits, 0xFE363C89, 0x00000001, 0x00800000, 0x00000001, 0x00000043, 0x00000003, GetActorHP, 0xFFFFFF81, 0xFE363C80, 0x00000043, 0x00000003, SetEnemyHP, 0xFE363C89, 0xFE363C80, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, ForceHomePos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, HPBarToHome, 0xFFFFFF81, 0x00000043, 0x00000005, GetActorPos, 0xFE363C89, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000005, ForceHomePos, 0xFE363C89, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000002, HPBarToHome, 0xFE363C89, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000001, 0x00400000, 0x00000001, 0x00000012, 0x00000000, 0x00000043, 0x00000005, SetPartEventBits, 0xFFFFFF81, 0x00000002, 0x00400000, 0x00000001, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560001, 0x00000043, 0x00000004, SetAnimation, 0xFE363C89, 0x00000001, 0x00560001, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570001, 0x00000043, 0x00000004, SetAnimation, 0xFE363C89, 0x00000001, 0x00570001, 0x00000013, 0x00000000, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFE363C89, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802232D0_6D7340 -.word 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000003, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetIndexFromHome, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetBattleVar, 0x00000002, 0xFE363C82, 0x0000000D, 0x00000002, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, b_area_kpa4_UnkFunc52, 0xFE363C80, 0xFE363C83, 0x0000000A, 0x00000002, 0xFE363C83, 0x00000000, 0x00000043, 0x00000003, GetActorAttackBoost, 0xFE363C80, 0xFE363C84, 0x0000000C, 0x00000002, 0xFE363C84, 0x00000003, 0x00000024, 0x00000002, 0xFE363C88, 0xFE363C80, 0x00000043, 0x00000003, SetBattleVar, 0x00000002, 0xFE363C81, 0x00000004, 0x00000001, 0x00000064, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000002, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000043, 0x00000004, CountPlayerTargets, 0xFFFFFF81, 0x00008002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_8021F39C_6D340C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_8022179C_6D580C, 0x00000002, 0x00000000, 0x00000003, 0x00000001, 0x00000064, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000B, 0x00000004, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000005, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000F, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560002, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570002, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D4, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000C, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000005, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000010, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001F, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000005, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000E, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000005, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000005, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560001, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570001, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C88, 0x000002DD, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000001, 0x00000043, 0x00000003, BoostAttack, 0xFE363C88, 0x00000001, 0x00000043, 0x00000002, func_8026BF48, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000001, WaitForBuffDone, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80223A18_6D7A88 -.word 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000003, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetIndexFromHome, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetBattleVar, 0x00000002, 0xFE363C82, 0x0000000D, 0x00000002, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, b_area_kpa4_UnkFunc52, 0xFE363C80, 0xFE363C83, 0x0000000A, 0x00000002, 0xFE363C83, 0x00000000, 0x00000043, 0x00000003, GetActorDefenseBoost, 0xFE363C80, 0xFE363C84, 0x0000000C, 0x00000002, 0xFE363C84, 0x00000003, 0x00000024, 0x00000002, 0xFE363C88, 0xFE363C80, 0x00000043, 0x00000003, SetBattleVar, 0x00000002, 0xFE363C81, 0x00000004, 0x00000001, 0x00000064, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000002, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000043, 0x00000004, CountPlayerTargets, 0xFFFFFF81, 0x00008002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_8021F39C_6D340C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_8022179C_6D580C, 0x00000002, 0x00000000, 0x00000003, 0x00000001, 0x00000064, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000B, 0x00000005, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000006, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000F, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560002, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570002, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D4, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000C, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000005, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000010, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001F, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000005, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000E, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000005, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000005, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560001, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570001, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C88, 0x000002DD, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000001, 0x00000043, 0x00000003, BoostDefense, 0xFE363C88, 0x00000001, 0x00000043, 0x00000002, func_8026BF48, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000001, WaitForBuffDone, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80224160_6D81D0 -.word 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000003, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetIndexFromHome, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetBattleVar, 0x00000002, 0xFE363C82, 0x0000000D, 0x00000002, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, b_area_kpa4_UnkFunc52, 0xFE363C80, 0xFE363C83, 0x0000000A, 0x00000002, 0xFE363C83, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFE363C80, 0xFE363C84, 0x00000011, 0x00000002, 0xFE363C84, 0x04002000, 0x00000024, 0x00000002, 0xFE363C88, 0xFE363C80, 0x00000043, 0x00000003, SetBattleVar, 0x00000002, 0xFE363C81, 0x00000004, 0x00000001, 0x00000064, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000002, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000043, 0x00000004, CountPlayerTargets, 0xFFFFFF81, 0x00008002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_8021F39C_6D340C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_8022179C_6D580C, 0x00000002, 0x00000000, 0x00000003, 0x00000001, 0x00000064, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000B, 0x00000006, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000007, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000F, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560002, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570002, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000002F0, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000C, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000057, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000010, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001F, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000057, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000E, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000057, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000057, 0x00000000, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560001, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570001, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000005, 0x00000001, 0x00000004, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C88, 0x000003D2, 0x00000043, 0x00000003, RandInt, 0x00000003, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000003, 0x00000008, 0x00000001, 0xFE363C80, 0x00000006, 0x00000000, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000001, 0x00000043, 0x00000003, ElectrifyActor, 0xFE363C88, 0x00000003, 0x00000043, 0x00000002, func_8026BF48, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000001, WaitForBuffDone, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802248EC_6D895C -.word 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000003, 0x00000001, 0x0000000A, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetIndexFromHome, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetBattleVar, 0x00000002, 0xFE363C82, 0x0000000D, 0x00000002, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, b_area_kpa4_UnkFunc52, 0xFE363C80, 0xFE363C83, 0x0000000A, 0x00000002, 0xFE363C83, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFE363C80, 0xFE363C84, 0x00000011, 0x00000002, 0xFE363C84, 0x04002000, 0x00000024, 0x00000002, 0xFE363C88, 0xFE363C80, 0x00000043, 0x00000003, SetBattleVar, 0x00000002, 0xFE363C81, 0x00000004, 0x00000001, 0x00000064, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000003, SetBattleVar, 0x00000002, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000043, 0x00000004, CountPlayerTargets, 0xFFFFFF81, 0x00008002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_8021F39C_6D340C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_8022179C_6D580C, 0x00000002, 0x00000000, 0x00000003, 0x00000001, 0x00000064, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000A, 0x00000000, 0x00000043, 0x00000004, SetActorVar, 0xFFFFFF81, 0x0000000B, 0x00000007, 0x00000043, 0x00000004, AddActorVar, 0xFFFFFF81, 0x00000008, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000003, SetTargetActor, 0xFFFFFF81, 0x00000000, 0x00000043, 0x00000002, UseBattleCamPreset, 0x0000000E, 0x00000043, 0x00000002, BattleCamTargetActor, 0xFFFFFF81, 0x00000043, 0x00000002, MoveBattleCamOver, 0x0000000F, 0x00000008, 0x00000001, 0x0000000F, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560002, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570002, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFFFFFF81, 0x000020D4, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000006, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000C, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000006, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x00000010, 0x00000027, 0x00000002, 0xFE363C81, 0x0000001F, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000006, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000005, GetActorPos, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C8A, 0x00000010, 0x00000002, 0xFE363C8A, 0x00080000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000000C, 0x00000027, 0x00000002, 0xFE363C81, 0x0000000E, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000006, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7AFB, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000012, 0x00000000, 0x00000028, 0x00000002, 0xFE363C80, 0x0000001E, 0x00000027, 0x00000002, 0xFE363C81, 0x00000024, 0x00000028, 0x00000002, 0xFE363C82, 0x00000002, 0x00000043, 0x0000000F, PlayEffect, 0x00000033, 0x00000006, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7BB4, 0x0000001E, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x0000001E, 0x00000043, 0x00000003, GetActorFlags, 0xFFFFFF81, 0xFE363C80, 0x00000011, 0x00000002, 0xFE363C80, 0x00000200, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000001, 0x00560001, 0x00000012, 0x00000000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0x00000002, 0x00570001, 0x00000013, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000056, 0x00000000, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000003, PlaySoundAtActor, 0xFE363C88, 0x000002DB, 0x00000057, 0x00000000, 0x00000056, 0x00000000, 0x00000043, 0x00000002, func_8026BF48, 0x00000001, 0x00000043, 0x00000003, VanishActor, 0xFE363C88, 0x00000002, 0x00000043, 0x00000002, func_8026BF48, 0x00000000, 0x00000057, 0x00000000, 0x00000043, 0x00000001, WaitForBuffDone, 0x00000043, 0x00000002, UseBattleCamPreset, 0x00000002, 0x00000008, 0x00000001, 0x0000000A, 0x00000043, 0x00000001, YieldTurn, 0x00000043, 0x00000003, EnableIdleScript, 0xFFFFFF81, 0x00000001, 0x00000043, 0x00000003, UseIdleAnimation, 0xFFFFFF81, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80225034_6D90A4 -.word 0x00000043, 0x00000002, GetBattlePhase, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_8022179C_6D580C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x0000000A, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000004, 0x00000001, 0x00000014, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetOriginalActorType, 0xFE363C80, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000047, 0x00000043, 0x00000004, GetActorVar, 0xFE363C80, 0x00000008, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetActorHP, 0xFE363C80, 0xFE363C82, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFE363C80, 0xFE363C83, 0x0000002E, 0x00000002, 0xFE363C82, 0xF24C0A80, 0x0000002F, 0x00000002, 0xFE363C82, 0xFE363C83, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x0000000E, 0x00000002, 0xFE363C82, 0x00000019, 0x00000043, 0x00000003, RandInt, 0x00000063, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C84, 0x00000001, 0x0000000C, 0x00000002, 0xFE363C84, 0x0000004B, 0x00000027, 0x00000002, 0xFE363C8A, 0x00000001, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C80, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000000, 0x00000013, 0x00000000, 0x0000000D, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000001, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetOriginalActorType, 0xFE363C80, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000047, 0x00000043, 0x00000004, GetActorVar, 0xFE363C80, 0x00000008, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetActorHP, 0xFE363C80, 0xFE363C82, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFE363C80, 0xFE363C83, 0x0000002E, 0x00000002, 0xFE363C82, 0xF24C0A80, 0x0000002F, 0x00000002, 0xFE363C82, 0xFE363C83, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x0000000E, 0x00000002, 0xFE363C82, 0x00000014, 0x00000043, 0x00000003, RandInt, 0x00000063, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C84, 0x00000001, 0x0000000C, 0x00000002, 0xFE363C84, 0x00000050, 0x00000027, 0x00000002, 0xFE363C8A, 0x00000001, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C80, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000001, 0x00000013, 0x00000000, 0x0000000D, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x00000002, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetOriginalActorType, 0xFE363C80, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000047, 0x00000043, 0x00000004, GetActorVar, 0xFE363C80, 0x00000008, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetActorHP, 0xFE363C80, 0xFE363C82, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFE363C80, 0xFE363C83, 0x0000002E, 0x00000002, 0xFE363C82, 0xF24C0A80, 0x0000002F, 0x00000002, 0xFE363C82, 0xFE363C83, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x0000000E, 0x00000002, 0xFE363C82, 0x0000000F, 0x00000043, 0x00000003, RandInt, 0x00000063, 0xFE363C84, 0x00000027, 0x00000002, 0xFE363C84, 0x00000001, 0x0000000C, 0x00000002, 0xFE363C84, 0x00000064, 0x00000027, 0x00000002, 0xFE363C8A, 0x00000001, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C80, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x00000002, 0x00000013, 0x00000000, 0x0000000D, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000004, 0x00000001, 0x0000000A, 0x00000013, 0x00000000, 0x00000004, 0x00000001, 0x00000014, 0x00000003, 0x00000001, 0x0000000A, 0x00000043, 0x00000004, CountPlayerTargets, 0xFFFFFF81, 0x00008002, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000046, 0x00000001, D_8021F39C_6D340C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFE363C8A, 0x00000001, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000002, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000001F4, 0x00000046, 0x00000001, D_80220B70_6D4BE0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000002, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000001F4, 0x00000046, 0x00000001, D_802210FC_6D516C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000003, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000002, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000001F4, 0x00000046, 0x00000001, D_802210FC_6D516C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000012, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000004, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x00000002, 0x00000026, 0x00000002, 0xFE363C89, 0xF24C0A80, 0x00000043, 0x00000002, EnemyCreateTargetList, 0x00008002, 0x00000043, 0x00000001, InitTargetIterator, 0x00000003, 0x00000001, 0x0000000B, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000043, 0x00000003, GetOwnerTarget, 0xFE363C80, 0xFE363C81, 0x00000043, 0x00000003, GetOriginalActorType, 0xFE363C80, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000047, 0x00000043, 0x00000004, GetActorVar, 0xFE363C80, 0x00000008, 0xFE363C81, 0x0000000A, 0x00000002, 0xFE363C81, 0x00000001, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetActorHP, 0xFE363C80, 0xFE363C82, 0x00000043, 0x00000003, GetEnemyMaxHP, 0xFE363C80, 0xFE363C83, 0x0000002E, 0x00000002, 0xFE363C82, 0xF24C0A80, 0x0000002F, 0x00000002, 0xFE363C82, 0xFE363C83, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000000, 0x0000000E, 0x00000002, 0xFE363C82, 0xFE363C89, 0x00000026, 0x00000002, 0xFE363C89, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C80, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, ChooseNextTarget, 0x00000000, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000004, 0x00000001, 0x0000000B, 0x00000013, 0x00000000, 0x00000043, 0x00000003, RandInt, 0x000003E8, 0xFE363C80, 0x0000000C, 0x00000002, 0xFE363C80, 0x000001F4, 0x00000046, 0x00000001, D_80220B70_6D4BE0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000003, 0x00000001, 0x00000014, 0x00000024, 0x00000002, 0xFE363C8A, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C8B, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C8C, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C8D, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C8E, 0x0000000A, 0x00000024, 0x00000002, 0xFE363C8F, 0x0000000A, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x0000000A, 0xFE363C80, 0x0000000A, 0x00000002, 0xFE363C80, 0x00000001, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000064, 0x00000024, 0x00000002, 0xFE363C8B, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8D, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8E, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8F, 0x00000000, 0x00000004, 0x00000001, 0x0000007B, 0x00000012, 0x00000000, 0x00000046, 0x00000001, D_80222654_6D66C4, 0x0000000A, 0x00000002, 0xFE363C80, 0xFFFFFFFF, 0x00000024, 0x00000002, 0xFE363C8B, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C80, 0x0000000B, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8B, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x0000000B, 0xFE363C80, 0x00000014, 0x00000001, 0xFE363C80, 0x00000016, 0x00000001, 0x00000004, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000005, 0xFE363C81, 0x0000000C, 0x00000002, 0xFE363C81, 0x00000003, 0x00000043, 0x00000003, RandInt, 0x00000063, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x0000000E, 0x00000002, 0xFE363C80, 0x00000032, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8B, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8C, 0x00000064, 0x00000024, 0x00000002, 0xFE363C8D, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8E, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8F, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000016, 0x00000001, 0x00000005, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000006, 0xFE363C81, 0x0000000C, 0x00000002, 0xFE363C81, 0x00000003, 0x00000043, 0x00000003, RandInt, 0x00000063, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x0000000E, 0x00000002, 0xFE363C80, 0x00000032, 0x00000024, 0x00000002, 0xFE363C8A, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8B, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8D, 0x00000064, 0x00000024, 0x00000002, 0xFE363C8E, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8F, 0x00000000, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000023, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000005, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C8C, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000006, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C8D, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000007, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C8E, 0x00000000, 0x00000013, 0x00000000, 0x00000043, 0x00000004, GetActorVar, 0xFFFFFF81, 0x00000008, 0xFE363C80, 0x0000000F, 0x00000002, 0xFE363C80, 0x00000003, 0x00000024, 0x00000002, 0xFE363C8F, 0x00000000, 0x00000013, 0x00000000, 0x00000003, 0x00000001, 0x0000007B, 0x00000024, 0x00000002, 0xFE363C89, 0x00000000, 0x00000027, 0x00000002, 0xFE363C89, 0xFE363C8A, 0x00000027, 0x00000002, 0xFE363C89, 0xFE363C8B, 0x00000027, 0x00000002, 0xFE363C89, 0xFE363C8C, 0x00000027, 0x00000002, 0xFE363C89, 0xFE363C8D, 0x00000027, 0x00000002, 0xFE363C89, 0xFE363C8E, 0x00000027, 0x00000002, 0xFE363C89, 0xFE363C8F, 0x00000028, 0x00000002, 0xFE363C89, 0x00000001, 0x00000043, 0x00000003, RandInt, 0xFE363C89, 0xFE363C80, 0x00000027, 0x00000002, 0xFE363C80, 0x00000001, 0x0000000E, 0x00000002, 0xFE363C80, 0xFE363C8A, 0x00000046, 0x00000001, D_8022179C_6D580C, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000027, 0x00000002, 0xFE363C8A, 0xFE363C8B, 0x0000000E, 0x00000002, 0xFE363C80, 0xFE363C8A, 0x00000046, 0x00000001, D_80222C10_6D6C80, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000027, 0x00000002, 0xFE363C8A, 0xFE363C8C, 0x0000000E, 0x00000002, 0xFE363C80, 0xFE363C8A, 0x00000046, 0x00000001, D_802232D0_6D7340, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000027, 0x00000002, 0xFE363C8A, 0xFE363C8D, 0x0000000E, 0x00000002, 0xFE363C80, 0xFE363C8A, 0x00000046, 0x00000001, D_80223A18_6D7A88, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000027, 0x00000002, 0xFE363C8A, 0xFE363C8E, 0x0000000E, 0x00000002, 0xFE363C80, 0xFE363C8A, 0x00000046, 0x00000001, D_80224160_6D81D0, 0x00000002, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, D_802248EC_6D895C, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000 - -dlabel D_802260C0_6DA130 -.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C8A, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0x00000001, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0x00008000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226170_6DA1E0 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000024, 0x00000000, 0x00000056, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000025, 0x00000044, 0x00000001, D_802260C0_6DA130, 0x00000008, 0x00000001, 0x00000005, 0x00000024, 0x00000002, 0xFE363C80, 0x00000027, 0x00000044, 0x00000001, D_802260C0_6DA130, 0x00000057, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226214_6DA284 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226224_6DA294 -.word 0x00000018, 0x00000017, 0x00000016, 0x00000000 - -dlabel D_80226234_6DA2A4 -.word D_80227A20_6DBA90, D_80227A10_6DBA80, D_80227A00_6DBA70, D_80226170_6DA1E0, D_80226214_6DA284, 0x00000000, D_80226224_6DA294, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80226260_6DA2D0 -.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C8A, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0x00000001, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0x00008000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226310_6DA380 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000019, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000025, 0x00000044, 0x00000001, D_80226260_6DA2D0, 0x00000024, 0x00000002, 0xFE363C80, 0x00000027, 0x00000044, 0x00000001, D_80226260_6DA2D0, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226398_6DA408 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802263A8_6DA418 -.word 0x00000018, 0x00000017, 0x00000016, 0x00000000 - -dlabel D_802263B8_6DA428 -.word D_80227A48_6DBAB8, D_80227A38_6DBAA8, D_80227A28_6DBA98, D_80226310_6DA380, D_80226398_6DA408, 0x00000000, D_802263A8_6DA418, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C8C, 0xFE363C83, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C80, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0xFE363C8A, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C8B, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C8C, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802264B0_6DA520 -.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C8C, 0xFE363C83, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C80, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0xFE363C8A, 0x00000000, 0xFE363C80, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0xFE363C8A, 0x00000001, 0xFE363C81, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C8B, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C8C, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022659C_6DA60C -.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C8C, 0xFE363C83, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C80, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0xFE363C8A, 0x00000000, 0x00000000, 0xFE363C80, 0x00000043, 0x00000005, SetTexPanOffset, 0xFE363C8A, 0x00000001, 0x00000000, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C8B, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C8C, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226688_6DA6F8 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000010, 0x00000024, 0x00000002, 0xFE363C81, 0x00000001, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFFE70, 0x00000024, 0x00000002, 0xFE363C83, 0xFFFFFCE0, 0x00000044, 0x00000001, D_802264B0_6DA520, 0x00000024, 0x00000002, 0xFE363C80, 0x00000013, 0x00000024, 0x00000002, 0xFE363C81, 0x00000003, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFFE70, 0x00000024, 0x00000002, 0xFE363C83, 0xFFFFFCE0, 0x00000044, 0x00000001, D_802264B0_6DA520, 0x00000024, 0x00000002, 0xFE363C80, 0x00000011, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFFE70, 0x00000024, 0x00000002, 0xFE363C83, 0xFFFFFCE0, 0x00000044, 0x00000001, D_8022659C_6DA60C, 0x00000024, 0x00000002, 0xFE363C80, 0x00000012, 0x00000024, 0x00000002, 0xFE363C81, 0x00000002, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFFE70, 0x00000024, 0x00000002, 0xFE363C83, 0xFFFFFCE0, 0x00000044, 0x00000001, D_8022659C_6DA60C, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802267F4_6DA864 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226804_6DA874 -.word 0x0000000D, 0x00000000 - -dlabel D_8022680C_6DA87C -.word D_80227A70_6DBAE0, D_80227A60_6DBAD0, D_80227A50_6DBAC0, D_80226688_6DA6F8, D_802267F4_6DA864, 0x00000000, D_80226804_6DA874, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80226840_6DA8B0 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000002, func_80253734, 0x00000001, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022688C_6DA8FC -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022689C_6DA90C -.word 0x00000019, 0x00000000, D_80227A98_6DBB08, D_80227A88_6DBAF8, D_80227A78_6DBAE8, D_80226840_6DA8B0, D_8022688C_6DA8FC, 0x00000000, D_8022689C_6DA90C, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802268D0_6DA940 -.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C8A, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0x00000001, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0x00008000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226980_6DA9F0 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x0000000F, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000011, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000010, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x0000001A, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000014, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000016, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000018, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000020, 0x00000044, 0x00000001, D_802268D0_6DA940, 0x00000024, 0x00000002, 0xFE363C80, 0x00000022, 0x00000044, 0x00000001, D_802268D0_6DA940, 0x00000024, 0x00000002, 0xFE363C80, 0x00000024, 0x00000044, 0x00000001, D_802268D0_6DA940, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226AB0_6DAB20 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226AC0_6DAB30 -.word D_80227AC0_6DBB30, D_80227AB0_6DBB20, D_80227AA0_6DBB10, D_80226980_6DA9F0, D_80226AB0_6DAB20, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80226AF0_6DAB60 -.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C8A, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0x00000001, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0x00008000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226BA0_6DAC10 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x0000000D, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000011, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000010, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000012, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000014, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000016, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000018, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000020, 0x00000044, 0x00000001, D_80226AF0_6DAB60, 0x00000024, 0x00000002, 0xFE363C80, 0x00000022, 0x00000044, 0x00000001, D_80226AF0_6DAB60, 0x00000024, 0x00000002, 0xFE363C80, 0x00000024, 0x00000044, 0x00000001, D_80226AF0_6DAB60, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226CBC_6DAD2C -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226CCC_6DAD3C -.word D_80227AE8_6DBB58, D_80227AD8_6DBB48, D_80227AC8_6DBB38, D_80226BA0_6DAC10, D_80226CBC_6DAD2C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80226D00_6DAD70 -.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C8A, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0x00000001, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0x00008000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226DB0_6DAE20 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x0000001E, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000027, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000026, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000024, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000022, 0x00000000, 0x00000043, 0x00000003, SetGroupEnabled, 0x00000020, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000012, 0x00000044, 0x00000001, D_80226D00_6DAD70, 0x00000024, 0x00000002, 0xFE363C80, 0x00000014, 0x00000044, 0x00000001, D_80226D00_6DAD70, 0x00000024, 0x00000002, 0xFE363C80, 0x00000016, 0x00000044, 0x00000001, D_80226D00_6DAD70, 0x00000024, 0x00000002, 0xFE363C80, 0x00000018, 0x00000044, 0x00000001, D_80226D00_6DAD70, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226ED4_6DAF44 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226EE4_6DAF54 -.word D_80227B10_6DBB80, D_80227B00_6DBB70, D_80227AF0_6DBB60, D_80226DB0_6DAE20, D_80226ED4_6DAF44, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80226F10_6DAF80 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226F4C_6DAFBC -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80226F5C_6DAFCC -.word 0x00000010, 0x00000000 - -dlabel D_80226F64_6DAFD4 -.word D_80227B38_6DBBA8, D_80227B28_6DBB98, D_80227B18_6DBB88, D_80226F10_6DAF80, D_80226F4C_6DAFBC, 0x00000000, D_80226F5C_6DAFCC, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80226F90_6DB000 -.word 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C8C, 0xFE363C83, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C80, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0xFE363C8A, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C8B, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C8C, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C8C, 0xFE363C83, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C80, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0xFE363C8A, 0x00000000, 0xFE363C80, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0xFE363C8A, 0x00000001, 0xFE363C81, 0x00000000, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C8B, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C8C, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C8B, 0xFE363C82, 0x00000024, 0x00000002, 0xFE363C8C, 0xFE363C83, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C80, 0xFE363C81, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0xFE363C8A, 0x00000000, 0x00000000, 0xFE363C80, 0x00000043, 0x00000005, SetTexPanOffset, 0xFE363C8A, 0x00000001, 0x00000000, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0xFE363C8B, 0x00000027, 0x00000002, 0xFE363C81, 0xFE363C8C, 0x00000008, 0x00000001, 0x00000001, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227238_6DB2A8 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000010, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFFF38, 0x00000024, 0x00000002, 0xFE363C83, 0x00000000, 0x00000044, 0x00000001, D_80226F90_6DB000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000011, 0x00000024, 0x00000002, 0xFE363C81, 0x00000001, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFFF88, 0x00000024, 0x00000002, 0xFE363C83, 0x00000000, 0x00000044, 0x00000001, D_80226F90_6DB000, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000002, 0x00000024, 0x00000002, 0xFE363C82, 0xFFFFFF9C, 0x00000024, 0x00000002, 0xFE363C83, 0x00000000, 0x00000044, 0x00000001, D_80226F90_6DB000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227358_6DB3C8 -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227368_6DB3D8 -.word 0x00000011, 0x00000000 - -dlabel D_80227370_6DB3E0 -.word D_80227B60_6DBBD0, D_80227B50_6DBBC0, D_80227B40_6DBBB0, D_80227238_6DB2A8, D_80227358_6DB3C8, 0x00000000, D_80227368_6DB3D8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802273A0_6DB410 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802273DC_6DB44C -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802273EC_6DB45C -.word 0x00000016, 0x00000000 - -dlabel D_802273F4_6DB464 -.word D_80227B88_6DBBF8, D_80227B78_6DBBE8, D_80227B68_6DBBD8, D_802273A0_6DB410, D_802273DC_6DB44C, 0x00000000, D_802273EC_6DB45C, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227420_6DB490 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022745C_6DB4CC -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022746C_6DB4DC -.word 0x0000000C, 0x00000000 - -dlabel D_80227474_6DB4E4 -.word D_80227BB0_6DBC20, D_80227BA0_6DBC10, D_80227B90_6DBC00, D_80227420_6DB490, D_8022745C_6DB4CC, 0x00000000, D_8022746C_6DB4DC, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802274A0_6DB510 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802274DC_6DB54C -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802274EC_6DB55C -.word 0x0000000A, 0x00000000 - -dlabel D_802274F4_6DB564 -.word D_80227BD8_6DBC48, D_80227BC8_6DBC38, D_80227BB8_6DBC28, D_802274A0_6DB510, D_802274DC_6DB54C, 0x00000000, D_802274EC_6DB55C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C8A, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0x00000001, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0x00008000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_802275D0_6DB640 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022760C_6DB67C -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022761C_6DB68C -.word D_80227C00_6DBC70, D_80227BF0_6DBC60, D_80227BE0_6DBC50, D_802275D0_6DB640, D_8022760C_6DB67C, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000024, 0x00000002, 0xFE363C8A, 0xFE363C80, 0x00000043, 0x00000003, SetTexPanner, 0xFE363C8A, 0x00000001, 0x00000024, 0x00000002, 0xFE363C80, 0x00000000, 0x00000024, 0x00000002, 0xFE363C81, 0x00000000, 0x00000005, 0x00000001, 0x00000000, 0x00000043, 0x00000005, SetTexPanOffset, 0x00000001, 0x00000000, 0xFE363C80, 0xFE363C81, 0x00000027, 0x00000002, 0xFE363C80, 0x00008000, 0x00000027, 0x00000002, 0xFE363C81, 0x00000000, 0x00000008, 0x00000001, 0x00000005, 0x00000006, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_80227700_6DB770 -.word 0x00000043, 0x00000002, SetSpriteShading, 0xFFFFFFFF, 0x00000043, 0x00000005, SetCamBGColor, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022773C_6DB7AC -.word 0x00000002, 0x00000000, 0x00000001, 0x00000000 - -dlabel D_8022774C_6DB7BC -.word D_80227C28_6DBC98, D_80227C18_6DBC88, D_80227C08_6DBC78, D_80227700_6DB770, D_8022773C_6DB7AC, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_80227780_6DB7F0 -.word D_80218EEC_6CCF5C, 0x00000001, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80218EEC_6CCF5C, 0x00000002, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802277B8_6DB828 -.word D_80218EEC_6CCF5C, 0x00000000, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80218EEC_6CCF5C, 0x00000001, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80218EEC_6CCF5C, 0x00000002, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8022780C_6DB87C -.word 0x00000046, 0x00000000, 0xFFFFFFEC - -dlabel D_80227818_6DB888 -.word 0x00000064, 0x00000000, 0x00000000 - -dlabel D_80227824_6DB894 -.word D_8021872C_6CC79C, D_8022780C_6DB87C, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021872C_6CC79C, D_80227818_6DB888, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_8022785C_6DB8CC -.word 0x00000082, 0x00000000, 0x00000019 - -dlabel D_80227868_6DB8D8 -.word D_8021872C_6CC79C, D_8022780C_6DB87C, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021872C_6CC79C, D_80227818_6DB888, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80219EA0_6CDF10, D_8022785C_6DB8CC, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000 - -dlabel D_802278BC_6DB92C -.word D_8021872C_6CC79C, D_8022780C_6DB87C, 0x0000000A, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021872C_6CC79C, D_80227818_6DB888, 0x00000009, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_8021E9D0_6D2A40, D_8022785C_6DB8CC, 0x00000008, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80227CA8_6DBD18, 0x00000002, D_80227780_6DB7F0, D_80226234_6DA2A4, 0x00000000, D_80227C94_6DBD04, 0x00000003, D_802277B8_6DB828, D_80226234_6DA2A4, 0x00000000, D_80227C78_6DBCE8, 0x00000002, D_80227824_6DB894, D_80226234_6DA2A4, 0x00000000, D_80227C54_6DBCC4, 0x00000003, D_80227868_6DB8D8, D_80226234_6DA2A4, 0x00000000, D_80227C30_6DBCA0, 0x00000003, D_802278BC_6DB92C, D_80226234_6DA2A4, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, D_80227D24_6DBD94, D_80226234_6DA2A4, D_80227D1C_6DBD8C, D_802263B8_6DA428, D_80227D14_6DBD84, D_8022680C_6DA87C, D_80227D0C_6DBD7C, D_80226AC0_6DAB30, D_80227D04_6DBD74, D_80226AC0_6DAB30, D_80227CFC_6DBD6C, D_80226CCC_6DAD3C, D_80227CF4_6DBD64, D_80226EE4_6DAF54, D_80227CEC_6DBD5C, D_80226F64_6DAFD4, D_80227CE4_6DBD54, D_80227370_6DB3E0, D_80227CDC_6DBD4C, D_802273F4_6DB464, D_80227CD4_6DBD44, D_80227474_6DB4E4, D_80227CCC_6DBD3C, D_802274F4_6DB564, D_80227CC4_6DBD34, D_8022761C_6DB68C, D_80227CBC_6DBD2C, D_8022774C_6DB7BC, 0x00000000, 0x00000000 - -dlabel D_80227A00_6DBA70 -.word 0x6B70615F, 0x62743031, 0x5F686974, 0x00000000 - -dlabel D_80227A10_6DBA80 -.word 0x6B70615F, 0x62743031, 0x5F736861, 0x70650000 - -dlabel D_80227A20_6DBA90 -.word 0x6B70615F, 0x74657800 - -dlabel D_80227A28_6DBA98 -.word 0x6B70615F, 0x62743031, 0x5F686974, 0x00000000 - -dlabel D_80227A38_6DBAA8 -.word 0x6B70615F, 0x62743031, 0x5F736861, 0x70650000 - -dlabel D_80227A48_6DBAB8 -.word 0x6B70615F, 0x74657800 - -dlabel D_80227A50_6DBAC0 -.word 0x6B70615F, 0x62743032, 0x5F686974, 0x00000000 - -dlabel D_80227A60_6DBAD0 -.word 0x6B70615F, 0x62743032, 0x5F736861, 0x70650000 - -dlabel D_80227A70_6DBAE0 -.word 0x6B70615F, 0x74657800 - -dlabel D_80227A78_6DBAE8 -.word 0x6B70615F, 0x62743033, 0x5F686974, 0x00000000 - -dlabel D_80227A88_6DBAF8 -.word 0x6B70615F, 0x62743033, 0x5F736861, 0x70650000 - -dlabel D_80227A98_6DBB08 -.word 0x6B70615F, 0x74657800 - -dlabel D_80227AA0_6DBB10 -.word 0x6B70615F, 0x62743034, 0x5F686974, 0x00000000 - -dlabel D_80227AB0_6DBB20 -.word 0x6B70615F, 0x62743034, 0x5F736861, 0x70650000 - -dlabel D_80227AC0_6DBB30 -.word 0x6B70615F, 0x74657800 - -dlabel D_80227AC8_6DBB38 -.word 0x6B70615F, 0x62743034, 0x5F686974, 0x00000000 - -dlabel D_80227AD8_6DBB48 -.word 0x6B70615F, 0x62743034, 0x5F736861, 0x70650000 - -dlabel D_80227AE8_6DBB58 -.word 0x6B70615F, 0x74657800 - -dlabel D_80227AF0_6DBB60 -.word 0x6B70615F, 0x62743034, 0x5F686974, 0x00000000 - -dlabel D_80227B00_6DBB70 -.word 0x6B70615F, 0x62743034, 0x5F736861, 0x70650000 - -dlabel D_80227B10_6DBB80 -.word 0x6B70615F, 0x74657800 - -dlabel D_80227B18_6DBB88 -.word 0x6B70615F, 0x62743035, 0x5F686974, 0x00000000 - -dlabel D_80227B28_6DBB98 -.word 0x6B70615F, 0x62743035, 0x5F736861, 0x70650000 - -dlabel D_80227B38_6DBBA8 -.word 0x6B70615F, 0x74657800 - -dlabel D_80227B40_6DBBB0 -.word 0x6B70615F, 0x62743037, 0x5F686974, 0x00000000 - -dlabel D_80227B50_6DBBC0 -.word 0x6B70615F, 0x62743037, 0x5F736861, 0x70650000 - -dlabel D_80227B60_6DBBD0 -.word 0x6B70615F, 0x74657800 - -dlabel D_80227B68_6DBBD8 -.word 0x6B70615F, 0x62743038, 0x5F686974, 0x00000000 - -dlabel D_80227B78_6DBBE8 -.word 0x6B70615F, 0x62743038, 0x5F736861, 0x70650000 - -dlabel D_80227B88_6DBBF8 -.word 0x6B70615F, 0x74657800 - -dlabel D_80227B90_6DBC00 -.word 0x6B70615F, 0x62743039, 0x5F686974, 0x00000000 - -dlabel D_80227BA0_6DBC10 -.word 0x6B70615F, 0x62743039, 0x5F736861, 0x70650000 - -dlabel D_80227BB0_6DBC20 -.word 0x6B70615F, 0x74657800 - -dlabel D_80227BB8_6DBC28 -.word 0x6B70615F, 0x62743131, 0x5F686974, 0x00000000 - -dlabel D_80227BC8_6DBC38 -.word 0x6B70615F, 0x62743131, 0x5F736861, 0x70650000 - -dlabel D_80227BD8_6DBC48 -.word 0x6B70615F, 0x74657800 - -dlabel D_80227BE0_6DBC50 -.word 0x6B70615F, 0x62743133, 0x5F686974, 0x00000000 - -dlabel D_80227BF0_6DBC60 -.word 0x6B70615F, 0x62743133, 0x5F736861, 0x70650000 - -dlabel D_80227C00_6DBC70 -.word 0x6B70615F, 0x74657800 - -dlabel D_80227C08_6DBC78 -.word 0x6B70615F, 0x62743134, 0x5F686974, 0x00000000 - -dlabel D_80227C18_6DBC88 -.word 0x6B70615F, 0x62743134, 0x5F736861, 0x70650000 - -dlabel D_80227C28_6DBC98 -.word 0x6B70615F, 0x74657800 - -dlabel D_80227C30_6DBCA0 -.word 0x8358815B, 0x8370815B, 0x834C8389, 0x815B82BD, 0x82A282D9, 0x82A47882, 0x512C834A, 0x83818362, 0x834E0000 - -dlabel D_80227C54_6DBCC4 -.word 0x8358815B, 0x8370815B, 0x834C8389, 0x815B82BD, 0x82A282D9, 0x82A47882, 0x512C8367, 0x8351836D, 0x83520000 - -dlabel D_80227C78_6DBCE8 -.word 0x8358815B, 0x8370815B, 0x834C8389, 0x815B82BD, 0x82A282D9, 0x82A47882, 0x51000000 - -dlabel D_80227C94_6DBD04 -.word 0x8358815B, 0x8370815B, 0x834C8389, 0x815B7882, 0x52000000 - -dlabel D_80227CA8_6DBD18 -.word 0x8358815B, 0x8370815B, 0x834C8389, 0x815B7882, 0x51000000 - -dlabel D_80227CBC_6DBD2C -.word 0x6B70615F, 0x31340000 - -dlabel D_80227CC4_6DBD34 -.word 0x6B70615F, 0x31330000 - -dlabel D_80227CCC_6DBD3C -.word 0x6B70615F, 0x31310000 - -dlabel D_80227CD4_6DBD44 -.word 0x6B70615F, 0x30390000 - -dlabel D_80227CDC_6DBD4C -.word 0x6B70615F, 0x30380000 - -dlabel D_80227CE4_6DBD54 -.word 0x6B70615F, 0x30370000 - -dlabel D_80227CEC_6DBD5C -.word 0x6B70615F, 0x30350000 - -dlabel D_80227CF4_6DBD64 -.word 0x6B70615F, 0x30346300 - -dlabel D_80227CFC_6DBD6C -.word 0x6B70615F, 0x30346200 - -dlabel D_80227D04_6DBD74 -.word 0x6B70615F, 0x30340000 - -dlabel D_80227D0C_6DBD7C -.word 0x6B70615F, 0x30330000 - -dlabel D_80227D14_6DBD84 -.word 0x6B70615F, 0x30320000 - -dlabel D_80227D1C_6DBD8C -.word 0x6B70615F, 0x30316200 - -dlabel D_80227D24_6DBD94 -.word 0x6B70615F, 0x30310000, 0x00000000 diff --git a/ver/us/asm/nonmatchings/80850_len_3060/status_menu_draw_number.s b/ver/us/asm/nonmatchings/80850_len_3060/status_menu_draw_number.s deleted file mode 100644 index 2f9602a92b..0000000000 --- a/ver/us/asm/nonmatchings/80850_len_3060/status_menu_draw_number.s +++ /dev/null @@ -1,110 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel status_menu_draw_number -/* 81154 800E7CA4 27BDFFC0 */ addiu $sp, $sp, -0x40 -/* 81158 800E7CA8 AFB1001C */ sw $s1, 0x1c($sp) -/* 8115C 800E7CAC 00A0882D */ daddu $s1, $a1, $zero -/* 81160 800E7CB0 3C05800F */ lui $a1, %hi(TimesHudScript) -/* 81164 800E7CB4 8CA57FA8 */ lw $a1, %lo(TimesHudScript)($a1) -/* 81168 800E7CB8 AFB40028 */ sw $s4, 0x28($sp) -/* 8116C 800E7CBC 0080A02D */ daddu $s4, $a0, $zero -/* 81170 800E7CC0 AFB00018 */ sw $s0, 0x18($sp) -/* 81174 800E7CC4 00C0802D */ daddu $s0, $a2, $zero -/* 81178 800E7CC8 AFB30024 */ sw $s3, 0x24($sp) -/* 8117C 800E7CCC 00E0982D */ daddu $s3, $a3, $zero -/* 81180 800E7CD0 AFB5002C */ sw $s5, 0x2c($sp) -/* 81184 800E7CD4 8FB50050 */ lw $s5, 0x50($sp) -/* 81188 800E7CD8 AFB20020 */ sw $s2, 0x20($sp) -/* 8118C 800E7CDC 0000902D */ daddu $s2, $zero, $zero -/* 81190 800E7CE0 AFBF003C */ sw $ra, 0x3c($sp) -/* 81194 800E7CE4 AFBE0038 */ sw $fp, 0x38($sp) -/* 81198 800E7CE8 AFB70034 */ sw $s7, 0x34($sp) -/* 8119C 800E7CEC 0C0511FF */ jal hud_element_set_script -/* 811A0 800E7CF0 AFB60030 */ sw $s6, 0x30($sp) -/* 811A4 800E7CF4 26310008 */ addiu $s1, $s1, 8 -/* 811A8 800E7CF8 0280202D */ daddu $a0, $s4, $zero -/* 811AC 800E7CFC 0220282D */ daddu $a1, $s1, $zero -/* 811B0 800E7D00 26060007 */ addiu $a2, $s0, 7 -/* 811B4 800E7D04 0C051261 */ jal hud_element_set_render_pos -/* 811B8 800E7D08 261E0008 */ addiu $fp, $s0, 8 -/* 811BC 800E7D0C 0280202D */ daddu $a0, $s4, $zero -/* 811C0 800E7D10 0C05128B */ jal hud_element_clear_flags -/* 811C4 800E7D14 24050002 */ addiu $a1, $zero, 2 -/* 811C8 800E7D18 0C0511F1 */ jal hud_element_draw_next -/* 811CC 800E7D1C 0280202D */ daddu $a0, $s4, $zero -/* 811D0 800E7D20 5AA00016 */ blezl $s5, .L800E7D7C -/* 811D4 800E7D24 2631000D */ addiu $s1, $s1, 0xd -/* 811D8 800E7D28 3C066666 */ lui $a2, 0x6666 -/* 811DC 800E7D2C 34C66667 */ ori $a2, $a2, 0x6667 -/* 811E0 800E7D30 27A50010 */ addiu $a1, $sp, 0x10 -.L800E7D34: -/* 811E4 800E7D34 02660018 */ mult $s3, $a2 -/* 811E8 800E7D38 02B22023 */ subu $a0, $s5, $s2 -/* 811EC 800E7D3C 26520001 */ addiu $s2, $s2, 1 -/* 811F0 800E7D40 001317C3 */ sra $v0, $s3, 0x1f -/* 811F4 800E7D44 00852021 */ addu $a0, $a0, $a1 -/* 811F8 800E7D48 00004010 */ mfhi $t0 -/* 811FC 800E7D4C 00081883 */ sra $v1, $t0, 2 -/* 81200 800E7D50 00621023 */ subu $v0, $v1, $v0 -/* 81204 800E7D54 0040182D */ daddu $v1, $v0, $zero -/* 81208 800E7D58 00031080 */ sll $v0, $v1, 2 -/* 8120C 800E7D5C 00431021 */ addu $v0, $v0, $v1 -/* 81210 800E7D60 00021040 */ sll $v0, $v0, 1 -/* 81214 800E7D64 02621023 */ subu $v0, $s3, $v0 -/* 81218 800E7D68 A082FFFF */ sb $v0, -1($a0) -/* 8121C 800E7D6C 0255102A */ slt $v0, $s2, $s5 -/* 81220 800E7D70 1440FFF0 */ bnez $v0, .L800E7D34 -/* 81224 800E7D74 0060982D */ daddu $s3, $v1, $zero -/* 81228 800E7D78 2631000D */ addiu $s1, $s1, 0xd -.L800E7D7C: -/* 8122C 800E7D7C 0000982D */ daddu $s3, $zero, $zero -/* 81230 800E7D80 1AA00020 */ blez $s5, .L800E7E04 -/* 81234 800E7D84 0260902D */ daddu $s2, $s3, $zero -/* 81238 800E7D88 27B60010 */ addiu $s6, $sp, 0x10 -/* 8123C 800E7D8C 26B0FFFF */ addiu $s0, $s5, -1 -/* 81240 800E7D90 3C17800F */ lui $s7, %hi(DigitHudScripts) -/* 81244 800E7D94 26F77F80 */ addiu $s7, $s7, %lo(DigitHudScripts) -.L800E7D98: -/* 81248 800E7D98 02D21021 */ addu $v0, $s6, $s2 -/* 8124C 800E7D9C 80420000 */ lb $v0, ($v0) -/* 81250 800E7DA0 54400006 */ bnel $v0, $zero, .L800E7DBC -/* 81254 800E7DA4 24130001 */ addiu $s3, $zero, 1 -/* 81258 800E7DA8 56600004 */ bnel $s3, $zero, .L800E7DBC -/* 8125C 800E7DAC 24130001 */ addiu $s3, $zero, 1 -/* 81260 800E7DB0 56500011 */ bnel $s2, $s0, .L800E7DF8 -/* 81264 800E7DB4 26520001 */ addiu $s2, $s2, 1 -/* 81268 800E7DB8 24130001 */ addiu $s3, $zero, 1 -.L800E7DBC: -/* 8126C 800E7DBC 00021080 */ sll $v0, $v0, 2 -/* 81270 800E7DC0 00571021 */ addu $v0, $v0, $s7 -/* 81274 800E7DC4 8C450000 */ lw $a1, ($v0) -/* 81278 800E7DC8 0C0511FF */ jal hud_element_set_script -/* 8127C 800E7DCC 0280202D */ daddu $a0, $s4, $zero -/* 81280 800E7DD0 0280202D */ daddu $a0, $s4, $zero -/* 81284 800E7DD4 0220282D */ daddu $a1, $s1, $zero -/* 81288 800E7DD8 0C051261 */ jal hud_element_set_render_pos -/* 8128C 800E7DDC 03C0302D */ daddu $a2, $fp, $zero -/* 81290 800E7DE0 0280202D */ daddu $a0, $s4, $zero -/* 81294 800E7DE4 0C05128B */ jal hud_element_clear_flags -/* 81298 800E7DE8 24050002 */ addiu $a1, $zero, 2 -/* 8129C 800E7DEC 0C0511F1 */ jal hud_element_draw_next -/* 812A0 800E7DF0 0280202D */ daddu $a0, $s4, $zero -/* 812A4 800E7DF4 26520001 */ addiu $s2, $s2, 1 -.L800E7DF8: -/* 812A8 800E7DF8 0255102A */ slt $v0, $s2, $s5 -/* 812AC 800E7DFC 1440FFE6 */ bnez $v0, .L800E7D98 -/* 812B0 800E7E00 26310008 */ addiu $s1, $s1, 8 -.L800E7E04: -/* 812B4 800E7E04 8FBF003C */ lw $ra, 0x3c($sp) -/* 812B8 800E7E08 8FBE0038 */ lw $fp, 0x38($sp) -/* 812BC 800E7E0C 8FB70034 */ lw $s7, 0x34($sp) -/* 812C0 800E7E10 8FB60030 */ lw $s6, 0x30($sp) -/* 812C4 800E7E14 8FB5002C */ lw $s5, 0x2c($sp) -/* 812C8 800E7E18 8FB40028 */ lw $s4, 0x28($sp) -/* 812CC 800E7E1C 8FB30024 */ lw $s3, 0x24($sp) -/* 812D0 800E7E20 8FB20020 */ lw $s2, 0x20($sp) -/* 812D4 800E7E24 8FB1001C */ lw $s1, 0x1c($sp) -/* 812D8 800E7E28 8FB00018 */ lw $s0, 0x18($sp) -/* 812DC 800E7E2C 03E00008 */ jr $ra -/* 812E0 800E7E30 27BD0040 */ addiu $sp, $sp, 0x40 diff --git a/ver/us/asm/nonmatchings/battle/area_hos/47F570/func_802184C0_47F570.s b/ver/us/asm/nonmatchings/battle/area_hos/47F570/func_802184C0_47F570.s deleted file mode 100644 index 3d210121f6..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_hos/47F570/func_802184C0_47F570.s +++ /dev/null @@ -1,134 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802184C0_47F570 -/* 47F570 802184C0 27BDFFC0 */ addiu $sp, $sp, -0x40 -/* 47F574 802184C4 AFB3002C */ sw $s3, 0x2c($sp) -/* 47F578 802184C8 2493FFFF */ addiu $s3, $a0, -1 -/* 47F57C 802184CC 0260202D */ daddu $a0, $s3, $zero -/* 47F580 802184D0 27A50010 */ addiu $a1, $sp, 0x10 -/* 47F584 802184D4 27A60014 */ addiu $a2, $sp, 0x14 -/* 47F588 802184D8 27A70018 */ addiu $a3, $sp, 0x18 -/* 47F58C 802184DC AFBF003C */ sw $ra, 0x3c($sp) -/* 47F590 802184E0 AFB60038 */ sw $s6, 0x38($sp) -/* 47F594 802184E4 AFB50034 */ sw $s5, 0x34($sp) -/* 47F598 802184E8 AFB40030 */ sw $s4, 0x30($sp) -/* 47F59C 802184EC AFB20028 */ sw $s2, 0x28($sp) -/* 47F5A0 802184F0 AFB10024 */ sw $s1, 0x24($sp) -/* 47F5A4 802184F4 0C0470AC */ jal mdl_get_copied_vertices -/* 47F5A8 802184F8 AFB00020 */ sw $s0, 0x20($sp) -/* 47F5AC 802184FC 8FA20018 */ lw $v0, 0x18($sp) -/* 47F5B0 80218500 18400051 */ blez $v0, .L80218648 -/* 47F5B4 80218504 0000802D */ daddu $s0, $zero, $zero -/* 47F5B8 80218508 3C038022 */ lui $v1, %hi(D_80224BB0_48BC60) -/* 47F5BC 8021850C 24634BB0 */ addiu $v1, $v1, %lo(D_80224BB0_48BC60) -/* 47F5C0 80218510 00131040 */ sll $v0, $s3, 1 -/* 47F5C4 80218514 0043A821 */ addu $s5, $v0, $v1 -/* 47F5C8 80218518 3C145555 */ lui $s4, 0x5555 -/* 47F5CC 8021851C 36945556 */ ori $s4, $s4, 0x5556 -/* 47F5D0 80218520 34168000 */ ori $s6, $zero, 0x8000 -/* 47F5D4 80218524 02140018 */ mult $s0, $s4 -.L80218528: -/* 47F5D8 80218528 001097C3 */ sra $s2, $s0, 0x1f -/* 47F5DC 8021852C 00001810 */ mfhi $v1 -/* 47F5E0 80218530 00721823 */ subu $v1, $v1, $s2 -/* 47F5E4 80218534 00031040 */ sll $v0, $v1, 1 -/* 47F5E8 80218538 00431021 */ addu $v0, $v0, $v1 -/* 47F5EC 8021853C 02021023 */ subu $v0, $s0, $v0 -/* 47F5F0 80218540 96A30000 */ lhu $v1, ($s5) -/* 47F5F4 80218544 24420001 */ addiu $v0, $v0, 1 -/* 47F5F8 80218548 00620018 */ mult $v1, $v0 -/* 47F5FC 8021854C 00101100 */ sll $v0, $s0, 4 -/* 47F600 80218550 00001812 */ mflo $v1 -/* 47F604 80218554 00702021 */ addu $a0, $v1, $s0 -/* 47F608 80218558 8FA30014 */ lw $v1, 0x14($sp) -/* 47F60C 8021855C 3084FFFF */ andi $a0, $a0, 0xffff -/* 47F610 80218560 0C01917C */ jal sins -/* 47F614 80218564 00628821 */ addu $s1, $v1, $v0 -/* 47F618 80218568 00021400 */ sll $v0, $v0, 0x10 -/* 47F61C 8021856C 00021403 */ sra $v0, $v0, 0x10 -/* 47F620 80218570 00561021 */ addu $v0, $v0, $s6 -/* 47F624 80218574 00021FC2 */ srl $v1, $v0, 0x1f -/* 47F628 80218578 00431021 */ addu $v0, $v0, $v1 -/* 47F62C 8021857C 000213C0 */ sll $v0, $v0, 0xf -/* 47F630 80218580 00021403 */ sra $v0, $v0, 0x10 -/* 47F634 80218584 00021880 */ sll $v1, $v0, 2 -/* 47F638 80218588 00621821 */ addu $v1, $v1, $v0 -/* 47F63C 8021858C 00031140 */ sll $v0, $v1, 5 -/* 47F640 80218590 00431823 */ subu $v1, $v0, $v1 -/* 47F644 80218594 04610002 */ bgez $v1, .L802185A0 -/* 47F648 80218598 0060102D */ daddu $v0, $v1, $zero -/* 47F64C 8021859C 24627FFF */ addiu $v0, $v1, 0x7fff -.L802185A0: -/* 47F650 802185A0 000213C3 */ sra $v0, $v0, 0xf -/* 47F654 802185A4 24420064 */ addiu $v0, $v0, 0x64 -/* 47F658 802185A8 A222000C */ sb $v0, 0xc($s1) -/* 47F65C 802185AC 02121823 */ subu $v1, $s0, $s2 -/* 47F660 802185B0 00032843 */ sra $a1, $v1, 1 -/* 47F664 802185B4 00B40018 */ mult $a1, $s4 -/* 47F668 802185B8 A222000D */ sb $v0, 0xd($s1) -/* 47F66C 802185BC 96A40000 */ lhu $a0, ($s5) -/* 47F670 802185C0 00031FC3 */ sra $v1, $v1, 0x1f -/* 47F674 802185C4 000433C2 */ srl $a2, $a0, 0xf -/* 47F678 802185C8 00004810 */ mfhi $t1 -/* 47F67C 802185CC 01231823 */ subu $v1, $t1, $v1 -/* 47F680 802185D0 00031040 */ sll $v0, $v1, 1 -/* 47F684 802185D4 00431021 */ addu $v0, $v0, $v1 -/* 47F688 802185D8 00A22823 */ subu $a1, $a1, $v0 -/* 47F68C 802185DC 24A50001 */ addiu $a1, $a1, 1 -/* 47F690 802185E0 00052BC0 */ sll $a1, $a1, 0xf -/* 47F694 802185E4 00C50018 */ mult $a2, $a1 -/* 47F698 802185E8 00042382 */ srl $a0, $a0, 0xe -/* 47F69C 802185EC 000423C0 */ sll $a0, $a0, 0xf -/* 47F6A0 802185F0 00001812 */ mflo $v1 -/* 47F6A4 802185F4 00642021 */ addu $a0, $v1, $a0 -/* 47F6A8 802185F8 00902021 */ addu $a0, $a0, $s0 -/* 47F6AC 802185FC 0C01917C */ jal sins -/* 47F6B0 80218600 3084FFFF */ andi $a0, $a0, 0xffff -/* 47F6B4 80218604 00021400 */ sll $v0, $v0, 0x10 -/* 47F6B8 80218608 00021403 */ sra $v0, $v0, 0x10 -/* 47F6BC 8021860C 9223000C */ lbu $v1, 0xc($s1) -/* 47F6C0 80218610 00561021 */ addu $v0, $v0, $s6 -/* 47F6C4 80218614 00620018 */ mult $v1, $v0 -/* 47F6C8 80218618 00001812 */ mflo $v1 -/* 47F6CC 8021861C 04610004 */ bgez $v1, .L80218630 -/* 47F6D0 80218620 00031403 */ sra $v0, $v1, 0x10 -/* 47F6D4 80218624 3402FFFF */ ori $v0, $zero, 0xffff -/* 47F6D8 80218628 00621821 */ addu $v1, $v1, $v0 -/* 47F6DC 8021862C 00031403 */ sra $v0, $v1, 0x10 -.L80218630: -/* 47F6E0 80218630 A222000E */ sb $v0, 0xe($s1) -/* 47F6E4 80218634 8FA20018 */ lw $v0, 0x18($sp) -/* 47F6E8 80218638 26100001 */ addiu $s0, $s0, 1 -/* 47F6EC 8021863C 0202102A */ slt $v0, $s0, $v0 -/* 47F6F0 80218640 1440FFB9 */ bnez $v0, .L80218528 -/* 47F6F4 80218644 02140018 */ mult $s0, $s4 -.L80218648: -/* 47F6F8 80218648 3C03800A */ lui $v1, %hi(gMasterGfxPos) -/* 47F6FC 8021864C 2463A66C */ addiu $v1, $v1, %lo(gMasterGfxPos) -/* 47F700 80218650 8C620000 */ lw $v0, ($v1) -/* 47F704 80218654 0260202D */ daddu $a0, $s3, $zero -/* 47F708 80218658 0040802D */ daddu $s0, $v0, $zero -/* 47F70C 8021865C 24420008 */ addiu $v0, $v0, 8 -/* 47F710 80218660 AC620000 */ sw $v0, ($v1) -/* 47F714 80218664 3C02DE00 */ lui $v0, 0xde00 -/* 47F718 80218668 0C0470BB */ jal mdl_get_copied_gfx -/* 47F71C 8021866C AE020000 */ sw $v0, ($s0) -/* 47F720 80218670 AE020004 */ sw $v0, 4($s0) -/* 47F724 80218674 3C028022 */ lui $v0, %hi(D_80224BB0_48BC60) -/* 47F728 80218678 24424BB0 */ addiu $v0, $v0, %lo(D_80224BB0_48BC60) -/* 47F72C 8021867C 00131840 */ sll $v1, $s3, 1 -/* 47F730 80218680 00621821 */ addu $v1, $v1, $v0 -/* 47F734 80218684 94620000 */ lhu $v0, ($v1) -/* 47F738 80218688 24420253 */ addiu $v0, $v0, 0x253 -/* 47F73C 8021868C A4620000 */ sh $v0, ($v1) -/* 47F740 80218690 8FBF003C */ lw $ra, 0x3c($sp) -/* 47F744 80218694 8FB60038 */ lw $s6, 0x38($sp) -/* 47F748 80218698 8FB50034 */ lw $s5, 0x34($sp) -/* 47F74C 8021869C 8FB40030 */ lw $s4, 0x30($sp) -/* 47F750 802186A0 8FB3002C */ lw $s3, 0x2c($sp) -/* 47F754 802186A4 8FB20028 */ lw $s2, 0x28($sp) -/* 47F758 802186A8 8FB10024 */ lw $s1, 0x24($sp) -/* 47F75C 802186AC 8FB00020 */ lw $s0, 0x20($sp) -/* 47F760 802186B0 03E00008 */ jr $ra -/* 47F764 802186B4 27BD0040 */ addiu $sp, $sp, 0x40 diff --git a/ver/us/asm/nonmatchings/battle/area_hos/47F570/func_802186B8_47F768.s b/ver/us/asm/nonmatchings/battle/area_hos/47F570/func_802186B8_47F768.s deleted file mode 100644 index 4a33d6d116..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_hos/47F570/func_802186B8_47F768.s +++ /dev/null @@ -1,226 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -.section .rodata - -dlabel D_80225FB0_48D060 -.double 48.62745098039216 - -dlabel D_80225FB8_48D068 -.double 89.41176470588236 - -dlabel D_80225FC0_48D070 -.double 99.6078431372549 - -.section .text - -glabel func_802186B8_47F768 -/* 47F768 802186B8 27BDFFB8 */ addiu $sp, $sp, -0x48 -/* 47F76C 802186BC AFB20028 */ sw $s2, 0x28($sp) -/* 47F770 802186C0 2492FFFF */ addiu $s2, $a0, -1 -/* 47F774 802186C4 0240202D */ daddu $a0, $s2, $zero -/* 47F778 802186C8 27A50010 */ addiu $a1, $sp, 0x10 -/* 47F77C 802186CC 27A60014 */ addiu $a2, $sp, 0x14 -/* 47F780 802186D0 AFBF003C */ sw $ra, 0x3c($sp) -/* 47F784 802186D4 AFB60038 */ sw $s6, 0x38($sp) -/* 47F788 802186D8 AFB50034 */ sw $s5, 0x34($sp) -/* 47F78C 802186DC AFB40030 */ sw $s4, 0x30($sp) -/* 47F790 802186E0 AFB3002C */ sw $s3, 0x2c($sp) -/* 47F794 802186E4 AFB10024 */ sw $s1, 0x24($sp) -/* 47F798 802186E8 AFB00020 */ sw $s0, 0x20($sp) -/* 47F79C 802186EC F7B40040 */ sdc1 $f20, 0x40($sp) -/* 47F7A0 802186F0 0C0470AC */ jal mdl_get_copied_vertices -/* 47F7A4 802186F4 27A70018 */ addiu $a3, $sp, 0x18 -/* 47F7A8 802186F8 8FA20018 */ lw $v0, 0x18($sp) -/* 47F7AC 802186FC 18400097 */ blez $v0, .L8021895C -/* 47F7B0 80218700 0000802D */ daddu $s0, $zero, $zero -/* 47F7B4 80218704 3C038022 */ lui $v1, %hi(D_80224BB0_48BC60) -/* 47F7B8 80218708 24634BB0 */ addiu $v1, $v1, %lo(D_80224BB0_48BC60) -/* 47F7BC 8021870C 00121040 */ sll $v0, $s2, 1 -/* 47F7C0 80218710 0043A021 */ addu $s4, $v0, $v1 -/* 47F7C4 80218714 3C135555 */ lui $s3, 0x5555 -/* 47F7C8 80218718 36735556 */ ori $s3, $s3, 0x5556 -/* 47F7CC 8021871C 34168000 */ ori $s6, $zero, 0x8000 -/* 47F7D0 80218720 3C0141E0 */ lui $at, 0x41e0 -/* 47F7D4 80218724 4481A800 */ mtc1 $at, $f21 -/* 47F7D8 80218728 4480A000 */ mtc1 $zero, $f20 -/* 47F7DC 8021872C 3C158000 */ lui $s5, 0x8000 -/* 47F7E0 80218730 02130018 */ mult $s0, $s3 -.L80218734: -/* 47F7E4 80218734 00101FC3 */ sra $v1, $s0, 0x1f -/* 47F7E8 80218738 00004810 */ mfhi $t1 -/* 47F7EC 8021873C 01231823 */ subu $v1, $t1, $v1 -/* 47F7F0 80218740 00031040 */ sll $v0, $v1, 1 -/* 47F7F4 80218744 00431021 */ addu $v0, $v0, $v1 -/* 47F7F8 80218748 02021023 */ subu $v0, $s0, $v0 -/* 47F7FC 8021874C 96830000 */ lhu $v1, ($s4) -/* 47F800 80218750 24420001 */ addiu $v0, $v0, 1 -/* 47F804 80218754 00620018 */ mult $v1, $v0 -/* 47F808 80218758 8FA20014 */ lw $v0, 0x14($sp) -/* 47F80C 8021875C 00001812 */ mflo $v1 -/* 47F810 80218760 00702021 */ addu $a0, $v1, $s0 -/* 47F814 80218764 3084FFFF */ andi $a0, $a0, 0xffff -/* 47F818 80218768 00101900 */ sll $v1, $s0, 4 -/* 47F81C 8021876C 00431021 */ addu $v0, $v0, $v1 -/* 47F820 80218770 0C01917C */ jal sins -/* 47F824 80218774 2451000C */ addiu $s1, $v0, 0xc -/* 47F828 80218778 00021400 */ sll $v0, $v0, 0x10 -/* 47F82C 8021877C 00021403 */ sra $v0, $v0, 0x10 -/* 47F830 80218780 00561021 */ addu $v0, $v0, $s6 -/* 47F834 80218784 00021FC2 */ srl $v1, $v0, 0x1f -/* 47F838 80218788 00431021 */ addu $v0, $v0, $v1 -/* 47F83C 8021878C 00021043 */ sra $v0, $v0, 1 -/* 47F840 80218790 00021C00 */ sll $v1, $v0, 0x10 -/* 47F844 80218794 00031C03 */ sra $v1, $v1, 0x10 -/* 47F848 80218798 00032080 */ sll $a0, $v1, 2 -/* 47F84C 8021879C 00832021 */ addu $a0, $a0, $v1 -/* 47F850 802187A0 00041940 */ sll $v1, $a0, 5 -/* 47F854 802187A4 00641823 */ subu $v1, $v1, $a0 -/* 47F858 802187A8 04610002 */ bgez $v1, .L802187B4 -/* 47F85C 802187AC 0040202D */ daddu $a0, $v0, $zero -/* 47F860 802187B0 24637FFF */ addiu $v1, $v1, 0x7fff -.L802187B4: -/* 47F864 802187B4 000313C3 */ sra $v0, $v1, 0xf -/* 47F868 802187B8 3C018022 */ lui $at, %hi(D_80225FB0_48D060) -/* 47F86C 802187BC D4225FB0 */ ldc1 $f2, %lo(D_80225FB0_48D060)($at) -/* 47F870 802187C0 44820000 */ mtc1 $v0, $f0 -/* 47F874 802187C4 00000000 */ nop -/* 47F878 802187C8 46800021 */ cvt.d.w $f0, $f0 -/* 47F87C 802187CC 46220000 */ add.d $f0, $f0, $f2 -/* 47F880 802187D0 4620A03E */ c.le.d $f20, $f0 -/* 47F884 802187D4 00000000 */ nop -/* 47F888 802187D8 45030005 */ bc1tl .L802187F0 -/* 47F88C 802187DC 46340001 */ sub.d $f0, $f0, $f20 -/* 47F890 802187E0 4620010D */ trunc.w.d $f4, $f0 -/* 47F894 802187E4 44022000 */ mfc1 $v0, $f4 -/* 47F898 802187E8 08086201 */ j .L80218804 -/* 47F89C 802187EC A2220000 */ sb $v0, ($s1) -.L802187F0: -/* 47F8A0 802187F0 4620010D */ trunc.w.d $f4, $f0 -/* 47F8A4 802187F4 44022000 */ mfc1 $v0, $f4 -/* 47F8A8 802187F8 00000000 */ nop -/* 47F8AC 802187FC 00551025 */ or $v0, $v0, $s5 -/* 47F8B0 80218800 A2220000 */ sb $v0, ($s1) -.L80218804: -/* 47F8B4 80218804 00041400 */ sll $v0, $a0, 0x10 -/* 47F8B8 80218808 00021403 */ sra $v0, $v0, 0x10 -/* 47F8BC 8021880C 00021880 */ sll $v1, $v0, 2 -/* 47F8C0 80218810 00621821 */ addu $v1, $v1, $v0 -/* 47F8C4 80218814 00031140 */ sll $v0, $v1, 5 -/* 47F8C8 80218818 00431023 */ subu $v0, $v0, $v1 -/* 47F8CC 8021881C 04410002 */ bgez $v0, .L80218828 -/* 47F8D0 80218820 26230001 */ addiu $v1, $s1, 1 -/* 47F8D4 80218824 24427FFF */ addiu $v0, $v0, 0x7fff -.L80218828: -/* 47F8D8 80218828 000213C3 */ sra $v0, $v0, 0xf -/* 47F8DC 8021882C 3C018022 */ lui $at, %hi(D_80225FB8_48D068) -/* 47F8E0 80218830 D4225FB8 */ ldc1 $f2, %lo(D_80225FB8_48D068)($at) -/* 47F8E4 80218834 44820000 */ mtc1 $v0, $f0 -/* 47F8E8 80218838 00000000 */ nop -/* 47F8EC 8021883C 46800021 */ cvt.d.w $f0, $f0 -/* 47F8F0 80218840 46220000 */ add.d $f0, $f0, $f2 -/* 47F8F4 80218844 4620A03E */ c.le.d $f20, $f0 -/* 47F8F8 80218848 00000000 */ nop -/* 47F8FC 8021884C 45030005 */ bc1tl .L80218864 -/* 47F900 80218850 46340001 */ sub.d $f0, $f0, $f20 -/* 47F904 80218854 4620010D */ trunc.w.d $f4, $f0 -/* 47F908 80218858 44022000 */ mfc1 $v0, $f4 -/* 47F90C 8021885C 0808621E */ j .L80218878 -/* 47F910 80218860 A0620000 */ sb $v0, ($v1) -.L80218864: -/* 47F914 80218864 4620010D */ trunc.w.d $f4, $f0 -/* 47F918 80218868 44022000 */ mfc1 $v0, $f4 -/* 47F91C 8021886C 00000000 */ nop -/* 47F920 80218870 00551025 */ or $v0, $v0, $s5 -/* 47F924 80218874 A0620000 */ sb $v0, ($v1) -.L80218878: -/* 47F928 80218878 00101FC2 */ srl $v1, $s0, 0x1f -/* 47F92C 8021887C 02031821 */ addu $v1, $s0, $v1 -/* 47F930 80218880 00032843 */ sra $a1, $v1, 1 -/* 47F934 80218884 00B30018 */ mult $a1, $s3 -/* 47F938 80218888 96840000 */ lhu $a0, ($s4) -/* 47F93C 8021888C 00031FC3 */ sra $v1, $v1, 0x1f -/* 47F940 80218890 000433C2 */ srl $a2, $a0, 0xf -/* 47F944 80218894 00004810 */ mfhi $t1 -/* 47F948 80218898 01231823 */ subu $v1, $t1, $v1 -/* 47F94C 8021889C 00031040 */ sll $v0, $v1, 1 -/* 47F950 802188A0 00431021 */ addu $v0, $v0, $v1 -/* 47F954 802188A4 00A22823 */ subu $a1, $a1, $v0 -/* 47F958 802188A8 24A50001 */ addiu $a1, $a1, 1 -/* 47F95C 802188AC 00052BC0 */ sll $a1, $a1, 0xf -/* 47F960 802188B0 00C50018 */ mult $a2, $a1 -/* 47F964 802188B4 00042382 */ srl $a0, $a0, 0xe -/* 47F968 802188B8 000423C0 */ sll $a0, $a0, 0xf -/* 47F96C 802188BC 00001812 */ mflo $v1 -/* 47F970 802188C0 00642021 */ addu $a0, $v1, $a0 -/* 47F974 802188C4 00902021 */ addu $a0, $a0, $s0 -/* 47F978 802188C8 0C01917C */ jal sins -/* 47F97C 802188CC 3084FFFF */ andi $a0, $a0, 0xffff -/* 47F980 802188D0 00021400 */ sll $v0, $v0, 0x10 -/* 47F984 802188D4 00021403 */ sra $v0, $v0, 0x10 -/* 47F988 802188D8 92230000 */ lbu $v1, ($s1) -/* 47F98C 802188DC 00561021 */ addu $v0, $v0, $s6 -/* 47F990 802188E0 00620018 */ mult $v1, $v0 -/* 47F994 802188E4 00001812 */ mflo $v1 -/* 47F998 802188E8 04610003 */ bgez $v1, .L802188F8 -/* 47F99C 802188EC 26240002 */ addiu $a0, $s1, 2 -/* 47F9A0 802188F0 3402FFFF */ ori $v0, $zero, 0xffff -/* 47F9A4 802188F4 00621821 */ addu $v1, $v1, $v0 -.L802188F8: -/* 47F9A8 802188F8 00031403 */ sra $v0, $v1, 0x10 -/* 47F9AC 802188FC 3C018022 */ lui $at, %hi(D_80225FC0_48D070) -/* 47F9B0 80218900 D4225FC0 */ ldc1 $f2, %lo(D_80225FC0_48D070)($at) -/* 47F9B4 80218904 44820000 */ mtc1 $v0, $f0 -/* 47F9B8 80218908 00000000 */ nop -/* 47F9BC 8021890C 46800021 */ cvt.d.w $f0, $f0 -/* 47F9C0 80218910 46220000 */ add.d $f0, $f0, $f2 -/* 47F9C4 80218914 4620A03E */ c.le.d $f20, $f0 -/* 47F9C8 80218918 00000000 */ nop -/* 47F9CC 8021891C 45030005 */ bc1tl .L80218934 -/* 47F9D0 80218920 46340001 */ sub.d $f0, $f0, $f20 -/* 47F9D4 80218924 4620010D */ trunc.w.d $f4, $f0 -/* 47F9D8 80218928 44022000 */ mfc1 $v0, $f4 -/* 47F9DC 8021892C 08086252 */ j .L80218948 -/* 47F9E0 80218930 A0820000 */ sb $v0, ($a0) -.L80218934: -/* 47F9E4 80218934 4620010D */ trunc.w.d $f4, $f0 -/* 47F9E8 80218938 44022000 */ mfc1 $v0, $f4 -/* 47F9EC 8021893C 00000000 */ nop -/* 47F9F0 80218940 00551025 */ or $v0, $v0, $s5 -/* 47F9F4 80218944 A0820000 */ sb $v0, ($a0) -.L80218948: -/* 47F9F8 80218948 8FA20018 */ lw $v0, 0x18($sp) -/* 47F9FC 8021894C 26100001 */ addiu $s0, $s0, 1 -/* 47FA00 80218950 0202102A */ slt $v0, $s0, $v0 -/* 47FA04 80218954 1440FF77 */ bnez $v0, .L80218734 -/* 47FA08 80218958 02130018 */ mult $s0, $s3 -.L8021895C: -/* 47FA0C 8021895C 3C03800A */ lui $v1, %hi(gMasterGfxPos) -/* 47FA10 80218960 2463A66C */ addiu $v1, $v1, %lo(gMasterGfxPos) -/* 47FA14 80218964 8C620000 */ lw $v0, ($v1) -/* 47FA18 80218968 0240202D */ daddu $a0, $s2, $zero -/* 47FA1C 8021896C 0040802D */ daddu $s0, $v0, $zero -/* 47FA20 80218970 24420008 */ addiu $v0, $v0, 8 -/* 47FA24 80218974 AC620000 */ sw $v0, ($v1) -/* 47FA28 80218978 3C02DE00 */ lui $v0, 0xde00 -/* 47FA2C 8021897C 0C0470BB */ jal mdl_get_copied_gfx -/* 47FA30 80218980 AE020000 */ sw $v0, ($s0) -/* 47FA34 80218984 AE020004 */ sw $v0, 4($s0) -/* 47FA38 80218988 3C028022 */ lui $v0, %hi(D_80224BB0_48BC60) -/* 47FA3C 8021898C 24424BB0 */ addiu $v0, $v0, %lo(D_80224BB0_48BC60) -/* 47FA40 80218990 00121840 */ sll $v1, $s2, 1 -/* 47FA44 80218994 00621821 */ addu $v1, $v1, $v0 -/* 47FA48 80218998 94620000 */ lhu $v0, ($v1) -/* 47FA4C 8021899C 24420253 */ addiu $v0, $v0, 0x253 -/* 47FA50 802189A0 A4620000 */ sh $v0, ($v1) -/* 47FA54 802189A4 8FBF003C */ lw $ra, 0x3c($sp) -/* 47FA58 802189A8 8FB60038 */ lw $s6, 0x38($sp) -/* 47FA5C 802189AC 8FB50034 */ lw $s5, 0x34($sp) -/* 47FA60 802189B0 8FB40030 */ lw $s4, 0x30($sp) -/* 47FA64 802189B4 8FB3002C */ lw $s3, 0x2c($sp) -/* 47FA68 802189B8 8FB20028 */ lw $s2, 0x28($sp) -/* 47FA6C 802189BC 8FB10024 */ lw $s1, 0x24($sp) -/* 47FA70 802189C0 8FB00020 */ lw $s0, 0x20($sp) -/* 47FA74 802189C4 D7B40040 */ ldc1 $f20, 0x40($sp) -/* 47FA78 802189C8 03E00008 */ jr $ra -/* 47FA7C 802189CC 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/ver/us/asm/nonmatchings/battle/area_hos/47F570/func_802189D0_47FA80.s b/ver/us/asm/nonmatchings/battle/area_hos/47F570/func_802189D0_47FA80.s deleted file mode 100644 index 533317d917..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_hos/47F570/func_802189D0_47FA80.s +++ /dev/null @@ -1,224 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -.section .rodata - -dlabel D_80225FC8_48D078 -.double 67.45098039215686 - -dlabel D_80225FD0_48D080 -.double 59.21568627450981 - -.section .text - -glabel func_802189D0_47FA80 -/* 47FA80 802189D0 27BDFFB8 */ addiu $sp, $sp, -0x48 -/* 47FA84 802189D4 AFB20028 */ sw $s2, 0x28($sp) -/* 47FA88 802189D8 2492FFFF */ addiu $s2, $a0, -1 -/* 47FA8C 802189DC 0240202D */ daddu $a0, $s2, $zero -/* 47FA90 802189E0 27A50010 */ addiu $a1, $sp, 0x10 -/* 47FA94 802189E4 27A60014 */ addiu $a2, $sp, 0x14 -/* 47FA98 802189E8 AFBF003C */ sw $ra, 0x3c($sp) -/* 47FA9C 802189EC AFB60038 */ sw $s6, 0x38($sp) -/* 47FAA0 802189F0 AFB50034 */ sw $s5, 0x34($sp) -/* 47FAA4 802189F4 AFB40030 */ sw $s4, 0x30($sp) -/* 47FAA8 802189F8 AFB3002C */ sw $s3, 0x2c($sp) -/* 47FAAC 802189FC AFB10024 */ sw $s1, 0x24($sp) -/* 47FAB0 80218A00 AFB00020 */ sw $s0, 0x20($sp) -/* 47FAB4 80218A04 F7B40040 */ sdc1 $f20, 0x40($sp) -/* 47FAB8 80218A08 0C0470AC */ jal mdl_get_copied_vertices -/* 47FABC 80218A0C 27A70018 */ addiu $a3, $sp, 0x18 -/* 47FAC0 80218A10 8FA20018 */ lw $v0, 0x18($sp) -/* 47FAC4 80218A14 18400098 */ blez $v0, .L80218C78 -/* 47FAC8 80218A18 0000802D */ daddu $s0, $zero, $zero -/* 47FACC 80218A1C 3C038022 */ lui $v1, %hi(D_80224BB0_48BC60) -/* 47FAD0 80218A20 24634BB0 */ addiu $v1, $v1, %lo(D_80224BB0_48BC60) -/* 47FAD4 80218A24 00121040 */ sll $v0, $s2, 1 -/* 47FAD8 80218A28 0043A021 */ addu $s4, $v0, $v1 -/* 47FADC 80218A2C 3C135555 */ lui $s3, 0x5555 -/* 47FAE0 80218A30 36735556 */ ori $s3, $s3, 0x5556 -/* 47FAE4 80218A34 34168000 */ ori $s6, $zero, 0x8000 -/* 47FAE8 80218A38 3C0141E0 */ lui $at, 0x41e0 -/* 47FAEC 80218A3C 4481A800 */ mtc1 $at, $f21 -/* 47FAF0 80218A40 4480A000 */ mtc1 $zero, $f20 -/* 47FAF4 80218A44 3C158000 */ lui $s5, 0x8000 -/* 47FAF8 80218A48 02130018 */ mult $s0, $s3 -.L80218A4C: -/* 47FAFC 80218A4C 00101FC3 */ sra $v1, $s0, 0x1f -/* 47FB00 80218A50 00004810 */ mfhi $t1 -/* 47FB04 80218A54 01231823 */ subu $v1, $t1, $v1 -/* 47FB08 80218A58 00031040 */ sll $v0, $v1, 1 -/* 47FB0C 80218A5C 00431021 */ addu $v0, $v0, $v1 -/* 47FB10 80218A60 02021023 */ subu $v0, $s0, $v0 -/* 47FB14 80218A64 96830000 */ lhu $v1, ($s4) -/* 47FB18 80218A68 24420001 */ addiu $v0, $v0, 1 -/* 47FB1C 80218A6C 00620018 */ mult $v1, $v0 -/* 47FB20 80218A70 8FA20014 */ lw $v0, 0x14($sp) -/* 47FB24 80218A74 00001812 */ mflo $v1 -/* 47FB28 80218A78 00702021 */ addu $a0, $v1, $s0 -/* 47FB2C 80218A7C 3084FFFF */ andi $a0, $a0, 0xffff -/* 47FB30 80218A80 00101900 */ sll $v1, $s0, 4 -/* 47FB34 80218A84 00431021 */ addu $v0, $v0, $v1 -/* 47FB38 80218A88 0C01917C */ jal sins -/* 47FB3C 80218A8C 2451000C */ addiu $s1, $v0, 0xc -/* 47FB40 80218A90 00021400 */ sll $v0, $v0, 0x10 -/* 47FB44 80218A94 00021403 */ sra $v0, $v0, 0x10 -/* 47FB48 80218A98 00561021 */ addu $v0, $v0, $s6 -/* 47FB4C 80218A9C 00021FC2 */ srl $v1, $v0, 0x1f -/* 47FB50 80218AA0 00431021 */ addu $v0, $v0, $v1 -/* 47FB54 80218AA4 00021043 */ sra $v0, $v0, 1 -/* 47FB58 80218AA8 00021C00 */ sll $v1, $v0, 0x10 -/* 47FB5C 80218AAC 00031C03 */ sra $v1, $v1, 0x10 -/* 47FB60 80218AB0 00032080 */ sll $a0, $v1, 2 -/* 47FB64 80218AB4 00832021 */ addu $a0, $a0, $v1 -/* 47FB68 80218AB8 00041940 */ sll $v1, $a0, 5 -/* 47FB6C 80218ABC 00641823 */ subu $v1, $v1, $a0 -/* 47FB70 80218AC0 04610002 */ bgez $v1, .L80218ACC -/* 47FB74 80218AC4 0040202D */ daddu $a0, $v0, $zero -/* 47FB78 80218AC8 24637FFF */ addiu $v1, $v1, 0x7fff -.L80218ACC: -/* 47FB7C 80218ACC 000313C3 */ sra $v0, $v1, 0xf -/* 47FB80 80218AD0 3C018022 */ lui $at, %hi(D_80225FC8_48D078) -/* 47FB84 80218AD4 D4225FC8 */ ldc1 $f2, %lo(D_80225FC8_48D078)($at) -/* 47FB88 80218AD8 44820000 */ mtc1 $v0, $f0 -/* 47FB8C 80218ADC 00000000 */ nop -/* 47FB90 80218AE0 46800021 */ cvt.d.w $f0, $f0 -/* 47FB94 80218AE4 46220000 */ add.d $f0, $f0, $f2 -/* 47FB98 80218AE8 4620A03E */ c.le.d $f20, $f0 -/* 47FB9C 80218AEC 00000000 */ nop -/* 47FBA0 80218AF0 45030005 */ bc1tl .L80218B08 -/* 47FBA4 80218AF4 46340001 */ sub.d $f0, $f0, $f20 -/* 47FBA8 80218AF8 4620010D */ trunc.w.d $f4, $f0 -/* 47FBAC 80218AFC 44022000 */ mfc1 $v0, $f4 -/* 47FBB0 80218B00 080862C7 */ j .L80218B1C -/* 47FBB4 80218B04 A2220000 */ sb $v0, ($s1) -.L80218B08: -/* 47FBB8 80218B08 4620010D */ trunc.w.d $f4, $f0 -/* 47FBBC 80218B0C 44022000 */ mfc1 $v0, $f4 -/* 47FBC0 80218B10 00000000 */ nop -/* 47FBC4 80218B14 00551025 */ or $v0, $v0, $s5 -/* 47FBC8 80218B18 A2220000 */ sb $v0, ($s1) -.L80218B1C: -/* 47FBCC 80218B1C 00041400 */ sll $v0, $a0, 0x10 -/* 47FBD0 80218B20 00021403 */ sra $v0, $v0, 0x10 -/* 47FBD4 80218B24 00021880 */ sll $v1, $v0, 2 -/* 47FBD8 80218B28 00621821 */ addu $v1, $v1, $v0 -/* 47FBDC 80218B2C 00031140 */ sll $v0, $v1, 5 -/* 47FBE0 80218B30 00431023 */ subu $v0, $v0, $v1 -/* 47FBE4 80218B34 04410002 */ bgez $v0, .L80218B40 -/* 47FBE8 80218B38 26230001 */ addiu $v1, $s1, 1 -/* 47FBEC 80218B3C 24427FFF */ addiu $v0, $v0, 0x7fff -.L80218B40: -/* 47FBF0 80218B40 000213C3 */ sra $v0, $v0, 0xf -/* 47FBF4 80218B44 3C014059 */ lui $at, 0x4059 -/* 47FBF8 80218B48 44811800 */ mtc1 $at, $f3 -/* 47FBFC 80218B4C 44801000 */ mtc1 $zero, $f2 -/* 47FC00 80218B50 44820000 */ mtc1 $v0, $f0 -/* 47FC04 80218B54 00000000 */ nop -/* 47FC08 80218B58 46800021 */ cvt.d.w $f0, $f0 -/* 47FC0C 80218B5C 46220000 */ add.d $f0, $f0, $f2 -/* 47FC10 80218B60 4620A03E */ c.le.d $f20, $f0 -/* 47FC14 80218B64 00000000 */ nop -/* 47FC18 80218B68 45030005 */ bc1tl .L80218B80 -/* 47FC1C 80218B6C 46340001 */ sub.d $f0, $f0, $f20 -/* 47FC20 80218B70 4620010D */ trunc.w.d $f4, $f0 -/* 47FC24 80218B74 44022000 */ mfc1 $v0, $f4 -/* 47FC28 80218B78 080862E5 */ j .L80218B94 -/* 47FC2C 80218B7C A0620000 */ sb $v0, ($v1) -.L80218B80: -/* 47FC30 80218B80 4620010D */ trunc.w.d $f4, $f0 -/* 47FC34 80218B84 44022000 */ mfc1 $v0, $f4 -/* 47FC38 80218B88 00000000 */ nop -/* 47FC3C 80218B8C 00551025 */ or $v0, $v0, $s5 -/* 47FC40 80218B90 A0620000 */ sb $v0, ($v1) -.L80218B94: -/* 47FC44 80218B94 00101FC2 */ srl $v1, $s0, 0x1f -/* 47FC48 80218B98 02031821 */ addu $v1, $s0, $v1 -/* 47FC4C 80218B9C 00032843 */ sra $a1, $v1, 1 -/* 47FC50 80218BA0 00B30018 */ mult $a1, $s3 -/* 47FC54 80218BA4 96840000 */ lhu $a0, ($s4) -/* 47FC58 80218BA8 00031FC3 */ sra $v1, $v1, 0x1f -/* 47FC5C 80218BAC 000433C2 */ srl $a2, $a0, 0xf -/* 47FC60 80218BB0 00004810 */ mfhi $t1 -/* 47FC64 80218BB4 01231823 */ subu $v1, $t1, $v1 -/* 47FC68 80218BB8 00031040 */ sll $v0, $v1, 1 -/* 47FC6C 80218BBC 00431021 */ addu $v0, $v0, $v1 -/* 47FC70 80218BC0 00A22823 */ subu $a1, $a1, $v0 -/* 47FC74 80218BC4 24A50001 */ addiu $a1, $a1, 1 -/* 47FC78 80218BC8 00052BC0 */ sll $a1, $a1, 0xf -/* 47FC7C 80218BCC 00C50018 */ mult $a2, $a1 -/* 47FC80 80218BD0 00042382 */ srl $a0, $a0, 0xe -/* 47FC84 80218BD4 000423C0 */ sll $a0, $a0, 0xf -/* 47FC88 80218BD8 00001812 */ mflo $v1 -/* 47FC8C 80218BDC 00642021 */ addu $a0, $v1, $a0 -/* 47FC90 80218BE0 00902021 */ addu $a0, $a0, $s0 -/* 47FC94 80218BE4 0C01917C */ jal sins -/* 47FC98 80218BE8 3084FFFF */ andi $a0, $a0, 0xffff -/* 47FC9C 80218BEC 00021400 */ sll $v0, $v0, 0x10 -/* 47FCA0 80218BF0 00021403 */ sra $v0, $v0, 0x10 -/* 47FCA4 80218BF4 92230000 */ lbu $v1, ($s1) -/* 47FCA8 80218BF8 00561021 */ addu $v0, $v0, $s6 -/* 47FCAC 80218BFC 00620018 */ mult $v1, $v0 -/* 47FCB0 80218C00 00001812 */ mflo $v1 -/* 47FCB4 80218C04 04610003 */ bgez $v1, .L80218C14 -/* 47FCB8 80218C08 26240002 */ addiu $a0, $s1, 2 -/* 47FCBC 80218C0C 3402FFFF */ ori $v0, $zero, 0xffff -/* 47FCC0 80218C10 00621821 */ addu $v1, $v1, $v0 -.L80218C14: -/* 47FCC4 80218C14 00031403 */ sra $v0, $v1, 0x10 -/* 47FCC8 80218C18 3C018022 */ lui $at, %hi(D_80225FD0_48D080) -/* 47FCCC 80218C1C D4225FD0 */ ldc1 $f2, %lo(D_80225FD0_48D080)($at) -/* 47FCD0 80218C20 44820000 */ mtc1 $v0, $f0 -/* 47FCD4 80218C24 00000000 */ nop -/* 47FCD8 80218C28 46800021 */ cvt.d.w $f0, $f0 -/* 47FCDC 80218C2C 46220000 */ add.d $f0, $f0, $f2 -/* 47FCE0 80218C30 4620A03E */ c.le.d $f20, $f0 -/* 47FCE4 80218C34 00000000 */ nop -/* 47FCE8 80218C38 45030005 */ bc1tl .L80218C50 -/* 47FCEC 80218C3C 46340001 */ sub.d $f0, $f0, $f20 -/* 47FCF0 80218C40 4620010D */ trunc.w.d $f4, $f0 -/* 47FCF4 80218C44 44022000 */ mfc1 $v0, $f4 -/* 47FCF8 80218C48 08086319 */ j .L80218C64 -/* 47FCFC 80218C4C A0820000 */ sb $v0, ($a0) -.L80218C50: -/* 47FD00 80218C50 4620010D */ trunc.w.d $f4, $f0 -/* 47FD04 80218C54 44022000 */ mfc1 $v0, $f4 -/* 47FD08 80218C58 00000000 */ nop -/* 47FD0C 80218C5C 00551025 */ or $v0, $v0, $s5 -/* 47FD10 80218C60 A0820000 */ sb $v0, ($a0) -.L80218C64: -/* 47FD14 80218C64 8FA20018 */ lw $v0, 0x18($sp) -/* 47FD18 80218C68 26100001 */ addiu $s0, $s0, 1 -/* 47FD1C 80218C6C 0202102A */ slt $v0, $s0, $v0 -/* 47FD20 80218C70 1440FF76 */ bnez $v0, .L80218A4C -/* 47FD24 80218C74 02130018 */ mult $s0, $s3 -.L80218C78: -/* 47FD28 80218C78 3C03800A */ lui $v1, %hi(gMasterGfxPos) -/* 47FD2C 80218C7C 2463A66C */ addiu $v1, $v1, %lo(gMasterGfxPos) -/* 47FD30 80218C80 8C620000 */ lw $v0, ($v1) -/* 47FD34 80218C84 0240202D */ daddu $a0, $s2, $zero -/* 47FD38 80218C88 0040802D */ daddu $s0, $v0, $zero -/* 47FD3C 80218C8C 24420008 */ addiu $v0, $v0, 8 -/* 47FD40 80218C90 AC620000 */ sw $v0, ($v1) -/* 47FD44 80218C94 3C02DE00 */ lui $v0, 0xde00 -/* 47FD48 80218C98 0C0470BB */ jal mdl_get_copied_gfx -/* 47FD4C 80218C9C AE020000 */ sw $v0, ($s0) -/* 47FD50 80218CA0 AE020004 */ sw $v0, 4($s0) -/* 47FD54 80218CA4 3C028022 */ lui $v0, %hi(D_80224BB0_48BC60) -/* 47FD58 80218CA8 24424BB0 */ addiu $v0, $v0, %lo(D_80224BB0_48BC60) -/* 47FD5C 80218CAC 00121840 */ sll $v1, $s2, 1 -/* 47FD60 80218CB0 00621821 */ addu $v1, $v1, $v0 -/* 47FD64 80218CB4 94620000 */ lhu $v0, ($v1) -/* 47FD68 80218CB8 24420253 */ addiu $v0, $v0, 0x253 -/* 47FD6C 80218CBC A4620000 */ sh $v0, ($v1) -/* 47FD70 80218CC0 8FBF003C */ lw $ra, 0x3c($sp) -/* 47FD74 80218CC4 8FB60038 */ lw $s6, 0x38($sp) -/* 47FD78 80218CC8 8FB50034 */ lw $s5, 0x34($sp) -/* 47FD7C 80218CCC 8FB40030 */ lw $s4, 0x30($sp) -/* 47FD80 80218CD0 8FB3002C */ lw $s3, 0x2c($sp) -/* 47FD84 80218CD4 8FB20028 */ lw $s2, 0x28($sp) -/* 47FD88 80218CD8 8FB10024 */ lw $s1, 0x24($sp) -/* 47FD8C 80218CDC 8FB00020 */ lw $s0, 0x20($sp) -/* 47FD90 80218CE0 D7B40040 */ ldc1 $f20, 0x40($sp) -/* 47FD94 80218CE4 03E00008 */ jr $ra -/* 47FD98 80218CE8 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/ver/us/asm/nonmatchings/battle/area_hos/47F570/func_80218CEC_47FD9C.s b/ver/us/asm/nonmatchings/battle/area_hos/47F570/func_80218CEC_47FD9C.s deleted file mode 100644 index 83cdf007ff..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_hos/47F570/func_80218CEC_47FD9C.s +++ /dev/null @@ -1,224 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -.section .rodata - -dlabel D_80225FD8_48D088 -.double 80.3921568627451 - -dlabel D_80225FE0_48D090 -.double 96.07843137254902 - -.section .text - -glabel func_80218CEC_47FD9C -/* 47FD9C 80218CEC 27BDFFB8 */ addiu $sp, $sp, -0x48 -/* 47FDA0 80218CF0 AFB20028 */ sw $s2, 0x28($sp) -/* 47FDA4 80218CF4 2492FFFF */ addiu $s2, $a0, -1 -/* 47FDA8 80218CF8 0240202D */ daddu $a0, $s2, $zero -/* 47FDAC 80218CFC 27A50010 */ addiu $a1, $sp, 0x10 -/* 47FDB0 80218D00 27A60014 */ addiu $a2, $sp, 0x14 -/* 47FDB4 80218D04 AFBF003C */ sw $ra, 0x3c($sp) -/* 47FDB8 80218D08 AFB60038 */ sw $s6, 0x38($sp) -/* 47FDBC 80218D0C AFB50034 */ sw $s5, 0x34($sp) -/* 47FDC0 80218D10 AFB40030 */ sw $s4, 0x30($sp) -/* 47FDC4 80218D14 AFB3002C */ sw $s3, 0x2c($sp) -/* 47FDC8 80218D18 AFB10024 */ sw $s1, 0x24($sp) -/* 47FDCC 80218D1C AFB00020 */ sw $s0, 0x20($sp) -/* 47FDD0 80218D20 F7B40040 */ sdc1 $f20, 0x40($sp) -/* 47FDD4 80218D24 0C0470AC */ jal mdl_get_copied_vertices -/* 47FDD8 80218D28 27A70018 */ addiu $a3, $sp, 0x18 -/* 47FDDC 80218D2C 8FA20018 */ lw $v0, 0x18($sp) -/* 47FDE0 80218D30 18400098 */ blez $v0, .L80218F94 -/* 47FDE4 80218D34 0000802D */ daddu $s0, $zero, $zero -/* 47FDE8 80218D38 3C038022 */ lui $v1, %hi(D_80224BB0_48BC60) -/* 47FDEC 80218D3C 24634BB0 */ addiu $v1, $v1, %lo(D_80224BB0_48BC60) -/* 47FDF0 80218D40 00121040 */ sll $v0, $s2, 1 -/* 47FDF4 80218D44 0043A021 */ addu $s4, $v0, $v1 -/* 47FDF8 80218D48 3C135555 */ lui $s3, 0x5555 -/* 47FDFC 80218D4C 36735556 */ ori $s3, $s3, 0x5556 -/* 47FE00 80218D50 34168000 */ ori $s6, $zero, 0x8000 -/* 47FE04 80218D54 3C0141E0 */ lui $at, 0x41e0 -/* 47FE08 80218D58 4481A800 */ mtc1 $at, $f21 -/* 47FE0C 80218D5C 4480A000 */ mtc1 $zero, $f20 -/* 47FE10 80218D60 3C158000 */ lui $s5, 0x8000 -/* 47FE14 80218D64 02130018 */ mult $s0, $s3 -.L80218D68: -/* 47FE18 80218D68 00101FC3 */ sra $v1, $s0, 0x1f -/* 47FE1C 80218D6C 00004810 */ mfhi $t1 -/* 47FE20 80218D70 01231823 */ subu $v1, $t1, $v1 -/* 47FE24 80218D74 00031040 */ sll $v0, $v1, 1 -/* 47FE28 80218D78 00431021 */ addu $v0, $v0, $v1 -/* 47FE2C 80218D7C 02021023 */ subu $v0, $s0, $v0 -/* 47FE30 80218D80 96830000 */ lhu $v1, ($s4) -/* 47FE34 80218D84 24420001 */ addiu $v0, $v0, 1 -/* 47FE38 80218D88 00620018 */ mult $v1, $v0 -/* 47FE3C 80218D8C 8FA20014 */ lw $v0, 0x14($sp) -/* 47FE40 80218D90 00001812 */ mflo $v1 -/* 47FE44 80218D94 00702021 */ addu $a0, $v1, $s0 -/* 47FE48 80218D98 3084FFFF */ andi $a0, $a0, 0xffff -/* 47FE4C 80218D9C 00101900 */ sll $v1, $s0, 4 -/* 47FE50 80218DA0 00431021 */ addu $v0, $v0, $v1 -/* 47FE54 80218DA4 0C01917C */ jal sins -/* 47FE58 80218DA8 2451000C */ addiu $s1, $v0, 0xc -/* 47FE5C 80218DAC 00021400 */ sll $v0, $v0, 0x10 -/* 47FE60 80218DB0 00021403 */ sra $v0, $v0, 0x10 -/* 47FE64 80218DB4 00561021 */ addu $v0, $v0, $s6 -/* 47FE68 80218DB8 00021FC2 */ srl $v1, $v0, 0x1f -/* 47FE6C 80218DBC 00431021 */ addu $v0, $v0, $v1 -/* 47FE70 80218DC0 00021043 */ sra $v0, $v0, 1 -/* 47FE74 80218DC4 00021C00 */ sll $v1, $v0, 0x10 -/* 47FE78 80218DC8 00031C03 */ sra $v1, $v1, 0x10 -/* 47FE7C 80218DCC 00032080 */ sll $a0, $v1, 2 -/* 47FE80 80218DD0 00832021 */ addu $a0, $a0, $v1 -/* 47FE84 80218DD4 00041940 */ sll $v1, $a0, 5 -/* 47FE88 80218DD8 00641823 */ subu $v1, $v1, $a0 -/* 47FE8C 80218DDC 04610002 */ bgez $v1, .L80218DE8 -/* 47FE90 80218DE0 0040202D */ daddu $a0, $v0, $zero -/* 47FE94 80218DE4 24637FFF */ addiu $v1, $v1, 0x7fff -.L80218DE8: -/* 47FE98 80218DE8 000313C3 */ sra $v0, $v1, 0xf -/* 47FE9C 80218DEC 3C014059 */ lui $at, 0x4059 -/* 47FEA0 80218DF0 44811800 */ mtc1 $at, $f3 -/* 47FEA4 80218DF4 44801000 */ mtc1 $zero, $f2 -/* 47FEA8 80218DF8 44820000 */ mtc1 $v0, $f0 -/* 47FEAC 80218DFC 00000000 */ nop -/* 47FEB0 80218E00 46800021 */ cvt.d.w $f0, $f0 -/* 47FEB4 80218E04 46220000 */ add.d $f0, $f0, $f2 -/* 47FEB8 80218E08 4620A03E */ c.le.d $f20, $f0 -/* 47FEBC 80218E0C 00000000 */ nop -/* 47FEC0 80218E10 45030005 */ bc1tl .L80218E28 -/* 47FEC4 80218E14 46340001 */ sub.d $f0, $f0, $f20 -/* 47FEC8 80218E18 4620010D */ trunc.w.d $f4, $f0 -/* 47FECC 80218E1C 44022000 */ mfc1 $v0, $f4 -/* 47FED0 80218E20 0808638F */ j .L80218E3C -/* 47FED4 80218E24 A2220000 */ sb $v0, ($s1) -.L80218E28: -/* 47FED8 80218E28 4620010D */ trunc.w.d $f4, $f0 -/* 47FEDC 80218E2C 44022000 */ mfc1 $v0, $f4 -/* 47FEE0 80218E30 00000000 */ nop -/* 47FEE4 80218E34 00551025 */ or $v0, $v0, $s5 -/* 47FEE8 80218E38 A2220000 */ sb $v0, ($s1) -.L80218E3C: -/* 47FEEC 80218E3C 00041400 */ sll $v0, $a0, 0x10 -/* 47FEF0 80218E40 00021403 */ sra $v0, $v0, 0x10 -/* 47FEF4 80218E44 00021880 */ sll $v1, $v0, 2 -/* 47FEF8 80218E48 00621821 */ addu $v1, $v1, $v0 -/* 47FEFC 80218E4C 00031140 */ sll $v0, $v1, 5 -/* 47FF00 80218E50 00431023 */ subu $v0, $v0, $v1 -/* 47FF04 80218E54 04410002 */ bgez $v0, .L80218E60 -/* 47FF08 80218E58 26230001 */ addiu $v1, $s1, 1 -/* 47FF0C 80218E5C 24427FFF */ addiu $v0, $v0, 0x7fff -.L80218E60: -/* 47FF10 80218E60 000213C3 */ sra $v0, $v0, 0xf -/* 47FF14 80218E64 3C018022 */ lui $at, %hi(D_80225FD8_48D088) -/* 47FF18 80218E68 D4225FD8 */ ldc1 $f2, %lo(D_80225FD8_48D088)($at) -/* 47FF1C 80218E6C 44820000 */ mtc1 $v0, $f0 -/* 47FF20 80218E70 00000000 */ nop -/* 47FF24 80218E74 46800021 */ cvt.d.w $f0, $f0 -/* 47FF28 80218E78 46220000 */ add.d $f0, $f0, $f2 -/* 47FF2C 80218E7C 4620A03E */ c.le.d $f20, $f0 -/* 47FF30 80218E80 00000000 */ nop -/* 47FF34 80218E84 45030005 */ bc1tl .L80218E9C -/* 47FF38 80218E88 46340001 */ sub.d $f0, $f0, $f20 -/* 47FF3C 80218E8C 4620010D */ trunc.w.d $f4, $f0 -/* 47FF40 80218E90 44022000 */ mfc1 $v0, $f4 -/* 47FF44 80218E94 080863AC */ j .L80218EB0 -/* 47FF48 80218E98 A0620000 */ sb $v0, ($v1) -.L80218E9C: -/* 47FF4C 80218E9C 4620010D */ trunc.w.d $f4, $f0 -/* 47FF50 80218EA0 44022000 */ mfc1 $v0, $f4 -/* 47FF54 80218EA4 00000000 */ nop -/* 47FF58 80218EA8 00551025 */ or $v0, $v0, $s5 -/* 47FF5C 80218EAC A0620000 */ sb $v0, ($v1) -.L80218EB0: -/* 47FF60 80218EB0 00101FC2 */ srl $v1, $s0, 0x1f -/* 47FF64 80218EB4 02031821 */ addu $v1, $s0, $v1 -/* 47FF68 80218EB8 00032843 */ sra $a1, $v1, 1 -/* 47FF6C 80218EBC 00B30018 */ mult $a1, $s3 -/* 47FF70 80218EC0 96840000 */ lhu $a0, ($s4) -/* 47FF74 80218EC4 00031FC3 */ sra $v1, $v1, 0x1f -/* 47FF78 80218EC8 000433C2 */ srl $a2, $a0, 0xf -/* 47FF7C 80218ECC 00004810 */ mfhi $t1 -/* 47FF80 80218ED0 01231823 */ subu $v1, $t1, $v1 -/* 47FF84 80218ED4 00031040 */ sll $v0, $v1, 1 -/* 47FF88 80218ED8 00431021 */ addu $v0, $v0, $v1 -/* 47FF8C 80218EDC 00A22823 */ subu $a1, $a1, $v0 -/* 47FF90 80218EE0 24A50001 */ addiu $a1, $a1, 1 -/* 47FF94 80218EE4 00052BC0 */ sll $a1, $a1, 0xf -/* 47FF98 80218EE8 00C50018 */ mult $a2, $a1 -/* 47FF9C 80218EEC 00042382 */ srl $a0, $a0, 0xe -/* 47FFA0 80218EF0 000423C0 */ sll $a0, $a0, 0xf -/* 47FFA4 80218EF4 00001812 */ mflo $v1 -/* 47FFA8 80218EF8 00642021 */ addu $a0, $v1, $a0 -/* 47FFAC 80218EFC 00902021 */ addu $a0, $a0, $s0 -/* 47FFB0 80218F00 0C01917C */ jal sins -/* 47FFB4 80218F04 3084FFFF */ andi $a0, $a0, 0xffff -/* 47FFB8 80218F08 00021400 */ sll $v0, $v0, 0x10 -/* 47FFBC 80218F0C 00021403 */ sra $v0, $v0, 0x10 -/* 47FFC0 80218F10 92230000 */ lbu $v1, ($s1) -/* 47FFC4 80218F14 00561021 */ addu $v0, $v0, $s6 -/* 47FFC8 80218F18 00620018 */ mult $v1, $v0 -/* 47FFCC 80218F1C 00001812 */ mflo $v1 -/* 47FFD0 80218F20 04610003 */ bgez $v1, .L80218F30 -/* 47FFD4 80218F24 26240002 */ addiu $a0, $s1, 2 -/* 47FFD8 80218F28 3402FFFF */ ori $v0, $zero, 0xffff -/* 47FFDC 80218F2C 00621821 */ addu $v1, $v1, $v0 -.L80218F30: -/* 47FFE0 80218F30 00031403 */ sra $v0, $v1, 0x10 -/* 47FFE4 80218F34 3C018022 */ lui $at, %hi(D_80225FE0_48D090) -/* 47FFE8 80218F38 D4225FE0 */ ldc1 $f2, %lo(D_80225FE0_48D090)($at) -/* 47FFEC 80218F3C 44820000 */ mtc1 $v0, $f0 -/* 47FFF0 80218F40 00000000 */ nop -/* 47FFF4 80218F44 46800021 */ cvt.d.w $f0, $f0 -/* 47FFF8 80218F48 46220000 */ add.d $f0, $f0, $f2 -/* 47FFFC 80218F4C 4620A03E */ c.le.d $f20, $f0 -/* 480000 80218F50 00000000 */ nop -/* 480004 80218F54 45030005 */ bc1tl .L80218F6C -/* 480008 80218F58 46340001 */ sub.d $f0, $f0, $f20 -/* 48000C 80218F5C 4620010D */ trunc.w.d $f4, $f0 -/* 480010 80218F60 44022000 */ mfc1 $v0, $f4 -/* 480014 80218F64 080863E0 */ j .L80218F80 -/* 480018 80218F68 A0820000 */ sb $v0, ($a0) -.L80218F6C: -/* 48001C 80218F6C 4620010D */ trunc.w.d $f4, $f0 -/* 480020 80218F70 44022000 */ mfc1 $v0, $f4 -/* 480024 80218F74 00000000 */ nop -/* 480028 80218F78 00551025 */ or $v0, $v0, $s5 -/* 48002C 80218F7C A0820000 */ sb $v0, ($a0) -.L80218F80: -/* 480030 80218F80 8FA20018 */ lw $v0, 0x18($sp) -/* 480034 80218F84 26100001 */ addiu $s0, $s0, 1 -/* 480038 80218F88 0202102A */ slt $v0, $s0, $v0 -/* 48003C 80218F8C 1440FF76 */ bnez $v0, .L80218D68 -/* 480040 80218F90 02130018 */ mult $s0, $s3 -.L80218F94: -/* 480044 80218F94 3C03800A */ lui $v1, %hi(gMasterGfxPos) -/* 480048 80218F98 2463A66C */ addiu $v1, $v1, %lo(gMasterGfxPos) -/* 48004C 80218F9C 8C620000 */ lw $v0, ($v1) -/* 480050 80218FA0 0240202D */ daddu $a0, $s2, $zero -/* 480054 80218FA4 0040802D */ daddu $s0, $v0, $zero -/* 480058 80218FA8 24420008 */ addiu $v0, $v0, 8 -/* 48005C 80218FAC AC620000 */ sw $v0, ($v1) -/* 480060 80218FB0 3C02DE00 */ lui $v0, 0xde00 -/* 480064 80218FB4 0C0470BB */ jal mdl_get_copied_gfx -/* 480068 80218FB8 AE020000 */ sw $v0, ($s0) -/* 48006C 80218FBC AE020004 */ sw $v0, 4($s0) -/* 480070 80218FC0 3C028022 */ lui $v0, %hi(D_80224BB0_48BC60) -/* 480074 80218FC4 24424BB0 */ addiu $v0, $v0, %lo(D_80224BB0_48BC60) -/* 480078 80218FC8 00121840 */ sll $v1, $s2, 1 -/* 48007C 80218FCC 00621821 */ addu $v1, $v1, $v0 -/* 480080 80218FD0 94620000 */ lhu $v0, ($v1) -/* 480084 80218FD4 24420253 */ addiu $v0, $v0, 0x253 -/* 480088 80218FD8 A4620000 */ sh $v0, ($v1) -/* 48008C 80218FDC 8FBF003C */ lw $ra, 0x3c($sp) -/* 480090 80218FE0 8FB60038 */ lw $s6, 0x38($sp) -/* 480094 80218FE4 8FB50034 */ lw $s5, 0x34($sp) -/* 480098 80218FE8 8FB40030 */ lw $s4, 0x30($sp) -/* 48009C 80218FEC 8FB3002C */ lw $s3, 0x2c($sp) -/* 4800A0 80218FF0 8FB20028 */ lw $s2, 0x28($sp) -/* 4800A4 80218FF4 8FB10024 */ lw $s1, 0x24($sp) -/* 4800A8 80218FF8 8FB00020 */ lw $s0, 0x20($sp) -/* 4800AC 80218FFC D7B40040 */ ldc1 $f20, 0x40($sp) -/* 4800B0 80219000 03E00008 */ jr $ra -/* 4800B4 80219004 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_802181E4_69F3E4.s b/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_802181E4_69F3E4.s deleted file mode 100644 index 94596d95ee..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_802181E4_69F3E4.s +++ /dev/null @@ -1,254 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802181E4_69F3E4 -/* 69F3E4 802181E4 27BDFF58 */ addiu $sp, $sp, -0xa8 -/* 69F3E8 802181E8 AFB30074 */ sw $s3, 0x74($sp) -/* 69F3EC 802181EC 0080982D */ daddu $s3, $a0, $zero -/* 69F3F0 802181F0 AFBF0088 */ sw $ra, 0x88($sp) -/* 69F3F4 802181F4 AFB70084 */ sw $s7, 0x84($sp) -/* 69F3F8 802181F8 AFB60080 */ sw $s6, 0x80($sp) -/* 69F3FC 802181FC AFB5007C */ sw $s5, 0x7c($sp) -/* 69F400 80218200 AFB40078 */ sw $s4, 0x78($sp) -/* 69F404 80218204 AFB20070 */ sw $s2, 0x70($sp) -/* 69F408 80218208 AFB1006C */ sw $s1, 0x6c($sp) -/* 69F40C 8021820C AFB00068 */ sw $s0, 0x68($sp) -/* 69F410 80218210 F7B800A0 */ sdc1 $f24, 0xa0($sp) -/* 69F414 80218214 F7B60098 */ sdc1 $f22, 0x98($sp) -/* 69F418 80218218 F7B40090 */ sdc1 $f20, 0x90($sp) -/* 69F41C 8021821C 8E640148 */ lw $a0, 0x148($s3) -/* 69F420 80218220 0C09A75B */ jal get_actor -/* 69F424 80218224 00A0802D */ daddu $s0, $a1, $zero -/* 69F428 80218228 14400003 */ bnez $v0, .L80218238 -/* 69F42C 8021822C 0040202D */ daddu $a0, $v0, $zero -/* 69F430 80218230 08086154 */ j .L80218550 -/* 69F434 80218234 24020002 */ addiu $v0, $zero, 2 -.L80218238: -/* 69F438 80218238 0C099117 */ jal get_actor_part -/* 69F43C 8021823C 24050001 */ addiu $a1, $zero, 1 -/* 69F440 80218240 12000013 */ beqz $s0, .L80218290 -/* 69F444 80218244 0040A82D */ daddu $s5, $v0, $zero -/* 69F448 80218248 0000802D */ daddu $s0, $zero, $zero -/* 69F44C 8021824C 241100FF */ addiu $s1, $zero, 0xff -/* 69F450 80218250 AE600074 */ sw $zero, 0x74($s3) -/* 69F454 80218254 AE600078 */ sw $zero, 0x78($s3) -/* 69F458 80218258 AE600070 */ sw $zero, 0x70($s3) -/* 69F45C 8021825C 0200282D */ daddu $a1, $s0, $zero -.L80218260: -/* 69F460 80218260 24060011 */ addiu $a2, $zero, 0x11 -/* 69F464 80218264 24070014 */ addiu $a3, $zero, 0x14 -/* 69F468 80218268 AFA00010 */ sw $zero, 0x10($sp) -/* 69F46C 8021826C AFA00014 */ sw $zero, 0x14($sp) -/* 69F470 80218270 AFB10018 */ sw $s1, 0x18($sp) -/* 69F474 80218274 AFA0001C */ sw $zero, 0x1c($sp) -/* 69F478 80218278 8EA40084 */ lw $a0, 0x84($s5) -/* 69F47C 8021827C 0C0B79E0 */ jal func_802DE780 -/* 69F480 80218280 26100001 */ addiu $s0, $s0, 1 -/* 69F484 80218284 2A02000A */ slti $v0, $s0, 0xa -/* 69F488 80218288 1440FFF5 */ bnez $v0, .L80218260 -/* 69F48C 8021828C 0200282D */ daddu $a1, $s0, $zero -.L80218290: -/* 69F490 80218290 8E620074 */ lw $v0, 0x74($s3) -/* 69F494 80218294 2444000A */ addiu $a0, $v0, 0xa -/* 69F498 80218298 28820168 */ slti $v0, $a0, 0x168 -/* 69F49C 8021829C 14400010 */ bnez $v0, .L802182E0 -/* 69F4A0 802182A0 AE640074 */ sw $a0, 0x74($s3) -/* 69F4A4 802182A4 3C02B60B */ lui $v0, 0xb60b -/* 69F4A8 802182A8 344260B7 */ ori $v0, $v0, 0x60b7 -/* 69F4AC 802182AC 00820018 */ mult $a0, $v0 -/* 69F4B0 802182B0 00041FC3 */ sra $v1, $a0, 0x1f -/* 69F4B4 802182B4 00004010 */ mfhi $t0 -/* 69F4B8 802182B8 01041021 */ addu $v0, $t0, $a0 -/* 69F4BC 802182BC 00021203 */ sra $v0, $v0, 8 -/* 69F4C0 802182C0 00431023 */ subu $v0, $v0, $v1 -/* 69F4C4 802182C4 00021840 */ sll $v1, $v0, 1 -/* 69F4C8 802182C8 00621821 */ addu $v1, $v1, $v0 -/* 69F4CC 802182CC 00031100 */ sll $v0, $v1, 4 -/* 69F4D0 802182D0 00431023 */ subu $v0, $v0, $v1 -/* 69F4D4 802182D4 000210C0 */ sll $v0, $v0, 3 -/* 69F4D8 802182D8 00821023 */ subu $v0, $a0, $v0 -/* 69F4DC 802182DC AE620074 */ sw $v0, 0x74($s3) -.L802182E0: -/* 69F4E0 802182E0 0000882D */ daddu $s1, $zero, $zero -/* 69F4E4 802182E4 3C128000 */ lui $s2, 0x8000 -/* 69F4E8 802182E8 0220802D */ daddu $s0, $s1, $zero -/* 69F4EC 802182EC 3C013FF0 */ lui $at, 0x3ff0 -/* 69F4F0 802182F0 4481C800 */ mtc1 $at, $f25 -/* 69F4F4 802182F4 4480C000 */ mtc1 $zero, $f24 -/* 69F4F8 802182F8 3C01404C */ lui $at, 0x404c -/* 69F4FC 802182FC 4481B800 */ mtc1 $at, $f23 -/* 69F500 80218300 4480B000 */ mtc1 $zero, $f22 -/* 69F504 80218304 3C0141E0 */ lui $at, 0x41e0 -/* 69F508 80218308 4481A800 */ mtc1 $at, $f21 -/* 69F50C 8021830C 4480A000 */ mtc1 $zero, $f20 -.L80218310: -/* 69F510 80218310 96640076 */ lhu $a0, 0x76($s3) -/* 69F514 80218314 00902021 */ addu $a0, $a0, $s0 -/* 69F518 80218318 24840078 */ addiu $a0, $a0, 0x78 -/* 69F51C 8021831C 00042400 */ sll $a0, $a0, 0x10 -/* 69F520 80218320 0C00A4F5 */ jal cosine -/* 69F524 80218324 00042403 */ sra $a0, $a0, 0x10 -/* 69F528 80218328 46000021 */ cvt.d.s $f0, $f0 -/* 69F52C 8021832C 46380000 */ add.d $f0, $f0, $f24 -/* 69F530 80218330 46360002 */ mul.d $f0, $f0, $f22 -/* 69F534 80218334 00000000 */ nop -/* 69F538 80218338 27A20020 */ addiu $v0, $sp, 0x20 -/* 69F53C 8021833C 4620A03E */ c.le.d $f20, $f0 -/* 69F540 80218340 00000000 */ nop -/* 69F544 80218344 45010005 */ bc1t .L8021835C -/* 69F548 80218348 00511021 */ addu $v0, $v0, $s1 -/* 69F54C 8021834C 4620008D */ trunc.w.d $f2, $f0 -/* 69F550 80218350 44031000 */ mfc1 $v1, $f2 -/* 69F554 80218354 080860DD */ j .L80218374 -/* 69F558 80218358 A0430000 */ sb $v1, ($v0) -.L8021835C: -/* 69F55C 8021835C 46340001 */ sub.d $f0, $f0, $f20 -/* 69F560 80218360 4620008D */ trunc.w.d $f2, $f0 -/* 69F564 80218364 44031000 */ mfc1 $v1, $f2 -/* 69F568 80218368 00000000 */ nop -/* 69F56C 8021836C 00721825 */ or $v1, $v1, $s2 -/* 69F570 80218370 A0430000 */ sb $v1, ($v0) -.L80218374: -/* 69F574 80218374 96640076 */ lhu $a0, 0x76($s3) -/* 69F578 80218378 00902021 */ addu $a0, $a0, $s0 -/* 69F57C 8021837C 2484003C */ addiu $a0, $a0, 0x3c -/* 69F580 80218380 00042400 */ sll $a0, $a0, 0x10 -/* 69F584 80218384 0C00A4F5 */ jal cosine -/* 69F588 80218388 00042403 */ sra $a0, $a0, 0x10 -/* 69F58C 8021838C 46000021 */ cvt.d.s $f0, $f0 -/* 69F590 80218390 46380000 */ add.d $f0, $f0, $f24 -/* 69F594 80218394 46360002 */ mul.d $f0, $f0, $f22 -/* 69F598 80218398 00000000 */ nop -/* 69F59C 8021839C 27A20038 */ addiu $v0, $sp, 0x38 -/* 69F5A0 802183A0 4620A03E */ c.le.d $f20, $f0 -/* 69F5A4 802183A4 00000000 */ nop -/* 69F5A8 802183A8 45010005 */ bc1t .L802183C0 -/* 69F5AC 802183AC 00511021 */ addu $v0, $v0, $s1 -/* 69F5B0 802183B0 4620008D */ trunc.w.d $f2, $f0 -/* 69F5B4 802183B4 44031000 */ mfc1 $v1, $f2 -/* 69F5B8 802183B8 080860F6 */ j .L802183D8 -/* 69F5BC 802183BC A0430000 */ sb $v1, ($v0) -.L802183C0: -/* 69F5C0 802183C0 46340001 */ sub.d $f0, $f0, $f20 -/* 69F5C4 802183C4 4620008D */ trunc.w.d $f2, $f0 -/* 69F5C8 802183C8 44031000 */ mfc1 $v1, $f2 -/* 69F5CC 802183CC 00000000 */ nop -/* 69F5D0 802183D0 00721825 */ or $v1, $v1, $s2 -/* 69F5D4 802183D4 A0430000 */ sb $v1, ($v0) -.L802183D8: -/* 69F5D8 802183D8 96640076 */ lhu $a0, 0x76($s3) -/* 69F5DC 802183DC 00902021 */ addu $a0, $a0, $s0 -/* 69F5E0 802183E0 248400B4 */ addiu $a0, $a0, 0xb4 -/* 69F5E4 802183E4 00042400 */ sll $a0, $a0, 0x10 -/* 69F5E8 802183E8 0C00A4F5 */ jal cosine -/* 69F5EC 802183EC 00042403 */ sra $a0, $a0, 0x10 -/* 69F5F0 802183F0 46000021 */ cvt.d.s $f0, $f0 -/* 69F5F4 802183F4 46380000 */ add.d $f0, $f0, $f24 -/* 69F5F8 802183F8 46360002 */ mul.d $f0, $f0, $f22 -/* 69F5FC 802183FC 00000000 */ nop -/* 69F600 80218400 27A20050 */ addiu $v0, $sp, 0x50 -/* 69F604 80218404 4620A03E */ c.le.d $f20, $f0 -/* 69F608 80218408 00000000 */ nop -/* 69F60C 8021840C 45010005 */ bc1t .L80218424 -/* 69F610 80218410 00511021 */ addu $v0, $v0, $s1 -/* 69F614 80218414 4620008D */ trunc.w.d $f2, $f0 -/* 69F618 80218418 44031000 */ mfc1 $v1, $f2 -/* 69F61C 8021841C 0808610F */ j .L8021843C -/* 69F620 80218420 A0430000 */ sb $v1, ($v0) -.L80218424: -/* 69F624 80218424 46340001 */ sub.d $f0, $f0, $f20 -/* 69F628 80218428 4620008D */ trunc.w.d $f2, $f0 -/* 69F62C 8021842C 44031000 */ mfc1 $v1, $f2 -/* 69F630 80218430 00000000 */ nop -/* 69F634 80218434 00721825 */ or $v1, $v1, $s2 -/* 69F638 80218438 A0430000 */ sb $v1, ($v0) -.L8021843C: -/* 69F63C 8021843C 26310001 */ addiu $s1, $s1, 1 -/* 69F640 80218440 2A220014 */ slti $v0, $s1, 0x14 -/* 69F644 80218444 1440FFB2 */ bnez $v0, .L80218310 -/* 69F648 80218448 26100019 */ addiu $s0, $s0, 0x19 -/* 69F64C 8021844C 8EA2007C */ lw $v0, 0x7c($s5) -/* 69F650 80218450 3C030004 */ lui $v1, 4 -/* 69F654 80218454 00431024 */ and $v0, $v0, $v1 -/* 69F658 80218458 10400025 */ beqz $v0, .L802184F0 -/* 69F65C 8021845C 0000882D */ daddu $s1, $zero, $zero -/* 69F660 80218460 27B70020 */ addiu $s7, $sp, 0x20 -/* 69F664 80218464 27B60038 */ addiu $s6, $sp, 0x38 -/* 69F668 80218468 27B40050 */ addiu $s4, $sp, 0x50 -/* 69F66C 8021846C 241300FF */ addiu $s3, $zero, 0xff -/* 69F670 80218470 0000802D */ daddu $s0, $zero, $zero -.L80218474: -/* 69F674 80218474 02F11021 */ addu $v0, $s7, $s1 -/* 69F678 80218478 02D12021 */ addu $a0, $s6, $s1 -/* 69F67C 8021847C 90430000 */ lbu $v1, ($v0) -/* 69F680 80218480 02911021 */ addu $v0, $s4, $s1 -/* 69F684 80218484 90840000 */ lbu $a0, ($a0) -/* 69F688 80218488 90420000 */ lbu $v0, ($v0) -/* 69F68C 8021848C 00031E00 */ sll $v1, $v1, 0x18 -/* 69F690 80218490 00042400 */ sll $a0, $a0, 0x10 -/* 69F694 80218494 00641825 */ or $v1, $v1, $a0 -/* 69F698 80218498 00021200 */ sll $v0, $v0, 8 -/* 69F69C 8021849C 00621825 */ or $v1, $v1, $v0 -/* 69F6A0 802184A0 347200FF */ ori $s2, $v1, 0xff -/* 69F6A4 802184A4 0200282D */ daddu $a1, $s0, $zero -.L802184A8: -/* 69F6A8 802184A8 2406000C */ addiu $a2, $zero, 0xc -/* 69F6AC 802184AC 0220382D */ daddu $a3, $s1, $zero -/* 69F6B0 802184B0 AFB20010 */ sw $s2, 0x10($sp) -/* 69F6B4 802184B4 AFA00014 */ sw $zero, 0x14($sp) -/* 69F6B8 802184B8 AFB30018 */ sw $s3, 0x18($sp) -/* 69F6BC 802184BC AFA0001C */ sw $zero, 0x1c($sp) -/* 69F6C0 802184C0 8EA40084 */ lw $a0, 0x84($s5) -/* 69F6C4 802184C4 0C0B79E0 */ jal func_802DE780 -/* 69F6C8 802184C8 26100001 */ addiu $s0, $s0, 1 -/* 69F6CC 802184CC 2A02000A */ slti $v0, $s0, 0xa -/* 69F6D0 802184D0 1440FFF5 */ bnez $v0, .L802184A8 -/* 69F6D4 802184D4 0200282D */ daddu $a1, $s0, $zero -/* 69F6D8 802184D8 26310001 */ addiu $s1, $s1, 1 -/* 69F6DC 802184DC 2A220014 */ slti $v0, $s1, 0x14 -/* 69F6E0 802184E0 1440FFE4 */ bnez $v0, .L80218474 -/* 69F6E4 802184E4 0000802D */ daddu $s0, $zero, $zero -/* 69F6E8 802184E8 08086154 */ j .L80218550 -/* 69F6EC 802184EC 0000102D */ daddu $v0, $zero, $zero -.L802184F0: -/* 69F6F0 802184F0 241200FF */ addiu $s2, $zero, 0xff -/* 69F6F4 802184F4 0240A02D */ daddu $s4, $s2, $zero -/* 69F6F8 802184F8 0000802D */ daddu $s0, $zero, $zero -.L802184FC: -/* 69F6FC 802184FC 0200282D */ daddu $a1, $s0, $zero -.L80218500: -/* 69F700 80218500 2406000C */ addiu $a2, $zero, 0xc -/* 69F704 80218504 0220382D */ daddu $a3, $s1, $zero -/* 69F708 80218508 AFB20010 */ sw $s2, 0x10($sp) -/* 69F70C 8021850C AFA00014 */ sw $zero, 0x14($sp) -/* 69F710 80218510 AFB40018 */ sw $s4, 0x18($sp) -/* 69F714 80218514 AFA0001C */ sw $zero, 0x1c($sp) -/* 69F718 80218518 8EA40084 */ lw $a0, 0x84($s5) -/* 69F71C 8021851C 0C0B79E0 */ jal func_802DE780 -/* 69F720 80218520 26100001 */ addiu $s0, $s0, 1 -/* 69F724 80218524 2A02000A */ slti $v0, $s0, 0xa -/* 69F728 80218528 1440FFF5 */ bnez $v0, .L80218500 -/* 69F72C 8021852C 0200282D */ daddu $a1, $s0, $zero -/* 69F730 80218530 26310001 */ addiu $s1, $s1, 1 -/* 69F734 80218534 2A220014 */ slti $v0, $s1, 0x14 -/* 69F738 80218538 1440FFF0 */ bnez $v0, .L802184FC -/* 69F73C 8021853C 0000802D */ daddu $s0, $zero, $zero -/* 69F740 80218540 0000102D */ daddu $v0, $zero, $zero -/* 69F744 80218544 AE600074 */ sw $zero, 0x74($s3) -/* 69F748 80218548 AE600078 */ sw $zero, 0x78($s3) -/* 69F74C 8021854C AE600070 */ sw $zero, 0x70($s3) -.L80218550: -/* 69F750 80218550 8FBF0088 */ lw $ra, 0x88($sp) -/* 69F754 80218554 8FB70084 */ lw $s7, 0x84($sp) -/* 69F758 80218558 8FB60080 */ lw $s6, 0x80($sp) -/* 69F75C 8021855C 8FB5007C */ lw $s5, 0x7c($sp) -/* 69F760 80218560 8FB40078 */ lw $s4, 0x78($sp) -/* 69F764 80218564 8FB30074 */ lw $s3, 0x74($sp) -/* 69F768 80218568 8FB20070 */ lw $s2, 0x70($sp) -/* 69F76C 8021856C 8FB1006C */ lw $s1, 0x6c($sp) -/* 69F770 80218570 8FB00068 */ lw $s0, 0x68($sp) -/* 69F774 80218574 D7B800A0 */ ldc1 $f24, 0xa0($sp) -/* 69F778 80218578 D7B60098 */ ldc1 $f22, 0x98($sp) -/* 69F77C 8021857C D7B40090 */ ldc1 $f20, 0x90($sp) -/* 69F780 80218580 03E00008 */ jr $ra -/* 69F784 80218584 27BD00A8 */ addiu $sp, $sp, 0xa8 diff --git a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_802186D0_69F8D0.s b/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_802186D0_69F8D0.s deleted file mode 100644 index 871e341afb..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_802186D0_69F8D0.s +++ /dev/null @@ -1,258 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_802186D0_69F8D0 -/* 69F8D0 802186D0 27BDFFA8 */ addiu $sp, $sp, -0x58 -/* 69F8D4 802186D4 AFB1001C */ sw $s1, 0x1c($sp) -/* 69F8D8 802186D8 0080882D */ daddu $s1, $a0, $zero -/* 69F8DC 802186DC AFB20020 */ sw $s2, 0x20($sp) -/* 69F8E0 802186E0 AFBF002C */ sw $ra, 0x2c($sp) -/* 69F8E4 802186E4 AFB40028 */ sw $s4, 0x28($sp) -/* 69F8E8 802186E8 AFB30024 */ sw $s3, 0x24($sp) -/* 69F8EC 802186EC AFB00018 */ sw $s0, 0x18($sp) -/* 69F8F0 802186F0 F7BC0050 */ sdc1 $f28, 0x50($sp) -/* 69F8F4 802186F4 F7BA0048 */ sdc1 $f26, 0x48($sp) -/* 69F8F8 802186F8 F7B80040 */ sdc1 $f24, 0x40($sp) -/* 69F8FC 802186FC F7B60038 */ sdc1 $f22, 0x38($sp) -/* 69F900 80218700 F7B40030 */ sdc1 $f20, 0x30($sp) -/* 69F904 80218704 8E240148 */ lw $a0, 0x148($s1) -/* 69F908 80218708 8E30000C */ lw $s0, 0xc($s1) -/* 69F90C 8021870C 0C09A75B */ jal get_actor -/* 69F910 80218710 00A0902D */ daddu $s2, $a1, $zero -/* 69F914 80218714 0040982D */ daddu $s3, $v0, $zero -/* 69F918 80218718 126000D5 */ beqz $s3, .L80218A70 -/* 69F91C 8021871C 24020002 */ addiu $v0, $zero, 2 -/* 69F920 80218720 1240003C */ beqz $s2, .L80218814 -/* 69F924 80218724 0220202D */ daddu $a0, $s1, $zero -/* 69F928 80218728 8E050000 */ lw $a1, ($s0) -/* 69F92C 8021872C 26100004 */ addiu $s0, $s0, 4 -/* 69F930 80218730 0C0B1EAF */ jal evt_get_variable -/* 69F934 80218734 0000902D */ daddu $s2, $zero, $zero -/* 69F938 80218738 8E050000 */ lw $a1, ($s0) -/* 69F93C 8021873C 26100004 */ addiu $s0, $s0, 4 -/* 69F940 80218740 4482E000 */ mtc1 $v0, $f28 -/* 69F944 80218744 00000000 */ nop -/* 69F948 80218748 4680E720 */ cvt.s.w $f28, $f28 -/* 69F94C 8021874C 0C0B1EAF */ jal evt_get_variable -/* 69F950 80218750 0220202D */ daddu $a0, $s1, $zero -/* 69F954 80218754 8E050000 */ lw $a1, ($s0) -/* 69F958 80218758 26100004 */ addiu $s0, $s0, 4 -/* 69F95C 8021875C 4482D000 */ mtc1 $v0, $f26 -/* 69F960 80218760 00000000 */ nop -/* 69F964 80218764 4680D6A0 */ cvt.s.w $f26, $f26 -/* 69F968 80218768 0C0B1EAF */ jal evt_get_variable -/* 69F96C 8021876C 0220202D */ daddu $a0, $s1, $zero -/* 69F970 80218770 8E050000 */ lw $a1, ($s0) -/* 69F974 80218774 26100004 */ addiu $s0, $s0, 4 -/* 69F978 80218778 4482C000 */ mtc1 $v0, $f24 -/* 69F97C 8021877C 00000000 */ nop -/* 69F980 80218780 4680C620 */ cvt.s.w $f24, $f24 -/* 69F984 80218784 0C0B210B */ jal evt_get_float_variable -/* 69F988 80218788 0220202D */ daddu $a0, $s1, $zero -/* 69F98C 8021878C 0220202D */ daddu $a0, $s1, $zero -/* 69F990 80218790 8E050000 */ lw $a1, ($s0) -/* 69F994 80218794 0C0B210B */ jal evt_get_float_variable -/* 69F998 80218798 46000506 */ mov.s $f20, $f0 -/* 69F99C 8021879C 240400B4 */ addiu $a0, $zero, 0xb4 -/* 69F9A0 802187A0 0C00AB39 */ jal heap_malloc -/* 69F9A4 802187A4 46000586 */ mov.s $f22, $f0 -/* 69F9A8 802187A8 0040882D */ daddu $s1, $v0, $zero -/* 69F9AC 802187AC 24060028 */ addiu $a2, $zero, 0x28 -/* 69F9B0 802187B0 240500FF */ addiu $a1, $zero, 0xff -/* 69F9B4 802187B4 24040001 */ addiu $a0, $zero, 1 -/* 69F9B8 802187B8 26230038 */ addiu $v1, $s1, 0x38 -/* 69F9BC 802187BC AE710078 */ sw $s1, 0x78($s3) -.L802187C0: -/* 69F9C0 802187C0 E47CFFCC */ swc1 $f28, -0x34($v1) -/* 69F9C4 802187C4 E47AFFD0 */ swc1 $f26, -0x30($v1) -/* 69F9C8 802187C8 E478FFD4 */ swc1 $f24, -0x2c($v1) -/* 69F9CC 802187CC E474FFE0 */ swc1 $f20, -0x20($v1) -/* 69F9D0 802187D0 E474FFD8 */ swc1 $f20, -0x28($v1) -/* 69F9D4 802187D4 E476FFDC */ swc1 $f22, -0x24($v1) -/* 69F9D8 802187D8 AC64FFE4 */ sw $a0, -0x1c($v1) -/* 69F9DC 802187DC AC66FFE8 */ sw $a2, -0x18($v1) -/* 69F9E0 802187E0 AC65FFEC */ sw $a1, -0x14($v1) -/* 69F9E4 802187E4 AC65FFF0 */ sw $a1, -0x10($v1) -/* 69F9E8 802187E8 AC60FFF4 */ sw $zero, -0xc($v1) -/* 69F9EC 802187EC AC60FFF8 */ sw $zero, -8($v1) -/* 69F9F0 802187F0 AC60FFFC */ sw $zero, -4($v1) -/* 69F9F4 802187F4 AC600000 */ sw $zero, ($v1) -/* 69F9F8 802187F8 2463003C */ addiu $v1, $v1, 0x3c -/* 69F9FC 802187FC 26520001 */ addiu $s2, $s2, 1 -/* 69FA00 80218800 2A420003 */ slti $v0, $s2, 3 -/* 69FA04 80218804 1440FFEE */ bnez $v0, .L802187C0 -/* 69FA08 80218808 2484000A */ addiu $a0, $a0, 0xa -/* 69FA0C 8021880C 0808629C */ j .L80218A70 -/* 69FA10 80218810 0000102D */ daddu $v0, $zero, $zero -.L80218814: -/* 69FA14 80218814 0000A02D */ daddu $s4, $zero, $zero -/* 69FA18 80218818 0280902D */ daddu $s2, $s4, $zero -/* 69FA1C 8021881C 8E710078 */ lw $s1, 0x78($s3) -/* 69FA20 80218820 3C013DCC */ lui $at, 0x3dcc -/* 69FA24 80218824 3421CCCD */ ori $at, $at, 0xcccd -/* 69FA28 80218828 4481C000 */ mtc1 $at, $f24 -/* 69FA2C 8021882C 3C013F00 */ lui $at, 0x3f00 -/* 69FA30 80218830 4481B000 */ mtc1 $at, $f22 -/* 69FA34 80218834 3C01437F */ lui $at, 0x437f -/* 69FA38 80218838 4481A000 */ mtc1 $at, $f20 -/* 69FA3C 8021883C 26300028 */ addiu $s0, $s1, 0x28 -.L80218840: -/* 69FA40 80218840 8E02FFF4 */ lw $v0, -0xc($s0) -/* 69FA44 80218844 1840001C */ blez $v0, .L802188B8 -/* 69FA48 80218848 2442FFFF */ addiu $v0, $v0, -1 -/* 69FA4C 8021884C 1C40007D */ bgtz $v0, .L80218A44 -/* 69FA50 80218850 AE02FFF4 */ sw $v0, -0xc($s0) -/* 69FA54 80218854 C600FFF0 */ lwc1 $f0, -0x10($s0) -/* 69FA58 80218858 2402FFFF */ addiu $v0, $zero, -1 -/* 69FA5C 8021885C AFA20014 */ sw $v0, 0x14($sp) -/* 69FA60 80218860 E7A00010 */ swc1 $f0, 0x10($sp) -/* 69FA64 80218864 8E05FFDC */ lw $a1, -0x24($s0) -/* 69FA68 80218868 8E06FFE0 */ lw $a2, -0x20($s0) -/* 69FA6C 8021886C 8E07FFE4 */ lw $a3, -0x1c($s0) -/* 69FA70 80218870 0C01CA9C */ jal fx_star_outline -/* 69FA74 80218874 0000202D */ daddu $a0, $zero, $zero -/* 69FA78 80218878 AE220000 */ sw $v0, ($s1) -/* 69FA7C 8021887C 8C42000C */ lw $v0, 0xc($v0) -/* 69FA80 80218880 C6000004 */ lwc1 $f0, 4($s0) -/* 69FA84 80218884 E440003C */ swc1 $f0, 0x3c($v0) -/* 69FA88 80218888 8E220000 */ lw $v0, ($s1) -/* 69FA8C 8021888C C6000008 */ lwc1 $f0, 8($s0) -/* 69FA90 80218890 8C42000C */ lw $v0, 0xc($v0) -/* 69FA94 80218894 E4400040 */ swc1 $f0, 0x40($v0) -/* 69FA98 80218898 8E220000 */ lw $v0, ($s1) -/* 69FA9C 8021889C C600000C */ lwc1 $f0, 0xc($s0) -/* 69FAA0 802188A0 8C42000C */ lw $v0, 0xc($v0) -/* 69FAA4 802188A4 E4400044 */ swc1 $f0, 0x44($v0) -/* 69FAA8 802188A8 8E220000 */ lw $v0, ($s1) -/* 69FAAC 802188AC 8C42000C */ lw $v0, 0xc($v0) -/* 69FAB0 802188B0 08086291 */ j .L80218A44 -/* 69FAB4 802188B4 A4400000 */ sh $zero, ($v0) -.L802188B8: -/* 69FAB8 802188B8 8E020010 */ lw $v0, 0x10($s0) -/* 69FABC 802188BC 10400003 */ beqz $v0, .L802188CC -/* 69FAC0 802188C0 00000000 */ nop -/* 69FAC4 802188C4 08086291 */ j .L80218A44 -/* 69FAC8 802188C8 26940001 */ addiu $s4, $s4, 1 -.L802188CC: -/* 69FACC 802188CC C600FFE8 */ lwc1 $f0, -0x18($s0) -/* 69FAD0 802188D0 C608FFEC */ lwc1 $f8, -0x14($s0) -/* 69FAD4 802188D4 46080001 */ sub.s $f0, $f0, $f8 -/* 69FAD8 802188D8 C602FFF8 */ lwc1 $f2, -8($s0) -/* 69FADC 802188DC 468010A0 */ cvt.s.w $f2, $f2 -/* 69FAE0 802188E0 46000005 */ abs.s $f0, $f0 -/* 69FAE4 802188E4 46020002 */ mul.s $f0, $f0, $f2 -/* 69FAE8 802188E8 00000000 */ nop -/* 69FAEC 802188EC C606000C */ lwc1 $f6, 0xc($s0) -/* 69FAF0 802188F0 3C014110 */ lui $at, 0x4110 -/* 69FAF4 802188F4 44811000 */ mtc1 $at, $f2 -/* 69FAF8 802188F8 3C014220 */ lui $at, 0x4220 -/* 69FAFC 802188FC 44812000 */ mtc1 $at, $f4 -/* 69FB00 80218900 46023180 */ add.s $f6, $f6, $f2 -/* 69FB04 80218904 8E03FFF8 */ lw $v1, -8($s0) -/* 69FB08 80218908 46040003 */ div.s $f0, $f0, $f4 -/* 69FB0C 8021890C 46080000 */ add.s $f0, $f0, $f8 -/* 69FB10 80218910 2862000B */ slti $v0, $v1, 0xb -/* 69FB14 80218914 E606000C */ swc1 $f6, 0xc($s0) -/* 69FB18 80218918 1040001C */ beqz $v0, .L8021898C -/* 69FB1C 8021891C E600FFF0 */ swc1 $f0, -0x10($s0) -/* 69FB20 80218920 000317C2 */ srl $v0, $v1, 0x1f -/* 69FB24 80218924 00621021 */ addu $v0, $v1, $v0 -/* 69FB28 80218928 00021043 */ sra $v0, $v0, 1 -/* 69FB2C 8021892C 44821000 */ mtc1 $v0, $f2 -/* 69FB30 80218930 00000000 */ nop -/* 69FB34 80218934 468010A0 */ cvt.s.w $f2, $f2 -/* 69FB38 80218938 0060102D */ daddu $v0, $v1, $zero -/* 69FB3C 8021893C 46181082 */ mul.s $f2, $f2, $f24 -/* 69FB40 80218940 00000000 */ nop -/* 69FB44 80218944 00021FC2 */ srl $v1, $v0, 0x1f -/* 69FB48 80218948 00431021 */ addu $v0, $v0, $v1 -/* 69FB4C 8021894C 00021043 */ sra $v0, $v0, 1 -/* 69FB50 80218950 44820000 */ mtc1 $v0, $f0 -/* 69FB54 80218954 00000000 */ nop -/* 69FB58 80218958 46800020 */ cvt.s.w $f0, $f0 -/* 69FB5C 8021895C 46180002 */ mul.s $f0, $f0, $f24 -/* 69FB60 80218960 00000000 */ nop -/* 69FB64 80218964 46161080 */ add.s $f2, $f2, $f22 -/* 69FB68 80218968 46141082 */ mul.s $f2, $f2, $f20 -/* 69FB6C 8021896C 00000000 */ nop -/* 69FB70 80218970 46160000 */ add.s $f0, $f0, $f22 -/* 69FB74 80218974 46140002 */ mul.s $f0, $f0, $f20 -/* 69FB78 80218978 00000000 */ nop -/* 69FB7C 8021897C 4600128D */ trunc.w.s $f10, $f2 -/* 69FB80 80218980 E60AFFFC */ swc1 $f10, -4($s0) -/* 69FB84 80218984 4600028D */ trunc.w.s $f10, $f0 -/* 69FB88 80218988 E60A0000 */ swc1 $f10, ($s0) -.L8021898C: -/* 69FB8C 8021898C 8E02FFF8 */ lw $v0, -8($s0) -/* 69FB90 80218990 2442FFFF */ addiu $v0, $v0, -1 -/* 69FB94 80218994 1C400007 */ bgtz $v0, .L802189B4 -/* 69FB98 80218998 AE02FFF8 */ sw $v0, -8($s0) -/* 69FB9C 8021899C 8E240000 */ lw $a0, ($s1) -/* 69FBA0 802189A0 0C016914 */ jal remove_effect -/* 69FBA4 802189A4 00000000 */ nop -/* 69FBA8 802189A8 24020001 */ addiu $v0, $zero, 1 -/* 69FBAC 802189AC 08086291 */ j .L80218A44 -/* 69FBB0 802189B0 AE020010 */ sw $v0, 0x10($s0) -.L802189B4: -/* 69FBB4 802189B4 8E220000 */ lw $v0, ($s1) -/* 69FBB8 802189B8 C600FFDC */ lwc1 $f0, -0x24($s0) -/* 69FBBC 802189BC 8C42000C */ lw $v0, 0xc($v0) -/* 69FBC0 802189C0 E4400004 */ swc1 $f0, 4($v0) -/* 69FBC4 802189C4 8E220000 */ lw $v0, ($s1) -/* 69FBC8 802189C8 C600FFE0 */ lwc1 $f0, -0x20($s0) -/* 69FBCC 802189CC 8C42000C */ lw $v0, 0xc($v0) -/* 69FBD0 802189D0 E4400008 */ swc1 $f0, 8($v0) -/* 69FBD4 802189D4 8E220000 */ lw $v0, ($s1) -/* 69FBD8 802189D8 C600FFE4 */ lwc1 $f0, -0x1c($s0) -/* 69FBDC 802189DC 8C42000C */ lw $v0, 0xc($v0) -/* 69FBE0 802189E0 E440000C */ swc1 $f0, 0xc($v0) -/* 69FBE4 802189E4 8E220000 */ lw $v0, ($s1) -/* 69FBE8 802189E8 C6000004 */ lwc1 $f0, 4($s0) -/* 69FBEC 802189EC 8C42000C */ lw $v0, 0xc($v0) -/* 69FBF0 802189F0 E440003C */ swc1 $f0, 0x3c($v0) -/* 69FBF4 802189F4 8E220000 */ lw $v0, ($s1) -/* 69FBF8 802189F8 C6000008 */ lwc1 $f0, 8($s0) -/* 69FBFC 802189FC 8C42000C */ lw $v0, 0xc($v0) -/* 69FC00 80218A00 E4400040 */ swc1 $f0, 0x40($v0) -/* 69FC04 80218A04 8E220000 */ lw $v0, ($s1) -/* 69FC08 80218A08 C600000C */ lwc1 $f0, 0xc($s0) -/* 69FC0C 80218A0C 8C42000C */ lw $v0, 0xc($v0) -/* 69FC10 80218A10 E4400044 */ swc1 $f0, 0x44($v0) -/* 69FC14 80218A14 8E220000 */ lw $v0, ($s1) -/* 69FC18 80218A18 C600FFF0 */ lwc1 $f0, -0x10($s0) -/* 69FC1C 80218A1C 8C42000C */ lw $v0, 0xc($v0) -/* 69FC20 80218A20 E4400038 */ swc1 $f0, 0x38($v0) -/* 69FC24 80218A24 8E220000 */ lw $v0, ($s1) -/* 69FC28 80218A28 8C43000C */ lw $v1, 0xc($v0) -/* 69FC2C 80218A2C 8E02FFFC */ lw $v0, -4($s0) -/* 69FC30 80218A30 AC620024 */ sw $v0, 0x24($v1) -/* 69FC34 80218A34 8E220000 */ lw $v0, ($s1) -/* 69FC38 80218A38 8C43000C */ lw $v1, 0xc($v0) -/* 69FC3C 80218A3C 8E020000 */ lw $v0, ($s0) -/* 69FC40 80218A40 AC620034 */ sw $v0, 0x34($v1) -.L80218A44: -/* 69FC44 80218A44 2610003C */ addiu $s0, $s0, 0x3c -/* 69FC48 80218A48 26520001 */ addiu $s2, $s2, 1 -/* 69FC4C 80218A4C 2A420003 */ slti $v0, $s2, 3 -/* 69FC50 80218A50 1440FF7B */ bnez $v0, .L80218840 -/* 69FC54 80218A54 2631003C */ addiu $s1, $s1, 0x3c -/* 69FC58 80218A58 2A820003 */ slti $v0, $s4, 3 -/* 69FC5C 80218A5C 14400004 */ bnez $v0, .L80218A70 -/* 69FC60 80218A60 0000102D */ daddu $v0, $zero, $zero -/* 69FC64 80218A64 0C00AB4B */ jal heap_free -/* 69FC68 80218A68 0220202D */ daddu $a0, $s1, $zero -/* 69FC6C 80218A6C 24020002 */ addiu $v0, $zero, 2 -.L80218A70: -/* 69FC70 80218A70 8FBF002C */ lw $ra, 0x2c($sp) -/* 69FC74 80218A74 8FB40028 */ lw $s4, 0x28($sp) -/* 69FC78 80218A78 8FB30024 */ lw $s3, 0x24($sp) -/* 69FC7C 80218A7C 8FB20020 */ lw $s2, 0x20($sp) -/* 69FC80 80218A80 8FB1001C */ lw $s1, 0x1c($sp) -/* 69FC84 80218A84 8FB00018 */ lw $s0, 0x18($sp) -/* 69FC88 80218A88 D7BC0050 */ ldc1 $f28, 0x50($sp) -/* 69FC8C 80218A8C D7BA0048 */ ldc1 $f26, 0x48($sp) -/* 69FC90 80218A90 D7B80040 */ ldc1 $f24, 0x40($sp) -/* 69FC94 80218A94 D7B60038 */ ldc1 $f22, 0x38($sp) -/* 69FC98 80218A98 D7B40030 */ ldc1 $f20, 0x30($sp) -/* 69FC9C 80218A9C 03E00008 */ jr $ra -/* 69FCA0 80218AA0 27BD0058 */ addiu $sp, $sp, 0x58 diff --git a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_80218AA4_69FCA4.s b/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_80218AA4_69FCA4.s deleted file mode 100644 index d471bb2974..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_80218AA4_69FCA4.s +++ /dev/null @@ -1,321 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -.section .rodata - -dlabel D_80234740_6BB940 -.double 0.4 - -dlabel D_80234748_6BB948 -.double 2.4000000953674316 - -dlabel D_80234750_6BB950 -.double 1.600000023841858 - -dlabel D_80234758_6BB958 -.double 1.2000000000000002 - -dlabel D_80234760_6BB960 -.double 0.9600000381469727 - -dlabel D_80234768_6BB968 -.double 0.4 - -dlabel D_80234770_6BB970 -.double 0.6400000095367432, 0.0 - -.section .text - -glabel func_80218AA4_69FCA4 -/* 69FCA4 80218AA4 27BDFFB0 */ addiu $sp, $sp, -0x50 -/* 69FCA8 80218AA8 AFB1001C */ sw $s1, 0x1c($sp) -/* 69FCAC 80218AAC 0080882D */ daddu $s1, $a0, $zero -/* 69FCB0 80218AB0 AFB20020 */ sw $s2, 0x20($sp) -/* 69FCB4 80218AB4 AFBF002C */ sw $ra, 0x2c($sp) -/* 69FCB8 80218AB8 AFB40028 */ sw $s4, 0x28($sp) -/* 69FCBC 80218ABC AFB30024 */ sw $s3, 0x24($sp) -/* 69FCC0 80218AC0 AFB00018 */ sw $s0, 0x18($sp) -/* 69FCC4 80218AC4 F7BA0048 */ sdc1 $f26, 0x48($sp) -/* 69FCC8 80218AC8 F7B80040 */ sdc1 $f24, 0x40($sp) -/* 69FCCC 80218ACC F7B60038 */ sdc1 $f22, 0x38($sp) -/* 69FCD0 80218AD0 F7B40030 */ sdc1 $f20, 0x30($sp) -/* 69FCD4 80218AD4 8E240148 */ lw $a0, 0x148($s1) -/* 69FCD8 80218AD8 8E30000C */ lw $s0, 0xc($s1) -/* 69FCDC 80218ADC 0C09A75B */ jal get_actor -/* 69FCE0 80218AE0 00A0902D */ daddu $s2, $a1, $zero -/* 69FCE4 80218AE4 0040A02D */ daddu $s4, $v0, $zero -/* 69FCE8 80218AE8 128000F9 */ beqz $s4, .L80218ED0 -/* 69FCEC 80218AEC 24020002 */ addiu $v0, $zero, 2 -/* 69FCF0 80218AF0 12400041 */ beqz $s2, .L80218BF8 -/* 69FCF4 80218AF4 0000982D */ daddu $s3, $zero, $zero -/* 69FCF8 80218AF8 8E050000 */ lw $a1, ($s0) -/* 69FCFC 80218AFC 26100004 */ addiu $s0, $s0, 4 -/* 69FD00 80218B00 0C0B1EAF */ jal evt_get_variable -/* 69FD04 80218B04 0220202D */ daddu $a0, $s1, $zero -/* 69FD08 80218B08 8E050000 */ lw $a1, ($s0) -/* 69FD0C 80218B0C 26100004 */ addiu $s0, $s0, 4 -/* 69FD10 80218B10 4482D000 */ mtc1 $v0, $f26 -/* 69FD14 80218B14 00000000 */ nop -/* 69FD18 80218B18 4680D6A0 */ cvt.s.w $f26, $f26 -/* 69FD1C 80218B1C 0C0B1EAF */ jal evt_get_variable -/* 69FD20 80218B20 0220202D */ daddu $a0, $s1, $zero -/* 69FD24 80218B24 8E050000 */ lw $a1, ($s0) -/* 69FD28 80218B28 26100004 */ addiu $s0, $s0, 4 -/* 69FD2C 80218B2C 4482C000 */ mtc1 $v0, $f24 -/* 69FD30 80218B30 00000000 */ nop -/* 69FD34 80218B34 4680C620 */ cvt.s.w $f24, $f24 -/* 69FD38 80218B38 0C0B1EAF */ jal evt_get_variable -/* 69FD3C 80218B3C 0220202D */ daddu $a0, $s1, $zero -/* 69FD40 80218B40 8E050000 */ lw $a1, ($s0) -/* 69FD44 80218B44 4482B000 */ mtc1 $v0, $f22 -/* 69FD48 80218B48 00000000 */ nop -/* 69FD4C 80218B4C 4680B5A0 */ cvt.s.w $f22, $f22 -/* 69FD50 80218B50 0C0B210B */ jal evt_get_float_variable -/* 69FD54 80218B54 0220202D */ daddu $a0, $s1, $zero -/* 69FD58 80218B58 82830210 */ lb $v1, 0x210($s4) -/* 69FD5C 80218B5C 2402000A */ addiu $v0, $zero, 0xa -/* 69FD60 80218B60 14620007 */ bne $v1, $v0, .L80218B80 -/* 69FD64 80218B64 46000506 */ mov.s $f20, $f0 -/* 69FD68 80218B68 3C018023 */ lui $at, %hi(D_80234740_6BB940) -/* 69FD6C 80218B6C D4224740 */ ldc1 $f2, %lo(D_80234740_6BB940)($at) -/* 69FD70 80218B70 4600A021 */ cvt.d.s $f0, $f20 -/* 69FD74 80218B74 46220002 */ mul.d $f0, $f0, $f2 -/* 69FD78 80218B78 00000000 */ nop -/* 69FD7C 80218B7C 46200520 */ cvt.s.d $f20, $f0 -.L80218B80: -/* 69FD80 80218B80 0C00AB39 */ jal heap_malloc -/* 69FD84 80218B84 2404009C */ addiu $a0, $zero, 0x9c -/* 69FD88 80218B88 0040882D */ daddu $s1, $v0, $zero -/* 69FD8C 80218B8C 0000902D */ daddu $s2, $zero, $zero -/* 69FD90 80218B90 24060032 */ addiu $a2, $zero, 0x32 -/* 69FD94 80218B94 240500FF */ addiu $a1, $zero, 0xff -/* 69FD98 80218B98 24040001 */ addiu $a0, $zero, 1 -/* 69FD9C 80218B9C 3C0142B4 */ lui $at, 0x42b4 -/* 69FDA0 80218BA0 44810000 */ mtc1 $at, $f0 -/* 69FDA4 80218BA4 26230030 */ addiu $v1, $s1, 0x30 -/* 69FDA8 80218BA8 AE910078 */ sw $s1, 0x78($s4) -.L80218BAC: -/* 69FDAC 80218BAC E47AFFD4 */ swc1 $f26, -0x2c($v1) -/* 69FDB0 80218BB0 E478FFD8 */ swc1 $f24, -0x28($v1) -/* 69FDB4 80218BB4 E476FFDC */ swc1 $f22, -0x24($v1) -/* 69FDB8 80218BB8 E474FFE0 */ swc1 $f20, -0x20($v1) -/* 69FDBC 80218BBC AC64FFE4 */ sw $a0, -0x1c($v1) -/* 69FDC0 80218BC0 AC66FFE8 */ sw $a2, -0x18($v1) -/* 69FDC4 80218BC4 AC65FFEC */ sw $a1, -0x14($v1) -/* 69FDC8 80218BC8 AC65FFF0 */ sw $a1, -0x10($v1) -/* 69FDCC 80218BCC E460FFF4 */ swc1 $f0, -0xc($v1) -/* 69FDD0 80218BD0 AC60FFF8 */ sw $zero, -8($v1) -/* 69FDD4 80218BD4 AC60FFFC */ sw $zero, -4($v1) -/* 69FDD8 80218BD8 AC600000 */ sw $zero, ($v1) -/* 69FDDC 80218BDC 24630034 */ addiu $v1, $v1, 0x34 -/* 69FDE0 80218BE0 26520001 */ addiu $s2, $s2, 1 -/* 69FDE4 80218BE4 2A420003 */ slti $v0, $s2, 3 -/* 69FDE8 80218BE8 1440FFF0 */ bnez $v0, .L80218BAC -/* 69FDEC 80218BEC 24840010 */ addiu $a0, $a0, 0x10 -/* 69FDF0 80218BF0 080863B4 */ j .L80218ED0 -/* 69FDF4 80218BF4 0000102D */ daddu $v0, $zero, $zero -.L80218BF8: -/* 69FDF8 80218BF8 8E910078 */ lw $s1, 0x78($s4) -/* 69FDFC 80218BFC 0260902D */ daddu $s2, $s3, $zero -/* 69FE00 80218C00 26300030 */ addiu $s0, $s1, 0x30 -.L80218C04: -/* 69FE04 80218C04 8E02FFE4 */ lw $v0, -0x1c($s0) -/* 69FE08 80218C08 18400019 */ blez $v0, .L80218C70 -/* 69FE0C 80218C0C 2442FFFF */ addiu $v0, $v0, -1 -/* 69FE10 80218C10 1C4000A4 */ bgtz $v0, .L80218EA4 -/* 69FE14 80218C14 AE02FFE4 */ sw $v0, -0x1c($s0) -/* 69FE18 80218C18 C600FFE0 */ lwc1 $f0, -0x20($s0) -/* 69FE1C 80218C1C 2402FFFF */ addiu $v0, $zero, -1 -/* 69FE20 80218C20 AFA20014 */ sw $v0, 0x14($sp) -/* 69FE24 80218C24 E7A00010 */ swc1 $f0, 0x10($sp) -/* 69FE28 80218C28 8E05FFD4 */ lw $a1, -0x2c($s0) -/* 69FE2C 80218C2C 8E06FFD8 */ lw $a2, -0x28($s0) -/* 69FE30 80218C30 8E07FFDC */ lw $a3, -0x24($s0) -/* 69FE34 80218C34 0C01CA9C */ jal fx_star_outline -/* 69FE38 80218C38 0000202D */ daddu $a0, $zero, $zero -/* 69FE3C 80218C3C AE220000 */ sw $v0, ($s1) -/* 69FE40 80218C40 8C42000C */ lw $v0, 0xc($v0) -/* 69FE44 80218C44 C600FFF4 */ lwc1 $f0, -0xc($s0) -/* 69FE48 80218C48 E440003C */ swc1 $f0, 0x3c($v0) -/* 69FE4C 80218C4C 8E220000 */ lw $v0, ($s1) -/* 69FE50 80218C50 C600FFF8 */ lwc1 $f0, -8($s0) -/* 69FE54 80218C54 8C42000C */ lw $v0, 0xc($v0) -/* 69FE58 80218C58 E4400040 */ swc1 $f0, 0x40($v0) -/* 69FE5C 80218C5C 8E220000 */ lw $v0, ($s1) -/* 69FE60 80218C60 C600FFFC */ lwc1 $f0, -4($s0) -/* 69FE64 80218C64 8C42000C */ lw $v0, 0xc($v0) -/* 69FE68 80218C68 080863A9 */ j .L80218EA4 -/* 69FE6C 80218C6C E4400044 */ swc1 $f0, 0x44($v0) -.L80218C70: -/* 69FE70 80218C70 8E020000 */ lw $v0, ($s0) -/* 69FE74 80218C74 10400003 */ beqz $v0, .L80218C84 -/* 69FE78 80218C78 2402000A */ addiu $v0, $zero, 0xa -/* 69FE7C 80218C7C 080863A9 */ j .L80218EA4 -/* 69FE80 80218C80 26730001 */ addiu $s3, $s3, 1 -.L80218C84: -/* 69FE84 80218C84 82830210 */ lb $v1, 0x210($s4) -/* 69FE88 80218C88 10620023 */ beq $v1, $v0, .L80218D18 -/* 69FE8C 80218C8C 00000000 */ nop -/* 69FE90 80218C90 C602FFD8 */ lwc1 $f2, -0x28($s0) -/* 69FE94 80218C94 3C014044 */ lui $at, 0x4044 -/* 69FE98 80218C98 44810800 */ mtc1 $at, $f1 -/* 69FE9C 80218C9C 44800000 */ mtc1 $zero, $f0 -/* 69FEA0 80218CA0 460010A1 */ cvt.d.s $f2, $f2 -/* 69FEA4 80218CA4 4620103C */ c.lt.d $f2, $f0 -/* 69FEA8 80218CA8 3C014008 */ lui $at, 0x4008 -/* 69FEAC 80218CAC 44810800 */ mtc1 $at, $f1 -/* 69FEB0 80218CB0 44800000 */ mtc1 $zero, $f0 -/* 69FEB4 80218CB4 45030037 */ bc1tl .L80218D94 -/* 69FEB8 80218CB8 46201000 */ add.d $f0, $f2, $f0 -/* 69FEBC 80218CBC 3C01404E */ lui $at, 0x404e -/* 69FEC0 80218CC0 44810800 */ mtc1 $at, $f1 -/* 69FEC4 80218CC4 44800000 */ mtc1 $zero, $f0 -/* 69FEC8 80218CC8 00000000 */ nop -/* 69FECC 80218CCC 4620103C */ c.lt.d $f2, $f0 -/* 69FED0 80218CD0 3C018023 */ lui $at, %hi(D_80234748_6BB948) -/* 69FED4 80218CD4 D4204748 */ ldc1 $f0, %lo(D_80234748_6BB948)($at) -/* 69FED8 80218CD8 4503002E */ bc1tl .L80218D94 -/* 69FEDC 80218CDC 46201000 */ add.d $f0, $f2, $f0 -/* 69FEE0 80218CE0 3C014054 */ lui $at, 0x4054 -/* 69FEE4 80218CE4 44810800 */ mtc1 $at, $f1 -/* 69FEE8 80218CE8 44800000 */ mtc1 $zero, $f0 -/* 69FEEC 80218CEC 00000000 */ nop -/* 69FEF0 80218CF0 4620103C */ c.lt.d $f2, $f0 -/* 69FEF4 80218CF4 3C018023 */ lui $at, %hi(D_80234750_6BB950) -/* 69FEF8 80218CF8 D4204750 */ ldc1 $f0, %lo(D_80234750_6BB950)($at) -/* 69FEFC 80218CFC 45030025 */ bc1tl .L80218D94 -/* 69FF00 80218D00 46201000 */ add.d $f0, $f2, $f0 -/* 69FF04 80218D04 3C013FF0 */ lui $at, 0x3ff0 -/* 69FF08 80218D08 44810800 */ mtc1 $at, $f1 -/* 69FF0C 80218D0C 44800000 */ mtc1 $zero, $f0 -/* 69FF10 80218D10 08086365 */ j .L80218D94 -/* 69FF14 80218D14 46201000 */ add.d $f0, $f2, $f0 -.L80218D18: -/* 69FF18 80218D18 C602FFD8 */ lwc1 $f2, -0x28($s0) -/* 69FF1C 80218D1C 3C014030 */ lui $at, 0x4030 -/* 69FF20 80218D20 44810800 */ mtc1 $at, $f1 -/* 69FF24 80218D24 44800000 */ mtc1 $zero, $f0 -/* 69FF28 80218D28 460010A1 */ cvt.d.s $f2, $f2 -/* 69FF2C 80218D2C 4620103C */ c.lt.d $f2, $f0 -/* 69FF30 80218D30 3C018023 */ lui $at, %hi(D_80234758_6BB958) -/* 69FF34 80218D34 D4204758 */ ldc1 $f0, %lo(D_80234758_6BB958)($at) -/* 69FF38 80218D38 45030016 */ bc1tl .L80218D94 -/* 69FF3C 80218D3C 46201000 */ add.d $f0, $f2, $f0 -/* 69FF40 80218D40 3C014038 */ lui $at, 0x4038 -/* 69FF44 80218D44 44810800 */ mtc1 $at, $f1 -/* 69FF48 80218D48 44800000 */ mtc1 $zero, $f0 -/* 69FF4C 80218D4C 00000000 */ nop -/* 69FF50 80218D50 4620103C */ c.lt.d $f2, $f0 -/* 69FF54 80218D54 3C018023 */ lui $at, %hi(D_80234760_6BB960) -/* 69FF58 80218D58 D4204760 */ ldc1 $f0, %lo(D_80234760_6BB960)($at) -/* 69FF5C 80218D5C 4503000D */ bc1tl .L80218D94 -/* 69FF60 80218D60 46201000 */ add.d $f0, $f2, $f0 -/* 69FF64 80218D64 3C014040 */ lui $at, 0x4040 -/* 69FF68 80218D68 44810800 */ mtc1 $at, $f1 -/* 69FF6C 80218D6C 44800000 */ mtc1 $zero, $f0 -/* 69FF70 80218D70 00000000 */ nop -/* 69FF74 80218D74 4620103C */ c.lt.d $f2, $f0 -/* 69FF78 80218D78 3C018023 */ lui $at, %hi(D_80234768_6BB968) -/* 69FF7C 80218D7C D4204768 */ ldc1 $f0, %lo(D_80234768_6BB968)($at) -/* 69FF80 80218D80 45020004 */ bc1fl .L80218D94 -/* 69FF84 80218D84 46201000 */ add.d $f0, $f2, $f0 -/* 69FF88 80218D88 3C018023 */ lui $at, %hi(D_80234770_6BB970) -/* 69FF8C 80218D8C D4204770 */ ldc1 $f0, %lo(D_80234770_6BB970)($at) -/* 69FF90 80218D90 46201000 */ add.d $f0, $f2, $f0 -.L80218D94: -/* 69FF94 80218D94 46200020 */ cvt.s.d $f0, $f0 -/* 69FF98 80218D98 E600FFD8 */ swc1 $f0, -0x28($s0) -/* 69FF9C 80218D9C C600FFF8 */ lwc1 $f0, -8($s0) -/* 69FFA0 80218DA0 3C014190 */ lui $at, 0x4190 -/* 69FFA4 80218DA4 44811000 */ mtc1 $at, $f2 -/* 69FFA8 80218DA8 8E03FFE8 */ lw $v1, -0x18($s0) -/* 69FFAC 80218DAC 46020000 */ add.s $f0, $f0, $f2 -/* 69FFB0 80218DB0 28620011 */ slti $v0, $v1, 0x11 -/* 69FFB4 80218DB4 1040000E */ beqz $v0, .L80218DF0 -/* 69FFB8 80218DB8 E600FFF8 */ swc1 $f0, -8($s0) -/* 69FFBC 80218DBC 00031200 */ sll $v0, $v1, 8 -/* 69FFC0 80218DC0 00431823 */ subu $v1, $v0, $v1 -/* 69FFC4 80218DC4 04620001 */ bltzl $v1, .L80218DCC -/* 69FFC8 80218DC8 2463000F */ addiu $v1, $v1, 0xf -.L80218DCC: -/* 69FFCC 80218DCC 8E02FFE8 */ lw $v0, -0x18($s0) -/* 69FFD0 80218DD0 00031903 */ sra $v1, $v1, 4 -/* 69FFD4 80218DD4 AE03FFEC */ sw $v1, -0x14($s0) -/* 69FFD8 80218DD8 00021A00 */ sll $v1, $v0, 8 -/* 69FFDC 80218DDC 00621023 */ subu $v0, $v1, $v0 -/* 69FFE0 80218DE0 04420001 */ bltzl $v0, .L80218DE8 -/* 69FFE4 80218DE4 2442000F */ addiu $v0, $v0, 0xf -.L80218DE8: -/* 69FFE8 80218DE8 00021103 */ sra $v0, $v0, 4 -/* 69FFEC 80218DEC AE02FFF0 */ sw $v0, -0x10($s0) -.L80218DF0: -/* 69FFF0 80218DF0 8E220000 */ lw $v0, ($s1) -/* 69FFF4 80218DF4 C600FFD4 */ lwc1 $f0, -0x2c($s0) -/* 69FFF8 80218DF8 8C42000C */ lw $v0, 0xc($v0) -/* 69FFFC 80218DFC E4400004 */ swc1 $f0, 4($v0) -/* 6A0000 80218E00 8E220000 */ lw $v0, ($s1) -/* 6A0004 80218E04 C600FFD8 */ lwc1 $f0, -0x28($s0) -/* 6A0008 80218E08 8C42000C */ lw $v0, 0xc($v0) -/* 6A000C 80218E0C E4400008 */ swc1 $f0, 8($v0) -/* 6A0010 80218E10 8E220000 */ lw $v0, ($s1) -/* 6A0014 80218E14 C600FFDC */ lwc1 $f0, -0x24($s0) -/* 6A0018 80218E18 8C42000C */ lw $v0, 0xc($v0) -/* 6A001C 80218E1C E440000C */ swc1 $f0, 0xc($v0) -/* 6A0020 80218E20 8E220000 */ lw $v0, ($s1) -/* 6A0024 80218E24 C600FFF4 */ lwc1 $f0, -0xc($s0) -/* 6A0028 80218E28 8C42000C */ lw $v0, 0xc($v0) -/* 6A002C 80218E2C E440003C */ swc1 $f0, 0x3c($v0) -/* 6A0030 80218E30 8E220000 */ lw $v0, ($s1) -/* 6A0034 80218E34 C600FFF8 */ lwc1 $f0, -8($s0) -/* 6A0038 80218E38 8C42000C */ lw $v0, 0xc($v0) -/* 6A003C 80218E3C E4400040 */ swc1 $f0, 0x40($v0) -/* 6A0040 80218E40 8E220000 */ lw $v0, ($s1) -/* 6A0044 80218E44 C600FFFC */ lwc1 $f0, -4($s0) -/* 6A0048 80218E48 8C42000C */ lw $v0, 0xc($v0) -/* 6A004C 80218E4C E4400044 */ swc1 $f0, 0x44($v0) -/* 6A0050 80218E50 8E220000 */ lw $v0, ($s1) -/* 6A0054 80218E54 C600FFE0 */ lwc1 $f0, -0x20($s0) -/* 6A0058 80218E58 8C42000C */ lw $v0, 0xc($v0) -/* 6A005C 80218E5C E4400038 */ swc1 $f0, 0x38($v0) -/* 6A0060 80218E60 8E220000 */ lw $v0, ($s1) -/* 6A0064 80218E64 8C43000C */ lw $v1, 0xc($v0) -/* 6A0068 80218E68 8E02FFEC */ lw $v0, -0x14($s0) -/* 6A006C 80218E6C AC620024 */ sw $v0, 0x24($v1) -/* 6A0070 80218E70 8E220000 */ lw $v0, ($s1) -/* 6A0074 80218E74 8C43000C */ lw $v1, 0xc($v0) -/* 6A0078 80218E78 8E02FFF0 */ lw $v0, -0x10($s0) -/* 6A007C 80218E7C AC620034 */ sw $v0, 0x34($v1) -/* 6A0080 80218E80 8E02FFE8 */ lw $v0, -0x18($s0) -/* 6A0084 80218E84 2442FFFF */ addiu $v0, $v0, -1 -/* 6A0088 80218E88 1C400006 */ bgtz $v0, .L80218EA4 -/* 6A008C 80218E8C AE02FFE8 */ sw $v0, -0x18($s0) -/* 6A0090 80218E90 8E240000 */ lw $a0, ($s1) -/* 6A0094 80218E94 0C016914 */ jal remove_effect -/* 6A0098 80218E98 00000000 */ nop -/* 6A009C 80218E9C 24020001 */ addiu $v0, $zero, 1 -/* 6A00A0 80218EA0 AE020000 */ sw $v0, ($s0) -.L80218EA4: -/* 6A00A4 80218EA4 26100034 */ addiu $s0, $s0, 0x34 -/* 6A00A8 80218EA8 26520001 */ addiu $s2, $s2, 1 -/* 6A00AC 80218EAC 2A420003 */ slti $v0, $s2, 3 -/* 6A00B0 80218EB0 1440FF54 */ bnez $v0, .L80218C04 -/* 6A00B4 80218EB4 26310034 */ addiu $s1, $s1, 0x34 -/* 6A00B8 80218EB8 2A620003 */ slti $v0, $s3, 3 -/* 6A00BC 80218EBC 14400004 */ bnez $v0, .L80218ED0 -/* 6A00C0 80218EC0 0000102D */ daddu $v0, $zero, $zero -/* 6A00C4 80218EC4 0C00AB4B */ jal heap_free -/* 6A00C8 80218EC8 0220202D */ daddu $a0, $s1, $zero -/* 6A00CC 80218ECC 24020002 */ addiu $v0, $zero, 2 -.L80218ED0: -/* 6A00D0 80218ED0 8FBF002C */ lw $ra, 0x2c($sp) -/* 6A00D4 80218ED4 8FB40028 */ lw $s4, 0x28($sp) -/* 6A00D8 80218ED8 8FB30024 */ lw $s3, 0x24($sp) -/* 6A00DC 80218EDC 8FB20020 */ lw $s2, 0x20($sp) -/* 6A00E0 80218EE0 8FB1001C */ lw $s1, 0x1c($sp) -/* 6A00E4 80218EE4 8FB00018 */ lw $s0, 0x18($sp) -/* 6A00E8 80218EE8 D7BA0048 */ ldc1 $f26, 0x48($sp) -/* 6A00EC 80218EEC D7B80040 */ ldc1 $f24, 0x40($sp) -/* 6A00F0 80218EF0 D7B60038 */ ldc1 $f22, 0x38($sp) -/* 6A00F4 80218EF4 D7B40030 */ ldc1 $f20, 0x30($sp) -/* 6A00F8 80218EF8 03E00008 */ jr $ra -/* 6A00FC 80218EFC 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_80218F58_6A0158.s b/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_80218F58_6A0158.s deleted file mode 100644 index 5f29500600..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_80218F58_6A0158.s +++ /dev/null @@ -1,254 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80218F58_6A0158 -/* 6A0158 80218F58 27BDFF58 */ addiu $sp, $sp, -0xa8 -/* 6A015C 80218F5C AFB30074 */ sw $s3, 0x74($sp) -/* 6A0160 80218F60 0080982D */ daddu $s3, $a0, $zero -/* 6A0164 80218F64 AFBF0088 */ sw $ra, 0x88($sp) -/* 6A0168 80218F68 AFB70084 */ sw $s7, 0x84($sp) -/* 6A016C 80218F6C AFB60080 */ sw $s6, 0x80($sp) -/* 6A0170 80218F70 AFB5007C */ sw $s5, 0x7c($sp) -/* 6A0174 80218F74 AFB40078 */ sw $s4, 0x78($sp) -/* 6A0178 80218F78 AFB20070 */ sw $s2, 0x70($sp) -/* 6A017C 80218F7C AFB1006C */ sw $s1, 0x6c($sp) -/* 6A0180 80218F80 AFB00068 */ sw $s0, 0x68($sp) -/* 6A0184 80218F84 F7B800A0 */ sdc1 $f24, 0xa0($sp) -/* 6A0188 80218F88 F7B60098 */ sdc1 $f22, 0x98($sp) -/* 6A018C 80218F8C F7B40090 */ sdc1 $f20, 0x90($sp) -/* 6A0190 80218F90 8E640148 */ lw $a0, 0x148($s3) -/* 6A0194 80218F94 0C09A75B */ jal get_actor -/* 6A0198 80218F98 00A0802D */ daddu $s0, $a1, $zero -/* 6A019C 80218F9C 14400003 */ bnez $v0, .L80218FAC -/* 6A01A0 80218FA0 0040202D */ daddu $a0, $v0, $zero -/* 6A01A4 80218FA4 080864B1 */ j .L802192C4 -/* 6A01A8 80218FA8 24020002 */ addiu $v0, $zero, 2 -.L80218FAC: -/* 6A01AC 80218FAC 0C099117 */ jal get_actor_part -/* 6A01B0 80218FB0 24050001 */ addiu $a1, $zero, 1 -/* 6A01B4 80218FB4 12000013 */ beqz $s0, .L80219004 -/* 6A01B8 80218FB8 0040A82D */ daddu $s5, $v0, $zero -/* 6A01BC 80218FBC 0000802D */ daddu $s0, $zero, $zero -/* 6A01C0 80218FC0 241100FF */ addiu $s1, $zero, 0xff -/* 6A01C4 80218FC4 AE600074 */ sw $zero, 0x74($s3) -/* 6A01C8 80218FC8 AE600078 */ sw $zero, 0x78($s3) -/* 6A01CC 80218FCC AE600070 */ sw $zero, 0x70($s3) -/* 6A01D0 80218FD0 0200282D */ daddu $a1, $s0, $zero -.L80218FD4: -/* 6A01D4 80218FD4 24060011 */ addiu $a2, $zero, 0x11 -/* 6A01D8 80218FD8 24070014 */ addiu $a3, $zero, 0x14 -/* 6A01DC 80218FDC AFA00010 */ sw $zero, 0x10($sp) -/* 6A01E0 80218FE0 AFA00014 */ sw $zero, 0x14($sp) -/* 6A01E4 80218FE4 AFB10018 */ sw $s1, 0x18($sp) -/* 6A01E8 80218FE8 AFA0001C */ sw $zero, 0x1c($sp) -/* 6A01EC 80218FEC 8EA40084 */ lw $a0, 0x84($s5) -/* 6A01F0 80218FF0 0C0B79E0 */ jal func_802DE780 -/* 6A01F4 80218FF4 26100001 */ addiu $s0, $s0, 1 -/* 6A01F8 80218FF8 2A02000A */ slti $v0, $s0, 0xa -/* 6A01FC 80218FFC 1440FFF5 */ bnez $v0, .L80218FD4 -/* 6A0200 80219000 0200282D */ daddu $a1, $s0, $zero -.L80219004: -/* 6A0204 80219004 8E620074 */ lw $v0, 0x74($s3) -/* 6A0208 80219008 2444000A */ addiu $a0, $v0, 0xa -/* 6A020C 8021900C 28820168 */ slti $v0, $a0, 0x168 -/* 6A0210 80219010 14400010 */ bnez $v0, .L80219054 -/* 6A0214 80219014 AE640074 */ sw $a0, 0x74($s3) -/* 6A0218 80219018 3C02B60B */ lui $v0, 0xb60b -/* 6A021C 8021901C 344260B7 */ ori $v0, $v0, 0x60b7 -/* 6A0220 80219020 00820018 */ mult $a0, $v0 -/* 6A0224 80219024 00041FC3 */ sra $v1, $a0, 0x1f -/* 6A0228 80219028 00004010 */ mfhi $t0 -/* 6A022C 8021902C 01041021 */ addu $v0, $t0, $a0 -/* 6A0230 80219030 00021203 */ sra $v0, $v0, 8 -/* 6A0234 80219034 00431023 */ subu $v0, $v0, $v1 -/* 6A0238 80219038 00021840 */ sll $v1, $v0, 1 -/* 6A023C 8021903C 00621821 */ addu $v1, $v1, $v0 -/* 6A0240 80219040 00031100 */ sll $v0, $v1, 4 -/* 6A0244 80219044 00431023 */ subu $v0, $v0, $v1 -/* 6A0248 80219048 000210C0 */ sll $v0, $v0, 3 -/* 6A024C 8021904C 00821023 */ subu $v0, $a0, $v0 -/* 6A0250 80219050 AE620074 */ sw $v0, 0x74($s3) -.L80219054: -/* 6A0254 80219054 0000882D */ daddu $s1, $zero, $zero -/* 6A0258 80219058 3C128000 */ lui $s2, 0x8000 -/* 6A025C 8021905C 0220802D */ daddu $s0, $s1, $zero -/* 6A0260 80219060 3C013FF0 */ lui $at, 0x3ff0 -/* 6A0264 80219064 4481C800 */ mtc1 $at, $f25 -/* 6A0268 80219068 4480C000 */ mtc1 $zero, $f24 -/* 6A026C 8021906C 3C01404C */ lui $at, 0x404c -/* 6A0270 80219070 4481B800 */ mtc1 $at, $f23 -/* 6A0274 80219074 4480B000 */ mtc1 $zero, $f22 -/* 6A0278 80219078 3C0141E0 */ lui $at, 0x41e0 -/* 6A027C 8021907C 4481A800 */ mtc1 $at, $f21 -/* 6A0280 80219080 4480A000 */ mtc1 $zero, $f20 -.L80219084: -/* 6A0284 80219084 96640076 */ lhu $a0, 0x76($s3) -/* 6A0288 80219088 00902021 */ addu $a0, $a0, $s0 -/* 6A028C 8021908C 24840078 */ addiu $a0, $a0, 0x78 -/* 6A0290 80219090 00042400 */ sll $a0, $a0, 0x10 -/* 6A0294 80219094 0C00A4F5 */ jal cosine -/* 6A0298 80219098 00042403 */ sra $a0, $a0, 0x10 -/* 6A029C 8021909C 46000021 */ cvt.d.s $f0, $f0 -/* 6A02A0 802190A0 46380000 */ add.d $f0, $f0, $f24 -/* 6A02A4 802190A4 46360002 */ mul.d $f0, $f0, $f22 -/* 6A02A8 802190A8 00000000 */ nop -/* 6A02AC 802190AC 27A20020 */ addiu $v0, $sp, 0x20 -/* 6A02B0 802190B0 4620A03E */ c.le.d $f20, $f0 -/* 6A02B4 802190B4 00000000 */ nop -/* 6A02B8 802190B8 45010005 */ bc1t .L802190D0 -/* 6A02BC 802190BC 00511021 */ addu $v0, $v0, $s1 -/* 6A02C0 802190C0 4620008D */ trunc.w.d $f2, $f0 -/* 6A02C4 802190C4 44031000 */ mfc1 $v1, $f2 -/* 6A02C8 802190C8 0808643A */ j .L802190E8 -/* 6A02CC 802190CC A0430000 */ sb $v1, ($v0) -.L802190D0: -/* 6A02D0 802190D0 46340001 */ sub.d $f0, $f0, $f20 -/* 6A02D4 802190D4 4620008D */ trunc.w.d $f2, $f0 -/* 6A02D8 802190D8 44031000 */ mfc1 $v1, $f2 -/* 6A02DC 802190DC 00000000 */ nop -/* 6A02E0 802190E0 00721825 */ or $v1, $v1, $s2 -/* 6A02E4 802190E4 A0430000 */ sb $v1, ($v0) -.L802190E8: -/* 6A02E8 802190E8 96640076 */ lhu $a0, 0x76($s3) -/* 6A02EC 802190EC 00902021 */ addu $a0, $a0, $s0 -/* 6A02F0 802190F0 2484003C */ addiu $a0, $a0, 0x3c -/* 6A02F4 802190F4 00042400 */ sll $a0, $a0, 0x10 -/* 6A02F8 802190F8 0C00A4F5 */ jal cosine -/* 6A02FC 802190FC 00042403 */ sra $a0, $a0, 0x10 -/* 6A0300 80219100 46000021 */ cvt.d.s $f0, $f0 -/* 6A0304 80219104 46380000 */ add.d $f0, $f0, $f24 -/* 6A0308 80219108 46360002 */ mul.d $f0, $f0, $f22 -/* 6A030C 8021910C 00000000 */ nop -/* 6A0310 80219110 27A20038 */ addiu $v0, $sp, 0x38 -/* 6A0314 80219114 4620A03E */ c.le.d $f20, $f0 -/* 6A0318 80219118 00000000 */ nop -/* 6A031C 8021911C 45010005 */ bc1t .L80219134 -/* 6A0320 80219120 00511021 */ addu $v0, $v0, $s1 -/* 6A0324 80219124 4620008D */ trunc.w.d $f2, $f0 -/* 6A0328 80219128 44031000 */ mfc1 $v1, $f2 -/* 6A032C 8021912C 08086453 */ j .L8021914C -/* 6A0330 80219130 A0430000 */ sb $v1, ($v0) -.L80219134: -/* 6A0334 80219134 46340001 */ sub.d $f0, $f0, $f20 -/* 6A0338 80219138 4620008D */ trunc.w.d $f2, $f0 -/* 6A033C 8021913C 44031000 */ mfc1 $v1, $f2 -/* 6A0340 80219140 00000000 */ nop -/* 6A0344 80219144 00721825 */ or $v1, $v1, $s2 -/* 6A0348 80219148 A0430000 */ sb $v1, ($v0) -.L8021914C: -/* 6A034C 8021914C 96640076 */ lhu $a0, 0x76($s3) -/* 6A0350 80219150 00902021 */ addu $a0, $a0, $s0 -/* 6A0354 80219154 248400B4 */ addiu $a0, $a0, 0xb4 -/* 6A0358 80219158 00042400 */ sll $a0, $a0, 0x10 -/* 6A035C 8021915C 0C00A4F5 */ jal cosine -/* 6A0360 80219160 00042403 */ sra $a0, $a0, 0x10 -/* 6A0364 80219164 46000021 */ cvt.d.s $f0, $f0 -/* 6A0368 80219168 46380000 */ add.d $f0, $f0, $f24 -/* 6A036C 8021916C 46360002 */ mul.d $f0, $f0, $f22 -/* 6A0370 80219170 00000000 */ nop -/* 6A0374 80219174 27A20050 */ addiu $v0, $sp, 0x50 -/* 6A0378 80219178 4620A03E */ c.le.d $f20, $f0 -/* 6A037C 8021917C 00000000 */ nop -/* 6A0380 80219180 45010005 */ bc1t .L80219198 -/* 6A0384 80219184 00511021 */ addu $v0, $v0, $s1 -/* 6A0388 80219188 4620008D */ trunc.w.d $f2, $f0 -/* 6A038C 8021918C 44031000 */ mfc1 $v1, $f2 -/* 6A0390 80219190 0808646C */ j .L802191B0 -/* 6A0394 80219194 A0430000 */ sb $v1, ($v0) -.L80219198: -/* 6A0398 80219198 46340001 */ sub.d $f0, $f0, $f20 -/* 6A039C 8021919C 4620008D */ trunc.w.d $f2, $f0 -/* 6A03A0 802191A0 44031000 */ mfc1 $v1, $f2 -/* 6A03A4 802191A4 00000000 */ nop -/* 6A03A8 802191A8 00721825 */ or $v1, $v1, $s2 -/* 6A03AC 802191AC A0430000 */ sb $v1, ($v0) -.L802191B0: -/* 6A03B0 802191B0 26310001 */ addiu $s1, $s1, 1 -/* 6A03B4 802191B4 2A220014 */ slti $v0, $s1, 0x14 -/* 6A03B8 802191B8 1440FFB2 */ bnez $v0, .L80219084 -/* 6A03BC 802191BC 26100019 */ addiu $s0, $s0, 0x19 -/* 6A03C0 802191C0 8EA2007C */ lw $v0, 0x7c($s5) -/* 6A03C4 802191C4 3C030004 */ lui $v1, 4 -/* 6A03C8 802191C8 00431024 */ and $v0, $v0, $v1 -/* 6A03CC 802191CC 10400025 */ beqz $v0, .L80219264 -/* 6A03D0 802191D0 0000882D */ daddu $s1, $zero, $zero -/* 6A03D4 802191D4 27B70020 */ addiu $s7, $sp, 0x20 -/* 6A03D8 802191D8 27B60038 */ addiu $s6, $sp, 0x38 -/* 6A03DC 802191DC 27B40050 */ addiu $s4, $sp, 0x50 -/* 6A03E0 802191E0 241300FF */ addiu $s3, $zero, 0xff -/* 6A03E4 802191E4 0000802D */ daddu $s0, $zero, $zero -.L802191E8: -/* 6A03E8 802191E8 02F11021 */ addu $v0, $s7, $s1 -/* 6A03EC 802191EC 02D12021 */ addu $a0, $s6, $s1 -/* 6A03F0 802191F0 90430000 */ lbu $v1, ($v0) -/* 6A03F4 802191F4 02911021 */ addu $v0, $s4, $s1 -/* 6A03F8 802191F8 90840000 */ lbu $a0, ($a0) -/* 6A03FC 802191FC 90420000 */ lbu $v0, ($v0) -/* 6A0400 80219200 00031E00 */ sll $v1, $v1, 0x18 -/* 6A0404 80219204 00042400 */ sll $a0, $a0, 0x10 -/* 6A0408 80219208 00641825 */ or $v1, $v1, $a0 -/* 6A040C 8021920C 00021200 */ sll $v0, $v0, 8 -/* 6A0410 80219210 00621825 */ or $v1, $v1, $v0 -/* 6A0414 80219214 347200FF */ ori $s2, $v1, 0xff -/* 6A0418 80219218 0200282D */ daddu $a1, $s0, $zero -.L8021921C: -/* 6A041C 8021921C 2406000C */ addiu $a2, $zero, 0xc -/* 6A0420 80219220 0220382D */ daddu $a3, $s1, $zero -/* 6A0424 80219224 AFB20010 */ sw $s2, 0x10($sp) -/* 6A0428 80219228 AFA00014 */ sw $zero, 0x14($sp) -/* 6A042C 8021922C AFB30018 */ sw $s3, 0x18($sp) -/* 6A0430 80219230 AFA0001C */ sw $zero, 0x1c($sp) -/* 6A0434 80219234 8EA40084 */ lw $a0, 0x84($s5) -/* 6A0438 80219238 0C0B79E0 */ jal func_802DE780 -/* 6A043C 8021923C 26100001 */ addiu $s0, $s0, 1 -/* 6A0440 80219240 2A02000A */ slti $v0, $s0, 0xa -/* 6A0444 80219244 1440FFF5 */ bnez $v0, .L8021921C -/* 6A0448 80219248 0200282D */ daddu $a1, $s0, $zero -/* 6A044C 8021924C 26310001 */ addiu $s1, $s1, 1 -/* 6A0450 80219250 2A220014 */ slti $v0, $s1, 0x14 -/* 6A0454 80219254 1440FFE4 */ bnez $v0, .L802191E8 -/* 6A0458 80219258 0000802D */ daddu $s0, $zero, $zero -/* 6A045C 8021925C 080864B1 */ j .L802192C4 -/* 6A0460 80219260 0000102D */ daddu $v0, $zero, $zero -.L80219264: -/* 6A0464 80219264 241200FF */ addiu $s2, $zero, 0xff -/* 6A0468 80219268 0240A02D */ daddu $s4, $s2, $zero -/* 6A046C 8021926C 0000802D */ daddu $s0, $zero, $zero -.L80219270: -/* 6A0470 80219270 0200282D */ daddu $a1, $s0, $zero -.L80219274: -/* 6A0474 80219274 2406000C */ addiu $a2, $zero, 0xc -/* 6A0478 80219278 0220382D */ daddu $a3, $s1, $zero -/* 6A047C 8021927C AFB20010 */ sw $s2, 0x10($sp) -/* 6A0480 80219280 AFA00014 */ sw $zero, 0x14($sp) -/* 6A0484 80219284 AFB40018 */ sw $s4, 0x18($sp) -/* 6A0488 80219288 AFA0001C */ sw $zero, 0x1c($sp) -/* 6A048C 8021928C 8EA40084 */ lw $a0, 0x84($s5) -/* 6A0490 80219290 0C0B79E0 */ jal func_802DE780 -/* 6A0494 80219294 26100001 */ addiu $s0, $s0, 1 -/* 6A0498 80219298 2A02000A */ slti $v0, $s0, 0xa -/* 6A049C 8021929C 1440FFF5 */ bnez $v0, .L80219274 -/* 6A04A0 802192A0 0200282D */ daddu $a1, $s0, $zero -/* 6A04A4 802192A4 26310001 */ addiu $s1, $s1, 1 -/* 6A04A8 802192A8 2A220014 */ slti $v0, $s1, 0x14 -/* 6A04AC 802192AC 1440FFF0 */ bnez $v0, .L80219270 -/* 6A04B0 802192B0 0000802D */ daddu $s0, $zero, $zero -/* 6A04B4 802192B4 0000102D */ daddu $v0, $zero, $zero -/* 6A04B8 802192B8 AE600074 */ sw $zero, 0x74($s3) -/* 6A04BC 802192BC AE600078 */ sw $zero, 0x78($s3) -/* 6A04C0 802192C0 AE600070 */ sw $zero, 0x70($s3) -.L802192C4: -/* 6A04C4 802192C4 8FBF0088 */ lw $ra, 0x88($sp) -/* 6A04C8 802192C8 8FB70084 */ lw $s7, 0x84($sp) -/* 6A04CC 802192CC 8FB60080 */ lw $s6, 0x80($sp) -/* 6A04D0 802192D0 8FB5007C */ lw $s5, 0x7c($sp) -/* 6A04D4 802192D4 8FB40078 */ lw $s4, 0x78($sp) -/* 6A04D8 802192D8 8FB30074 */ lw $s3, 0x74($sp) -/* 6A04DC 802192DC 8FB20070 */ lw $s2, 0x70($sp) -/* 6A04E0 802192E0 8FB1006C */ lw $s1, 0x6c($sp) -/* 6A04E4 802192E4 8FB00068 */ lw $s0, 0x68($sp) -/* 6A04E8 802192E8 D7B800A0 */ ldc1 $f24, 0xa0($sp) -/* 6A04EC 802192EC D7B60098 */ ldc1 $f22, 0x98($sp) -/* 6A04F0 802192F0 D7B40090 */ ldc1 $f20, 0x90($sp) -/* 6A04F4 802192F4 03E00008 */ jr $ra -/* 6A04F8 802192F8 27BD00A8 */ addiu $sp, $sp, 0xa8 diff --git a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_80219444_6A0644.s b/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_80219444_6A0644.s deleted file mode 100644 index b7d522fe91..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_80219444_6A0644.s +++ /dev/null @@ -1,258 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80219444_6A0644 -/* 6A0644 80219444 27BDFFA8 */ addiu $sp, $sp, -0x58 -/* 6A0648 80219448 AFB1001C */ sw $s1, 0x1c($sp) -/* 6A064C 8021944C 0080882D */ daddu $s1, $a0, $zero -/* 6A0650 80219450 AFB20020 */ sw $s2, 0x20($sp) -/* 6A0654 80219454 AFBF002C */ sw $ra, 0x2c($sp) -/* 6A0658 80219458 AFB40028 */ sw $s4, 0x28($sp) -/* 6A065C 8021945C AFB30024 */ sw $s3, 0x24($sp) -/* 6A0660 80219460 AFB00018 */ sw $s0, 0x18($sp) -/* 6A0664 80219464 F7BC0050 */ sdc1 $f28, 0x50($sp) -/* 6A0668 80219468 F7BA0048 */ sdc1 $f26, 0x48($sp) -/* 6A066C 8021946C F7B80040 */ sdc1 $f24, 0x40($sp) -/* 6A0670 80219470 F7B60038 */ sdc1 $f22, 0x38($sp) -/* 6A0674 80219474 F7B40030 */ sdc1 $f20, 0x30($sp) -/* 6A0678 80219478 8E240148 */ lw $a0, 0x148($s1) -/* 6A067C 8021947C 8E30000C */ lw $s0, 0xc($s1) -/* 6A0680 80219480 0C09A75B */ jal get_actor -/* 6A0684 80219484 00A0902D */ daddu $s2, $a1, $zero -/* 6A0688 80219488 0040982D */ daddu $s3, $v0, $zero -/* 6A068C 8021948C 126000D5 */ beqz $s3, .L802197E4 -/* 6A0690 80219490 24020002 */ addiu $v0, $zero, 2 -/* 6A0694 80219494 1240003C */ beqz $s2, .L80219588 -/* 6A0698 80219498 0220202D */ daddu $a0, $s1, $zero -/* 6A069C 8021949C 8E050000 */ lw $a1, ($s0) -/* 6A06A0 802194A0 26100004 */ addiu $s0, $s0, 4 -/* 6A06A4 802194A4 0C0B1EAF */ jal evt_get_variable -/* 6A06A8 802194A8 0000902D */ daddu $s2, $zero, $zero -/* 6A06AC 802194AC 8E050000 */ lw $a1, ($s0) -/* 6A06B0 802194B0 26100004 */ addiu $s0, $s0, 4 -/* 6A06B4 802194B4 4482E000 */ mtc1 $v0, $f28 -/* 6A06B8 802194B8 00000000 */ nop -/* 6A06BC 802194BC 4680E720 */ cvt.s.w $f28, $f28 -/* 6A06C0 802194C0 0C0B1EAF */ jal evt_get_variable -/* 6A06C4 802194C4 0220202D */ daddu $a0, $s1, $zero -/* 6A06C8 802194C8 8E050000 */ lw $a1, ($s0) -/* 6A06CC 802194CC 26100004 */ addiu $s0, $s0, 4 -/* 6A06D0 802194D0 4482D000 */ mtc1 $v0, $f26 -/* 6A06D4 802194D4 00000000 */ nop -/* 6A06D8 802194D8 4680D6A0 */ cvt.s.w $f26, $f26 -/* 6A06DC 802194DC 0C0B1EAF */ jal evt_get_variable -/* 6A06E0 802194E0 0220202D */ daddu $a0, $s1, $zero -/* 6A06E4 802194E4 8E050000 */ lw $a1, ($s0) -/* 6A06E8 802194E8 26100004 */ addiu $s0, $s0, 4 -/* 6A06EC 802194EC 4482C000 */ mtc1 $v0, $f24 -/* 6A06F0 802194F0 00000000 */ nop -/* 6A06F4 802194F4 4680C620 */ cvt.s.w $f24, $f24 -/* 6A06F8 802194F8 0C0B210B */ jal evt_get_float_variable -/* 6A06FC 802194FC 0220202D */ daddu $a0, $s1, $zero -/* 6A0700 80219500 0220202D */ daddu $a0, $s1, $zero -/* 6A0704 80219504 8E050000 */ lw $a1, ($s0) -/* 6A0708 80219508 0C0B210B */ jal evt_get_float_variable -/* 6A070C 8021950C 46000506 */ mov.s $f20, $f0 -/* 6A0710 80219510 240400B4 */ addiu $a0, $zero, 0xb4 -/* 6A0714 80219514 0C00AB39 */ jal heap_malloc -/* 6A0718 80219518 46000586 */ mov.s $f22, $f0 -/* 6A071C 8021951C 0040882D */ daddu $s1, $v0, $zero -/* 6A0720 80219520 24060028 */ addiu $a2, $zero, 0x28 -/* 6A0724 80219524 240500FF */ addiu $a1, $zero, 0xff -/* 6A0728 80219528 24040001 */ addiu $a0, $zero, 1 -/* 6A072C 8021952C 26230038 */ addiu $v1, $s1, 0x38 -/* 6A0730 80219530 AE710078 */ sw $s1, 0x78($s3) -.L80219534: -/* 6A0734 80219534 E47CFFCC */ swc1 $f28, -0x34($v1) -/* 6A0738 80219538 E47AFFD0 */ swc1 $f26, -0x30($v1) -/* 6A073C 8021953C E478FFD4 */ swc1 $f24, -0x2c($v1) -/* 6A0740 80219540 E474FFE0 */ swc1 $f20, -0x20($v1) -/* 6A0744 80219544 E474FFD8 */ swc1 $f20, -0x28($v1) -/* 6A0748 80219548 E476FFDC */ swc1 $f22, -0x24($v1) -/* 6A074C 8021954C AC64FFE4 */ sw $a0, -0x1c($v1) -/* 6A0750 80219550 AC66FFE8 */ sw $a2, -0x18($v1) -/* 6A0754 80219554 AC65FFEC */ sw $a1, -0x14($v1) -/* 6A0758 80219558 AC65FFF0 */ sw $a1, -0x10($v1) -/* 6A075C 8021955C AC60FFF4 */ sw $zero, -0xc($v1) -/* 6A0760 80219560 AC60FFF8 */ sw $zero, -8($v1) -/* 6A0764 80219564 AC60FFFC */ sw $zero, -4($v1) -/* 6A0768 80219568 AC600000 */ sw $zero, ($v1) -/* 6A076C 8021956C 2463003C */ addiu $v1, $v1, 0x3c -/* 6A0770 80219570 26520001 */ addiu $s2, $s2, 1 -/* 6A0774 80219574 2A420003 */ slti $v0, $s2, 3 -/* 6A0778 80219578 1440FFEE */ bnez $v0, .L80219534 -/* 6A077C 8021957C 2484000A */ addiu $a0, $a0, 0xa -/* 6A0780 80219580 080865F9 */ j .L802197E4 -/* 6A0784 80219584 0000102D */ daddu $v0, $zero, $zero -.L80219588: -/* 6A0788 80219588 0000A02D */ daddu $s4, $zero, $zero -/* 6A078C 8021958C 0280902D */ daddu $s2, $s4, $zero -/* 6A0790 80219590 8E710078 */ lw $s1, 0x78($s3) -/* 6A0794 80219594 3C013DCC */ lui $at, 0x3dcc -/* 6A0798 80219598 3421CCCD */ ori $at, $at, 0xcccd -/* 6A079C 8021959C 4481C000 */ mtc1 $at, $f24 -/* 6A07A0 802195A0 3C013F00 */ lui $at, 0x3f00 -/* 6A07A4 802195A4 4481B000 */ mtc1 $at, $f22 -/* 6A07A8 802195A8 3C01437F */ lui $at, 0x437f -/* 6A07AC 802195AC 4481A000 */ mtc1 $at, $f20 -/* 6A07B0 802195B0 26300028 */ addiu $s0, $s1, 0x28 -.L802195B4: -/* 6A07B4 802195B4 8E02FFF4 */ lw $v0, -0xc($s0) -/* 6A07B8 802195B8 1840001C */ blez $v0, .L8021962C -/* 6A07BC 802195BC 2442FFFF */ addiu $v0, $v0, -1 -/* 6A07C0 802195C0 1C40007D */ bgtz $v0, .L802197B8 -/* 6A07C4 802195C4 AE02FFF4 */ sw $v0, -0xc($s0) -/* 6A07C8 802195C8 C600FFF0 */ lwc1 $f0, -0x10($s0) -/* 6A07CC 802195CC 2402FFFF */ addiu $v0, $zero, -1 -/* 6A07D0 802195D0 AFA20014 */ sw $v0, 0x14($sp) -/* 6A07D4 802195D4 E7A00010 */ swc1 $f0, 0x10($sp) -/* 6A07D8 802195D8 8E05FFDC */ lw $a1, -0x24($s0) -/* 6A07DC 802195DC 8E06FFE0 */ lw $a2, -0x20($s0) -/* 6A07E0 802195E0 8E07FFE4 */ lw $a3, -0x1c($s0) -/* 6A07E4 802195E4 0C01CA9C */ jal fx_star_outline -/* 6A07E8 802195E8 0000202D */ daddu $a0, $zero, $zero -/* 6A07EC 802195EC AE220000 */ sw $v0, ($s1) -/* 6A07F0 802195F0 8C42000C */ lw $v0, 0xc($v0) -/* 6A07F4 802195F4 C6000004 */ lwc1 $f0, 4($s0) -/* 6A07F8 802195F8 E440003C */ swc1 $f0, 0x3c($v0) -/* 6A07FC 802195FC 8E220000 */ lw $v0, ($s1) -/* 6A0800 80219600 C6000008 */ lwc1 $f0, 8($s0) -/* 6A0804 80219604 8C42000C */ lw $v0, 0xc($v0) -/* 6A0808 80219608 E4400040 */ swc1 $f0, 0x40($v0) -/* 6A080C 8021960C 8E220000 */ lw $v0, ($s1) -/* 6A0810 80219610 C600000C */ lwc1 $f0, 0xc($s0) -/* 6A0814 80219614 8C42000C */ lw $v0, 0xc($v0) -/* 6A0818 80219618 E4400044 */ swc1 $f0, 0x44($v0) -/* 6A081C 8021961C 8E220000 */ lw $v0, ($s1) -/* 6A0820 80219620 8C42000C */ lw $v0, 0xc($v0) -/* 6A0824 80219624 080865EE */ j .L802197B8 -/* 6A0828 80219628 A4400000 */ sh $zero, ($v0) -.L8021962C: -/* 6A082C 8021962C 8E020010 */ lw $v0, 0x10($s0) -/* 6A0830 80219630 10400003 */ beqz $v0, .L80219640 -/* 6A0834 80219634 00000000 */ nop -/* 6A0838 80219638 080865EE */ j .L802197B8 -/* 6A083C 8021963C 26940001 */ addiu $s4, $s4, 1 -.L80219640: -/* 6A0840 80219640 C600FFE8 */ lwc1 $f0, -0x18($s0) -/* 6A0844 80219644 C608FFEC */ lwc1 $f8, -0x14($s0) -/* 6A0848 80219648 46080001 */ sub.s $f0, $f0, $f8 -/* 6A084C 8021964C C602FFF8 */ lwc1 $f2, -8($s0) -/* 6A0850 80219650 468010A0 */ cvt.s.w $f2, $f2 -/* 6A0854 80219654 46000005 */ abs.s $f0, $f0 -/* 6A0858 80219658 46020002 */ mul.s $f0, $f0, $f2 -/* 6A085C 8021965C 00000000 */ nop -/* 6A0860 80219660 C606000C */ lwc1 $f6, 0xc($s0) -/* 6A0864 80219664 3C014110 */ lui $at, 0x4110 -/* 6A0868 80219668 44811000 */ mtc1 $at, $f2 -/* 6A086C 8021966C 3C014220 */ lui $at, 0x4220 -/* 6A0870 80219670 44812000 */ mtc1 $at, $f4 -/* 6A0874 80219674 46023180 */ add.s $f6, $f6, $f2 -/* 6A0878 80219678 8E03FFF8 */ lw $v1, -8($s0) -/* 6A087C 8021967C 46040003 */ div.s $f0, $f0, $f4 -/* 6A0880 80219680 46080000 */ add.s $f0, $f0, $f8 -/* 6A0884 80219684 2862000B */ slti $v0, $v1, 0xb -/* 6A0888 80219688 E606000C */ swc1 $f6, 0xc($s0) -/* 6A088C 8021968C 1040001C */ beqz $v0, .L80219700 -/* 6A0890 80219690 E600FFF0 */ swc1 $f0, -0x10($s0) -/* 6A0894 80219694 000317C2 */ srl $v0, $v1, 0x1f -/* 6A0898 80219698 00621021 */ addu $v0, $v1, $v0 -/* 6A089C 8021969C 00021043 */ sra $v0, $v0, 1 -/* 6A08A0 802196A0 44821000 */ mtc1 $v0, $f2 -/* 6A08A4 802196A4 00000000 */ nop -/* 6A08A8 802196A8 468010A0 */ cvt.s.w $f2, $f2 -/* 6A08AC 802196AC 0060102D */ daddu $v0, $v1, $zero -/* 6A08B0 802196B0 46181082 */ mul.s $f2, $f2, $f24 -/* 6A08B4 802196B4 00000000 */ nop -/* 6A08B8 802196B8 00021FC2 */ srl $v1, $v0, 0x1f -/* 6A08BC 802196BC 00431021 */ addu $v0, $v0, $v1 -/* 6A08C0 802196C0 00021043 */ sra $v0, $v0, 1 -/* 6A08C4 802196C4 44820000 */ mtc1 $v0, $f0 -/* 6A08C8 802196C8 00000000 */ nop -/* 6A08CC 802196CC 46800020 */ cvt.s.w $f0, $f0 -/* 6A08D0 802196D0 46180002 */ mul.s $f0, $f0, $f24 -/* 6A08D4 802196D4 00000000 */ nop -/* 6A08D8 802196D8 46161080 */ add.s $f2, $f2, $f22 -/* 6A08DC 802196DC 46141082 */ mul.s $f2, $f2, $f20 -/* 6A08E0 802196E0 00000000 */ nop -/* 6A08E4 802196E4 46160000 */ add.s $f0, $f0, $f22 -/* 6A08E8 802196E8 46140002 */ mul.s $f0, $f0, $f20 -/* 6A08EC 802196EC 00000000 */ nop -/* 6A08F0 802196F0 4600128D */ trunc.w.s $f10, $f2 -/* 6A08F4 802196F4 E60AFFFC */ swc1 $f10, -4($s0) -/* 6A08F8 802196F8 4600028D */ trunc.w.s $f10, $f0 -/* 6A08FC 802196FC E60A0000 */ swc1 $f10, ($s0) -.L80219700: -/* 6A0900 80219700 8E02FFF8 */ lw $v0, -8($s0) -/* 6A0904 80219704 2442FFFF */ addiu $v0, $v0, -1 -/* 6A0908 80219708 1C400007 */ bgtz $v0, .L80219728 -/* 6A090C 8021970C AE02FFF8 */ sw $v0, -8($s0) -/* 6A0910 80219710 8E240000 */ lw $a0, ($s1) -/* 6A0914 80219714 0C016914 */ jal remove_effect -/* 6A0918 80219718 00000000 */ nop -/* 6A091C 8021971C 24020001 */ addiu $v0, $zero, 1 -/* 6A0920 80219720 080865EE */ j .L802197B8 -/* 6A0924 80219724 AE020010 */ sw $v0, 0x10($s0) -.L80219728: -/* 6A0928 80219728 8E220000 */ lw $v0, ($s1) -/* 6A092C 8021972C C600FFDC */ lwc1 $f0, -0x24($s0) -/* 6A0930 80219730 8C42000C */ lw $v0, 0xc($v0) -/* 6A0934 80219734 E4400004 */ swc1 $f0, 4($v0) -/* 6A0938 80219738 8E220000 */ lw $v0, ($s1) -/* 6A093C 8021973C C600FFE0 */ lwc1 $f0, -0x20($s0) -/* 6A0940 80219740 8C42000C */ lw $v0, 0xc($v0) -/* 6A0944 80219744 E4400008 */ swc1 $f0, 8($v0) -/* 6A0948 80219748 8E220000 */ lw $v0, ($s1) -/* 6A094C 8021974C C600FFE4 */ lwc1 $f0, -0x1c($s0) -/* 6A0950 80219750 8C42000C */ lw $v0, 0xc($v0) -/* 6A0954 80219754 E440000C */ swc1 $f0, 0xc($v0) -/* 6A0958 80219758 8E220000 */ lw $v0, ($s1) -/* 6A095C 8021975C C6000004 */ lwc1 $f0, 4($s0) -/* 6A0960 80219760 8C42000C */ lw $v0, 0xc($v0) -/* 6A0964 80219764 E440003C */ swc1 $f0, 0x3c($v0) -/* 6A0968 80219768 8E220000 */ lw $v0, ($s1) -/* 6A096C 8021976C C6000008 */ lwc1 $f0, 8($s0) -/* 6A0970 80219770 8C42000C */ lw $v0, 0xc($v0) -/* 6A0974 80219774 E4400040 */ swc1 $f0, 0x40($v0) -/* 6A0978 80219778 8E220000 */ lw $v0, ($s1) -/* 6A097C 8021977C C600000C */ lwc1 $f0, 0xc($s0) -/* 6A0980 80219780 8C42000C */ lw $v0, 0xc($v0) -/* 6A0984 80219784 E4400044 */ swc1 $f0, 0x44($v0) -/* 6A0988 80219788 8E220000 */ lw $v0, ($s1) -/* 6A098C 8021978C C600FFF0 */ lwc1 $f0, -0x10($s0) -/* 6A0990 80219790 8C42000C */ lw $v0, 0xc($v0) -/* 6A0994 80219794 E4400038 */ swc1 $f0, 0x38($v0) -/* 6A0998 80219798 8E220000 */ lw $v0, ($s1) -/* 6A099C 8021979C 8C43000C */ lw $v1, 0xc($v0) -/* 6A09A0 802197A0 8E02FFFC */ lw $v0, -4($s0) -/* 6A09A4 802197A4 AC620024 */ sw $v0, 0x24($v1) -/* 6A09A8 802197A8 8E220000 */ lw $v0, ($s1) -/* 6A09AC 802197AC 8C43000C */ lw $v1, 0xc($v0) -/* 6A09B0 802197B0 8E020000 */ lw $v0, ($s0) -/* 6A09B4 802197B4 AC620034 */ sw $v0, 0x34($v1) -.L802197B8: -/* 6A09B8 802197B8 2610003C */ addiu $s0, $s0, 0x3c -/* 6A09BC 802197BC 26520001 */ addiu $s2, $s2, 1 -/* 6A09C0 802197C0 2A420003 */ slti $v0, $s2, 3 -/* 6A09C4 802197C4 1440FF7B */ bnez $v0, .L802195B4 -/* 6A09C8 802197C8 2631003C */ addiu $s1, $s1, 0x3c -/* 6A09CC 802197CC 2A820003 */ slti $v0, $s4, 3 -/* 6A09D0 802197D0 14400004 */ bnez $v0, .L802197E4 -/* 6A09D4 802197D4 0000102D */ daddu $v0, $zero, $zero -/* 6A09D8 802197D8 0C00AB4B */ jal heap_free -/* 6A09DC 802197DC 0220202D */ daddu $a0, $s1, $zero -/* 6A09E0 802197E0 24020002 */ addiu $v0, $zero, 2 -.L802197E4: -/* 6A09E4 802197E4 8FBF002C */ lw $ra, 0x2c($sp) -/* 6A09E8 802197E8 8FB40028 */ lw $s4, 0x28($sp) -/* 6A09EC 802197EC 8FB30024 */ lw $s3, 0x24($sp) -/* 6A09F0 802197F0 8FB20020 */ lw $s2, 0x20($sp) -/* 6A09F4 802197F4 8FB1001C */ lw $s1, 0x1c($sp) -/* 6A09F8 802197F8 8FB00018 */ lw $s0, 0x18($sp) -/* 6A09FC 802197FC D7BC0050 */ ldc1 $f28, 0x50($sp) -/* 6A0A00 80219800 D7BA0048 */ ldc1 $f26, 0x48($sp) -/* 6A0A04 80219804 D7B80040 */ ldc1 $f24, 0x40($sp) -/* 6A0A08 80219808 D7B60038 */ ldc1 $f22, 0x38($sp) -/* 6A0A0C 8021980C D7B40030 */ ldc1 $f20, 0x30($sp) -/* 6A0A10 80219810 03E00008 */ jr $ra -/* 6A0A14 80219814 27BD0058 */ addiu $sp, $sp, 0x58 diff --git a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_80219818_6A0A18.s b/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_80219818_6A0A18.s deleted file mode 100644 index 633caa9586..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_80219818_6A0A18.s +++ /dev/null @@ -1,321 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -.section .rodata - -dlabel D_80234780_6BB980 -.double 0.4 - -dlabel D_80234788_6BB988 -.double 2.4000000953674316 - -dlabel D_80234790_6BB990 -.double 1.600000023841858 - -dlabel D_80234798_6BB998 -.double 1.2000000000000002 - -dlabel D_802347A0_6BB9A0 -.double 0.9600000381469727 - -dlabel D_802347A8_6BB9A8 -.double 0.4 - -dlabel D_802347B0_6BB9B0 -.double 0.6400000095367432, 0.0 - -.section .text - -glabel func_80219818_6A0A18 -/* 6A0A18 80219818 27BDFFB0 */ addiu $sp, $sp, -0x50 -/* 6A0A1C 8021981C AFB1001C */ sw $s1, 0x1c($sp) -/* 6A0A20 80219820 0080882D */ daddu $s1, $a0, $zero -/* 6A0A24 80219824 AFB20020 */ sw $s2, 0x20($sp) -/* 6A0A28 80219828 AFBF002C */ sw $ra, 0x2c($sp) -/* 6A0A2C 8021982C AFB40028 */ sw $s4, 0x28($sp) -/* 6A0A30 80219830 AFB30024 */ sw $s3, 0x24($sp) -/* 6A0A34 80219834 AFB00018 */ sw $s0, 0x18($sp) -/* 6A0A38 80219838 F7BA0048 */ sdc1 $f26, 0x48($sp) -/* 6A0A3C 8021983C F7B80040 */ sdc1 $f24, 0x40($sp) -/* 6A0A40 80219840 F7B60038 */ sdc1 $f22, 0x38($sp) -/* 6A0A44 80219844 F7B40030 */ sdc1 $f20, 0x30($sp) -/* 6A0A48 80219848 8E240148 */ lw $a0, 0x148($s1) -/* 6A0A4C 8021984C 8E30000C */ lw $s0, 0xc($s1) -/* 6A0A50 80219850 0C09A75B */ jal get_actor -/* 6A0A54 80219854 00A0902D */ daddu $s2, $a1, $zero -/* 6A0A58 80219858 0040A02D */ daddu $s4, $v0, $zero -/* 6A0A5C 8021985C 128000F9 */ beqz $s4, .L80219C44 -/* 6A0A60 80219860 24020002 */ addiu $v0, $zero, 2 -/* 6A0A64 80219864 12400041 */ beqz $s2, .L8021996C -/* 6A0A68 80219868 0000982D */ daddu $s3, $zero, $zero -/* 6A0A6C 8021986C 8E050000 */ lw $a1, ($s0) -/* 6A0A70 80219870 26100004 */ addiu $s0, $s0, 4 -/* 6A0A74 80219874 0C0B1EAF */ jal evt_get_variable -/* 6A0A78 80219878 0220202D */ daddu $a0, $s1, $zero -/* 6A0A7C 8021987C 8E050000 */ lw $a1, ($s0) -/* 6A0A80 80219880 26100004 */ addiu $s0, $s0, 4 -/* 6A0A84 80219884 4482D000 */ mtc1 $v0, $f26 -/* 6A0A88 80219888 00000000 */ nop -/* 6A0A8C 8021988C 4680D6A0 */ cvt.s.w $f26, $f26 -/* 6A0A90 80219890 0C0B1EAF */ jal evt_get_variable -/* 6A0A94 80219894 0220202D */ daddu $a0, $s1, $zero -/* 6A0A98 80219898 8E050000 */ lw $a1, ($s0) -/* 6A0A9C 8021989C 26100004 */ addiu $s0, $s0, 4 -/* 6A0AA0 802198A0 4482C000 */ mtc1 $v0, $f24 -/* 6A0AA4 802198A4 00000000 */ nop -/* 6A0AA8 802198A8 4680C620 */ cvt.s.w $f24, $f24 -/* 6A0AAC 802198AC 0C0B1EAF */ jal evt_get_variable -/* 6A0AB0 802198B0 0220202D */ daddu $a0, $s1, $zero -/* 6A0AB4 802198B4 8E050000 */ lw $a1, ($s0) -/* 6A0AB8 802198B8 4482B000 */ mtc1 $v0, $f22 -/* 6A0ABC 802198BC 00000000 */ nop -/* 6A0AC0 802198C0 4680B5A0 */ cvt.s.w $f22, $f22 -/* 6A0AC4 802198C4 0C0B210B */ jal evt_get_float_variable -/* 6A0AC8 802198C8 0220202D */ daddu $a0, $s1, $zero -/* 6A0ACC 802198CC 82830210 */ lb $v1, 0x210($s4) -/* 6A0AD0 802198D0 2402000A */ addiu $v0, $zero, 0xa -/* 6A0AD4 802198D4 14620007 */ bne $v1, $v0, .L802198F4 -/* 6A0AD8 802198D8 46000506 */ mov.s $f20, $f0 -/* 6A0ADC 802198DC 3C018023 */ lui $at, %hi(D_80234780_6BB980) -/* 6A0AE0 802198E0 D4224780 */ ldc1 $f2, %lo(D_80234780_6BB980)($at) -/* 6A0AE4 802198E4 4600A021 */ cvt.d.s $f0, $f20 -/* 6A0AE8 802198E8 46220002 */ mul.d $f0, $f0, $f2 -/* 6A0AEC 802198EC 00000000 */ nop -/* 6A0AF0 802198F0 46200520 */ cvt.s.d $f20, $f0 -.L802198F4: -/* 6A0AF4 802198F4 0C00AB39 */ jal heap_malloc -/* 6A0AF8 802198F8 2404009C */ addiu $a0, $zero, 0x9c -/* 6A0AFC 802198FC 0040882D */ daddu $s1, $v0, $zero -/* 6A0B00 80219900 0000902D */ daddu $s2, $zero, $zero -/* 6A0B04 80219904 24060032 */ addiu $a2, $zero, 0x32 -/* 6A0B08 80219908 240500FF */ addiu $a1, $zero, 0xff -/* 6A0B0C 8021990C 24040001 */ addiu $a0, $zero, 1 -/* 6A0B10 80219910 3C0142B4 */ lui $at, 0x42b4 -/* 6A0B14 80219914 44810000 */ mtc1 $at, $f0 -/* 6A0B18 80219918 26230030 */ addiu $v1, $s1, 0x30 -/* 6A0B1C 8021991C AE910078 */ sw $s1, 0x78($s4) -.L80219920: -/* 6A0B20 80219920 E47AFFD4 */ swc1 $f26, -0x2c($v1) -/* 6A0B24 80219924 E478FFD8 */ swc1 $f24, -0x28($v1) -/* 6A0B28 80219928 E476FFDC */ swc1 $f22, -0x24($v1) -/* 6A0B2C 8021992C E474FFE0 */ swc1 $f20, -0x20($v1) -/* 6A0B30 80219930 AC64FFE4 */ sw $a0, -0x1c($v1) -/* 6A0B34 80219934 AC66FFE8 */ sw $a2, -0x18($v1) -/* 6A0B38 80219938 AC65FFEC */ sw $a1, -0x14($v1) -/* 6A0B3C 8021993C AC65FFF0 */ sw $a1, -0x10($v1) -/* 6A0B40 80219940 E460FFF4 */ swc1 $f0, -0xc($v1) -/* 6A0B44 80219944 AC60FFF8 */ sw $zero, -8($v1) -/* 6A0B48 80219948 AC60FFFC */ sw $zero, -4($v1) -/* 6A0B4C 8021994C AC600000 */ sw $zero, ($v1) -/* 6A0B50 80219950 24630034 */ addiu $v1, $v1, 0x34 -/* 6A0B54 80219954 26520001 */ addiu $s2, $s2, 1 -/* 6A0B58 80219958 2A420003 */ slti $v0, $s2, 3 -/* 6A0B5C 8021995C 1440FFF0 */ bnez $v0, .L80219920 -/* 6A0B60 80219960 24840010 */ addiu $a0, $a0, 0x10 -/* 6A0B64 80219964 08086711 */ j .L80219C44 -/* 6A0B68 80219968 0000102D */ daddu $v0, $zero, $zero -.L8021996C: -/* 6A0B6C 8021996C 8E910078 */ lw $s1, 0x78($s4) -/* 6A0B70 80219970 0260902D */ daddu $s2, $s3, $zero -/* 6A0B74 80219974 26300030 */ addiu $s0, $s1, 0x30 -.L80219978: -/* 6A0B78 80219978 8E02FFE4 */ lw $v0, -0x1c($s0) -/* 6A0B7C 8021997C 18400019 */ blez $v0, .L802199E4 -/* 6A0B80 80219980 2442FFFF */ addiu $v0, $v0, -1 -/* 6A0B84 80219984 1C4000A4 */ bgtz $v0, .L80219C18 -/* 6A0B88 80219988 AE02FFE4 */ sw $v0, -0x1c($s0) -/* 6A0B8C 8021998C C600FFE0 */ lwc1 $f0, -0x20($s0) -/* 6A0B90 80219990 2402FFFF */ addiu $v0, $zero, -1 -/* 6A0B94 80219994 AFA20014 */ sw $v0, 0x14($sp) -/* 6A0B98 80219998 E7A00010 */ swc1 $f0, 0x10($sp) -/* 6A0B9C 8021999C 8E05FFD4 */ lw $a1, -0x2c($s0) -/* 6A0BA0 802199A0 8E06FFD8 */ lw $a2, -0x28($s0) -/* 6A0BA4 802199A4 8E07FFDC */ lw $a3, -0x24($s0) -/* 6A0BA8 802199A8 0C01CA9C */ jal fx_star_outline -/* 6A0BAC 802199AC 0000202D */ daddu $a0, $zero, $zero -/* 6A0BB0 802199B0 AE220000 */ sw $v0, ($s1) -/* 6A0BB4 802199B4 8C42000C */ lw $v0, 0xc($v0) -/* 6A0BB8 802199B8 C600FFF4 */ lwc1 $f0, -0xc($s0) -/* 6A0BBC 802199BC E440003C */ swc1 $f0, 0x3c($v0) -/* 6A0BC0 802199C0 8E220000 */ lw $v0, ($s1) -/* 6A0BC4 802199C4 C600FFF8 */ lwc1 $f0, -8($s0) -/* 6A0BC8 802199C8 8C42000C */ lw $v0, 0xc($v0) -/* 6A0BCC 802199CC E4400040 */ swc1 $f0, 0x40($v0) -/* 6A0BD0 802199D0 8E220000 */ lw $v0, ($s1) -/* 6A0BD4 802199D4 C600FFFC */ lwc1 $f0, -4($s0) -/* 6A0BD8 802199D8 8C42000C */ lw $v0, 0xc($v0) -/* 6A0BDC 802199DC 08086706 */ j .L80219C18 -/* 6A0BE0 802199E0 E4400044 */ swc1 $f0, 0x44($v0) -.L802199E4: -/* 6A0BE4 802199E4 8E020000 */ lw $v0, ($s0) -/* 6A0BE8 802199E8 10400003 */ beqz $v0, .L802199F8 -/* 6A0BEC 802199EC 2402000A */ addiu $v0, $zero, 0xa -/* 6A0BF0 802199F0 08086706 */ j .L80219C18 -/* 6A0BF4 802199F4 26730001 */ addiu $s3, $s3, 1 -.L802199F8: -/* 6A0BF8 802199F8 82830210 */ lb $v1, 0x210($s4) -/* 6A0BFC 802199FC 10620023 */ beq $v1, $v0, .L80219A8C -/* 6A0C00 80219A00 00000000 */ nop -/* 6A0C04 80219A04 C602FFD8 */ lwc1 $f2, -0x28($s0) -/* 6A0C08 80219A08 3C014044 */ lui $at, 0x4044 -/* 6A0C0C 80219A0C 44810800 */ mtc1 $at, $f1 -/* 6A0C10 80219A10 44800000 */ mtc1 $zero, $f0 -/* 6A0C14 80219A14 460010A1 */ cvt.d.s $f2, $f2 -/* 6A0C18 80219A18 4620103C */ c.lt.d $f2, $f0 -/* 6A0C1C 80219A1C 3C014008 */ lui $at, 0x4008 -/* 6A0C20 80219A20 44810800 */ mtc1 $at, $f1 -/* 6A0C24 80219A24 44800000 */ mtc1 $zero, $f0 -/* 6A0C28 80219A28 45030037 */ bc1tl .L80219B08 -/* 6A0C2C 80219A2C 46201000 */ add.d $f0, $f2, $f0 -/* 6A0C30 80219A30 3C01404E */ lui $at, 0x404e -/* 6A0C34 80219A34 44810800 */ mtc1 $at, $f1 -/* 6A0C38 80219A38 44800000 */ mtc1 $zero, $f0 -/* 6A0C3C 80219A3C 00000000 */ nop -/* 6A0C40 80219A40 4620103C */ c.lt.d $f2, $f0 -/* 6A0C44 80219A44 3C018023 */ lui $at, %hi(D_80234788_6BB988) -/* 6A0C48 80219A48 D4204788 */ ldc1 $f0, %lo(D_80234788_6BB988)($at) -/* 6A0C4C 80219A4C 4503002E */ bc1tl .L80219B08 -/* 6A0C50 80219A50 46201000 */ add.d $f0, $f2, $f0 -/* 6A0C54 80219A54 3C014054 */ lui $at, 0x4054 -/* 6A0C58 80219A58 44810800 */ mtc1 $at, $f1 -/* 6A0C5C 80219A5C 44800000 */ mtc1 $zero, $f0 -/* 6A0C60 80219A60 00000000 */ nop -/* 6A0C64 80219A64 4620103C */ c.lt.d $f2, $f0 -/* 6A0C68 80219A68 3C018023 */ lui $at, %hi(D_80234790_6BB990) -/* 6A0C6C 80219A6C D4204790 */ ldc1 $f0, %lo(D_80234790_6BB990)($at) -/* 6A0C70 80219A70 45030025 */ bc1tl .L80219B08 -/* 6A0C74 80219A74 46201000 */ add.d $f0, $f2, $f0 -/* 6A0C78 80219A78 3C013FF0 */ lui $at, 0x3ff0 -/* 6A0C7C 80219A7C 44810800 */ mtc1 $at, $f1 -/* 6A0C80 80219A80 44800000 */ mtc1 $zero, $f0 -/* 6A0C84 80219A84 080866C2 */ j .L80219B08 -/* 6A0C88 80219A88 46201000 */ add.d $f0, $f2, $f0 -.L80219A8C: -/* 6A0C8C 80219A8C C602FFD8 */ lwc1 $f2, -0x28($s0) -/* 6A0C90 80219A90 3C014030 */ lui $at, 0x4030 -/* 6A0C94 80219A94 44810800 */ mtc1 $at, $f1 -/* 6A0C98 80219A98 44800000 */ mtc1 $zero, $f0 -/* 6A0C9C 80219A9C 460010A1 */ cvt.d.s $f2, $f2 -/* 6A0CA0 80219AA0 4620103C */ c.lt.d $f2, $f0 -/* 6A0CA4 80219AA4 3C018023 */ lui $at, %hi(D_80234798_6BB998) -/* 6A0CA8 80219AA8 D4204798 */ ldc1 $f0, %lo(D_80234798_6BB998)($at) -/* 6A0CAC 80219AAC 45030016 */ bc1tl .L80219B08 -/* 6A0CB0 80219AB0 46201000 */ add.d $f0, $f2, $f0 -/* 6A0CB4 80219AB4 3C014038 */ lui $at, 0x4038 -/* 6A0CB8 80219AB8 44810800 */ mtc1 $at, $f1 -/* 6A0CBC 80219ABC 44800000 */ mtc1 $zero, $f0 -/* 6A0CC0 80219AC0 00000000 */ nop -/* 6A0CC4 80219AC4 4620103C */ c.lt.d $f2, $f0 -/* 6A0CC8 80219AC8 3C018023 */ lui $at, %hi(D_802347A0_6BB9A0) -/* 6A0CCC 80219ACC D42047A0 */ ldc1 $f0, %lo(D_802347A0_6BB9A0)($at) -/* 6A0CD0 80219AD0 4503000D */ bc1tl .L80219B08 -/* 6A0CD4 80219AD4 46201000 */ add.d $f0, $f2, $f0 -/* 6A0CD8 80219AD8 3C014040 */ lui $at, 0x4040 -/* 6A0CDC 80219ADC 44810800 */ mtc1 $at, $f1 -/* 6A0CE0 80219AE0 44800000 */ mtc1 $zero, $f0 -/* 6A0CE4 80219AE4 00000000 */ nop -/* 6A0CE8 80219AE8 4620103C */ c.lt.d $f2, $f0 -/* 6A0CEC 80219AEC 3C018023 */ lui $at, %hi(D_802347A8_6BB9A8) -/* 6A0CF0 80219AF0 D42047A8 */ ldc1 $f0, %lo(D_802347A8_6BB9A8)($at) -/* 6A0CF4 80219AF4 45020004 */ bc1fl .L80219B08 -/* 6A0CF8 80219AF8 46201000 */ add.d $f0, $f2, $f0 -/* 6A0CFC 80219AFC 3C018023 */ lui $at, %hi(D_802347B0_6BB9B0) -/* 6A0D00 80219B00 D42047B0 */ ldc1 $f0, %lo(D_802347B0_6BB9B0)($at) -/* 6A0D04 80219B04 46201000 */ add.d $f0, $f2, $f0 -.L80219B08: -/* 6A0D08 80219B08 46200020 */ cvt.s.d $f0, $f0 -/* 6A0D0C 80219B0C E600FFD8 */ swc1 $f0, -0x28($s0) -/* 6A0D10 80219B10 C600FFF8 */ lwc1 $f0, -8($s0) -/* 6A0D14 80219B14 3C014190 */ lui $at, 0x4190 -/* 6A0D18 80219B18 44811000 */ mtc1 $at, $f2 -/* 6A0D1C 80219B1C 8E03FFE8 */ lw $v1, -0x18($s0) -/* 6A0D20 80219B20 46020000 */ add.s $f0, $f0, $f2 -/* 6A0D24 80219B24 28620011 */ slti $v0, $v1, 0x11 -/* 6A0D28 80219B28 1040000E */ beqz $v0, .L80219B64 -/* 6A0D2C 80219B2C E600FFF8 */ swc1 $f0, -8($s0) -/* 6A0D30 80219B30 00031200 */ sll $v0, $v1, 8 -/* 6A0D34 80219B34 00431823 */ subu $v1, $v0, $v1 -/* 6A0D38 80219B38 04620001 */ bltzl $v1, .L80219B40 -/* 6A0D3C 80219B3C 2463000F */ addiu $v1, $v1, 0xf -.L80219B40: -/* 6A0D40 80219B40 8E02FFE8 */ lw $v0, -0x18($s0) -/* 6A0D44 80219B44 00031903 */ sra $v1, $v1, 4 -/* 6A0D48 80219B48 AE03FFEC */ sw $v1, -0x14($s0) -/* 6A0D4C 80219B4C 00021A00 */ sll $v1, $v0, 8 -/* 6A0D50 80219B50 00621023 */ subu $v0, $v1, $v0 -/* 6A0D54 80219B54 04420001 */ bltzl $v0, .L80219B5C -/* 6A0D58 80219B58 2442000F */ addiu $v0, $v0, 0xf -.L80219B5C: -/* 6A0D5C 80219B5C 00021103 */ sra $v0, $v0, 4 -/* 6A0D60 80219B60 AE02FFF0 */ sw $v0, -0x10($s0) -.L80219B64: -/* 6A0D64 80219B64 8E220000 */ lw $v0, ($s1) -/* 6A0D68 80219B68 C600FFD4 */ lwc1 $f0, -0x2c($s0) -/* 6A0D6C 80219B6C 8C42000C */ lw $v0, 0xc($v0) -/* 6A0D70 80219B70 E4400004 */ swc1 $f0, 4($v0) -/* 6A0D74 80219B74 8E220000 */ lw $v0, ($s1) -/* 6A0D78 80219B78 C600FFD8 */ lwc1 $f0, -0x28($s0) -/* 6A0D7C 80219B7C 8C42000C */ lw $v0, 0xc($v0) -/* 6A0D80 80219B80 E4400008 */ swc1 $f0, 8($v0) -/* 6A0D84 80219B84 8E220000 */ lw $v0, ($s1) -/* 6A0D88 80219B88 C600FFDC */ lwc1 $f0, -0x24($s0) -/* 6A0D8C 80219B8C 8C42000C */ lw $v0, 0xc($v0) -/* 6A0D90 80219B90 E440000C */ swc1 $f0, 0xc($v0) -/* 6A0D94 80219B94 8E220000 */ lw $v0, ($s1) -/* 6A0D98 80219B98 C600FFF4 */ lwc1 $f0, -0xc($s0) -/* 6A0D9C 80219B9C 8C42000C */ lw $v0, 0xc($v0) -/* 6A0DA0 80219BA0 E440003C */ swc1 $f0, 0x3c($v0) -/* 6A0DA4 80219BA4 8E220000 */ lw $v0, ($s1) -/* 6A0DA8 80219BA8 C600FFF8 */ lwc1 $f0, -8($s0) -/* 6A0DAC 80219BAC 8C42000C */ lw $v0, 0xc($v0) -/* 6A0DB0 80219BB0 E4400040 */ swc1 $f0, 0x40($v0) -/* 6A0DB4 80219BB4 8E220000 */ lw $v0, ($s1) -/* 6A0DB8 80219BB8 C600FFFC */ lwc1 $f0, -4($s0) -/* 6A0DBC 80219BBC 8C42000C */ lw $v0, 0xc($v0) -/* 6A0DC0 80219BC0 E4400044 */ swc1 $f0, 0x44($v0) -/* 6A0DC4 80219BC4 8E220000 */ lw $v0, ($s1) -/* 6A0DC8 80219BC8 C600FFE0 */ lwc1 $f0, -0x20($s0) -/* 6A0DCC 80219BCC 8C42000C */ lw $v0, 0xc($v0) -/* 6A0DD0 80219BD0 E4400038 */ swc1 $f0, 0x38($v0) -/* 6A0DD4 80219BD4 8E220000 */ lw $v0, ($s1) -/* 6A0DD8 80219BD8 8C43000C */ lw $v1, 0xc($v0) -/* 6A0DDC 80219BDC 8E02FFEC */ lw $v0, -0x14($s0) -/* 6A0DE0 80219BE0 AC620024 */ sw $v0, 0x24($v1) -/* 6A0DE4 80219BE4 8E220000 */ lw $v0, ($s1) -/* 6A0DE8 80219BE8 8C43000C */ lw $v1, 0xc($v0) -/* 6A0DEC 80219BEC 8E02FFF0 */ lw $v0, -0x10($s0) -/* 6A0DF0 80219BF0 AC620034 */ sw $v0, 0x34($v1) -/* 6A0DF4 80219BF4 8E02FFE8 */ lw $v0, -0x18($s0) -/* 6A0DF8 80219BF8 2442FFFF */ addiu $v0, $v0, -1 -/* 6A0DFC 80219BFC 1C400006 */ bgtz $v0, .L80219C18 -/* 6A0E00 80219C00 AE02FFE8 */ sw $v0, -0x18($s0) -/* 6A0E04 80219C04 8E240000 */ lw $a0, ($s1) -/* 6A0E08 80219C08 0C016914 */ jal remove_effect -/* 6A0E0C 80219C0C 00000000 */ nop -/* 6A0E10 80219C10 24020001 */ addiu $v0, $zero, 1 -/* 6A0E14 80219C14 AE020000 */ sw $v0, ($s0) -.L80219C18: -/* 6A0E18 80219C18 26100034 */ addiu $s0, $s0, 0x34 -/* 6A0E1C 80219C1C 26520001 */ addiu $s2, $s2, 1 -/* 6A0E20 80219C20 2A420003 */ slti $v0, $s2, 3 -/* 6A0E24 80219C24 1440FF54 */ bnez $v0, .L80219978 -/* 6A0E28 80219C28 26310034 */ addiu $s1, $s1, 0x34 -/* 6A0E2C 80219C2C 2A620003 */ slti $v0, $s3, 3 -/* 6A0E30 80219C30 14400004 */ bnez $v0, .L80219C44 -/* 6A0E34 80219C34 0000102D */ daddu $v0, $zero, $zero -/* 6A0E38 80219C38 0C00AB4B */ jal heap_free -/* 6A0E3C 80219C3C 0220202D */ daddu $a0, $s1, $zero -/* 6A0E40 80219C40 24020002 */ addiu $v0, $zero, 2 -.L80219C44: -/* 6A0E44 80219C44 8FBF002C */ lw $ra, 0x2c($sp) -/* 6A0E48 80219C48 8FB40028 */ lw $s4, 0x28($sp) -/* 6A0E4C 80219C4C 8FB30024 */ lw $s3, 0x24($sp) -/* 6A0E50 80219C50 8FB20020 */ lw $s2, 0x20($sp) -/* 6A0E54 80219C54 8FB1001C */ lw $s1, 0x1c($sp) -/* 6A0E58 80219C58 8FB00018 */ lw $s0, 0x18($sp) -/* 6A0E5C 80219C5C D7BA0048 */ ldc1 $f26, 0x48($sp) -/* 6A0E60 80219C60 D7B80040 */ ldc1 $f24, 0x40($sp) -/* 6A0E64 80219C64 D7B60038 */ ldc1 $f22, 0x38($sp) -/* 6A0E68 80219C68 D7B40030 */ ldc1 $f20, 0x30($sp) -/* 6A0E6C 80219C6C 03E00008 */ jr $ra -/* 6A0E70 80219C70 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_80219FFC_6A11FC.s b/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_80219FFC_6A11FC.s deleted file mode 100644 index 0abe878a9f..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_80219FFC_6A11FC.s +++ /dev/null @@ -1,124 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80219FFC_6A11FC -/* 6A11FC 80219FFC 27BDFFC0 */ addiu $sp, $sp, -0x40 -/* 6A1200 8021A000 AFB3002C */ sw $s3, 0x2c($sp) -/* 6A1204 8021A004 0080982D */ daddu $s3, $a0, $zero -/* 6A1208 8021A008 AFB00020 */ sw $s0, 0x20($sp) -/* 6A120C 8021A00C 0000802D */ daddu $s0, $zero, $zero -/* 6A1210 8021A010 AFB20028 */ sw $s2, 0x28($sp) -/* 6A1214 8021A014 3C12800E */ lui $s2, %hi(gBattleStatus) -/* 6A1218 8021A018 2652C070 */ addiu $s2, $s2, %lo(gBattleStatus) -/* 6A121C 8021A01C AFB40030 */ sw $s4, 0x30($sp) -/* 6A1220 8021A020 3C148011 */ lui $s4, %hi(gPlayerData) -/* 6A1224 8021A024 2694F290 */ addiu $s4, $s4, %lo(gPlayerData) -/* 6A1228 8021A028 AFB50034 */ sw $s5, 0x34($sp) -/* 6A122C 8021A02C 2404FFFF */ addiu $a0, $zero, -1 -/* 6A1230 8021A030 AFBF0038 */ sw $ra, 0x38($sp) -/* 6A1234 8021A034 AFB10024 */ sw $s1, 0x24($sp) -/* 6A1238 8021A038 824200AE */ lb $v0, 0xae($s2) -/* 6A123C 8021A03C 8E71000C */ lw $s1, 0xc($s3) -/* 6A1240 8021A040 14440003 */ bne $v0, $a0, .L8021A050 -/* 6A1244 8021A044 0280A82D */ daddu $s5, $s4, $zero -/* 6A1248 8021A048 AFA00010 */ sw $zero, 0x10($sp) -/* 6A124C 8021A04C 24100001 */ addiu $s0, $zero, 1 -.L8021A050: -/* 6A1250 8021A050 824200AF */ lb $v0, 0xaf($s2) -/* 6A1254 8021A054 14440005 */ bne $v0, $a0, .L8021A06C -/* 6A1258 8021A058 00101080 */ sll $v0, $s0, 2 -/* 6A125C 8021A05C 03A21821 */ addu $v1, $sp, $v0 -/* 6A1260 8021A060 24020001 */ addiu $v0, $zero, 1 -/* 6A1264 8021A064 AC620010 */ sw $v0, 0x10($v1) -/* 6A1268 8021A068 02028021 */ addu $s0, $s0, $v0 -.L8021A06C: -/* 6A126C 8021A06C 824200B0 */ lb $v0, 0xb0($s2) -/* 6A1270 8021A070 14440005 */ bne $v0, $a0, .L8021A088 -/* 6A1274 8021A074 00101080 */ sll $v0, $s0, 2 -/* 6A1278 8021A078 03A21821 */ addu $v1, $sp, $v0 -/* 6A127C 8021A07C 24020002 */ addiu $v0, $zero, 2 -/* 6A1280 8021A080 AC620010 */ sw $v0, 0x10($v1) -/* 6A1284 8021A084 26100001 */ addiu $s0, $s0, 1 -.L8021A088: -/* 6A1288 8021A088 0C00A67F */ jal rand_int -/* 6A128C 8021A08C 24040002 */ addiu $a0, $zero, 2 -/* 6A1290 8021A090 2604FFFF */ addiu $a0, $s0, -1 -/* 6A1294 8021A094 0C00A67F */ jal rand_int -/* 6A1298 8021A098 24500002 */ addiu $s0, $v0, 2 -/* 6A129C 8021A09C 00021080 */ sll $v0, $v0, 2 -/* 6A12A0 8021A0A0 03A21021 */ addu $v0, $sp, $v0 -/* 6A12A4 8021A0A4 8C430010 */ lw $v1, 0x10($v0) -/* 6A12A8 8021A0A8 24020001 */ addiu $v0, $zero, 1 -/* 6A12AC 8021A0AC 1062001C */ beq $v1, $v0, .L8021A120 -/* 6A12B0 8021A0B0 28620002 */ slti $v0, $v1, 2 -/* 6A12B4 8021A0B4 10400005 */ beqz $v0, .L8021A0CC -/* 6A12B8 8021A0B8 24020002 */ addiu $v0, $zero, 2 -/* 6A12BC 8021A0BC 50600007 */ beql $v1, $zero, .L8021A0DC -/* 6A12C0 8021A0C0 A25000AE */ sb $s0, 0xae($s2) -/* 6A12C4 8021A0C4 08086864 */ j .L8021A190 -/* 6A12C8 8021A0C8 00000000 */ nop -.L8021A0CC: -/* 6A12CC 8021A0CC 50620026 */ beql $v1, $v0, .L8021A168 -/* 6A12D0 8021A0D0 A25000B0 */ sb $s0, 0xb0($s2) -/* 6A12D4 8021A0D4 08086864 */ j .L8021A190 -/* 6A12D8 8021A0D8 00000000 */ nop -.L8021A0DC: -/* 6A12DC 8021A0DC 8E250000 */ lw $a1, ($s1) -/* 6A12E0 8021A0E0 82820001 */ lb $v0, 1($s4) -/* 6A12E4 8021A0E4 26310004 */ addiu $s1, $s1, 4 -/* 6A12E8 8021A0E8 00021080 */ sll $v0, $v0, 2 -/* 6A12EC 8021A0EC 3C068022 */ lui $a2, %hi(D_8022466C_6AB86C) -/* 6A12F0 8021A0F0 00C23021 */ addu $a2, $a2, $v0 -/* 6A12F4 8021A0F4 8CC6466C */ lw $a2, %lo(D_8022466C_6AB86C)($a2) -/* 6A12F8 8021A0F8 0C0B2026 */ jal evt_set_variable -/* 6A12FC 8021A0FC 0260202D */ daddu $a0, $s3, $zero -/* 6A1300 8021A100 82820001 */ lb $v0, 1($s4) -/* 6A1304 8021A104 8E250000 */ lw $a1, ($s1) -/* 6A1308 8021A108 00021080 */ sll $v0, $v0, 2 -/* 6A130C 8021A10C 3C068022 */ lui $a2, %hi(D_80224678_6AB878) -/* 6A1310 8021A110 00C23021 */ addu $a2, $a2, $v0 -/* 6A1314 8021A114 8CC64678 */ lw $a2, %lo(D_80224678_6AB878)($a2) -/* 6A1318 8021A118 08086862 */ j .L8021A188 -/* 6A131C 8021A11C 0260202D */ daddu $a0, $s3, $zero -.L8021A120: -/* 6A1320 8021A120 A25000AF */ sb $s0, 0xaf($s2) -/* 6A1324 8021A124 8E250000 */ lw $a1, ($s1) -/* 6A1328 8021A128 82A20000 */ lb $v0, ($s5) -/* 6A132C 8021A12C 26310004 */ addiu $s1, $s1, 4 -/* 6A1330 8021A130 00021080 */ sll $v0, $v0, 2 -/* 6A1334 8021A134 3C068022 */ lui $a2, %hi(D_80224684_6AB884) -/* 6A1338 8021A138 00C23021 */ addu $a2, $a2, $v0 -/* 6A133C 8021A13C 8CC64684 */ lw $a2, %lo(D_80224684_6AB884)($a2) -/* 6A1340 8021A140 0C0B2026 */ jal evt_set_variable -/* 6A1344 8021A144 0260202D */ daddu $a0, $s3, $zero -/* 6A1348 8021A148 82A20000 */ lb $v0, ($s5) -/* 6A134C 8021A14C 8E250000 */ lw $a1, ($s1) -/* 6A1350 8021A150 00021080 */ sll $v0, $v0, 2 -/* 6A1354 8021A154 3C068022 */ lui $a2, %hi(D_80224690_6AB890) -/* 6A1358 8021A158 00C23021 */ addu $a2, $a2, $v0 -/* 6A135C 8021A15C 8CC64690 */ lw $a2, %lo(D_80224690_6AB890)($a2) -/* 6A1360 8021A160 08086862 */ j .L8021A188 -/* 6A1364 8021A164 0260202D */ daddu $a0, $s3, $zero -.L8021A168: -/* 6A1368 8021A168 8E250000 */ lw $a1, ($s1) -/* 6A136C 8021A16C 26310004 */ addiu $s1, $s1, 4 -/* 6A1370 8021A170 0260202D */ daddu $a0, $s3, $zero -/* 6A1374 8021A174 0C0B2026 */ jal evt_set_variable -/* 6A1378 8021A178 2406016C */ addiu $a2, $zero, 0x16c -/* 6A137C 8021A17C 0260202D */ daddu $a0, $s3, $zero -/* 6A1380 8021A180 8E250000 */ lw $a1, ($s1) -/* 6A1384 8021A184 2406004F */ addiu $a2, $zero, 0x4f -.L8021A188: -/* 6A1388 8021A188 0C0B2026 */ jal evt_set_variable -/* 6A138C 8021A18C 00000000 */ nop -.L8021A190: -/* 6A1390 8021A190 8FBF0038 */ lw $ra, 0x38($sp) -/* 6A1394 8021A194 8FB50034 */ lw $s5, 0x34($sp) -/* 6A1398 8021A198 8FB40030 */ lw $s4, 0x30($sp) -/* 6A139C 8021A19C 8FB3002C */ lw $s3, 0x2c($sp) -/* 6A13A0 8021A1A0 8FB20028 */ lw $s2, 0x28($sp) -/* 6A13A4 8021A1A4 8FB10024 */ lw $s1, 0x24($sp) -/* 6A13A8 8021A1A8 8FB00020 */ lw $s0, 0x20($sp) -/* 6A13AC 8021A1AC 24020002 */ addiu $v0, $zero, 2 -/* 6A13B0 8021A1B0 03E00008 */ jr $ra -/* 6A13B4 8021A1B4 27BD0040 */ addiu $sp, $sp, 0x40 diff --git a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_8021A318_6A1518.s b/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_8021A318_6A1518.s deleted file mode 100644 index db2d66d110..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_8021A318_6A1518.s +++ /dev/null @@ -1,254 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_8021A318_6A1518 -/* 6A1518 8021A318 27BDFF58 */ addiu $sp, $sp, -0xa8 -/* 6A151C 8021A31C AFB30074 */ sw $s3, 0x74($sp) -/* 6A1520 8021A320 0080982D */ daddu $s3, $a0, $zero -/* 6A1524 8021A324 AFBF0088 */ sw $ra, 0x88($sp) -/* 6A1528 8021A328 AFB70084 */ sw $s7, 0x84($sp) -/* 6A152C 8021A32C AFB60080 */ sw $s6, 0x80($sp) -/* 6A1530 8021A330 AFB5007C */ sw $s5, 0x7c($sp) -/* 6A1534 8021A334 AFB40078 */ sw $s4, 0x78($sp) -/* 6A1538 8021A338 AFB20070 */ sw $s2, 0x70($sp) -/* 6A153C 8021A33C AFB1006C */ sw $s1, 0x6c($sp) -/* 6A1540 8021A340 AFB00068 */ sw $s0, 0x68($sp) -/* 6A1544 8021A344 F7B800A0 */ sdc1 $f24, 0xa0($sp) -/* 6A1548 8021A348 F7B60098 */ sdc1 $f22, 0x98($sp) -/* 6A154C 8021A34C F7B40090 */ sdc1 $f20, 0x90($sp) -/* 6A1550 8021A350 8E640148 */ lw $a0, 0x148($s3) -/* 6A1554 8021A354 0C09A75B */ jal get_actor -/* 6A1558 8021A358 00A0802D */ daddu $s0, $a1, $zero -/* 6A155C 8021A35C 14400003 */ bnez $v0, .L8021A36C -/* 6A1560 8021A360 0040202D */ daddu $a0, $v0, $zero -/* 6A1564 8021A364 080869A1 */ j .L8021A684 -/* 6A1568 8021A368 24020002 */ addiu $v0, $zero, 2 -.L8021A36C: -/* 6A156C 8021A36C 0C099117 */ jal get_actor_part -/* 6A1570 8021A370 24050001 */ addiu $a1, $zero, 1 -/* 6A1574 8021A374 12000013 */ beqz $s0, .L8021A3C4 -/* 6A1578 8021A378 0040A82D */ daddu $s5, $v0, $zero -/* 6A157C 8021A37C 0000802D */ daddu $s0, $zero, $zero -/* 6A1580 8021A380 241100FF */ addiu $s1, $zero, 0xff -/* 6A1584 8021A384 AE600074 */ sw $zero, 0x74($s3) -/* 6A1588 8021A388 AE600078 */ sw $zero, 0x78($s3) -/* 6A158C 8021A38C AE600070 */ sw $zero, 0x70($s3) -/* 6A1590 8021A390 0200282D */ daddu $a1, $s0, $zero -.L8021A394: -/* 6A1594 8021A394 24060011 */ addiu $a2, $zero, 0x11 -/* 6A1598 8021A398 24070014 */ addiu $a3, $zero, 0x14 -/* 6A159C 8021A39C AFA00010 */ sw $zero, 0x10($sp) -/* 6A15A0 8021A3A0 AFA00014 */ sw $zero, 0x14($sp) -/* 6A15A4 8021A3A4 AFB10018 */ sw $s1, 0x18($sp) -/* 6A15A8 8021A3A8 AFA0001C */ sw $zero, 0x1c($sp) -/* 6A15AC 8021A3AC 8EA40084 */ lw $a0, 0x84($s5) -/* 6A15B0 8021A3B0 0C0B79E0 */ jal func_802DE780 -/* 6A15B4 8021A3B4 26100001 */ addiu $s0, $s0, 1 -/* 6A15B8 8021A3B8 2A02000A */ slti $v0, $s0, 0xa -/* 6A15BC 8021A3BC 1440FFF5 */ bnez $v0, .L8021A394 -/* 6A15C0 8021A3C0 0200282D */ daddu $a1, $s0, $zero -.L8021A3C4: -/* 6A15C4 8021A3C4 8E620074 */ lw $v0, 0x74($s3) -/* 6A15C8 8021A3C8 2444000A */ addiu $a0, $v0, 0xa -/* 6A15CC 8021A3CC 28820168 */ slti $v0, $a0, 0x168 -/* 6A15D0 8021A3D0 14400010 */ bnez $v0, .L8021A414 -/* 6A15D4 8021A3D4 AE640074 */ sw $a0, 0x74($s3) -/* 6A15D8 8021A3D8 3C02B60B */ lui $v0, 0xb60b -/* 6A15DC 8021A3DC 344260B7 */ ori $v0, $v0, 0x60b7 -/* 6A15E0 8021A3E0 00820018 */ mult $a0, $v0 -/* 6A15E4 8021A3E4 00041FC3 */ sra $v1, $a0, 0x1f -/* 6A15E8 8021A3E8 00004010 */ mfhi $t0 -/* 6A15EC 8021A3EC 01041021 */ addu $v0, $t0, $a0 -/* 6A15F0 8021A3F0 00021203 */ sra $v0, $v0, 8 -/* 6A15F4 8021A3F4 00431023 */ subu $v0, $v0, $v1 -/* 6A15F8 8021A3F8 00021840 */ sll $v1, $v0, 1 -/* 6A15FC 8021A3FC 00621821 */ addu $v1, $v1, $v0 -/* 6A1600 8021A400 00031100 */ sll $v0, $v1, 4 -/* 6A1604 8021A404 00431023 */ subu $v0, $v0, $v1 -/* 6A1608 8021A408 000210C0 */ sll $v0, $v0, 3 -/* 6A160C 8021A40C 00821023 */ subu $v0, $a0, $v0 -/* 6A1610 8021A410 AE620074 */ sw $v0, 0x74($s3) -.L8021A414: -/* 6A1614 8021A414 0000882D */ daddu $s1, $zero, $zero -/* 6A1618 8021A418 3C128000 */ lui $s2, 0x8000 -/* 6A161C 8021A41C 0220802D */ daddu $s0, $s1, $zero -/* 6A1620 8021A420 3C013FF0 */ lui $at, 0x3ff0 -/* 6A1624 8021A424 4481C800 */ mtc1 $at, $f25 -/* 6A1628 8021A428 4480C000 */ mtc1 $zero, $f24 -/* 6A162C 8021A42C 3C01404C */ lui $at, 0x404c -/* 6A1630 8021A430 4481B800 */ mtc1 $at, $f23 -/* 6A1634 8021A434 4480B000 */ mtc1 $zero, $f22 -/* 6A1638 8021A438 3C0141E0 */ lui $at, 0x41e0 -/* 6A163C 8021A43C 4481A800 */ mtc1 $at, $f21 -/* 6A1640 8021A440 4480A000 */ mtc1 $zero, $f20 -.L8021A444: -/* 6A1644 8021A444 96640076 */ lhu $a0, 0x76($s3) -/* 6A1648 8021A448 00902021 */ addu $a0, $a0, $s0 -/* 6A164C 8021A44C 24840078 */ addiu $a0, $a0, 0x78 -/* 6A1650 8021A450 00042400 */ sll $a0, $a0, 0x10 -/* 6A1654 8021A454 0C00A4F5 */ jal cosine -/* 6A1658 8021A458 00042403 */ sra $a0, $a0, 0x10 -/* 6A165C 8021A45C 46000021 */ cvt.d.s $f0, $f0 -/* 6A1660 8021A460 46380000 */ add.d $f0, $f0, $f24 -/* 6A1664 8021A464 46360002 */ mul.d $f0, $f0, $f22 -/* 6A1668 8021A468 00000000 */ nop -/* 6A166C 8021A46C 27A20020 */ addiu $v0, $sp, 0x20 -/* 6A1670 8021A470 4620A03E */ c.le.d $f20, $f0 -/* 6A1674 8021A474 00000000 */ nop -/* 6A1678 8021A478 45010005 */ bc1t .L8021A490 -/* 6A167C 8021A47C 00511021 */ addu $v0, $v0, $s1 -/* 6A1680 8021A480 4620008D */ trunc.w.d $f2, $f0 -/* 6A1684 8021A484 44031000 */ mfc1 $v1, $f2 -/* 6A1688 8021A488 0808692A */ j .L8021A4A8 -/* 6A168C 8021A48C A0430000 */ sb $v1, ($v0) -.L8021A490: -/* 6A1690 8021A490 46340001 */ sub.d $f0, $f0, $f20 -/* 6A1694 8021A494 4620008D */ trunc.w.d $f2, $f0 -/* 6A1698 8021A498 44031000 */ mfc1 $v1, $f2 -/* 6A169C 8021A49C 00000000 */ nop -/* 6A16A0 8021A4A0 00721825 */ or $v1, $v1, $s2 -/* 6A16A4 8021A4A4 A0430000 */ sb $v1, ($v0) -.L8021A4A8: -/* 6A16A8 8021A4A8 96640076 */ lhu $a0, 0x76($s3) -/* 6A16AC 8021A4AC 00902021 */ addu $a0, $a0, $s0 -/* 6A16B0 8021A4B0 2484003C */ addiu $a0, $a0, 0x3c -/* 6A16B4 8021A4B4 00042400 */ sll $a0, $a0, 0x10 -/* 6A16B8 8021A4B8 0C00A4F5 */ jal cosine -/* 6A16BC 8021A4BC 00042403 */ sra $a0, $a0, 0x10 -/* 6A16C0 8021A4C0 46000021 */ cvt.d.s $f0, $f0 -/* 6A16C4 8021A4C4 46380000 */ add.d $f0, $f0, $f24 -/* 6A16C8 8021A4C8 46360002 */ mul.d $f0, $f0, $f22 -/* 6A16CC 8021A4CC 00000000 */ nop -/* 6A16D0 8021A4D0 27A20038 */ addiu $v0, $sp, 0x38 -/* 6A16D4 8021A4D4 4620A03E */ c.le.d $f20, $f0 -/* 6A16D8 8021A4D8 00000000 */ nop -/* 6A16DC 8021A4DC 45010005 */ bc1t .L8021A4F4 -/* 6A16E0 8021A4E0 00511021 */ addu $v0, $v0, $s1 -/* 6A16E4 8021A4E4 4620008D */ trunc.w.d $f2, $f0 -/* 6A16E8 8021A4E8 44031000 */ mfc1 $v1, $f2 -/* 6A16EC 8021A4EC 08086943 */ j .L8021A50C -/* 6A16F0 8021A4F0 A0430000 */ sb $v1, ($v0) -.L8021A4F4: -/* 6A16F4 8021A4F4 46340001 */ sub.d $f0, $f0, $f20 -/* 6A16F8 8021A4F8 4620008D */ trunc.w.d $f2, $f0 -/* 6A16FC 8021A4FC 44031000 */ mfc1 $v1, $f2 -/* 6A1700 8021A500 00000000 */ nop -/* 6A1704 8021A504 00721825 */ or $v1, $v1, $s2 -/* 6A1708 8021A508 A0430000 */ sb $v1, ($v0) -.L8021A50C: -/* 6A170C 8021A50C 96640076 */ lhu $a0, 0x76($s3) -/* 6A1710 8021A510 00902021 */ addu $a0, $a0, $s0 -/* 6A1714 8021A514 248400B4 */ addiu $a0, $a0, 0xb4 -/* 6A1718 8021A518 00042400 */ sll $a0, $a0, 0x10 -/* 6A171C 8021A51C 0C00A4F5 */ jal cosine -/* 6A1720 8021A520 00042403 */ sra $a0, $a0, 0x10 -/* 6A1724 8021A524 46000021 */ cvt.d.s $f0, $f0 -/* 6A1728 8021A528 46380000 */ add.d $f0, $f0, $f24 -/* 6A172C 8021A52C 46360002 */ mul.d $f0, $f0, $f22 -/* 6A1730 8021A530 00000000 */ nop -/* 6A1734 8021A534 27A20050 */ addiu $v0, $sp, 0x50 -/* 6A1738 8021A538 4620A03E */ c.le.d $f20, $f0 -/* 6A173C 8021A53C 00000000 */ nop -/* 6A1740 8021A540 45010005 */ bc1t .L8021A558 -/* 6A1744 8021A544 00511021 */ addu $v0, $v0, $s1 -/* 6A1748 8021A548 4620008D */ trunc.w.d $f2, $f0 -/* 6A174C 8021A54C 44031000 */ mfc1 $v1, $f2 -/* 6A1750 8021A550 0808695C */ j .L8021A570 -/* 6A1754 8021A554 A0430000 */ sb $v1, ($v0) -.L8021A558: -/* 6A1758 8021A558 46340001 */ sub.d $f0, $f0, $f20 -/* 6A175C 8021A55C 4620008D */ trunc.w.d $f2, $f0 -/* 6A1760 8021A560 44031000 */ mfc1 $v1, $f2 -/* 6A1764 8021A564 00000000 */ nop -/* 6A1768 8021A568 00721825 */ or $v1, $v1, $s2 -/* 6A176C 8021A56C A0430000 */ sb $v1, ($v0) -.L8021A570: -/* 6A1770 8021A570 26310001 */ addiu $s1, $s1, 1 -/* 6A1774 8021A574 2A220014 */ slti $v0, $s1, 0x14 -/* 6A1778 8021A578 1440FFB2 */ bnez $v0, .L8021A444 -/* 6A177C 8021A57C 26100019 */ addiu $s0, $s0, 0x19 -/* 6A1780 8021A580 8EA2007C */ lw $v0, 0x7c($s5) -/* 6A1784 8021A584 3C030008 */ lui $v1, 8 -/* 6A1788 8021A588 00431024 */ and $v0, $v0, $v1 -/* 6A178C 8021A58C 10400025 */ beqz $v0, .L8021A624 -/* 6A1790 8021A590 0000882D */ daddu $s1, $zero, $zero -/* 6A1794 8021A594 27B70020 */ addiu $s7, $sp, 0x20 -/* 6A1798 8021A598 27B60038 */ addiu $s6, $sp, 0x38 -/* 6A179C 8021A59C 27B40050 */ addiu $s4, $sp, 0x50 -/* 6A17A0 8021A5A0 241300FF */ addiu $s3, $zero, 0xff -/* 6A17A4 8021A5A4 0000802D */ daddu $s0, $zero, $zero -.L8021A5A8: -/* 6A17A8 8021A5A8 02F11021 */ addu $v0, $s7, $s1 -/* 6A17AC 8021A5AC 02D12021 */ addu $a0, $s6, $s1 -/* 6A17B0 8021A5B0 90430000 */ lbu $v1, ($v0) -/* 6A17B4 8021A5B4 02911021 */ addu $v0, $s4, $s1 -/* 6A17B8 8021A5B8 90840000 */ lbu $a0, ($a0) -/* 6A17BC 8021A5BC 90420000 */ lbu $v0, ($v0) -/* 6A17C0 8021A5C0 00031E00 */ sll $v1, $v1, 0x18 -/* 6A17C4 8021A5C4 00042400 */ sll $a0, $a0, 0x10 -/* 6A17C8 8021A5C8 00641825 */ or $v1, $v1, $a0 -/* 6A17CC 8021A5CC 00021200 */ sll $v0, $v0, 8 -/* 6A17D0 8021A5D0 00621825 */ or $v1, $v1, $v0 -/* 6A17D4 8021A5D4 347200FF */ ori $s2, $v1, 0xff -/* 6A17D8 8021A5D8 0200282D */ daddu $a1, $s0, $zero -.L8021A5DC: -/* 6A17DC 8021A5DC 2406000C */ addiu $a2, $zero, 0xc -/* 6A17E0 8021A5E0 0220382D */ daddu $a3, $s1, $zero -/* 6A17E4 8021A5E4 AFB20010 */ sw $s2, 0x10($sp) -/* 6A17E8 8021A5E8 AFA00014 */ sw $zero, 0x14($sp) -/* 6A17EC 8021A5EC AFB30018 */ sw $s3, 0x18($sp) -/* 6A17F0 8021A5F0 AFA0001C */ sw $zero, 0x1c($sp) -/* 6A17F4 8021A5F4 8EA40084 */ lw $a0, 0x84($s5) -/* 6A17F8 8021A5F8 0C0B79E0 */ jal func_802DE780 -/* 6A17FC 8021A5FC 26100001 */ addiu $s0, $s0, 1 -/* 6A1800 8021A600 2A02000A */ slti $v0, $s0, 0xa -/* 6A1804 8021A604 1440FFF5 */ bnez $v0, .L8021A5DC -/* 6A1808 8021A608 0200282D */ daddu $a1, $s0, $zero -/* 6A180C 8021A60C 26310001 */ addiu $s1, $s1, 1 -/* 6A1810 8021A610 2A220014 */ slti $v0, $s1, 0x14 -/* 6A1814 8021A614 1440FFE4 */ bnez $v0, .L8021A5A8 -/* 6A1818 8021A618 0000802D */ daddu $s0, $zero, $zero -/* 6A181C 8021A61C 080869A1 */ j .L8021A684 -/* 6A1820 8021A620 0000102D */ daddu $v0, $zero, $zero -.L8021A624: -/* 6A1824 8021A624 241200FF */ addiu $s2, $zero, 0xff -/* 6A1828 8021A628 0240A02D */ daddu $s4, $s2, $zero -/* 6A182C 8021A62C 0000802D */ daddu $s0, $zero, $zero -.L8021A630: -/* 6A1830 8021A630 0200282D */ daddu $a1, $s0, $zero -.L8021A634: -/* 6A1834 8021A634 2406000C */ addiu $a2, $zero, 0xc -/* 6A1838 8021A638 0220382D */ daddu $a3, $s1, $zero -/* 6A183C 8021A63C AFB20010 */ sw $s2, 0x10($sp) -/* 6A1840 8021A640 AFA00014 */ sw $zero, 0x14($sp) -/* 6A1844 8021A644 AFB40018 */ sw $s4, 0x18($sp) -/* 6A1848 8021A648 AFA0001C */ sw $zero, 0x1c($sp) -/* 6A184C 8021A64C 8EA40084 */ lw $a0, 0x84($s5) -/* 6A1850 8021A650 0C0B79E0 */ jal func_802DE780 -/* 6A1854 8021A654 26100001 */ addiu $s0, $s0, 1 -/* 6A1858 8021A658 2A02000A */ slti $v0, $s0, 0xa -/* 6A185C 8021A65C 1440FFF5 */ bnez $v0, .L8021A634 -/* 6A1860 8021A660 0200282D */ daddu $a1, $s0, $zero -/* 6A1864 8021A664 26310001 */ addiu $s1, $s1, 1 -/* 6A1868 8021A668 2A220014 */ slti $v0, $s1, 0x14 -/* 6A186C 8021A66C 1440FFF0 */ bnez $v0, .L8021A630 -/* 6A1870 8021A670 0000802D */ daddu $s0, $zero, $zero -/* 6A1874 8021A674 0000102D */ daddu $v0, $zero, $zero -/* 6A1878 8021A678 AE600074 */ sw $zero, 0x74($s3) -/* 6A187C 8021A67C AE600078 */ sw $zero, 0x78($s3) -/* 6A1880 8021A680 AE600070 */ sw $zero, 0x70($s3) -.L8021A684: -/* 6A1884 8021A684 8FBF0088 */ lw $ra, 0x88($sp) -/* 6A1888 8021A688 8FB70084 */ lw $s7, 0x84($sp) -/* 6A188C 8021A68C 8FB60080 */ lw $s6, 0x80($sp) -/* 6A1890 8021A690 8FB5007C */ lw $s5, 0x7c($sp) -/* 6A1894 8021A694 8FB40078 */ lw $s4, 0x78($sp) -/* 6A1898 8021A698 8FB30074 */ lw $s3, 0x74($sp) -/* 6A189C 8021A69C 8FB20070 */ lw $s2, 0x70($sp) -/* 6A18A0 8021A6A0 8FB1006C */ lw $s1, 0x6c($sp) -/* 6A18A4 8021A6A4 8FB00068 */ lw $s0, 0x68($sp) -/* 6A18A8 8021A6A8 D7B800A0 */ ldc1 $f24, 0xa0($sp) -/* 6A18AC 8021A6AC D7B60098 */ ldc1 $f22, 0x98($sp) -/* 6A18B0 8021A6B0 D7B40090 */ ldc1 $f20, 0x90($sp) -/* 6A18B4 8021A6B4 03E00008 */ jr $ra -/* 6A18B8 8021A6B8 27BD00A8 */ addiu $sp, $sp, 0xa8 diff --git a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_8021A804_6A1A04.s b/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_8021A804_6A1A04.s deleted file mode 100644 index 0984688b6f..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_8021A804_6A1A04.s +++ /dev/null @@ -1,258 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_8021A804_6A1A04 -/* 6A1A04 8021A804 27BDFFA8 */ addiu $sp, $sp, -0x58 -/* 6A1A08 8021A808 AFB1001C */ sw $s1, 0x1c($sp) -/* 6A1A0C 8021A80C 0080882D */ daddu $s1, $a0, $zero -/* 6A1A10 8021A810 AFB20020 */ sw $s2, 0x20($sp) -/* 6A1A14 8021A814 AFBF002C */ sw $ra, 0x2c($sp) -/* 6A1A18 8021A818 AFB40028 */ sw $s4, 0x28($sp) -/* 6A1A1C 8021A81C AFB30024 */ sw $s3, 0x24($sp) -/* 6A1A20 8021A820 AFB00018 */ sw $s0, 0x18($sp) -/* 6A1A24 8021A824 F7BC0050 */ sdc1 $f28, 0x50($sp) -/* 6A1A28 8021A828 F7BA0048 */ sdc1 $f26, 0x48($sp) -/* 6A1A2C 8021A82C F7B80040 */ sdc1 $f24, 0x40($sp) -/* 6A1A30 8021A830 F7B60038 */ sdc1 $f22, 0x38($sp) -/* 6A1A34 8021A834 F7B40030 */ sdc1 $f20, 0x30($sp) -/* 6A1A38 8021A838 8E240148 */ lw $a0, 0x148($s1) -/* 6A1A3C 8021A83C 8E30000C */ lw $s0, 0xc($s1) -/* 6A1A40 8021A840 0C09A75B */ jal get_actor -/* 6A1A44 8021A844 00A0902D */ daddu $s2, $a1, $zero -/* 6A1A48 8021A848 0040982D */ daddu $s3, $v0, $zero -/* 6A1A4C 8021A84C 126000D5 */ beqz $s3, .L8021ABA4 -/* 6A1A50 8021A850 24020002 */ addiu $v0, $zero, 2 -/* 6A1A54 8021A854 1240003C */ beqz $s2, .L8021A948 -/* 6A1A58 8021A858 0220202D */ daddu $a0, $s1, $zero -/* 6A1A5C 8021A85C 8E050000 */ lw $a1, ($s0) -/* 6A1A60 8021A860 26100004 */ addiu $s0, $s0, 4 -/* 6A1A64 8021A864 0C0B1EAF */ jal evt_get_variable -/* 6A1A68 8021A868 0000902D */ daddu $s2, $zero, $zero -/* 6A1A6C 8021A86C 8E050000 */ lw $a1, ($s0) -/* 6A1A70 8021A870 26100004 */ addiu $s0, $s0, 4 -/* 6A1A74 8021A874 4482E000 */ mtc1 $v0, $f28 -/* 6A1A78 8021A878 00000000 */ nop -/* 6A1A7C 8021A87C 4680E720 */ cvt.s.w $f28, $f28 -/* 6A1A80 8021A880 0C0B1EAF */ jal evt_get_variable -/* 6A1A84 8021A884 0220202D */ daddu $a0, $s1, $zero -/* 6A1A88 8021A888 8E050000 */ lw $a1, ($s0) -/* 6A1A8C 8021A88C 26100004 */ addiu $s0, $s0, 4 -/* 6A1A90 8021A890 4482D000 */ mtc1 $v0, $f26 -/* 6A1A94 8021A894 00000000 */ nop -/* 6A1A98 8021A898 4680D6A0 */ cvt.s.w $f26, $f26 -/* 6A1A9C 8021A89C 0C0B1EAF */ jal evt_get_variable -/* 6A1AA0 8021A8A0 0220202D */ daddu $a0, $s1, $zero -/* 6A1AA4 8021A8A4 8E050000 */ lw $a1, ($s0) -/* 6A1AA8 8021A8A8 26100004 */ addiu $s0, $s0, 4 -/* 6A1AAC 8021A8AC 4482C000 */ mtc1 $v0, $f24 -/* 6A1AB0 8021A8B0 00000000 */ nop -/* 6A1AB4 8021A8B4 4680C620 */ cvt.s.w $f24, $f24 -/* 6A1AB8 8021A8B8 0C0B210B */ jal evt_get_float_variable -/* 6A1ABC 8021A8BC 0220202D */ daddu $a0, $s1, $zero -/* 6A1AC0 8021A8C0 0220202D */ daddu $a0, $s1, $zero -/* 6A1AC4 8021A8C4 8E050000 */ lw $a1, ($s0) -/* 6A1AC8 8021A8C8 0C0B210B */ jal evt_get_float_variable -/* 6A1ACC 8021A8CC 46000506 */ mov.s $f20, $f0 -/* 6A1AD0 8021A8D0 240400B4 */ addiu $a0, $zero, 0xb4 -/* 6A1AD4 8021A8D4 0C00AB39 */ jal heap_malloc -/* 6A1AD8 8021A8D8 46000586 */ mov.s $f22, $f0 -/* 6A1ADC 8021A8DC 0040882D */ daddu $s1, $v0, $zero -/* 6A1AE0 8021A8E0 24060028 */ addiu $a2, $zero, 0x28 -/* 6A1AE4 8021A8E4 240500FF */ addiu $a1, $zero, 0xff -/* 6A1AE8 8021A8E8 24040001 */ addiu $a0, $zero, 1 -/* 6A1AEC 8021A8EC 26230038 */ addiu $v1, $s1, 0x38 -/* 6A1AF0 8021A8F0 AE710078 */ sw $s1, 0x78($s3) -.L8021A8F4: -/* 6A1AF4 8021A8F4 E47CFFCC */ swc1 $f28, -0x34($v1) -/* 6A1AF8 8021A8F8 E47AFFD0 */ swc1 $f26, -0x30($v1) -/* 6A1AFC 8021A8FC E478FFD4 */ swc1 $f24, -0x2c($v1) -/* 6A1B00 8021A900 E474FFE0 */ swc1 $f20, -0x20($v1) -/* 6A1B04 8021A904 E474FFD8 */ swc1 $f20, -0x28($v1) -/* 6A1B08 8021A908 E476FFDC */ swc1 $f22, -0x24($v1) -/* 6A1B0C 8021A90C AC64FFE4 */ sw $a0, -0x1c($v1) -/* 6A1B10 8021A910 AC66FFE8 */ sw $a2, -0x18($v1) -/* 6A1B14 8021A914 AC65FFEC */ sw $a1, -0x14($v1) -/* 6A1B18 8021A918 AC65FFF0 */ sw $a1, -0x10($v1) -/* 6A1B1C 8021A91C AC60FFF4 */ sw $zero, -0xc($v1) -/* 6A1B20 8021A920 AC60FFF8 */ sw $zero, -8($v1) -/* 6A1B24 8021A924 AC60FFFC */ sw $zero, -4($v1) -/* 6A1B28 8021A928 AC600000 */ sw $zero, ($v1) -/* 6A1B2C 8021A92C 2463003C */ addiu $v1, $v1, 0x3c -/* 6A1B30 8021A930 26520001 */ addiu $s2, $s2, 1 -/* 6A1B34 8021A934 2A420003 */ slti $v0, $s2, 3 -/* 6A1B38 8021A938 1440FFEE */ bnez $v0, .L8021A8F4 -/* 6A1B3C 8021A93C 2484000A */ addiu $a0, $a0, 0xa -/* 6A1B40 8021A940 08086AE9 */ j .L8021ABA4 -/* 6A1B44 8021A944 0000102D */ daddu $v0, $zero, $zero -.L8021A948: -/* 6A1B48 8021A948 0000A02D */ daddu $s4, $zero, $zero -/* 6A1B4C 8021A94C 0280902D */ daddu $s2, $s4, $zero -/* 6A1B50 8021A950 8E710078 */ lw $s1, 0x78($s3) -/* 6A1B54 8021A954 3C013DCC */ lui $at, 0x3dcc -/* 6A1B58 8021A958 3421CCCD */ ori $at, $at, 0xcccd -/* 6A1B5C 8021A95C 4481C000 */ mtc1 $at, $f24 -/* 6A1B60 8021A960 3C013F00 */ lui $at, 0x3f00 -/* 6A1B64 8021A964 4481B000 */ mtc1 $at, $f22 -/* 6A1B68 8021A968 3C01437F */ lui $at, 0x437f -/* 6A1B6C 8021A96C 4481A000 */ mtc1 $at, $f20 -/* 6A1B70 8021A970 26300028 */ addiu $s0, $s1, 0x28 -.L8021A974: -/* 6A1B74 8021A974 8E02FFF4 */ lw $v0, -0xc($s0) -/* 6A1B78 8021A978 1840001C */ blez $v0, .L8021A9EC -/* 6A1B7C 8021A97C 2442FFFF */ addiu $v0, $v0, -1 -/* 6A1B80 8021A980 1C40007D */ bgtz $v0, .L8021AB78 -/* 6A1B84 8021A984 AE02FFF4 */ sw $v0, -0xc($s0) -/* 6A1B88 8021A988 C600FFF0 */ lwc1 $f0, -0x10($s0) -/* 6A1B8C 8021A98C 2402FFFF */ addiu $v0, $zero, -1 -/* 6A1B90 8021A990 AFA20014 */ sw $v0, 0x14($sp) -/* 6A1B94 8021A994 E7A00010 */ swc1 $f0, 0x10($sp) -/* 6A1B98 8021A998 8E05FFDC */ lw $a1, -0x24($s0) -/* 6A1B9C 8021A99C 8E06FFE0 */ lw $a2, -0x20($s0) -/* 6A1BA0 8021A9A0 8E07FFE4 */ lw $a3, -0x1c($s0) -/* 6A1BA4 8021A9A4 0C01CA9C */ jal fx_star_outline -/* 6A1BA8 8021A9A8 0000202D */ daddu $a0, $zero, $zero -/* 6A1BAC 8021A9AC AE220000 */ sw $v0, ($s1) -/* 6A1BB0 8021A9B0 8C42000C */ lw $v0, 0xc($v0) -/* 6A1BB4 8021A9B4 C6000004 */ lwc1 $f0, 4($s0) -/* 6A1BB8 8021A9B8 E440003C */ swc1 $f0, 0x3c($v0) -/* 6A1BBC 8021A9BC 8E220000 */ lw $v0, ($s1) -/* 6A1BC0 8021A9C0 C6000008 */ lwc1 $f0, 8($s0) -/* 6A1BC4 8021A9C4 8C42000C */ lw $v0, 0xc($v0) -/* 6A1BC8 8021A9C8 E4400040 */ swc1 $f0, 0x40($v0) -/* 6A1BCC 8021A9CC 8E220000 */ lw $v0, ($s1) -/* 6A1BD0 8021A9D0 C600000C */ lwc1 $f0, 0xc($s0) -/* 6A1BD4 8021A9D4 8C42000C */ lw $v0, 0xc($v0) -/* 6A1BD8 8021A9D8 E4400044 */ swc1 $f0, 0x44($v0) -/* 6A1BDC 8021A9DC 8E220000 */ lw $v0, ($s1) -/* 6A1BE0 8021A9E0 8C42000C */ lw $v0, 0xc($v0) -/* 6A1BE4 8021A9E4 08086ADE */ j .L8021AB78 -/* 6A1BE8 8021A9E8 A4400000 */ sh $zero, ($v0) -.L8021A9EC: -/* 6A1BEC 8021A9EC 8E020010 */ lw $v0, 0x10($s0) -/* 6A1BF0 8021A9F0 10400003 */ beqz $v0, .L8021AA00 -/* 6A1BF4 8021A9F4 00000000 */ nop -/* 6A1BF8 8021A9F8 08086ADE */ j .L8021AB78 -/* 6A1BFC 8021A9FC 26940001 */ addiu $s4, $s4, 1 -.L8021AA00: -/* 6A1C00 8021AA00 C600FFE8 */ lwc1 $f0, -0x18($s0) -/* 6A1C04 8021AA04 C608FFEC */ lwc1 $f8, -0x14($s0) -/* 6A1C08 8021AA08 46080001 */ sub.s $f0, $f0, $f8 -/* 6A1C0C 8021AA0C C602FFF8 */ lwc1 $f2, -8($s0) -/* 6A1C10 8021AA10 468010A0 */ cvt.s.w $f2, $f2 -/* 6A1C14 8021AA14 46000005 */ abs.s $f0, $f0 -/* 6A1C18 8021AA18 46020002 */ mul.s $f0, $f0, $f2 -/* 6A1C1C 8021AA1C 00000000 */ nop -/* 6A1C20 8021AA20 C606000C */ lwc1 $f6, 0xc($s0) -/* 6A1C24 8021AA24 3C014110 */ lui $at, 0x4110 -/* 6A1C28 8021AA28 44811000 */ mtc1 $at, $f2 -/* 6A1C2C 8021AA2C 3C014220 */ lui $at, 0x4220 -/* 6A1C30 8021AA30 44812000 */ mtc1 $at, $f4 -/* 6A1C34 8021AA34 46023180 */ add.s $f6, $f6, $f2 -/* 6A1C38 8021AA38 8E03FFF8 */ lw $v1, -8($s0) -/* 6A1C3C 8021AA3C 46040003 */ div.s $f0, $f0, $f4 -/* 6A1C40 8021AA40 46080000 */ add.s $f0, $f0, $f8 -/* 6A1C44 8021AA44 2862000B */ slti $v0, $v1, 0xb -/* 6A1C48 8021AA48 E606000C */ swc1 $f6, 0xc($s0) -/* 6A1C4C 8021AA4C 1040001C */ beqz $v0, .L8021AAC0 -/* 6A1C50 8021AA50 E600FFF0 */ swc1 $f0, -0x10($s0) -/* 6A1C54 8021AA54 000317C2 */ srl $v0, $v1, 0x1f -/* 6A1C58 8021AA58 00621021 */ addu $v0, $v1, $v0 -/* 6A1C5C 8021AA5C 00021043 */ sra $v0, $v0, 1 -/* 6A1C60 8021AA60 44821000 */ mtc1 $v0, $f2 -/* 6A1C64 8021AA64 00000000 */ nop -/* 6A1C68 8021AA68 468010A0 */ cvt.s.w $f2, $f2 -/* 6A1C6C 8021AA6C 0060102D */ daddu $v0, $v1, $zero -/* 6A1C70 8021AA70 46181082 */ mul.s $f2, $f2, $f24 -/* 6A1C74 8021AA74 00000000 */ nop -/* 6A1C78 8021AA78 00021FC2 */ srl $v1, $v0, 0x1f -/* 6A1C7C 8021AA7C 00431021 */ addu $v0, $v0, $v1 -/* 6A1C80 8021AA80 00021043 */ sra $v0, $v0, 1 -/* 6A1C84 8021AA84 44820000 */ mtc1 $v0, $f0 -/* 6A1C88 8021AA88 00000000 */ nop -/* 6A1C8C 8021AA8C 46800020 */ cvt.s.w $f0, $f0 -/* 6A1C90 8021AA90 46180002 */ mul.s $f0, $f0, $f24 -/* 6A1C94 8021AA94 00000000 */ nop -/* 6A1C98 8021AA98 46161080 */ add.s $f2, $f2, $f22 -/* 6A1C9C 8021AA9C 46141082 */ mul.s $f2, $f2, $f20 -/* 6A1CA0 8021AAA0 00000000 */ nop -/* 6A1CA4 8021AAA4 46160000 */ add.s $f0, $f0, $f22 -/* 6A1CA8 8021AAA8 46140002 */ mul.s $f0, $f0, $f20 -/* 6A1CAC 8021AAAC 00000000 */ nop -/* 6A1CB0 8021AAB0 4600128D */ trunc.w.s $f10, $f2 -/* 6A1CB4 8021AAB4 E60AFFFC */ swc1 $f10, -4($s0) -/* 6A1CB8 8021AAB8 4600028D */ trunc.w.s $f10, $f0 -/* 6A1CBC 8021AABC E60A0000 */ swc1 $f10, ($s0) -.L8021AAC0: -/* 6A1CC0 8021AAC0 8E02FFF8 */ lw $v0, -8($s0) -/* 6A1CC4 8021AAC4 2442FFFF */ addiu $v0, $v0, -1 -/* 6A1CC8 8021AAC8 1C400007 */ bgtz $v0, .L8021AAE8 -/* 6A1CCC 8021AACC AE02FFF8 */ sw $v0, -8($s0) -/* 6A1CD0 8021AAD0 8E240000 */ lw $a0, ($s1) -/* 6A1CD4 8021AAD4 0C016914 */ jal remove_effect -/* 6A1CD8 8021AAD8 00000000 */ nop -/* 6A1CDC 8021AADC 24020001 */ addiu $v0, $zero, 1 -/* 6A1CE0 8021AAE0 08086ADE */ j .L8021AB78 -/* 6A1CE4 8021AAE4 AE020010 */ sw $v0, 0x10($s0) -.L8021AAE8: -/* 6A1CE8 8021AAE8 8E220000 */ lw $v0, ($s1) -/* 6A1CEC 8021AAEC C600FFDC */ lwc1 $f0, -0x24($s0) -/* 6A1CF0 8021AAF0 8C42000C */ lw $v0, 0xc($v0) -/* 6A1CF4 8021AAF4 E4400004 */ swc1 $f0, 4($v0) -/* 6A1CF8 8021AAF8 8E220000 */ lw $v0, ($s1) -/* 6A1CFC 8021AAFC C600FFE0 */ lwc1 $f0, -0x20($s0) -/* 6A1D00 8021AB00 8C42000C */ lw $v0, 0xc($v0) -/* 6A1D04 8021AB04 E4400008 */ swc1 $f0, 8($v0) -/* 6A1D08 8021AB08 8E220000 */ lw $v0, ($s1) -/* 6A1D0C 8021AB0C C600FFE4 */ lwc1 $f0, -0x1c($s0) -/* 6A1D10 8021AB10 8C42000C */ lw $v0, 0xc($v0) -/* 6A1D14 8021AB14 E440000C */ swc1 $f0, 0xc($v0) -/* 6A1D18 8021AB18 8E220000 */ lw $v0, ($s1) -/* 6A1D1C 8021AB1C C6000004 */ lwc1 $f0, 4($s0) -/* 6A1D20 8021AB20 8C42000C */ lw $v0, 0xc($v0) -/* 6A1D24 8021AB24 E440003C */ swc1 $f0, 0x3c($v0) -/* 6A1D28 8021AB28 8E220000 */ lw $v0, ($s1) -/* 6A1D2C 8021AB2C C6000008 */ lwc1 $f0, 8($s0) -/* 6A1D30 8021AB30 8C42000C */ lw $v0, 0xc($v0) -/* 6A1D34 8021AB34 E4400040 */ swc1 $f0, 0x40($v0) -/* 6A1D38 8021AB38 8E220000 */ lw $v0, ($s1) -/* 6A1D3C 8021AB3C C600000C */ lwc1 $f0, 0xc($s0) -/* 6A1D40 8021AB40 8C42000C */ lw $v0, 0xc($v0) -/* 6A1D44 8021AB44 E4400044 */ swc1 $f0, 0x44($v0) -/* 6A1D48 8021AB48 8E220000 */ lw $v0, ($s1) -/* 6A1D4C 8021AB4C C600FFF0 */ lwc1 $f0, -0x10($s0) -/* 6A1D50 8021AB50 8C42000C */ lw $v0, 0xc($v0) -/* 6A1D54 8021AB54 E4400038 */ swc1 $f0, 0x38($v0) -/* 6A1D58 8021AB58 8E220000 */ lw $v0, ($s1) -/* 6A1D5C 8021AB5C 8C43000C */ lw $v1, 0xc($v0) -/* 6A1D60 8021AB60 8E02FFFC */ lw $v0, -4($s0) -/* 6A1D64 8021AB64 AC620024 */ sw $v0, 0x24($v1) -/* 6A1D68 8021AB68 8E220000 */ lw $v0, ($s1) -/* 6A1D6C 8021AB6C 8C43000C */ lw $v1, 0xc($v0) -/* 6A1D70 8021AB70 8E020000 */ lw $v0, ($s0) -/* 6A1D74 8021AB74 AC620034 */ sw $v0, 0x34($v1) -.L8021AB78: -/* 6A1D78 8021AB78 2610003C */ addiu $s0, $s0, 0x3c -/* 6A1D7C 8021AB7C 26520001 */ addiu $s2, $s2, 1 -/* 6A1D80 8021AB80 2A420003 */ slti $v0, $s2, 3 -/* 6A1D84 8021AB84 1440FF7B */ bnez $v0, .L8021A974 -/* 6A1D88 8021AB88 2631003C */ addiu $s1, $s1, 0x3c -/* 6A1D8C 8021AB8C 2A820003 */ slti $v0, $s4, 3 -/* 6A1D90 8021AB90 14400004 */ bnez $v0, .L8021ABA4 -/* 6A1D94 8021AB94 0000102D */ daddu $v0, $zero, $zero -/* 6A1D98 8021AB98 0C00AB4B */ jal heap_free -/* 6A1D9C 8021AB9C 0220202D */ daddu $a0, $s1, $zero -/* 6A1DA0 8021ABA0 24020002 */ addiu $v0, $zero, 2 -.L8021ABA4: -/* 6A1DA4 8021ABA4 8FBF002C */ lw $ra, 0x2c($sp) -/* 6A1DA8 8021ABA8 8FB40028 */ lw $s4, 0x28($sp) -/* 6A1DAC 8021ABAC 8FB30024 */ lw $s3, 0x24($sp) -/* 6A1DB0 8021ABB0 8FB20020 */ lw $s2, 0x20($sp) -/* 6A1DB4 8021ABB4 8FB1001C */ lw $s1, 0x1c($sp) -/* 6A1DB8 8021ABB8 8FB00018 */ lw $s0, 0x18($sp) -/* 6A1DBC 8021ABBC D7BC0050 */ ldc1 $f28, 0x50($sp) -/* 6A1DC0 8021ABC0 D7BA0048 */ ldc1 $f26, 0x48($sp) -/* 6A1DC4 8021ABC4 D7B80040 */ ldc1 $f24, 0x40($sp) -/* 6A1DC8 8021ABC8 D7B60038 */ ldc1 $f22, 0x38($sp) -/* 6A1DCC 8021ABCC D7B40030 */ ldc1 $f20, 0x30($sp) -/* 6A1DD0 8021ABD0 03E00008 */ jr $ra -/* 6A1DD4 8021ABD4 27BD0058 */ addiu $sp, $sp, 0x58 diff --git a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_8021ABD8_6A1DD8.s b/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_8021ABD8_6A1DD8.s deleted file mode 100644 index e2fc0b0940..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_8021ABD8_6A1DD8.s +++ /dev/null @@ -1,322 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -.section .rodata - -dlabel D_802347C0_6BB9C0 -.double 0.4 - -dlabel D_802347C8_6BB9C8 -.double 90.0 - -dlabel D_802347D0_6BB9D0 -.double 3.6000001430511475 - -dlabel D_802347D8_6BB9D8 -.double 2.400000035762787 - -dlabel D_802347E0_6BB9E0 -.double 1.8 - -dlabel D_802347E8_6BB9E8 -.double 1.440000057220459 - -dlabel D_802347F0_6BB9F0 -.double 0.6000000000000001 - -dlabel D_802347F8_6BB9F8 -.double 0.9600000143051148 - -.section .text - -glabel func_8021ABD8_6A1DD8 -/* 6A1DD8 8021ABD8 27BDFFB0 */ addiu $sp, $sp, -0x50 -/* 6A1DDC 8021ABDC AFB1001C */ sw $s1, 0x1c($sp) -/* 6A1DE0 8021ABE0 0080882D */ daddu $s1, $a0, $zero -/* 6A1DE4 8021ABE4 AFB20020 */ sw $s2, 0x20($sp) -/* 6A1DE8 8021ABE8 AFBF002C */ sw $ra, 0x2c($sp) -/* 6A1DEC 8021ABEC AFB40028 */ sw $s4, 0x28($sp) -/* 6A1DF0 8021ABF0 AFB30024 */ sw $s3, 0x24($sp) -/* 6A1DF4 8021ABF4 AFB00018 */ sw $s0, 0x18($sp) -/* 6A1DF8 8021ABF8 F7BA0048 */ sdc1 $f26, 0x48($sp) -/* 6A1DFC 8021ABFC F7B80040 */ sdc1 $f24, 0x40($sp) -/* 6A1E00 8021AC00 F7B60038 */ sdc1 $f22, 0x38($sp) -/* 6A1E04 8021AC04 F7B40030 */ sdc1 $f20, 0x30($sp) -/* 6A1E08 8021AC08 8E240148 */ lw $a0, 0x148($s1) -/* 6A1E0C 8021AC0C 8E30000C */ lw $s0, 0xc($s1) -/* 6A1E10 8021AC10 0C09A75B */ jal get_actor -/* 6A1E14 8021AC14 00A0902D */ daddu $s2, $a1, $zero -/* 6A1E18 8021AC18 0040A02D */ daddu $s4, $v0, $zero -/* 6A1E1C 8021AC1C 128000F7 */ beqz $s4, .L8021AFFC -/* 6A1E20 8021AC20 24020002 */ addiu $v0, $zero, 2 -/* 6A1E24 8021AC24 12400041 */ beqz $s2, .L8021AD2C -/* 6A1E28 8021AC28 0000982D */ daddu $s3, $zero, $zero -/* 6A1E2C 8021AC2C 8E050000 */ lw $a1, ($s0) -/* 6A1E30 8021AC30 26100004 */ addiu $s0, $s0, 4 -/* 6A1E34 8021AC34 0C0B1EAF */ jal evt_get_variable -/* 6A1E38 8021AC38 0220202D */ daddu $a0, $s1, $zero -/* 6A1E3C 8021AC3C 8E050000 */ lw $a1, ($s0) -/* 6A1E40 8021AC40 26100004 */ addiu $s0, $s0, 4 -/* 6A1E44 8021AC44 4482D000 */ mtc1 $v0, $f26 -/* 6A1E48 8021AC48 00000000 */ nop -/* 6A1E4C 8021AC4C 4680D6A0 */ cvt.s.w $f26, $f26 -/* 6A1E50 8021AC50 0C0B1EAF */ jal evt_get_variable -/* 6A1E54 8021AC54 0220202D */ daddu $a0, $s1, $zero -/* 6A1E58 8021AC58 8E050000 */ lw $a1, ($s0) -/* 6A1E5C 8021AC5C 26100004 */ addiu $s0, $s0, 4 -/* 6A1E60 8021AC60 4482C000 */ mtc1 $v0, $f24 -/* 6A1E64 8021AC64 00000000 */ nop -/* 6A1E68 8021AC68 4680C620 */ cvt.s.w $f24, $f24 -/* 6A1E6C 8021AC6C 0C0B1EAF */ jal evt_get_variable -/* 6A1E70 8021AC70 0220202D */ daddu $a0, $s1, $zero -/* 6A1E74 8021AC74 8E050000 */ lw $a1, ($s0) -/* 6A1E78 8021AC78 4482B000 */ mtc1 $v0, $f22 -/* 6A1E7C 8021AC7C 00000000 */ nop -/* 6A1E80 8021AC80 4680B5A0 */ cvt.s.w $f22, $f22 -/* 6A1E84 8021AC84 0C0B210B */ jal evt_get_float_variable -/* 6A1E88 8021AC88 0220202D */ daddu $a0, $s1, $zero -/* 6A1E8C 8021AC8C 82830210 */ lb $v1, 0x210($s4) -/* 6A1E90 8021AC90 2402000A */ addiu $v0, $zero, 0xa -/* 6A1E94 8021AC94 14620007 */ bne $v1, $v0, .L8021ACB4 -/* 6A1E98 8021AC98 46000506 */ mov.s $f20, $f0 -/* 6A1E9C 8021AC9C 3C018023 */ lui $at, %hi(D_802347C0_6BB9C0) -/* 6A1EA0 8021ACA0 D42247C0 */ ldc1 $f2, %lo(D_802347C0_6BB9C0)($at) -/* 6A1EA4 8021ACA4 4600A021 */ cvt.d.s $f0, $f20 -/* 6A1EA8 8021ACA8 46220002 */ mul.d $f0, $f0, $f2 -/* 6A1EAC 8021ACAC 00000000 */ nop -/* 6A1EB0 8021ACB0 46200520 */ cvt.s.d $f20, $f0 -.L8021ACB4: -/* 6A1EB4 8021ACB4 0C00AB39 */ jal heap_malloc -/* 6A1EB8 8021ACB8 2404009C */ addiu $a0, $zero, 0x9c -/* 6A1EBC 8021ACBC 0040882D */ daddu $s1, $v0, $zero -/* 6A1EC0 8021ACC0 0000902D */ daddu $s2, $zero, $zero -/* 6A1EC4 8021ACC4 24060032 */ addiu $a2, $zero, 0x32 -/* 6A1EC8 8021ACC8 240500FF */ addiu $a1, $zero, 0xff -/* 6A1ECC 8021ACCC 24040001 */ addiu $a0, $zero, 1 -/* 6A1ED0 8021ACD0 3C0142B4 */ lui $at, 0x42b4 -/* 6A1ED4 8021ACD4 44810000 */ mtc1 $at, $f0 -/* 6A1ED8 8021ACD8 26230030 */ addiu $v1, $s1, 0x30 -/* 6A1EDC 8021ACDC AE910078 */ sw $s1, 0x78($s4) -.L8021ACE0: -/* 6A1EE0 8021ACE0 E47AFFD4 */ swc1 $f26, -0x2c($v1) -/* 6A1EE4 8021ACE4 E478FFD8 */ swc1 $f24, -0x28($v1) -/* 6A1EE8 8021ACE8 E476FFDC */ swc1 $f22, -0x24($v1) -/* 6A1EEC 8021ACEC E474FFE0 */ swc1 $f20, -0x20($v1) -/* 6A1EF0 8021ACF0 AC64FFE4 */ sw $a0, -0x1c($v1) -/* 6A1EF4 8021ACF4 AC66FFE8 */ sw $a2, -0x18($v1) -/* 6A1EF8 8021ACF8 AC65FFEC */ sw $a1, -0x14($v1) -/* 6A1EFC 8021ACFC AC65FFF0 */ sw $a1, -0x10($v1) -/* 6A1F00 8021AD00 E460FFF4 */ swc1 $f0, -0xc($v1) -/* 6A1F04 8021AD04 AC60FFF8 */ sw $zero, -8($v1) -/* 6A1F08 8021AD08 AC60FFFC */ sw $zero, -4($v1) -/* 6A1F0C 8021AD0C AC600000 */ sw $zero, ($v1) -/* 6A1F10 8021AD10 24630034 */ addiu $v1, $v1, 0x34 -/* 6A1F14 8021AD14 26520001 */ addiu $s2, $s2, 1 -/* 6A1F18 8021AD18 2A420003 */ slti $v0, $s2, 3 -/* 6A1F1C 8021AD1C 1440FFF0 */ bnez $v0, .L8021ACE0 -/* 6A1F20 8021AD20 24840010 */ addiu $a0, $a0, 0x10 -/* 6A1F24 8021AD24 08086BFF */ j .L8021AFFC -/* 6A1F28 8021AD28 0000102D */ daddu $v0, $zero, $zero -.L8021AD2C: -/* 6A1F2C 8021AD2C 8E910078 */ lw $s1, 0x78($s4) -/* 6A1F30 8021AD30 0260902D */ daddu $s2, $s3, $zero -/* 6A1F34 8021AD34 26300030 */ addiu $s0, $s1, 0x30 -.L8021AD38: -/* 6A1F38 8021AD38 8E02FFE4 */ lw $v0, -0x1c($s0) -/* 6A1F3C 8021AD3C 18400019 */ blez $v0, .L8021ADA4 -/* 6A1F40 8021AD40 2442FFFF */ addiu $v0, $v0, -1 -/* 6A1F44 8021AD44 1C4000A2 */ bgtz $v0, .L8021AFD0 -/* 6A1F48 8021AD48 AE02FFE4 */ sw $v0, -0x1c($s0) -/* 6A1F4C 8021AD4C C600FFE0 */ lwc1 $f0, -0x20($s0) -/* 6A1F50 8021AD50 2402FFFF */ addiu $v0, $zero, -1 -/* 6A1F54 8021AD54 AFA20014 */ sw $v0, 0x14($sp) -/* 6A1F58 8021AD58 E7A00010 */ swc1 $f0, 0x10($sp) -/* 6A1F5C 8021AD5C 8E05FFD4 */ lw $a1, -0x2c($s0) -/* 6A1F60 8021AD60 8E06FFD8 */ lw $a2, -0x28($s0) -/* 6A1F64 8021AD64 8E07FFDC */ lw $a3, -0x24($s0) -/* 6A1F68 8021AD68 0C01CA9C */ jal fx_star_outline -/* 6A1F6C 8021AD6C 0000202D */ daddu $a0, $zero, $zero -/* 6A1F70 8021AD70 AE220000 */ sw $v0, ($s1) -/* 6A1F74 8021AD74 8C42000C */ lw $v0, 0xc($v0) -/* 6A1F78 8021AD78 C600FFF4 */ lwc1 $f0, -0xc($s0) -/* 6A1F7C 8021AD7C E440003C */ swc1 $f0, 0x3c($v0) -/* 6A1F80 8021AD80 8E220000 */ lw $v0, ($s1) -/* 6A1F84 8021AD84 C600FFF8 */ lwc1 $f0, -8($s0) -/* 6A1F88 8021AD88 8C42000C */ lw $v0, 0xc($v0) -/* 6A1F8C 8021AD8C E4400040 */ swc1 $f0, 0x40($v0) -/* 6A1F90 8021AD90 8E220000 */ lw $v0, ($s1) -/* 6A1F94 8021AD94 C600FFFC */ lwc1 $f0, -4($s0) -/* 6A1F98 8021AD98 8C42000C */ lw $v0, 0xc($v0) -/* 6A1F9C 8021AD9C 08086BF4 */ j .L8021AFD0 -/* 6A1FA0 8021ADA0 E4400044 */ swc1 $f0, 0x44($v0) -.L8021ADA4: -/* 6A1FA4 8021ADA4 8E020000 */ lw $v0, ($s0) -/* 6A1FA8 8021ADA8 10400003 */ beqz $v0, .L8021ADB8 -/* 6A1FAC 8021ADAC 2402000A */ addiu $v0, $zero, 0xa -/* 6A1FB0 8021ADB0 08086BF4 */ j .L8021AFD0 -/* 6A1FB4 8021ADB4 26730001 */ addiu $s3, $s3, 1 -.L8021ADB8: -/* 6A1FB8 8021ADB8 82830210 */ lb $v1, 0x210($s4) -/* 6A1FBC 8021ADBC 10620021 */ beq $v1, $v0, .L8021AE44 -/* 6A1FC0 8021ADC0 00000000 */ nop -/* 6A1FC4 8021ADC4 C602FFD8 */ lwc1 $f2, -0x28($s0) -/* 6A1FC8 8021ADC8 3C01404E */ lui $at, 0x404e -/* 6A1FCC 8021ADCC 44810800 */ mtc1 $at, $f1 -/* 6A1FD0 8021ADD0 44800000 */ mtc1 $zero, $f0 -/* 6A1FD4 8021ADD4 460010A1 */ cvt.d.s $f2, $f2 -/* 6A1FD8 8021ADD8 4620103C */ c.lt.d $f2, $f0 -/* 6A1FDC 8021ADDC 3C014012 */ lui $at, 0x4012 -/* 6A1FE0 8021ADE0 44810800 */ mtc1 $at, $f1 -/* 6A1FE4 8021ADE4 44800000 */ mtc1 $zero, $f0 -/* 6A1FE8 8021ADE8 45030035 */ bc1tl .L8021AEC0 -/* 6A1FEC 8021ADEC 46201000 */ add.d $f0, $f2, $f0 -/* 6A1FF0 8021ADF0 3C018023 */ lui $at, %hi(D_802347C8_6BB9C8) -/* 6A1FF4 8021ADF4 D42047C8 */ ldc1 $f0, %lo(D_802347C8_6BB9C8)($at) -/* 6A1FF8 8021ADF8 4620103C */ c.lt.d $f2, $f0 -/* 6A1FFC 8021ADFC 3C018023 */ lui $at, %hi(D_802347D0_6BB9D0) -/* 6A2000 8021AE00 D42047D0 */ ldc1 $f0, %lo(D_802347D0_6BB9D0)($at) -/* 6A2004 8021AE04 4503002E */ bc1tl .L8021AEC0 -/* 6A2008 8021AE08 46201000 */ add.d $f0, $f2, $f0 -/* 6A200C 8021AE0C 3C01405E */ lui $at, 0x405e -/* 6A2010 8021AE10 44810800 */ mtc1 $at, $f1 -/* 6A2014 8021AE14 44800000 */ mtc1 $zero, $f0 -/* 6A2018 8021AE18 00000000 */ nop -/* 6A201C 8021AE1C 4620103C */ c.lt.d $f2, $f0 -/* 6A2020 8021AE20 3C018023 */ lui $at, %hi(D_802347D8_6BB9D8) -/* 6A2024 8021AE24 D42047D8 */ ldc1 $f0, %lo(D_802347D8_6BB9D8)($at) -/* 6A2028 8021AE28 45030025 */ bc1tl .L8021AEC0 -/* 6A202C 8021AE2C 46201000 */ add.d $f0, $f2, $f0 -/* 6A2030 8021AE30 3C013FF8 */ lui $at, 0x3ff8 -/* 6A2034 8021AE34 44810800 */ mtc1 $at, $f1 -/* 6A2038 8021AE38 44800000 */ mtc1 $zero, $f0 -/* 6A203C 8021AE3C 08086BB0 */ j .L8021AEC0 -/* 6A2040 8021AE40 46201000 */ add.d $f0, $f2, $f0 -.L8021AE44: -/* 6A2044 8021AE44 C602FFD8 */ lwc1 $f2, -0x28($s0) -/* 6A2048 8021AE48 3C014038 */ lui $at, 0x4038 -/* 6A204C 8021AE4C 44810800 */ mtc1 $at, $f1 -/* 6A2050 8021AE50 44800000 */ mtc1 $zero, $f0 -/* 6A2054 8021AE54 460010A1 */ cvt.d.s $f2, $f2 -/* 6A2058 8021AE58 4620103C */ c.lt.d $f2, $f0 -/* 6A205C 8021AE5C 3C018023 */ lui $at, %hi(D_802347E0_6BB9E0) -/* 6A2060 8021AE60 D42047E0 */ ldc1 $f0, %lo(D_802347E0_6BB9E0)($at) -/* 6A2064 8021AE64 45030016 */ bc1tl .L8021AEC0 -/* 6A2068 8021AE68 46201000 */ add.d $f0, $f2, $f0 -/* 6A206C 8021AE6C 3C014042 */ lui $at, 0x4042 -/* 6A2070 8021AE70 44810800 */ mtc1 $at, $f1 -/* 6A2074 8021AE74 44800000 */ mtc1 $zero, $f0 -/* 6A2078 8021AE78 00000000 */ nop -/* 6A207C 8021AE7C 4620103C */ c.lt.d $f2, $f0 -/* 6A2080 8021AE80 3C018023 */ lui $at, %hi(D_802347E8_6BB9E8) -/* 6A2084 8021AE84 D42047E8 */ ldc1 $f0, %lo(D_802347E8_6BB9E8)($at) -/* 6A2088 8021AE88 4503000D */ bc1tl .L8021AEC0 -/* 6A208C 8021AE8C 46201000 */ add.d $f0, $f2, $f0 -/* 6A2090 8021AE90 3C014048 */ lui $at, 0x4048 -/* 6A2094 8021AE94 44810800 */ mtc1 $at, $f1 -/* 6A2098 8021AE98 44800000 */ mtc1 $zero, $f0 -/* 6A209C 8021AE9C 00000000 */ nop -/* 6A20A0 8021AEA0 4620103C */ c.lt.d $f2, $f0 -/* 6A20A4 8021AEA4 3C018023 */ lui $at, %hi(D_802347F0_6BB9F0) -/* 6A20A8 8021AEA8 D42047F0 */ ldc1 $f0, %lo(D_802347F0_6BB9F0)($at) -/* 6A20AC 8021AEAC 45020004 */ bc1fl .L8021AEC0 -/* 6A20B0 8021AEB0 46201000 */ add.d $f0, $f2, $f0 -/* 6A20B4 8021AEB4 3C018023 */ lui $at, %hi(D_802347F8_6BB9F8) -/* 6A20B8 8021AEB8 D42047F8 */ ldc1 $f0, %lo(D_802347F8_6BB9F8)($at) -/* 6A20BC 8021AEBC 46201000 */ add.d $f0, $f2, $f0 -.L8021AEC0: -/* 6A20C0 8021AEC0 46200020 */ cvt.s.d $f0, $f0 -/* 6A20C4 8021AEC4 E600FFD8 */ swc1 $f0, -0x28($s0) -/* 6A20C8 8021AEC8 C600FFF8 */ lwc1 $f0, -8($s0) -/* 6A20CC 8021AECC 3C014190 */ lui $at, 0x4190 -/* 6A20D0 8021AED0 44811000 */ mtc1 $at, $f2 -/* 6A20D4 8021AED4 8E03FFE8 */ lw $v1, -0x18($s0) -/* 6A20D8 8021AED8 46020000 */ add.s $f0, $f0, $f2 -/* 6A20DC 8021AEDC 28620011 */ slti $v0, $v1, 0x11 -/* 6A20E0 8021AEE0 1040000E */ beqz $v0, .L8021AF1C -/* 6A20E4 8021AEE4 E600FFF8 */ swc1 $f0, -8($s0) -/* 6A20E8 8021AEE8 00031200 */ sll $v0, $v1, 8 -/* 6A20EC 8021AEEC 00431823 */ subu $v1, $v0, $v1 -/* 6A20F0 8021AEF0 04620001 */ bltzl $v1, .L8021AEF8 -/* 6A20F4 8021AEF4 2463000F */ addiu $v1, $v1, 0xf -.L8021AEF8: -/* 6A20F8 8021AEF8 8E02FFE8 */ lw $v0, -0x18($s0) -/* 6A20FC 8021AEFC 00031903 */ sra $v1, $v1, 4 -/* 6A2100 8021AF00 AE03FFEC */ sw $v1, -0x14($s0) -/* 6A2104 8021AF04 00021A00 */ sll $v1, $v0, 8 -/* 6A2108 8021AF08 00621023 */ subu $v0, $v1, $v0 -/* 6A210C 8021AF0C 04420001 */ bltzl $v0, .L8021AF14 -/* 6A2110 8021AF10 2442000F */ addiu $v0, $v0, 0xf -.L8021AF14: -/* 6A2114 8021AF14 00021103 */ sra $v0, $v0, 4 -/* 6A2118 8021AF18 AE02FFF0 */ sw $v0, -0x10($s0) -.L8021AF1C: -/* 6A211C 8021AF1C 8E220000 */ lw $v0, ($s1) -/* 6A2120 8021AF20 C600FFD4 */ lwc1 $f0, -0x2c($s0) -/* 6A2124 8021AF24 8C42000C */ lw $v0, 0xc($v0) -/* 6A2128 8021AF28 E4400004 */ swc1 $f0, 4($v0) -/* 6A212C 8021AF2C 8E220000 */ lw $v0, ($s1) -/* 6A2130 8021AF30 C600FFD8 */ lwc1 $f0, -0x28($s0) -/* 6A2134 8021AF34 8C42000C */ lw $v0, 0xc($v0) -/* 6A2138 8021AF38 E4400008 */ swc1 $f0, 8($v0) -/* 6A213C 8021AF3C 8E220000 */ lw $v0, ($s1) -/* 6A2140 8021AF40 C600FFDC */ lwc1 $f0, -0x24($s0) -/* 6A2144 8021AF44 8C42000C */ lw $v0, 0xc($v0) -/* 6A2148 8021AF48 E440000C */ swc1 $f0, 0xc($v0) -/* 6A214C 8021AF4C 8E220000 */ lw $v0, ($s1) -/* 6A2150 8021AF50 C600FFF4 */ lwc1 $f0, -0xc($s0) -/* 6A2154 8021AF54 8C42000C */ lw $v0, 0xc($v0) -/* 6A2158 8021AF58 E440003C */ swc1 $f0, 0x3c($v0) -/* 6A215C 8021AF5C 8E220000 */ lw $v0, ($s1) -/* 6A2160 8021AF60 C600FFF8 */ lwc1 $f0, -8($s0) -/* 6A2164 8021AF64 8C42000C */ lw $v0, 0xc($v0) -/* 6A2168 8021AF68 E4400040 */ swc1 $f0, 0x40($v0) -/* 6A216C 8021AF6C 8E220000 */ lw $v0, ($s1) -/* 6A2170 8021AF70 C600FFFC */ lwc1 $f0, -4($s0) -/* 6A2174 8021AF74 8C42000C */ lw $v0, 0xc($v0) -/* 6A2178 8021AF78 E4400044 */ swc1 $f0, 0x44($v0) -/* 6A217C 8021AF7C 8E220000 */ lw $v0, ($s1) -/* 6A2180 8021AF80 C600FFE0 */ lwc1 $f0, -0x20($s0) -/* 6A2184 8021AF84 8C42000C */ lw $v0, 0xc($v0) -/* 6A2188 8021AF88 E4400038 */ swc1 $f0, 0x38($v0) -/* 6A218C 8021AF8C 8E220000 */ lw $v0, ($s1) -/* 6A2190 8021AF90 8C43000C */ lw $v1, 0xc($v0) -/* 6A2194 8021AF94 8E02FFEC */ lw $v0, -0x14($s0) -/* 6A2198 8021AF98 AC620024 */ sw $v0, 0x24($v1) -/* 6A219C 8021AF9C 8E220000 */ lw $v0, ($s1) -/* 6A21A0 8021AFA0 8C43000C */ lw $v1, 0xc($v0) -/* 6A21A4 8021AFA4 8E02FFF0 */ lw $v0, -0x10($s0) -/* 6A21A8 8021AFA8 AC620034 */ sw $v0, 0x34($v1) -/* 6A21AC 8021AFAC 8E02FFE8 */ lw $v0, -0x18($s0) -/* 6A21B0 8021AFB0 2442FFFF */ addiu $v0, $v0, -1 -/* 6A21B4 8021AFB4 1C400006 */ bgtz $v0, .L8021AFD0 -/* 6A21B8 8021AFB8 AE02FFE8 */ sw $v0, -0x18($s0) -/* 6A21BC 8021AFBC 8E240000 */ lw $a0, ($s1) -/* 6A21C0 8021AFC0 0C016914 */ jal remove_effect -/* 6A21C4 8021AFC4 00000000 */ nop -/* 6A21C8 8021AFC8 24020001 */ addiu $v0, $zero, 1 -/* 6A21CC 8021AFCC AE020000 */ sw $v0, ($s0) -.L8021AFD0: -/* 6A21D0 8021AFD0 26100034 */ addiu $s0, $s0, 0x34 -/* 6A21D4 8021AFD4 26520001 */ addiu $s2, $s2, 1 -/* 6A21D8 8021AFD8 2A420003 */ slti $v0, $s2, 3 -/* 6A21DC 8021AFDC 1440FF56 */ bnez $v0, .L8021AD38 -/* 6A21E0 8021AFE0 26310034 */ addiu $s1, $s1, 0x34 -/* 6A21E4 8021AFE4 2A620003 */ slti $v0, $s3, 3 -/* 6A21E8 8021AFE8 14400004 */ bnez $v0, .L8021AFFC -/* 6A21EC 8021AFEC 0000102D */ daddu $v0, $zero, $zero -/* 6A21F0 8021AFF0 0C00AB4B */ jal heap_free -/* 6A21F4 8021AFF4 0220202D */ daddu $a0, $s1, $zero -/* 6A21F8 8021AFF8 24020002 */ addiu $v0, $zero, 2 -.L8021AFFC: -/* 6A21FC 8021AFFC 8FBF002C */ lw $ra, 0x2c($sp) -/* 6A2200 8021B000 8FB40028 */ lw $s4, 0x28($sp) -/* 6A2204 8021B004 8FB30024 */ lw $s3, 0x24($sp) -/* 6A2208 8021B008 8FB20020 */ lw $s2, 0x20($sp) -/* 6A220C 8021B00C 8FB1001C */ lw $s1, 0x1c($sp) -/* 6A2210 8021B010 8FB00018 */ lw $s0, 0x18($sp) -/* 6A2214 8021B014 D7BA0048 */ ldc1 $f26, 0x48($sp) -/* 6A2218 8021B018 D7B80040 */ ldc1 $f24, 0x40($sp) -/* 6A221C 8021B01C D7B60038 */ ldc1 $f22, 0x38($sp) -/* 6A2220 8021B020 D7B40030 */ ldc1 $f20, 0x30($sp) -/* 6A2224 8021B024 03E00008 */ jr $ra -/* 6A2228 8021B028 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_8021B3B4_6A25B4.s b/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_8021B3B4_6A25B4.s deleted file mode 100644 index c5d485a3d8..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_8021B3B4_6A25B4.s +++ /dev/null @@ -1,124 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_8021B3B4_6A25B4 -/* 6A25B4 8021B3B4 27BDFFC0 */ addiu $sp, $sp, -0x40 -/* 6A25B8 8021B3B8 AFB3002C */ sw $s3, 0x2c($sp) -/* 6A25BC 8021B3BC 0080982D */ daddu $s3, $a0, $zero -/* 6A25C0 8021B3C0 AFB00020 */ sw $s0, 0x20($sp) -/* 6A25C4 8021B3C4 0000802D */ daddu $s0, $zero, $zero -/* 6A25C8 8021B3C8 AFB20028 */ sw $s2, 0x28($sp) -/* 6A25CC 8021B3CC 3C12800E */ lui $s2, %hi(gBattleStatus) -/* 6A25D0 8021B3D0 2652C070 */ addiu $s2, $s2, %lo(gBattleStatus) -/* 6A25D4 8021B3D4 AFB40030 */ sw $s4, 0x30($sp) -/* 6A25D8 8021B3D8 3C148011 */ lui $s4, %hi(gPlayerData) -/* 6A25DC 8021B3DC 2694F290 */ addiu $s4, $s4, %lo(gPlayerData) -/* 6A25E0 8021B3E0 AFB50034 */ sw $s5, 0x34($sp) -/* 6A25E4 8021B3E4 2404FFFF */ addiu $a0, $zero, -1 -/* 6A25E8 8021B3E8 AFBF0038 */ sw $ra, 0x38($sp) -/* 6A25EC 8021B3EC AFB10024 */ sw $s1, 0x24($sp) -/* 6A25F0 8021B3F0 824200AE */ lb $v0, 0xae($s2) -/* 6A25F4 8021B3F4 8E71000C */ lw $s1, 0xc($s3) -/* 6A25F8 8021B3F8 14440003 */ bne $v0, $a0, .L8021B408 -/* 6A25FC 8021B3FC 0280A82D */ daddu $s5, $s4, $zero -/* 6A2600 8021B400 AFA00010 */ sw $zero, 0x10($sp) -/* 6A2604 8021B404 24100001 */ addiu $s0, $zero, 1 -.L8021B408: -/* 6A2608 8021B408 824200AF */ lb $v0, 0xaf($s2) -/* 6A260C 8021B40C 14440005 */ bne $v0, $a0, .L8021B424 -/* 6A2610 8021B410 00101080 */ sll $v0, $s0, 2 -/* 6A2614 8021B414 03A21821 */ addu $v1, $sp, $v0 -/* 6A2618 8021B418 24020001 */ addiu $v0, $zero, 1 -/* 6A261C 8021B41C AC620010 */ sw $v0, 0x10($v1) -/* 6A2620 8021B420 02028021 */ addu $s0, $s0, $v0 -.L8021B424: -/* 6A2624 8021B424 824200B0 */ lb $v0, 0xb0($s2) -/* 6A2628 8021B428 14440005 */ bne $v0, $a0, .L8021B440 -/* 6A262C 8021B42C 00101080 */ sll $v0, $s0, 2 -/* 6A2630 8021B430 03A21821 */ addu $v1, $sp, $v0 -/* 6A2634 8021B434 24020002 */ addiu $v0, $zero, 2 -/* 6A2638 8021B438 AC620010 */ sw $v0, 0x10($v1) -/* 6A263C 8021B43C 26100001 */ addiu $s0, $s0, 1 -.L8021B440: -/* 6A2640 8021B440 0C00A67F */ jal rand_int -/* 6A2644 8021B444 24040002 */ addiu $a0, $zero, 2 -/* 6A2648 8021B448 2604FFFF */ addiu $a0, $s0, -1 -/* 6A264C 8021B44C 0C00A67F */ jal rand_int -/* 6A2650 8021B450 24500002 */ addiu $s0, $v0, 2 -/* 6A2654 8021B454 00021080 */ sll $v0, $v0, 2 -/* 6A2658 8021B458 03A21021 */ addu $v0, $sp, $v0 -/* 6A265C 8021B45C 8C430010 */ lw $v1, 0x10($v0) -/* 6A2660 8021B460 24020001 */ addiu $v0, $zero, 1 -/* 6A2664 8021B464 1062001C */ beq $v1, $v0, .L8021B4D8 -/* 6A2668 8021B468 28620002 */ slti $v0, $v1, 2 -/* 6A266C 8021B46C 10400005 */ beqz $v0, .L8021B484 -/* 6A2670 8021B470 24020002 */ addiu $v0, $zero, 2 -/* 6A2674 8021B474 50600007 */ beql $v1, $zero, .L8021B494 -/* 6A2678 8021B478 A25000AE */ sb $s0, 0xae($s2) -/* 6A267C 8021B47C 08086D52 */ j .L8021B548 -/* 6A2680 8021B480 00000000 */ nop -.L8021B484: -/* 6A2684 8021B484 50620026 */ beql $v1, $v0, .L8021B520 -/* 6A2688 8021B488 A25000B0 */ sb $s0, 0xb0($s2) -/* 6A268C 8021B48C 08086D52 */ j .L8021B548 -/* 6A2690 8021B490 00000000 */ nop -.L8021B494: -/* 6A2694 8021B494 8E250000 */ lw $a1, ($s1) -/* 6A2698 8021B498 82820001 */ lb $v0, 1($s4) -/* 6A269C 8021B49C 26310004 */ addiu $s1, $s1, 4 -/* 6A26A0 8021B4A0 00021080 */ sll $v0, $v0, 2 -/* 6A26A4 8021B4A4 3C068023 */ lui $a2, %hi(D_80229EBC_6B10BC) -/* 6A26A8 8021B4A8 00C23021 */ addu $a2, $a2, $v0 -/* 6A26AC 8021B4AC 8CC69EBC */ lw $a2, %lo(D_80229EBC_6B10BC)($a2) -/* 6A26B0 8021B4B0 0C0B2026 */ jal evt_set_variable -/* 6A26B4 8021B4B4 0260202D */ daddu $a0, $s3, $zero -/* 6A26B8 8021B4B8 82820001 */ lb $v0, 1($s4) -/* 6A26BC 8021B4BC 8E250000 */ lw $a1, ($s1) -/* 6A26C0 8021B4C0 00021080 */ sll $v0, $v0, 2 -/* 6A26C4 8021B4C4 3C068023 */ lui $a2, %hi(D_80229EC8_6B10C8) -/* 6A26C8 8021B4C8 00C23021 */ addu $a2, $a2, $v0 -/* 6A26CC 8021B4CC 8CC69EC8 */ lw $a2, %lo(D_80229EC8_6B10C8)($a2) -/* 6A26D0 8021B4D0 08086D50 */ j .L8021B540 -/* 6A26D4 8021B4D4 0260202D */ daddu $a0, $s3, $zero -.L8021B4D8: -/* 6A26D8 8021B4D8 A25000AF */ sb $s0, 0xaf($s2) -/* 6A26DC 8021B4DC 8E250000 */ lw $a1, ($s1) -/* 6A26E0 8021B4E0 82A20000 */ lb $v0, ($s5) -/* 6A26E4 8021B4E4 26310004 */ addiu $s1, $s1, 4 -/* 6A26E8 8021B4E8 00021080 */ sll $v0, $v0, 2 -/* 6A26EC 8021B4EC 3C068023 */ lui $a2, %hi(D_80229ED4_6B10D4) -/* 6A26F0 8021B4F0 00C23021 */ addu $a2, $a2, $v0 -/* 6A26F4 8021B4F4 8CC69ED4 */ lw $a2, %lo(D_80229ED4_6B10D4)($a2) -/* 6A26F8 8021B4F8 0C0B2026 */ jal evt_set_variable -/* 6A26FC 8021B4FC 0260202D */ daddu $a0, $s3, $zero -/* 6A2700 8021B500 82A20000 */ lb $v0, ($s5) -/* 6A2704 8021B504 8E250000 */ lw $a1, ($s1) -/* 6A2708 8021B508 00021080 */ sll $v0, $v0, 2 -/* 6A270C 8021B50C 3C068023 */ lui $a2, %hi(D_80229EE0_6B10E0) -/* 6A2710 8021B510 00C23021 */ addu $a2, $a2, $v0 -/* 6A2714 8021B514 8CC69EE0 */ lw $a2, %lo(D_80229EE0_6B10E0)($a2) -/* 6A2718 8021B518 08086D50 */ j .L8021B540 -/* 6A271C 8021B51C 0260202D */ daddu $a0, $s3, $zero -.L8021B520: -/* 6A2720 8021B520 8E250000 */ lw $a1, ($s1) -/* 6A2724 8021B524 26310004 */ addiu $s1, $s1, 4 -/* 6A2728 8021B528 0260202D */ daddu $a0, $s3, $zero -/* 6A272C 8021B52C 0C0B2026 */ jal evt_set_variable -/* 6A2730 8021B530 2406016C */ addiu $a2, $zero, 0x16c -/* 6A2734 8021B534 0260202D */ daddu $a0, $s3, $zero -/* 6A2738 8021B538 8E250000 */ lw $a1, ($s1) -/* 6A273C 8021B53C 2406004F */ addiu $a2, $zero, 0x4f -.L8021B540: -/* 6A2740 8021B540 0C0B2026 */ jal evt_set_variable -/* 6A2744 8021B544 00000000 */ nop -.L8021B548: -/* 6A2748 8021B548 8FBF0038 */ lw $ra, 0x38($sp) -/* 6A274C 8021B54C 8FB50034 */ lw $s5, 0x34($sp) -/* 6A2750 8021B550 8FB40030 */ lw $s4, 0x30($sp) -/* 6A2754 8021B554 8FB3002C */ lw $s3, 0x2c($sp) -/* 6A2758 8021B558 8FB20028 */ lw $s2, 0x28($sp) -/* 6A275C 8021B55C 8FB10024 */ lw $s1, 0x24($sp) -/* 6A2760 8021B560 8FB00020 */ lw $s0, 0x20($sp) -/* 6A2764 8021B564 24020002 */ addiu $v0, $zero, 2 -/* 6A2768 8021B568 03E00008 */ jr $ra -/* 6A276C 8021B56C 27BD0040 */ addiu $sp, $sp, 0x40 diff --git a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_8021B678_6A2878.s b/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_8021B678_6A2878.s deleted file mode 100644 index 3fcd8993a2..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_kpa2/69F320/func_8021B678_6A2878.s +++ /dev/null @@ -1,199 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -.section .rodata - -dlabel D_80234800_6BBA00 -.double 0.3, 0.0 - -.section .text - -glabel func_8021B678_6A2878 -/* 6A2878 8021B678 27BDFF88 */ addiu $sp, $sp, -0x78 -/* 6A287C 8021B67C AFB5003C */ sw $s5, 0x3c($sp) -/* 6A2880 8021B680 0080A82D */ daddu $s5, $a0, $zero -/* 6A2884 8021B684 AFB1002C */ sw $s1, 0x2c($sp) -/* 6A2888 8021B688 AFBF004C */ sw $ra, 0x4c($sp) -/* 6A288C 8021B68C AFBE0048 */ sw $fp, 0x48($sp) -/* 6A2890 8021B690 AFB70044 */ sw $s7, 0x44($sp) -/* 6A2894 8021B694 AFB60040 */ sw $s6, 0x40($sp) -/* 6A2898 8021B698 AFB40038 */ sw $s4, 0x38($sp) -/* 6A289C 8021B69C AFB30034 */ sw $s3, 0x34($sp) -/* 6A28A0 8021B6A0 AFB20030 */ sw $s2, 0x30($sp) -/* 6A28A4 8021B6A4 AFB00028 */ sw $s0, 0x28($sp) -/* 6A28A8 8021B6A8 F7BC0070 */ sdc1 $f28, 0x70($sp) -/* 6A28AC 8021B6AC F7BA0068 */ sdc1 $f26, 0x68($sp) -/* 6A28B0 8021B6B0 F7B80060 */ sdc1 $f24, 0x60($sp) -/* 6A28B4 8021B6B4 F7B60058 */ sdc1 $f22, 0x58($sp) -/* 6A28B8 8021B6B8 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 6A28BC 8021B6BC 8EA40148 */ lw $a0, 0x148($s5) -/* 6A28C0 8021B6C0 8EB3000C */ lw $s3, 0xc($s5) -/* 6A28C4 8021B6C4 0C09A75B */ jal get_actor -/* 6A28C8 8021B6C8 00A0882D */ daddu $s1, $a1, $zero -/* 6A28CC 8021B6CC 0040802D */ daddu $s0, $v0, $zero -/* 6A28D0 8021B6D0 1200008C */ beqz $s0, .L8021B904 -/* 6A28D4 8021B6D4 24020002 */ addiu $v0, $zero, 2 -/* 6A28D8 8021B6D8 1220003E */ beqz $s1, .L8021B7D4 -/* 6A28DC 8021B6DC 2614000C */ addiu $s4, $s0, 0xc -/* 6A28E0 8021B6E0 0C00AB39 */ jal heap_malloc -/* 6A28E4 8021B6E4 24040060 */ addiu $a0, $zero, 0x60 -/* 6A28E8 8021B6E8 0040882D */ daddu $s1, $v0, $zero -/* 6A28EC 8021B6EC AE110078 */ sw $s1, 0x78($s0) -/* 6A28F0 8021B6F0 8E650000 */ lw $a1, ($s3) -/* 6A28F4 8021B6F4 26730004 */ addiu $s3, $s3, 4 -/* 6A28F8 8021B6F8 02A0202D */ daddu $a0, $s5, $zero -/* 6A28FC 8021B6FC 0000F02D */ daddu $fp, $zero, $zero -/* 6A2900 8021B700 03C0902D */ daddu $s2, $fp, $zero -/* 6A2904 8021B704 2417003C */ addiu $s7, $zero, 0x3c -/* 6A2908 8021B708 2416002D */ addiu $s6, $zero, 0x2d -/* 6A290C 8021B70C 03C0A02D */ daddu $s4, $fp, $zero -/* 6A2910 8021B710 3C013F80 */ lui $at, 0x3f80 -/* 6A2914 8021B714 4481E000 */ mtc1 $at, $f28 -/* 6A2918 8021B718 3C014120 */ lui $at, 0x4120 -/* 6A291C 8021B71C 4481D000 */ mtc1 $at, $f26 -/* 6A2920 8021B720 3C014170 */ lui $at, 0x4170 -/* 6A2924 8021B724 4481C000 */ mtc1 $at, $f24 -/* 6A2928 8021B728 0C0B1EAF */ jal evt_get_variable -/* 6A292C 8021B72C 26300018 */ addiu $s0, $s1, 0x18 -/* 6A2930 8021B730 8E650000 */ lw $a1, ($s3) -/* 6A2934 8021B734 4482B000 */ mtc1 $v0, $f22 -/* 6A2938 8021B738 00000000 */ nop -/* 6A293C 8021B73C 4680B5A0 */ cvt.s.w $f22, $f22 -/* 6A2940 8021B740 0C0B1EAF */ jal evt_get_variable -/* 6A2944 8021B744 02A0202D */ daddu $a0, $s5, $zero -/* 6A2948 8021B748 4482A000 */ mtc1 $v0, $f20 -/* 6A294C 8021B74C 00000000 */ nop -/* 6A2950 8021B750 4680A520 */ cvt.s.w $f20, $f20 -.L8021B754: -/* 6A2954 8021B754 24040002 */ addiu $a0, $zero, 2 -/* 6A2958 8021B758 4405B000 */ mfc1 $a1, $f22 -/* 6A295C 8021B75C 3C064348 */ lui $a2, 0x4348 -/* 6A2960 8021B760 4407A000 */ mfc1 $a3, $f20 -/* 6A2964 8021B764 26520001 */ addiu $s2, $s2, 1 -/* 6A2968 8021B768 E7B60010 */ swc1 $f22, 0x10($sp) -/* 6A296C 8021B76C AFA00014 */ sw $zero, 0x14($sp) -/* 6A2970 8021B770 E7B40018 */ swc1 $f20, 0x18($sp) -/* 6A2974 8021B774 E7BC001C */ swc1 $f28, 0x1c($sp) -/* 6A2978 8021B778 0C01C6F4 */ jal fx_lightning_bolt -/* 6A297C 8021B77C AFB70020 */ sw $s7, 0x20($sp) -/* 6A2980 8021B780 449E0000 */ mtc1 $fp, $f0 -/* 6A2984 8021B784 00000000 */ nop -/* 6A2988 8021B788 46800020 */ cvt.s.w $f0, $f0 -/* 6A298C 8021B78C AE220000 */ sw $v0, ($s1) -/* 6A2990 8021B790 E600FFF0 */ swc1 $f0, -0x10($s0) -/* 6A2994 8021B794 44940000 */ mtc1 $s4, $f0 -/* 6A2998 8021B798 00000000 */ nop -/* 6A299C 8021B79C 46800020 */ cvt.s.w $f0, $f0 -/* 6A29A0 8021B7A0 AE160004 */ sw $s6, 4($s0) -/* 6A29A4 8021B7A4 E616FFEC */ swc1 $f22, -0x14($s0) -/* 6A29A8 8021B7A8 E614FFF4 */ swc1 $f20, -0xc($s0) -/* 6A29AC 8021B7AC E61AFFF8 */ swc1 $f26, -8($s0) -/* 6A29B0 8021B7B0 E600FFFC */ swc1 $f0, -4($s0) -/* 6A29B4 8021B7B4 E6180000 */ swc1 $f24, ($s0) -/* 6A29B8 8021B7B8 26100020 */ addiu $s0, $s0, 0x20 -/* 6A29BC 8021B7BC 26310020 */ addiu $s1, $s1, 0x20 -/* 6A29C0 8021B7C0 2A420003 */ slti $v0, $s2, 3 -/* 6A29C4 8021B7C4 1440FFE3 */ bnez $v0, .L8021B754 -/* 6A29C8 8021B7C8 26940078 */ addiu $s4, $s4, 0x78 -/* 6A29CC 8021B7CC 08086E41 */ j .L8021B904 -/* 6A29D0 8021B7D0 0000102D */ daddu $v0, $zero, $zero -.L8021B7D4: -/* 6A29D4 8021B7D4 0000902D */ daddu $s2, $zero, $zero -/* 6A29D8 8021B7D8 8E110078 */ lw $s1, 0x78($s0) -/* 6A29DC 8021B7DC 3C013FF8 */ lui $at, 0x3ff8 -/* 6A29E0 8021B7E0 4481B800 */ mtc1 $at, $f23 -/* 6A29E4 8021B7E4 4480B000 */ mtc1 $zero, $f22 -/* 6A29E8 8021B7E8 2630001C */ addiu $s0, $s1, 0x1c -.L8021B7EC: -/* 6A29EC 8021B7EC 0C00A8D4 */ jal cos_deg -/* 6A29F0 8021B7F0 C60CFFF8 */ lwc1 $f12, -8($s0) -/* 6A29F4 8021B7F4 C602FFF4 */ lwc1 $f2, -0xc($s0) -/* 6A29F8 8021B7F8 46020002 */ mul.s $f0, $f0, $f2 -/* 6A29FC 8021B7FC 00000000 */ nop -/* 6A2A00 8021B800 C614FFE8 */ lwc1 $f20, -0x18($s0) -/* 6A2A04 8021B804 C60CFFF8 */ lwc1 $f12, -8($s0) -/* 6A2A08 8021B808 0C00A8BB */ jal sin_deg -/* 6A2A0C 8021B80C 4600A500 */ add.s $f20, $f20, $f0 -/* 6A2A10 8021B810 8E220000 */ lw $v0, ($s1) -/* 6A2A14 8021B814 C604FFF4 */ lwc1 $f4, -0xc($s0) -/* 6A2A18 8021B818 C602FFF0 */ lwc1 $f2, -0x10($s0) -/* 6A2A1C 8021B81C 8C42000C */ lw $v0, 0xc($v0) -/* 6A2A20 8021B820 E4540004 */ swc1 $f20, 4($v0) -/* 6A2A24 8021B824 8E220000 */ lw $v0, ($s1) -/* 6A2A28 8021B828 8C42000C */ lw $v0, 0xc($v0) -/* 6A2A2C 8021B82C E4540010 */ swc1 $f20, 0x10($v0) -/* 6A2A30 8021B830 8E220000 */ lw $v0, ($s1) -/* 6A2A34 8021B834 46040002 */ mul.s $f0, $f0, $f4 -/* 6A2A38 8021B838 00000000 */ nop -/* 6A2A3C 8021B83C 8C42000C */ lw $v0, 0xc($v0) -/* 6A2A40 8021B840 E454001C */ swc1 $f20, 0x1c($v0) -/* 6A2A44 8021B844 8E220000 */ lw $v0, ($s1) -/* 6A2A48 8021B848 46001080 */ add.s $f2, $f2, $f0 -/* 6A2A4C 8021B84C 8C42000C */ lw $v0, 0xc($v0) -/* 6A2A50 8021B850 E442000C */ swc1 $f2, 0xc($v0) -/* 6A2A54 8021B854 8E220000 */ lw $v0, ($s1) -/* 6A2A58 8021B858 8C42000C */ lw $v0, 0xc($v0) -/* 6A2A5C 8021B85C E4420018 */ swc1 $f2, 0x18($v0) -/* 6A2A60 8021B860 8E220000 */ lw $v0, ($s1) -/* 6A2A64 8021B864 8C42000C */ lw $v0, 0xc($v0) -/* 6A2A68 8021B868 E4420024 */ swc1 $f2, 0x24($v0) -/* 6A2A6C 8021B86C 8E020000 */ lw $v0, ($s0) -/* 6A2A70 8021B870 2842000B */ slti $v0, $v0, 0xb -/* 6A2A74 8021B874 14400006 */ bnez $v0, .L8021B890 -/* 6A2A78 8021B878 00000000 */ nop -/* 6A2A7C 8021B87C C600FFF4 */ lwc1 $f0, -0xc($s0) -/* 6A2A80 8021B880 46000021 */ cvt.d.s $f0, $f0 -/* 6A2A84 8021B884 46360000 */ add.d $f0, $f0, $f22 -/* 6A2A88 8021B888 46200020 */ cvt.s.d $f0, $f0 -/* 6A2A8C 8021B88C E600FFF4 */ swc1 $f0, -0xc($s0) -.L8021B890: -/* 6A2A90 8021B890 C600FFF8 */ lwc1 $f0, -8($s0) -/* 6A2A94 8021B894 C602FFFC */ lwc1 $f2, -4($s0) -/* 6A2A98 8021B898 8E020000 */ lw $v0, ($s0) -/* 6A2A9C 8021B89C 46020000 */ add.s $f0, $f0, $f2 -/* 6A2AA0 8021B8A0 2842001F */ slti $v0, $v0, 0x1f -/* 6A2AA4 8021B8A4 14400008 */ bnez $v0, .L8021B8C8 -/* 6A2AA8 8021B8A8 E600FFF8 */ swc1 $f0, -8($s0) -/* 6A2AAC 8021B8AC 46001006 */ mov.s $f0, $f2 -/* 6A2AB0 8021B8B0 3C018023 */ lui $at, %hi(D_80234800_6BBA00) -/* 6A2AB4 8021B8B4 D4224800 */ ldc1 $f2, %lo(D_80234800_6BBA00)($at) -/* 6A2AB8 8021B8B8 46000021 */ cvt.d.s $f0, $f0 -/* 6A2ABC 8021B8BC 46220001 */ sub.d $f0, $f0, $f2 -/* 6A2AC0 8021B8C0 46200020 */ cvt.s.d $f0, $f0 -/* 6A2AC4 8021B8C4 E600FFFC */ swc1 $f0, -4($s0) -.L8021B8C8: -/* 6A2AC8 8021B8C8 26310020 */ addiu $s1, $s1, 0x20 -/* 6A2ACC 8021B8CC 8E020000 */ lw $v0, ($s0) -/* 6A2AD0 8021B8D0 26520001 */ addiu $s2, $s2, 1 -/* 6A2AD4 8021B8D4 2442FFFF */ addiu $v0, $v0, -1 -/* 6A2AD8 8021B8D8 AE020000 */ sw $v0, ($s0) -/* 6A2ADC 8021B8DC 2A420003 */ slti $v0, $s2, 3 -/* 6A2AE0 8021B8E0 1440FFC2 */ bnez $v0, .L8021B7EC -/* 6A2AE4 8021B8E4 26100020 */ addiu $s0, $s0, 0x20 -/* 6A2AE8 8021B8E8 8E91006C */ lw $s1, 0x6c($s4) -/* 6A2AEC 8021B8EC 8E22001C */ lw $v0, 0x1c($s1) -/* 6A2AF0 8021B8F0 1C400004 */ bgtz $v0, .L8021B904 -/* 6A2AF4 8021B8F4 0000102D */ daddu $v0, $zero, $zero -/* 6A2AF8 8021B8F8 0C00AB4B */ jal heap_free -/* 6A2AFC 8021B8FC 0220202D */ daddu $a0, $s1, $zero -/* 6A2B00 8021B900 24020002 */ addiu $v0, $zero, 2 -.L8021B904: -/* 6A2B04 8021B904 8FBF004C */ lw $ra, 0x4c($sp) -/* 6A2B08 8021B908 8FBE0048 */ lw $fp, 0x48($sp) -/* 6A2B0C 8021B90C 8FB70044 */ lw $s7, 0x44($sp) -/* 6A2B10 8021B910 8FB60040 */ lw $s6, 0x40($sp) -/* 6A2B14 8021B914 8FB5003C */ lw $s5, 0x3c($sp) -/* 6A2B18 8021B918 8FB40038 */ lw $s4, 0x38($sp) -/* 6A2B1C 8021B91C 8FB30034 */ lw $s3, 0x34($sp) -/* 6A2B20 8021B920 8FB20030 */ lw $s2, 0x30($sp) -/* 6A2B24 8021B924 8FB1002C */ lw $s1, 0x2c($sp) -/* 6A2B28 8021B928 8FB00028 */ lw $s0, 0x28($sp) -/* 6A2B2C 8021B92C D7BC0070 */ ldc1 $f28, 0x70($sp) -/* 6A2B30 8021B930 D7BA0068 */ ldc1 $f26, 0x68($sp) -/* 6A2B34 8021B934 D7B80060 */ ldc1 $f24, 0x60($sp) -/* 6A2B38 8021B938 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 6A2B3C 8021B93C D7B40050 */ ldc1 $f20, 0x50($sp) -/* 6A2B40 8021B940 03E00008 */ jr $ra -/* 6A2B44 8021B944 27BD0078 */ addiu $sp, $sp, 0x78 -/* 6A2B48 8021B948 00000000 */ nop -/* 6A2B4C 8021B94C 00000000 */ nop diff --git a/ver/us/asm/nonmatchings/battle/area_kpa2/6A2B50/func_8021B9A8_6A2BA8.s b/ver/us/asm/nonmatchings/battle/area_kpa2/6A2B50/func_8021B9A8_6A2BA8.s deleted file mode 100644 index f15751a6d0..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_kpa2/6A2B50/func_8021B9A8_6A2BA8.s +++ /dev/null @@ -1,192 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -.section .rodata - -dlabel D_80234810_6BBA10 -.word 0x0000005A, 0x00000087, 0x000000E1, 0x0000010E, 0x0000013B, 0x00000195 - -dlabel D_80234828_6BBA28 -.double 14.4 - -.section .text - -glabel func_8021B9A8_6A2BA8 -/* 6A2BA8 8021B9A8 27BDFF78 */ addiu $sp, $sp, -0x88 -/* 6A2BAC 8021B9AC AFB10044 */ sw $s1, 0x44($sp) -/* 6A2BB0 8021B9B0 0080882D */ daddu $s1, $a0, $zero -/* 6A2BB4 8021B9B4 AFBF0064 */ sw $ra, 0x64($sp) -/* 6A2BB8 8021B9B8 AFBE0060 */ sw $fp, 0x60($sp) -/* 6A2BBC 8021B9BC AFB7005C */ sw $s7, 0x5c($sp) -/* 6A2BC0 8021B9C0 AFB60058 */ sw $s6, 0x58($sp) -/* 6A2BC4 8021B9C4 AFB50054 */ sw $s5, 0x54($sp) -/* 6A2BC8 8021B9C8 AFB40050 */ sw $s4, 0x50($sp) -/* 6A2BCC 8021B9CC AFB3004C */ sw $s3, 0x4c($sp) -/* 6A2BD0 8021B9D0 AFB20048 */ sw $s2, 0x48($sp) -/* 6A2BD4 8021B9D4 AFB00040 */ sw $s0, 0x40($sp) -/* 6A2BD8 8021B9D8 F7BA0080 */ sdc1 $f26, 0x80($sp) -/* 6A2BDC 8021B9DC F7B80078 */ sdc1 $f24, 0x78($sp) -/* 6A2BE0 8021B9E0 F7B60070 */ sdc1 $f22, 0x70($sp) -/* 6A2BE4 8021B9E4 F7B40068 */ sdc1 $f20, 0x68($sp) -/* 6A2BE8 8021B9E8 8E30000C */ lw $s0, 0xc($s1) -/* 6A2BEC 8021B9EC 3C0B8023 */ lui $t3, %hi(D_80234810_6BBA10) -/* 6A2BF0 8021B9F0 256B4810 */ addiu $t3, $t3, %lo(D_80234810_6BBA10) -/* 6A2BF4 8021B9F4 8D680000 */ lw $t0, ($t3) -/* 6A2BF8 8021B9F8 8D690004 */ lw $t1, 4($t3) -/* 6A2BFC 8021B9FC 8D6A0008 */ lw $t2, 8($t3) -/* 6A2C00 8021BA00 AFA80028 */ sw $t0, 0x28($sp) -/* 6A2C04 8021BA04 AFA9002C */ sw $t1, 0x2c($sp) -/* 6A2C08 8021BA08 AFAA0030 */ sw $t2, 0x30($sp) -/* 6A2C0C 8021BA0C 8D68000C */ lw $t0, 0xc($t3) -/* 6A2C10 8021BA10 8D690010 */ lw $t1, 0x10($t3) -/* 6A2C14 8021BA14 8D6A0014 */ lw $t2, 0x14($t3) -/* 6A2C18 8021BA18 AFA80034 */ sw $t0, 0x34($sp) -/* 6A2C1C 8021BA1C AFA90038 */ sw $t1, 0x38($sp) -/* 6A2C20 8021BA20 AFAA003C */ sw $t2, 0x3c($sp) -/* 6A2C24 8021BA24 0C09A75B */ jal get_actor -/* 6A2C28 8021BA28 8E240148 */ lw $a0, 0x148($s1) -/* 6A2C2C 8021BA2C 0040902D */ daddu $s2, $v0, $zero -/* 6A2C30 8021BA30 1240007B */ beqz $s2, .L8021BC20 -/* 6A2C34 8021BA34 24020002 */ addiu $v0, $zero, 2 -/* 6A2C38 8021BA38 8E050000 */ lw $a1, ($s0) -/* 6A2C3C 8021BA3C 26100004 */ addiu $s0, $s0, 4 -/* 6A2C40 8021BA40 0C0B1EAF */ jal evt_get_variable -/* 6A2C44 8021BA44 0220202D */ daddu $a0, $s1, $zero -/* 6A2C48 8021BA48 8E050000 */ lw $a1, ($s0) -/* 6A2C4C 8021BA4C 26100004 */ addiu $s0, $s0, 4 -/* 6A2C50 8021BA50 0220202D */ daddu $a0, $s1, $zero -/* 6A2C54 8021BA54 0C0B1EAF */ jal evt_get_variable -/* 6A2C58 8021BA58 0040F02D */ daddu $fp, $v0, $zero -/* 6A2C5C 8021BA5C 0040A82D */ daddu $s5, $v0, $zero -/* 6A2C60 8021BA60 8E050000 */ lw $a1, ($s0) -/* 6A2C64 8021BA64 26100004 */ addiu $s0, $s0, 4 -/* 6A2C68 8021BA68 0C0B1EAF */ jal evt_get_variable -/* 6A2C6C 8021BA6C 0220202D */ daddu $a0, $s1, $zero -/* 6A2C70 8021BA70 0220202D */ daddu $a0, $s1, $zero -/* 6A2C74 8021BA74 8E050000 */ lw $a1, ($s0) -/* 6A2C78 8021BA78 0C0B210B */ jal evt_get_float_variable -/* 6A2C7C 8021BA7C 0040B02D */ daddu $s6, $v0, $zero -/* 6A2C80 8021BA80 82430210 */ lb $v1, 0x210($s2) -/* 6A2C84 8021BA84 2402000A */ addiu $v0, $zero, 0xa -/* 6A2C88 8021BA88 1062000E */ beq $v1, $v0, .L8021BAC4 -/* 6A2C8C 8021BA8C 46000606 */ mov.s $f24, $f0 -/* 6A2C90 8021BA90 3C014210 */ lui $at, 0x4210 -/* 6A2C94 8021BA94 44811000 */ mtc1 $at, $f2 -/* 6A2C98 8021BA98 00000000 */ nop -/* 6A2C9C 8021BA9C 4602C082 */ mul.s $f2, $f24, $f2 -/* 6A2CA0 8021BAA0 00000000 */ nop -/* 6A2CA4 8021BAA4 44950000 */ mtc1 $s5, $f0 -/* 6A2CA8 8021BAA8 00000000 */ nop -/* 6A2CAC 8021BAAC 46800020 */ cvt.s.w $f0, $f0 -/* 6A2CB0 8021BAB0 46020000 */ add.s $f0, $f0, $f2 -/* 6A2CB4 8021BAB4 4600010D */ trunc.w.s $f4, $f0 -/* 6A2CB8 8021BAB8 44152000 */ mfc1 $s5, $f4 -/* 6A2CBC 8021BABC 08086EBD */ j .L8021BAF4 -/* 6A2CC0 8021BAC0 0000A02D */ daddu $s4, $zero, $zero -.L8021BAC4: -/* 6A2CC4 8021BAC4 3C018023 */ lui $at, %hi(D_80234828_6BBA28) -/* 6A2CC8 8021BAC8 D4204828 */ ldc1 $f0, %lo(D_80234828_6BBA28)($at) -/* 6A2CCC 8021BACC 4600C0A1 */ cvt.d.s $f2, $f24 -/* 6A2CD0 8021BAD0 46201082 */ mul.d $f2, $f2, $f0 -/* 6A2CD4 8021BAD4 00000000 */ nop -/* 6A2CD8 8021BAD8 44950000 */ mtc1 $s5, $f0 -/* 6A2CDC 8021BADC 00000000 */ nop -/* 6A2CE0 8021BAE0 46800021 */ cvt.d.w $f0, $f0 -/* 6A2CE4 8021BAE4 46220000 */ add.d $f0, $f0, $f2 -/* 6A2CE8 8021BAE8 4620010D */ trunc.w.d $f4, $f0 -/* 6A2CEC 8021BAEC 44152000 */ mfc1 $s5, $f4 -/* 6A2CF0 8021BAF0 0000A02D */ daddu $s4, $zero, $zero -.L8021BAF4: -/* 6A2CF4 8021BAF4 3C014348 */ lui $at, 0x4348 -/* 6A2CF8 8021BAF8 4481D000 */ mtc1 $at, $f26 -/* 6A2CFC 8021BAFC 26D70014 */ addiu $s7, $s6, 0x14 -/* 6A2D00 8021BB00 27B30028 */ addiu $s3, $sp, 0x28 -.L8021BB04: -/* 6A2D04 8021BB04 0C00A67F */ jal rand_int -/* 6A2D08 8021BB08 2404001E */ addiu $a0, $zero, 0x1e -/* 6A2D0C 8021BB0C 8E630000 */ lw $v1, ($s3) -/* 6A2D10 8021BB10 00621821 */ addu $v1, $v1, $v0 -/* 6A2D14 8021BB14 2463FFF1 */ addiu $v1, $v1, -0xf -/* 6A2D18 8021BB18 4483A000 */ mtc1 $v1, $f20 -/* 6A2D1C 8021BB1C 00000000 */ nop -/* 6A2D20 8021BB20 4680A520 */ cvt.s.w $f20, $f20 -/* 6A2D24 8021BB24 0C00A8BB */ jal sin_deg -/* 6A2D28 8021BB28 4600A306 */ mov.s $f12, $f20 -/* 6A2D2C 8021BB2C 461A0002 */ mul.s $f0, $f0, $f26 -/* 6A2D30 8021BB30 00000000 */ nop -/* 6A2D34 8021BB34 449EB000 */ mtc1 $fp, $f22 -/* 6A2D38 8021BB38 00000000 */ nop -/* 6A2D3C 8021BB3C 4680B5A0 */ cvt.s.w $f22, $f22 -/* 6A2D40 8021BB40 46160000 */ add.s $f0, $f0, $f22 -/* 6A2D44 8021BB44 4600010D */ trunc.w.s $f4, $f0 -/* 6A2D48 8021BB48 44102000 */ mfc1 $s0, $f4 -/* 6A2D4C 8021BB4C 0C00A8D4 */ jal cos_deg -/* 6A2D50 8021BB50 4600A306 */ mov.s $f12, $f20 -/* 6A2D54 8021BB54 24040001 */ addiu $a0, $zero, 1 -/* 6A2D58 8021BB58 44901000 */ mtc1 $s0, $f2 -/* 6A2D5C 8021BB5C 00000000 */ nop -/* 6A2D60 8021BB60 468010A0 */ cvt.s.w $f2, $f2 -/* 6A2D64 8021BB64 E7A20010 */ swc1 $f2, 0x10($sp) -/* 6A2D68 8021BB68 44971000 */ mtc1 $s7, $f2 -/* 6A2D6C 8021BB6C 00000000 */ nop -/* 6A2D70 8021BB70 468010A0 */ cvt.s.w $f2, $f2 -/* 6A2D74 8021BB74 461A0002 */ mul.s $f0, $f0, $f26 -/* 6A2D78 8021BB78 00000000 */ nop -/* 6A2D7C 8021BB7C E7A20018 */ swc1 $f2, 0x18($sp) -/* 6A2D80 8021BB80 44951000 */ mtc1 $s5, $f2 -/* 6A2D84 8021BB84 00000000 */ nop -/* 6A2D88 8021BB88 468010A0 */ cvt.s.w $f2, $f2 -/* 6A2D8C 8021BB8C 2402000B */ addiu $v0, $zero, 0xb -/* 6A2D90 8021BB90 4405B000 */ mfc1 $a1, $f22 -/* 6A2D94 8021BB94 44061000 */ mfc1 $a2, $f2 -/* 6A2D98 8021BB98 46020000 */ add.s $f0, $f0, $f2 -/* 6A2D9C 8021BB9C E7B8001C */ swc1 $f24, 0x1c($sp) -/* 6A2DA0 8021BBA0 AFA20020 */ sw $v0, 0x20($sp) -/* 6A2DA4 8021BBA4 4600010D */ trunc.w.s $f4, $f0 -/* 6A2DA8 8021BBA8 44022000 */ mfc1 $v0, $f4 -/* 6A2DAC 8021BBAC 44962000 */ mtc1 $s6, $f4 -/* 6A2DB0 8021BBB0 00000000 */ nop -/* 6A2DB4 8021BBB4 46802120 */ cvt.s.w $f4, $f4 -/* 6A2DB8 8021BBB8 44072000 */ mfc1 $a3, $f4 -/* 6A2DBC 8021BBBC 44820000 */ mtc1 $v0, $f0 -/* 6A2DC0 8021BBC0 00000000 */ nop -/* 6A2DC4 8021BBC4 46800020 */ cvt.s.w $f0, $f0 -/* 6A2DC8 8021BBC8 0C01C6F4 */ jal fx_lightning_bolt -/* 6A2DCC 8021BBCC E7A00014 */ swc1 $f0, 0x14($sp) -/* 6A2DD0 8021BBD0 24040100 */ addiu $a0, $zero, 0x100 -/* 6A2DD4 8021BBD4 0C00A67F */ jal rand_int -/* 6A2DD8 8021BBD8 0040802D */ daddu $s0, $v0, $zero -/* 6A2DDC 8021BBDC 24040100 */ addiu $a0, $zero, 0x100 -/* 6A2DE0 8021BBE0 0C00A67F */ jal rand_int -/* 6A2DE4 8021BBE4 0040882D */ daddu $s1, $v0, $zero -/* 6A2DE8 8021BBE8 24040100 */ addiu $a0, $zero, 0x100 -/* 6A2DEC 8021BBEC 0C00A67F */ jal rand_int -/* 6A2DF0 8021BBF0 0040902D */ daddu $s2, $v0, $zero -/* 6A2DF4 8021BBF4 8E03000C */ lw $v1, 0xc($s0) -/* 6A2DF8 8021BBF8 AC710030 */ sw $s1, 0x30($v1) -/* 6A2DFC 8021BBFC 8E03000C */ lw $v1, 0xc($s0) -/* 6A2E00 8021BC00 AC720034 */ sw $s2, 0x34($v1) -/* 6A2E04 8021BC04 8E03000C */ lw $v1, 0xc($s0) -/* 6A2E08 8021BC08 26940001 */ addiu $s4, $s4, 1 -/* 6A2E0C 8021BC0C AC620038 */ sw $v0, 0x38($v1) -/* 6A2E10 8021BC10 2A820006 */ slti $v0, $s4, 6 -/* 6A2E14 8021BC14 1440FFBB */ bnez $v0, .L8021BB04 -/* 6A2E18 8021BC18 26730004 */ addiu $s3, $s3, 4 -/* 6A2E1C 8021BC1C 24020002 */ addiu $v0, $zero, 2 -.L8021BC20: -/* 6A2E20 8021BC20 8FBF0064 */ lw $ra, 0x64($sp) -/* 6A2E24 8021BC24 8FBE0060 */ lw $fp, 0x60($sp) -/* 6A2E28 8021BC28 8FB7005C */ lw $s7, 0x5c($sp) -/* 6A2E2C 8021BC2C 8FB60058 */ lw $s6, 0x58($sp) -/* 6A2E30 8021BC30 8FB50054 */ lw $s5, 0x54($sp) -/* 6A2E34 8021BC34 8FB40050 */ lw $s4, 0x50($sp) -/* 6A2E38 8021BC38 8FB3004C */ lw $s3, 0x4c($sp) -/* 6A2E3C 8021BC3C 8FB20048 */ lw $s2, 0x48($sp) -/* 6A2E40 8021BC40 8FB10044 */ lw $s1, 0x44($sp) -/* 6A2E44 8021BC44 8FB00040 */ lw $s0, 0x40($sp) -/* 6A2E48 8021BC48 D7BA0080 */ ldc1 $f26, 0x80($sp) -/* 6A2E4C 8021BC4C D7B80078 */ ldc1 $f24, 0x78($sp) -/* 6A2E50 8021BC50 D7B60070 */ ldc1 $f22, 0x70($sp) -/* 6A2E54 8021BC54 D7B40068 */ ldc1 $f20, 0x68($sp) -/* 6A2E58 8021BC58 03E00008 */ jr $ra -/* 6A2E5C 8021BC5C 27BD0088 */ addiu $sp, $sp, 0x88 diff --git a/ver/us/asm/nonmatchings/battle/area_kpa2/6A2B50/func_8021BC60_6A2E60.s b/ver/us/asm/nonmatchings/battle/area_kpa2/6A2B50/func_8021BC60_6A2E60.s deleted file mode 100644 index 4b6c23edce..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_kpa2/6A2B50/func_8021BC60_6A2E60.s +++ /dev/null @@ -1,254 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_8021BC60_6A2E60 -/* 6A2E60 8021BC60 27BDFF58 */ addiu $sp, $sp, -0xa8 -/* 6A2E64 8021BC64 AFB30074 */ sw $s3, 0x74($sp) -/* 6A2E68 8021BC68 0080982D */ daddu $s3, $a0, $zero -/* 6A2E6C 8021BC6C AFBF0088 */ sw $ra, 0x88($sp) -/* 6A2E70 8021BC70 AFB70084 */ sw $s7, 0x84($sp) -/* 6A2E74 8021BC74 AFB60080 */ sw $s6, 0x80($sp) -/* 6A2E78 8021BC78 AFB5007C */ sw $s5, 0x7c($sp) -/* 6A2E7C 8021BC7C AFB40078 */ sw $s4, 0x78($sp) -/* 6A2E80 8021BC80 AFB20070 */ sw $s2, 0x70($sp) -/* 6A2E84 8021BC84 AFB1006C */ sw $s1, 0x6c($sp) -/* 6A2E88 8021BC88 AFB00068 */ sw $s0, 0x68($sp) -/* 6A2E8C 8021BC8C F7B800A0 */ sdc1 $f24, 0xa0($sp) -/* 6A2E90 8021BC90 F7B60098 */ sdc1 $f22, 0x98($sp) -/* 6A2E94 8021BC94 F7B40090 */ sdc1 $f20, 0x90($sp) -/* 6A2E98 8021BC98 8E640148 */ lw $a0, 0x148($s3) -/* 6A2E9C 8021BC9C 0C09A75B */ jal get_actor -/* 6A2EA0 8021BCA0 00A0802D */ daddu $s0, $a1, $zero -/* 6A2EA4 8021BCA4 14400003 */ bnez $v0, .L8021BCB4 -/* 6A2EA8 8021BCA8 0040202D */ daddu $a0, $v0, $zero -/* 6A2EAC 8021BCAC 08086FF3 */ j .L8021BFCC -/* 6A2EB0 8021BCB0 24020002 */ addiu $v0, $zero, 2 -.L8021BCB4: -/* 6A2EB4 8021BCB4 0C099117 */ jal get_actor_part -/* 6A2EB8 8021BCB8 24050001 */ addiu $a1, $zero, 1 -/* 6A2EBC 8021BCBC 12000013 */ beqz $s0, .L8021BD0C -/* 6A2EC0 8021BCC0 0040A82D */ daddu $s5, $v0, $zero -/* 6A2EC4 8021BCC4 0000802D */ daddu $s0, $zero, $zero -/* 6A2EC8 8021BCC8 241100FF */ addiu $s1, $zero, 0xff -/* 6A2ECC 8021BCCC AE600074 */ sw $zero, 0x74($s3) -/* 6A2ED0 8021BCD0 AE600078 */ sw $zero, 0x78($s3) -/* 6A2ED4 8021BCD4 AE600070 */ sw $zero, 0x70($s3) -/* 6A2ED8 8021BCD8 0200282D */ daddu $a1, $s0, $zero -.L8021BCDC: -/* 6A2EDC 8021BCDC 24060011 */ addiu $a2, $zero, 0x11 -/* 6A2EE0 8021BCE0 24070014 */ addiu $a3, $zero, 0x14 -/* 6A2EE4 8021BCE4 AFA00010 */ sw $zero, 0x10($sp) -/* 6A2EE8 8021BCE8 AFA00014 */ sw $zero, 0x14($sp) -/* 6A2EEC 8021BCEC AFB10018 */ sw $s1, 0x18($sp) -/* 6A2EF0 8021BCF0 AFA0001C */ sw $zero, 0x1c($sp) -/* 6A2EF4 8021BCF4 8EA40084 */ lw $a0, 0x84($s5) -/* 6A2EF8 8021BCF8 0C0B79E0 */ jal func_802DE780 -/* 6A2EFC 8021BCFC 26100001 */ addiu $s0, $s0, 1 -/* 6A2F00 8021BD00 2A02000A */ slti $v0, $s0, 0xa -/* 6A2F04 8021BD04 1440FFF5 */ bnez $v0, .L8021BCDC -/* 6A2F08 8021BD08 0200282D */ daddu $a1, $s0, $zero -.L8021BD0C: -/* 6A2F0C 8021BD0C 8E620074 */ lw $v0, 0x74($s3) -/* 6A2F10 8021BD10 2444000A */ addiu $a0, $v0, 0xa -/* 6A2F14 8021BD14 28820168 */ slti $v0, $a0, 0x168 -/* 6A2F18 8021BD18 14400010 */ bnez $v0, .L8021BD5C -/* 6A2F1C 8021BD1C AE640074 */ sw $a0, 0x74($s3) -/* 6A2F20 8021BD20 3C02B60B */ lui $v0, 0xb60b -/* 6A2F24 8021BD24 344260B7 */ ori $v0, $v0, 0x60b7 -/* 6A2F28 8021BD28 00820018 */ mult $a0, $v0 -/* 6A2F2C 8021BD2C 00041FC3 */ sra $v1, $a0, 0x1f -/* 6A2F30 8021BD30 00004010 */ mfhi $t0 -/* 6A2F34 8021BD34 01041021 */ addu $v0, $t0, $a0 -/* 6A2F38 8021BD38 00021203 */ sra $v0, $v0, 8 -/* 6A2F3C 8021BD3C 00431023 */ subu $v0, $v0, $v1 -/* 6A2F40 8021BD40 00021840 */ sll $v1, $v0, 1 -/* 6A2F44 8021BD44 00621821 */ addu $v1, $v1, $v0 -/* 6A2F48 8021BD48 00031100 */ sll $v0, $v1, 4 -/* 6A2F4C 8021BD4C 00431023 */ subu $v0, $v0, $v1 -/* 6A2F50 8021BD50 000210C0 */ sll $v0, $v0, 3 -/* 6A2F54 8021BD54 00821023 */ subu $v0, $a0, $v0 -/* 6A2F58 8021BD58 AE620074 */ sw $v0, 0x74($s3) -.L8021BD5C: -/* 6A2F5C 8021BD5C 0000882D */ daddu $s1, $zero, $zero -/* 6A2F60 8021BD60 3C128000 */ lui $s2, 0x8000 -/* 6A2F64 8021BD64 0220802D */ daddu $s0, $s1, $zero -/* 6A2F68 8021BD68 3C013FF0 */ lui $at, 0x3ff0 -/* 6A2F6C 8021BD6C 4481C800 */ mtc1 $at, $f25 -/* 6A2F70 8021BD70 4480C000 */ mtc1 $zero, $f24 -/* 6A2F74 8021BD74 3C01404C */ lui $at, 0x404c -/* 6A2F78 8021BD78 4481B800 */ mtc1 $at, $f23 -/* 6A2F7C 8021BD7C 4480B000 */ mtc1 $zero, $f22 -/* 6A2F80 8021BD80 3C0141E0 */ lui $at, 0x41e0 -/* 6A2F84 8021BD84 4481A800 */ mtc1 $at, $f21 -/* 6A2F88 8021BD88 4480A000 */ mtc1 $zero, $f20 -.L8021BD8C: -/* 6A2F8C 8021BD8C 96640076 */ lhu $a0, 0x76($s3) -/* 6A2F90 8021BD90 00902021 */ addu $a0, $a0, $s0 -/* 6A2F94 8021BD94 24840078 */ addiu $a0, $a0, 0x78 -/* 6A2F98 8021BD98 00042400 */ sll $a0, $a0, 0x10 -/* 6A2F9C 8021BD9C 0C00A4F5 */ jal cosine -/* 6A2FA0 8021BDA0 00042403 */ sra $a0, $a0, 0x10 -/* 6A2FA4 8021BDA4 46000021 */ cvt.d.s $f0, $f0 -/* 6A2FA8 8021BDA8 46380000 */ add.d $f0, $f0, $f24 -/* 6A2FAC 8021BDAC 46360002 */ mul.d $f0, $f0, $f22 -/* 6A2FB0 8021BDB0 00000000 */ nop -/* 6A2FB4 8021BDB4 27A20020 */ addiu $v0, $sp, 0x20 -/* 6A2FB8 8021BDB8 4620A03E */ c.le.d $f20, $f0 -/* 6A2FBC 8021BDBC 00000000 */ nop -/* 6A2FC0 8021BDC0 45010005 */ bc1t .L8021BDD8 -/* 6A2FC4 8021BDC4 00511021 */ addu $v0, $v0, $s1 -/* 6A2FC8 8021BDC8 4620008D */ trunc.w.d $f2, $f0 -/* 6A2FCC 8021BDCC 44031000 */ mfc1 $v1, $f2 -/* 6A2FD0 8021BDD0 08086F7C */ j .L8021BDF0 -/* 6A2FD4 8021BDD4 A0430000 */ sb $v1, ($v0) -.L8021BDD8: -/* 6A2FD8 8021BDD8 46340001 */ sub.d $f0, $f0, $f20 -/* 6A2FDC 8021BDDC 4620008D */ trunc.w.d $f2, $f0 -/* 6A2FE0 8021BDE0 44031000 */ mfc1 $v1, $f2 -/* 6A2FE4 8021BDE4 00000000 */ nop -/* 6A2FE8 8021BDE8 00721825 */ or $v1, $v1, $s2 -/* 6A2FEC 8021BDEC A0430000 */ sb $v1, ($v0) -.L8021BDF0: -/* 6A2FF0 8021BDF0 96640076 */ lhu $a0, 0x76($s3) -/* 6A2FF4 8021BDF4 00902021 */ addu $a0, $a0, $s0 -/* 6A2FF8 8021BDF8 2484003C */ addiu $a0, $a0, 0x3c -/* 6A2FFC 8021BDFC 00042400 */ sll $a0, $a0, 0x10 -/* 6A3000 8021BE00 0C00A4F5 */ jal cosine -/* 6A3004 8021BE04 00042403 */ sra $a0, $a0, 0x10 -/* 6A3008 8021BE08 46000021 */ cvt.d.s $f0, $f0 -/* 6A300C 8021BE0C 46380000 */ add.d $f0, $f0, $f24 -/* 6A3010 8021BE10 46360002 */ mul.d $f0, $f0, $f22 -/* 6A3014 8021BE14 00000000 */ nop -/* 6A3018 8021BE18 27A20038 */ addiu $v0, $sp, 0x38 -/* 6A301C 8021BE1C 4620A03E */ c.le.d $f20, $f0 -/* 6A3020 8021BE20 00000000 */ nop -/* 6A3024 8021BE24 45010005 */ bc1t .L8021BE3C -/* 6A3028 8021BE28 00511021 */ addu $v0, $v0, $s1 -/* 6A302C 8021BE2C 4620008D */ trunc.w.d $f2, $f0 -/* 6A3030 8021BE30 44031000 */ mfc1 $v1, $f2 -/* 6A3034 8021BE34 08086F95 */ j .L8021BE54 -/* 6A3038 8021BE38 A0430000 */ sb $v1, ($v0) -.L8021BE3C: -/* 6A303C 8021BE3C 46340001 */ sub.d $f0, $f0, $f20 -/* 6A3040 8021BE40 4620008D */ trunc.w.d $f2, $f0 -/* 6A3044 8021BE44 44031000 */ mfc1 $v1, $f2 -/* 6A3048 8021BE48 00000000 */ nop -/* 6A304C 8021BE4C 00721825 */ or $v1, $v1, $s2 -/* 6A3050 8021BE50 A0430000 */ sb $v1, ($v0) -.L8021BE54: -/* 6A3054 8021BE54 96640076 */ lhu $a0, 0x76($s3) -/* 6A3058 8021BE58 00902021 */ addu $a0, $a0, $s0 -/* 6A305C 8021BE5C 248400B4 */ addiu $a0, $a0, 0xb4 -/* 6A3060 8021BE60 00042400 */ sll $a0, $a0, 0x10 -/* 6A3064 8021BE64 0C00A4F5 */ jal cosine -/* 6A3068 8021BE68 00042403 */ sra $a0, $a0, 0x10 -/* 6A306C 8021BE6C 46000021 */ cvt.d.s $f0, $f0 -/* 6A3070 8021BE70 46380000 */ add.d $f0, $f0, $f24 -/* 6A3074 8021BE74 46360002 */ mul.d $f0, $f0, $f22 -/* 6A3078 8021BE78 00000000 */ nop -/* 6A307C 8021BE7C 27A20050 */ addiu $v0, $sp, 0x50 -/* 6A3080 8021BE80 4620A03E */ c.le.d $f20, $f0 -/* 6A3084 8021BE84 00000000 */ nop -/* 6A3088 8021BE88 45010005 */ bc1t .L8021BEA0 -/* 6A308C 8021BE8C 00511021 */ addu $v0, $v0, $s1 -/* 6A3090 8021BE90 4620008D */ trunc.w.d $f2, $f0 -/* 6A3094 8021BE94 44031000 */ mfc1 $v1, $f2 -/* 6A3098 8021BE98 08086FAE */ j .L8021BEB8 -/* 6A309C 8021BE9C A0430000 */ sb $v1, ($v0) -.L8021BEA0: -/* 6A30A0 8021BEA0 46340001 */ sub.d $f0, $f0, $f20 -/* 6A30A4 8021BEA4 4620008D */ trunc.w.d $f2, $f0 -/* 6A30A8 8021BEA8 44031000 */ mfc1 $v1, $f2 -/* 6A30AC 8021BEAC 00000000 */ nop -/* 6A30B0 8021BEB0 00721825 */ or $v1, $v1, $s2 -/* 6A30B4 8021BEB4 A0430000 */ sb $v1, ($v0) -.L8021BEB8: -/* 6A30B8 8021BEB8 26310001 */ addiu $s1, $s1, 1 -/* 6A30BC 8021BEBC 2A220014 */ slti $v0, $s1, 0x14 -/* 6A30C0 8021BEC0 1440FFB2 */ bnez $v0, .L8021BD8C -/* 6A30C4 8021BEC4 26100019 */ addiu $s0, $s0, 0x19 -/* 6A30C8 8021BEC8 8EA2007C */ lw $v0, 0x7c($s5) -/* 6A30CC 8021BECC 3C030008 */ lui $v1, 8 -/* 6A30D0 8021BED0 00431024 */ and $v0, $v0, $v1 -/* 6A30D4 8021BED4 10400025 */ beqz $v0, .L8021BF6C -/* 6A30D8 8021BED8 0000882D */ daddu $s1, $zero, $zero -/* 6A30DC 8021BEDC 27B70020 */ addiu $s7, $sp, 0x20 -/* 6A30E0 8021BEE0 27B60038 */ addiu $s6, $sp, 0x38 -/* 6A30E4 8021BEE4 27B40050 */ addiu $s4, $sp, 0x50 -/* 6A30E8 8021BEE8 241300FF */ addiu $s3, $zero, 0xff -/* 6A30EC 8021BEEC 0000802D */ daddu $s0, $zero, $zero -.L8021BEF0: -/* 6A30F0 8021BEF0 02F11021 */ addu $v0, $s7, $s1 -/* 6A30F4 8021BEF4 02D12021 */ addu $a0, $s6, $s1 -/* 6A30F8 8021BEF8 90430000 */ lbu $v1, ($v0) -/* 6A30FC 8021BEFC 02911021 */ addu $v0, $s4, $s1 -/* 6A3100 8021BF00 90840000 */ lbu $a0, ($a0) -/* 6A3104 8021BF04 90420000 */ lbu $v0, ($v0) -/* 6A3108 8021BF08 00031E00 */ sll $v1, $v1, 0x18 -/* 6A310C 8021BF0C 00042400 */ sll $a0, $a0, 0x10 -/* 6A3110 8021BF10 00641825 */ or $v1, $v1, $a0 -/* 6A3114 8021BF14 00021200 */ sll $v0, $v0, 8 -/* 6A3118 8021BF18 00621825 */ or $v1, $v1, $v0 -/* 6A311C 8021BF1C 347200FF */ ori $s2, $v1, 0xff -/* 6A3120 8021BF20 0200282D */ daddu $a1, $s0, $zero -.L8021BF24: -/* 6A3124 8021BF24 2406000C */ addiu $a2, $zero, 0xc -/* 6A3128 8021BF28 0220382D */ daddu $a3, $s1, $zero -/* 6A312C 8021BF2C AFB20010 */ sw $s2, 0x10($sp) -/* 6A3130 8021BF30 AFA00014 */ sw $zero, 0x14($sp) -/* 6A3134 8021BF34 AFB30018 */ sw $s3, 0x18($sp) -/* 6A3138 8021BF38 AFA0001C */ sw $zero, 0x1c($sp) -/* 6A313C 8021BF3C 8EA40084 */ lw $a0, 0x84($s5) -/* 6A3140 8021BF40 0C0B79E0 */ jal func_802DE780 -/* 6A3144 8021BF44 26100001 */ addiu $s0, $s0, 1 -/* 6A3148 8021BF48 2A02000A */ slti $v0, $s0, 0xa -/* 6A314C 8021BF4C 1440FFF5 */ bnez $v0, .L8021BF24 -/* 6A3150 8021BF50 0200282D */ daddu $a1, $s0, $zero -/* 6A3154 8021BF54 26310001 */ addiu $s1, $s1, 1 -/* 6A3158 8021BF58 2A220014 */ slti $v0, $s1, 0x14 -/* 6A315C 8021BF5C 1440FFE4 */ bnez $v0, .L8021BEF0 -/* 6A3160 8021BF60 0000802D */ daddu $s0, $zero, $zero -/* 6A3164 8021BF64 08086FF3 */ j .L8021BFCC -/* 6A3168 8021BF68 0000102D */ daddu $v0, $zero, $zero -.L8021BF6C: -/* 6A316C 8021BF6C 241200FF */ addiu $s2, $zero, 0xff -/* 6A3170 8021BF70 0240A02D */ daddu $s4, $s2, $zero -/* 6A3174 8021BF74 0000802D */ daddu $s0, $zero, $zero -.L8021BF78: -/* 6A3178 8021BF78 0200282D */ daddu $a1, $s0, $zero -.L8021BF7C: -/* 6A317C 8021BF7C 2406000C */ addiu $a2, $zero, 0xc -/* 6A3180 8021BF80 0220382D */ daddu $a3, $s1, $zero -/* 6A3184 8021BF84 AFB20010 */ sw $s2, 0x10($sp) -/* 6A3188 8021BF88 AFA00014 */ sw $zero, 0x14($sp) -/* 6A318C 8021BF8C AFB40018 */ sw $s4, 0x18($sp) -/* 6A3190 8021BF90 AFA0001C */ sw $zero, 0x1c($sp) -/* 6A3194 8021BF94 8EA40084 */ lw $a0, 0x84($s5) -/* 6A3198 8021BF98 0C0B79E0 */ jal func_802DE780 -/* 6A319C 8021BF9C 26100001 */ addiu $s0, $s0, 1 -/* 6A31A0 8021BFA0 2A02000A */ slti $v0, $s0, 0xa -/* 6A31A4 8021BFA4 1440FFF5 */ bnez $v0, .L8021BF7C -/* 6A31A8 8021BFA8 0200282D */ daddu $a1, $s0, $zero -/* 6A31AC 8021BFAC 26310001 */ addiu $s1, $s1, 1 -/* 6A31B0 8021BFB0 2A220014 */ slti $v0, $s1, 0x14 -/* 6A31B4 8021BFB4 1440FFF0 */ bnez $v0, .L8021BF78 -/* 6A31B8 8021BFB8 0000802D */ daddu $s0, $zero, $zero -/* 6A31BC 8021BFBC 0000102D */ daddu $v0, $zero, $zero -/* 6A31C0 8021BFC0 AE600074 */ sw $zero, 0x74($s3) -/* 6A31C4 8021BFC4 AE600078 */ sw $zero, 0x78($s3) -/* 6A31C8 8021BFC8 AE600070 */ sw $zero, 0x70($s3) -.L8021BFCC: -/* 6A31CC 8021BFCC 8FBF0088 */ lw $ra, 0x88($sp) -/* 6A31D0 8021BFD0 8FB70084 */ lw $s7, 0x84($sp) -/* 6A31D4 8021BFD4 8FB60080 */ lw $s6, 0x80($sp) -/* 6A31D8 8021BFD8 8FB5007C */ lw $s5, 0x7c($sp) -/* 6A31DC 8021BFDC 8FB40078 */ lw $s4, 0x78($sp) -/* 6A31E0 8021BFE0 8FB30074 */ lw $s3, 0x74($sp) -/* 6A31E4 8021BFE4 8FB20070 */ lw $s2, 0x70($sp) -/* 6A31E8 8021BFE8 8FB1006C */ lw $s1, 0x6c($sp) -/* 6A31EC 8021BFEC 8FB00068 */ lw $s0, 0x68($sp) -/* 6A31F0 8021BFF0 D7B800A0 */ ldc1 $f24, 0xa0($sp) -/* 6A31F4 8021BFF4 D7B60098 */ ldc1 $f22, 0x98($sp) -/* 6A31F8 8021BFF8 D7B40090 */ ldc1 $f20, 0x90($sp) -/* 6A31FC 8021BFFC 03E00008 */ jr $ra -/* 6A3200 8021C000 27BD00A8 */ addiu $sp, $sp, 0xa8 diff --git a/ver/us/asm/nonmatchings/battle/area_kpa2/6A2B50/func_8021C14C_6A334C.s b/ver/us/asm/nonmatchings/battle/area_kpa2/6A2B50/func_8021C14C_6A334C.s deleted file mode 100644 index d409451bc6..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_kpa2/6A2B50/func_8021C14C_6A334C.s +++ /dev/null @@ -1,258 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_8021C14C_6A334C -/* 6A334C 8021C14C 27BDFFA8 */ addiu $sp, $sp, -0x58 -/* 6A3350 8021C150 AFB1001C */ sw $s1, 0x1c($sp) -/* 6A3354 8021C154 0080882D */ daddu $s1, $a0, $zero -/* 6A3358 8021C158 AFB20020 */ sw $s2, 0x20($sp) -/* 6A335C 8021C15C AFBF002C */ sw $ra, 0x2c($sp) -/* 6A3360 8021C160 AFB40028 */ sw $s4, 0x28($sp) -/* 6A3364 8021C164 AFB30024 */ sw $s3, 0x24($sp) -/* 6A3368 8021C168 AFB00018 */ sw $s0, 0x18($sp) -/* 6A336C 8021C16C F7BC0050 */ sdc1 $f28, 0x50($sp) -/* 6A3370 8021C170 F7BA0048 */ sdc1 $f26, 0x48($sp) -/* 6A3374 8021C174 F7B80040 */ sdc1 $f24, 0x40($sp) -/* 6A3378 8021C178 F7B60038 */ sdc1 $f22, 0x38($sp) -/* 6A337C 8021C17C F7B40030 */ sdc1 $f20, 0x30($sp) -/* 6A3380 8021C180 8E240148 */ lw $a0, 0x148($s1) -/* 6A3384 8021C184 8E30000C */ lw $s0, 0xc($s1) -/* 6A3388 8021C188 0C09A75B */ jal get_actor -/* 6A338C 8021C18C 00A0902D */ daddu $s2, $a1, $zero -/* 6A3390 8021C190 0040982D */ daddu $s3, $v0, $zero -/* 6A3394 8021C194 126000D5 */ beqz $s3, .L8021C4EC -/* 6A3398 8021C198 24020002 */ addiu $v0, $zero, 2 -/* 6A339C 8021C19C 1240003C */ beqz $s2, .L8021C290 -/* 6A33A0 8021C1A0 0220202D */ daddu $a0, $s1, $zero -/* 6A33A4 8021C1A4 8E050000 */ lw $a1, ($s0) -/* 6A33A8 8021C1A8 26100004 */ addiu $s0, $s0, 4 -/* 6A33AC 8021C1AC 0C0B1EAF */ jal evt_get_variable -/* 6A33B0 8021C1B0 0000902D */ daddu $s2, $zero, $zero -/* 6A33B4 8021C1B4 8E050000 */ lw $a1, ($s0) -/* 6A33B8 8021C1B8 26100004 */ addiu $s0, $s0, 4 -/* 6A33BC 8021C1BC 4482E000 */ mtc1 $v0, $f28 -/* 6A33C0 8021C1C0 00000000 */ nop -/* 6A33C4 8021C1C4 4680E720 */ cvt.s.w $f28, $f28 -/* 6A33C8 8021C1C8 0C0B1EAF */ jal evt_get_variable -/* 6A33CC 8021C1CC 0220202D */ daddu $a0, $s1, $zero -/* 6A33D0 8021C1D0 8E050000 */ lw $a1, ($s0) -/* 6A33D4 8021C1D4 26100004 */ addiu $s0, $s0, 4 -/* 6A33D8 8021C1D8 4482D000 */ mtc1 $v0, $f26 -/* 6A33DC 8021C1DC 00000000 */ nop -/* 6A33E0 8021C1E0 4680D6A0 */ cvt.s.w $f26, $f26 -/* 6A33E4 8021C1E4 0C0B1EAF */ jal evt_get_variable -/* 6A33E8 8021C1E8 0220202D */ daddu $a0, $s1, $zero -/* 6A33EC 8021C1EC 8E050000 */ lw $a1, ($s0) -/* 6A33F0 8021C1F0 26100004 */ addiu $s0, $s0, 4 -/* 6A33F4 8021C1F4 4482C000 */ mtc1 $v0, $f24 -/* 6A33F8 8021C1F8 00000000 */ nop -/* 6A33FC 8021C1FC 4680C620 */ cvt.s.w $f24, $f24 -/* 6A3400 8021C200 0C0B210B */ jal evt_get_float_variable -/* 6A3404 8021C204 0220202D */ daddu $a0, $s1, $zero -/* 6A3408 8021C208 0220202D */ daddu $a0, $s1, $zero -/* 6A340C 8021C20C 8E050000 */ lw $a1, ($s0) -/* 6A3410 8021C210 0C0B210B */ jal evt_get_float_variable -/* 6A3414 8021C214 46000506 */ mov.s $f20, $f0 -/* 6A3418 8021C218 240400B4 */ addiu $a0, $zero, 0xb4 -/* 6A341C 8021C21C 0C00AB39 */ jal heap_malloc -/* 6A3420 8021C220 46000586 */ mov.s $f22, $f0 -/* 6A3424 8021C224 0040882D */ daddu $s1, $v0, $zero -/* 6A3428 8021C228 24060028 */ addiu $a2, $zero, 0x28 -/* 6A342C 8021C22C 240500FF */ addiu $a1, $zero, 0xff -/* 6A3430 8021C230 24040001 */ addiu $a0, $zero, 1 -/* 6A3434 8021C234 26230038 */ addiu $v1, $s1, 0x38 -/* 6A3438 8021C238 AE710078 */ sw $s1, 0x78($s3) -.L8021C23C: -/* 6A343C 8021C23C E47CFFCC */ swc1 $f28, -0x34($v1) -/* 6A3440 8021C240 E47AFFD0 */ swc1 $f26, -0x30($v1) -/* 6A3444 8021C244 E478FFD4 */ swc1 $f24, -0x2c($v1) -/* 6A3448 8021C248 E474FFE0 */ swc1 $f20, -0x20($v1) -/* 6A344C 8021C24C E474FFD8 */ swc1 $f20, -0x28($v1) -/* 6A3450 8021C250 E476FFDC */ swc1 $f22, -0x24($v1) -/* 6A3454 8021C254 AC64FFE4 */ sw $a0, -0x1c($v1) -/* 6A3458 8021C258 AC66FFE8 */ sw $a2, -0x18($v1) -/* 6A345C 8021C25C AC65FFEC */ sw $a1, -0x14($v1) -/* 6A3460 8021C260 AC65FFF0 */ sw $a1, -0x10($v1) -/* 6A3464 8021C264 AC60FFF4 */ sw $zero, -0xc($v1) -/* 6A3468 8021C268 AC60FFF8 */ sw $zero, -8($v1) -/* 6A346C 8021C26C AC60FFFC */ sw $zero, -4($v1) -/* 6A3470 8021C270 AC600000 */ sw $zero, ($v1) -/* 6A3474 8021C274 2463003C */ addiu $v1, $v1, 0x3c -/* 6A3478 8021C278 26520001 */ addiu $s2, $s2, 1 -/* 6A347C 8021C27C 2A420003 */ slti $v0, $s2, 3 -/* 6A3480 8021C280 1440FFEE */ bnez $v0, .L8021C23C -/* 6A3484 8021C284 2484000A */ addiu $a0, $a0, 0xa -/* 6A3488 8021C288 0808713B */ j .L8021C4EC -/* 6A348C 8021C28C 0000102D */ daddu $v0, $zero, $zero -.L8021C290: -/* 6A3490 8021C290 0000A02D */ daddu $s4, $zero, $zero -/* 6A3494 8021C294 0280902D */ daddu $s2, $s4, $zero -/* 6A3498 8021C298 8E710078 */ lw $s1, 0x78($s3) -/* 6A349C 8021C29C 3C013DCC */ lui $at, 0x3dcc -/* 6A34A0 8021C2A0 3421CCCD */ ori $at, $at, 0xcccd -/* 6A34A4 8021C2A4 4481C000 */ mtc1 $at, $f24 -/* 6A34A8 8021C2A8 3C013F00 */ lui $at, 0x3f00 -/* 6A34AC 8021C2AC 4481B000 */ mtc1 $at, $f22 -/* 6A34B0 8021C2B0 3C01437F */ lui $at, 0x437f -/* 6A34B4 8021C2B4 4481A000 */ mtc1 $at, $f20 -/* 6A34B8 8021C2B8 26300028 */ addiu $s0, $s1, 0x28 -.L8021C2BC: -/* 6A34BC 8021C2BC 8E02FFF4 */ lw $v0, -0xc($s0) -/* 6A34C0 8021C2C0 1840001C */ blez $v0, .L8021C334 -/* 6A34C4 8021C2C4 2442FFFF */ addiu $v0, $v0, -1 -/* 6A34C8 8021C2C8 1C40007D */ bgtz $v0, .L8021C4C0 -/* 6A34CC 8021C2CC AE02FFF4 */ sw $v0, -0xc($s0) -/* 6A34D0 8021C2D0 C600FFF0 */ lwc1 $f0, -0x10($s0) -/* 6A34D4 8021C2D4 2402FFFF */ addiu $v0, $zero, -1 -/* 6A34D8 8021C2D8 AFA20014 */ sw $v0, 0x14($sp) -/* 6A34DC 8021C2DC E7A00010 */ swc1 $f0, 0x10($sp) -/* 6A34E0 8021C2E0 8E05FFDC */ lw $a1, -0x24($s0) -/* 6A34E4 8021C2E4 8E06FFE0 */ lw $a2, -0x20($s0) -/* 6A34E8 8021C2E8 8E07FFE4 */ lw $a3, -0x1c($s0) -/* 6A34EC 8021C2EC 0C01CA9C */ jal fx_star_outline -/* 6A34F0 8021C2F0 0000202D */ daddu $a0, $zero, $zero -/* 6A34F4 8021C2F4 AE220000 */ sw $v0, ($s1) -/* 6A34F8 8021C2F8 8C42000C */ lw $v0, 0xc($v0) -/* 6A34FC 8021C2FC C6000004 */ lwc1 $f0, 4($s0) -/* 6A3500 8021C300 E440003C */ swc1 $f0, 0x3c($v0) -/* 6A3504 8021C304 8E220000 */ lw $v0, ($s1) -/* 6A3508 8021C308 C6000008 */ lwc1 $f0, 8($s0) -/* 6A350C 8021C30C 8C42000C */ lw $v0, 0xc($v0) -/* 6A3510 8021C310 E4400040 */ swc1 $f0, 0x40($v0) -/* 6A3514 8021C314 8E220000 */ lw $v0, ($s1) -/* 6A3518 8021C318 C600000C */ lwc1 $f0, 0xc($s0) -/* 6A351C 8021C31C 8C42000C */ lw $v0, 0xc($v0) -/* 6A3520 8021C320 E4400044 */ swc1 $f0, 0x44($v0) -/* 6A3524 8021C324 8E220000 */ lw $v0, ($s1) -/* 6A3528 8021C328 8C42000C */ lw $v0, 0xc($v0) -/* 6A352C 8021C32C 08087130 */ j .L8021C4C0 -/* 6A3530 8021C330 A4400000 */ sh $zero, ($v0) -.L8021C334: -/* 6A3534 8021C334 8E020010 */ lw $v0, 0x10($s0) -/* 6A3538 8021C338 10400003 */ beqz $v0, .L8021C348 -/* 6A353C 8021C33C 00000000 */ nop -/* 6A3540 8021C340 08087130 */ j .L8021C4C0 -/* 6A3544 8021C344 26940001 */ addiu $s4, $s4, 1 -.L8021C348: -/* 6A3548 8021C348 C600FFE8 */ lwc1 $f0, -0x18($s0) -/* 6A354C 8021C34C C608FFEC */ lwc1 $f8, -0x14($s0) -/* 6A3550 8021C350 46080001 */ sub.s $f0, $f0, $f8 -/* 6A3554 8021C354 C602FFF8 */ lwc1 $f2, -8($s0) -/* 6A3558 8021C358 468010A0 */ cvt.s.w $f2, $f2 -/* 6A355C 8021C35C 46000005 */ abs.s $f0, $f0 -/* 6A3560 8021C360 46020002 */ mul.s $f0, $f0, $f2 -/* 6A3564 8021C364 00000000 */ nop -/* 6A3568 8021C368 C606000C */ lwc1 $f6, 0xc($s0) -/* 6A356C 8021C36C 3C014110 */ lui $at, 0x4110 -/* 6A3570 8021C370 44811000 */ mtc1 $at, $f2 -/* 6A3574 8021C374 3C014220 */ lui $at, 0x4220 -/* 6A3578 8021C378 44812000 */ mtc1 $at, $f4 -/* 6A357C 8021C37C 46023180 */ add.s $f6, $f6, $f2 -/* 6A3580 8021C380 8E03FFF8 */ lw $v1, -8($s0) -/* 6A3584 8021C384 46040003 */ div.s $f0, $f0, $f4 -/* 6A3588 8021C388 46080000 */ add.s $f0, $f0, $f8 -/* 6A358C 8021C38C 2862000B */ slti $v0, $v1, 0xb -/* 6A3590 8021C390 E606000C */ swc1 $f6, 0xc($s0) -/* 6A3594 8021C394 1040001C */ beqz $v0, .L8021C408 -/* 6A3598 8021C398 E600FFF0 */ swc1 $f0, -0x10($s0) -/* 6A359C 8021C39C 000317C2 */ srl $v0, $v1, 0x1f -/* 6A35A0 8021C3A0 00621021 */ addu $v0, $v1, $v0 -/* 6A35A4 8021C3A4 00021043 */ sra $v0, $v0, 1 -/* 6A35A8 8021C3A8 44821000 */ mtc1 $v0, $f2 -/* 6A35AC 8021C3AC 00000000 */ nop -/* 6A35B0 8021C3B0 468010A0 */ cvt.s.w $f2, $f2 -/* 6A35B4 8021C3B4 0060102D */ daddu $v0, $v1, $zero -/* 6A35B8 8021C3B8 46181082 */ mul.s $f2, $f2, $f24 -/* 6A35BC 8021C3BC 00000000 */ nop -/* 6A35C0 8021C3C0 00021FC2 */ srl $v1, $v0, 0x1f -/* 6A35C4 8021C3C4 00431021 */ addu $v0, $v0, $v1 -/* 6A35C8 8021C3C8 00021043 */ sra $v0, $v0, 1 -/* 6A35CC 8021C3CC 44820000 */ mtc1 $v0, $f0 -/* 6A35D0 8021C3D0 00000000 */ nop -/* 6A35D4 8021C3D4 46800020 */ cvt.s.w $f0, $f0 -/* 6A35D8 8021C3D8 46180002 */ mul.s $f0, $f0, $f24 -/* 6A35DC 8021C3DC 00000000 */ nop -/* 6A35E0 8021C3E0 46161080 */ add.s $f2, $f2, $f22 -/* 6A35E4 8021C3E4 46141082 */ mul.s $f2, $f2, $f20 -/* 6A35E8 8021C3E8 00000000 */ nop -/* 6A35EC 8021C3EC 46160000 */ add.s $f0, $f0, $f22 -/* 6A35F0 8021C3F0 46140002 */ mul.s $f0, $f0, $f20 -/* 6A35F4 8021C3F4 00000000 */ nop -/* 6A35F8 8021C3F8 4600128D */ trunc.w.s $f10, $f2 -/* 6A35FC 8021C3FC E60AFFFC */ swc1 $f10, -4($s0) -/* 6A3600 8021C400 4600028D */ trunc.w.s $f10, $f0 -/* 6A3604 8021C404 E60A0000 */ swc1 $f10, ($s0) -.L8021C408: -/* 6A3608 8021C408 8E02FFF8 */ lw $v0, -8($s0) -/* 6A360C 8021C40C 2442FFFF */ addiu $v0, $v0, -1 -/* 6A3610 8021C410 1C400007 */ bgtz $v0, .L8021C430 -/* 6A3614 8021C414 AE02FFF8 */ sw $v0, -8($s0) -/* 6A3618 8021C418 8E240000 */ lw $a0, ($s1) -/* 6A361C 8021C41C 0C016914 */ jal remove_effect -/* 6A3620 8021C420 00000000 */ nop -/* 6A3624 8021C424 24020001 */ addiu $v0, $zero, 1 -/* 6A3628 8021C428 08087130 */ j .L8021C4C0 -/* 6A362C 8021C42C AE020010 */ sw $v0, 0x10($s0) -.L8021C430: -/* 6A3630 8021C430 8E220000 */ lw $v0, ($s1) -/* 6A3634 8021C434 C600FFDC */ lwc1 $f0, -0x24($s0) -/* 6A3638 8021C438 8C42000C */ lw $v0, 0xc($v0) -/* 6A363C 8021C43C E4400004 */ swc1 $f0, 4($v0) -/* 6A3640 8021C440 8E220000 */ lw $v0, ($s1) -/* 6A3644 8021C444 C600FFE0 */ lwc1 $f0, -0x20($s0) -/* 6A3648 8021C448 8C42000C */ lw $v0, 0xc($v0) -/* 6A364C 8021C44C E4400008 */ swc1 $f0, 8($v0) -/* 6A3650 8021C450 8E220000 */ lw $v0, ($s1) -/* 6A3654 8021C454 C600FFE4 */ lwc1 $f0, -0x1c($s0) -/* 6A3658 8021C458 8C42000C */ lw $v0, 0xc($v0) -/* 6A365C 8021C45C E440000C */ swc1 $f0, 0xc($v0) -/* 6A3660 8021C460 8E220000 */ lw $v0, ($s1) -/* 6A3664 8021C464 C6000004 */ lwc1 $f0, 4($s0) -/* 6A3668 8021C468 8C42000C */ lw $v0, 0xc($v0) -/* 6A366C 8021C46C E440003C */ swc1 $f0, 0x3c($v0) -/* 6A3670 8021C470 8E220000 */ lw $v0, ($s1) -/* 6A3674 8021C474 C6000008 */ lwc1 $f0, 8($s0) -/* 6A3678 8021C478 8C42000C */ lw $v0, 0xc($v0) -/* 6A367C 8021C47C E4400040 */ swc1 $f0, 0x40($v0) -/* 6A3680 8021C480 8E220000 */ lw $v0, ($s1) -/* 6A3684 8021C484 C600000C */ lwc1 $f0, 0xc($s0) -/* 6A3688 8021C488 8C42000C */ lw $v0, 0xc($v0) -/* 6A368C 8021C48C E4400044 */ swc1 $f0, 0x44($v0) -/* 6A3690 8021C490 8E220000 */ lw $v0, ($s1) -/* 6A3694 8021C494 C600FFF0 */ lwc1 $f0, -0x10($s0) -/* 6A3698 8021C498 8C42000C */ lw $v0, 0xc($v0) -/* 6A369C 8021C49C E4400038 */ swc1 $f0, 0x38($v0) -/* 6A36A0 8021C4A0 8E220000 */ lw $v0, ($s1) -/* 6A36A4 8021C4A4 8C43000C */ lw $v1, 0xc($v0) -/* 6A36A8 8021C4A8 8E02FFFC */ lw $v0, -4($s0) -/* 6A36AC 8021C4AC AC620024 */ sw $v0, 0x24($v1) -/* 6A36B0 8021C4B0 8E220000 */ lw $v0, ($s1) -/* 6A36B4 8021C4B4 8C43000C */ lw $v1, 0xc($v0) -/* 6A36B8 8021C4B8 8E020000 */ lw $v0, ($s0) -/* 6A36BC 8021C4BC AC620034 */ sw $v0, 0x34($v1) -.L8021C4C0: -/* 6A36C0 8021C4C0 2610003C */ addiu $s0, $s0, 0x3c -/* 6A36C4 8021C4C4 26520001 */ addiu $s2, $s2, 1 -/* 6A36C8 8021C4C8 2A420003 */ slti $v0, $s2, 3 -/* 6A36CC 8021C4CC 1440FF7B */ bnez $v0, .L8021C2BC -/* 6A36D0 8021C4D0 2631003C */ addiu $s1, $s1, 0x3c -/* 6A36D4 8021C4D4 2A820003 */ slti $v0, $s4, 3 -/* 6A36D8 8021C4D8 14400004 */ bnez $v0, .L8021C4EC -/* 6A36DC 8021C4DC 0000102D */ daddu $v0, $zero, $zero -/* 6A36E0 8021C4E0 0C00AB4B */ jal heap_free -/* 6A36E4 8021C4E4 0220202D */ daddu $a0, $s1, $zero -/* 6A36E8 8021C4E8 24020002 */ addiu $v0, $zero, 2 -.L8021C4EC: -/* 6A36EC 8021C4EC 8FBF002C */ lw $ra, 0x2c($sp) -/* 6A36F0 8021C4F0 8FB40028 */ lw $s4, 0x28($sp) -/* 6A36F4 8021C4F4 8FB30024 */ lw $s3, 0x24($sp) -/* 6A36F8 8021C4F8 8FB20020 */ lw $s2, 0x20($sp) -/* 6A36FC 8021C4FC 8FB1001C */ lw $s1, 0x1c($sp) -/* 6A3700 8021C500 8FB00018 */ lw $s0, 0x18($sp) -/* 6A3704 8021C504 D7BC0050 */ ldc1 $f28, 0x50($sp) -/* 6A3708 8021C508 D7BA0048 */ ldc1 $f26, 0x48($sp) -/* 6A370C 8021C50C D7B80040 */ ldc1 $f24, 0x40($sp) -/* 6A3710 8021C510 D7B60038 */ ldc1 $f22, 0x38($sp) -/* 6A3714 8021C514 D7B40030 */ ldc1 $f20, 0x30($sp) -/* 6A3718 8021C518 03E00008 */ jr $ra -/* 6A371C 8021C51C 27BD0058 */ addiu $sp, $sp, 0x58 diff --git a/ver/us/asm/nonmatchings/battle/area_kpa2/6A2B50/func_8021C520_6A3720.s b/ver/us/asm/nonmatchings/battle/area_kpa2/6A2B50/func_8021C520_6A3720.s deleted file mode 100644 index c7fe8b795b..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_kpa2/6A2B50/func_8021C520_6A3720.s +++ /dev/null @@ -1,322 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -.section .rodata - -dlabel D_80234830_6BBA30 -.double 0.4 - -dlabel D_80234838_6BBA38 -.double 90.0 - -dlabel D_80234840_6BBA40 -.double 3.6000001430511475 - -dlabel D_80234848_6BBA48 -.double 2.400000035762787 - -dlabel D_80234850_6BBA50 -.double 1.8 - -dlabel D_80234858_6BBA58 -.double 1.440000057220459 - -dlabel D_80234860_6BBA60 -.double 0.6000000000000001 - -dlabel D_80234868_6BBA68 -.double 0.9600000143051148 - -.section .text - -glabel func_8021C520_6A3720 -/* 6A3720 8021C520 27BDFFB0 */ addiu $sp, $sp, -0x50 -/* 6A3724 8021C524 AFB1001C */ sw $s1, 0x1c($sp) -/* 6A3728 8021C528 0080882D */ daddu $s1, $a0, $zero -/* 6A372C 8021C52C AFB20020 */ sw $s2, 0x20($sp) -/* 6A3730 8021C530 AFBF002C */ sw $ra, 0x2c($sp) -/* 6A3734 8021C534 AFB40028 */ sw $s4, 0x28($sp) -/* 6A3738 8021C538 AFB30024 */ sw $s3, 0x24($sp) -/* 6A373C 8021C53C AFB00018 */ sw $s0, 0x18($sp) -/* 6A3740 8021C540 F7BA0048 */ sdc1 $f26, 0x48($sp) -/* 6A3744 8021C544 F7B80040 */ sdc1 $f24, 0x40($sp) -/* 6A3748 8021C548 F7B60038 */ sdc1 $f22, 0x38($sp) -/* 6A374C 8021C54C F7B40030 */ sdc1 $f20, 0x30($sp) -/* 6A3750 8021C550 8E240148 */ lw $a0, 0x148($s1) -/* 6A3754 8021C554 8E30000C */ lw $s0, 0xc($s1) -/* 6A3758 8021C558 0C09A75B */ jal get_actor -/* 6A375C 8021C55C 00A0902D */ daddu $s2, $a1, $zero -/* 6A3760 8021C560 0040A02D */ daddu $s4, $v0, $zero -/* 6A3764 8021C564 128000F7 */ beqz $s4, .L8021C944 -/* 6A3768 8021C568 24020002 */ addiu $v0, $zero, 2 -/* 6A376C 8021C56C 12400041 */ beqz $s2, .L8021C674 -/* 6A3770 8021C570 0000982D */ daddu $s3, $zero, $zero -/* 6A3774 8021C574 8E050000 */ lw $a1, ($s0) -/* 6A3778 8021C578 26100004 */ addiu $s0, $s0, 4 -/* 6A377C 8021C57C 0C0B1EAF */ jal evt_get_variable -/* 6A3780 8021C580 0220202D */ daddu $a0, $s1, $zero -/* 6A3784 8021C584 8E050000 */ lw $a1, ($s0) -/* 6A3788 8021C588 26100004 */ addiu $s0, $s0, 4 -/* 6A378C 8021C58C 4482D000 */ mtc1 $v0, $f26 -/* 6A3790 8021C590 00000000 */ nop -/* 6A3794 8021C594 4680D6A0 */ cvt.s.w $f26, $f26 -/* 6A3798 8021C598 0C0B1EAF */ jal evt_get_variable -/* 6A379C 8021C59C 0220202D */ daddu $a0, $s1, $zero -/* 6A37A0 8021C5A0 8E050000 */ lw $a1, ($s0) -/* 6A37A4 8021C5A4 26100004 */ addiu $s0, $s0, 4 -/* 6A37A8 8021C5A8 4482C000 */ mtc1 $v0, $f24 -/* 6A37AC 8021C5AC 00000000 */ nop -/* 6A37B0 8021C5B0 4680C620 */ cvt.s.w $f24, $f24 -/* 6A37B4 8021C5B4 0C0B1EAF */ jal evt_get_variable -/* 6A37B8 8021C5B8 0220202D */ daddu $a0, $s1, $zero -/* 6A37BC 8021C5BC 8E050000 */ lw $a1, ($s0) -/* 6A37C0 8021C5C0 4482B000 */ mtc1 $v0, $f22 -/* 6A37C4 8021C5C4 00000000 */ nop -/* 6A37C8 8021C5C8 4680B5A0 */ cvt.s.w $f22, $f22 -/* 6A37CC 8021C5CC 0C0B210B */ jal evt_get_float_variable -/* 6A37D0 8021C5D0 0220202D */ daddu $a0, $s1, $zero -/* 6A37D4 8021C5D4 82830210 */ lb $v1, 0x210($s4) -/* 6A37D8 8021C5D8 2402000A */ addiu $v0, $zero, 0xa -/* 6A37DC 8021C5DC 14620007 */ bne $v1, $v0, .L8021C5FC -/* 6A37E0 8021C5E0 46000506 */ mov.s $f20, $f0 -/* 6A37E4 8021C5E4 3C018023 */ lui $at, %hi(D_80234830_6BBA30) -/* 6A37E8 8021C5E8 D4224830 */ ldc1 $f2, %lo(D_80234830_6BBA30)($at) -/* 6A37EC 8021C5EC 4600A021 */ cvt.d.s $f0, $f20 -/* 6A37F0 8021C5F0 46220002 */ mul.d $f0, $f0, $f2 -/* 6A37F4 8021C5F4 00000000 */ nop -/* 6A37F8 8021C5F8 46200520 */ cvt.s.d $f20, $f0 -.L8021C5FC: -/* 6A37FC 8021C5FC 0C00AB39 */ jal heap_malloc -/* 6A3800 8021C600 2404009C */ addiu $a0, $zero, 0x9c -/* 6A3804 8021C604 0040882D */ daddu $s1, $v0, $zero -/* 6A3808 8021C608 0000902D */ daddu $s2, $zero, $zero -/* 6A380C 8021C60C 24060032 */ addiu $a2, $zero, 0x32 -/* 6A3810 8021C610 240500FF */ addiu $a1, $zero, 0xff -/* 6A3814 8021C614 24040001 */ addiu $a0, $zero, 1 -/* 6A3818 8021C618 3C0142B4 */ lui $at, 0x42b4 -/* 6A381C 8021C61C 44810000 */ mtc1 $at, $f0 -/* 6A3820 8021C620 26230030 */ addiu $v1, $s1, 0x30 -/* 6A3824 8021C624 AE910078 */ sw $s1, 0x78($s4) -.L8021C628: -/* 6A3828 8021C628 E47AFFD4 */ swc1 $f26, -0x2c($v1) -/* 6A382C 8021C62C E478FFD8 */ swc1 $f24, -0x28($v1) -/* 6A3830 8021C630 E476FFDC */ swc1 $f22, -0x24($v1) -/* 6A3834 8021C634 E474FFE0 */ swc1 $f20, -0x20($v1) -/* 6A3838 8021C638 AC64FFE4 */ sw $a0, -0x1c($v1) -/* 6A383C 8021C63C AC66FFE8 */ sw $a2, -0x18($v1) -/* 6A3840 8021C640 AC65FFEC */ sw $a1, -0x14($v1) -/* 6A3844 8021C644 AC65FFF0 */ sw $a1, -0x10($v1) -/* 6A3848 8021C648 E460FFF4 */ swc1 $f0, -0xc($v1) -/* 6A384C 8021C64C AC60FFF8 */ sw $zero, -8($v1) -/* 6A3850 8021C650 AC60FFFC */ sw $zero, -4($v1) -/* 6A3854 8021C654 AC600000 */ sw $zero, ($v1) -/* 6A3858 8021C658 24630034 */ addiu $v1, $v1, 0x34 -/* 6A385C 8021C65C 26520001 */ addiu $s2, $s2, 1 -/* 6A3860 8021C660 2A420003 */ slti $v0, $s2, 3 -/* 6A3864 8021C664 1440FFF0 */ bnez $v0, .L8021C628 -/* 6A3868 8021C668 24840010 */ addiu $a0, $a0, 0x10 -/* 6A386C 8021C66C 08087251 */ j .L8021C944 -/* 6A3870 8021C670 0000102D */ daddu $v0, $zero, $zero -.L8021C674: -/* 6A3874 8021C674 8E910078 */ lw $s1, 0x78($s4) -/* 6A3878 8021C678 0260902D */ daddu $s2, $s3, $zero -/* 6A387C 8021C67C 26300030 */ addiu $s0, $s1, 0x30 -.L8021C680: -/* 6A3880 8021C680 8E02FFE4 */ lw $v0, -0x1c($s0) -/* 6A3884 8021C684 18400019 */ blez $v0, .L8021C6EC -/* 6A3888 8021C688 2442FFFF */ addiu $v0, $v0, -1 -/* 6A388C 8021C68C 1C4000A2 */ bgtz $v0, .L8021C918 -/* 6A3890 8021C690 AE02FFE4 */ sw $v0, -0x1c($s0) -/* 6A3894 8021C694 C600FFE0 */ lwc1 $f0, -0x20($s0) -/* 6A3898 8021C698 2402FFFF */ addiu $v0, $zero, -1 -/* 6A389C 8021C69C AFA20014 */ sw $v0, 0x14($sp) -/* 6A38A0 8021C6A0 E7A00010 */ swc1 $f0, 0x10($sp) -/* 6A38A4 8021C6A4 8E05FFD4 */ lw $a1, -0x2c($s0) -/* 6A38A8 8021C6A8 8E06FFD8 */ lw $a2, -0x28($s0) -/* 6A38AC 8021C6AC 8E07FFDC */ lw $a3, -0x24($s0) -/* 6A38B0 8021C6B0 0C01CA9C */ jal fx_star_outline -/* 6A38B4 8021C6B4 0000202D */ daddu $a0, $zero, $zero -/* 6A38B8 8021C6B8 AE220000 */ sw $v0, ($s1) -/* 6A38BC 8021C6BC 8C42000C */ lw $v0, 0xc($v0) -/* 6A38C0 8021C6C0 C600FFF4 */ lwc1 $f0, -0xc($s0) -/* 6A38C4 8021C6C4 E440003C */ swc1 $f0, 0x3c($v0) -/* 6A38C8 8021C6C8 8E220000 */ lw $v0, ($s1) -/* 6A38CC 8021C6CC C600FFF8 */ lwc1 $f0, -8($s0) -/* 6A38D0 8021C6D0 8C42000C */ lw $v0, 0xc($v0) -/* 6A38D4 8021C6D4 E4400040 */ swc1 $f0, 0x40($v0) -/* 6A38D8 8021C6D8 8E220000 */ lw $v0, ($s1) -/* 6A38DC 8021C6DC C600FFFC */ lwc1 $f0, -4($s0) -/* 6A38E0 8021C6E0 8C42000C */ lw $v0, 0xc($v0) -/* 6A38E4 8021C6E4 08087246 */ j .L8021C918 -/* 6A38E8 8021C6E8 E4400044 */ swc1 $f0, 0x44($v0) -.L8021C6EC: -/* 6A38EC 8021C6EC 8E020000 */ lw $v0, ($s0) -/* 6A38F0 8021C6F0 10400003 */ beqz $v0, .L8021C700 -/* 6A38F4 8021C6F4 2402000A */ addiu $v0, $zero, 0xa -/* 6A38F8 8021C6F8 08087246 */ j .L8021C918 -/* 6A38FC 8021C6FC 26730001 */ addiu $s3, $s3, 1 -.L8021C700: -/* 6A3900 8021C700 82830210 */ lb $v1, 0x210($s4) -/* 6A3904 8021C704 10620021 */ beq $v1, $v0, .L8021C78C -/* 6A3908 8021C708 00000000 */ nop -/* 6A390C 8021C70C C602FFD8 */ lwc1 $f2, -0x28($s0) -/* 6A3910 8021C710 3C01404E */ lui $at, 0x404e -/* 6A3914 8021C714 44810800 */ mtc1 $at, $f1 -/* 6A3918 8021C718 44800000 */ mtc1 $zero, $f0 -/* 6A391C 8021C71C 460010A1 */ cvt.d.s $f2, $f2 -/* 6A3920 8021C720 4620103C */ c.lt.d $f2, $f0 -/* 6A3924 8021C724 3C014012 */ lui $at, 0x4012 -/* 6A3928 8021C728 44810800 */ mtc1 $at, $f1 -/* 6A392C 8021C72C 44800000 */ mtc1 $zero, $f0 -/* 6A3930 8021C730 45030035 */ bc1tl .L8021C808 -/* 6A3934 8021C734 46201000 */ add.d $f0, $f2, $f0 -/* 6A3938 8021C738 3C018023 */ lui $at, %hi(D_80234838_6BBA38) -/* 6A393C 8021C73C D4204838 */ ldc1 $f0, %lo(D_80234838_6BBA38)($at) -/* 6A3940 8021C740 4620103C */ c.lt.d $f2, $f0 -/* 6A3944 8021C744 3C018023 */ lui $at, %hi(D_80234840_6BBA40) -/* 6A3948 8021C748 D4204840 */ ldc1 $f0, %lo(D_80234840_6BBA40)($at) -/* 6A394C 8021C74C 4503002E */ bc1tl .L8021C808 -/* 6A3950 8021C750 46201000 */ add.d $f0, $f2, $f0 -/* 6A3954 8021C754 3C01405E */ lui $at, 0x405e -/* 6A3958 8021C758 44810800 */ mtc1 $at, $f1 -/* 6A395C 8021C75C 44800000 */ mtc1 $zero, $f0 -/* 6A3960 8021C760 00000000 */ nop -/* 6A3964 8021C764 4620103C */ c.lt.d $f2, $f0 -/* 6A3968 8021C768 3C018023 */ lui $at, %hi(D_80234848_6BBA48) -/* 6A396C 8021C76C D4204848 */ ldc1 $f0, %lo(D_80234848_6BBA48)($at) -/* 6A3970 8021C770 45030025 */ bc1tl .L8021C808 -/* 6A3974 8021C774 46201000 */ add.d $f0, $f2, $f0 -/* 6A3978 8021C778 3C013FF8 */ lui $at, 0x3ff8 -/* 6A397C 8021C77C 44810800 */ mtc1 $at, $f1 -/* 6A3980 8021C780 44800000 */ mtc1 $zero, $f0 -/* 6A3984 8021C784 08087202 */ j .L8021C808 -/* 6A3988 8021C788 46201000 */ add.d $f0, $f2, $f0 -.L8021C78C: -/* 6A398C 8021C78C C602FFD8 */ lwc1 $f2, -0x28($s0) -/* 6A3990 8021C790 3C014038 */ lui $at, 0x4038 -/* 6A3994 8021C794 44810800 */ mtc1 $at, $f1 -/* 6A3998 8021C798 44800000 */ mtc1 $zero, $f0 -/* 6A399C 8021C79C 460010A1 */ cvt.d.s $f2, $f2 -/* 6A39A0 8021C7A0 4620103C */ c.lt.d $f2, $f0 -/* 6A39A4 8021C7A4 3C018023 */ lui $at, %hi(D_80234850_6BBA50) -/* 6A39A8 8021C7A8 D4204850 */ ldc1 $f0, %lo(D_80234850_6BBA50)($at) -/* 6A39AC 8021C7AC 45030016 */ bc1tl .L8021C808 -/* 6A39B0 8021C7B0 46201000 */ add.d $f0, $f2, $f0 -/* 6A39B4 8021C7B4 3C014042 */ lui $at, 0x4042 -/* 6A39B8 8021C7B8 44810800 */ mtc1 $at, $f1 -/* 6A39BC 8021C7BC 44800000 */ mtc1 $zero, $f0 -/* 6A39C0 8021C7C0 00000000 */ nop -/* 6A39C4 8021C7C4 4620103C */ c.lt.d $f2, $f0 -/* 6A39C8 8021C7C8 3C018023 */ lui $at, %hi(D_80234858_6BBA58) -/* 6A39CC 8021C7CC D4204858 */ ldc1 $f0, %lo(D_80234858_6BBA58)($at) -/* 6A39D0 8021C7D0 4503000D */ bc1tl .L8021C808 -/* 6A39D4 8021C7D4 46201000 */ add.d $f0, $f2, $f0 -/* 6A39D8 8021C7D8 3C014048 */ lui $at, 0x4048 -/* 6A39DC 8021C7DC 44810800 */ mtc1 $at, $f1 -/* 6A39E0 8021C7E0 44800000 */ mtc1 $zero, $f0 -/* 6A39E4 8021C7E4 00000000 */ nop -/* 6A39E8 8021C7E8 4620103C */ c.lt.d $f2, $f0 -/* 6A39EC 8021C7EC 3C018023 */ lui $at, %hi(D_80234860_6BBA60) -/* 6A39F0 8021C7F0 D4204860 */ ldc1 $f0, %lo(D_80234860_6BBA60)($at) -/* 6A39F4 8021C7F4 45020004 */ bc1fl .L8021C808 -/* 6A39F8 8021C7F8 46201000 */ add.d $f0, $f2, $f0 -/* 6A39FC 8021C7FC 3C018023 */ lui $at, %hi(D_80234868_6BBA68) -/* 6A3A00 8021C800 D4204868 */ ldc1 $f0, %lo(D_80234868_6BBA68)($at) -/* 6A3A04 8021C804 46201000 */ add.d $f0, $f2, $f0 -.L8021C808: -/* 6A3A08 8021C808 46200020 */ cvt.s.d $f0, $f0 -/* 6A3A0C 8021C80C E600FFD8 */ swc1 $f0, -0x28($s0) -/* 6A3A10 8021C810 C600FFF8 */ lwc1 $f0, -8($s0) -/* 6A3A14 8021C814 3C014190 */ lui $at, 0x4190 -/* 6A3A18 8021C818 44811000 */ mtc1 $at, $f2 -/* 6A3A1C 8021C81C 8E03FFE8 */ lw $v1, -0x18($s0) -/* 6A3A20 8021C820 46020000 */ add.s $f0, $f0, $f2 -/* 6A3A24 8021C824 28620011 */ slti $v0, $v1, 0x11 -/* 6A3A28 8021C828 1040000E */ beqz $v0, .L8021C864 -/* 6A3A2C 8021C82C E600FFF8 */ swc1 $f0, -8($s0) -/* 6A3A30 8021C830 00031200 */ sll $v0, $v1, 8 -/* 6A3A34 8021C834 00431823 */ subu $v1, $v0, $v1 -/* 6A3A38 8021C838 04620001 */ bltzl $v1, .L8021C840 -/* 6A3A3C 8021C83C 2463000F */ addiu $v1, $v1, 0xf -.L8021C840: -/* 6A3A40 8021C840 8E02FFE8 */ lw $v0, -0x18($s0) -/* 6A3A44 8021C844 00031903 */ sra $v1, $v1, 4 -/* 6A3A48 8021C848 AE03FFEC */ sw $v1, -0x14($s0) -/* 6A3A4C 8021C84C 00021A00 */ sll $v1, $v0, 8 -/* 6A3A50 8021C850 00621023 */ subu $v0, $v1, $v0 -/* 6A3A54 8021C854 04420001 */ bltzl $v0, .L8021C85C -/* 6A3A58 8021C858 2442000F */ addiu $v0, $v0, 0xf -.L8021C85C: -/* 6A3A5C 8021C85C 00021103 */ sra $v0, $v0, 4 -/* 6A3A60 8021C860 AE02FFF0 */ sw $v0, -0x10($s0) -.L8021C864: -/* 6A3A64 8021C864 8E220000 */ lw $v0, ($s1) -/* 6A3A68 8021C868 C600FFD4 */ lwc1 $f0, -0x2c($s0) -/* 6A3A6C 8021C86C 8C42000C */ lw $v0, 0xc($v0) -/* 6A3A70 8021C870 E4400004 */ swc1 $f0, 4($v0) -/* 6A3A74 8021C874 8E220000 */ lw $v0, ($s1) -/* 6A3A78 8021C878 C600FFD8 */ lwc1 $f0, -0x28($s0) -/* 6A3A7C 8021C87C 8C42000C */ lw $v0, 0xc($v0) -/* 6A3A80 8021C880 E4400008 */ swc1 $f0, 8($v0) -/* 6A3A84 8021C884 8E220000 */ lw $v0, ($s1) -/* 6A3A88 8021C888 C600FFDC */ lwc1 $f0, -0x24($s0) -/* 6A3A8C 8021C88C 8C42000C */ lw $v0, 0xc($v0) -/* 6A3A90 8021C890 E440000C */ swc1 $f0, 0xc($v0) -/* 6A3A94 8021C894 8E220000 */ lw $v0, ($s1) -/* 6A3A98 8021C898 C600FFF4 */ lwc1 $f0, -0xc($s0) -/* 6A3A9C 8021C89C 8C42000C */ lw $v0, 0xc($v0) -/* 6A3AA0 8021C8A0 E440003C */ swc1 $f0, 0x3c($v0) -/* 6A3AA4 8021C8A4 8E220000 */ lw $v0, ($s1) -/* 6A3AA8 8021C8A8 C600FFF8 */ lwc1 $f0, -8($s0) -/* 6A3AAC 8021C8AC 8C42000C */ lw $v0, 0xc($v0) -/* 6A3AB0 8021C8B0 E4400040 */ swc1 $f0, 0x40($v0) -/* 6A3AB4 8021C8B4 8E220000 */ lw $v0, ($s1) -/* 6A3AB8 8021C8B8 C600FFFC */ lwc1 $f0, -4($s0) -/* 6A3ABC 8021C8BC 8C42000C */ lw $v0, 0xc($v0) -/* 6A3AC0 8021C8C0 E4400044 */ swc1 $f0, 0x44($v0) -/* 6A3AC4 8021C8C4 8E220000 */ lw $v0, ($s1) -/* 6A3AC8 8021C8C8 C600FFE0 */ lwc1 $f0, -0x20($s0) -/* 6A3ACC 8021C8CC 8C42000C */ lw $v0, 0xc($v0) -/* 6A3AD0 8021C8D0 E4400038 */ swc1 $f0, 0x38($v0) -/* 6A3AD4 8021C8D4 8E220000 */ lw $v0, ($s1) -/* 6A3AD8 8021C8D8 8C43000C */ lw $v1, 0xc($v0) -/* 6A3ADC 8021C8DC 8E02FFEC */ lw $v0, -0x14($s0) -/* 6A3AE0 8021C8E0 AC620024 */ sw $v0, 0x24($v1) -/* 6A3AE4 8021C8E4 8E220000 */ lw $v0, ($s1) -/* 6A3AE8 8021C8E8 8C43000C */ lw $v1, 0xc($v0) -/* 6A3AEC 8021C8EC 8E02FFF0 */ lw $v0, -0x10($s0) -/* 6A3AF0 8021C8F0 AC620034 */ sw $v0, 0x34($v1) -/* 6A3AF4 8021C8F4 8E02FFE8 */ lw $v0, -0x18($s0) -/* 6A3AF8 8021C8F8 2442FFFF */ addiu $v0, $v0, -1 -/* 6A3AFC 8021C8FC 1C400006 */ bgtz $v0, .L8021C918 -/* 6A3B00 8021C900 AE02FFE8 */ sw $v0, -0x18($s0) -/* 6A3B04 8021C904 8E240000 */ lw $a0, ($s1) -/* 6A3B08 8021C908 0C016914 */ jal remove_effect -/* 6A3B0C 8021C90C 00000000 */ nop -/* 6A3B10 8021C910 24020001 */ addiu $v0, $zero, 1 -/* 6A3B14 8021C914 AE020000 */ sw $v0, ($s0) -.L8021C918: -/* 6A3B18 8021C918 26100034 */ addiu $s0, $s0, 0x34 -/* 6A3B1C 8021C91C 26520001 */ addiu $s2, $s2, 1 -/* 6A3B20 8021C920 2A420003 */ slti $v0, $s2, 3 -/* 6A3B24 8021C924 1440FF56 */ bnez $v0, .L8021C680 -/* 6A3B28 8021C928 26310034 */ addiu $s1, $s1, 0x34 -/* 6A3B2C 8021C92C 2A620003 */ slti $v0, $s3, 3 -/* 6A3B30 8021C930 14400004 */ bnez $v0, .L8021C944 -/* 6A3B34 8021C934 0000102D */ daddu $v0, $zero, $zero -/* 6A3B38 8021C938 0C00AB4B */ jal heap_free -/* 6A3B3C 8021C93C 0220202D */ daddu $a0, $s1, $zero -/* 6A3B40 8021C940 24020002 */ addiu $v0, $zero, 2 -.L8021C944: -/* 6A3B44 8021C944 8FBF002C */ lw $ra, 0x2c($sp) -/* 6A3B48 8021C948 8FB40028 */ lw $s4, 0x28($sp) -/* 6A3B4C 8021C94C 8FB30024 */ lw $s3, 0x24($sp) -/* 6A3B50 8021C950 8FB20020 */ lw $s2, 0x20($sp) -/* 6A3B54 8021C954 8FB1001C */ lw $s1, 0x1c($sp) -/* 6A3B58 8021C958 8FB00018 */ lw $s0, 0x18($sp) -/* 6A3B5C 8021C95C D7BA0048 */ ldc1 $f26, 0x48($sp) -/* 6A3B60 8021C960 D7B80040 */ ldc1 $f24, 0x40($sp) -/* 6A3B64 8021C964 D7B60038 */ ldc1 $f22, 0x38($sp) -/* 6A3B68 8021C968 D7B40030 */ ldc1 $f20, 0x30($sp) -/* 6A3B6C 8021C96C 03E00008 */ jr $ra -/* 6A3B70 8021C970 27BD0050 */ addiu $sp, $sp, 0x50 diff --git a/ver/us/asm/nonmatchings/battle/area_kpa2/6A2B50/func_8021CCFC_6A3EFC.s b/ver/us/asm/nonmatchings/battle/area_kpa2/6A2B50/func_8021CCFC_6A3EFC.s deleted file mode 100644 index 99f7f94ad9..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_kpa2/6A2B50/func_8021CCFC_6A3EFC.s +++ /dev/null @@ -1,124 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_8021CCFC_6A3EFC -/* 6A3EFC 8021CCFC 27BDFFC0 */ addiu $sp, $sp, -0x40 -/* 6A3F00 8021CD00 AFB3002C */ sw $s3, 0x2c($sp) -/* 6A3F04 8021CD04 0080982D */ daddu $s3, $a0, $zero -/* 6A3F08 8021CD08 AFB00020 */ sw $s0, 0x20($sp) -/* 6A3F0C 8021CD0C 0000802D */ daddu $s0, $zero, $zero -/* 6A3F10 8021CD10 AFB20028 */ sw $s2, 0x28($sp) -/* 6A3F14 8021CD14 3C12800E */ lui $s2, %hi(gBattleStatus) -/* 6A3F18 8021CD18 2652C070 */ addiu $s2, $s2, %lo(gBattleStatus) -/* 6A3F1C 8021CD1C AFB40030 */ sw $s4, 0x30($sp) -/* 6A3F20 8021CD20 3C148011 */ lui $s4, %hi(gPlayerData) -/* 6A3F24 8021CD24 2694F290 */ addiu $s4, $s4, %lo(gPlayerData) -/* 6A3F28 8021CD28 AFB50034 */ sw $s5, 0x34($sp) -/* 6A3F2C 8021CD2C 2404FFFF */ addiu $a0, $zero, -1 -/* 6A3F30 8021CD30 AFBF0038 */ sw $ra, 0x38($sp) -/* 6A3F34 8021CD34 AFB10024 */ sw $s1, 0x24($sp) -/* 6A3F38 8021CD38 824200AE */ lb $v0, 0xae($s2) -/* 6A3F3C 8021CD3C 8E71000C */ lw $s1, 0xc($s3) -/* 6A3F40 8021CD40 14440003 */ bne $v0, $a0, .L8021CD50 -/* 6A3F44 8021CD44 0280A82D */ daddu $s5, $s4, $zero -/* 6A3F48 8021CD48 AFA00010 */ sw $zero, 0x10($sp) -/* 6A3F4C 8021CD4C 24100001 */ addiu $s0, $zero, 1 -.L8021CD50: -/* 6A3F50 8021CD50 824200AF */ lb $v0, 0xaf($s2) -/* 6A3F54 8021CD54 14440005 */ bne $v0, $a0, .L8021CD6C -/* 6A3F58 8021CD58 00101080 */ sll $v0, $s0, 2 -/* 6A3F5C 8021CD5C 03A21821 */ addu $v1, $sp, $v0 -/* 6A3F60 8021CD60 24020001 */ addiu $v0, $zero, 1 -/* 6A3F64 8021CD64 AC620010 */ sw $v0, 0x10($v1) -/* 6A3F68 8021CD68 02028021 */ addu $s0, $s0, $v0 -.L8021CD6C: -/* 6A3F6C 8021CD6C 824200B0 */ lb $v0, 0xb0($s2) -/* 6A3F70 8021CD70 14440005 */ bne $v0, $a0, .L8021CD88 -/* 6A3F74 8021CD74 00101080 */ sll $v0, $s0, 2 -/* 6A3F78 8021CD78 03A21821 */ addu $v1, $sp, $v0 -/* 6A3F7C 8021CD7C 24020002 */ addiu $v0, $zero, 2 -/* 6A3F80 8021CD80 AC620010 */ sw $v0, 0x10($v1) -/* 6A3F84 8021CD84 26100001 */ addiu $s0, $s0, 1 -.L8021CD88: -/* 6A3F88 8021CD88 0C00A67F */ jal rand_int -/* 6A3F8C 8021CD8C 24040002 */ addiu $a0, $zero, 2 -/* 6A3F90 8021CD90 2604FFFF */ addiu $a0, $s0, -1 -/* 6A3F94 8021CD94 0C00A67F */ jal rand_int -/* 6A3F98 8021CD98 24500002 */ addiu $s0, $v0, 2 -/* 6A3F9C 8021CD9C 00021080 */ sll $v0, $v0, 2 -/* 6A3FA0 8021CDA0 03A21021 */ addu $v0, $sp, $v0 -/* 6A3FA4 8021CDA4 8C430010 */ lw $v1, 0x10($v0) -/* 6A3FA8 8021CDA8 24020001 */ addiu $v0, $zero, 1 -/* 6A3FAC 8021CDAC 1062001C */ beq $v1, $v0, .L8021CE20 -/* 6A3FB0 8021CDB0 28620002 */ slti $v0, $v1, 2 -/* 6A3FB4 8021CDB4 10400005 */ beqz $v0, .L8021CDCC -/* 6A3FB8 8021CDB8 24020002 */ addiu $v0, $zero, 2 -/* 6A3FBC 8021CDBC 50600007 */ beql $v1, $zero, .L8021CDDC -/* 6A3FC0 8021CDC0 A25000AE */ sb $s0, 0xae($s2) -/* 6A3FC4 8021CDC4 080873A4 */ j .L8021CE90 -/* 6A3FC8 8021CDC8 00000000 */ nop -.L8021CDCC: -/* 6A3FCC 8021CDCC 50620026 */ beql $v1, $v0, .L8021CE68 -/* 6A3FD0 8021CDD0 A25000B0 */ sb $s0, 0xb0($s2) -/* 6A3FD4 8021CDD4 080873A4 */ j .L8021CE90 -/* 6A3FD8 8021CDD8 00000000 */ nop -.L8021CDDC: -/* 6A3FDC 8021CDDC 8E250000 */ lw $a1, ($s1) -/* 6A3FE0 8021CDE0 82820001 */ lb $v0, 1($s4) -/* 6A3FE4 8021CDE4 26310004 */ addiu $s1, $s1, 4 -/* 6A3FE8 8021CDE8 00021080 */ sll $v0, $v0, 2 -/* 6A3FEC 8021CDEC 3C068023 */ lui $a2, %hi(D_80230B28_6B7D28) -/* 6A3FF0 8021CDF0 00C23021 */ addu $a2, $a2, $v0 -/* 6A3FF4 8021CDF4 8CC60B28 */ lw $a2, %lo(D_80230B28_6B7D28)($a2) -/* 6A3FF8 8021CDF8 0C0B2026 */ jal evt_set_variable -/* 6A3FFC 8021CDFC 0260202D */ daddu $a0, $s3, $zero -/* 6A4000 8021CE00 82820001 */ lb $v0, 1($s4) -/* 6A4004 8021CE04 8E250000 */ lw $a1, ($s1) -/* 6A4008 8021CE08 00021080 */ sll $v0, $v0, 2 -/* 6A400C 8021CE0C 3C068023 */ lui $a2, %hi(D_80230B34_6B7D34) -/* 6A4010 8021CE10 00C23021 */ addu $a2, $a2, $v0 -/* 6A4014 8021CE14 8CC60B34 */ lw $a2, %lo(D_80230B34_6B7D34)($a2) -/* 6A4018 8021CE18 080873A2 */ j .L8021CE88 -/* 6A401C 8021CE1C 0260202D */ daddu $a0, $s3, $zero -.L8021CE20: -/* 6A4020 8021CE20 A25000AF */ sb $s0, 0xaf($s2) -/* 6A4024 8021CE24 8E250000 */ lw $a1, ($s1) -/* 6A4028 8021CE28 82A20000 */ lb $v0, ($s5) -/* 6A402C 8021CE2C 26310004 */ addiu $s1, $s1, 4 -/* 6A4030 8021CE30 00021080 */ sll $v0, $v0, 2 -/* 6A4034 8021CE34 3C068023 */ lui $a2, %hi(D_80230B40_6B7D40) -/* 6A4038 8021CE38 00C23021 */ addu $a2, $a2, $v0 -/* 6A403C 8021CE3C 8CC60B40 */ lw $a2, %lo(D_80230B40_6B7D40)($a2) -/* 6A4040 8021CE40 0C0B2026 */ jal evt_set_variable -/* 6A4044 8021CE44 0260202D */ daddu $a0, $s3, $zero -/* 6A4048 8021CE48 82A20000 */ lb $v0, ($s5) -/* 6A404C 8021CE4C 8E250000 */ lw $a1, ($s1) -/* 6A4050 8021CE50 00021080 */ sll $v0, $v0, 2 -/* 6A4054 8021CE54 3C068023 */ lui $a2, %hi(D_80230B4C_6B7D4C) -/* 6A4058 8021CE58 00C23021 */ addu $a2, $a2, $v0 -/* 6A405C 8021CE5C 8CC60B4C */ lw $a2, %lo(D_80230B4C_6B7D4C)($a2) -/* 6A4060 8021CE60 080873A2 */ j .L8021CE88 -/* 6A4064 8021CE64 0260202D */ daddu $a0, $s3, $zero -.L8021CE68: -/* 6A4068 8021CE68 8E250000 */ lw $a1, ($s1) -/* 6A406C 8021CE6C 26310004 */ addiu $s1, $s1, 4 -/* 6A4070 8021CE70 0260202D */ daddu $a0, $s3, $zero -/* 6A4074 8021CE74 0C0B2026 */ jal evt_set_variable -/* 6A4078 8021CE78 2406016C */ addiu $a2, $zero, 0x16c -/* 6A407C 8021CE7C 0260202D */ daddu $a0, $s3, $zero -/* 6A4080 8021CE80 8E250000 */ lw $a1, ($s1) -/* 6A4084 8021CE84 2406004F */ addiu $a2, $zero, 0x4f -.L8021CE88: -/* 6A4088 8021CE88 0C0B2026 */ jal evt_set_variable -/* 6A408C 8021CE8C 00000000 */ nop -.L8021CE90: -/* 6A4090 8021CE90 8FBF0038 */ lw $ra, 0x38($sp) -/* 6A4094 8021CE94 8FB50034 */ lw $s5, 0x34($sp) -/* 6A4098 8021CE98 8FB40030 */ lw $s4, 0x30($sp) -/* 6A409C 8021CE9C 8FB3002C */ lw $s3, 0x2c($sp) -/* 6A40A0 8021CEA0 8FB20028 */ lw $s2, 0x28($sp) -/* 6A40A4 8021CEA4 8FB10024 */ lw $s1, 0x24($sp) -/* 6A40A8 8021CEA8 8FB00020 */ lw $s0, 0x20($sp) -/* 6A40AC 8021CEAC 24020002 */ addiu $v0, $zero, 2 -/* 6A40B0 8021CEB0 03E00008 */ jr $ra -/* 6A40B4 8021CEB4 27BD0040 */ addiu $sp, $sp, 0x40 diff --git a/ver/us/asm/nonmatchings/battle/area_kpa2/6A2B50/func_8021CFC0_6A41C0.s b/ver/us/asm/nonmatchings/battle/area_kpa2/6A2B50/func_8021CFC0_6A41C0.s deleted file mode 100644 index 9759b0bed8..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_kpa2/6A2B50/func_8021CFC0_6A41C0.s +++ /dev/null @@ -1,197 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -.section .rodata - -dlabel D_80234870_6BBA70 -.double 0.3, 0.0 - -.section .text - -glabel func_8021CFC0_6A41C0 -/* 6A41C0 8021CFC0 27BDFF88 */ addiu $sp, $sp, -0x78 -/* 6A41C4 8021CFC4 AFB5003C */ sw $s5, 0x3c($sp) -/* 6A41C8 8021CFC8 0080A82D */ daddu $s5, $a0, $zero -/* 6A41CC 8021CFCC AFB1002C */ sw $s1, 0x2c($sp) -/* 6A41D0 8021CFD0 AFBF004C */ sw $ra, 0x4c($sp) -/* 6A41D4 8021CFD4 AFBE0048 */ sw $fp, 0x48($sp) -/* 6A41D8 8021CFD8 AFB70044 */ sw $s7, 0x44($sp) -/* 6A41DC 8021CFDC AFB60040 */ sw $s6, 0x40($sp) -/* 6A41E0 8021CFE0 AFB40038 */ sw $s4, 0x38($sp) -/* 6A41E4 8021CFE4 AFB30034 */ sw $s3, 0x34($sp) -/* 6A41E8 8021CFE8 AFB20030 */ sw $s2, 0x30($sp) -/* 6A41EC 8021CFEC AFB00028 */ sw $s0, 0x28($sp) -/* 6A41F0 8021CFF0 F7BC0070 */ sdc1 $f28, 0x70($sp) -/* 6A41F4 8021CFF4 F7BA0068 */ sdc1 $f26, 0x68($sp) -/* 6A41F8 8021CFF8 F7B80060 */ sdc1 $f24, 0x60($sp) -/* 6A41FC 8021CFFC F7B60058 */ sdc1 $f22, 0x58($sp) -/* 6A4200 8021D000 F7B40050 */ sdc1 $f20, 0x50($sp) -/* 6A4204 8021D004 8EA40148 */ lw $a0, 0x148($s5) -/* 6A4208 8021D008 8EB3000C */ lw $s3, 0xc($s5) -/* 6A420C 8021D00C 0C09A75B */ jal get_actor -/* 6A4210 8021D010 00A0882D */ daddu $s1, $a1, $zero -/* 6A4214 8021D014 0040802D */ daddu $s0, $v0, $zero -/* 6A4218 8021D018 1200008C */ beqz $s0, .L8021D24C -/* 6A421C 8021D01C 24020002 */ addiu $v0, $zero, 2 -/* 6A4220 8021D020 1220003E */ beqz $s1, .L8021D11C -/* 6A4224 8021D024 2614000C */ addiu $s4, $s0, 0xc -/* 6A4228 8021D028 0C00AB39 */ jal heap_malloc -/* 6A422C 8021D02C 24040060 */ addiu $a0, $zero, 0x60 -/* 6A4230 8021D030 0040882D */ daddu $s1, $v0, $zero -/* 6A4234 8021D034 AE110078 */ sw $s1, 0x78($s0) -/* 6A4238 8021D038 8E650000 */ lw $a1, ($s3) -/* 6A423C 8021D03C 26730004 */ addiu $s3, $s3, 4 -/* 6A4240 8021D040 02A0202D */ daddu $a0, $s5, $zero -/* 6A4244 8021D044 0000F02D */ daddu $fp, $zero, $zero -/* 6A4248 8021D048 03C0902D */ daddu $s2, $fp, $zero -/* 6A424C 8021D04C 2417003C */ addiu $s7, $zero, 0x3c -/* 6A4250 8021D050 2416002D */ addiu $s6, $zero, 0x2d -/* 6A4254 8021D054 03C0A02D */ daddu $s4, $fp, $zero -/* 6A4258 8021D058 3C013F80 */ lui $at, 0x3f80 -/* 6A425C 8021D05C 4481E000 */ mtc1 $at, $f28 -/* 6A4260 8021D060 3C014120 */ lui $at, 0x4120 -/* 6A4264 8021D064 4481D000 */ mtc1 $at, $f26 -/* 6A4268 8021D068 3C014170 */ lui $at, 0x4170 -/* 6A426C 8021D06C 4481C000 */ mtc1 $at, $f24 -/* 6A4270 8021D070 0C0B1EAF */ jal evt_get_variable -/* 6A4274 8021D074 26300018 */ addiu $s0, $s1, 0x18 -/* 6A4278 8021D078 8E650000 */ lw $a1, ($s3) -/* 6A427C 8021D07C 4482B000 */ mtc1 $v0, $f22 -/* 6A4280 8021D080 00000000 */ nop -/* 6A4284 8021D084 4680B5A0 */ cvt.s.w $f22, $f22 -/* 6A4288 8021D088 0C0B1EAF */ jal evt_get_variable -/* 6A428C 8021D08C 02A0202D */ daddu $a0, $s5, $zero -/* 6A4290 8021D090 4482A000 */ mtc1 $v0, $f20 -/* 6A4294 8021D094 00000000 */ nop -/* 6A4298 8021D098 4680A520 */ cvt.s.w $f20, $f20 -.L8021D09C: -/* 6A429C 8021D09C 24040002 */ addiu $a0, $zero, 2 -/* 6A42A0 8021D0A0 4405B000 */ mfc1 $a1, $f22 -/* 6A42A4 8021D0A4 3C064348 */ lui $a2, 0x4348 -/* 6A42A8 8021D0A8 4407A000 */ mfc1 $a3, $f20 -/* 6A42AC 8021D0AC 26520001 */ addiu $s2, $s2, 1 -/* 6A42B0 8021D0B0 E7B60010 */ swc1 $f22, 0x10($sp) -/* 6A42B4 8021D0B4 AFA00014 */ sw $zero, 0x14($sp) -/* 6A42B8 8021D0B8 E7B40018 */ swc1 $f20, 0x18($sp) -/* 6A42BC 8021D0BC E7BC001C */ swc1 $f28, 0x1c($sp) -/* 6A42C0 8021D0C0 0C01C6F4 */ jal fx_lightning_bolt -/* 6A42C4 8021D0C4 AFB70020 */ sw $s7, 0x20($sp) -/* 6A42C8 8021D0C8 449E0000 */ mtc1 $fp, $f0 -/* 6A42CC 8021D0CC 00000000 */ nop -/* 6A42D0 8021D0D0 46800020 */ cvt.s.w $f0, $f0 -/* 6A42D4 8021D0D4 AE220000 */ sw $v0, ($s1) -/* 6A42D8 8021D0D8 E600FFF0 */ swc1 $f0, -0x10($s0) -/* 6A42DC 8021D0DC 44940000 */ mtc1 $s4, $f0 -/* 6A42E0 8021D0E0 00000000 */ nop -/* 6A42E4 8021D0E4 46800020 */ cvt.s.w $f0, $f0 -/* 6A42E8 8021D0E8 AE160004 */ sw $s6, 4($s0) -/* 6A42EC 8021D0EC E616FFEC */ swc1 $f22, -0x14($s0) -/* 6A42F0 8021D0F0 E614FFF4 */ swc1 $f20, -0xc($s0) -/* 6A42F4 8021D0F4 E61AFFF8 */ swc1 $f26, -8($s0) -/* 6A42F8 8021D0F8 E600FFFC */ swc1 $f0, -4($s0) -/* 6A42FC 8021D0FC E6180000 */ swc1 $f24, ($s0) -/* 6A4300 8021D100 26100020 */ addiu $s0, $s0, 0x20 -/* 6A4304 8021D104 26310020 */ addiu $s1, $s1, 0x20 -/* 6A4308 8021D108 2A420003 */ slti $v0, $s2, 3 -/* 6A430C 8021D10C 1440FFE3 */ bnez $v0, .L8021D09C -/* 6A4310 8021D110 26940078 */ addiu $s4, $s4, 0x78 -/* 6A4314 8021D114 08087493 */ j .L8021D24C -/* 6A4318 8021D118 0000102D */ daddu $v0, $zero, $zero -.L8021D11C: -/* 6A431C 8021D11C 0000902D */ daddu $s2, $zero, $zero -/* 6A4320 8021D120 8E110078 */ lw $s1, 0x78($s0) -/* 6A4324 8021D124 3C013FF8 */ lui $at, 0x3ff8 -/* 6A4328 8021D128 4481B800 */ mtc1 $at, $f23 -/* 6A432C 8021D12C 4480B000 */ mtc1 $zero, $f22 -/* 6A4330 8021D130 2630001C */ addiu $s0, $s1, 0x1c -.L8021D134: -/* 6A4334 8021D134 0C00A8D4 */ jal cos_deg -/* 6A4338 8021D138 C60CFFF8 */ lwc1 $f12, -8($s0) -/* 6A433C 8021D13C C602FFF4 */ lwc1 $f2, -0xc($s0) -/* 6A4340 8021D140 46020002 */ mul.s $f0, $f0, $f2 -/* 6A4344 8021D144 00000000 */ nop -/* 6A4348 8021D148 C614FFE8 */ lwc1 $f20, -0x18($s0) -/* 6A434C 8021D14C C60CFFF8 */ lwc1 $f12, -8($s0) -/* 6A4350 8021D150 0C00A8BB */ jal sin_deg -/* 6A4354 8021D154 4600A500 */ add.s $f20, $f20, $f0 -/* 6A4358 8021D158 8E220000 */ lw $v0, ($s1) -/* 6A435C 8021D15C C604FFF4 */ lwc1 $f4, -0xc($s0) -/* 6A4360 8021D160 C602FFF0 */ lwc1 $f2, -0x10($s0) -/* 6A4364 8021D164 8C42000C */ lw $v0, 0xc($v0) -/* 6A4368 8021D168 E4540004 */ swc1 $f20, 4($v0) -/* 6A436C 8021D16C 8E220000 */ lw $v0, ($s1) -/* 6A4370 8021D170 8C42000C */ lw $v0, 0xc($v0) -/* 6A4374 8021D174 E4540010 */ swc1 $f20, 0x10($v0) -/* 6A4378 8021D178 8E220000 */ lw $v0, ($s1) -/* 6A437C 8021D17C 46040002 */ mul.s $f0, $f0, $f4 -/* 6A4380 8021D180 00000000 */ nop -/* 6A4384 8021D184 8C42000C */ lw $v0, 0xc($v0) -/* 6A4388 8021D188 E454001C */ swc1 $f20, 0x1c($v0) -/* 6A438C 8021D18C 8E220000 */ lw $v0, ($s1) -/* 6A4390 8021D190 46001080 */ add.s $f2, $f2, $f0 -/* 6A4394 8021D194 8C42000C */ lw $v0, 0xc($v0) -/* 6A4398 8021D198 E442000C */ swc1 $f2, 0xc($v0) -/* 6A439C 8021D19C 8E220000 */ lw $v0, ($s1) -/* 6A43A0 8021D1A0 8C42000C */ lw $v0, 0xc($v0) -/* 6A43A4 8021D1A4 E4420018 */ swc1 $f2, 0x18($v0) -/* 6A43A8 8021D1A8 8E220000 */ lw $v0, ($s1) -/* 6A43AC 8021D1AC 8C42000C */ lw $v0, 0xc($v0) -/* 6A43B0 8021D1B0 E4420024 */ swc1 $f2, 0x24($v0) -/* 6A43B4 8021D1B4 8E020000 */ lw $v0, ($s0) -/* 6A43B8 8021D1B8 2842000B */ slti $v0, $v0, 0xb -/* 6A43BC 8021D1BC 14400006 */ bnez $v0, .L8021D1D8 -/* 6A43C0 8021D1C0 00000000 */ nop -/* 6A43C4 8021D1C4 C600FFF4 */ lwc1 $f0, -0xc($s0) -/* 6A43C8 8021D1C8 46000021 */ cvt.d.s $f0, $f0 -/* 6A43CC 8021D1CC 46360000 */ add.d $f0, $f0, $f22 -/* 6A43D0 8021D1D0 46200020 */ cvt.s.d $f0, $f0 -/* 6A43D4 8021D1D4 E600FFF4 */ swc1 $f0, -0xc($s0) -.L8021D1D8: -/* 6A43D8 8021D1D8 C600FFF8 */ lwc1 $f0, -8($s0) -/* 6A43DC 8021D1DC C602FFFC */ lwc1 $f2, -4($s0) -/* 6A43E0 8021D1E0 8E020000 */ lw $v0, ($s0) -/* 6A43E4 8021D1E4 46020000 */ add.s $f0, $f0, $f2 -/* 6A43E8 8021D1E8 2842001F */ slti $v0, $v0, 0x1f -/* 6A43EC 8021D1EC 14400008 */ bnez $v0, .L8021D210 -/* 6A43F0 8021D1F0 E600FFF8 */ swc1 $f0, -8($s0) -/* 6A43F4 8021D1F4 46001006 */ mov.s $f0, $f2 -/* 6A43F8 8021D1F8 3C018023 */ lui $at, %hi(D_80234870_6BBA70) -/* 6A43FC 8021D1FC D4224870 */ ldc1 $f2, %lo(D_80234870_6BBA70)($at) -/* 6A4400 8021D200 46000021 */ cvt.d.s $f0, $f0 -/* 6A4404 8021D204 46220001 */ sub.d $f0, $f0, $f2 -/* 6A4408 8021D208 46200020 */ cvt.s.d $f0, $f0 -/* 6A440C 8021D20C E600FFFC */ swc1 $f0, -4($s0) -.L8021D210: -/* 6A4410 8021D210 26310020 */ addiu $s1, $s1, 0x20 -/* 6A4414 8021D214 8E020000 */ lw $v0, ($s0) -/* 6A4418 8021D218 26520001 */ addiu $s2, $s2, 1 -/* 6A441C 8021D21C 2442FFFF */ addiu $v0, $v0, -1 -/* 6A4420 8021D220 AE020000 */ sw $v0, ($s0) -/* 6A4424 8021D224 2A420003 */ slti $v0, $s2, 3 -/* 6A4428 8021D228 1440FFC2 */ bnez $v0, .L8021D134 -/* 6A442C 8021D22C 26100020 */ addiu $s0, $s0, 0x20 -/* 6A4430 8021D230 8E91006C */ lw $s1, 0x6c($s4) -/* 6A4434 8021D234 8E22001C */ lw $v0, 0x1c($s1) -/* 6A4438 8021D238 1C400004 */ bgtz $v0, .L8021D24C -/* 6A443C 8021D23C 0000102D */ daddu $v0, $zero, $zero -/* 6A4440 8021D240 0C00AB4B */ jal heap_free -/* 6A4444 8021D244 0220202D */ daddu $a0, $s1, $zero -/* 6A4448 8021D248 24020002 */ addiu $v0, $zero, 2 -.L8021D24C: -/* 6A444C 8021D24C 8FBF004C */ lw $ra, 0x4c($sp) -/* 6A4450 8021D250 8FBE0048 */ lw $fp, 0x48($sp) -/* 6A4454 8021D254 8FB70044 */ lw $s7, 0x44($sp) -/* 6A4458 8021D258 8FB60040 */ lw $s6, 0x40($sp) -/* 6A445C 8021D25C 8FB5003C */ lw $s5, 0x3c($sp) -/* 6A4460 8021D260 8FB40038 */ lw $s4, 0x38($sp) -/* 6A4464 8021D264 8FB30034 */ lw $s3, 0x34($sp) -/* 6A4468 8021D268 8FB20030 */ lw $s2, 0x30($sp) -/* 6A446C 8021D26C 8FB1002C */ lw $s1, 0x2c($sp) -/* 6A4470 8021D270 8FB00028 */ lw $s0, 0x28($sp) -/* 6A4474 8021D274 D7BC0070 */ ldc1 $f28, 0x70($sp) -/* 6A4478 8021D278 D7BA0068 */ ldc1 $f26, 0x68($sp) -/* 6A447C 8021D27C D7B80060 */ ldc1 $f24, 0x60($sp) -/* 6A4480 8021D280 D7B60058 */ ldc1 $f22, 0x58($sp) -/* 6A4484 8021D284 D7B40050 */ ldc1 $f20, 0x50($sp) -/* 6A4488 8021D288 03E00008 */ jr $ra -/* 6A448C 8021D28C 27BD0078 */ addiu $sp, $sp, 0x78 diff --git a/ver/us/asm/nonmatchings/battle/area_kpa2/6A2B50/func_8021D290_6A4490.s b/ver/us/asm/nonmatchings/battle/area_kpa2/6A2B50/func_8021D290_6A4490.s deleted file mode 100644 index 67a9e577f6..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_kpa2/6A2B50/func_8021D290_6A4490.s +++ /dev/null @@ -1,85 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -.section .rodata - -dlabel D_80234880_6BBA80 -.word 0x6B70615F, 0x62743031, 0x5F686974, 0x00000000 - -dlabel D_80234890_6BBA90 -.word 0x6B70615F, 0x62743031, 0x5F736861, 0x70650000 - -dlabel D_802348A0_6BBAA0 -.word 0x6B70615F, 0x74657800 - -dlabel D_802348A8_6BBAA8 -.word 0x6B70615F, 0x62670000 - -dlabel D_802348B0_6BBAB0 -.word 0x6B6B6A5F, 0x62743031, 0x5F686974, 0x00000000 - -dlabel D_802348C0_6BBAC0 -.word 0x6B6B6A5F, 0x62743031, 0x5F736861, 0x70650000 - -dlabel D_802348D0_6BBAD0 -.word 0x6B6B6A5F, 0x74657800 - -dlabel D_802348D8_6BBAD8 -.word 0x6B70615F, 0x62670000 - -dlabel D_802348E0_6BBAE0 -.word 0x6B6B6A5F, 0x62743032, 0x5F686974, 0x00000000 - -dlabel D_802348F0_6BBAF0 -.word 0x6B6B6A5F, 0x62743032, 0x5F736861, 0x70650000 - -dlabel D_80234900_6BBB00 -.word 0x6B6B6A5F, 0x74657800 - -dlabel D_80234908_6BBB08 -.word 0x834E8362, 0x83702883, 0x89835883, 0x67836F83, 0x67838B82, 0x52290000 - -dlabel D_80234920_6BBB20 -.word 0x834E8362, 0x83702883, 0x89835883, 0x67836F83, 0x67838B82, 0x51290000 - -dlabel D_80234938_6BBB38 -.word 0x834E8362, 0x83702883, 0x89835883, 0x67836F83, 0x67838B82, 0x50290000 - -dlabel D_80234950_6BBB50 -.word 0x834E8362, 0x83702883, 0x49815B83, 0x76836A83, 0x93834F29, 0x00000000 - -dlabel D_80234968_6BBB68 -.word 0x834E8362, 0x83700000 - -dlabel D_80234970_6BBB70 -.word 0x6B70615F, 0x30330000 - -dlabel D_80234978_6BBB78 -.word 0x6B70615F, 0x30320000 - -dlabel D_80234980_6BBB80 -.word 0x6B70615F, 0x30310000, 0x00000000, 0x00000000 - -.section .text - -glabel func_8021D290_6A4490 -/* 6A4490 8021D290 8C8400C0 */ lw $a0, 0xc0($a0) -/* 6A4494 8021D294 8C83000C */ lw $v1, 0xc($a0) -/* 6A4498 8021D298 24020055 */ addiu $v0, $zero, 0x55 -/* 6A449C 8021D29C AC620030 */ sw $v0, 0x30($v1) -/* 6A44A0 8021D2A0 8C83000C */ lw $v1, 0xc($a0) -/* 6A44A4 8021D2A4 2402002A */ addiu $v0, $zero, 0x2a -/* 6A44A8 8021D2A8 AC620034 */ sw $v0, 0x34($v1) -/* 6A44AC 8021D2AC 8C82000C */ lw $v0, 0xc($a0) -/* 6A44B0 8021D2B0 240300FF */ addiu $v1, $zero, 0xff -/* 6A44B4 8021D2B4 AC430038 */ sw $v1, 0x38($v0) -/* 6A44B8 8021D2B8 8C82000C */ lw $v0, 0xc($a0) -/* 6A44BC 8021D2BC AC430040 */ sw $v1, 0x40($v0) -/* 6A44C0 8021D2C0 8C83000C */ lw $v1, 0xc($a0) -/* 6A44C4 8021D2C4 240200AF */ addiu $v0, $zero, 0xaf -/* 6A44C8 8021D2C8 AC620044 */ sw $v0, 0x44($v1) -/* 6A44CC 8021D2CC 8C83000C */ lw $v1, 0xc($a0) -/* 6A44D0 8021D2D0 240200EF */ addiu $v0, $zero, 0xef -/* 6A44D4 8021D2D4 AC620048 */ sw $v0, 0x48($v1) -/* 6A44D8 8021D2D8 03E00008 */ jr $ra -/* 6A44DC 8021D2DC 24020002 */ addiu $v0, $zero, 2 diff --git a/ver/us/asm/nonmatchings/battle/area_kpa3/6BBC60/func_80218F58_6BCAE8.s b/ver/us/asm/nonmatchings/battle/area_kpa3/6BBC60/func_80218F58_6BCAE8.s deleted file mode 100644 index d123eb1bc1..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_kpa3/6BBC60/func_80218F58_6BCAE8.s +++ /dev/null @@ -1,322 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -.section .rodata -dlabel D_80228448_6CBFD8 -.double 4.800000000000001 - -.section .text - -glabel func_80218F58_6BCAE8 -/* 6BCAE8 80218F58 27BDFFB8 */ addiu $sp, $sp, -0x48 -/* 6BCAEC 80218F5C AFBF002C */ sw $ra, 0x2c($sp) -/* 6BCAF0 80218F60 AFB20028 */ sw $s2, 0x28($sp) -/* 6BCAF4 80218F64 AFB10024 */ sw $s1, 0x24($sp) -/* 6BCAF8 80218F68 AFB00020 */ sw $s0, 0x20($sp) -/* 6BCAFC 80218F6C F7B80040 */ sdc1 $f24, 0x40($sp) -/* 6BCB00 80218F70 F7B60038 */ sdc1 $f22, 0x38($sp) -/* 6BCB04 80218F74 F7B40030 */ sdc1 $f20, 0x30($sp) -/* 6BCB08 80218F78 8C840148 */ lw $a0, 0x148($a0) -/* 6BCB0C 80218F7C 0C09A75B */ jal get_actor -/* 6BCB10 80218F80 00A0802D */ daddu $s0, $a1, $zero -/* 6BCB14 80218F84 0040882D */ daddu $s1, $v0, $zero -/* 6BCB18 80218F88 1200003D */ beqz $s0, .L80219080 -/* 6BCB1C 80218F8C 2632000C */ addiu $s2, $s1, 0xc -/* 6BCB20 80218F90 0C00AB39 */ jal heap_malloc -/* 6BCB24 80218F94 24040020 */ addiu $a0, $zero, 0x20 -/* 6BCB28 80218F98 0040802D */ daddu $s0, $v0, $zero -/* 6BCB2C 80218F9C 24020001 */ addiu $v0, $zero, 1 -/* 6BCB30 80218FA0 26250144 */ addiu $a1, $s1, 0x144 -/* 6BCB34 80218FA4 26260148 */ addiu $a2, $s1, 0x148 -/* 6BCB38 80218FA8 AE300090 */ sw $s0, 0x90($s1) -/* 6BCB3C 80218FAC AE020004 */ sw $v0, 4($s0) -/* 6BCB40 80218FB0 AE000008 */ sw $zero, 8($s0) -/* 6BCB44 80218FB4 AE02000C */ sw $v0, 0xc($s0) -/* 6BCB48 80218FB8 AE000010 */ sw $zero, 0x10($s0) -/* 6BCB4C 80218FBC 82230210 */ lb $v1, 0x210($s1) -/* 6BCB50 80218FC0 2402000A */ addiu $v0, $zero, 0xa -/* 6BCB54 80218FC4 10620005 */ beq $v1, $v0, .L80218FDC -/* 6BCB58 80218FC8 2627014C */ addiu $a3, $s1, 0x14c -/* 6BCB5C 80218FCC 3C013F80 */ lui $at, 0x3f80 -/* 6BCB60 80218FD0 44810000 */ mtc1 $at, $f0 -/* 6BCB64 80218FD4 080863FC */ j .L80218FF0 -/* 6BCB68 80218FD8 E7A00010 */ swc1 $f0, 0x10($sp) -.L80218FDC: -/* 6BCB6C 80218FDC 3C013ECC */ lui $at, 0x3ecc -/* 6BCB70 80218FE0 3421CCCD */ ori $at, $at, 0xcccd -/* 6BCB74 80218FE4 44810000 */ mtc1 $at, $f0 -/* 6BCB78 80218FE8 00000000 */ nop -/* 6BCB7C 80218FEC E7A00010 */ swc1 $f0, 0x10($sp) -.L80218FF0: -/* 6BCB80 80218FF0 24020005 */ addiu $v0, $zero, 5 -/* 6BCB84 80218FF4 AFA20014 */ sw $v0, 0x14($sp) -/* 6BCB88 80218FF8 AFA00018 */ sw $zero, 0x18($sp) -/* 6BCB8C 80218FFC 8CA50000 */ lw $a1, ($a1) -/* 6BCB90 80219000 8CC60000 */ lw $a2, ($a2) -/* 6BCB94 80219004 8CE70000 */ lw $a3, ($a3) -/* 6BCB98 80219008 0C01C8EC */ jal fx_static_status -/* 6BCB9C 8021900C 0000202D */ daddu $a0, $zero, $zero -/* 6BCBA0 80219010 26250144 */ addiu $a1, $s1, 0x144 -/* 6BCBA4 80219014 AE020014 */ sw $v0, 0x14($s0) -/* 6BCBA8 80219018 82220210 */ lb $v0, 0x210($s1) -/* 6BCBAC 8021901C 2403000A */ addiu $v1, $zero, 0xa -/* 6BCBB0 80219020 10430005 */ beq $v0, $v1, .L80219038 -/* 6BCBB4 80219024 2627014C */ addiu $a3, $s1, 0x14c -/* 6BCBB8 80219028 3C013F80 */ lui $at, 0x3f80 -/* 6BCBBC 8021902C 44810000 */ mtc1 $at, $f0 -/* 6BCBC0 80219030 08086413 */ j .L8021904C -/* 6BCBC4 80219034 E7A00010 */ swc1 $f0, 0x10($sp) -.L80219038: -/* 6BCBC8 80219038 3C013ECC */ lui $at, 0x3ecc -/* 6BCBCC 8021903C 3421CCCD */ ori $at, $at, 0xcccd -/* 6BCBD0 80219040 44810000 */ mtc1 $at, $f0 -/* 6BCBD4 80219044 00000000 */ nop -/* 6BCBD8 80219048 E7A00010 */ swc1 $f0, 0x10($sp) -.L8021904C: -/* 6BCBDC 8021904C 24020005 */ addiu $v0, $zero, 5 -/* 6BCBE0 80219050 AFA20014 */ sw $v0, 0x14($sp) -/* 6BCBE4 80219054 AFA00018 */ sw $zero, 0x18($sp) -/* 6BCBE8 80219058 8CA50000 */ lw $a1, ($a1) -/* 6BCBEC 8021905C 3C06C47A */ lui $a2, 0xc47a -/* 6BCBF0 80219060 8CE70000 */ lw $a3, ($a3) -/* 6BCBF4 80219064 0C01C8EC */ jal fx_static_status -/* 6BCBF8 80219068 24040001 */ addiu $a0, $zero, 1 -/* 6BCBFC 8021906C AE020018 */ sw $v0, 0x18($s0) -/* 6BCC00 80219070 24020001 */ addiu $v0, $zero, 1 -/* 6BCC04 80219074 AE020000 */ sw $v0, ($s0) -/* 6BCC08 80219078 82220210 */ lb $v0, 0x210($s1) -/* 6BCC0C 8021907C AE02001C */ sw $v0, 0x1c($s0) -.L80219080: -/* 6BCC10 80219080 8E500084 */ lw $s0, 0x84($s2) -/* 6BCC14 80219084 8E020000 */ lw $v0, ($s0) -/* 6BCC18 80219088 104000C9 */ beqz $v0, .L802193B0 -/* 6BCC1C 8021908C 24020002 */ addiu $v0, $zero, 2 -/* 6BCC20 80219090 8E020004 */ lw $v0, 4($s0) -/* 6BCC24 80219094 1040000D */ beqz $v0, .L802190CC -/* 6BCC28 80219098 24020008 */ addiu $v0, $zero, 8 -/* 6BCC2C 8021909C 82230210 */ lb $v1, 0x210($s1) -/* 6BCC30 802190A0 1062000A */ beq $v1, $v0, .L802190CC -/* 6BCC34 802190A4 00000000 */ nop -/* 6BCC38 802190A8 8E020008 */ lw $v0, 8($s0) -/* 6BCC3C 802190AC 2442000F */ addiu $v0, $v0, 0xf -/* 6BCC40 802190B0 44826000 */ mtc1 $v0, $f12 -/* 6BCC44 802190B4 00000000 */ nop -/* 6BCC48 802190B8 46806320 */ cvt.s.w $f12, $f12 -/* 6BCC4C 802190BC 0C00A6C9 */ jal clamp_angle -/* 6BCC50 802190C0 AE020008 */ sw $v0, 8($s0) -/* 6BCC54 802190C4 4600018D */ trunc.w.s $f6, $f0 -/* 6BCC58 802190C8 E6060008 */ swc1 $f6, 8($s0) -.L802190CC: -/* 6BCC5C 802190CC 3C0140C9 */ lui $at, 0x40c9 -/* 6BCC60 802190D0 34210FD0 */ ori $at, $at, 0xfd0 -/* 6BCC64 802190D4 44810000 */ mtc1 $at, $f0 -/* 6BCC68 802190D8 C60C0008 */ lwc1 $f12, 8($s0) -/* 6BCC6C 802190DC 46806320 */ cvt.s.w $f12, $f12 -/* 6BCC70 802190E0 46006302 */ mul.s $f12, $f12, $f0 -/* 6BCC74 802190E4 00000000 */ nop -/* 6BCC78 802190E8 3C0143B4 */ lui $at, 0x43b4 -/* 6BCC7C 802190EC 44810000 */ mtc1 $at, $f0 -/* 6BCC80 802190F0 0C00A85B */ jal sin_rad -/* 6BCC84 802190F4 46006303 */ div.s $f12, $f12, $f0 -/* 6BCC88 802190F8 3C014040 */ lui $at, 0x4040 -/* 6BCC8C 802190FC 44811000 */ mtc1 $at, $f2 -/* 6BCC90 80219100 00000000 */ nop -/* 6BCC94 80219104 46020002 */ mul.s $f0, $f0, $f2 -/* 6BCC98 80219108 00000000 */ nop -/* 6BCC9C 8021910C 86220152 */ lh $v0, 0x152($s1) -/* 6BCCA0 80219110 44821000 */ mtc1 $v0, $f2 -/* 6BCCA4 80219114 00000000 */ nop -/* 6BCCA8 80219118 468010A0 */ cvt.s.w $f2, $f2 -/* 6BCCAC 8021911C 4600018D */ trunc.w.s $f6, $f0 -/* 6BCCB0 80219120 44033000 */ mfc1 $v1, $f6 -/* 6BCCB4 80219124 00000000 */ nop -/* 6BCCB8 80219128 00031600 */ sll $v0, $v1, 0x18 -/* 6BCCBC 8021912C C6200148 */ lwc1 $f0, 0x148($s1) -/* 6BCCC0 80219130 00021603 */ sra $v0, $v0, 0x18 -/* 6BCCC4 80219134 A223019A */ sb $v1, 0x19a($s1) -/* 6BCCC8 80219138 46020000 */ add.s $f0, $f0, $f2 -/* 6BCCCC 8021913C 44821000 */ mtc1 $v0, $f2 -/* 6BCCD0 80219140 00000000 */ nop -/* 6BCCD4 80219144 468010A0 */ cvt.s.w $f2, $f2 -/* 6BCCD8 80219148 86220150 */ lh $v0, 0x150($s1) -/* 6BCCDC 8021914C 46020000 */ add.s $f0, $f0, $f2 -/* 6BCCE0 80219150 2403000A */ addiu $v1, $zero, 0xa -/* 6BCCE4 80219154 44821000 */ mtc1 $v0, $f2 -/* 6BCCE8 80219158 00000000 */ nop -/* 6BCCEC 8021915C 468010A0 */ cvt.s.w $f2, $f2 -/* 6BCCF0 80219160 46000121 */ cvt.d.s $f4, $f0 -/* 6BCCF4 80219164 C6200144 */ lwc1 $f0, 0x144($s1) -/* 6BCCF8 80219168 82220210 */ lb $v0, 0x210($s1) -/* 6BCCFC 8021916C 46020580 */ add.s $f22, $f0, $f2 -/* 6BCD00 80219170 3C018023 */ lui $at, %hi(D_80228448_6CBFD8) -/* 6BCD04 80219174 D4208448 */ ldc1 $f0, %lo(D_80228448_6CBFD8)($at) -/* 6BCD08 80219178 50430006 */ beql $v0, $v1, .L80219194 -/* 6BCD0C 8021917C 46202000 */ add.d $f0, $f4, $f0 -/* 6BCD10 80219180 3C014028 */ lui $at, 0x4028 -/* 6BCD14 80219184 44810800 */ mtc1 $at, $f1 -/* 6BCD18 80219188 44800000 */ mtc1 $zero, $f0 -/* 6BCD1C 8021918C 00000000 */ nop -/* 6BCD20 80219190 46202000 */ add.d $f0, $f4, $f0 -.L80219194: -/* 6BCD24 80219194 46200520 */ cvt.s.d $f20, $f0 -/* 6BCD28 80219198 86220154 */ lh $v0, 0x154($s1) -/* 6BCD2C 8021919C C620014C */ lwc1 $f0, 0x14c($s1) -/* 6BCD30 802191A0 44821000 */ mtc1 $v0, $f2 -/* 6BCD34 802191A4 00000000 */ nop -/* 6BCD38 802191A8 468010A0 */ cvt.s.w $f2, $f2 -/* 6BCD3C 802191AC 8E02000C */ lw $v0, 0xc($s0) -/* 6BCD40 802191B0 10400059 */ beqz $v0, .L80219318 -/* 6BCD44 802191B4 46020600 */ add.s $f24, $f0, $f2 -/* 6BCD48 802191B8 8E030010 */ lw $v1, 0x10($s0) -/* 6BCD4C 802191BC 10600005 */ beqz $v1, .L802191D4 -/* 6BCD50 802191C0 24020001 */ addiu $v0, $zero, 1 -/* 6BCD54 802191C4 1062002A */ beq $v1, $v0, .L80219270 -/* 6BCD58 802191C8 00000000 */ nop -/* 6BCD5C 802191CC 080864D4 */ j .L80219350 -/* 6BCD60 802191D0 00000000 */ nop -.L802191D4: -/* 6BCD64 802191D4 8E020014 */ lw $v0, 0x14($s0) -/* 6BCD68 802191D8 14400016 */ bnez $v0, .L80219234 -/* 6BCD6C 802191DC 2402000A */ addiu $v0, $zero, 0xa -/* 6BCD70 802191E0 82230210 */ lb $v1, 0x210($s1) -/* 6BCD74 802191E4 10620005 */ beq $v1, $v0, .L802191FC -/* 6BCD78 802191E8 00000000 */ nop -/* 6BCD7C 802191EC 3C013F80 */ lui $at, 0x3f80 -/* 6BCD80 802191F0 44810000 */ mtc1 $at, $f0 -/* 6BCD84 802191F4 08086484 */ j .L80219210 -/* 6BCD88 802191F8 E7A00010 */ swc1 $f0, 0x10($sp) -.L802191FC: -/* 6BCD8C 802191FC 3C013ECC */ lui $at, 0x3ecc -/* 6BCD90 80219200 3421CCCD */ ori $at, $at, 0xcccd -/* 6BCD94 80219204 44810000 */ mtc1 $at, $f0 -/* 6BCD98 80219208 00000000 */ nop -/* 6BCD9C 8021920C E7A00010 */ swc1 $f0, 0x10($sp) -.L80219210: -/* 6BCDA0 80219210 0000202D */ daddu $a0, $zero, $zero -/* 6BCDA4 80219214 4405B000 */ mfc1 $a1, $f22 -/* 6BCDA8 80219218 4406A000 */ mfc1 $a2, $f20 -/* 6BCDAC 8021921C 4407C000 */ mfc1 $a3, $f24 -/* 6BCDB0 80219220 24020005 */ addiu $v0, $zero, 5 -/* 6BCDB4 80219224 AFA20014 */ sw $v0, 0x14($sp) -/* 6BCDB8 80219228 0C01C8EC */ jal fx_static_status -/* 6BCDBC 8021922C AFA00018 */ sw $zero, 0x18($sp) -/* 6BCDC0 80219230 AE020014 */ sw $v0, 0x14($s0) -.L80219234: -/* 6BCDC4 80219234 8E030018 */ lw $v1, 0x18($s0) -/* 6BCDC8 80219238 10600005 */ beqz $v1, .L80219250 -/* 6BCDCC 8021923C 00000000 */ nop -/* 6BCDD0 80219240 8C620000 */ lw $v0, ($v1) -/* 6BCDD4 80219244 34420010 */ ori $v0, $v0, 0x10 -/* 6BCDD8 80219248 AC620000 */ sw $v0, ($v1) -/* 6BCDDC 8021924C AE000018 */ sw $zero, 0x18($s0) -.L80219250: -/* 6BCDE0 80219250 8E020014 */ lw $v0, 0x14($s0) -/* 6BCDE4 80219254 8C42000C */ lw $v0, 0xc($v0) -/* 6BCDE8 80219258 E4560004 */ swc1 $f22, 4($v0) -/* 6BCDEC 8021925C 8E020014 */ lw $v0, 0x14($s0) -/* 6BCDF0 80219260 8C42000C */ lw $v0, 0xc($v0) -/* 6BCDF4 80219264 E4540008 */ swc1 $f20, 8($v0) -/* 6BCDF8 80219268 080864C3 */ j .L8021930C -/* 6BCDFC 8021926C 8E020014 */ lw $v0, 0x14($s0) -.L80219270: -/* 6BCE00 80219270 8E030014 */ lw $v1, 0x14($s0) -/* 6BCE04 80219274 10600005 */ beqz $v1, .L8021928C -/* 6BCE08 80219278 00000000 */ nop -/* 6BCE0C 8021927C 8C620000 */ lw $v0, ($v1) -/* 6BCE10 80219280 34420010 */ ori $v0, $v0, 0x10 -/* 6BCE14 80219284 AC620000 */ sw $v0, ($v1) -/* 6BCE18 80219288 AE000014 */ sw $zero, 0x14($s0) -.L8021928C: -/* 6BCE1C 8021928C 8E020018 */ lw $v0, 0x18($s0) -/* 6BCE20 80219290 14400018 */ bnez $v0, .L802192F4 -/* 6BCE24 80219294 00000000 */ nop -/* 6BCE28 80219298 82230210 */ lb $v1, 0x210($s1) -/* 6BCE2C 8021929C 2402000A */ addiu $v0, $zero, 0xa -/* 6BCE30 802192A0 10620005 */ beq $v1, $v0, .L802192B8 -/* 6BCE34 802192A4 00000000 */ nop -/* 6BCE38 802192A8 3C013F80 */ lui $at, 0x3f80 -/* 6BCE3C 802192AC 44810000 */ mtc1 $at, $f0 -/* 6BCE40 802192B0 080864B3 */ j .L802192CC -/* 6BCE44 802192B4 E7A00010 */ swc1 $f0, 0x10($sp) -.L802192B8: -/* 6BCE48 802192B8 3C013ECC */ lui $at, 0x3ecc -/* 6BCE4C 802192BC 3421CCCD */ ori $at, $at, 0xcccd -/* 6BCE50 802192C0 44810000 */ mtc1 $at, $f0 -/* 6BCE54 802192C4 00000000 */ nop -/* 6BCE58 802192C8 E7A00010 */ swc1 $f0, 0x10($sp) -.L802192CC: -/* 6BCE5C 802192CC 24040001 */ addiu $a0, $zero, 1 -/* 6BCE60 802192D0 4405B000 */ mfc1 $a1, $f22 -/* 6BCE64 802192D4 4406A000 */ mfc1 $a2, $f20 -/* 6BCE68 802192D8 4407C000 */ mfc1 $a3, $f24 -/* 6BCE6C 802192DC 24020005 */ addiu $v0, $zero, 5 -/* 6BCE70 802192E0 AFA20014 */ sw $v0, 0x14($sp) -/* 6BCE74 802192E4 0C01C8EC */ jal fx_static_status -/* 6BCE78 802192E8 AFA00018 */ sw $zero, 0x18($sp) -/* 6BCE7C 802192EC AE020018 */ sw $v0, 0x18($s0) -/* 6BCE80 802192F0 8E020018 */ lw $v0, 0x18($s0) -.L802192F4: -/* 6BCE84 802192F4 8C42000C */ lw $v0, 0xc($v0) -/* 6BCE88 802192F8 E4560004 */ swc1 $f22, 4($v0) -/* 6BCE8C 802192FC 8E020018 */ lw $v0, 0x18($s0) -/* 6BCE90 80219300 8C42000C */ lw $v0, 0xc($v0) -/* 6BCE94 80219304 E4540008 */ swc1 $f20, 8($v0) -/* 6BCE98 80219308 8E020018 */ lw $v0, 0x18($s0) -.L8021930C: -/* 6BCE9C 8021930C 8C42000C */ lw $v0, 0xc($v0) -/* 6BCEA0 80219310 080864D4 */ j .L80219350 -/* 6BCEA4 80219314 E458000C */ swc1 $f24, 0xc($v0) -.L80219318: -/* 6BCEA8 80219318 8E030014 */ lw $v1, 0x14($s0) -/* 6BCEAC 8021931C 10600005 */ beqz $v1, .L80219334 -/* 6BCEB0 80219320 00000000 */ nop -/* 6BCEB4 80219324 8C620000 */ lw $v0, ($v1) -/* 6BCEB8 80219328 34420010 */ ori $v0, $v0, 0x10 -/* 6BCEBC 8021932C AC620000 */ sw $v0, ($v1) -/* 6BCEC0 80219330 AE000014 */ sw $zero, 0x14($s0) -.L80219334: -/* 6BCEC4 80219334 8E030018 */ lw $v1, 0x18($s0) -/* 6BCEC8 80219338 10600005 */ beqz $v1, .L80219350 -/* 6BCECC 8021933C 00000000 */ nop -/* 6BCED0 80219340 8C620000 */ lw $v0, ($v1) -/* 6BCED4 80219344 34420010 */ ori $v0, $v0, 0x10 -/* 6BCED8 80219348 AC620000 */ sw $v0, ($v1) -/* 6BCEDC 8021934C AE000018 */ sw $zero, 0x18($s0) -.L80219350: -/* 6BCEE0 80219350 82230210 */ lb $v1, 0x210($s1) -/* 6BCEE4 80219354 8E02001C */ lw $v0, 0x1c($s0) -/* 6BCEE8 80219358 10430014 */ beq $v0, $v1, .L802193AC -/* 6BCEEC 8021935C 0000102D */ daddu $v0, $zero, $zero -/* 6BCEF0 80219360 8E02000C */ lw $v0, 0xc($s0) -/* 6BCEF4 80219364 10400011 */ beqz $v0, .L802193AC -/* 6BCEF8 80219368 0000102D */ daddu $v0, $zero, $zero -/* 6BCEFC 8021936C 8E030014 */ lw $v1, 0x14($s0) -/* 6BCF00 80219370 10600005 */ beqz $v1, .L80219388 -/* 6BCF04 80219374 00000000 */ nop -/* 6BCF08 80219378 8C620000 */ lw $v0, ($v1) -/* 6BCF0C 8021937C 34420010 */ ori $v0, $v0, 0x10 -/* 6BCF10 80219380 AC620000 */ sw $v0, ($v1) -/* 6BCF14 80219384 AE000014 */ sw $zero, 0x14($s0) -.L80219388: -/* 6BCF18 80219388 8E030018 */ lw $v1, 0x18($s0) -/* 6BCF1C 8021938C 10600005 */ beqz $v1, .L802193A4 -/* 6BCF20 80219390 00000000 */ nop -/* 6BCF24 80219394 8C620000 */ lw $v0, ($v1) -/* 6BCF28 80219398 34420010 */ ori $v0, $v0, 0x10 -/* 6BCF2C 8021939C AC620000 */ sw $v0, ($v1) -/* 6BCF30 802193A0 AE000018 */ sw $zero, 0x18($s0) -.L802193A4: -/* 6BCF34 802193A4 82230210 */ lb $v1, 0x210($s1) -/* 6BCF38 802193A8 0000102D */ daddu $v0, $zero, $zero -.L802193AC: -/* 6BCF3C 802193AC AE03001C */ sw $v1, 0x1c($s0) -.L802193B0: -/* 6BCF40 802193B0 8FBF002C */ lw $ra, 0x2c($sp) -/* 6BCF44 802193B4 8FB20028 */ lw $s2, 0x28($sp) -/* 6BCF48 802193B8 8FB10024 */ lw $s1, 0x24($sp) -/* 6BCF4C 802193BC 8FB00020 */ lw $s0, 0x20($sp) -/* 6BCF50 802193C0 D7B80040 */ ldc1 $f24, 0x40($sp) -/* 6BCF54 802193C4 D7B60038 */ ldc1 $f22, 0x38($sp) -/* 6BCF58 802193C8 D7B40030 */ ldc1 $f20, 0x30($sp) -/* 6BCF5C 802193CC 03E00008 */ jr $ra -/* 6BCF60 802193D0 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/ver/us/asm/nonmatchings/battle/area_kpa3/6BBC60/func_802195F4_6BD184.s b/ver/us/asm/nonmatchings/battle/area_kpa3/6BBC60/func_802195F4_6BD184.s deleted file mode 100644 index 96c853da67..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_kpa3/6BBC60/func_802195F4_6BD184.s +++ /dev/null @@ -1,91 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -.section .rodata -dlabel jtbl_80228450_6CBFE0 -.word L80219648_6BD1D8, L80219654_6BD1E4, L80219660_6BD1F0, L8021966C_6BD1FC, L802196A4_6BD234, L80219684_6BD214, L80219690_6BD220, L8021969C_6BD22C, L80219678_6BD208, 0, 0, 0 - -dlabel D_80228480_6CC010 -.word 0x6B70615F, 0x62743031, 0x5F686974, 0x00000000 - -dlabel D_80228490_6CC020 -.word 0x6B70615F, 0x62743031, 0x5F736861, 0x70650000 - -dlabel D_802284A0_6CC030 -.word 0x6B70615F, 0x74657800 - -dlabel D_802284A8_6CC038 -.word 0x836F8350, 0x836F8350, 0x78825300 - -dlabel D_802284B4_6CC044 -.word 0x836F8350, 0x836F8350, 0x78825100 - -dlabel D_802284C0_6CC050 -.word 0x83758389, 0x8362834E, 0x83778343, 0x837A815B, 0x78825200 - -dlabel D_802284D4_6CC064 -.word 0x6B70615F, 0x30310000, 0x00000000 - -.section .text - -glabel func_802195F4_6BD184 -/* 6BD184 802195F4 27BDFFE8 */ addiu $sp, $sp, -0x18 -/* 6BD188 802195F8 AFB00010 */ sw $s0, 0x10($sp) -/* 6BD18C 802195FC 0080802D */ daddu $s0, $a0, $zero -/* 6BD190 80219600 AFBF0014 */ sw $ra, 0x14($sp) -/* 6BD194 80219604 8E02000C */ lw $v0, 0xc($s0) -/* 6BD198 80219608 0C0B1EAF */ jal evt_get_variable -/* 6BD19C 8021960C 8C450000 */ lw $a1, ($v0) -/* 6BD1A0 80219610 8E040148 */ lw $a0, 0x148($s0) -/* 6BD1A4 80219614 0C09A75B */ jal get_actor -/* 6BD1A8 80219618 0040802D */ daddu $s0, $v0, $zero -/* 6BD1AC 8021961C 0040182D */ daddu $v1, $v0, $zero -/* 6BD1B0 80219620 2610FFFF */ addiu $s0, $s0, -1 -/* 6BD1B4 80219624 2E020009 */ sltiu $v0, $s0, 9 -/* 6BD1B8 80219628 1040001E */ beqz $v0, L802196A4_6BD234 -/* 6BD1BC 8021962C 0000202D */ daddu $a0, $zero, $zero -/* 6BD1C0 80219630 00101080 */ sll $v0, $s0, 2 -/* 6BD1C4 80219634 3C018023 */ lui $at, %hi(jtbl_80228450_6CBFE0) -/* 6BD1C8 80219638 00220821 */ addu $at, $at, $v0 -/* 6BD1CC 8021963C 8C228450 */ lw $v0, %lo(jtbl_80228450_6CBFE0)($at) -/* 6BD1D0 80219640 00400008 */ jr $v0 -/* 6BD1D4 80219644 00000000 */ nop -dlabel L80219648_6BD1D8 -/* 6BD1D8 80219648 3C048022 */ lui $a0, %hi(D_8021E990_6C2520) -/* 6BD1DC 8021964C 080865A9 */ j L802196A4_6BD234 -/* 6BD1E0 80219650 2484E990 */ addiu $a0, $a0, %lo(D_8021E990_6C2520) -dlabel L80219654_6BD1E4 -/* 6BD1E4 80219654 3C048022 */ lui $a0, %hi(D_80220644_6C41D4) -/* 6BD1E8 80219658 080865A9 */ j L802196A4_6BD234 -/* 6BD1EC 8021965C 24840644 */ addiu $a0, $a0, %lo(D_80220644_6C41D4) -dlabel L80219660_6BD1F0 -/* 6BD1F0 80219660 3C048022 */ lui $a0, %hi(D_802218A4_6C5434) -/* 6BD1F4 80219664 080865A9 */ j L802196A4_6BD234 -/* 6BD1F8 80219668 248418A4 */ addiu $a0, $a0, %lo(D_802218A4_6C5434) -dlabel L8021966C_6BD1FC -/* 6BD1FC 8021966C 3C048022 */ lui $a0, %hi(D_80222830_6C63C0) -/* 6BD200 80219670 080865A9 */ j L802196A4_6BD234 -/* 6BD204 80219674 24842830 */ addiu $a0, $a0, %lo(D_80222830_6C63C0) -dlabel L80219678_6BD208 -/* 6BD208 80219678 3C048022 */ lui $a0, %hi(D_80223C00_6C7790) -/* 6BD20C 8021967C 080865A9 */ j L802196A4_6BD234 -/* 6BD210 80219680 24843C00 */ addiu $a0, $a0, %lo(D_80223C00_6C7790) -dlabel L80219684_6BD214 -/* 6BD214 80219684 3C048022 */ lui $a0, %hi(D_80224AFC_6C868C) -/* 6BD218 80219688 080865A9 */ j L802196A4_6BD234 -/* 6BD21C 8021968C 24844AFC */ addiu $a0, $a0, %lo(D_80224AFC_6C868C) -dlabel L80219690_6BD220 -/* 6BD220 80219690 3C048022 */ lui $a0, %hi(D_80226494_6CA024) -/* 6BD224 80219694 080865A9 */ j L802196A4_6BD234 -/* 6BD228 80219698 24846494 */ addiu $a0, $a0, %lo(D_80226494_6CA024) -dlabel L8021969C_6BD22C -/* 6BD22C 8021969C 3C048022 */ lui $a0, %hi(D_80227734_6CB2C4) -/* 6BD230 802196A0 24847734 */ addiu $a0, $a0, %lo(D_80227734_6CB2C4) -dlabel L802196A4_6BD234 -/* 6BD234 802196A4 806301F1 */ lb $v1, 0x1f1($v1) -/* 6BD238 802196A8 AC830008 */ sw $v1, 8($a0) -/* 6BD23C 802196AC 8FBF0014 */ lw $ra, 0x14($sp) -/* 6BD240 802196B0 8FB00010 */ lw $s0, 0x10($sp) -/* 6BD244 802196B4 24020002 */ addiu $v0, $zero, 2 -/* 6BD248 802196B8 03E00008 */ jr $ra -/* 6BD24C 802196BC 27BD0018 */ addiu $sp, $sp, 0x18 diff --git a/ver/us/asm/nonmatchings/battle/area_kpa4/6CC070/func_80218000_6CC070.s b/ver/us/asm/nonmatchings/battle/area_kpa4/6CC070/func_80218000_6CC070.s deleted file mode 100644 index 53fd984d3d..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_kpa4/6CC070/func_80218000_6CC070.s +++ /dev/null @@ -1,12 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80218000_6CC070 -/* 6CC070 80218000 3C028022 */ lui $v0, %hi(D_80218DF4_6CCE64) -/* 6CC074 80218004 24428DF4 */ addiu $v0, $v0, %lo(D_80218DF4_6CCE64) -/* 6CC078 80218008 24030001 */ addiu $v1, $zero, 1 -/* 6CC07C 8021800C AC43000C */ sw $v1, 0xc($v0) -/* 6CC080 80218010 8C830148 */ lw $v1, 0x148($a0) -/* 6CC084 80218014 AC430010 */ sw $v1, 0x10($v0) -/* 6CC088 80218018 03E00008 */ jr $ra -/* 6CC08C 8021801C 24020002 */ addiu $v0, $zero, 2 diff --git a/ver/us/asm/nonmatchings/battle/area_mac/actor/lee/func_80218100_464590.s b/ver/us/asm/nonmatchings/battle/area_mac/actor/lee/func_80218100_464590.s deleted file mode 100644 index 5b5fd1284b..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_mac/actor/lee/func_80218100_464590.s +++ /dev/null @@ -1,144 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -glabel func_80218100_464590 -/* 464590 80218100 27BDFFA0 */ addiu $sp, $sp, -0x60 -/* 464594 80218104 AFB50054 */ sw $s5, 0x54($sp) -/* 464598 80218108 0080A82D */ daddu $s5, $a0, $zero -/* 46459C 8021810C AFB40050 */ sw $s4, 0x50($sp) -/* 4645A0 80218110 3C148011 */ lui $s4, %hi(gPlayerData) -/* 4645A4 80218114 2694F290 */ addiu $s4, $s4, %lo(gPlayerData) -/* 4645A8 80218118 3C058023 */ lui $a1, %hi(D_80232C50) -/* 4645AC 8021811C 24A52C50 */ addiu $a1, $a1, %lo(D_80232C50) -/* 4645B0 80218120 AFBF0058 */ sw $ra, 0x58($sp) -/* 4645B4 80218124 AFB3004C */ sw $s3, 0x4c($sp) -/* 4645B8 80218128 AFB20048 */ sw $s2, 0x48($sp) -/* 4645BC 8021812C AFB10044 */ sw $s1, 0x44($sp) -/* 4645C0 80218130 AFB00040 */ sw $s0, 0x40($sp) -/* 4645C4 80218134 8CA20000 */ lw $v0, ($a1) -/* 4645C8 80218138 8EB30098 */ lw $s3, 0x98($s5) -/* 4645CC 8021813C 04410005 */ bgez $v0, .L80218154 -/* 4645D0 80218140 24030001 */ addiu $v1, $zero, 1 -/* 4645D4 80218144 24020002 */ addiu $v0, $zero, 2 -/* 4645D8 80218148 00532004 */ sllv $a0, $s3, $v0 -/* 4645DC 8021814C 080860B4 */ j .L802182D0 -/* 4645E0 80218150 ACB30000 */ sw $s3, ($a1) -.L80218154: -/* 4645E4 80218154 1053000C */ beq $v0, $s3, .L80218188 -/* 4645E8 80218158 00131880 */ sll $v1, $s3, 2 -/* 4645EC 8021815C 3C028023 */ lui $v0, %hi(D_80232C20) -/* 4645F0 80218160 24422C20 */ addiu $v0, $v0, %lo(D_80232C20) -/* 4645F4 80218164 00622021 */ addu $a0, $v1, $v0 -/* 4645F8 80218168 8C820000 */ lw $v0, ($a0) -/* 4645FC 8021816C 14400007 */ bnez $v0, .L8021818C -/* 464600 80218170 2411000B */ addiu $s1, $zero, 0xb -/* 464604 80218174 24020002 */ addiu $v0, $zero, 2 -/* 464608 80218178 24030001 */ addiu $v1, $zero, 1 -/* 46460C 8021817C ACB30000 */ sw $s3, ($a1) -/* 464610 80218180 080860B7 */ j .L802182DC -/* 464614 80218184 AC830000 */ sw $v1, ($a0) -.L80218188: -/* 464618 80218188 2411000B */ addiu $s1, $zero, 0xb -.L8021818C: -/* 46461C 8021818C 27A2003C */ addiu $v0, $sp, 0x3c -.L80218190: -/* 464620 80218190 AC510000 */ sw $s1, ($v0) -/* 464624 80218194 2631FFFF */ addiu $s1, $s1, -1 -/* 464628 80218198 0621FFFD */ bgez $s1, .L80218190 -/* 46462C 8021819C 2442FFFC */ addiu $v0, $v0, -4 -/* 464630 802181A0 0000882D */ daddu $s1, $zero, $zero -/* 464634 802181A4 27B20010 */ addiu $s2, $sp, 0x10 -.L802181A8: -/* 464638 802181A8 0C00A67F */ jal rand_int -/* 46463C 802181AC 2404000B */ addiu $a0, $zero, 0xb -/* 464640 802181B0 2404000B */ addiu $a0, $zero, 0xb -/* 464644 802181B4 0C00A67F */ jal rand_int -/* 464648 802181B8 0040802D */ daddu $s0, $v0, $zero -/* 46464C 802181BC 00108080 */ sll $s0, $s0, 2 -/* 464650 802181C0 02508021 */ addu $s0, $s2, $s0 -/* 464654 802181C4 00021080 */ sll $v0, $v0, 2 -/* 464658 802181C8 02421021 */ addu $v0, $s2, $v0 -/* 46465C 802181CC 8E040000 */ lw $a0, ($s0) -/* 464660 802181D0 8C430000 */ lw $v1, ($v0) -/* 464664 802181D4 26310001 */ addiu $s1, $s1, 1 -/* 464668 802181D8 AE030000 */ sw $v1, ($s0) -/* 46466C 802181DC AC440000 */ sw $a0, ($v0) -/* 464670 802181E0 2A220064 */ slti $v0, $s1, 0x64 -/* 464674 802181E4 1440FFF0 */ bnez $v0, .L802181A8 -/* 464678 802181E8 24080005 */ addiu $t0, $zero, 5 -/* 46467C 802181EC 0000882D */ daddu $s1, $zero, $zero -/* 464680 802181F0 2407000A */ addiu $a3, $zero, 0xa -/* 464684 802181F4 2406000B */ addiu $a2, $zero, 0xb -/* 464688 802181F8 3C058023 */ lui $a1, %hi(D_80232C20) -/* 46468C 802181FC 24A52C20 */ addiu $a1, $a1, %lo(D_80232C20) -/* 464690 80218200 27A30010 */ addiu $v1, $sp, 0x10 -.L80218204: -/* 464694 80218204 8C640000 */ lw $a0, ($v1) -/* 464698 80218208 000410C0 */ sll $v0, $a0, 3 -/* 46469C 8021820C 02821021 */ addu $v0, $s4, $v0 -/* 4646A0 80218210 90420014 */ lbu $v0, 0x14($v0) -/* 4646A4 80218214 5040000F */ beql $v0, $zero, .L80218254 -/* 4646A8 80218218 26310001 */ addiu $s1, $s1, 1 -/* 4646AC 8021821C 5088000D */ beql $a0, $t0, .L80218254 -/* 4646B0 80218220 26310001 */ addiu $s1, $s1, 1 -/* 4646B4 80218224 5087000B */ beql $a0, $a3, .L80218254 -/* 4646B8 80218228 26310001 */ addiu $s1, $s1, 1 -/* 4646BC 8021822C 50860009 */ beql $a0, $a2, .L80218254 -/* 4646C0 80218230 26310001 */ addiu $s1, $s1, 1 -/* 4646C4 80218234 50930007 */ beql $a0, $s3, .L80218254 -/* 4646C8 80218238 26310001 */ addiu $s1, $s1, 1 -/* 4646CC 8021823C 00041080 */ sll $v0, $a0, 2 -/* 4646D0 80218240 00451021 */ addu $v0, $v0, $a1 -/* 4646D4 80218244 8C420000 */ lw $v0, ($v0) -/* 4646D8 80218248 10400006 */ beqz $v0, .L80218264 -/* 4646DC 8021824C 2A22000C */ slti $v0, $s1, 0xc -/* 4646E0 80218250 26310001 */ addiu $s1, $s1, 1 -.L80218254: -/* 4646E4 80218254 2A22000C */ slti $v0, $s1, 0xc -/* 4646E8 80218258 1440FFEA */ bnez $v0, .L80218204 -/* 4646EC 8021825C 24630004 */ addiu $v1, $v1, 4 -/* 4646F0 80218260 2A22000C */ slti $v0, $s1, 0xc -.L80218264: -/* 4646F4 80218264 1040000E */ beqz $v0, .L802182A0 -/* 4646F8 80218268 00041880 */ sll $v1, $a0, 2 -/* 4646FC 8021826C 24020001 */ addiu $v0, $zero, 1 -/* 464700 80218270 3C018023 */ lui $at, %hi(D_80232C20) -/* 464704 80218274 00230821 */ addu $at, $at, $v1 -/* 464708 80218278 AC222C20 */ sw $v0, %lo(D_80232C20)($at) -/* 46470C 8021827C 000410C0 */ sll $v0, $a0, 3 -/* 464710 80218280 02821021 */ addu $v0, $s4, $v0 -/* 464714 80218284 3C018023 */ lui $at, %hi(D_80232C50) -/* 464718 80218288 AC242C50 */ sw $a0, %lo(D_80232C50)($at) -/* 46471C 8021828C AEA40098 */ sw $a0, 0x98($s5) -/* 464720 80218290 80430015 */ lb $v1, 0x15($v0) -/* 464724 80218294 24020002 */ addiu $v0, $zero, 2 -/* 464728 80218298 080860B7 */ j .L802182DC -/* 46472C 8021829C AEA3009C */ sw $v1, 0x9c($s5) -.L802182A0: -/* 464730 802182A0 2411000B */ addiu $s1, $zero, 0xb -/* 464734 802182A4 3C028023 */ lui $v0, %hi(D_80232C4C) -/* 464738 802182A8 24422C4C */ addiu $v0, $v0, %lo(D_80232C4C) -.L802182AC: -/* 46473C 802182AC AC400000 */ sw $zero, ($v0) -/* 464740 802182B0 2631FFFF */ addiu $s1, $s1, -1 -/* 464744 802182B4 0621FFFD */ bgez $s1, .L802182AC -/* 464748 802182B8 2442FFFC */ addiu $v0, $v0, -4 -/* 46474C 802182BC 24020002 */ addiu $v0, $zero, 2 -/* 464750 802182C0 00532004 */ sllv $a0, $s3, $v0 -/* 464754 802182C4 24030001 */ addiu $v1, $zero, 1 -/* 464758 802182C8 3C018023 */ lui $at, %hi(D_80232C50) -/* 46475C 802182CC AC332C50 */ sw $s3, %lo(D_80232C50)($at) -.L802182D0: -/* 464760 802182D0 3C018023 */ lui $at, %hi(D_80232C20) -/* 464764 802182D4 00240821 */ addu $at, $at, $a0 -/* 464768 802182D8 AC232C20 */ sw $v1, %lo(D_80232C20)($at) -.L802182DC: -/* 46476C 802182DC 8FBF0058 */ lw $ra, 0x58($sp) -/* 464770 802182E0 8FB50054 */ lw $s5, 0x54($sp) -/* 464774 802182E4 8FB40050 */ lw $s4, 0x50($sp) -/* 464778 802182E8 8FB3004C */ lw $s3, 0x4c($sp) -/* 46477C 802182EC 8FB20048 */ lw $s2, 0x48($sp) -/* 464780 802182F0 8FB10044 */ lw $s1, 0x44($sp) -/* 464784 802182F4 8FB00040 */ lw $s0, 0x40($sp) -/* 464788 802182F8 03E00008 */ jr $ra -/* 46478C 802182FC 27BD0060 */ addiu $sp, $sp, 0x60 diff --git a/ver/us/asm/nonmatchings/battle/area_mac/actor/lee/func_80219188_465618.s b/ver/us/asm/nonmatchings/battle/area_mac/actor/lee/func_80219188_465618.s deleted file mode 100644 index 5873eaf357..0000000000 --- a/ver/us/asm/nonmatchings/battle/area_mac/actor/lee/func_80219188_465618.s +++ /dev/null @@ -1,323 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -.section .rodata - -dlabel D_80232B38_47EFC8 -.double 4.800000000000001 - -.section .text - -glabel func_80219188_465618 -/* 465618 80219188 27BDFFB8 */ addiu $sp, $sp, -0x48 -/* 46561C 8021918C AFBF002C */ sw $ra, 0x2c($sp) -/* 465620 80219190 AFB20028 */ sw $s2, 0x28($sp) -/* 465624 80219194 AFB10024 */ sw $s1, 0x24($sp) -/* 465628 80219198 AFB00020 */ sw $s0, 0x20($sp) -/* 46562C 8021919C F7B80040 */ sdc1 $f24, 0x40($sp) -/* 465630 802191A0 F7B60038 */ sdc1 $f22, 0x38($sp) -/* 465634 802191A4 F7B40030 */ sdc1 $f20, 0x30($sp) -/* 465638 802191A8 8C840148 */ lw $a0, 0x148($a0) -/* 46563C 802191AC 0C09A75B */ jal get_actor -/* 465640 802191B0 00A0802D */ daddu $s0, $a1, $zero -/* 465644 802191B4 0040882D */ daddu $s1, $v0, $zero -/* 465648 802191B8 1200003D */ beqz $s0, .L802192B0 -/* 46564C 802191BC 2632000C */ addiu $s2, $s1, 0xc -/* 465650 802191C0 0C00AB39 */ jal heap_malloc -/* 465654 802191C4 24040020 */ addiu $a0, $zero, 0x20 -/* 465658 802191C8 0040802D */ daddu $s0, $v0, $zero -/* 46565C 802191CC 24020001 */ addiu $v0, $zero, 1 -/* 465660 802191D0 26250144 */ addiu $a1, $s1, 0x144 -/* 465664 802191D4 26260148 */ addiu $a2, $s1, 0x148 -/* 465668 802191D8 AE300094 */ sw $s0, 0x94($s1) -/* 46566C 802191DC AE020004 */ sw $v0, 4($s0) -/* 465670 802191E0 AE000008 */ sw $zero, 8($s0) -/* 465674 802191E4 AE02000C */ sw $v0, 0xc($s0) -/* 465678 802191E8 AE000010 */ sw $zero, 0x10($s0) -/* 46567C 802191EC 82230210 */ lb $v1, 0x210($s1) -/* 465680 802191F0 2402000A */ addiu $v0, $zero, 0xa -/* 465684 802191F4 10620005 */ beq $v1, $v0, .L8021920C -/* 465688 802191F8 2627014C */ addiu $a3, $s1, 0x14c -/* 46568C 802191FC 3C013F80 */ lui $at, 0x3f80 -/* 465690 80219200 44810000 */ mtc1 $at, $f0 -/* 465694 80219204 08086488 */ j .L80219220 -/* 465698 80219208 E7A00010 */ swc1 $f0, 0x10($sp) -.L8021920C: -/* 46569C 8021920C 3C013ECC */ lui $at, 0x3ecc -/* 4656A0 80219210 3421CCCD */ ori $at, $at, 0xcccd -/* 4656A4 80219214 44810000 */ mtc1 $at, $f0 -/* 4656A8 80219218 00000000 */ nop -/* 4656AC 8021921C E7A00010 */ swc1 $f0, 0x10($sp) -.L80219220: -/* 4656B0 80219220 24020005 */ addiu $v0, $zero, 5 -/* 4656B4 80219224 AFA20014 */ sw $v0, 0x14($sp) -/* 4656B8 80219228 AFA00018 */ sw $zero, 0x18($sp) -/* 4656BC 8021922C 8CA50000 */ lw $a1, ($a1) -/* 4656C0 80219230 8CC60000 */ lw $a2, ($a2) -/* 4656C4 80219234 8CE70000 */ lw $a3, ($a3) -/* 4656C8 80219238 0C01C8EC */ jal fx_static_status -/* 4656CC 8021923C 0000202D */ daddu $a0, $zero, $zero -/* 4656D0 80219240 26250144 */ addiu $a1, $s1, 0x144 -/* 4656D4 80219244 AE020014 */ sw $v0, 0x14($s0) -/* 4656D8 80219248 82220210 */ lb $v0, 0x210($s1) -/* 4656DC 8021924C 2403000A */ addiu $v1, $zero, 0xa -/* 4656E0 80219250 10430005 */ beq $v0, $v1, .L80219268 -/* 4656E4 80219254 2627014C */ addiu $a3, $s1, 0x14c -/* 4656E8 80219258 3C013F80 */ lui $at, 0x3f80 -/* 4656EC 8021925C 44810000 */ mtc1 $at, $f0 -/* 4656F0 80219260 0808649F */ j .L8021927C -/* 4656F4 80219264 E7A00010 */ swc1 $f0, 0x10($sp) -.L80219268: -/* 4656F8 80219268 3C013ECC */ lui $at, 0x3ecc -/* 4656FC 8021926C 3421CCCD */ ori $at, $at, 0xcccd -/* 465700 80219270 44810000 */ mtc1 $at, $f0 -/* 465704 80219274 00000000 */ nop -/* 465708 80219278 E7A00010 */ swc1 $f0, 0x10($sp) -.L8021927C: -/* 46570C 8021927C 24020005 */ addiu $v0, $zero, 5 -/* 465710 80219280 AFA20014 */ sw $v0, 0x14($sp) -/* 465714 80219284 AFA00018 */ sw $zero, 0x18($sp) -/* 465718 80219288 8CA50000 */ lw $a1, ($a1) -/* 46571C 8021928C 3C06C47A */ lui $a2, 0xc47a -/* 465720 80219290 8CE70000 */ lw $a3, ($a3) -/* 465724 80219294 0C01C8EC */ jal fx_static_status -/* 465728 80219298 24040001 */ addiu $a0, $zero, 1 -/* 46572C 8021929C AE020018 */ sw $v0, 0x18($s0) -/* 465730 802192A0 24020001 */ addiu $v0, $zero, 1 -/* 465734 802192A4 AE020000 */ sw $v0, ($s0) -/* 465738 802192A8 82220210 */ lb $v0, 0x210($s1) -/* 46573C 802192AC AE02001C */ sw $v0, 0x1c($s0) -.L802192B0: -/* 465740 802192B0 8E500088 */ lw $s0, 0x88($s2) -/* 465744 802192B4 8E020000 */ lw $v0, ($s0) -/* 465748 802192B8 104000C9 */ beqz $v0, .L802195E0 -/* 46574C 802192BC 24020002 */ addiu $v0, $zero, 2 -/* 465750 802192C0 8E020004 */ lw $v0, 4($s0) -/* 465754 802192C4 1040000D */ beqz $v0, .L802192FC -/* 465758 802192C8 24020008 */ addiu $v0, $zero, 8 -/* 46575C 802192CC 82230210 */ lb $v1, 0x210($s1) -/* 465760 802192D0 1062000A */ beq $v1, $v0, .L802192FC -/* 465764 802192D4 00000000 */ nop -/* 465768 802192D8 8E020008 */ lw $v0, 8($s0) -/* 46576C 802192DC 2442000F */ addiu $v0, $v0, 0xf -/* 465770 802192E0 44826000 */ mtc1 $v0, $f12 -/* 465774 802192E4 00000000 */ nop -/* 465778 802192E8 46806320 */ cvt.s.w $f12, $f12 -/* 46577C 802192EC 0C00A6C9 */ jal clamp_angle -/* 465780 802192F0 AE020008 */ sw $v0, 8($s0) -/* 465784 802192F4 4600018D */ trunc.w.s $f6, $f0 -/* 465788 802192F8 E6060008 */ swc1 $f6, 8($s0) -.L802192FC: -/* 46578C 802192FC 3C0140C9 */ lui $at, 0x40c9 -/* 465790 80219300 34210FD0 */ ori $at, $at, 0xfd0 -/* 465794 80219304 44810000 */ mtc1 $at, $f0 -/* 465798 80219308 C60C0008 */ lwc1 $f12, 8($s0) -/* 46579C 8021930C 46806320 */ cvt.s.w $f12, $f12 -/* 4657A0 80219310 46006302 */ mul.s $f12, $f12, $f0 -/* 4657A4 80219314 00000000 */ nop -/* 4657A8 80219318 3C0143B4 */ lui $at, 0x43b4 -/* 4657AC 8021931C 44810000 */ mtc1 $at, $f0 -/* 4657B0 80219320 0C00A85B */ jal sin_rad -/* 4657B4 80219324 46006303 */ div.s $f12, $f12, $f0 -/* 4657B8 80219328 3C014040 */ lui $at, 0x4040 -/* 4657BC 8021932C 44811000 */ mtc1 $at, $f2 -/* 4657C0 80219330 00000000 */ nop -/* 4657C4 80219334 46020002 */ mul.s $f0, $f0, $f2 -/* 4657C8 80219338 00000000 */ nop -/* 4657CC 8021933C 86220152 */ lh $v0, 0x152($s1) -/* 4657D0 80219340 44821000 */ mtc1 $v0, $f2 -/* 4657D4 80219344 00000000 */ nop -/* 4657D8 80219348 468010A0 */ cvt.s.w $f2, $f2 -/* 4657DC 8021934C 4600018D */ trunc.w.s $f6, $f0 -/* 4657E0 80219350 44033000 */ mfc1 $v1, $f6 -/* 4657E4 80219354 00000000 */ nop -/* 4657E8 80219358 00031600 */ sll $v0, $v1, 0x18 -/* 4657EC 8021935C C6200148 */ lwc1 $f0, 0x148($s1) -/* 4657F0 80219360 00021603 */ sra $v0, $v0, 0x18 -/* 4657F4 80219364 A223019A */ sb $v1, 0x19a($s1) -/* 4657F8 80219368 46020000 */ add.s $f0, $f0, $f2 -/* 4657FC 8021936C 44821000 */ mtc1 $v0, $f2 -/* 465800 80219370 00000000 */ nop -/* 465804 80219374 468010A0 */ cvt.s.w $f2, $f2 -/* 465808 80219378 86220150 */ lh $v0, 0x150($s1) -/* 46580C 8021937C 46020000 */ add.s $f0, $f0, $f2 -/* 465810 80219380 2403000A */ addiu $v1, $zero, 0xa -/* 465814 80219384 44821000 */ mtc1 $v0, $f2 -/* 465818 80219388 00000000 */ nop -/* 46581C 8021938C 468010A0 */ cvt.s.w $f2, $f2 -/* 465820 80219390 46000121 */ cvt.d.s $f4, $f0 -/* 465824 80219394 C6200144 */ lwc1 $f0, 0x144($s1) -/* 465828 80219398 82220210 */ lb $v0, 0x210($s1) -/* 46582C 8021939C 46020580 */ add.s $f22, $f0, $f2 -/* 465830 802193A0 3C018023 */ lui $at, %hi(D_80232B38_47EFC8) -/* 465834 802193A4 D4202B38 */ ldc1 $f0, %lo(D_80232B38_47EFC8)($at) -/* 465838 802193A8 50430006 */ beql $v0, $v1, .L802193C4 -/* 46583C 802193AC 46202000 */ add.d $f0, $f4, $f0 -/* 465840 802193B0 3C014028 */ lui $at, 0x4028 -/* 465844 802193B4 44810800 */ mtc1 $at, $f1 -/* 465848 802193B8 44800000 */ mtc1 $zero, $f0 -/* 46584C 802193BC 00000000 */ nop -/* 465850 802193C0 46202000 */ add.d $f0, $f4, $f0 -.L802193C4: -/* 465854 802193C4 46200520 */ cvt.s.d $f20, $f0 -/* 465858 802193C8 86220154 */ lh $v0, 0x154($s1) -/* 46585C 802193CC C620014C */ lwc1 $f0, 0x14c($s1) -/* 465860 802193D0 44821000 */ mtc1 $v0, $f2 -/* 465864 802193D4 00000000 */ nop -/* 465868 802193D8 468010A0 */ cvt.s.w $f2, $f2 -/* 46586C 802193DC 8E02000C */ lw $v0, 0xc($s0) -/* 465870 802193E0 10400059 */ beqz $v0, .L80219548 -/* 465874 802193E4 46020600 */ add.s $f24, $f0, $f2 -/* 465878 802193E8 8E030010 */ lw $v1, 0x10($s0) -/* 46587C 802193EC 10600005 */ beqz $v1, .L80219404 -/* 465880 802193F0 24020001 */ addiu $v0, $zero, 1 -/* 465884 802193F4 1062002A */ beq $v1, $v0, .L802194A0 -/* 465888 802193F8 00000000 */ nop -/* 46588C 802193FC 08086560 */ j .L80219580 -/* 465890 80219400 00000000 */ nop -.L80219404: -/* 465894 80219404 8E020014 */ lw $v0, 0x14($s0) -/* 465898 80219408 14400016 */ bnez $v0, .L80219464 -/* 46589C 8021940C 2402000A */ addiu $v0, $zero, 0xa -/* 4658A0 80219410 82230210 */ lb $v1, 0x210($s1) -/* 4658A4 80219414 10620005 */ beq $v1, $v0, .L8021942C -/* 4658A8 80219418 00000000 */ nop -/* 4658AC 8021941C 3C013F80 */ lui $at, 0x3f80 -/* 4658B0 80219420 44810000 */ mtc1 $at, $f0 -/* 4658B4 80219424 08086510 */ j .L80219440 -/* 4658B8 80219428 E7A00010 */ swc1 $f0, 0x10($sp) -.L8021942C: -/* 4658BC 8021942C 3C013ECC */ lui $at, 0x3ecc -/* 4658C0 80219430 3421CCCD */ ori $at, $at, 0xcccd -/* 4658C4 80219434 44810000 */ mtc1 $at, $f0 -/* 4658C8 80219438 00000000 */ nop -/* 4658CC 8021943C E7A00010 */ swc1 $f0, 0x10($sp) -.L80219440: -/* 4658D0 80219440 0000202D */ daddu $a0, $zero, $zero -/* 4658D4 80219444 4405B000 */ mfc1 $a1, $f22 -/* 4658D8 80219448 4406A000 */ mfc1 $a2, $f20 -/* 4658DC 8021944C 4407C000 */ mfc1 $a3, $f24 -/* 4658E0 80219450 24020005 */ addiu $v0, $zero, 5 -/* 4658E4 80219454 AFA20014 */ sw $v0, 0x14($sp) -/* 4658E8 80219458 0C01C8EC */ jal fx_static_status -/* 4658EC 8021945C AFA00018 */ sw $zero, 0x18($sp) -/* 4658F0 80219460 AE020014 */ sw $v0, 0x14($s0) -.L80219464: -/* 4658F4 80219464 8E030018 */ lw $v1, 0x18($s0) -/* 4658F8 80219468 10600005 */ beqz $v1, .L80219480 -/* 4658FC 8021946C 00000000 */ nop -/* 465900 80219470 8C620000 */ lw $v0, ($v1) -/* 465904 80219474 34420010 */ ori $v0, $v0, 0x10 -/* 465908 80219478 AC620000 */ sw $v0, ($v1) -/* 46590C 8021947C AE000018 */ sw $zero, 0x18($s0) -.L80219480: -/* 465910 80219480 8E020014 */ lw $v0, 0x14($s0) -/* 465914 80219484 8C42000C */ lw $v0, 0xc($v0) -/* 465918 80219488 E4560004 */ swc1 $f22, 4($v0) -/* 46591C 8021948C 8E020014 */ lw $v0, 0x14($s0) -/* 465920 80219490 8C42000C */ lw $v0, 0xc($v0) -/* 465924 80219494 E4540008 */ swc1 $f20, 8($v0) -/* 465928 80219498 0808654F */ j .L8021953C -/* 46592C 8021949C 8E020014 */ lw $v0, 0x14($s0) -.L802194A0: -/* 465930 802194A0 8E030014 */ lw $v1, 0x14($s0) -/* 465934 802194A4 10600005 */ beqz $v1, .L802194BC -/* 465938 802194A8 00000000 */ nop -/* 46593C 802194AC 8C620000 */ lw $v0, ($v1) -/* 465940 802194B0 34420010 */ ori $v0, $v0, 0x10 -/* 465944 802194B4 AC620000 */ sw $v0, ($v1) -/* 465948 802194B8 AE000014 */ sw $zero, 0x14($s0) -.L802194BC: -/* 46594C 802194BC 8E020018 */ lw $v0, 0x18($s0) -/* 465950 802194C0 14400018 */ bnez $v0, .L80219524 -/* 465954 802194C4 00000000 */ nop -/* 465958 802194C8 82230210 */ lb $v1, 0x210($s1) -/* 46595C 802194CC 2402000A */ addiu $v0, $zero, 0xa -/* 465960 802194D0 10620005 */ beq $v1, $v0, .L802194E8 -/* 465964 802194D4 00000000 */ nop -/* 465968 802194D8 3C013F80 */ lui $at, 0x3f80 -/* 46596C 802194DC 44810000 */ mtc1 $at, $f0 -/* 465970 802194E0 0808653F */ j .L802194FC -/* 465974 802194E4 E7A00010 */ swc1 $f0, 0x10($sp) -.L802194E8: -/* 465978 802194E8 3C013ECC */ lui $at, 0x3ecc -/* 46597C 802194EC 3421CCCD */ ori $at, $at, 0xcccd -/* 465980 802194F0 44810000 */ mtc1 $at, $f0 -/* 465984 802194F4 00000000 */ nop -/* 465988 802194F8 E7A00010 */ swc1 $f0, 0x10($sp) -.L802194FC: -/* 46598C 802194FC 24040001 */ addiu $a0, $zero, 1 -/* 465990 80219500 4405B000 */ mfc1 $a1, $f22 -/* 465994 80219504 4406A000 */ mfc1 $a2, $f20 -/* 465998 80219508 4407C000 */ mfc1 $a3, $f24 -/* 46599C 8021950C 24020005 */ addiu $v0, $zero, 5 -/* 4659A0 80219510 AFA20014 */ sw $v0, 0x14($sp) -/* 4659A4 80219514 0C01C8EC */ jal fx_static_status -/* 4659A8 80219518 AFA00018 */ sw $zero, 0x18($sp) -/* 4659AC 8021951C AE020018 */ sw $v0, 0x18($s0) -/* 4659B0 80219520 8E020018 */ lw $v0, 0x18($s0) -.L80219524: -/* 4659B4 80219524 8C42000C */ lw $v0, 0xc($v0) -/* 4659B8 80219528 E4560004 */ swc1 $f22, 4($v0) -/* 4659BC 8021952C 8E020018 */ lw $v0, 0x18($s0) -/* 4659C0 80219530 8C42000C */ lw $v0, 0xc($v0) -/* 4659C4 80219534 E4540008 */ swc1 $f20, 8($v0) -/* 4659C8 80219538 8E020018 */ lw $v0, 0x18($s0) -.L8021953C: -/* 4659CC 8021953C 8C42000C */ lw $v0, 0xc($v0) -/* 4659D0 80219540 08086560 */ j .L80219580 -/* 4659D4 80219544 E458000C */ swc1 $f24, 0xc($v0) -.L80219548: -/* 4659D8 80219548 8E030014 */ lw $v1, 0x14($s0) -/* 4659DC 8021954C 10600005 */ beqz $v1, .L80219564 -/* 4659E0 80219550 00000000 */ nop -/* 4659E4 80219554 8C620000 */ lw $v0, ($v1) -/* 4659E8 80219558 34420010 */ ori $v0, $v0, 0x10 -/* 4659EC 8021955C AC620000 */ sw $v0, ($v1) -/* 4659F0 80219560 AE000014 */ sw $zero, 0x14($s0) -.L80219564: -/* 4659F4 80219564 8E030018 */ lw $v1, 0x18($s0) -/* 4659F8 80219568 10600005 */ beqz $v1, .L80219580 -/* 4659FC 8021956C 00000000 */ nop -/* 465A00 80219570 8C620000 */ lw $v0, ($v1) -/* 465A04 80219574 34420010 */ ori $v0, $v0, 0x10 -/* 465A08 80219578 AC620000 */ sw $v0, ($v1) -/* 465A0C 8021957C AE000018 */ sw $zero, 0x18($s0) -.L80219580: -/* 465A10 80219580 82230210 */ lb $v1, 0x210($s1) -/* 465A14 80219584 8E02001C */ lw $v0, 0x1c($s0) -/* 465A18 80219588 10430014 */ beq $v0, $v1, .L802195DC -/* 465A1C 8021958C 0000102D */ daddu $v0, $zero, $zero -/* 465A20 80219590 8E02000C */ lw $v0, 0xc($s0) -/* 465A24 80219594 10400011 */ beqz $v0, .L802195DC -/* 465A28 80219598 0000102D */ daddu $v0, $zero, $zero -/* 465A2C 8021959C 8E030014 */ lw $v1, 0x14($s0) -/* 465A30 802195A0 10600005 */ beqz $v1, .L802195B8 -/* 465A34 802195A4 00000000 */ nop -/* 465A38 802195A8 8C620000 */ lw $v0, ($v1) -/* 465A3C 802195AC 34420010 */ ori $v0, $v0, 0x10 -/* 465A40 802195B0 AC620000 */ sw $v0, ($v1) -/* 465A44 802195B4 AE000014 */ sw $zero, 0x14($s0) -.L802195B8: -/* 465A48 802195B8 8E030018 */ lw $v1, 0x18($s0) -/* 465A4C 802195BC 10600005 */ beqz $v1, .L802195D4 -/* 465A50 802195C0 00000000 */ nop -/* 465A54 802195C4 8C620000 */ lw $v0, ($v1) -/* 465A58 802195C8 34420010 */ ori $v0, $v0, 0x10 -/* 465A5C 802195CC AC620000 */ sw $v0, ($v1) -/* 465A60 802195D0 AE000018 */ sw $zero, 0x18($s0) -.L802195D4: -/* 465A64 802195D4 82230210 */ lb $v1, 0x210($s1) -/* 465A68 802195D8 0000102D */ daddu $v0, $zero, $zero -.L802195DC: -/* 465A6C 802195DC AE03001C */ sw $v1, 0x1c($s0) -.L802195E0: -/* 465A70 802195E0 8FBF002C */ lw $ra, 0x2c($sp) -/* 465A74 802195E4 8FB20028 */ lw $s2, 0x28($sp) -/* 465A78 802195E8 8FB10024 */ lw $s1, 0x24($sp) -/* 465A7C 802195EC 8FB00020 */ lw $s0, 0x20($sp) -/* 465A80 802195F0 D7B80040 */ ldc1 $f24, 0x40($sp) -/* 465A84 802195F4 D7B60038 */ ldc1 $f22, 0x38($sp) -/* 465A88 802195F8 D7B40030 */ ldc1 $f20, 0x30($sp) -/* 465A8C 802195FC 03E00008 */ jr $ra -/* 465A90 80219600 27BD0048 */ addiu $sp, $sp, 0x48 diff --git a/ver/us/asm/nonmatchings/world/area_hos/hos_02/A16220/func_80240610_A16830.s b/ver/us/asm/nonmatchings/world/area_hos/hos_02/A16220/func_80240610_A16830.s deleted file mode 100644 index 4c5def435d..0000000000 --- a/ver/us/asm/nonmatchings/world/area_hos/hos_02/A16220/func_80240610_A16830.s +++ /dev/null @@ -1,217 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -.section .rodata - -dlabel D_80244DE8_A1B008 -.double 48.62745098039216 - -dlabel D_80244DF0_A1B010 -.double 89.41176470588236 - -dlabel D_80244DF8_A1B018 -.double 99.6078431372549 - -.section .text - -glabel func_80240610_A16830 -/* A16830 80240610 27BDFFC0 */ addiu $sp, $sp, -0x40 -/* A16834 80240614 24040001 */ addiu $a0, $zero, 1 -/* A16838 80240618 27A50010 */ addiu $a1, $sp, 0x10 -/* A1683C 8024061C 27A60014 */ addiu $a2, $sp, 0x14 -/* A16840 80240620 AFBF0034 */ sw $ra, 0x34($sp) -/* A16844 80240624 AFB40030 */ sw $s4, 0x30($sp) -/* A16848 80240628 AFB3002C */ sw $s3, 0x2c($sp) -/* A1684C 8024062C AFB20028 */ sw $s2, 0x28($sp) -/* A16850 80240630 AFB10024 */ sw $s1, 0x24($sp) -/* A16854 80240634 AFB00020 */ sw $s0, 0x20($sp) -/* A16858 80240638 F7B40038 */ sdc1 $f20, 0x38($sp) -/* A1685C 8024063C 0C0470AC */ jal mdl_get_copied_vertices -/* A16860 80240640 27A70018 */ addiu $a3, $sp, 0x18 -/* A16864 80240644 8FA20018 */ lw $v0, 0x18($sp) -/* A16868 80240648 18400095 */ blez $v0, .L802408A0 -/* A1686C 8024064C 0000802D */ daddu $s0, $zero, $zero -/* A16870 80240650 3C125555 */ lui $s2, 0x5555 -/* A16874 80240654 36525556 */ ori $s2, $s2, 0x5556 -/* A16878 80240658 34148000 */ ori $s4, $zero, 0x8000 -/* A1687C 8024065C 3C0141E0 */ lui $at, 0x41e0 -/* A16880 80240660 4481A800 */ mtc1 $at, $f21 -/* A16884 80240664 4480A000 */ mtc1 $zero, $f20 -/* A16888 80240668 3C138000 */ lui $s3, 0x8000 -/* A1688C 8024066C 02120018 */ mult $s0, $s2 -.L80240670: -/* A16890 80240670 00101FC3 */ sra $v1, $s0, 0x1f -/* A16894 80240674 00004810 */ mfhi $t1 -/* A16898 80240678 01231823 */ subu $v1, $t1, $v1 -/* A1689C 8024067C 00031040 */ sll $v0, $v1, 1 -/* A168A0 80240680 00431021 */ addu $v0, $v0, $v1 -/* A168A4 80240684 02021023 */ subu $v0, $s0, $v0 -/* A168A8 80240688 3C038024 */ lui $v1, %hi(D_802433B0_A195D0) -/* A168AC 8024068C 946333B0 */ lhu $v1, %lo(D_802433B0_A195D0)($v1) -/* A168B0 80240690 24420001 */ addiu $v0, $v0, 1 -/* A168B4 80240694 00620018 */ mult $v1, $v0 -/* A168B8 80240698 8FA20014 */ lw $v0, 0x14($sp) -/* A168BC 8024069C 00001812 */ mflo $v1 -/* A168C0 802406A0 00702021 */ addu $a0, $v1, $s0 -/* A168C4 802406A4 3084FFFF */ andi $a0, $a0, 0xffff -/* A168C8 802406A8 00101900 */ sll $v1, $s0, 4 -/* A168CC 802406AC 00431021 */ addu $v0, $v0, $v1 -/* A168D0 802406B0 0C01917C */ jal sins -/* A168D4 802406B4 2451000C */ addiu $s1, $v0, 0xc -/* A168D8 802406B8 00021400 */ sll $v0, $v0, 0x10 -/* A168DC 802406BC 00021403 */ sra $v0, $v0, 0x10 -/* A168E0 802406C0 00541021 */ addu $v0, $v0, $s4 -/* A168E4 802406C4 00021FC2 */ srl $v1, $v0, 0x1f -/* A168E8 802406C8 00431021 */ addu $v0, $v0, $v1 -/* A168EC 802406CC 00021043 */ sra $v0, $v0, 1 -/* A168F0 802406D0 00021C00 */ sll $v1, $v0, 0x10 -/* A168F4 802406D4 00031C03 */ sra $v1, $v1, 0x10 -/* A168F8 802406D8 00032080 */ sll $a0, $v1, 2 -/* A168FC 802406DC 00832021 */ addu $a0, $a0, $v1 -/* A16900 802406E0 00041940 */ sll $v1, $a0, 5 -/* A16904 802406E4 00641823 */ subu $v1, $v1, $a0 -/* A16908 802406E8 04610002 */ bgez $v1, .L802406F4 -/* A1690C 802406EC 0040202D */ daddu $a0, $v0, $zero -/* A16910 802406F0 24637FFF */ addiu $v1, $v1, 0x7fff -.L802406F4: -/* A16914 802406F4 000313C3 */ sra $v0, $v1, 0xf -/* A16918 802406F8 3C018024 */ lui $at, %hi(D_80244DE8_A1B008) -/* A1691C 802406FC D4224DE8 */ ldc1 $f2, %lo(D_80244DE8_A1B008)($at) -/* A16920 80240700 44820000 */ mtc1 $v0, $f0 -/* A16924 80240704 00000000 */ nop -/* A16928 80240708 46800021 */ cvt.d.w $f0, $f0 -/* A1692C 8024070C 46220000 */ add.d $f0, $f0, $f2 -/* A16930 80240710 4620A03E */ c.le.d $f20, $f0 -/* A16934 80240714 00000000 */ nop -/* A16938 80240718 45030005 */ bc1tl .L80240730 -/* A1693C 8024071C 46340001 */ sub.d $f0, $f0, $f20 -/* A16940 80240720 4620010D */ trunc.w.d $f4, $f0 -/* A16944 80240724 44022000 */ mfc1 $v0, $f4 -/* A16948 80240728 080901D1 */ j .L80240744 -/* A1694C 8024072C A2220000 */ sb $v0, ($s1) -.L80240730: -/* A16950 80240730 4620010D */ trunc.w.d $f4, $f0 -/* A16954 80240734 44022000 */ mfc1 $v0, $f4 -/* A16958 80240738 00000000 */ nop -/* A1695C 8024073C 00531025 */ or $v0, $v0, $s3 -/* A16960 80240740 A2220000 */ sb $v0, ($s1) -.L80240744: -/* A16964 80240744 00041400 */ sll $v0, $a0, 0x10 -/* A16968 80240748 00021403 */ sra $v0, $v0, 0x10 -/* A1696C 8024074C 00021880 */ sll $v1, $v0, 2 -/* A16970 80240750 00621821 */ addu $v1, $v1, $v0 -/* A16974 80240754 00031140 */ sll $v0, $v1, 5 -/* A16978 80240758 00431023 */ subu $v0, $v0, $v1 -/* A1697C 8024075C 04410002 */ bgez $v0, .L80240768 -/* A16980 80240760 26230001 */ addiu $v1, $s1, 1 -/* A16984 80240764 24427FFF */ addiu $v0, $v0, 0x7fff -.L80240768: -/* A16988 80240768 000213C3 */ sra $v0, $v0, 0xf -/* A1698C 8024076C 3C018024 */ lui $at, %hi(D_80244DF0_A1B010) -/* A16990 80240770 D4224DF0 */ ldc1 $f2, %lo(D_80244DF0_A1B010)($at) -/* A16994 80240774 44820000 */ mtc1 $v0, $f0 -/* A16998 80240778 00000000 */ nop -/* A1699C 8024077C 46800021 */ cvt.d.w $f0, $f0 -/* A169A0 80240780 46220000 */ add.d $f0, $f0, $f2 -/* A169A4 80240784 4620A03E */ c.le.d $f20, $f0 -/* A169A8 80240788 00000000 */ nop -/* A169AC 8024078C 45030005 */ bc1tl .L802407A4 -/* A169B0 80240790 46340001 */ sub.d $f0, $f0, $f20 -/* A169B4 80240794 4620010D */ trunc.w.d $f4, $f0 -/* A169B8 80240798 44022000 */ mfc1 $v0, $f4 -/* A169BC 8024079C 080901EE */ j .L802407B8 -/* A169C0 802407A0 A0620000 */ sb $v0, ($v1) -.L802407A4: -/* A169C4 802407A4 4620010D */ trunc.w.d $f4, $f0 -/* A169C8 802407A8 44022000 */ mfc1 $v0, $f4 -/* A169CC 802407AC 00000000 */ nop -/* A169D0 802407B0 00531025 */ or $v0, $v0, $s3 -/* A169D4 802407B4 A0620000 */ sb $v0, ($v1) -.L802407B8: -/* A169D8 802407B8 00101FC2 */ srl $v1, $s0, 0x1f -/* A169DC 802407BC 02031821 */ addu $v1, $s0, $v1 -/* A169E0 802407C0 00032843 */ sra $a1, $v1, 1 -/* A169E4 802407C4 00B20018 */ mult $a1, $s2 -/* A169E8 802407C8 3C048024 */ lui $a0, %hi(D_802433B0_A195D0) -/* A169EC 802407CC 948433B0 */ lhu $a0, %lo(D_802433B0_A195D0)($a0) -/* A169F0 802407D0 00031FC3 */ sra $v1, $v1, 0x1f -/* A169F4 802407D4 000433C2 */ srl $a2, $a0, 0xf -/* A169F8 802407D8 00004810 */ mfhi $t1 -/* A169FC 802407DC 01231823 */ subu $v1, $t1, $v1 -/* A16A00 802407E0 00031040 */ sll $v0, $v1, 1 -/* A16A04 802407E4 00431021 */ addu $v0, $v0, $v1 -/* A16A08 802407E8 00A22823 */ subu $a1, $a1, $v0 -/* A16A0C 802407EC 24A50001 */ addiu $a1, $a1, 1 -/* A16A10 802407F0 00052BC0 */ sll $a1, $a1, 0xf -/* A16A14 802407F4 00C50018 */ mult $a2, $a1 -/* A16A18 802407F8 00042382 */ srl $a0, $a0, 0xe -/* A16A1C 802407FC 000423C0 */ sll $a0, $a0, 0xf -/* A16A20 80240800 00001812 */ mflo $v1 -/* A16A24 80240804 00642021 */ addu $a0, $v1, $a0 -/* A16A28 80240808 00902021 */ addu $a0, $a0, $s0 -/* A16A2C 8024080C 0C01917C */ jal sins -/* A16A30 80240810 3084FFFF */ andi $a0, $a0, 0xffff -/* A16A34 80240814 00021400 */ sll $v0, $v0, 0x10 -/* A16A38 80240818 00021403 */ sra $v0, $v0, 0x10 -/* A16A3C 8024081C 92230000 */ lbu $v1, ($s1) -/* A16A40 80240820 00541021 */ addu $v0, $v0, $s4 -/* A16A44 80240824 00620018 */ mult $v1, $v0 -/* A16A48 80240828 00001812 */ mflo $v1 -/* A16A4C 8024082C 04610003 */ bgez $v1, .L8024083C -/* A16A50 80240830 26240002 */ addiu $a0, $s1, 2 -/* A16A54 80240834 3402FFFF */ ori $v0, $zero, 0xffff -/* A16A58 80240838 00621821 */ addu $v1, $v1, $v0 -.L8024083C: -/* A16A5C 8024083C 00031403 */ sra $v0, $v1, 0x10 -/* A16A60 80240840 3C018024 */ lui $at, %hi(D_80244DF8_A1B018) -/* A16A64 80240844 D4224DF8 */ ldc1 $f2, %lo(D_80244DF8_A1B018)($at) -/* A16A68 80240848 44820000 */ mtc1 $v0, $f0 -/* A16A6C 8024084C 00000000 */ nop -/* A16A70 80240850 46800021 */ cvt.d.w $f0, $f0 -/* A16A74 80240854 46220000 */ add.d $f0, $f0, $f2 -/* A16A78 80240858 4620A03E */ c.le.d $f20, $f0 -/* A16A7C 8024085C 00000000 */ nop -/* A16A80 80240860 45030005 */ bc1tl .L80240878 -/* A16A84 80240864 46340001 */ sub.d $f0, $f0, $f20 -/* A16A88 80240868 4620010D */ trunc.w.d $f4, $f0 -/* A16A8C 8024086C 44022000 */ mfc1 $v0, $f4 -/* A16A90 80240870 08090223 */ j .L8024088C -/* A16A94 80240874 A0820000 */ sb $v0, ($a0) -.L80240878: -/* A16A98 80240878 4620010D */ trunc.w.d $f4, $f0 -/* A16A9C 8024087C 44022000 */ mfc1 $v0, $f4 -/* A16AA0 80240880 00000000 */ nop -/* A16AA4 80240884 00531025 */ or $v0, $v0, $s3 -/* A16AA8 80240888 A0820000 */ sb $v0, ($a0) -.L8024088C: -/* A16AAC 8024088C 8FA20018 */ lw $v0, 0x18($sp) -/* A16AB0 80240890 26100001 */ addiu $s0, $s0, 1 -/* A16AB4 80240894 0202102A */ slt $v0, $s0, $v0 -/* A16AB8 80240898 1440FF75 */ bnez $v0, .L80240670 -/* A16ABC 8024089C 02120018 */ mult $s0, $s2 -.L802408A0: -/* A16AC0 802408A0 3C03800A */ lui $v1, %hi(gMasterGfxPos) -/* A16AC4 802408A4 2463A66C */ addiu $v1, $v1, %lo(gMasterGfxPos) -/* A16AC8 802408A8 8C620000 */ lw $v0, ($v1) -/* A16ACC 802408AC 24040001 */ addiu $a0, $zero, 1 -/* A16AD0 802408B0 0040802D */ daddu $s0, $v0, $zero -/* A16AD4 802408B4 24420008 */ addiu $v0, $v0, 8 -/* A16AD8 802408B8 AC620000 */ sw $v0, ($v1) -/* A16ADC 802408BC 3C02DE00 */ lui $v0, 0xde00 -/* A16AE0 802408C0 0C0470BB */ jal mdl_get_copied_gfx -/* A16AE4 802408C4 AE020000 */ sw $v0, ($s0) -/* A16AE8 802408C8 3C048024 */ lui $a0, %hi(D_802433B0_A195D0) -/* A16AEC 802408CC 248433B0 */ addiu $a0, $a0, %lo(D_802433B0_A195D0) -/* A16AF0 802408D0 94830000 */ lhu $v1, ($a0) -/* A16AF4 802408D4 AE020004 */ sw $v0, 4($s0) -/* A16AF8 802408D8 24630253 */ addiu $v1, $v1, 0x253 -/* A16AFC 802408DC A4830000 */ sh $v1, ($a0) -/* A16B00 802408E0 8FBF0034 */ lw $ra, 0x34($sp) -/* A16B04 802408E4 8FB40030 */ lw $s4, 0x30($sp) -/* A16B08 802408E8 8FB3002C */ lw $s3, 0x2c($sp) -/* A16B0C 802408EC 8FB20028 */ lw $s2, 0x28($sp) -/* A16B10 802408F0 8FB10024 */ lw $s1, 0x24($sp) -/* A16B14 802408F4 8FB00020 */ lw $s0, 0x20($sp) -/* A16B18 802408F8 D7B40038 */ ldc1 $f20, 0x38($sp) -/* A16B1C 802408FC 03E00008 */ jr $ra -/* A16B20 80240900 27BD0040 */ addiu $sp, $sp, 0x40 diff --git a/ver/us/asm/nonmatchings/world/area_hos/hos_02/A16220/func_80240904_A16B24.s b/ver/us/asm/nonmatchings/world/area_hos/hos_02/A16220/func_80240904_A16B24.s deleted file mode 100644 index 4b72dfee76..0000000000 --- a/ver/us/asm/nonmatchings/world/area_hos/hos_02/A16220/func_80240904_A16B24.s +++ /dev/null @@ -1,215 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -.section .rodata - -dlabel D_80244E00_A1B020 -.double 67.45098039215686 - -dlabel D_80244E08_A1B028 -.double 59.21568627450981 - -.section .text - -glabel func_80240904_A16B24 -/* A16B24 80240904 27BDFFC0 */ addiu $sp, $sp, -0x40 -/* A16B28 80240908 24040002 */ addiu $a0, $zero, 2 -/* A16B2C 8024090C 27A50010 */ addiu $a1, $sp, 0x10 -/* A16B30 80240910 27A60014 */ addiu $a2, $sp, 0x14 -/* A16B34 80240914 AFBF0034 */ sw $ra, 0x34($sp) -/* A16B38 80240918 AFB40030 */ sw $s4, 0x30($sp) -/* A16B3C 8024091C AFB3002C */ sw $s3, 0x2c($sp) -/* A16B40 80240920 AFB20028 */ sw $s2, 0x28($sp) -/* A16B44 80240924 AFB10024 */ sw $s1, 0x24($sp) -/* A16B48 80240928 AFB00020 */ sw $s0, 0x20($sp) -/* A16B4C 8024092C F7B40038 */ sdc1 $f20, 0x38($sp) -/* A16B50 80240930 0C0470AC */ jal mdl_get_copied_vertices -/* A16B54 80240934 27A70018 */ addiu $a3, $sp, 0x18 -/* A16B58 80240938 8FA20018 */ lw $v0, 0x18($sp) -/* A16B5C 8024093C 18400096 */ blez $v0, .L80240B98 -/* A16B60 80240940 0000802D */ daddu $s0, $zero, $zero -/* A16B64 80240944 3C125555 */ lui $s2, 0x5555 -/* A16B68 80240948 36525556 */ ori $s2, $s2, 0x5556 -/* A16B6C 8024094C 34148000 */ ori $s4, $zero, 0x8000 -/* A16B70 80240950 3C0141E0 */ lui $at, 0x41e0 -/* A16B74 80240954 4481A800 */ mtc1 $at, $f21 -/* A16B78 80240958 4480A000 */ mtc1 $zero, $f20 -/* A16B7C 8024095C 3C138000 */ lui $s3, 0x8000 -/* A16B80 80240960 02120018 */ mult $s0, $s2 -.L80240964: -/* A16B84 80240964 00101FC3 */ sra $v1, $s0, 0x1f -/* A16B88 80240968 00004810 */ mfhi $t1 -/* A16B8C 8024096C 01231823 */ subu $v1, $t1, $v1 -/* A16B90 80240970 00031040 */ sll $v0, $v1, 1 -/* A16B94 80240974 00431021 */ addu $v0, $v0, $v1 -/* A16B98 80240978 02021023 */ subu $v0, $s0, $v0 -/* A16B9C 8024097C 3C038024 */ lui $v1, %hi(D_802433B2_A195D2) -/* A16BA0 80240980 946333B2 */ lhu $v1, %lo(D_802433B2_A195D2)($v1) -/* A16BA4 80240984 24420001 */ addiu $v0, $v0, 1 -/* A16BA8 80240988 00620018 */ mult $v1, $v0 -/* A16BAC 8024098C 8FA20014 */ lw $v0, 0x14($sp) -/* A16BB0 80240990 00001812 */ mflo $v1 -/* A16BB4 80240994 00702021 */ addu $a0, $v1, $s0 -/* A16BB8 80240998 3084FFFF */ andi $a0, $a0, 0xffff -/* A16BBC 8024099C 00101900 */ sll $v1, $s0, 4 -/* A16BC0 802409A0 00431021 */ addu $v0, $v0, $v1 -/* A16BC4 802409A4 0C01917C */ jal sins -/* A16BC8 802409A8 2451000C */ addiu $s1, $v0, 0xc -/* A16BCC 802409AC 00021400 */ sll $v0, $v0, 0x10 -/* A16BD0 802409B0 00021403 */ sra $v0, $v0, 0x10 -/* A16BD4 802409B4 00541021 */ addu $v0, $v0, $s4 -/* A16BD8 802409B8 00021FC2 */ srl $v1, $v0, 0x1f -/* A16BDC 802409BC 00431021 */ addu $v0, $v0, $v1 -/* A16BE0 802409C0 00021043 */ sra $v0, $v0, 1 -/* A16BE4 802409C4 00021C00 */ sll $v1, $v0, 0x10 -/* A16BE8 802409C8 00031C03 */ sra $v1, $v1, 0x10 -/* A16BEC 802409CC 00032080 */ sll $a0, $v1, 2 -/* A16BF0 802409D0 00832021 */ addu $a0, $a0, $v1 -/* A16BF4 802409D4 00041940 */ sll $v1, $a0, 5 -/* A16BF8 802409D8 00641823 */ subu $v1, $v1, $a0 -/* A16BFC 802409DC 04610002 */ bgez $v1, .L802409E8 -/* A16C00 802409E0 0040202D */ daddu $a0, $v0, $zero -/* A16C04 802409E4 24637FFF */ addiu $v1, $v1, 0x7fff -.L802409E8: -/* A16C08 802409E8 000313C3 */ sra $v0, $v1, 0xf -/* A16C0C 802409EC 3C018024 */ lui $at, %hi(D_80244E00_A1B020) -/* A16C10 802409F0 D4224E00 */ ldc1 $f2, %lo(D_80244E00_A1B020)($at) -/* A16C14 802409F4 44820000 */ mtc1 $v0, $f0 -/* A16C18 802409F8 00000000 */ nop -/* A16C1C 802409FC 46800021 */ cvt.d.w $f0, $f0 -/* A16C20 80240A00 46220000 */ add.d $f0, $f0, $f2 -/* A16C24 80240A04 4620A03E */ c.le.d $f20, $f0 -/* A16C28 80240A08 00000000 */ nop -/* A16C2C 80240A0C 45030005 */ bc1tl .L80240A24 -/* A16C30 80240A10 46340001 */ sub.d $f0, $f0, $f20 -/* A16C34 80240A14 4620010D */ trunc.w.d $f4, $f0 -/* A16C38 80240A18 44022000 */ mfc1 $v0, $f4 -/* A16C3C 80240A1C 0809028E */ j .L80240A38 -/* A16C40 80240A20 A2220000 */ sb $v0, ($s1) -.L80240A24: -/* A16C44 80240A24 4620010D */ trunc.w.d $f4, $f0 -/* A16C48 80240A28 44022000 */ mfc1 $v0, $f4 -/* A16C4C 80240A2C 00000000 */ nop -/* A16C50 80240A30 00531025 */ or $v0, $v0, $s3 -/* A16C54 80240A34 A2220000 */ sb $v0, ($s1) -.L80240A38: -/* A16C58 80240A38 00041400 */ sll $v0, $a0, 0x10 -/* A16C5C 80240A3C 00021403 */ sra $v0, $v0, 0x10 -/* A16C60 80240A40 00021880 */ sll $v1, $v0, 2 -/* A16C64 80240A44 00621821 */ addu $v1, $v1, $v0 -/* A16C68 80240A48 00031140 */ sll $v0, $v1, 5 -/* A16C6C 80240A4C 00431023 */ subu $v0, $v0, $v1 -/* A16C70 80240A50 04410002 */ bgez $v0, .L80240A5C -/* A16C74 80240A54 26230001 */ addiu $v1, $s1, 1 -/* A16C78 80240A58 24427FFF */ addiu $v0, $v0, 0x7fff -.L80240A5C: -/* A16C7C 80240A5C 000213C3 */ sra $v0, $v0, 0xf -/* A16C80 80240A60 3C014059 */ lui $at, 0x4059 -/* A16C84 80240A64 44811800 */ mtc1 $at, $f3 -/* A16C88 80240A68 44801000 */ mtc1 $zero, $f2 -/* A16C8C 80240A6C 44820000 */ mtc1 $v0, $f0 -/* A16C90 80240A70 00000000 */ nop -/* A16C94 80240A74 46800021 */ cvt.d.w $f0, $f0 -/* A16C98 80240A78 46220000 */ add.d $f0, $f0, $f2 -/* A16C9C 80240A7C 4620A03E */ c.le.d $f20, $f0 -/* A16CA0 80240A80 00000000 */ nop -/* A16CA4 80240A84 45030005 */ bc1tl .L80240A9C -/* A16CA8 80240A88 46340001 */ sub.d $f0, $f0, $f20 -/* A16CAC 80240A8C 4620010D */ trunc.w.d $f4, $f0 -/* A16CB0 80240A90 44022000 */ mfc1 $v0, $f4 -/* A16CB4 80240A94 080902AC */ j .L80240AB0 -/* A16CB8 80240A98 A0620000 */ sb $v0, ($v1) -.L80240A9C: -/* A16CBC 80240A9C 4620010D */ trunc.w.d $f4, $f0 -/* A16CC0 80240AA0 44022000 */ mfc1 $v0, $f4 -/* A16CC4 80240AA4 00000000 */ nop -/* A16CC8 80240AA8 00531025 */ or $v0, $v0, $s3 -/* A16CCC 80240AAC A0620000 */ sb $v0, ($v1) -.L80240AB0: -/* A16CD0 80240AB0 00101FC2 */ srl $v1, $s0, 0x1f -/* A16CD4 80240AB4 02031821 */ addu $v1, $s0, $v1 -/* A16CD8 80240AB8 00032843 */ sra $a1, $v1, 1 -/* A16CDC 80240ABC 00B20018 */ mult $a1, $s2 -/* A16CE0 80240AC0 3C048024 */ lui $a0, %hi(D_802433B2_A195D2) -/* A16CE4 80240AC4 948433B2 */ lhu $a0, %lo(D_802433B2_A195D2)($a0) -/* A16CE8 80240AC8 00031FC3 */ sra $v1, $v1, 0x1f -/* A16CEC 80240ACC 000433C2 */ srl $a2, $a0, 0xf -/* A16CF0 80240AD0 00004810 */ mfhi $t1 -/* A16CF4 80240AD4 01231823 */ subu $v1, $t1, $v1 -/* A16CF8 80240AD8 00031040 */ sll $v0, $v1, 1 -/* A16CFC 80240ADC 00431021 */ addu $v0, $v0, $v1 -/* A16D00 80240AE0 00A22823 */ subu $a1, $a1, $v0 -/* A16D04 80240AE4 24A50001 */ addiu $a1, $a1, 1 -/* A16D08 80240AE8 00052BC0 */ sll $a1, $a1, 0xf -/* A16D0C 80240AEC 00C50018 */ mult $a2, $a1 -/* A16D10 80240AF0 00042382 */ srl $a0, $a0, 0xe -/* A16D14 80240AF4 000423C0 */ sll $a0, $a0, 0xf -/* A16D18 80240AF8 00001812 */ mflo $v1 -/* A16D1C 80240AFC 00642021 */ addu $a0, $v1, $a0 -/* A16D20 80240B00 00902021 */ addu $a0, $a0, $s0 -/* A16D24 80240B04 0C01917C */ jal sins -/* A16D28 80240B08 3084FFFF */ andi $a0, $a0, 0xffff -/* A16D2C 80240B0C 00021400 */ sll $v0, $v0, 0x10 -/* A16D30 80240B10 00021403 */ sra $v0, $v0, 0x10 -/* A16D34 80240B14 92230000 */ lbu $v1, ($s1) -/* A16D38 80240B18 00541021 */ addu $v0, $v0, $s4 -/* A16D3C 80240B1C 00620018 */ mult $v1, $v0 -/* A16D40 80240B20 00001812 */ mflo $v1 -/* A16D44 80240B24 04610003 */ bgez $v1, .L80240B34 -/* A16D48 80240B28 26240002 */ addiu $a0, $s1, 2 -/* A16D4C 80240B2C 3402FFFF */ ori $v0, $zero, 0xffff -/* A16D50 80240B30 00621821 */ addu $v1, $v1, $v0 -.L80240B34: -/* A16D54 80240B34 00031403 */ sra $v0, $v1, 0x10 -/* A16D58 80240B38 3C018024 */ lui $at, %hi(D_80244E08_A1B028) -/* A16D5C 80240B3C D4224E08 */ ldc1 $f2, %lo(D_80244E08_A1B028)($at) -/* A16D60 80240B40 44820000 */ mtc1 $v0, $f0 -/* A16D64 80240B44 00000000 */ nop -/* A16D68 80240B48 46800021 */ cvt.d.w $f0, $f0 -/* A16D6C 80240B4C 46220000 */ add.d $f0, $f0, $f2 -/* A16D70 80240B50 4620A03E */ c.le.d $f20, $f0 -/* A16D74 80240B54 00000000 */ nop -/* A16D78 80240B58 45030005 */ bc1tl .L80240B70 -/* A16D7C 80240B5C 46340001 */ sub.d $f0, $f0, $f20 -/* A16D80 80240B60 4620010D */ trunc.w.d $f4, $f0 -/* A16D84 80240B64 44022000 */ mfc1 $v0, $f4 -/* A16D88 80240B68 080902E1 */ j .L80240B84 -/* A16D8C 80240B6C A0820000 */ sb $v0, ($a0) -.L80240B70: -/* A16D90 80240B70 4620010D */ trunc.w.d $f4, $f0 -/* A16D94 80240B74 44022000 */ mfc1 $v0, $f4 -/* A16D98 80240B78 00000000 */ nop -/* A16D9C 80240B7C 00531025 */ or $v0, $v0, $s3 -/* A16DA0 80240B80 A0820000 */ sb $v0, ($a0) -.L80240B84: -/* A16DA4 80240B84 8FA20018 */ lw $v0, 0x18($sp) -/* A16DA8 80240B88 26100001 */ addiu $s0, $s0, 1 -/* A16DAC 80240B8C 0202102A */ slt $v0, $s0, $v0 -/* A16DB0 80240B90 1440FF74 */ bnez $v0, .L80240964 -/* A16DB4 80240B94 02120018 */ mult $s0, $s2 -.L80240B98: -/* A16DB8 80240B98 3C03800A */ lui $v1, %hi(gMasterGfxPos) -/* A16DBC 80240B9C 2463A66C */ addiu $v1, $v1, %lo(gMasterGfxPos) -/* A16DC0 80240BA0 8C620000 */ lw $v0, ($v1) -/* A16DC4 80240BA4 24040002 */ addiu $a0, $zero, 2 -/* A16DC8 80240BA8 0040802D */ daddu $s0, $v0, $zero -/* A16DCC 80240BAC 24420008 */ addiu $v0, $v0, 8 -/* A16DD0 80240BB0 AC620000 */ sw $v0, ($v1) -/* A16DD4 80240BB4 3C02DE00 */ lui $v0, 0xde00 -/* A16DD8 80240BB8 0C0470BB */ jal mdl_get_copied_gfx -/* A16DDC 80240BBC AE020000 */ sw $v0, ($s0) -/* A16DE0 80240BC0 3C048024 */ lui $a0, %hi(D_802433B2_A195D2) -/* A16DE4 80240BC4 248433B2 */ addiu $a0, $a0, %lo(D_802433B2_A195D2) -/* A16DE8 80240BC8 94830000 */ lhu $v1, ($a0) -/* A16DEC 80240BCC AE020004 */ sw $v0, 4($s0) -/* A16DF0 80240BD0 24630253 */ addiu $v1, $v1, 0x253 -/* A16DF4 80240BD4 A4830000 */ sh $v1, ($a0) -/* A16DF8 80240BD8 8FBF0034 */ lw $ra, 0x34($sp) -/* A16DFC 80240BDC 8FB40030 */ lw $s4, 0x30($sp) -/* A16E00 80240BE0 8FB3002C */ lw $s3, 0x2c($sp) -/* A16E04 80240BE4 8FB20028 */ lw $s2, 0x28($sp) -/* A16E08 80240BE8 8FB10024 */ lw $s1, 0x24($sp) -/* A16E0C 80240BEC 8FB00020 */ lw $s0, 0x20($sp) -/* A16E10 80240BF0 D7B40038 */ ldc1 $f20, 0x38($sp) -/* A16E14 80240BF4 03E00008 */ jr $ra -/* A16E18 80240BF8 27BD0040 */ addiu $sp, $sp, 0x40 diff --git a/ver/us/asm/nonmatchings/world/area_hos/hos_02/A16220/func_80240BFC_A16E1C.s b/ver/us/asm/nonmatchings/world/area_hos/hos_02/A16220/func_80240BFC_A16E1C.s deleted file mode 100644 index 4aa8624fa7..0000000000 --- a/ver/us/asm/nonmatchings/world/area_hos/hos_02/A16220/func_80240BFC_A16E1C.s +++ /dev/null @@ -1,215 +0,0 @@ -.set noat # allow manual use of $at -.set noreorder # don't insert nops after branches - -.section .rodata - -dlabel D_80244E10_A1B030 -.double 80.3921568627451 - -dlabel D_80244E18_A1B038 -.double 96.07843137254902 - -.section .text - -glabel func_80240BFC_A16E1C -/* A16E1C 80240BFC 27BDFFC0 */ addiu $sp, $sp, -0x40 -/* A16E20 80240C00 24040003 */ addiu $a0, $zero, 3 -/* A16E24 80240C04 27A50010 */ addiu $a1, $sp, 0x10 -/* A16E28 80240C08 27A60014 */ addiu $a2, $sp, 0x14 -/* A16E2C 80240C0C AFBF0034 */ sw $ra, 0x34($sp) -/* A16E30 80240C10 AFB40030 */ sw $s4, 0x30($sp) -/* A16E34 80240C14 AFB3002C */ sw $s3, 0x2c($sp) -/* A16E38 80240C18 AFB20028 */ sw $s2, 0x28($sp) -/* A16E3C 80240C1C AFB10024 */ sw $s1, 0x24($sp) -/* A16E40 80240C20 AFB00020 */ sw $s0, 0x20($sp) -/* A16E44 80240C24 F7B40038 */ sdc1 $f20, 0x38($sp) -/* A16E48 80240C28 0C0470AC */ jal mdl_get_copied_vertices -/* A16E4C 80240C2C 27A70018 */ addiu $a3, $sp, 0x18 -/* A16E50 80240C30 8FA20018 */ lw $v0, 0x18($sp) -/* A16E54 80240C34 18400096 */ blez $v0, .L80240E90 -/* A16E58 80240C38 0000802D */ daddu $s0, $zero, $zero -/* A16E5C 80240C3C 3C125555 */ lui $s2, 0x5555 -/* A16E60 80240C40 36525556 */ ori $s2, $s2, 0x5556 -/* A16E64 80240C44 34148000 */ ori $s4, $zero, 0x8000 -/* A16E68 80240C48 3C0141E0 */ lui $at, 0x41e0 -/* A16E6C 80240C4C 4481A800 */ mtc1 $at, $f21 -/* A16E70 80240C50 4480A000 */ mtc1 $zero, $f20 -/* A16E74 80240C54 3C138000 */ lui $s3, 0x8000 -/* A16E78 80240C58 02120018 */ mult $s0, $s2 -.L80240C5C: -/* A16E7C 80240C5C 00101FC3 */ sra $v1, $s0, 0x1f -/* A16E80 80240C60 00004810 */ mfhi $t1 -/* A16E84 80240C64 01231823 */ subu $v1, $t1, $v1 -/* A16E88 80240C68 00031040 */ sll $v0, $v1, 1 -/* A16E8C 80240C6C 00431021 */ addu $v0, $v0, $v1 -/* A16E90 80240C70 02021023 */ subu $v0, $s0, $v0 -/* A16E94 80240C74 3C038024 */ lui $v1, %hi(D_802433B4_A195D4) -/* A16E98 80240C78 946333B4 */ lhu $v1, %lo(D_802433B4_A195D4)($v1) -/* A16E9C 80240C7C 24420001 */ addiu $v0, $v0, 1 -/* A16EA0 80240C80 00620018 */ mult $v1, $v0 -/* A16EA4 80240C84 8FA20014 */ lw $v0, 0x14($sp) -/* A16EA8 80240C88 00001812 */ mflo $v1 -/* A16EAC 80240C8C 00702021 */ addu $a0, $v1, $s0 -/* A16EB0 80240C90 3084FFFF */ andi $a0, $a0, 0xffff -/* A16EB4 80240C94 00101900 */ sll $v1, $s0, 4 -/* A16EB8 80240C98 00431021 */ addu $v0, $v0, $v1 -/* A16EBC 80240C9C 0C01917C */ jal sins -/* A16EC0 80240CA0 2451000C */ addiu $s1, $v0, 0xc -/* A16EC4 80240CA4 00021400 */ sll $v0, $v0, 0x10 -/* A16EC8 80240CA8 00021403 */ sra $v0, $v0, 0x10 -/* A16ECC 80240CAC 00541021 */ addu $v0, $v0, $s4 -/* A16ED0 80240CB0 00021FC2 */ srl $v1, $v0, 0x1f -/* A16ED4 80240CB4 00431021 */ addu $v0, $v0, $v1 -/* A16ED8 80240CB8 00021043 */ sra $v0, $v0, 1 -/* A16EDC 80240CBC 00021C00 */ sll $v1, $v0, 0x10 -/* A16EE0 80240CC0 00031C03 */ sra $v1, $v1, 0x10 -/* A16EE4 80240CC4 00032080 */ sll $a0, $v1, 2 -/* A16EE8 80240CC8 00832021 */ addu $a0, $a0, $v1 -/* A16EEC 80240CCC 00041940 */ sll $v1, $a0, 5 -/* A16EF0 80240CD0 00641823 */ subu $v1, $v1, $a0 -/* A16EF4 80240CD4 04610002 */ bgez $v1, .L80240CE0 -/* A16EF8 80240CD8 0040202D */ daddu $a0, $v0, $zero -/* A16EFC 80240CDC 24637FFF */ addiu $v1, $v1, 0x7fff -.L80240CE0: -/* A16F00 80240CE0 000313C3 */ sra $v0, $v1, 0xf -/* A16F04 80240CE4 3C014059 */ lui $at, 0x4059 -/* A16F08 80240CE8 44811800 */ mtc1 $at, $f3 -/* A16F0C 80240CEC 44801000 */ mtc1 $zero, $f2 -/* A16F10 80240CF0 44820000 */ mtc1 $v0, $f0 -/* A16F14 80240CF4 00000000 */ nop -/* A16F18 80240CF8 46800021 */ cvt.d.w $f0, $f0 -/* A16F1C 80240CFC 46220000 */ add.d $f0, $f0, $f2 -/* A16F20 80240D00 4620A03E */ c.le.d $f20, $f0 -/* A16F24 80240D04 00000000 */ nop -/* A16F28 80240D08 45030005 */ bc1tl .L80240D20 -/* A16F2C 80240D0C 46340001 */ sub.d $f0, $f0, $f20 -/* A16F30 80240D10 4620010D */ trunc.w.d $f4, $f0 -/* A16F34 80240D14 44022000 */ mfc1 $v0, $f4 -/* A16F38 80240D18 0809034D */ j .L80240D34 -/* A16F3C 80240D1C A2220000 */ sb $v0, ($s1) -.L80240D20: -/* A16F40 80240D20 4620010D */ trunc.w.d $f4, $f0 -/* A16F44 80240D24 44022000 */ mfc1 $v0, $f4 -/* A16F48 80240D28 00000000 */ nop -/* A16F4C 80240D2C 00531025 */ or $v0, $v0, $s3 -/* A16F50 80240D30 A2220000 */ sb $v0, ($s1) -.L80240D34: -/* A16F54 80240D34 00041400 */ sll $v0, $a0, 0x10 -/* A16F58 80240D38 00021403 */ sra $v0, $v0, 0x10 -/* A16F5C 80240D3C 00021880 */ sll $v1, $v0, 2 -/* A16F60 80240D40 00621821 */ addu $v1, $v1, $v0 -/* A16F64 80240D44 00031140 */ sll $v0, $v1, 5 -/* A16F68 80240D48 00431023 */ subu $v0, $v0, $v1 -/* A16F6C 80240D4C 04410002 */ bgez $v0, .L80240D58 -/* A16F70 80240D50 26230001 */ addiu $v1, $s1, 1 -/* A16F74 80240D54 24427FFF */ addiu $v0, $v0, 0x7fff -.L80240D58: -/* A16F78 80240D58 000213C3 */ sra $v0, $v0, 0xf -/* A16F7C 80240D5C 3C018024 */ lui $at, %hi(D_80244E10_A1B030) -/* A16F80 80240D60 D4224E10 */ ldc1 $f2, %lo(D_80244E10_A1B030)($at) -/* A16F84 80240D64 44820000 */ mtc1 $v0, $f0 -/* A16F88 80240D68 00000000 */ nop -/* A16F8C 80240D6C 46800021 */ cvt.d.w $f0, $f0 -/* A16F90 80240D70 46220000 */ add.d $f0, $f0, $f2 -/* A16F94 80240D74 4620A03E */ c.le.d $f20, $f0 -/* A16F98 80240D78 00000000 */ nop -/* A16F9C 80240D7C 45030005 */ bc1tl .L80240D94 -/* A16FA0 80240D80 46340001 */ sub.d $f0, $f0, $f20 -/* A16FA4 80240D84 4620010D */ trunc.w.d $f4, $f0 -/* A16FA8 80240D88 44022000 */ mfc1 $v0, $f4 -/* A16FAC 80240D8C 0809036A */ j .L80240DA8 -/* A16FB0 80240D90 A0620000 */ sb $v0, ($v1) -.L80240D94: -/* A16FB4 80240D94 4620010D */ trunc.w.d $f4, $f0 -/* A16FB8 80240D98 44022000 */ mfc1 $v0, $f4 -/* A16FBC 80240D9C 00000000 */ nop -/* A16FC0 80240DA0 00531025 */ or $v0, $v0, $s3 -/* A16FC4 80240DA4 A0620000 */ sb $v0, ($v1) -.L80240DA8: -/* A16FC8 80240DA8 00101FC2 */ srl $v1, $s0, 0x1f -/* A16FCC 80240DAC 02031821 */ addu $v1, $s0, $v1 -/* A16FD0 80240DB0 00032843 */ sra $a1, $v1, 1 -/* A16FD4 80240DB4 00B20018 */ mult $a1, $s2 -/* A16FD8 80240DB8 3C048024 */ lui $a0, %hi(D_802433B4_A195D4) -/* A16FDC 80240DBC 948433B4 */ lhu $a0, %lo(D_802433B4_A195D4)($a0) -/* A16FE0 80240DC0 00031FC3 */ sra $v1, $v1, 0x1f -/* A16FE4 80240DC4 000433C2 */ srl $a2, $a0, 0xf -/* A16FE8 80240DC8 00004810 */ mfhi $t1 -/* A16FEC 80240DCC 01231823 */ subu $v1, $t1, $v1 -/* A16FF0 80240DD0 00031040 */ sll $v0, $v1, 1 -/* A16FF4 80240DD4 00431021 */ addu $v0, $v0, $v1 -/* A16FF8 80240DD8 00A22823 */ subu $a1, $a1, $v0 -/* A16FFC 80240DDC 24A50001 */ addiu $a1, $a1, 1 -/* A17000 80240DE0 00052BC0 */ sll $a1, $a1, 0xf -/* A17004 80240DE4 00C50018 */ mult $a2, $a1 -/* A17008 80240DE8 00042382 */ srl $a0, $a0, 0xe -/* A1700C 80240DEC 000423C0 */ sll $a0, $a0, 0xf -/* A17010 80240DF0 00001812 */ mflo $v1 -/* A17014 80240DF4 00642021 */ addu $a0, $v1, $a0 -/* A17018 80240DF8 00902021 */ addu $a0, $a0, $s0 -/* A1701C 80240DFC 0C01917C */ jal sins -/* A17020 80240E00 3084FFFF */ andi $a0, $a0, 0xffff -/* A17024 80240E04 00021400 */ sll $v0, $v0, 0x10 -/* A17028 80240E08 00021403 */ sra $v0, $v0, 0x10 -/* A1702C 80240E0C 92230000 */ lbu $v1, ($s1) -/* A17030 80240E10 00541021 */ addu $v0, $v0, $s4 -/* A17034 80240E14 00620018 */ mult $v1, $v0 -/* A17038 80240E18 00001812 */ mflo $v1 -/* A1703C 80240E1C 04610003 */ bgez $v1, .L80240E2C -/* A17040 80240E20 26240002 */ addiu $a0, $s1, 2 -/* A17044 80240E24 3402FFFF */ ori $v0, $zero, 0xffff -/* A17048 80240E28 00621821 */ addu $v1, $v1, $v0 -.L80240E2C: -/* A1704C 80240E2C 00031403 */ sra $v0, $v1, 0x10 -/* A17050 80240E30 3C018024 */ lui $at, %hi(D_80244E18_A1B038) -/* A17054 80240E34 D4224E18 */ ldc1 $f2, %lo(D_80244E18_A1B038)($at) -/* A17058 80240E38 44820000 */ mtc1 $v0, $f0 -/* A1705C 80240E3C 00000000 */ nop -/* A17060 80240E40 46800021 */ cvt.d.w $f0, $f0 -/* A17064 80240E44 46220000 */ add.d $f0, $f0, $f2 -/* A17068 80240E48 4620A03E */ c.le.d $f20, $f0 -/* A1706C 80240E4C 00000000 */ nop -/* A17070 80240E50 45030005 */ bc1tl .L80240E68 -/* A17074 80240E54 46340001 */ sub.d $f0, $f0, $f20 -/* A17078 80240E58 4620010D */ trunc.w.d $f4, $f0 -/* A1707C 80240E5C 44022000 */ mfc1 $v0, $f4 -/* A17080 80240E60 0809039F */ j .L80240E7C -/* A17084 80240E64 A0820000 */ sb $v0, ($a0) -.L80240E68: -/* A17088 80240E68 4620010D */ trunc.w.d $f4, $f0 -/* A1708C 80240E6C 44022000 */ mfc1 $v0, $f4 -/* A17090 80240E70 00000000 */ nop -/* A17094 80240E74 00531025 */ or $v0, $v0, $s3 -/* A17098 80240E78 A0820000 */ sb $v0, ($a0) -.L80240E7C: -/* A1709C 80240E7C 8FA20018 */ lw $v0, 0x18($sp) -/* A170A0 80240E80 26100001 */ addiu $s0, $s0, 1 -/* A170A4 80240E84 0202102A */ slt $v0, $s0, $v0 -/* A170A8 80240E88 1440FF74 */ bnez $v0, .L80240C5C -/* A170AC 80240E8C 02120018 */ mult $s0, $s2 -.L80240E90: -/* A170B0 80240E90 3C03800A */ lui $v1, %hi(gMasterGfxPos) -/* A170B4 80240E94 2463A66C */ addiu $v1, $v1, %lo(gMasterGfxPos) -/* A170B8 80240E98 8C620000 */ lw $v0, ($v1) -/* A170BC 80240E9C 24040003 */ addiu $a0, $zero, 3 -/* A170C0 80240EA0 0040802D */ daddu $s0, $v0, $zero -/* A170C4 80240EA4 24420008 */ addiu $v0, $v0, 8 -/* A170C8 80240EA8 AC620000 */ sw $v0, ($v1) -/* A170CC 80240EAC 3C02DE00 */ lui $v0, 0xde00 -/* A170D0 80240EB0 0C0470BB */ jal mdl_get_copied_gfx -/* A170D4 80240EB4 AE020000 */ sw $v0, ($s0) -/* A170D8 80240EB8 3C048024 */ lui $a0, %hi(D_802433B4_A195D4) -/* A170DC 80240EBC 248433B4 */ addiu $a0, $a0, %lo(D_802433B4_A195D4) -/* A170E0 80240EC0 94830000 */ lhu $v1, ($a0) -/* A170E4 80240EC4 AE020004 */ sw $v0, 4($s0) -/* A170E8 80240EC8 24630253 */ addiu $v1, $v1, 0x253 -/* A170EC 80240ECC A4830000 */ sh $v1, ($a0) -/* A170F0 80240ED0 8FBF0034 */ lw $ra, 0x34($sp) -/* A170F4 80240ED4 8FB40030 */ lw $s4, 0x30($sp) -/* A170F8 80240ED8 8FB3002C */ lw $s3, 0x2c($sp) -/* A170FC 80240EDC 8FB20028 */ lw $s2, 0x28($sp) -/* A17100 80240EE0 8FB10024 */ lw $s1, 0x24($sp) -/* A17104 80240EE4 8FB00020 */ lw $s0, 0x20($sp) -/* A17108 80240EE8 D7B40038 */ ldc1 $f20, 0x38($sp) -/* A1710C 80240EEC 03E00008 */ jr $ra -/* A17110 80240EF0 27BD0040 */ addiu $sp, $sp, 0x40 diff --git a/ver/us/splat.yaml b/ver/us/splat.yaml index b7d66c253f..40524f57a5 100644 --- a/ver/us/splat.yaml +++ b/ver/us/splat.yaml @@ -6398,38 +6398,78 @@ segments: start: 0x684A30 vram: 0x80218000 subsegments: - - [0x684A30, c] - - [0x684B00, c] - - [0x684C30, c] - - [0x685130, c] - - [0x685260, data] + - [0x684A30, c, actor/bony_beetle] + - [0x684B00, c, actor/dry_bones] + - [0x684B00, c, actor/hammer_bro] + - [0x684B00, c, actor/koopatrol] + - [0x684C30, c, actor/magikoopa] + - [0x685130, c, actor/ember] + - [0x685260, c, stage/kpa_01] + - [0x685260, c, stage/kpa_01b] + - [0x685260, c, stage/kpa_02] + - [0x685260, c, stage/kpa_03] + - [0x685260, c, stage/kpa_04] + - [0x685260, c, stage/kpa_04b] + - [0x685260, c, stage/kpa_04c] + - [0x685260, c, stage/kpa_05] + - [0x685260, c, stage/kpa_07] + - [0x685260, c, stage/kpa_08] + - [0x685260, c, stage/kpa_09] + - [0x685260, c, stage/kpa_11] + - [0x685260, c, stage/kpa_13] + - [0x685260, c, stage/kpa_14] + - [0x685260, c, area] + - [0x685260] - dir: battle/area_kpa2 type: code start: 0x69F200 vram: 0x80218000 subsegments: - - [0x69F200, c] - - [0x69F320, c] - - [0x6A2B50, c] - - [0x6A44E0, data] - - [0x6BB940] + - [0x69F200, c, actor/bowser] + - [0x69F320, c, actor/bowser_intro] + - [0x6A0100, c, actor/bowser_phase_1] + - [0x6A14C0, c, actor/bowser_phase_2] + - [0x6A2B50, c, actor/bowser_phase_3] + - [0x6A4490, c, stage/kpa_01] + - [0x6A4490, c, stage/kpa_02] + - [0x6A4490, c, stage/kpa_03] + - [0x6A44E0, c, area] + - [0x6A44E0] - dir: battle/area_kpa3 type: code start: 0x6BBB90 vram: 0x80218000 subsegments: - - [0x6BBB90, c] - - [0x6BBC60, c] - - [0x6BD250, data] - - [0x6CBF90] + - [0x6BBB90, c, actor/anti_guy] + - [0x6BBC60, c, actor/duplighost] + - [0x6BD250, c, stage/kpa_01] + - [0x6BD250, c, area] + - [0x6BD250] - dir: battle/area_kpa4 type: code start: 0x6CC070 vram: 0x80218000 subsegments: - - [0x6CC070, c] - - [0x6CC1C0, c] - - [0x6CC6C0, data] + - [0x6CC070, c, actor/bombshell_bill_blaster] + - [0x6CC090, c, actor/bombshell_bill] + - [0x6CC090, c, actor/koopatrol] + - [0x6CC1C0, c, actor/magikoopa] + - [0x6CC6C0, c, stage/kpa_01] + - [0x6CC6C0, c, stage/kpa_01b] + - [0x6CC6C0, c, stage/kpa_02] + - [0x6CC6C0, c, stage/kpa_03] + - [0x6CC6C0, c, stage/kpa_04] + - [0x6CC6C0, c, stage/kpa_04b] + - [0x6CC6C0, c, stage/kpa_04c] + - [0x6CC6C0, c, stage/kpa_05] + - [0x6CC6C0, c, stage/kpa_07] + - [0x6CC6C0, c, stage/kpa_08] + - [0x6CC6C0, c, stage/kpa_09] + - [0x6CC6C0, c, stage/kpa_11] + - [0x6CC6C0, c, stage/kpa_13] + - [0x6CC6C0, c, stage/kpa_14] + - [0x6CC6C0, c, area] + - [0x6CC6C0] - dir: battle/area_kkj type: code start: 0x6DBDA0